@robot-admin/naive-ui-components 0.17.1 → 0.17.2

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.
Files changed (131) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/C_AntV.css +105 -105
  3. package/dist/C_AntV2.cjs +3 -3
  4. package/dist/C_AntV2.js +3 -3
  5. package/dist/C_AudioPlayer.css +53 -53
  6. package/dist/C_AudioPlayer2.cjs +1 -1
  7. package/dist/C_AudioPlayer2.js +1 -1
  8. package/dist/C_FilePreview.css +38 -38
  9. package/dist/C_FilePreview2.cjs +1 -1
  10. package/dist/C_FilePreview2.js +1 -1
  11. package/dist/C_FullCalendar.css +10 -11
  12. package/dist/C_FullCalendar2.cjs +1 -1
  13. package/dist/C_FullCalendar2.js +1 -1
  14. package/dist/C_Table.base.css +109 -109
  15. package/dist/C_Table.css +109 -109
  16. package/dist/C_Tabs.css +18 -18
  17. package/dist/C_TagsView.css +51 -51
  18. package/dist/C_TagsView2.cjs +1 -1
  19. package/dist/C_TagsView2.js +1 -1
  20. package/dist/C_VideoPlayer.css +20 -20
  21. package/dist/C_VideoPlayer2.cjs +2 -2
  22. package/dist/C_VideoPlayer2.js +3 -3
  23. package/dist/C_VtableGantt.css +44 -29
  24. package/dist/C_VtableGantt2.cjs +1 -1
  25. package/dist/C_VtableGantt2.js +1 -1
  26. package/dist/C_WorkFlow.css +111 -111
  27. package/dist/C_WorkFlow2.cjs +1 -1
  28. package/dist/C_WorkFlow2.js +1 -1
  29. package/dist/constants.d.cts +2 -2
  30. package/dist/constants.d.ts +2 -2
  31. package/dist/constants2.d.cts +2 -2
  32. package/dist/constants2.d.ts +2 -2
  33. package/dist/constants4.d.cts +5 -5
  34. package/dist/constants4.d.ts +5 -5
  35. package/dist/constants5.d.cts +11 -10
  36. package/dist/constants5.d.ts +11 -10
  37. package/dist/data.d.cts +12 -12
  38. package/dist/data.d.ts +12 -12
  39. package/dist/data2.cjs +1 -1
  40. package/dist/data2.js +1 -1
  41. package/dist/index.vue.d.cts +6 -6
  42. package/dist/index.vue.d.ts +6 -6
  43. package/dist/index10.vue.d.cts +1 -1
  44. package/dist/index10.vue.d.ts +4 -4
  45. package/dist/index11.vue.d.cts +4 -4
  46. package/dist/index11.vue.d.ts +5 -5
  47. package/dist/index12.vue.d.cts +5 -5
  48. package/dist/index12.vue.d.ts +2 -2
  49. package/dist/index13.vue.d.cts +2 -2
  50. package/dist/index13.vue.d.ts +5 -5
  51. package/dist/index14.vue.d.cts +5 -5
  52. package/dist/index14.vue.d.ts +5 -5
  53. package/dist/index15.vue.d.cts +5 -5
  54. package/dist/index15.vue.d.ts +2 -2
  55. package/dist/index16.vue.d.cts +2 -2
  56. package/dist/index16.vue.d.ts +1 -1
  57. package/dist/index17.vue.d.cts +1 -1
  58. package/dist/index17.vue.d.ts +1 -1
  59. package/dist/index18.vue.d.cts +1 -1
  60. package/dist/index18.vue.d.ts +6 -6
  61. package/dist/index19.vue.d.cts +6 -6
  62. package/dist/index19.vue.d.ts +5 -5
  63. package/dist/index2.vue.d.cts +3 -3
  64. package/dist/index2.vue.d.ts +3 -3
  65. package/dist/index20.vue.d.cts +2 -2
  66. package/dist/index20.vue.d.ts +2 -2
  67. package/dist/index22.vue.d.cts +2 -2
  68. package/dist/index22.vue.d.ts +2 -2
  69. package/dist/index23.vue.d.cts +2 -2
  70. package/dist/index23.vue.d.ts +2 -2
  71. package/dist/index25.vue.d.cts +9 -4
  72. package/dist/index25.vue.d.ts +9 -4
  73. package/dist/index27.vue.d.cts +1 -1
  74. package/dist/index27.vue.d.ts +1 -1
  75. package/dist/index28.vue.d.cts +3 -3
  76. package/dist/index28.vue.d.ts +3 -3
  77. package/dist/index3.vue.d.cts +3 -3
  78. package/dist/index3.vue.d.ts +3 -3
  79. package/dist/index4.vue.d.cts +5 -5
  80. package/dist/index5.vue.d.ts +2 -2
  81. package/dist/index6.vue.d.cts +2 -2
  82. package/dist/index6.vue.d.ts +4 -4
  83. package/dist/index7.vue.d.cts +4 -4
  84. package/dist/index7.vue.d.ts +2 -2
  85. package/dist/index8.vue.d.cts +2 -2
  86. package/dist/index8.vue.d.ts +5 -5
  87. package/dist/index9.vue.d.cts +5 -5
  88. package/dist/index9.vue.d.ts +1 -1
  89. package/dist/mapUtils.d.cts +1 -1
  90. package/dist/mapUtils.d.ts +1 -1
  91. package/dist/presets.d.cts +1 -1
  92. package/dist/presets.d.ts +1 -1
  93. package/dist/style.css +559 -545
  94. package/dist/useCalendarEvents.d.cts +11 -1
  95. package/dist/useCalendarEvents.d.ts +11 -1
  96. package/dist/useCollapsePanel.d.cts +3 -3
  97. package/dist/useCollapsePanel.d.ts +3 -3
  98. package/dist/useCropperCore.d.cts +7 -7
  99. package/dist/useCropperCore.d.ts +7 -7
  100. package/dist/useDraggableLayout.d.cts +10 -10
  101. package/dist/useDraggableLayout.d.ts +10 -10
  102. package/dist/useDynamicFormState.d.cts +2 -2
  103. package/dist/useDynamicFormState.d.ts +2 -2
  104. package/dist/useEdgeInteraction.d.cts +4 -2
  105. package/dist/useEdgeInteraction.d.ts +4 -2
  106. package/dist/useFullscreen.d.cts +3 -1
  107. package/dist/useFullscreen.d.ts +3 -1
  108. package/dist/useInfiniteScroll.d.cts +2 -2
  109. package/dist/useInfiniteScroll.d.ts +2 -2
  110. package/dist/useQRCode.d.cts +3 -3
  111. package/dist/useQRCode.d.ts +3 -3
  112. package/dist/useSearchState.d.cts +5 -5
  113. package/dist/useSearchState.d.ts +5 -5
  114. package/dist/useSignatureHistory.d.cts +6 -6
  115. package/dist/useSignatureHistory.d.ts +6 -6
  116. package/dist/useSplitResize.d.cts +9 -9
  117. package/dist/useSplitResize.d.ts +9 -9
  118. package/dist/useTableQuery.cjs +3 -3
  119. package/dist/useTableQuery.d.cts +9 -9
  120. package/dist/useTableQuery.d.ts +9 -9
  121. package/dist/useTableQuery.js +3 -3
  122. package/dist/useTimeSelection.d.cts +3 -3
  123. package/dist/useTimeSelection.d.ts +3 -3
  124. package/dist/useWorkflowValidation.d.cts +10 -5
  125. package/dist/useWorkflowValidation.d.ts +10 -5
  126. package/dist/verification.d.cts +5 -5
  127. package/dist/verification.d.ts +5 -5
  128. package/docs/components.en.md +4 -0
  129. package/docs/components.md +4 -0
  130. package/docs/guides/table-density.md +6 -0
  131. package/package.json +1 -1
@@ -116,9 +116,9 @@ declare const __VLS_base: vue.DefineComponent<LoginProps, {
116
116
  "onCaptcha-visible-change"?: ((visible: boolean) => any) | undefined;
117
117
  "onUsername-change"?: ((username: string) => any) | undefined;
118
118
  }>, {
119
+ storageKey: string;
119
120
  title: string;
120
121
  loading: boolean;
121
- storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
124
124
  captchaProvider: CaptchaProvider;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,18 +61,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
+ modelValue: string;
65
+ disabled: boolean;
64
66
  placeholder: string;
65
- mode: "edit" | "editable" | "preview";
66
67
  height: string | number;
67
- disabled: boolean;
68
- modelValue: string;
68
+ mode: "edit" | "editable" | "preview";
69
+ maxLength: number;
69
70
  tocNavPosition: "left" | "right";
70
71
  defaultFullscreen: boolean;
71
72
  autofocus: boolean;
72
73
  includeLevel: number[];
73
74
  leftToolbar: string;
74
75
  rightToolbar: string;
75
- maxLength: number;
76
76
  showWordCount: boolean;
77
77
  autoSave: boolean;
78
78
  autoSaveInterval: number;
@@ -41,8 +41,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
41
41
  insertText: (text: string) => void;
42
42
  wordCount: vue.ComputedRef<number>;
43
43
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
44
- change: (text: string, html: string) => any;
45
44
  "update:modelValue": (value: string) => any;
45
+ change: (text: string, html: string) => any;
46
46
  save: (text: string, html: string) => any;
47
47
  "upload-image": (event: Event, insertImage: InsertImageFunction, files: FileList) => any;
48
48
  "fullscreen-change": (isFullscreen: boolean) => any;
@@ -51,8 +51,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
51
51
  "auto-save": (text: string) => any;
52
52
  "max-length-exceeded": (currentLength: number, maxLength: number) => any;
53
53
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
54
- onChange?: ((text: string, html: string) => any) | undefined;
55
54
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
55
+ onChange?: ((text: string, html: string) => any) | undefined;
56
56
  onSave?: ((text: string, html: string) => any) | undefined;
57
57
  "onUpload-image"?: ((event: Event, insertImage: InsertImageFunction, files: FileList) => any) | undefined;
58
58
  "onFullscreen-change"?: ((isFullscreen: boolean) => any) | undefined;
@@ -61,18 +61,18 @@ declare const __VLS_export: vue.DefineComponent<Props, {
61
61
  "onAuto-save"?: ((text: string) => any) | undefined;
62
62
  "onMax-length-exceeded"?: ((currentLength: number, maxLength: number) => any) | undefined;
63
63
  }>, {
64
+ modelValue: string;
65
+ disabled: boolean;
64
66
  placeholder: string;
65
- mode: "edit" | "editable" | "preview";
66
67
  height: string | number;
67
- disabled: boolean;
68
- modelValue: string;
68
+ mode: "edit" | "editable" | "preview";
69
+ maxLength: number;
69
70
  tocNavPosition: "left" | "right";
70
71
  defaultFullscreen: boolean;
71
72
  autofocus: boolean;
72
73
  includeLevel: number[];
73
74
  leftToolbar: string;
74
75
  rightToolbar: string;
75
- maxLength: number;
76
76
  showWordCount: boolean;
77
77
  autoSave: boolean;
78
78
  autoSaveInterval: number;
@@ -45,25 +45,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
45
45
  showOption: (key: string) => void | undefined;
46
46
  menuRef: Ref<MenuInst | null, MenuInst | null>;
47
47
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
48
- "update:expandedKeys": (keys: string[]) => any;
49
- select: (key: string) => any;
50
48
  "update:modelValue": (key: MenuValue) => any;
49
+ select: (key: string) => any;
51
50
  intent: (key: string) => any;
52
51
  "update:value": (key: MenuValue) => any;
52
+ "update:expandedKeys": (keys: string[]) => any;
53
53
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
54
- "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
55
- onSelect?: ((key: string) => any) | undefined;
56
54
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
55
+ onSelect?: ((key: string) => any) | undefined;
57
56
  onIntent?: ((key: string) => any) | undefined;
58
57
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
58
+ "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
59
59
  }>, {
60
60
  mode: "vertical" | "horizontal";
61
61
  defaultExpandedKeys: string[];
62
- indent: number;
63
62
  collapsed: boolean;
64
63
  collapsedWidth: number;
65
64
  collapsedIconSize: number;
66
65
  inverted: boolean;
66
+ indent: number;
67
67
  rootIndent: number;
68
68
  dropdownProps: naive_ui0.DropdownProps;
69
69
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- size: number;
75
+ direction: "ltr" | "rtl";
76
76
  clickable: boolean;
77
- overlap: number;
77
+ size: number;
78
78
  max: number;
79
- direction: "ltr" | "rtl";
79
+ overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -72,11 +72,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
72
72
  onItemClick?: ((item: AvatarItem) => any) | undefined;
73
73
  onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
74
74
  }>, {
75
- size: number;
75
+ direction: "ltr" | "rtl";
76
76
  clickable: boolean;
77
- overlap: number;
77
+ size: number;
78
78
  max: number;
79
- direction: "ltr" | "rtl";
79
+ overlap: number;
80
80
  shape: "circle" | "square";
81
81
  showStatus: boolean;
82
82
  showTooltip: boolean;
@@ -80,10 +80,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- lineColor: string;
84
83
  direction: OrgChartDirection;
85
- collapsible: boolean;
86
84
  lineStyle: OrgChartLineStyle;
85
+ lineColor: string;
87
86
  lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  maxZoom: number;
95
+ collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -80,10 +80,9 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
80
80
  "onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
81
81
  "onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
82
82
  }>, {
83
- lineColor: string;
84
83
  direction: OrgChartDirection;
85
- collapsible: boolean;
86
84
  lineStyle: OrgChartLineStyle;
85
+ lineColor: string;
87
86
  lineWidth: number;
88
87
  nodeSpacing: number;
89
88
  levelSpacing: number;
@@ -93,6 +92,7 @@ declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
93
92
  fitOnInit: boolean;
94
93
  minZoom: number;
95
94
  maxZoom: number;
95
+ collapsible: boolean;
96
96
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
97
97
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
98
98
  declare const _default: typeof __VLS_export;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- borderRadius: string;
90
89
  repeat: number;
90
+ animation: SkeletonAnimation;
91
91
  loading: boolean;
92
92
  preset: SkeletonPreset;
93
- animation: SkeletonAnimation;
93
+ borderRadius: string;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -86,11 +86,11 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_1) => any;
87
87
  };
88
88
  declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
89
- borderRadius: string;
90
89
  repeat: number;
90
+ animation: SkeletonAnimation;
91
91
  loading: boolean;
92
92
  preset: SkeletonPreset;
93
- animation: SkeletonAnimation;
93
+ borderRadius: string;
94
94
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
95
95
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
96
  declare const _default: typeof __VLS_export;
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- clickable: boolean;
39
- connected: boolean;
40
38
  current: number;
41
39
  direction: "horizontal" | "vertical";
40
+ clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -35,10 +35,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
35
35
  onChange?: ((args_0: number) => any) | undefined;
36
36
  "onUpdate:current"?: ((args_0: number) => any) | undefined;
37
37
  }>, {
38
- clickable: boolean;
39
- connected: boolean;
40
38
  current: number;
41
39
  direction: "horizontal" | "vertical";
40
+ clickable: boolean;
41
+ connected: boolean;
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -635,25 +635,30 @@ interface Props {
635
635
  }
636
636
  declare const __VLS_export: vue.DefineComponent<Props, {
637
637
  ganttInstance: vue.ShallowRef<any, any>;
638
+ loading: vue.Ref<boolean, boolean>;
639
+ error: vue.ShallowRef<Error | undefined, Error | undefined>;
640
+ reload: () => Promise<void>;
638
641
  updateData: (newData: GanttTask[]) => void;
639
642
  updateOptions: (newOptions: GanttOptions) => void;
640
643
  toggleFullscreen: () => Promise<void>;
641
644
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
645
+ error: (error: Error) => any;
642
646
  ganttCreated: (gantt: any) => any;
643
647
  taskClick: (task: GanttTask, event: Event) => any;
644
648
  taskChange: (task: GanttTask, changes: any) => any;
645
649
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
650
+ onError?: ((error: Error) => any) | undefined;
646
651
  onGanttCreated?: ((gantt: any) => any) | undefined;
647
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
654
  }>, {
650
- title: string;
651
- theme: "light" | "dark";
652
655
  height: string | number;
653
- showToolbar: boolean;
654
656
  data: GanttTask[];
655
- options: GanttOptions;
657
+ title: string;
658
+ showToolbar: boolean;
659
+ theme: "light" | "dark";
656
660
  preset: GanttPreset;
661
+ options: GanttOptions;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
664
  declare const _default: typeof __VLS_export;
@@ -635,25 +635,30 @@ interface Props {
635
635
  }
636
636
  declare const __VLS_export: vue.DefineComponent<Props, {
637
637
  ganttInstance: vue.ShallowRef<any, any>;
638
+ loading: vue.Ref<boolean, boolean>;
639
+ error: vue.ShallowRef<Error | undefined, Error | undefined>;
640
+ reload: () => Promise<void>;
638
641
  updateData: (newData: GanttTask[]) => void;
639
642
  updateOptions: (newOptions: GanttOptions) => void;
640
643
  toggleFullscreen: () => Promise<void>;
641
644
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
645
+ error: (error: Error) => any;
642
646
  ganttCreated: (gantt: any) => any;
643
647
  taskClick: (task: GanttTask, event: Event) => any;
644
648
  taskChange: (task: GanttTask, changes: any) => any;
645
649
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
650
+ onError?: ((error: Error) => any) | undefined;
646
651
  onGanttCreated?: ((gantt: any) => any) | undefined;
647
652
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
653
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
654
  }>, {
650
- title: string;
651
- theme: "light" | "dark";
652
655
  height: string | number;
653
- showToolbar: boolean;
654
656
  data: GanttTask[];
655
- options: GanttOptions;
657
+ title: string;
658
+ showToolbar: boolean;
659
+ theme: "light" | "dark";
656
660
  preset: GanttPreset;
661
+ options: GanttOptions;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
664
  declare const _default: typeof __VLS_export;
@@ -91,9 +91,9 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- mode: "vertical" | "horizontal";
95
94
  size: "small" | "medium" | "large";
96
95
  pending: boolean;
96
+ mode: "vertical" | "horizontal";
97
97
  items: TimelineItem[];
98
98
  labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
@@ -91,9 +91,9 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
91
91
  "onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
92
92
  }>, {
93
93
  reverse: boolean;
94
- mode: "vertical" | "horizontal";
95
94
  size: "small" | "medium" | "large";
96
95
  pending: boolean;
96
+ mode: "vertical" | "horizontal";
97
97
  items: TimelineItem[];
98
98
  labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
@@ -64,13 +64,12 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
- virtualScroll: boolean;
74
73
  size: "small" | "medium" | "large";
75
74
  titles: [string, string];
76
75
  filterable: boolean;
@@ -78,6 +77,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
78
77
  showSelectAll: boolean;
79
78
  sourceEmptyText: string;
80
79
  targetEmptyText: string;
80
+ virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -64,13 +64,12 @@ type __VLS_Props = {
64
64
  virtualScroll?: boolean;
65
65
  };
66
66
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
67
- change: (targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any;
68
67
  "update:modelValue": (value: (string | number)[]) => any;
68
+ change: (targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any;
69
69
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
70
- onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
71
70
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
71
+ onChange?: ((targetKeys: (string | number)[], direction: "left" | "right", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
- virtualScroll: boolean;
74
73
  size: "small" | "medium" | "large";
75
74
  titles: [string, string];
76
75
  filterable: boolean;
@@ -78,6 +77,7 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
78
77
  showSelectAll: boolean;
79
78
  sourceEmptyText: string;
80
79
  targetEmptyText: string;
80
+ virtualScroll: boolean;
81
81
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
82
82
  declare const _default: typeof __VLS_export;
83
83
  //#endregion
@@ -20,13 +20,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- width: number;
24
23
  height: number;
25
- fontSize: number;
26
- label: string;
27
24
  lineColor: string;
25
+ label: string;
28
26
  showBorder: boolean;
29
27
  showLabel: boolean;
28
+ width: number;
29
+ fontSize: number;
30
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
@@ -20,13 +20,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
20
20
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
- width: number;
24
23
  height: number;
25
- fontSize: number;
26
- label: string;
27
24
  lineColor: string;
25
+ label: string;
28
26
  showBorder: boolean;
29
27
  showLabel: boolean;
28
+ width: number;
29
+ fontSize: number;
30
30
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
@@ -103,25 +103,25 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
103
103
  showOption: (key: string) => void | undefined;
104
104
  menuRef: Ref<MenuInst | null, MenuInst | null>;
105
105
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
106
- "update:expandedKeys": (keys: string[]) => any;
107
- select: (key: string) => any;
108
106
  "update:modelValue": (key: MenuValue) => any;
107
+ select: (key: string) => any;
109
108
  intent: (key: string) => any;
110
109
  "update:value": (key: MenuValue) => any;
110
+ "update:expandedKeys": (keys: string[]) => any;
111
111
  }, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
112
- "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
113
- onSelect?: ((key: string) => any) | undefined;
114
112
  "onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
113
+ onSelect?: ((key: string) => any) | undefined;
115
114
  onIntent?: ((key: string) => any) | undefined;
116
115
  "onUpdate:value"?: ((key: MenuValue) => any) | undefined;
116
+ "onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
117
117
  }>, {
118
118
  mode: "vertical" | "horizontal";
119
119
  defaultExpandedKeys: string[];
120
- indent: number;
121
120
  collapsed: boolean;
122
121
  collapsedWidth: number;
123
122
  collapsedIconSize: number;
124
123
  inverted: boolean;
124
+ indent: number;
125
125
  rootIndent: number;
126
126
  dropdownProps: naive_ui0.DropdownProps;
127
127
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  modelValue?: CascadeValue;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (value: CascadeValue) => any;
23
22
  "update:modelValue": (value: CascadeValue) => any;
23
+ change: (value: CascadeValue) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((value: CascadeValue) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: CascadeValue) => any) | undefined;
26
+ onChange?: ((value: CascadeValue) => any) | undefined;
27
27
  }>, {
28
28
  placeholders: string[];
29
29
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
+ "load-more": () => any;
91
92
  send: (content: string) => any;
92
93
  "select-contact": (id: string) => any;
93
- "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
+ "onLoad-more"?: (() => any) | undefined;
100
101
  onSend?: ((content: string) => any) | undefined;
101
102
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
- "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -107,17 +107,17 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
109
  placeholder: string;
110
+ title: string;
111
+ virtualScroll: boolean;
110
112
  showContacts: boolean;
111
113
  showTimestamp: boolean;
112
114
  showSendBtn: boolean;
113
115
  loadingHistory: boolean;
114
- title: string;
115
116
  contacts: ChatContact[];
116
117
  messages: ChatMessage[];
117
118
  currentContactId: string;
118
119
  selfAvatar: string;
119
120
  selfName: string;
120
- virtualScroll: boolean;
121
121
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
122
122
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
123
123
  declare const _default: typeof __VLS_export;
@@ -88,18 +88,18 @@ type __VLS_Slots = {} & {
88
88
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
89
89
  scrollToBottom: () => void;
90
90
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
91
+ "load-more": () => any;
91
92
  send: (content: string) => any;
92
93
  "select-contact": (id: string) => any;
93
- "load-more": () => any;
94
94
  "image-preview": (url: string) => any;
95
95
  "file-click": (msg: ChatMessage) => any;
96
96
  "file-upload": () => any;
97
97
  "emoji-click": () => any;
98
98
  resend: (msg: ChatMessage) => any;
99
99
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
100
+ "onLoad-more"?: (() => any) | undefined;
100
101
  onSend?: ((content: string) => any) | undefined;
101
102
  "onSelect-contact"?: ((id: string) => any) | undefined;
102
- "onLoad-more"?: (() => any) | undefined;
103
103
  "onImage-preview"?: ((url: string) => any) | undefined;
104
104
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
105
105
  "onFile-upload"?: (() => any) | undefined;
@@ -107,17 +107,17 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
109
  placeholder: string;
110
+ title: string;
111
+ virtualScroll: boolean;
110
112
  showContacts: boolean;
111
113
  showTimestamp: boolean;
112
114
  showSendBtn: boolean;
113
115
  loadingHistory: boolean;
114
- title: string;
115
116
  contacts: ChatContact[];
116
117
  messages: ChatMessage[];
117
118
  currentContactId: string;
118
119
  selfAvatar: string;
119
120
  selfName: string;
120
- virtualScroll: boolean;
121
121
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
122
122
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
123
123
  declare const _default: typeof __VLS_export;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -14,11 +14,11 @@ type __VLS_Slots = {} & {
14
14
  trigger?: (props: typeof __VLS_9) => any;
15
15
  };
16
16
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
17
- change: (value: string) => any;
18
17
  "update:modelValue": (value: string) => any;
18
+ change: (value: string) => any;
19
19
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
20
- onChange?: ((value: string) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
+ onChange?: ((value: string) => any) | undefined;
22
22
  }>, {
23
23
  placeholder: string;
24
24
  showLetters: boolean;
@@ -23,17 +23,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {
23
23
  copyCode: typeof copyCode;
24
24
  toggleFullscreen: typeof toggleFullscreen;
25
25
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
26
- click: (event: MouseEvent) => any;
27
- copy: (code: string) => any;
28
26
  fullscreen: (isFullscreen: boolean) => any;
27
+ copy: (code: string) => any;
28
+ click: (event: MouseEvent) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
- onClick?: ((event: MouseEvent) => any) | undefined;
31
- onCopy?: ((code: string) => any) | undefined;
32
30
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
31
+ onCopy?: ((code: string) => any) | undefined;
32
+ onClick?: ((event: MouseEvent) => any) | undefined;
33
33
  }>, {
34
- code: string;
35
34
  trim: boolean;
36
35
  language: string;
36
+ code: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;