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

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 (129) hide show
  1. package/CHANGELOG.md +18 -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 +3 -3
  30. package/dist/constants.d.ts +3 -3
  31. package/dist/constants2.d.cts +2 -2
  32. package/dist/constants2.d.ts +2 -2
  33. package/dist/constants4.d.cts +6 -6
  34. package/dist/constants4.d.ts +6 -6
  35. package/dist/constants5.d.cts +11 -10
  36. package/dist/constants5.d.ts +11 -10
  37. package/dist/data.d.cts +13 -13
  38. package/dist/data.d.ts +13 -13
  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 +5 -5
  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 +6 -6
  47. package/dist/index12.vue.d.cts +6 -6
  48. package/dist/index13.vue.d.ts +5 -5
  49. package/dist/index14.vue.d.cts +5 -5
  50. package/dist/index14.vue.d.ts +5 -5
  51. package/dist/index15.vue.d.cts +5 -5
  52. package/dist/index15.vue.d.ts +2 -2
  53. package/dist/index16.vue.d.cts +2 -2
  54. package/dist/index17.vue.d.ts +1 -1
  55. package/dist/index18.vue.d.cts +1 -1
  56. package/dist/index18.vue.d.ts +6 -6
  57. package/dist/index19.vue.d.cts +6 -6
  58. package/dist/index19.vue.d.ts +5 -5
  59. package/dist/index2.vue.d.cts +2 -2
  60. package/dist/index2.vue.d.ts +2 -2
  61. package/dist/index20.vue.d.cts +1 -1
  62. package/dist/index20.vue.d.ts +1 -1
  63. package/dist/index21.vue.d.cts +1 -1
  64. package/dist/index21.vue.d.ts +1 -1
  65. package/dist/index22.vue.d.cts +2 -2
  66. package/dist/index22.vue.d.ts +2 -2
  67. package/dist/index23.vue.d.cts +1 -1
  68. package/dist/index23.vue.d.ts +1 -1
  69. package/dist/index25.vue.d.cts +8 -3
  70. package/dist/index25.vue.d.ts +8 -3
  71. package/dist/index27.vue.d.cts +2 -2
  72. package/dist/index27.vue.d.ts +2 -2
  73. package/dist/index28.vue.d.cts +4 -4
  74. package/dist/index28.vue.d.ts +4 -4
  75. package/dist/index3.vue.d.cts +2 -2
  76. package/dist/index3.vue.d.ts +2 -2
  77. package/dist/index4.vue.d.cts +5 -5
  78. package/dist/index5.vue.d.ts +2 -2
  79. package/dist/index6.vue.d.cts +2 -2
  80. package/dist/index6.vue.d.ts +4 -4
  81. package/dist/index7.vue.d.cts +4 -4
  82. package/dist/index7.vue.d.ts +2 -2
  83. package/dist/index8.vue.d.cts +2 -2
  84. package/dist/index8.vue.d.ts +4 -4
  85. package/dist/index9.vue.d.cts +4 -4
  86. package/dist/index9.vue.d.ts +5 -5
  87. package/dist/mapUtils.d.cts +2 -2
  88. package/dist/mapUtils.d.ts +2 -2
  89. package/dist/presets.d.cts +1 -1
  90. package/dist/presets.d.ts +1 -1
  91. package/dist/style.css +559 -545
  92. package/dist/useCalendarEvents.d.cts +10 -0
  93. package/dist/useCalendarEvents.d.ts +10 -0
  94. package/dist/useCollapsePanel.d.cts +3 -3
  95. package/dist/useCollapsePanel.d.ts +3 -3
  96. package/dist/useCropperCore.d.cts +5 -5
  97. package/dist/useCropperCore.d.ts +5 -5
  98. package/dist/useDraggableLayout.d.cts +7 -7
  99. package/dist/useDraggableLayout.d.ts +7 -7
  100. package/dist/useDynamicFormState.d.cts +3 -3
  101. package/dist/useDynamicFormState.d.ts +3 -3
  102. package/dist/useEdgeInteraction.d.cts +4 -2
  103. package/dist/useEdgeInteraction.d.ts +4 -2
  104. package/dist/useFullscreen.d.cts +5 -3
  105. package/dist/useFullscreen.d.ts +5 -3
  106. package/dist/useInfiniteScroll.d.cts +2 -2
  107. package/dist/useInfiniteScroll.d.ts +2 -2
  108. package/dist/useQRCode.d.cts +3 -3
  109. package/dist/useQRCode.d.ts +3 -3
  110. package/dist/useSearchState.d.cts +5 -5
  111. package/dist/useSearchState.d.ts +5 -5
  112. package/dist/useSignatureHistory.d.cts +6 -6
  113. package/dist/useSignatureHistory.d.ts +6 -6
  114. package/dist/useSplitResize.d.cts +8 -8
  115. package/dist/useSplitResize.d.ts +8 -8
  116. package/dist/useTableQuery.cjs +3 -3
  117. package/dist/useTableQuery.d.cts +12 -12
  118. package/dist/useTableQuery.d.ts +12 -12
  119. package/dist/useTableQuery.js +3 -3
  120. package/dist/useTimeSelection.d.cts +4 -4
  121. package/dist/useTimeSelection.d.ts +4 -4
  122. package/dist/useWorkflowValidation.d.cts +9 -4
  123. package/dist/useWorkflowValidation.d.ts +9 -4
  124. package/dist/verification.d.cts +5 -5
  125. package/dist/verification.d.ts +5 -5
  126. package/docs/components.en.md +4 -0
  127. package/docs/components.md +4 -0
  128. package/docs/guides/table-density.md +6 -0
  129. package/package.json +1 -1
@@ -19,11 +19,11 @@ type __VLS_Props = {
19
19
  tooltip?: string;
20
20
  };
21
21
  declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
22
- change: (key: string) => any;
23
22
  "update:modelValue": (key: string) => any;
23
+ change: (key: string) => any;
24
24
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
25
- onChange?: ((key: string) => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((key: string) => any) | undefined;
26
+ onChange?: ((key: string) => any) | undefined;
27
27
  }>, {
28
28
  modelValue: string;
29
29
  options: LegacyLanguageOption[];
@@ -116,8 +116,8 @@ 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
- title: string;
120
119
  loading: boolean;
120
+ title: string;
121
121
  storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
@@ -116,8 +116,8 @@ 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
- title: string;
120
119
  loading: boolean;
120
+ title: string;
121
121
  storageKey: string;
122
122
  defaultUsername: string;
123
123
  defaultPassword: string;
@@ -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,11 +61,11 @@ 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
- placeholder: string;
65
- mode: "edit" | "editable" | "preview";
66
- height: string | number;
67
- disabled: boolean;
68
64
  modelValue: string;
65
+ disabled: boolean;
66
+ height: string | number;
67
+ mode: "edit" | "editable" | "preview";
68
+ placeholder: string;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -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,11 +61,11 @@ 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
- placeholder: string;
65
- mode: "edit" | "editable" | "preview";
66
- height: string | number;
67
- disabled: boolean;
68
64
  modelValue: string;
65
+ disabled: boolean;
66
+ height: string | number;
67
+ mode: "edit" | "editable" | "preview";
68
+ placeholder: string;
69
69
  tocNavPosition: "left" | "right";
70
70
  defaultFullscreen: boolean;
71
71
  autofocus: boolean;
@@ -45,21 +45,21 @@ 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
- defaultExpandedKeys: string[];
62
61
  indent: number;
62
+ defaultExpandedKeys: string[];
63
63
  collapsed: boolean;
64
64
  collapsedWidth: number;
65
65
  collapsedIconSize: number;
@@ -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
+ direction: "ltr" | "rtl";
75
76
  size: number;
76
77
  clickable: boolean;
77
- overlap: 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
+ direction: "ltr" | "rtl";
75
76
  size: number;
76
77
  clickable: boolean;
77
- overlap: 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,10 @@ 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
84
  collapsible: boolean;
86
85
  lineStyle: OrgChartLineStyle;
86
+ lineColor: string;
87
87
  lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
@@ -80,10 +80,10 @@ 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
84
  collapsible: boolean;
86
85
  lineStyle: OrgChartLineStyle;
86
+ lineColor: string;
87
87
  lineWidth: number;
88
88
  nodeSpacing: number;
89
89
  levelSpacing: number;
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ time: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
38
39
  strokeWidth: number;
39
- time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -34,9 +34,9 @@ type __VLS_Slots = {} & {
34
34
  indicator?: (props: typeof __VLS_9) => any;
35
35
  };
36
36
  declare const __VLS_base: vue.DefineComponent<Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
37
+ time: number;
37
38
  status: "default" | "success" | "error" | "warning" | "info";
38
39
  strokeWidth: number;
39
- time: number;
40
40
  percentage: number | number[];
41
41
  isAnimation: boolean;
42
42
  indicatorPlacement: "inside" | "outside";
@@ -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
- repeat: number;
91
89
  loading: boolean;
90
+ repeat: number;
92
91
  preset: SkeletonPreset;
93
92
  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
- repeat: number;
91
89
  loading: boolean;
90
+ repeat: number;
92
91
  preset: SkeletonPreset;
93
92
  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
+ direction: "horizontal" | "vertical";
38
39
  clickable: boolean;
39
40
  connected: boolean;
40
41
  current: number;
41
- direction: "horizontal" | "vertical";
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
+ direction: "horizontal" | "vertical";
38
39
  clickable: boolean;
39
40
  connected: boolean;
40
41
  current: number;
41
- direction: "horizontal" | "vertical";
42
42
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
43
43
  declare const _default: typeof __VLS_export;
44
44
  //#endregion
@@ -635,24 +635,29 @@ 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
  }>, {
655
+ data: GanttTask[];
650
656
  title: string;
651
- theme: "light" | "dark";
652
657
  height: string | number;
653
- showToolbar: boolean;
654
- data: GanttTask[];
655
658
  options: GanttOptions;
659
+ showToolbar: boolean;
660
+ theme: "light" | "dark";
656
661
  preset: GanttPreset;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -635,24 +635,29 @@ 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
  }>, {
655
+ data: GanttTask[];
650
656
  title: string;
651
- theme: "light" | "dark";
652
657
  height: string | number;
653
- showToolbar: boolean;
654
- data: GanttTask[];
655
658
  options: GanttOptions;
659
+ showToolbar: boolean;
660
+ theme: "light" | "dark";
656
661
  preset: GanttPreset;
657
662
  showFullscreenButton: boolean;
658
663
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -91,11 +91,11 @@ 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
- pending: boolean;
95
+ mode: "vertical" | "horizontal";
97
96
  items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -91,11 +91,11 @@ 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
- pending: boolean;
95
+ mode: "vertical" | "horizontal";
97
96
  items: TimelineItem[];
98
97
  labelPlacement: "left" | "right" | "alternate";
98
+ pending: boolean;
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -64,16 +64,16 @@ 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: "right" | "left", 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: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
- virtualScroll: boolean;
74
73
  size: "small" | "medium" | "large";
75
- titles: [string, string];
76
74
  filterable: boolean;
75
+ virtualScroll: boolean;
76
+ titles: [string, string];
77
77
  filterPlaceholder: string;
78
78
  showSelectAll: boolean;
79
79
  sourceEmptyText: string;
@@ -64,16 +64,16 @@ 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: "right" | "left", 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: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
72
72
  }>, {
73
- virtualScroll: boolean;
74
73
  size: "small" | "medium" | "large";
75
- titles: [string, string];
76
74
  filterable: boolean;
75
+ virtualScroll: boolean;
76
+ titles: [string, string];
77
77
  filterPlaceholder: string;
78
78
  showSelectAll: boolean;
79
79
  sourceEmptyText: string;
@@ -22,12 +22,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
22
22
  }>, {
23
23
  width: number;
24
24
  height: number;
25
- fontSize: number;
26
25
  label: string;
26
+ fontSize: number;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
28
  lineColor: string;
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -22,12 +22,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
22
22
  }>, {
23
23
  width: number;
24
24
  height: number;
25
- fontSize: number;
26
25
  label: string;
26
+ fontSize: number;
27
+ format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
27
28
  lineColor: string;
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
- format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
31
31
  showText: boolean;
32
32
  textPosition: "bottom" | "top";
33
33
  background: string;
@@ -103,21 +103,21 @@ 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
- defaultExpandedKeys: string[];
120
119
  indent: number;
120
+ defaultExpandedKeys: string[];
121
121
  collapsed: boolean;
122
122
  collapsedWidth: number;
123
123
  collapsedIconSize: number;
@@ -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,36 +88,36 @@ 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;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
+ title: string;
109
110
  placeholder: 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,36 +88,36 @@ 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;
106
106
  "onEmoji-click"?: (() => any) | undefined;
107
107
  onResend?: ((msg: ChatMessage) => any) | undefined;
108
108
  }>, {
109
+ title: string;
109
110
  placeholder: 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;
@@ -24,16 +24,16 @@ 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
- copy: (code: string) => any;
28
27
  fullscreen: (isFullscreen: boolean) => any;
28
+ copy: (code: string) => any;
29
29
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
30
30
  onClick?: ((event: MouseEvent) => any) | undefined;
31
- onCopy?: ((code: string) => any) | undefined;
32
31
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
32
+ onCopy?: ((code: string) => any) | undefined;
33
33
  }>, {
34
- code: string;
35
- trim: boolean;
36
34
  language: string;
35
+ trim: boolean;
36
+ code: string;
37
37
  showHeader: boolean;
38
38
  showLineNumbers: boolean;
39
39
  wordWrap: boolean;