@robot-admin/naive-ui-components 0.39.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +12 -12
- package/README_EN.md +12 -12
- package/dist/C_DataPicker2.cjs +1 -1
- package/dist/C_DataPicker2.js +1 -1
- package/dist/C_Table.base.css +152 -150
- package/dist/C_Table.css +152 -150
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/C_WorkFlow.css +102 -91
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/component-config.d.ts +5 -1
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +2 -2
- package/dist/constants2.d.ts +2 -2
- package/dist/constants3.d.cts +5 -5
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/context.d.cts +5 -1
- package/dist/data2.d.cts +6 -6
- package/dist/data2.d.ts +6 -6
- package/dist/editors.d.cts +8 -6
- package/dist/editors.d.ts +8 -6
- package/dist/graphics.d.cts +1 -1
- package/dist/graphics.d.ts +1 -1
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index11.vue.d.ts +2 -2
- package/dist/index12.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +4 -4
- package/dist/index14.vue.d.cts +4 -4
- package/dist/index16.vue.d.ts +6 -6
- package/dist/index17.vue.d.cts +6 -6
- package/dist/index17.vue.d.ts +5 -5
- package/dist/index18.vue.d.cts +5 -5
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index20.vue.d.ts +1 -1
- package/dist/index21.vue.d.cts +1 -1
- package/dist/index21.vue.d.ts +3 -3
- package/dist/index22.vue.d.cts +3 -3
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +2 -2
- package/dist/index3.vue.d.ts +2 -2
- package/dist/index31.vue.d.cts +4 -4
- package/dist/index31.vue.d.ts +4 -4
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +5 -5
- package/dist/index4.vue.d.ts +5 -5
- package/dist/index7.vue.d.ts +2 -2
- package/dist/index8.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/style.css +255 -242
- package/dist/types3.d.ts +1 -0
- package/dist/types4.d.cts +1 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.cts +4 -4
- package/dist/useCropperCore.d.ts +4 -4
- package/dist/useDynamicFormState.cjs +1 -1
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useDynamicFormState.js +1 -1
- package/dist/useEdgeInteraction.d.cts +1 -1
- package/dist/useEdgeInteraction.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +1 -1
- package/dist/useInfiniteScroll.d.ts +1 -1
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +34 -34
- package/dist/useWorkflowValidation.d.ts +34 -34
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/data-picker.md +4 -1
- package/docs/guides/table-editing.md +18 -0
- package/docs/wl-business-scenario-parity.md +53 -0
- package/package.json +1 -1
package/dist/constants4.d.cts
CHANGED
|
@@ -198,32 +198,32 @@ type __VLS_Slots = {} & {
|
|
|
198
198
|
area?: (props: typeof __VLS_11) => any;
|
|
199
199
|
};
|
|
200
200
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
201
|
+
change: (fileList: UploadFileItem[]) => any;
|
|
201
202
|
success: (file: UploadFileItem, response: unknown) => any;
|
|
202
203
|
error: (file: UploadFileItem, error: Error) => any;
|
|
203
|
-
change: (fileList: UploadFileItem[]) => any;
|
|
204
204
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
205
205
|
remove: (file: UploadFileItem) => any;
|
|
206
206
|
finish: (fileList: UploadFileItem[]) => any;
|
|
207
207
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
208
208
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
209
|
+
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
209
210
|
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
210
211
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
211
|
-
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
212
212
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
213
213
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
214
214
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
215
215
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
216
216
|
}>, {
|
|
217
217
|
data: Record<string, unknown>;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
multiple: boolean;
|
|
220
|
+
draggable: boolean;
|
|
218
221
|
action: string;
|
|
219
222
|
headers: Record<string, string>;
|
|
220
|
-
multiple: boolean;
|
|
221
223
|
directory: boolean;
|
|
222
224
|
accept: string;
|
|
223
225
|
maxSize: number;
|
|
224
226
|
maxCount: number;
|
|
225
|
-
disabled: boolean;
|
|
226
|
-
draggable: boolean;
|
|
227
227
|
pasteable: boolean;
|
|
228
228
|
chunked: boolean;
|
|
229
229
|
chunkSize: number;
|
package/dist/constants4.d.ts
CHANGED
|
@@ -198,32 +198,32 @@ type __VLS_Slots = {} & {
|
|
|
198
198
|
area?: (props: typeof __VLS_11) => any;
|
|
199
199
|
};
|
|
200
200
|
declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
201
|
+
change: (fileList: UploadFileItem[]) => any;
|
|
201
202
|
success: (file: UploadFileItem, response: unknown) => any;
|
|
202
203
|
error: (file: UploadFileItem, error: Error) => any;
|
|
203
|
-
change: (fileList: UploadFileItem[]) => any;
|
|
204
204
|
progress: (file: UploadFileItem, percent: number) => any;
|
|
205
205
|
remove: (file: UploadFileItem) => any;
|
|
206
206
|
finish: (fileList: UploadFileItem[]) => any;
|
|
207
207
|
exceed: (files: File[], fileList: UploadFileItem[]) => any;
|
|
208
208
|
}, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
|
|
209
|
+
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
209
210
|
onSuccess?: ((file: UploadFileItem, response: unknown) => any) | undefined;
|
|
210
211
|
onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
|
|
211
|
-
onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
212
212
|
onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
|
|
213
213
|
onRemove?: ((file: UploadFileItem) => any) | undefined;
|
|
214
214
|
onFinish?: ((fileList: UploadFileItem[]) => any) | undefined;
|
|
215
215
|
onExceed?: ((files: File[], fileList: UploadFileItem[]) => any) | undefined;
|
|
216
216
|
}>, {
|
|
217
217
|
data: Record<string, unknown>;
|
|
218
|
+
disabled: boolean;
|
|
219
|
+
multiple: boolean;
|
|
220
|
+
draggable: boolean;
|
|
218
221
|
action: string;
|
|
219
222
|
headers: Record<string, string>;
|
|
220
|
-
multiple: boolean;
|
|
221
223
|
directory: boolean;
|
|
222
224
|
accept: string;
|
|
223
225
|
maxSize: number;
|
|
224
226
|
maxCount: number;
|
|
225
|
-
disabled: boolean;
|
|
226
|
-
draggable: boolean;
|
|
227
227
|
pasteable: boolean;
|
|
228
228
|
chunked: boolean;
|
|
229
229
|
chunkSize: number;
|
package/dist/context.d.cts
CHANGED
|
@@ -122,6 +122,7 @@ interface DynamicFieldConfig {
|
|
|
122
122
|
type: ComponentType | string;
|
|
123
123
|
prop: string;
|
|
124
124
|
label: string;
|
|
125
|
+
/** 初始显隐;创建后由控制器的切换方法管理运行态,allFields.show 为当前值。 */
|
|
125
126
|
visible: boolean;
|
|
126
127
|
removable: boolean;
|
|
127
128
|
created: number;
|
|
@@ -474,7 +475,9 @@ interface DynamicFormController {
|
|
|
474
475
|
addField(config?: Partial<DynamicFieldConfig>): DynamicFieldConfig | null;
|
|
475
476
|
removeField(index?: number): DynamicFieldConfig | null;
|
|
476
477
|
clearDynamicFields(): number;
|
|
478
|
+
/** 按 prop 切换基础或动态字段;返回切换后的可见性,未知 prop 返回 false。 */
|
|
477
479
|
toggleFieldVisibility(fieldId: string): boolean;
|
|
480
|
+
/** 统一切换基础与动态字段;返回切换后是否全部可见。 */
|
|
478
481
|
toggleAllVisibility(): boolean;
|
|
479
482
|
updateConfig(config: Partial<DynamicFormConfig>): void;
|
|
480
483
|
exportConfig(): string;
|
|
@@ -653,7 +656,8 @@ interface TableRowKeyIssue<T extends object = DataRecord> {
|
|
|
653
656
|
firstIndex?: number;
|
|
654
657
|
cause?: unknown;
|
|
655
658
|
}
|
|
656
|
-
|
|
659
|
+
/** inline 常显控件即时更新模型;row/cell/modal 保留保存与取消会话。 */
|
|
660
|
+
type EditMode = 'row' | 'cell' | 'both' | 'modal' | 'inline' | 'none';
|
|
657
661
|
type EditType = 'input' | 'textarea' | 'select' | 'date' | 'number' | 'switch' | 'email' | 'mobile' | 'autocomplete';
|
|
658
662
|
type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
|
|
659
663
|
type ParentChildLinkMode = 'strict' | 'loose';
|
package/dist/data2.d.cts
CHANGED
|
@@ -65,28 +65,28 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof _
|
|
|
65
65
|
declare const __VLS_base: vue.DefineComponent<CTabsProps, {
|
|
66
66
|
activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
|
|
67
67
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
68
|
-
"update:modelValue": (value: TabsValue) => any;
|
|
69
68
|
change: (value: TabsValue, item: TabsItem | undefined) => any;
|
|
69
|
+
"update:modelValue": (value: TabsValue) => any;
|
|
70
70
|
add: () => any;
|
|
71
71
|
close: (value: TabsValue) => any;
|
|
72
72
|
}, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
|
|
73
|
-
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
74
73
|
onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
75
75
|
onAdd?: (() => any) | undefined;
|
|
76
76
|
onClose?: ((value: TabsValue) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: readonly TabsItem[];
|
|
79
|
-
modelValue: TabsValue | null;
|
|
80
78
|
type: TabsType;
|
|
81
79
|
size: TabsSize;
|
|
80
|
+
modelValue: TabsValue | null;
|
|
81
|
+
items: readonly TabsItem[];
|
|
82
82
|
defaultValue: TabsValue | null;
|
|
83
83
|
placement: TabsPlacement;
|
|
84
|
-
|
|
84
|
+
displayDirective: TabsDisplayDirective;
|
|
85
85
|
animated: boolean;
|
|
86
|
+
justifyContent: TabsJustifyContent;
|
|
86
87
|
closable: boolean;
|
|
87
88
|
addable: boolean;
|
|
88
89
|
tabsOnly: boolean;
|
|
89
|
-
displayDirective: TabsDisplayDirective;
|
|
90
90
|
paneClass: string;
|
|
91
91
|
paneStyle: string | vue.CSSProperties;
|
|
92
92
|
beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
|
package/dist/data2.d.ts
CHANGED
|
@@ -65,28 +65,28 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_37>]?: (props: typeof _
|
|
|
65
65
|
declare const __VLS_base: vue.DefineComponent<CTabsProps, {
|
|
66
66
|
activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
|
|
67
67
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
68
|
-
"update:modelValue": (value: TabsValue) => any;
|
|
69
68
|
change: (value: TabsValue, item: TabsItem | undefined) => any;
|
|
69
|
+
"update:modelValue": (value: TabsValue) => any;
|
|
70
70
|
add: () => any;
|
|
71
71
|
close: (value: TabsValue) => any;
|
|
72
72
|
}, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
|
|
73
|
-
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
74
73
|
onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
75
75
|
onAdd?: (() => any) | undefined;
|
|
76
76
|
onClose?: ((value: TabsValue) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: readonly TabsItem[];
|
|
79
|
-
modelValue: TabsValue | null;
|
|
80
78
|
type: TabsType;
|
|
81
79
|
size: TabsSize;
|
|
80
|
+
modelValue: TabsValue | null;
|
|
81
|
+
items: readonly TabsItem[];
|
|
82
82
|
defaultValue: TabsValue | null;
|
|
83
83
|
placement: TabsPlacement;
|
|
84
|
-
|
|
84
|
+
displayDirective: TabsDisplayDirective;
|
|
85
85
|
animated: boolean;
|
|
86
|
+
justifyContent: TabsJustifyContent;
|
|
86
87
|
closable: boolean;
|
|
87
88
|
addable: boolean;
|
|
88
89
|
tabsOnly: boolean;
|
|
89
|
-
displayDirective: TabsDisplayDirective;
|
|
90
90
|
paneClass: string;
|
|
91
91
|
paneStyle: string | vue.CSSProperties;
|
|
92
92
|
beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
|
package/dist/editors.d.cts
CHANGED
|
@@ -111,6 +111,8 @@ interface UseTableColumnsOptions {
|
|
|
111
111
|
config: ComputedRef<ResolvedConfig>;
|
|
112
112
|
/** 只对已加载数据做有界抽样;外部独立使用此 hook 时可省略。 */
|
|
113
113
|
data?: ComputedRef<readonly DataRecord[]>;
|
|
114
|
+
/** 常显编辑沿用表格受控 update:data,不触发保存回调。 */
|
|
115
|
+
onInlineChange?: (rows: DataRecord[]) => void;
|
|
114
116
|
getFont?: (header?: boolean) => string;
|
|
115
117
|
fontRevision?: Readonly<Ref<number>>;
|
|
116
118
|
/** 默认列宽 */
|
|
@@ -486,7 +488,7 @@ declare function useCellEdit(options: CellEditOptions): {
|
|
|
486
488
|
invalidate: () => void;
|
|
487
489
|
};
|
|
488
490
|
//#endregion
|
|
489
|
-
//#region node_modules/@vue/shared/dist/shared.d.ts
|
|
491
|
+
//#region ../naive-ui-components-visual-20261114/node_modules/@vue/shared/dist/shared.d.ts
|
|
490
492
|
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
491
493
|
//#endregion
|
|
492
494
|
//#region src/components/C_Table/composables/useModalEdit.d.ts
|
|
@@ -554,17 +556,17 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
554
556
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
555
557
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
556
558
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
557
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
559
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
558
560
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
559
561
|
onRefresh?: (() => any) | undefined;
|
|
560
562
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
563
|
+
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
561
564
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
562
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
563
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
565
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
566
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
564
567
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
565
568
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
566
569
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
567
|
-
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
568
570
|
}> & (typeof globalThis extends {
|
|
569
571
|
__VLS_PROPS_FALLBACK: infer P;
|
|
570
572
|
} ? P : {});
|
|
@@ -579,7 +581,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
|
|
|
579
581
|
}>) => void;
|
|
580
582
|
attrs: any;
|
|
581
583
|
slots: TreeSlots<T>;
|
|
582
|
-
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
584
|
+
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
583
585
|
}>) => vue.VNode & {
|
|
584
586
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
585
587
|
};
|
package/dist/editors.d.ts
CHANGED
|
@@ -101,6 +101,8 @@ interface UseTableColumnsOptions {
|
|
|
101
101
|
config: ComputedRef<ResolvedConfig>;
|
|
102
102
|
/** 只对已加载数据做有界抽样;外部独立使用此 hook 时可省略。 */
|
|
103
103
|
data?: ComputedRef<readonly DataRecord[]>;
|
|
104
|
+
/** 常显编辑沿用表格受控 update:data,不触发保存回调。 */
|
|
105
|
+
onInlineChange?: (rows: DataRecord[]) => void;
|
|
104
106
|
getFont?: (header?: boolean) => string;
|
|
105
107
|
fontRevision?: Readonly<Ref<number>>;
|
|
106
108
|
/** 默认列宽 */
|
|
@@ -476,7 +478,7 @@ declare function useCellEdit(options: CellEditOptions): {
|
|
|
476
478
|
invalidate: () => void;
|
|
477
479
|
};
|
|
478
480
|
//#endregion
|
|
479
|
-
//#region node_modules/@vue/shared/dist/shared.d.ts
|
|
481
|
+
//#region ../naive-ui-components-visual-20261114/node_modules/@vue/shared/dist/shared.d.ts
|
|
480
482
|
type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
|
481
483
|
//#endregion
|
|
482
484
|
//#region src/components/C_Table/composables/useModalEdit.d.ts
|
|
@@ -544,17 +546,17 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
544
546
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
545
547
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
546
548
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
547
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
549
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
548
550
|
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
549
551
|
onRefresh?: (() => any) | undefined;
|
|
550
552
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
553
|
+
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
551
554
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
552
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
553
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
555
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
556
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => any) | undefined;
|
|
554
557
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
555
558
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
556
559
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
557
|
-
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
558
560
|
}> & (typeof globalThis extends {
|
|
559
561
|
__VLS_PROPS_FALLBACK: infer P;
|
|
560
562
|
} ? P : {});
|
|
@@ -569,7 +571,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
|
|
|
569
571
|
}>) => void;
|
|
570
572
|
attrs: any;
|
|
571
573
|
slots: TreeSlots<T>;
|
|
572
|
-
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
574
|
+
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "refresh") => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "unselect" | "expand" | "collapse" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
573
575
|
}>) => vue.VNode & {
|
|
574
576
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
575
577
|
};
|
package/dist/graphics.d.cts
CHANGED
|
@@ -86,7 +86,7 @@ interface GanttExpose<T extends GanttTask = GanttTask> {
|
|
|
86
86
|
toggleFullscreen: () => Promise<void>;
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region node_modules/@visactor/vtable-gantt/es/ts-types/gantt-engine.d.ts
|
|
89
|
+
//#region ../naive-ui-components-visual-20261114/node_modules/@visactor/vtable-gantt/es/ts-types/gantt-engine.d.ts
|
|
90
90
|
type DateFormatArgumentType = {
|
|
91
91
|
dateIndex: number;
|
|
92
92
|
startDate: Date;
|
package/dist/graphics.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ interface GanttExpose<T extends GanttTask = GanttTask> {
|
|
|
86
86
|
toggleFullscreen: () => Promise<void>;
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region node_modules/@visactor/vtable-gantt/es/ts-types/gantt-engine.d.ts
|
|
89
|
+
//#region ../naive-ui-components-visual-20261114/node_modules/@visactor/vtable-gantt/es/ts-types/gantt-engine.d.ts
|
|
90
90
|
type DateFormatArgumentType = {
|
|
91
91
|
dateIndex: number;
|
|
92
92
|
startDate: Date;
|
package/dist/index.vue.d.cts
CHANGED
|
@@ -62,22 +62,22 @@ type __VLS_Props = {
|
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
64
|
ended: (index: number) => any;
|
|
65
|
-
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
play: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onPlay?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
mode: "list" | "single" | "loop" | "shuffle";
|
|
76
76
|
theme: "default" | "minimal";
|
|
77
|
-
autoplay: boolean;
|
|
78
77
|
initialIndex: number;
|
|
79
78
|
showPlaylist: boolean;
|
|
80
79
|
showCover: boolean;
|
|
80
|
+
autoplay: boolean;
|
|
81
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
82
82
|
declare const _default: typeof __VLS_export;
|
|
83
83
|
//#endregion
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -62,22 +62,22 @@ type __VLS_Props = {
|
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
64
|
ended: (index: number) => any;
|
|
65
|
-
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
play: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
70
|
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onPlay?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
mode: "list" | "single" | "loop" | "shuffle";
|
|
76
76
|
theme: "default" | "minimal";
|
|
77
|
-
autoplay: boolean;
|
|
78
77
|
initialIndex: number;
|
|
79
78
|
showPlaylist: boolean;
|
|
80
79
|
showCover: boolean;
|
|
80
|
+
autoplay: boolean;
|
|
81
81
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
82
82
|
declare const _default: typeof __VLS_export;
|
|
83
83
|
//#endregion
|
package/dist/index10.vue.d.cts
CHANGED
|
@@ -20,11 +20,11 @@ type __VLS_Slots = {} & {
|
|
|
20
20
|
trigger?: (props: typeof __VLS_11) => any;
|
|
21
21
|
};
|
|
22
22
|
declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
23
|
-
"update:modelValue": (value: string) => any;
|
|
24
23
|
change: (value: string) => any;
|
|
24
|
+
"update:modelValue": (value: string) => any;
|
|
25
25
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
26
|
onChange?: ((value: string) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
placeholder: string;
|
|
30
30
|
showLetters: boolean;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -24,17 +24,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
26
|
click: (event: MouseEvent) => any;
|
|
27
|
-
fullscreen: (isFullscreen: boolean) => any;
|
|
28
27
|
copy: (code: string) => any;
|
|
28
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
-
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
|
-
showHeader: boolean;
|
|
36
|
-
language: string;
|
|
37
35
|
code: string;
|
|
36
|
+
language: string;
|
|
37
|
+
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
|
40
40
|
showFullscreen: boolean;
|
package/dist/index11.vue.d.cts
CHANGED
|
@@ -24,17 +24,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
26
|
click: (event: MouseEvent) => any;
|
|
27
|
-
fullscreen: (isFullscreen: boolean) => any;
|
|
28
27
|
copy: (code: string) => any;
|
|
28
|
+
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
30
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
|
-
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
31
|
onCopy?: ((code: string) => any) | undefined;
|
|
32
|
+
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
|
-
showHeader: boolean;
|
|
36
|
-
language: string;
|
|
37
35
|
code: string;
|
|
36
|
+
language: string;
|
|
37
|
+
showHeader: boolean;
|
|
38
38
|
showLineNumbers: boolean;
|
|
39
39
|
wordWrap: boolean;
|
|
40
40
|
showFullscreen: boolean;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -75,13 +75,13 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
75
75
|
y: number;
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
79
|
+
items: ContextMenuItem[];
|
|
80
80
|
minWidth: number;
|
|
81
81
|
maxWidth: number;
|
|
82
|
-
zIndex: number;
|
|
83
82
|
subMenuPlacement: "right" | "left";
|
|
84
83
|
autoClose: boolean;
|
|
84
|
+
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/index12.vue.d.cts
CHANGED
|
@@ -75,13 +75,13 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
75
75
|
y: number;
|
|
76
76
|
}) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
79
|
+
items: ContextMenuItem[];
|
|
80
80
|
minWidth: number;
|
|
81
81
|
maxWidth: number;
|
|
82
|
-
zIndex: number;
|
|
83
82
|
subMenuPlacement: "right" | "left";
|
|
84
83
|
autoClose: boolean;
|
|
84
|
+
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/index13.vue.d.ts
CHANGED
|
@@ -42,21 +42,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
} | null>>;
|
|
43
43
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
44
44
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: Error) => any;
|
|
46
45
|
"update:modelValue": (value: string) => any;
|
|
46
|
+
error: (error: Error) => any;
|
|
47
47
|
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
48
|
"editor-change": (html: string) => any;
|
|
49
49
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
onError?: ((error: Error) => any) | undefined;
|
|
51
50
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
53
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
modelValue: string;
|
|
56
55
|
disabled: boolean;
|
|
56
|
+
readonly: boolean;
|
|
57
|
+
modelValue: string;
|
|
57
58
|
height: number;
|
|
58
59
|
placeholder: string;
|
|
59
|
-
readonly: boolean;
|
|
60
60
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
61
61
|
declare const _default: typeof __VLS_export;
|
|
62
62
|
//#endregion
|
package/dist/index14.vue.d.cts
CHANGED
|
@@ -42,21 +42,21 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
42
42
|
} | null>>;
|
|
43
43
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
44
44
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
45
|
-
error: (error: Error) => any;
|
|
46
45
|
"update:modelValue": (value: string) => any;
|
|
46
|
+
error: (error: Error) => any;
|
|
47
47
|
"editor-mounted": (editor: EditorInstance) => any;
|
|
48
48
|
"editor-change": (html: string) => any;
|
|
49
49
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
-
onError?: ((error: Error) => any) | undefined;
|
|
51
50
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onError?: ((error: Error) => any) | undefined;
|
|
52
52
|
"onEditor-mounted"?: ((editor: EditorInstance) => any) | undefined;
|
|
53
53
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
54
54
|
}>, {
|
|
55
|
-
modelValue: string;
|
|
56
55
|
disabled: boolean;
|
|
56
|
+
readonly: boolean;
|
|
57
|
+
modelValue: string;
|
|
57
58
|
height: number;
|
|
58
59
|
placeholder: string;
|
|
59
|
-
readonly: boolean;
|
|
60
60
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
61
61
|
declare const _default: typeof __VLS_export;
|
|
62
62
|
//#endregion
|
package/dist/index16.vue.d.ts
CHANGED
|
@@ -97,33 +97,33 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
-
error: (error: unknown) => any;
|
|
101
100
|
start: () => any;
|
|
102
|
-
close: (currentStep: number) => any;
|
|
103
101
|
complete: () => any;
|
|
102
|
+
close: (currentStep: number) => any;
|
|
104
103
|
skip: (currentStep: number) => any;
|
|
105
104
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
105
|
+
error: (error: unknown) => any;
|
|
106
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
-
onError?: ((error: unknown) => any) | undefined;
|
|
108
107
|
onStart?: (() => any) | undefined;
|
|
109
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
110
108
|
onComplete?: (() => any) | undefined;
|
|
109
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
111
110
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
112
111
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
112
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
steps: GuideStep[];
|
|
115
|
-
keyboard: boolean;
|
|
116
|
-
showTrigger: boolean;
|
|
117
115
|
doneBtnText: string;
|
|
118
116
|
nextBtnText: string;
|
|
119
117
|
prevBtnText: string;
|
|
120
118
|
showSkipButton: boolean;
|
|
121
119
|
skipBtnText: string;
|
|
122
120
|
showProgress: boolean;
|
|
121
|
+
keyboard: boolean;
|
|
123
122
|
animate: boolean;
|
|
124
123
|
allowClose: boolean;
|
|
125
124
|
skipMissingElements: boolean;
|
|
126
125
|
popoverClass: string;
|
|
126
|
+
showTrigger: boolean;
|
|
127
127
|
triggerTooltip: string;
|
|
128
128
|
triggerIcon: string;
|
|
129
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.cts
CHANGED
|
@@ -97,33 +97,33 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
97
97
|
resetCompleted: () => void;
|
|
98
98
|
isCompleted: () => boolean;
|
|
99
99
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
100
|
-
error: (error: unknown) => any;
|
|
101
100
|
start: () => any;
|
|
102
|
-
close: (currentStep: number) => any;
|
|
103
101
|
complete: () => any;
|
|
102
|
+
close: (currentStep: number) => any;
|
|
104
103
|
skip: (currentStep: number) => any;
|
|
105
104
|
"step-change": (stepIndex: number, step: GuideStep) => any;
|
|
105
|
+
error: (error: unknown) => any;
|
|
106
106
|
}, string, vue.PublicProps, Readonly<GuideProps> & Readonly<{
|
|
107
|
-
onError?: ((error: unknown) => any) | undefined;
|
|
108
107
|
onStart?: (() => any) | undefined;
|
|
109
|
-
onClose?: ((currentStep: number) => any) | undefined;
|
|
110
108
|
onComplete?: (() => any) | undefined;
|
|
109
|
+
onClose?: ((currentStep: number) => any) | undefined;
|
|
111
110
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
112
111
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
112
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
113
113
|
}>, {
|
|
114
114
|
steps: GuideStep[];
|
|
115
|
-
keyboard: boolean;
|
|
116
|
-
showTrigger: boolean;
|
|
117
115
|
doneBtnText: string;
|
|
118
116
|
nextBtnText: string;
|
|
119
117
|
prevBtnText: string;
|
|
120
118
|
showSkipButton: boolean;
|
|
121
119
|
skipBtnText: string;
|
|
122
120
|
showProgress: boolean;
|
|
121
|
+
keyboard: boolean;
|
|
123
122
|
animate: boolean;
|
|
124
123
|
allowClose: boolean;
|
|
125
124
|
skipMissingElements: boolean;
|
|
126
125
|
popoverClass: string;
|
|
126
|
+
showTrigger: boolean;
|
|
127
127
|
triggerTooltip: string;
|
|
128
128
|
triggerIcon: string;
|
|
129
129
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -38,21 +38,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
38
38
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
39
|
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
|
|
41
|
+
clickable: boolean;
|
|
42
42
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
43
|
+
loading: boolean;
|
|
43
44
|
size: number | string;
|
|
44
45
|
color: string;
|
|
45
46
|
title: string;
|
|
46
|
-
|
|
47
|
-
loading: boolean;
|
|
48
|
-
clickable: boolean;
|
|
47
|
+
ariaLabel: string;
|
|
49
48
|
flip: "horizontal" | "vertical" | "both";
|
|
50
|
-
rotate: number;
|
|
51
49
|
svgPath: string;
|
|
50
|
+
viewBox: string;
|
|
52
51
|
alt: string;
|
|
53
52
|
fallbackIcon: string;
|
|
54
53
|
loadTimeout: number;
|
|
55
54
|
customClass: string;
|
|
55
|
+
rotate: number;
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
package/dist/index18.vue.d.cts
CHANGED
|
@@ -38,21 +38,21 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
38
38
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
39
|
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
|
-
|
|
41
|
+
clickable: boolean;
|
|
42
42
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
43
|
+
loading: boolean;
|
|
43
44
|
size: number | string;
|
|
44
45
|
color: string;
|
|
45
46
|
title: string;
|
|
46
|
-
|
|
47
|
-
loading: boolean;
|
|
48
|
-
clickable: boolean;
|
|
47
|
+
ariaLabel: string;
|
|
49
48
|
flip: "horizontal" | "vertical" | "both";
|
|
50
|
-
rotate: number;
|
|
51
49
|
svgPath: string;
|
|
50
|
+
viewBox: string;
|
|
52
51
|
alt: string;
|
|
53
52
|
fallbackIcon: string;
|
|
54
53
|
loadTimeout: number;
|
|
55
54
|
customClass: string;
|
|
55
|
+
rotate: number;
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|