@robot-admin/naive-ui-components 0.4.5 → 0.6.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/C_ActionBar-jZPsiXtT.css.map +1 -0
  3. package/dist/C_ActionBar.css +205 -0
  4. package/dist/C_AntV-D2Zp2qQF.css.map +1 -0
  5. package/dist/C_AntV.css +398 -0
  6. package/dist/C_Barcode-Do1Ozsmh.css.map +1 -0
  7. package/dist/C_Barcode.css +39 -0
  8. package/dist/C_Breadcrumb.cjs +1 -0
  9. package/dist/C_Breadcrumb.d.cts +2 -0
  10. package/dist/C_Breadcrumb.d.ts +3 -0
  11. package/dist/C_Breadcrumb.js +1 -0
  12. package/dist/C_Breadcrumb.js.map +1 -0
  13. package/dist/C_Breadcrumb2.js +2 -0
  14. package/dist/C_Breadcrumb2.js.map +1 -0
  15. package/dist/C_Captcha-CZmAETly.css.map +1 -0
  16. package/dist/C_Captcha.css +109 -0
  17. package/dist/C_Captcha.d.cts +1 -1
  18. package/dist/C_Captcha.d.ts +1 -1
  19. package/dist/C_Cascade-Dq0S5Jkm.css.map +1 -0
  20. package/dist/C_Cascade.css +10 -0
  21. package/dist/C_Cascade.d.cts +1 -1
  22. package/dist/C_Cascade.d.ts +1 -1
  23. package/dist/C_City-DNKv4MpH.css.map +1 -0
  24. package/dist/C_City.css +132 -0
  25. package/dist/C_City.d.cts +1 -1
  26. package/dist/C_City.d.ts +1 -1
  27. package/dist/C_Code-avZjAnHD.css.map +1 -0
  28. package/dist/C_Code.css +8 -0
  29. package/dist/C_Code.d.cts +1 -1
  30. package/dist/C_Code.d.ts +1 -1
  31. package/dist/C_CollapsePanel-BpofCDyl.css.map +1 -0
  32. package/dist/C_CollapsePanel.css +171 -0
  33. package/dist/C_Cron-DqHQ92LN.css.map +1 -0
  34. package/dist/C_Cron.css +307 -0
  35. package/dist/C_Date.d.cts +1 -1
  36. package/dist/C_Date.d.ts +1 -1
  37. package/dist/C_Draggable-r6nhx3yM.css.map +1 -0
  38. package/dist/C_Draggable.css +238 -0
  39. package/dist/C_Editor-D0_6UhIa.css.map +1 -0
  40. package/dist/C_Editor.css +52 -0
  41. package/dist/C_Editor.d.cts +1 -1
  42. package/dist/C_Editor.d.ts +1 -1
  43. package/dist/C_FilePreview-BVarVvnD.css.map +1 -0
  44. package/dist/C_FilePreview.css +507 -0
  45. package/dist/C_Form-BciQUPpS.css.map +1 -0
  46. package/dist/C_Form.css +976 -0
  47. package/dist/C_FormSearch-Bmd2CmG6.css.map +1 -0
  48. package/dist/C_FormSearch.css +177 -0
  49. package/dist/C_FormulaEditor-3WG2vtQl.css.map +1 -0
  50. package/dist/C_FormulaEditor.css +502 -0
  51. package/dist/C_FullCalendar-1U4VlG7X.css.map +1 -0
  52. package/dist/C_FullCalendar.css +7 -0
  53. package/dist/C_GlobalSearch-B6wK3m3k.css.map +1 -0
  54. package/dist/C_GlobalSearch.css +616 -0
  55. package/dist/C_Guide.d.cts +1 -1
  56. package/dist/C_Guide.d.ts +1 -1
  57. package/dist/C_Icon.d.cts +1 -1
  58. package/dist/C_Icon.d.ts +1 -1
  59. package/dist/C_ImageCropper-D3L2-J_J.css.map +1 -0
  60. package/dist/C_ImageCropper.css +129 -0
  61. package/dist/C_Language.d.cts +1 -1
  62. package/dist/C_Language.d.ts +1 -1
  63. package/dist/C_Map-BCJmDnJT.css.map +1 -0
  64. package/dist/C_Map.css +29 -0
  65. package/dist/C_Markdown-7iBnLDtL.css.map +1 -0
  66. package/dist/C_Markdown.css +112 -0
  67. package/dist/C_Markdown.d.cts +1 -1
  68. package/dist/C_Markdown.d.ts +1 -1
  69. package/dist/C_Menu.cjs +1 -0
  70. package/dist/C_Menu.d.cts +2 -0
  71. package/dist/C_Menu.d.ts +3 -0
  72. package/dist/C_Menu.js +1 -0
  73. package/dist/C_Menu.js.map +1 -0
  74. package/dist/C_Menu2.js +2 -0
  75. package/dist/C_Menu2.js.map +1 -0
  76. package/dist/C_NotificationCenter-DT6fQ79O.css.map +1 -0
  77. package/dist/C_NotificationCenter.css +466 -0
  78. package/dist/C_Progress.d.cts +1 -1
  79. package/dist/C_Progress.d.ts +1 -1
  80. package/dist/C_QRCode-DMxSyogU.css.map +1 -0
  81. package/dist/C_QRCode.css +51 -0
  82. package/dist/C_Signature-B5fFz6RD.css.map +1 -0
  83. package/dist/C_Signature.css +79 -0
  84. package/dist/C_SplitPane-DuyzUhKB.css.map +1 -0
  85. package/dist/C_SplitPane.css +152 -0
  86. package/dist/C_Steps-DGwXxS2Y.css.map +1 -0
  87. package/dist/C_Steps.css +171 -0
  88. package/dist/C_Steps.d.cts +1 -1
  89. package/dist/C_Steps.d.ts +1 -1
  90. package/dist/C_Table-Dcam_tRs.css.map +1 -0
  91. package/dist/C_Table.css +527 -0
  92. package/dist/C_TagsView-DX3LecK1.css.map +1 -0
  93. package/dist/C_TagsView-DqOTa8bL.css.map +1 -0
  94. package/dist/C_TagsView.cjs +1 -0
  95. package/dist/C_TagsView.css +194 -0
  96. package/dist/C_TagsView.d.cts +2 -0
  97. package/dist/C_TagsView.d.ts +3 -0
  98. package/dist/C_TagsView.js +1 -0
  99. package/dist/C_TagsView.js.map +1 -0
  100. package/dist/C_TagsView2.js +2 -0
  101. package/dist/C_TagsView2.js.map +1 -0
  102. package/dist/C_Theme.d.cts +1 -1
  103. package/dist/C_Theme.d.ts +1 -1
  104. package/dist/C_Time-CKb_fwdm.css.map +1 -0
  105. package/dist/C_Time.css +23 -0
  106. package/dist/C_Tree-B-Le4hjQ.css.map +1 -0
  107. package/dist/C_Tree.css +142 -0
  108. package/dist/C_Upload-S30RmC9t.css.map +1 -0
  109. package/dist/C_Upload.css +251 -0
  110. package/dist/C_VideoPlayer-Cdgv4Zq0.css.map +1 -0
  111. package/dist/C_VideoPlayer.css +355 -0
  112. package/dist/C_VideoPlayer.d.ts +1 -1
  113. package/dist/C_VtableGantt-DB87-jdS.css.map +1 -0
  114. package/dist/C_VtableGantt.css +89 -0
  115. package/dist/C_VtableGantt.d.cts +1 -1
  116. package/dist/C_VtableGantt.d.ts +1 -1
  117. package/dist/C_WaterFall-C4HDqf-a.css.map +1 -0
  118. package/dist/C_WaterFall.css +73 -0
  119. package/dist/C_WorkFlow-Cy3HWA6A.css.map +1 -0
  120. package/dist/C_WorkFlow.css +1166 -0
  121. package/dist/_shared.cjs +1 -0
  122. package/dist/_shared.d.cts +2 -0
  123. package/dist/_shared.d.ts +2 -0
  124. package/dist/_shared.js +1 -0
  125. package/dist/chunk.js +1 -1
  126. package/dist/constants.d.ts +3 -3
  127. package/dist/constants2.d.ts +4 -4
  128. package/dist/constants3.d.ts +4 -4
  129. package/dist/constants4.d.ts +3 -3
  130. package/dist/constants5.d.ts +6 -3814
  131. package/dist/data.d.ts +3 -3
  132. package/dist/index.cjs +1 -1
  133. package/dist/index.cjs.map +1 -1
  134. package/dist/index.d.cts +40 -36
  135. package/dist/index.d.ts +45 -36
  136. package/dist/index.js +1 -1
  137. package/dist/index.js.map +1 -1
  138. package/dist/index10.vue.d.ts +23 -65
  139. package/dist/index11.vue.d.ts +64 -18
  140. package/dist/index12.vue.d.ts +17 -72
  141. package/dist/index13.vue.d.ts +72 -46
  142. package/dist/index14.vue.d.ts +57 -23
  143. package/dist/index15.vue.d.ts +48 -11
  144. package/dist/index16.vue.d.ts +23 -652
  145. package/dist/index17.vue.d.ts +88 -0
  146. package/dist/index18.vue.d.ts +18 -0
  147. package/dist/index19.vue.d.ts +662 -0
  148. package/dist/index2.vue.d.ts +1 -1
  149. package/dist/index3.vue.d.ts +20 -37
  150. package/dist/index4.vue.d.ts +37 -23
  151. package/dist/index5.vue.d.ts +22 -26
  152. package/dist/index6.vue.d.ts +24 -37
  153. package/dist/index7.vue.d.ts +36 -44
  154. package/dist/index8.vue.d.ts +40 -25
  155. package/dist/index9.vue.d.ts +34 -23
  156. package/dist/menuAdapter.d.ts +167 -0
  157. package/dist/menuAdapter.js +2 -0
  158. package/dist/menuAdapter.js.map +1 -0
  159. package/dist/resolver.cjs +1 -1
  160. package/dist/resolver.cjs.map +1 -1
  161. package/dist/resolver.d.cts +8 -1
  162. package/dist/resolver.d.ts +8 -1
  163. package/dist/resolver.js +1 -1
  164. package/dist/resolver.js.map +1 -1
  165. package/dist/style.css +243 -47
  166. package/dist/useCalendarEvents.d.ts +1 -1
  167. package/dist/useCollapsePanel.d.ts +5 -5
  168. package/dist/useCropperCore.d.ts +4 -4
  169. package/dist/useDraggableLayout.d.ts +4 -4
  170. package/dist/useDynamicFormState.d.ts +6 -6
  171. package/dist/useEdgeInteraction.d.ts +2 -7283
  172. package/dist/useInfiniteScroll.d.ts +2 -2
  173. package/dist/useModalEdit.d.ts +8 -8
  174. package/dist/useQRCode.d.ts +1 -1
  175. package/dist/useSearchState.d.ts +1 -1
  176. package/dist/useSignatureHistory.d.ts +1 -1
  177. package/dist/useSplitResize.d.ts +6 -6
  178. package/dist/useTimeSelection.d.ts +2 -2
  179. package/dist/useTreeOperations.d.ts +3 -3
  180. package/dist/useWorkflowValidation.d.ts +4 -4
  181. package/package.json +34 -33
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./menuAdapter.js`);exports.createMenuOptions=e.t,exports.flattenRoutes=e.n;
@@ -0,0 +1,2 @@
1
+ import { a as RouteItem, i as BreadcrumbItem, n as createMenuOptions, o as RouteMeta, r as flattenRoutes, s as TagItem, t as MenuAdapterConfig } from "./menuAdapter.js";
2
+ export { type BreadcrumbItem, type MenuAdapterConfig, type RouteItem, type RouteMeta, type TagItem, createMenuOptions, flattenRoutes };
@@ -0,0 +1,2 @@
1
+ import { a as RouteItem, i as BreadcrumbItem, n as createMenuOptions, o as RouteMeta, r as flattenRoutes, s as TagItem, t as MenuAdapterConfig } from "./menuAdapter.js";
2
+ export { type BreadcrumbItem, type MenuAdapterConfig, type RouteItem, type RouteMeta, type TagItem, createMenuOptions, flattenRoutes };
@@ -0,0 +1 @@
1
+ import{n as e,t}from"./menuAdapter.js";export{t as createMenuOptions,e as flattenRoutes};
package/dist/chunk.js CHANGED
@@ -1 +1 @@
1
- var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r};export{t};
1
+ var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
@@ -110,17 +110,17 @@ declare const __VLS_export: vue.DefineComponent<CronProps, {
110
110
  reset: typeof handleReset;
111
111
  validate: () => CronValidation;
112
112
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
113
- change: (value: string) => any;
114
113
  "update:modelValue": (value: string) => any;
114
+ change: (value: string) => any;
115
115
  "validation-change": (result: CronValidation) => any;
116
116
  }, string, vue.PublicProps, Readonly<CronProps> & Readonly<{
117
- onChange?: ((value: string) => any) | undefined;
118
117
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
118
+ onChange?: ((value: string) => any) | undefined;
119
119
  "onValidation-change"?: ((result: CronValidation) => any) | undefined;
120
120
  }>, {
121
121
  height: string | number;
122
- disabled: boolean;
123
122
  modelValue: string;
123
+ disabled: boolean;
124
124
  showPreview: boolean;
125
125
  previewCount: number;
126
126
  showTemplates: boolean;
@@ -112,22 +112,22 @@ interface FormulaEditorExpose {
112
112
  //#endregion
113
113
  //#region src/components/C_FormulaEditor/index.vue.d.ts
114
114
  declare const __VLS_export: vue.DefineComponent<FormulaEditorProps, FormulaEditorExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
115
- change: (value: string) => any;
116
115
  "update:modelValue": (value: string) => any;
116
+ change: (value: string) => any;
117
117
  "validation-change": (result: FormulaValidation) => any;
118
118
  }, string, vue.PublicProps, Readonly<FormulaEditorProps> & Readonly<{
119
- onChange?: ((value: string) => any) | undefined;
120
119
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
120
+ onChange?: ((value: string) => any) | undefined;
121
121
  "onValidation-change"?: ((result: FormulaValidation) => any) | undefined;
122
122
  }>, {
123
123
  height: string | number;
124
- disabled: boolean;
125
124
  modelValue: string;
126
125
  placeholder: string;
126
+ disabled: boolean;
127
+ showPreview: boolean;
127
128
  variables: FormulaVariable[];
128
129
  functions: FormulaFunction[];
129
130
  sampleData: Record<string, number | string | boolean>;
130
- showPreview: boolean;
131
131
  showKeyboard: boolean;
132
132
  showVariablePanel: boolean;
133
133
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -151,8 +151,8 @@ interface NotificationCenterExpose {
151
151
  //#region src/components/C_NotificationCenter/index.vue.d.ts
152
152
  declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, NotificationCenterExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
153
153
  delete: (ids: string[]) => any;
154
- itemClick: (message: NotificationMessage) => any;
155
154
  read: (ids: string[]) => any;
155
+ itemClick: (message: NotificationMessage) => any;
156
156
  allRead: (category?: NotificationCategory | undefined) => any;
157
157
  unreadChange: (count: number) => any;
158
158
  wsStatusChange: (status: string) => any;
@@ -160,19 +160,19 @@ declare const __VLS_export: vue.DefineComponent<NotificationCenterProps, Notific
160
160
  navigate: (url: string) => any;
161
161
  }, string, vue.PublicProps, Readonly<NotificationCenterProps> & Readonly<{
162
162
  onDelete?: ((ids: string[]) => any) | undefined;
163
- onItemClick?: ((message: NotificationMessage) => any) | undefined;
164
163
  onRead?: ((ids: string[]) => any) | undefined;
164
+ onItemClick?: ((message: NotificationMessage) => any) | undefined;
165
165
  onAllRead?: ((category?: NotificationCategory | undefined) => any) | undefined;
166
166
  onUnreadChange?: ((count: number) => any) | undefined;
167
167
  onWsStatusChange?: ((status: string) => any) | undefined;
168
168
  onNewMessage?: ((message: NotificationMessage) => any) | undefined;
169
169
  onNavigate?: ((url: string) => any) | undefined;
170
170
  }>, {
171
+ pageSize: number;
172
+ storageKey: string;
171
173
  desktopNotification: boolean;
172
174
  maxBadgeCount: number;
173
175
  pollingInterval: number;
174
- pageSize: number;
175
- storageKey: string;
176
176
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
177
177
  declare const _default: typeof __VLS_export;
178
178
  //#endregion
@@ -196,16 +196,16 @@ type __VLS_Slots = {} & {
196
196
  area?: (props: typeof __VLS_11) => any;
197
197
  };
198
198
  declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
199
- success: (file: UploadFileItem, response: any) => any;
200
199
  change: (fileList: UploadFileItem[]) => any;
200
+ success: (file: UploadFileItem, response: any) => any;
201
201
  error: (file: UploadFileItem, error: Error) => any;
202
202
  progress: (file: UploadFileItem, percent: number) => any;
203
203
  remove: (file: UploadFileItem) => any;
204
204
  finish: (fileList: UploadFileItem[]) => any;
205
205
  exceed: (files: File[], fileList: UploadFileItem[]) => any;
206
206
  }, string, vue.PublicProps, Readonly<UploadProps> & Readonly<{
207
- onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
208
207
  onChange?: ((fileList: UploadFileItem[]) => any) | undefined;
208
+ onSuccess?: ((file: UploadFileItem, response: any) => any) | undefined;
209
209
  onError?: ((file: UploadFileItem, error: Error) => any) | undefined;
210
210
  onProgress?: ((file: UploadFileItem, percent: number) => any) | undefined;
211
211
  onRemove?: ((file: UploadFileItem) => any) | undefined;
@@ -216,12 +216,12 @@ declare const __VLS_base: vue.DefineComponent<UploadProps, UploadExpose, {}, {},
216
216
  disabled: boolean;
217
217
  multiple: boolean;
218
218
  maxSize: number;
219
+ draggable: boolean;
219
220
  action: string;
220
221
  headers: Record<string, string>;
221
222
  directory: boolean;
222
223
  accept: string;
223
224
  maxCount: number;
224
- draggable: boolean;
225
225
  pasteable: boolean;
226
226
  chunked: boolean;
227
227
  chunkSize: number;