vft 0.0.147 → 0.0.148

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 (131) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/es/app-components/form/form-label-wrap.d.ts +2 -2
  4. package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  5. package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  6. package/es/components/date-picker/panel-utils.d.ts +8 -8
  7. package/es/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  8. package/es/components/table/table.vue2.js +141 -143
  9. package/es/components/table/use/use-table.js +4 -1
  10. package/es/components/verify-code/index.d.ts +5 -1
  11. package/es/components/verify-code/verify-code.vue.d.ts +5 -1
  12. package/es/package.json.d.ts +11 -11
  13. package/es/package.json.js +1 -1
  14. package/lib/app-components/form/form-label-wrap.d.ts +2 -2
  15. package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +1 -1
  16. package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +1 -1
  17. package/lib/components/date-picker/panel-utils.d.ts +8 -8
  18. package/lib/components/multiple-tabs/tab-content.vue.d.ts +1 -2
  19. package/lib/components/table/table.vue2.cjs +1 -1
  20. package/lib/components/table/use/use-table.cjs +1 -1
  21. package/lib/components/verify-code/index.d.ts +5 -1
  22. package/lib/components/verify-code/verify-code.vue.d.ts +5 -1
  23. package/lib/package.json.cjs +1 -1
  24. package/lib/package.json.d.ts +11 -11
  25. package/package.json +11 -11
  26. package/tags.json +1 -1
  27. package/theme-style/index.css +1 -1
  28. package/theme-style/src/autocomplete.scss +20 -20
  29. package/theme-style/src/badge.scss +8 -11
  30. package/theme-style/src/breadcrumb.scss +2 -0
  31. package/theme-style/src/button-group.scss +29 -22
  32. package/theme-style/src/calendar.scss +13 -12
  33. package/theme-style/src/carousel-item.scss +2 -0
  34. package/theme-style/src/carousel.scss +7 -7
  35. package/theme-style/src/cascader-panel.scss +28 -28
  36. package/theme-style/src/cascader.scss +63 -63
  37. package/theme-style/src/check-tag.scss +5 -5
  38. package/theme-style/src/checkbox-button.scss +13 -14
  39. package/theme-style/src/checkbox.scss +38 -37
  40. package/theme-style/src/clamp-toggle.scss +1 -0
  41. package/theme-style/src/col.scss +2 -5
  42. package/theme-style/src/collapse.scss +10 -5
  43. package/theme-style/src/color/index.scss +0 -1
  44. package/theme-style/src/common/popup.scss +2 -0
  45. package/theme-style/src/dark/css-vars.scss +0 -1
  46. package/theme-style/src/dark/var.scss +1 -1
  47. package/theme-style/src/date-picker/date-range-picker.scss +22 -22
  48. package/theme-style/src/date-picker/date-table.scss +5 -0
  49. package/theme-style/src/date-picker/month-table.scss +7 -0
  50. package/theme-style/src/date-picker/picker-panel.scss +15 -14
  51. package/theme-style/src/date-picker/picker.scss +35 -34
  52. package/theme-style/src/date-picker/year-table.scss +1 -0
  53. package/theme-style/src/date-time-select.scss +7 -6
  54. package/theme-style/src/drawer.scss +15 -13
  55. package/theme-style/src/dropdown.scss +45 -49
  56. package/theme-style/src/footer-layout.scss +4 -4
  57. package/theme-style/src/footer.scss +2 -2
  58. package/theme-style/src/header.scss +2 -2
  59. package/theme-style/src/image.scss +5 -0
  60. package/theme-style/src/md/figure.scss +0 -4
  61. package/theme-style/src/md-vue-playground.scss +2 -2
  62. package/theme-style/src/message-box.scss +28 -29
  63. package/theme-style/src/mixins/_button.scss +1 -1
  64. package/theme-style/src/mixins/_col.scss +8 -7
  65. package/theme-style/src/notification.scss +19 -18
  66. package/theme-style/src/option-group.scss +0 -1
  67. package/theme-style/src/option-item.scss +0 -1
  68. package/theme-style/src/option.scss +0 -1
  69. package/theme-style/src/overlay.scss +3 -3
  70. package/theme-style/src/page-wrapper.scss +1 -1
  71. package/theme-style/src/popover.scss +2 -1
  72. package/theme-style/src/popper.scss +44 -42
  73. package/theme-style/src/radio-button.scss +22 -23
  74. package/theme-style/src/radio.scss +43 -42
  75. package/theme-style/src/rate.scss +36 -38
  76. package/theme-style/src/result.scss +8 -7
  77. package/theme-style/src/row.scss +6 -0
  78. package/theme-style/src/scrollbar.scss +1 -1
  79. package/theme-style/src/search.scss +4 -4
  80. package/theme-style/src/select/common.scss +1 -0
  81. package/theme-style/src/select-dropdown-v2.scss +5 -5
  82. package/theme-style/src/select-dropdown.scss +0 -1
  83. package/theme-style/src/skeleton.scss +4 -2
  84. package/theme-style/src/slider.scss +16 -15
  85. package/theme-style/src/spinner.scss +3 -0
  86. package/theme-style/src/step.scss +5 -5
  87. package/theme-style/src/tag.scss +77 -76
  88. package/theme-style/src/timeline-item.scss +15 -12
  89. package/theme-style/src/transfer.scss +6 -2
  90. package/theme-style/src/var.scss +0 -1
  91. package/theme-style/src/virtual-list.scss +7 -2
  92. package/theme-style/vft-autocomplete.css +1 -1
  93. package/theme-style/vft-badge.css +1 -1
  94. package/theme-style/vft-button-group.css +1 -1
  95. package/theme-style/vft-calendar.css +1 -1
  96. package/theme-style/vft-carousel.css +1 -1
  97. package/theme-style/vft-cascader-panel.css +1 -1
  98. package/theme-style/vft-cascader.css +1 -1
  99. package/theme-style/vft-check-tag.css +1 -1
  100. package/theme-style/vft-checkbox-button.css +1 -1
  101. package/theme-style/vft-checkbox.css +1 -1
  102. package/theme-style/vft-col.css +1 -1
  103. package/theme-style/vft-collapse.css +1 -1
  104. package/theme-style/vft-date-picker.css +1 -1
  105. package/theme-style/vft-date-time-select.css +1 -1
  106. package/theme-style/vft-drawer.css +1 -1
  107. package/theme-style/vft-dropdown.css +1 -1
  108. package/theme-style/vft-footer-layout.css +1 -1
  109. package/theme-style/vft-footer.css +1 -1
  110. package/theme-style/vft-header.css +1 -1
  111. package/theme-style/vft-md-vue-playground.css +1 -1
  112. package/theme-style/vft-message-box.css +1 -1
  113. package/theme-style/vft-notification.css +1 -1
  114. package/theme-style/vft-page-wrapper.css +1 -1
  115. package/theme-style/vft-popover.css +1 -1
  116. package/theme-style/vft-popper.css +1 -1
  117. package/theme-style/vft-radio-button.css +1 -1
  118. package/theme-style/vft-radio.css +1 -1
  119. package/theme-style/vft-rate.css +1 -1
  120. package/theme-style/vft-result.css +1 -1
  121. package/theme-style/vft-search.css +1 -1
  122. package/theme-style/vft-select-dropdown-v2.css +1 -1
  123. package/theme-style/vft-select.css +1 -1
  124. package/theme-style/vft-slider.css +1 -1
  125. package/theme-style/vft-step.css +1 -1
  126. package/theme-style/vft-tag.css +1 -1
  127. package/theme-style/vft-time-picker.css +1 -1
  128. package/theme-style/vft-time-select.css +1 -1
  129. package/theme-style/vft-timeline-item.css +1 -1
  130. package/theme-style/vft-transfer.css +1 -1
  131. package/web-types.json +1 -1
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  isAutoWidth: BooleanConstructor;
3
3
  updateAll: BooleanConstructor;
4
- }, () => JSX.Element | null, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
4
+ }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5
5
  isAutoWidth: BooleanConstructor;
6
6
  updateAll: BooleanConstructor;
7
7
  }>>, {
8
8
  isAutoWidth: boolean;
9
9
  updateAll: boolean;
10
- }>;
10
+ }, {}>;
11
11
  export default _default;
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  __epPropKey: true;
45
45
  };
46
46
  }>> & {
47
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
48
47
  onPick?: ((...args: any[]) => any) | undefined;
48
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
49
49
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
50
50
  }, {
51
51
  format: string;
@@ -33,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
33
  __epPropKey: true;
34
34
  };
35
35
  }>> & {
36
+ onPick?: ((...args: any[]) => any) | undefined;
36
37
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
37
38
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
38
- onPick?: ((...args: any[]) => any) | undefined;
39
39
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
40
40
  }, {
41
41
  unlinkPanels: boolean;
@@ -51,8 +51,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
51
51
  [key: string]: any;
52
52
  }>) => void)[] | undefined;
53
53
  readonly visible?: import("../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
54
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
55
54
  onPick?: ((...args: any[]) => any) | undefined;
55
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
56
56
  readonly parsedValue?: import("../../utils").EpPropMergeType<(new (...args: any[]) => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | (() => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | ((new (...args: any[]) => import("dayjs").Dayjs | import("dayjs").Dayjs[]) | (() => import("dayjs").Dayjs | import("dayjs").Dayjs[]))[], unknown, unknown> | undefined;
57
57
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
58
58
  };
@@ -90,8 +90,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
90
90
  __epPropKey: true;
91
91
  };
92
92
  }>> & {
93
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
94
93
  onPick?: ((...args: any[]) => any) | undefined;
94
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
95
95
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
96
96
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
97
97
  "panel-change": (...args: any[]) => void;
@@ -140,8 +140,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
140
140
  __epPropKey: true;
141
141
  };
142
142
  }>> & {
143
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
144
143
  onPick?: ((...args: any[]) => any) | undefined;
144
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
145
145
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
146
146
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
147
147
  __isFragment?: undefined;
@@ -168,8 +168,8 @@ export declare const getPanel: (type: IDatePickerType) => ({
168
168
  __epPropKey: true;
169
169
  };
170
170
  }>> & {
171
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
172
171
  onPick?: ((...args: any[]) => any) | undefined;
172
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
173
173
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
174
174
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
175
175
  "panel-change": (...args: any[]) => void;
@@ -234,9 +234,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
234
234
  }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
235
235
  [key: string]: any;
236
236
  }>) => void)[] | undefined;
237
+ onPick?: ((...args: any[]) => any) | undefined;
237
238
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
238
239
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
239
- onPick?: ((...args: any[]) => any) | undefined;
240
240
  readonly parsedValue?: import("dayjs").Dayjs[] | undefined;
241
241
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
242
242
  };
@@ -268,9 +268,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
268
268
  __epPropKey: true;
269
269
  };
270
270
  }>> & {
271
+ onPick?: ((...args: any[]) => any) | undefined;
271
272
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
272
273
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
273
- onPick?: ((...args: any[]) => any) | undefined;
274
274
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
275
275
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
276
276
  "calendar-change": (...args: any[]) => void;
@@ -314,9 +314,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
314
314
  __epPropKey: true;
315
315
  };
316
316
  }>> & {
317
+ onPick?: ((...args: any[]) => any) | undefined;
317
318
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
318
319
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
319
- onPick?: ((...args: any[]) => any) | undefined;
320
320
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
321
321
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
322
322
  __isFragment?: undefined;
@@ -337,9 +337,9 @@ export declare const getPanel: (type: IDatePickerType) => ({
337
337
  __epPropKey: true;
338
338
  };
339
339
  }>> & {
340
+ onPick?: ((...args: any[]) => any) | undefined;
340
341
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
341
342
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
342
- onPick?: ((...args: any[]) => any) | undefined;
343
343
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
344
344
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
345
345
  "calendar-change": (...args: any[]) => void;
@@ -1,5 +1,4 @@
1
1
  import { type RouteLocationNormalized } from 'vue-router';
2
- declare function handleContext(e: MouseEvent): void;
3
2
  declare const _default: import("vue").DefineComponent<{
4
3
  tabItem: {
5
4
  type: import("vue").PropType<RouteLocationNormalized>;
@@ -16,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
16
15
  type: import("vue").PropType<boolean>;
17
16
  };
18
17
  }, {
19
- handleContext: typeof handleContext;
18
+ handleContext: (e: MouseEvent) => void;
20
19
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
20
  tabItem: {
22
21
  type: import("vue").PropType<RouteLocationNormalized>;
@@ -1,41 +1,42 @@
1
- import { defineComponent as O, useAttrs as le, ref as d, getCurrentInstance as re, computed as f, unref as e, watch as ne, nextTick as ce, toRaw as ie, resolveComponent as se, openBlock as m, createElementBlock as ge, normalizeClass as de, createVNode as H, mergeProps as T, withCtx as p, renderSlot as F, createBlock as A, createCommentVNode as E, withDirectives as fe, createElementVNode as me } from "vue";
2
- import { deepMerge as N, omit as pe, isFunction as ue } from "@vft/utils";
3
- import { VftEmpty as he } from "../empty/index.js";
4
- import { vLoading as be } from "../loading/directive.js";
1
+ import { defineComponent as N, useAttrs as ae, ref as d, getCurrentInstance as le, computed as g, unref as e, watch as re, nextTick as ne, toRaw as ce, openBlock as f, createElementBlock as ie, normalizeClass as se, createVNode as D, mergeProps as H, withCtx as m, renderSlot as T, createBlock as F, createCommentVNode as A, withDirectives as de, createElementVNode as ge } from "vue";
2
+ import { deepMerge as E, omit as fe, isFunction as me } from "@vft/utils";
3
+ import { VftEmpty as ue } from "../empty/index.js";
4
+ import { vLoading as pe } from "../loading/directive.js";
5
5
  import "@vueuse/core";
6
6
  import "../../utils/ns-cover.js";
7
7
  import "lodash";
8
- import { useNamespace as ye } from "../../hooks/use-namespace/index.js";
8
+ import { useNamespace as he } from "../../hooks/use-namespace/index.js";
9
9
  import "@popperjs/core";
10
10
  import "../../hooks/use-z-index/index.js";
11
11
  import "../icon/index.js";
12
- import { VftPagination as Ce } from "../pagination/index.js";
13
- import { VftSuperForm as xe } from "../super-form/index.js";
14
- import { PAGE_SIZE as we } from "./constants.js";
15
- import { useColumns as ke } from "./use/use-columns.js";
16
- import { useDataSource as Se } from "./use/use-data-source.js";
17
- import { useLoading as ve } from "./use/use-loading.js";
18
- import { usePagination as Be } from "./use/use-pagination.js";
19
- import Re from "xe-utils";
20
- import { FormCompEnum as _e } from "../super-form/component-map.js";
21
- import { useForm as ze } from "../super-form/use/use-form.js";
22
- import { EmptyEnum as Pe } from "../empty/constants.js";
23
- const De = {
12
+ import { VftPagination as be } from "../pagination/index.js";
13
+ import { VftSuperForm as ye } from "../super-form/index.js";
14
+ import { PAGE_SIZE as Ce } from "./constants.js";
15
+ import { useColumns as xe } from "./use/use-columns.js";
16
+ import { useDataSource as we } from "./use/use-data-source.js";
17
+ import { useLoading as ke } from "./use/use-loading.js";
18
+ import { usePagination as Se } from "./use/use-pagination.js";
19
+ import ve from "xe-utils";
20
+ import { VxeGrid as Be } from "vxe-table";
21
+ import { FormCompEnum as Re } from "../super-form/component-map.js";
22
+ import { useForm as _e } from "../super-form/use/use-form.js";
23
+ import { EmptyEnum as ze } from "../empty/constants.js";
24
+ const Pe = {
24
25
  "vft-loading-text": "加载中..."
25
- }, i = (
26
+ }, c = (
26
27
  /* hoist-static*/
27
- ye("table")
28
- ), He = O({
29
- name: i.b()
30
- }), tt = /* @__PURE__ */ O({
31
- ...He,
28
+ he("table")
29
+ ), De = N({
30
+ name: c.b()
31
+ }), tt = /* @__PURE__ */ N({
32
+ ...De,
32
33
  props: {
33
34
  sticky: {
34
35
  type: [Boolean, Object]
35
36
  },
36
37
  api: {},
37
38
  pageSize: {
38
- default: we
39
+ default: Ce
39
40
  },
40
41
  total: {},
41
42
  rowkey: {
@@ -318,66 +319,66 @@ const De = {
318
319
  "toolbar-tool-click",
319
320
  "zoom"
320
321
  ],
321
- setup(Te, {
322
- expose: I,
323
- emit: l
322
+ setup(He, {
323
+ expose: O,
324
+ emit: r
324
325
  }) {
325
- var _, z, P;
326
- const V = le(), u = d(), q = d([]), s = d(), L = re(), a = f(() => N(L.props, e(s))), {
327
- getLoading: M,
328
- setLoading: G
329
- } = ve(a), {
330
- getPaginationInfo: g,
331
- setPagination: h,
332
- getShowPagination: b,
333
- getCurrentPage: K
334
- } = Be(a), {
335
- getViewColumns: X,
336
- setColumns: $
337
- } = ke(a);
338
- ne(() => K(), (t) => {
339
- ce(() => {
340
- y({
326
+ var R, _, z;
327
+ const V = ae(), u = d(), I = d([]), i = d(), q = le(), l = g(() => E(q.props, e(i))), {
328
+ getLoading: G,
329
+ setLoading: L
330
+ } = ke(l), {
331
+ getPaginationInfo: s,
332
+ setPagination: p,
333
+ getShowPagination: h,
334
+ getCurrentPage: M
335
+ } = Se(l), {
336
+ getViewColumns: K,
337
+ setColumns: X
338
+ } = xe(l);
339
+ re(() => M(), (t) => {
340
+ ne(() => {
341
+ b({
341
342
  seqConfig: {
342
- startIndex: (t - 1) * e(a).pageSize
343
+ startIndex: (t - 1) * e(l).pageSize
343
344
  }
344
345
  });
345
346
  });
346
347
  }, {
347
348
  immediate: !0
348
349
  });
349
- function y(t) {
350
- s.value = {
351
- ...e(s),
350
+ function b(t) {
351
+ i.value = {
352
+ ...e(i),
352
353
  ...t
353
354
  };
354
355
  }
355
356
  const {
356
- getDataSourceRef: C,
357
- handleTableChange: j,
358
- reload: W,
359
- deleteTableDataRecord: Y,
360
- insertTableDataRecord: U,
361
- updateTableData: Z,
362
- updateTableDataRecord: J,
363
- setTableData: x,
364
- getDataSource: Q,
365
- getRawDataSource: w,
366
- tableSearch: k
367
- } = Se(a, {
368
- tableData: q,
369
- setLoading: G,
370
- getPaginationInfo: g,
371
- setPagination: h
372
- }, l);
373
- function S(...t) {
374
- j.call(void 0, ...t), l("change", ...t);
357
+ getDataSourceRef: y,
358
+ handleTableChange: $,
359
+ reload: j,
360
+ deleteTableDataRecord: W,
361
+ insertTableDataRecord: Y,
362
+ updateTableData: U,
363
+ updateTableDataRecord: Z,
364
+ setTableData: C,
365
+ getDataSource: J,
366
+ getRawDataSource: x,
367
+ tableSearch: w
368
+ } = we(l, {
369
+ tableData: I,
370
+ setLoading: L,
371
+ getPaginationInfo: s,
372
+ setPagination: p
373
+ }, r);
374
+ function k(...t) {
375
+ $.call(void 0, ...t), r("change", ...t);
375
376
  const {
376
377
  onChange: o
377
- } = e(a);
378
- o && ue(o) && o.call(void 0, ...t);
378
+ } = e(l);
379
+ o && me(o) && o.call(void 0, ...t);
379
380
  }
380
- const ee = f(() => window.innerHeight - e(a).extraSysHeight + "px"), v = {};
381
+ const Q = g(() => window.innerHeight - e(l).extraSysHeight + "px"), S = {};
381
382
  [
382
383
  "update:data",
383
384
  "keydown-start",
@@ -460,52 +461,52 @@ const De = {
460
461
  "toolbar-tool-click",
461
462
  "zoom"
462
463
  ].forEach((t) => {
463
- const o = Re.camelCase(`on-${t}`);
464
- v[o] = (...r) => l(t, ...r);
464
+ const o = ve.camelCase(`on-${t}`);
465
+ S[o] = (...a) => r(t, ...a);
465
466
  });
466
- const c = f(() => {
467
- var o, r;
468
- const t = e(C);
467
+ const n = g(() => {
468
+ var o, a;
469
+ const t = e(y);
469
470
  return {
470
471
  ...V,
471
- ...e(a),
472
- maxHeight: (o = e(a)) != null && o.maxHeight ? (r = e(a)) == null ? void 0 : r.maxHeight : ee.value,
473
- columns: ie(e(X)),
474
- loading: e(M),
472
+ ...e(l),
473
+ maxHeight: (o = e(l)) != null && o.maxHeight ? (a = e(l)) == null ? void 0 : a.maxHeight : Q.value,
474
+ columns: ce(e(K)),
475
+ loading: e(G),
475
476
  data: t,
476
- ...v
477
+ ...S
477
478
  };
478
- }), B = {
479
- setPagination: h,
480
- emit: l,
481
- setProps: y,
482
- reload: W,
483
- getShowPagination: b,
484
- deleteTableDataRecord: Y,
485
- insertTableDataRecord: U,
486
- updateTableDataRecord: J,
487
- updateTableData: Z,
488
- setTableData: x,
489
- getDataSource: Q,
490
- getDataSourceRef: C,
491
- setColumns: $,
492
- getRawDataSource: w,
493
- tableSearch: k
479
+ }), v = {
480
+ setPagination: p,
481
+ emit: r,
482
+ setProps: b,
483
+ reload: j,
484
+ getShowPagination: h,
485
+ deleteTableDataRecord: W,
486
+ insertTableDataRecord: Y,
487
+ updateTableDataRecord: Z,
488
+ updateTableData: U,
489
+ setTableData: C,
490
+ getDataSource: J,
491
+ getDataSourceRef: y,
492
+ setColumns: X,
493
+ getRawDataSource: x,
494
+ tableSearch: w
494
495
  };
495
- l("register", B);
496
- const te = {
496
+ r("register", v);
497
+ const ee = {
497
498
  field: "_filterTableData",
498
499
  label: "",
499
- type: _e.SEARCH,
500
+ type: Re.SEARCH,
500
501
  componentProps: ({}) => ({
501
502
  onChange: (t) => {
502
- R({
503
+ B({
503
504
  _filterTableData: t
504
505
  });
505
506
  }
506
507
  })
507
- }, [oe] = ze(N({
508
- schemas: [(z = (_ = c.value) == null ? void 0 : _.formOptions) != null && z.addSearchAllSchema ? te : {}],
508
+ }, [te] = _e(E({
509
+ schemas: [(_ = (R = n.value) == null ? void 0 : R.formOptions) != null && _.addSearchAllSchema ? ee : {}],
509
510
  rowProps: {
510
511
  justify: "start"
511
512
  },
@@ -519,52 +520,49 @@ const De = {
519
520
  btnText: "搜索"
520
521
  },
521
522
  actionInline: !0
522
- }, pe(
523
- (P = c.value) == null ? void 0 : P.formOptions,
523
+ }, fe(
524
+ (z = n.value) == null ? void 0 : z.formOptions,
524
525
  ["showActionForm", "addSearchAllSchema"]
525
526
  // 'union' | 'intersection' | 'concat' | 'replace' = 'union'
526
- ), "replace")), R = (t) => {
527
- Reflect.has(t, "_filterTableData") && k(t._filterTableData), l("form-submit", t);
528
- }, ae = () => {
529
- x(w()), l("form-reset");
527
+ ), "replace")), B = (t) => {
528
+ Reflect.has(t, "_filterTableData") && w(t._filterTableData), r("form-submit", t);
529
+ }, oe = () => {
530
+ C(x()), r("form-reset");
530
531
  };
531
- return I({
532
+ return O({
532
533
  table: u,
533
- ...B
534
- }), (t, o) => {
535
- const r = se("vxe-grid");
536
- return m(), ge("div", {
537
- class: de(e(i).b())
538
- }, [H(r, T({
539
- ref_key: "xGrid",
540
- ref: u
541
- }, c.value), {
542
- toolbar_buttons: p(() => {
543
- var n, D;
544
- return [F(t.$slots, "toolbar-left"), (D = (n = c.value) == null ? void 0 : n.formOptions) != null && D.showActionForm ? (m(), A(e(xe), {
545
- key: 0,
546
- onRegister: e(oe),
547
- onSubmit: R,
548
- onReset: ae
549
- }, null, 8, ["onRegister"])) : E("", !0), F(t.$slots, "toolbar-right")];
550
- }),
551
- empty: p(() => [H(e(he), {
552
- type: e(Pe).NO_DATA
553
- }, null, 8, ["type"])]),
554
- loading: p(() => [fe(me("div", De, null, 512), [[e(be), c.value.loading]])]),
555
- _: 3
556
- }, 16), e(b) ? (m(), A(e(Ce), T({
557
- key: 0
558
- }, e(g), {
559
- class: [e(i).e("pager"), e(i).m("pager-" + e(g).pagePlacement)],
560
- onCurrentChange: o[0] || (o[0] = (n) => S({
561
- currentPage: n
562
- })),
563
- onSizeChange: o[1] || (o[1] = (n) => S({
564
- pageSize: n
565
- }))
566
- }), null, 16, ["class"])) : E("", !0)], 2);
567
- };
534
+ ...v
535
+ }), (t, o) => (f(), ie("div", {
536
+ class: se(e(c).b())
537
+ }, [D(e(Be), H({
538
+ ref_key: "xGrid",
539
+ ref: u
540
+ }, n.value), {
541
+ toolbar_buttons: m(() => {
542
+ var a, P;
543
+ return [T(t.$slots, "toolbar-left"), (P = (a = n.value) == null ? void 0 : a.formOptions) != null && P.showActionForm ? (f(), F(e(ye), {
544
+ key: 0,
545
+ onRegister: e(te),
546
+ onSubmit: B,
547
+ onReset: oe
548
+ }, null, 8, ["onRegister"])) : A("", !0), T(t.$slots, "toolbar-right")];
549
+ }),
550
+ empty: m(() => [D(e(ue), {
551
+ type: e(ze).NO_DATA
552
+ }, null, 8, ["type"])]),
553
+ loading: m(() => [de(ge("div", Pe, null, 512), [[e(pe), n.value.loading]])]),
554
+ _: 3
555
+ }, 16), e(h) ? (f(), F(e(be), H({
556
+ key: 0
557
+ }, e(s), {
558
+ class: [e(c).e("pager"), e(c).m("pager-" + e(s).pagePlacement)],
559
+ onCurrentChange: o[0] || (o[0] = (a) => k({
560
+ currentPage: a
561
+ })),
562
+ onSizeChange: o[1] || (o[1] = (a) => k({
563
+ pageSize: a
564
+ }))
565
+ }), null, 16, ["class"])) : A("", !0)], 2));
568
566
  }
569
567
  });
570
568
  export {
@@ -41,7 +41,10 @@ function p(r) {
41
41
  setColumns: (e) => {
42
42
  t().setColumns(e);
43
43
  },
44
- setTableData: (e) => t().setTableData(e),
44
+ setTableData: (e) => {
45
+ var a;
46
+ return (a = t()) == null ? void 0 : a.setTableData(e);
47
+ },
45
48
  setPagination: (e) => t().setPagination(e),
46
49
  deleteTableDataRecord: (e, a) => t().deleteTableDataRecord(e, a),
47
50
  insertTableDataRecord: (e, a) => t().insertTableDataRecord(e, a),
@@ -11,7 +11,11 @@ export declare const VftVerifyCode: import("vft/es/utils").SFCWithInstall<import
11
11
  }, {
12
12
  getCode: () => void;
13
13
  code: import("vue").Ref<string>;
14
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ [x: {
16
+ click: void;
17
+ } & string]: (...args: any[]) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
19
  height: {
16
20
  type: import("vue").PropType<number>;
17
21
  };
@@ -11,7 +11,11 @@ declare const _default: import("vue").DefineComponent<{
11
11
  }, {
12
12
  getCode: () => void;
13
13
  code: import("vue").Ref<string>;
14
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ [x: {
16
+ click: void;
17
+ } & string]: (...args: any[]) => void;
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
19
  height: {
16
20
  type: import("vue").PropType<number>;
17
21
  };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "vft",
3
- "version": "0.0.147",
3
+ "version": "0.0.148",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.js",
@@ -51,21 +51,21 @@ declare const _default: {
51
51
  "@vft/use": "workspace:*",
52
52
  "@vft/utils": "workspace:*",
53
53
  "@vft/directives": "workspace:*",
54
- "@ctrl/tinycolor": "^3.6.0",
55
- "@floating-ui/dom": "^1.2.8",
54
+ "@ctrl/tinycolor": "3.6.0",
55
+ "@floating-ui/dom": "1.2.8",
56
56
  "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7",
57
- "@vue/repl": "^1.4.1",
57
+ "@vue/repl": "1.4.1",
58
58
  "@vueuse/core": "10.1.2",
59
- "@waline/client": "^2.15.5",
60
- "async-validator": "^4.2.5",
61
- "dayjs": "^1.11.7",
62
- "fflate": "^0.8.0",
59
+ "@waline/client": "2.15.5",
60
+ "async-validator": "4.2.5",
61
+ "dayjs": "1.11.7",
62
+ "fflate": "0.8.0",
63
63
  "hotkeys-js": "3.10.2",
64
- "lodash": "^4.17.21",
65
- "memoize-one": "^6.0.0",
64
+ "lodash": "4.17.21",
65
+ "memoize-one": "6.0.0",
66
66
  "qrcode": "1.5.3",
67
67
  "resize-detector": "0.3.0",
68
- "sortablejs": "^1.15.0"
68
+ "sortablejs": "1.15.0"
69
69
  },
70
70
  "vetur": {
71
71
  "tags": "tags.json",
@@ -1,4 +1,4 @@
1
- const o = "0.0.147";
1
+ const o = "0.0.148";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  isAutoWidth: BooleanConstructor;
3
3
  updateAll: BooleanConstructor;
4
- }, () => JSX.Element | null, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
4
+ }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5
5
  isAutoWidth: BooleanConstructor;
6
6
  updateAll: BooleanConstructor;
7
7
  }>>, {
8
8
  isAutoWidth: boolean;
9
9
  updateAll: boolean;
10
- }>;
10
+ }, {}>;
11
11
  export default _default;
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  __epPropKey: true;
45
45
  };
46
46
  }>> & {
47
- "onPanel-change"?: ((...args: any[]) => any) | undefined;
48
47
  onPick?: ((...args: any[]) => any) | undefined;
48
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
49
49
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
50
50
  }, {
51
51
  format: string;
@@ -33,9 +33,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
33
  __epPropKey: true;
34
34
  };
35
35
  }>> & {
36
+ onPick?: ((...args: any[]) => any) | undefined;
36
37
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
37
38
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
38
- onPick?: ((...args: any[]) => any) | undefined;
39
39
  "onSet-picker-option"?: ((...args: any[]) => any) | undefined;
40
40
  }, {
41
41
  unlinkPanels: boolean;