@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,266 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { n as t, t as n } from "../chunks/Cf_h9S62.mjs";
3
+ import { ElInput as r, ElOption as i, ElSelect as a, ElTree as o } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import "element-plus/es/components/input/style/css";
6
+ import { createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, normalizeClass as f, openBlock as p, renderSlot as m, toDisplayString as h, withCtx as g, withModifiers as _ } from "vue";
7
+ import { isBlank as v } from "@web-utils/core";
8
+ import "element-plus/es/components/select/style/css";
9
+ import "element-plus/es/components/option/style/css";
10
+ import "element-plus/es/components/tree/style/css";
11
+ //#region src/components/avue/fy-from/input-tree/FyInputTree.vue
12
+ var y = {
13
+ name: "FyInputTree",
14
+ mixins: [t, n],
15
+ props: {
16
+ nodeClick: Function,
17
+ treeLoad: Function,
18
+ checked: Function,
19
+ lazy: {
20
+ type: Boolean,
21
+ default: !1
22
+ },
23
+ leafOnly: {
24
+ type: Boolean,
25
+ default: !1
26
+ },
27
+ tags: {
28
+ type: Boolean,
29
+ default: !1
30
+ },
31
+ limit: {
32
+ type: Number,
33
+ default: 0
34
+ },
35
+ expandOnClickNode: {
36
+ type: Boolean,
37
+ default: !0
38
+ },
39
+ filter: {
40
+ type: Boolean,
41
+ default: !0
42
+ },
43
+ filterText: {
44
+ type: String,
45
+ default: ""
46
+ },
47
+ checkStrictly: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ accordion: {
52
+ type: Boolean,
53
+ default: !1
54
+ },
55
+ parent: {
56
+ type: Boolean,
57
+ default: !0
58
+ },
59
+ iconClass: String,
60
+ defaultExpandedKeys: Array,
61
+ defaultExpandAll: {
62
+ type: Boolean,
63
+ default: !1
64
+ },
65
+ popperAppendToBody: {
66
+ type: Boolean,
67
+ default: !0
68
+ }
69
+ },
70
+ data() {
71
+ return {
72
+ node: [],
73
+ filterValue: "",
74
+ dicList: []
75
+ };
76
+ },
77
+ computed: {
78
+ treeProps() {
79
+ let e = { ...this.props };
80
+ return e.isLeaf || (e.isLeaf = this.leafKey), e;
81
+ },
82
+ currentNodeKey() {
83
+ return this.multiple ? "" : this.text;
84
+ },
85
+ keysList() {
86
+ return this.multiple ? this.text : [this.text || ""];
87
+ },
88
+ labelShow() {
89
+ return [...this.node].map((e) => this.getLabelText(e));
90
+ }
91
+ },
92
+ watch: {
93
+ text() {
94
+ this.init();
95
+ },
96
+ dic: {
97
+ handler(e) {
98
+ this.dicList = e;
99
+ },
100
+ immediate: !0
101
+ },
102
+ dicList: {
103
+ handler() {
104
+ this.init();
105
+ },
106
+ immediate: !0
107
+ },
108
+ filterValue(e) {
109
+ this.$refs.tree.filter(e);
110
+ }
111
+ },
112
+ methods: {
113
+ handleClear() {
114
+ this.text = this.multiple ? [] : "", this.node = [], this.filterValue = "", this.$refs.tree.setCurrentKey(null), this.$refs.tree.setCheckedKeys([]);
115
+ },
116
+ handleTreeLoad(e, t) {
117
+ var n;
118
+ (n = this.treeLoad) == null || n.call(this, e, (n) => {
119
+ let r = (e, t, n) => {
120
+ e.forEach((e) => {
121
+ e[this.valueKey] === t ? e[this.childrenKey] = n : e[this.childrenKey] && r(e[this.childrenKey]);
122
+ });
123
+ };
124
+ r(this.dicList, e.key, n), t(n);
125
+ });
126
+ },
127
+ filterNode(e, t) {
128
+ return e ? t[this.labelKey].toLowerCase().indexOf(e.toLowerCase()) !== -1 : !0;
129
+ },
130
+ checkChange(e, t, n, r) {
131
+ this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((e) => this.text.push(e[this.valueKey])), typeof this.checked == "function" && this.checked(e, t, n, r);
132
+ },
133
+ getHalfList() {
134
+ let e = this.$refs.tree.getCheckedNodes(!1, !0);
135
+ return e = e.map((e) => e[this.valueKey]), e;
136
+ },
137
+ init() {
138
+ this.$nextTick(() => {
139
+ if (this.node = [], this.multiple) this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((e) => {
140
+ this.node.push(e);
141
+ });
142
+ else {
143
+ let e = this.$refs.tree.getNode(this.text);
144
+ if (e) {
145
+ let t = e.data;
146
+ this.$refs.tree.setCurrentKey(t[this.valueKey]), this.node.push(t);
147
+ }
148
+ }
149
+ }), this.disabledParentNode(this.dic, this.parent);
150
+ },
151
+ disabledParentNode(e, t) {
152
+ e.forEach((e) => {
153
+ let n = e[this.childrenKey];
154
+ v(n) || (t || (e.disabled = !0), this.disabledParentNode(n, t));
155
+ });
156
+ },
157
+ handleNodeClick(e, t, n) {
158
+ e.disabled || (typeof this.nodeClick == "function" && this.nodeClick(e, t, n), !this.multiple && (v(e[this.childrenKey]) && !this.multiple || this.parent) && (this.text = e[this.valueKey], this.$refs.main.blur()));
159
+ }
160
+ }
161
+ }, b = {
162
+ key: 0,
163
+ class: "avue-input-tree__filter"
164
+ }, x = { class: "avue-input-tree__item" }, S = {
165
+ key: 0,
166
+ class: "avue-input-tree__desc"
167
+ };
168
+ function C(e, t, n, v, y, C) {
169
+ let w = r, T = o, E = i, D = a;
170
+ return p(), s(D, {
171
+ ref: "main",
172
+ class: "avue-input-tree",
173
+ size: e.size,
174
+ multiple: e.multiple,
175
+ "multiple-limit": n.limit,
176
+ "collapse-tags": n.tags,
177
+ "model-value": C.labelShow,
178
+ clearable: e.clearableVal,
179
+ placeholder: e.placeholder,
180
+ "popper-class": e.popperClass,
181
+ "popper-append-to-body": n.popperAppendToBody,
182
+ disabled: e.disabled,
183
+ onClick: e.handleClick,
184
+ onFocus: e.handleFocus,
185
+ onBlur: e.handleBlur,
186
+ onClear: C.handleClear
187
+ }, {
188
+ default: g(() => [n.filter ? (p(), l("div", b, [d(w, {
189
+ modelValue: y.filterValue,
190
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => y.filterValue = e),
191
+ placeholder: n.filterText
192
+ }, null, 8, ["modelValue", "placeholder"])])) : c("v-if", !0), d(E, {
193
+ value: e.text,
194
+ class: "avue-input-tree__dropdown"
195
+ }, {
196
+ default: g(() => [d(T, {
197
+ ref: "tree",
198
+ data: y.dicList,
199
+ class: "avue-input-tree__select",
200
+ lazy: n.lazy,
201
+ load: C.handleTreeLoad,
202
+ "node-key": e.valueKey,
203
+ accordion: n.accordion,
204
+ "icon-class": n.iconClass,
205
+ "show-checkbox": e.multiple,
206
+ "expand-on-click-node": n.expandOnClickNode,
207
+ props: C.treeProps,
208
+ "check-strictly": n.checkStrictly,
209
+ "highlight-current": e.multiple !== !0,
210
+ "current-node-key": C.currentNodeKey,
211
+ "filter-node-method": C.filterNode,
212
+ "default-checked-keys": C.keysList,
213
+ "default-expanded-keys": n.defaultExpandedKeys ? n.defaultExpandedKeys : C.keysList,
214
+ "default-expand-all": n.defaultExpandAll,
215
+ onCheck: C.checkChange,
216
+ onNodeClick: _(C.handleNodeClick, ["self"])
217
+ }, {
218
+ default: g(({ data: t }) => [u("div", x, [m(e.$slots, "default", {
219
+ label: e.labelKey,
220
+ value: e.valueKey,
221
+ item: t
222
+ }, () => [u("span", { class: f({ "avue--disabled": t[e.disabledKey] }) }, h(t[e.labelKey]), 3), t[e.descKey] ? (p(), l("span", S, h(t[e.descKey]), 1)) : c("v-if", !0)])])]),
223
+ _: 3
224
+ }, 8, [
225
+ "data",
226
+ "lazy",
227
+ "load",
228
+ "node-key",
229
+ "accordion",
230
+ "icon-class",
231
+ "show-checkbox",
232
+ "expand-on-click-node",
233
+ "props",
234
+ "check-strictly",
235
+ "highlight-current",
236
+ "current-node-key",
237
+ "filter-node-method",
238
+ "default-checked-keys",
239
+ "default-expanded-keys",
240
+ "default-expand-all",
241
+ "onCheck",
242
+ "onNodeClick"
243
+ ])]),
244
+ _: 3
245
+ }, 8, ["value"])]),
246
+ _: 3
247
+ }, 8, [
248
+ "size",
249
+ "multiple",
250
+ "multiple-limit",
251
+ "collapse-tags",
252
+ "model-value",
253
+ "clearable",
254
+ "placeholder",
255
+ "popper-class",
256
+ "popper-append-to-body",
257
+ "disabled",
258
+ "onClick",
259
+ "onFocus",
260
+ "onBlur",
261
+ "onClear"
262
+ ]);
263
+ }
264
+ var w = /* @__PURE__ */ e(y, [["render", C]]);
265
+ //#endregion
266
+ export { w as default };
@@ -0,0 +1 @@
1
+ .avue-input-tree .el-tag__close{display:none!important}.avue-input-tree__dropdown{background-color:#fff;min-height:300px;max-height:600px;padding:0 10px;overflow:visible}.avue-input-tree__dropdown:hover,.avue-input-tree__dropdown.hover{background-color:#fff}.avue-input-tree__item{width:100%;display:inline-block}.avue-input-tree__filter{margin:5px 0 0;padding:0 10px}.avue-input-tree__select{padding:10px 0}.avue-input-tree__desc{float:right;color:#8492a6;margin-right:12px;font-size:13px}
@@ -0,0 +1,218 @@
1
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
+ modelValue: (ArrayConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
3
+ }>, {}, {
4
+ name: string;
5
+ }, {}, {}, {
6
+ mixins: {
7
+ methods: {
8
+ getSlotName(item: any | undefined, type: string | undefined, slot: string): any;
9
+ getSlotList(list: never[] | undefined, slot: string, propList: Array<any>): string[];
10
+ };
11
+ }[];
12
+ data(): {
13
+ stringMode: boolean;
14
+ name: string;
15
+ text: undefined;
16
+ propsHttpDefault: {
17
+ name: string;
18
+ url: string;
19
+ fileName: string;
20
+ res: string;
21
+ };
22
+ propsDefault: {
23
+ rowKey: string;
24
+ rowParentKey: string;
25
+ nodeKey: string;
26
+ label: string;
27
+ value: string;
28
+ desc: string;
29
+ groups: string;
30
+ title: string;
31
+ leaf: string;
32
+ children: string;
33
+ hasChildren: string;
34
+ labelText: string;
35
+ disabled: string;
36
+ };
37
+ };
38
+ props: {
39
+ blur: FunctionConstructor;
40
+ focus: FunctionConstructor;
41
+ change: FunctionConstructor;
42
+ click: FunctionConstructor;
43
+ typeformat: FunctionConstructor;
44
+ control: FunctionConstructor;
45
+ separator: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ params: {
50
+ type: ObjectConstructor;
51
+ default: () => {};
52
+ };
53
+ listType: {
54
+ type: StringConstructor;
55
+ };
56
+ tableData: {
57
+ type: ObjectConstructor;
58
+ };
59
+ modelValue: {};
60
+ column: {
61
+ type: ObjectConstructor;
62
+ default: () => {};
63
+ };
64
+ label: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ readonly: {
69
+ type: BooleanConstructor;
70
+ default: boolean;
71
+ };
72
+ size: StringConstructor;
73
+ tip: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ disabled: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ dataType: {
82
+ type: StringConstructor;
83
+ };
84
+ clearable: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ type: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ dicUrl: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ dicMethod: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ dicFormatter: FunctionConstructor;
101
+ dicQuery: {
102
+ type: ObjectConstructor;
103
+ default: () => {};
104
+ };
105
+ dic: {
106
+ type: ArrayConstructor;
107
+ default: () => never[];
108
+ };
109
+ placeholder: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ rules: {
114
+ type: ArrayConstructor;
115
+ };
116
+ min: {
117
+ type: NumberConstructor;
118
+ };
119
+ max: {
120
+ type: NumberConstructor;
121
+ };
122
+ multiple: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ button: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ group: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ row: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
138
+ prop: {
139
+ type: StringConstructor;
140
+ default: string;
141
+ };
142
+ border: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ popperClass: {
147
+ type: StringConstructor;
148
+ };
149
+ propsHttp: {
150
+ type: ObjectConstructor;
151
+ default: () => {
152
+ name: string;
153
+ url: string;
154
+ fileName: string;
155
+ res: string;
156
+ };
157
+ };
158
+ props: {
159
+ type: ObjectConstructor;
160
+ default: () => {
161
+ rowKey: string;
162
+ rowParentKey: string;
163
+ nodeKey: string;
164
+ label: string;
165
+ value: string;
166
+ desc: string;
167
+ groups: string;
168
+ title: string;
169
+ leaf: string;
170
+ children: string;
171
+ hasChildren: string;
172
+ labelText: string;
173
+ disabled: string;
174
+ };
175
+ };
176
+ };
177
+ watch: {
178
+ text: {
179
+ handler(this: any, n: any): void;
180
+ };
181
+ modelValue: {
182
+ handler(this: any): void;
183
+ };
184
+ };
185
+ computed: {
186
+ clearableVal(this: any): any;
187
+ componentName(this: any): string;
188
+ required(this: any): boolean;
189
+ isArray(this: any): boolean;
190
+ isString(this: any): boolean;
191
+ isNumber(this: any): boolean;
192
+ nameKey(this: any): any;
193
+ urlKey(this: any): any;
194
+ resKey(this: any): any;
195
+ groupsKey(this: any): any;
196
+ valueKey(this: any): any;
197
+ descKey(this: any): any;
198
+ leafKey(this: any): any;
199
+ labelKey(this: any): any;
200
+ childrenKey(this: any): any;
201
+ disabledKey(this: any): any;
202
+ idKey(this: any): any;
203
+ };
204
+ created(this: any): void;
205
+ } | {
206
+ methods: {
207
+ bindEvent(this: any, name: any, params: any): void;
208
+ initVal(this: any): void;
209
+ getLabelText(this: any, item: any): any;
210
+ handleFocus(this: any, event: any): void;
211
+ handleBlur(this: any, event: any): void;
212
+ handleClick(this: any, event: any): void;
213
+ handleChange(this: any, value: any): void;
214
+ };
215
+ }, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
216
+ modelValue: (ArrayConstructor | ObjectConstructor | BooleanConstructor | StringConstructor | NumberConstructor)[];
217
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
218
+ export default _default;
@@ -0,0 +1,56 @@
1
+ import { t as e } from "../chunks/B1MSrc6f.mjs";
2
+ import { n as t, t as n } from "../chunks/Cf_h9S62.mjs";
3
+ import { ElRadioGroup as r } from "element-plus/es";
4
+ import "element-plus/es/components/base/style/css";
5
+ import { Fragment as i, createBlock as a, createElementBlock as o, createTextVNode as s, createVNode as c, openBlock as l, renderList as u, resolveDynamicComponent as d, toDisplayString as f, withCtx as p } from "vue";
6
+ import "element-plus/es/components/radio-group/style/css";
7
+ //#region src/components/avue/fy-from/radio/FyRadio.vue
8
+ var m = {
9
+ name: "FyRadio",
10
+ mixins: [t, n],
11
+ props: { modelValue: [
12
+ String,
13
+ Object,
14
+ Number,
15
+ Boolean,
16
+ Array
17
+ ] },
18
+ data() {
19
+ return { name: "radio" };
20
+ }
21
+ }, h = { class: "avue-radio" };
22
+ function g(e, t, n, m, g, _) {
23
+ let v = r;
24
+ return l(), o("div", h, [c(v, {
25
+ modelValue: e.text,
26
+ "onUpdate:modelValue": t[0] || (t[0] = (t) => e.text = t),
27
+ size: e.size,
28
+ disabled: e.disabled,
29
+ onClick: e.handleClick
30
+ }, {
31
+ default: p(() => [(l(!0), o(i, null, u(e.dic, (t, n) => (l(), a(d(e.componentName), {
32
+ key: n,
33
+ label: t[e.valueKey],
34
+ border: e.border,
35
+ readonly: e.readonly,
36
+ disabled: t[e.disabledKey]
37
+ }, {
38
+ default: p(() => [s(f(t[e.labelKey]), 1)]),
39
+ _: 2
40
+ }, 1032, [
41
+ "label",
42
+ "border",
43
+ "readonly",
44
+ "disabled"
45
+ ]))), 128))]),
46
+ _: 1
47
+ }, 8, [
48
+ "modelValue",
49
+ "size",
50
+ "disabled",
51
+ "onClick"
52
+ ])]);
53
+ }
54
+ var _ = /* @__PURE__ */ e(m, [["render", g]]);
55
+ //#endregion
56
+ export { _ as default };
@@ -0,0 +1 @@
1
+ .avue-radio{text-align:left}.avue-radio .el-radio+.el-radio{margin-left:0}.avue-radio .el-radio{margin-right:10px}