@feedmepos/mf-brand-app-builder 0.5.47-dev.0 → 0.5.47-prod

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 (28) hide show
  1. package/README.md +5 -3
  2. package/dist/App-BH-HEj-A.js +114 -0
  3. package/dist/{AssetsSettings-DtZ6goQl.js → AssetsSettings-Do8rt2sU.js} +22 -22
  4. package/dist/{BrandkitView-DUlf5K3i.js → BrandkitView-DBHBRqJd.js} +3366 -3315
  5. package/dist/{BuilderView-DLcKTOoe.js → BuilderView-C-9L9DYj.js} +7 -7
  6. package/dist/{CredentialSettings-3eVBw1x8.js → CredentialSettings-BB_Yroul.js} +1 -1
  7. package/dist/{ImageUpload-Bm2BY6Y1.js → ImageUpload-B_Cwb7uG.js} +8 -8
  8. package/dist/{LinkButton-De-YNclu.js → LinkButton-DNXBKGCn.js} +1 -1
  9. package/dist/{ListRepeater-Cuo0XXKs.js → ListRepeater-BUwnFzc4.js} +1 -1
  10. package/dist/{ManagementSettings-CWAKkmbz.js → ManagementSettings-CjsGetkI.js} +6 -6
  11. package/dist/{ProjectView-DrgxaTFz.js → ProjectView-B_MXOUPV.js} +3 -3
  12. package/dist/{app-Doep9hzN.js → app-CSlr7y4L.js} +167 -146
  13. package/dist/app.js +1 -1
  14. package/dist/client/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
  15. package/dist/client/merchant/src/app.d.ts +21 -0
  16. package/dist/{dayjs.min-CKlJsMOX.js → dayjs.min-DGxqbGsh.js} +1 -1
  17. package/dist/{image-D_Djf1PS.js → image-S7-2rbQS.js} +7 -7
  18. package/dist/{index-BA2J-Ffh.js → index-BpYD24Jn.js} +1 -1
  19. package/dist/{index-D0LOMBBD.js → index-C6_vWPi0.js} +27 -27
  20. package/dist/index-CP6_oC8N.js +134 -0
  21. package/dist/{index-Bk6TOZrx.js → index-CPs0rWCO.js} +15 -15
  22. package/dist/{main-CiLAou6A.js → main-Cn1Sp_j-.js} +2 -2
  23. package/dist/package.json +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/{useBusinessFeatureFlag-CEkj13Xd.js → useBusinessFeatureFlag-C_l1nFQm.js} +218 -227
  26. package/package.json +1 -1
  27. package/dist/App-CscQqcFq.js +0 -163
  28. package/dist/index-CVVQJJYY.js +0 -134
@@ -1,4 +1,4 @@
1
- import { isRef as At, ref as z, shallowRef as Gi, watchEffect as pe, computed as be, h as tt, defineComponent as Pt, createBlock as Vi, renderSlot as Ii, createCommentVNode as Ei, unref as Me, openBlock as $a, createElementBlock as Yi, createElementVNode as Se, toDisplayString as ba, defineAsyncComponent as W, getCurrentInstance as Ht, markRaw as Lt, watch as _e, reactive as Ke, onMounted as en, onUnmounted as Hi, inject as ot, provide as Ri, toRef as Ni, onBeforeUnmount as qi, createTextVNode as Qi, resolveComponent as Xi, nextTick as Wi, triggerRef as lt, isReactive as ya } from "vue";
1
+ import { isRef as At, ref as z, shallowRef as Vi, watchEffect as pe, computed as be, h as tt, defineComponent as Pt, createBlock as Gi, renderSlot as Ii, createCommentVNode as Ei, unref as Me, openBlock as $a, createElementBlock as Yi, createElementVNode as Se, toDisplayString as ba, defineAsyncComponent as W, getCurrentInstance as Ht, markRaw as Lt, watch as _e, reactive as Ke, onMounted as en, onUnmounted as Hi, inject as ot, provide as Ri, toRef as Ni, onBeforeUnmount as qi, createTextVNode as Qi, resolveComponent as Xi, nextTick as Wi, triggerRef as lt, isReactive as ya } from "vue";
2
2
  import { MiniprogramWorkspace as Ui } from "@feedmepos/mf-miniprogram-v2";
3
3
  import { useRoute as zi } from "vue-router";
4
4
  import { useCoreStore as tn, useI18n as an } from "@feedmepos/mf-common";
@@ -19,6 +19,9 @@ const Ki = {
19
19
  description: "Manage your brand's colors and fonts for your mini program.",
20
20
  save: "Save",
21
21
  unsavedChanges: "You have unsaved changes",
22
+ miniprogramV2BannerTitle: "Try the new version of Mini Program",
23
+ miniprogramV2BannerDescription: "A new version of Mini Program is available for your business. Give it a try.",
24
+ miniprogramV2BannerAction: "Try now",
22
25
  logo: "Logo",
23
26
  color: {
24
27
  _: "Colors",
@@ -767,6 +770,9 @@ const Ki = {
767
770
  description: "管理您的品牌小程序的颜色和字体。",
768
771
  save: "保存",
769
772
  unsavedChanges: "您有未保存的更改",
773
+ miniprogramV2BannerTitle: "试用新版小程序",
774
+ miniprogramV2BannerDescription: "您的商户可以试用全新的小程序体验。",
775
+ miniprogramV2BannerAction: "立即试用",
770
776
  logo: "标志",
771
777
  color: {
772
778
  _: "颜色",
@@ -1521,6 +1527,9 @@ const Ki = {
1521
1527
  description: "管理您的品牌小程序的顔色和字體。",
1522
1528
  save: "保存",
1523
1529
  unsavedChanges: "您有未保存的更改",
1530
+ miniprogramV2BannerTitle: "試用新版小程序",
1531
+ miniprogramV2BannerDescription: "您的商戶可以試用全新的小程序體驗。",
1532
+ miniprogramV2BannerAction: "立即試用",
1524
1533
  logo: "標志",
1525
1534
  color: {
1526
1535
  _: "顔色",
@@ -2270,6 +2279,9 @@ const Ki = {
2270
2279
  description: "จัดการสีและฟอนต์ของแบรนด์สำหรับมินิโปรแกรมของคุณ",
2271
2280
  save: "บันทึก",
2272
2281
  unsavedChanges: "คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก",
2282
+ miniprogramV2BannerTitle: "ลองใช้มินิโปรแกรมเวอร์ชันใหม่",
2283
+ miniprogramV2BannerDescription: "ธุรกิจของคุณสามารถทดลองใช้ประสบการณ์มินิโปรแกรมใหม่ได้แล้ว",
2284
+ miniprogramV2BannerAction: "ลองใช้เลย",
2273
2285
  logo: "โลโก้",
2274
2286
  color: {
2275
2287
  _: "สี",
@@ -3180,6 +3192,9 @@ const Ki = {
3180
3192
  description: "미니 프로그램을 위한 브랜드 색상과 폰트를 관리하세요.",
3181
3193
  save: "저장",
3182
3194
  unsavedChanges: "저장되지 않은 변경 사항이 있습니다",
3195
+ miniprogramV2BannerTitle: "새 버전의 미니 프로그램 체험하기",
3196
+ miniprogramV2BannerDescription: "새로운 미니 프로그램 경험을 지금 이용해 보세요.",
3197
+ miniprogramV2BannerAction: "지금 체험하기",
3183
3198
  logo: "로고",
3184
3199
  color: {
3185
3200
  _: "색상",
@@ -4095,6 +4110,9 @@ const Ki = {
4095
4110
  description: "Quản lý màu sắc và phông chữ thương hiệu của bạn cho chương trình nhỏ.",
4096
4111
  save: "Lưu",
4097
4112
  unsavedChanges: "Bạn có thay đổi chưa được lưu",
4113
+ miniprogramV2BannerTitle: "Dùng thử phiên bản mới của Mini Program",
4114
+ miniprogramV2BannerDescription: "Trải nghiệm mini program mới hiện đã có sẵn cho doanh nghiệp của bạn. Hãy dùng thử ngay.",
4115
+ miniprogramV2BannerAction: "Dùng thử ngay",
4098
4116
  logo: "Logo",
4099
4117
  color: {
4100
4118
  _: "Màu sắc",
@@ -5010,6 +5028,9 @@ const Ki = {
5010
5028
  description: "Urus warna dan fon jenama anda untuk mini program.",
5011
5029
  save: "Simpan",
5012
5030
  unsavedChanges: "Anda mempunyai perubahan yang belum disimpan",
5031
+ miniprogramV2BannerTitle: "Cuba versi baharu Mini Program",
5032
+ miniprogramV2BannerDescription: "Pengalaman mini program baharu kini tersedia untuk perniagaan anda. Cubalah sekarang.",
5033
+ miniprogramV2BannerAction: "Cuba sekarang",
5013
5034
  logo: "Logo",
5014
5035
  color: {
5015
5036
  _: "Warna",
@@ -6356,7 +6377,7 @@ const Ki = {
6356
6377
  missions: "任务",
6357
6378
  games: "游戏"
6358
6379
  }
6359
- }, Gr = {
6380
+ }, Vr = {
6360
6381
  member: {
6361
6382
  welcome: "欢迎!",
6362
6383
  signIn: "登录",
@@ -6538,7 +6559,7 @@ const Ki = {
6538
6559
  switchCountryDrawer: {
6539
6560
  selectLocation: "选择您的位置"
6540
6561
  }
6541
- }, Vr = {
6562
+ }, Gr = {
6542
6563
  orderDetails: {
6543
6564
  title: "订单详情"
6544
6565
  },
@@ -6813,8 +6834,8 @@ const Ki = {
6813
6834
  }
6814
6835
  }, Yr = {
6815
6836
  user: Or,
6816
- components: Gr,
6817
- views: Vr,
6837
+ components: Vr,
6838
+ views: Gr,
6818
6839
  utils: Ir,
6819
6840
  dialog: Er
6820
6841
  }, Hr = {
@@ -9581,7 +9602,7 @@ var nn = { exports: {} };
9581
9602
  }), i.d(n, "compare", function() {
9582
9603
  return y;
9583
9604
  }), i.d(n, "comparable", function() {
9584
- return G;
9605
+ return V;
9585
9606
  });
9586
9607
  var l = s("Array"), m = s("Object"), b = s("Function");
9587
9608
  function A(c, g) {
@@ -9878,7 +9899,7 @@ var nn = { exports: {} };
9878
9899
  }), f;
9879
9900
  }
9880
9901
  function p(c, g) {
9881
- var f = j(c, g = Object.assign({ compare: y, comparable: G }, g));
9902
+ var f = j(c, g = Object.assign({ compare: y, comparable: V }, g));
9882
9903
  return function(u, v, k) {
9883
9904
  return D(f, u, v, k);
9884
9905
  };
@@ -9890,8 +9911,8 @@ var nn = { exports: {} };
9890
9911
  if (c < g) return -1;
9891
9912
  }
9892
9913
  }
9893
- function G(c) {
9894
- return c instanceof Date ? c.getTime() : l(c) ? c.map(G) : c && typeof c.toJSON == "function" ? c.toJSON() : c;
9914
+ function V(c) {
9915
+ return c instanceof Date ? c.getTime() : l(c) ? c.map(V) : c && typeof c.toJSON == "function" ? c.toJSON() : c;
9895
9916
  }
9896
9917
  }
9897
9918
  ]);
@@ -10034,7 +10055,7 @@ function Os(e) {
10034
10055
  }), a = t.length > 1 ? "(?:" + t.join("|") + ")" : t[0];
10035
10056
  return new RegExp("^" + a + "$");
10036
10057
  }
10037
- var Gs = /* @__PURE__ */ function() {
10058
+ var Vs = /* @__PURE__ */ function() {
10038
10059
  function e(a) {
10039
10060
  this.actions = a.actions || a.action, this.subject = a.subject, this.fields = !a.fields || a.fields.length === 0 ? void 0 : qt(a.fields), Object.defineProperty(this, "_fieldsPattern", {
10040
10061
  writable: !0
@@ -10057,7 +10078,7 @@ var Gs = /* @__PURE__ */ function() {
10057
10078
  function wa(e, t) {
10058
10079
  return e === t || Array.isArray(t) && t.indexOf(e) !== -1;
10059
10080
  }
10060
- var Vs = /* @__PURE__ */ function() {
10081
+ var Gs = /* @__PURE__ */ function() {
10061
10082
  e.addAlias = function(n, i) {
10062
10083
  if (n === "manage" || wa("manage", i))
10063
10084
  throw new Error('Cannot add alias for "manage" action because it represents any action');
@@ -10069,7 +10090,7 @@ var Vs = /* @__PURE__ */ function() {
10069
10090
  n === void 0 && (n = {}), Object.defineProperty(this, "subjectName", {
10070
10091
  value: n.subjectName || Ts
10071
10092
  }), this[ee] = {
10072
- RuleType: n.RuleType || Gs,
10093
+ RuleType: n.RuleType || Vs,
10073
10094
  originalRules: a || [],
10074
10095
  hasPerFieldRules: !1,
10075
10096
  indexedRules: /* @__PURE__ */ Object.create(null),
@@ -11224,7 +11245,7 @@ function Bo(e) {
11224
11245
  }));
11225
11246
  }
11226
11247
  function To(e) {
11227
- return new Vs(Bo(e));
11248
+ return new Gs(Bo(e));
11228
11249
  }
11229
11250
  function jn(e, t, a) {
11230
11251
  const n = Array.isArray(e) ? e : [e], i = To(t), r = (A) => A.subject, s = (A) => i.can(A.action, r(A), A.field) ? !0 : A.coverSubject !== void 0 ? i.can(A.action, A.coverSubject, A.field) : !1, l = n.find((A) => !s(A));
@@ -11256,7 +11277,7 @@ function Po(e, t, a) {
11256
11277
  evaluating: r = void 0,
11257
11278
  shallow: s = !0,
11258
11279
  onError: l = Mo
11259
- } = n, m = z(!i), b = s ? Gi(t) : z(t);
11280
+ } = n, m = z(!i), b = s ? Vi(t) : z(t);
11260
11281
  let A = 0;
11261
11282
  return pe(async (B) => {
11262
11283
  if (!m.value)
@@ -11349,11 +11370,11 @@ const jo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
11349
11370
  subtitle: "UH OH! You don't have permission to access this page."
11350
11371
  }, Oo = {
11351
11372
  noPermission: Fo
11352
- }, Go = {
11373
+ }, Vo = {
11353
11374
  title: "访问被拒绝",
11354
11375
  subtitle: "哎呀!您没有权限访问此页面。"
11355
- }, Vo = {
11356
- noPermission: Go
11376
+ }, Go = {
11377
+ noPermission: Vo
11357
11378
  }, Io = {
11358
11379
  title: "存取被拒絕",
11359
11380
  subtitle: "哎呀!您沒有權限存取此頁面。"
@@ -11370,7 +11391,7 @@ const jo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
11370
11391
  const { t } = an({
11371
11392
  messages: {
11372
11393
  "en-US": Oo,
11373
- "zh-CN": Vo,
11394
+ "zh-CN": Go,
11374
11395
  "zh-Hant": Eo,
11375
11396
  "th-TH": Ho
11376
11397
  }
@@ -11394,7 +11415,7 @@ const jo = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xml
11394
11415
  __name: "PermissionWrapper",
11395
11416
  setup(e) {
11396
11417
  const t = So();
11397
- return (a, n) => Me(t) === Me(Qt).Denied ? ($a(), Vi(Uo, { key: 0 })) : Me(t) === Me(Qt).Allowed ? Ii(a.$slots, "default", { key: 1 }) : Ei("", !0);
11418
+ return (a, n) => Me(t) === Me(Qt).Denied ? ($a(), Gi(Uo, { key: 0 })) : Me(t) === Me(Qt).Allowed ? Ii(a.$slots, "default", { key: 1 }) : Ei("", !0);
11398
11419
  }
11399
11420
  });
11400
11421
  function Le(e) {
@@ -11442,23 +11463,23 @@ const at = (e) => ({
11442
11463
  })
11443
11464
  }
11444
11465
  }), Zo = Le(
11445
- W(() => import("./BrandkitView-DUlf5K3i.js"))
11466
+ W(() => import("./BrandkitView-DBHBRqJd.js"))
11446
11467
  ), Jo = Le(
11447
- W(() => import("./ProjectView-DrgxaTFz.js"))
11468
+ W(() => import("./ProjectView-B_MXOUPV.js"))
11448
11469
  ), _o = Le(
11449
- W(() => import("./BuilderView-DLcKTOoe.js"))
11470
+ W(() => import("./BuilderView-C-9L9DYj.js"))
11450
11471
  ), $o = Le(
11451
11472
  W(
11452
- () => import("./AssetsSettings-DtZ6goQl.js")
11473
+ () => import("./AssetsSettings-Do8rt2sU.js")
11453
11474
  )
11454
11475
  ), el = Le(
11455
11476
  W(
11456
- () => import("./ManagementSettings-CWAKkmbz.js")
11477
+ () => import("./ManagementSettings-CjsGetkI.js")
11457
11478
  )
11458
11479
  );
11459
11480
  Le(
11460
11481
  W(
11461
- () => import("./CredentialSettings-3eVBw1x8.js")
11482
+ () => import("./CredentialSettings-BB_Yroul.js")
11462
11483
  )
11463
11484
  );
11464
11485
  const tl = Le(Ui), al = at([
@@ -11553,7 +11574,7 @@ function Xe() {
11553
11574
  function sl(e, t) {
11554
11575
  return [...e instanceof Set ? e : new Set(e)];
11555
11576
  }
11556
- function V(e, t) {
11577
+ function G(e, t) {
11557
11578
  return Object.prototype.hasOwnProperty.call(e, t);
11558
11579
  }
11559
11580
  function Z(e, t, a = !0, n = ["__key"]) {
@@ -11636,7 +11657,7 @@ var we = /* @__NO_SIDE_EFFECTS__ */ (e, t, a = !1, n = !1) => {
11636
11657
  if (typeof t == "string")
11637
11658
  return t;
11638
11659
  for (const r in e)
11639
- if (V(t, r) && (t[r] !== void 0 || !n)) {
11660
+ if (G(t, r) && (t[r] !== void 0 || !n)) {
11640
11661
  if (a && Array.isArray(e[r]) && Array.isArray(t[r])) {
11641
11662
  i[r] = e[r].concat(t[r]);
11642
11663
  continue;
@@ -11652,7 +11673,7 @@ var we = /* @__NO_SIDE_EFFECTS__ */ (e, t, a = !1, n = !1) => {
11652
11673
  } else
11653
11674
  i[r] = e[r];
11654
11675
  for (const r in t)
11655
- !V(i, r) && t[r] !== void 0 && (i[r] = t[r]);
11676
+ !G(i, r) && t[r] !== void 0 && (i[r] = t[r]);
11656
11677
  return i;
11657
11678
  };
11658
11679
  function ul(e) {
@@ -11703,13 +11724,13 @@ function Ba(e, t) {
11703
11724
  n.some((r) => r.test(i)) && (a[i] = e[i]);
11704
11725
  }), a;
11705
11726
  }
11706
- function Ve(e) {
11727
+ function Ge(e) {
11707
11728
  return e.replace(
11708
11729
  /-([a-z0-9])/gi,
11709
11730
  (t, a) => a.toUpperCase()
11710
11731
  );
11711
11732
  }
11712
- function Gn(e) {
11733
+ function Vn(e) {
11713
11734
  return e.replace(
11714
11735
  /([a-z0-9])([A-Z])/g,
11715
11736
  (t, a, n) => a + "-" + n.toLowerCase()
@@ -11745,7 +11766,7 @@ function gl(e, t) {
11745
11766
  let n = e;
11746
11767
  for (const i in a) {
11747
11768
  const r = a[i];
11748
- if (V(n, r) && (n = n[r]), +i === a.length - 1)
11769
+ if (G(n, r) && (n = n[r]), +i === a.length - 1)
11749
11770
  return n;
11750
11771
  if (!n || typeof n != "object")
11751
11772
  return null;
@@ -11795,7 +11816,7 @@ function ra() {
11795
11816
  r > -1 && e.splice(r, 1);
11796
11817
  }, a;
11797
11818
  }
11798
- function Vn() {
11819
+ function Gn() {
11799
11820
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
11800
11821
  let a;
11801
11822
  const n = (i, r) => {
@@ -11894,7 +11915,7 @@ function Cl(e = !1) {
11894
11915
  const l = new Proxy(t, {
11895
11916
  get(...m) {
11896
11917
  const [b, A] = m;
11897
- return A === "buffer" ? n : A === "_b" ? i : A === "_m" ? r : A === "_r" ? s : V(Ta, A) ? Ta[A].bind(
11918
+ return A === "buffer" ? n : A === "_b" ? i : A === "_m" ? r : A === "_r" ? s : G(Ta, A) ? Ta[A].bind(
11898
11919
  null,
11899
11920
  t,
11900
11921
  l,
@@ -11915,7 +11936,7 @@ function wl(e, t, a, n) {
11915
11936
  const r = n.value;
11916
11937
  n.value = a.t(n), n.value !== r && (n.meta.locale = a.props.locale);
11917
11938
  }
11918
- const i = `message-${V(e, n.key) ? "updated" : "added"}`;
11939
+ const i = `message-${G(e, n.key) ? "updated" : "added"}`;
11919
11940
  e[n.key] = Object.freeze(
11920
11941
  a.hook.message.dispatch(n)
11921
11942
  ), a.emit(i, n);
@@ -11929,7 +11950,7 @@ function kl(e, t) {
11929
11950
  }
11930
11951
  }
11931
11952
  function In(e, t, a, n) {
11932
- if (V(e, n)) {
11953
+ if (G(e, n)) {
11933
11954
  const i = e[n];
11934
11955
  delete e[n], a.emit("message-removed", i);
11935
11956
  }
@@ -12016,16 +12037,16 @@ function xl() {
12016
12037
  },
12017
12038
  merge: (a) => Pa(t, e, a),
12018
12039
  settled(a) {
12019
- return V(e, a) ? e[a].promise : Promise.resolve();
12040
+ return G(e, a) ? e[a].promise : Promise.resolve();
12020
12041
  },
12021
12042
  unmerge: (a) => Pa(t, e, a, !0),
12022
12043
  value(a) {
12023
- return V(e, a) ? e[a].count : 0;
12044
+ return G(e, a) ? e[a].count : 0;
12024
12045
  }
12025
12046
  };
12026
12047
  }
12027
12048
  function Sl(e, t, a, n, i = 0) {
12028
- if (n = jl(n || a), !V(t, a)) {
12049
+ if (n = jl(n || a), !G(t, a)) {
12029
12050
  const r = {
12030
12051
  condition: n,
12031
12052
  count: 0,
@@ -12074,7 +12095,7 @@ function Pa(e, t, a, n = !1) {
12074
12095
  }
12075
12096
  }
12076
12097
  }
12077
- var la = /* @__PURE__ */ new Map(), mt = /* @__PURE__ */ new Map(), ca = Vn();
12098
+ var la = /* @__PURE__ */ new Map(), mt = /* @__PURE__ */ new Map(), ca = Gn();
12078
12099
  function Fl(e) {
12079
12100
  e.props.id && (la.set(e.props.id, e), mt.set(e, e.props.id), ca(e, {
12080
12101
  payload: e,
@@ -12097,14 +12118,14 @@ function Ol(e) {
12097
12118
  function nt(e) {
12098
12119
  return la.get(e);
12099
12120
  }
12100
- function Gl(e, t) {
12121
+ function Vl(e, t) {
12101
12122
  return ca.on(e, t);
12102
12123
  }
12103
12124
  function Wt(e, t, a) {
12104
12125
  let n = !0;
12105
12126
  return t in e.config._t ? n = !1 : e.emit(`config:${t}`, a, !1), t in e.props || (e.emit("prop", { prop: t, value: a }), e.emit(`prop:${t}`, a)), n;
12106
12127
  }
12107
- function Vl(e = {}) {
12128
+ function Gl(e = {}) {
12108
12129
  const t = /* @__PURE__ */ new Set(), a = {
12109
12130
  ...e,
12110
12131
  _add: (i) => t.add(i),
@@ -12158,7 +12179,7 @@ var El = {
12158
12179
  delimiter: ".",
12159
12180
  delay: 0,
12160
12181
  locale: "en",
12161
- rootClasses: (e) => ({ [`formkit-${Gn(e)}`]: !0 })
12182
+ rootClasses: (e) => ({ [`formkit-${Vn(e)}`]: !0 })
12162
12183
  }, Nn = Symbol("index"), Ut = Symbol("removed"), zt = Symbol("moved"), qn = Symbol("inserted");
12163
12184
  function Yl(e) {
12164
12185
  return e.type === "list" && Array.isArray(e._value);
@@ -12358,7 +12379,7 @@ function _l(e, t, a) {
12358
12379
  const s = { ...e.props.attrs };
12359
12380
  e.props._emit = !1;
12360
12381
  for (const m in s) {
12361
- const b = Ve(m);
12382
+ const b = Ge(m);
12362
12383
  n.includes(b) && (e.props[b] = s[m], delete s[m]);
12363
12384
  }
12364
12385
  Array.isArray(a) || n.forEach((m) => {
@@ -12588,7 +12609,7 @@ function vc(e) {
12588
12609
  var A, B, I, D;
12589
12610
  const [s, l] = r;
12590
12611
  let m;
12591
- V(t, l) ? (m = Reflect.get(...r), (A = i[l]) != null && A.boolean && (m = Al(m))) : a && typeof l == "string" && a.config[l] !== void 0 ? (m = a.config[l], l === "mergeStrategy" && (a == null ? void 0 : a.type) === "input" && bt(m) && a.name in m && (m = m[a.name])) : m = (B = i[l]) == null ? void 0 : B.default;
12612
+ G(t, l) ? (m = Reflect.get(...r), (A = i[l]) != null && A.boolean && (m = Al(m))) : a && typeof l == "string" && a.config[l] !== void 0 ? (m = a.config[l], l === "mergeStrategy" && (a == null ? void 0 : a.type) === "input" && bt(m) && a.name in m && (m = m[a.name])) : m = (B = i[l]) == null ? void 0 : B.default;
12592
12613
  const b = (I = i[l]) == null ? void 0 : I.getter;
12593
12614
  return (D = i[l]) != null && D.boolean && (m = !!m), b ? b(m, a) : m;
12594
12615
  },
@@ -12627,7 +12648,7 @@ function kc(e) {
12627
12648
  const t = Xn(e), a = Kn(e.config || {}, e.parent);
12628
12649
  return {
12629
12650
  _d: 0,
12630
- _e: Vn(),
12651
+ _e: Gn(),
12631
12652
  uid: Symbol(),
12632
12653
  _resolve: !1,
12633
12654
  _tmo: !1,
@@ -12705,13 +12726,13 @@ function Mc(e) {
12705
12726
  return Dc(n, t);
12706
12727
  }
12707
12728
  function Zt(e) {
12708
- return typeof e != "string" && V(e, "$el");
12729
+ return typeof e != "string" && G(e, "$el");
12709
12730
  }
12710
12731
  function Jt(e) {
12711
- return typeof e != "string" && V(e, "$cmp");
12732
+ return typeof e != "string" && G(e, "$cmp");
12712
12733
  }
12713
12734
  function Oe(e) {
12714
- return !e || typeof e == "string" ? !1 : V(e, "if") && V(e, "then");
12735
+ return !e || typeof e == "string" ? !1 : G(e, "if") && G(e, "then");
12715
12736
  }
12716
12737
  function Pc(e) {
12717
12738
  return typeof e != "string" && "$formkit" in e;
@@ -12811,7 +12832,7 @@ function ce(e) {
12811
12832
  }
12812
12833
  function A(h, C = 0) {
12813
12834
  const w = i[C], P = h.length, S = Object.keys(w);
12814
- let M = 0, j = !1, p = null, y = "", G = null, c, g = "", f = "", u = "", v = "", k = 0;
12835
+ let M = 0, j = !1, p = null, y = "", V = null, c, g = "", f = "", u = "", v = "", k = 0;
12815
12836
  const L = (x, E) => {
12816
12837
  x ? u += E : y += E;
12817
12838
  };
@@ -12839,16 +12860,16 @@ function ce(e) {
12839
12860
  let Q = "";
12840
12861
  q && ([Q, x] = b(x + 2, h));
12841
12862
  const le = p ? C : m(k, h, 0), me = m(x, h);
12842
- le === -1 && me === -1 ? (y = B(u, -1, E, Q), typeof y == "string" && (y = u)) : p && (le >= me || me === -1) && C === le ? (G = p.bind(null, B(u, -1, E, Q)), p = null, y = "") : me > le && C === me ? y = B(u, -1, E, Q) : y += `(${u})${q ? `.${Q}` : ""}`, u = "";
12863
+ le === -1 && me === -1 ? (y = B(u, -1, E, Q), typeof y == "string" && (y = u)) : p && (le >= me || me === -1) && C === le ? (V = p.bind(null, B(u, -1, E, Q)), p = null, y = "") : me > le && C === me ? y = B(u, -1, E, Q) : y += `(${u})${q ? `.${Q}` : ""}`, u = "";
12843
12864
  } else
12844
12865
  u += f;
12845
12866
  else if (M === 0 && (c = l(S, f, x, h))) {
12846
- x === 0 && te(103, [c, h]), x += c.length - 1, x === h.length - 1 && te(104, [c, h]), p ? y && (G = p.bind(null, B(y, C)), p = w[c].bind(null, G), y = "") : G ? (p = w[c].bind(null, B(G, C)), G = null) : (p = w[c].bind(null, B(y, C)), y = "");
12867
+ x === 0 && te(103, [c, h]), x += c.length - 1, x === h.length - 1 && te(104, [c, h]), p ? y && (V = p.bind(null, B(y, C)), p = w[c].bind(null, V), y = "") : V ? (p = w[c].bind(null, B(V, C)), V = null) : (p = w[c].bind(null, B(y, C)), y = "");
12847
12868
  continue;
12848
12869
  } else
12849
12870
  L(M, f);
12850
12871
  }
12851
- return y && p && (p = p.bind(null, B(y, C))), p = !p && G ? G : p, !p && y && (p = (x, E) => typeof x == "function" ? x(E) : x, p = p.bind(null, B(y, C))), !p && !y && te(105, h), p;
12872
+ return y && p && (p = p.bind(null, B(y, C))), p = !p && V ? V : p, !p && y && (p = (x, E) => typeof x == "function" ? x(E) : x, p = p.bind(null, B(y, C))), !p && !y && te(105, h), p;
12852
12873
  }
12853
12874
  function B(h, C, w, P) {
12854
12875
  if (w) {
@@ -12859,8 +12880,8 @@ function ce(e) {
12859
12880
  (y) => B(y, -1)
12860
12881
  );
12861
12882
  return (y) => {
12862
- const G = S(y);
12863
- return typeof G != "function" ? (xe(150, w), G) : (M = G(
12883
+ const V = S(y);
12884
+ return typeof V != "function" ? (xe(150, w), V) : (M = V(
12864
12885
  ...p.map(
12865
12886
  (c) => typeof c == "function" ? c(y) : c
12866
12887
  )
@@ -12930,15 +12951,15 @@ function pt(e, t, a) {
12930
12951
  function xc(e, t, ...a) {
12931
12952
  const n = a.reduce((i, r) => {
12932
12953
  if (!r)
12933
- return Gt(i);
12954
+ return Vt(i);
12934
12955
  const { $reset: s, ...l } = r;
12935
- return Gt(s ? l : Object.assign(i, l));
12956
+ return Vt(s ? l : Object.assign(i, l));
12936
12957
  }, {});
12937
12958
  return Object.keys(
12938
12959
  e.hook.classes.dispatch({ property: t, classes: n }).classes
12939
12960
  ).filter((i) => n[i]).join(" ") || null;
12940
12961
  }
12941
- function Gt(e) {
12962
+ function Vt(e) {
12942
12963
  const t = "$remove:";
12943
12964
  let a = !1;
12944
12965
  const n = Object.keys(e).filter((i) => (e[i] && i.startsWith(t) && (a = !0), e[i]));
@@ -13023,7 +13044,7 @@ function Jn(e, [t, a], n, i) {
13023
13044
  r.forEach((l) => {
13024
13045
  if (e.receipts.has(s)) {
13025
13046
  const m = e.receipts.get(s);
13026
- m && V(m, l) && (m[l].map(s.off), delete m[l], e.receipts.set(s, m));
13047
+ m && G(m, l) && (m[l].map(s.off), delete m[l], e.receipts.set(s, m));
13027
13048
  }
13028
13049
  });
13029
13050
  });
@@ -13080,10 +13101,10 @@ ti.skipEmpty = !1;
13080
13101
  var Fc = ti, Oc = function({ value: e }, t = !1) {
13081
13102
  const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
13082
13103
  return isNaN(n) ? !1 : n > a;
13083
- }, Gc = Oc, Vc = function({ value: e }, t = !1) {
13104
+ }, Vc = Oc, Gc = function({ value: e }, t = !1) {
13084
13105
  const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
13085
13106
  return isNaN(n) ? !1 : n > a || n === a;
13086
- }, Ic = Vc, Ec = function(e, t) {
13107
+ }, Ic = Gc, Ec = function(e, t) {
13087
13108
  var i;
13088
13109
  if (!t)
13089
13110
  return !1;
@@ -13093,19 +13114,19 @@ var Fc = ti, Oc = function({ value: e }, t = !1) {
13093
13114
  const a = {
13094
13115
  default: new RegExp("^\\p{L}+$", "u"),
13095
13116
  latin: /^[a-z]+$/i
13096
- }, n = V(a, t) ? t : "default";
13117
+ }, n = G(a, t) ? t : "default";
13097
13118
  return a[n].test(String(e));
13098
13119
  }, Rc = Hc, Nc = function({ value: e }, t = "default") {
13099
13120
  const a = {
13100
13121
  default: /^[\p{L} ]+$/u,
13101
13122
  latin: /^[a-z ]+$/i
13102
- }, n = V(a, t) ? t : "default";
13123
+ }, n = G(a, t) ? t : "default";
13103
13124
  return a[n].test(String(e));
13104
13125
  }, qc = Nc, Qc = function({ value: e }, t = "default") {
13105
13126
  const a = {
13106
13127
  default: /^[0-9\p{L}]+$/u,
13107
13128
  latin: /^[0-9a-z]+$/i
13108
- }, n = V(a, t) ? t : "default";
13129
+ }, n = G(a, t) ? t : "default";
13109
13130
  return a[n].test(String(e));
13110
13131
  }, Xc = Qc, Wc = function({ value: e }, t = !1) {
13111
13132
  const a = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
@@ -13136,25 +13157,25 @@ var Fc = ti, Oc = function({ value: e }, t = !1) {
13136
13157
  const a = {
13137
13158
  default: new RegExp("\\p{L}", "u"),
13138
13159
  latin: /[a-z]/i
13139
- }, n = V(a, t) ? t : "default";
13160
+ }, n = G(a, t) ? t : "default";
13140
13161
  return a[n].test(String(e));
13141
13162
  }, nu = au, iu = function({ value: e }, t = "default") {
13142
13163
  const a = {
13143
13164
  default: /[\p{L} ]/u,
13144
13165
  latin: /[a-z ]/i
13145
- }, n = V(a, t) ? t : "default";
13166
+ }, n = G(a, t) ? t : "default";
13146
13167
  return a[n].test(String(e));
13147
13168
  }, ru = iu, su = function({ value: e }, t = "default") {
13148
13169
  const a = {
13149
13170
  default: /[0-9\p{L}]/u,
13150
13171
  latin: /[0-9a-z]/i
13151
- }, n = V(a, t) ? t : "default";
13172
+ }, n = G(a, t) ? t : "default";
13152
13173
  return a[n].test(String(e));
13153
13174
  }, ou = su, lu = function({ value: e }, t = "default") {
13154
13175
  const a = {
13155
13176
  default: new RegExp("\\p{Ll}", "u"),
13156
13177
  latin: /[a-z]/
13157
- }, n = V(a, t) ? t : "default";
13178
+ }, n = G(a, t) ? t : "default";
13158
13179
  return a[n].test(String(e));
13159
13180
  }, cu = lu, uu = function({ value: t }) {
13160
13181
  return /[0-9]/.test(String(t));
@@ -13164,7 +13185,7 @@ var Fc = ti, Oc = function({ value: e }, t = !1) {
13164
13185
  const a = {
13165
13186
  default: new RegExp("\\p{Lu}", "u"),
13166
13187
  latin: /[A-Z]/
13167
- }, n = V(a, t) ? t : "default";
13188
+ }, n = G(a, t) ? t : "default";
13168
13189
  return a[n].test(String(e));
13169
13190
  }, hu = pu, Au = function({ value: t }, a, n) {
13170
13191
  a = a instanceof Date ? a.getTime() : Date.parse(a), n = n instanceof Date ? n.getTime() : Date.parse(n);
@@ -13199,7 +13220,7 @@ var Fc = ti, Oc = function({ value: e }, t = !1) {
13199
13220
  allow_numeric: /^[0-9\p{Ll}]+$/u,
13200
13221
  allow_numeric_dashes: /^[0-9\p{Ll}-]+$/u,
13201
13222
  latin: /^[a-z]+$/
13202
- }, n = V(a, t) ? t : "default";
13223
+ }, n = G(a, t) ? t : "default";
13203
13224
  return a[n].test(String(e));
13204
13225
  }, Lu = Pu, xu = function({ value: t }, ...a) {
13205
13226
  return a.some((n) => (typeof n == "string" && n.substr(0, 1) === "/" && n.substr(-1) === "/" && (n = new RegExp(n.substr(1, n.length - 2))), n instanceof RegExp ? n.test(String(t)) : n === t));
@@ -13207,9 +13228,9 @@ var Fc = ti, Oc = function({ value: e }, t = !1) {
13207
13228
  return Array.isArray(t) ? t.length <= a : Number(t) <= Number(a);
13208
13229
  }, Fu = ju, Ou = function({ value: t }, a = 1) {
13209
13230
  return Array.isArray(t) ? t.length >= a : Number(t) >= Number(a);
13210
- }, Gu = Ou, Vu = function({ value: t }, ...a) {
13231
+ }, Vu = Ou, Gu = function({ value: t }, ...a) {
13211
13232
  return !a.some((n) => typeof n == "object" ? Z(n, t) : n === t);
13212
- }, Iu = Vu, Eu = function({ value: t }) {
13233
+ }, Iu = Gu, Eu = function({ value: t }) {
13213
13234
  return !isNaN(t);
13214
13235
  }, Yu = Eu, ai = function(e, ...t) {
13215
13236
  return se(e.value) ? t.map((n) => {
@@ -13230,7 +13251,7 @@ var Ru = ni, Nu = function({ value: t }, ...a) {
13230
13251
  const a = {
13231
13252
  default: new RegExp("^\\p{Lu}+$", "u"),
13232
13253
  latin: /^[A-Z]+$/
13233
- }, n = V(a, t) ? t : "default";
13254
+ }, n = G(a, t) ? t : "default";
13234
13255
  return a[n].test(String(e));
13235
13256
  }, Uu = Wu, zu = function({ value: t }, ...a) {
13236
13257
  try {
@@ -13255,7 +13276,7 @@ const Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13255
13276
  contains_numeric: du,
13256
13277
  contains_symbol: gu,
13257
13278
  contains_uppercase: hu,
13258
- date_after: Gc,
13279
+ date_after: Vc,
13259
13280
  date_after_node: Yc,
13260
13281
  date_after_or_equal: Ic,
13261
13282
  date_before: Uc,
@@ -13270,7 +13291,7 @@ const Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13270
13291
  lowercase: Lu,
13271
13292
  matches: Su,
13272
13293
  max: Fu,
13273
- min: Gu,
13294
+ min: Vu,
13274
13295
  not: Iu,
13275
13296
  number: Yu,
13276
13297
  require_one: Hu,
@@ -13373,7 +13394,7 @@ function _u(e, t, a) {
13373
13394
  }
13374
13395
  function ii(e) {
13375
13396
  const t = `rule_${e.name}`;
13376
- e.messageObserver && (e.messageObserver = e.messageObserver.kill()), V(e.observer.store, t) && e.observer.store.remove(t);
13397
+ e.messageObserver && (e.messageObserver = e.messageObserver.kill()), G(e.observer.store, t) && e.observer.store.remove(t);
13377
13398
  }
13378
13399
  function $u(e, t) {
13379
13400
  const a = e.observer;
@@ -13415,7 +13436,7 @@ function $u(e, t) {
13415
13436
  ));
13416
13437
  }
13417
13438
  function ed(e, t, a) {
13418
- const n = e.props.validationMessages && V(e.props.validationMessages, t.name) ? e.props.validationMessages[t.name] : void 0;
13439
+ const n = e.props.validationMessages && G(e.props.validationMessages, t.name) ? e.props.validationMessages[t.name] : void 0;
13419
13440
  return typeof n == "function" ? n(...a) : n;
13420
13441
  }
13421
13442
  function td(e, t) {
@@ -13446,7 +13467,7 @@ function Sa(e, t, a) {
13446
13467
  const l = {};
13447
13468
  if (typeof s == "string") {
13448
13469
  const [m, b] = ld(s);
13449
- V(t, m) && (s = t[m], Object.assign(l, b));
13470
+ G(t, m) && (s = t[m], Object.assign(l, b));
13450
13471
  }
13451
13472
  return typeof s == "function" && i.push({
13452
13473
  observer: xt(a),
@@ -13491,7 +13512,7 @@ function ld(e) {
13491
13512
  i,
13492
13513
  [r[1], r[2], r[3]].reduce(
13493
13514
  (s, l) => (l && (xa.test(l) ? s.debounce = parseInt(l.substr(1, l.length - 1)) : l.split("").forEach(
13494
- (m) => V(a, m) && Object.assign(s, a[m])
13515
+ (m) => G(a, m) && Object.assign(s, a[m])
13495
13516
  )), s),
13496
13517
  { name: i }
13497
13518
  )
@@ -13499,7 +13520,7 @@ function ld(e) {
13499
13520
  }
13500
13521
  function cd(e, t) {
13501
13522
  return e.name || (e.name = t.ruleName || t.name), ["skipEmpty", "force", "debounce", "blocking"].reduce(
13502
- (a, n) => (V(t, n) && !V(a, n) && Object.assign(a, {
13523
+ (a, n) => (G(t, n) && !G(a, n) && Object.assign(a, {
13503
13524
  [n]: t[n]
13504
13525
  }), a),
13505
13526
  e
@@ -13867,7 +13888,7 @@ function pd(e) {
13867
13888
  }), a.on("prop:label", () => a.store.touch()), a.on("prop:validationLabel", () => a.store.touch()), a.hook.text((r, s) => {
13868
13889
  var m, b;
13869
13890
  const l = ((m = r.meta) == null ? void 0 : m.messageKey) || r.key;
13870
- if (V(i, r.type) && V(i[r.type], l)) {
13891
+ if (G(i, r.type) && G(i[r.type], l)) {
13871
13892
  const A = i[r.type][l];
13872
13893
  typeof A == "function" ? r.value = Array.isArray((b = r.meta) == null ? void 0 : b.i18nArgs) ? A(...r.meta.i18nArgs) : A(r) : r.value = A;
13873
13894
  }
@@ -13876,10 +13897,10 @@ function pd(e) {
13876
13897
  };
13877
13898
  }
13878
13899
  function Oa(e, t) {
13879
- if (V(t, e))
13900
+ if (G(t, e))
13880
13901
  return e;
13881
13902
  const [a] = e.split("-");
13882
- if (V(t, a))
13903
+ if (G(t, a))
13883
13904
  return a;
13884
13905
  for (const n in t)
13885
13906
  return n;
@@ -13892,8 +13913,8 @@ function hd(...e) {
13892
13913
  ), a = () => {
13893
13914
  };
13894
13915
  return a.library = function(n) {
13895
- const i = Ve(n.props.type);
13896
- V(t, i) && n.define(t[i]);
13916
+ const i = Ge(n.props.type);
13917
+ G(t, i) && n.define(t[i]);
13897
13918
  }, a;
13898
13919
  }
13899
13920
  var Ad = [
@@ -14113,7 +14134,7 @@ var bd = /* @__PURE__ */ O("actions", () => ({
14113
14134
  attrs: {
14114
14135
  class: "$classes.fileName"
14115
14136
  }
14116
- })), Ga = /* @__PURE__ */ O("fileRemove", () => ({
14137
+ })), Va = /* @__PURE__ */ O("fileRemove", () => ({
14117
14138
  $el: "button",
14118
14139
  attrs: {
14119
14140
  type: "button",
@@ -14183,7 +14204,7 @@ var bd = /* @__PURE__ */ O("actions", () => ({
14183
14204
  attrs: {
14184
14205
  label: "$option.group"
14185
14206
  }
14186
- })), Va = /* @__PURE__ */ O("option", () => ({
14207
+ })), Ga = /* @__PURE__ */ O("option", () => ({
14187
14208
  $el: "option",
14188
14209
  bind: "$option.attrs",
14189
14210
  attrs: {
@@ -14305,10 +14326,10 @@ function Od(e, t) {
14305
14326
  (i) => qe(Pe(e.props.options, t), i)
14306
14327
  ) : !1;
14307
14328
  }
14308
- function Gd(e) {
14329
+ function Vd(e) {
14309
14330
  e.on("created", () => {
14310
14331
  var t, a;
14311
- (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = Fd.bind(null, e)), (a = e.context) != null && a.fns && (e.context.fns.isChecked = Od.bind(null, e)), V(e.props, "onValue") || (e.props.onValue = !0), V(e.props, "offValue") || (e.props.offValue = !1);
14332
+ (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = Fd.bind(null, e)), (a = e.context) != null && a.fns && (e.context.fns.isChecked = Od.bind(null, e)), G(e.props, "onValue") || (e.props.onValue = !0), G(e.props, "offValue") || (e.props.offValue = !1);
14312
14333
  }), e.hook.prop(Ai(e));
14313
14334
  }
14314
14335
  function Ie(e, t) {
@@ -14338,27 +14359,27 @@ function ht(e, t) {
14338
14359
  );
14339
14360
  };
14340
14361
  }
14341
- var Vt = typeof window < "u";
14362
+ var Gt = typeof window < "u";
14342
14363
  function fi(e) {
14343
14364
  e.target instanceof HTMLElement && e.target.hasAttribute("data-file-hover") && e.target.removeAttribute("data-file-hover");
14344
14365
  }
14345
14366
  function Ea(e, t) {
14346
14367
  t.target instanceof HTMLInputElement ? e === "dragover" && t.target.setAttribute("data-file-hover", "true") : t.preventDefault(), e === "drop" && fi(t);
14347
14368
  }
14348
- function Vd(e) {
14349
- ht("noFiles", "Select file")(e), ht("removeAll", "Remove all")(e), ht("remove")(e), e.addProps(["_hasMultipleFiles"]), Vt && (window._FormKit_File_Drop || (window.addEventListener(
14369
+ function Gd(e) {
14370
+ ht("noFiles", "Select file")(e), ht("removeAll", "Remove all")(e), ht("remove")(e), e.addProps(["_hasMultipleFiles"]), Gt && (window._FormKit_File_Drop || (window.addEventListener(
14350
14371
  "dragover",
14351
14372
  Ea.bind(null, "dragover")
14352
14373
  ), window.addEventListener("drop", Ea.bind(null, "drop")), window.addEventListener("dragleave", fi), window._FormKit_File_Drop = !0)), e.hook.input((t, a) => a(Array.isArray(t) ? t : [])), e.on("input", ({ payload: t }) => {
14353
14374
  e.props._hasMultipleFiles = Array.isArray(t) && t.length > 1 ? !0 : void 0;
14354
14375
  }), e.on("reset", () => {
14355
- if (e.props.id && Vt) {
14376
+ if (e.props.id && Gt) {
14356
14377
  const t = document.getElementById(e.props.id);
14357
14378
  t && (t.value = "");
14358
14379
  }
14359
14380
  }), e.on("created", () => {
14360
14381
  Array.isArray(e.value) || e.input([], !1), e.context && (e.context.handlers.resetFiles = (t) => {
14361
- if (t.preventDefault(), e.input([]), e.props.id && Vt) {
14382
+ if (t.preventDefault(), e.input([]), e.props.id && Gt) {
14362
14383
  const a = document.getElementById(e.props.id);
14363
14384
  a && (a.value = ""), a == null || a.focus();
14364
14385
  }
@@ -14429,7 +14450,7 @@ function Ed(e) {
14429
14450
  e.props.submitAttrs = { ...e.props.submitAttrs, disabled: a };
14430
14451
  }), e.on("created", () => {
14431
14452
  var a;
14432
- (a = e.context) != null && a.handlers && (e.context.handlers.submit = Id.bind(null, e)), V(e.props, "actions") || (e.props.actions = !0);
14453
+ (a = e.context) != null && a.handlers && (e.context.handlers.submit = Id.bind(null, e)), G(e.props, "actions") || (e.props.actions = !0);
14433
14454
  }), e.on("prop:incompleteMessage", () => {
14434
14455
  e.store.incomplete && bi(e);
14435
14456
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
@@ -14694,7 +14715,7 @@ var Ra = {
14694
14715
  */
14695
14716
  features: [
14696
14717
  ma,
14697
- Gd,
14718
+ Vd,
14698
14719
  Ie("decorator", "checkboxDecorator")
14699
14720
  ],
14700
14721
  /**
@@ -14718,14 +14739,14 @@ var Ra = {
14718
14739
  /* @__PURE__ */ Dd("$file.name"),
14719
14740
  /* @__PURE__ */ ve(
14720
14741
  "$value.length === 1",
14721
- /* @__PURE__ */ Ga(
14742
+ /* @__PURE__ */ Va(
14722
14743
  /* @__PURE__ */ X("fileRemove"),
14723
14744
  '$ui.remove.value + " " + $file.name'
14724
14745
  )
14725
14746
  )
14726
14747
  )
14727
14748
  ),
14728
- /* @__PURE__ */ ve("$value.length > 1", /* @__PURE__ */ Ga("$ui.removeAll.value")),
14749
+ /* @__PURE__ */ ve("$value.length > 1", /* @__PURE__ */ Va("$ui.removeAll.value")),
14729
14750
  /* @__PURE__ */ Td(/* @__PURE__ */ X("noFiles"), "$ui.noFiles.value"),
14730
14751
  /* @__PURE__ */ fe(),
14731
14752
  /* @__PURE__ */ X("suffix")
@@ -14751,7 +14772,7 @@ var Ra = {
14751
14772
  * Additional features that should be added to your input
14752
14773
  */
14753
14774
  features: [
14754
- Vd,
14775
+ Gd,
14755
14776
  Ie("fileItem", "fileItem"),
14756
14777
  Ie("fileRemove", "fileRemove"),
14757
14778
  Ie("noFiles", "noFiles")
@@ -14949,8 +14970,8 @@ var Ra = {
14949
14970
  /* @__PURE__ */ Ia(
14950
14971
  /* @__PURE__ */ ve(
14951
14972
  "$option.group",
14952
- /* @__PURE__ */ Md(/* @__PURE__ */ Ia(/* @__PURE__ */ Va("$option.label"))),
14953
- /* @__PURE__ */ Va("$option.label")
14973
+ /* @__PURE__ */ Md(/* @__PURE__ */ Ia(/* @__PURE__ */ Ga("$option.label"))),
14974
+ /* @__PURE__ */ Ga("$option.label")
14954
14975
  )
14955
14976
  )
14956
14977
  )
@@ -15085,9 +15106,9 @@ var Ra = {
15085
15106
  };
15086
15107
  }), Ce = typeof window < "u" && typeof fetch < "u";
15087
15108
  de = Ce ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
15088
- var Ge = {}, It = {};
15109
+ var Ve = {}, It = {};
15089
15110
  function om(e, t, a, n) {
15090
- t && Object.assign(Ge, t), Ce && !Je && (de != null && de.getPropertyValue("--formkit-theme")) ? (Mt(), Je = !0) : e && !Je && Ce ? lm(e) : !Je && Ce && Mt();
15111
+ t && Object.assign(Ve, t), Ce && !Je && (de != null && de.getPropertyValue("--formkit-theme")) ? (Mt(), Je = !0) : e && !Je && Ce ? lm(e) : !Je && Ce && Mt();
15091
15112
  const i = function(s) {
15092
15113
  var l, m;
15093
15114
  s.addProps(["iconLoader", "iconLoaderUrl"]), s.props.iconHandler = Na(
@@ -15125,15 +15146,15 @@ function Na(e, t) {
15125
15146
  return a;
15126
15147
  const n = a.startsWith("default:");
15127
15148
  a = n ? a.split(":")[1] : a;
15128
- const i = a in Ge;
15149
+ const i = a in Ve;
15129
15150
  let r;
15130
15151
  if (i)
15131
- return Ge[a];
15152
+ return Ve[a];
15132
15153
  if (!It[a]) {
15133
15154
  if (r = cm(a), r = Ce && typeof r > "u" ? Promise.resolve(r) : r, r instanceof Promise)
15134
- It[a] = r.then((s) => !s && typeof a == "string" && !n ? r = typeof e == "function" ? e(a) : um(a, t) : s).then((s) => (typeof a == "string" && (Ge[n ? `default:${a}` : a] = s), s));
15155
+ It[a] = r.then((s) => !s && typeof a == "string" && !n ? r = typeof e == "function" ? e(a) : um(a, t) : s).then((s) => (typeof a == "string" && (Ve[n ? `default:${a}` : a] = s), s));
15135
15156
  else if (typeof r == "string")
15136
- return Ge[n ? `default:${a}` : a] = r, r;
15157
+ return Ve[n ? `default:${a}` : a] = r, r;
15137
15158
  }
15138
15159
  return It[a];
15139
15160
  };
@@ -15147,7 +15168,7 @@ function qa(e) {
15147
15168
  if (t) {
15148
15169
  const a = atob(t);
15149
15170
  if (a.startsWith("<svg"))
15150
- return Ge[e] = a, a;
15171
+ return Ve[e] = a, a;
15151
15172
  }
15152
15173
  }
15153
15174
  function um(e, t) {
@@ -15316,7 +15337,7 @@ var Am = (e, t) => {
15316
15337
  return "";
15317
15338
  const [v, k] = u;
15318
15339
  let L = Reflect.get(...u);
15319
- return !L && typeof k == "string" && !V(v, k) && !k.startsWith("__v") && xt(t).watch((E) => {
15340
+ return !L && typeof k == "string" && !G(v, k) && !k.startsWith("__v") && xt(t).watch((E) => {
15320
15341
  const q = typeof E.config.rootClasses == "function" ? E.config.rootClasses(k, E) : {}, Q = E.config.classes ? pt(k, E, E.config.classes[k]) : {}, le = pt(
15321
15342
  k,
15322
15343
  E,
@@ -15421,14 +15442,14 @@ var Am = (e, t) => {
15421
15442
  }), t.on("settled", ({ payload: u }) => {
15422
15443
  y.state.settled = u;
15423
15444
  });
15424
- function G(u) {
15445
+ function V(u) {
15425
15446
  (Array.isArray(u) ? u : Object.keys(u)).forEach((k) => {
15426
- k = Ve(k), V(y, k) || (y[k] = t.props[k]), t.on(`prop:${k}`, ({ payload: L }) => {
15447
+ k = Ge(k), G(y, k) || (y[k] = t.props[k]), t.on(`prop:${k}`, ({ payload: L }) => {
15427
15448
  y[k] = L;
15428
15449
  });
15429
15450
  });
15430
15451
  }
15431
- G((() => {
15452
+ V((() => {
15432
15453
  const u = [
15433
15454
  "__root",
15434
15455
  "help",
@@ -15445,9 +15466,9 @@ var Am = (e, t) => {
15445
15466
  return u.concat(k);
15446
15467
  })());
15447
15468
  function g(u) {
15448
- u.props && G(u.props);
15469
+ u.props && V(u.props);
15449
15470
  }
15450
- t.props.definition && g(t.props.definition), t.on("added-props", ({ payload: u }) => G(u)), t.on("input", ({ payload: u }) => {
15471
+ t.props.definition && g(t.props.definition), t.on("added-props", ({ payload: u }) => V(u)), t.on("input", ({ payload: u }) => {
15451
15472
  t.type !== "input" && !At(u) && !ya(u) ? p.value = Xt(u) : (p.value = u, lt(p));
15452
15473
  }), t.on("commitRaw", ({ payload: u }) => {
15453
15474
  t.type !== "input" && !At(u) && !ya(u) ? j.value = p.value = Xt(u) : (j.value = p.value = u, lt(j)), t.emit("modelUpdated");
@@ -15574,7 +15595,7 @@ function Mm(e, t) {
15574
15595
  if (t in e || (e[t] = z(void 0)), e[t].value === void 0) {
15575
15596
  e[t].value = null;
15576
15597
  const a = nt(t);
15577
- a && (e[t].value = a.context), Gl(t, ({ payload: n }) => {
15598
+ a && (e[t].value = a.context), Vl(t, ({ payload: n }) => {
15578
15599
  e[t].value = it(n) ? n.context : n;
15579
15600
  });
15580
15601
  }
@@ -15589,7 +15610,7 @@ function za(e, t, a) {
15589
15610
  var P, S;
15590
15611
  const h = B(ce(D.if));
15591
15612
  let C = () => T, w = () => T;
15592
- return typeof D.then == "object" ? w = r(D.then, void 0) : typeof D.then == "string" && ((P = D.then) != null && P.startsWith("$")) ? w = B(ce(D.then)) : w = () => D.then, V(D, "else") && (typeof D.else == "object" ? C = r(D.else) : typeof D.else == "string" && ((S = D.else) != null && S.startsWith("$")) ? C = B(ce(D.else)) : C = () => D.else), () => h() ? w() : C();
15613
+ return typeof D.then == "object" ? w = r(D.then, void 0) : typeof D.then == "string" && ((P = D.then) != null && P.startsWith("$")) ? w = B(ce(D.then)) : w = () => D.then, G(D, "else") && (typeof D.else == "object" ? C = r(D.else) : typeof D.else == "string" && ((S = D.else) != null && S.startsWith("$")) ? C = B(ce(D.else)) : C = () => D.else), () => h() ? w() : C();
15593
15614
  }
15594
15615
  function r(D, T, h = {}) {
15595
15616
  const C = new Set(Object.keys(D || {})), w = T ? B(ce(T)) : () => ({}), P = [
@@ -15622,7 +15643,7 @@ function za(e, t, a) {
15622
15643
  function s(D, T) {
15623
15644
  let h = null, C = () => null, w = !1, P = null, S = null, M = null, j = !1;
15624
15645
  const p = Lc(T);
15625
- if (Zt(p) ? (h = p.$el, C = p.$el !== "text" ? r(p.attrs, p.bind) : () => null) : Jt(p) ? (typeof p.$cmp == "string" ? V(D, p.$cmp) ? h = D[p.$cmp] : (h = p.$cmp, j = !0) : h = p.$cmp, C = r(p.props, p.bind)) : Oe(p) && ([w, P, S] = n(D, p)), !Oe(p) && "if" in p ? w = B(ce(p.if)) : !Oe(p) && h === null && (w = () => !0), "children" in p && p.children)
15646
+ if (Zt(p) ? (h = p.$el, C = p.$el !== "text" ? r(p.attrs, p.bind) : () => null) : Jt(p) ? (typeof p.$cmp == "string" ? G(D, p.$cmp) ? h = D[p.$cmp] : (h = p.$cmp, j = !0) : h = p.$cmp, C = r(p.props, p.bind)) : Oe(p) && ([w, P, S] = n(D, p)), !Oe(p) && "if" in p ? w = B(ce(p.if)) : !Oe(p) && h === null && (w = () => !0), "children" in p && p.children)
15626
15647
  if (typeof p.children == "string")
15627
15648
  if (p.children.startsWith("$slots."))
15628
15649
  h = h === "text" ? "slot" : h, P = B(ce(p.children));
@@ -15634,19 +15655,19 @@ function za(e, t, a) {
15634
15655
  else if (Array.isArray(p.children))
15635
15656
  P = b(D, p.children);
15636
15657
  else {
15637
- const [y, G, c] = n(D, p.children);
15638
- P = (g) => y && y() ? G && G(g) : c && c(g);
15658
+ const [y, V, c] = n(D, p.children);
15659
+ P = (g) => y && y() ? V && V(g) : c && c(g);
15639
15660
  }
15640
15661
  if (Jt(p))
15641
15662
  if (P) {
15642
15663
  const y = P;
15643
- P = (G) => ({
15664
+ P = (V) => ({
15644
15665
  default(c, g) {
15645
15666
  var v, k, L, x;
15646
15667
  const f = K;
15647
- g && (K = g), c && ((v = ye.get(K)) == null || v.unshift(c)), G && ((k = ye.get(K)) == null || k.unshift(G));
15648
- const u = y(G);
15649
- return c && ((L = ye.get(K)) == null || L.shift()), G && ((x = ye.get(K)) == null || x.shift()), K = f, u;
15668
+ g && (K = g), c && ((v = ye.get(K)) == null || v.unshift(c)), V && ((k = ye.get(K)) == null || k.unshift(V));
15669
+ const u = y(V);
15670
+ return c && ((L = ye.get(K)) == null || L.shift()), V && ((x = ye.get(K)) == null || x.shift()), K = f, u;
15650
15671
  }
15651
15672
  }), P.slot = !0;
15652
15673
  } else
@@ -15678,9 +15699,9 @@ function za(e, t, a) {
15678
15699
  return Qi(String(P()));
15679
15700
  if (C === "slot" && P)
15680
15701
  return P(y);
15681
- const G = j ? Xi(C) : C, c = P != null && P.slot ? l(P, y) : null;
15702
+ const V = j ? Xi(C) : C, c = P != null && P.slot ? l(P, y) : null;
15682
15703
  return tt(
15683
- G,
15704
+ V,
15684
15705
  w(),
15685
15706
  c || (P ? P(y) : [])
15686
15707
  );
@@ -15688,9 +15709,9 @@ function za(e, t, a) {
15688
15709
  return typeof S == "function" ? S(y) : S;
15689
15710
  };
15690
15711
  if (M) {
15691
- const y = p, [G, c, g] = M;
15712
+ const y = p, [V, c, g] = M;
15692
15713
  p = () => {
15693
- const f = G(), u = Number.isFinite(f) ? Array(Number(f)).fill(0).map((x, E) => E) : f, v = [];
15714
+ const f = V(), u = Number.isFinite(f) ? Array(Number(f)).fill(0).map((x, E) => E) : f, v = [];
15694
15715
  if (typeof u != "object")
15695
15716
  return null;
15696
15717
  const k = ye.get(K) || [], L = Array.isArray(u);
@@ -15736,7 +15757,7 @@ function za(e, t, a) {
15736
15757
  }
15737
15758
  function I(D, T) {
15738
15759
  a ?? (a = Pi(t));
15739
- const [h, C] = V(et, a) ? et[a] : [b(e, t), A];
15760
+ const [h, C] = G(et, a) ? et[a] : [b(e, t), A];
15740
15761
  return Ti || (Ye[a] ?? (Ye[a] = 0), Ye[a]++, et[a] = [h, C]), C.forEach((w) => {
15741
15762
  w(D, T);
15742
15763
  }), () => (K = T, h());
@@ -15765,7 +15786,7 @@ function Ka(e, t, a) {
15765
15786
  return e(
15766
15787
  (n, i = {}) => n.reduce((r, s) => {
15767
15788
  if (s.startsWith("slots.")) {
15768
- const l = s.substring(6), m = () => t.slots && V(t.slots, l) && typeof t.slots[l] == "function";
15789
+ const l = s.substring(6), m = () => t.slots && G(t.slots, l) && typeof t.slots[l] == "function";
15769
15790
  if (i.if)
15770
15791
  r[s] = m;
15771
15792
  else if (t.slots) {
@@ -15902,7 +15923,7 @@ function Om(e, t) {
15902
15923
  reset: Rn
15903
15924
  };
15904
15925
  }
15905
- var ji = Symbol.for("FormKitOptions"), Gm = Symbol.for("FormKitConfig"), Vm = {
15926
+ var ji = Symbol.for("FormKitOptions"), Vm = Symbol.for("FormKitConfig"), Gm = {
15906
15927
  install(e, t) {
15907
15928
  const a = Object.assign(
15908
15929
  {
@@ -15910,8 +15931,8 @@ var ji = Symbol.for("FormKitOptions"), Gm = Symbol.for("FormKitConfig"), Vm = {
15910
15931
  schemaAlias: "FormKitSchema"
15911
15932
  },
15912
15933
  typeof t == "function" ? t() : t
15913
- ), n = Vl(a.config || {});
15914
- a.config = { rootConfig: n }, e.config.globalProperties.$formkit = Om(e, a), e.provide(ji, a), e.provide(Gm, n), typeof window < "u" && (globalThis.__FORMKIT_CONFIGS__ = (globalThis.__FORMKIT_CONFIGS__ || []).concat([n]));
15934
+ ), n = Gl(a.config || {});
15935
+ a.config = { rootConfig: n }, e.config.globalProperties.$formkit = Om(e, a), e.provide(ji, a), e.provide(Vm, n), typeof window < "u" && (globalThis.__FORMKIT_CONFIGS__ = (globalThis.__FORMKIT_CONFIGS__ || []).concat([n]));
15915
15936
  }
15916
15937
  }, Im = typeof window < "u", Yt = [
15917
15938
  // Boolean props
@@ -15963,9 +15984,9 @@ function Hm(e, t, a = {}) {
15963
15984
  __slots: t.slots
15964
15985
  }, y = Da(je(t.attrs), Yt);
15965
15986
  y.key || (y.key = Xe()), p.attrs = y;
15966
- const G = Ba(je(t.attrs), Yt);
15967
- for (const g in G)
15968
- Em.includes(g) && G[g] === "" && (G[g] = !0), p[Ve(g)] = G[g];
15987
+ const V = Ba(je(t.attrs), Yt);
15988
+ for (const g in V)
15989
+ Em.includes(g) && V[g] === "" && (V[g] = !0), p[Ge(g)] = V[g];
15969
15990
  const c = { props: {} };
15970
15991
  return _a(c, e), Object.assign(p, c.props), typeof p.type != "string" && (p.definition = p.type, delete p.type), p;
15971
15992
  }
@@ -15995,11 +16016,11 @@ function Hm(e, t, a = {}) {
15995
16016
  T.on(
15996
16017
  "added-props",
15997
16018
  ({ payload: p }) => {
15998
- (Array.isArray(p) ? p : Object.keys(p ?? {})).forEach((G) => h.value.add(G));
16019
+ (Array.isArray(p) ? p : Object.keys(p ?? {})).forEach((V) => h.value.add(V));
15999
16020
  }
16000
16021
  );
16001
16022
  const C = be(
16002
- () => Yt.concat([...h.value]).reduce((p, y) => (typeof y == "string" ? (p.push(Ve(y)), p.push(Gn(y))) : p.push(y), p), [])
16023
+ () => Yt.concat([...h.value]).reduce((p, y) => (typeof y == "string" ? (p.push(Ge(y)), p.push(Vn(y))) : p.push(y), p), [])
16003
16024
  );
16004
16025
  pe(() => _a(T, e));
16005
16026
  const w = je(e);
@@ -16022,12 +16043,12 @@ function Hm(e, t, a = {}) {
16022
16043
  y(), P.delete(y);
16023
16044
  });
16024
16045
  for (const y in p) {
16025
- const G = Ve(y);
16046
+ const V = Ge(y);
16026
16047
  P.add(
16027
16048
  _e(
16028
16049
  () => t.attrs[y],
16029
16050
  () => {
16030
- T.props[G] = t.attrs[y];
16051
+ T.props[V] = t.attrs[y];
16031
16052
  }
16032
16053
  )
16033
16054
  );
@@ -16052,9 +16073,9 @@ function Hm(e, t, a = {}) {
16052
16073
  }), T.type !== "input") {
16053
16074
  const p = `${T.name}-prop`;
16054
16075
  pe(() => {
16055
- const y = e.inputErrors ?? {}, G = Object.keys(y);
16056
- G.length || T.clearErrors(!0, p);
16057
- const c = G.reduce((g, f) => {
16076
+ const y = e.inputErrors ?? {}, V = Object.keys(y);
16077
+ V.length || T.clearErrors(!0, p);
16078
+ const c = V.reduce((g, f) => {
16058
16079
  let u = y[f];
16059
16080
  return typeof u == "string" && (u = [u]), Array.isArray(u) && (g[f] = u.map(
16060
16081
  (v) => /* @__PURE__ */ ae({
@@ -16168,7 +16189,7 @@ function Jm(e) {
16168
16189
  }
16169
16190
  const ig = (e) => {
16170
16191
  e.use(
16171
- Vm,
16192
+ Gm,
16172
16193
  ha({
16173
16194
  plugins: [Jm],
16174
16195
  inputs: {
@@ -16199,7 +16220,7 @@ const ig = (e) => {
16199
16220
  ),
16200
16221
  BaListRepeater: ne(
16201
16222
  W(
16202
- () => import("./ListRepeater-Cuo0XXKs.js")
16223
+ () => import("./ListRepeater-BUwnFzc4.js")
16203
16224
  )
16204
16225
  ),
16205
16226
  BaTextStyleList: ne(
@@ -16219,13 +16240,13 @@ const ig = (e) => {
16219
16240
  ),
16220
16241
  BaImageUpload: ne(
16221
16242
  W(
16222
- () => import("./ImageUpload-Bm2BY6Y1.js")
16243
+ () => import("./ImageUpload-B_Cwb7uG.js")
16223
16244
  ),
16224
16245
  { props: ["ignoreUpdate"] }
16225
16246
  ),
16226
16247
  BaLinkButton: ne(
16227
16248
  W(
16228
- () => import("./LinkButton-De-YNclu.js")
16249
+ () => import("./LinkButton-DNXBKGCn.js")
16229
16250
  )
16230
16251
  ),
16231
16252
  BaSwitch: ne(
@@ -16248,7 +16269,7 @@ const ig = (e) => {
16248
16269
  "ko-KR": { ...dr, ...ns },
16249
16270
  "vi-VN": { ...yr, ...cs },
16250
16271
  "ms-MY": { ...Mr, ...hs }
16251
- }, sg = W(() => import("./App-CscQqcFq.js"));
16272
+ }, sg = W(() => import("./App-BH-HEj-A.js"));
16252
16273
  export {
16253
16274
  Si as F,
16254
16275
  Li as a,