@silver-formily/element-plus 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/LICENSE +21 -21
  2. package/README.en-US.md +32 -32
  3. package/README.md +32 -32
  4. package/esm/__builtins__/configs/index.mjs.map +1 -1
  5. package/esm/__builtins__/index.mjs +12 -11
  6. package/esm/__builtins__/shared/index.mjs +11 -10
  7. package/esm/__builtins__/shared/loading.mjs.map +1 -1
  8. package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
  9. package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
  10. package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -1
  11. package/esm/__builtins__/shared/utils.d.ts +1 -0
  12. package/esm/__builtins__/shared/utils.mjs +23 -17
  13. package/esm/__builtins__/shared/utils.mjs.map +1 -1
  14. package/esm/array-base/index.mjs +56 -52
  15. package/esm/array-base/index.mjs.map +1 -1
  16. package/esm/array-base/symbols.mjs.map +1 -1
  17. package/esm/array-base/utils.d.ts +0 -1
  18. package/esm/array-base/utils.mjs +45 -46
  19. package/esm/array-base/utils.mjs.map +1 -1
  20. package/esm/array-cards/index.mjs +36 -33
  21. package/esm/array-cards/index.mjs.map +1 -1
  22. package/esm/array-collapse/index.mjs +39 -37
  23. package/esm/array-collapse/index.mjs.map +1 -1
  24. package/esm/array-collapse/utils.mjs +9 -2
  25. package/esm/array-collapse/utils.mjs.map +1 -1
  26. package/esm/array-items/index.mjs +38 -34
  27. package/esm/array-items/index.mjs.map +1 -1
  28. package/esm/array-list-tabs/index.mjs +38 -36
  29. package/esm/array-list-tabs/index.mjs.map +1 -1
  30. package/esm/array-list-tabs/utils.mjs +12 -5
  31. package/esm/array-list-tabs/utils.mjs.map +1 -1
  32. package/esm/array-table/index.mjs +63 -60
  33. package/esm/array-table/index.mjs.map +1 -1
  34. package/esm/array-table/utils.mjs +18 -11
  35. package/esm/array-table/utils.mjs.map +1 -1
  36. package/esm/array-tabs/index.mjs +28 -25
  37. package/esm/array-tabs/index.mjs.map +1 -1
  38. package/esm/autocomplete/index.mjs +24 -18
  39. package/esm/autocomplete/index.mjs.map +1 -1
  40. package/esm/cascader/index.mjs +22 -18
  41. package/esm/cascader/index.mjs.map +1 -1
  42. package/esm/checkbox/index.mjs +20 -16
  43. package/esm/checkbox/index.mjs.map +1 -1
  44. package/esm/color-picker/index.mjs +9 -6
  45. package/esm/color-picker/index.mjs.map +1 -1
  46. package/esm/color-picker-panel/index.mjs +9 -6
  47. package/esm/color-picker-panel/index.mjs.map +1 -1
  48. package/esm/date-picker/index.mjs +14 -11
  49. package/esm/date-picker/index.mjs.map +1 -1
  50. package/esm/date-picker/utils.mjs.map +1 -1
  51. package/esm/date-picker-panel/index.mjs +14 -11
  52. package/esm/date-picker-panel/index.mjs.map +1 -1
  53. package/esm/editable/editable.d.ts +2 -0
  54. package/esm/editable/index.d.ts +1 -0
  55. package/esm/editable/index.mjs +71 -66
  56. package/esm/editable/index.mjs.map +1 -1
  57. package/esm/form/form.mjs +6 -6
  58. package/esm/form/form.mjs.map +1 -1
  59. package/esm/form-button-group/form-button-group.d.ts +9 -0
  60. package/esm/form-button-group/index.d.ts +15 -0
  61. package/esm/form-button-group/index.mjs +47 -28
  62. package/esm/form-button-group/index.mjs.map +1 -1
  63. package/esm/form-button-group/utils.mjs +9 -2
  64. package/esm/form-button-group/utils.mjs.map +1 -1
  65. package/esm/form-collapse/index.mjs +21 -18
  66. package/esm/form-collapse/index.mjs.map +1 -1
  67. package/esm/form-collapse/utils.mjs.map +1 -1
  68. package/esm/form-dialog/index.mjs +22 -22
  69. package/esm/form-dialog/index.mjs.map +1 -1
  70. package/esm/form-drawer/index.mjs +21 -21
  71. package/esm/form-drawer/index.mjs.map +1 -1
  72. package/esm/form-grid/hooks.mjs.map +1 -1
  73. package/esm/form-grid/index.mjs +26 -22
  74. package/esm/form-grid/index.mjs.map +1 -1
  75. package/esm/form-item/index.d.ts +1 -0
  76. package/esm/form-item/index.mjs +102 -99
  77. package/esm/form-item/index.mjs.map +1 -1
  78. package/esm/form-item/types.d.ts +4 -0
  79. package/esm/form-item/utils.mjs.map +1 -1
  80. package/esm/form-layout/form-layout.mjs +14 -10
  81. package/esm/form-layout/form-layout.mjs.map +1 -1
  82. package/esm/form-layout/utils.mjs +23 -23
  83. package/esm/form-layout/utils.mjs.map +1 -1
  84. package/esm/form-step/index.mjs +30 -27
  85. package/esm/form-step/index.mjs.map +1 -1
  86. package/esm/form-step/utils.mjs.map +1 -1
  87. package/esm/form-tab/hooks.mjs.map +1 -1
  88. package/esm/form-tab/index.mjs +24 -22
  89. package/esm/form-tab/index.mjs.map +1 -1
  90. package/esm/form-tab/utils.mjs.map +1 -1
  91. package/esm/index.d.ts +2 -0
  92. package/esm/index.mjs +82 -78
  93. package/esm/index.mjs.map +1 -1
  94. package/esm/input/index.mjs +30 -26
  95. package/esm/input/index.mjs.map +1 -1
  96. package/esm/input-number/index.mjs +11 -8
  97. package/esm/input-number/index.mjs.map +1 -1
  98. package/esm/input-tag/index.mjs +20 -16
  99. package/esm/input-tag/index.mjs.map +1 -1
  100. package/esm/mention/index.mjs +24 -20
  101. package/esm/mention/index.mjs.map +1 -1
  102. package/esm/pagination/components/jumper.mjs.map +1 -1
  103. package/esm/pagination/components/next.mjs.map +1 -1
  104. package/esm/pagination/components/pager.mjs.map +1 -1
  105. package/esm/pagination/components/prev.mjs.map +1 -1
  106. package/esm/pagination/components/total.mjs.map +1 -1
  107. package/esm/pagination/pagination.mjs.map +1 -1
  108. package/esm/password/index.mjs.map +1 -1
  109. package/esm/preview-text/index.mjs +57 -53
  110. package/esm/preview-text/index.mjs.map +1 -1
  111. package/esm/preview-text/utils.mjs.map +1 -1
  112. package/esm/query-form/default-components.d.ts +5 -0
  113. package/esm/query-form/default-components.mjs +47 -0
  114. package/esm/query-form/default-components.mjs.map +1 -0
  115. package/esm/query-form/hooks.d.ts +25 -0
  116. package/esm/query-form/hooks.mjs +29 -0
  117. package/esm/query-form/hooks.mjs.map +1 -0
  118. package/esm/query-form/index.d.ts +117 -0
  119. package/esm/query-form/index.mjs +337 -0
  120. package/esm/query-form/index.mjs.map +1 -0
  121. package/esm/query-form/query-form-light.d.ts +27 -0
  122. package/esm/query-form/query-form.d.ts +52 -0
  123. package/esm/query-form/types.d.ts +44 -0
  124. package/esm/query-form/types.mjs +2 -0
  125. package/esm/query-form/types.mjs.map +1 -0
  126. package/esm/query-form-item/index.d.ts +151 -0
  127. package/esm/query-form-item/index.mjs +188 -0
  128. package/esm/query-form-item/index.mjs.map +1 -0
  129. package/esm/query-form-item/query-form-item.d.ts +96 -0
  130. package/esm/query-form-item/types.d.ts +46 -0
  131. package/esm/query-form-item/types.mjs +2 -0
  132. package/esm/query-form-item/types.mjs.map +1 -0
  133. package/esm/radio/index.mjs +29 -25
  134. package/esm/radio/index.mjs.map +1 -1
  135. package/esm/rate/index.mjs +13 -10
  136. package/esm/rate/index.mjs.map +1 -1
  137. package/esm/reset/index.mjs.map +1 -1
  138. package/esm/segmented/index.mjs +16 -12
  139. package/esm/segmented/index.mjs.map +1 -1
  140. package/esm/select/index.mjs +26 -22
  141. package/esm/select/index.mjs.map +1 -1
  142. package/esm/select-table/index.mjs +36 -33
  143. package/esm/select-table/index.mjs.map +1 -1
  144. package/esm/shared/overlay-elements.mjs +14 -11
  145. package/esm/shared/overlay-elements.mjs.map +1 -1
  146. package/esm/slider/index.mjs +13 -10
  147. package/esm/slider/index.mjs.map +1 -1
  148. package/esm/styles/form-button-group/index.css +1 -1
  149. package/esm/styles/form-item/index.css +1 -1
  150. package/esm/styles/query-form/index.css +1 -0
  151. package/esm/styles/query-form-item/index.css +1 -0
  152. package/esm/submit/index.mjs.map +1 -1
  153. package/esm/switch/index.mjs.map +1 -1
  154. package/esm/time-picker/index.mjs +9 -6
  155. package/esm/time-picker/index.mjs.map +1 -1
  156. package/esm/time-select/index.mjs +9 -6
  157. package/esm/time-select/index.mjs.map +1 -1
  158. package/esm/transfer/index.mjs.map +1 -1
  159. package/esm/tree/index.mjs +33 -29
  160. package/esm/tree/index.mjs.map +1 -1
  161. package/esm/tree/utils.mjs.map +1 -1
  162. package/esm/tree-select/index.mjs +18 -14
  163. package/esm/tree-select/index.mjs.map +1 -1
  164. package/esm/upload/index.mjs +10 -7
  165. package/esm/upload/index.mjs.map +1 -1
  166. package/esm/vendor/lodash.mjs +751 -663
  167. package/esm/vendor/lodash.mjs.map +1 -1
  168. package/esm/vendor/sizes.mjs.map +1 -1
  169. package/package.json +115 -115
package/esm/index.mjs CHANGED
@@ -1,99 +1,103 @@
1
1
  import { ArrayCards as e } from "./array-cards/index.mjs";
2
- import { ArrayCollapse as m } from "./array-collapse/index.mjs";
2
+ import { ArrayCollapse as t } from "./array-collapse/index.mjs";
3
3
  import { ArrayItems as f } from "./array-items/index.mjs";
4
4
  import { ArrayListTabs as a } from "./array-list-tabs/index.mjs";
5
5
  import { ArrayTable as s } from "./array-table/index.mjs";
6
6
  import { ArrayTabs as i } from "./array-tabs/index.mjs";
7
7
  import { Autocomplete as T } from "./autocomplete/index.mjs";
8
8
  import { Cascader as d } from "./cascader/index.mjs";
9
- import { Checkbox as n } from "./checkbox/index.mjs";
10
- import { ColorPicker as P } from "./color-picker/index.mjs";
11
- import { ColorPickerPanel as k } from "./color-picker-panel/index.mjs";
12
- import { DatePicker as A } from "./date-picker/index.mjs";
9
+ import { Checkbox as S } from "./checkbox/index.mjs";
10
+ import { ColorPicker as y } from "./color-picker/index.mjs";
11
+ import { ColorPickerPanel as C } from "./color-picker-panel/index.mjs";
12
+ import { DatePicker as k } from "./date-picker/index.mjs";
13
13
  import { DatePickerPanel as w } from "./date-picker-panel/index.mjs";
14
14
  import { Editable as g } from "./editable/index.mjs";
15
- import { FormButtonGroup as h } from "./form-button-group/index.mjs";
16
- import { FormCollapse as E, FormCollapseItem as G } from "./form-collapse/index.mjs";
17
- import { FormDialog as M } from "./form-dialog/index.mjs";
18
- import { FormDrawer as v } from "./form-drawer/index.mjs";
19
- import { FormGrid as U } from "./form-grid/index.mjs";
20
- import { FormBaseItem as q, FormItem as z, fieldFeedbackMapper as H } from "./form-item/index.mjs";
21
- import { FormStep as K } from "./form-step/index.mjs";
22
- import { composeFormTab as Q, composeFormTab as V } from "./form-tab/index.mjs";
23
- import { Input as X } from "./input/index.mjs";
24
- import { InputNumber as Z } from "./input-number/index.mjs";
25
- import { InputTag as rr } from "./input-tag/index.mjs";
26
- import { Mention as er } from "./mention/index.mjs";
27
- import { Password as mr } from "./password/index.mjs";
28
- import { PreviewText as fr } from "./preview-text/index.mjs";
29
- import { Radio as ar } from "./radio/index.mjs";
30
- import { Rate as sr } from "./rate/index.mjs";
31
- import { Reset as ir } from "./reset/index.mjs";
32
- import { Segmented as Tr } from "./segmented/index.mjs";
33
- import { Select as dr } from "./select/index.mjs";
34
- import { SelectTable as nr } from "./select-table/index.mjs";
35
- import { Slider as Pr } from "./slider/index.mjs";
36
- import { Submit as kr } from "./submit/index.mjs";
37
- import { Switch as Ar } from "./switch/index.mjs";
38
- import { TimePicker as wr } from "./time-picker/index.mjs";
39
- import { TimeSelect as gr } from "./time-select/index.mjs";
40
- import { Transfer as hr } from "./transfer/index.mjs";
41
- import { Tree as Er } from "./tree/index.mjs";
42
- import { TreeSelect as Lr } from "./tree-select/index.mjs";
43
- import { Upload as _r } from "./upload/index.mjs";
44
- import { _ as Nr } from "./form/form.mjs";
45
- import { _ as jr } from "./form-layout/form-layout.mjs";
46
- import { ElSpace as zr } from "element-plus";
15
+ import { _ as h } from "./form/form.mjs";
16
+ import { FormButtonGroup as E } from "./form-button-group/index.mjs";
17
+ import { FormCollapse as L, FormCollapseItem as M } from "./form-collapse/index.mjs";
18
+ import { FormDialog as _ } from "./form-dialog/index.mjs";
19
+ import { FormDrawer as N } from "./form-drawer/index.mjs";
20
+ import { FormGrid as j } from "./form-grid/index.mjs";
21
+ import { FormBaseItem as z, FormItem as H, fieldFeedbackMapper as J } from "./form-item/index.mjs";
22
+ import { _ as O } from "./form-layout/form-layout.mjs";
23
+ import { FormStep as W } from "./form-step/index.mjs";
24
+ import { composeFormTab as Y, composeFormTab as Z } from "./form-tab/index.mjs";
25
+ import { Input as rr } from "./input/index.mjs";
26
+ import { InputNumber as er } from "./input-number/index.mjs";
27
+ import { InputTag as tr } from "./input-tag/index.mjs";
28
+ import { Mention as fr } from "./mention/index.mjs";
29
+ import { Password as ar } from "./password/index.mjs";
30
+ import { PreviewText as sr } from "./preview-text/index.mjs";
31
+ import { QueryForm as ir } from "./query-form/index.mjs";
32
+ import { QueryFormItem as Tr } from "./query-form-item/index.mjs";
33
+ import { Radio as dr } from "./radio/index.mjs";
34
+ import { Rate as Sr } from "./rate/index.mjs";
35
+ import { Reset as yr } from "./reset/index.mjs";
36
+ import { Segmented as Cr } from "./segmented/index.mjs";
37
+ import { Select as kr } from "./select/index.mjs";
38
+ import { SelectTable as wr } from "./select-table/index.mjs";
39
+ import { Slider as gr } from "./slider/index.mjs";
40
+ import { ElSpace as hr } from "element-plus";
41
+ import { Submit as Er } from "./submit/index.mjs";
42
+ import { Switch as Lr } from "./switch/index.mjs";
43
+ import { TimePicker as Qr } from "./time-picker/index.mjs";
44
+ import { TimeSelect as vr } from "./time-select/index.mjs";
45
+ import { Transfer as Ur } from "./transfer/index.mjs";
46
+ import { Tree as qr } from "./tree/index.mjs";
47
+ import { TreeSelect as Hr } from "./tree-select/index.mjs";
48
+ import { Upload as Kr } from "./upload/index.mjs";
47
49
  export {
48
50
  e as ArrayCards,
49
- m as ArrayCollapse,
51
+ t as ArrayCollapse,
50
52
  f as ArrayItems,
51
53
  a as ArrayListTabs,
52
54
  s as ArrayTable,
53
55
  i as ArrayTabs,
54
56
  T as Autocomplete,
55
57
  d as Cascader,
56
- n as Checkbox,
57
- P as ColorPicker,
58
- k as ColorPickerPanel,
59
- A as DatePicker,
58
+ S as Checkbox,
59
+ y as ColorPicker,
60
+ C as ColorPickerPanel,
61
+ k as DatePicker,
60
62
  w as DatePickerPanel,
61
63
  g as Editable,
62
- Nr as Form,
63
- q as FormBaseItem,
64
- h as FormButtonGroup,
65
- E as FormCollapse,
66
- G as FormCollapseItem,
67
- M as FormDialog,
68
- v as FormDrawer,
69
- U as FormGrid,
70
- z as FormItem,
71
- jr as FormLayout,
72
- K as FormStep,
73
- Q as FormTab,
74
- X as Input,
75
- Z as InputNumber,
76
- rr as InputTag,
77
- er as Mention,
78
- mr as Password,
79
- fr as PreviewText,
80
- ar as Radio,
81
- sr as Rate,
82
- ir as Reset,
83
- Tr as Segmented,
84
- dr as Select,
85
- nr as SelectTable,
86
- Pr as Slider,
87
- zr as Space,
88
- kr as Submit,
89
- Ar as Switch,
90
- wr as TimePicker,
91
- gr as TimeSelect,
92
- hr as Transfer,
93
- Er as Tree,
94
- Lr as TreeSelect,
95
- _r as Upload,
96
- V as composeFormTab,
97
- H as fieldFeedbackMapper
64
+ h as Form,
65
+ z as FormBaseItem,
66
+ E as FormButtonGroup,
67
+ L as FormCollapse,
68
+ M as FormCollapseItem,
69
+ _ as FormDialog,
70
+ N as FormDrawer,
71
+ j as FormGrid,
72
+ H as FormItem,
73
+ O as FormLayout,
74
+ W as FormStep,
75
+ Y as FormTab,
76
+ rr as Input,
77
+ er as InputNumber,
78
+ tr as InputTag,
79
+ fr as Mention,
80
+ ar as Password,
81
+ sr as PreviewText,
82
+ ir as QueryForm,
83
+ Tr as QueryFormItem,
84
+ dr as Radio,
85
+ Sr as Rate,
86
+ yr as Reset,
87
+ Cr as Segmented,
88
+ kr as Select,
89
+ wr as SelectTable,
90
+ gr as Slider,
91
+ hr as Space,
92
+ Er as Submit,
93
+ Lr as Switch,
94
+ Qr as TimePicker,
95
+ vr as TimeSelect,
96
+ Ur as Transfer,
97
+ qr as Tree,
98
+ Hr as TreeSelect,
99
+ Kr as Upload,
100
+ Z as composeFormTab,
101
+ J as fieldFeedbackMapper
98
102
  };
99
103
  //# sourceMappingURL=index.mjs.map
package/esm/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,65 +1,69 @@
1
1
  import { connect as s, mapProps as a } from "@silver-formily/vue";
2
- import { PreviewText as i } from "../preview-text/index.mjs";
3
- import { defineComponent as d, useSlots as l, createBlock as c, openBlock as y, unref as p, normalizeProps as x, guardReactiveProps as I, createSlots as k, withCtx as t, renderSlot as r } from "vue";
4
- import { ElInput as v } from "element-plus";
2
+ import { ElInput as d } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import { defineComponent as l, useSlots as c, createBlock as y, openBlock as x, unref as p, normalizeProps as I, guardReactiveProps as k, createSlots as v, withCtx as r, renderSlot as o } from "vue";
6
+ import { mapReadPretty as i } from "../__builtins__/shared/transform-component.mjs";
5
7
  import { useCleanAttrs as P, composeExport as _ } from "../__builtins__/shared/utils.mjs";
6
- import { mapReadPretty as f } from "../__builtins__/shared/transform-component.mjs";
7
- const m = /* @__PURE__ */ d({
8
+ import { PreviewText as m } from "../preview-text/index.mjs";
9
+ import "@formily/core";
10
+ import "@silver-formily/reactive-vue";
11
+ const f = /* @__PURE__ */ l({
8
12
  name: "FInput",
9
13
  inheritAttrs: !1,
10
14
  __name: "input",
11
- setup(o) {
12
- const e = l(), { props: u } = P();
13
- return (n, A) => (y(), c(p(v), x(I(p(u))), k({ _: 2 }, [
15
+ setup(n) {
16
+ const e = c(), { props: u } = P();
17
+ return (t, A) => (x(), y(p(d), I(k(p(u))), v({ _: 2 }, [
14
18
  e.prefix ? {
15
19
  name: "prefix",
16
- fn: t(() => [
17
- r(n.$slots, "prefix")
20
+ fn: r(() => [
21
+ o(t.$slots, "prefix")
18
22
  ]),
19
23
  key: "0"
20
24
  } : void 0,
21
25
  e.suffix ? {
22
26
  name: "suffix",
23
- fn: t(() => [
24
- r(n.$slots, "suffix")
27
+ fn: r(() => [
28
+ o(t.$slots, "suffix")
25
29
  ]),
26
30
  key: "1"
27
31
  } : void 0,
28
32
  e.prepend ? {
29
33
  name: "prepend",
30
- fn: t(() => [
31
- r(n.$slots, "prepend")
34
+ fn: r(() => [
35
+ o(t.$slots, "prepend")
32
36
  ]),
33
37
  key: "2"
34
38
  } : void 0,
35
39
  e.append ? {
36
40
  name: "append",
37
- fn: t(() => [
38
- r(n.$slots, "append")
41
+ fn: r(() => [
42
+ o(t.$slots, "append")
39
43
  ]),
40
44
  key: "3"
41
45
  } : void 0
42
46
  ]), 1040));
43
47
  }
44
48
  }), $ = s(
45
- m,
49
+ f,
46
50
  a({
47
51
  readOnly: "readonly"
48
52
  }),
49
- f(i.Input)
53
+ i(m.Input)
50
54
  ), h = s(
51
- m,
52
- a((o) => ({
53
- ...o,
54
- readonly: o.readOnly,
55
+ f,
56
+ a((n) => ({
57
+ ...n,
58
+ readonly: n.readOnly,
55
59
  type: "textarea"
56
60
  })),
57
- f(i.Input)
58
- ), R = _($, {
61
+ i(m.Input)
62
+ ), F = _($, {
59
63
  TextArea: h
60
64
  });
61
65
  export {
62
- R as Input,
63
- R as default
66
+ F as Input,
67
+ F as default
64
68
  };
65
69
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\r\nimport { ElInput } from 'element-plus'\r\nimport { useCleanAttrs } from '../__builtins__/index'\r\n\r\ndefineOptions({\r\n name: 'FInput',\r\n inheritAttrs: false,\r\n})\r\n\r\nconst slots = defineSlots<{\r\n prefix?: () => any\r\n suffix?: () => any\r\n prepend?: () => any\r\n append?: () => any\r\n}>()\r\n\r\nconst { props: inputProps } = useCleanAttrs()\r\n</script>\r\n\r\n<template>\r\n <ElInput\r\n v-bind=\"inputProps\"\r\n >\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n <template v-if=\"slots.prepend\" #prepend>\r\n <slot name=\"prepend\" />\r\n </template>\r\n <template v-if=\"slots.append\" #append>\r\n <slot name=\"append\" />\r\n </template>\r\n </ElInput>\r\n</template>\r\n","import { connect, mapProps } from '@silver-formily/vue'\r\nimport { composeExport, mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\nimport FInput from './input.vue'\r\n\r\nconst InnerInput = connect<typeof FInput>(\r\n FInput,\r\n mapProps({\r\n readOnly: 'readonly',\r\n }),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nconst TextArea = connect<typeof FInput>(\r\n FInput,\r\n mapProps((props) => {\r\n return {\r\n ...props,\r\n readonly: props.readOnly,\r\n type: 'textarea',\r\n }\r\n }),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nexport const Input = composeExport(InnerInput, {\r\n TextArea,\r\n})\r\n\r\nexport default Input\r\n"],"names":["slots","_useSlots","inputProps","useCleanAttrs","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","InnerInput","connect","FInput","mapProps","mapReadPretty","PreviewText","TextArea","props","Input","composeExport"],"mappings":";;;;;;;;;;;AASA,UAAMA,IAAQC,EAAA,GAOR,EAAE,OAAOC,EAAA,IAAeC,EAAA;sBAI5BC,KAAAC,EAeUC,UAdAA,EAAAJ,CAAA,CAAU,CAAA,GAAAK,EAAA,EAAA,GAAA,KAAA;AAAA,MAEFP,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBQ,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;IC5BtBC,IAAaC;AAAA,EACjBC;AAAAA,EACAC,EAAS;AAAA,IACP,UAAU;AAAA,EAAA,CACX;AAAA,EACDC,EAAcC,EAAY,KAAK;AACjC,GAEMC,IAAWL;AAAA,EACfC;AAAAA,EACAC,EAAS,CAACI,OACD;AAAA,IACL,GAAGA;AAAA,IACH,UAAUA,EAAM;AAAA,IAChB,MAAM;AAAA,EAAA,EAET;AAAA,EACDH,EAAcC,EAAY,KAAK;AACjC,GAEaG,IAAQC,EAAcT,GAAY;AAAA,EAC7C,UAAAM;AACF,CAAC;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/input/input.vue","../../src/input/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { ElInput } from 'element-plus'\nimport { useCleanAttrs } from '../__builtins__/index'\n\ndefineOptions({\n name: 'FInput',\n inheritAttrs: false,\n})\n\nconst slots = defineSlots<{\n prefix?: () => any\n suffix?: () => any\n prepend?: () => any\n append?: () => any\n}>()\n\nconst { props: inputProps } = useCleanAttrs()\n</script>\n\n<template>\n <ElInput\n v-bind=\"inputProps\"\n >\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.prepend\" #prepend>\n <slot name=\"prepend\" />\n </template>\n <template v-if=\"slots.append\" #append>\n <slot name=\"append\" />\n </template>\n </ElInput>\n</template>\n","import { connect, mapProps } from '@silver-formily/vue'\nimport { composeExport, mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport FInput from './input.vue'\n\nconst InnerInput = connect<typeof FInput>(\n FInput,\n mapProps({\n readOnly: 'readonly',\n }),\n mapReadPretty(PreviewText.Input),\n)\n\nconst TextArea = connect<typeof FInput>(\n FInput,\n mapProps((props) => {\n return {\n ...props,\n readonly: props.readOnly,\n type: 'textarea',\n }\n }),\n mapReadPretty(PreviewText.Input),\n)\n\nexport const Input = composeExport(InnerInput, {\n TextArea,\n})\n\nexport default Input\n"],"names":["slots","_useSlots","inputProps","useCleanAttrs","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","InnerInput","connect","FInput","mapProps","mapReadPretty","PreviewText","TextArea","props","Input","composeExport"],"mappings":";;;;;;;;;;;;;;;AASA,UAAMA,IAAQC,EAAA,GAOR,EAAE,OAAOC,EAAA,IAAeC,EAAA;sBAI5BC,KAAAC,EAeUC,UAdAA,EAAAJ,CAAA,CAAU,CAAA,GAAAK,EAAA,EAAA,GAAA,KAAA;AAAA,MAEFP,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERT,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBQ,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETT,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBQ,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;IC5BtBC,IAAaC;AAAA,EACjBC;AAAAA,EACAC,EAAS;AAAA,IACP,UAAU;AAAA,EAAA,CACX;AAAA,EACDC,EAAcC,EAAY,KAAK;AACjC,GAEMC,IAAWL;AAAA,EACfC;AAAAA,EACAC,EAAS,CAACI,OACD;AAAA,IACL,GAAGA;AAAA,IACH,UAAUA,EAAM;AAAA,IAChB,MAAM;AAAA,EAAA,EAET;AAAA,EACDH,EAAcC,EAAY,KAAK;AACjC,GAEaG,IAAQC,EAAcT,GAAY;AAAA,EAC7C,UAAAM;AACF,CAAC;"}
@@ -1,9 +1,12 @@
1
1
  import { connect as r, mapProps as t } from "@silver-formily/vue";
2
- import { ElInputNumber as e } from "element-plus";
3
- import { PreviewText as n } from "../preview-text/index.mjs";
4
- import { mapReadPretty as m } from "../__builtins__/shared/transform-component.mjs";
5
- const u = r(
6
- e,
2
+ import { ElInputNumber as m } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import "vue";
6
+ import { mapReadPretty as p } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as e } from "../preview-text/index.mjs";
8
+ const f = r(
9
+ m,
7
10
  t(
8
11
  {
9
12
  readOnly: "readonly"
@@ -12,10 +15,10 @@ const u = r(
12
15
  controlsPosition: o.controlsPosition ?? "right"
13
16
  })
14
17
  ),
15
- m(n.Input)
18
+ p(e.Input)
16
19
  );
17
20
  export {
18
- u as InputNumber,
19
- u as default
21
+ f as InputNumber,
22
+ f as default
20
23
  };
21
24
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\r\nimport { ElInputNumber } from 'element-plus'\r\nimport { mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\n\r\nexport type InputNumberProps = typeof ElInputNumber\r\n\r\nexport const InputNumber = connect<typeof ElInputNumber>(\r\n ElInputNumber,\r\n mapProps(\r\n {\r\n readOnly: 'readonly',\r\n },\r\n (props) => {\r\n return {\r\n controlsPosition: props.controlsPosition ?? 'right',\r\n }\r\n },\r\n ),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nexport default InputNumber\r\n"],"names":["InputNumber","connect","ElInputNumber","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;AAOO,MAAMA,IAAcC;AAAA,EACzBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,kBAAkBA,EAAM,oBAAoB;AAAA,IAAA;AAAA,EAEhD;AAAA,EAEFC,EAAcC,EAAY,KAAK;AACjC;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/input-number/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElInputNumber } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\n\nexport type InputNumberProps = typeof ElInputNumber\n\nexport const InputNumber = connect<typeof ElInputNumber>(\n ElInputNumber,\n mapProps(\n {\n readOnly: 'readonly',\n },\n (props) => {\n return {\n controlsPosition: props.controlsPosition ?? 'right',\n }\n },\n ),\n mapReadPretty(PreviewText.Input),\n)\n\nexport default InputNumber\n"],"names":["InputNumber","connect","ElInputNumber","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;;;;AAOO,MAAMA,IAAcC;AAAA,EACzBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,kBAAkBA,EAAM,oBAAoB;AAAA,IAAA;AAAA,EAEhD;AAAA,EAEFC,EAAcC,EAAY,KAAK;AACjC;"}
@@ -1,46 +1,50 @@
1
- import { useField as l, connect as m, mapProps as u } from "@silver-formily/vue";
2
- import { PreviewText as d } from "../preview-text/index.mjs";
3
- import { defineComponent as c, useSlots as g, createBlock as x, openBlock as y, unref as o, normalizeProps as s, guardReactiveProps as a, createSlots as P, withCtx as r, renderSlot as n } from "vue";
4
- import { ElInputTag as _ } from "element-plus";
5
- import { useCleanAttrs as k } from "../__builtins__/shared/utils.mjs";
6
- import { mapReadPretty as v } from "../__builtins__/shared/transform-component.mjs";
1
+ import { useField as f, connect as l, mapProps as u } from "@silver-formily/vue";
2
+ import { ElInputTag as d } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import { defineComponent as c, useSlots as g, createBlock as x, openBlock as y, unref as o, normalizeProps as n, guardReactiveProps as s, createSlots as P, withCtx as r, renderSlot as i } from "vue";
6
+ import { mapReadPretty as _ } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as k } from "../preview-text/index.mjs";
8
+ import "@formily/core";
9
+ import "@silver-formily/reactive-vue";
10
+ import { useCleanAttrs as v } from "../__builtins__/shared/utils.mjs";
7
11
  const T = /* @__PURE__ */ c({
8
12
  name: "FInputTag",
9
13
  inheritAttrs: !1,
10
14
  __name: "input-tag",
11
15
  setup(S) {
12
- const e = g(), { props: i } = k(), p = l();
13
- return (t, h) => (y(), x(o(_), s(a(o(i))), P({ _: 2 }, [
16
+ const e = g(), { props: p } = v(), a = f();
17
+ return (t, h) => (y(), x(o(d), n(s(o(p))), P({ _: 2 }, [
14
18
  e.tag ? {
15
19
  name: "tag",
16
- fn: r((f) => [
17
- n(t.$slots, "tag", s(a({ ...f, field: o(p) })))
20
+ fn: r((m) => [
21
+ i(t.$slots, "tag", n(s({ ...m, field: o(a) })))
18
22
  ]),
19
23
  key: "0"
20
24
  } : void 0,
21
25
  e.prefix ? {
22
26
  name: "prefix",
23
27
  fn: r(() => [
24
- n(t.$slots, "prefix")
28
+ i(t.$slots, "prefix")
25
29
  ]),
26
30
  key: "1"
27
31
  } : void 0,
28
32
  e.suffix ? {
29
33
  name: "suffix",
30
34
  fn: r(() => [
31
- n(t.$slots, "suffix")
35
+ i(t.$slots, "suffix")
32
36
  ]),
33
37
  key: "2"
34
38
  } : void 0
35
39
  ]), 1040));
36
40
  }
37
- }), B = m(
41
+ }), E = l(
38
42
  T,
39
43
  u({ readOnly: "readonly", disabled: !0 }),
40
- v(d.Select, { multiple: !0 })
44
+ _(k.Select, { multiple: !0 })
41
45
  );
42
46
  export {
43
- B as InputTag,
44
- B as default
47
+ E as InputTag,
48
+ E as default
45
49
  };
46
50
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/input-tag/input-tag.vue","../../src/input-tag/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\r\nimport type { Field } from '@formily/core'\r\nimport { useField } from '@silver-formily/vue'\r\nimport { ElInputTag } from 'element-plus'\r\nimport { useCleanAttrs } from '../__builtins__'\r\n\r\ndefineOptions({\r\n name: 'FInputTag',\r\n inheritAttrs: false,\r\n})\r\n\r\nconst slots = defineSlots<{\r\n tag?: (scope: { value: string, index: number, field: Field | undefined }) => any\r\n prefix?: () => any\r\n suffix?: () => any\r\n}>()\r\n\r\nconst { props: inputTagProps } = useCleanAttrs()\r\nconst fieldRef = useField<Field>()\r\n</script>\r\n\r\n<template>\r\n <ElInputTag v-bind=\"inputTagProps\">\r\n <template v-if=\"slots.tag\" #tag=\"slotProps\">\r\n <slot name=\"tag\" v-bind=\"{ ...slotProps, field: fieldRef }\" />\r\n </template>\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n </ElInputTag>\r\n</template>\r\n","import { connect, mapProps } from '@silver-formily/vue'\r\nimport { mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\nimport FInputTag from './input-tag.vue'\r\n\r\nexport const InputTag = connect<typeof FInputTag>(\r\n FInputTag,\r\n mapProps({ readOnly: 'readonly', disabled: true }),\r\n mapReadPretty(PreviewText.Select, { multiple: true }),\r\n)\r\n\r\nexport default InputTag\r\n"],"names":["slots","_useSlots","inputTagProps","useCleanAttrs","fieldRef","useField","_openBlock","_createBlock","_unref","_createSlots","_withCtx","slotProps","_renderSlot","_ctx","_normalizeProps","_guardReactiveProps","InputTag","connect","FInputTag","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;;;;;AAWA,UAAMA,IAAQC,EAAA,GAMR,EAAE,OAAOC,EAAA,IAAkBC,EAAA,GAC3BC,IAAWC,EAAA;sBAIfC,KAAAC,EAUaC,UAVOA,EAAAN,CAAA,CAAa,CAAA,GAAAO,EAAA,EAAA,GAAA,KAAA;AAAA,MACfT,EAAM;cAAM;AAAA,QAC1B,IAAAU,EAAA,CAD+BC,MAAS;AAAA,UACxCC,EAA8DC,EAAA,QAAA,OAAAC,EAAAC,EAAA,EAAA,GAAhCJ,GAAS,OAASH,EAAAJ,CAAA,EAAA,CAAQ,CAAA,CAAA;AAAA,QAAA;;;MAE1CJ,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERb,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;ICzBfG,IAAWC;AAAA,EACtBC;AAAAA,EACAC,EAAS,EAAE,UAAU,YAAY,UAAU,IAAM;AAAA,EACjDC,EAAcC,EAAY,QAAQ,EAAE,UAAU,IAAM;AACtD;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/input-tag/input-tag.vue","../../src/input-tag/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Field } from '@formily/core'\nimport { useField } from '@silver-formily/vue'\nimport { ElInputTag } from 'element-plus'\nimport { useCleanAttrs } from '../__builtins__'\n\ndefineOptions({\n name: 'FInputTag',\n inheritAttrs: false,\n})\n\nconst slots = defineSlots<{\n tag?: (scope: { value: string, index: number, field: Field | undefined }) => any\n prefix?: () => any\n suffix?: () => any\n}>()\n\nconst { props: inputTagProps } = useCleanAttrs()\nconst fieldRef = useField<Field>()\n</script>\n\n<template>\n <ElInputTag v-bind=\"inputTagProps\">\n <template v-if=\"slots.tag\" #tag=\"slotProps\">\n <slot name=\"tag\" v-bind=\"{ ...slotProps, field: fieldRef }\" />\n </template>\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n </ElInputTag>\n</template>\n","import { connect, mapProps } from '@silver-formily/vue'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport FInputTag from './input-tag.vue'\n\nexport const InputTag = connect<typeof FInputTag>(\n FInputTag,\n mapProps({ readOnly: 'readonly', disabled: true }),\n mapReadPretty(PreviewText.Select, { multiple: true }),\n)\n\nexport default InputTag\n"],"names":["slots","_useSlots","inputTagProps","useCleanAttrs","fieldRef","useField","_openBlock","_createBlock","_unref","_createSlots","_withCtx","slotProps","_renderSlot","_ctx","_normalizeProps","_guardReactiveProps","InputTag","connect","FInputTag","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;;;;;;;;;AAWA,UAAMA,IAAQC,EAAA,GAMR,EAAE,OAAOC,EAAA,IAAkBC,EAAA,GAC3BC,IAAWC,EAAA;sBAIfC,KAAAC,EAUaC,UAVOA,EAAAN,CAAA,CAAa,CAAA,GAAAO,EAAA,EAAA,GAAA,KAAA;AAAA,MACfT,EAAM;cAAM;AAAA,QAC1B,IAAAU,EAAA,CAD+BC,MAAS;AAAA,UACxCC,EAA8DC,EAAA,QAAA,OAAAC,EAAAC,EAAA,EAAA,GAAhCJ,GAAS,OAASH,EAAAJ,CAAA,EAAA,CAAQ,CAAA,CAAA;AAAA,QAAA;;;MAE1CJ,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERb,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBY,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;;;ICzBfG,IAAWC;AAAA,EACtBC;AAAAA,EACAC,EAAS,EAAE,UAAU,YAAY,UAAU,IAAM;AAAA,EACjDC,EAAcC,EAAY,QAAQ,EAAE,UAAU,IAAM;AACtD;"}
@@ -1,28 +1,32 @@
1
1
  import { useField as u, connect as c, mapProps as v } from "@silver-formily/vue";
2
- import { PreviewText as y } from "../preview-text/index.mjs";
3
- import { defineComponent as k, useSlots as h, computed as $, createBlock as P, openBlock as S, unref as s, normalizeProps as p, guardReactiveProps as l, createSlots as g, withCtx as n, renderSlot as r } from "vue";
4
- import { ElMention as b } from "element-plus";
5
- import { useCleanAttrs as M } from "../__builtins__/shared/utils.mjs";
6
- import { mapReadPretty as w } from "../__builtins__/shared/transform-component.mjs";
2
+ import { ElMention as y } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import { defineComponent as k, useSlots as h, computed as $, createBlock as P, openBlock as S, unref as i, normalizeProps as p, guardReactiveProps as l, createSlots as g, withCtx as n, renderSlot as r } from "vue";
6
+ import { mapReadPretty as b } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as M } from "../preview-text/index.mjs";
8
+ import "@formily/core";
9
+ import "@silver-formily/reactive-vue";
10
+ import { useCleanAttrs as w } from "../__builtins__/shared/utils.mjs";
7
11
  const C = /* @__PURE__ */ k({
8
12
  name: "FMention",
9
13
  inheritAttrs: !1,
10
14
  __name: "mention",
11
15
  setup(R) {
12
- const o = h(), { props: d } = M(), t = u(), f = $(() => {
13
- const e = d.value, { onSearch: a } = e;
14
- return a ? {
16
+ const o = h(), { props: d } = w(), t = u(), f = $(() => {
17
+ const e = d.value, { onSearch: s } = e;
18
+ return s ? {
15
19
  ...e,
16
- onSearch(i, m) {
17
- return a(
18
- i,
20
+ onSearch(a, m) {
21
+ return s(
22
+ a,
19
23
  m,
20
24
  t.value
21
25
  );
22
26
  }
23
27
  } : e;
24
28
  });
25
- return (e, a) => (S(), P(s(b), p(l(f.value)), g({ _: 2 }, [
29
+ return (e, s) => (S(), P(i(y), p(l(f.value)), g({ _: 2 }, [
26
30
  o.prefix ? {
27
31
  name: "prefix",
28
32
  fn: n(() => [
@@ -54,21 +58,21 @@ const C = /* @__PURE__ */ k({
54
58
  o.header ? {
55
59
  name: "header",
56
60
  fn: n(() => [
57
- r(e.$slots, "header", { field: s(t) })
61
+ r(e.$slots, "header", { field: i(t) })
58
62
  ]),
59
63
  key: "4"
60
64
  } : void 0,
61
65
  o.footer ? {
62
66
  name: "footer",
63
67
  fn: n(() => [
64
- r(e.$slots, "footer", { field: s(t) })
68
+ r(e.$slots, "footer", { field: i(t) })
65
69
  ]),
66
70
  key: "5"
67
71
  } : void 0,
68
72
  o.label ? {
69
73
  name: "label",
70
- fn: n((i) => [
71
- r(e.$slots, "label", p(l({ ...i, field: s(t) })))
74
+ fn: n((a) => [
75
+ r(e.$slots, "label", p(l({ ...a, field: i(t) })))
72
76
  ]),
73
77
  key: "6"
74
78
  } : void 0,
@@ -81,13 +85,13 @@ const C = /* @__PURE__ */ k({
81
85
  } : void 0
82
86
  ]), 1040));
83
87
  }
84
- }), I = c(
88
+ }), j = c(
85
89
  C,
86
90
  v({ dataSource: "options", readOnly: "readonly", loading: !0, disabled: !0 }),
87
- w(y.Input)
91
+ b(M.Input)
88
92
  );
89
93
  export {
90
- I as Mention,
91
- I as default
94
+ j as Mention,
95
+ j as default
92
96
  };
93
97
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/mention/mention.vue","../../src/mention/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\r\nimport type { Field } from '@formily/core'\r\nimport type { MentionOption } from 'element-plus/es/components/mention'\r\nimport { useField } from '@silver-formily/vue'\r\nimport { ElMention } from 'element-plus'\r\nimport { computed } from 'vue'\r\nimport { useCleanAttrs } from '../__builtins__'\r\n\r\ndefineOptions({\r\n name: 'FMention',\r\n inheritAttrs: false,\r\n})\r\n\r\nconst slots = defineSlots<{\r\n label?: (scope: { item: MentionOption, index: number, field: Field | undefined }) => any\r\n header?: (scope: { field: Field | undefined }) => any\r\n footer?: (scope: { field: Field | undefined }) => any\r\n loading?: () => any\r\n prefix?: () => any\r\n suffix?: () => any\r\n prepend?: () => any\r\n append?: () => any\r\n}>()\r\n\r\nconst { props: rawMentionProps } = useCleanAttrs()\r\nconst fieldRef = useField<Field>()\r\n\r\nconst mentionProps = computed(() => {\r\n const props = rawMentionProps.value\r\n const { onSearch } = props\r\n if (!onSearch) {\r\n return props\r\n }\r\n\r\n return {\r\n ...props,\r\n onSearch(pattern: string, prefix: string) {\r\n return (onSearch as (pattern: string, prefix: string, field?: Field) => any)(\r\n pattern,\r\n prefix,\r\n fieldRef.value,\r\n )\r\n },\r\n }\r\n})\r\n</script>\r\n\r\n<template>\r\n <ElMention v-bind=\"mentionProps\">\r\n <template v-if=\"slots.prefix\" #prefix>\r\n <slot name=\"prefix\" />\r\n </template>\r\n <template v-if=\"slots.suffix\" #suffix>\r\n <slot name=\"suffix\" />\r\n </template>\r\n <template v-if=\"slots.prepend\" #prepend>\r\n <slot name=\"prepend\" />\r\n </template>\r\n <template v-if=\"slots.append\" #append>\r\n <slot name=\"append\" />\r\n </template>\r\n <template v-if=\"slots.header\" #header>\r\n <slot name=\"header\" :field=\"fieldRef\" />\r\n </template>\r\n <template v-if=\"slots.footer\" #footer>\r\n <slot name=\"footer\" :field=\"fieldRef\" />\r\n </template>\r\n <template v-if=\"slots.label\" #label=\"slotProps\">\r\n <slot name=\"label\" v-bind=\"{ ...slotProps, field: fieldRef }\" />\r\n </template>\r\n <template v-if=\"slots.loading\" #loading>\r\n <slot name=\"loading\" />\r\n </template>\r\n </ElMention>\r\n</template>\r\n","import { connect, mapProps } from '@silver-formily/vue'\r\nimport { mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\nimport FMention from './mention.vue'\r\n\r\nexport const Mention = connect<typeof FMention>(\r\n FMention,\r\n mapProps({ dataSource: 'options', readOnly: 'readonly', loading: true, disabled: true }),\r\n mapReadPretty(PreviewText.Input),\r\n)\r\n\r\nexport default Mention\r\n"],"names":["slots","_useSlots","rawMentionProps","useCleanAttrs","fieldRef","useField","mentionProps","computed","props","onSearch","pattern","prefix","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","_withCtx","slotProps","_normalizeProps","_guardReactiveProps","Mention","connect","FMention","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;;;;;AAaA,UAAMA,IAAQC,EAAA,GAWR,EAAE,OAAOC,EAAA,IAAoBC,EAAA,GAC7BC,IAAWC,EAAA,GAEXC,IAAeC,EAAS,MAAM;AAClC,YAAMC,IAAQN,EAAgB,OACxB,EAAE,UAAAO,MAAaD;AACrB,aAAKC,IAIE;AAAA,QACL,GAAGD;AAAA,QACH,SAASE,GAAiBC,GAAgB;AACxC,iBAAQF;AAAA,YACNC;AAAA,YACAC;AAAA,YACAP,EAAS;AAAA,UAAA;AAAA,QAEb;AAAA,MAAA,IAXOI;AAAA,IAaX,CAAC;sBAICI,KAAAC,EAyBYC,UAzBOR,EAAA,KAAY,CAAA,GAAAS,EAAA,EAAA,GAAA,KAAA;AAAA,MACbf,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBgB,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETjB,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAS;AAAA,cAC7B,MAAwC;AAAA,UAAxCgB,EAAwCC,EAAA,QAAA,UAAA,EAAnB,OAAOH,EAAAV,CAAA,EAAA,CAAQ;AAAA,QAAA;;;MAEtBJ,EAAM;cAAS;AAAA,cAC7B,MAAwC;AAAA,UAAxCgB,EAAwCC,EAAA,QAAA,UAAA,EAAnB,OAAOH,EAAAV,CAAA,EAAA,CAAQ;AAAA,QAAA;;;MAEtBJ,EAAM;cAAQ;AAAA,QAC5B,IAAAkB,EAAA,CADmCC,MAAS;AAAA,UAC5CH,EAAgEC,EAAA,QAAA,SAAAG,EAAAC,EAAA,EAAA,GAAhCF,GAAS,OAASL,EAAAV,CAAA,EAAA,CAAQ,CAAA,CAAA;AAAA,QAAA;;;MAE5CJ,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBgB,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;IClEhBK,IAAUC;AAAA,EACrBC;AAAAA,EACAC,EAAS,EAAE,YAAY,WAAW,UAAU,YAAY,SAAS,IAAM,UAAU,IAAM;AAAA,EACvFC,EAAcC,EAAY,KAAK;AACjC;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/mention/mention.vue","../../src/mention/index.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Field } from '@formily/core'\nimport type { MentionOption } from 'element-plus/es/components/mention'\nimport { useField } from '@silver-formily/vue'\nimport { ElMention } from 'element-plus'\nimport { computed } from 'vue'\nimport { useCleanAttrs } from '../__builtins__'\n\ndefineOptions({\n name: 'FMention',\n inheritAttrs: false,\n})\n\nconst slots = defineSlots<{\n label?: (scope: { item: MentionOption, index: number, field: Field | undefined }) => any\n header?: (scope: { field: Field | undefined }) => any\n footer?: (scope: { field: Field | undefined }) => any\n loading?: () => any\n prefix?: () => any\n suffix?: () => any\n prepend?: () => any\n append?: () => any\n}>()\n\nconst { props: rawMentionProps } = useCleanAttrs()\nconst fieldRef = useField<Field>()\n\nconst mentionProps = computed(() => {\n const props = rawMentionProps.value\n const { onSearch } = props\n if (!onSearch) {\n return props\n }\n\n return {\n ...props,\n onSearch(pattern: string, prefix: string) {\n return (onSearch as (pattern: string, prefix: string, field?: Field) => any)(\n pattern,\n prefix,\n fieldRef.value,\n )\n },\n }\n})\n</script>\n\n<template>\n <ElMention v-bind=\"mentionProps\">\n <template v-if=\"slots.prefix\" #prefix>\n <slot name=\"prefix\" />\n </template>\n <template v-if=\"slots.suffix\" #suffix>\n <slot name=\"suffix\" />\n </template>\n <template v-if=\"slots.prepend\" #prepend>\n <slot name=\"prepend\" />\n </template>\n <template v-if=\"slots.append\" #append>\n <slot name=\"append\" />\n </template>\n <template v-if=\"slots.header\" #header>\n <slot name=\"header\" :field=\"fieldRef\" />\n </template>\n <template v-if=\"slots.footer\" #footer>\n <slot name=\"footer\" :field=\"fieldRef\" />\n </template>\n <template v-if=\"slots.label\" #label=\"slotProps\">\n <slot name=\"label\" v-bind=\"{ ...slotProps, field: fieldRef }\" />\n </template>\n <template v-if=\"slots.loading\" #loading>\n <slot name=\"loading\" />\n </template>\n </ElMention>\n</template>\n","import { connect, mapProps } from '@silver-formily/vue'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport FMention from './mention.vue'\n\nexport const Mention = connect<typeof FMention>(\n FMention,\n mapProps({ dataSource: 'options', readOnly: 'readonly', loading: true, disabled: true }),\n mapReadPretty(PreviewText.Input),\n)\n\nexport default Mention\n"],"names":["slots","_useSlots","rawMentionProps","useCleanAttrs","fieldRef","useField","mentionProps","computed","props","onSearch","pattern","prefix","_openBlock","_createBlock","_unref","_createSlots","_renderSlot","_ctx","_withCtx","slotProps","_normalizeProps","_guardReactiveProps","Mention","connect","FMention","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;;;;;;;;;AAaA,UAAMA,IAAQC,EAAA,GAWR,EAAE,OAAOC,EAAA,IAAoBC,EAAA,GAC7BC,IAAWC,EAAA,GAEXC,IAAeC,EAAS,MAAM;AAClC,YAAMC,IAAQN,EAAgB,OACxB,EAAE,UAAAO,MAAaD;AACrB,aAAKC,IAIE;AAAA,QACL,GAAGD;AAAA,QACH,SAASE,GAAiBC,GAAgB;AACxC,iBAAQF;AAAA,YACNC;AAAA,YACAC;AAAA,YACAP,EAAS;AAAA,UAAA;AAAA,QAEb;AAAA,MAAA,IAXOI;AAAA,IAaX,CAAC;sBAICI,KAAAC,EAyBYC,UAzBOR,EAAA,KAAY,CAAA,GAAAS,EAAA,EAAA,GAAA,KAAA;AAAA,MACbf,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBgB,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;MAETjB,EAAM;cAAS;AAAA,cAC7B,MAAsB;AAAA,UAAtBgB,EAAsBC,EAAA,QAAA,QAAA;AAAA,QAAA;;;MAERjB,EAAM;cAAS;AAAA,cAC7B,MAAwC;AAAA,UAAxCgB,EAAwCC,EAAA,QAAA,UAAA,EAAnB,OAAOH,EAAAV,CAAA,EAAA,CAAQ;AAAA,QAAA;;;MAEtBJ,EAAM;cAAS;AAAA,cAC7B,MAAwC;AAAA,UAAxCgB,EAAwCC,EAAA,QAAA,UAAA,EAAnB,OAAOH,EAAAV,CAAA,EAAA,CAAQ;AAAA,QAAA;;;MAEtBJ,EAAM;cAAQ;AAAA,QAC5B,IAAAkB,EAAA,CADmCC,MAAS;AAAA,UAC5CH,EAAgEC,EAAA,QAAA,SAAAG,EAAAC,EAAA,EAAA,GAAhCF,GAAS,OAASL,EAAAV,CAAA,EAAA,CAAQ,CAAA,CAAA;AAAA,QAAA;;;MAE5CJ,EAAM;cAAU;AAAA,cAC9B,MAAuB;AAAA,UAAvBgB,EAAuBC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;IClEhBK,IAAUC;AAAA,EACrBC;AAAAA,EACAC,EAAS,EAAE,YAAY,WAAW,UAAU,YAAY,SAAS,IAAM,UAAU,IAAM;AAAA,EACvFC,EAAcC,EAAY,KAAK;AACjC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"jumper.mjs","sources":["../../../src/pagination/components/jumper.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Jumper from './jumper.vue'\r\nimport { componentSizes } from 'element-plus'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationJumperProps = buildProps({\r\n size: {\r\n type: String,\r\n values: componentSizes,\r\n },\r\n} as const)\r\n\r\nexport type PaginationJumperProps = ExtractPropTypes<\r\n typeof paginationJumperProps\r\n>\r\n\r\nexport type PaginationJumperInstance = InstanceType<typeof Jumper> & unknown\r\n"],"names":["paginationJumperProps","buildProps","componentSizes"],"mappings":";;AAKO,MAAMA,IAAwBC,EAAW;AAAA,EAC9C,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQC;AAAA,EAAA;AAEZ,CAAU;"}
1
+ {"version":3,"file":"jumper.mjs","sources":["../../../src/pagination/components/jumper.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Jumper from './jumper.vue'\nimport { componentSizes } from 'element-plus'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationJumperProps = buildProps({\n size: {\n type: String,\n values: componentSizes,\n },\n} as const)\n\nexport type PaginationJumperProps = ExtractPropTypes<\n typeof paginationJumperProps\n>\n\nexport type PaginationJumperInstance = InstanceType<typeof Jumper> & unknown\n"],"names":["paginationJumperProps","buildProps","componentSizes"],"mappings":";;AAKO,MAAMA,IAAwBC,EAAW;AAAA,EAC9C,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,QAAQC;AAAA,EAAA;AAEZ,CAAU;"}
@@ -1 +1 @@
1
- {"version":3,"file":"next.mjs","sources":["../../../src/pagination/components/next.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Next from './next.vue'\r\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationNextProps = buildProps({\r\n disabled: Boolean,\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n pageCount: {\r\n type: Number,\r\n default: 50,\r\n },\r\n nextText: {\r\n type: String,\r\n },\r\n nextIcon: {\r\n type: iconPropType,\r\n },\r\n} as const)\r\n\r\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\r\n\r\nexport type NextInstance = InstanceType<typeof Next> & unknown\r\n"],"names":["paginationNextProps","buildProps","iconPropType"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU;"}
1
+ {"version":3,"file":"next.mjs","sources":["../../../src/pagination/components/next.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next> & unknown\n"],"names":["paginationNextProps","buildProps","iconPropType"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU;"}
@@ -1 +1 @@
1
- {"version":3,"file":"pager.mjs","sources":["../../../src/pagination/components/pager.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Pager from './pager.vue'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationPagerProps = buildProps({\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n pageCount: {\r\n type: Number,\r\n required: true,\r\n },\r\n pagerCount: {\r\n type: Number,\r\n default: 7,\r\n },\r\n pageSize: {\r\n type: Number,\r\n },\r\n disabled: Boolean,\r\n} as const)\r\n\r\nexport type PaginationPagerProps = ExtractPropTypes<typeof paginationPagerProps>\r\n\r\nexport type PagerInstance = InstanceType<typeof Pager> & unknown\r\n"],"names":["paginationPagerProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,EAAA;AAAA,EAEZ,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AACZ,CAAU;"}
1
+ {"version":3,"file":"pager.mjs","sources":["../../../src/pagination/components/pager.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Pager from './pager.vue'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationPagerProps = buildProps({\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n required: true,\n },\n pagerCount: {\n type: Number,\n default: 7,\n },\n pageSize: {\n type: Number,\n },\n disabled: Boolean,\n} as const)\n\nexport type PaginationPagerProps = ExtractPropTypes<typeof paginationPagerProps>\n\nexport type PagerInstance = InstanceType<typeof Pager> & unknown\n"],"names":["paginationPagerProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,WAAW;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,EAAA;AAAA,EAEZ,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AACZ,CAAU;"}
@@ -1 +1 @@
1
- {"version":3,"file":"prev.mjs","sources":["../../../src/pagination/components/prev.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Prev from './prev.vue'\r\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationPrevProps = buildProps({\r\n disabled: Boolean,\r\n currentPage: {\r\n type: Number,\r\n default: 1,\r\n },\r\n prevText: {\r\n type: String,\r\n },\r\n prevIcon: {\r\n type: iconPropType,\r\n },\r\n} as const)\r\n\r\nexport const paginationPrevEmits = {\r\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\r\n}\r\n\r\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\r\n\r\nexport type PrevInstance = InstanceType<typeof Prev> & unknown\r\n"],"names":["paginationPrevProps","buildProps","iconPropType","paginationPrevEmits","evt"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU,GAEGC,IAAsB;AAAA,EACjC,OAAO,CAACC,MAAoBA,aAAe;AAC7C;"}
1
+ {"version":3,"file":"prev.mjs","sources":["../../../src/pagination/components/prev.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\nimport { buildProps, iconPropType } from 'element-plus/es/utils/index'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n prevIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev> & unknown\n"],"names":["paginationPrevProps","buildProps","iconPropType","paginationPrevEmits","evt"],"mappings":";;AAIO,MAAMA,IAAsBC,EAAW;AAAA,EAC5C,UAAU;AAAA,EACV,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAAA,EAEX,UAAU;AAAA,IACR,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAMC;AAAA,EAAA;AAEV,CAAU,GAEGC,IAAsB;AAAA,EACjC,OAAO,CAACC,MAAoBA,aAAe;AAC7C;"}
@@ -1 +1 @@
1
- {"version":3,"file":"total.mjs","sources":["../../../src/pagination/components/total.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\r\nimport type Total from './total.vue'\r\nimport { buildProps } from 'element-plus/es/utils/index'\r\n\r\nexport const paginationTotalProps = buildProps({\r\n total: {\r\n type: Number,\r\n default: 1000,\r\n },\r\n} as const)\r\n\r\nexport type PaginationTotalProps = ExtractPropTypes<typeof paginationTotalProps>\r\n\r\nexport type TotalInstance = InstanceType<typeof Total> & unknown\r\n"],"names":["paginationTotalProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAU;"}
1
+ {"version":3,"file":"total.mjs","sources":["../../../src/pagination/components/total.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\nimport type Total from './total.vue'\nimport { buildProps } from 'element-plus/es/utils/index'\n\nexport const paginationTotalProps = buildProps({\n total: {\n type: Number,\n default: 1000,\n },\n} as const)\n\nexport type PaginationTotalProps = ExtractPropTypes<typeof paginationTotalProps>\n\nexport type TotalInstance = InstanceType<typeof Total> & unknown\n"],"names":["paginationTotalProps","buildProps"],"mappings":";AAIO,MAAMA,IAAuBC,EAAW;AAAA,EAC7C,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,EAAA;AAEb,CAAU;"}