@web-utils/form-ui 1.0.0-beta86 → 1.0.0-beta88

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 (212) hide show
  1. package/affix/index.mjs +1 -1
  2. package/chunks/{4kjeIiag2.mjs → 5RCAxanu2.mjs} +3 -3
  3. package/chunks/{vebd58-O.mjs → 9ec0Wti82.mjs} +1 -1
  4. package/chunks/{BxcsELcB2.mjs → B7BaAm4k2.mjs} +2 -2
  5. package/chunks/{DSTNXl142.mjs → BFhVUqpP2.mjs} +2 -2
  6. package/chunks/BLKcXIrX.mjs +517 -0
  7. package/chunks/{C8h_P_kl2.mjs → BSOrm2U4.mjs} +2 -2
  8. package/chunks/BbUUI4mF.mjs +204 -0
  9. package/chunks/{D_q3C3v4.mjs → BegZOXrr.mjs} +4 -4
  10. package/chunks/{BIy6bO4j.mjs → Bg01eBVa2.mjs} +2 -2
  11. package/chunks/{DJlgX5ty.mjs → BhPVs8Ju.mjs} +1 -1
  12. package/chunks/{DrvwVjzq2.mjs → BmbhIxPF2.mjs} +2 -2
  13. package/chunks/{BYu4QaK72.mjs → Br3whXEJ2.mjs} +2 -2
  14. package/chunks/{y1Q66LEa2.mjs → BuI82QMb2.mjs} +1 -1
  15. package/chunks/{CCpKg0cM.mjs → Bv7b2DXh2.mjs} +2 -2
  16. package/chunks/{ofu8wJKp.mjs → C-s-88fN2.mjs} +1 -1
  17. package/chunks/{CET31mBi.mjs → C54nZqvy2.mjs} +1 -1
  18. package/chunks/CBHGpbDK.mjs +56 -0
  19. package/chunks/CFpGTE5U2.mjs +221 -0
  20. package/chunks/CIihGrgY.mjs +30 -0
  21. package/chunks/{XQwnPkab2.mjs → CW021IPm2.mjs} +1 -1
  22. package/chunks/{CLn5E7NV.mjs → CW1nopZH.mjs} +1 -1
  23. package/chunks/CY2YrwMT.mjs +302 -0
  24. package/chunks/{DVF9q3oX.mjs → CdvD0NRo2.mjs} +2 -2
  25. package/chunks/Cf_h9S62.mjs +378 -0
  26. package/chunks/{8h-xBLL82.mjs → CixNVW_T2.mjs} +10 -10
  27. package/chunks/{By-W0XXn2.mjs → ClkLQjZ82.mjs} +1 -1
  28. package/chunks/CsNZt53l.mjs +4074 -0
  29. package/chunks/{HFLY8Wla.mjs → D1mQTnJ8.mjs} +181 -185
  30. package/chunks/{CjCNtCWd.mjs → D20CQ-B6.mjs} +1 -1
  31. package/chunks/{BxuM-fgJ.mjs → D2kLAzxW.mjs} +1 -1
  32. package/chunks/{tfaGdZX2.mjs → D8_fl5Oq.mjs} +4 -4
  33. package/chunks/{C28bnMcw.mjs → DC3DNg_r.mjs} +1 -1
  34. package/chunks/{DWN5uzm02.mjs → DL4xcGES2.mjs} +10 -10
  35. package/chunks/{SWO35fS42.mjs → Dd4RtBO02.mjs} +1 -1
  36. package/chunks/{3nLaRSbR2.mjs → DdHN2Nv72.mjs} +1 -1
  37. package/chunks/{BrSqLOi5.mjs → DmJaItEY.mjs} +6 -6
  38. package/chunks/{CkHQY4ME2.mjs → Dnapnskp2.mjs} +1 -1
  39. package/chunks/{vHsAJZRT.mjs → MUk_IdeO2.mjs} +2 -2
  40. package/chunks/NAZ8HFBg.mjs +340 -0
  41. package/chunks/{saZ_qJOT.mjs → aOv3rI7q.mjs} +1 -1
  42. package/chunks/{mqi8hesW2.mjs → dxZzZgUn.mjs} +2 -2
  43. package/chunks/{Tq3_dajC2.mjs → m5oFTe8Y2.mjs} +1 -1
  44. package/chunks/{Dst9_BmZ.mjs → n7IipIUY.mjs} +3 -3
  45. package/chunks/{SInS7QSL.mjs → vCOhFr2x.mjs} +1 -1
  46. package/constants/index.d.ts +2 -0
  47. package/constants/index.mjs +2 -2
  48. package/data-table-picker/index.mjs +1 -1
  49. package/dialog-form/index.d.ts +4 -0
  50. package/dialog-form/index.mjs +154 -0
  51. package/dialog-form/style.css +1 -0
  52. package/empty-view/index.d.ts +2 -2
  53. package/flex-box/index.mjs +1 -1
  54. package/flex-column/index.mjs +1 -1
  55. package/flex-item/index.mjs +1 -1
  56. package/flex-row/index.mjs +1 -1
  57. package/flow-designer/index.mjs +1 -1
  58. package/form-cascader/index.mjs +1 -1
  59. package/form-checkbox/index.mjs +1 -1
  60. package/form-checkbox-group/index.mjs +1 -1
  61. package/form-date-picker/index.d.ts +4 -4
  62. package/form-date-picker/index.mjs +1 -1
  63. package/form-holder/index.mjs +1 -1
  64. package/form-image/index.mjs +1 -1
  65. package/form-input/index.mjs +1 -1
  66. package/form-input-cron-expression/index.mjs +1 -1
  67. package/form-input-email/index.mjs +1 -1
  68. package/form-input-id-card/index.mjs +1 -1
  69. package/form-input-number/index.mjs +1 -1
  70. package/form-input-phone-number/index.mjs +1 -1
  71. package/form-input-tag/index.mjs +1 -1
  72. package/form-input-time/index.mjs +1 -1
  73. package/form-item/index.mjs +1 -1
  74. package/form-item-group/index.mjs +1 -1
  75. package/form-radio-group/index.mjs +1 -1
  76. package/form-rate/index.mjs +1 -1
  77. package/form-row/index.mjs +1 -1
  78. package/form-select/index.mjs +1 -1
  79. package/form-slider/index.mjs +1 -1
  80. package/form-switch/index.mjs +1 -1
  81. package/form-table/index.mjs +1 -1
  82. package/form-table-plus/index.mjs +1 -1
  83. package/form-text/index.mjs +1 -1
  84. package/form-textarea/index.mjs +1 -1
  85. package/form-time-select/index.mjs +1 -1
  86. package/form-tree-select/index.mjs +1 -1
  87. package/form-tree-select-multiple/index.mjs +1 -1
  88. package/form-view/index.mjs +2 -2
  89. package/fy-array/index.d.ts +234 -0
  90. package/fy-array/index.mjs +130 -0
  91. package/fy-array/style.css +1 -0
  92. package/fy-button/index.d.ts +18 -0
  93. package/fy-button/index.mjs +2 -0
  94. package/fy-button/style.css +1 -0
  95. package/fy-cascader/index.d.ts +298 -0
  96. package/fy-cascader/index.mjs +116 -0
  97. package/fy-checkbox/index.d.ts +231 -0
  98. package/fy-checkbox/index.mjs +100 -0
  99. package/fy-checkbox/style.css +1 -0
  100. package/fy-curd/index.d.ts +908 -0
  101. package/fy-curd/index.mjs +2 -0
  102. package/fy-date/index.d.ts +246 -0
  103. package/fy-date/index.mjs +79 -0
  104. package/fy-date/style.css +1 -0
  105. package/fy-dynamic/index.d.ts +268 -0
  106. package/fy-dynamic/index.mjs +2 -0
  107. package/fy-empty/index.d.ts +31 -0
  108. package/fy-empty/index.mjs +35 -0
  109. package/fy-empty/style.css +1 -0
  110. package/fy-form/index.d.ts +522 -0
  111. package/fy-form/index.mjs +2 -0
  112. package/fy-form/style.css +1 -0
  113. package/fy-input/index.d.ts +316 -0
  114. package/fy-input/index.mjs +122 -0
  115. package/fy-input-color/index.d.ts +235 -0
  116. package/fy-input-color/index.mjs +80 -0
  117. package/fy-input-icon/index.d.ts +244 -0
  118. package/fy-input-icon/index.mjs +133 -0
  119. package/fy-input-icon/style.css +1 -0
  120. package/fy-input-map/index.d.ts +266 -0
  121. package/fy-input-map/index.mjs +248 -0
  122. package/fy-input-map/style.css +1 -0
  123. package/fy-input-number/index.d.ts +266 -0
  124. package/fy-input-number/index.mjs +78 -0
  125. package/fy-input-table/index.d.ts +248 -0
  126. package/fy-input-table/index.mjs +166 -0
  127. package/fy-input-table/style.css +1 -0
  128. package/fy-input-tree/index.d.ts +351 -0
  129. package/fy-input-tree/index.mjs +266 -0
  130. package/fy-input-tree/style.css +1 -0
  131. package/fy-radio/index.d.ts +218 -0
  132. package/fy-radio/index.mjs +56 -0
  133. package/fy-radio/style.css +1 -0
  134. package/fy-rate/index.d.ts +288 -0
  135. package/fy-rate/index.mjs +90 -0
  136. package/fy-rate/style.css +1 -0
  137. package/fy-select/index.d.ts +324 -0
  138. package/fy-select/index.mjs +2 -0
  139. package/fy-select/style.css +1 -0
  140. package/fy-slider/index.d.ts +249 -0
  141. package/fy-slider/index.mjs +72 -0
  142. package/fy-switch/index.d.ts +229 -0
  143. package/fy-switch/index.mjs +71 -0
  144. package/fy-tabs/index.d.ts +20 -0
  145. package/fy-tabs/index.mjs +50 -0
  146. package/fy-time/index.d.ts +704 -0
  147. package/fy-time/index.mjs +85 -0
  148. package/fy-title/index.d.ts +224 -0
  149. package/fy-title/index.mjs +18 -0
  150. package/fy-title/style.css +1 -0
  151. package/fy-tree/index.d.ts +141 -0
  152. package/fy-tree/index.mjs +390 -0
  153. package/fy-tree/style.css +1 -0
  154. package/fy-u-editor/index.d.ts +116 -0
  155. package/fy-u-editor/index.mjs +2 -0
  156. package/fy-u-editor/style.css +1 -0
  157. package/fy-upload/index.d.ts +379 -0
  158. package/fy-upload/index.mjs +2 -0
  159. package/fy-upload/style.css +1 -0
  160. package/helper/avue.d.ts +36 -0
  161. package/helper/avue.mjs +35 -0
  162. package/helper/input.mjs +1 -1
  163. package/icon-temp/index.d.ts +19 -0
  164. package/icon-temp/index.mjs +27 -0
  165. package/icon-temp/style.css +1 -0
  166. package/image-viewer/index.d.ts +1 -1
  167. package/index.css +1 -1
  168. package/index.d.ts +31 -1
  169. package/index.mjs +118 -90
  170. package/keyboard/index.mjs +1 -1
  171. package/monaco-editor/index.d.ts +126 -0
  172. package/monaco-editor/index.mjs +2 -0
  173. package/monaco-editor/style.css +1 -0
  174. package/package.json +3 -1
  175. package/pageable-table/index.d.ts +1 -1
  176. package/pageable-table/index.mjs +1 -1
  177. package/photo-swipe/index.mjs +1 -1
  178. package/resolver/components.mjs +1 -1
  179. package/split-pane/index.mjs +1 -1
  180. package/sub-table/index.mjs +1 -1
  181. package/sub-table-plus/index.mjs +1 -1
  182. package/table-column-def/index.d.ts +6 -6
  183. package/table-view/index.mjs +4 -4
  184. package/tag-render/index.d.ts +1 -1
  185. package/toolbar/index.mjs +1 -1
  186. package/vue-cron/index.mjs +1 -1
  187. package/vue-tags-input/index.d.ts +1 -1
  188. package/vue-tree-select/index.mjs +1 -1
  189. package/watermark/index.mjs +1 -1
  190. package/web-types.json +1 -1
  191. package/x-input-tag/index.mjs +1 -1
  192. package/chunks/{DCqyZyF6.mjs → BCYFaOiB.mjs} +0 -0
  193. package/chunks/{B1luuf_A2.mjs → BJDeTpmp2.mjs} +0 -0
  194. package/chunks/{BhHMGhJ8.mjs → BcsscZAM.mjs} +0 -0
  195. package/chunks/{DbcxJ45j.mjs → BfW25VbY.mjs} +1 -1
  196. package/chunks/{6dNVtIN32.mjs → BjccroM8.mjs} +0 -0
  197. package/chunks/{BTGrh7dw2.mjs → Br0vC3nS2.mjs} +0 -0
  198. package/chunks/{BM5LdxU72.mjs → CB0zQsKV2.mjs} +0 -0
  199. package/chunks/{Bs926z902.mjs → CHqxWrj7.mjs} +1 -1
  200. package/chunks/{B5c0s3IR.mjs → CJwAjhLy.mjs} +1 -1
  201. package/chunks/{BAG_R87k2.mjs → CZnwC17w.mjs} +0 -0
  202. package/chunks/{tVHVSu5h.mjs → CbedyG4s.mjs} +4 -4
  203. package/chunks/{BwL9Xz1F.mjs → Cp1olyWc.mjs} +0 -0
  204. package/chunks/{KOJEsarR2.mjs → CpmWELPU.mjs} +0 -0
  205. package/chunks/{C-zPVdz-.mjs → D9ft-f6n.mjs} +1 -1
  206. package/chunks/{PEU1JRcN2.mjs → DEHzWyyp.mjs} +0 -0
  207. package/chunks/{CHmZyvFr.mjs → DJe2Reym.mjs} +0 -0
  208. package/chunks/{CpsHWpwH2.mjs → DNq7pbXh2.mjs} +0 -0
  209. package/chunks/{X-ckP2Hj.mjs → DOLQ28wD.mjs} +0 -0
  210. package/chunks/{tqW2DSco.mjs → fT8tFJVO.mjs} +1 -1
  211. /package/chunks/{Dkw6LNCq2.mjs → jG7vu3RX.mjs} +0 -0
  212. /package/chunks/{b0ve2YgF.mjs → mQG01w6Y.mjs} +0 -0
@@ -0,0 +1,130 @@
1
+ import { u as e } from "../chunks/ClVh1Lek.mjs";
2
+ import { t } from "../chunks/B1MSrc6f.mjs";
3
+ import { t as n } from "../chunks/CIihGrgY.mjs";
4
+ import { n as r, t as i } from "../chunks/Cf_h9S62.mjs";
5
+ import { ElInput as a, ElLink as o, ElTooltip as s } from "element-plus/es";
6
+ import "element-plus/es/components/base/style/css";
7
+ import "element-plus/es/components/input/style/css";
8
+ import { Fragment as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, openBlock as h, renderList as g, resolveDynamicComponent as _, toDisplayString as v, withCtx as y } from "vue";
9
+ import "element-plus/es/components/tooltip/style/css";
10
+ import "element-plus/es/components/link/style/css";
11
+ //#region src/components/avue/fy-from/array/FyArray.vue
12
+ var b = {
13
+ name: "FyArray",
14
+ mixins: [r, i],
15
+ props: {
16
+ fileType: String,
17
+ alone: Boolean,
18
+ type: String,
19
+ limit: Number
20
+ },
21
+ computed: {
22
+ isLimit() {
23
+ return this.limit;
24
+ },
25
+ textLen() {
26
+ return this.text.length;
27
+ },
28
+ isImg() {
29
+ return this.type === "img";
30
+ },
31
+ isUrl() {
32
+ return this.type === "url";
33
+ }
34
+ },
35
+ methods: {
36
+ isMediaType(t) {
37
+ return e(t, this.fileType);
38
+ },
39
+ add(e) {
40
+ var t;
41
+ (t = this.text) == null || t.splice(e + 1, 0, "");
42
+ },
43
+ remove(e) {
44
+ var t;
45
+ (t = this.text) == null || t.splice(e, 1);
46
+ },
47
+ openImg() {
48
+ var e;
49
+ (e = this.text) == null || e.map((e) => ({
50
+ thumbUrl: e,
51
+ url: e,
52
+ type: this.fileType
53
+ }));
54
+ }
55
+ }
56
+ }, x = { class: "avue-array" }, S = { class: "avue-array__input" };
57
+ function C(e, t, r, i, b, C) {
58
+ let w = n, T = o, E = a, D = s;
59
+ return h(), d("div", x, [e.text ? (h(), l(w, {
60
+ key: 0,
61
+ type: "primary",
62
+ icon: "el-icon-plus",
63
+ circle: "",
64
+ size: e.size,
65
+ disabled: e.disabled,
66
+ onClick: t[0] || (t[0] = (e) => C.add())
67
+ }, null, 8, ["size", "disabled"])) : u("v-if", !0), (h(!0), d(c, null, g(e.text, (t, n) => (h(), d("div", {
68
+ key: n,
69
+ class: "avue-array__item"
70
+ }, [f("div", S, [m(D, {
71
+ placement: "bottom",
72
+ disabled: !C.isImg && !C.isUrl || !!t
73
+ }, {
74
+ content: y(() => [f("div", null, [C.isImg ? (h(), l(_(C.isMediaType(t)), {
75
+ key: 0,
76
+ style: { width: "200px" },
77
+ src: t,
78
+ controls: "controls",
79
+ onClick: (e) => C.openImg(n)
80
+ }, null, 8, ["src", "onClick"])) : C.isUrl ? (h(), l(T, {
81
+ key: 1,
82
+ type: "primary",
83
+ href: t,
84
+ target: e.target
85
+ }, {
86
+ default: y(() => [p(v(t), 1)]),
87
+ _: 2
88
+ }, 1032, ["href", "target"])) : u("v-if", !0)])]),
89
+ default: y(() => [m(E, {
90
+ modelValue: e.text[n],
91
+ "onUpdate:modelValue": (t) => e.text[n] = t,
92
+ size: e.size,
93
+ placeholder: e.placeholder,
94
+ disabled: e.disabled
95
+ }, null, 8, [
96
+ "modelValue",
97
+ "onUpdate:modelValue",
98
+ "size",
99
+ "placeholder",
100
+ "disabled"
101
+ ])]),
102
+ _: 2
103
+ }, 1032, ["disabled"]), e.disabled || e.readonly || r.alone ? u("v-if", !0) : (h(), d(c, { key: 0 }, [C.isLimit ? u("v-if", !0) : (h(), l(w, {
104
+ key: 0,
105
+ type: "primary",
106
+ icon: "el-icon-plus",
107
+ circle: "",
108
+ size: e.size,
109
+ disabled: e.disabled,
110
+ onClick: (e) => C.add(n)
111
+ }, null, 8, [
112
+ "size",
113
+ "disabled",
114
+ "onClick"
115
+ ])), m(w, {
116
+ type: "danger",
117
+ icon: "el-icon-minus",
118
+ circle: "",
119
+ size: e.size,
120
+ disabled: e.disabled,
121
+ onClick: (e) => C.remove(n)
122
+ }, null, 8, [
123
+ "size",
124
+ "disabled",
125
+ "onClick"
126
+ ])], 64))])]))), 128))]);
127
+ }
128
+ var w = /* @__PURE__ */ t(b, [["render", C]]);
129
+ //#endregion
130
+ export { w as default };
@@ -0,0 +1 @@
1
+ .avue-array__item{margin-bottom:5px}.avue-array__input{display:flex}.avue-array__input .el-input{flex:auto}.avue-array__input .el-button{margin-left:5px}
@@ -0,0 +1,18 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ icon: (ObjectConstructor | StringConstructor)[];
3
+ text: {
4
+ type: (BooleanConstructor | StringConstructor)[];
5
+ default: undefined;
6
+ };
7
+ type: StringConstructor;
8
+ }>, () => any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
+ icon: (ObjectConstructor | StringConstructor)[];
10
+ text: {
11
+ type: (BooleanConstructor | StringConstructor)[];
12
+ default: undefined;
13
+ };
14
+ type: StringConstructor;
15
+ }>> & Readonly<{}>, {
16
+ text: string | boolean;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../chunks/CIihGrgY.mjs";
2
+ export { e as default };
@@ -0,0 +1 @@
1
+ .el-button.is-text{color:var(--el-color-primary);padding:0}
@@ -0,0 +1,298 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ checkStrictly: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ emitPath: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ tags: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ expandTrigger: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ showAllLevels: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ lazy: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ lazyLoad: FunctionConstructor;
27
+ filterable: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ separator: {
32
+ type: StringConstructor;
33
+ };
34
+ }>, {}, {}, {
35
+ allProps(): {
36
+ label: any;
37
+ value: any;
38
+ children: any;
39
+ checkStrictly: boolean;
40
+ multiple: never;
41
+ emitPath: boolean;
42
+ lazy: boolean;
43
+ lazyLoad: (node: any, resolve: any) => void;
44
+ expandTrigger: string;
45
+ };
46
+ }, {}, {
47
+ mixins: {
48
+ methods: {
49
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
50
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
51
+ };
52
+ }[];
53
+ data(): {
54
+ stringMode: boolean;
55
+ name: string;
56
+ text: undefined;
57
+ propsHttpDefault: {
58
+ name: string;
59
+ url: string;
60
+ fileName: string;
61
+ res: string;
62
+ };
63
+ propsDefault: {
64
+ rowKey: string;
65
+ rowParentKey: string;
66
+ nodeKey: string;
67
+ label: string;
68
+ value: string;
69
+ desc: string;
70
+ groups: string;
71
+ title: string;
72
+ leaf: string;
73
+ children: string;
74
+ hasChildren: string;
75
+ labelText: string;
76
+ disabled: string;
77
+ };
78
+ };
79
+ props: {
80
+ blur: FunctionConstructor;
81
+ focus: FunctionConstructor;
82
+ change: FunctionConstructor;
83
+ click: FunctionConstructor;
84
+ typeformat: FunctionConstructor;
85
+ control: FunctionConstructor;
86
+ separator: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ params: {
91
+ type: ObjectConstructor;
92
+ default: () => {};
93
+ };
94
+ listType: {
95
+ type: StringConstructor;
96
+ };
97
+ tableData: {
98
+ type: ObjectConstructor;
99
+ };
100
+ modelValue: {};
101
+ column: {
102
+ type: ObjectConstructor;
103
+ default: () => {};
104
+ };
105
+ label: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ readonly: {
110
+ type: BooleanConstructor;
111
+ default: boolean;
112
+ };
113
+ size: StringConstructor;
114
+ tip: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ };
118
+ disabled: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ dataType: {
123
+ type: StringConstructor;
124
+ };
125
+ clearable: {
126
+ type: BooleanConstructor;
127
+ default: boolean;
128
+ };
129
+ type: {
130
+ type: StringConstructor;
131
+ default: string;
132
+ };
133
+ dicUrl: {
134
+ type: StringConstructor;
135
+ default: string;
136
+ };
137
+ dicMethod: {
138
+ type: StringConstructor;
139
+ default: string;
140
+ };
141
+ dicFormatter: FunctionConstructor;
142
+ dicQuery: {
143
+ type: ObjectConstructor;
144
+ default: () => {};
145
+ };
146
+ dic: {
147
+ type: ArrayConstructor;
148
+ default: () => never[];
149
+ };
150
+ placeholder: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ rules: {
155
+ type: ArrayConstructor;
156
+ };
157
+ min: {
158
+ type: NumberConstructor;
159
+ };
160
+ max: {
161
+ type: NumberConstructor;
162
+ };
163
+ multiple: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ button: {
168
+ type: BooleanConstructor;
169
+ default: boolean;
170
+ };
171
+ group: {
172
+ type: BooleanConstructor;
173
+ default: boolean;
174
+ };
175
+ row: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ prop: {
180
+ type: StringConstructor;
181
+ default: string;
182
+ };
183
+ border: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ popperClass: {
188
+ type: StringConstructor;
189
+ };
190
+ propsHttp: {
191
+ type: ObjectConstructor;
192
+ default: () => {
193
+ name: string;
194
+ url: string;
195
+ fileName: string;
196
+ res: string;
197
+ };
198
+ };
199
+ props: {
200
+ type: ObjectConstructor;
201
+ default: () => {
202
+ rowKey: string;
203
+ rowParentKey: string;
204
+ nodeKey: string;
205
+ label: string;
206
+ value: string;
207
+ desc: string;
208
+ groups: string;
209
+ title: string;
210
+ leaf: string;
211
+ children: string;
212
+ hasChildren: string;
213
+ labelText: string;
214
+ disabled: string;
215
+ };
216
+ };
217
+ };
218
+ watch: {
219
+ text: {
220
+ handler(this: any, n: any): void;
221
+ };
222
+ modelValue: {
223
+ handler(this: any): void;
224
+ };
225
+ };
226
+ computed: {
227
+ clearableVal(this: any): any;
228
+ componentName(this: any): string;
229
+ required(this: any): boolean;
230
+ isArray(this: any): boolean;
231
+ isString(this: any): boolean;
232
+ isNumber(this: any): boolean;
233
+ nameKey(this: any): any;
234
+ urlKey(this: any): any;
235
+ resKey(this: any): any;
236
+ groupsKey(this: any): any;
237
+ valueKey(this: any): any;
238
+ descKey(this: any): any;
239
+ leafKey(this: any): any;
240
+ labelKey(this: any): any;
241
+ childrenKey(this: any): any;
242
+ disabledKey(this: any): any;
243
+ idKey(this: any): any;
244
+ };
245
+ created(this: any): void;
246
+ } | {
247
+ methods: {
248
+ bindEvent(this: any, name: any, params: any): void;
249
+ initVal(this: any): void;
250
+ getLabelText(this: any, item: any): any;
251
+ handleFocus(this: any, event: any): void;
252
+ handleBlur(this: any, event: any): void;
253
+ handleClick(this: any, event: any): void;
254
+ handleChange(this: any, value: any): void;
255
+ };
256
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
257
+ checkStrictly: {
258
+ type: BooleanConstructor;
259
+ default: boolean;
260
+ };
261
+ emitPath: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
265
+ tags: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
269
+ expandTrigger: {
270
+ type: StringConstructor;
271
+ default: string;
272
+ };
273
+ showAllLevels: {
274
+ type: BooleanConstructor;
275
+ default: boolean;
276
+ };
277
+ lazy: {
278
+ type: BooleanConstructor;
279
+ default: boolean;
280
+ };
281
+ lazyLoad: FunctionConstructor;
282
+ filterable: {
283
+ type: BooleanConstructor;
284
+ default: boolean;
285
+ };
286
+ separator: {
287
+ type: StringConstructor;
288
+ };
289
+ }>> & Readonly<{}>, {
290
+ lazy: boolean;
291
+ showAllLevels: boolean;
292
+ filterable: boolean;
293
+ checkStrictly: boolean;
294
+ emitPath: boolean;
295
+ tags: boolean;
296
+ expandTrigger: string;
297
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
298
+ export default _default;
@@ -0,0 +1,116 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { n as t, t as n } from "../chunks/Cf_h9S62.mjs";
3
+ import { ElCascader as r } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import "element-plus/es/components/cascader/style/css";
6
+ import { createBlock as i, createElementBlock as a, openBlock as o, renderSlot as s, toDisplayString as c, withCtx as l } from "vue";
7
+ //#region src/components/avue/fy-from/cascader/FyCascader.vue
8
+ var u = {
9
+ name: "FyCascader",
10
+ mixins: [t, n],
11
+ props: {
12
+ checkStrictly: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ emitPath: {
17
+ type: Boolean,
18
+ default: !0
19
+ },
20
+ tags: {
21
+ type: Boolean,
22
+ default: !1
23
+ },
24
+ expandTrigger: {
25
+ type: String,
26
+ default: "hover"
27
+ },
28
+ showAllLevels: {
29
+ type: Boolean,
30
+ default: !0
31
+ },
32
+ lazy: {
33
+ type: Boolean,
34
+ default: !1
35
+ },
36
+ lazyLoad: Function,
37
+ filterable: {
38
+ type: Boolean,
39
+ default: !1
40
+ },
41
+ separator: { type: String }
42
+ },
43
+ data() {
44
+ return {};
45
+ },
46
+ computed: { allProps() {
47
+ return {
48
+ label: this.labelKey,
49
+ value: this.valueKey,
50
+ children: this.childrenKey,
51
+ checkStrictly: this.checkStrictly,
52
+ multiple: this.multiple,
53
+ emitPath: this.emitPath,
54
+ lazy: this.lazy,
55
+ lazyLoad: (e, t) => {
56
+ var n;
57
+ (n = this.lazyLoad) == null || n.call(this, e, (n) => {
58
+ let r = (e, t, n) => {
59
+ e.forEach((e) => {
60
+ e[this.valueKey] === t ? e[this.childrenKey] = n : e[this.childrenKey] && r(e[this.childrenKey]);
61
+ });
62
+ };
63
+ r(this.dic, e[this.valueKey], n), t(n);
64
+ });
65
+ },
66
+ expandTrigger: this.expandTrigger
67
+ };
68
+ } }
69
+ }, d = { key: 1 };
70
+ function f(e, t, n, u, f, p) {
71
+ let m = r;
72
+ return o(), i(m, {
73
+ modelValue: e.text,
74
+ "onUpdate:modelValue": t[0] || (t[0] = (t) => e.text = t),
75
+ options: e.dic,
76
+ placeholder: e.placeholder,
77
+ props: p.allProps,
78
+ size: e.size,
79
+ clearable: e.clearableVal,
80
+ "show-all-levels": n.showAllLevels,
81
+ filterable: n.filterable,
82
+ "popper-class": e.popperClass,
83
+ separator: n.separator,
84
+ disabled: e.disabled,
85
+ "collapse-tags": n.tags,
86
+ onFocus: e.handleFocus,
87
+ onBlur: e.handleBlur,
88
+ onClick: e.handleClick
89
+ }, {
90
+ default: l(({ data: t, node: n }) => [e.$slots.default ? s(e.$slots, "default", {
91
+ key: 0,
92
+ data: t,
93
+ node: n
94
+ }) : (o(), a("span", d, c(t[e.labelKey]), 1))]),
95
+ _: 3
96
+ }, 8, [
97
+ "modelValue",
98
+ "options",
99
+ "placeholder",
100
+ "props",
101
+ "size",
102
+ "clearable",
103
+ "show-all-levels",
104
+ "filterable",
105
+ "popper-class",
106
+ "separator",
107
+ "disabled",
108
+ "collapse-tags",
109
+ "onFocus",
110
+ "onBlur",
111
+ "onClick"
112
+ ]);
113
+ }
114
+ var p = /* @__PURE__ */ e(u, [["render", f]]);
115
+ //#endregion
116
+ export { p as default };