@bagelink/vue 0.0.204 → 0.0.206

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.
package/dist/index.cjs CHANGED
@@ -14589,7 +14589,7 @@ const _hoisted_2$S = [
14589
14589
  ];
14590
14590
  const _hoisted_3$K = { class: "full-nav" };
14591
14591
  const _hoisted_4$t = { class: "nav-scroll" };
14592
- const _hoisted_5$n = { class: "nav-links-wrapper" };
14592
+ const _hoisted_5$o = { class: "nav-links-wrapper" };
14593
14593
  const _hoisted_6$i = { class: "icon-font" };
14594
14594
  const _hoisted_7$d = { class: "tooltip" };
14595
14595
  const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
@@ -14620,7 +14620,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14620
14620
  }, _hoisted_2$S, 32),
14621
14621
  vue.createElementVNode("div", _hoisted_3$K, [
14622
14622
  vue.createElementVNode("div", _hoisted_4$t, [
14623
- vue.createElementVNode("div", _hoisted_5$n, [
14623
+ vue.createElementVNode("div", _hoisted_5$o, [
14624
14624
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = _ctx.links) == null ? void 0 : _a2.call(_ctx), (link) => {
14625
14625
  return vue.openBlock(), vue.createBlock(_component_RouterLink, {
14626
14626
  class: "nav-button",
@@ -14661,7 +14661,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14661
14661
  color: {},
14662
14662
  theme: {},
14663
14663
  flat: { type: Boolean },
14664
- border: { type: Boolean },
14664
+ border: { type: Boolean, default: false },
14665
14665
  thin: { type: Boolean },
14666
14666
  type: { default: "button" },
14667
14667
  loading: { type: Boolean, default: false },
@@ -14673,8 +14673,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14673
14673
  },
14674
14674
  setup(__props) {
14675
14675
  vue.useCssVars((_ctx) => ({
14676
- "0bd3bef7": computedBackgroundColor.value,
14677
- "1b1b6b12": cumputedTextColor.value
14676
+ "0b5510c0": computedBackgroundColor.value,
14677
+ "18db167b": cumputedTextColor.value
14678
14678
  }));
14679
14679
  const slots = vue.useSlots();
14680
14680
  const props2 = __props;
@@ -14759,7 +14759,7 @@ const _export_sfc = (sfc, props2) => {
14759
14759
  }
14760
14760
  return target;
14761
14761
  };
14762
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-845b751e"]]);
14762
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-0ca0d3de"]]);
14763
14763
  const _hoisted_1$Z = { class: "tool-bar" };
14764
14764
  const _hoisted_2$Q = { class: "modal-title" };
14765
14765
  const _hoisted_3$J = { class: "modal-footer mt-3" };
@@ -14887,7 +14887,7 @@ const _hoisted_3$H = {
14887
14887
  class: "bagel-input search-wrap"
14888
14888
  };
14889
14889
  const _hoisted_4$s = ["placeholder"];
14890
- const _hoisted_5$m = { class: "list-content grid auto-flow-rows align-items-start" };
14890
+ const _hoisted_5$n = { class: "list-content grid auto-flow-rows align-items-start" };
14891
14891
  const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14892
14892
  __name: "ListView",
14893
14893
  props: {
@@ -14925,7 +14925,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14925
14925
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
14926
14926
  })) : vue.createCommentVNode("", true)
14927
14927
  ]),
14928
- vue.createElementVNode("div", _hoisted_5$m, [
14928
+ vue.createElementVNode("div", _hoisted_5$n, [
14929
14929
  vue.renderSlot(_ctx.$slots, "default")
14930
14930
  ])
14931
14931
  ]);
@@ -14958,17 +14958,17 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14958
14958
  };
14959
14959
  }
14960
14960
  });
14961
- const _hoisted_1$V = { class: "h-100 grid list-view gap-3" };
14962
- const _hoisted_2$M = { class: "card tabs-top" };
14963
- const _hoisted_3$G = { class: "tabs grid auto-flow-columns fit-content" };
14964
- const _hoisted_4$r = ["onClick"];
14961
+ const _hoisted_1$V = { class: "card tabs-top" };
14962
+ const _hoisted_2$M = { class: "tabs grid auto-flow-columns fit-content" };
14963
+ const _hoisted_3$G = ["onClick"];
14965
14964
  const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14966
14965
  __name: "TabbedLayout",
14967
14966
  props: {
14968
14967
  title: {},
14969
14968
  tabs: {},
14970
14969
  modelValue: {},
14971
- router: {}
14970
+ router: {},
14971
+ sideTabs: { type: Boolean }
14972
14972
  },
14973
14973
  emits: ["update:modelValue"],
14974
14974
  setup(__props, { emit: __emit }) {
@@ -14976,32 +14976,38 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14976
14976
  let activeTab = vue.ref();
14977
14977
  const props2 = __props;
14978
14978
  function changeTab(tab) {
14979
- const { router } = props2;
14979
+ var _a2;
14980
14980
  activeTab.value = tab;
14981
- void router.push({
14982
- path: router.currentRoute.value.path,
14983
- query: { ...router.currentRoute.value.query, t: tab },
14984
- hash: router.currentRoute.value.hash
14985
- });
14986
14981
  emit2("update:modelValue", activeTab.value);
14982
+ if (!props2.router)
14983
+ return;
14984
+ void ((_a2 = props2.router) == null ? void 0 : _a2.push({
14985
+ path: props2.router.currentRoute.value.path,
14986
+ query: { ...props2.router.currentRoute.value.query, t: tab },
14987
+ hash: props2.router.currentRoute.value.hash
14988
+ }));
14987
14989
  }
14988
14990
  vue.onMounted(() => {
14989
- const firstTab = props2.modelValue || props2.router.currentRoute.value.query.t || props2.tabs[0];
14991
+ var _a2;
14992
+ const firstTab = props2.modelValue || ((_a2 = props2.router) == null ? void 0 : _a2.currentRoute.value.query.t) || props2.tabs[0];
14990
14993
  activeTab.value = firstTab;
14991
14994
  });
14992
14995
  return (_ctx, _cache) => {
14993
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
14994
- vue.createElementVNode("div", _hoisted_2$M, [
14996
+ return vue.openBlock(), vue.createElementBlock("div", {
14997
+ class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
14998
+ }, [
14999
+ vue.createElementVNode("div", _hoisted_1$V, [
14995
15000
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14996
- vue.createElementVNode("div", _hoisted_3$G, [
15001
+ vue.createElementVNode("div", _hoisted_2$M, [
14997
15002
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
15003
+ var _a2;
14998
15004
  return vue.openBlock(), vue.createElementBlock("div", {
14999
15005
  class: vue.normalizeClass([{
15000
- active: tab === vue.unref(activeTab) || tab === _ctx.router.currentRoute.value.path.split("/").slice(-1)[0]
15006
+ active: tab === vue.unref(activeTab) || tab === ((_a2 = _ctx.router) == null ? void 0 : _a2.currentRoute.value.path.split("/").slice(-1)[0])
15001
15007
  }, "tab"]),
15002
15008
  key: tab,
15003
15009
  onClick: ($event) => changeTab(tab)
15004
- }, vue.toDisplayString(tab), 11, _hoisted_4$r);
15010
+ }, vue.toDisplayString(tab), 11, _hoisted_3$G);
15005
15011
  }), 128))
15006
15012
  ])
15007
15013
  ]),
@@ -15013,16 +15019,16 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
15013
15019
  vue.renderSlot(_ctx.$slots, tab, { key: tab }, void 0, true)
15014
15020
  ]);
15015
15021
  }), 128))
15016
- ]);
15022
+ ], 2);
15017
15023
  };
15018
15024
  }
15019
15025
  });
15020
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-3941cced"]]);
15026
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-09fce741"]]);
15021
15027
  const _hoisted_1$U = { class: "comments-wrap" };
15022
15028
  const _hoisted_2$L = { class: "comment-list" };
15023
15029
  const _hoisted_3$F = { class: "comment-top" };
15024
- const _hoisted_4$q = { class: "comment-owner" };
15025
- const _hoisted_5$l = { class: "comment-time" };
15030
+ const _hoisted_4$r = { class: "comment-owner" };
15031
+ const _hoisted_5$m = { class: "comment-time" };
15026
15032
  const _hoisted_6$h = { class: "comment-actions" };
15027
15033
  const _hoisted_7$c = ["innerHTML"];
15028
15034
  const _hoisted_8$6 = { class: "new-comment" };
@@ -15081,8 +15087,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15081
15087
  key: comment.id
15082
15088
  }, [
15083
15089
  vue.createElementVNode("div", _hoisted_3$F, [
15084
- vue.createElementVNode("div", _hoisted_4$q, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
15085
- vue.createElementVNode("div", _hoisted_5$l, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
15090
+ vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
15091
+ vue.createElementVNode("div", _hoisted_5$m, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
15086
15092
  vue.createElementVNode("div", _hoisted_6$h, [
15087
15093
  vue.createVNode(vue.unref(_sfc_main$W), {
15088
15094
  size: 1,
@@ -15334,8 +15340,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15334
15340
  const _hoisted_1$R = { class: "table-list-wrap h-100" };
15335
15341
  const _hoisted_2$I = { class: "infinite-wrapper" };
15336
15342
  const _hoisted_3$E = { class: "row first-row" };
15337
- const _hoisted_4$p = ["onClick"];
15338
- const _hoisted_5$k = { class: "flex" };
15343
+ const _hoisted_4$q = ["onClick"];
15344
+ const _hoisted_5$l = { class: "flex" };
15339
15345
  const _hoisted_6$g = ["onClick"];
15340
15346
  const _hoisted_7$b = { key: 1 };
15341
15347
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
@@ -15393,7 +15399,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15393
15399
  key: field.id,
15394
15400
  onClick: ($event) => sort2(field.id)
15395
15401
  }, [
15396
- vue.createElementVNode("div", _hoisted_5$k, [
15402
+ vue.createElementVNode("div", _hoisted_5$l, [
15397
15403
  vue.createTextVNode(vue.toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
15398
15404
  vue.createElementVNode("div", {
15399
15405
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
@@ -15404,7 +15410,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15404
15410
  }, null, 8, ["class"])
15405
15411
  ], 2)
15406
15412
  ])
15407
- ], 8, _hoisted_4$p);
15413
+ ], 8, _hoisted_4$q);
15408
15414
  }), 128))
15409
15415
  ]),
15410
15416
  vue.createElementVNode("tbody", {
@@ -15533,8 +15539,8 @@ const _hoisted_1$O = {
15533
15539
  };
15534
15540
  const _hoisted_2$H = { class: "person-card-icon-wrap" };
15535
15541
  const _hoisted_3$D = { class: "person-card-icon" };
15536
- const _hoisted_4$o = { class: "person-card-name txt20" };
15537
- const _hoisted_5$j = { class: "person-card-details-wrap" };
15542
+ const _hoisted_4$p = { class: "person-card-name txt20" };
15543
+ const _hoisted_5$k = { class: "person-card-details-wrap" };
15538
15544
  const _hoisted_6$f = {
15539
15545
  key: 0,
15540
15546
  class: "person-card-details"
@@ -15598,9 +15604,9 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15598
15604
  ])) : vue.createCommentVNode("", true),
15599
15605
  vue.createElementVNode("div", _hoisted_2$H, [
15600
15606
  vue.createElementVNode("p", _hoisted_3$D, vue.toDisplayString(vue.unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15601
- vue.createElementVNode("p", _hoisted_4$o, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
15607
+ vue.createElementVNode("p", _hoisted_4$p, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
15602
15608
  ]),
15603
- vue.createElementVNode("div", _hoisted_5$j, [
15609
+ vue.createElementVNode("div", _hoisted_5$k, [
15604
15610
  ((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$f, [
15605
15611
  vue.createVNode(vue.unref(_sfc_main$W), { icon: "phone" }),
15606
15612
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
@@ -15639,8 +15645,8 @@ const _hoisted_3$C = {
15639
15645
  key: 0,
15640
15646
  class: "data-row"
15641
15647
  };
15642
- const _hoisted_4$n = { class: "key" };
15643
- const _hoisted_5$i = { key: 1 };
15648
+ const _hoisted_4$o = { class: "key" };
15649
+ const _hoisted_5$j = { key: 1 };
15644
15650
  const _hoisted_6$e = { class: "key" };
15645
15651
  const _hoisted_7$9 = { class: "vlue" };
15646
15652
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
@@ -15672,7 +15678,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15672
15678
  key: field.id
15673
15679
  }, [
15674
15680
  (field["v-if"] ? field["v-if"](itemData.value[field.id], itemData.value) : true) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$C, [
15675
- vue.createElementVNode("div", _hoisted_4$n, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
15681
+ vue.createElementVNode("div", _hoisted_4$o, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
15676
15682
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), vue.mergeProps({
15677
15683
  class: "vlue",
15678
15684
  modelValue: itemData.value[field.id],
@@ -15692,7 +15698,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15692
15698
  ])) : vue.createCommentVNode("", true)
15693
15699
  ], 64);
15694
15700
  }), 128)),
15695
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$i, [
15701
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$j, [
15696
15702
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value).filter(
15697
15703
  ([key]) => !keysToIgnore.includes(key)
15698
15704
  ), ([key, value]) => {
@@ -15718,11 +15724,11 @@ const _hoisted_2$F = {
15718
15724
  class: "group-wrap"
15719
15725
  };
15720
15726
  const _hoisted_3$B = { class: "group-title" };
15721
- const _hoisted_4$m = {
15727
+ const _hoisted_4$n = {
15722
15728
  key: 1,
15723
15729
  class: "bar-wrap"
15724
15730
  };
15725
- const _hoisted_5$h = { class: "bar-txt" };
15731
+ const _hoisted_5$i = { class: "bar-txt" };
15726
15732
  const _hoisted_6$d = { class: "factor" };
15727
15733
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
15728
15734
  const _hoisted_8$4 = { class: "bar-lines" };
@@ -15804,7 +15810,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15804
15810
  }, null, 4)) : vue.createCommentVNode("", true)
15805
15811
  ]);
15806
15812
  }), 128))
15807
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$m, [
15813
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$n, [
15808
15814
  vue.createElementVNode("div", {
15809
15815
  class: "bar",
15810
15816
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15814,7 +15820,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15814
15820
  class: "bar compare",
15815
15821
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
15816
15822
  }, null, 4)) : vue.createCommentVNode("", true),
15817
- vue.createElementVNode("p", _hoisted_5$h, vue.toDisplayString(item.title), 1)
15823
+ vue.createElementVNode("p", _hoisted_5$i, vue.toDisplayString(item.title), 1)
15818
15824
  ]))
15819
15825
  ]);
15820
15826
  }), 128)),
@@ -17135,8 +17141,8 @@ const _hoisted_3$A = {
17135
17141
  key: 0,
17136
17142
  class: "bglform-contact-confirm"
17137
17143
  };
17138
- const _hoisted_4$l = { class: "txt14" };
17139
- const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
17144
+ const _hoisted_4$m = { class: "txt14" };
17145
+ const _hoisted_5$h = ["onUpdate:modelValue", "placeholder"];
17140
17146
  const _hoisted_6$c = ["onUpdate:modelValue", "placeholder"];
17141
17147
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17142
17148
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
@@ -17201,7 +17207,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17201
17207
  key: i3
17202
17208
  }, [
17203
17209
  vue.unref(deleteCandidate) === i3 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$A, [
17204
- vue.createElementVNode("p", _hoisted_4$l, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17210
+ vue.createElementVNode("p", _hoisted_4$m, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17205
17211
  vue.createVNode(vue.unref(Btn), {
17206
17212
  thin: "",
17207
17213
  color: "red",
@@ -17237,7 +17243,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17237
17243
  "onUpdate:modelValue": ($event) => contact.label = $event,
17238
17244
  type: "text",
17239
17245
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17240
- }, null, 8, _hoisted_5$g), [
17246
+ }, null, 8, _hoisted_5$h), [
17241
17247
  [vue.vModelText, contact.label]
17242
17248
  ]),
17243
17249
  ((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
@@ -17291,8 +17297,8 @@ const _hoisted_3$z = {
17291
17297
  key: 0,
17292
17298
  class: "bglform-contact-confirm"
17293
17299
  };
17294
- const _hoisted_4$k = { class: "txt14" };
17295
- const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17300
+ const _hoisted_4$l = { class: "txt14" };
17301
+ const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
17296
17302
  const _hoisted_6$b = { class: "bglform-contact-address" };
17297
17303
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
17298
17304
  const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
@@ -17368,7 +17374,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17368
17374
  key: i3
17369
17375
  }, [
17370
17376
  vue.unref(deleteCandidate) === i3 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$z, [
17371
- vue.createElementVNode("p", _hoisted_4$k, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17377
+ vue.createElementVNode("p", _hoisted_4$l, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17372
17378
  vue.createVNode(vue.unref(Btn), {
17373
17379
  thin: "",
17374
17380
  color: "red",
@@ -17404,7 +17410,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17404
17410
  "onUpdate:modelValue": ($event) => address.label = $event,
17405
17411
  type: "text",
17406
17412
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17407
- }, null, 8, _hoisted_5$f), [
17413
+ }, null, 8, _hoisted_5$g), [
17408
17414
  [vue.vModelText, address.label]
17409
17415
  ]),
17410
17416
  vue.createElementVNode("div", _hoisted_6$b, [
@@ -17475,8 +17481,8 @@ const _hoisted_3$y = {
17475
17481
  key: 0,
17476
17482
  class: "bglform-contact-confirm"
17477
17483
  };
17478
- const _hoisted_4$j = { class: "txt14" };
17479
- const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17484
+ const _hoisted_4$k = { class: "txt14" };
17485
+ const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17480
17486
  const _hoisted_6$a = { class: "bglform-contact-address" };
17481
17487
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
17482
17488
  const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
@@ -17551,7 +17557,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17551
17557
  key: i3
17552
17558
  }, [
17553
17559
  vue.unref(deleteCandidate) === i3 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$y, [
17554
- vue.createElementVNode("p", _hoisted_4$j, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17560
+ vue.createElementVNode("p", _hoisted_4$k, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17555
17561
  vue.createVNode(vue.unref(Btn), {
17556
17562
  thin: "",
17557
17563
  color: "red",
@@ -17587,7 +17593,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17587
17593
  "onUpdate:modelValue": ($event) => bank_account.label = $event,
17588
17594
  type: "text",
17589
17595
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17590
- }, null, 8, _hoisted_5$e), [
17596
+ }, null, 8, _hoisted_5$f), [
17591
17597
  [vue.vModelText, bank_account.label]
17592
17598
  ]),
17593
17599
  vue.createElementVNode("div", _hoisted_6$a, [
@@ -17737,7 +17743,7 @@ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d0543d4b"), n = n(), vue.
17737
17743
  const _hoisted_1$G = ["title"];
17738
17744
  const _hoisted_2$B = { class: "switch" };
17739
17745
  const _hoisted_3$x = ["id"];
17740
- const _hoisted_4$i = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17746
+ const _hoisted_4$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17741
17747
  const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17742
17748
  __name: "Toggle",
17743
17749
  props: {
@@ -17774,7 +17780,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17774
17780
  }, null, 40, _hoisted_3$x), [
17775
17781
  [vue.vModelCheckbox, vue.unref(inputVal)]
17776
17782
  ]),
17777
- _hoisted_4$i
17783
+ _hoisted_4$j
17778
17784
  ])
17779
17785
  ], 10, _hoisted_1$G);
17780
17786
  };
@@ -17787,8 +17793,8 @@ const _hoisted_2$A = {
17787
17793
  class: "img-label"
17788
17794
  };
17789
17795
  const _hoisted_3$w = { class: "uploading-wrap" };
17790
- const _hoisted_4$h = { class: "load-file-bar" };
17791
- const _hoisted_5$d = ["src", "alt"];
17796
+ const _hoisted_4$i = { class: "load-file-bar" };
17797
+ const _hoisted_5$e = ["src", "alt"];
17792
17798
  const _hoisted_6$9 = { class: "flex" };
17793
17799
  const _hoisted_7$4 = {
17794
17800
  key: 0,
@@ -17965,14 +17971,14 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17965
17971
  class: vue.normalizeClass({ uploading: item.uploading }),
17966
17972
  key: index2
17967
17973
  }, [
17968
- vue.createElementVNode("div", _hoisted_4$h, [
17974
+ vue.createElementVNode("div", _hoisted_4$i, [
17969
17975
  isImg(item) ? (vue.openBlock(), vue.createElementBlock("img", {
17970
17976
  key: 0,
17971
17977
  width: "40",
17972
17978
  src: item.dataUrl,
17973
17979
  alt: item.name,
17974
17980
  style: { "margin-inline-end": "10px" }
17975
- }, null, 8, _hoisted_5$d)) : vue.createCommentVNode("", true),
17981
+ }, null, 8, _hoisted_5$e)) : vue.createCommentVNode("", true),
17976
17982
  vue.createElementVNode("p", null, vue.toDisplayString(item.name), 1),
17977
17983
  vue.createElementVNode("div", _hoisted_6$9, [
17978
17984
  vue.createElementVNode("div", {
@@ -18016,8 +18022,8 @@ const _hoisted_1$E = {
18016
18022
  };
18017
18023
  const _hoisted_2$z = { class: "person-card-icon-wrap" };
18018
18024
  const _hoisted_3$v = { class: "person-card-icon" };
18019
- const _hoisted_4$g = { class: "person-card-name txt20" };
18020
- const _hoisted_5$c = { class: "person-card-details-wrap" };
18025
+ const _hoisted_4$h = { class: "person-card-name txt20" };
18026
+ const _hoisted_5$d = { class: "person-card-details-wrap" };
18021
18027
  const _hoisted_6$8 = {
18022
18028
  key: 0,
18023
18029
  class: "person-card-details"
@@ -18083,9 +18089,9 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18083
18089
  ])) : vue.createCommentVNode("", true),
18084
18090
  vue.createElementVNode("div", _hoisted_2$z, [
18085
18091
  vue.createElementVNode("p", _hoisted_3$v, vue.toDisplayString(vue.unref(initials)(person.value.first_name, person.value.last_name)), 1),
18086
- vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
18092
+ vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
18087
18093
  ]),
18088
- vue.createElementVNode("div", _hoisted_5$c, [
18094
+ vue.createElementVNode("div", _hoisted_5$d, [
18089
18095
  ((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
18090
18096
  vue.createVNode(vue.unref(_sfc_main$W), { icon: "phone" }),
18091
18097
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
@@ -18271,8 +18277,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
18271
18277
  const _hoisted_1$C = { class: "bagel-input" };
18272
18278
  const _hoisted_2$y = ["for"];
18273
18279
  const _hoisted_3$u = ["checked"];
18274
- const _hoisted_4$f = ["name", "type", "value"];
18275
- const _hoisted_5$b = ["name", "type", "value"];
18280
+ const _hoisted_4$g = ["name", "type", "value"];
18281
+ const _hoisted_5$c = ["name", "type", "value"];
18276
18282
  const _hoisted_6$7 = ["name", "type", "value"];
18277
18283
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18278
18284
  __name: "PlainInputField",
@@ -18329,7 +18335,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18329
18335
  value: _ctx.modelValue,
18330
18336
  class: "ctl",
18331
18337
  onInput: handleInput
18332
- }, null, 40, _hoisted_4$f)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18338
+ }, null, 40, _hoisted_4$g)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18333
18339
  key: 2,
18334
18340
  ref_key: "el",
18335
18341
  ref: el2,
@@ -18338,7 +18344,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18338
18344
  value: _ctx.modelValue,
18339
18345
  class: "ctl",
18340
18346
  onInput: handleInput
18341
- }, null, 40, _hoisted_5$b)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18347
+ }, null, 40, _hoisted_5$c)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18342
18348
  key: 3,
18343
18349
  ref_key: "el",
18344
18350
  ref: el2,
@@ -18456,6 +18462,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18456
18462
  required: _ctx.field.required
18457
18463
  }, vue.unref(bindAttrs)(((_a2 = _ctx.field) == null ? void 0 : _a2.attrs) || {}, props2.modelValue[_ctx.field.id || ""], props2.modelValue), {
18458
18464
  label: _ctx.field.label,
18465
+ id: _ctx.field.id,
18459
18466
  placeholder: _ctx.field.placeholder || _ctx.field.label,
18460
18467
  modelValue: props2.modelValue[_ctx.field.id || ""],
18461
18468
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emits("update:modelValue", $event))
@@ -18471,7 +18478,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18471
18478
  }), 128))
18472
18479
  ]),
18473
18480
  _: 1
18474
- }, 16, ["required", "label", "placeholder", "modelValue"]);
18481
+ }, 16, ["required", "label", "id", "placeholder", "modelValue"]);
18475
18482
  };
18476
18483
  }
18477
18484
  });
@@ -18479,8 +18486,8 @@ const _withScopeId = (n) => (vue.pushScopeId("data-v-0dacba34"), n = n(), vue.po
18479
18486
  const _hoisted_1$A = ["title"];
18480
18487
  const _hoisted_2$x = ["for"];
18481
18488
  const _hoisted_3$t = { class: "switch" };
18482
- const _hoisted_4$e = ["id"];
18483
- const _hoisted_5$a = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
18489
+ const _hoisted_4$f = ["id"];
18490
+ const _hoisted_5$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
18484
18491
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18485
18492
  __name: "CheckInput",
18486
18493
  props: {
@@ -18521,10 +18528,10 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18521
18528
  type: "checkbox",
18522
18529
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18523
18530
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18524
- }, null, 10, _hoisted_4$e), [
18531
+ }, null, 10, _hoisted_4$f), [
18525
18532
  [vue.vModelCheckbox, inputVal.value]
18526
18533
  ]),
18527
- _hoisted_5$a
18534
+ _hoisted_5$b
18528
18535
  ])
18529
18536
  ], 10, _hoisted_1$A);
18530
18537
  };
@@ -18534,8 +18541,8 @@ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data
18534
18541
  const _hoisted_1$z = ["title"];
18535
18542
  const _hoisted_2$w = { key: 0 };
18536
18543
  const _hoisted_3$s = { class: "flex gap-3" };
18537
- const _hoisted_4$d = ["value", "placeholder"];
18538
- const _hoisted_5$9 = { class: "currency" };
18544
+ const _hoisted_4$e = ["value", "placeholder"];
18545
+ const _hoisted_5$a = { class: "currency" };
18539
18546
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18540
18547
  __name: "CurrencyInput",
18541
18548
  props: {
@@ -18645,8 +18652,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18645
18652
  onInput: handleInput,
18646
18653
  placeholder: _ctx.placeholder,
18647
18654
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18648
- }, null, 42, _hoisted_4$d),
18649
- vue.createElementVNode("p", _hoisted_5$9, vue.toDisplayString(((_a2 = currencies.find((c2) => c2.symbol === _ctx.field.currency)) == null ? void 0 : _a2.character) || _ctx.field.currency), 1)
18655
+ }, null, 42, _hoisted_4$e),
18656
+ vue.createElementVNode("p", _hoisted_5$a, vue.toDisplayString(((_a2 = currencies.find((c2) => c2.symbol === _ctx.field.currency)) == null ? void 0 : _a2.character) || _ctx.field.currency), 1)
18650
18657
  ])
18651
18658
  ], 10, _hoisted_1$z);
18652
18659
  };
@@ -18911,8 +18918,8 @@ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-
18911
18918
  const _hoisted_1$s = ["title"];
18912
18919
  const _hoisted_2$p = { key: 0 };
18913
18920
  const _hoisted_3$l = ["disabled"];
18914
- const _hoisted_4$c = ["onClick"];
18915
- const _hoisted_5$8 = {
18921
+ const _hoisted_4$d = ["onClick"];
18922
+ const _hoisted_5$9 = {
18916
18923
  key: 0,
18917
18924
  class: "option-label"
18918
18925
  };
@@ -19077,12 +19084,12 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
19077
19084
  key: vue.unref(formatString)(option2.value, "pascal"),
19078
19085
  onClick: vue.withModifiers(($event) => handleSelect(option2), ["stop"])
19079
19086
  }, [
19080
- option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
19087
+ option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$9, [
19081
19088
  vue.createTextVNode(vue.toDisplayString(option2.label), 1),
19082
19089
  vue.createElementVNode("span", null, "ID: " + vue.toDisplayString(option2.value), 1)
19083
19090
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$6, " ID: " + vue.toDisplayString(option2.value), 1)),
19084
19091
  vue.createElementVNode("div", _hoisted_7$2, vue.toDisplayString(option2.description), 1)
19085
- ], 8, _hoisted_4$c);
19092
+ ], 8, _hoisted_4$d);
19086
19093
  }), 128))
19087
19094
  ], 2)
19088
19095
  ]))
@@ -19095,7 +19102,7 @@ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-
19095
19102
  const _hoisted_1$r = ["title"];
19096
19103
  const _hoisted_2$o = { key: 0 };
19097
19104
  const _hoisted_3$k = { class: "password-input-wrap" };
19098
- const _hoisted_4$b = ["value", "type", "placeholder"];
19105
+ const _hoisted_4$c = ["value", "type", "placeholder"];
19099
19106
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19100
19107
  __name: "PasswordInput",
19101
19108
  props: {
@@ -19140,7 +19147,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19140
19147
  onInput: handleInput,
19141
19148
  placeholder: _ctx.placeholder,
19142
19149
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
19143
- }, null, 42, _hoisted_4$b),
19150
+ }, null, 42, _hoisted_4$c),
19144
19151
  vue.createElementVNode("div", {
19145
19152
  class: "icon-font password-icon",
19146
19153
  onMousedown: toggleInputType
@@ -21950,8 +21957,8 @@ const VueDraggableNext = vue.defineComponent({
21950
21957
  const _hoisted_1$m = ["title"];
21951
21958
  const _hoisted_2$j = { class: "bagel-input" };
21952
21959
  const _hoisted_3$h = { class: "table-side-scroll" };
21953
- const _hoisted_4$a = { class: "table-header" };
21954
- const _hoisted_5$7 = { class: "table-reorder" };
21960
+ const _hoisted_4$b = { class: "table-header" };
21961
+ const _hoisted_5$8 = { class: "table-reorder" };
21955
21962
  const _hoisted_6$5 = { class: "table-action" };
21956
21963
  const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21957
21964
  __name: "TableField",
@@ -22022,7 +22029,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22022
22029
  vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
22023
22030
  ]),
22024
22031
  vue.createElementVNode("div", _hoisted_3$h, [
22025
- vue.createElementVNode("div", _hoisted_4$a, [
22032
+ vue.createElementVNode("div", _hoisted_4$b, [
22026
22033
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
22027
22034
  return vue.openBlock(), vue.createElementBlock("div", {
22028
22035
  class: vue.normalizeClass(["header-col", vue.unref(formatString)(field.fieldtype, "pascal")]),
@@ -22049,7 +22056,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22049
22056
  class: "flex table-row",
22050
22057
  key: row.id
22051
22058
  }, [
22052
- vue.createElementVNode("div", _hoisted_5$7, [
22059
+ vue.createElementVNode("div", _hoisted_5$8, [
22053
22060
  vue.createVNode(_sfc_main$t, { icon: "more_vert" })
22054
22061
  ]),
22055
22062
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
@@ -22146,7 +22153,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
22146
22153
  const _hoisted_1$k = ["title"];
22147
22154
  const _hoisted_2$h = ["for"];
22148
22155
  const _hoisted_3$f = ["autocomplete", "id", "type", "placeholder", "disabled", "required", "pattern"];
22149
- const _hoisted_4$9 = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
22156
+ const _hoisted_4$a = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
22150
22157
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22151
22158
  __name: "TextInput",
22152
22159
  props: {
@@ -22253,7 +22260,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22253
22260
  disabled: !vue.unref(editMode),
22254
22261
  required: _ctx.required,
22255
22262
  pattern: _ctx.pattern
22256
- }, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$9)), [
22263
+ }, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$a)), [
22257
22264
  [vue.vModelText, vue.unref(inputVal)]
22258
22265
  ])
22259
22266
  ], 8, _hoisted_2$h),
@@ -22285,7 +22292,7 @@ const _hoisted_3$e = {
22285
22292
  key: 1,
22286
22293
  class: "character-limit"
22287
22294
  };
22288
- const _hoisted_4$8 = ["value"];
22295
+ const _hoisted_4$9 = ["value"];
22289
22296
  const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22290
22297
  __name: "TextArea",
22291
22298
  props: {
@@ -22319,7 +22326,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22319
22326
  value: _ctx.modelValue,
22320
22327
  onInput: handleInput,
22321
22328
  class: { "no-edit": !_ctx.editMode }
22322
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$8)
22329
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$9)
22323
22330
  ], 10, _hoisted_1$j);
22324
22331
  };
22325
22332
  }
@@ -22376,7 +22383,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22376
22383
  const _hoisted_1$h = { key: 0 };
22377
22384
  const _hoisted_2$e = ["disabled"];
22378
22385
  const _hoisted_3$c = { class: "custom-select-drop" };
22379
- const _hoisted_4$7 = ["onClick"];
22386
+ const _hoisted_4$8 = ["onClick"];
22380
22387
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22381
22388
  __name: "DynamicLinkField",
22382
22389
  props: {
@@ -22477,7 +22484,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22477
22484
  return vue.openBlock(), vue.createElementBlock("div", {
22478
22485
  key: vue.unref(formatString)(item2.value, "pascal"),
22479
22486
  onClick: vue.withModifiers(($event) => handleSelect(item2), ["stop"])
22480
- }, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$7);
22487
+ }, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$8);
22481
22488
  }), 128))
22482
22489
  ])
22483
22490
  ], 2)
@@ -31925,8 +31932,8 @@ const _hoisted_3$a = {
31925
31932
  key: 0,
31926
31933
  class: "time-wrap"
31927
31934
  };
31928
- const _hoisted_4$6 = ["id", "name", "value"];
31929
- const _hoisted_5$6 = ["for"];
31935
+ const _hoisted_4$7 = ["id", "name", "value"];
31936
+ const _hoisted_5$7 = ["for"];
31930
31937
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31931
31938
  __name: "DatePicker",
31932
31939
  props: {
@@ -31968,12 +31975,12 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31968
31975
  name: _ctx.name,
31969
31976
  value: hr2,
31970
31977
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
31971
- }, null, 8, _hoisted_4$6), [
31978
+ }, null, 8, _hoisted_4$7), [
31972
31979
  [vue.vModelRadio, selectedHour.value]
31973
31980
  ]),
31974
31981
  vue.createElementVNode("label", {
31975
31982
  for: `${hr2}_${_ctx.name}`
31976
- }, vue.toDisplayString(hr2), 9, _hoisted_5$6)
31983
+ }, vue.toDisplayString(hr2), 9, _hoisted_5$7)
31977
31984
  ], 64);
31978
31985
  }), 128))
31979
31986
  ])) : vue.createCommentVNode("", true)
@@ -31981,23 +31988,26 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31981
31988
  };
31982
31989
  }
31983
31990
  });
31984
- const _hoisted_1$e = { class: "flex gap-2 flex-wrap" };
31985
- const _hoisted_2$b = ["id", "name", "value", "checked"];
31986
- const _hoisted_3$9 = ["for"];
31991
+ const _hoisted_1$e = { class: "bagel-input" };
31992
+ const _hoisted_2$b = { class: "pb-025" };
31993
+ const _hoisted_3$9 = { class: "flex gap-2 flex-wrap" };
31994
+ const _hoisted_4$6 = ["id", "name", "value", "checked"];
31995
+ const _hoisted_5$6 = ["for"];
31987
31996
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
31988
31997
  __name: "RadioPillsInput",
31989
31998
  props: {
31990
31999
  options: {},
31991
32000
  stringOptions: {},
31992
32001
  modelValue: {},
31993
- name: {}
32002
+ id: {},
32003
+ label: {}
31994
32004
  },
31995
32005
  emits: ["update:modelValue"],
31996
32006
  setup(__props, { emit: __emit }) {
31997
32007
  const emits = __emit;
31998
32008
  const props2 = __props;
31999
32009
  const cumputedOptions = vue.computed(() => props2.options || props2.stringOptions.map((v) => ({
32000
- id: v,
32010
+ optioId: v,
32001
32011
  label: v,
32002
32012
  value: v
32003
32013
  })));
@@ -32023,27 +32033,30 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
32023
32033
  });
32024
32034
  return (_ctx, _cache) => {
32025
32035
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
32026
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(cumputedOptions.value, ({ id, label: label2, value }, index2) => {
32027
- return vue.openBlock(), vue.createElementBlock("div", {
32028
- class: "radio-pill",
32029
- key: index2
32030
- }, [
32031
- vue.createElementVNode("input", {
32032
- type: "radio",
32033
- id,
32034
- name: _ctx.name,
32035
- value,
32036
- checked: vue.unref(selectedValue) === value,
32037
- onChange: handleSelect
32038
- }, null, 40, _hoisted_2$b),
32039
- vue.createElementVNode("label", { for: id }, vue.toDisplayString(label2), 9, _hoisted_3$9)
32040
- ]);
32041
- }), 128))
32036
+ vue.createElementVNode("label", _hoisted_2$b, vue.toDisplayString(_ctx.label), 1),
32037
+ vue.createElementVNode("div", _hoisted_3$9, [
32038
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(cumputedOptions.value, ({ optioId, label: label2, value }, index2) => {
32039
+ return vue.openBlock(), vue.createElementBlock("div", {
32040
+ class: "radio-pill",
32041
+ key: index2
32042
+ }, [
32043
+ vue.createElementVNode("input", {
32044
+ type: "radio",
32045
+ id: optioId,
32046
+ name: _ctx.id,
32047
+ value,
32048
+ checked: vue.unref(selectedValue) === value,
32049
+ onChange: handleSelect
32050
+ }, null, 40, _hoisted_4$6),
32051
+ vue.createElementVNode("label", { for: optioId }, vue.toDisplayString(label2), 9, _hoisted_5$6)
32052
+ ]);
32053
+ }), 128))
32054
+ ])
32042
32055
  ]);
32043
32056
  };
32044
32057
  }
32045
32058
  });
32046
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-97e3ba8c"]]);
32059
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-15351d79"]]);
32047
32060
  const _hoisted_1$d = { class: "bagel-input" };
32048
32061
  const _hoisted_2$a = { key: 0 };
32049
32062
  const _hoisted_3$8 = { class: "imagePreviewWrap" };