@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,249 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ step: NumberConstructor;
3
+ min: NumberConstructor;
4
+ max: NumberConstructor;
5
+ marks: NumberConstructor;
6
+ range: BooleanConstructor;
7
+ showTooltip: BooleanConstructor;
8
+ showInput: BooleanConstructor;
9
+ showStops: BooleanConstructor;
10
+ vertical: BooleanConstructor;
11
+ formatTooltip: FunctionConstructor;
12
+ height: StringConstructor;
13
+ showInputControls: BooleanConstructor;
14
+ tooltipClass: StringConstructor;
15
+ }>, {}, {}, {}, {
16
+ setPx: (val: any, defval?: string) => any;
17
+ }, {
18
+ mixins: {
19
+ methods: {
20
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
21
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
22
+ };
23
+ }[];
24
+ data(): {
25
+ stringMode: boolean;
26
+ name: string;
27
+ text: undefined;
28
+ propsHttpDefault: {
29
+ name: string;
30
+ url: string;
31
+ fileName: string;
32
+ res: string;
33
+ };
34
+ propsDefault: {
35
+ rowKey: string;
36
+ rowParentKey: string;
37
+ nodeKey: string;
38
+ label: string;
39
+ value: string;
40
+ desc: string;
41
+ groups: string;
42
+ title: string;
43
+ leaf: string;
44
+ children: string;
45
+ hasChildren: string;
46
+ labelText: string;
47
+ disabled: string;
48
+ };
49
+ };
50
+ props: {
51
+ blur: FunctionConstructor;
52
+ focus: FunctionConstructor;
53
+ change: FunctionConstructor;
54
+ click: FunctionConstructor;
55
+ typeformat: FunctionConstructor;
56
+ control: FunctionConstructor;
57
+ separator: {
58
+ type: StringConstructor;
59
+ default: string;
60
+ };
61
+ params: {
62
+ type: ObjectConstructor;
63
+ default: () => {};
64
+ };
65
+ listType: {
66
+ type: StringConstructor;
67
+ };
68
+ tableData: {
69
+ type: ObjectConstructor;
70
+ };
71
+ modelValue: {};
72
+ column: {
73
+ type: ObjectConstructor;
74
+ default: () => {};
75
+ };
76
+ label: {
77
+ type: StringConstructor;
78
+ default: string;
79
+ };
80
+ readonly: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ size: StringConstructor;
85
+ tip: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ };
89
+ disabled: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
93
+ dataType: {
94
+ type: StringConstructor;
95
+ };
96
+ clearable: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ type: {
101
+ type: StringConstructor;
102
+ default: string;
103
+ };
104
+ dicUrl: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ dicMethod: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ dicFormatter: FunctionConstructor;
113
+ dicQuery: {
114
+ type: ObjectConstructor;
115
+ default: () => {};
116
+ };
117
+ dic: {
118
+ type: ArrayConstructor;
119
+ default: () => never[];
120
+ };
121
+ placeholder: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ rules: {
126
+ type: ArrayConstructor;
127
+ };
128
+ min: {
129
+ type: NumberConstructor;
130
+ };
131
+ max: {
132
+ type: NumberConstructor;
133
+ };
134
+ multiple: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ button: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
142
+ group: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ row: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ prop: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ border: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ popperClass: {
159
+ type: StringConstructor;
160
+ };
161
+ propsHttp: {
162
+ type: ObjectConstructor;
163
+ default: () => {
164
+ name: string;
165
+ url: string;
166
+ fileName: string;
167
+ res: string;
168
+ };
169
+ };
170
+ props: {
171
+ type: ObjectConstructor;
172
+ default: () => {
173
+ rowKey: string;
174
+ rowParentKey: string;
175
+ nodeKey: string;
176
+ label: string;
177
+ value: string;
178
+ desc: string;
179
+ groups: string;
180
+ title: string;
181
+ leaf: string;
182
+ children: string;
183
+ hasChildren: string;
184
+ labelText: string;
185
+ disabled: string;
186
+ };
187
+ };
188
+ };
189
+ watch: {
190
+ text: {
191
+ handler(this: any, n: any): void;
192
+ };
193
+ modelValue: {
194
+ handler(this: any): void;
195
+ };
196
+ };
197
+ computed: {
198
+ clearableVal(this: any): any;
199
+ componentName(this: any): string;
200
+ required(this: any): boolean;
201
+ isArray(this: any): boolean;
202
+ isString(this: any): boolean;
203
+ isNumber(this: any): boolean;
204
+ nameKey(this: any): any;
205
+ urlKey(this: any): any;
206
+ resKey(this: any): any;
207
+ groupsKey(this: any): any;
208
+ valueKey(this: any): any;
209
+ descKey(this: any): any;
210
+ leafKey(this: any): any;
211
+ labelKey(this: any): any;
212
+ childrenKey(this: any): any;
213
+ disabledKey(this: any): any;
214
+ idKey(this: any): any;
215
+ };
216
+ created(this: any): void;
217
+ } | {
218
+ methods: {
219
+ bindEvent(this: any, name: any, params: any): void;
220
+ initVal(this: any): void;
221
+ getLabelText(this: any, item: any): any;
222
+ handleFocus(this: any, event: any): void;
223
+ handleBlur(this: any, event: any): void;
224
+ handleClick(this: any, event: any): void;
225
+ handleChange(this: any, value: any): void;
226
+ };
227
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
228
+ step: NumberConstructor;
229
+ min: NumberConstructor;
230
+ max: NumberConstructor;
231
+ marks: NumberConstructor;
232
+ range: BooleanConstructor;
233
+ showTooltip: BooleanConstructor;
234
+ showInput: BooleanConstructor;
235
+ showStops: BooleanConstructor;
236
+ vertical: BooleanConstructor;
237
+ formatTooltip: FunctionConstructor;
238
+ height: StringConstructor;
239
+ showInputControls: BooleanConstructor;
240
+ tooltipClass: StringConstructor;
241
+ }>> & Readonly<{}>, {
242
+ range: boolean;
243
+ showInput: boolean;
244
+ showInputControls: boolean;
245
+ showStops: boolean;
246
+ showTooltip: boolean;
247
+ vertical: boolean;
248
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
249
+ export default _default;
@@ -0,0 +1,72 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { g as t } from "../chunks/BbUUI4mF.mjs";
3
+ import { n, t as r } from "../chunks/Cf_h9S62.mjs";
4
+ import { ElSlider as i } from "element-plus/es";
5
+ import "element-plus/es/components/base/style/css";
6
+ import { createBlock as a, openBlock as o } from "vue";
7
+ import "element-plus/es/components/slider/style/css";
8
+ //#region src/components/avue/fy-from/slider/FySlider.vue
9
+ var s = {
10
+ name: "FySlider",
11
+ mixins: [n, r],
12
+ props: {
13
+ step: Number,
14
+ min: Number,
15
+ max: Number,
16
+ marks: Number,
17
+ range: Boolean,
18
+ showTooltip: Boolean,
19
+ showInput: Boolean,
20
+ showStops: Boolean,
21
+ vertical: Boolean,
22
+ formatTooltip: Function,
23
+ height: String,
24
+ showInputControls: Boolean,
25
+ tooltipClass: String
26
+ },
27
+ methods: { setPx: t }
28
+ };
29
+ function c(e, t, n, r, s, c) {
30
+ let l = i;
31
+ return o(), a(l, {
32
+ modelValue: e.text,
33
+ "onUpdate:modelValue": t[0] || (t[0] = (t) => e.text = t),
34
+ disabled: e.disabled,
35
+ vertical: n.vertical,
36
+ height: c.setPx(n.height),
37
+ step: n.step,
38
+ min: n.min,
39
+ max: n.max,
40
+ range: n.range,
41
+ "show-stops": n.showStops,
42
+ "show-tooltip": n.showTooltip,
43
+ "show-input": n.showInput,
44
+ "show-input-controls": n.showInputControls,
45
+ "input-size": e.size,
46
+ "tooltip-class": n.tooltipClass,
47
+ marks: n.marks,
48
+ "format-tooltip": n.formatTooltip,
49
+ onClick: e.handleClick
50
+ }, null, 8, [
51
+ "modelValue",
52
+ "disabled",
53
+ "vertical",
54
+ "height",
55
+ "step",
56
+ "min",
57
+ "max",
58
+ "range",
59
+ "show-stops",
60
+ "show-tooltip",
61
+ "show-input",
62
+ "show-input-controls",
63
+ "input-size",
64
+ "tooltip-class",
65
+ "marks",
66
+ "format-tooltip",
67
+ "onClick"
68
+ ]);
69
+ }
70
+ var l = /* @__PURE__ */ e(s, [["render", c]]);
71
+ //#endregion
72
+ export { l as default };
@@ -0,0 +1,229 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: (ArrayConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
3
+ activeIconClass: StringConstructor;
4
+ inactiveIconClass: StringConstructor;
5
+ activeColor: StringConstructor;
6
+ inactiveColor: StringConstructor;
7
+ len: NumberConstructor;
8
+ }>, {}, {}, {
9
+ active(): never;
10
+ inactive(): never;
11
+ }, {}, {
12
+ mixins: {
13
+ methods: {
14
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
15
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
16
+ };
17
+ }[];
18
+ data(): {
19
+ stringMode: boolean;
20
+ name: string;
21
+ text: undefined;
22
+ propsHttpDefault: {
23
+ name: string;
24
+ url: string;
25
+ fileName: string;
26
+ res: string;
27
+ };
28
+ propsDefault: {
29
+ rowKey: string;
30
+ rowParentKey: string;
31
+ nodeKey: string;
32
+ label: string;
33
+ value: string;
34
+ desc: string;
35
+ groups: string;
36
+ title: string;
37
+ leaf: string;
38
+ children: string;
39
+ hasChildren: string;
40
+ labelText: string;
41
+ disabled: string;
42
+ };
43
+ };
44
+ props: {
45
+ blur: FunctionConstructor;
46
+ focus: FunctionConstructor;
47
+ change: FunctionConstructor;
48
+ click: FunctionConstructor;
49
+ typeformat: FunctionConstructor;
50
+ control: FunctionConstructor;
51
+ separator: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ params: {
56
+ type: ObjectConstructor;
57
+ default: () => {};
58
+ };
59
+ listType: {
60
+ type: StringConstructor;
61
+ };
62
+ tableData: {
63
+ type: ObjectConstructor;
64
+ };
65
+ modelValue: {};
66
+ column: {
67
+ type: ObjectConstructor;
68
+ default: () => {};
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ readonly: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ };
78
+ size: StringConstructor;
79
+ tip: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ disabled: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ dataType: {
88
+ type: StringConstructor;
89
+ };
90
+ clearable: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
94
+ type: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ dicUrl: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ dicMethod: {
103
+ type: StringConstructor;
104
+ default: string;
105
+ };
106
+ dicFormatter: FunctionConstructor;
107
+ dicQuery: {
108
+ type: ObjectConstructor;
109
+ default: () => {};
110
+ };
111
+ dic: {
112
+ type: ArrayConstructor;
113
+ default: () => never[];
114
+ };
115
+ placeholder: {
116
+ type: StringConstructor;
117
+ default: string;
118
+ };
119
+ rules: {
120
+ type: ArrayConstructor;
121
+ };
122
+ min: {
123
+ type: NumberConstructor;
124
+ };
125
+ max: {
126
+ type: NumberConstructor;
127
+ };
128
+ multiple: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ button: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ group: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ row: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ prop: {
145
+ type: StringConstructor;
146
+ default: string;
147
+ };
148
+ border: {
149
+ type: BooleanConstructor;
150
+ default: boolean;
151
+ };
152
+ popperClass: {
153
+ type: StringConstructor;
154
+ };
155
+ propsHttp: {
156
+ type: ObjectConstructor;
157
+ default: () => {
158
+ name: string;
159
+ url: string;
160
+ fileName: string;
161
+ res: string;
162
+ };
163
+ };
164
+ props: {
165
+ type: ObjectConstructor;
166
+ default: () => {
167
+ rowKey: string;
168
+ rowParentKey: string;
169
+ nodeKey: string;
170
+ label: string;
171
+ value: string;
172
+ desc: string;
173
+ groups: string;
174
+ title: string;
175
+ leaf: string;
176
+ children: string;
177
+ hasChildren: string;
178
+ labelText: string;
179
+ disabled: string;
180
+ };
181
+ };
182
+ };
183
+ watch: {
184
+ text: {
185
+ handler(this: any, n: any): void;
186
+ };
187
+ modelValue: {
188
+ handler(this: any): void;
189
+ };
190
+ };
191
+ computed: {
192
+ clearableVal(this: any): any;
193
+ componentName(this: any): string;
194
+ required(this: any): boolean;
195
+ isArray(this: any): boolean;
196
+ isString(this: any): boolean;
197
+ isNumber(this: any): boolean;
198
+ nameKey(this: any): any;
199
+ urlKey(this: any): any;
200
+ resKey(this: any): any;
201
+ groupsKey(this: any): any;
202
+ valueKey(this: any): any;
203
+ descKey(this: any): any;
204
+ leafKey(this: any): any;
205
+ labelKey(this: any): any;
206
+ childrenKey(this: any): any;
207
+ disabledKey(this: any): any;
208
+ idKey(this: any): any;
209
+ };
210
+ created(this: any): void;
211
+ } | {
212
+ methods: {
213
+ bindEvent(this: any, name: any, params: any): void;
214
+ initVal(this: any): void;
215
+ getLabelText(this: any, item: any): any;
216
+ handleFocus(this: any, event: any): void;
217
+ handleBlur(this: any, event: any): void;
218
+ handleClick(this: any, event: any): void;
219
+ handleChange(this: any, value: any): void;
220
+ };
221
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
222
+ modelValue: (ArrayConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
223
+ activeIconClass: StringConstructor;
224
+ inactiveIconClass: StringConstructor;
225
+ activeColor: StringConstructor;
226
+ inactiveColor: StringConstructor;
227
+ len: NumberConstructor;
228
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
229
+ export default _default;
@@ -0,0 +1,71 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { n as t, t as n } from "../chunks/Cf_h9S62.mjs";
3
+ import { ElSwitch as r } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import { createBlock as i, openBlock as a } from "vue";
6
+ import "element-plus/es/components/switch/style/css";
7
+ //#region src/components/avue/fy-from/switch/FySwitch.vue
8
+ var o = {
9
+ name: "FySwitch",
10
+ mixins: [t, n],
11
+ props: {
12
+ modelValue: [
13
+ String,
14
+ Object,
15
+ Number,
16
+ Boolean,
17
+ Array
18
+ ],
19
+ activeIconClass: String,
20
+ inactiveIconClass: String,
21
+ activeColor: String,
22
+ inactiveColor: String,
23
+ len: Number
24
+ },
25
+ computed: {
26
+ active() {
27
+ return this.dic[1] || {};
28
+ },
29
+ inactive() {
30
+ return this.dic[0] || {};
31
+ }
32
+ }
33
+ };
34
+ function s(e, t, n, o, s, c) {
35
+ let l = r;
36
+ return a(), i(l, {
37
+ modelValue: e.text,
38
+ "onUpdate:modelValue": t[0] || (t[0] = (t) => e.text = t),
39
+ "active-text": c.active[e.labelKey],
40
+ "active-value": c.active[e.valueKey],
41
+ "inactive-value": c.inactive[e.valueKey],
42
+ "inactive-text": c.inactive[e.labelKey],
43
+ "active-icon-class": n.activeIconClass,
44
+ "inactive-icon-class": n.inactiveIconClass,
45
+ "active-color": n.activeColor,
46
+ "inactive-color": n.inactiveColor,
47
+ width: n.len,
48
+ disabled: e.disabled,
49
+ readonly: e.readonly,
50
+ size: e.size,
51
+ onClick: e.handleClick
52
+ }, null, 8, [
53
+ "modelValue",
54
+ "active-text",
55
+ "active-value",
56
+ "inactive-value",
57
+ "inactive-text",
58
+ "active-icon-class",
59
+ "inactive-icon-class",
60
+ "active-color",
61
+ "inactive-color",
62
+ "width",
63
+ "disabled",
64
+ "readonly",
65
+ "size",
66
+ "onClick"
67
+ ]);
68
+ }
69
+ var c = /* @__PURE__ */ e(o, [["render", s]]);
70
+ //#endregion
71
+ export { c as default };
@@ -0,0 +1,20 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ option: {
3
+ type: ObjectConstructor;
4
+ default: () => {};
5
+ };
6
+ }>, {}, {
7
+ active: string;
8
+ }, {}, {
9
+ changeTabs(active: any): void;
10
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], "change", import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
11
+ option: {
12
+ type: ObjectConstructor;
13
+ default: () => {};
14
+ };
15
+ }>> & Readonly<{
16
+ onChange?: ((...args: any[]) => any) | undefined;
17
+ }>, {
18
+ option: Record<string, any>;
19
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ export default _default;
@@ -0,0 +1,50 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { ElTabPane as t, ElTabs as n } from "element-plus/es";
3
+ import "element-plus/es/components/base/style/css";
4
+ import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, normalizeClass as l, openBlock as u, renderList as d, toDisplayString as f, withCtx as p } from "vue";
5
+ import "element-plus/es/components/tabs/style/css";
6
+ import "element-plus/es/components/tab-pane/style/css";
7
+ //#region src/components/avue/tabs/FyTabs.vue
8
+ var m = {
9
+ name: "FyTabs",
10
+ props: { option: {
11
+ type: Object,
12
+ default: () => ({})
13
+ } },
14
+ emits: ["change"],
15
+ data() {
16
+ return { active: "0" };
17
+ },
18
+ watch: { active() {
19
+ this.$emit("change", this.option.tabs[this.active]);
20
+ } },
21
+ methods: { changeTabs(e) {
22
+ this.active = `${e}`;
23
+ } }
24
+ }, h = { class: "avue-tabs" };
25
+ function g(e, m, g, _, v, y) {
26
+ let b = t, x = n;
27
+ return u(), a("div", h, [c(x, {
28
+ modelValue: v.active,
29
+ "onUpdate:modelValue": m[0] || (m[0] = (e) => v.active = e),
30
+ "tab-position": g.option.position,
31
+ type: g.option.type
32
+ }, {
33
+ default: p(() => [(u(!0), a(r, null, d(g.option.tabs, (e, t) => (u(), i(b, {
34
+ key: e.label,
35
+ name: `${t}`,
36
+ disabled: e.disabled
37
+ }, {
38
+ label: p(() => [o("span", null, [o("i", { class: l(e.icon) }, null, 2), s(" \xA0 " + f(e.label), 1)])]),
39
+ _: 2
40
+ }, 1032, ["name", "disabled"]))), 128))]),
41
+ _: 1
42
+ }, 8, [
43
+ "modelValue",
44
+ "tab-position",
45
+ "type"
46
+ ])]);
47
+ }
48
+ var _ = /* @__PURE__ */ e(m, [["render", g]]);
49
+ //#endregion
50
+ export { _ as default };