@bagelink/vue 0.0.204 → 0.0.211

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 (36) hide show
  1. package/dist/components/Btn.vue.d.ts +3 -0
  2. package/dist/components/Btn.vue.d.ts.map +1 -1
  3. package/dist/components/ModalBglForm.vue.d.ts +45 -0
  4. package/dist/components/ModalBglForm.vue.d.ts.map +1 -0
  5. package/dist/components/TabbedLayout.vue.d.ts +5 -3
  6. package/dist/components/TabbedLayout.vue.d.ts.map +1 -1
  7. package/dist/components/form/BglField.vue.d.ts.map +1 -1
  8. package/dist/components/form/index.d.ts +1 -0
  9. package/dist/components/form/index.d.ts.map +1 -1
  10. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +5 -3
  11. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
  12. package/dist/components/index.d.ts +1 -0
  13. package/dist/components/index.d.ts.map +1 -1
  14. package/dist/index.cjs +303 -183
  15. package/dist/index.mjs +303 -183
  16. package/dist/plugins/modal.d.ts +3 -1
  17. package/dist/plugins/modal.d.ts.map +1 -1
  18. package/dist/style.css +68 -47
  19. package/dist/types/BagelForm.d.ts +2 -0
  20. package/dist/types/BagelForm.d.ts.map +1 -1
  21. package/dist/types/BtnOptions.d.ts +1 -0
  22. package/dist/types/BtnOptions.d.ts.map +1 -1
  23. package/dist/types/materialIcons.d.ts +1 -1
  24. package/dist/types/materialIcons.d.ts.map +1 -1
  25. package/package.json +1 -1
  26. package/src/components/Btn.vue +1 -0
  27. package/src/components/ModalBglForm.vue +121 -0
  28. package/src/components/TabbedLayout.vue +58 -45
  29. package/src/components/form/BglField.vue +1 -0
  30. package/src/components/form/index.ts +1 -0
  31. package/src/components/form/inputs/RadioPillsInput.vue +20 -14
  32. package/src/components/index.ts +1 -0
  33. package/src/plugins/modal.ts +16 -8
  34. package/src/types/BagelForm.ts +2 -0
  35. package/src/types/BtnOptions.ts +1 -1
  36. package/src/types/materialIcons.ts +1 -0
package/dist/index.cjs CHANGED
@@ -2279,16 +2279,17 @@ const ModalPlugin = {
2279
2279
  const hideModal = (index2) => {
2280
2280
  modalStack.value.splice(index2, 1);
2281
2281
  };
2282
- const showModal = (isForm, options, slots = {}) => {
2282
+ const showModal = (modalType, options, slots = {}) => {
2283
2283
  modalStack.value.push({
2284
2284
  modalOptions: options,
2285
- isModalForm: isForm,
2285
+ modalType,
2286
2286
  componentSlots: slots
2287
2287
  });
2288
2288
  };
2289
2289
  app.provide(ModalSymbol, {
2290
- modalForm: (options, slots) => showModal(true, options, slots),
2291
- showModal: (options, slots) => showModal(false, options, slots),
2290
+ modalForm: (options, slots) => showModal(1, options, slots),
2291
+ showModal: (options, slots) => showModal(0, options, slots),
2292
+ showModalForm: (options, slots) => showModal(2, options, slots),
2292
2293
  hideModal: (index2 = modalStack.value.length - 1) => hideModal(index2)
2293
2294
  // modalOptions,
2294
2295
  });
@@ -2300,7 +2301,13 @@ const ModalPlugin = {
2300
2301
  },
2301
2302
  render() {
2302
2303
  return modalStack.value.map((modal, index2) => {
2303
- const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$T;
2304
+ let renderComponent;
2305
+ if (modal.modalType === 1)
2306
+ renderComponent = ModalForm;
2307
+ else if (modal.modalType === 2)
2308
+ renderComponent = ModalBglForm;
2309
+ else
2310
+ renderComponent = _sfc_main$U;
2304
2311
  return vue.h(
2305
2312
  renderComponent,
2306
2313
  {
@@ -2364,8 +2371,8 @@ function bindAttrs(attrs, fieldVal, row) {
2364
2371
  const resolvedAttrs = Object.fromEntries(arr);
2365
2372
  return resolvedAttrs;
2366
2373
  }
2367
- const _hoisted_1$11 = { ref: "el" };
2368
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
2374
+ const _hoisted_1$12 = { ref: "el" };
2375
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
2369
2376
  __name: "LangText",
2370
2377
  props: {
2371
2378
  input: {}
@@ -2373,7 +2380,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
2373
2380
  setup(__props) {
2374
2381
  return (_ctx, _cache) => {
2375
2382
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
2376
- vue.createElementVNode("span", _hoisted_1$11, null, 512),
2383
+ vue.createElementVNode("span", _hoisted_1$12, null, 512),
2377
2384
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
2378
2385
  ], 64);
2379
2386
  };
@@ -14486,8 +14493,8 @@ const marks = {
14486
14493
  }
14487
14494
  };
14488
14495
  const schema = new Schema({ nodes, marks });
14489
- const _hoisted_1$10 = ["id"];
14490
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
14496
+ const _hoisted_1$11 = ["id"];
14497
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
14491
14498
  __name: "RTXEditor",
14492
14499
  props: {
14493
14500
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -14564,11 +14571,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
14564
14571
  onClick: focusEditor,
14565
14572
  id: `canvas-${_ctx.elementId}`,
14566
14573
  onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
14567
- }, null, 40, _hoisted_1$10);
14574
+ }, null, 40, _hoisted_1$11);
14568
14575
  };
14569
14576
  }
14570
14577
  });
14571
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
14578
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
14572
14579
  __name: "MaterialIcon",
14573
14580
  props: {
14574
14581
  icon: {},
@@ -14583,17 +14590,17 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
14583
14590
  };
14584
14591
  }
14585
14592
  });
14586
- const _hoisted_1$$ = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14587
- const _hoisted_2$S = [
14588
- _hoisted_1$$
14593
+ const _hoisted_1$10 = /* @__PURE__ */ vue.createElementVNode("div", { class: "icon-font top-arrow" }, "chevron_right", -1);
14594
+ const _hoisted_2$T = [
14595
+ _hoisted_1$10
14589
14596
  ];
14590
14597
  const _hoisted_3$K = { class: "full-nav" };
14591
14598
  const _hoisted_4$t = { class: "nav-scroll" };
14592
- const _hoisted_5$n = { class: "nav-links-wrapper" };
14599
+ const _hoisted_5$o = { class: "nav-links-wrapper" };
14593
14600
  const _hoisted_6$i = { class: "icon-font" };
14594
14601
  const _hoisted_7$d = { class: "tooltip" };
14595
14602
  const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
14596
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14603
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
14597
14604
  __name: "NavBar",
14598
14605
  props: {
14599
14606
  links: {},
@@ -14617,10 +14624,10 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14617
14624
  role: "button",
14618
14625
  "aria-label": "Toggle Navigation",
14619
14626
  tabindex: "0"
14620
- }, _hoisted_2$S, 32),
14627
+ }, _hoisted_2$T, 32),
14621
14628
  vue.createElementVNode("div", _hoisted_3$K, [
14622
14629
  vue.createElementVNode("div", _hoisted_4$t, [
14623
- vue.createElementVNode("div", _hoisted_5$n, [
14630
+ vue.createElementVNode("div", _hoisted_5$o, [
14624
14631
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = _ctx.links) == null ? void 0 : _a2.call(_ctx), (link) => {
14625
14632
  return vue.openBlock(), vue.createBlock(_component_RouterLink, {
14626
14633
  class: "nav-button",
@@ -14644,15 +14651,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14644
14651
  };
14645
14652
  }
14646
14653
  });
14647
- const _hoisted_1$_ = {
14654
+ const _hoisted_1$$ = {
14648
14655
  key: 0,
14649
14656
  class: "loading"
14650
14657
  };
14651
- const _hoisted_2$R = {
14658
+ const _hoisted_2$S = {
14652
14659
  key: 1,
14653
14660
  class: "btn-flex"
14654
14661
  };
14655
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14662
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
14656
14663
  __name: "Btn",
14657
14664
  props: {
14658
14665
  disabled: { type: Boolean, default: false },
@@ -14661,7 +14668,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14661
14668
  color: {},
14662
14669
  theme: {},
14663
14670
  flat: { type: Boolean },
14664
- border: { type: Boolean },
14671
+ border: { type: Boolean, default: false },
14665
14672
  thin: { type: Boolean },
14666
14673
  type: { default: "button" },
14667
14674
  loading: { type: Boolean, default: false },
@@ -14673,8 +14680,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14673
14680
  },
14674
14681
  setup(__props) {
14675
14682
  vue.useCssVars((_ctx) => ({
14676
- "0bd3bef7": computedBackgroundColor.value,
14677
- "1b1b6b12": cumputedTextColor.value
14683
+ "0b5510c0": computedBackgroundColor.value,
14684
+ "18db167b": cumputedTextColor.value
14678
14685
  }));
14679
14686
  const slots = vue.useSlots();
14680
14687
  const props2 = __props;
@@ -14732,8 +14739,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14732
14739
  })
14733
14740
  }, {
14734
14741
  default: vue.withCtx(() => [
14735
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$_)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$R, [
14736
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
14742
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$S, [
14743
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
14737
14744
  key: 0,
14738
14745
  icon: _ctx.icon
14739
14746
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -14741,7 +14748,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14741
14748
  !vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
14742
14749
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
14743
14750
  ], 64)) : vue.createCommentVNode("", true),
14744
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
14751
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
14745
14752
  key: 2,
14746
14753
  icon: props2["icon.end"]
14747
14754
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -14759,11 +14766,11 @@ const _export_sfc = (sfc, props2) => {
14759
14766
  }
14760
14767
  return target;
14761
14768
  };
14762
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-845b751e"]]);
14763
- const _hoisted_1$Z = { class: "tool-bar" };
14764
- const _hoisted_2$Q = { class: "modal-title" };
14769
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-0ca0d3de"]]);
14770
+ const _hoisted_1$_ = { class: "tool-bar" };
14771
+ const _hoisted_2$R = { class: "modal-title" };
14765
14772
  const _hoisted_3$J = { class: "modal-footer mt-3" };
14766
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14773
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
14767
14774
  __name: "Modal",
14768
14775
  props: {
14769
14776
  side: { type: Boolean },
@@ -14809,7 +14816,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14809
14816
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
14810
14817
  }, ["stop"]))
14811
14818
  }, [
14812
- vue.createElementVNode("header", _hoisted_1$Z, [
14819
+ vue.createElementVNode("header", _hoisted_1$_, [
14813
14820
  vue.renderSlot(_ctx.$slots, "toolbar"),
14814
14821
  vue.createVNode(vue.unref(Btn), {
14815
14822
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -14817,7 +14824,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14817
14824
  icon: "close",
14818
14825
  onClick: closeModal
14819
14826
  }, null, 8, ["style"]),
14820
- vue.createElementVNode("h3", _hoisted_2$Q, vue.toDisplayString(_ctx.title), 1)
14827
+ vue.createElementVNode("h3", _hoisted_2$R, vue.toDisplayString(_ctx.title), 1)
14821
14828
  ]),
14822
14829
  vue.renderSlot(_ctx.$slots, "default"),
14823
14830
  vue.createElementVNode("footer", _hoisted_3$J, [
@@ -14835,6 +14842,104 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14835
14842
  };
14836
14843
  }
14837
14844
  });
14845
+ const _hoisted_1$Z = { class: "tool-bar" };
14846
+ const _hoisted_2$Q = { class: "modal-title" };
14847
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14848
+ __name: "ModalBglForm",
14849
+ props: {
14850
+ side: { type: Boolean },
14851
+ title: {},
14852
+ dismissable: { type: Boolean },
14853
+ actions: {},
14854
+ schema: { type: Function },
14855
+ modelValue: {},
14856
+ onSubmit: { type: Function },
14857
+ onDelete: { type: Function }
14858
+ },
14859
+ emits: ["update:isModalVisible", "update:modelValue"],
14860
+ setup(__props, { emit: __emit }) {
14861
+ const props2 = __props;
14862
+ const computedFormSchema = vue.computed(() => {
14863
+ if (typeof props2.schema === "function") {
14864
+ return props2.schema();
14865
+ }
14866
+ return props2.schema;
14867
+ });
14868
+ let isActive = vue.ref(false);
14869
+ const emit2 = __emit;
14870
+ const handleEmit = (value) => {
14871
+ emit2("update:modelValue", value);
14872
+ };
14873
+ const closeModal = () => {
14874
+ isActive.value = false;
14875
+ setTimeout(() => {
14876
+ emit2("update:isModalVisible", false);
14877
+ }, 200);
14878
+ };
14879
+ const runSubmit = async (formData) => {
14880
+ var _a2;
14881
+ try {
14882
+ await ((_a2 = props2.onSubmit) == null ? void 0 : _a2.call(props2, formData));
14883
+ closeModal();
14884
+ } catch (err) {
14885
+ console.error(err);
14886
+ }
14887
+ };
14888
+ const runDelete = () => {
14889
+ var _a2, _b;
14890
+ (_b = props2.onDelete) == null ? void 0 : _b.call(props2, (_a2 = props2.modelValue) == null ? void 0 : _a2.id);
14891
+ closeModal();
14892
+ };
14893
+ const escapeKeyClose = (e3) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e3, () => closeModal());
14894
+ vue.onMounted(() => {
14895
+ setTimeout(() => {
14896
+ isActive.value = true;
14897
+ }, 1);
14898
+ document.addEventListener(
14899
+ "keydown",
14900
+ escapeKeyClose
14901
+ );
14902
+ });
14903
+ vue.onUnmounted(() => {
14904
+ document.removeEventListener(
14905
+ "keydown",
14906
+ escapeKeyClose
14907
+ );
14908
+ });
14909
+ return (_ctx, _cache) => {
14910
+ return vue.openBlock(), vue.createElementBlock("div", {
14911
+ class: vue.normalizeClass(["bg-dark", { "is-side": _ctx.side, "is-active": vue.unref(isActive) }]),
14912
+ onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
14913
+ onKeydown: vue.withKeys(closeModal, ["esc"])
14914
+ }, [
14915
+ vue.createElementVNode("div", {
14916
+ class: "card modal",
14917
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
14918
+ }, ["stop"]))
14919
+ }, [
14920
+ vue.createElementVNode("header", _hoisted_1$Z, [
14921
+ vue.renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
14922
+ vue.createVNode(vue.unref(Btn), {
14923
+ style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
14924
+ flat: "",
14925
+ icon: "close",
14926
+ onClick: closeModal
14927
+ }, null, 8, ["style"]),
14928
+ vue.createElementVNode("h3", _hoisted_2$Q, vue.toDisplayString(_ctx.title), 1)
14929
+ ]),
14930
+ vue.createVNode(vue.unref(_sfc_main$r), {
14931
+ onDelete: _ctx.onDelete ? runDelete : void 0,
14932
+ modelValue: _ctx.modelValue,
14933
+ "onUpdate:modelValue": handleEmit,
14934
+ onSubmit: runSubmit,
14935
+ schema: computedFormSchema.value
14936
+ }, null, 8, ["onDelete", "modelValue", "schema"])
14937
+ ])
14938
+ ], 34);
14939
+ };
14940
+ }
14941
+ });
14942
+ const ModalBglForm = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-93c9eab1"]]);
14838
14943
  const _hoisted_1$Y = { class: "dropdown-title" };
14839
14944
  const _hoisted_2$P = { class: "dropdown-body" };
14840
14945
  const _hoisted_3$I = ["onClick"];
@@ -14866,7 +14971,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14866
14971
  }, [
14867
14972
  vue.createElementVNode("div", _hoisted_1$Y, [
14868
14973
  vue.createTextVNode(vue.toDisplayString(vue.unref(selectedOption) || __props.placeholder) + " ", 1),
14869
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "keyboard_arrow_down" })
14974
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "keyboard_arrow_down" })
14870
14975
  ]),
14871
14976
  vue.createElementVNode("div", _hoisted_2$P, [
14872
14977
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.options, (option2, index2) => {
@@ -14887,7 +14992,7 @@ const _hoisted_3$H = {
14887
14992
  class: "bagel-input search-wrap"
14888
14993
  };
14889
14994
  const _hoisted_4$s = ["placeholder"];
14890
- const _hoisted_5$m = { class: "list-content grid auto-flow-rows align-items-start" };
14995
+ const _hoisted_5$n = { class: "list-content grid auto-flow-rows align-items-start" };
14891
14996
  const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14892
14997
  __name: "ListView",
14893
14998
  props: {
@@ -14914,7 +15019,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14914
15019
  }, null, 40, _hoisted_4$s), [
14915
15020
  [vue.vModelText, searchTerm.value]
14916
15021
  ]),
14917
- vue.createVNode(vue.unref(_sfc_main$W), {
15022
+ vue.createVNode(vue.unref(_sfc_main$X), {
14918
15023
  class: "txtgray",
14919
15024
  icon: "search"
14920
15025
  })
@@ -14925,7 +15030,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14925
15030
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
14926
15031
  })) : vue.createCommentVNode("", true)
14927
15032
  ]),
14928
- vue.createElementVNode("div", _hoisted_5$m, [
15033
+ vue.createElementVNode("div", _hoisted_5$n, [
14929
15034
  vue.renderSlot(_ctx.$slots, "default")
14930
15035
  ])
14931
15036
  ]);
@@ -14958,17 +15063,17 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14958
15063
  };
14959
15064
  }
14960
15065
  });
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"];
15066
+ const _hoisted_1$V = { class: "card tabs-top" };
15067
+ const _hoisted_2$M = { class: "tabs grid auto-flow-columns fit-content" };
15068
+ const _hoisted_3$G = ["onClick"];
14965
15069
  const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14966
15070
  __name: "TabbedLayout",
14967
15071
  props: {
14968
15072
  title: {},
14969
15073
  tabs: {},
14970
15074
  modelValue: {},
14971
- router: {}
15075
+ router: {},
15076
+ sideTabs: { type: Boolean }
14972
15077
  },
14973
15078
  emits: ["update:modelValue"],
14974
15079
  setup(__props, { emit: __emit }) {
@@ -14976,32 +15081,38 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14976
15081
  let activeTab = vue.ref();
14977
15082
  const props2 = __props;
14978
15083
  function changeTab(tab) {
14979
- const { router } = props2;
15084
+ var _a2;
14980
15085
  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
15086
  emit2("update:modelValue", activeTab.value);
15087
+ if (!props2.router)
15088
+ return;
15089
+ void ((_a2 = props2.router) == null ? void 0 : _a2.push({
15090
+ path: props2.router.currentRoute.value.path,
15091
+ query: { ...props2.router.currentRoute.value.query, t: tab },
15092
+ hash: props2.router.currentRoute.value.hash
15093
+ }));
14987
15094
  }
14988
15095
  vue.onMounted(() => {
14989
- const firstTab = props2.modelValue || props2.router.currentRoute.value.query.t || props2.tabs[0];
15096
+ var _a2;
15097
+ const firstTab = props2.modelValue || ((_a2 = props2.router) == null ? void 0 : _a2.currentRoute.value.query.t) || props2.tabs[0];
14990
15098
  activeTab.value = firstTab;
14991
15099
  });
14992
15100
  return (_ctx, _cache) => {
14993
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
14994
- vue.createElementVNode("div", _hoisted_2$M, [
15101
+ return vue.openBlock(), vue.createElementBlock("div", {
15102
+ class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
15103
+ }, [
15104
+ vue.createElementVNode("div", _hoisted_1$V, [
14995
15105
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14996
- vue.createElementVNode("div", _hoisted_3$G, [
15106
+ vue.createElementVNode("div", _hoisted_2$M, [
14997
15107
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
15108
+ var _a2;
14998
15109
  return vue.openBlock(), vue.createElementBlock("div", {
14999
15110
  class: vue.normalizeClass([{
15000
- active: tab === vue.unref(activeTab) || tab === _ctx.router.currentRoute.value.path.split("/").slice(-1)[0]
15111
+ active: tab === vue.unref(activeTab) || tab === ((_a2 = _ctx.router) == null ? void 0 : _a2.currentRoute.value.path.split("/").slice(-1)[0])
15001
15112
  }, "tab"]),
15002
15113
  key: tab,
15003
15114
  onClick: ($event) => changeTab(tab)
15004
- }, vue.toDisplayString(tab), 11, _hoisted_4$r);
15115
+ }, vue.toDisplayString(tab), 11, _hoisted_3$G);
15005
15116
  }), 128))
15006
15117
  ])
15007
15118
  ]),
@@ -15013,16 +15124,16 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
15013
15124
  vue.renderSlot(_ctx.$slots, tab, { key: tab }, void 0, true)
15014
15125
  ]);
15015
15126
  }), 128))
15016
- ]);
15127
+ ], 2);
15017
15128
  };
15018
15129
  }
15019
15130
  });
15020
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-3941cced"]]);
15131
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-09fce741"]]);
15021
15132
  const _hoisted_1$U = { class: "comments-wrap" };
15022
15133
  const _hoisted_2$L = { class: "comment-list" };
15023
15134
  const _hoisted_3$F = { class: "comment-top" };
15024
- const _hoisted_4$q = { class: "comment-owner" };
15025
- const _hoisted_5$l = { class: "comment-time" };
15135
+ const _hoisted_4$r = { class: "comment-owner" };
15136
+ const _hoisted_5$m = { class: "comment-time" };
15026
15137
  const _hoisted_6$h = { class: "comment-actions" };
15027
15138
  const _hoisted_7$c = ["innerHTML"];
15028
15139
  const _hoisted_8$6 = { class: "new-comment" };
@@ -15081,22 +15192,22 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15081
15192
  key: comment.id
15082
15193
  }, [
15083
15194
  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),
15195
+ vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
15196
+ vue.createElementVNode("div", _hoisted_5$m, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
15086
15197
  vue.createElementVNode("div", _hoisted_6$h, [
15087
- vue.createVNode(vue.unref(_sfc_main$W), {
15198
+ vue.createVNode(vue.unref(_sfc_main$X), {
15088
15199
  size: 1,
15089
15200
  class: "edit",
15090
15201
  icon: "edit",
15091
15202
  onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
15092
15203
  }, null, 8, ["onClick"]),
15093
- vue.createVNode(vue.unref(_sfc_main$W), {
15204
+ vue.createVNode(vue.unref(_sfc_main$X), {
15094
15205
  size: 1.2,
15095
15206
  class: "delete",
15096
15207
  icon: "delete",
15097
15208
  onClick: ($event) => deleteComment(comment.id)
15098
15209
  }, null, 8, ["onClick"]),
15099
- vue.createVNode(vue.unref(_sfc_main$W), {
15210
+ vue.createVNode(vue.unref(_sfc_main$X), {
15100
15211
  size: 1.2,
15101
15212
  class: "save",
15102
15213
  icon: "save",
@@ -15104,7 +15215,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15104
15215
  })
15105
15216
  ])
15106
15217
  ]),
15107
- vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
15218
+ vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Y), {
15108
15219
  key: 0,
15109
15220
  modelValue: vue.unref(editComment).body_html,
15110
15221
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
@@ -15118,7 +15229,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15118
15229
  }), 128))
15119
15230
  ]),
15120
15231
  vue.createElementVNode("div", _hoisted_8$6, [
15121
- vue.createVNode(vue.unref(_sfc_main$X), {
15232
+ vue.createVNode(vue.unref(_sfc_main$Y), {
15122
15233
  class: "comment-input",
15123
15234
  modelValue: vue.unref(bodyHtml),
15124
15235
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -15334,8 +15445,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15334
15445
  const _hoisted_1$R = { class: "table-list-wrap h-100" };
15335
15446
  const _hoisted_2$I = { class: "infinite-wrapper" };
15336
15447
  const _hoisted_3$E = { class: "row first-row" };
15337
- const _hoisted_4$p = ["onClick"];
15338
- const _hoisted_5$k = { class: "flex" };
15448
+ const _hoisted_4$q = ["onClick"];
15449
+ const _hoisted_5$l = { class: "flex" };
15339
15450
  const _hoisted_6$g = ["onClick"];
15340
15451
  const _hoisted_7$b = { key: 1 };
15341
15452
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
@@ -15393,18 +15504,18 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15393
15504
  key: field.id,
15394
15505
  onClick: ($event) => sort2(field.id)
15395
15506
  }, [
15396
- vue.createElementVNode("div", _hoisted_5$k, [
15507
+ vue.createElementVNode("div", _hoisted_5$l, [
15397
15508
  vue.createTextVNode(vue.toDisplayString((field == null ? void 0 : field.label) || (field == null ? void 0 : field.id)) + " ", 1),
15398
15509
  vue.createElementVNode("div", {
15399
15510
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
15400
15511
  }, [
15401
- vue.createVNode(vue.unref(_sfc_main$W), {
15512
+ vue.createVNode(vue.unref(_sfc_main$X), {
15402
15513
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
15403
15514
  icon: "keyboard_arrow_up"
15404
15515
  }, null, 8, ["class"])
15405
15516
  ], 2)
15406
15517
  ])
15407
- ], 8, _hoisted_4$p);
15518
+ ], 8, _hoisted_4$q);
15408
15519
  }), 128))
15409
15520
  ]),
15410
15521
  vue.createElementVNode("tbody", {
@@ -15533,8 +15644,8 @@ const _hoisted_1$O = {
15533
15644
  };
15534
15645
  const _hoisted_2$H = { class: "person-card-icon-wrap" };
15535
15646
  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" };
15647
+ const _hoisted_4$p = { class: "person-card-name txt20" };
15648
+ const _hoisted_5$k = { class: "person-card-details-wrap" };
15538
15649
  const _hoisted_6$f = {
15539
15650
  key: 0,
15540
15651
  class: "person-card-details"
@@ -15598,11 +15709,11 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15598
15709
  ])) : vue.createCommentVNode("", true),
15599
15710
  vue.createElementVNode("div", _hoisted_2$H, [
15600
15711
  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)
15712
+ vue.createElementVNode("p", _hoisted_4$p, vue.toDisplayString(_ctx.person.first_name) + " " + vue.toDisplayString(_ctx.person.last_name), 1)
15602
15713
  ]),
15603
- vue.createElementVNode("div", _hoisted_5$j, [
15714
+ vue.createElementVNode("div", _hoisted_5$k, [
15604
15715
  ((_a2 = _ctx.person.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$f, [
15605
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "phone" }),
15716
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "phone" }),
15606
15717
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.phone, (phone) => {
15607
15718
  return vue.openBlock(), vue.createElementBlock("p", {
15608
15719
  key: phone.id
@@ -15610,7 +15721,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15610
15721
  }), 128))
15611
15722
  ])) : vue.createCommentVNode("", true),
15612
15723
  ((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$a, [
15613
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "email" }),
15724
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "email" }),
15614
15725
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.person.email, (email) => {
15615
15726
  return vue.openBlock(), vue.createElementBlock("p", {
15616
15727
  key: email.id
@@ -15618,7 +15729,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
15618
15729
  }), 128))
15619
15730
  ])) : vue.createCommentVNode("", true),
15620
15731
  _ctx.person.date_of_birth || _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$5, [
15621
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "badge" }),
15732
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "badge" }),
15622
15733
  _ctx.person.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$3, vue.toDisplayString(_ctx.person.date_of_birth), 1)) : vue.createCommentVNode("", true),
15623
15734
  _ctx.person.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10$3, vue.toDisplayString(_ctx.person.gender), 1)) : vue.createCommentVNode("", true)
15624
15735
  ])) : vue.createCommentVNode("", true)
@@ -15639,8 +15750,8 @@ const _hoisted_3$C = {
15639
15750
  key: 0,
15640
15751
  class: "data-row"
15641
15752
  };
15642
- const _hoisted_4$n = { class: "key" };
15643
- const _hoisted_5$i = { key: 1 };
15753
+ const _hoisted_4$o = { class: "key" };
15754
+ const _hoisted_5$j = { key: 1 };
15644
15755
  const _hoisted_6$e = { class: "key" };
15645
15756
  const _hoisted_7$9 = { class: "vlue" };
15646
15757
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
@@ -15672,7 +15783,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15672
15783
  key: field.id
15673
15784
  }, [
15674
15785
  (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),
15786
+ vue.createElementVNode("div", _hoisted_4$o, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
15676
15787
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(field.$el || "div"), vue.mergeProps({
15677
15788
  class: "vlue",
15678
15789
  modelValue: itemData.value[field.id],
@@ -15692,7 +15803,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
15692
15803
  ])) : vue.createCommentVNode("", true)
15693
15804
  ], 64);
15694
15805
  }), 128)),
15695
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$i, [
15806
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$j, [
15696
15807
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value).filter(
15697
15808
  ([key]) => !keysToIgnore.includes(key)
15698
15809
  ), ([key, value]) => {
@@ -15718,11 +15829,11 @@ const _hoisted_2$F = {
15718
15829
  class: "group-wrap"
15719
15830
  };
15720
15831
  const _hoisted_3$B = { class: "group-title" };
15721
- const _hoisted_4$m = {
15832
+ const _hoisted_4$n = {
15722
15833
  key: 1,
15723
15834
  class: "bar-wrap"
15724
15835
  };
15725
- const _hoisted_5$h = { class: "bar-txt" };
15836
+ const _hoisted_5$i = { class: "bar-txt" };
15726
15837
  const _hoisted_6$d = { class: "factor" };
15727
15838
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
15728
15839
  const _hoisted_8$4 = { class: "bar-lines" };
@@ -15804,7 +15915,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15804
15915
  }, null, 4)) : vue.createCommentVNode("", true)
15805
15916
  ]);
15806
15917
  }), 128))
15807
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$m, [
15918
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$n, [
15808
15919
  vue.createElementVNode("div", {
15809
15920
  class: "bar",
15810
15921
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15814,7 +15925,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
15814
15925
  class: "bar compare",
15815
15926
  style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
15816
15927
  }, null, 4)) : vue.createCommentVNode("", true),
15817
- vue.createElementVNode("p", _hoisted_5$h, vue.toDisplayString(item.title), 1)
15928
+ vue.createElementVNode("p", _hoisted_5$i, vue.toDisplayString(item.title), 1)
15818
15929
  ]))
15819
15930
  ]);
15820
15931
  }), 128)),
@@ -17122,7 +17233,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17122
17233
  [vue.vModelCheckbox, vue.unref(val)]
17123
17234
  ]),
17124
17235
  vue.createElementVNode("span", null, [
17125
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "check" })
17236
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "check" })
17126
17237
  ])
17127
17238
  ]);
17128
17239
  };
@@ -17135,8 +17246,8 @@ const _hoisted_3$A = {
17135
17246
  key: 0,
17136
17247
  class: "bglform-contact-confirm"
17137
17248
  };
17138
- const _hoisted_4$l = { class: "txt14" };
17139
- const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
17249
+ const _hoisted_4$m = { class: "txt14" };
17250
+ const _hoisted_5$h = ["onUpdate:modelValue", "placeholder"];
17140
17251
  const _hoisted_6$c = ["onUpdate:modelValue", "placeholder"];
17141
17252
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17142
17253
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
@@ -17201,7 +17312,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17201
17312
  key: i3
17202
17313
  }, [
17203
17314
  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),
17315
+ vue.createElementVNode("p", _hoisted_4$m, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17205
17316
  vue.createVNode(vue.unref(Btn), {
17206
17317
  thin: "",
17207
17318
  color: "red",
@@ -17237,7 +17348,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17237
17348
  "onUpdate:modelValue": ($event) => contact.label = $event,
17238
17349
  type: "text",
17239
17350
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17240
- }, null, 8, _hoisted_5$g), [
17351
+ }, null, 8, _hoisted_5$h), [
17241
17352
  [vue.vModelText, contact.label]
17242
17353
  ]),
17243
17354
  ((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
@@ -17291,8 +17402,8 @@ const _hoisted_3$z = {
17291
17402
  key: 0,
17292
17403
  class: "bglform-contact-confirm"
17293
17404
  };
17294
- const _hoisted_4$k = { class: "txt14" };
17295
- const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17405
+ const _hoisted_4$l = { class: "txt14" };
17406
+ const _hoisted_5$g = ["onUpdate:modelValue", "placeholder"];
17296
17407
  const _hoisted_6$b = { class: "bglform-contact-address" };
17297
17408
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
17298
17409
  const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
@@ -17368,7 +17479,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17368
17479
  key: i3
17369
17480
  }, [
17370
17481
  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),
17482
+ vue.createElementVNode("p", _hoisted_4$l, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17372
17483
  vue.createVNode(vue.unref(Btn), {
17373
17484
  thin: "",
17374
17485
  color: "red",
@@ -17404,7 +17515,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17404
17515
  "onUpdate:modelValue": ($event) => address.label = $event,
17405
17516
  type: "text",
17406
17517
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17407
- }, null, 8, _hoisted_5$f), [
17518
+ }, null, 8, _hoisted_5$g), [
17408
17519
  [vue.vModelText, address.label]
17409
17520
  ]),
17410
17521
  vue.createElementVNode("div", _hoisted_6$b, [
@@ -17475,8 +17586,8 @@ const _hoisted_3$y = {
17475
17586
  key: 0,
17476
17587
  class: "bglform-contact-confirm"
17477
17588
  };
17478
- const _hoisted_4$j = { class: "txt14" };
17479
- const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17589
+ const _hoisted_4$k = { class: "txt14" };
17590
+ const _hoisted_5$f = ["onUpdate:modelValue", "placeholder"];
17480
17591
  const _hoisted_6$a = { class: "bglform-contact-address" };
17481
17592
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
17482
17593
  const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
@@ -17551,7 +17662,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17551
17662
  key: i3
17552
17663
  }, [
17553
17664
  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),
17665
+ vue.createElementVNode("p", _hoisted_4$k, vue.toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.sure), 1),
17555
17666
  vue.createVNode(vue.unref(Btn), {
17556
17667
  thin: "",
17557
17668
  color: "red",
@@ -17587,7 +17698,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17587
17698
  "onUpdate:modelValue": ($event) => bank_account.label = $event,
17588
17699
  type: "text",
17589
17700
  placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17590
- }, null, 8, _hoisted_5$e), [
17701
+ }, null, 8, _hoisted_5$f), [
17591
17702
  [vue.vModelText, bank_account.label]
17592
17703
  ]),
17593
17704
  vue.createElementVNode("div", _hoisted_6$a, [
@@ -17737,7 +17848,7 @@ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d0543d4b"), n = n(), vue.
17737
17848
  const _hoisted_1$G = ["title"];
17738
17849
  const _hoisted_2$B = { class: "switch" };
17739
17850
  const _hoisted_3$x = ["id"];
17740
- const _hoisted_4$i = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17851
+ const _hoisted_4$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
17741
17852
  const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17742
17853
  __name: "Toggle",
17743
17854
  props: {
@@ -17774,7 +17885,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17774
17885
  }, null, 40, _hoisted_3$x), [
17775
17886
  [vue.vModelCheckbox, vue.unref(inputVal)]
17776
17887
  ]),
17777
- _hoisted_4$i
17888
+ _hoisted_4$j
17778
17889
  ])
17779
17890
  ], 10, _hoisted_1$G);
17780
17891
  };
@@ -17787,8 +17898,8 @@ const _hoisted_2$A = {
17787
17898
  class: "img-label"
17788
17899
  };
17789
17900
  const _hoisted_3$w = { class: "uploading-wrap" };
17790
- const _hoisted_4$h = { class: "load-file-bar" };
17791
- const _hoisted_5$d = ["src", "alt"];
17901
+ const _hoisted_4$i = { class: "load-file-bar" };
17902
+ const _hoisted_5$e = ["src", "alt"];
17792
17903
  const _hoisted_6$9 = { class: "flex" };
17793
17904
  const _hoisted_7$4 = {
17794
17905
  key: 0,
@@ -17965,14 +18076,14 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17965
18076
  class: vue.normalizeClass({ uploading: item.uploading }),
17966
18077
  key: index2
17967
18078
  }, [
17968
- vue.createElementVNode("div", _hoisted_4$h, [
18079
+ vue.createElementVNode("div", _hoisted_4$i, [
17969
18080
  isImg(item) ? (vue.openBlock(), vue.createElementBlock("img", {
17970
18081
  key: 0,
17971
18082
  width: "40",
17972
18083
  src: item.dataUrl,
17973
18084
  alt: item.name,
17974
18085
  style: { "margin-inline-end": "10px" }
17975
- }, null, 8, _hoisted_5$d)) : vue.createCommentVNode("", true),
18086
+ }, null, 8, _hoisted_5$e)) : vue.createCommentVNode("", true),
17976
18087
  vue.createElementVNode("p", null, vue.toDisplayString(item.name), 1),
17977
18088
  vue.createElementVNode("div", _hoisted_6$9, [
17978
18089
  vue.createElementVNode("div", {
@@ -17980,7 +18091,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17980
18091
  style: vue.normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
17981
18092
  }, [
17982
18093
  item.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(`${item.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
17983
- vue.createVNode(vue.unref(_sfc_main$W), {
18094
+ vue.createVNode(vue.unref(_sfc_main$X), {
17984
18095
  class: "success",
17985
18096
  icon: "check"
17986
18097
  })
@@ -18016,8 +18127,8 @@ const _hoisted_1$E = {
18016
18127
  };
18017
18128
  const _hoisted_2$z = { class: "person-card-icon-wrap" };
18018
18129
  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" };
18130
+ const _hoisted_4$h = { class: "person-card-name txt20" };
18131
+ const _hoisted_5$d = { class: "person-card-details-wrap" };
18021
18132
  const _hoisted_6$8 = {
18022
18133
  key: 0,
18023
18134
  class: "person-card-details"
@@ -18083,11 +18194,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18083
18194
  ])) : vue.createCommentVNode("", true),
18084
18195
  vue.createElementVNode("div", _hoisted_2$z, [
18085
18196
  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)
18197
+ vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString(person.value.first_name) + " " + vue.toDisplayString(person.value.last_name), 1)
18087
18198
  ]),
18088
- vue.createElementVNode("div", _hoisted_5$c, [
18199
+ vue.createElementVNode("div", _hoisted_5$d, [
18089
18200
  ((_a2 = person.value.phone) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$8, [
18090
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "phone" }),
18201
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "phone" }),
18091
18202
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.phone, (phone) => {
18092
18203
  return vue.openBlock(), vue.createElementBlock("p", {
18093
18204
  key: phone.id
@@ -18095,7 +18206,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18095
18206
  }), 128))
18096
18207
  ])) : vue.createCommentVNode("", true),
18097
18208
  ((_b = person.value.email) == null ? void 0 : _b.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$3, [
18098
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "email" }),
18209
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "email" }),
18099
18210
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(person.value.email, (email) => {
18100
18211
  return vue.openBlock(), vue.createElementBlock("p", {
18101
18212
  key: email.id
@@ -18103,7 +18214,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18103
18214
  }), 128))
18104
18215
  ])) : vue.createCommentVNode("", true),
18105
18216
  person.value.date_of_birth || person.value.gender ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
18106
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "badge" }),
18217
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "badge" }),
18107
18218
  person.value.date_of_birth ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9, vue.toDisplayString(person.value.date_of_birth), 1)) : vue.createCommentVNode("", true),
18108
18219
  person.value.gender ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_10, vue.toDisplayString(person.value.gender), 1)) : vue.createCommentVNode("", true)
18109
18220
  ])) : vue.createCommentVNode("", true)
@@ -18245,7 +18356,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
18245
18356
  }, {
18246
18357
  default: vue.withCtx(() => [
18247
18358
  vue.createTextVNode(vue.toDisplayString(content.value) + " ", 1),
18248
- vue.createVNode(vue.unref(_sfc_main$W), { icon: "arrow_forward" })
18359
+ vue.createVNode(vue.unref(_sfc_main$X), { icon: "arrow_forward" })
18249
18360
  ]),
18250
18361
  _: 1
18251
18362
  })) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$D, vue.toDisplayString(content.value), 1))
@@ -18271,8 +18382,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
18271
18382
  const _hoisted_1$C = { class: "bagel-input" };
18272
18383
  const _hoisted_2$y = ["for"];
18273
18384
  const _hoisted_3$u = ["checked"];
18274
- const _hoisted_4$f = ["name", "type", "value"];
18275
- const _hoisted_5$b = ["name", "type", "value"];
18385
+ const _hoisted_4$g = ["name", "type", "value"];
18386
+ const _hoisted_5$c = ["name", "type", "value"];
18276
18387
  const _hoisted_6$7 = ["name", "type", "value"];
18277
18388
  const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18278
18389
  __name: "PlainInputField",
@@ -18308,7 +18419,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18308
18419
  vue.createElementVNode("label", {
18309
18420
  for: vue.unref(formatString)(_ctx.name, "pascal")
18310
18421
  }, [
18311
- vue.createVNode(_sfc_main$Y, {
18422
+ vue.createVNode(_sfc_main$Z, {
18312
18423
  input: vue.unref(formatString)(_ctx.name, "titleCase")
18313
18424
  }, null, 8, ["input"])
18314
18425
  ], 8, _hoisted_2$y),
@@ -18329,7 +18440,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18329
18440
  value: _ctx.modelValue,
18330
18441
  class: "ctl",
18331
18442
  onInput: handleInput
18332
- }, null, 40, _hoisted_4$f)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18443
+ }, null, 40, _hoisted_4$g)) : _ctx.type === "text" ? (vue.openBlock(), vue.createElementBlock("input", {
18333
18444
  key: 2,
18334
18445
  ref_key: "el",
18335
18446
  ref: el2,
@@ -18338,7 +18449,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18338
18449
  value: _ctx.modelValue,
18339
18450
  class: "ctl",
18340
18451
  onInput: handleInput
18341
- }, null, 40, _hoisted_5$b)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18452
+ }, null, 40, _hoisted_5$c)) : _ctx.type === "textarea" ? (vue.openBlock(), vue.createElementBlock("textarea", {
18342
18453
  key: 3,
18343
18454
  ref_key: "el",
18344
18455
  ref: el2,
@@ -18349,7 +18460,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18349
18460
  onInput: handleInput
18350
18461
  }, null, 40, _hoisted_6$7)) : vue.createCommentVNode("", true),
18351
18462
  vue.createElementVNode("div", null, [
18352
- vue.createVNode(_sfc_main$Y, { input: _ctx.errorMessage }, null, 8, ["input"])
18463
+ vue.createVNode(_sfc_main$Z, { input: _ctx.errorMessage }, null, 8, ["input"])
18353
18464
  ])
18354
18465
  ]);
18355
18466
  };
@@ -18456,6 +18567,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18456
18567
  required: _ctx.field.required
18457
18568
  }, vue.unref(bindAttrs)(((_a2 = _ctx.field) == null ? void 0 : _a2.attrs) || {}, props2.modelValue[_ctx.field.id || ""], props2.modelValue), {
18458
18569
  label: _ctx.field.label,
18570
+ id: _ctx.field.id,
18459
18571
  placeholder: _ctx.field.placeholder || _ctx.field.label,
18460
18572
  modelValue: props2.modelValue[_ctx.field.id || ""],
18461
18573
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emits("update:modelValue", $event))
@@ -18471,7 +18583,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18471
18583
  }), 128))
18472
18584
  ]),
18473
18585
  _: 1
18474
- }, 16, ["required", "label", "placeholder", "modelValue"]);
18586
+ }, 16, ["required", "label", "id", "placeholder", "modelValue"]);
18475
18587
  };
18476
18588
  }
18477
18589
  });
@@ -18479,8 +18591,8 @@ const _withScopeId = (n) => (vue.pushScopeId("data-v-0dacba34"), n = n(), vue.po
18479
18591
  const _hoisted_1$A = ["title"];
18480
18592
  const _hoisted_2$x = ["for"];
18481
18593
  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));
18594
+ const _hoisted_4$f = ["id"];
18595
+ const _hoisted_5$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
18484
18596
  const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18485
18597
  __name: "CheckInput",
18486
18598
  props: {
@@ -18521,10 +18633,10 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18521
18633
  type: "checkbox",
18522
18634
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18523
18635
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
18524
- }, null, 10, _hoisted_4$e), [
18636
+ }, null, 10, _hoisted_4$f), [
18525
18637
  [vue.vModelCheckbox, inputVal.value]
18526
18638
  ]),
18527
- _hoisted_5$a
18639
+ _hoisted_5$b
18528
18640
  ])
18529
18641
  ], 10, _hoisted_1$A);
18530
18642
  };
@@ -18534,8 +18646,8 @@ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data
18534
18646
  const _hoisted_1$z = ["title"];
18535
18647
  const _hoisted_2$w = { key: 0 };
18536
18648
  const _hoisted_3$s = { class: "flex gap-3" };
18537
- const _hoisted_4$d = ["value", "placeholder"];
18538
- const _hoisted_5$9 = { class: "currency" };
18649
+ const _hoisted_4$e = ["value", "placeholder"];
18650
+ const _hoisted_5$a = { class: "currency" };
18539
18651
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18540
18652
  __name: "CurrencyInput",
18541
18653
  props: {
@@ -18645,8 +18757,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18645
18757
  onInput: handleInput,
18646
18758
  placeholder: _ctx.placeholder,
18647
18759
  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)
18760
+ }, null, 42, _hoisted_4$e),
18761
+ 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
18762
  ])
18651
18763
  ], 10, _hoisted_1$z);
18652
18764
  };
@@ -18911,8 +19023,8 @@ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-
18911
19023
  const _hoisted_1$s = ["title"];
18912
19024
  const _hoisted_2$p = { key: 0 };
18913
19025
  const _hoisted_3$l = ["disabled"];
18914
- const _hoisted_4$c = ["onClick"];
18915
- const _hoisted_5$8 = {
19026
+ const _hoisted_4$d = ["onClick"];
19027
+ const _hoisted_5$9 = {
18916
19028
  key: 0,
18917
19029
  class: "option-label"
18918
19030
  };
@@ -19077,12 +19189,12 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
19077
19189
  key: vue.unref(formatString)(option2.value, "pascal"),
19078
19190
  onClick: vue.withModifiers(($event) => handleSelect(option2), ["stop"])
19079
19191
  }, [
19080
- option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$8, [
19192
+ option2.label ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$9, [
19081
19193
  vue.createTextVNode(vue.toDisplayString(option2.label), 1),
19082
19194
  vue.createElementVNode("span", null, "ID: " + vue.toDisplayString(option2.value), 1)
19083
19195
  ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$6, " ID: " + vue.toDisplayString(option2.value), 1)),
19084
19196
  vue.createElementVNode("div", _hoisted_7$2, vue.toDisplayString(option2.description), 1)
19085
- ], 8, _hoisted_4$c);
19197
+ ], 8, _hoisted_4$d);
19086
19198
  }), 128))
19087
19199
  ], 2)
19088
19200
  ]))
@@ -19095,7 +19207,7 @@ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-
19095
19207
  const _hoisted_1$r = ["title"];
19096
19208
  const _hoisted_2$o = { key: 0 };
19097
19209
  const _hoisted_3$k = { class: "password-input-wrap" };
19098
- const _hoisted_4$b = ["value", "type", "placeholder"];
19210
+ const _hoisted_4$c = ["value", "type", "placeholder"];
19099
19211
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19100
19212
  __name: "PasswordInput",
19101
19213
  props: {
@@ -19140,7 +19252,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
19140
19252
  onInput: handleInput,
19141
19253
  placeholder: _ctx.placeholder,
19142
19254
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode })
19143
- }, null, 42, _hoisted_4$b),
19255
+ }, null, 42, _hoisted_4$c),
19144
19256
  vue.createElementVNode("div", {
19145
19257
  class: "icon-font password-icon",
19146
19258
  onMousedown: toggleInputType
@@ -19198,7 +19310,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
19198
19310
  [vue.vModelDynamic, inputVal.value]
19199
19311
  ])
19200
19312
  ], 8, _hoisted_2$n),
19201
- vue.createVNode(vue.unref(_sfc_main$W), {
19313
+ vue.createVNode(vue.unref(_sfc_main$X), {
19202
19314
  onClick: showPassword,
19203
19315
  icon: vue.unref(seePassword) ? "visibility" : "visibility_off"
19204
19316
  }, null, 8, ["icon"])
@@ -19347,7 +19459,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19347
19459
  for: "label",
19348
19460
  class: vue.normalizeClass({ active: showList.value })
19349
19461
  }, [
19350
- vue.createVNode(vue.unref(_sfc_main$Y), { input: _ctx.label }, null, 8, ["input"])
19462
+ vue.createVNode(vue.unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
19351
19463
  ], 2)) : vue.createCommentVNode("", true),
19352
19464
  vue.createElementVNode("div", {
19353
19465
  class: vue.normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
@@ -19359,7 +19471,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19359
19471
  class: vue.normalizeClass(["input", { active: showList.value }]),
19360
19472
  name: "select-input"
19361
19473
  }, [
19362
- vue.createVNode(vue.unref(_sfc_main$Y), { input: displayValue.value }, null, 8, ["input"])
19474
+ vue.createVNode(vue.unref(_sfc_main$Z), { input: displayValue.value }, null, 8, ["input"])
19363
19475
  ], 2),
19364
19476
  (vue.openBlock(), vue.createBlock(vue.Teleport, { to: "#app" }, [
19365
19477
  vue.createElementVNode("div", {
@@ -19372,7 +19484,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
19372
19484
  key: option2.value,
19373
19485
  onClick: ($event) => handleSelect(option2)
19374
19486
  }, [
19375
- vue.createVNode(vue.unref(_sfc_main$Y), {
19487
+ vue.createVNode(vue.unref(_sfc_main$Z), {
19376
19488
  input: option2.label
19377
19489
  }, null, 8, ["input"])
19378
19490
  ], 8, _hoisted_2$l);
@@ -21950,8 +22062,8 @@ const VueDraggableNext = vue.defineComponent({
21950
22062
  const _hoisted_1$m = ["title"];
21951
22063
  const _hoisted_2$j = { class: "bagel-input" };
21952
22064
  const _hoisted_3$h = { class: "table-side-scroll" };
21953
- const _hoisted_4$a = { class: "table-header" };
21954
- const _hoisted_5$7 = { class: "table-reorder" };
22065
+ const _hoisted_4$b = { class: "table-header" };
22066
+ const _hoisted_5$8 = { class: "table-reorder" };
21955
22067
  const _hoisted_6$5 = { class: "table-action" };
21956
22068
  const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
21957
22069
  __name: "TableField",
@@ -22022,7 +22134,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22022
22134
  vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
22023
22135
  ]),
22024
22136
  vue.createElementVNode("div", _hoisted_3$h, [
22025
- vue.createElementVNode("div", _hoisted_4$a, [
22137
+ vue.createElementVNode("div", _hoisted_4$b, [
22026
22138
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
22027
22139
  return vue.openBlock(), vue.createElementBlock("div", {
22028
22140
  class: vue.normalizeClass(["header-col", vue.unref(formatString)(field.fieldtype, "pascal")]),
@@ -22049,7 +22161,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
22049
22161
  class: "flex table-row",
22050
22162
  key: row.id
22051
22163
  }, [
22052
- vue.createElementVNode("div", _hoisted_5$7, [
22164
+ vue.createElementVNode("div", _hoisted_5$8, [
22053
22165
  vue.createVNode(_sfc_main$t, { icon: "more_vert" })
22054
22166
  ]),
22055
22167
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
@@ -22146,7 +22258,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
22146
22258
  const _hoisted_1$k = ["title"];
22147
22259
  const _hoisted_2$h = ["for"];
22148
22260
  const _hoisted_3$f = ["autocomplete", "id", "type", "placeholder", "disabled", "required", "pattern"];
22149
- const _hoisted_4$9 = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
22261
+ const _hoisted_4$a = ["id", "type", "rows", "placeholder", "disabled", "required", "pattern"];
22150
22262
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22151
22263
  __name: "TextInput",
22152
22264
  props: {
@@ -22253,16 +22365,16 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
22253
22365
  disabled: !vue.unref(editMode),
22254
22366
  required: _ctx.required,
22255
22367
  pattern: _ctx.pattern
22256
- }, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$9)), [
22368
+ }, _ctx.nativeInputAttrs, { onDblclick: toggleEditAction }), null, 16, _hoisted_4$a)), [
22257
22369
  [vue.vModelText, vue.unref(inputVal)]
22258
22370
  ])
22259
22371
  ], 8, _hoisted_2$h),
22260
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
22372
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
22261
22373
  key: 0,
22262
22374
  class: "iconStart",
22263
22375
  icon: _ctx.iconStart
22264
22376
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
22265
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
22377
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
22266
22378
  key: 1,
22267
22379
  icon: _ctx.icon
22268
22380
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -22285,7 +22397,7 @@ const _hoisted_3$e = {
22285
22397
  key: 1,
22286
22398
  class: "character-limit"
22287
22399
  };
22288
- const _hoisted_4$8 = ["value"];
22400
+ const _hoisted_4$9 = ["value"];
22289
22401
  const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22290
22402
  __name: "TextArea",
22291
22403
  props: {
@@ -22312,14 +22424,14 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
22312
22424
  title: _ctx.description
22313
22425
  }, [
22314
22426
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$g, [
22315
- vue.createVNode(vue.unref(_sfc_main$Y), { input: _ctx.label }, null, 8, ["input"])
22427
+ vue.createVNode(vue.unref(_sfc_main$Z), { input: _ctx.label }, null, 8, ["input"])
22316
22428
  ])) : vue.createCommentVNode("", true),
22317
22429
  _ctx.showCharacterLimit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$e, vue.toDisplayString((_a2 = _ctx.modelValue) == null ? void 0 : _a2.length) + " " + vue.toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : vue.createCommentVNode("", true),
22318
22430
  vue.createElementVNode("textarea", vue.mergeProps({
22319
22431
  value: _ctx.modelValue,
22320
22432
  onInput: handleInput,
22321
22433
  class: { "no-edit": !_ctx.editMode }
22322
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$8)
22434
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$9)
22323
22435
  ], 10, _hoisted_1$j);
22324
22436
  };
22325
22437
  }
@@ -22376,7 +22488,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
22376
22488
  const _hoisted_1$h = { key: 0 };
22377
22489
  const _hoisted_2$e = ["disabled"];
22378
22490
  const _hoisted_3$c = { class: "custom-select-drop" };
22379
- const _hoisted_4$7 = ["onClick"];
22491
+ const _hoisted_4$8 = ["onClick"];
22380
22492
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22381
22493
  __name: "DynamicLinkField",
22382
22494
  props: {
@@ -22477,7 +22589,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
22477
22589
  return vue.openBlock(), vue.createElementBlock("div", {
22478
22590
  key: vue.unref(formatString)(item2.value, "pascal"),
22479
22591
  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);
22592
+ }, vue.toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$8);
22481
22593
  }), 128))
22482
22594
  ])
22483
22595
  ], 2)
@@ -31925,8 +32037,8 @@ const _hoisted_3$a = {
31925
32037
  key: 0,
31926
32038
  class: "time-wrap"
31927
32039
  };
31928
- const _hoisted_4$6 = ["id", "name", "value"];
31929
- const _hoisted_5$6 = ["for"];
32040
+ const _hoisted_4$7 = ["id", "name", "value"];
32041
+ const _hoisted_5$7 = ["for"];
31930
32042
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31931
32043
  __name: "DatePicker",
31932
32044
  props: {
@@ -31968,12 +32080,12 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31968
32080
  name: _ctx.name,
31969
32081
  value: hr2,
31970
32082
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedHour.value = $event)
31971
- }, null, 8, _hoisted_4$6), [
32083
+ }, null, 8, _hoisted_4$7), [
31972
32084
  [vue.vModelRadio, selectedHour.value]
31973
32085
  ]),
31974
32086
  vue.createElementVNode("label", {
31975
32087
  for: `${hr2}_${_ctx.name}`
31976
- }, vue.toDisplayString(hr2), 9, _hoisted_5$6)
32088
+ }, vue.toDisplayString(hr2), 9, _hoisted_5$7)
31977
32089
  ], 64);
31978
32090
  }), 128))
31979
32091
  ])) : vue.createCommentVNode("", true)
@@ -31981,23 +32093,26 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31981
32093
  };
31982
32094
  }
31983
32095
  });
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"];
32096
+ const _hoisted_1$e = { class: "bagel-input" };
32097
+ const _hoisted_2$b = { class: "pb-025" };
32098
+ const _hoisted_3$9 = { class: "flex gap-2 flex-wrap" };
32099
+ const _hoisted_4$6 = ["id", "name", "value", "checked"];
32100
+ const _hoisted_5$6 = ["for"];
31987
32101
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
31988
32102
  __name: "RadioPillsInput",
31989
32103
  props: {
31990
32104
  options: {},
31991
32105
  stringOptions: {},
31992
32106
  modelValue: {},
31993
- name: {}
32107
+ id: {},
32108
+ label: {}
31994
32109
  },
31995
32110
  emits: ["update:modelValue"],
31996
32111
  setup(__props, { emit: __emit }) {
31997
32112
  const emits = __emit;
31998
32113
  const props2 = __props;
31999
32114
  const cumputedOptions = vue.computed(() => props2.options || props2.stringOptions.map((v) => ({
32000
- id: v,
32115
+ optioId: v,
32001
32116
  label: v,
32002
32117
  value: v
32003
32118
  })));
@@ -32023,27 +32138,30 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
32023
32138
  });
32024
32139
  return (_ctx, _cache) => {
32025
32140
  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))
32141
+ vue.createElementVNode("label", _hoisted_2$b, vue.toDisplayString(_ctx.label), 1),
32142
+ vue.createElementVNode("div", _hoisted_3$9, [
32143
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(cumputedOptions.value, ({ optioId, label: label2, value }, index2) => {
32144
+ return vue.openBlock(), vue.createElementBlock("div", {
32145
+ class: "radio-pill",
32146
+ key: index2
32147
+ }, [
32148
+ vue.createElementVNode("input", {
32149
+ type: "radio",
32150
+ id: optioId,
32151
+ name: _ctx.id,
32152
+ value,
32153
+ checked: vue.unref(selectedValue) === value,
32154
+ onChange: handleSelect
32155
+ }, null, 40, _hoisted_4$6),
32156
+ vue.createElementVNode("label", { for: optioId }, vue.toDisplayString(label2), 9, _hoisted_5$6)
32157
+ ]);
32158
+ }), 128))
32159
+ ])
32042
32160
  ]);
32043
32161
  };
32044
32162
  }
32045
32163
  });
32046
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-97e3ba8c"]]);
32164
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-15351d79"]]);
32047
32165
  const _hoisted_1$d = { class: "bagel-input" };
32048
32166
  const _hoisted_2$a = { key: 0 };
32049
32167
  const _hoisted_3$8 = { class: "imagePreviewWrap" };
@@ -38640,6 +38758,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
38640
38758
  });
38641
38759
  const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7031e613"]]);
38642
38760
  exports.AddressInput = AddressInput;
38761
+ exports.BagelForm = _sfc_main$r;
38643
38762
  exports.BagelVue = BagelVue;
38644
38763
  exports.BankDetailsInput = BankDetailsInput;
38645
38764
  exports.BarChart = BarChart;
@@ -38669,18 +38788,19 @@ exports.FormSchema = _sfc_main$L;
38669
38788
  exports.IntInput = _sfc_main$j;
38670
38789
  exports.ItemRef = _sfc_main$u;
38671
38790
  exports.JSONInput = JSONInput;
38672
- exports.LangText = _sfc_main$Y;
38791
+ exports.LangText = _sfc_main$Z;
38673
38792
  exports.Lineart = _sfc_main$1;
38674
38793
  exports.LinkField = LinkField;
38675
38794
  exports.ListItem = _sfc_main$Q;
38676
38795
  exports.ListView = _sfc_main$R;
38677
- exports.MaterialIcon = _sfc_main$W;
38796
+ exports.MaterialIcon = _sfc_main$X;
38678
38797
  exports.MiscFieldsInput = MiscFieldsInput;
38679
- exports.Modal = _sfc_main$T;
38798
+ exports.Modal = _sfc_main$U;
38799
+ exports.ModalBglForm = ModalBglForm;
38680
38800
  exports.ModalForm = ModalForm;
38681
38801
  exports.ModalPlugin = ModalPlugin;
38682
38802
  exports.MsgTemplate = MsgTemplate;
38683
- exports.NavBar = _sfc_main$V;
38803
+ exports.NavBar = _sfc_main$W;
38684
38804
  exports.PageTitle = _sfc_main$N;
38685
38805
  exports.Password = Password;
38686
38806
  exports.PasswordInput = PasswordInput;
@@ -38688,7 +38808,7 @@ exports.PersonPreview = _sfc_main$G;
38688
38808
  exports.PersonPreviewInput = PersonPreviewInput;
38689
38809
  exports.PlainInputField = _sfc_main$s;
38690
38810
  exports.PlainText = PlainText;
38691
- exports.RTXEditor = _sfc_main$X;
38811
+ exports.RTXEditor = _sfc_main$Y;
38692
38812
  exports.RadioPillsInput = RadioPillsInput;
38693
38813
  exports.ReadOnlyInput = ReadOnlyInput;
38694
38814
  exports.RichTextEditor = RichTextEditor;