@web-utils/form-ui 1.0.0-beta95 → 1.0.0-beta97

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/address-input/index.d.ts +3 -2
  2. package/affix/index.d.ts +44 -24
  3. package/awesome-button/index.d.ts +3 -2
  4. package/capsule-tab/index.d.ts +3 -2
  5. package/card/index.d.ts +3 -2
  6. package/chunks/{v2GLQDzI2.mjs → 8zvAoiTw2.mjs} +1 -1
  7. package/chunks/{bBwzYT0T2.mjs → BABpWSRr2.mjs} +1 -1
  8. package/chunks/{q_m3gw_j2.mjs → C1SZzAUY2.mjs} +3 -3
  9. package/chunks/{CZxWWk4N.mjs → CCwW9An-.mjs} +1 -1
  10. package/chunks/{qIca9lDu2.mjs → CmynK-Bt2.mjs} +2 -2
  11. package/chunks/{CIVnqVAQ2.mjs → DEvsHOVL2.mjs} +3 -3
  12. package/chunks/{DFJMTSc7.mjs → bPnQPTY0.mjs} +1 -1
  13. package/chunks/{B0i3ywbn2.mjs → mTmx7TI02.mjs} +1 -1
  14. package/chunks/{sCsjgWvR.mjs → sl7eKGeX.mjs} +17 -15
  15. package/code-mirror-editor/index.d.ts +3 -2
  16. package/confirm-button/index.d.ts +3 -2
  17. package/confirmable/index.d.ts +3 -2
  18. package/context-menu/index.d.ts +3 -2
  19. package/count-up/index.d.ts +3 -2
  20. package/custom-scrollbar/index.d.ts +3 -2
  21. package/data-box/index.d.ts +3 -2
  22. package/data-card/index.d.ts +3 -2
  23. package/data-card-text/index.d.ts +3 -2
  24. package/data-display/index.d.ts +3 -2
  25. package/data-icons/index.d.ts +3 -2
  26. package/data-imgtext/index.d.ts +3 -2
  27. package/data-operatext/index.d.ts +3 -2
  28. package/data-panel/index.d.ts +3 -2
  29. package/data-pay/index.d.ts +3 -2
  30. package/data-price/index.d.ts +3 -2
  31. package/data-progress/index.d.ts +3 -2
  32. package/data-rotate/index.d.ts +3 -2
  33. package/data-table-picker/index.d.ts +3 -2
  34. package/data-table-picker/index.mjs +1 -1
  35. package/data-tabs/index.d.ts +3 -2
  36. package/dialog-form/index.d.ts +37 -3
  37. package/dialog-form/index.mjs +1 -1
  38. package/dict-render/index.d.ts +3 -2
  39. package/e-charts/index.d.ts +3 -2
  40. package/easy-popup/index.d.ts +3 -2
  41. package/editable-progress/index.d.ts +3 -2
  42. package/editable-tree/index.d.ts +3 -2
  43. package/element-dialog/index.d.ts +216 -346
  44. package/element-resize-observer/index.d.ts +3 -2
  45. package/empty-view/index.d.ts +93 -19
  46. package/error-view/index.d.ts +65 -17
  47. package/flex-box/index.d.ts +3 -2
  48. package/flex-column/index.d.ts +3 -2
  49. package/flex-item/index.d.ts +3 -2
  50. package/flex-row/index.d.ts +3 -2
  51. package/flex-scroll-area/index.d.ts +13 -16
  52. package/flex-scroller/index.d.ts +3 -2
  53. package/flow-designer/index.d.ts +3 -2
  54. package/flow-viewer/index.d.ts +3 -2
  55. package/form-advice/index.d.ts +8 -8
  56. package/form-button/index.d.ts +3 -2
  57. package/form-card/index.d.ts +6 -10
  58. package/form-cascader/index.d.ts +3 -2
  59. package/form-cell/index.d.ts +17 -19
  60. package/form-checkbox/index.d.ts +3 -2
  61. package/form-checkbox-group/index.d.ts +3 -2
  62. package/form-checkbox-group/index.mjs +1 -1
  63. package/form-date-picker/index.d.ts +4 -3
  64. package/form-holder/index.d.ts +3 -2
  65. package/form-image/index.d.ts +3 -2
  66. package/form-input/index.d.ts +3 -2
  67. package/form-input-cron-expression/index.d.ts +3 -2
  68. package/form-input-email/index.d.ts +3 -2
  69. package/form-input-id-card/index.d.ts +3 -2
  70. package/form-input-number/index.d.ts +3 -2
  71. package/form-input-phone-number/index.d.ts +3 -2
  72. package/form-input-tag/index.d.ts +3 -2
  73. package/form-input-time/index.d.ts +4 -3
  74. package/form-item/index.d.ts +3 -2
  75. package/form-item-config-provider/index.d.ts +3 -2
  76. package/form-item-group/index.d.ts +3 -2
  77. package/form-radio-group/index.d.ts +3 -2
  78. package/form-radio-group/index.mjs +1 -1
  79. package/form-rate/index.d.ts +3 -2
  80. package/form-red-table/index.d.ts +12 -17
  81. package/form-row/index.d.ts +3 -2
  82. package/form-select/index.d.ts +3 -2
  83. package/form-select/index.mjs +1 -1
  84. package/form-slider/index.d.ts +3 -2
  85. package/form-switch/index.d.ts +3 -2
  86. package/form-table/index.d.ts +3 -2
  87. package/form-table/index.mjs +1 -1
  88. package/form-table-plus/index.d.ts +3 -2
  89. package/form-table-plus/index.mjs +1 -1
  90. package/form-text/index.d.ts +3 -2
  91. package/form-textarea/index.d.ts +6 -5
  92. package/form-time-select/index.d.ts +3 -2
  93. package/form-tree-select/index.d.ts +3 -2
  94. package/form-tree-select-multiple/index.d.ts +3 -2
  95. package/form-view/index.d.ts +3 -2
  96. package/fy-array/index.d.ts +3 -2
  97. package/fy-cascader/index.d.ts +3 -2
  98. package/fy-checkbox/index.d.ts +3 -2
  99. package/fy-curd/index.d.ts +8 -4
  100. package/fy-curd/index.mjs +1 -1
  101. package/fy-date/index.d.ts +3 -2
  102. package/fy-dynamic/index.d.ts +3 -2
  103. package/fy-dynamic/index.mjs +1 -1
  104. package/fy-empty/index.d.ts +3 -2
  105. package/fy-form/index.d.ts +3 -2
  106. package/fy-form/index.mjs +1 -1
  107. package/fy-input/index.d.ts +3 -2
  108. package/fy-input-color/index.d.ts +3 -2
  109. package/fy-input-icon/index.d.ts +3 -2
  110. package/fy-input-map/index.d.ts +3 -2
  111. package/fy-input-number/index.d.ts +3 -2
  112. package/fy-input-table/index.d.ts +3 -2
  113. package/fy-input-table/index.mjs +1 -1
  114. package/fy-input-tree/index.d.ts +5 -4
  115. package/fy-input-tree/index.mjs +38 -39
  116. package/fy-radio/index.d.ts +3 -2
  117. package/fy-rate/index.d.ts +3 -2
  118. package/fy-select/index.d.ts +3 -2
  119. package/fy-slider/index.d.ts +3 -2
  120. package/fy-switch/index.d.ts +3 -2
  121. package/fy-tabs/index.d.ts +3 -2
  122. package/fy-time/index.d.ts +3 -2
  123. package/fy-time/index.mjs +1 -1
  124. package/fy-title/index.d.ts +3 -2
  125. package/fy-tree/index.d.ts +3 -2
  126. package/fy-tree/index.mjs +1 -1
  127. package/fy-u-editor/index.d.ts +3 -2
  128. package/fy-upload/index.d.ts +3 -2
  129. package/guide-steps/index.d.ts +3 -2
  130. package/highlight-j-s/index.d.ts +3 -2
  131. package/icon-temp/index.d.ts +3 -2
  132. package/iframe-window/index.d.ts +18 -8
  133. package/image-cropper/index.d.ts +20 -364
  134. package/image-preview/index.d.ts +3 -2
  135. package/image-viewer/index.d.ts +3 -2
  136. package/index.mjs +9 -9
  137. package/input-number-range/index.d.ts +3 -2
  138. package/json-editor/index.d.ts +3 -2
  139. package/keyboard/index.d.ts +3 -2
  140. package/loading-view/index.d.ts +3 -2
  141. package/monaco-editor/index.d.ts +3 -2
  142. package/name-avatar/index.d.ts +3 -2
  143. package/nav-bar/index.d.ts +18 -15
  144. package/package.json +3 -3
  145. package/page/index.d.ts +19 -15
  146. package/page-header/index.d.ts +33 -21
  147. package/page-index/index.d.ts +3 -2
  148. package/page-index-top/index.d.ts +3 -2
  149. package/page-skeleton/index.d.ts +35 -22
  150. package/page-skeleton-new/index.d.ts +53 -24
  151. package/pageable-table/index.d.ts +3 -2
  152. package/pageable-table/index.mjs +1 -1
  153. package/photo-swipe/index.d.ts +3 -2
  154. package/props/textarea.d.ts +1 -1
  155. package/props/textarea.mjs +1 -1
  156. package/sign-panel/index.d.ts +3 -2
  157. package/skeleton-panel/index.d.ts +27 -19
  158. package/split-pane/index.d.ts +3 -2
  159. package/stateful/index.d.ts +3 -2
  160. package/sub-table/index.d.ts +3 -2
  161. package/sub-table/index.mjs +1 -1
  162. package/sub-table-plus/index.d.ts +3 -2
  163. package/sub-table-plus/index.mjs +1 -1
  164. package/swiper/index.d.ts +3 -2
  165. package/table-column/index.d.ts +4 -3
  166. package/table-column-def/index.d.ts +150 -79
  167. package/table-view/index.d.ts +3 -2
  168. package/table-view/index.mjs +1 -1
  169. package/tag-render/index.d.ts +3 -2
  170. package/text-ellipsis/index.d.ts +4 -3
  171. package/toolbar/index.d.ts +4 -3
  172. package/toolbar-button/index.d.ts +3 -2
  173. package/vue-cron/index.d.ts +3 -2
  174. package/vue-qr-code/index.d.ts +3 -2
  175. package/vue-tags-input/index.d.ts +3 -2
  176. package/vue-tree-select/index.d.ts +5 -4
  177. package/vue-video-player/index.d.ts +3 -2
  178. package/watermark/index.d.ts +3 -2
  179. package/web-types.json +1 -1
  180. package/x-input-tag/index.d.ts +2 -1
  181. package/year-calendar/index.d.ts +3 -2
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  options: {
3
5
  type: ArrayConstructor;
4
6
  default(): never[];
@@ -49,4 +51,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
49
51
  options: unknown[];
50
52
  modelValue: Record<string, any>;
51
53
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
52
- export default _default;
package/affix/index.d.ts CHANGED
@@ -1,30 +1,50 @@
1
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1
+ declare const _default: typeof __VLS_export;
2
2
  export default _default;
3
- type __VLS_WithTemplateSlots<T, S> = T & (new () => {
3
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4
+ type __VLS_WithSlots<T, S> = T & (new () => {
4
5
  $slots: S;
5
6
  });
6
- declare const __VLS_component: import('vue').DefineComponent<{}, {
7
- $emit: (event: "on-change", ...args: any[]) => void;
8
- offsetTop: number;
9
- target?: string | undefined;
10
- offsetBottom?: number | undefined;
11
- $props: {
12
- readonly offsetTop?: number | undefined;
13
- readonly target?: string | undefined;
14
- readonly offsetBottom?: number | undefined;
15
- };
16
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
17
- el: HTMLDivElement;
18
- point: HTMLDivElement;
19
- }, HTMLDivElement>;
20
- type __VLS_TemplateResult = {
21
- attrs: Partial<{}>;
22
- slots: {
23
- default?(_: {}): any;
7
+ declare const __VLS_base: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
8
+ /**
9
+ * 滚动元素
10
+ */
11
+ target: StringConstructor;
12
+ /**
13
+ * 指定滚动到顶部多少时固定
14
+ * 666667
15
+ */
16
+ offsetTop: {
17
+ type: NumberConstructor;
18
+ default: number;
24
19
  };
25
- refs: {
26
- el: HTMLDivElement;
27
- point: HTMLDivElement;
20
+ /**
21
+ * 指定滚动到底部多少时固定,当指定该值时,`offsetTop`失效
22
+ */
23
+ offsetBottom: NumberConstructor;
24
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "on-change": (...args: any[]) => void;
26
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
27
+ /**
28
+ * 滚动元素
29
+ */
30
+ target: StringConstructor;
31
+ /**
32
+ * 指定滚动到顶部多少时固定
33
+ * 666667
34
+ */
35
+ offsetTop: {
36
+ type: NumberConstructor;
37
+ default: number;
28
38
  };
29
- rootEl: HTMLDivElement;
39
+ /**
40
+ * 指定滚动到底部多少时固定,当指定该值时,`offsetTop`失效
41
+ */
42
+ offsetBottom: NumberConstructor;
43
+ }>> & Readonly<{
44
+ "onOn-change"?: ((...args: any[]) => any) | undefined;
45
+ }>, {
46
+ offsetTop: number;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
+ type __VLS_Slots = {
49
+ default?: ((props: {}) => any) | undefined;
30
50
  };
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  type: {
3
5
  type: StringConstructor;
4
6
  default: string;
@@ -57,4 +59,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
57
59
  nativeType: string;
58
60
  text: string;
59
61
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
- export default _default;
@@ -4,7 +4,7 @@ interface Tab {
4
4
  value: string;
5
5
  [key: string]: any;
6
6
  }
7
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
7
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
8
8
  tabs: {
9
9
  type: PropType<Tab[]>;
10
10
  default: () => never[];
@@ -26,5 +26,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
26
26
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
27
27
  }>, {
28
28
  tabs: Tab[];
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLUListElement>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ declare const _default: typeof __VLS_export;
30
31
  export default _default;
package/card/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => {};
@@ -38,4 +40,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
38
40
  data: unknown[];
39
41
  option: Record<string, any>;
40
42
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
- export default _default;
@@ -46,7 +46,7 @@ var m = {
46
46
  ...r,
47
47
  default: r.default || (() => {
48
48
  var e;
49
- return (e = C.value) == null ? void 0 : e.map(({ value: e, label: n, disabled: r }) => t.type === "button" || t.radioType === "button" ? l(o, {
49
+ return (e = C.value) == null ? void 0 : e.map(({ [x.value]: e, [b.value]: n, disabled: r }) => t.type === "button" || t.radioType === "button" ? l(o, {
50
50
  key: e,
51
51
  value: e,
52
52
  disabled: r
@@ -1,6 +1,6 @@
1
1
  import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
2
2
  import { n, o as r } from "./_7MDfW_y.mjs";
3
- import { n as i, t as a } from "./CIVnqVAQ2.mjs";
3
+ import { n as i, t as a } from "./DEvsHOVL2.mjs";
4
4
  import { computed as o, createVNode as s, getCurrentInstance as c, mergeProps as l, ref as u, useModel as d } from "vue";
5
5
  //#region src/components/table/form-table.ts
6
6
  var f = {
@@ -2,17 +2,17 @@ import { s as e } from "./ClVh1Lek.mjs";
2
2
  import { t } from "./B1MSrc6f.mjs";
3
3
  import { cellClickHandlerContextKey as n } from "../constants/index.mjs";
4
4
  import { t as r } from "./DTeHffqJ.mjs";
5
- import { t as i } from "./sCsjgWvR.mjs";
5
+ import { t as i } from "./sl7eKGeX.mjs";
6
6
  import { t as a } from "./tzjUpVIj.mjs";
7
7
  import { n as o } from "./_7MDfW_y.mjs";
8
8
  import { t as s } from "./D8C17D2k.mjs";
9
9
  import { t as c } from "./CA_-hYlN.mjs";
10
10
  import { t as l } from "./C23Qaggp.mjs";
11
- import { t as u } from "./CZxWWk4N.mjs";
11
+ import { t as u } from "./CCwW9An-.mjs";
12
12
  import { t as d } from "./CCkHwxt7.mjs";
13
13
  import { t as f } from "./BanS-yUY2.mjs";
14
14
  import { t as p } from "./dgRz6V6p2.mjs";
15
- import { t as m } from "./qIca9lDu2.mjs";
15
+ import { t as m } from "./CmynK-Bt2.mjs";
16
16
  import ee from "../table-column-def/index.mjs";
17
17
  import { ElMessage as h, formContextKey as g, formItemContextKey as _ } from "element-plus/es";
18
18
  import "element-plus/es/components/base/style/css";
@@ -65,7 +65,7 @@ var g = /* @__PURE__ */ d({
65
65
  ...d,
66
66
  default: d.default || (() => {
67
67
  var t;
68
- return (t = D.value) == null ? void 0 : t.map(({ value: t, label: n, disabled: r }) => e.type === "button" ? u(s, {
68
+ return (t = D.value) == null ? void 0 : t.map(({ [T.value]: t, [w.value]: n, disabled: r }) => e.type === "button" ? u(s, {
69
69
  key: t,
70
70
  value: t,
71
71
  disabled: r
@@ -95,9 +95,9 @@ var h = {
95
95
  ...h,
96
96
  default: h.default || (() => {
97
97
  var e;
98
- return (e = O.value) == null ? void 0 : e.map(({ value: e, label: t }) => c(a, {
98
+ return (e = O.value) == null ? void 0 : e.map(({ [t.props.value]: e, [t.props.label]: n }) => c(a, {
99
99
  key: e,
100
- label: t,
100
+ label: n,
101
101
  value: e
102
102
  }, null));
103
103
  })
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./DTeHffqJ.mjs";
3
- import { t as n } from "./sCsjgWvR.mjs";
3
+ import { t as n } from "./sl7eKGeX.mjs";
4
4
  import { t as r } from "./tzjUpVIj.mjs";
5
5
  import { n as i } from "./_7MDfW_y.mjs";
6
6
  import { t as a } from "./D8C17D2k.mjs";
7
7
  import { t as o } from "./C23Qaggp.mjs";
8
- import { t as s } from "./CZxWWk4N.mjs";
8
+ import { t as s } from "./CCwW9An-.mjs";
9
9
  import { t as c } from "./CCkHwxt7.mjs";
10
10
  import { t as l } from "./BanS-yUY2.mjs";
11
11
  import { t as u } from "./dgRz6V6p2.mjs";
12
- import { t as d } from "./qIca9lDu2.mjs";
12
+ import { t as d } from "./CmynK-Bt2.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
14
  import { t as p } from "./D7kTwnJK2.mjs";
15
15
  import { ElMessage as m, formContextKey as h, formItemContextKey as g } from "element-plus/es";
@@ -2425,7 +2425,7 @@ var un = /* @__PURE__ */ t(cn, [["render", ln]]), dn = {
2425
2425
  default: () => []
2426
2426
  }
2427
2427
  },
2428
- emits: /* @__PURE__ */ "tree-load.selection-clear.header-dragend.expand-change.current-row-change.refresh-change.selection-change.select.select-all.filter-change.sort-change.row-dblclick.row-click.cell-mouse-enter.cell-mouse-leave.cell-click.header-click.row-contextmenu.header-contextmenu.cell-dblclick.row-save.row-update.update:modelValue.change.error.row-del.update:search.update:page.search-change.search-reset".split("."),
2428
+ emits: /* @__PURE__ */ "tree-load.selection-clear.header-dragend.expand-change.current-row-change.refresh-change.selection-change.select.select-all.filter-change.sort-change.row-dblclick.row-click.cell-mouse-enter.cell-mouse-leave.cell-click.header-click.row-contextmenu.header-contextmenu.cell-dblclick.row-save.row-update.update:modelValue.change.error.row-del.update:search.update:page.search-change.search-reset.on-load".split("."),
2429
2429
  data() {
2430
2430
  return {
2431
2431
  reload: Math.random(),
@@ -2,7 +2,7 @@ import { i as e } from "./ClVh1Lek.mjs";
2
2
  import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
3
3
  import { n as r, o as i } from "./_7MDfW_y.mjs";
4
4
  import { n as a } from "./C23Qaggp.mjs";
5
- import { n as o, t as s } from "./q_m3gw_j2.mjs";
5
+ import { n as o, t as s } from "./C1SZzAUY2.mjs";
6
6
  import { computed as c, createVNode as l, getCurrentInstance as u, mergeProps as d, useModel as f, useTemplateRef as p } from "vue";
7
7
  //#region src/components/table/form-table-plus.ts
8
8
  var m = {
@@ -513,29 +513,31 @@ var z = {
513
513
  } else if (e.rowKey && (n = t[e.rowKey], n)) return n;
514
514
  return n = "__rowKey", t[n] || (t[n] = le(!1)), t[n];
515
515
  }, $ = _(() => {
516
- let t = [];
517
- if (d.default) {
518
- var n;
519
- let e = r((n = d.default) == null ? void 0 : n.call(d));
520
- for (let n = 0; n < e.length; n++) {
521
- let { props: r, children: i } = e[n];
516
+ var t;
517
+ let n = [];
518
+ if (((t = e.columns) == null ? void 0 : t.length) > 0) for (let t = 0; t < e.columns.length; t++) {
519
+ let { prop: r, sortable: i, fixed: a, ...o } = e.columns[t], s = {
520
+ ...o,
521
+ prop: r,
522
+ allowSort: i !== !1
523
+ };
524
+ s.hide = x.value.hideProps[r], s.filterable = x.value.filterableProps[r], s.sortable = x.value.sortableProps[r] === !0, s.fixed = a || x.value.fixedProps[r], n.push(s);
525
+ }
526
+ else if (d.default) {
527
+ var i;
528
+ let e = r((i = d.default) == null ? void 0 : i.call(d));
529
+ for (let t = 0; t < e.length; t++) {
530
+ let { props: r, children: i } = e[t];
522
531
  if (!r) continue;
523
532
  let { sortable: a, prop: o, fixed: s, ...c } = r, l = {
524
533
  ...c,
525
534
  prop: o,
526
535
  allowSort: a !== !1
527
536
  };
528
- i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = x.value.hideProps[o], l.filterable = x.value.filterableProps[o], l.sortable = x.value.sortableProps[o] === !0, l.fixed = s || x.value.fixedProps[o], t.push(l);
537
+ i && (l.headerSlot = i.header, l.defaultSlot = i.default, l.expandSlot = i.expand, l.iconSlot = i["filter-icon"]), l.hide = x.value.hideProps[o], l.filterable = x.value.filterableProps[o], l.sortable = x.value.sortableProps[o] === !0, l.fixed = s || x.value.fixedProps[o], n.push(l);
529
538
  }
530
- } else if (e.columns) for (let n = 0; n < e.columns.length; n++) {
531
- let { prop: r, sortable: i, fixed: a, ...o } = e.columns[n], s = {
532
- ...o,
533
- prop: r,
534
- allowSort: i !== !1
535
- };
536
- s.hide = x.value.hideProps[r], s.filterable = x.value.filterableProps[r], s.sortable = x.value.sortableProps[r] === !0, s.fixed = a || x.value.fixedProps[r], t.push(s);
537
539
  }
538
- return t;
540
+ return n;
539
541
  });
540
542
  oe(() => {
541
543
  he();
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  modelValue: {
3
5
  type: StringConstructor;
4
6
  default: string;
@@ -47,4 +49,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
47
49
  mode: string;
48
50
  theme: string;
49
51
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  stop: {
3
5
  type: BooleanConstructor;
4
6
  default: boolean;
@@ -119,4 +121,3 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
119
121
  };
120
122
  };
121
123
  }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
122
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  stop: {
3
5
  type: BooleanConstructor;
4
6
  default: boolean;
@@ -90,4 +92,3 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
90
92
  confirmTitle: string;
91
93
  tag: string;
92
94
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  /**
3
5
  * 菜单项
4
6
  */
@@ -180,4 +182,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
180
182
  itemFontSize: string | number;
181
183
  borderWidth: number;
182
184
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
183
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  animation: {
3
5
  type: BooleanConstructor;
4
6
  default: boolean;
@@ -67,4 +69,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
67
69
  decimals: number;
68
70
  callback: Function;
69
71
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
70
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  element: {
3
5
  type: StringConstructor;
4
6
  default: string;
@@ -46,4 +48,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
46
48
  theme: string;
47
49
  element: string;
48
50
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
- export default _default;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
3
3
  option: {
4
4
  type: PropType<{
5
5
  animation?: boolean;
@@ -26,5 +26,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
26
26
  span?: number;
27
27
  data?: any[];
28
28
  };
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ declare const _default: typeof __VLS_export;
30
31
  export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -17,4 +19,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
17
19
  }>> & Readonly<{}>, {
18
20
  option: Record<string, any>;
19
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -18,4 +20,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
18
20
  }>> & Readonly<{}>, {
19
21
  option: Record<string, any>;
20
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -17,4 +19,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
17
19
  }>> & Readonly<{}>, {
18
20
  option: Record<string, any>;
19
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -18,4 +20,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
18
20
  }>> & Readonly<{}>, {
19
21
  option: Record<string, any>;
20
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -15,4 +17,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
15
17
  }>> & Readonly<{}>, {
16
18
  option: Record<string, any>;
17
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -14,4 +16,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
14
16
  }>> & Readonly<{}>, {
15
17
  option: Record<string, any>;
16
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -16,4 +18,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
16
18
  }>> & Readonly<{}>, {
17
19
  option: Record<string, any>;
18
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -16,4 +18,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
16
18
  }>> & Readonly<{}>, {
17
19
  option: Record<string, any>;
18
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -14,4 +16,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
14
16
  }>> & Readonly<{}>, {
15
17
  option: Record<string, any>;
16
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  option: {
3
5
  type: ObjectConstructor;
4
6
  default: () => void;
@@ -16,4 +18,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
16
18
  }>> & Readonly<{}>, {
17
19
  option: Record<string, any>;
18
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
19
- export default _default;
@@ -5,7 +5,7 @@ interface OptionType {
5
5
  span?: number;
6
6
  data?: any[];
7
7
  }
8
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
8
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
9
9
  option: {
10
10
  type: PropType<OptionType>;
11
11
  default: () => {};
@@ -17,5 +17,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
17
17
  };
18
18
  }>> & Readonly<{}>, {
19
19
  option: OptionType;
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: typeof __VLS_export;
21
22
  export default _default;
@@ -1,4 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
1
+ declare const _default: typeof __VLS_export;
2
+ export default _default;
3
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
4
  visible: BooleanConstructor;
3
5
  api: FunctionConstructor;
4
6
  columns: ArrayConstructor;
@@ -58,4 +60,3 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
58
60
  height: string;
59
61
  multiple: boolean;
60
62
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
- export default _default;
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../chunks/B1MSrc6f.mjs";
2
2
  import { t } from "../chunks/D9IZqJJJ.mjs";
3
3
  import { t as n } from "../chunks/DTeHffqJ.mjs";
4
- import { t as r } from "../chunks/sCsjgWvR.mjs";
4
+ import { t as r } from "../chunks/sl7eKGeX.mjs";
5
5
  import { ElMessage as i } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
7
7
  import { createBlock as a, createTextVNode as o, createVNode as s, openBlock as c, renderSlot as l, withCtx as u } from "vue";
@@ -5,7 +5,7 @@ interface OptionType {
5
5
  span?: number;
6
6
  data?: any[];
7
7
  }
8
- declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
8
+ declare const __VLS_export: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
9
9
  option: {
10
10
  type: PropType<OptionType>;
11
11
  default: () => {};
@@ -17,5 +17,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
17
17
  };
18
18
  }>> & Readonly<{}>, {
19
19
  option: OptionType;
20
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: typeof __VLS_export;
21
22
  export default _default;
@@ -1,4 +1,38 @@
1
- export default DialogForm;
2
- declare namespace DialogForm {
3
- function showForm(opt: any): import("vue").App<Element>;
1
+ import { isEmpty } from '@web-utils/core';
2
+ import { deepClone } from '../utils/util.ts';
3
+ declare namespace _default {
4
+ let name: string;
5
+ function data(): {
6
+ opt: {};
7
+ disabled: boolean;
8
+ callback: null;
9
+ visible: boolean;
10
+ dialog: {
11
+ closeOnClickModal: boolean;
12
+ };
13
+ isDrawer: boolean;
14
+ option: {
15
+ submitText: string;
16
+ emptyText: string;
17
+ submitIcon: string;
18
+ emptyIcon: string;
19
+ column: never[];
20
+ };
21
+ data: {};
22
+ };
23
+ namespace computed {
24
+ function dialogType(): any;
25
+ function menuPosition(): any;
26
+ }
27
+ namespace methods {
28
+ export { isEmpty };
29
+ export { deepClone };
30
+ export function submit(): void;
31
+ export function reset(): void;
32
+ export function beforeClose(done: any): void;
33
+ export function show(opt: any): void;
34
+ export function close(): void;
35
+ export function handleSubmit(data: any, done: any): void;
36
+ }
4
37
  }
38
+ export default _default;
@@ -3,7 +3,7 @@ import { t } from "../chunks/B1MSrc6f.mjs";
3
3
  import { t as n } from "../chunks/D9IZqJJJ.mjs";
4
4
  import { avueConfigContextKey as r } from "../constants/index.mjs";
5
5
  import { t as i } from "../chunks/DTeHffqJ.mjs";
6
- import { t as a } from "../chunks/DFJMTSc7.mjs";
6
+ import { t as a } from "../chunks/bPnQPTY0.mjs";
7
7
  import { a as o } from "../chunks/CXHJqvbJ.mjs";
8
8
  import { ElDrawer as s } from "element-plus/es";
9
9
  import "element-plus/es/components/base/style/css";