@bagelink/vue 0.0.145 → 0.0.155

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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, mergeProps, createVNode, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, provide } from "vue";
1
+ import { inject, ref, defineComponent, h, openBlock, createElementBlock, Fragment as Fragment$1, createElementVNode, createTextVNode, toDisplayString, watch, onMounted, withKeys, withModifiers, normalizeStyle, resolveComponent, normalizeClass, renderSlot, renderList, createBlock, withCtx, useSlots, resolveDynamicComponent, unref, createCommentVNode, onUnmounted, createVNode, mergeProps, withDirectives, vModelText, isRef, computed, reactive, Transition, useCssVars, pushScopeId, popScopeId, markRaw, vModelCheckbox, Teleport, vModelDynamic, TransitionGroup, provide } from "vue";
2
2
  function bind$2(fn, thisArg) {
3
3
  return function wrap2() {
4
4
  return fn.apply(thisArg, arguments);
@@ -2291,7 +2291,7 @@ const ModalPlugin = {
2291
2291
  },
2292
2292
  render() {
2293
2293
  return modalStack.value.map((modal, index2) => {
2294
- const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$K;
2294
+ const renderComponent = modal.isModalForm ? ModalForm : _sfc_main$O;
2295
2295
  return h(
2296
2296
  renderComponent,
2297
2297
  {
@@ -2367,8 +2367,8 @@ function useEscape(event, closeModel) {
2367
2367
  closeModel();
2368
2368
  }
2369
2369
  }
2370
- const _hoisted_1$V = { ref: "el" };
2371
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
2370
+ const _hoisted_1$Z = { ref: "el" };
2371
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
2372
2372
  __name: "LangText",
2373
2373
  props: {
2374
2374
  input: {}
@@ -2376,7 +2376,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
2376
2376
  setup(__props) {
2377
2377
  return (_ctx, _cache) => {
2378
2378
  return openBlock(), createElementBlock(Fragment$1, null, [
2379
- createElementVNode("span", _hoisted_1$V, null, 512),
2379
+ createElementVNode("span", _hoisted_1$Z, null, 512),
2380
2380
  createTextVNode(" " + toDisplayString(_ctx.input) + " ", 1)
2381
2381
  ], 64);
2382
2382
  };
@@ -14492,8 +14492,8 @@ const marks = {
14492
14492
  }
14493
14493
  };
14494
14494
  const schema = new Schema({ nodes, marks });
14495
- const _hoisted_1$U = ["id"];
14496
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
14495
+ const _hoisted_1$Y = ["id"];
14496
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14497
14497
  __name: "RTXEditor",
14498
14498
  props: {
14499
14499
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -14570,11 +14570,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14570
14570
  onClick: focusEditor,
14571
14571
  id: `canvas-${_ctx.elementId}`,
14572
14572
  onKeydown: _cache[0] || (_cache[0] = withKeys(withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
14573
- }, null, 40, _hoisted_1$U);
14573
+ }, null, 40, _hoisted_1$Y);
14574
14574
  };
14575
14575
  }
14576
14576
  });
14577
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
14577
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14578
14578
  __name: "MaterialIcon",
14579
14579
  props: {
14580
14580
  icon: {},
@@ -14589,17 +14589,17 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
14589
14589
  };
14590
14590
  }
14591
14591
  });
14592
- const _hoisted_1$T = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
14593
- const _hoisted_2$L = [
14594
- _hoisted_1$T
14592
+ const _hoisted_1$X = /* @__PURE__ */ createElementVNode("div", { class: "icon-font top-arrow" }, " chevron_right ", -1);
14593
+ const _hoisted_2$P = [
14594
+ _hoisted_1$X
14595
14595
  ];
14596
- const _hoisted_3$F = { class: "full-nav" };
14597
- const _hoisted_4$p = { class: "nav-scroll" };
14596
+ const _hoisted_3$H = { class: "full-nav" };
14597
+ const _hoisted_4$q = { class: "nav-scroll" };
14598
14598
  const _hoisted_5$l = { class: "nav-links-wrapper" };
14599
14599
  const _hoisted_6$h = { class: "icon-font" };
14600
14600
  const _hoisted_7$c = { class: "tooltip" };
14601
14601
  const _hoisted_8$7 = { class: "bot-buttons-wrapper" };
14602
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
14602
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14603
14603
  __name: "NavBar",
14604
14604
  props: {
14605
14605
  links: {},
@@ -14623,9 +14623,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14623
14623
  role: "button",
14624
14624
  "aria-label": "Toggle Navigation",
14625
14625
  tabindex: "0"
14626
- }, _hoisted_2$L, 32),
14627
- createElementVNode("div", _hoisted_3$F, [
14628
- createElementVNode("div", _hoisted_4$p, [
14626
+ }, _hoisted_2$P, 32),
14627
+ createElementVNode("div", _hoisted_3$H, [
14628
+ createElementVNode("div", _hoisted_4$q, [
14629
14629
  createElementVNode("div", _hoisted_5$l, [
14630
14630
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a = _ctx.links) == null ? void 0 : _a.call(_ctx), (link) => {
14631
14631
  return openBlock(), createBlock(_component_RouterLink, {
@@ -14650,15 +14650,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14650
14650
  };
14651
14651
  }
14652
14652
  });
14653
- const _hoisted_1$S = {
14653
+ const _hoisted_1$W = {
14654
14654
  key: 0,
14655
14655
  class: "loading"
14656
14656
  };
14657
- const _hoisted_2$K = {
14657
+ const _hoisted_2$O = {
14658
14658
  key: 1,
14659
14659
  class: "btn-flex"
14660
14660
  };
14661
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
14661
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
14662
14662
  __name: "Btn",
14663
14663
  props: {
14664
14664
  disabled: { type: Boolean, default: false },
@@ -14694,8 +14694,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14694
14694
  })
14695
14695
  }, {
14696
14696
  default: withCtx(() => [
14697
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$S)) : (openBlock(), createElementBlock("div", _hoisted_2$K, [
14698
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$N), {
14697
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$W)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
14698
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$R), {
14699
14699
  key: 0,
14700
14700
  icon: _ctx.icon
14701
14701
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -14703,7 +14703,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14703
14703
  !unref(slots)["default"] && _ctx.value ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
14704
14704
  createTextVNode(toDisplayString(_ctx.value), 1)
14705
14705
  ], 64)) : createCommentVNode("", true),
14706
- props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$N), {
14706
+ props2["icon.end"] ? (openBlock(), createBlock(unref(_sfc_main$R), {
14707
14707
  key: 2,
14708
14708
  icon: props2["icon.end"]
14709
14709
  }, null, 8, ["icon"])) : createCommentVNode("", true)
@@ -14721,12 +14721,11 @@ const _export_sfc = (sfc, props2) => {
14721
14721
  }
14722
14722
  return target;
14723
14723
  };
14724
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-b94d75fb"]]);
14725
- const _hoisted_1$R = ["onKeydown"];
14726
- const _hoisted_2$J = { class: "tool-bar" };
14727
- const _hoisted_3$E = { class: "modal-title" };
14728
- const _hoisted_4$o = { class: "modal-footer mt-3" };
14729
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
14724
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-b94d75fb"]]);
14725
+ const _hoisted_1$V = { class: "tool-bar" };
14726
+ const _hoisted_2$N = { class: "modal-title" };
14727
+ const _hoisted_3$G = { class: "modal-footer mt-3" };
14728
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14730
14729
  __name: "Modal",
14731
14730
  props: {
14732
14731
  side: { type: Boolean },
@@ -14736,6 +14735,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14736
14735
  },
14737
14736
  emits: ["update:isModalVisible"],
14738
14737
  setup(__props, { emit: __emit }) {
14738
+ const props2 = __props;
14739
14739
  let isActive = ref(false);
14740
14740
  const emit2 = __emit;
14741
14741
  const closeModal = () => {
@@ -14744,7 +14744,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14744
14744
  emit2("update:isModalVisible", false);
14745
14745
  }, 200);
14746
14746
  };
14747
- const escapeKeyClose = (e) => useEscape(e, () => closeModal());
14747
+ const escapeKeyClose = (e) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e, () => closeModal());
14748
14748
  onMounted(() => {
14749
14749
  setTimeout(() => {
14750
14750
  isActive.value = true;
@@ -14771,12 +14771,18 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14771
14771
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
14772
14772
  }, ["stop"]))
14773
14773
  }, [
14774
- createElementVNode("header", _hoisted_2$J, [
14775
- renderSlot(_ctx.$slots, "toolbar")
14774
+ createElementVNode("header", _hoisted_1$V, [
14775
+ renderSlot(_ctx.$slots, "toolbar"),
14776
+ createVNode(unref(Btn), {
14777
+ style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
14778
+ flat: "",
14779
+ icon: "close",
14780
+ onClick: closeModal
14781
+ }, null, 8, ["style"])
14776
14782
  ]),
14777
- createElementVNode("h3", _hoisted_3$E, toDisplayString(_ctx.title), 1),
14783
+ createElementVNode("h3", _hoisted_2$N, toDisplayString(_ctx.title), 1),
14778
14784
  renderSlot(_ctx.$slots, "default"),
14779
- createElementVNode("footer", _hoisted_4$o, [
14785
+ createElementVNode("footer", _hoisted_3$G, [
14780
14786
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
14781
14787
  return openBlock(), createBlock(unref(Btn), mergeProps({
14782
14788
  key: i2,
@@ -14787,14 +14793,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14787
14793
  renderSlot(_ctx.$slots, "footer")
14788
14794
  ])
14789
14795
  ])
14790
- ], 42, _hoisted_1$R);
14796
+ ], 34);
14791
14797
  };
14792
14798
  }
14793
14799
  });
14794
- const _hoisted_1$Q = { class: "dropdown-title" };
14795
- const _hoisted_2$I = { class: "dropdown-body" };
14796
- const _hoisted_3$D = ["onClick"];
14797
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
14800
+ const _hoisted_1$U = { class: "dropdown-title" };
14801
+ const _hoisted_2$M = { class: "dropdown-body" };
14802
+ const _hoisted_3$F = ["onClick"];
14803
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
14798
14804
  __name: "DropDown",
14799
14805
  props: {
14800
14806
  modelValue: String,
@@ -14820,31 +14826,31 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14820
14826
  class: normalizeClass(["dropdown", { opendrop: isOpen.value }]),
14821
14827
  onClick: toggleDropdown
14822
14828
  }, [
14823
- createElementVNode("div", _hoisted_1$Q, [
14829
+ createElementVNode("div", _hoisted_1$U, [
14824
14830
  createTextVNode(toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
14825
- createVNode(unref(_sfc_main$N), { icon: "keyboard_arrow_down" })
14831
+ createVNode(unref(_sfc_main$R), { icon: "keyboard_arrow_down" })
14826
14832
  ]),
14827
- createElementVNode("div", _hoisted_2$I, [
14833
+ createElementVNode("div", _hoisted_2$M, [
14828
14834
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
14829
14835
  return openBlock(), createElementBlock("p", {
14830
14836
  key: index2,
14831
14837
  onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
14832
- }, toDisplayString(option2), 9, _hoisted_3$D);
14838
+ }, toDisplayString(option2), 9, _hoisted_3$F);
14833
14839
  }), 128))
14834
14840
  ])
14835
14841
  ], 2);
14836
14842
  };
14837
14843
  }
14838
14844
  });
14839
- const _hoisted_1$P = { class: "card list-view grid thin" };
14840
- const _hoisted_2$H = { class: "list-header flex gap-3 align-items-top" };
14841
- const _hoisted_3$C = {
14845
+ const _hoisted_1$T = { class: "card list-view grid thin" };
14846
+ const _hoisted_2$L = { class: "list-header flex gap-3 align-items-top" };
14847
+ const _hoisted_3$E = {
14842
14848
  key: 0,
14843
14849
  class: "bagel-input search-wrap"
14844
14850
  };
14845
- const _hoisted_4$n = ["placeholder"];
14851
+ const _hoisted_4$p = ["placeholder"];
14846
14852
  const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
14847
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
14853
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14848
14854
  __name: "ListView",
14849
14855
  props: {
14850
14856
  enableAdd: { type: Boolean },
@@ -14860,17 +14866,17 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
14860
14866
  debounce(() => emit2("debounce", searchTerm.value));
14861
14867
  };
14862
14868
  return (_ctx, _cache) => {
14863
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
14864
- createElementVNode("div", _hoisted_2$H, [
14865
- _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
14869
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
14870
+ createElementVNode("div", _hoisted_2$L, [
14871
+ _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$E, [
14866
14872
  withDirectives(createElementVNode("input", {
14867
14873
  placeholder: _ctx.searchPlaceholder,
14868
14874
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
14869
14875
  onInput: _cache[1] || (_cache[1] = ($event) => search())
14870
- }, null, 40, _hoisted_4$n), [
14876
+ }, null, 40, _hoisted_4$p), [
14871
14877
  [vModelText, searchTerm.value]
14872
14878
  ]),
14873
- createVNode(unref(_sfc_main$N), {
14879
+ createVNode(unref(_sfc_main$R), {
14874
14880
  class: "txtgray",
14875
14881
  icon: "search"
14876
14882
  })
@@ -14889,9 +14895,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
14889
14895
  };
14890
14896
  }
14891
14897
  });
14892
- const _hoisted_1$O = { class: "txt16 no-margin" };
14893
- const _hoisted_2$G = { class: "txt14 no-margin txtgray" };
14894
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
14898
+ const _hoisted_1$S = { class: "txt16 no-margin" };
14899
+ const _hoisted_2$K = { class: "txt14 no-margin txtgray" };
14900
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14895
14901
  __name: "ListItem",
14896
14902
  props: {
14897
14903
  to: {}
@@ -14903,10 +14909,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
14903
14909
  class: "list-item ellipsis"
14904
14910
  }, {
14905
14911
  default: withCtx(() => [
14906
- createElementVNode("p", _hoisted_1$O, [
14912
+ createElementVNode("p", _hoisted_1$S, [
14907
14913
  renderSlot(_ctx.$slots, "default")
14908
14914
  ]),
14909
- createElementVNode("p", _hoisted_2$G, [
14915
+ createElementVNode("p", _hoisted_2$K, [
14910
14916
  renderSlot(_ctx.$slots, "subtitle")
14911
14917
  ])
14912
14918
  ]),
@@ -14915,11 +14921,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
14915
14921
  };
14916
14922
  }
14917
14923
  });
14918
- const _hoisted_1$N = { class: "h-100 grid list-view gap-3" };
14919
- const _hoisted_2$F = { class: "card tabs-top" };
14920
- const _hoisted_3$B = { class: "tabs grid auto-flow-columns fit-content" };
14921
- const _hoisted_4$m = ["onClick"];
14922
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
14924
+ const _hoisted_1$R = { class: "h-100 grid list-view gap-3" };
14925
+ const _hoisted_2$J = { class: "card tabs-top" };
14926
+ const _hoisted_3$D = { class: "tabs grid auto-flow-columns fit-content" };
14927
+ const _hoisted_4$o = ["onClick"];
14928
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14923
14929
  __name: "TabbedLayout",
14924
14930
  props: {
14925
14931
  title: {},
@@ -14947,10 +14953,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14947
14953
  activeTab.value = firstTab;
14948
14954
  });
14949
14955
  return (_ctx, _cache) => {
14950
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
14951
- createElementVNode("div", _hoisted_2$F, [
14956
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
14957
+ createElementVNode("div", _hoisted_2$J, [
14952
14958
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14953
- createElementVNode("div", _hoisted_3$B, [
14959
+ createElementVNode("div", _hoisted_3$D, [
14954
14960
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
14955
14961
  return openBlock(), createElementBlock("div", {
14956
14962
  class: normalizeClass([{
@@ -14958,7 +14964,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14958
14964
  }, "tab"]),
14959
14965
  key: tab,
14960
14966
  onClick: ($event) => changeTab(tab)
14961
- }, toDisplayString(tab), 11, _hoisted_4$m);
14967
+ }, toDisplayString(tab), 11, _hoisted_4$o);
14962
14968
  }), 128))
14963
14969
  ])
14964
14970
  ]),
@@ -14974,16 +14980,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14974
14980
  };
14975
14981
  }
14976
14982
  });
14977
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4ac29f1d"]]);
14978
- const _hoisted_1$M = { class: "comments-wrap" };
14979
- const _hoisted_2$E = { class: "comment-list" };
14980
- const _hoisted_3$A = { class: "comment-top" };
14981
- const _hoisted_4$l = { class: "comment-owner" };
14983
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4ac29f1d"]]);
14984
+ const _hoisted_1$Q = { class: "comments-wrap" };
14985
+ const _hoisted_2$I = { class: "comment-list" };
14986
+ const _hoisted_3$C = { class: "comment-top" };
14987
+ const _hoisted_4$n = { class: "comment-owner" };
14982
14988
  const _hoisted_5$j = { class: "comment-time" };
14983
14989
  const _hoisted_6$g = { class: "comment-actions" };
14984
14990
  const _hoisted_7$b = ["innerHTML"];
14985
14991
  const _hoisted_8$6 = { class: "new-comment" };
14986
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
14992
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14987
14993
  __name: "Comments",
14988
14994
  props: {
14989
14995
  ref_table: {},
@@ -15028,8 +15034,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15028
15034
  void fetchData();
15029
15035
  };
15030
15036
  return (_ctx, _cache) => {
15031
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
15032
- createElementVNode("div", _hoisted_2$E, [
15037
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
15038
+ createElementVNode("div", _hoisted_2$I, [
15033
15039
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
15034
15040
  var _a, _b, _c;
15035
15041
  return openBlock(), createElementBlock("div", {
@@ -15039,23 +15045,23 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15039
15045
  }, "comment"]),
15040
15046
  key: comment.id
15041
15047
  }, [
15042
- createElementVNode("div", _hoisted_3$A, [
15043
- createElementVNode("div", _hoisted_4$l, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15048
+ createElementVNode("div", _hoisted_3$C, [
15049
+ createElementVNode("div", _hoisted_4$n, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15044
15050
  createElementVNode("div", _hoisted_5$j, toDisplayString(comment.updated_at.split("T")[0]), 1),
15045
15051
  createElementVNode("div", _hoisted_6$g, [
15046
- createVNode(unref(_sfc_main$N), {
15052
+ createVNode(unref(_sfc_main$R), {
15047
15053
  size: 1,
15048
15054
  class: "edit",
15049
15055
  icon: "edit",
15050
15056
  onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
15051
15057
  }, null, 8, ["onClick"]),
15052
- createVNode(unref(_sfc_main$N), {
15058
+ createVNode(unref(_sfc_main$R), {
15053
15059
  size: 1.2,
15054
15060
  class: "delete",
15055
15061
  icon: "delete",
15056
15062
  onClick: ($event) => deleteComment(comment.id)
15057
15063
  }, null, 8, ["onClick"]),
15058
- createVNode(unref(_sfc_main$N), {
15064
+ createVNode(unref(_sfc_main$R), {
15059
15065
  size: 1.2,
15060
15066
  class: "save",
15061
15067
  icon: "save",
@@ -15063,7 +15069,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15063
15069
  })
15064
15070
  ])
15065
15071
  ]),
15066
- unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$O), {
15072
+ unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$S), {
15067
15073
  key: 0,
15068
15074
  modelValue: unref(editComment).body_html,
15069
15075
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
@@ -15077,7 +15083,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15077
15083
  }), 128))
15078
15084
  ]),
15079
15085
  createElementVNode("div", _hoisted_8$6, [
15080
- createVNode(unref(_sfc_main$O), {
15086
+ createVNode(unref(_sfc_main$S), {
15081
15087
  class: "comment-input",
15082
15088
  modelValue: unref(bodyHtml),
15083
15089
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -15097,10 +15103,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15097
15103
  };
15098
15104
  }
15099
15105
  });
15100
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ff29354a"]]);
15101
- const _hoisted_1$L = { class: "page-top" };
15102
- const _hoisted_2$D = { class: "top-title" };
15103
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
15106
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ff29354a"]]);
15107
+ const _hoisted_1$P = { class: "page-top" };
15108
+ const _hoisted_2$H = { class: "top-title" };
15109
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15104
15110
  __name: "PageTitle",
15105
15111
  props: {
15106
15112
  value: {
@@ -15110,8 +15116,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15110
15116
  },
15111
15117
  setup(__props) {
15112
15118
  return (_ctx, _cache) => {
15113
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
15114
- createElementVNode("h1", _hoisted_2$D, [
15119
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
15120
+ createElementVNode("h1", _hoisted_2$H, [
15115
15121
  renderSlot(_ctx.$slots, "default"),
15116
15122
  createTextVNode(" " + toDisplayString(__props.value), 1)
15117
15123
  ])
@@ -15119,10 +15125,9 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15119
15125
  };
15120
15126
  }
15121
15127
  });
15122
- const _hoisted_1$K = ["onKeydown"];
15123
- const _hoisted_2$C = { class: "tool-bar" };
15124
- const _hoisted_3$z = { class: "modal-title" };
15125
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
15128
+ const _hoisted_1$O = { class: "tool-bar" };
15129
+ const _hoisted_2$G = { class: "modal-title" };
15130
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15126
15131
  __name: "ModalForm",
15127
15132
  props: {
15128
15133
  side: { type: Boolean },
@@ -15168,7 +15173,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15168
15173
  (_b = props2.onDelete) == null ? void 0 : _b.call(props2, (_a = props2.modelValue) == null ? void 0 : _a.id);
15169
15174
  closeModal();
15170
15175
  };
15171
- const escapeKeyClose = (e) => useEscape(e, () => closeModal());
15176
+ const escapeKeyClose = (e) => (props2 == null ? void 0 : props2.dismissable) && useEscape(e, () => closeModal());
15172
15177
  onMounted(() => {
15173
15178
  setTimeout(() => {
15174
15179
  isActive.value = true;
@@ -15195,7 +15200,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15195
15200
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
15196
15201
  }, ["stop"]))
15197
15202
  }, [
15198
- createElementVNode("header", _hoisted_2$C, [
15203
+ createElementVNode("header", _hoisted_1$O, [
15199
15204
  renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
15200
15205
  createVNode(unref(Btn), {
15201
15206
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -15203,9 +15208,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15203
15208
  icon: "close",
15204
15209
  onClick: closeModal
15205
15210
  }, null, 8, ["style"]),
15206
- createElementVNode("h3", _hoisted_3$z, toDisplayString(_ctx.title), 1)
15211
+ createElementVNode("h3", _hoisted_2$G, toDisplayString(_ctx.title), 1)
15207
15212
  ]),
15208
- createVNode(unref(_sfc_main$B), {
15213
+ createVNode(unref(_sfc_main$F), {
15209
15214
  onDelete: _ctx.onDelete ? runDelete : void 0,
15210
15215
  modelValue: _ctx.modelValue,
15211
15216
  "onUpdate:modelValue": handleEmit,
@@ -15213,24 +15218,24 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15213
15218
  schema: computedFormSchema.value
15214
15219
  }, null, 8, ["onDelete", "modelValue", "schema"])
15215
15220
  ])
15216
- ], 42, _hoisted_1$K);
15221
+ ], 34);
15217
15222
  };
15218
15223
  }
15219
15224
  });
15220
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-ca1b8501"]]);
15221
- const _hoisted_1$J = {
15225
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1799b7d0"]]);
15226
+ const _hoisted_1$N = {
15222
15227
  key: 0,
15223
15228
  class: "data"
15224
15229
  };
15225
- const _hoisted_2$B = {
15230
+ const _hoisted_2$F = {
15226
15231
  key: 0,
15227
15232
  class: "mb-3 mt-0"
15228
15233
  };
15229
- const _hoisted_3$y = { class: "key" };
15230
- const _hoisted_4$k = { key: 1 };
15234
+ const _hoisted_3$B = { class: "key" };
15235
+ const _hoisted_4$m = { key: 1 };
15231
15236
  const _hoisted_5$i = { class: "key" };
15232
15237
  const _hoisted_6$f = { class: "vlue" };
15233
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15238
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15234
15239
  __name: "DataPreview",
15235
15240
  props: {
15236
15241
  data: {},
@@ -15242,14 +15247,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15242
15247
  const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
15243
15248
  return (_ctx, _cache) => {
15244
15249
  var _a;
15245
- return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
15246
- _ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$B, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
15250
+ return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
15251
+ _ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$F, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
15247
15252
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
15248
15253
  return openBlock(), createElementBlock("div", {
15249
15254
  key: field.id,
15250
15255
  class: "data-row"
15251
15256
  }, [
15252
- createElementVNode("div", _hoisted_3$y, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15257
+ createElementVNode("div", _hoisted_3$B, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15253
15258
  (openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
15254
15259
  default: withCtx(() => [
15255
15260
  createTextVNode(toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
@@ -15258,7 +15263,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15258
15263
  }, 1024))
15259
15264
  ]);
15260
15265
  }), 128)),
15261
- !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
15266
+ !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
15262
15267
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(_ctx.data).filter(
15263
15268
  ([key]) => !keysToIgnore.includes(key)
15264
15269
  ), ([key, value]) => {
@@ -15276,8 +15281,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15276
15281
  };
15277
15282
  }
15278
15283
  });
15279
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0350cc0c"]]);
15280
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
15284
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-0350cc0c"]]);
15285
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15281
15286
  __name: "FormSchema",
15282
15287
  props: {
15283
15288
  modelValue: {},
@@ -15350,14 +15355,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15350
15355
  };
15351
15356
  }
15352
15357
  });
15353
- const _hoisted_1$I = { class: "table-list-wrap h-100" };
15354
- const _hoisted_2$A = { class: "infinite-wrapper" };
15355
- const _hoisted_3$x = { class: "row first-row" };
15356
- const _hoisted_4$j = ["onClick"];
15358
+ const _hoisted_1$M = { class: "table-list-wrap h-100" };
15359
+ const _hoisted_2$E = { class: "infinite-wrapper" };
15360
+ const _hoisted_3$A = { class: "row first-row" };
15361
+ const _hoisted_4$l = ["onClick"];
15357
15362
  const _hoisted_5$h = { class: "flex" };
15358
15363
  const _hoisted_6$e = ["onClick"];
15359
15364
  const _hoisted_7$a = { key: 1 };
15360
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
15365
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15361
15366
  __name: "TableSchema",
15362
15367
  props: {
15363
15368
  data: {},
@@ -15407,9 +15412,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15407
15412
  }
15408
15413
  );
15409
15414
  return (_ctx, _cache) => {
15410
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
15411
- createElementVNode("table", _hoisted_2$A, [
15412
- createElementVNode("thead", _hoisted_3$x, [
15415
+ return openBlock(), createElementBlock("div", _hoisted_1$M, [
15416
+ createElementVNode("table", _hoisted_2$E, [
15417
+ createElementVNode("thead", _hoisted_3$A, [
15413
15418
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
15414
15419
  return openBlock(), createElementBlock("th", {
15415
15420
  class: "col",
@@ -15421,13 +15426,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15421
15426
  createElementVNode("div", {
15422
15427
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
15423
15428
  }, [
15424
- createVNode(unref(_sfc_main$N), {
15429
+ createVNode(unref(_sfc_main$R), {
15425
15430
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
15426
15431
  icon: "keyboard_arrow_up"
15427
15432
  }, null, 8, ["class"])
15428
15433
  ], 2)
15429
15434
  ])
15430
- ], 8, _hoisted_4$j);
15435
+ ], 8, _hoisted_4$l);
15431
15436
  }), 128))
15432
15437
  ]),
15433
15438
  createElementVNode("tbody", {
@@ -15473,16 +15478,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15473
15478
  };
15474
15479
  }
15475
15480
  });
15476
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-fa7146ce"]]);
15477
- const _sfc_main$z = {};
15478
- const _hoisted_1$H = { class: "flex space-between" };
15481
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-fa7146ce"]]);
15482
+ const _sfc_main$D = {};
15483
+ const _hoisted_1$L = { class: "flex space-between" };
15479
15484
  function _sfc_render$1(_ctx, _cache) {
15480
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
15485
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
15481
15486
  renderSlot(_ctx.$slots, "default")
15482
15487
  ]);
15483
15488
  }
15484
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$1]]);
15485
- const _sfc_main$y = {};
15489
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$1]]);
15490
+ const _sfc_main$C = {};
15486
15491
  function _sfc_render(_ctx, _cache) {
15487
15492
  const _component_router_view = resolveComponent("router-view");
15488
15493
  return openBlock(), createBlock(_component_router_view, null, {
@@ -15504,9 +15509,9 @@ function _sfc_render(_ctx, _cache) {
15504
15509
  _: 1
15505
15510
  });
15506
15511
  }
15507
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render]]);
15508
- const _hoisted_1$G = { class: "card h-100 thin" };
15509
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
15512
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render]]);
15513
+ const _hoisted_1$K = { class: "card h-100 thin" };
15514
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15510
15515
  __name: "ContactSubmissions",
15511
15516
  props: {
15512
15517
  person_id: {
@@ -15536,7 +15541,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15536
15541
  void getData();
15537
15542
  });
15538
15543
  return (_ctx, _cache) => {
15539
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
15544
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
15540
15545
  createVNode(unref(TableSchema), {
15541
15546
  schema: schema2,
15542
15547
  data: unref(data2)
@@ -15545,13 +15550,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15545
15550
  };
15546
15551
  }
15547
15552
  });
15548
- const _hoisted_1$F = {
15553
+ const _hoisted_1$J = {
15549
15554
  key: 0,
15550
15555
  class: "person-card-edit flex gap-2"
15551
15556
  };
15552
- const _hoisted_2$z = { class: "person-card-icon-wrap" };
15553
- const _hoisted_3$w = { class: "person-card-icon" };
15554
- const _hoisted_4$i = { class: "person-card-name txt20" };
15557
+ const _hoisted_2$D = { class: "person-card-icon-wrap" };
15558
+ const _hoisted_3$z = { class: "person-card-icon" };
15559
+ const _hoisted_4$k = { class: "person-card-name txt20" };
15555
15560
  const _hoisted_5$g = { class: "person-card-details-wrap" };
15556
15561
  const _hoisted_6$d = {
15557
15562
  key: 0,
@@ -15565,9 +15570,9 @@ const _hoisted_8$5 = {
15565
15570
  key: 2,
15566
15571
  class: "person-card-details badge"
15567
15572
  };
15568
- const _hoisted_9$4 = { key: 0 };
15573
+ const _hoisted_9$3 = { key: 0 };
15569
15574
  const _hoisted_10$3 = { key: 1 };
15570
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
15575
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15571
15576
  __name: "PersonPreview",
15572
15577
  props: {
15573
15578
  person: {},
@@ -15597,7 +15602,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15597
15602
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
15598
15603
  class: "person-card"
15599
15604
  }, [
15600
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
15605
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
15601
15606
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
15602
15607
  key: 0,
15603
15608
  round: "",
@@ -15614,13 +15619,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15614
15619
  icon: "edit"
15615
15620
  })
15616
15621
  ])) : createCommentVNode("", true),
15617
- createElementVNode("div", _hoisted_2$z, [
15618
- createElementVNode("p", _hoisted_3$w, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15619
- createElementVNode("p", _hoisted_4$i, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
15622
+ createElementVNode("div", _hoisted_2$D, [
15623
+ createElementVNode("p", _hoisted_3$z, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15624
+ createElementVNode("p", _hoisted_4$k, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
15620
15625
  ]),
15621
15626
  createElementVNode("div", _hoisted_5$g, [
15622
15627
  ((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
15623
- createVNode(unref(_sfc_main$N), { icon: "phone" }),
15628
+ createVNode(unref(_sfc_main$R), { icon: "phone" }),
15624
15629
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
15625
15630
  return openBlock(), createElementBlock("p", {
15626
15631
  key: phone.id
@@ -15628,7 +15633,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15628
15633
  }), 128))
15629
15634
  ])) : createCommentVNode("", true),
15630
15635
  ((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
15631
- createVNode(unref(_sfc_main$N), { icon: "email" }),
15636
+ createVNode(unref(_sfc_main$R), { icon: "email" }),
15632
15637
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
15633
15638
  return openBlock(), createElementBlock("p", {
15634
15639
  key: email.id
@@ -15636,8 +15641,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15636
15641
  }), 128))
15637
15642
  ])) : createCommentVNode("", true),
15638
15643
  _ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
15639
- createVNode(unref(_sfc_main$N), { icon: "badge" }),
15640
- _ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$4, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
15644
+ createVNode(unref(_sfc_main$R), { icon: "badge" }),
15645
+ _ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$3, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
15641
15646
  _ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
15642
15647
  ])) : createCommentVNode("", true)
15643
15648
  ])
@@ -15646,13 +15651,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15646
15651
  }
15647
15652
  });
15648
15653
  const _withScopeId$2 = (n) => (pushScopeId("data-v-f7af54ed"), n = n(), popScopeId(), n);
15649
- const _hoisted_1$E = { class: "bar-chart" };
15650
- const _hoisted_2$y = {
15654
+ const _hoisted_1$I = { class: "bar-chart" };
15655
+ const _hoisted_2$C = {
15651
15656
  key: 0,
15652
15657
  class: "group-wrap"
15653
15658
  };
15654
- const _hoisted_3$v = { class: "group-title" };
15655
- const _hoisted_4$h = {
15659
+ const _hoisted_3$y = { class: "group-title" };
15660
+ const _hoisted_4$j = {
15656
15661
  key: 1,
15657
15662
  class: "bar-wrap"
15658
15663
  };
@@ -15660,7 +15665,7 @@ const _hoisted_5$f = { class: "bar-txt" };
15660
15665
  const _hoisted_6$c = { class: "factor" };
15661
15666
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
15662
15667
  const _hoisted_8$4 = { class: "bar-lines" };
15663
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
15668
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15664
15669
  __name: "BarChart",
15665
15670
  props: {
15666
15671
  title: {},
@@ -15710,14 +15715,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15710
15715
  const percent = (val) => val / maxValue.value * 100;
15711
15716
  const floodPercent = computed(() => `${props2.flood}%`);
15712
15717
  return (_ctx, _cache) => {
15713
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
15718
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
15714
15719
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i2) => {
15715
15720
  return openBlock(), createElementBlock("div", {
15716
15721
  class: "graph-wrap",
15717
15722
  key: i2
15718
15723
  }, [
15719
- item.group ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
15720
- createElementVNode("p", _hoisted_3$v, toDisplayString(item.group), 1),
15724
+ item.group ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
15725
+ createElementVNode("p", _hoisted_3$y, toDisplayString(item.group), 1),
15721
15726
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
15722
15727
  return openBlock(), createElementBlock("div", {
15723
15728
  key: i22,
@@ -15736,7 +15741,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15736
15741
  }, null, 4)) : createCommentVNode("", true)
15737
15742
  ]);
15738
15743
  }), 128))
15739
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$h, [
15744
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$j, [
15740
15745
  createElementVNode("div", {
15741
15746
  class: "bar",
15742
15747
  style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15761,7 +15766,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15761
15766
  };
15762
15767
  }
15763
15768
  });
15764
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f7af54ed"]]);
15769
+ const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f7af54ed"]]);
15765
15770
  const explicitKeys = [
15766
15771
  "__key",
15767
15772
  "__init",
@@ -17017,8 +17022,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
17017
17022
  }
17018
17023
  return definition;
17019
17024
  }
17020
- const _hoisted_1$D = { class: "primary-checkbox" };
17021
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
17025
+ const _hoisted_1$H = { class: "primary-checkbox" };
17026
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17022
17027
  __name: "Checkbox",
17023
17028
  props: {
17024
17029
  modelValue: Boolean
@@ -17042,7 +17047,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17042
17047
  (v) => emits("update:modelValue", v)
17043
17048
  );
17044
17049
  return (_ctx, _cache) => {
17045
- return openBlock(), createElementBlock("label", _hoisted_1$D, [
17050
+ return openBlock(), createElementBlock("label", _hoisted_1$H, [
17046
17051
  withDirectives(createElementVNode("input", {
17047
17052
  type: "checkbox",
17048
17053
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
@@ -17050,24 +17055,24 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17050
17055
  [vModelCheckbox, unref(val)]
17051
17056
  ]),
17052
17057
  createElementVNode("span", null, [
17053
- createVNode(unref(_sfc_main$N), { icon: "check" })
17058
+ createVNode(unref(_sfc_main$R), { icon: "check" })
17054
17059
  ])
17055
17060
  ]);
17056
17061
  };
17057
17062
  }
17058
17063
  });
17059
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-5f3ff6ea"]]);
17060
- const _hoisted_1$C = { class: "bagel-input" };
17061
- const _hoisted_2$x = { class: "mt-1" };
17062
- const _hoisted_3$u = {
17064
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5f3ff6ea"]]);
17065
+ const _hoisted_1$G = { class: "bagel-input" };
17066
+ const _hoisted_2$B = { class: "mt-1" };
17067
+ const _hoisted_3$x = {
17063
17068
  key: 0,
17064
17069
  class: "bglform-contact-confirm"
17065
17070
  };
17066
- const _hoisted_4$g = { class: "txt14" };
17071
+ const _hoisted_4$i = { class: "txt14" };
17067
17072
  const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17068
17073
  const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
17069
17074
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17070
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17075
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17071
17076
  __name: "ContactArrayFormKit",
17072
17077
  props: {
17073
17078
  context: {}
@@ -17118,16 +17123,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17118
17123
  }
17119
17124
  );
17120
17125
  return (_ctx, _cache) => {
17121
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
17122
- createElementVNode("div", _hoisted_2$x, [
17126
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
17127
+ createElementVNode("div", _hoisted_2$B, [
17123
17128
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
17124
17129
  var _a, _b, _c, _d, _e, _f;
17125
17130
  return openBlock(), createElementBlock("div", {
17126
17131
  class: "bglform-contact mb-2",
17127
17132
  key: i2
17128
17133
  }, [
17129
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
17130
- createElementVNode("p", _hoisted_4$g, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17134
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
17135
+ createElementVNode("p", _hoisted_4$i, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17131
17136
  createVNode(unref(Btn), {
17132
17137
  thin: "",
17133
17138
  color: "red",
@@ -17211,23 +17216,23 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17211
17216
  };
17212
17217
  }
17213
17218
  });
17214
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-0533667e"]]);
17215
- const _hoisted_1$B = { class: "bagel-input" };
17216
- const _hoisted_2$w = { class: "mt-1" };
17217
- const _hoisted_3$t = {
17219
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0533667e"]]);
17220
+ const _hoisted_1$F = { class: "bagel-input" };
17221
+ const _hoisted_2$A = { class: "mt-1" };
17222
+ const _hoisted_3$w = {
17218
17223
  key: 0,
17219
17224
  class: "bglform-contact-confirm"
17220
17225
  };
17221
- const _hoisted_4$f = { class: "txt14" };
17226
+ const _hoisted_4$h = { class: "txt14" };
17222
17227
  const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17223
17228
  const _hoisted_6$a = { class: "bglform-contact-address" };
17224
17229
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
17225
17230
  const _hoisted_8$3 = { class: "bglform-contact-address-flex" };
17226
- const _hoisted_9$3 = ["onUpdate:modelValue", "placeholder"];
17231
+ const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
17227
17232
  const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
17228
17233
  const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
17229
17234
  const _hoisted_12$1 = { class: "bglform-address-del" };
17230
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17235
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17231
17236
  __name: "AddressArray",
17232
17237
  props: {
17233
17238
  context: {}
@@ -17284,16 +17289,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17284
17289
  }
17285
17290
  );
17286
17291
  return (_ctx, _cache) => {
17287
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
17288
- createElementVNode("div", _hoisted_2$w, [
17292
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
17293
+ createElementVNode("div", _hoisted_2$A, [
17289
17294
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
17290
17295
  var _a, _b, _c, _d, _e, _f;
17291
17296
  return openBlock(), createElementBlock("div", {
17292
17297
  class: "bglform-contact mb-3",
17293
17298
  key: i2
17294
17299
  }, [
17295
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
17296
- createElementVNode("p", _hoisted_4$f, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17300
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
17301
+ createElementVNode("p", _hoisted_4$h, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17297
17302
  createVNode(unref(Btn), {
17298
17303
  thin: "",
17299
17304
  color: "red",
@@ -17345,7 +17350,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17345
17350
  "onUpdate:modelValue": ($event) => address.city = $event,
17346
17351
  placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.city,
17347
17352
  type: "text"
17348
- }, null, 8, _hoisted_9$3), [
17353
+ }, null, 8, _hoisted_9$2), [
17349
17354
  [vModelText, address.city]
17350
17355
  ]),
17351
17356
  withDirectives(createElementVNode("input", {
@@ -17394,19 +17399,19 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17394
17399
  };
17395
17400
  }
17396
17401
  });
17397
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-98a4f943"]]);
17398
- const _hoisted_1$A = { class: "bagel-input" };
17399
- const _hoisted_2$v = { class: "mt-1" };
17400
- const _hoisted_3$s = {
17402
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-98a4f943"]]);
17403
+ const _hoisted_1$E = { class: "bagel-input" };
17404
+ const _hoisted_2$z = { class: "mt-1" };
17405
+ const _hoisted_3$v = {
17401
17406
  key: 0,
17402
17407
  class: "bglform-contact-confirm"
17403
17408
  };
17404
- const _hoisted_4$e = { class: "txt14" };
17409
+ const _hoisted_4$g = { class: "txt14" };
17405
17410
  const _hoisted_5$c = ["onUpdate:modelValue", "placeholder"];
17406
17411
  const _hoisted_6$9 = { class: "bglform-contact-address" };
17407
17412
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
17408
17413
  const _hoisted_8$2 = { class: "bglform-contact-address-flex" };
17409
- const _hoisted_9$2 = ["onUpdate:modelValue", "placeholder"];
17414
+ const _hoisted_9$1 = ["onUpdate:modelValue", "placeholder"];
17410
17415
  const _hoisted_10$1 = ["onUpdate:modelValue", "placeholder"];
17411
17416
  const _hoisted_11 = { class: "grid gap-2" };
17412
17417
  const _hoisted_12 = ["onUpdate:modelValue", "placeholder"];
@@ -17415,7 +17420,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
17415
17420
  const _hoisted_15 = ["onUpdate:modelValue"];
17416
17421
  const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
17417
17422
  const _hoisted_17 = { class: "bglform-address-del" };
17418
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17423
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17419
17424
  __name: "BankDetailsArray",
17420
17425
  props: {
17421
17426
  context: {}
@@ -17466,16 +17471,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17466
17471
  }
17467
17472
  );
17468
17473
  return (_ctx, _cache) => {
17469
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
17470
- createElementVNode("div", _hoisted_2$v, [
17474
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
17475
+ createElementVNode("div", _hoisted_2$z, [
17471
17476
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
17472
17477
  var _a, _b, _c, _d, _e, _f, _g, _h;
17473
17478
  return openBlock(), createElementBlock("div", {
17474
17479
  class: "bglform-contact mb-3",
17475
17480
  key: i2
17476
17481
  }, [
17477
- unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
17478
- createElementVNode("p", _hoisted_4$e, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17482
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
17483
+ createElementVNode("p", _hoisted_4$g, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17479
17484
  createVNode(unref(Btn), {
17480
17485
  thin: "",
17481
17486
  color: "red",
@@ -17529,7 +17534,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17529
17534
  placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.bankBranch,
17530
17535
  type: "text",
17531
17536
  required: ""
17532
- }, null, 8, _hoisted_9$2), [
17537
+ }, null, 8, _hoisted_9$1), [
17533
17538
  [vModelText, bank_account.branch]
17534
17539
  ]),
17535
17540
  withDirectives(createElementVNode("input", {
@@ -17610,9 +17615,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17610
17615
  };
17611
17616
  }
17612
17617
  });
17613
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-0928eb22"]]);
17614
- const _hoisted_1$z = { class: "misc-wrap" };
17615
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
17618
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-0928eb22"]]);
17619
+ const _hoisted_1$D = { class: "misc-wrap" };
17620
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17616
17621
  __name: "MiscFields",
17617
17622
  props: {
17618
17623
  context: {},
@@ -17629,7 +17634,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17629
17634
  console.log(fields.value);
17630
17635
  };
17631
17636
  return (_ctx, _cache) => {
17632
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
17637
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
17633
17638
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
17634
17639
  (field) => {
17635
17640
  var _a;
@@ -17657,13 +17662,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17657
17662
  };
17658
17663
  }
17659
17664
  });
17660
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bac6c2ee"]]);
17665
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-bac6c2ee"]]);
17661
17666
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d12598ff"), n = n(), popScopeId(), n);
17662
- const _hoisted_1$y = ["title"];
17663
- const _hoisted_2$u = { class: "switch" };
17664
- const _hoisted_3$r = ["id"];
17665
- const _hoisted_4$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
17666
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
17667
+ const _hoisted_1$C = ["title"];
17668
+ const _hoisted_2$y = { class: "switch" };
17669
+ const _hoisted_3$u = ["id"];
17670
+ const _hoisted_4$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
17671
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17667
17672
  __name: "Toggle",
17668
17673
  props: {
17669
17674
  context: Object
@@ -17687,7 +17692,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17687
17692
  class: normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
17688
17693
  title: (_b = __props.context) == null ? void 0 : _b.help
17689
17694
  }, [
17690
- createElementVNode("label", _hoisted_2$u, [
17695
+ createElementVNode("label", _hoisted_2$y, [
17691
17696
  withDirectives(createElementVNode("input", {
17692
17697
  onChange: _cache[0] || (_cache[0] = () => {
17693
17698
  var _a2;
@@ -17696,32 +17701,31 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17696
17701
  type: "checkbox",
17697
17702
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
17698
17703
  id: (_c = __props.context) == null ? void 0 : _c.id
17699
- }, null, 40, _hoisted_3$r), [
17704
+ }, null, 40, _hoisted_3$u), [
17700
17705
  [vModelCheckbox, unref(inputVal)]
17701
17706
  ]),
17702
- _hoisted_4$d
17707
+ _hoisted_4$f
17703
17708
  ])
17704
- ], 10, _hoisted_1$y);
17709
+ ], 10, _hoisted_1$C);
17705
17710
  };
17706
17711
  }
17707
17712
  });
17708
- const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-d12598ff"]]);
17709
- const _hoisted_1$x = { class: "files-wrapper flex" };
17710
- const _hoisted_2$t = ["onDrop"];
17711
- const _hoisted_3$q = {
17713
+ const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d12598ff"]]);
17714
+ const _hoisted_1$B = { class: "files-wrapper flex" };
17715
+ const _hoisted_2$x = {
17712
17716
  key: 0,
17713
17717
  class: "img-label"
17714
17718
  };
17715
- const _hoisted_4$c = { class: "uploading-wrap" };
17716
- const _hoisted_5$b = { class: "load-file-bar" };
17717
- const _hoisted_6$8 = ["src", "alt"];
17718
- const _hoisted_7$4 = { class: "flex" };
17719
- const _hoisted_8$1 = {
17719
+ const _hoisted_3$t = { class: "uploading-wrap" };
17720
+ const _hoisted_4$e = { class: "load-file-bar" };
17721
+ const _hoisted_5$b = ["src", "alt"];
17722
+ const _hoisted_6$8 = { class: "flex" };
17723
+ const _hoisted_7$4 = {
17720
17724
  key: 0,
17721
17725
  class: "progress"
17722
17726
  };
17723
- const _hoisted_9$1 = ["multiple"];
17724
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
17727
+ const _hoisted_8$1 = ["multiple"];
17728
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17725
17729
  __name: "FileUploader",
17726
17730
  props: {
17727
17731
  context: {},
@@ -17846,7 +17850,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17846
17850
  }
17847
17851
  return (_ctx, _cache) => {
17848
17852
  var _a;
17849
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
17853
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
17850
17854
  createElementVNode("div", {
17851
17855
  ref_key: "dropZoneEl",
17852
17856
  ref: dropZoneEl,
@@ -17866,34 +17870,34 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17866
17870
  ]),
17867
17871
  _: 1
17868
17872
  }),
17869
- allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
17873
+ allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
17870
17874
  createElementVNode("p", null, [
17871
17875
  createTextVNode(toDisplayString(_ctx.dragDropLabel) + " ", 1),
17872
17876
  createElementVNode("span", null, toDisplayString(_ctx.browseLabel), 1)
17873
17877
  ])
17874
17878
  ])) : createCommentVNode("", true),
17875
- createElementVNode("div", _hoisted_4$c, [
17879
+ createElementVNode("div", _hoisted_3$t, [
17876
17880
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
17877
17881
  return openBlock(), createElementBlock("div", {
17878
17882
  class: normalizeClass({ uploading: item.uploading }),
17879
17883
  key: index2
17880
17884
  }, [
17881
- createElementVNode("div", _hoisted_5$b, [
17885
+ createElementVNode("div", _hoisted_4$e, [
17882
17886
  isImg(item) ? (openBlock(), createElementBlock("img", {
17883
17887
  key: 0,
17884
17888
  width: "40",
17885
17889
  src: item.dataUrl,
17886
17890
  alt: item.name,
17887
17891
  style: { "margin-inline-end": "10px" }
17888
- }, null, 8, _hoisted_6$8)) : createCommentVNode("", true),
17892
+ }, null, 8, _hoisted_5$b)) : createCommentVNode("", true),
17889
17893
  createElementVNode("p", null, toDisplayString(item.name), 1),
17890
- createElementVNode("div", _hoisted_7$4, [
17894
+ createElementVNode("div", _hoisted_6$8, [
17891
17895
  createElementVNode("div", {
17892
17896
  class: normalizeClass(["pie", { complete: item.progress === 100 }]),
17893
17897
  style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
17894
17898
  }, [
17895
- item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_8$1, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17896
- createVNode(unref(_sfc_main$N), {
17899
+ item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17900
+ createVNode(unref(_sfc_main$R), {
17897
17901
  class: "success",
17898
17902
  icon: "check"
17899
17903
  })
@@ -17910,7 +17914,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17910
17914
  ], 2);
17911
17915
  }), 128))
17912
17916
  ])
17913
- ], 40, _hoisted_2$t),
17917
+ ], 544),
17914
17918
  createElementVNode("input", {
17915
17919
  class: "file-input",
17916
17920
  type: "file",
@@ -17918,18 +17922,18 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17918
17922
  ref_key: "fileInputEl",
17919
17923
  ref: fileInputEl,
17920
17924
  multiple: ((_a = _ctx.context) == null ? void 0 : _a.attrs.multiple) || false
17921
- }, null, 40, _hoisted_9$1)
17925
+ }, null, 40, _hoisted_8$1)
17922
17926
  ]);
17923
17927
  };
17924
17928
  }
17925
17929
  });
17926
- const _hoisted_1$w = {
17930
+ const _hoisted_1$A = {
17927
17931
  key: 0,
17928
17932
  class: "person-card-edit flex gap-2"
17929
17933
  };
17930
- const _hoisted_2$s = { class: "person-card-icon-wrap" };
17931
- const _hoisted_3$p = { class: "person-card-icon" };
17932
- const _hoisted_4$b = { class: "person-card-name txt20" };
17934
+ const _hoisted_2$w = { class: "person-card-icon-wrap" };
17935
+ const _hoisted_3$s = { class: "person-card-icon" };
17936
+ const _hoisted_4$d = { class: "person-card-name txt20" };
17933
17937
  const _hoisted_5$a = { class: "person-card-details-wrap" };
17934
17938
  const _hoisted_6$7 = {
17935
17939
  key: 0,
@@ -17945,7 +17949,7 @@ const _hoisted_8 = {
17945
17949
  };
17946
17950
  const _hoisted_9 = { key: 0 };
17947
17951
  const _hoisted_10 = { key: 1 };
17948
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
17952
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17949
17953
  __name: "PersonPreviewFormkit",
17950
17954
  props: {
17951
17955
  context: {},
@@ -17976,7 +17980,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17976
17980
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
17977
17981
  class: "person-card"
17978
17982
  }, [
17979
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
17983
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
17980
17984
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
17981
17985
  key: 0,
17982
17986
  onClick: unref(hideModal),
@@ -17994,13 +17998,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17994
17998
  icon: "edit"
17995
17999
  })
17996
18000
  ])) : createCommentVNode("", true),
17997
- createElementVNode("div", _hoisted_2$s, [
17998
- createElementVNode("p", _hoisted_3$p, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
17999
- createElementVNode("p", _hoisted_4$b, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
18001
+ createElementVNode("div", _hoisted_2$w, [
18002
+ createElementVNode("p", _hoisted_3$s, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
18003
+ createElementVNode("p", _hoisted_4$d, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
18000
18004
  ]),
18001
18005
  createElementVNode("div", _hoisted_5$a, [
18002
18006
  ((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
18003
- createVNode(unref(_sfc_main$N), { icon: "phone" }),
18007
+ createVNode(unref(_sfc_main$R), { icon: "phone" }),
18004
18008
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
18005
18009
  return openBlock(), createElementBlock("p", {
18006
18010
  key: phone.id
@@ -18008,7 +18012,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18008
18012
  }), 128))
18009
18013
  ])) : createCommentVNode("", true),
18010
18014
  ((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
18011
- createVNode(unref(_sfc_main$N), { icon: "email" }),
18015
+ createVNode(unref(_sfc_main$R), { icon: "email" }),
18012
18016
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
18013
18017
  return openBlock(), createElementBlock("p", {
18014
18018
  key: email.id
@@ -18016,7 +18020,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18016
18020
  }), 128))
18017
18021
  ])) : createCommentVNode("", true),
18018
18022
  person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
18019
- createVNode(unref(_sfc_main$N), { icon: "badge" }),
18023
+ createVNode(unref(_sfc_main$R), { icon: "badge" }),
18020
18024
  person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
18021
18025
  person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
18022
18026
  ])) : createCommentVNode("", true)
@@ -18025,7 +18029,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18025
18029
  };
18026
18030
  }
18027
18031
  });
18028
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
18032
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18029
18033
  __name: "TextVariableExamples",
18030
18034
  props: {
18031
18035
  context: Object
@@ -18101,7 +18105,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18101
18105
  }, [
18102
18106
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(variables.value, (v) => {
18103
18107
  var _a;
18104
- return openBlock(), createBlock(unref(_sfc_main$2), {
18108
+ return openBlock(), createBlock(unref(_sfc_main$6), {
18105
18109
  key: v,
18106
18110
  placeholder: `Variable ${v}`,
18107
18111
  modelValue: (_a = unref(val)) == null ? void 0 : _a[v - 1],
@@ -18117,14 +18121,14 @@ const AddressInput = createInput(AddressArray);
18117
18121
  const BankDetailsInput = createInput(BankDetailsArray);
18118
18122
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18119
18123
  const ToggleSwitchInput = createInput(Toggle);
18120
- const FileUploadInput = createInput(_sfc_main$o);
18121
- const TextVariablesInput = createInput(_sfc_main$m);
18122
- const PersonPreviewInput = createInput(_sfc_main$n);
18123
- const _hoisted_1$v = {
18124
+ const FileUploadInput = createInput(_sfc_main$s);
18125
+ const TextVariablesInput = createInput(_sfc_main$q);
18126
+ const PersonPreviewInput = createInput(_sfc_main$r);
18127
+ const _hoisted_1$z = {
18124
18128
  key: 1,
18125
18129
  class: "pill"
18126
18130
  };
18127
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
18131
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18128
18132
  __name: "ItemRef",
18129
18133
  props: {
18130
18134
  modelValue: {},
@@ -18158,15 +18162,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18158
18162
  }, {
18159
18163
  default: withCtx(() => [
18160
18164
  createTextVNode(toDisplayString(content.value) + " ", 1),
18161
- createVNode(unref(_sfc_main$N), { icon: "arrow_forward" })
18165
+ createVNode(unref(_sfc_main$R), { icon: "arrow_forward" })
18162
18166
  ]),
18163
18167
  _: 1
18164
- })) : (openBlock(), createElementBlock("span", _hoisted_1$v, toDisplayString(content.value), 1))
18168
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$z, toDisplayString(content.value), 1))
18165
18169
  ]);
18166
18170
  };
18167
18171
  }
18168
18172
  });
18169
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
18173
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18170
18174
  __name: "MaterialIcon",
18171
18175
  props: {
18172
18176
  icon: {},
@@ -18181,13 +18185,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18181
18185
  };
18182
18186
  }
18183
18187
  });
18184
- const _hoisted_1$u = { class: "bagel-input" };
18185
- const _hoisted_2$r = ["for"];
18186
- const _hoisted_3$o = ["checked"];
18187
- const _hoisted_4$a = ["name", "type", "value"];
18188
+ const _hoisted_1$y = { class: "bagel-input" };
18189
+ const _hoisted_2$v = ["for"];
18190
+ const _hoisted_3$r = ["checked"];
18191
+ const _hoisted_4$c = ["name", "type", "value"];
18188
18192
  const _hoisted_5$9 = ["name", "type", "value"];
18189
18193
  const _hoisted_6$6 = ["name", "type", "value"];
18190
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
18194
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18191
18195
  __name: "PlainInputField",
18192
18196
  props: {
18193
18197
  type: {},
@@ -18217,14 +18221,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18217
18221
  }
18218
18222
  });
18219
18223
  return (_ctx, _cache) => {
18220
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
18224
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
18221
18225
  createElementVNode("label", {
18222
18226
  for: unref(formatString)(_ctx.name, "pascal")
18223
18227
  }, [
18224
- createVNode(_sfc_main$P, {
18228
+ createVNode(_sfc_main$T, {
18225
18229
  input: unref(formatString)(_ctx.name, "titleCase")
18226
18230
  }, null, 8, ["input"])
18227
- ], 8, _hoisted_2$r),
18231
+ ], 8, _hoisted_2$v),
18228
18232
  _ctx.type === "checkbox" ? (openBlock(), createElementBlock("input", {
18229
18233
  key: 0,
18230
18234
  ref_key: "el",
@@ -18233,7 +18237,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18233
18237
  class: "ctl",
18234
18238
  type: "checkbox",
18235
18239
  onChange: handleCheck
18236
- }, null, 40, _hoisted_3$o)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18240
+ }, null, 40, _hoisted_3$r)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18237
18241
  key: 1,
18238
18242
  ref_key: "el",
18239
18243
  ref: el,
@@ -18242,7 +18246,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18242
18246
  value: _ctx.modelValue,
18243
18247
  class: "ctl",
18244
18248
  onInput: handleInput
18245
- }, null, 40, _hoisted_4$a)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18249
+ }, null, 40, _hoisted_4$c)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18246
18250
  key: 2,
18247
18251
  ref_key: "el",
18248
18252
  ref: el,
@@ -18262,19 +18266,19 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18262
18266
  onInput: handleInput
18263
18267
  }, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
18264
18268
  createElementVNode("div", null, [
18265
- createVNode(_sfc_main$P, { input: _ctx.errorMessage }, null, 8, ["input"])
18269
+ createVNode(_sfc_main$T, { input: _ctx.errorMessage }, null, 8, ["input"])
18266
18270
  ])
18267
18271
  ]);
18268
18272
  };
18269
18273
  }
18270
18274
  });
18271
18275
  const _withScopeId = (n) => (pushScopeId("data-v-69f0d857"), n = n(), popScopeId(), n);
18272
- const _hoisted_1$t = ["title"];
18273
- const _hoisted_2$q = ["for"];
18274
- const _hoisted_3$n = { class: "switch" };
18275
- const _hoisted_4$9 = ["id"];
18276
+ const _hoisted_1$x = ["title"];
18277
+ const _hoisted_2$u = ["for"];
18278
+ const _hoisted_3$q = { class: "switch" };
18279
+ const _hoisted_4$b = ["id"];
18276
18280
  const _hoisted_5$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
18277
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18281
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18278
18282
  __name: "CheckInput",
18279
18283
  props: {
18280
18284
  field: {},
@@ -18307,29 +18311,29 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18307
18311
  }, [
18308
18312
  createElementVNode("label", {
18309
18313
  for: _ctx.field.id
18310
- }, toDisplayString(_ctx.field.label), 9, _hoisted_2$q),
18311
- createElementVNode("label", _hoisted_3$n, [
18314
+ }, toDisplayString(_ctx.field.label), 9, _hoisted_2$u),
18315
+ createElementVNode("label", _hoisted_3$q, [
18312
18316
  withDirectives(createElementVNode("input", {
18313
18317
  id: _ctx.field.id,
18314
18318
  type: "checkbox",
18315
18319
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18316
18320
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18317
- }, null, 10, _hoisted_4$9), [
18321
+ }, null, 10, _hoisted_4$b), [
18318
18322
  [vModelCheckbox, inputVal.value]
18319
18323
  ]),
18320
18324
  _hoisted_5$8
18321
18325
  ])
18322
- ], 10, _hoisted_1$t);
18326
+ ], 10, _hoisted_1$x);
18323
18327
  };
18324
18328
  }
18325
18329
  });
18326
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-69f0d857"]]);
18327
- const _hoisted_1$s = ["title"];
18328
- const _hoisted_2$p = { key: 0 };
18329
- const _hoisted_3$m = { class: "flex gap-3" };
18330
- const _hoisted_4$8 = ["value", "placeholder"];
18330
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-69f0d857"]]);
18331
+ const _hoisted_1$w = ["title"];
18332
+ const _hoisted_2$t = { key: 0 };
18333
+ const _hoisted_3$p = { class: "flex gap-3" };
18334
+ const _hoisted_4$a = ["value", "placeholder"];
18331
18335
  const _hoisted_5$7 = { class: "currency" };
18332
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
18336
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18333
18337
  __name: "CurrencyInput",
18334
18338
  props: {
18335
18339
  field: {},
@@ -18430,26 +18434,26 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18430
18434
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18431
18435
  title: _ctx.field.description
18432
18436
  }, [
18433
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18434
- createElementVNode("div", _hoisted_3$m, [
18437
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18438
+ createElementVNode("div", _hoisted_3$p, [
18435
18439
  createElementVNode("input", {
18436
18440
  value: _ctx.modelValue,
18437
18441
  type: "number",
18438
18442
  onInput: handleInput,
18439
18443
  placeholder: _ctx.placeholder,
18440
18444
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18441
- }, null, 42, _hoisted_4$8),
18445
+ }, null, 42, _hoisted_4$a),
18442
18446
  createElementVNode("p", _hoisted_5$7, toDisplayString(((_a = currencies.find((c) => c.symbol === _ctx.field.currency)) == null ? void 0 : _a.character) || _ctx.field.currency), 1)
18443
18447
  ])
18444
- ], 10, _hoisted_1$s);
18448
+ ], 10, _hoisted_1$w);
18445
18449
  };
18446
18450
  }
18447
18451
  });
18448
- const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-17a56a3f"]]);
18449
- const _hoisted_1$r = ["title"];
18450
- const _hoisted_2$o = { key: 0 };
18451
- const _hoisted_3$l = ["placeholder", "disabled"];
18452
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
18452
+ const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-17a56a3f"]]);
18453
+ const _hoisted_1$v = ["title"];
18454
+ const _hoisted_2$s = { key: 0 };
18455
+ const _hoisted_3$o = ["placeholder", "disabled"];
18456
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18453
18457
  __name: "DateInput",
18454
18458
  props: {
18455
18459
  field: {},
@@ -18470,7 +18474,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18470
18474
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18471
18475
  title: _ctx.field.description
18472
18476
  }, [
18473
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18477
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18474
18478
  withDirectives(createElementVNode("input", {
18475
18479
  type: "date",
18476
18480
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
@@ -18480,18 +18484,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18480
18484
  disabled: !_ctx.editMode,
18481
18485
  enableTimePicker: false,
18482
18486
  textInputOptions: { format: "yyyy-MM-dd" }
18483
- }, null, 40, _hoisted_3$l), [
18487
+ }, null, 40, _hoisted_3$o), [
18484
18488
  [vModelText, date2.value]
18485
18489
  ])
18486
- ], 10, _hoisted_1$r);
18490
+ ], 10, _hoisted_1$v);
18487
18491
  };
18488
18492
  }
18489
18493
  });
18490
- const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-782aee7f"]]);
18491
- const _hoisted_1$q = ["title"];
18492
- const _hoisted_2$n = { key: 0 };
18493
- const _hoisted_3$k = ["value", "placeholder"];
18494
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
18494
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-782aee7f"]]);
18495
+ const _hoisted_1$u = ["title"];
18496
+ const _hoisted_2$r = { key: 0 };
18497
+ const _hoisted_3$n = ["value", "placeholder"];
18498
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18495
18499
  __name: "DatetimeInput",
18496
18500
  props: {
18497
18501
  description: { default: "" },
@@ -18517,7 +18521,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18517
18521
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18518
18522
  title: _ctx.description
18519
18523
  }, [
18520
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18524
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
18521
18525
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18522
18526
  ])) : createCommentVNode("", true),
18523
18527
  createElementVNode("input", {
@@ -18526,15 +18530,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18526
18530
  onInput: handleInput,
18527
18531
  placeholder: _ctx.placeholder,
18528
18532
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18529
- }, null, 42, _hoisted_3$k)
18530
- ], 10, _hoisted_1$q);
18533
+ }, null, 42, _hoisted_3$n)
18534
+ ], 10, _hoisted_1$u);
18531
18535
  };
18532
18536
  }
18533
18537
  });
18534
- const _hoisted_1$p = ["title"];
18535
- const _hoisted_2$m = { key: 0 };
18536
- const _hoisted_3$j = ["value", "placeholder"];
18537
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
18538
+ const _hoisted_1$t = ["title"];
18539
+ const _hoisted_2$q = { key: 0 };
18540
+ const _hoisted_3$m = ["value", "placeholder"];
18541
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18538
18542
  __name: "EmailInput",
18539
18543
  props: {
18540
18544
  description: { default: "" },
@@ -18557,7 +18561,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18557
18561
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18558
18562
  title: _ctx.description
18559
18563
  }, [
18560
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18564
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
18561
18565
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18562
18566
  ])) : createCommentVNode("", true),
18563
18567
  createElementVNode("input", {
@@ -18567,16 +18571,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18567
18571
  onInput: handleInput,
18568
18572
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18569
18573
  placeholder: _ctx.placeholder
18570
- }, null, 42, _hoisted_3$j)
18571
- ], 10, _hoisted_1$p);
18574
+ }, null, 42, _hoisted_3$m)
18575
+ ], 10, _hoisted_1$t);
18572
18576
  };
18573
18577
  }
18574
18578
  });
18575
- const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-ed81a514"]]);
18576
- const _hoisted_1$o = ["title"];
18577
- const _hoisted_2$l = { key: 0 };
18578
- const _hoisted_3$i = ["value", "placeholder"];
18579
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
18579
+ const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed81a514"]]);
18580
+ const _hoisted_1$s = ["title"];
18581
+ const _hoisted_2$p = { key: 0 };
18582
+ const _hoisted_3$l = ["value", "placeholder"];
18583
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18580
18584
  __name: "FloatInput",
18581
18585
  props: {
18582
18586
  description: { default: "" },
@@ -18603,7 +18607,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18603
18607
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18604
18608
  title: _ctx.description
18605
18609
  }, [
18606
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$l, [
18610
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
18607
18611
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18608
18612
  ])) : createCommentVNode("", true),
18609
18613
  createElementVNode("input", {
@@ -18612,15 +18616,15 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18612
18616
  onInput: handleInput,
18613
18617
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18614
18618
  placeholder: _ctx.placeholder
18615
- }, null, 42, _hoisted_3$i)
18616
- ], 10, _hoisted_1$o);
18619
+ }, null, 42, _hoisted_3$l)
18620
+ ], 10, _hoisted_1$s);
18617
18621
  };
18618
18622
  }
18619
18623
  });
18620
- const _hoisted_1$n = ["title"];
18621
- const _hoisted_2$k = { key: 0 };
18622
- const _hoisted_3$h = ["value", "placeholder"];
18623
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
18624
+ const _hoisted_1$r = ["title"];
18625
+ const _hoisted_2$o = { key: 0 };
18626
+ const _hoisted_3$k = ["value", "placeholder"];
18627
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18624
18628
  __name: "IntInput",
18625
18629
  props: {
18626
18630
  description: { default: "" },
@@ -18647,7 +18651,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18647
18651
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18648
18652
  title: _ctx.description
18649
18653
  }, [
18650
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, [
18654
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
18651
18655
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18652
18656
  ])) : createCommentVNode("", true),
18653
18657
  createElementVNode("input", {
@@ -18656,15 +18660,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18656
18660
  onInput: handleInput,
18657
18661
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18658
18662
  placeholder: _ctx.placeholder
18659
- }, null, 42, _hoisted_3$h)
18660
- ], 10, _hoisted_1$n);
18663
+ }, null, 42, _hoisted_3$k)
18664
+ ], 10, _hoisted_1$r);
18661
18665
  };
18662
18666
  }
18663
18667
  });
18664
- const _hoisted_1$m = ["title"];
18665
- const _hoisted_2$j = { key: 0 };
18666
- const _hoisted_3$g = ["value", "placeholder"];
18667
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
18668
+ const _hoisted_1$q = ["title"];
18669
+ const _hoisted_2$n = { key: 0 };
18670
+ const _hoisted_3$j = ["value", "placeholder"];
18671
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18668
18672
  __name: "JSONInput",
18669
18673
  props: {
18670
18674
  description: { default: "" },
@@ -18687,7 +18691,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18687
18691
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18688
18692
  title: _ctx.description
18689
18693
  }, [
18690
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$j, [
18694
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18691
18695
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18692
18696
  ])) : createCommentVNode("", true),
18693
18697
  createElementVNode("textarea", {
@@ -18695,16 +18699,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18695
18699
  onInput: handleInput,
18696
18700
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18697
18701
  placeholder: _ctx.placeholder
18698
- }, null, 42, _hoisted_3$g)
18699
- ], 10, _hoisted_1$m);
18702
+ }, null, 42, _hoisted_3$j)
18703
+ ], 10, _hoisted_1$q);
18700
18704
  };
18701
18705
  }
18702
18706
  });
18703
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1fc4f739"]]);
18704
- const _hoisted_1$l = ["title"];
18705
- const _hoisted_2$i = { key: 0 };
18706
- const _hoisted_3$f = ["onKeydown", "disabled"];
18707
- const _hoisted_4$7 = ["onClick"];
18707
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1fc4f739"]]);
18708
+ const _hoisted_1$p = ["title"];
18709
+ const _hoisted_2$m = { key: 0 };
18710
+ const _hoisted_3$i = ["disabled"];
18711
+ const _hoisted_4$9 = ["onClick"];
18708
18712
  const _hoisted_5$6 = {
18709
18713
  key: 0,
18710
18714
  class: "option-label"
@@ -18714,7 +18718,7 @@ const _hoisted_6$5 = {
18714
18718
  class: "option-label"
18715
18719
  };
18716
18720
  const _hoisted_7$2 = { class: "option-description" };
18717
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
18721
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18718
18722
  __name: "LinkField",
18719
18723
  props: {
18720
18724
  description: { default: "" },
@@ -18838,7 +18842,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18838
18842
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18839
18843
  title: _ctx.description
18840
18844
  }, [
18841
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$i, [
18845
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18842
18846
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18843
18847
  ])) : createCommentVNode("", true),
18844
18848
  withDirectives(createElementVNode("input", {
@@ -18850,7 +18854,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18850
18854
  onFocus: initList,
18851
18855
  onInput: handleInput,
18852
18856
  disabled: !_ctx.editMode
18853
- }, null, 40, _hoisted_3$f), [
18857
+ }, null, 40, _hoisted_3$i), [
18854
18858
  [vModelText, selectedItem.value]
18855
18859
  ]),
18856
18860
  createElementVNode("div", {
@@ -18875,21 +18879,21 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18875
18879
  createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
18876
18880
  ])) : (openBlock(), createElementBlock("div", _hoisted_6$5, " ID: " + toDisplayString(option2.value), 1)),
18877
18881
  createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
18878
- ], 8, _hoisted_4$7);
18882
+ ], 8, _hoisted_4$9);
18879
18883
  }), 128))
18880
18884
  ], 2)
18881
18885
  ]))
18882
18886
  ], 2)
18883
- ], 10, _hoisted_1$l);
18887
+ ], 10, _hoisted_1$p);
18884
18888
  };
18885
18889
  }
18886
18890
  });
18887
- const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-947beb38"]]);
18888
- const _hoisted_1$k = ["title"];
18889
- const _hoisted_2$h = { key: 0 };
18890
- const _hoisted_3$e = { class: "password-input-wrap" };
18891
- const _hoisted_4$6 = ["value", "type", "placeholder"];
18892
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18891
+ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-947beb38"]]);
18892
+ const _hoisted_1$o = ["title"];
18893
+ const _hoisted_2$l = { key: 0 };
18894
+ const _hoisted_3$h = { class: "password-input-wrap" };
18895
+ const _hoisted_4$8 = ["value", "type", "placeholder"];
18896
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18893
18897
  __name: "PasswordInput",
18894
18898
  props: {
18895
18899
  description: { default: "" },
@@ -18923,31 +18927,31 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18923
18927
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18924
18928
  title: _ctx.description
18925
18929
  }, [
18926
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
18930
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$l, [
18927
18931
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18928
18932
  ])) : createCommentVNode("", true),
18929
- createElementVNode("div", _hoisted_3$e, [
18933
+ createElementVNode("div", _hoisted_3$h, [
18930
18934
  createElementVNode("input", {
18931
18935
  value: _ctx.modelValue,
18932
18936
  type: unref(inputType),
18933
18937
  onInput: handleInput,
18934
18938
  placeholder: _ctx.placeholder,
18935
18939
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18936
- }, null, 42, _hoisted_4$6),
18940
+ }, null, 42, _hoisted_4$8),
18937
18941
  createElementVNode("div", {
18938
18942
  class: "icon-font password-icon",
18939
18943
  onMousedown: toggleInputType
18940
18944
  }, " visibility ", 32)
18941
18945
  ])
18942
- ], 10, _hoisted_1$k);
18946
+ ], 10, _hoisted_1$o);
18943
18947
  };
18944
18948
  }
18945
18949
  });
18946
- const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-eec3e237"]]);
18947
- const _hoisted_1$j = ["title"];
18948
- const _hoisted_2$g = ["for"];
18949
- const _hoisted_3$d = ["id", "type", "placeholder", "required", "pattern"];
18950
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18950
+ const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-eec3e237"]]);
18951
+ const _hoisted_1$n = ["title"];
18952
+ const _hoisted_2$k = ["for"];
18953
+ const _hoisted_3$g = ["id", "type", "placeholder", "required", "pattern"];
18954
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18951
18955
  __name: "Password",
18952
18956
  props: {
18953
18957
  field: {},
@@ -18987,22 +18991,22 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18987
18991
  class: { "no-edit": !_ctx.editMode },
18988
18992
  required: _ctx.required,
18989
18993
  pattern: _ctx.pattern
18990
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$d), [
18994
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$g), [
18991
18995
  [vModelDynamic, inputVal.value]
18992
18996
  ])
18993
- ], 8, _hoisted_2$g),
18994
- createVNode(unref(_sfc_main$N), {
18997
+ ], 8, _hoisted_2$k),
18998
+ createVNode(unref(_sfc_main$R), {
18995
18999
  onClick: showPassword,
18996
19000
  icon: unref(seePassword) ? "visibility" : "visibility_off"
18997
19001
  }, null, 8, ["icon"])
18998
- ], 10, _hoisted_1$j)) : createCommentVNode("", true);
19002
+ ], 10, _hoisted_1$n)) : createCommentVNode("", true);
18999
19003
  };
19000
19004
  }
19001
19005
  });
19002
- const Password = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-800f4000"]]);
19003
- const _hoisted_1$i = ["title"];
19004
- const _hoisted_2$f = { key: 0 };
19005
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
19006
+ const Password = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-800f4000"]]);
19007
+ const _hoisted_1$m = ["title"];
19008
+ const _hoisted_2$j = { key: 0 };
19009
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
19006
19010
  __name: "ReadOnlyInput",
19007
19011
  props: {
19008
19012
  field: {},
@@ -19015,17 +19019,16 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
19015
19019
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19016
19020
  title: _ctx.field.description
19017
19021
  }, [
19018
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19022
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19019
19023
  createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
19020
- ], 10, _hoisted_1$i);
19024
+ ], 10, _hoisted_1$m);
19021
19025
  };
19022
19026
  }
19023
19027
  });
19024
- const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-b3b5a368"]]);
19025
- const _hoisted_1$h = ["title"];
19026
- const _hoisted_2$e = ["onClick"];
19027
- const _hoisted_3$c = ["onClick"];
19028
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19028
+ const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3b5a368"]]);
19029
+ const _hoisted_1$l = ["title"];
19030
+ const _hoisted_2$i = ["onClick"];
19031
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19029
19032
  __name: "SelectField",
19030
19033
  props: {
19031
19034
  inputType: {},
@@ -19157,7 +19160,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19157
19160
  for: "label",
19158
19161
  class: normalizeClass({ active: showList.value })
19159
19162
  }, [
19160
- createVNode(unref(_sfc_main$P), { input: _ctx.label }, null, 8, ["input"])
19163
+ createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
19161
19164
  ], 2)) : createCommentVNode("", true),
19162
19165
  createElementVNode("div", {
19163
19166
  class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
@@ -19169,8 +19172,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19169
19172
  class: normalizeClass(["input", { active: showList.value }]),
19170
19173
  name: "select-input"
19171
19174
  }, [
19172
- createVNode(unref(_sfc_main$P), { input: displayValue.value }, null, 8, ["input"])
19173
- ], 10, _hoisted_2$e),
19175
+ createVNode(unref(_sfc_main$T), { input: displayValue.value }, null, 8, ["input"])
19176
+ ], 2),
19174
19177
  (openBlock(), createBlock(Teleport, { to: "#app" }, [
19175
19178
  createElementVNode("div", {
19176
19179
  ref_key: "dropdown",
@@ -19182,23 +19185,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19182
19185
  key: option2.value,
19183
19186
  onClick: ($event) => handleSelect(option2)
19184
19187
  }, [
19185
- createVNode(unref(_sfc_main$P), {
19188
+ createVNode(unref(_sfc_main$T), {
19186
19189
  input: option2.label
19187
19190
  }, null, 8, ["input"])
19188
- ], 8, _hoisted_3$c);
19191
+ ], 8, _hoisted_2$i);
19189
19192
  }), 128))
19190
19193
  ], 2)
19191
19194
  ]))
19192
19195
  ], 2)
19193
- ], 10, _hoisted_1$h);
19196
+ ], 10, _hoisted_1$l);
19194
19197
  };
19195
19198
  }
19196
19199
  });
19197
- const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-028ea61b"]]);
19198
- const _hoisted_1$g = ["title"];
19199
- const _hoisted_2$d = { key: 0 };
19200
- const _hoisted_3$b = ["value", "placeholder"];
19201
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19200
+ const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-028ea61b"]]);
19201
+ const _hoisted_1$k = ["title"];
19202
+ const _hoisted_2$h = { key: 0 };
19203
+ const _hoisted_3$f = ["value", "placeholder"];
19204
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19202
19205
  __name: "RichTextEditor",
19203
19206
  props: {
19204
19207
  description: { default: "" },
@@ -19221,7 +19224,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19221
19224
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19222
19225
  title: _ctx.description
19223
19226
  }, [
19224
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
19227
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
19225
19228
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
19226
19229
  ])) : createCommentVNode("", true),
19227
19230
  createElementVNode("textarea", {
@@ -19229,12 +19232,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19229
19232
  onInput: handleInput,
19230
19233
  placeholder: _ctx.placeholder,
19231
19234
  class: normalizeClass({ "no-edit": !_ctx.editMode })
19232
- }, null, 42, _hoisted_3$b)
19233
- ], 10, _hoisted_1$g);
19235
+ }, null, 42, _hoisted_3$f)
19236
+ ], 10, _hoisted_1$k);
19234
19237
  };
19235
19238
  }
19236
19239
  });
19237
- const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69a60381"]]);
19240
+ const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-69a60381"]]);
19238
19241
  /*!
19239
19242
  * vue-draggable-next v2.2.0
19240
19243
  * (c) 2023 Anish George
@@ -21757,13 +21760,13 @@ const VueDraggableNext = defineComponent({
21757
21760
  }
21758
21761
  }
21759
21762
  });
21760
- const _hoisted_1$f = ["title"];
21761
- const _hoisted_2$c = { class: "bagel-input" };
21762
- const _hoisted_3$a = { class: "table-side-scroll" };
21763
- const _hoisted_4$5 = { class: "table-header" };
21763
+ const _hoisted_1$j = ["title"];
21764
+ const _hoisted_2$g = { class: "bagel-input" };
21765
+ const _hoisted_3$e = { class: "table-side-scroll" };
21766
+ const _hoisted_4$7 = { class: "table-header" };
21764
21767
  const _hoisted_5$5 = { class: "table-reorder" };
21765
21768
  const _hoisted_6$4 = { class: "table-action" };
21766
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21769
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21767
21770
  __name: "TableField",
21768
21771
  props: {
21769
21772
  description: { default: "" },
@@ -21828,11 +21831,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21828
21831
  class: "table-field-wrap",
21829
21832
  title: _ctx.description
21830
21833
  }, [
21831
- createElementVNode("div", _hoisted_2$c, [
21834
+ createElementVNode("div", _hoisted_2$g, [
21832
21835
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
21833
21836
  ]),
21834
- createElementVNode("div", _hoisted_3$a, [
21835
- createElementVNode("div", _hoisted_4$5, [
21837
+ createElementVNode("div", _hoisted_3$e, [
21838
+ createElementVNode("div", _hoisted_4$7, [
21836
21839
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
21837
21840
  return openBlock(), createElementBlock("div", {
21838
21841
  class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
@@ -21860,7 +21863,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21860
21863
  key: row.id
21861
21864
  }, [
21862
21865
  createElementVNode("div", _hoisted_5$5, [
21863
- createVNode(_sfc_main$k, { icon: "more_vert" })
21866
+ createVNode(_sfc_main$o, { icon: "more_vert" })
21864
21867
  ]),
21865
21868
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
21866
21869
  return openBlock(), createElementBlock("div", {
@@ -21877,7 +21880,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21877
21880
  ], 2);
21878
21881
  }), 128)),
21879
21882
  createElementVNode("div", _hoisted_6$4, [
21880
- createVNode(_sfc_main$k, {
21883
+ createVNode(_sfc_main$o, {
21881
21884
  icon: "delete",
21882
21885
  onClick: ($event) => removeRow(index2)
21883
21886
  }, null, 8, ["onClick"])
@@ -21903,15 +21906,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21903
21906
  ]),
21904
21907
  _: 1
21905
21908
  })
21906
- ], 8, _hoisted_1$f);
21909
+ ], 8, _hoisted_1$j);
21907
21910
  };
21908
21911
  }
21909
21912
  });
21910
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b01223bc"]]);
21911
- const _hoisted_1$e = ["title"];
21912
- const _hoisted_2$b = { key: 0 };
21913
- const _hoisted_3$9 = ["value", "title", "placeholder"];
21914
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
21913
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b01223bc"]]);
21914
+ const _hoisted_1$i = ["title"];
21915
+ const _hoisted_2$f = { key: 0 };
21916
+ const _hoisted_3$d = ["value", "title", "placeholder"];
21917
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
21915
21918
  __name: "DurationInput",
21916
21919
  props: {
21917
21920
  description: { default: "" },
@@ -21938,7 +21941,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
21938
21941
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
21939
21942
  title: _ctx.description
21940
21943
  }, [
21941
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$b, [
21944
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, [
21942
21945
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21943
21946
  ])) : createCommentVNode("", true),
21944
21947
  createElementVNode("input", {
@@ -21948,15 +21951,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
21948
21951
  onInput: handleInput,
21949
21952
  placeholder: _ctx.placeholder,
21950
21953
  class: normalizeClass({ "no-edit": !_ctx.editMode })
21951
- }, null, 42, _hoisted_3$9)
21952
- ], 10, _hoisted_1$e);
21954
+ }, null, 42, _hoisted_3$d)
21955
+ ], 10, _hoisted_1$i);
21953
21956
  };
21954
21957
  }
21955
21958
  });
21956
- const _hoisted_1$d = ["title"];
21957
- const _hoisted_2$a = ["for"];
21958
- const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
21959
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
21959
+ const _hoisted_1$h = ["title"];
21960
+ const _hoisted_2$e = ["for"];
21961
+ const _hoisted_3$c = ["id", "placeholder", "required", "pattern"];
21962
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
21960
21963
  __name: "TextInput",
21961
21964
  props: {
21962
21965
  id: {},
@@ -22005,14 +22008,278 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22005
22008
  class: { "no-edit": !_ctx.editMode },
22006
22009
  required: _ctx.required,
22007
22010
  pattern: _ctx.pattern
22011
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$c), [
22012
+ [vModelText, unref(inputVal)]
22013
+ ])
22014
+ ], 8, _hoisted_2$e)
22015
+ ], 10, _hoisted_1$h);
22016
+ };
22017
+ }
22018
+ });
22019
+ const _hoisted_1$g = ["title"];
22020
+ const _hoisted_2$d = { key: 0 };
22021
+ const _hoisted_3$b = {
22022
+ key: 1,
22023
+ class: "character-limit"
22024
+ };
22025
+ const _hoisted_4$6 = ["value"];
22026
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22027
+ __name: "TextArea",
22028
+ props: {
22029
+ description: { default: "" },
22030
+ label: { default: "" },
22031
+ modelValue: {},
22032
+ placeholder: { default: "" },
22033
+ editMode: { type: Boolean, default: true },
22034
+ small: { type: Boolean },
22035
+ nativeInputAttrs: {},
22036
+ showCharacterLimit: { type: Boolean }
22037
+ },
22038
+ emits: ["update:modelValue"],
22039
+ setup(__props, { emit: __emit }) {
22040
+ const emits = __emit;
22041
+ const handleInput = (e) => {
22042
+ const el = e.target;
22043
+ emits("update:modelValue", el.value);
22044
+ };
22045
+ return (_ctx, _cache) => {
22046
+ var _a, _b;
22047
+ return openBlock(), createElementBlock("div", {
22048
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22049
+ title: _ctx.description
22050
+ }, [
22051
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
22052
+ createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
22053
+ ])) : createCommentVNode("", true),
22054
+ _ctx.showCharacterLimit ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString((_a = _ctx.modelValue) == null ? void 0 : _a.length) + " " + toDisplayString(((_b = _ctx.nativeInputAttrs) == null ? void 0 : _b.maxlength) ? `/${_ctx.nativeInputAttrs.maxlength}` : ""), 1)) : createCommentVNode("", true),
22055
+ createElementVNode("textarea", mergeProps({
22056
+ value: _ctx.modelValue,
22057
+ onInput: handleInput,
22058
+ class: { "no-edit": !_ctx.editMode }
22059
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$6)
22060
+ ], 10, _hoisted_1$g);
22061
+ };
22062
+ }
22063
+ });
22064
+ const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5b28c58"]]);
22065
+ const _hoisted_1$f = ["title"];
22066
+ const _hoisted_2$c = ["for"];
22067
+ const _hoisted_3$a = ["id", "placeholder", "required"];
22068
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22069
+ __name: "ColorPicker",
22070
+ props: {
22071
+ field: {},
22072
+ modelValue: {},
22073
+ editMode: { type: Boolean, default: true },
22074
+ small: { type: Boolean },
22075
+ required: { type: Boolean },
22076
+ nativeInputAttrs: {}
22077
+ },
22078
+ emits: ["update:modelValue"],
22079
+ setup(__props, { emit: __emit }) {
22080
+ const emits = __emit;
22081
+ const props2 = __props;
22082
+ const inputVal = ref(props2.modelValue);
22083
+ watch(
22084
+ () => inputVal.value,
22085
+ (newVal) => emits("update:modelValue", newVal)
22086
+ );
22087
+ return (_ctx, _cache) => {
22088
+ var _a;
22089
+ return _ctx.field.id ? (openBlock(), createElementBlock("div", {
22090
+ key: 0,
22091
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22092
+ title: _ctx.field.description
22093
+ }, [
22094
+ createElementVNode("label", {
22095
+ for: _ctx.field.id
22096
+ }, [
22097
+ createTextVNode(toDisplayString(_ctx.field.label) + " ", 1),
22098
+ withDirectives(createElementVNode("input", mergeProps({
22099
+ id: _ctx.field.id,
22100
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
22101
+ type: "color",
22102
+ placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
22103
+ class: { "no-edit": !_ctx.editMode },
22104
+ required: _ctx.required
22105
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$a), [
22106
+ [vModelText, inputVal.value]
22107
+ ])
22108
+ ], 8, _hoisted_2$c)
22109
+ ], 10, _hoisted_1$f)) : createCommentVNode("", true);
22110
+ };
22111
+ }
22112
+ });
22113
+ const _hoisted_1$e = { key: 0 };
22114
+ const _hoisted_2$b = ["disabled"];
22115
+ const _hoisted_3$9 = { class: "custom-select-drop" };
22116
+ const _hoisted_4$5 = ["onClick"];
22117
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22118
+ __name: "DynamicLinkField",
22119
+ props: {
22120
+ label: { default: "" },
22121
+ modelValue: {},
22122
+ useId: { type: Boolean, default: false },
22123
+ bagelApp: {},
22124
+ entity: {},
22125
+ editMode: { type: Boolean },
22126
+ filters: { default: {} },
22127
+ small: { type: Boolean }
22128
+ },
22129
+ emits: ["update:modelValue", "selected"],
22130
+ setup(__props, { emit: __emit }) {
22131
+ const props2 = __props;
22132
+ const showList = ref(false);
22133
+ const linkOptions = ref([]);
22134
+ const item = ref();
22135
+ const emits = __emit;
22136
+ const selectedItem = ref();
22137
+ function handleSelect(item2) {
22138
+ showList.value = false;
22139
+ selectedItem.value = item2;
22140
+ if (props2.useId) {
22141
+ selectedItem.value = item2.value;
22142
+ } else {
22143
+ selectedItem.value = item2.label || item2.description || item2.value;
22144
+ }
22145
+ emits("update:modelValue", item2.value);
22146
+ emits("selected");
22147
+ }
22148
+ async function getLinkOptions(inputString) {
22149
+ var _a;
22150
+ linkOptions.value = await ((_a = props2.bagelApp) == null ? void 0 : _a.entity.getLinkedFieldList({
22151
+ entity: props2.entity,
22152
+ txt: inputString,
22153
+ reference_entity: "",
22154
+ filters: props2.filters
22155
+ }));
22156
+ }
22157
+ async function initList(e) {
22158
+ await getLinkOptions(getElValue(e));
22159
+ showList.value = true;
22160
+ }
22161
+ function getElValue(e) {
22162
+ const el = e.target;
22163
+ return el.value.trim();
22164
+ }
22165
+ function handleEnter(e) {
22166
+ emits("update:modelValue", getElValue(e));
22167
+ emits("selected");
22168
+ showList.value = false;
22169
+ }
22170
+ function handleClick(e) {
22171
+ const { target } = e;
22172
+ if (target.name != "link-input" && showList.value == true) {
22173
+ showList.value = false;
22174
+ emits("update:modelValue", item.value);
22175
+ emits("selected");
22176
+ }
22177
+ }
22178
+ const handleInput = async (e) => {
22179
+ showList.value = true;
22180
+ const el = e.target;
22181
+ emits("update:modelValue", el.value);
22182
+ await getLinkOptions(el.value);
22183
+ };
22184
+ onMounted(() => {
22185
+ selectedItem.value = props2.modelValue;
22186
+ document.addEventListener("click", handleClick);
22187
+ });
22188
+ return (_ctx, _cache) => {
22189
+ const _component_LangText = resolveComponent("LangText");
22190
+ return openBlock(), createElementBlock("div", {
22191
+ class: normalizeClass(["bagel-input", { small: _ctx.small }])
22192
+ }, [
22193
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$e, [
22194
+ createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
22195
+ ])) : createCommentVNode("", true),
22196
+ withDirectives(createElementVNode("input", {
22197
+ onKeydown: withKeys(handleEnter, ["enter"]),
22198
+ autocomplete: "off",
22199
+ onClick: _cache[0] || (_cache[0] = ($event) => showList.value = true),
22200
+ name: "link-input",
22201
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedItem.value = $event),
22202
+ onFocus: initList,
22203
+ onInput: handleInput,
22204
+ disabled: !_ctx.editMode
22205
+ }, null, 40, _hoisted_2$b), [
22206
+ [vModelText, selectedItem.value]
22207
+ ]),
22208
+ createElementVNode("div", {
22209
+ class: normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
22210
+ name: "link-input"
22211
+ }, [
22212
+ createElementVNode("div", _hoisted_3$9, [
22213
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(linkOptions.value, (item2) => {
22214
+ return openBlock(), createElementBlock("div", {
22215
+ key: unref(formatString)(item2.value, "pascal"),
22216
+ onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
22217
+ }, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$5);
22218
+ }), 128))
22219
+ ])
22220
+ ], 2)
22221
+ ], 2);
22222
+ };
22223
+ }
22224
+ });
22225
+ const _hoisted_1$d = ["title"];
22226
+ const _hoisted_2$a = ["for"];
22227
+ const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
22228
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22229
+ __name: "PlainText",
22230
+ props: {
22231
+ field: {},
22232
+ modelValue: {},
22233
+ editMode: { type: Boolean, default: true },
22234
+ small: { type: Boolean },
22235
+ required: { type: Boolean },
22236
+ pattern: {},
22237
+ nativeInputAttrs: {}
22238
+ },
22239
+ emits: ["update:modelValue"],
22240
+ setup(__props, { emit: __emit }) {
22241
+ const emit2 = __emit;
22242
+ const props2 = __props;
22243
+ let inputVal = ref();
22244
+ watch(
22245
+ () => inputVal.value,
22246
+ (newVal) => emit2("update:modelValue", newVal)
22247
+ );
22248
+ watch(
22249
+ () => props2.modelValue,
22250
+ (newVal) => {
22251
+ if (newVal !== inputVal.value)
22252
+ inputVal.value = newVal;
22253
+ },
22254
+ { immediate: true }
22255
+ );
22256
+ return (_ctx, _cache) => {
22257
+ return _ctx.field.id ? (openBlock(), createElementBlock("div", {
22258
+ key: 0,
22259
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22260
+ title: _ctx.field.description
22261
+ }, [
22262
+ createElementVNode("label", {
22263
+ for: _ctx.field.id
22264
+ }, [
22265
+ createTextVNode(toDisplayString(_ctx.field.label) + " ", 1),
22266
+ withDirectives(createElementVNode("input", mergeProps({
22267
+ id: _ctx.field.id,
22268
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
22269
+ type: "text",
22270
+ placeholder: _ctx.field.placeholder || _ctx.field.label,
22271
+ class: { "no-edit": !_ctx.editMode },
22272
+ required: _ctx.required,
22273
+ pattern: _ctx.pattern
22008
22274
  }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
22009
22275
  [vModelText, unref(inputVal)]
22010
22276
  ])
22011
22277
  ], 8, _hoisted_2$a)
22012
- ], 10, _hoisted_1$d);
22278
+ ], 10, _hoisted_1$d)) : createCommentVNode("", true);
22013
22279
  };
22014
22280
  }
22015
22281
  });
22282
+ const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
22016
22283
  function _isPlaceholder(a) {
22017
22284
  return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
22018
22285
  }
@@ -28457,7 +28724,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28457
28724
  return (_ctx, _cache) => {
28458
28725
  var _a, _b, _c, _d, _e, _f;
28459
28726
  return openBlock(), createElementBlock("div", _hoisted_1, [
28460
- createVNode(unref(_sfc_main$E), null, {
28727
+ createVNode(unref(_sfc_main$I), null, {
28461
28728
  default: withCtx(() => [
28462
28729
  createTextVNode("Whatsapp Template")
28463
28730
  ]),
@@ -28466,7 +28733,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28466
28733
  createElementVNode("div", _hoisted_2, [
28467
28734
  createElementVNode("div", _hoisted_3, [
28468
28735
  createElementVNode("div", _hoisted_4, [
28469
- createVNode(unref(_sfc_main$B), {
28736
+ createVNode(unref(_sfc_main$F), {
28470
28737
  schema: _ctx.whatsappTemplateSchema(),
28471
28738
  modelValue: unref(localWhatsappData),
28472
28739
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
@@ -28497,41 +28764,45 @@ export {
28497
28764
  BarChart,
28498
28765
  Btn,
28499
28766
  CheckInput,
28767
+ Checkbox,
28768
+ _sfc_main$4 as ColorPicker,
28500
28769
  Comments,
28501
28770
  ContactArrayInput,
28502
- _sfc_main$x as ContactSubmissions,
28771
+ _sfc_main$B as ContactSubmissions,
28503
28772
  CurrencyInput,
28504
28773
  DataPreview,
28505
28774
  DateInput,
28506
- _sfc_main$f as DatetimeInput,
28507
- _sfc_main$J as DropDown,
28508
- _sfc_main$3 as DurationInput,
28775
+ _sfc_main$j as DatetimeInput,
28776
+ _sfc_main$N as DropDown,
28777
+ _sfc_main$7 as DurationInput,
28778
+ _sfc_main$3 as DynamicLinkField,
28509
28779
  EmailInput,
28510
28780
  FileUploadInput,
28511
- _sfc_main$d as FloatInput,
28512
- _sfc_main$B as FormSchema,
28513
- _sfc_main$c as IntInput,
28514
- _sfc_main$l as ItemRef,
28781
+ _sfc_main$h as FloatInput,
28782
+ _sfc_main$F as FormSchema,
28783
+ _sfc_main$g as IntInput,
28784
+ _sfc_main$p as ItemRef,
28515
28785
  JSONInput,
28516
- _sfc_main$P as LangText,
28786
+ _sfc_main$T as LangText,
28517
28787
  _sfc_main$1 as Lineart,
28518
28788
  LinkField,
28519
- _sfc_main$H as ListItem,
28520
- _sfc_main$I as ListView,
28521
- _sfc_main$N as MaterialIcon,
28789
+ _sfc_main$L as ListItem,
28790
+ _sfc_main$M as ListView,
28791
+ _sfc_main$R as MaterialIcon,
28522
28792
  MiscFieldsInput,
28523
- _sfc_main$K as Modal,
28793
+ _sfc_main$O as Modal,
28524
28794
  ModalForm,
28525
28795
  ModalPlugin,
28526
28796
  MsgTemplate,
28527
- _sfc_main$M as NavBar,
28528
- _sfc_main$E as PageTitle,
28797
+ _sfc_main$Q as NavBar,
28798
+ _sfc_main$I as PageTitle,
28529
28799
  Password,
28530
28800
  PasswordInput,
28531
- _sfc_main$w as PersonPreview,
28801
+ _sfc_main$A as PersonPreview,
28532
28802
  PersonPreviewInput,
28533
- _sfc_main$j as PlainInputField,
28534
- _sfc_main$O as RTXEditor,
28803
+ _sfc_main$n as PlainInputField,
28804
+ PlainText,
28805
+ _sfc_main$S as RTXEditor,
28535
28806
  ReadOnlyInput,
28536
28807
  RichTextEditor,
28537
28808
  RouterWrapper,
@@ -28539,8 +28810,9 @@ export {
28539
28810
  TabbedLayout,
28540
28811
  TableField,
28541
28812
  TableSchema,
28542
- _sfc_main$2 as TextInput,
28543
- _sfc_main$m as TextVariableExamples,
28813
+ TextArea,
28814
+ _sfc_main$6 as TextInput,
28815
+ _sfc_main$q as TextVariableExamples,
28544
28816
  TextVariablesInput,
28545
28817
  ToggleSwitchInput,
28546
28818
  TopBar,