@robot-admin/naive-ui-components 0.14.2 → 0.14.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 (125) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +20 -0
  3. package/README_EN.md +20 -0
  4. package/dist/C_AntV.css +128 -129
  5. package/dist/C_AudioPlayer.css +5 -6
  6. package/dist/C_Breadcrumb.css +12 -11
  7. package/dist/C_Captcha.css +7 -6
  8. package/dist/C_Cascade.css +5 -4
  9. package/dist/C_City.css +5 -6
  10. package/dist/C_Code.css +6 -7
  11. package/dist/C_CollapsePanel.css +6 -7
  12. package/dist/C_Cron.css +15 -15
  13. package/dist/C_FilePreview.css +157 -157
  14. package/dist/C_Form.base.css +82 -82
  15. package/dist/C_Form.css +82 -82
  16. package/dist/C_FormModal.css +10 -11
  17. package/dist/C_FormulaEditor.css +106 -106
  18. package/dist/C_FullCalendar.css +12 -12
  19. package/dist/C_GlobalSearch.css +11 -10
  20. package/dist/C_Guide.css +5 -6
  21. package/dist/C_ImageCropper.css +4 -4
  22. package/dist/C_Loading.css +8 -7
  23. package/dist/C_Login.css +6 -6
  24. package/dist/C_Markdown.css +6 -5
  25. package/dist/C_NotificationCenter.css +86 -86
  26. package/dist/C_OrgChart.css +6 -6
  27. package/dist/C_PageLoading.css +6 -5
  28. package/dist/C_Skeleton.css +5 -6
  29. package/dist/C_Steps.css +5 -4
  30. package/dist/C_Table.base.css +221 -205
  31. package/dist/C_Table.css +221 -205
  32. package/dist/C_Tabs.css +5 -4
  33. package/dist/C_TagsView.css +31 -32
  34. package/dist/C_Upload.css +99 -99
  35. package/dist/C_VideoPlayer.css +123 -124
  36. package/dist/C_WaterFall.css +16 -17
  37. package/dist/C_WorkFlow.css +103 -103
  38. package/dist/constants3.d.cts +3 -3
  39. package/dist/constants3.d.ts +3 -3
  40. package/dist/constants4.d.cts +5 -5
  41. package/dist/constants4.d.ts +5 -5
  42. package/dist/data.d.cts +8 -8
  43. package/dist/data.d.ts +8 -8
  44. package/dist/index.vue.d.cts +1 -1
  45. package/dist/index.vue.d.ts +1 -1
  46. package/dist/index10.vue.d.cts +1 -1
  47. package/dist/index10.vue.d.ts +3 -3
  48. package/dist/index11.vue.d.cts +3 -3
  49. package/dist/index11.vue.d.ts +1 -1
  50. package/dist/index12.vue.d.cts +1 -1
  51. package/dist/index13.vue.d.ts +3 -3
  52. package/dist/index14.vue.d.cts +3 -3
  53. package/dist/index14.vue.d.ts +6 -6
  54. package/dist/index15.vue.d.cts +6 -6
  55. package/dist/index17.vue.d.ts +1 -1
  56. package/dist/index18.vue.d.cts +1 -1
  57. package/dist/index18.vue.d.ts +2 -2
  58. package/dist/index19.vue.d.cts +2 -2
  59. package/dist/index19.vue.d.ts +1 -1
  60. package/dist/index2.vue.d.cts +2 -2
  61. package/dist/index2.vue.d.ts +2 -2
  62. package/dist/index20.vue.d.cts +2 -2
  63. package/dist/index20.vue.d.ts +2 -2
  64. package/dist/index21.vue.d.cts +2 -2
  65. package/dist/index21.vue.d.ts +2 -2
  66. package/dist/index22.vue.d.cts +2 -2
  67. package/dist/index22.vue.d.ts +2 -2
  68. package/dist/index23.vue.d.cts +1 -1
  69. package/dist/index23.vue.d.ts +1 -1
  70. package/dist/index25.vue.d.cts +3 -3
  71. package/dist/index25.vue.d.ts +3 -3
  72. package/dist/index27.vue.d.cts +2 -2
  73. package/dist/index27.vue.d.ts +2 -2
  74. package/dist/index28.vue.d.cts +1 -1
  75. package/dist/index28.vue.d.ts +1 -1
  76. package/dist/index3.vue.d.cts +3 -3
  77. package/dist/index3.vue.d.ts +3 -3
  78. package/dist/index4.vue.d.cts +1 -1
  79. package/dist/index6.vue.d.ts +3 -3
  80. package/dist/index7.vue.d.cts +3 -3
  81. package/dist/index8.vue.d.ts +1 -1
  82. package/dist/index9.vue.d.cts +1 -1
  83. package/dist/index9.vue.d.ts +1 -1
  84. package/dist/mapUtils.d.cts +2 -2
  85. package/dist/mapUtils.d.ts +2 -2
  86. package/dist/style.css +6358 -6342
  87. package/dist/useCalendarEvents.d.cts +2 -2
  88. package/dist/useCalendarEvents.d.ts +2 -2
  89. package/dist/useCollapsePanel.d.cts +2 -2
  90. package/dist/useCollapsePanel.d.ts +2 -2
  91. package/dist/useCropperCore.d.cts +3 -3
  92. package/dist/useCropperCore.d.ts +3 -3
  93. package/dist/useDraggableLayout.d.cts +9 -9
  94. package/dist/useDraggableLayout.d.ts +9 -9
  95. package/dist/useDynamicFormState.d.cts +2 -2
  96. package/dist/useDynamicFormState.d.ts +2 -2
  97. package/dist/useEdgeInteraction.d.cts +2 -2
  98. package/dist/useEdgeInteraction.d.ts +2 -2
  99. package/dist/useFullscreen.d.cts +2 -2
  100. package/dist/useFullscreen.d.ts +2 -2
  101. package/dist/useGlobalSearch.d.cts +1 -1
  102. package/dist/useGlobalSearch.d.ts +1 -1
  103. package/dist/useInfiniteScroll.d.cts +1 -1
  104. package/dist/useInfiniteScroll.d.ts +1 -1
  105. package/dist/useQRCode.d.cts +1 -1
  106. package/dist/useQRCode.d.ts +1 -1
  107. package/dist/useSearchState.d.cts +10 -10
  108. package/dist/useSearchState.d.ts +10 -10
  109. package/dist/useSignatureHistory.d.cts +4 -4
  110. package/dist/useSignatureHistory.d.ts +4 -4
  111. package/dist/useSplitResize.d.cts +8 -8
  112. package/dist/useSplitResize.d.ts +8 -8
  113. package/dist/useTableQuery.cjs +1 -1
  114. package/dist/useTableQuery.d.cts +8 -2
  115. package/dist/useTableQuery.d.ts +8 -2
  116. package/dist/useTableQuery.js +2 -2
  117. package/dist/useTimeSelection.d.cts +1 -1
  118. package/dist/useTimeSelection.d.ts +1 -1
  119. package/dist/useTreeOperations.d.cts +4 -4
  120. package/dist/useTreeOperations.d.ts +4 -4
  121. package/dist/useWorkflowValidation.d.cts +4 -4
  122. package/dist/useWorkflowValidation.d.ts +4 -4
  123. package/dist/verification.d.cts +2 -2
  124. package/dist/verification.d.ts +2 -2
  125. package/package.json +8 -3
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- title: string;
651
650
  options: GanttOptions;
651
+ title: string;
652
+ data: GanttTask[];
652
653
  theme: "light" | "dark";
654
+ showToolbar: boolean;
653
655
  height: string | number;
654
- data: GanttTask[];
655
656
  preset: GanttPreset;
656
- showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -647,13 +647,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
647
647
  onTaskClick?: ((task: GanttTask, event: Event) => any) | undefined;
648
648
  onTaskChange?: ((task: GanttTask, changes: any) => any) | undefined;
649
649
  }>, {
650
- title: string;
651
650
  options: GanttOptions;
651
+ title: string;
652
+ data: GanttTask[];
652
653
  theme: "light" | "dark";
654
+ showToolbar: boolean;
653
655
  height: string | number;
654
- data: GanttTask[];
655
656
  preset: GanttPreset;
656
- showToolbar: boolean;
657
657
  showFullscreenButton: boolean;
658
658
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
659
659
  declare const _default: typeof __VLS_export;
@@ -92,10 +92,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- items: TimelineItem[];
96
95
  mode: "vertical" | "horizontal";
97
- labelPlacement: "left" | "right" | "alternate";
96
+ items: TimelineItem[];
98
97
  pending: boolean;
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -92,10 +92,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
92
92
  }>, {
93
93
  reverse: boolean;
94
94
  size: "small" | "medium" | "large";
95
- items: TimelineItem[];
96
95
  mode: "vertical" | "horizontal";
97
- labelPlacement: "left" | "right" | "alternate";
96
+ items: TimelineItem[];
98
97
  pending: boolean;
98
+ labelPlacement: "left" | "right" | "alternate";
99
99
  pendingText: string;
100
100
  lineType: "solid" | "dashed" | "dotted";
101
101
  showTime: boolean;
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- filterable: boolean;
72
71
  titles: [string, string];
72
+ filterable: boolean;
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -68,8 +68,8 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
68
68
  onChange?: ((targetKeys: (string | number)[], direction: "right" | "left", moveKeys: (string | number)[]) => any) | undefined;
69
69
  }>, {
70
70
  size: "small" | "medium" | "large";
71
- filterable: boolean;
72
71
  titles: [string, string];
72
+ filterable: boolean;
73
73
  filterPlaceholder: string;
74
74
  showSelectAll: boolean;
75
75
  sourceEmptyText: string;
@@ -21,15 +21,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
- width: number;
25
- height: number;
24
+ lineColor: string;
26
25
  fontSize: number;
26
+ height: number;
27
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
+ width: number;
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
31
  showText: boolean;
31
32
  textPosition: "bottom" | "top";
32
- lineColor: string;
33
33
  background: string;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -21,15 +21,15 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
21
21
  onError?: ((error: Error) => any) | undefined;
22
22
  }>, {
23
23
  label: string;
24
- width: number;
25
- height: number;
24
+ lineColor: string;
26
25
  fontSize: number;
26
+ height: number;
27
27
  format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
28
+ width: number;
28
29
  showBorder: boolean;
29
30
  showLabel: boolean;
30
31
  showText: boolean;
31
32
  textPosition: "bottom" | "top";
32
- lineColor: string;
33
33
  background: string;
34
34
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
@@ -124,11 +124,11 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
124
124
  }>, {
125
125
  mode: "vertical" | "horizontal";
126
126
  defaultExpandedKeys: string[];
127
+ indent: number;
127
128
  collapsed: boolean;
128
129
  collapsedWidth: number;
129
130
  collapsedIconSize: number;
130
131
  inverted: boolean;
131
- indent: number;
132
132
  rootIndent: number;
133
133
  dropdownProps: naive_ui0.DropdownProps;
134
134
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  title: string;
108
108
  placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -86,18 +86,18 @@ type __VLS_Slots = {} & {
86
86
  declare const __VLS_base: vue.DefineComponent<ChatProps, {
87
87
  scrollToBottom: () => void;
88
88
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
89
+ "load-more": () => any;
89
90
  send: (content: string) => any;
90
91
  "select-contact": (id: string) => any;
91
- "load-more": () => any;
92
92
  "image-preview": (url: string) => any;
93
93
  "file-click": (msg: ChatMessage) => any;
94
94
  "file-upload": () => any;
95
95
  "emoji-click": () => any;
96
96
  resend: (msg: ChatMessage) => any;
97
97
  }, string, vue.PublicProps, Readonly<ChatProps> & Readonly<{
98
+ "onLoad-more"?: (() => any) | undefined;
98
99
  onSend?: ((content: string) => any) | undefined;
99
100
  "onSelect-contact"?: ((id: string) => any) | undefined;
100
- "onLoad-more"?: (() => any) | undefined;
101
101
  "onImage-preview"?: ((url: string) => any) | undefined;
102
102
  "onFile-click"?: ((msg: ChatMessage) => any) | undefined;
103
103
  "onFile-upload"?: (() => any) | undefined;
@@ -106,12 +106,12 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
106
106
  }>, {
107
107
  title: string;
108
108
  placeholder: string;
109
+ messages: ChatMessage[];
109
110
  showContacts: boolean;
110
111
  showTimestamp: boolean;
111
112
  showSendBtn: boolean;
112
113
  loadingHistory: boolean;
113
114
  contacts: ChatContact[];
114
- messages: ChatMessage[];
115
115
  currentContactId: string;
116
116
  selfAvatar: string;
117
117
  selfName: string;
@@ -33,8 +33,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onCopy?: ((code: string) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- trim: boolean;
37
36
  code: string;
37
+ trim: boolean;
38
38
  language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
@@ -33,8 +33,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
33
33
  onCopy?: ((code: string) => any) | undefined;
34
34
  onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
35
35
  }>, {
36
- trim: boolean;
37
36
  code: string;
37
+ trim: boolean;
38
38
  language: string;
39
39
  showHeader: boolean;
40
40
  showLineNumbers: boolean;
@@ -77,9 +77,9 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
77
77
  }>, {
78
78
  disabled: boolean;
79
79
  items: ContextMenuItem[];
80
- zIndex: number;
81
80
  minWidth: number;
82
81
  maxWidth: number;
82
+ zIndex: number;
83
83
  subMenuPlacement: "right" | "left";
84
84
  autoClose: boolean;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- center: MapCoordinate;
95
- height: string;
96
94
  ariaLabel: string;
95
+ center: MapCoordinate;
97
96
  zoom: number;
97
+ height: string;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;
@@ -91,10 +91,10 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
91
91
  onReady?: ((map: MapInstance) => any) | undefined;
92
92
  onMarkerClick?: ((marker: MapMarker, event: MapMarkerEvent) => any) | undefined;
93
93
  }>, {
94
- center: MapCoordinate;
95
- height: string;
96
94
  ariaLabel: string;
95
+ center: MapCoordinate;
97
96
  zoom: number;
97
+ height: string;
98
98
  mapType: MapType;
99
99
  markers: MapMarker[];
100
100
  amapKey: string;