@web-utils/form-ui 1.0.0-beta77 → 1.0.0-beta78

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 (221) hide show
  1. package/address-input/index.d.ts +52 -0
  2. package/affix/index.d.ts +30 -0
  3. package/awesome-button/index.d.ts +60 -0
  4. package/capsule-tab/index.d.ts +30 -0
  5. package/card/index.d.ts +41 -0
  6. package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
  7. package/chunks/{BkoWiWEW.mjs → 8i6khBvL2.mjs} +187 -188
  8. package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
  9. package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
  10. package/chunks/{DS4Iw8Y42.mjs → BPkYHRo52.mjs} +9 -9
  11. package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
  12. package/chunks/{CyQmVphZ.mjs → BUdSoC0y.mjs} +51 -52
  13. package/chunks/{D5_ezGUV2.mjs → BVUClQOx.mjs} +2 -2
  14. package/chunks/{Dpzw7Rtp.mjs → BWTQ3qdg.mjs} +1 -1
  15. package/chunks/{uDwSrV7X2.mjs → Bo8lYN4n2.mjs} +2 -2
  16. package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
  17. package/chunks/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
  18. package/chunks/{BK6DiJfX2.mjs → C4TRh7-t2.mjs} +3 -3
  19. package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
  20. package/chunks/{lPQBM7xc2.mjs → CGmbnjKL.mjs} +2 -2
  21. package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
  22. package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
  23. package/chunks/{CVM0lwn22.mjs → CfZWeZDD.mjs} +2 -2
  24. package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
  25. package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
  26. package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
  27. package/chunks/{DFa2J7ul.mjs → Cwh7YPxJ.mjs} +151 -152
  28. package/chunks/{BVsvRLea2.mjs → D4FXesiK2.mjs} +2 -2
  29. package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
  30. package/chunks/{l5bfIjYm.mjs → DOdaQmeD.mjs} +576 -855
  31. package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
  32. package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
  33. package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
  34. package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
  35. package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
  36. package/chunks/{Bq9KMIsC.mjs → YuRYvOxL.mjs} +162 -163
  37. package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
  38. package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
  39. package/chunks/{CoPlnbwi2.mjs → hBvPGqka.mjs} +2 -2
  40. package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
  41. package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
  42. package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
  43. package/chunks/{JjnlFlI02.mjs → xe1XzZUE2.mjs} +9 -9
  44. package/code-mirror-editor/index.d.ts +50 -0
  45. package/confirm-button/index.d.ts +122 -0
  46. package/confirmable/index.d.ts +93 -0
  47. package/context-menu/index.d.ts +183 -0
  48. package/count-up/index.d.ts +70 -0
  49. package/custom-scrollbar/index.d.ts +49 -0
  50. package/data-box/index.d.ts +30 -0
  51. package/data-card/index.d.ts +20 -0
  52. package/data-card-text/index.d.ts +21 -0
  53. package/data-display/index.d.ts +20 -0
  54. package/data-icons/index.d.ts +21 -0
  55. package/data-imgtext/index.d.ts +18 -0
  56. package/data-operatext/index.d.ts +17 -0
  57. package/data-panel/index.d.ts +19 -0
  58. package/data-pay/index.d.ts +19 -0
  59. package/data-price/index.d.ts +17 -0
  60. package/data-progress/index.d.ts +19 -0
  61. package/data-rotate/index.d.ts +21 -0
  62. package/data-table-picker/index.d.ts +61 -0
  63. package/data-tabs/index.d.ts +21 -0
  64. package/dict-render/index.d.ts +28 -0
  65. package/e-charts/index.d.ts +79 -0
  66. package/easy-popup/index.d.ts +114 -0
  67. package/editable-progress/index.d.ts +68 -0
  68. package/editable-tree/index.d.ts +281 -0
  69. package/element-dialog/index.d.ts +376 -0
  70. package/element-resize-observer/index.d.ts +8 -0
  71. package/empty-view/index.d.ts +29 -0
  72. package/error-view/index.d.ts +25 -0
  73. package/flex-box/index.d.ts +44 -0
  74. package/flex-column/index.d.ts +41 -0
  75. package/flex-item/index.d.ts +77 -0
  76. package/flex-row/index.d.ts +41 -0
  77. package/flex-scroll-area/index.d.ts +22 -0
  78. package/flex-scroller/index.d.ts +26 -0
  79. package/flow-designer/index.d.ts +311 -0
  80. package/flow-designer/index.mjs +1 -1
  81. package/flow-viewer/index.d.ts +62 -0
  82. package/form-advice/index.d.ts +9 -0
  83. package/form-button/index.d.ts +123 -0
  84. package/form-card/index.d.ts +14 -0
  85. package/form-cascader/index.d.ts +478 -0
  86. package/form-cascader/index.mjs +1 -1
  87. package/form-cell/index.d.ts +25 -0
  88. package/form-checkbox/index.d.ts +314 -0
  89. package/form-checkbox/index.mjs +1 -1
  90. package/form-checkbox-group/index.d.ts +373 -0
  91. package/form-checkbox-group/index.mjs +1 -1
  92. package/form-date-picker/index.d.ts +480 -0
  93. package/form-date-picker/index.mjs +1 -1
  94. package/form-holder/index.d.ts +162 -0
  95. package/form-holder/index.mjs +1 -1
  96. package/form-image/index.d.ts +220 -0
  97. package/form-image/index.mjs +1 -1
  98. package/form-input/index.d.ts +378 -0
  99. package/form-input/index.mjs +1 -1
  100. package/form-input-cron-expression/index.d.ts +223 -0
  101. package/form-input-cron-expression/index.mjs +1 -1
  102. package/form-input-email/index.d.ts +376 -0
  103. package/form-input-email/index.mjs +1 -1
  104. package/form-input-id-card/index.d.ts +376 -0
  105. package/form-input-id-card/index.mjs +1 -1
  106. package/form-input-number/index.d.ts +329 -0
  107. package/form-input-number/index.mjs +1 -1
  108. package/form-input-phone-number/index.d.ts +376 -0
  109. package/form-input-phone-number/index.mjs +1 -1
  110. package/form-input-tag/index.d.ts +270 -0
  111. package/form-input-tag/index.mjs +1 -1
  112. package/form-input-time/index.d.ts +441 -0
  113. package/form-input-time/index.mjs +1 -1
  114. package/form-item-config-provider/index.d.ts +40 -0
  115. package/form-item-group/index.d.ts +92 -0
  116. package/form-item-group/index.mjs +1 -1
  117. package/form-item-x/index.d.ts +190 -0
  118. package/form-item-x/index.mjs +1 -1
  119. package/form-radio-group/index.d.ts +374 -0
  120. package/form-radio-group/index.mjs +1 -1
  121. package/form-rate/index.d.ts +325 -0
  122. package/form-rate/index.mjs +1 -1
  123. package/form-red-table/index.d.ts +21 -0
  124. package/form-row/index.d.ts +11 -0
  125. package/form-row/index.mjs +1 -1
  126. package/form-select/index.d.ts +606 -0
  127. package/form-select/index.mjs +1 -1
  128. package/form-slider/index.d.ts +352 -0
  129. package/form-slider/index.mjs +1 -1
  130. package/form-switch/index.d.ts +343 -0
  131. package/form-switch/index.mjs +1 -1
  132. package/form-table/index.d.ts +287 -0
  133. package/form-table/index.mjs +1 -1
  134. package/form-table-plus/index.d.ts +266 -0
  135. package/form-table-plus/index.mjs +1 -1
  136. package/form-text/index.d.ts +235 -0
  137. package/form-text/index.mjs +1 -1
  138. package/form-textarea/index.d.ts +351 -0
  139. package/form-textarea/index.mjs +1 -1
  140. package/form-time-select/index.d.ts +325 -0
  141. package/form-time-select/index.mjs +1 -1
  142. package/form-tree-select/index.d.ts +715 -0
  143. package/form-tree-select/index.mjs +1 -1
  144. package/form-tree-select-multiple/index.d.ts +717 -0
  145. package/form-tree-select-multiple/index.mjs +1 -1
  146. package/form-view/index.d.ts +226 -0
  147. package/form-view/index.mjs +2 -2
  148. package/guide-steps/index.d.ts +31 -0
  149. package/helper/input.mjs +1 -1
  150. package/highlight-j-s/index.d.ts +18 -0
  151. package/iframe-window/index.d.ts +9 -0
  152. package/image-cropper/index.d.ts +365 -0
  153. package/image-preview/index.d.ts +61 -0
  154. package/image-viewer/index.d.ts +25 -0
  155. package/index.d.ts +119 -119
  156. package/index.mjs +121 -121
  157. package/input-number-range/index.d.ts +41 -0
  158. package/keyboard/index.d.ts +64 -0
  159. package/keyboard/index.mjs +1 -1
  160. package/loading-view/index.d.ts +65 -0
  161. package/name-avatar/index.d.ts +62 -0
  162. package/nav-bar/index.d.ts +21 -0
  163. package/package.json +1 -1
  164. package/page/index.d.ts +21 -0
  165. package/page-header/index.d.ts +27 -0
  166. package/page-index/index.d.ts +82 -0
  167. package/page-index-top/index.d.ts +38 -0
  168. package/page-skeleton/index.d.ts +30 -0
  169. package/page-skeleton-new/index.d.ts +34 -0
  170. package/pageable-table/index.d.ts +400 -0
  171. package/photo-swipe/index.d.ts +18 -0
  172. package/photo-swipe/index.mjs +1 -1
  173. package/props/date.d.ts +1 -4
  174. package/props/date.mjs +18 -5
  175. package/sign-panel/index.d.ts +85 -0
  176. package/skeleton-panel/index.d.ts +27 -0
  177. package/split-pane/index.d.ts +106 -0
  178. package/split-pane/index.mjs +1 -1
  179. package/stateful/index.d.ts +92 -0
  180. package/sub-table/index.d.ts +109 -0
  181. package/sub-table/index.mjs +1 -1
  182. package/sub-table-plus/index.d.ts +109 -0
  183. package/sub-table-plus/index.mjs +1 -1
  184. package/swiper/index.d.ts +27 -0
  185. package/table-column/index.d.ts +163 -0
  186. package/table-column-def/index.d.ts +97 -0
  187. package/table-view/index.d.ts +346 -0
  188. package/table-view/index.mjs +3 -3
  189. package/tag-render/index.d.ts +48 -0
  190. package/text-ellipsis/index.d.ts +111 -0
  191. package/toolbar/index.d.ts +129 -0
  192. package/toolbar/index.mjs +1 -1
  193. package/toolbar-button/index.d.ts +189 -0
  194. package/vue-cron/index.d.ts +191 -0
  195. package/vue-cron/index.mjs +1 -1
  196. package/vue-qr-code/index.d.ts +47 -0
  197. package/vue-tags-input/index.d.ts +373 -0
  198. package/vue-tree-select/index.d.ts +1489 -0
  199. package/vue-tree-select/index.mjs +1 -1
  200. package/vue-video-player/index.d.ts +117 -0
  201. package/watermark/index.d.ts +97 -0
  202. package/watermark/index.mjs +1 -1
  203. package/web-types.json +1 -1
  204. package/x-input-tag/index.d.ts +2 -0
  205. package/year-calendar/index.d.ts +99 -0
  206. package/year-calendar/index.mjs +1 -1
  207. package/chunks/CjjJimnU.mjs +0 -20
  208. package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
  209. package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
  210. package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
  211. package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
  212. package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
  213. package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
  214. package/chunks/{C0gLPKS8.mjs → D9p3yGUu.mjs} +1 -1
  215. package/chunks/{Bh2SlzOo.mjs → DDcaXGrf2.mjs} +0 -0
  216. package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
  217. package/chunks/{C3pzNRoU2.mjs → DvGAwr6C.mjs} +2 -2
  218. package/chunks/{CeI6Qrij.mjs → DydcNRkF.mjs} +1 -1
  219. /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
  220. /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
  221. /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { n as e, o as t } from "./Dgwcljur.mjs";
1
+ import { n as e, o as t } from "./CkLpOk7H.mjs";
2
2
  import { allProps as n, predicate as r } from "../props/time.mjs";
3
3
  import { ElTimePicker 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 "./Dgwcljur.mjs";
1
+ import { n as e, o as t } from "./CkLpOk7H.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";
@@ -2,16 +2,16 @@ import { t as e } from "./B1MSrc6f.mjs";
2
2
  import { t } from "./Cb7kjZa-.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 "./Dgwcljur.mjs";
6
- import { t as a } from "./ohCkWdwS.mjs";
7
- import { t as o } from "./Dpzw7Rtp.mjs";
8
- import { t as s } from "./CeEYChF4.mjs";
9
- import { t as c } from "./DMDsZeqv.mjs";
10
- import { t as l } from "./BTNnujZA2.mjs";
11
- import { t as u } from "./D5_ezGUV2.mjs";
12
- import { t as d } from "./BaB0bq4I2.mjs";
5
+ import { n as i } from "./CkLpOk7H.mjs";
6
+ import { t as a } from "./tSaeUhnr.mjs";
7
+ import { t as o } from "./BWTQ3qdg.mjs";
8
+ import { t as s } from "./Bvn6wnku.mjs";
9
+ import { t as c } from "./CiMBKxeJ.mjs";
10
+ import { t as l } from "./CTYReSXN.mjs";
11
+ import { t as u } from "./BVUClQOx.mjs";
12
+ import { t as d } from "./DxeRdYI82.mjs";
13
13
  import f from "../table-column-def/index.mjs";
14
- import { t as p } from "./uDwSrV7X2.mjs";
14
+ import { t as p } from "./Bo8lYN4n2.mjs";
15
15
  import { formContextKey as m, formItemContextKey as h } from "element-plus/es";
16
16
  import { Fragment as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as x, createTextVNode as S, createVNode as C, mergeProps as w, openBlock as T, renderList as E, renderSlot as D, resolveComponent as O, toDisplayString as k, withCtx as A, withModifiers as j } from "vue";
17
17
  import { findTreeChildren as M, isFunction as N } from "@web-utils/core";
@@ -1,9 +1,16 @@
1
- import { r as e, t } from "./CjjJimnU.mjs";
2
- import { t as n } from "./B1MSrc6f.mjs";
3
- import { Fragment as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createStaticVNode as s, createVNode as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderList as f, toDisplayString as p, withModifiers as m } from "vue";
4
- //#endregion
5
- //#region src/components/material-year-calendar/MonthCalendar.vue?vue&type=style&index=0&scoped=c5d49ea6&lang.scss
6
- var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { Fragment as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createStaticVNode as a, createVNode as o, normalizeClass as s, normalizeStyle as c, openBlock as l, renderList as u, toDisplayString as d, withModifiers as f } from "vue";
3
+ //#region \0rolldown/runtime.js
4
+ var p = Object.create, m = Object.defineProperty, h = Object.getOwnPropertyDescriptor, g = Object.getOwnPropertyNames, _ = Object.getPrototypeOf, v = Object.prototype.hasOwnProperty, y = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), b = (e, t, n, r) => {
5
+ if (t && typeof t == "object" || typeof t == "function") for (var i = g(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !v.call(e, s) && s !== n && m(e, s, {
6
+ get: ((e) => t[e]).bind(null, s),
7
+ enumerable: !(r = h(t, s)) || r.enumerable
8
+ });
9
+ return e;
10
+ }, x = /* @__PURE__ */ ((e, t, n) => (n = e == null ? {} : p(_(e)), b(t || !e || !e.__esModule ? m(n, "default", {
11
+ value: e,
12
+ enumerable: !0
13
+ }) : n, e)))((/* @__PURE__ */ y(((e, t) => {
7
14
  (function(n, r) {
8
15
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
9
16
  })(e, (function() {
@@ -297,7 +304,7 @@ var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
297
304
  return w(1e3 * e);
298
305
  }, w.en = b[y], w.Ls = b, w.p = {}, w;
299
306
  }));
300
- })))()), g = {
307
+ })))()), S = {
301
308
  name: "MonthCalendar",
302
309
  props: {
303
310
  activeDates: {
@@ -306,11 +313,11 @@ var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
306
313
  },
307
314
  month: {
308
315
  type: [String, Number],
309
- default: () => (0, h.default)().month() + 1
316
+ default: () => (0, x.default)().month() + 1
310
317
  },
311
318
  year: {
312
319
  type: [String, Number],
313
- default: () => (0, h.default)().year()
320
+ default: () => (0, x.default)().year()
314
321
  },
315
322
  lang: {
316
323
  type: String,
@@ -461,7 +468,7 @@ var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
461
468
  methods: {
462
469
  initCalendar() {
463
470
  if (!this.year || !this.month) return [];
464
- let e = (0, h.default)().set("date", 1).set("year", this.year).set("month", this.month - 1), t = e.startOf("month").day() - 1;
471
+ let e = (0, x.default)().set("date", 1).set("year", this.year).set("month", this.month - 1), t = e.startOf("month").day() - 1;
465
472
  t < 0 && (t += 7);
466
473
  let n = e.endOf("month").date(), r = t >= 5 ? 6 : 5, i = 0, a = Array.from(Array(r * 7).keys()).map((e) => ({
467
474
  value: t <= e ? i++ % n + 1 : "",
@@ -474,7 +481,7 @@ var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
474
481
  date: e,
475
482
  className: this.activeClass
476
483
  } : typeof e == "object" && (n = e);
477
- let r = (0, h.default)(n.date);
484
+ let r = (0, x.default)(n.date);
478
485
  if (r.year() !== this.year) return;
479
486
  let i = r.date(), a = Math.floor(i / 7), o = i % 7 - 1 + t + 7 * a;
480
487
  this.showDays[o].active = !0, this.showDays[o].className = n.className;
@@ -580,31 +587,31 @@ var h = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
580
587
  this.$emit("monthClickEvent", t);
581
588
  }
582
589
  }
583
- }, _ = { class: "c-wrapper" }, v = { class: "calendar__body" }, y = ["onMouseover", "onMousedown"];
584
- function b(e, t, n, i, s, c) {
585
- return d(), a("div", _, [o("div", {
590
+ }, C = { class: "c-wrapper" }, w = { class: "calendar__body" }, T = ["onMouseover", "onMousedown"];
591
+ function E(e, n, a, o, p, m) {
592
+ return l(), r("div", C, [i("div", {
586
593
  class: "calendar",
587
- onMouseup: t[1] || (t[1] = (...e) => c.mouseUp && c.mouseUp(...e)),
588
- onMouseleave: t[2] || (t[2] = m((...e) => c.mouseUp && c.mouseUp(...e), ["stop"]))
589
- }, [o("div", {
594
+ onMouseup: n[1] || (n[1] = (...e) => m.mouseUp && m.mouseUp(...e)),
595
+ onMouseleave: n[2] || (n[2] = f((...e) => m.mouseUp && m.mouseUp(...e), ["stop"]))
596
+ }, [i("div", {
590
597
  class: "calendar__title",
591
- onClick: t[0] || (t[0] = (e) => c.monthClickEvent(n.year))
592
- }, p(c.monthTitle), 1), o("div", v, [(d(), a(r, null, f(7, (e, t) => o("div", {
598
+ onClick: n[0] || (n[0] = (e) => m.monthClickEvent(a.year))
599
+ }, d(m.monthTitle), 1), i("div", w, [(l(), r(t, null, u(7, (e, t) => i("div", {
593
600
  key: `title${e}`,
594
601
  class: "calendar__day day__weektitle",
595
- style: u({ fontSize: c.weekTitleFontSizeAdjustLang })
596
- }, p(c.showDayTitle(t)), 5)), 64)), (d(!0), a(r, null, f(s.showDays, (e, t) => (d(), a("div", {
602
+ style: c({ fontSize: m.weekTitleFontSizeAdjustLang })
603
+ }, d(m.showDayTitle(t)), 5)), 64)), (l(!0), r(t, null, u(p.showDays, (e, t) => (l(), r("div", {
597
604
  key: `day${t}`,
598
605
  class: "calendar__day"
599
- }, [o("div", {
600
- class: l(["day", c.classList(e)]),
601
- onMouseover: (t) => c.dragDay(e),
602
- onMousedown: (t) => c.mouseDown(e)
603
- }, p(e.value), 43, y)]))), 128))])], 32)]);
606
+ }, [i("div", {
607
+ class: s(["day", m.classList(e)]),
608
+ onMouseover: (t) => m.dragDay(e),
609
+ onMousedown: (t) => m.mouseDown(e)
610
+ }, d(e.value), 43, T)]))), 128))])], 32)]);
604
611
  }
605
- var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-c5d49ea6"]]), S = {
612
+ var D = /* @__PURE__ */ e(S, [["render", E], ["__scopeId", "data-v-c5d49ea6"]]), O = {
606
613
  name: "YearCalendar",
607
- components: { MonthCalendar: x },
614
+ components: { MonthCalendar: D },
608
615
  props: {
609
616
  showYearSelector: {
610
617
  type: Boolean,
@@ -639,7 +646,7 @@ var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-c5d49ea6"]]),
639
646
  },
640
647
  modelValue: {
641
648
  type: [String, Number],
642
- default: (0, h.default)().year()
649
+ default: (0, x.default)().year()
643
650
  },
644
651
  lang: {
645
652
  type: String,
@@ -682,8 +689,8 @@ var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-c5d49ea6"]]),
682
689
  } : {
683
690
  date: t.date,
684
691
  className: t.className || ""
685
- }, (0, h.default)(n.date).year() !== parseInt(this.modelValue)) return;
686
- let r = ((0, h.default)(n.date).month() + 1).toString();
692
+ }, (0, x.default)(n.date).year() !== parseInt(this.modelValue)) return;
693
+ let r = ((0, x.default)(n.date).month() + 1).toString();
687
694
  e[r] || (e[r] = []), e[r].push(n);
688
695
  }), e;
689
696
  },
@@ -704,7 +711,7 @@ var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-c5d49ea6"]]),
704
711
  this.activeYear = e + this.activeYear - 3;
705
712
  },
706
713
  toggleDate(e) {
707
- let t = (0, h.default)().set("year", this.modelValue).set("month", e.month - 1).set("date", e.date).format("YYYY-MM-DD");
714
+ let t = (0, x.default)().set("year", this.modelValue).set("month", e.month - 1).set("date", e.date).format("YYYY-MM-DD");
708
715
  this.$emit("toggleDate", {
709
716
  date: t,
710
717
  selected: e.selected,
@@ -729,32 +736,32 @@ var x = /* @__PURE__ */ n(g, [["render", b], ["__scopeId", "data-v-c5d49ea6"]]),
729
736
  this.$emit("monthClick", e);
730
737
  }
731
738
  }
732
- }, C = { class: "vue-calendar__container" }, w = {
739
+ }, k = { class: "vue-calendar__container" }, A = {
733
740
  key: 0,
734
741
  class: "container__year"
735
- }, T = ["onClick"];
736
- function E(e, t, n, u, m, h) {
737
- let g = x;
738
- return d(), a("div", C, [n.showYearSelector ? (d(), a("div", w, [
739
- i(" <span><button @click=\"addYear(-1)\">back</button></span> "),
740
- (d(), a(r, null, f(5, (e) => o("span", {
742
+ }, j = ["onClick"];
743
+ function M(e, c, f, p, m, h) {
744
+ let g = D;
745
+ return l(), r("div", k, [f.showYearSelector ? (l(), r("div", A, [
746
+ n(" <span><button @click=\"addYear(-1)\">back</button></span> "),
747
+ (l(), r(t, null, u(5, (e) => i("span", {
741
748
  key: e,
742
749
  class: "year__chooser",
743
750
  onClick: (t) => h.changeYear(e)
744
- }, p(e + h.activeYear - 3), 9, T)), 64)),
745
- i(" <span><button @click=\"addYear(1)\">next</button></span> ")
746
- ])) : i("v-if", !0), o("div", { class: l(["container__months", {
747
- "hide-weekend": n.hideWeekend,
748
- "hide-sunday": n.hideSunday
749
- }]) }, [(d(), a(r, null, f(12, (e) => c(g, {
751
+ }, d(e + h.activeYear - 3), 9, j)), 64)),
752
+ n(" <span><button @click=\"addYear(1)\">next</button></span> ")
753
+ ])) : n("v-if", !0), i("div", { class: s(["container__months", {
754
+ "hide-weekend": f.hideWeekend,
755
+ "hide-sunday": f.hideSunday
756
+ }]) }, [(l(), r(t, null, u(12, (e) => o(g, {
750
757
  key: `month-${e}`,
751
758
  class: "container__month",
752
759
  year: h.activeYear,
753
760
  month: e,
754
761
  "active-dates": h.month[e],
755
- "active-class": n.activeClass,
756
- lang: n.lang,
757
- "prefix-class": n.prefixClass,
762
+ "active-class": f.activeClass,
763
+ lang: f.lang,
764
+ "prefix-class": f.prefixClass,
758
765
  onToggleDate: h.toggleDate,
759
766
  onMonthClickEvent: h.monthClick
760
767
  }, null, 8, [
@@ -766,8 +773,8 @@ function E(e, t, n, u, m, h) {
766
773
  "prefix-class",
767
774
  "onToggleDate",
768
775
  "onMonthClickEvent"
769
- ])), 64)), t[0] || (t[0] = s("<div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div>", 5))], 2)]);
776
+ ])), 64)), c[0] || (c[0] = a("<div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div><div class=\"container__month p-0\" data-v-5cc87b9a></div>", 5))], 2)]);
770
777
  }
771
- var D = /* @__PURE__ */ n(S, [["render", E], ["__scopeId", "data-v-5cc87b9a"]]);
778
+ var N = /* @__PURE__ */ e(O, [["render", M], ["__scopeId", "data-v-5cc87b9a"]]);
772
779
  //#endregion
773
- export { D as t };
780
+ export { N as t };
@@ -1,19 +1,18 @@
1
- import { n as e } from "./CjjJimnU.mjs";
2
- import { t } from "./B1MSrc6f.mjs";
3
- import { t as n } from "./V-Js6hNd.mjs";
4
- import { ElButton as r, ElDivider as i, ElForm as a, ElFormItem as o, ElInput as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
1
+ import { t as e } from "./B1MSrc6f.mjs";
2
+ import { t } from "./V-Js6hNd.mjs";
3
+ import { ElButton as n, ElDivider as r, ElForm as i, ElFormItem as a, ElInput as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
5
4
  import "element-plus/es/components/base/style/css";
6
5
  import "element-plus/es/components/input/style/css";
7
- import { createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, openBlock as m, withCtx as h, withModifiers as g } from "vue";
8
- import { fastClone as _ } from "@web-utils/core";
6
+ import { createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, openBlock as p, withCtx as m, withModifiers as h } from "vue";
7
+ import { fastClone as g } from "@web-utils/core";
9
8
  import "element-plus/es/components/button/style/css";
10
9
  import "element-plus/es/components/table/style/css";
11
10
  import "element-plus/es/components/table-column/style/css";
12
- import "element-plus/es/components/form/style/css";
13
11
  import "element-plus/es/components/form-item/style/css";
12
+ import "element-plus/es/components/form/style/css";
14
13
  import "element-plus/es/components/divider/style/css";
15
14
  //#region src/components/bpmn-process-designer/components/penal/properties/ElementProperties.vue
16
- var v = /* @__PURE__ */ e({ default: () => C }), y = {
15
+ var _ = {
17
16
  name: "ElementProperties",
18
17
  inject: {
19
18
  prefix: "prefix",
@@ -41,10 +40,10 @@ var v = /* @__PURE__ */ e({ default: () => C }), y = {
41
40
  methods: {
42
41
  resetAttributesList() {
43
42
  var e;
44
- this.otherExtensionList = [], this.bpmnElementProperties = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => (e.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(e), e.$type === `${this.prefix}:Properties`))) ?? [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((e, t) => e.concat(t.values), []), this.elementPropertyList = _(this.bpmnElementPropertyList ?? []);
43
+ this.otherExtensionList = [], this.bpmnElementProperties = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => (e.$type !== `${this.prefix}:Properties` && this.otherExtensionList.push(e), e.$type === `${this.prefix}:Properties`))) ?? [], this.bpmnElementPropertyList = this.bpmnElementProperties.reduce((e, t) => e.concat(t.values), []), this.elementPropertyList = g(this.bpmnElementPropertyList ?? []);
45
44
  },
46
45
  openAttributesForm(e, t) {
47
- this.editingPropertyIndex = t, this.propertyForm = t === -1 ? {} : _(e), this.propertyFormModelVisible = !0, this.$nextTick(() => {
46
+ this.editingPropertyIndex = t, this.propertyForm = t === -1 ? {} : g(e), this.propertyFormModelVisible = !0, this.$nextTick(() => {
48
47
  this.$refs.attributeFormRef && this.$refs.attributeFormRef.clearValidate();
49
48
  });
50
49
  },
@@ -78,53 +77,53 @@ var v = /* @__PURE__ */ e({ default: () => C }), y = {
78
77
  this.bpmnInstances.modeling.updateProperties(this.element, { extensionElements: t });
79
78
  }
80
79
  }
81
- }, b = { class: "panel-tab__content" }, x = { class: "element-drawer__button" };
82
- function S(e, t, _, v, y, S) {
83
- let C = l, w = r, T = i, E = c, D = s, O = o, k = a, A = n;
84
- return m(), u("div", b, [
85
- p(E, {
86
- data: y.elementPropertyList,
80
+ }, v = { class: "panel-tab__content" }, y = { class: "element-drawer__button" };
81
+ function b(e, g, _, b, x, S) {
82
+ let C = c, w = n, T = r, E = s, D = o, O = a, k = i, A = t;
83
+ return p(), l("div", v, [
84
+ f(E, {
85
+ data: x.elementPropertyList,
87
86
  "max-height": "240",
88
87
  border: "",
89
88
  fit: ""
90
89
  }, {
91
- default: h(() => [
92
- p(C, {
90
+ default: m(() => [
91
+ f(C, {
93
92
  label: "序号",
94
93
  width: "50px",
95
94
  type: "index"
96
95
  }),
97
- p(C, {
96
+ f(C, {
98
97
  label: "属性名",
99
98
  prop: "name",
100
99
  "min-width": "100px",
101
100
  "show-overflow-tooltip": ""
102
101
  }),
103
- p(C, {
102
+ f(C, {
104
103
  label: "属性值",
105
104
  prop: "value",
106
105
  "min-width": "100px",
107
106
  "show-overflow-tooltip": ""
108
107
  }),
109
- p(C, {
108
+ f(C, {
110
109
  label: "操作",
111
110
  width: "90px"
112
111
  }, {
113
- default: h(({ row: e, $index: n }) => [
114
- p(w, {
112
+ default: m(({ row: e, $index: t }) => [
113
+ f(w, {
115
114
  text: "",
116
- onClick: (t) => S.openAttributesForm(e, n)
115
+ onClick: (n) => S.openAttributesForm(e, t)
117
116
  }, {
118
- default: h(() => [...t[6] || (t[6] = [f("编辑", -1)])]),
117
+ default: m(() => [...g[6] || (g[6] = [d("编辑", -1)])]),
119
118
  _: 1
120
119
  }, 8, ["onClick"]),
121
- p(T, { direction: "vertical" }),
122
- p(w, {
120
+ f(T, { direction: "vertical" }),
121
+ f(w, {
123
122
  text: "",
124
123
  style: { color: "#ff4d4f" },
125
- onClick: (t) => S.removeAttributes(e, n)
124
+ onClick: (n) => S.removeAttributes(e, t)
126
125
  }, {
127
- default: h(() => [...t[7] || (t[7] = [f("移除", -1)])]),
126
+ default: m(() => [...g[7] || (g[7] = [d("移除", -1)])]),
128
127
  _: 1
129
128
  }, 8, ["onClick"])
130
129
  ]),
@@ -133,56 +132,56 @@ function S(e, t, _, v, y, S) {
133
132
  ]),
134
133
  _: 1
135
134
  }, 8, ["data"]),
136
- d("div", x, [p(w, {
135
+ u("div", y, [f(w, {
137
136
  type: "primary",
138
137
  icon: "el-icon-plus",
139
- onClick: t[0] || (t[0] = (e) => S.openAttributesForm(null, -1))
138
+ onClick: g[0] || (g[0] = (e) => S.openAttributesForm(null, -1))
140
139
  }, {
141
- default: h(() => [...t[8] || (t[8] = [f("添加属性", -1)])]),
140
+ default: m(() => [...g[8] || (g[8] = [d("添加属性", -1)])]),
142
141
  _: 1
143
142
  })]),
144
- p(A, {
145
- visible: y.propertyFormModelVisible,
146
- "onUpdate:visible": t[5] || (t[5] = (e) => y.propertyFormModelVisible = e),
143
+ f(A, {
144
+ visible: x.propertyFormModelVisible,
145
+ "onUpdate:visible": g[5] || (g[5] = (e) => x.propertyFormModelVisible = e),
147
146
  class: "flow-dialog",
148
147
  title: "属性配置",
149
148
  width: "600px",
150
149
  "append-to-body": "",
151
150
  "destroy-on-close": ""
152
151
  }, {
153
- footer: h(() => [p(w, { onClick: t[4] || (t[4] = (e) => y.propertyFormModelVisible = !1) }, {
154
- default: h(() => [...t[9] || (t[9] = [f("取 消", -1)])]),
152
+ footer: m(() => [f(w, { onClick: g[4] || (g[4] = (e) => x.propertyFormModelVisible = !1) }, {
153
+ default: m(() => [...g[9] || (g[9] = [d("取 消", -1)])]),
155
154
  _: 1
156
- }), p(w, {
155
+ }), f(w, {
157
156
  type: "primary",
158
157
  onClick: S.saveAttribute
159
158
  }, {
160
- default: h(() => [...t[10] || (t[10] = [f("确 定", -1)])]),
159
+ default: m(() => [...g[10] || (g[10] = [d("确 定", -1)])]),
161
160
  _: 1
162
161
  }, 8, ["onClick"])]),
163
- default: h(() => [p(k, {
162
+ default: m(() => [f(k, {
164
163
  ref: "attributeFormRef",
165
- model: y.propertyForm,
164
+ model: x.propertyForm,
166
165
  "label-width": "80px",
167
- onSubmit: t[3] || (t[3] = g(() => {}, ["prevent"]))
166
+ onSubmit: g[3] || (g[3] = h(() => {}, ["prevent"]))
168
167
  }, {
169
- default: h(() => [p(O, {
168
+ default: m(() => [f(O, {
170
169
  label: "属性名:",
171
170
  prop: "name"
172
171
  }, {
173
- default: h(() => [p(D, {
174
- modelValue: y.propertyForm.name,
175
- "onUpdate:modelValue": t[1] || (t[1] = (e) => y.propertyForm.name = e),
172
+ default: m(() => [f(D, {
173
+ modelValue: x.propertyForm.name,
174
+ "onUpdate:modelValue": g[1] || (g[1] = (e) => x.propertyForm.name = e),
176
175
  clearable: ""
177
176
  }, null, 8, ["modelValue"])]),
178
177
  _: 1
179
- }), p(O, {
178
+ }), f(O, {
180
179
  label: "属性值:",
181
180
  prop: "value"
182
181
  }, {
183
- default: h(() => [p(D, {
184
- modelValue: y.propertyForm.value,
185
- "onUpdate:modelValue": t[2] || (t[2] = (e) => y.propertyForm.value = e),
182
+ default: m(() => [f(D, {
183
+ modelValue: x.propertyForm.value,
184
+ "onUpdate:modelValue": g[2] || (g[2] = (e) => x.propertyForm.value = e),
186
185
  clearable: ""
187
186
  }, null, 8, ["modelValue"])]),
188
187
  _: 1
@@ -193,6 +192,6 @@ function S(e, t, _, v, y, S) {
193
192
  }, 8, ["visible"])
194
193
  ]);
195
194
  }
196
- var C = /* @__PURE__ */ t(y, [["render", S]]);
195
+ var x = /* @__PURE__ */ e(_, [["render", b]]);
197
196
  //#endregion
198
- export { v as n, C as t };
197
+ export { x as default };
@@ -1,5 +1,5 @@
1
- import { n as e } from "./Dgwcljur.mjs";
2
- import { t } from "./Dpzw7Rtp.mjs";
1
+ import { n as e } from "./CkLpOk7H.mjs";
2
+ import { t } from "./BWTQ3qdg.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/FormInputPhoneNumber.vue?vue&type=script&lang.jsx
@@ -1,4 +1,4 @@
1
- import { n as e, o as t, t as n } from "./Dgwcljur.mjs";
1
+ import { n as e, o as t, t as n } from "./CkLpOk7H.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,5 +1,5 @@
1
- import { n as e } from "./Dgwcljur.mjs";
2
- import { t } from "./Dpzw7Rtp.mjs";
1
+ import { n as e } from "./CkLpOk7H.mjs";
2
+ import { t } from "./BWTQ3qdg.mjs";
3
3
  import { allProps as n } from "../props/textarea.mjs";
4
4
  import { createVNode as r, isVNode as i, mergeProps as a, useModel as o } from "vue";
5
5
  //#region src/components/form/FormTextarea.vue?vue&type=script&lang.jsx