@feedmepos/mf-brand-app-builder 0.5.24-dev.0 → 0.5.26-dev.0

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.
@@ -145,6 +145,10 @@ const wn = {
145
145
  currentSelection: "Current selection",
146
146
  preview: "Preview",
147
147
  reset: "Reset to default",
148
+ showSubItemAsRadioIfPossible: {
149
+ title: "Show addons as radio buttons",
150
+ description: "Use radio buttons when addon groups allow exactly one selection."
151
+ },
148
152
  colorOverride: {
149
153
  title: "Color override",
150
154
  descriptionApp: "Override default brand colors for the Order App.",
@@ -155,7 +159,11 @@ const wn = {
155
159
  dialogTitleKiosk: "Kiosk color override",
156
160
  close: "Close",
157
161
  save: "Save override"
158
- }
162
+ },
163
+ categoryDisplay: "Category Display",
164
+ categoryDisplayDescription: "Display type for the category list",
165
+ single: "Single Category",
166
+ multiple: "Multiple Categories"
159
167
  }
160
168
  },
161
169
  settings: {
@@ -742,6 +750,10 @@ const wn = {
742
750
  currentSelection: "当前选择",
743
751
  preview: "预览",
744
752
  reset: "重置为默认",
753
+ showSubItemAsRadioIfPossible: {
754
+ title: "将附加项显示为单选按钮",
755
+ description: "当附加项组只允许选择一项时,使用单选按钮。"
756
+ },
745
757
  colorOverride: {
746
758
  title: "颜色覆盖",
747
759
  descriptionApp: "为点餐应用覆盖默认品牌颜色。",
@@ -752,7 +764,11 @@ const wn = {
752
764
  dialogTitleKiosk: "自助服务机颜色覆盖",
753
765
  close: "关闭",
754
766
  save: "保存覆盖"
755
- }
767
+ },
768
+ categoryDisplay: "分类显示",
769
+ categoryDisplayDescription: "分类列表的显示类型",
770
+ single: "单个分类",
771
+ multiple: "多个分类"
756
772
  }
757
773
  },
758
774
  settings: {
@@ -1344,6 +1360,10 @@ const wn = {
1344
1360
  currentSelection: "當前選擇",
1345
1361
  preview: "預覽",
1346
1362
  reset: "重置為預設",
1363
+ showSubItemAsRadioIfPossible: {
1364
+ title: "將附加項顯示為單選按鈕",
1365
+ description: "當附加項群組僅允許選擇一項時,使用單選按鈕。"
1366
+ },
1347
1367
  colorOverride: {
1348
1368
  title: "顏色覆蓋",
1349
1369
  descriptionApp: "為點餐應用覆蓋預設品牌顏色。",
@@ -1354,7 +1374,11 @@ const wn = {
1354
1374
  dialogTitleKiosk: "自助服務機顏色覆蓋",
1355
1375
  close: "關閉",
1356
1376
  save: "儲存覆蓋"
1357
- }
1377
+ },
1378
+ categoryDisplay: "類別顯示",
1379
+ categoryDisplayDescription: "顯示類型列表的類型",
1380
+ multiple: "多個類別",
1381
+ single: "單個類別"
1358
1382
  }
1359
1383
  },
1360
1384
  settings: {
@@ -1941,6 +1965,10 @@ const wn = {
1941
1965
  currentSelection: "การเลือกปัจจุบัน",
1942
1966
  preview: "ดูตัวอย่าง",
1943
1967
  reset: "รีเซ็ตเป็นค่าเริ่มต้น",
1968
+ showSubItemAsRadioIfPossible: {
1969
+ title: "แสดงตัวเลือกเสริมเป็นปุ่มตัวเลือกเดียว",
1970
+ description: "ใช้ปุ่มตัวเลือกเดียวเมื่อกลุ่มตัวเลือกเสริมอนุญาตให้เลือกได้เพียงหนึ่งรายการ"
1971
+ },
1944
1972
  colorOverride: {
1945
1973
  title: "เขียนทับสี",
1946
1974
  descriptionApp: "เขียนทับสีแบรนด์เริ่มต้นสำหรับแอปสั่งอาหาร",
@@ -1951,7 +1979,11 @@ const wn = {
1951
1979
  dialogTitleKiosk: "เขียนทับสีเครื่องจุดขาย",
1952
1980
  close: "ปิด",
1953
1981
  save: "บันทึกการเขียนทับ"
1954
- }
1982
+ },
1983
+ categoryDisplay: "การแสดงหมวดหมู่",
1984
+ categoryDisplayDescription: "รูปแบบการแสดงรายการหมวดหมู่",
1985
+ single: "หมวดหมู่เดียว",
1986
+ multiple: "หลายหมวดหมู่"
1955
1987
  }
1956
1988
  },
1957
1989
  template: {
@@ -2698,6 +2730,10 @@ const wn = {
2698
2730
  currentSelection: "현재 선택",
2699
2731
  preview: "미리보기",
2700
2732
  reset: "기본값으로 초기화",
2733
+ showSubItemAsRadioIfPossible: {
2734
+ title: "애드온을 라디오 버튼으로 표시",
2735
+ description: "애드온 그룹이 정확히 한 개만 선택 가능할 때 라디오 버튼을 사용하세요."
2736
+ },
2701
2737
  colorOverride: {
2702
2738
  title: "색상 덮어쓰기",
2703
2739
  descriptionApp: "주문 앱의 기본 브랜드 색상을 덮어씁니다.",
@@ -3461,6 +3497,10 @@ const wn = {
3461
3497
  currentSelection: "Lựa chọn hiện tại",
3462
3498
  preview: "Xem trước",
3463
3499
  reset: "Đặt lại mặc định",
3500
+ showSubItemAsRadioIfPossible: {
3501
+ title: "Hiển thị addon dưới dạng nút radio",
3502
+ description: "Sử dụng nút radio khi nhóm addon chỉ cho phép một lựa chọn duy nhất."
3503
+ },
3464
3504
  colorOverride: {
3465
3505
  title: "Ghi đè màu",
3466
3506
  descriptionApp: "Ghi đè màu thương hiệu mặc định cho ứng dụng đặt hàng.",
@@ -3918,7 +3958,7 @@ const wn = {
3918
3958
  customers: qn,
3919
3959
  settings: Kn,
3920
3960
  brand: Gn
3921
- }, Yn = {
3961
+ }, Qn = {
3922
3962
  branches: {
3923
3963
  ourOutlets: "Our outlets",
3924
3964
  noOutletFound: "No outlet found",
@@ -4006,7 +4046,7 @@ const wn = {
4006
4046
  missions: "Missions",
4007
4047
  games: "Games"
4008
4048
  }
4009
- }, Qn = {
4049
+ }, Yn = {
4010
4050
  member: {
4011
4051
  welcome: "Welcome!",
4012
4052
  signIn: "Sign in",
@@ -4362,6 +4402,8 @@ const wn = {
4362
4402
  loadOnlineChannelsFailed: "Failed to load online channels. Error: {error}",
4363
4403
  detailsTitle: "View bundle details",
4364
4404
  limitedPerUser: "Limited to {count} redemptions per user",
4405
+ availableQuantity: "Available Quantity: {count}",
4406
+ redemptionsLeft: "{count} redemptions left",
4365
4407
  left: "left",
4366
4408
  redeemWith: "Redeem with",
4367
4409
  whatsIncluded: "What's included:",
@@ -4424,8 +4466,8 @@ const wn = {
4424
4466
  confirm: "Got it"
4425
4467
  }
4426
4468
  }, er = {
4427
- user: Yn,
4428
- components: Qn,
4469
+ user: Qn,
4470
+ components: Yn,
4429
4471
  views: Xn,
4430
4472
  utils: Jn,
4431
4473
  dialog: Zn
@@ -7063,7 +7105,7 @@ const wn = {
7063
7105
  {
7064
7106
  path: "/",
7065
7107
  name: "brandkit",
7066
- component: H(() => import("./BrandkitView-BHBErfbu.js"))
7108
+ component: H(() => import("./BrandkitView-XPYJZ_X2.js"))
7067
7109
  },
7068
7110
  {
7069
7111
  path: "/projects",
@@ -7078,7 +7120,7 @@ const wn = {
7078
7120
  path: ":templateId(.*)*",
7079
7121
  name: "builder",
7080
7122
  component: H(
7081
- () => import("./BuilderView-DY_Clqms.js")
7123
+ () => import("./BuilderView-DMQ2N3j3.js")
7082
7124
  )
7083
7125
  }
7084
7126
  ]
@@ -7100,7 +7142,7 @@ const wn = {
7100
7142
  path: "management",
7101
7143
  name: "settings-management",
7102
7144
  component: H(
7103
- () => import("./ManagementSettings-Cz4HkNm1.js")
7145
+ () => import("./ManagementSettings-CueLn4v_.js")
7104
7146
  )
7105
7147
  }
7106
7148
  ]
@@ -7332,7 +7374,7 @@ function Er(e, t) {
7332
7374
  }
7333
7375
  return null;
7334
7376
  }
7335
- function Q(e) {
7377
+ function Y(e) {
7336
7378
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
7337
7379
  }
7338
7380
  function $e(e) {
@@ -7461,8 +7503,8 @@ var Vt = {
7461
7503
  apply: Xr,
7462
7504
  set: Gr,
7463
7505
  remove: vi,
7464
- filter: Yr,
7465
- reduce: Qr,
7506
+ filter: Qr,
7507
+ reduce: Yr,
7466
7508
  release: ea,
7467
7509
  touch: zr
7468
7510
  };
@@ -7515,13 +7557,13 @@ function vi(e, t, i, n) {
7515
7557
  }
7516
7558
  return t.buffer === !0 && (t._b = t._b.filter((r) => (r[0] = r[0].filter((a) => a.key !== n), r[1] || r[0].length))), t;
7517
7559
  }
7518
- function Yr(e, t, i, n, r) {
7560
+ function Qr(e, t, i, n, r) {
7519
7561
  for (const a in e) {
7520
7562
  const o = e[a];
7521
7563
  (!r || o.type === r) && !n(o) && vi(e, t, i, a);
7522
7564
  }
7523
7565
  }
7524
- function Qr(e, t, i, n, r) {
7566
+ function Yr(e, t, i, n, r) {
7525
7567
  for (const a in e) {
7526
7568
  const o = e[a];
7527
7569
  r = n(r, o);
@@ -7890,7 +7932,7 @@ function ya(e, t) {
7890
7932
  n[l] = s, r.delete(s);
7891
7933
  }
7892
7934
  o.forEach((s, l) => {
7893
- n[s] = Qa({ value: l });
7935
+ n[s] = Ya({ value: l });
7894
7936
  }), r.size && r.forEach((s) => {
7895
7937
  if (!("__FKP" in s)) {
7896
7938
  const l = s._c.parent;
@@ -7983,9 +8025,9 @@ function $a(e, t, i) {
7983
8025
  const n = t.children.indexOf(i);
7984
8026
  if (n !== -1) {
7985
8027
  i.isSettled && e.disturb(), t.children.splice(n, 1);
7986
- let r = Q(i.props.preserve), a = i.parent;
8028
+ let r = Y(i.props.preserve), a = i.parent;
7987
8029
  for (; r === void 0 && a; )
7988
- r = Q(a.props.preserve), a = a.parent;
8030
+ r = Y(a.props.preserve), a = a.parent;
7989
8031
  r ? e.calm() : e.calm({
7990
8032
  name: e.type === "list" ? n : i.name,
7991
8033
  value: gt
@@ -8230,7 +8272,7 @@ function za(e) {
8230
8272
  value: t
8231
8273
  };
8232
8274
  }
8233
- function Ya(e, t) {
8275
+ function Qa(e, t) {
8234
8276
  var n, r;
8235
8277
  const i = (n = t.props) == null ? void 0 : n.id;
8236
8278
  if (i || (r = t.props) == null || delete r.id, e.ledger.init(e.store._n = e.props._n = e.config._n = e), e.props._emit = !1, Object.assign(
@@ -8248,7 +8290,7 @@ function Ya(e, t) {
8248
8290
  xt(e, e._c, a, !0, !1);
8249
8291
  return e.each((a) => e.add(a)), e.parent && e.parent.add(e, t.index), e.type === "input" && e.children.length && W(100, e), _i(e, e._c, e._value, !1), e.store.release(), i && ra(e), e.emit("created", e), e.isCreated = !0, e;
8250
8292
  }
8251
- function Qa(e) {
8293
+ function Ya(e) {
8252
8294
  return {
8253
8295
  __FKP: !0,
8254
8296
  uid: Symbol(),
@@ -8282,7 +8324,7 @@ function Ja(e) {
8282
8324
  return s && s.set ? s.set(n, i, a, o) : Reflect.set(...r);
8283
8325
  }
8284
8326
  });
8285
- return Ya(n, t);
8327
+ return Qa(n, t);
8286
8328
  }
8287
8329
  function vt(e) {
8288
8330
  return typeof e != "string" && A(e, "$el");
@@ -8324,7 +8366,7 @@ function eo(e) {
8324
8366
  }
8325
8367
  return e;
8326
8368
  }
8327
- function Y(e) {
8369
+ function Q(e) {
8328
8370
  let t;
8329
8371
  const i = /* @__PURE__ */ new Set(), n = function(m, h) {
8330
8372
  return typeof m == "function" ? m(h) : m;
@@ -8433,7 +8475,7 @@ function Y(e) {
8433
8475
  function y(d, m, h, C) {
8434
8476
  if (h) {
8435
8477
  const w = y(h, r.length);
8436
- let T, L = C ? Y(`$${C}`) : !1;
8478
+ let T, L = C ? Q(`$${C}`) : !1;
8437
8479
  if (typeof w == "function") {
8438
8480
  const c = Nr(String(d)).map(
8439
8481
  (p) => y(p, -1)
@@ -8535,7 +8577,7 @@ function no(e, t = !0) {
8535
8577
  const i = Oe(e);
8536
8578
  i ? i.clearErrors(t) : fe(652, e);
8537
8579
  }
8538
- var Ye = "1.6.9", Di = /* @__PURE__ */ new WeakSet();
8580
+ var Qe = "1.6.9", Di = /* @__PURE__ */ new WeakSet();
8539
8581
  function rt(e, t) {
8540
8582
  const i = t || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), n = /* @__PURE__ */ new Map(), r = function(g) {
8541
8583
  var y;
@@ -8760,9 +8802,9 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8760
8802
  return /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t));
8761
8803
  }, Go = Ko, zo = function({ value: t }, ...i) {
8762
8804
  return typeof t == "string" && i.length ? i.some((n) => t.endsWith(n)) : typeof t == "string" && i.length === 0;
8763
- }, Yo = zo, Qo = function({ value: t }, ...i) {
8805
+ }, Qo = zo, Yo = function({ value: t }, ...i) {
8764
8806
  return i.some((n) => typeof n == "object" ? V(n, t) : n == t);
8765
- }, Xo = Qo, Jo = function({ value: t }, i = 0, n = 1 / 0) {
8807
+ }, Xo = Yo, Jo = function({ value: t }, i = 0, n = 1 / 0) {
8766
8808
  i = parseInt(i), n = isNaN(parseInt(n)) ? 1 / 0 : parseInt(n);
8767
8809
  const r = i <= n ? i : n, a = n >= i ? n : i;
8768
8810
  if (typeof t == "string" || Array.isArray(t))
@@ -8844,7 +8886,7 @@ const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8844
8886
  date_between: jo,
8845
8887
  date_format: qo,
8846
8888
  email: Go,
8847
- ends_with: Yo,
8889
+ ends_with: Qo,
8848
8890
  is: Xo,
8849
8891
  length: Zo,
8850
8892
  lowercase: ts,
@@ -9441,9 +9483,9 @@ var Ns = {
9441
9483
  function Bs(e) {
9442
9484
  return function(i) {
9443
9485
  zt.add(i), i.on("destroying", () => zt.delete(i));
9444
- let n = Yt(i.config.locale, e), r = n ? e[n] : {};
9486
+ let n = Qt(i.config.locale, e), r = n ? e[n] : {};
9445
9487
  i.on("prop:locale", ({ payload: a }) => {
9446
- n = Yt(a, e), r = n ? e[n] : {}, i.store.touch();
9488
+ n = Qt(a, e), r = n ? e[n] : {}, i.store.touch();
9447
9489
  }), i.on("prop:label", () => i.store.touch()), i.on("prop:validationLabel", () => i.store.touch()), i.hook.text((a, o) => {
9448
9490
  var l, f;
9449
9491
  const s = ((l = a.meta) == null ? void 0 : l.messageKey) || a.key;
@@ -9455,7 +9497,7 @@ function Bs(e) {
9455
9497
  });
9456
9498
  };
9457
9499
  }
9458
- function Yt(e, t) {
9500
+ function Qt(e, t) {
9459
9501
  if (A(t, e))
9460
9502
  return e;
9461
9503
  const [i] = e.split("-");
@@ -9580,12 +9622,12 @@ function S(e, t, i = !1) {
9580
9622
  function js(e) {
9581
9623
  return (t) => [e(t)];
9582
9624
  }
9583
- function Qe(e) {
9625
+ function Ye(e) {
9584
9626
  return !!(e && typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e));
9585
9627
  }
9586
9628
  // @__NO_SIDE_EFFECTS__
9587
9629
  function xe(e, t = {}) {
9588
- return typeof e == "string" ? Qe(t) || typeof t == "string" ? t : e : Array.isArray(e) ? Qe(t) ? t : e : se(e, t);
9630
+ return typeof e == "string" ? Ye(t) || typeof t == "string" ? t : e : Array.isArray(e) ? Ye(t) ? t : e : se(e, t);
9589
9631
  }
9590
9632
  var Ws = /* @__PURE__ */ S("actions", () => ({
9591
9633
  $el: "div",
@@ -9682,18 +9724,18 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9682
9724
  })), zs = /* @__PURE__ */ S("fileItem", () => ({
9683
9725
  $el: "li",
9684
9726
  for: ["file", "$value"]
9685
- })), Ys = /* @__PURE__ */ S("fileList", () => ({
9727
+ })), Qs = /* @__PURE__ */ S("fileList", () => ({
9686
9728
  $el: "ul",
9687
9729
  if: "$value.length",
9688
9730
  attrs: {
9689
9731
  "data-has-multiple": "$_hasMultipleFiles"
9690
9732
  }
9691
- })), Qs = /* @__PURE__ */ S("fileName", () => ({
9733
+ })), Ys = /* @__PURE__ */ S("fileName", () => ({
9692
9734
  $el: "span",
9693
9735
  attrs: {
9694
9736
  class: "$classes.fileName"
9695
9737
  }
9696
- })), Qt = /* @__PURE__ */ S("fileRemove", () => ({
9738
+ })), Yt = /* @__PURE__ */ S("fileRemove", () => ({
9697
9739
  $el: "button",
9698
9740
  attrs: {
9699
9741
  type: "button",
@@ -9740,7 +9782,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9740
9782
  attrs: {
9741
9783
  for: "$id"
9742
9784
  }
9743
- })), Yi = /* @__PURE__ */ S("legend", () => ({
9785
+ })), Qi = /* @__PURE__ */ S("legend", () => ({
9744
9786
  $el: "legend",
9745
9787
  if: "$label"
9746
9788
  })), le = /* @__PURE__ */ S("message", () => ({
@@ -9819,7 +9861,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9819
9861
  type: "submit",
9820
9862
  label: "$submitLabel"
9821
9863
  }
9822
- })), ie = /* @__PURE__ */ S("suffix", null), Qi = /* @__PURE__ */ S("input", () => ({
9864
+ })), ie = /* @__PURE__ */ S("suffix", null), Yi = /* @__PURE__ */ S("input", () => ({
9823
9865
  $el: "input",
9824
9866
  bind: "$attrs",
9825
9867
  attrs: {
@@ -9898,9 +9940,9 @@ function Ce(e, t) {
9898
9940
  }
9899
9941
  function Ft(e) {
9900
9942
  e.on("created", () => {
9901
- "disabled" in e.props && (e.props.disabled = Q(e.props.disabled), e.config.disabled = Q(e.props.disabled));
9902
- }), e.hook.prop(({ prop: t, value: i }, n) => (i = t === "disabled" ? Q(i) : i, n({ prop: t, value: i }))), e.on("prop:disabled", ({ payload: t }) => {
9903
- e.config.disabled = Q(t);
9943
+ "disabled" in e.props && (e.props.disabled = Y(e.props.disabled), e.config.disabled = Y(e.props.disabled));
9944
+ }), e.hook.prop(({ prop: t, value: i }, n) => (i = t === "disabled" ? Y(i) : i, n({ prop: t, value: i }))), e.on("prop:disabled", ({ payload: t }) => {
9945
+ e.config.disabled = Y(t);
9904
9946
  });
9905
9947
  }
9906
9948
  function Ke(e, t) {
@@ -10093,7 +10135,7 @@ function rn(e) {
10093
10135
  function vl(e) {
10094
10136
  e.on("created", () => {
10095
10137
  var i, n, r;
10096
- const t = Q((i = e.props.attrs) == null ? void 0 : i.multiple);
10138
+ const t = Y((i = e.props.attrs) == null ? void 0 : i.multiple);
10097
10139
  !t && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: a, value: o }, s) => (a === "options" && (o = ti(o, e.props.placeholder)), s({ prop: a, value: o }))), e.props.options = ti(
10098
10140
  e.props.options,
10099
10141
  e.props.placeholder
@@ -10118,7 +10160,7 @@ function vl(e) {
10118
10160
  });
10119
10161
  }), e.hook.input((t, i) => {
10120
10162
  var n, r, a;
10121
- return !e.props.placeholder && t === void 0 && Array.isArray((n = e.props) == null ? void 0 : n.options) && e.props.options.length && !Q((a = (r = e.props) == null ? void 0 : r.attrs) == null ? void 0 : a.multiple) && (t = rn(e.props.options)), i(t);
10163
+ return !e.props.placeholder && t === void 0 && Array.isArray((n = e.props) == null ? void 0 : n.options) && e.props.options.length && !Y((a = (r = e.props) == null ? void 0 : r.attrs) == null ? void 0 : a.multiple) && (t = rn(e.props.options)), i(t);
10122
10164
  });
10123
10165
  }
10124
10166
  // @__NO_SIDE_EFFECTS__
@@ -10141,13 +10183,13 @@ function Tl(e, t = {}) {
10141
10183
  function ae(e, t, i) {
10142
10184
  const n = (r) => {
10143
10185
  const a = t(r);
10144
- if (i || Qe(a) && "if" in a || /* @__PURE__ */ wt(a)) {
10186
+ if (i || Ye(a) && "if" in a || /* @__PURE__ */ wt(a)) {
10145
10187
  const o = {
10146
10188
  if: e,
10147
10189
  then: a
10148
10190
  };
10149
10191
  return i && (o.else = i(r)), o;
10150
- } else /* @__PURE__ */ wt(a) ? Object.assign(a.else, { if: e }) : Qe(a) && Object.assign(a, { if: e });
10192
+ } else /* @__PURE__ */ wt(a) ? Object.assign(a.else, { if: e }) : Ye(a) && Object.assign(a, { if: e });
10151
10193
  return a;
10152
10194
  };
10153
10195
  return n._s = _e(), n;
@@ -10225,7 +10267,7 @@ var ii = {
10225
10267
  * Multi checkbox structure.
10226
10268
  */
10227
10269
  /* @__PURE__ */ zi(
10228
- /* @__PURE__ */ Yi("$label"),
10270
+ /* @__PURE__ */ Qi("$label"),
10229
10271
  /* @__PURE__ */ ee("$help"),
10230
10272
  /* @__PURE__ */ Gi(
10231
10273
  /* @__PURE__ */ Ki(
@@ -10292,20 +10334,20 @@ var ii = {
10292
10334
  /* @__PURE__ */ E("prefix", "label"),
10293
10335
  /* @__PURE__ */ te(),
10294
10336
  /* @__PURE__ */ Gs(),
10295
- /* @__PURE__ */ Ys(
10337
+ /* @__PURE__ */ Qs(
10296
10338
  /* @__PURE__ */ zs(
10297
10339
  /* @__PURE__ */ E("fileItem"),
10298
- /* @__PURE__ */ Qs("$file.name"),
10340
+ /* @__PURE__ */ Ys("$file.name"),
10299
10341
  /* @__PURE__ */ ae(
10300
10342
  "$value.length === 1",
10301
- /* @__PURE__ */ Qt(
10343
+ /* @__PURE__ */ Yt(
10302
10344
  /* @__PURE__ */ E("fileRemove"),
10303
10345
  '$ui.remove.value + " " + $file.name'
10304
10346
  )
10305
10347
  )
10306
10348
  )
10307
10349
  ),
10308
- /* @__PURE__ */ ae("$value.length > 1", /* @__PURE__ */ Qt("$ui.removeAll.value")),
10350
+ /* @__PURE__ */ ae("$value.length > 1", /* @__PURE__ */ Yt("$ui.removeAll.value")),
10309
10351
  /* @__PURE__ */ Js(/* @__PURE__ */ E("noFiles"), "$ui.noFiles.value"),
10310
10352
  /* @__PURE__ */ ie(),
10311
10353
  /* @__PURE__ */ E("suffix")
@@ -10393,7 +10435,7 @@ var ii = {
10393
10435
  /**
10394
10436
  * The actual schema of the input, or a function that returns the schema.
10395
10437
  */
10396
- schema: /* @__PURE__ */ Qi(),
10438
+ schema: /* @__PURE__ */ Yi(),
10397
10439
  /**
10398
10440
  * The type of node, can be a list, group, or input.
10399
10441
  */
@@ -10460,7 +10502,7 @@ var ii = {
10460
10502
  * Multi radio structure.
10461
10503
  */
10462
10504
  /* @__PURE__ */ zi(
10463
- /* @__PURE__ */ Yi("$label"),
10505
+ /* @__PURE__ */ Qi("$label"),
10464
10506
  /* @__PURE__ */ ee("$help"),
10465
10507
  /* @__PURE__ */ Gi(
10466
10508
  /* @__PURE__ */ Ki(
@@ -10603,7 +10645,7 @@ var ii = {
10603
10645
  /* @__PURE__ */ Ee(
10604
10646
  /* @__PURE__ */ E("prefix", "label"),
10605
10647
  /* @__PURE__ */ te(),
10606
- /* @__PURE__ */ Qi(),
10648
+ /* @__PURE__ */ Yi(),
10607
10649
  /* @__PURE__ */ ie(),
10608
10650
  /* @__PURE__ */ E("suffix")
10609
10651
  )
@@ -10691,7 +10733,7 @@ function Rl(e) {
10691
10733
  if (!(!e || !oe || typeof getComputedStyle != "function") && (De = !0, Z = document.getElementById("formkit-theme"), e && // if we have a window object
10692
10734
  oe && // we don't have an existing theme OR the theme being set up is different
10693
10735
  (!(X != null && X.getPropertyValue("--formkit-theme")) && !Z || Z != null && Z.getAttribute("data-theme") && (Z == null ? void 0 : Z.getAttribute("data-theme")) !== e))) {
10694
- const i = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Ye.startsWith("__") ? "latest" : Ye}/dist/${e}/theme.css`, n = document.createElement("link");
10736
+ const i = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Qe.startsWith("__") ? "latest" : Qe}/dist/${e}/theme.css`, n = document.createElement("link");
10695
10737
  n.type = "text/css", n.rel = "stylesheet", n.id = "formkit-theme", n.setAttribute("data-theme", e), n.onload = () => {
10696
10738
  X = getComputedStyle(document.documentElement), it();
10697
10739
  }, document.head.appendChild(n), n.href = i, Z && Z.remove();
@@ -10731,7 +10773,7 @@ function ri(e) {
10731
10773
  }
10732
10774
  }
10733
10775
  function Ol(e, t) {
10734
- const i = Ye.startsWith("__") ? "latest" : Ye, n = typeof t == "function" ? t(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${i}/dist/icons/${e}.svg`;
10776
+ const i = Qe.startsWith("__") ? "latest" : Qe, n = typeof t == "function" ? t(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${i}/dist/icons/${e}.svg`;
10735
10777
  if (oe)
10736
10778
  return fetch(`${n}`).then(async (r) => {
10737
10779
  const a = await r.text();
@@ -11041,7 +11083,7 @@ var Ul = (e, t) => {
11041
11083
  O.key === "validating" && (p.handlers.touch(), t.off($));
11042
11084
  });
11043
11085
  }
11044
- b && t.type === "input" && n.value && !Q(t.props.preserveErrors) && t.store.filter(
11086
+ b && t.type === "input" && n.value && !Y(t.props.preserveErrors) && t.store.filter(
11045
11087
  ($) => {
11046
11088
  var O;
11047
11089
  return !($.type === "error" && ((O = $.meta) == null ? void 0 : O.autoClear) === !0);
@@ -11104,11 +11146,11 @@ var Ot, Gl = on({
11104
11146
  };
11105
11147
  }
11106
11148
  }), zl = typeof window > "u", ct = /* @__PURE__ */ new Map();
11107
- function Yl(e, t) {
11149
+ function Ql(e, t) {
11108
11150
  var i;
11109
11151
  !zl || !e || (ct.has(e) || ct.set(e, /* @__PURE__ */ new Set()), (i = ct.get(e)) == null || i.add(t));
11110
11152
  }
11111
- var cn = typeof window > "u", Fe = {}, ke = {}, B, re = /* @__PURE__ */ new WeakMap(), Ql = "__raw__", Xl = /[a-zA-Z0-9\-][cC]lass$/;
11153
+ var cn = typeof window > "u", Fe = {}, ke = {}, B, re = /* @__PURE__ */ new WeakMap(), Yl = "__raw__", Xl = /[a-zA-Z0-9\-][cC]lass$/;
11112
11154
  function Jl(e, t) {
11113
11155
  const i = j(null);
11114
11156
  if (e === "get") {
@@ -11162,17 +11204,17 @@ function Zl(e, t) {
11162
11204
  }
11163
11205
  function ci(e, t, i) {
11164
11206
  function n(b, v) {
11165
- const d = y(Y(v.if), { if: !0 }), m = f(b, v.then), h = v.else ? f(b, v.else) : null;
11207
+ const d = y(Q(v.if), { if: !0 }), m = f(b, v.then), h = v.else ? f(b, v.else) : null;
11166
11208
  return [d, m, h];
11167
11209
  }
11168
11210
  function r(b, v) {
11169
11211
  var C, w;
11170
- const d = y(Y(b.if));
11212
+ const d = y(Q(b.if));
11171
11213
  let m = () => v, h = () => v;
11172
- return typeof b.then == "object" ? h = a(b.then, void 0) : typeof b.then == "string" && ((C = b.then) != null && C.startsWith("$")) ? h = y(Y(b.then)) : h = () => b.then, A(b, "else") && (typeof b.else == "object" ? m = a(b.else) : typeof b.else == "string" && ((w = b.else) != null && w.startsWith("$")) ? m = y(Y(b.else)) : m = () => b.else), () => d() ? h() : m();
11214
+ return typeof b.then == "object" ? h = a(b.then, void 0) : typeof b.then == "string" && ((C = b.then) != null && C.startsWith("$")) ? h = y(Q(b.then)) : h = () => b.then, A(b, "else") && (typeof b.else == "object" ? m = a(b.else) : typeof b.else == "string" && ((w = b.else) != null && w.startsWith("$")) ? m = y(Q(b.else)) : m = () => b.else), () => d() ? h() : m();
11173
11215
  }
11174
11216
  function a(b, v, d = {}) {
11175
- const m = new Set(Object.keys(b || {})), h = v ? y(Y(v)) : () => ({}), C = [
11217
+ const m = new Set(Object.keys(b || {})), h = v ? y(Q(v)) : () => ({}), C = [
11176
11218
  (w) => {
11177
11219
  const T = h();
11178
11220
  for (const L in T)
@@ -11189,7 +11231,7 @@ function ci(e, t, i) {
11189
11231
  const T = b[w];
11190
11232
  let L;
11191
11233
  const c = typeof T == "string";
11192
- w.startsWith(Ql) ? (w = w.substring(7), L = () => T) : c && T.startsWith("$") && T.length > 1 && !(T.startsWith("$reset") && Xl.test(w)) ? L = y(Y(T)) : typeof T == "object" && ye(T) ? L = r(T, void 0) : typeof T == "object" && we(T) ? L = a(T) : L = () => T, C.push((p) => {
11234
+ w.startsWith(Yl) ? (w = w.substring(7), L = () => T) : c && T.startsWith("$") && T.length > 1 && !(T.startsWith("$reset") && Xl.test(w)) ? L = y(Q(T)) : typeof T == "object" && ye(T) ? L = r(T, void 0) : typeof T == "object" && we(T) ? L = a(T) : L = () => T, C.push((p) => {
11193
11235
  p[w] = L();
11194
11236
  });
11195
11237
  }
@@ -11202,12 +11244,12 @@ function ci(e, t, i) {
11202
11244
  function o(b, v) {
11203
11245
  let d = null, m = () => null, h = !1, C = null, w = null, T = null, L = !1;
11204
11246
  const c = eo(v);
11205
- if (vt(c) ? (d = c.$el, m = c.$el !== "text" ? a(c.attrs, c.bind) : () => null) : Tt(c) ? (typeof c.$cmp == "string" ? A(b, c.$cmp) ? d = b[c.$cmp] : (d = c.$cmp, L = !0) : d = c.$cmp, m = a(c.props, c.bind)) : ye(c) && ([h, C, w] = n(b, c)), !ye(c) && "if" in c ? h = y(Y(c.if)) : !ye(c) && d === null && (h = () => !0), "children" in c && c.children)
11247
+ if (vt(c) ? (d = c.$el, m = c.$el !== "text" ? a(c.attrs, c.bind) : () => null) : Tt(c) ? (typeof c.$cmp == "string" ? A(b, c.$cmp) ? d = b[c.$cmp] : (d = c.$cmp, L = !0) : d = c.$cmp, m = a(c.props, c.bind)) : ye(c) && ([h, C, w] = n(b, c)), !ye(c) && "if" in c ? h = y(Q(c.if)) : !ye(c) && d === null && (h = () => !0), "children" in c && c.children)
11206
11248
  if (typeof c.children == "string")
11207
11249
  if (c.children.startsWith("$slots."))
11208
- d = d === "text" ? "slot" : d, C = y(Y(c.children));
11250
+ d = d === "text" ? "slot" : d, C = y(Q(c.children));
11209
11251
  else if (c.children.startsWith("$") && c.children.length > 1) {
11210
- const p = y(Y(c.children));
11252
+ const p = y(Q(c.children));
11211
11253
  C = () => String(p());
11212
11254
  } else
11213
11255
  C = () => String(c.children);
@@ -11234,7 +11276,7 @@ function ci(e, t, i) {
11234
11276
  if ("for" in c && c.for) {
11235
11277
  const p = c.for.length === 3 ? c.for[2] : c.for[1];
11236
11278
  T = [
11237
- typeof p == "string" && p.startsWith("$") ? y(Y(p)) : () => p,
11279
+ typeof p == "string" && p.startsWith("$") ? y(Q(p)) : () => p,
11238
11280
  c.for[0],
11239
11281
  c.for.length === 3 ? String(c.for[1]) : null
11240
11282
  ];
@@ -11416,7 +11458,7 @@ var pn = /* @__PURE__ */ hi({
11416
11458
  function l() {
11417
11459
  di(e.schema, e.memoKey, n), s && (s.node && s.node.destroy(), s.slots = null, s = null), o = null;
11418
11460
  }
11419
- return fi(() => t.emit("mounted")), gn(l), Yl((f = dt()) == null ? void 0 : f.appContext.app, l), () => o ? o() : null;
11461
+ return fi(() => t.emit("mounted")), gn(l), Ql((f = dt()) == null ? void 0 : f.appContext.app, l), () => o ? o() : null;
11420
11462
  }
11421
11463
  }), tc = pn, ic = typeof window > "u", pi = Symbol("FormKitParent"), nc = Symbol("FormKitComponentCallback");
11422
11464
  function rc(e, t) {
@@ -11560,7 +11602,7 @@ function pc(e, t, i = {}) {
11560
11602
  config: e.config || {},
11561
11603
  props: P,
11562
11604
  index: e.index,
11563
- sync: !!Q(t.attrs.sync || t.attrs.dynamic)
11605
+ sync: !!Y(t.attrs.sync || t.attrs.dynamic)
11564
11606
  },
11565
11607
  !1,
11566
11608
  !0
@@ -11615,7 +11657,7 @@ function pc(e, t, i = {}) {
11615
11657
  }
11616
11658
  if (ne(() => {
11617
11659
  const c = Ht(be(t.attrs), m.value);
11618
- "multiple" in c && (c.multiple = Q(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = Br(c.onBlur)), v.props.attrs = Object.assign({}, v.props.attrs || {}, c);
11660
+ "multiple" in c && (c.multiple = Y(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = Br(c.onBlur)), v.props.attrs = Object.assign({}, v.props.attrs || {}, c);
11619
11661
  }), ne(() => {
11620
11662
  const c = (e.errors ?? []).map(
11621
11663
  (p) => /* @__PURE__ */ q({
@@ -11779,7 +11821,7 @@ const Ac = (e) => {
11779
11821
  ),
11780
11822
  BaListRepeater: K(
11781
11823
  H(
11782
- () => import("./ListRepeater-rkz-trRq.js")
11824
+ () => import("./ListRepeater-DdcHuX_X.js")
11783
11825
  )
11784
11826
  ),
11785
11827
  BaTextStyleList: K(
@@ -11799,7 +11841,7 @@ const Ac = (e) => {
11799
11841
  ),
11800
11842
  BaImageUpload: K(
11801
11843
  H(
11802
- () => import("./ImageUpload-B8OINKSx.js")
11844
+ () => import("./ImageUpload-CaB-xg3u.js")
11803
11845
  ),
11804
11846
  { props: ["ignoreUpdate"] }
11805
11847
  ),
@@ -11827,7 +11869,7 @@ const Ac = (e) => {
11827
11869
  "th-TH": { ...Dn, ...yr },
11828
11870
  "ko-KR": { ...Bn, ...wr },
11829
11871
  "vi-VN": { ...zn, ...Mr }
11830
- }, Pc = H(() => import("./App-CoIlf_Tr.js"));
11872
+ }, Pc = H(() => import("./App-B5LHJKf9.js"));
11831
11873
  export {
11832
11874
  hn as F,
11833
11875
  pn as a,
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { c as i, d as o, i as e, r as m } from "./app-pY4HD-TA.js";
2
+ import { c as i, d as o, i as e, r as m } from "./app-DTF3XZIk.js";
3
3
  export {
4
4
  i as FmApp,
5
5
  o as FormKitPlugin,