@robot-admin/naive-ui-components 0.10.1 → 0.10.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 (107) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +2 -1
  3. package/dist/{C_AudioPlayer-ldTy9Y34.css.map → C_AudioPlayer-Cj4lUdZo.css.map} +1 -1
  4. package/dist/{C_AvatarGroup-SIzxuuZr.css.map → C_AvatarGroup-D3PwsKME.css.map} +1 -1
  5. package/dist/{C_Breadcrumb-Bqqrl8nX.css.map → C_Breadcrumb-DOcLt9uX.css.map} +1 -1
  6. package/dist/C_Breadcrumb.d.cts +3 -2
  7. package/dist/C_Breadcrumb.d.ts +2 -2
  8. package/dist/C_Captcha.d.cts +1 -1
  9. package/dist/C_Cascade.d.cts +1 -1
  10. package/dist/{C_Chat-CF1SU7mc.css.map → C_Chat-DwatUQqu.css.map} +1 -1
  11. package/dist/C_Chat.css +1 -1
  12. package/dist/C_Chat.d.cts +1 -1
  13. package/dist/C_City.d.cts +1 -1
  14. package/dist/C_Code.d.cts +1 -1
  15. package/dist/{C_ContextMenu-Bn_uhJSo.css.map → C_ContextMenu-CD0iaSju.css.map} +1 -1
  16. package/dist/C_ContextMenu.css +1 -1
  17. package/dist/C_ContextMenu.d.cts +1 -1
  18. package/dist/C_Date.d.cts +1 -1
  19. package/dist/C_Editor.d.cts +1 -1
  20. package/dist/C_Guide.d.cts +1 -1
  21. package/dist/C_Icon.d.cts +1 -1
  22. package/dist/C_Language.d.cts +1 -1
  23. package/dist/{C_Login-B3qYkLrN.css.map → C_Login-BrQBs_m4.css.map} +1 -1
  24. package/dist/C_Login.css +1 -1
  25. package/dist/C_Login.d.cts +1 -1
  26. package/dist/C_Markdown.d.cts +1 -1
  27. package/dist/C_Menu.cjs +1 -1
  28. package/dist/C_Menu.d.cts +3 -2
  29. package/dist/C_Menu.d.ts +2 -2
  30. package/dist/C_Menu.js +1 -1
  31. package/dist/C_Menu.js.map +1 -1
  32. package/dist/C_Menu2.js +1 -1
  33. package/dist/C_Menu2.js.map +1 -1
  34. package/dist/{C_OrgChart-ChZu346B.css.map → C_OrgChart-BXEp4i4w.css.map} +1 -1
  35. package/dist/C_OrgChart.css +1 -1
  36. package/dist/{C_Skeleton-BNPbaut7.css.map → C_Skeleton-BJoFYwrF.css.map} +1 -1
  37. package/dist/C_Skeleton.css +1 -1
  38. package/dist/{C_TagsView-BN8vMRsY.css.map → C_TagsView-DtGtYhBH.css.map} +1 -1
  39. package/dist/C_TagsView.css +1 -1
  40. package/dist/C_TagsView.d.cts +2 -1
  41. package/dist/C_TagsView.d.ts +2 -2
  42. package/dist/{C_Timeline-4rk0Dzgn.css.map → C_Timeline-irQcO-b7.css.map} +1 -1
  43. package/dist/C_Timeline.css +1 -1
  44. package/dist/{C_Transfer-B-vjvhjI.css.map → C_Transfer-11y3k-WD.css.map} +1 -1
  45. package/dist/C_Transfer.css +1 -1
  46. package/dist/constants.d.ts +5 -5
  47. package/dist/constants2.d.ts +6 -6
  48. package/dist/constants3.d.ts +2 -2
  49. package/dist/constants4.d.ts +4 -4
  50. package/dist/constants5.d.ts +4 -4
  51. package/dist/index.cjs +1 -1
  52. package/dist/index.cjs.map +1 -1
  53. package/dist/index.d.cts +16 -16
  54. package/dist/index.d.ts +154 -108
  55. package/dist/index.js +1 -1
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.vue.d.ts +1 -1
  58. package/dist/index11.vue.d.ts +4 -4
  59. package/dist/index12.vue.d.ts +2 -2
  60. package/dist/index13.vue.d.ts +3 -3
  61. package/dist/index14.vue.d.ts +1 -1
  62. package/dist/index15.vue.d.ts +4 -4
  63. package/dist/index16.vue.d.ts +2 -2
  64. package/dist/index17.vue.d.ts +1 -1
  65. package/dist/index18.vue.d.ts +7 -7
  66. package/dist/index19.vue.d.ts +2 -2
  67. package/dist/index2.d.ts +120 -0
  68. package/dist/index2.vue.d.ts +1 -1
  69. package/dist/index20.vue.d.ts +2 -2
  70. package/dist/index21.vue.d.ts +1 -1
  71. package/dist/index22.vue.d.ts +3 -3
  72. package/dist/index23.vue.d.ts +1 -1
  73. package/dist/index24.vue.d.ts +1 -1
  74. package/dist/index26.vue.d.ts +2 -2
  75. package/dist/index27.vue.d.ts +2 -2
  76. package/dist/index28.vue.d.ts +2 -2
  77. package/dist/index3.vue.d.ts +2 -2
  78. package/dist/index4.vue.d.ts +5 -5
  79. package/dist/index5.vue.d.ts +1 -1
  80. package/dist/index6.vue.d.ts +3 -3
  81. package/dist/index7.vue.d.ts +2 -2
  82. package/dist/index8.vue.d.ts +2 -2
  83. package/dist/index9.vue.d.ts +2 -2
  84. package/dist/style.css +16 -16
  85. package/dist/{menuAdapter.d.ts → types.d.ts} +2 -61
  86. package/dist/useCalendarEvents.d.ts +1 -1
  87. package/dist/useCollapsePanel.d.ts +7 -7
  88. package/dist/useCropperCore.d.ts +6 -6
  89. package/dist/useDraggableLayout.d.ts +8 -8
  90. package/dist/useDynamicFormState.d.ts +2 -2
  91. package/dist/useGlobalSearch.d.ts +1 -1
  92. package/dist/useInfiniteScroll.d.ts +4 -4
  93. package/dist/useModalEdit.d.ts +5 -5
  94. package/dist/useQRCode.d.ts +4 -4
  95. package/dist/useSearchState.d.ts +2 -2
  96. package/dist/useSignatureHistory.d.ts +1 -1
  97. package/dist/useSplitResize.d.ts +7 -7
  98. package/dist/useTimeSelection.d.ts +3 -3
  99. package/dist/useTreeOperations.d.ts +5 -5
  100. package/dist/useWorkflowValidation.d.ts +6 -6
  101. package/package.json +1 -1
  102. package/dist/_shared.cjs +0 -1
  103. package/dist/_shared.d.cts +0 -2
  104. package/dist/_shared.d.ts +0 -2
  105. package/dist/_shared.js +0 -1
  106. package/dist/menuAdapter.js +0 -2
  107. package/dist/menuAdapter.js.map +0 -1
@@ -18,24 +18,24 @@ declare const __VLS_export: vue.DefineComponent<CaptchaProps, {
18
18
  reset: () => void;
19
19
  show: () => void;
20
20
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
21
+ reset: () => any;
21
22
  change: (valid: boolean) => any;
22
23
  success: (data: {
23
24
  token: string;
24
25
  timestamp: number;
25
26
  }) => any;
26
- reset: () => any;
27
27
  fail: (error: string) => any;
28
28
  }, string, vue.PublicProps, Readonly<CaptchaProps> & Readonly<{
29
+ onReset?: (() => any) | undefined;
29
30
  onChange?: ((valid: boolean) => any) | undefined;
30
31
  onSuccess?: ((data: {
31
32
  token: string;
32
33
  timestamp: number;
33
34
  }) => any) | undefined;
34
- onReset?: (() => any) | undefined;
35
35
  onFail?: ((error: string) => any) | undefined;
36
36
  }>, {
37
- theme: "light" | "dark";
38
37
  disabled: boolean;
38
+ theme: "light" | "dark";
39
39
  triggerText: string;
40
40
  images: string[];
41
41
  }, {}, {}, {}, 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>;
@@ -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;
90
89
  send: (content: string) => any;
91
90
  "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;
99
98
  onSend?: ((content: string) => any) | undefined;
100
99
  "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;
@@ -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;
package/dist/style.css CHANGED
@@ -1205,7 +1205,7 @@ html.dark .action-divider[data-v-10de07f6]:hover {
1205
1205
 
1206
1206
  /*# sourceMappingURL=C_Cascade-CmCrLVft.css.map*/
1207
1207
 
1208
- /* --- C_Chat-CF1SU7mc.css --- */
1208
+ /* --- C_Chat-DeUv6uuI.css --- */
1209
1209
  /* unplugin-vue-components disabled *//* ─── CSS 变量(基于项目主题变量,自动适配明暗) ───────────────────────── */
1210
1210
  .c-chat[data-v-5b4bf8dc] {
1211
1211
  --chat-bg: var(--card-color);
@@ -1606,7 +1606,7 @@ html.dark .action-divider[data-v-10de07f6]:hover {
1606
1606
  }
1607
1607
  }
1608
1608
 
1609
- /*# sourceMappingURL=C_Chat-CF1SU7mc.css.map*/
1609
+ /*# sourceMappingURL=C_Chat-DeUv6uuI.css.map*/
1610
1610
 
1611
1611
  /* --- C_City-DdkX6u64.css --- */
1612
1612
  /* unplugin-vue-components disabled */.city-selector-trigger[data-v-6286e78d] {
@@ -1925,7 +1925,7 @@ html.dark .action-divider[data-v-10de07f6]:hover {
1925
1925
 
1926
1926
  /*# sourceMappingURL=C_CollapsePanel-BSKcWSmY.css.map*/
1927
1927
 
1928
- /* --- C_ContextMenu-Bn_uhJSo.css --- */
1928
+ /* --- C_ContextMenu-C9iuxG2n.css --- */
1929
1929
  /* unplugin-vue-components disabled */.c-context-menu[data-v-f2de30a3] {
1930
1930
  --ctx-bg: var(--card-color);
1931
1931
  --ctx-bg-blur: 12px;
@@ -2040,7 +2040,7 @@ html.dark .action-divider[data-v-10de07f6]:hover {
2040
2040
  z-index: 9998;
2041
2041
  }
2042
2042
 
2043
- /*# sourceMappingURL=C_ContextMenu-Bn_uhJSo.css.map*/
2043
+ /*# sourceMappingURL=C_ContextMenu-C9iuxG2n.css.map*/
2044
2044
 
2045
2045
  /* --- C_Cron-BIQ2By9v.css --- */
2046
2046
  /* unplugin-vue-components disabled */.cron-field-editor__grid[data-v-e6fa8e5b] {
@@ -5604,7 +5604,7 @@ to {
5604
5604
 
5605
5605
  /*# sourceMappingURL=C_ImageCropper-CdTX2nxU.css.map*/
5606
5606
 
5607
- /* --- C_Login-B3qYkLrN.css --- */
5607
+ /* --- C_Login-BrQBs_m4.css --- */
5608
5608
  /* unplugin-vue-components disabled *//**
5609
5609
  * C_Login 组件样式
5610
5610
  * 通过 CSS 变量覆盖主题,示例:
@@ -6119,7 +6119,7 @@ to {
6119
6119
  --cl-link-hover: #1a1a1a;
6120
6120
  }
6121
6121
 
6122
- /*# sourceMappingURL=C_Login-B3qYkLrN.css.map*/
6122
+ /*# sourceMappingURL=C_Login-BrQBs_m4.css.map*/
6123
6123
 
6124
6124
  /* --- C_Map-CWMMN58_.css --- */
6125
6125
  /* unplugin-vue-components disabled */.c-map[data-v-35363772] {
@@ -6740,7 +6740,7 @@ to {
6740
6740
 
6741
6741
  /*# sourceMappingURL=C_NotificationCenter-D7GGGWg7.css.map*/
6742
6742
 
6743
- /* --- C_OrgChart-ChZu346B.css --- */
6743
+ /* --- C_OrgChart-BXEp4i4w.css --- */
6744
6744
  /* unplugin-vue-components disabled *//* C_OrgChart 组织架构图组件样式 */
6745
6745
  .c-orgchart {
6746
6746
  --c-orgchart-line-color: #d1d5db;
@@ -7022,7 +7022,7 @@ to {
7022
7022
  text-align: center;
7023
7023
  }
7024
7024
 
7025
- /*# sourceMappingURL=C_OrgChart-ChZu346B.css.map*/
7025
+ /*# sourceMappingURL=C_OrgChart-BXEp4i4w.css.map*/
7026
7026
 
7027
7027
  /* --- C_QRCode-B_1lHUdx.css --- */
7028
7028
  /* unplugin-vue-components disabled *//* C_QRCode styles */
@@ -7164,7 +7164,7 @@ to {
7164
7164
 
7165
7165
  /*# sourceMappingURL=C_Signature-Bp-RBpAl.css.map*/
7166
7166
 
7167
- /* --- C_Skeleton-BNPbaut7.css --- */
7167
+ /* --- C_Skeleton-BJoFYwrF.css --- */
7168
7168
  /* unplugin-vue-components disabled *//* C_Skeleton 骨架屏组件样式 */
7169
7169
  .c-skeleton {
7170
7170
  --c-skeleton-bg: #e5e7eb;
@@ -7417,7 +7417,7 @@ to {
7417
7417
  margin-top: 4px;
7418
7418
  }
7419
7419
 
7420
- /*# sourceMappingURL=C_Skeleton-BNPbaut7.css.map*/
7420
+ /*# sourceMappingURL=C_Skeleton-BJoFYwrF.css.map*/
7421
7421
 
7422
7422
  /* --- C_SplitPane-CgGWYsRE.css --- */
7423
7423
  /* unplugin-vue-components disabled *//* 分割面板组件样式 */
@@ -8347,7 +8347,7 @@ to {
8347
8347
 
8348
8348
  /*# sourceMappingURL=C_Table--kbQaaBv.css.map*/
8349
8349
 
8350
- /* --- C_TagsView-BN8vMRsY.css --- */
8350
+ /* --- C_TagsView-DtGtYhBH.css --- */
8351
8351
  /* unplugin-vue-components disabled *//* ===========================================
8352
8352
  * 标签组件样式 - 精简版
8353
8353
  * =========================================== */
@@ -8541,7 +8541,7 @@ to {
8541
8541
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25) !important;
8542
8542
  }
8543
8543
 
8544
- /*# sourceMappingURL=C_TagsView-BN8vMRsY.css.map*/
8544
+ /*# sourceMappingURL=C_TagsView-DtGtYhBH.css.map*/
8545
8545
 
8546
8546
  /* --- C_Time-BQ9PGy8B.css --- */
8547
8547
  /* unplugin-vue-components disabled *//* 时间选择器组件样式 */
@@ -8568,7 +8568,7 @@ to {
8568
8568
 
8569
8569
  /*# sourceMappingURL=C_Time-BQ9PGy8B.css.map*/
8570
8570
 
8571
- /* --- C_Timeline-4rk0Dzgn.css --- */
8571
+ /* --- C_Timeline-DdESmqwL.css --- */
8572
8572
  /* unplugin-vue-components disabled */.c-timeline[data-v-3da6d11e] {
8573
8573
  --tl-bg: transparent;
8574
8574
  --tl-text-primary: var(--app-text-primary);
@@ -8868,9 +8868,9 @@ to {
8868
8868
  }
8869
8869
  }
8870
8870
 
8871
- /*# sourceMappingURL=C_Timeline-4rk0Dzgn.css.map*/
8871
+ /*# sourceMappingURL=C_Timeline-DdESmqwL.css.map*/
8872
8872
 
8873
- /* --- C_Transfer-B-vjvhjI.css --- */
8873
+ /* --- C_Transfer-11y3k-WD.css --- */
8874
8874
  /* unplugin-vue-components disabled *//**
8875
8875
  * C_Transfer — 穿梭框组件样式
8876
8876
  * 变量说明:
@@ -9063,7 +9063,7 @@ to {
9063
9063
  letter-spacing: 0.04em;
9064
9064
  }
9065
9065
 
9066
- /*# sourceMappingURL=C_Transfer-B-vjvhjI.css.map*/
9066
+ /*# sourceMappingURL=C_Transfer-11y3k-WD.css.map*/
9067
9067
 
9068
9068
  /* --- C_Tree-CsXgGfhn.css --- */
9069
9069
  /* unplugin-vue-components disabled */.c-tree[data-v-30316c81] {
@@ -1,5 +1,4 @@
1
1
  import { VNode } from "vue";
2
- import { MenuOption } from "naive-ui/es";
3
2
 
4
3
  //#region src/components/_shared/types.d.ts
5
4
  /**
@@ -105,63 +104,5 @@ interface BreadcrumbItem {
105
104
  children?: BreadcrumbItem[];
106
105
  }
107
106
  //#endregion
108
- //#region src/components/_shared/menuAdapter.d.ts
109
- /**
110
- * 菜单适配器配置
111
- */
112
- interface MenuAdapterConfig {
113
- /**
114
- * 标签文本格式化函数(用于 i18n)
115
- * 默认:原样返回 title
116
- */
117
- labelFormatter?: (title: string) => string;
118
- /**
119
- * 获取菜单项的唯一 key
120
- * 默认:`normalizePath(route.path)`
121
- */
122
- getKey?: (route: RouteItem) => string;
123
- /**
124
- * 获取显示文本
125
- * 默认:`route.meta?.title || route.name || ''`
126
- */
127
- getLabel?: (route: RouteItem) => string;
128
- /**
129
- * 路由过滤器 — return false 排除该项
130
- * 默认:排除 `meta.hidden === true`
131
- */
132
- filter?: (route: RouteItem) => boolean;
133
- /**
134
- * 自定义图标渲染
135
- * 默认:字符串 → Iconify Icon;函数 → 直接调用
136
- */
137
- renderIcon?: (icon: string | (() => VNode) | undefined) => (() => VNode) | undefined;
138
- /**
139
- * 是否递归处理 children
140
- * 默认:true
141
- */
142
- recursive?: boolean;
143
- }
144
- /**
145
- * 将路由数据转换为 NMenu 的 MenuOption[]
146
- *
147
- * 支持的输入格式:
148
- * 1. **Vue Router RouteRecordRaw** — 直接传 `router.getRoutes()` 或手写路由表
149
- * 2. **后端 JSON 路由表** — `{ path, meta: { title, icon }, children }`
150
- * 3. **自定义格式** — 通过 config 完全自定义 key/label/icon 的取值逻辑
151
- *
152
- * @param routes 路由数据数组
153
- * @param config 适配器配置
154
- * @returns NMenu 可直接使用的 MenuOption[]
155
- */
156
- declare function createMenuOptions(routes: RouteItem[], config?: MenuAdapterConfig): MenuOption[];
157
- /**
158
- * 将路由树扁平化为一维数组(常用于搜索、快捷导航)
159
- *
160
- * @param routes 路由数据数组
161
- * @param filter 过滤器(默认排除 hidden)
162
- * @returns 扁平化后的路由数组
163
- */
164
- declare function flattenRoutes(routes: RouteItem[], filter?: (route: RouteItem) => boolean): RouteItem[];
165
- //#endregion
166
- export { RouteItem as a, BreadcrumbItem as i, createMenuOptions as n, RouteMeta as o, flattenRoutes as r, TagItem as s, MenuAdapterConfig as t };
167
- //# sourceMappingURL=menuAdapter.d.ts.map
107
+ export { TagItem as i, RouteItem as n, RouteMeta as r, BreadcrumbItem as t };
108
+ //# sourceMappingURL=types.d.ts.map
@@ -67,8 +67,8 @@ declare const __VLS_export: vue.DefineComponent<CalendarProps, CalendarExpose, {
67
67
  "onEvent-dropped"?: ((event: Partial<CalendarEvent>) => any) | undefined;
68
68
  }>, {
69
69
  editable: boolean;
70
- events: CalendarEvent[];
71
70
  initialView: CalendarViewType;
71
+ events: CalendarEvent[];
72
72
  showAddDialog: boolean;
73
73
  showEditDialog: boolean;
74
74
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -70,22 +70,22 @@ declare var __VLS_7: `header-${string}`, __VLS_8: {
70
70
  };
71
71
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any } & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any } & { [K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any };
72
72
  declare const __VLS_base: vue.DefineComponent<Props, CollapsePanelExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
73
- "update:activeKeys": (keys: string[]) => any;
74
- expand: (key: string) => any;
75
- collapse: (key: string) => any;
76
73
  change: (activeKeys: string[]) => any;
74
+ collapse: (key: string) => any;
75
+ expand: (key: string) => any;
76
+ "update:activeKeys": (keys: string[]) => any;
77
77
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
78
- "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
79
- onExpand?: ((key: string) => any) | undefined;
80
- onCollapse?: ((key: string) => any) | undefined;
81
78
  onChange?: ((activeKeys: string[]) => any) | undefined;
79
+ onCollapse?: ((key: string) => any) | undefined;
80
+ onExpand?: ((key: string) => any) | undefined;
81
+ "onUpdate:activeKeys"?: ((keys: string[]) => any) | undefined;
82
82
  }>, {
83
+ bordered: boolean;
83
84
  activeKeys: string[];
84
85
  defaultActiveKeys: string[];
85
86
  accordion: boolean;
86
87
  variant: CollapsePanelVariant;
87
88
  expandIconPosition: ExpandIconPosition;
88
- bordered: boolean;
89
89
  persistKey: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -51,23 +51,23 @@ interface ImageCropperEmits {
51
51
  //#endregion
52
52
  //#region src/components/C_ImageCropper/index.vue.d.ts
53
53
  declare const __VLS_export: vue.DefineComponent<ImageCropperProps, ImageCropperExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
54
- ready: () => any;
55
- error: (error: Event) => any;
56
54
  cancel: () => any;
55
+ error: (error: Event) => any;
56
+ ready: () => any;
57
57
  crop: (result: any) => any;
58
58
  confirm: (result: any) => any;
59
59
  }, string, vue.PublicProps, Readonly<ImageCropperProps> & Readonly<{
60
- onReady?: (() => any) | undefined;
61
- onError?: ((error: Event) => any) | undefined;
62
60
  onCancel?: (() => any) | undefined;
61
+ onError?: ((error: Event) => any) | undefined;
62
+ onReady?: (() => any) | undefined;
63
63
  onCrop?: ((result: any) => any) | undefined;
64
64
  onConfirm?: ((result: any) => any) | undefined;
65
65
  }>, {
66
+ disabled: boolean;
67
+ showPreview: boolean;
66
68
  height: string | number;
67
69
  showToolbar: boolean;
68
- disabled: boolean;
69
70
  src: string;
70
- showPreview: boolean;
71
71
  aspectRatio: number;
72
72
  outputFormat: CropOutputFormat;
73
73
  outputQuality: number;
@@ -117,11 +117,16 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
117
117
  "onList-change"?: ((list: DraggableItem[]) => any) | undefined;
118
118
  }>, {
119
119
  sort: boolean;
120
- disabled: boolean;
121
- modelValue: DraggableItem[];
122
- group: string | GroupOptions;
123
120
  animation: number;
121
+ modelValue: DraggableItem[];
122
+ disabled: boolean;
123
+ direction: "vertical" | "horizontal";
124
+ layout: LayoutMode;
125
+ itemClass: string;
124
126
  delay: number;
127
+ gap: string | number;
128
+ emptyText: string;
129
+ group: string | GroupOptions;
125
130
  handle: string;
126
131
  showHandle: boolean;
127
132
  ghostClass: string;
@@ -129,16 +134,11 @@ declare const __VLS_base: vue.DefineComponent<DraggableProps, {
129
134
  dragClass: string;
130
135
  wrapperClass: string;
131
136
  listClass: string;
132
- itemClass: string;
133
137
  showEmptyState: boolean;
134
- emptyText: string;
135
138
  swapThreshold: number;
136
139
  invertSwap: boolean;
137
- direction: "vertical" | "horizontal";
138
- layout: LayoutMode;
139
140
  gridColumns: number;
140
141
  gridRows: number;
141
- gap: string | number;
142
142
  flexWrap: boolean;
143
143
  justifyContent: JustifyContent;
144
144
  alignItems: AlignItems;
@@ -491,13 +491,13 @@ declare const __VLS_base: vue.DefineComponent<CFormProps, {
491
491
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
492
492
  "update:modelValue": (model: Record<string, any>) => any;
493
493
  submit: (payload: SubmitEventPayload) => any;
494
- "validate-error": (errors: unknown) => any;
495
494
  "validate-success": (model: Record<string, any>) => any;
495
+ "validate-error": (errors: unknown) => any;
496
496
  }, string, vue.PublicProps, Readonly<CFormProps> & Readonly<{
497
497
  "onUpdate:modelValue"?: ((model: Record<string, any>) => any) | undefined;
498
498
  onSubmit?: ((payload: SubmitEventPayload) => any) | undefined;
499
- "onValidate-error"?: ((errors: unknown) => any) | undefined;
500
499
  "onValidate-success"?: ((model: Record<string, any>) => any) | undefined;
500
+ "onValidate-error"?: ((errors: unknown) => any) | undefined;
501
501
  }>, {
502
502
  config: FormConfig;
503
503
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -50,8 +50,8 @@ declare const __VLS_export: vue.DefineComponent<Props, {
50
50
  openDialog: () => Promise<void>;
51
51
  closeDialog: () => void;
52
52
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<Props> & Readonly<{}>, {
53
- emptyText: string;
54
53
  placeholder: string;
54
+ emptyText: string;
55
55
  resultGroupTitle: string;
56
56
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
57
57
  declare const _default: typeof __VLS_export;
@@ -79,19 +79,19 @@ type __VLS_Slots = {} & {
79
79
  footer?: (props: typeof __VLS_5) => any;
80
80
  };
81
81
  declare const __VLS_base: vue.DefineComponent<WaterFallProps, WaterFallExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
82
- "load-more": () => any;
83
82
  "item-click": (item: WaterFallItem, index: number) => any;
83
+ "load-more": () => any;
84
84
  "image-loaded": (item: WaterFallItem) => any;
85
85
  "image-error": (item: WaterFallItem) => any;
86
86
  }, string, vue.PublicProps, Readonly<WaterFallProps> & Readonly<{
87
- "onLoad-more"?: (() => any) | undefined;
88
87
  "onItem-click"?: ((item: WaterFallItem, index: number) => any) | undefined;
88
+ "onLoad-more"?: (() => any) | undefined;
89
89
  "onImage-loaded"?: ((item: WaterFallItem) => any) | undefined;
90
90
  "onImage-error"?: ((item: WaterFallItem) => any) | undefined;
91
91
  }>, {
92
- gap: number;
93
- loading: boolean;
94
92
  columns: number;
93
+ loading: boolean;
94
+ gap: number;
95
95
  lazy: boolean;
96
96
  infinite: boolean;
97
97
  skeleton: boolean;
@@ -827,7 +827,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
827
827
  clearRowSelection: () => void;
828
828
  resetToFirstPage: () => void;
829
829
  getSelectedRows: () => DataRecord[];
830
- getEditingData: () => vue.Ref<Record<string, any>, Record<string, any>> | DataRecord | null;
830
+ getEditingData: () => DataRecord | vue.Ref<Record<string, any>, Record<string, any>> | null;
831
831
  isEditing: (rowKey: DataTableRowKey$1, columnKey?: string) => boolean;
832
832
  isExpanded: (rowKey: DataTableRowKey$1) => boolean;
833
833
  getManager: () => {
@@ -836,7 +836,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
836
836
  cancel(): void;
837
837
  save(): Promise<void>;
838
838
  isEditing(rowKey: DataTableRowKey$1, columnKey?: string): boolean;
839
- getEditingData(): vue.Ref<Record<string, any>, Record<string, any>> | DataRecord | null;
839
+ getEditingData(): DataRecord | vue.Ref<Record<string, any>, Record<string, any>> | null;
840
840
  };
841
841
  expand: {
842
842
  row(rowKey: DataTableRowKey$1): Promise<void>;
@@ -884,8 +884,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
884
884
  getSelectedRows: () => DataRecord[];
885
885
  } | undefined;
886
886
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
887
- cancel: (rowData: DataRecord, rowIndex: number) => any;
888
887
  save: (rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any;
888
+ cancel: (rowData: DataRecord, rowIndex: number) => any;
889
889
  "pagination-change": (...args: unknown[]) => any;
890
890
  "row-delete": (...args: unknown[]) => any;
891
891
  "expand-change": (expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any;
@@ -900,8 +900,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {
900
900
  "view-detail": (data: DataRecord) => any;
901
901
  "column-change": (columns: TableColumn[]) => any;
902
902
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
903
- onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
904
903
  onSave?: ((rowData: DataRecord, rowIndex: number, columnKey?: string | undefined) => any) | undefined;
904
+ onCancel?: ((rowData: DataRecord, rowIndex: number) => any) | undefined;
905
905
  "onPagination-change"?: ((...args: unknown[]) => any) | undefined;
906
906
  "onRow-delete"?: ((...args: unknown[]) => any) | undefined;
907
907
  "onExpand-change"?: ((expandedKeys: DataTableRowKey$1[], row?: DataRecord | undefined, expanded?: boolean | undefined) => any) | undefined;
@@ -1158,7 +1158,7 @@ declare function useTableManager(params: TableManagerParams): {
1158
1158
  cancel(): void; /** 保存编辑 */
1159
1159
  save(): Promise<void>; /** 是否正在编辑 */
1160
1160
  isEditing(rowKey: DataTableRowKey$1, columnKey?: string): boolean; /** 获取当前编辑数据 */
1161
- getEditingData(): vue.Ref<Record<string, any>, Record<string, any>> | DataRecord | null;
1161
+ getEditingData(): DataRecord | vue.Ref<Record<string, any>, Record<string, any>> | null;
1162
1162
  };
1163
1163
  expand: {
1164
1164
  /** 展开行 */row(rowKey: DataTableRowKey$1): Promise<void>; /** 折叠行 */
@@ -50,13 +50,13 @@ declare const __VLS_export: vue.DefineComponent<Props, QRCodeExpose, {}, {}, {},
50
50
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
51
51
  onError?: ((error: Error) => any) | undefined;
52
52
  }>, {
53
+ mode: RenderMode;
53
54
  size: number;
54
- showBorder: boolean;
55
- label: string;
56
- showLabel: boolean;
57
55
  color: string;
58
- mode: RenderMode;
56
+ label: string;
57
+ showBorder: boolean;
59
58
  margin: number;
59
+ showLabel: boolean;
60
60
  bgColor: string;
61
61
  errorCorrectionLevel: ErrorCorrectionLevel;
62
62
  logo: LogoOptions;
@@ -55,12 +55,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
55
55
  cleanFn: () => void;
56
56
  changeFoldState: () => void;
57
57
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
58
- search: (params: SearchFormParams) => any;
59
58
  reset: () => any;
59
+ search: (params: SearchFormParams) => any;
60
60
  "change-params": (params: SearchFormParams) => any;
61
61
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
62
- onSearch?: ((params: SearchFormParams) => any) | undefined;
63
62
  onReset?: (() => any) | undefined;
63
+ onSearch?: ((params: SearchFormParams) => any) | undefined;
64
64
  "onChange-params"?: ((params: SearchFormParams) => any) | undefined;
65
65
  }>, {
66
66
  size: "small" | "medium" | "large";
@@ -108,10 +108,10 @@ declare const __VLS_export: vue.DefineComponent<SignatureProps, SignatureExpose,
108
108
  onRedo?: (() => any) | undefined;
109
109
  }>, {
110
110
  width: number | string;
111
+ disabled: boolean;
111
112
  height: number | string;
112
113
  readonly: boolean;
113
114
  showToolbar: boolean;
114
- disabled: boolean;
115
115
  maxHistory: number;
116
116
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
117
117
  declare const _default: typeof __VLS_export;
@@ -66,27 +66,27 @@ type __VLS_Slots = {} & {
66
66
  second?: (props: typeof __VLS_13) => any;
67
67
  };
68
68
  declare const __VLS_base: vue.DefineComponent<Props, SplitPaneExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
69
- expand: (target: CollapseTarget) => any;
69
+ resize: (firstSize: number, secondSize: number) => any;
70
70
  collapse: (target: CollapseTarget) => any;
71
+ expand: (target: CollapseTarget) => any;
71
72
  "drag-start": (size: number) => any;
72
73
  "drag-end": (size: number) => any;
73
- resize: (firstSize: number, secondSize: number) => any;
74
74
  }, string, vue.PublicProps, Readonly<Props> & Readonly<{
75
- onExpand?: ((target: CollapseTarget) => any) | undefined;
75
+ onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
76
76
  onCollapse?: ((target: CollapseTarget) => any) | undefined;
77
+ onExpand?: ((target: CollapseTarget) => any) | undefined;
77
78
  "onDrag-start"?: ((size: number) => any) | undefined;
78
79
  "onDrag-end"?: ((size: number) => any) | undefined;
79
- onResize?: ((firstSize: number, secondSize: number) => any) | undefined;
80
80
  }>, {
81
81
  disabled: boolean;
82
+ step: number;
82
83
  direction: SplitDirection;
83
- collapsible: boolean;
84
- maxSize: number;
85
84
  defaultSize: number;
86
85
  minSize: number;
86
+ maxSize: number;
87
+ collapsible: boolean;
87
88
  showCollapseButton: boolean;
88
89
  gutterSize: number;
89
- step: number;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
91
91
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
92
92
  declare const _default: typeof __VLS_export;
@@ -48,12 +48,11 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
48
48
  "onChange-start"?: ((time: number | null) => any) | undefined;
49
49
  "onChange-end"?: ((time: number | null) => any) | undefined;
50
50
  }>, {
51
- format: string;
52
- placeholder: string;
53
- attrs: Record<string, any>;
54
51
  mode: TimeMode;
55
52
  startPlaceholder: string;
56
53
  endPlaceholder: string;
54
+ placeholder: string;
55
+ format: string;
57
56
  useHours: boolean;
58
57
  useMinutes: boolean;
59
58
  useSeconds: boolean;
@@ -62,6 +61,7 @@ declare const __VLS_export: vue.DefineComponent<TimeProps, TimeExpose, {}, {}, {
62
61
  secondStep: number;
63
62
  startTimeProps: Record<string, any>;
64
63
  endTimeProps: Record<string, any>;
64
+ attrs: Record<string, any>;
65
65
  defaultStartTime: number | null;
66
66
  defaultEndTime: number | null;
67
67
  defaultSingleTime: number | null;
@@ -91,26 +91,27 @@ type __VLS_Slots = {} & {
91
91
  };
92
92
  declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
93
93
  add: (parentNode?: TreeNodeData | undefined) => any;
94
+ refresh: () => any;
94
95
  "node-select": (node: TreeNodeData | null, selectedKeys: (string | number)[]) => any;
95
96
  "node-action": (action: string, node: TreeNodeData) => any;
96
97
  "node-drop": (info: DropInfo) => any;
97
- refresh: () => any;
98
98
  }, string, vue.PublicProps, Readonly<TreeProps> & Readonly<{
99
99
  onAdd?: ((parentNode?: TreeNodeData | undefined) => any) | undefined;
100
+ onRefresh?: (() => any) | undefined;
100
101
  "onNode-select"?: ((node: TreeNodeData | null, selectedKeys: (string | number)[]) => any) | undefined;
101
102
  "onNode-action"?: ((action: string, node: TreeNodeData) => any) | undefined;
102
103
  "onNode-drop"?: ((info: DropInfo) => any) | undefined;
103
- onRefresh?: (() => any) | undefined;
104
104
  }>, {
105
+ mode: TreeMode;
105
106
  showToolbar: boolean;
106
- draggable: boolean;
107
107
  labelField: string;
108
108
  childrenField: string;
109
- mode: TreeMode;
109
+ actions: ActionConfig[];
110
110
  keyField: string;
111
111
  searchPattern: string;
112
112
  searchable: boolean;
113
113
  searchPlaceholder: string;
114
+ draggable: boolean;
114
115
  showLine: boolean;
115
116
  addable: boolean;
116
117
  addText: string;
@@ -118,7 +119,6 @@ declare const __VLS_base: vue.DefineComponent<TreeProps, TreeExpose, {}, {}, {},
118
119
  iconField: string;
119
120
  iconConfig: IconConfig;
120
121
  statusConfigs: StatusConfig[];
121
- actions: ActionConfig[];
122
122
  defaultExpandAll: boolean;
123
123
  defaultExpandedKeys: (string | number)[];
124
124
  defaultSelectedKeys: (string | number)[];