@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
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./V-Js6hNd.mjs";
3
3
  import { t as n } from "./mnqSaATq.mjs";
4
- import { r, t as i } from "./BAG_R87k2.mjs";
5
- import { a, i as o, n as s, r as c } from "./BwL9Xz1F.mjs";
4
+ import { r, t as i } from "./CZnwC17w.mjs";
5
+ import { a, i as o, n as s, r as c } from "./Cp1olyWc.mjs";
6
6
  import { ElDivider as l, ElDrawer as u, ElForm as d, ElFormItem as f, ElInput as p, ElMessageBox as m, ElOption as h, ElSelect as g, ElTable as _, ElTableColumn as v } from "element-plus/es";
7
7
  import "element-plus/es/components/base/style/css";
8
8
  import "element-plus/es/components/input/style/css";
@@ -12,8 +12,8 @@ import "element-plus/es/components/message-box/style/css";
12
12
  import "element-plus/es/components/drawer/style/css";
13
13
  import "element-plus/es/components/table/style/css";
14
14
  import "element-plus/es/components/table-column/style/css";
15
- import "element-plus/es/components/form-item/style/css";
16
15
  import "element-plus/es/components/form/style/css";
16
+ import "element-plus/es/components/form-item/style/css";
17
17
  import "element-plus/es/components/select/style/css";
18
18
  import "element-plus/es/components/option/style/css";
19
19
  import "element-plus/es/components/divider/style/css";
@@ -418,7 +418,7 @@ function B(e, r, i, a, o, s) {
418
418
  style: { "margin-left": "auto" },
419
419
  onClick: r[14] || (r[14] = (e) => s.openListenerFieldForm(null))
420
420
  }, {
421
- default: O(() => [...r[33] || (r[33] = [w("添加字段", -1)])]),
421
+ default: O(() => [...r[33] || (r[33] = [w(" 添加字段 ", -1)])]),
422
422
  _: 1
423
423
  })]),
424
424
  T(j, {
@@ -1,4 +1,4 @@
1
- import { n as e, o as t, t as n } from "./b0ve2YgF.mjs";
1
+ import { n as e, o as t, t as n } from "./mQG01w6Y.mjs";
2
2
  import { allProps as r, predicate as i } from "../props/input.mjs";
3
3
  import { ElInput as a } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,17 +1,17 @@
1
1
  import { t as e } from "./B1MSrc6f.mjs";
2
- import { t } from "./HFLY8Wla.mjs";
2
+ import { t } from "./D1mQTnJ8.mjs";
3
3
  import { t as n } from "./mnqSaATq.mjs";
4
4
  import { t as r } from "./tzjUpVIj.mjs";
5
- import { n as i } from "./b0ve2YgF.mjs";
6
- import { t as a } from "./CjCNtCWd.mjs";
7
- import { t as o } from "./C28bnMcw.mjs";
8
- import { t as s } from "./Dst9_BmZ.mjs";
9
- import { t as c } from "./BxuM-fgJ.mjs";
10
- import { t as l } from "./vebd58-O.mjs";
11
- import { t as u } from "./CCpKg0cM.mjs";
12
- import { t as d } from "./3nLaRSbR2.mjs";
5
+ import { n as i } from "./mQG01w6Y.mjs";
6
+ import { t as a } from "./D20CQ-B6.mjs";
7
+ import { t as o } from "./DC3DNg_r.mjs";
8
+ import { t as s } from "./n7IipIUY.mjs";
9
+ import { t as c } from "./D2kLAzxW.mjs";
10
+ import { t as l } from "./9ec0Wti82.mjs";
11
+ import { t as u } from "./Bv7b2DXh2.mjs";
12
+ import { t as d } from "./DdHN2Nv72.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
- import { t as p } from "./BxcsELcB2.mjs";
14
+ import { t as p } from "./B7BaAm4k2.mjs";
15
15
  import { ElMessage as m, formContextKey as h, formItemContextKey as g } from "element-plus/es";
16
16
  import "element-plus/es/components/base/style/css";
17
17
  import { Fragment as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as S, createTextVNode as C, createVNode as w, mergeProps as T, openBlock as E, renderList as D, renderSlot as O, resolveComponent as k, toDisplayString as A, withCtx as j, withModifiers as M } from "vue";
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
1
+ import { n as e, o as t } from "./mQG01w6Y.mjs";
2
2
  import { allProps as n, predicate as r } from "../props/time-select.mjs";
3
3
  import { ElTimeSelect as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
1
+ import { n as e, o as t } from "./mQG01w6Y.mjs";
2
2
  import { useDictionary as n } from "../hook/useDictionary.mjs";
3
3
  import { allProps as r, predicate as i } from "../props/select.mjs";
4
4
  import { ElOption as a, ElSelect as o } from "element-plus/es";
@@ -9,6 +9,11 @@ import { isArray as N } from "@web-utils/core";
9
9
  import "element-plus/es/components/message/style/css";
10
10
  import "element-plus/es/components/message-box/style/css";
11
11
  import "element-plus/es/components/tooltip/style/css";
12
+ import "element-plus/es/components/collapse/style/css";
13
+ import "element-plus/es/components/collapse-item/style/css";
14
+ import "element-plus/es/components/button-group/style/css";
15
+ import "element-plus/es/components/tabs/style/css";
16
+ import "element-plus/es/components/tab-pane/style/css";
12
17
  import { assign as P, forEach as F, isArray as I, isFunction as L, isObject as R, some as z } from "min-dash";
13
18
  import { is as B } from "bpmn-js/lib/util/ModelUtil";
14
19
  import { isEventSubProcess as V, isExpanded as re } from "bpmn-js/lib/util/DiUtil";
@@ -18,12 +23,7 @@ import { hasPrimaryModifier as ae } from "diagram-js/lib/util/Mouse";
18
23
  import oe from "bpmn-js/lib/features/palette/PaletteProvider";
19
24
  import U from "diagram-js/lib/features/auto-place/AutoPlace";
20
25
  import { asTRBL as se, getMid as ce } from "diagram-js/lib/layout/LayoutUtil";
21
- import "element-plus/es/components/collapse/style/css";
22
- import "element-plus/es/components/collapse-item/style/css";
23
- import "element-plus/es/components/tabs/style/css";
24
- import "element-plus/es/components/tab-pane/style/css";
25
26
  import le from "highlight.js/lib/core";
26
- import "element-plus/es/components/button-group/style/css";
27
27
  import "bpmn-js/dist/assets/bpmn-js.css";
28
28
  import "bpmn-js/dist/assets/diagram-js.css";
29
29
  import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
@@ -421,7 +421,7 @@ var Ae = [
421
421
  "task",
422
422
  "form",
423
423
  "multiInstance"
424
- ], je = y(() => import("./D_q3C3v4.mjs")), Me = y(() => import("./mqi8hesW2.mjs")), Ne = y(() => import("./C-zPVdz-.mjs")), Pe = y(() => import("./tfaGdZX2.mjs")), Fe = y(() => import("./tqW2DSco.mjs")), Ie = y(() => import("./Bs926z902.mjs")), Le = y(() => import("./DbcxJ45j.mjs")), Re = y(() => import("./B5c0s3IR.mjs")), ze = y(() => import("./DCqyZyF6.mjs")), Be = y(() => import("./C8h_P_kl2.mjs")), Ve = {
424
+ ], je = y(() => import("./BegZOXrr.mjs")), Me = y(() => import("./dxZzZgUn.mjs")), Ne = y(() => import("./D9ft-f6n.mjs")), Pe = y(() => import("./D8_fl5Oq.mjs")), Fe = y(() => import("./fT8tFJVO.mjs")), Ie = y(() => import("./CHqxWrj7.mjs")), Le = y(() => import("./BfW25VbY.mjs")), Re = y(() => import("./CJwAjhLy.mjs")), ze = y(() => import("./BCYFaOiB.mjs")), Be = y(() => import("./BSOrm2U4.mjs")), Ve = {
425
425
  name: "PropertiesPanel",
426
426
  componentName: "MyPropertiesPanel",
427
427
  props: {
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./b0ve2YgF.mjs";
1
+ import { n as e, o as t } from "./mQG01w6Y.mjs";
2
2
  import { allProps as n, predicate as r } from "../props/rate.mjs";
3
3
  import { ElRate as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
@@ -1,5 +1,5 @@
1
- import { n as e } from "./b0ve2YgF.mjs";
2
- import { t } from "./C28bnMcw.mjs";
1
+ import { n as e } from "./mQG01w6Y.mjs";
2
+ import { t } from "./DC3DNg_r.mjs";
3
3
  import { allProps as n } from "../props/input.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormInputIdCard.vue?vue&type=script&lang.jsx
@@ -0,0 +1,340 @@
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { f as t, s as n } from "./BbUUI4mF.mjs";
3
+ import { n as r, t as i } from "./Cf_h9S62.mjs";
4
+ import { t as a } from "./CBHGpbDK.mjs";
5
+ import { ElCheckbox as o, ElOption as s, ElOptionGroup as c, ElSelect as l } from "element-plus/es";
6
+ import "element-plus/es/components/base/style/css";
7
+ import { Fragment as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, openBlock as g, renderList as _, renderSlot as v, toDisplayString as y, withCtx as b } from "vue";
8
+ import { isBlank as x } from "@web-utils/core";
9
+ import "element-plus/es/components/checkbox/style/css";
10
+ import "element-plus/es/components/select/style/css";
11
+ import "element-plus/es/components/option-group/style/css";
12
+ import "element-plus/es/components/option/style/css";
13
+ //#region src/components/avue/utils/dic.ts
14
+ var S = (e, t = []) => new Promise((n) => {
15
+ let r = [], i = [], a = {};
16
+ e.forEach((e) => {
17
+ e.parentProp && r.push(e);
18
+ }), t.forEach((e, t) => {
19
+ r.forEach((n) => {
20
+ n.hide !== !0 && n.dicFlag !== !1 && i.push(new Promise((r) => {
21
+ x(e[n.parentProp]) ? r({
22
+ prop: n.prop,
23
+ data: [],
24
+ index: t
25
+ }) : n.dicUrl && D({
26
+ url: `${n.dicUrl.replace("{{key}}", e[n.parentProp])}`,
27
+ props: n.props,
28
+ method: n.dicMethod,
29
+ headers: n.dicHeaders,
30
+ formatter: n.dicFormatter,
31
+ query: n.dicQuery,
32
+ form: e
33
+ }).then((e) => {
34
+ r({
35
+ prop: n.prop,
36
+ data: e,
37
+ index: t
38
+ });
39
+ });
40
+ }));
41
+ });
42
+ }), Promise.all(i).then((e) => {
43
+ e.forEach((e) => {
44
+ x(a[e.index]) && (a[e.index] = {}), a[e.index][e.prop] = e.data;
45
+ }), n(a);
46
+ });
47
+ }), C = (e) => {
48
+ let t = [];
49
+ return new Promise((n, r) => {
50
+ t = T(e).ajaxdic, E(t).then((e) => {
51
+ n(e);
52
+ }).catch((e) => {
53
+ r(e);
54
+ });
55
+ });
56
+ }, w = (e) => {
57
+ let t = {}, r = e.dicData || {};
58
+ return e.column.forEach((e) => {
59
+ e.dicData && (t[e.prop] = n(e.dicData, e.props, e.dataType));
60
+ }), Object.assign(r, t);
61
+ };
62
+ function T(e) {
63
+ let t = e.column || [], n = [], r = {}, i = [];
64
+ return t.forEach((e) => {
65
+ let a = e.dicData, o = e.dicUrl, s = e.prop, c = e.parentProp;
66
+ i = i.concat(e.cascader || []), Array.isArray(a) && (r[s] = a), !(e.dicFlag === !1 || e.lazy === !0 || i.includes(s)) && o && !c && n.push({
67
+ url: o,
68
+ name: s,
69
+ method: e.dicMethod,
70
+ headers: t.dicHeaders,
71
+ formatter: e.dicFormatter,
72
+ props: e.props,
73
+ dataType: e.dataType,
74
+ resKey: (e.props || {}).res,
75
+ query: e.dicQuery || {}
76
+ });
77
+ }), {
78
+ ajaxdic: n,
79
+ locationdic: r
80
+ };
81
+ }
82
+ function E(e) {
83
+ let t = {}, r = [];
84
+ return new Promise((i) => {
85
+ e.forEach((e) => {
86
+ r.push(new Promise((t) => {
87
+ D(Object.assign(e, { url: `${e.url.replace("{{key}}", "")}` })).then((r) => {
88
+ r = n(r, e.props, e.dataType), t(r);
89
+ }).catch(() => {
90
+ t([]);
91
+ });
92
+ }));
93
+ }), Promise.all(r).then((n) => {
94
+ e.forEach((e, r) => {
95
+ t[e.name] = n[r];
96
+ }), i(t);
97
+ });
98
+ });
99
+ }
100
+ var D = (e) => {
101
+ let { url: n, query: r, method: i, resKey: a, props: o, formatter: s, headers: c = {}, value: l = "", column: u, form: d = {} } = e;
102
+ u && (n = u.dicUrl, i = u.dicMethod, c = u.headers || {}, r = u.dicQuery || {}, s = u.dicFormatter, o = u.props), n = n || "";
103
+ let f, p = {};
104
+ return f = n.match(/[^{}]+(?=})/g) || [], f.forEach((e) => {
105
+ let t = `{{${e}}}`, r = d[e];
106
+ n = e === "key" ? n.replace(t, l) : n.replace(t, r);
107
+ }), i === "post" && (f = Object.keys(r), f.forEach((e) => {
108
+ let t = r[e];
109
+ typeof t == "string" && t.match(/\{{|}}/g) ? p[e] = d[t.replace(/\{{|}}/g, "")] : p[e] = t;
110
+ })), o && (a = (o || {}).res || a), new Promise((e) => {
111
+ let o = (n) => {
112
+ let r = [];
113
+ r = typeof s == "function" ? s(n.data) : t(n.data, a), e(r);
114
+ };
115
+ i === "post" ? window.axios.post(n, p, { headers: c }).then((e) => {
116
+ o(e);
117
+ }).catch(() => [e([])]) : window.axios.get(n, {
118
+ params: r,
119
+ headers: c
120
+ }).then((e) => {
121
+ o(e);
122
+ }).catch(() => [e([])]);
123
+ });
124
+ }, O = {
125
+ name: "FySelect",
126
+ mixins: [r, i],
127
+ props: {
128
+ loadingText: { type: String },
129
+ noMatchText: { type: String },
130
+ noDataText: { type: String },
131
+ drag: {
132
+ type: Boolean,
133
+ default: !1
134
+ },
135
+ remote: {
136
+ type: Boolean,
137
+ default: !1
138
+ },
139
+ tags: {
140
+ type: Boolean,
141
+ default: !1
142
+ },
143
+ limit: {
144
+ type: Number,
145
+ default: 0
146
+ },
147
+ filterable: {
148
+ type: Boolean,
149
+ default: !1
150
+ },
151
+ allowCreate: {
152
+ type: Boolean,
153
+ default: !1
154
+ },
155
+ defaultFirstOption: {
156
+ type: Boolean,
157
+ default: !1
158
+ },
159
+ all: {
160
+ type: Boolean,
161
+ default: !1
162
+ },
163
+ popperAppendToBody: {
164
+ type: Boolean,
165
+ default: !0
166
+ }
167
+ },
168
+ data() {
169
+ return {
170
+ checkAll: !1,
171
+ created: !1,
172
+ netDic: [],
173
+ loading: !1
174
+ };
175
+ },
176
+ watch: {
177
+ text(e) {
178
+ x(e) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(",") : this.text));
179
+ },
180
+ dic: {
181
+ handler(e) {
182
+ this.netDic = e;
183
+ },
184
+ immediate: !0
185
+ }
186
+ },
187
+ mounted() {
188
+ this.drag && this.setSort();
189
+ },
190
+ methods: {
191
+ setSort() {
192
+ if (!window.Sortable) {
193
+ a.logs("Sortable");
194
+ return;
195
+ }
196
+ let e = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
197
+ window.Sortable.create(e, {
198
+ animation: 100,
199
+ onEnd: (e) => {
200
+ let t = this.modelValue.splice(e.oldIndex, 1)[0];
201
+ this.modelValue.splice(e.newIndex, 0, t);
202
+ }
203
+ });
204
+ },
205
+ handleRemoteMethod(e) {
206
+ this.loading = !0, D({
207
+ column: this.column,
208
+ value: e
209
+ }).then((e) => {
210
+ this.loading = !1, this.netDic = e;
211
+ });
212
+ },
213
+ selectAll() {
214
+ this.text = [], this.checkAll && this.netDic.forEach((e) => {
215
+ this.text.push(e[this.valueKey]);
216
+ });
217
+ },
218
+ changeSelect(e) {
219
+ this.checkAll = e.length === this.netDic.length;
220
+ }
221
+ }
222
+ }, k = {
223
+ key: 0,
224
+ class: "avue-select__desc"
225
+ }, A = {
226
+ key: 0,
227
+ class: "avue-select__desc"
228
+ };
229
+ function j(e, t, n, r, i, a) {
230
+ let x = s, S = c, C = o, w = l;
231
+ return g(), d(w, {
232
+ ref: "main",
233
+ modelValue: e.text,
234
+ "onUpdate:modelValue": t[1] || (t[1] = (t) => e.text = t),
235
+ class: "avue-select",
236
+ size: e.size,
237
+ loading: i.loading,
238
+ "loading-text": n.loadingText,
239
+ multiple: e.multiple,
240
+ filterable: n.remote ? !0 : n.filterable,
241
+ remote: n.remote,
242
+ readonly: e.readonly,
243
+ "no-match-text": n.noMatchText,
244
+ "no-data-text": n.noDataText,
245
+ "remote-method": n.remote ? a.handleRemoteMethod : void 0,
246
+ "popper-class": e.popperClass,
247
+ "popper-append-to-body": n.popperAppendToBody,
248
+ "collapse-tags": n.tags,
249
+ clearable: e.clearableVal,
250
+ placeholder: e.placeholder,
251
+ "multiple-limit": n.limit,
252
+ "allow-create": n.allowCreate,
253
+ "default-first-option": n.defaultFirstOption,
254
+ disabled: e.disabled,
255
+ onFocus: e.handleFocus,
256
+ onBlur: e.handleBlur,
257
+ onClick: e.handleClick,
258
+ onChange: a.changeSelect
259
+ }, {
260
+ default: b(() => [e.group ? (g(!0), p(u, { key: 0 }, _(i.netDic, (t, n) => (g(), d(S, {
261
+ key: n,
262
+ label: e.getLabelText(t)
263
+ }, {
264
+ default: b(() => [(g(!0), p(u, null, _(t[e.groupsKey], (t, n) => (g(), d(x, {
265
+ key: n,
266
+ disabled: t[e.disabledKey],
267
+ label: e.getLabelText(t),
268
+ value: t[e.valueKey]
269
+ }, {
270
+ default: b(() => [e.$slots.default ? v(e.$slots, "default", {
271
+ key: 0,
272
+ label: e.labelKey,
273
+ value: e.valueKey,
274
+ item: t
275
+ }) : (g(), p(u, { key: 1 }, [m("span", null, y(e.getLabelText(t)), 1), t[e.descKey] ? (g(), p("span", k, y(t[e.descKey]), 1)) : f("v-if", !0)], 64))]),
276
+ _: 2
277
+ }, 1032, [
278
+ "disabled",
279
+ "label",
280
+ "value"
281
+ ]))), 128))]),
282
+ _: 2
283
+ }, 1032, ["label"]))), 128)) : (g(), p(u, { key: 1 }, [n.all && e.multiple ? (g(), d(C, {
284
+ key: 0,
285
+ modelValue: i.checkAll,
286
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => i.checkAll = e),
287
+ class: "avue-select__check",
288
+ onChange: a.selectAll
289
+ }, {
290
+ default: b(() => [...t[2] || (t[2] = [h(" 全选 ", -1)])]),
291
+ _: 1
292
+ }, 8, ["modelValue", "onChange"])) : f("v-if", !0), (g(!0), p(u, null, _(i.netDic, (t, n) => (g(), d(x, {
293
+ key: n,
294
+ disabled: t[e.disabledKey],
295
+ label: e.getLabelText(t),
296
+ value: t[e.valueKey]
297
+ }, {
298
+ default: b(() => [e.$slots.default ? v(e.$slots, "default", {
299
+ key: 0,
300
+ label: e.labelKey,
301
+ value: e.valueKey,
302
+ item: t
303
+ }) : (g(), p(u, { key: 1 }, [m("span", null, y(e.getLabelText(t)), 1), t[e.descKey] ? (g(), p("span", A, y(t[e.descKey]), 1)) : f("v-if", !0)], 64))]),
304
+ _: 2
305
+ }, 1032, [
306
+ "disabled",
307
+ "label",
308
+ "value"
309
+ ]))), 128))], 64))]),
310
+ _: 3
311
+ }, 8, [
312
+ "modelValue",
313
+ "size",
314
+ "loading",
315
+ "loading-text",
316
+ "multiple",
317
+ "filterable",
318
+ "remote",
319
+ "readonly",
320
+ "no-match-text",
321
+ "no-data-text",
322
+ "remote-method",
323
+ "popper-class",
324
+ "popper-append-to-body",
325
+ "collapse-tags",
326
+ "clearable",
327
+ "placeholder",
328
+ "multiple-limit",
329
+ "allow-create",
330
+ "default-first-option",
331
+ "disabled",
332
+ "onFocus",
333
+ "onBlur",
334
+ "onClick",
335
+ "onChange"
336
+ ]);
337
+ }
338
+ var M = /* @__PURE__ */ e(O, [["render", j]]);
339
+ //#endregion
340
+ export { D as a, w as i, S as n, C as r, M as t };
@@ -1,5 +1,5 @@
1
1
  import { allProps as e, predicate as t } from "../props/checkbox.mjs";
2
- import { n, o as r } from "./b0ve2YgF.mjs";
2
+ import { n, o as r } from "./mQG01w6Y.mjs";
3
3
  import { ElCheckbox as i } from "element-plus/es";
4
4
  import "element-plus/es/components/base/style/css";
5
5
  import { createVNode as a, mergeProps as o, useModel as s } from "vue";
@@ -9,8 +9,8 @@ import { fastClone as C } from "@web-utils/core";
9
9
  import "element-plus/es/components/drawer/style/css";
10
10
  import "element-plus/es/components/table/style/css";
11
11
  import "element-plus/es/components/table-column/style/css";
12
- import "element-plus/es/components/form-item/style/css";
13
12
  import "element-plus/es/components/form/style/css";
13
+ import "element-plus/es/components/form-item/style/css";
14
14
  import "element-plus/es/components/select/style/css";
15
15
  import "element-plus/es/components/option/style/css";
16
16
  import "element-plus/es/components/divider/style/css";
@@ -384,7 +384,7 @@ function M(e, C, w, M, N, P) {
384
384
  style: { color: "#ff4d4f" },
385
385
  onClick: (n) => P.removeFieldOptionItem(e, t, "enum")
386
386
  }, {
387
- default: x(() => [...C[30] || (C[30] = [_("移除", -1)])]),
387
+ default: x(() => [...C[30] || (C[30] = [_(" 移除 ", -1)])]),
388
388
  _: 1
389
389
  }, 8, ["onClick"])
390
390
  ]),
@@ -1,6 +1,6 @@
1
1
  import { h as e } from "./ClVh1Lek.mjs";
2
2
  import { useFormItemProps as t } from "../helper/form-item.mjs";
3
- import { r as n } from "./b0ve2YgF.mjs";
3
+ import { r as n } from "./mQG01w6Y.mjs";
4
4
  import { allProps as r, predicate as i } from "../props/text.mjs";
5
5
  import { ElText as a } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
@@ -1,13 +1,13 @@
1
1
  import { allProps as e, predicate as t } from "../props/checkbox-group.mjs";
2
- import { n, o as r } from "./b0ve2YgF.mjs";
2
+ import { n, o as r } from "./mQG01w6Y.mjs";
3
3
  import { useDictionary as i } from "../hook/useDictionary.mjs";
4
- import { t as a } from "./C28bnMcw.mjs";
4
+ import { t as a } from "./DC3DNg_r.mjs";
5
5
  import { ElCheckbox as o, ElCheckboxButton as s, ElCheckboxGroup as c } from "element-plus/es";
6
6
  import "element-plus/es/components/base/style/css";
7
7
  import { computed as l, createVNode as u, defineComponent as d, isVNode as f, mergeProps as p, useModel as m } from "vue";
8
8
  import "element-plus/es/components/checkbox/style/css";
9
- import "element-plus/es/components/checkbox-button/style/css";
10
9
  import "element-plus/es/components/checkbox-group/style/css";
10
+ import "element-plus/es/components/checkbox-button/style/css";
11
11
  //#region src/components/form/FormCheckboxGroup.vue?vue&type=script&lang.jsx
12
12
  function h(e) {
13
13
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./X-ckP2Hj.mjs";
1
+ import { n as e, t } from "./DOLQ28wD.mjs";
2
2
  import { createVNode as n, isVNode as r } from "vue";
3
3
  //#region src/components/flex/FlexRow.vue?vue&type=script&lang.jsx
4
4
  function i(e) {
@@ -1,4 +1,5 @@
1
1
  import { InjectionKey, ComputedRef } from 'vue';
2
+ import { AvueConfigOptions } from './avue';
2
3
  export declare const formHolderContextKey: InjectionKey<{
3
4
  /** 表单实例的响应式引用 */
4
5
  tableForm: boolean;
@@ -71,3 +72,4 @@ export declare const columnSizeContextKey: unique symbol;
71
72
  export declare const columnsContextKey: unique symbol;
72
73
  export declare const setColumnSizeContextKey: unique symbol;
73
74
  export declare const cellClickHandlerContextKey: unique symbol;
75
+ export declare const avueConfigContextKey: InjectionKey<AvueConfigOptions>;
@@ -1,4 +1,4 @@
1
1
  //#region src/constants/index.ts
2
- var e = Symbol("formHolder"), t = Symbol("formItemGroup"), n = Symbol("formItemConfigProvider"), r = Symbol("formView"), i = Symbol("formEntity"), a = Symbol("formItemConfig"), o = Symbol("flowContext"), s = Symbol("toolbar"), c = Symbol("tableView"), l = Symbol("pageableTable"), u = Symbol("columnSize"), d = Symbol("columns"), f = Symbol("setColumnSize"), p = Symbol("cellClickHandler");
2
+ var e = Symbol("formHolder"), t = Symbol("formItemGroup"), n = Symbol("formItemConfigProvider"), r = Symbol("formView"), i = Symbol("formEntity"), a = Symbol("formItemConfig"), o = Symbol("flowContext"), s = Symbol("toolbar"), c = Symbol("tableView"), l = Symbol("pageableTable"), u = Symbol("columnSize"), d = Symbol("columns"), f = Symbol("setColumnSize"), p = Symbol("cellClickHandler"), m = Symbol("avueConfig");
3
3
  //#endregion
4
- export { p as cellClickHandlerContextKey, u as columnSizeContextKey, d as columnsContextKey, o as flowContextKey, i as formEntityContextKey, e as formHolderContextKey, a as formItemConfigContextKey, n as formItemConfigProviderContextKey, t as formItemGroupContextKey, r as formViewContextKey, l as pageableTableContextKey, f as setColumnSizeContextKey, c as tableViewContextKey, s as toolbarContextKey };
4
+ export { m as avueConfigContextKey, p as cellClickHandlerContextKey, u as columnSizeContextKey, d as columnsContextKey, o as flowContextKey, i as formEntityContextKey, e as formHolderContextKey, a as formItemConfigContextKey, n as formItemConfigProviderContextKey, t as formItemGroupContextKey, r as formViewContextKey, l as pageableTableContextKey, f as setColumnSizeContextKey, c as tableViewContextKey, s as toolbarContextKey };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "../chunks/B1MSrc6f.mjs";
2
2
  import { t } from "../chunks/V-Js6hNd.mjs";
3
- import { t as n } from "../chunks/HFLY8Wla.mjs";
3
+ import { t as n } from "../chunks/D1mQTnJ8.mjs";
4
4
  import { ElButton as r, ElMessage as i } from "element-plus/es";
5
5
  import "element-plus/es/components/base/style/css";
6
6
  import { createBlock as a, createTextVNode as o, createVNode as s, openBlock as c, renderSlot as l, withCtx as u } from "vue";
@@ -0,0 +1,4 @@
1
+ export default DialogForm;
2
+ declare namespace DialogForm {
3
+ function showForm(opt: any): import("vue").App<Element>;
4
+ }