diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-24 01:44:03 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-06-24 01:44:03 +0000 |
| commit | 4e63d8427d26d0d1b366ddc53650e15f3481fc75 (patch) | |
| tree | ddfb69a92db56498ea591eed0f14ed2ce823431c /types | |
| parent | 127185717263ea3162bd192c83b4c7efe0d96e50 (diff) | |
(대표님/최겸) 20250624 작업사항 10시43분
Diffstat (limited to 'types')
| -rw-r--r-- | types/spread-js.d.ts | 50 | ||||
| -rw-r--r-- | types/table.d.ts | 2 |
2 files changed, 51 insertions, 1 deletions
diff --git a/types/spread-js.d.ts b/types/spread-js.d.ts new file mode 100644 index 00000000..3c2fd7a2 --- /dev/null +++ b/types/spread-js.d.ts @@ -0,0 +1,50 @@ +import * as GC from "@mescius/spread-sheets-designer"; +import * as GCSheet from "@mescius/spread-sheets"; + +export interface ICommandGroup { + commands?: string[]; + children?: (GC.Spread.Sheets.Designer.ICommandGroup | string)[]; + type?: "group" | "separator" | "dropdown"; + direction?: string; + command?: string; + dropdownMaxWidth?: number; + dropdownMaxHeight?: number; + showDropdownButton?: boolean; + visiblePriority?: number; + hidden?: boolean; +} + +export interface IButtonGroup { + class?: string; + label?: string; + thumbnailClass?: string; + indicator?: string; + commandGroup: GC.Spread.Sheets.Designer.ICommandGroup; + overflow?: boolean; + overflowTitle?: string; + buttonGroupName?: string; +} + +export interface IRibbonPanel { + id: string; + text: string; + buttonGroups: GC.Spread.Sheets.Designer.IButtonGroup[]; + visibleWhen?: string; + overflow?: boolean; + overflowTitle?: string; + active?: boolean; +} + +export interface IDesignerConfig { + templateMap?: GC.Spread.Sheets.Designer.TemplateMap; + commandMap?: GC.Spread.Sheets.Designer.CommandMap; + quickAccessBar?: string[]; + ribbon?: + | GC.Spread.Sheets.Designer.IRibbonPanel[] + | GC.Spread.Sheets.Designer.IRibbonPanelConfig; + contextMenu?: string[]; + sidePanels?: GC.Spread.Sheets.Designer.ISidePanel[]; + fileMenu?: string; +} + +export type Spread = GCSheet.Spread.Sheets.Workbook; diff --git a/types/table.d.ts b/types/table.d.ts index f98d4c99..2bb6d46a 100644 --- a/types/table.d.ts +++ b/types/table.d.ts @@ -54,7 +54,7 @@ export type Filter<TData> = Prettify< export interface DataTableRowAction<TData> { row: Row<TData> - type: "schedule"| "view"| "upload" | "addInfo"| "view-series"|"log"| "tbeResult" | "requestInfo"| "esign-detail"| "responseDetail"|"signature"|"update" | "delete" | "user" | "pemission" | "invite" | "items" | "attachment" |"comments" | "open" | "select" | "files" + type:"submit" |"general_evaluation"|"esg_evaluation" |"schedule"| "view"| "upload" | "addInfo"| "view-series"|"log"| "tbeResult" | "requestInfo"| "esign-detail"| "responseDetail"|"signature"|"update" | "delete" | "user" | "pemission" | "invite" | "items" | "attachment" |"comments" | "open" | "select" | "files" } export interface QueryBuilderOpts { |
