@bagelink/vue 0.0.145 → 0.0.147

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
@@ -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$J = { class: "full-nav" };
14597
+ const _hoisted_4$r = { 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$J, [
14628
+ createElementVNode("div", _hoisted_4$r, [
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,12 @@ 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 = ["onKeydown"];
14726
+ const _hoisted_2$N = { class: "tool-bar" };
14727
+ const _hoisted_3$I = { class: "modal-title" };
14728
+ const _hoisted_4$q = { class: "modal-footer mt-3" };
14729
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
14730
14730
  __name: "Modal",
14731
14731
  props: {
14732
14732
  side: { type: Boolean },
@@ -14771,12 +14771,12 @@ 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, [
14774
+ createElementVNode("header", _hoisted_2$N, [
14775
14775
  renderSlot(_ctx.$slots, "toolbar")
14776
14776
  ]),
14777
- createElementVNode("h3", _hoisted_3$E, toDisplayString(_ctx.title), 1),
14777
+ createElementVNode("h3", _hoisted_3$I, toDisplayString(_ctx.title), 1),
14778
14778
  renderSlot(_ctx.$slots, "default"),
14779
- createElementVNode("footer", _hoisted_4$o, [
14779
+ createElementVNode("footer", _hoisted_4$q, [
14780
14780
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.actions, (action, i2) => {
14781
14781
  return openBlock(), createBlock(unref(Btn), mergeProps({
14782
14782
  key: i2,
@@ -14787,14 +14787,14 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14787
14787
  renderSlot(_ctx.$slots, "footer")
14788
14788
  ])
14789
14789
  ])
14790
- ], 42, _hoisted_1$R);
14790
+ ], 42, _hoisted_1$V);
14791
14791
  };
14792
14792
  }
14793
14793
  });
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({
14794
+ const _hoisted_1$U = { class: "dropdown-title" };
14795
+ const _hoisted_2$M = { class: "dropdown-body" };
14796
+ const _hoisted_3$H = ["onClick"];
14797
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
14798
14798
  __name: "DropDown",
14799
14799
  props: {
14800
14800
  modelValue: String,
@@ -14820,31 +14820,31 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14820
14820
  class: normalizeClass(["dropdown", { opendrop: isOpen.value }]),
14821
14821
  onClick: toggleDropdown
14822
14822
  }, [
14823
- createElementVNode("div", _hoisted_1$Q, [
14823
+ createElementVNode("div", _hoisted_1$U, [
14824
14824
  createTextVNode(toDisplayString(selectedOption.value || __props.placeholder) + " ", 1),
14825
- createVNode(unref(_sfc_main$N), { icon: "keyboard_arrow_down" })
14825
+ createVNode(unref(_sfc_main$R), { icon: "keyboard_arrow_down" })
14826
14826
  ]),
14827
- createElementVNode("div", _hoisted_2$I, [
14827
+ createElementVNode("div", _hoisted_2$M, [
14828
14828
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option2, index2) => {
14829
14829
  return openBlock(), createElementBlock("p", {
14830
14830
  key: index2,
14831
14831
  onClick: withModifiers(($event) => selectOption(option2, index2), ["stop"])
14832
- }, toDisplayString(option2), 9, _hoisted_3$D);
14832
+ }, toDisplayString(option2), 9, _hoisted_3$H);
14833
14833
  }), 128))
14834
14834
  ])
14835
14835
  ], 2);
14836
14836
  };
14837
14837
  }
14838
14838
  });
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 = {
14839
+ const _hoisted_1$T = { class: "card list-view grid thin" };
14840
+ const _hoisted_2$L = { class: "list-header flex gap-3 align-items-top" };
14841
+ const _hoisted_3$G = {
14842
14842
  key: 0,
14843
14843
  class: "bagel-input search-wrap"
14844
14844
  };
14845
- const _hoisted_4$n = ["placeholder"];
14845
+ const _hoisted_4$p = ["placeholder"];
14846
14846
  const _hoisted_5$k = { class: "list-content grid auto-flow-rows align-items-start" };
14847
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
14847
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
14848
14848
  __name: "ListView",
14849
14849
  props: {
14850
14850
  enableAdd: { type: Boolean },
@@ -14860,17 +14860,17 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
14860
14860
  debounce(() => emit2("debounce", searchTerm.value));
14861
14861
  };
14862
14862
  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, [
14863
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
14864
+ createElementVNode("div", _hoisted_2$L, [
14865
+ _ctx.enableSearch ? (openBlock(), createElementBlock("div", _hoisted_3$G, [
14866
14866
  withDirectives(createElementVNode("input", {
14867
14867
  placeholder: _ctx.searchPlaceholder,
14868
14868
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
14869
14869
  onInput: _cache[1] || (_cache[1] = ($event) => search())
14870
- }, null, 40, _hoisted_4$n), [
14870
+ }, null, 40, _hoisted_4$p), [
14871
14871
  [vModelText, searchTerm.value]
14872
14872
  ]),
14873
- createVNode(unref(_sfc_main$N), {
14873
+ createVNode(unref(_sfc_main$R), {
14874
14874
  class: "txtgray",
14875
14875
  icon: "search"
14876
14876
  })
@@ -14889,9 +14889,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
14889
14889
  };
14890
14890
  }
14891
14891
  });
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({
14892
+ const _hoisted_1$S = { class: "txt16 no-margin" };
14893
+ const _hoisted_2$K = { class: "txt14 no-margin txtgray" };
14894
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
14895
14895
  __name: "ListItem",
14896
14896
  props: {
14897
14897
  to: {}
@@ -14903,10 +14903,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
14903
14903
  class: "list-item ellipsis"
14904
14904
  }, {
14905
14905
  default: withCtx(() => [
14906
- createElementVNode("p", _hoisted_1$O, [
14906
+ createElementVNode("p", _hoisted_1$S, [
14907
14907
  renderSlot(_ctx.$slots, "default")
14908
14908
  ]),
14909
- createElementVNode("p", _hoisted_2$G, [
14909
+ createElementVNode("p", _hoisted_2$K, [
14910
14910
  renderSlot(_ctx.$slots, "subtitle")
14911
14911
  ])
14912
14912
  ]),
@@ -14915,11 +14915,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
14915
14915
  };
14916
14916
  }
14917
14917
  });
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({
14918
+ const _hoisted_1$R = { class: "h-100 grid list-view gap-3" };
14919
+ const _hoisted_2$J = { class: "card tabs-top" };
14920
+ const _hoisted_3$F = { class: "tabs grid auto-flow-columns fit-content" };
14921
+ const _hoisted_4$o = ["onClick"];
14922
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
14923
14923
  __name: "TabbedLayout",
14924
14924
  props: {
14925
14925
  title: {},
@@ -14947,10 +14947,10 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14947
14947
  activeTab.value = firstTab;
14948
14948
  });
14949
14949
  return (_ctx, _cache) => {
14950
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
14951
- createElementVNode("div", _hoisted_2$F, [
14950
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
14951
+ createElementVNode("div", _hoisted_2$J, [
14952
14952
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
14953
- createElementVNode("div", _hoisted_3$B, [
14953
+ createElementVNode("div", _hoisted_3$F, [
14954
14954
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.tabs, (tab) => {
14955
14955
  return openBlock(), createElementBlock("div", {
14956
14956
  class: normalizeClass([{
@@ -14958,7 +14958,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14958
14958
  }, "tab"]),
14959
14959
  key: tab,
14960
14960
  onClick: ($event) => changeTab(tab)
14961
- }, toDisplayString(tab), 11, _hoisted_4$m);
14961
+ }, toDisplayString(tab), 11, _hoisted_4$o);
14962
14962
  }), 128))
14963
14963
  ])
14964
14964
  ]),
@@ -14974,16 +14974,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
14974
14974
  };
14975
14975
  }
14976
14976
  });
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" };
14977
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-4ac29f1d"]]);
14978
+ const _hoisted_1$Q = { class: "comments-wrap" };
14979
+ const _hoisted_2$I = { class: "comment-list" };
14980
+ const _hoisted_3$E = { class: "comment-top" };
14981
+ const _hoisted_4$n = { class: "comment-owner" };
14982
14982
  const _hoisted_5$j = { class: "comment-time" };
14983
14983
  const _hoisted_6$g = { class: "comment-actions" };
14984
14984
  const _hoisted_7$b = ["innerHTML"];
14985
14985
  const _hoisted_8$6 = { class: "new-comment" };
14986
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
14986
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
14987
14987
  __name: "Comments",
14988
14988
  props: {
14989
14989
  ref_table: {},
@@ -15028,8 +15028,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15028
15028
  void fetchData();
15029
15029
  };
15030
15030
  return (_ctx, _cache) => {
15031
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
15032
- createElementVNode("div", _hoisted_2$E, [
15031
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
15032
+ createElementVNode("div", _hoisted_2$I, [
15033
15033
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(comments), (comment) => {
15034
15034
  var _a, _b, _c;
15035
15035
  return openBlock(), createElementBlock("div", {
@@ -15039,23 +15039,23 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15039
15039
  }, "comment"]),
15040
15040
  key: comment.id
15041
15041
  }, [
15042
- createElementVNode("div", _hoisted_3$A, [
15043
- createElementVNode("div", _hoisted_4$l, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15042
+ createElementVNode("div", _hoisted_3$E, [
15043
+ createElementVNode("div", _hoisted_4$n, toDisplayString(comment.sender.first_name) + " " + toDisplayString(comment.sender.last_name), 1),
15044
15044
  createElementVNode("div", _hoisted_5$j, toDisplayString(comment.updated_at.split("T")[0]), 1),
15045
15045
  createElementVNode("div", _hoisted_6$g, [
15046
- createVNode(unref(_sfc_main$N), {
15046
+ createVNode(unref(_sfc_main$R), {
15047
15047
  size: 1,
15048
15048
  class: "edit",
15049
15049
  icon: "edit",
15050
15050
  onClick: ($event) => isRef(editComment) ? editComment.value = comment : editComment = comment
15051
15051
  }, null, 8, ["onClick"]),
15052
- createVNode(unref(_sfc_main$N), {
15052
+ createVNode(unref(_sfc_main$R), {
15053
15053
  size: 1.2,
15054
15054
  class: "delete",
15055
15055
  icon: "delete",
15056
15056
  onClick: ($event) => deleteComment(comment.id)
15057
15057
  }, null, 8, ["onClick"]),
15058
- createVNode(unref(_sfc_main$N), {
15058
+ createVNode(unref(_sfc_main$R), {
15059
15059
  size: 1.2,
15060
15060
  class: "save",
15061
15061
  icon: "save",
@@ -15063,7 +15063,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15063
15063
  })
15064
15064
  ])
15065
15065
  ]),
15066
- unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$O), {
15066
+ unref(editComment) !== null && ((_c = unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (openBlock(), createBlock(unref(_sfc_main$S), {
15067
15067
  key: 0,
15068
15068
  modelValue: unref(editComment).body_html,
15069
15069
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(editComment).body_html = $event),
@@ -15077,7 +15077,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15077
15077
  }), 128))
15078
15078
  ]),
15079
15079
  createElementVNode("div", _hoisted_8$6, [
15080
- createVNode(unref(_sfc_main$O), {
15080
+ createVNode(unref(_sfc_main$S), {
15081
15081
  class: "comment-input",
15082
15082
  modelValue: unref(bodyHtml),
15083
15083
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -15097,10 +15097,10 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15097
15097
  };
15098
15098
  }
15099
15099
  });
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({
15100
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ff29354a"]]);
15101
+ const _hoisted_1$P = { class: "page-top" };
15102
+ const _hoisted_2$H = { class: "top-title" };
15103
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
15104
15104
  __name: "PageTitle",
15105
15105
  props: {
15106
15106
  value: {
@@ -15110,8 +15110,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15110
15110
  },
15111
15111
  setup(__props) {
15112
15112
  return (_ctx, _cache) => {
15113
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
15114
- createElementVNode("h1", _hoisted_2$D, [
15113
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
15114
+ createElementVNode("h1", _hoisted_2$H, [
15115
15115
  renderSlot(_ctx.$slots, "default"),
15116
15116
  createTextVNode(" " + toDisplayString(__props.value), 1)
15117
15117
  ])
@@ -15119,10 +15119,10 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15119
15119
  };
15120
15120
  }
15121
15121
  });
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({
15122
+ const _hoisted_1$O = ["onKeydown"];
15123
+ const _hoisted_2$G = { class: "tool-bar" };
15124
+ const _hoisted_3$D = { class: "modal-title" };
15125
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
15126
15126
  __name: "ModalForm",
15127
15127
  props: {
15128
15128
  side: { type: Boolean },
@@ -15195,7 +15195,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15195
15195
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
15196
15196
  }, ["stop"]))
15197
15197
  }, [
15198
- createElementVNode("header", _hoisted_2$C, [
15198
+ createElementVNode("header", _hoisted_2$G, [
15199
15199
  renderSlot(_ctx.$slots, "toolbar", {}, void 0, true),
15200
15200
  createVNode(unref(Btn), {
15201
15201
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -15203,9 +15203,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15203
15203
  icon: "close",
15204
15204
  onClick: closeModal
15205
15205
  }, null, 8, ["style"]),
15206
- createElementVNode("h3", _hoisted_3$z, toDisplayString(_ctx.title), 1)
15206
+ createElementVNode("h3", _hoisted_3$D, toDisplayString(_ctx.title), 1)
15207
15207
  ]),
15208
- createVNode(unref(_sfc_main$B), {
15208
+ createVNode(unref(_sfc_main$F), {
15209
15209
  onDelete: _ctx.onDelete ? runDelete : void 0,
15210
15210
  modelValue: _ctx.modelValue,
15211
15211
  "onUpdate:modelValue": handleEmit,
@@ -15213,24 +15213,24 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
15213
15213
  schema: computedFormSchema.value
15214
15214
  }, null, 8, ["onDelete", "modelValue", "schema"])
15215
15215
  ])
15216
- ], 42, _hoisted_1$K);
15216
+ ], 42, _hoisted_1$O);
15217
15217
  };
15218
15218
  }
15219
15219
  });
15220
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-ca1b8501"]]);
15221
- const _hoisted_1$J = {
15220
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ca1b8501"]]);
15221
+ const _hoisted_1$N = {
15222
15222
  key: 0,
15223
15223
  class: "data"
15224
15224
  };
15225
- const _hoisted_2$B = {
15225
+ const _hoisted_2$F = {
15226
15226
  key: 0,
15227
15227
  class: "mb-3 mt-0"
15228
15228
  };
15229
- const _hoisted_3$y = { class: "key" };
15230
- const _hoisted_4$k = { key: 1 };
15229
+ const _hoisted_3$C = { class: "key" };
15230
+ const _hoisted_4$m = { key: 1 };
15231
15231
  const _hoisted_5$i = { class: "key" };
15232
15232
  const _hoisted_6$f = { class: "vlue" };
15233
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
15233
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
15234
15234
  __name: "DataPreview",
15235
15235
  props: {
15236
15236
  data: {},
@@ -15242,14 +15242,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15242
15242
  const keysToIgnore = ["id", "person_id", "person", "created_at", "updated_at"];
15243
15243
  return (_ctx, _cache) => {
15244
15244
  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),
15245
+ return _ctx.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
15246
+ _ctx.title ? (openBlock(), createElementBlock("h3", _hoisted_2$F, toDisplayString(_ctx.title), 1)) : createCommentVNode("", true),
15247
15247
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.schema || [], (field) => {
15248
15248
  return openBlock(), createElementBlock("div", {
15249
15249
  key: field.id,
15250
15250
  class: "data-row"
15251
15251
  }, [
15252
- createElementVNode("div", _hoisted_3$y, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15252
+ createElementVNode("div", _hoisted_3$C, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1),
15253
15253
  (openBlock(), createBlock(resolveDynamicComponent(field.$el || "div"), { class: "vlue" }, {
15254
15254
  default: withCtx(() => [
15255
15255
  createTextVNode(toDisplayString(_ctx.data[field.id] || field.defaultValue), 1)
@@ -15258,7 +15258,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15258
15258
  }, 1024))
15259
15259
  ]);
15260
15260
  }), 128)),
15261
- !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$k, [
15261
+ !((_a = _ctx.schema) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
15262
15262
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(Object.entries(_ctx.data).filter(
15263
15263
  ([key]) => !keysToIgnore.includes(key)
15264
15264
  ), ([key, value]) => {
@@ -15276,8 +15276,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
15276
15276
  };
15277
15277
  }
15278
15278
  });
15279
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0350cc0c"]]);
15280
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
15279
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-0350cc0c"]]);
15280
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
15281
15281
  __name: "FormSchema",
15282
15282
  props: {
15283
15283
  modelValue: {},
@@ -15350,14 +15350,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15350
15350
  };
15351
15351
  }
15352
15352
  });
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"];
15353
+ const _hoisted_1$M = { class: "table-list-wrap h-100" };
15354
+ const _hoisted_2$E = { class: "infinite-wrapper" };
15355
+ const _hoisted_3$B = { class: "row first-row" };
15356
+ const _hoisted_4$l = ["onClick"];
15357
15357
  const _hoisted_5$h = { class: "flex" };
15358
15358
  const _hoisted_6$e = ["onClick"];
15359
15359
  const _hoisted_7$a = { key: 1 };
15360
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
15360
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
15361
15361
  __name: "TableSchema",
15362
15362
  props: {
15363
15363
  data: {},
@@ -15407,9 +15407,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15407
15407
  }
15408
15408
  );
15409
15409
  return (_ctx, _cache) => {
15410
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
15411
- createElementVNode("table", _hoisted_2$A, [
15412
- createElementVNode("thead", _hoisted_3$x, [
15410
+ return openBlock(), createElementBlock("div", _hoisted_1$M, [
15411
+ createElementVNode("table", _hoisted_2$E, [
15412
+ createElementVNode("thead", _hoisted_3$B, [
15413
15413
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(columns.value, (field) => {
15414
15414
  return openBlock(), createElementBlock("th", {
15415
15415
  class: "col",
@@ -15421,13 +15421,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15421
15421
  createElementVNode("div", {
15422
15422
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
15423
15423
  }, [
15424
- createVNode(unref(_sfc_main$N), {
15424
+ createVNode(unref(_sfc_main$R), {
15425
15425
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
15426
15426
  icon: "keyboard_arrow_up"
15427
15427
  }, null, 8, ["class"])
15428
15428
  ], 2)
15429
15429
  ])
15430
- ], 8, _hoisted_4$j);
15430
+ ], 8, _hoisted_4$l);
15431
15431
  }), 128))
15432
15432
  ]),
15433
15433
  createElementVNode("tbody", {
@@ -15473,16 +15473,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15473
15473
  };
15474
15474
  }
15475
15475
  });
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" };
15476
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-fa7146ce"]]);
15477
+ const _sfc_main$D = {};
15478
+ const _hoisted_1$L = { class: "flex space-between" };
15479
15479
  function _sfc_render$1(_ctx, _cache) {
15480
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
15480
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
15481
15481
  renderSlot(_ctx.$slots, "default")
15482
15482
  ]);
15483
15483
  }
15484
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$1]]);
15485
- const _sfc_main$y = {};
15484
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$1]]);
15485
+ const _sfc_main$C = {};
15486
15486
  function _sfc_render(_ctx, _cache) {
15487
15487
  const _component_router_view = resolveComponent("router-view");
15488
15488
  return openBlock(), createBlock(_component_router_view, null, {
@@ -15504,9 +15504,9 @@ function _sfc_render(_ctx, _cache) {
15504
15504
  _: 1
15505
15505
  });
15506
15506
  }
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({
15507
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render]]);
15508
+ const _hoisted_1$K = { class: "card h-100 thin" };
15509
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
15510
15510
  __name: "ContactSubmissions",
15511
15511
  props: {
15512
15512
  person_id: {
@@ -15536,7 +15536,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15536
15536
  void getData();
15537
15537
  });
15538
15538
  return (_ctx, _cache) => {
15539
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
15539
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
15540
15540
  createVNode(unref(TableSchema), {
15541
15541
  schema: schema2,
15542
15542
  data: unref(data2)
@@ -15545,13 +15545,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
15545
15545
  };
15546
15546
  }
15547
15547
  });
15548
- const _hoisted_1$F = {
15548
+ const _hoisted_1$J = {
15549
15549
  key: 0,
15550
15550
  class: "person-card-edit flex gap-2"
15551
15551
  };
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" };
15552
+ const _hoisted_2$D = { class: "person-card-icon-wrap" };
15553
+ const _hoisted_3$A = { class: "person-card-icon" };
15554
+ const _hoisted_4$k = { class: "person-card-name txt20" };
15555
15555
  const _hoisted_5$g = { class: "person-card-details-wrap" };
15556
15556
  const _hoisted_6$d = {
15557
15557
  key: 0,
@@ -15567,7 +15567,7 @@ const _hoisted_8$5 = {
15567
15567
  };
15568
15568
  const _hoisted_9$4 = { key: 0 };
15569
15569
  const _hoisted_10$3 = { key: 1 };
15570
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
15570
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
15571
15571
  __name: "PersonPreview",
15572
15572
  props: {
15573
15573
  person: {},
@@ -15597,7 +15597,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15597
15597
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
15598
15598
  class: "person-card"
15599
15599
  }, [
15600
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
15600
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
15601
15601
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
15602
15602
  key: 0,
15603
15603
  round: "",
@@ -15614,13 +15614,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15614
15614
  icon: "edit"
15615
15615
  })
15616
15616
  ])) : 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)
15617
+ createElementVNode("div", _hoisted_2$D, [
15618
+ createElementVNode("p", _hoisted_3$A, toDisplayString(unref(initials)(_ctx.person.first_name, _ctx.person.last_name)), 1),
15619
+ createElementVNode("p", _hoisted_4$k, toDisplayString(_ctx.person.first_name) + " " + toDisplayString(_ctx.person.last_name), 1)
15620
15620
  ]),
15621
15621
  createElementVNode("div", _hoisted_5$g, [
15622
15622
  ((_a = _ctx.person.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
15623
- createVNode(unref(_sfc_main$N), { icon: "phone" }),
15623
+ createVNode(unref(_sfc_main$R), { icon: "phone" }),
15624
15624
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.phone, (phone) => {
15625
15625
  return openBlock(), createElementBlock("p", {
15626
15626
  key: phone.id
@@ -15628,7 +15628,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15628
15628
  }), 128))
15629
15629
  ])) : createCommentVNode("", true),
15630
15630
  ((_b = _ctx.person.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$9, [
15631
- createVNode(unref(_sfc_main$N), { icon: "email" }),
15631
+ createVNode(unref(_sfc_main$R), { icon: "email" }),
15632
15632
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.person.email, (email) => {
15633
15633
  return openBlock(), createElementBlock("p", {
15634
15634
  key: email.id
@@ -15636,7 +15636,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15636
15636
  }), 128))
15637
15637
  ])) : createCommentVNode("", true),
15638
15638
  _ctx.person.date_of_birth || _ctx.person.gender ? (openBlock(), createElementBlock("div", _hoisted_8$5, [
15639
- createVNode(unref(_sfc_main$N), { icon: "badge" }),
15639
+ createVNode(unref(_sfc_main$R), { icon: "badge" }),
15640
15640
  _ctx.person.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9$4, toDisplayString(_ctx.person.date_of_birth), 1)) : createCommentVNode("", true),
15641
15641
  _ctx.person.gender ? (openBlock(), createElementBlock("p", _hoisted_10$3, toDisplayString(_ctx.person.gender), 1)) : createCommentVNode("", true)
15642
15642
  ])) : createCommentVNode("", true)
@@ -15646,13 +15646,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
15646
15646
  }
15647
15647
  });
15648
15648
  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 = {
15649
+ const _hoisted_1$I = { class: "bar-chart" };
15650
+ const _hoisted_2$C = {
15651
15651
  key: 0,
15652
15652
  class: "group-wrap"
15653
15653
  };
15654
- const _hoisted_3$v = { class: "group-title" };
15655
- const _hoisted_4$h = {
15654
+ const _hoisted_3$z = { class: "group-title" };
15655
+ const _hoisted_4$j = {
15656
15656
  key: 1,
15657
15657
  class: "bar-wrap"
15658
15658
  };
@@ -15660,7 +15660,7 @@ const _hoisted_5$f = { class: "bar-txt" };
15660
15660
  const _hoisted_6$c = { class: "factor" };
15661
15661
  const _hoisted_7$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "red-bar" }, null, -1));
15662
15662
  const _hoisted_8$4 = { class: "bar-lines" };
15663
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
15663
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
15664
15664
  __name: "BarChart",
15665
15665
  props: {
15666
15666
  title: {},
@@ -15710,14 +15710,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15710
15710
  const percent = (val) => val / maxValue.value * 100;
15711
15711
  const floodPercent = computed(() => `${props2.flood}%`);
15712
15712
  return (_ctx, _cache) => {
15713
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
15713
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
15714
15714
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(dataArray.value, (item, i2) => {
15715
15715
  return openBlock(), createElementBlock("div", {
15716
15716
  class: "graph-wrap",
15717
15717
  key: i2
15718
15718
  }, [
15719
- item.group ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
15720
- createElementVNode("p", _hoisted_3$v, toDisplayString(item.group), 1),
15719
+ item.group ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
15720
+ createElementVNode("p", _hoisted_3$z, toDisplayString(item.group), 1),
15721
15721
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
15722
15722
  return openBlock(), createElementBlock("div", {
15723
15723
  key: i22,
@@ -15736,7 +15736,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15736
15736
  }, null, 4)) : createCommentVNode("", true)
15737
15737
  ]);
15738
15738
  }), 128))
15739
- ])) : (openBlock(), createElementBlock("div", _hoisted_4$h, [
15739
+ ])) : (openBlock(), createElementBlock("div", _hoisted_4$j, [
15740
15740
  createElementVNode("div", {
15741
15741
  class: "bar",
15742
15742
  style: normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
@@ -15761,7 +15761,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
15761
15761
  };
15762
15762
  }
15763
15763
  });
15764
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-f7af54ed"]]);
15764
+ const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f7af54ed"]]);
15765
15765
  const explicitKeys = [
15766
15766
  "__key",
15767
15767
  "__init",
@@ -17017,8 +17017,8 @@ function createInput(schemaOrComponent, definitionOptions = {}) {
17017
17017
  }
17018
17018
  return definition;
17019
17019
  }
17020
- const _hoisted_1$D = { class: "primary-checkbox" };
17021
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
17020
+ const _hoisted_1$H = { class: "primary-checkbox" };
17021
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17022
17022
  __name: "Checkbox",
17023
17023
  props: {
17024
17024
  modelValue: Boolean
@@ -17042,7 +17042,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17042
17042
  (v) => emits("update:modelValue", v)
17043
17043
  );
17044
17044
  return (_ctx, _cache) => {
17045
- return openBlock(), createElementBlock("label", _hoisted_1$D, [
17045
+ return openBlock(), createElementBlock("label", _hoisted_1$H, [
17046
17046
  withDirectives(createElementVNode("input", {
17047
17047
  type: "checkbox",
17048
17048
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(val) ? val.value = $event : val = $event)
@@ -17050,24 +17050,24 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17050
17050
  [vModelCheckbox, unref(val)]
17051
17051
  ]),
17052
17052
  createElementVNode("span", null, [
17053
- createVNode(unref(_sfc_main$N), { icon: "check" })
17053
+ createVNode(unref(_sfc_main$R), { icon: "check" })
17054
17054
  ])
17055
17055
  ]);
17056
17056
  };
17057
17057
  }
17058
17058
  });
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 = {
17059
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-5f3ff6ea"]]);
17060
+ const _hoisted_1$G = { class: "bagel-input" };
17061
+ const _hoisted_2$B = { class: "mt-1" };
17062
+ const _hoisted_3$y = {
17063
17063
  key: 0,
17064
17064
  class: "bglform-contact-confirm"
17065
17065
  };
17066
- const _hoisted_4$g = { class: "txt14" };
17066
+ const _hoisted_4$i = { class: "txt14" };
17067
17067
  const _hoisted_5$e = ["onUpdate:modelValue", "placeholder"];
17068
17068
  const _hoisted_6$b = ["onUpdate:modelValue", "placeholder"];
17069
17069
  const _hoisted_7$7 = ["onUpdate:modelValue", "placeholder"];
17070
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
17070
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17071
17071
  __name: "ContactArrayFormKit",
17072
17072
  props: {
17073
17073
  context: {}
@@ -17118,16 +17118,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17118
17118
  }
17119
17119
  );
17120
17120
  return (_ctx, _cache) => {
17121
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
17122
- createElementVNode("div", _hoisted_2$x, [
17121
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
17122
+ createElementVNode("div", _hoisted_2$B, [
17123
17123
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
17124
17124
  var _a, _b, _c, _d, _e, _f;
17125
17125
  return openBlock(), createElementBlock("div", {
17126
17126
  class: "bglform-contact mb-2",
17127
17127
  key: i2
17128
17128
  }, [
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),
17129
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
17130
+ createElementVNode("p", _hoisted_4$i, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17131
17131
  createVNode(unref(Btn), {
17132
17132
  thin: "",
17133
17133
  color: "red",
@@ -17211,14 +17211,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17211
17211
  };
17212
17212
  }
17213
17213
  });
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 = {
17214
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-0533667e"]]);
17215
+ const _hoisted_1$F = { class: "bagel-input" };
17216
+ const _hoisted_2$A = { class: "mt-1" };
17217
+ const _hoisted_3$x = {
17218
17218
  key: 0,
17219
17219
  class: "bglform-contact-confirm"
17220
17220
  };
17221
- const _hoisted_4$f = { class: "txt14" };
17221
+ const _hoisted_4$h = { class: "txt14" };
17222
17222
  const _hoisted_5$d = ["onUpdate:modelValue", "placeholder"];
17223
17223
  const _hoisted_6$a = { class: "bglform-contact-address" };
17224
17224
  const _hoisted_7$6 = ["onUpdate:modelValue", "placeholder"];
@@ -17227,7 +17227,7 @@ const _hoisted_9$3 = ["onUpdate:modelValue", "placeholder"];
17227
17227
  const _hoisted_10$2 = ["onUpdate:modelValue", "placeholder"];
17228
17228
  const _hoisted_11$1 = ["onUpdate:modelValue", "placeholder"];
17229
17229
  const _hoisted_12$1 = { class: "bglform-address-del" };
17230
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
17230
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17231
17231
  __name: "AddressArray",
17232
17232
  props: {
17233
17233
  context: {}
@@ -17284,16 +17284,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17284
17284
  }
17285
17285
  );
17286
17286
  return (_ctx, _cache) => {
17287
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
17288
- createElementVNode("div", _hoisted_2$w, [
17287
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
17288
+ createElementVNode("div", _hoisted_2$A, [
17289
17289
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
17290
17290
  var _a, _b, _c, _d, _e, _f;
17291
17291
  return openBlock(), createElementBlock("div", {
17292
17292
  class: "bglform-contact mb-3",
17293
17293
  key: i2
17294
17294
  }, [
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),
17295
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
17296
+ createElementVNode("p", _hoisted_4$h, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17297
17297
  createVNode(unref(Btn), {
17298
17298
  thin: "",
17299
17299
  color: "red",
@@ -17394,14 +17394,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17394
17394
  };
17395
17395
  }
17396
17396
  });
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 = {
17397
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-98a4f943"]]);
17398
+ const _hoisted_1$E = { class: "bagel-input" };
17399
+ const _hoisted_2$z = { class: "mt-1" };
17400
+ const _hoisted_3$w = {
17401
17401
  key: 0,
17402
17402
  class: "bglform-contact-confirm"
17403
17403
  };
17404
- const _hoisted_4$e = { class: "txt14" };
17404
+ const _hoisted_4$g = { class: "txt14" };
17405
17405
  const _hoisted_5$c = ["onUpdate:modelValue", "placeholder"];
17406
17406
  const _hoisted_6$9 = { class: "bglform-contact-address" };
17407
17407
  const _hoisted_7$5 = ["onUpdate:modelValue", "placeholder"];
@@ -17415,7 +17415,7 @@ const _hoisted_14 = ["onUpdate:modelValue"];
17415
17415
  const _hoisted_15 = ["onUpdate:modelValue"];
17416
17416
  const _hoisted_16 = ["onUpdate:modelValue", "placeholder"];
17417
17417
  const _hoisted_17 = { class: "bglform-address-del" };
17418
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17418
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
17419
17419
  __name: "BankDetailsArray",
17420
17420
  props: {
17421
17421
  context: {}
@@ -17466,16 +17466,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17466
17466
  }
17467
17467
  );
17468
17468
  return (_ctx, _cache) => {
17469
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
17470
- createElementVNode("div", _hoisted_2$v, [
17469
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
17470
+ createElementVNode("div", _hoisted_2$z, [
17471
17471
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
17472
17472
  var _a, _b, _c, _d, _e, _f, _g, _h;
17473
17473
  return openBlock(), createElementBlock("div", {
17474
17474
  class: "bglform-contact mb-3",
17475
17475
  key: i2
17476
17476
  }, [
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),
17477
+ unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
17478
+ createElementVNode("p", _hoisted_4$g, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17479
17479
  createVNode(unref(Btn), {
17480
17480
  thin: "",
17481
17481
  color: "red",
@@ -17610,9 +17610,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17610
17610
  };
17611
17611
  }
17612
17612
  });
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({
17613
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-0928eb22"]]);
17614
+ const _hoisted_1$D = { class: "misc-wrap" };
17615
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
17616
17616
  __name: "MiscFields",
17617
17617
  props: {
17618
17618
  context: {},
@@ -17629,7 +17629,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17629
17629
  console.log(fields.value);
17630
17630
  };
17631
17631
  return (_ctx, _cache) => {
17632
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
17632
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
17633
17633
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(fields.value.filter(
17634
17634
  (field) => {
17635
17635
  var _a;
@@ -17657,13 +17657,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17657
17657
  };
17658
17658
  }
17659
17659
  });
17660
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bac6c2ee"]]);
17660
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-bac6c2ee"]]);
17661
17661
  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({
17662
+ const _hoisted_1$C = ["title"];
17663
+ const _hoisted_2$y = { class: "switch" };
17664
+ const _hoisted_3$v = ["id"];
17665
+ const _hoisted_4$f = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
17666
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17667
17667
  __name: "Toggle",
17668
17668
  props: {
17669
17669
  context: Object
@@ -17687,7 +17687,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17687
17687
  class: normalizeClass(["bagel-input checkbox", { check: (_a = __props.context) == null ? void 0 : _a.attrs.isCheckbox }]),
17688
17688
  title: (_b = __props.context) == null ? void 0 : _b.help
17689
17689
  }, [
17690
- createElementVNode("label", _hoisted_2$u, [
17690
+ createElementVNode("label", _hoisted_2$y, [
17691
17691
  withDirectives(createElementVNode("input", {
17692
17692
  onChange: _cache[0] || (_cache[0] = () => {
17693
17693
  var _a2;
@@ -17696,23 +17696,23 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17696
17696
  type: "checkbox",
17697
17697
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
17698
17698
  id: (_c = __props.context) == null ? void 0 : _c.id
17699
- }, null, 40, _hoisted_3$r), [
17699
+ }, null, 40, _hoisted_3$v), [
17700
17700
  [vModelCheckbox, unref(inputVal)]
17701
17701
  ]),
17702
- _hoisted_4$d
17702
+ _hoisted_4$f
17703
17703
  ])
17704
- ], 10, _hoisted_1$y);
17704
+ ], 10, _hoisted_1$C);
17705
17705
  };
17706
17706
  }
17707
17707
  });
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 = {
17708
+ const Toggle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d12598ff"]]);
17709
+ const _hoisted_1$B = { class: "files-wrapper flex" };
17710
+ const _hoisted_2$x = ["onDrop"];
17711
+ const _hoisted_3$u = {
17712
17712
  key: 0,
17713
17713
  class: "img-label"
17714
17714
  };
17715
- const _hoisted_4$c = { class: "uploading-wrap" };
17715
+ const _hoisted_4$e = { class: "uploading-wrap" };
17716
17716
  const _hoisted_5$b = { class: "load-file-bar" };
17717
17717
  const _hoisted_6$8 = ["src", "alt"];
17718
17718
  const _hoisted_7$4 = { class: "flex" };
@@ -17721,7 +17721,7 @@ const _hoisted_8$1 = {
17721
17721
  class: "progress"
17722
17722
  };
17723
17723
  const _hoisted_9$1 = ["multiple"];
17724
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
17724
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17725
17725
  __name: "FileUploader",
17726
17726
  props: {
17727
17727
  context: {},
@@ -17846,7 +17846,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17846
17846
  }
17847
17847
  return (_ctx, _cache) => {
17848
17848
  var _a;
17849
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
17849
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
17850
17850
  createElementVNode("div", {
17851
17851
  ref_key: "dropZoneEl",
17852
17852
  ref: dropZoneEl,
@@ -17866,13 +17866,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17866
17866
  ]),
17867
17867
  _: 1
17868
17868
  }),
17869
- allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
17869
+ allowUpload.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
17870
17870
  createElementVNode("p", null, [
17871
17871
  createTextVNode(toDisplayString(_ctx.dragDropLabel) + " ", 1),
17872
17872
  createElementVNode("span", null, toDisplayString(_ctx.browseLabel), 1)
17873
17873
  ])
17874
17874
  ])) : createCommentVNode("", true),
17875
- createElementVNode("div", _hoisted_4$c, [
17875
+ createElementVNode("div", _hoisted_4$e, [
17876
17876
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(files.value, (item, index2) => {
17877
17877
  return openBlock(), createElementBlock("div", {
17878
17878
  class: normalizeClass({ uploading: item.uploading }),
@@ -17893,7 +17893,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17893
17893
  style: normalizeStyle([`--p:${item.progress}`, { "--b": "2px" }])
17894
17894
  }, [
17895
17895
  item.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_8$1, toDisplayString(`${item.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17896
- createVNode(unref(_sfc_main$N), {
17896
+ createVNode(unref(_sfc_main$R), {
17897
17897
  class: "success",
17898
17898
  icon: "check"
17899
17899
  })
@@ -17910,7 +17910,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17910
17910
  ], 2);
17911
17911
  }), 128))
17912
17912
  ])
17913
- ], 40, _hoisted_2$t),
17913
+ ], 40, _hoisted_2$x),
17914
17914
  createElementVNode("input", {
17915
17915
  class: "file-input",
17916
17916
  type: "file",
@@ -17923,13 +17923,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17923
17923
  };
17924
17924
  }
17925
17925
  });
17926
- const _hoisted_1$w = {
17926
+ const _hoisted_1$A = {
17927
17927
  key: 0,
17928
17928
  class: "person-card-edit flex gap-2"
17929
17929
  };
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" };
17930
+ const _hoisted_2$w = { class: "person-card-icon-wrap" };
17931
+ const _hoisted_3$t = { class: "person-card-icon" };
17932
+ const _hoisted_4$d = { class: "person-card-name txt20" };
17933
17933
  const _hoisted_5$a = { class: "person-card-details-wrap" };
17934
17934
  const _hoisted_6$7 = {
17935
17935
  key: 0,
@@ -17945,7 +17945,7 @@ const _hoisted_8 = {
17945
17945
  };
17946
17946
  const _hoisted_9 = { key: 0 };
17947
17947
  const _hoisted_10 = { key: 1 };
17948
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
17948
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17949
17949
  __name: "PersonPreviewFormkit",
17950
17950
  props: {
17951
17951
  context: {},
@@ -17976,7 +17976,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17976
17976
  (...args) => _ctx.onClick && _ctx.onClick(...args)),
17977
17977
  class: "person-card"
17978
17978
  }, [
17979
- !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
17979
+ !_ctx.onClick ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
17980
17980
  !_ctx.$route.path.match("/search") ? (openBlock(), createBlock(unref(Btn), {
17981
17981
  key: 0,
17982
17982
  onClick: unref(hideModal),
@@ -17994,13 +17994,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17994
17994
  icon: "edit"
17995
17995
  })
17996
17996
  ])) : 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)
17997
+ createElementVNode("div", _hoisted_2$w, [
17998
+ createElementVNode("p", _hoisted_3$t, toDisplayString(unref(initials)(person.value.first_name, person.value.last_name)), 1),
17999
+ createElementVNode("p", _hoisted_4$d, toDisplayString(person.value.first_name) + " " + toDisplayString(person.value.last_name), 1)
18000
18000
  ]),
18001
18001
  createElementVNode("div", _hoisted_5$a, [
18002
18002
  ((_a = person.value.phone) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
18003
- createVNode(unref(_sfc_main$N), { icon: "phone" }),
18003
+ createVNode(unref(_sfc_main$R), { icon: "phone" }),
18004
18004
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.phone, (phone) => {
18005
18005
  return openBlock(), createElementBlock("p", {
18006
18006
  key: phone.id
@@ -18008,7 +18008,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18008
18008
  }), 128))
18009
18009
  ])) : createCommentVNode("", true),
18010
18010
  ((_b = person.value.email) == null ? void 0 : _b.length) ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
18011
- createVNode(unref(_sfc_main$N), { icon: "email" }),
18011
+ createVNode(unref(_sfc_main$R), { icon: "email" }),
18012
18012
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(person.value.email, (email) => {
18013
18013
  return openBlock(), createElementBlock("p", {
18014
18014
  key: email.id
@@ -18016,7 +18016,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18016
18016
  }), 128))
18017
18017
  ])) : createCommentVNode("", true),
18018
18018
  person.value.date_of_birth || person.value.gender ? (openBlock(), createElementBlock("div", _hoisted_8, [
18019
- createVNode(unref(_sfc_main$N), { icon: "badge" }),
18019
+ createVNode(unref(_sfc_main$R), { icon: "badge" }),
18020
18020
  person.value.date_of_birth ? (openBlock(), createElementBlock("p", _hoisted_9, toDisplayString(person.value.date_of_birth), 1)) : createCommentVNode("", true),
18021
18021
  person.value.gender ? (openBlock(), createElementBlock("p", _hoisted_10, toDisplayString(person.value.gender), 1)) : createCommentVNode("", true)
18022
18022
  ])) : createCommentVNode("", true)
@@ -18025,7 +18025,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18025
18025
  };
18026
18026
  }
18027
18027
  });
18028
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
18028
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
18029
18029
  __name: "TextVariableExamples",
18030
18030
  props: {
18031
18031
  context: Object
@@ -18101,7 +18101,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18101
18101
  }, [
18102
18102
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(variables.value, (v) => {
18103
18103
  var _a;
18104
- return openBlock(), createBlock(unref(_sfc_main$2), {
18104
+ return openBlock(), createBlock(unref(_sfc_main$6), {
18105
18105
  key: v,
18106
18106
  placeholder: `Variable ${v}`,
18107
18107
  modelValue: (_a = unref(val)) == null ? void 0 : _a[v - 1],
@@ -18117,14 +18117,14 @@ const AddressInput = createInput(AddressArray);
18117
18117
  const BankDetailsInput = createInput(BankDetailsArray);
18118
18118
  const MiscFieldsInput = createInput(MiscFieldsBtns);
18119
18119
  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 = {
18120
+ const FileUploadInput = createInput(_sfc_main$s);
18121
+ const TextVariablesInput = createInput(_sfc_main$q);
18122
+ const PersonPreviewInput = createInput(_sfc_main$r);
18123
+ const _hoisted_1$z = {
18124
18124
  key: 1,
18125
18125
  class: "pill"
18126
18126
  };
18127
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
18127
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18128
18128
  __name: "ItemRef",
18129
18129
  props: {
18130
18130
  modelValue: {},
@@ -18158,15 +18158,15 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18158
18158
  }, {
18159
18159
  default: withCtx(() => [
18160
18160
  createTextVNode(toDisplayString(content.value) + " ", 1),
18161
- createVNode(unref(_sfc_main$N), { icon: "arrow_forward" })
18161
+ createVNode(unref(_sfc_main$R), { icon: "arrow_forward" })
18162
18162
  ]),
18163
18163
  _: 1
18164
- })) : (openBlock(), createElementBlock("span", _hoisted_1$v, toDisplayString(content.value), 1))
18164
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$z, toDisplayString(content.value), 1))
18165
18165
  ]);
18166
18166
  };
18167
18167
  }
18168
18168
  });
18169
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
18169
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
18170
18170
  __name: "MaterialIcon",
18171
18171
  props: {
18172
18172
  icon: {},
@@ -18181,13 +18181,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18181
18181
  };
18182
18182
  }
18183
18183
  });
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"];
18184
+ const _hoisted_1$y = { class: "bagel-input" };
18185
+ const _hoisted_2$v = ["for"];
18186
+ const _hoisted_3$s = ["checked"];
18187
+ const _hoisted_4$c = ["name", "type", "value"];
18188
18188
  const _hoisted_5$9 = ["name", "type", "value"];
18189
18189
  const _hoisted_6$6 = ["name", "type", "value"];
18190
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
18190
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
18191
18191
  __name: "PlainInputField",
18192
18192
  props: {
18193
18193
  type: {},
@@ -18217,14 +18217,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18217
18217
  }
18218
18218
  });
18219
18219
  return (_ctx, _cache) => {
18220
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
18220
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
18221
18221
  createElementVNode("label", {
18222
18222
  for: unref(formatString)(_ctx.name, "pascal")
18223
18223
  }, [
18224
- createVNode(_sfc_main$P, {
18224
+ createVNode(_sfc_main$T, {
18225
18225
  input: unref(formatString)(_ctx.name, "titleCase")
18226
18226
  }, null, 8, ["input"])
18227
- ], 8, _hoisted_2$r),
18227
+ ], 8, _hoisted_2$v),
18228
18228
  _ctx.type === "checkbox" ? (openBlock(), createElementBlock("input", {
18229
18229
  key: 0,
18230
18230
  ref_key: "el",
@@ -18233,7 +18233,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18233
18233
  class: "ctl",
18234
18234
  type: "checkbox",
18235
18235
  onChange: handleCheck
18236
- }, null, 40, _hoisted_3$o)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18236
+ }, null, 40, _hoisted_3$s)) : _ctx.type === "number" ? (openBlock(), createElementBlock("input", {
18237
18237
  key: 1,
18238
18238
  ref_key: "el",
18239
18239
  ref: el,
@@ -18242,7 +18242,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18242
18242
  value: _ctx.modelValue,
18243
18243
  class: "ctl",
18244
18244
  onInput: handleInput
18245
- }, null, 40, _hoisted_4$a)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18245
+ }, null, 40, _hoisted_4$c)) : _ctx.type === "text" ? (openBlock(), createElementBlock("input", {
18246
18246
  key: 2,
18247
18247
  ref_key: "el",
18248
18248
  ref: el,
@@ -18262,19 +18262,19 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18262
18262
  onInput: handleInput
18263
18263
  }, null, 40, _hoisted_6$6)) : createCommentVNode("", true),
18264
18264
  createElementVNode("div", null, [
18265
- createVNode(_sfc_main$P, { input: _ctx.errorMessage }, null, 8, ["input"])
18265
+ createVNode(_sfc_main$T, { input: _ctx.errorMessage }, null, 8, ["input"])
18266
18266
  ])
18267
18267
  ]);
18268
18268
  };
18269
18269
  }
18270
18270
  });
18271
18271
  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"];
18272
+ const _hoisted_1$x = ["title"];
18273
+ const _hoisted_2$u = ["for"];
18274
+ const _hoisted_3$r = { class: "switch" };
18275
+ const _hoisted_4$b = ["id"];
18276
18276
  const _hoisted_5$8 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
18277
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
18277
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18278
18278
  __name: "CheckInput",
18279
18279
  props: {
18280
18280
  field: {},
@@ -18307,29 +18307,29 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18307
18307
  }, [
18308
18308
  createElementVNode("label", {
18309
18309
  for: _ctx.field.id
18310
- }, toDisplayString(_ctx.field.label), 9, _hoisted_2$q),
18311
- createElementVNode("label", _hoisted_3$n, [
18310
+ }, toDisplayString(_ctx.field.label), 9, _hoisted_2$u),
18311
+ createElementVNode("label", _hoisted_3$r, [
18312
18312
  withDirectives(createElementVNode("input", {
18313
18313
  id: _ctx.field.id,
18314
18314
  type: "checkbox",
18315
18315
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
18316
18316
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18317
- }, null, 10, _hoisted_4$9), [
18317
+ }, null, 10, _hoisted_4$b), [
18318
18318
  [vModelCheckbox, inputVal.value]
18319
18319
  ]),
18320
18320
  _hoisted_5$8
18321
18321
  ])
18322
- ], 10, _hoisted_1$t);
18322
+ ], 10, _hoisted_1$x);
18323
18323
  };
18324
18324
  }
18325
18325
  });
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"];
18326
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-69f0d857"]]);
18327
+ const _hoisted_1$w = ["title"];
18328
+ const _hoisted_2$t = { key: 0 };
18329
+ const _hoisted_3$q = { class: "flex gap-3" };
18330
+ const _hoisted_4$a = ["value", "placeholder"];
18331
18331
  const _hoisted_5$7 = { class: "currency" };
18332
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
18332
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18333
18333
  __name: "CurrencyInput",
18334
18334
  props: {
18335
18335
  field: {},
@@ -18430,26 +18430,26 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18430
18430
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18431
18431
  title: _ctx.field.description
18432
18432
  }, [
18433
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18434
- createElementVNode("div", _hoisted_3$m, [
18433
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18434
+ createElementVNode("div", _hoisted_3$q, [
18435
18435
  createElementVNode("input", {
18436
18436
  value: _ctx.modelValue,
18437
18437
  type: "number",
18438
18438
  onInput: handleInput,
18439
18439
  placeholder: _ctx.placeholder,
18440
18440
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18441
- }, null, 42, _hoisted_4$8),
18441
+ }, null, 42, _hoisted_4$a),
18442
18442
  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
18443
  ])
18444
- ], 10, _hoisted_1$s);
18444
+ ], 10, _hoisted_1$w);
18445
18445
  };
18446
18446
  }
18447
18447
  });
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({
18448
+ const CurrencyInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-17a56a3f"]]);
18449
+ const _hoisted_1$v = ["title"];
18450
+ const _hoisted_2$s = { key: 0 };
18451
+ const _hoisted_3$p = ["placeholder", "disabled"];
18452
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
18453
18453
  __name: "DateInput",
18454
18454
  props: {
18455
18455
  field: {},
@@ -18470,7 +18470,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18470
18470
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18471
18471
  title: _ctx.field.description
18472
18472
  }, [
18473
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18473
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
18474
18474
  withDirectives(createElementVNode("input", {
18475
18475
  type: "date",
18476
18476
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
@@ -18480,18 +18480,18 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18480
18480
  disabled: !_ctx.editMode,
18481
18481
  enableTimePicker: false,
18482
18482
  textInputOptions: { format: "yyyy-MM-dd" }
18483
- }, null, 40, _hoisted_3$l), [
18483
+ }, null, 40, _hoisted_3$p), [
18484
18484
  [vModelText, date2.value]
18485
18485
  ])
18486
- ], 10, _hoisted_1$r);
18486
+ ], 10, _hoisted_1$v);
18487
18487
  };
18488
18488
  }
18489
18489
  });
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({
18490
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-782aee7f"]]);
18491
+ const _hoisted_1$u = ["title"];
18492
+ const _hoisted_2$r = { key: 0 };
18493
+ const _hoisted_3$o = ["value", "placeholder"];
18494
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
18495
18495
  __name: "DatetimeInput",
18496
18496
  props: {
18497
18497
  description: { default: "" },
@@ -18517,7 +18517,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18517
18517
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18518
18518
  title: _ctx.description
18519
18519
  }, [
18520
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18520
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
18521
18521
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18522
18522
  ])) : createCommentVNode("", true),
18523
18523
  createElementVNode("input", {
@@ -18526,15 +18526,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18526
18526
  onInput: handleInput,
18527
18527
  placeholder: _ctx.placeholder,
18528
18528
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18529
- }, null, 42, _hoisted_3$k)
18530
- ], 10, _hoisted_1$q);
18529
+ }, null, 42, _hoisted_3$o)
18530
+ ], 10, _hoisted_1$u);
18531
18531
  };
18532
18532
  }
18533
18533
  });
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({
18534
+ const _hoisted_1$t = ["title"];
18535
+ const _hoisted_2$q = { key: 0 };
18536
+ const _hoisted_3$n = ["value", "placeholder"];
18537
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18538
18538
  __name: "EmailInput",
18539
18539
  props: {
18540
18540
  description: { default: "" },
@@ -18557,7 +18557,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18557
18557
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18558
18558
  title: _ctx.description
18559
18559
  }, [
18560
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18560
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
18561
18561
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18562
18562
  ])) : createCommentVNode("", true),
18563
18563
  createElementVNode("input", {
@@ -18567,16 +18567,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18567
18567
  onInput: handleInput,
18568
18568
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18569
18569
  placeholder: _ctx.placeholder
18570
- }, null, 42, _hoisted_3$j)
18571
- ], 10, _hoisted_1$p);
18570
+ }, null, 42, _hoisted_3$n)
18571
+ ], 10, _hoisted_1$t);
18572
18572
  };
18573
18573
  }
18574
18574
  });
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({
18575
+ const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ed81a514"]]);
18576
+ const _hoisted_1$s = ["title"];
18577
+ const _hoisted_2$p = { key: 0 };
18578
+ const _hoisted_3$m = ["value", "placeholder"];
18579
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18580
18580
  __name: "FloatInput",
18581
18581
  props: {
18582
18582
  description: { default: "" },
@@ -18603,7 +18603,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18603
18603
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18604
18604
  title: _ctx.description
18605
18605
  }, [
18606
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$l, [
18606
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
18607
18607
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18608
18608
  ])) : createCommentVNode("", true),
18609
18609
  createElementVNode("input", {
@@ -18612,15 +18612,15 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18612
18612
  onInput: handleInput,
18613
18613
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18614
18614
  placeholder: _ctx.placeholder
18615
- }, null, 42, _hoisted_3$i)
18616
- ], 10, _hoisted_1$o);
18615
+ }, null, 42, _hoisted_3$m)
18616
+ ], 10, _hoisted_1$s);
18617
18617
  };
18618
18618
  }
18619
18619
  });
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({
18620
+ const _hoisted_1$r = ["title"];
18621
+ const _hoisted_2$o = { key: 0 };
18622
+ const _hoisted_3$l = ["value", "placeholder"];
18623
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18624
18624
  __name: "IntInput",
18625
18625
  props: {
18626
18626
  description: { default: "" },
@@ -18647,7 +18647,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18647
18647
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18648
18648
  title: _ctx.description
18649
18649
  }, [
18650
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, [
18650
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
18651
18651
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18652
18652
  ])) : createCommentVNode("", true),
18653
18653
  createElementVNode("input", {
@@ -18656,15 +18656,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18656
18656
  onInput: handleInput,
18657
18657
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18658
18658
  placeholder: _ctx.placeholder
18659
- }, null, 42, _hoisted_3$h)
18660
- ], 10, _hoisted_1$n);
18659
+ }, null, 42, _hoisted_3$l)
18660
+ ], 10, _hoisted_1$r);
18661
18661
  };
18662
18662
  }
18663
18663
  });
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({
18664
+ const _hoisted_1$q = ["title"];
18665
+ const _hoisted_2$n = { key: 0 };
18666
+ const _hoisted_3$k = ["value", "placeholder"];
18667
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
18668
18668
  __name: "JSONInput",
18669
18669
  props: {
18670
18670
  description: { default: "" },
@@ -18687,7 +18687,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18687
18687
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18688
18688
  title: _ctx.description
18689
18689
  }, [
18690
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$j, [
18690
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
18691
18691
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18692
18692
  ])) : createCommentVNode("", true),
18693
18693
  createElementVNode("textarea", {
@@ -18695,16 +18695,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18695
18695
  onInput: handleInput,
18696
18696
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
18697
18697
  placeholder: _ctx.placeholder
18698
- }, null, 42, _hoisted_3$g)
18699
- ], 10, _hoisted_1$m);
18698
+ }, null, 42, _hoisted_3$k)
18699
+ ], 10, _hoisted_1$q);
18700
18700
  };
18701
18701
  }
18702
18702
  });
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"];
18703
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1fc4f739"]]);
18704
+ const _hoisted_1$p = ["title"];
18705
+ const _hoisted_2$m = { key: 0 };
18706
+ const _hoisted_3$j = ["onKeydown", "disabled"];
18707
+ const _hoisted_4$9 = ["onClick"];
18708
18708
  const _hoisted_5$6 = {
18709
18709
  key: 0,
18710
18710
  class: "option-label"
@@ -18714,7 +18714,7 @@ const _hoisted_6$5 = {
18714
18714
  class: "option-label"
18715
18715
  };
18716
18716
  const _hoisted_7$2 = { class: "option-description" };
18717
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
18717
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
18718
18718
  __name: "LinkField",
18719
18719
  props: {
18720
18720
  description: { default: "" },
@@ -18838,7 +18838,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18838
18838
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18839
18839
  title: _ctx.description
18840
18840
  }, [
18841
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$i, [
18841
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$m, [
18842
18842
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18843
18843
  ])) : createCommentVNode("", true),
18844
18844
  withDirectives(createElementVNode("input", {
@@ -18850,7 +18850,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18850
18850
  onFocus: initList,
18851
18851
  onInput: handleInput,
18852
18852
  disabled: !_ctx.editMode
18853
- }, null, 40, _hoisted_3$f), [
18853
+ }, null, 40, _hoisted_3$j), [
18854
18854
  [vModelText, selectedItem.value]
18855
18855
  ]),
18856
18856
  createElementVNode("div", {
@@ -18875,21 +18875,21 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18875
18875
  createElementVNode("span", null, "ID: " + toDisplayString(option2.value), 1)
18876
18876
  ])) : (openBlock(), createElementBlock("div", _hoisted_6$5, " ID: " + toDisplayString(option2.value), 1)),
18877
18877
  createElementVNode("div", _hoisted_7$2, toDisplayString(option2.description), 1)
18878
- ], 8, _hoisted_4$7);
18878
+ ], 8, _hoisted_4$9);
18879
18879
  }), 128))
18880
18880
  ], 2)
18881
18881
  ]))
18882
18882
  ], 2)
18883
- ], 10, _hoisted_1$l);
18883
+ ], 10, _hoisted_1$p);
18884
18884
  };
18885
18885
  }
18886
18886
  });
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({
18887
+ const LinkField = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-947beb38"]]);
18888
+ const _hoisted_1$o = ["title"];
18889
+ const _hoisted_2$l = { key: 0 };
18890
+ const _hoisted_3$i = { class: "password-input-wrap" };
18891
+ const _hoisted_4$8 = ["value", "type", "placeholder"];
18892
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
18893
18893
  __name: "PasswordInput",
18894
18894
  props: {
18895
18895
  description: { default: "" },
@@ -18923,31 +18923,31 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
18923
18923
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
18924
18924
  title: _ctx.description
18925
18925
  }, [
18926
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
18926
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$l, [
18927
18927
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
18928
18928
  ])) : createCommentVNode("", true),
18929
- createElementVNode("div", _hoisted_3$e, [
18929
+ createElementVNode("div", _hoisted_3$i, [
18930
18930
  createElementVNode("input", {
18931
18931
  value: _ctx.modelValue,
18932
18932
  type: unref(inputType),
18933
18933
  onInput: handleInput,
18934
18934
  placeholder: _ctx.placeholder,
18935
18935
  class: normalizeClass({ "no-edit": !_ctx.editMode })
18936
- }, null, 42, _hoisted_4$6),
18936
+ }, null, 42, _hoisted_4$8),
18937
18937
  createElementVNode("div", {
18938
18938
  class: "icon-font password-icon",
18939
18939
  onMousedown: toggleInputType
18940
18940
  }, " visibility ", 32)
18941
18941
  ])
18942
- ], 10, _hoisted_1$k);
18942
+ ], 10, _hoisted_1$o);
18943
18943
  };
18944
18944
  }
18945
18945
  });
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({
18946
+ const PasswordInput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-eec3e237"]]);
18947
+ const _hoisted_1$n = ["title"];
18948
+ const _hoisted_2$k = ["for"];
18949
+ const _hoisted_3$h = ["id", "type", "placeholder", "required", "pattern"];
18950
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
18951
18951
  __name: "Password",
18952
18952
  props: {
18953
18953
  field: {},
@@ -18987,22 +18987,22 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
18987
18987
  class: { "no-edit": !_ctx.editMode },
18988
18988
  required: _ctx.required,
18989
18989
  pattern: _ctx.pattern
18990
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$d), [
18990
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$h), [
18991
18991
  [vModelDynamic, inputVal.value]
18992
18992
  ])
18993
- ], 8, _hoisted_2$g),
18994
- createVNode(unref(_sfc_main$N), {
18993
+ ], 8, _hoisted_2$k),
18994
+ createVNode(unref(_sfc_main$R), {
18995
18995
  onClick: showPassword,
18996
18996
  icon: unref(seePassword) ? "visibility" : "visibility_off"
18997
18997
  }, null, 8, ["icon"])
18998
- ], 10, _hoisted_1$j)) : createCommentVNode("", true);
18998
+ ], 10, _hoisted_1$n)) : createCommentVNode("", true);
18999
18999
  };
19000
19000
  }
19001
19001
  });
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({
19002
+ const Password = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-800f4000"]]);
19003
+ const _hoisted_1$m = ["title"];
19004
+ const _hoisted_2$j = { key: 0 };
19005
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
19006
19006
  __name: "ReadOnlyInput",
19007
19007
  props: {
19008
19008
  field: {},
@@ -19015,17 +19015,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
19015
19015
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19016
19016
  title: _ctx.field.description
19017
19017
  }, [
19018
- _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19018
+ _ctx.field.label ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(_ctx.field.label), 1)) : createCommentVNode("", true),
19019
19019
  createTextVNode(" " + toDisplayString(_ctx.modelValue), 1)
19020
- ], 10, _hoisted_1$i);
19020
+ ], 10, _hoisted_1$m);
19021
19021
  };
19022
19022
  }
19023
19023
  });
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({
19024
+ const ReadOnlyInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3b5a368"]]);
19025
+ const _hoisted_1$l = ["title"];
19026
+ const _hoisted_2$i = ["onClick"];
19027
+ const _hoisted_3$g = ["onClick"];
19028
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19029
19029
  __name: "SelectField",
19030
19030
  props: {
19031
19031
  inputType: {},
@@ -19157,7 +19157,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19157
19157
  for: "label",
19158
19158
  class: normalizeClass({ active: showList.value })
19159
19159
  }, [
19160
- createVNode(unref(_sfc_main$P), { input: _ctx.label }, null, 8, ["input"])
19160
+ createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
19161
19161
  ], 2)) : createCommentVNode("", true),
19162
19162
  createElementVNode("div", {
19163
19163
  class: normalizeClass(["custom-select", { "open-select": showList.value && _ctx.editMode }]),
@@ -19169,8 +19169,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19169
19169
  class: normalizeClass(["input", { active: showList.value }]),
19170
19170
  name: "select-input"
19171
19171
  }, [
19172
- createVNode(unref(_sfc_main$P), { input: displayValue.value }, null, 8, ["input"])
19173
- ], 10, _hoisted_2$e),
19172
+ createVNode(unref(_sfc_main$T), { input: displayValue.value }, null, 8, ["input"])
19173
+ ], 10, _hoisted_2$i),
19174
19174
  (openBlock(), createBlock(Teleport, { to: "#app" }, [
19175
19175
  createElementVNode("div", {
19176
19176
  ref_key: "dropdown",
@@ -19182,23 +19182,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
19182
19182
  key: option2.value,
19183
19183
  onClick: ($event) => handleSelect(option2)
19184
19184
  }, [
19185
- createVNode(unref(_sfc_main$P), {
19185
+ createVNode(unref(_sfc_main$T), {
19186
19186
  input: option2.label
19187
19187
  }, null, 8, ["input"])
19188
- ], 8, _hoisted_3$c);
19188
+ ], 8, _hoisted_3$g);
19189
19189
  }), 128))
19190
19190
  ], 2)
19191
19191
  ]))
19192
19192
  ], 2)
19193
- ], 10, _hoisted_1$h);
19193
+ ], 10, _hoisted_1$l);
19194
19194
  };
19195
19195
  }
19196
19196
  });
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({
19197
+ const SelectField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-028ea61b"]]);
19198
+ const _hoisted_1$k = ["title"];
19199
+ const _hoisted_2$h = { key: 0 };
19200
+ const _hoisted_3$f = ["value", "placeholder"];
19201
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19202
19202
  __name: "RichTextEditor",
19203
19203
  props: {
19204
19204
  description: { default: "" },
@@ -19221,7 +19221,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19221
19221
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
19222
19222
  title: _ctx.description
19223
19223
  }, [
19224
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
19224
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$h, [
19225
19225
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
19226
19226
  ])) : createCommentVNode("", true),
19227
19227
  createElementVNode("textarea", {
@@ -19229,12 +19229,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19229
19229
  onInput: handleInput,
19230
19230
  placeholder: _ctx.placeholder,
19231
19231
  class: normalizeClass({ "no-edit": !_ctx.editMode })
19232
- }, null, 42, _hoisted_3$b)
19233
- ], 10, _hoisted_1$g);
19232
+ }, null, 42, _hoisted_3$f)
19233
+ ], 10, _hoisted_1$k);
19234
19234
  };
19235
19235
  }
19236
19236
  });
19237
- const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-69a60381"]]);
19237
+ const RichTextEditor = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-69a60381"]]);
19238
19238
  /*!
19239
19239
  * vue-draggable-next v2.2.0
19240
19240
  * (c) 2023 Anish George
@@ -21757,13 +21757,13 @@ const VueDraggableNext = defineComponent({
21757
21757
  }
21758
21758
  }
21759
21759
  });
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" };
21760
+ const _hoisted_1$j = ["title"];
21761
+ const _hoisted_2$g = { class: "bagel-input" };
21762
+ const _hoisted_3$e = { class: "table-side-scroll" };
21763
+ const _hoisted_4$7 = { class: "table-header" };
21764
21764
  const _hoisted_5$5 = { class: "table-reorder" };
21765
21765
  const _hoisted_6$4 = { class: "table-action" };
21766
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21766
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
21767
21767
  __name: "TableField",
21768
21768
  props: {
21769
21769
  description: { default: "" },
@@ -21828,11 +21828,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21828
21828
  class: "table-field-wrap",
21829
21829
  title: _ctx.description
21830
21830
  }, [
21831
- createElementVNode("div", _hoisted_2$c, [
21831
+ createElementVNode("div", _hoisted_2$g, [
21832
21832
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
21833
21833
  ]),
21834
- createElementVNode("div", _hoisted_3$a, [
21835
- createElementVNode("div", _hoisted_4$5, [
21834
+ createElementVNode("div", _hoisted_3$e, [
21835
+ createElementVNode("div", _hoisted_4$7, [
21836
21836
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
21837
21837
  return openBlock(), createElementBlock("div", {
21838
21838
  class: normalizeClass(["header-col", unref(formatString)(field.fieldtype, "pascal")]),
@@ -21860,7 +21860,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21860
21860
  key: row.id
21861
21861
  }, [
21862
21862
  createElementVNode("div", _hoisted_5$5, [
21863
- createVNode(_sfc_main$k, { icon: "more_vert" })
21863
+ createVNode(_sfc_main$o, { icon: "more_vert" })
21864
21864
  ]),
21865
21865
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
21866
21866
  return openBlock(), createElementBlock("div", {
@@ -21877,7 +21877,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21877
21877
  ], 2);
21878
21878
  }), 128)),
21879
21879
  createElementVNode("div", _hoisted_6$4, [
21880
- createVNode(_sfc_main$k, {
21880
+ createVNode(_sfc_main$o, {
21881
21881
  icon: "delete",
21882
21882
  onClick: ($event) => removeRow(index2)
21883
21883
  }, null, 8, ["onClick"])
@@ -21903,15 +21903,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
21903
21903
  ]),
21904
21904
  _: 1
21905
21905
  })
21906
- ], 8, _hoisted_1$f);
21906
+ ], 8, _hoisted_1$j);
21907
21907
  };
21908
21908
  }
21909
21909
  });
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({
21910
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b01223bc"]]);
21911
+ const _hoisted_1$i = ["title"];
21912
+ const _hoisted_2$f = { key: 0 };
21913
+ const _hoisted_3$d = ["value", "title", "placeholder"];
21914
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
21915
21915
  __name: "DurationInput",
21916
21916
  props: {
21917
21917
  description: { default: "" },
@@ -21938,7 +21938,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
21938
21938
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
21939
21939
  title: _ctx.description
21940
21940
  }, [
21941
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$b, [
21941
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, [
21942
21942
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21943
21943
  ])) : createCommentVNode("", true),
21944
21944
  createElementVNode("input", {
@@ -21948,15 +21948,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
21948
21948
  onInput: handleInput,
21949
21949
  placeholder: _ctx.placeholder,
21950
21950
  class: normalizeClass({ "no-edit": !_ctx.editMode })
21951
- }, null, 42, _hoisted_3$9)
21952
- ], 10, _hoisted_1$e);
21951
+ }, null, 42, _hoisted_3$d)
21952
+ ], 10, _hoisted_1$i);
21953
21953
  };
21954
21954
  }
21955
21955
  });
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({
21956
+ const _hoisted_1$h = ["title"];
21957
+ const _hoisted_2$e = ["for"];
21958
+ const _hoisted_3$c = ["id", "placeholder", "required", "pattern"];
21959
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
21960
21960
  __name: "TextInput",
21961
21961
  props: {
21962
21962
  id: {},
@@ -22005,14 +22005,278 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22005
22005
  class: { "no-edit": !_ctx.editMode },
22006
22006
  required: _ctx.required,
22007
22007
  pattern: _ctx.pattern
22008
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$c), [
22009
+ [vModelText, unref(inputVal)]
22010
+ ])
22011
+ ], 8, _hoisted_2$e)
22012
+ ], 10, _hoisted_1$h);
22013
+ };
22014
+ }
22015
+ });
22016
+ const _hoisted_1$g = ["title"];
22017
+ const _hoisted_2$d = { key: 0 };
22018
+ const _hoisted_3$b = {
22019
+ key: 1,
22020
+ class: "character-limit"
22021
+ };
22022
+ const _hoisted_4$6 = ["value"];
22023
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
22024
+ __name: "TextArea",
22025
+ props: {
22026
+ description: { default: "" },
22027
+ label: { default: "" },
22028
+ modelValue: {},
22029
+ placeholder: { default: "" },
22030
+ editMode: { type: Boolean, default: true },
22031
+ small: { type: Boolean },
22032
+ nativeInputAttrs: {},
22033
+ showCharacterLimit: { type: Boolean }
22034
+ },
22035
+ emits: ["update:modelValue"],
22036
+ setup(__props, { emit: __emit }) {
22037
+ const emits = __emit;
22038
+ const handleInput = (e) => {
22039
+ const el = e.target;
22040
+ emits("update:modelValue", el.value);
22041
+ };
22042
+ return (_ctx, _cache) => {
22043
+ var _a, _b;
22044
+ return openBlock(), createElementBlock("div", {
22045
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22046
+ title: _ctx.description
22047
+ }, [
22048
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$d, [
22049
+ createVNode(unref(_sfc_main$T), { input: _ctx.label }, null, 8, ["input"])
22050
+ ])) : createCommentVNode("", true),
22051
+ _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),
22052
+ createElementVNode("textarea", mergeProps({
22053
+ value: _ctx.modelValue,
22054
+ onInput: handleInput,
22055
+ class: { "no-edit": !_ctx.editMode }
22056
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_4$6)
22057
+ ], 10, _hoisted_1$g);
22058
+ };
22059
+ }
22060
+ });
22061
+ const TextArea = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a5b28c58"]]);
22062
+ const _hoisted_1$f = ["title"];
22063
+ const _hoisted_2$c = ["for"];
22064
+ const _hoisted_3$a = ["id", "placeholder", "required"];
22065
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
22066
+ __name: "ColorPicker",
22067
+ props: {
22068
+ field: {},
22069
+ modelValue: {},
22070
+ editMode: { type: Boolean, default: true },
22071
+ small: { type: Boolean },
22072
+ required: { type: Boolean },
22073
+ nativeInputAttrs: {}
22074
+ },
22075
+ emits: ["update:modelValue"],
22076
+ setup(__props, { emit: __emit }) {
22077
+ const emits = __emit;
22078
+ const props2 = __props;
22079
+ const inputVal = ref(props2.modelValue);
22080
+ watch(
22081
+ () => inputVal.value,
22082
+ (newVal) => emits("update:modelValue", newVal)
22083
+ );
22084
+ return (_ctx, _cache) => {
22085
+ var _a;
22086
+ return _ctx.field.id ? (openBlock(), createElementBlock("div", {
22087
+ key: 0,
22088
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22089
+ title: _ctx.field.description
22090
+ }, [
22091
+ createElementVNode("label", {
22092
+ for: _ctx.field.id
22093
+ }, [
22094
+ createTextVNode(toDisplayString(_ctx.field.label) + " ", 1),
22095
+ withDirectives(createElementVNode("input", mergeProps({
22096
+ id: _ctx.field.id,
22097
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
22098
+ type: "color",
22099
+ placeholder: ((_a = _ctx.field) == null ? void 0 : _a.placeholder) || _ctx.field.label,
22100
+ class: { "no-edit": !_ctx.editMode },
22101
+ required: _ctx.required
22102
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$a), [
22103
+ [vModelText, inputVal.value]
22104
+ ])
22105
+ ], 8, _hoisted_2$c)
22106
+ ], 10, _hoisted_1$f)) : createCommentVNode("", true);
22107
+ };
22108
+ }
22109
+ });
22110
+ const _hoisted_1$e = { key: 0 };
22111
+ const _hoisted_2$b = ["onKeydown", "disabled"];
22112
+ const _hoisted_3$9 = { class: "custom-select-drop" };
22113
+ const _hoisted_4$5 = ["onClick"];
22114
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
22115
+ __name: "DynamicLinkField",
22116
+ props: {
22117
+ label: { default: "" },
22118
+ modelValue: {},
22119
+ useId: { type: Boolean, default: false },
22120
+ bagelApp: {},
22121
+ entity: {},
22122
+ editMode: { type: Boolean },
22123
+ filters: { default: {} },
22124
+ small: { type: Boolean }
22125
+ },
22126
+ emits: ["update:modelValue", "selected"],
22127
+ setup(__props, { emit: __emit }) {
22128
+ const props2 = __props;
22129
+ const showList = ref(false);
22130
+ const linkOptions = ref([]);
22131
+ const item = ref();
22132
+ const emits = __emit;
22133
+ const selectedItem = ref();
22134
+ function handleSelect(item2) {
22135
+ showList.value = false;
22136
+ selectedItem.value = item2;
22137
+ if (props2.useId) {
22138
+ selectedItem.value = item2.value;
22139
+ } else {
22140
+ selectedItem.value = item2.label || item2.description || item2.value;
22141
+ }
22142
+ emits("update:modelValue", item2.value);
22143
+ emits("selected");
22144
+ }
22145
+ async function getLinkOptions(inputString) {
22146
+ var _a;
22147
+ linkOptions.value = await ((_a = props2.bagelApp) == null ? void 0 : _a.entity.getLinkedFieldList({
22148
+ entity: props2.entity,
22149
+ txt: inputString,
22150
+ reference_entity: "",
22151
+ filters: props2.filters
22152
+ }));
22153
+ }
22154
+ async function initList(e) {
22155
+ await getLinkOptions(getElValue(e));
22156
+ showList.value = true;
22157
+ }
22158
+ function getElValue(e) {
22159
+ const el = e.target;
22160
+ return el.value.trim();
22161
+ }
22162
+ function handleEnter(e) {
22163
+ emits("update:modelValue", getElValue(e));
22164
+ emits("selected");
22165
+ showList.value = false;
22166
+ }
22167
+ function handleClick(e) {
22168
+ const { target } = e;
22169
+ if (target.name != "link-input" && showList.value == true) {
22170
+ showList.value = false;
22171
+ emits("update:modelValue", item.value);
22172
+ emits("selected");
22173
+ }
22174
+ }
22175
+ const handleInput = async (e) => {
22176
+ showList.value = true;
22177
+ const el = e.target;
22178
+ emits("update:modelValue", el.value);
22179
+ await getLinkOptions(el.value);
22180
+ };
22181
+ onMounted(() => {
22182
+ selectedItem.value = props2.modelValue;
22183
+ document.addEventListener("click", handleClick);
22184
+ });
22185
+ return (_ctx, _cache) => {
22186
+ const _component_LangText = resolveComponent("LangText");
22187
+ return openBlock(), createElementBlock("div", {
22188
+ class: normalizeClass(["bagel-input", { small: _ctx.small }])
22189
+ }, [
22190
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$e, [
22191
+ createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
22192
+ ])) : createCommentVNode("", true),
22193
+ withDirectives(createElementVNode("input", {
22194
+ onKeydown: withKeys(handleEnter, ["enter"]),
22195
+ autocomplete: "off",
22196
+ onClick: _cache[0] || (_cache[0] = ($event) => showList.value = true),
22197
+ name: "link-input",
22198
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedItem.value = $event),
22199
+ onFocus: initList,
22200
+ onInput: handleInput,
22201
+ disabled: !_ctx.editMode
22202
+ }, null, 40, _hoisted_2$b), [
22203
+ [vModelText, selectedItem.value]
22204
+ ]),
22205
+ createElementVNode("div", {
22206
+ class: normalizeClass(["custom-select", { "open-select": showList.value && linkOptions.value.length > 0 }]),
22207
+ name: "link-input"
22208
+ }, [
22209
+ createElementVNode("div", _hoisted_3$9, [
22210
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(linkOptions.value, (item2) => {
22211
+ return openBlock(), createElementBlock("div", {
22212
+ key: unref(formatString)(item2.value, "pascal"),
22213
+ onClick: withModifiers(($event) => handleSelect(item2), ["stop"])
22214
+ }, toDisplayString(_ctx.useId || _ctx.entity === "Entity" ? item2.value : item2.label || item2.description || item2.value), 9, _hoisted_4$5);
22215
+ }), 128))
22216
+ ])
22217
+ ], 2)
22218
+ ], 2);
22219
+ };
22220
+ }
22221
+ });
22222
+ const _hoisted_1$d = ["title"];
22223
+ const _hoisted_2$a = ["for"];
22224
+ const _hoisted_3$8 = ["id", "placeholder", "required", "pattern"];
22225
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
22226
+ __name: "PlainText",
22227
+ props: {
22228
+ field: {},
22229
+ modelValue: {},
22230
+ editMode: { type: Boolean, default: true },
22231
+ small: { type: Boolean },
22232
+ required: { type: Boolean },
22233
+ pattern: {},
22234
+ nativeInputAttrs: {}
22235
+ },
22236
+ emits: ["update:modelValue"],
22237
+ setup(__props, { emit: __emit }) {
22238
+ const emit2 = __emit;
22239
+ const props2 = __props;
22240
+ let inputVal = ref();
22241
+ watch(
22242
+ () => inputVal.value,
22243
+ (newVal) => emit2("update:modelValue", newVal)
22244
+ );
22245
+ watch(
22246
+ () => props2.modelValue,
22247
+ (newVal) => {
22248
+ if (newVal !== inputVal.value)
22249
+ inputVal.value = newVal;
22250
+ },
22251
+ { immediate: true }
22252
+ );
22253
+ return (_ctx, _cache) => {
22254
+ return _ctx.field.id ? (openBlock(), createElementBlock("div", {
22255
+ key: 0,
22256
+ class: normalizeClass(["bagel-input", { small: _ctx.small }]),
22257
+ title: _ctx.field.description
22258
+ }, [
22259
+ createElementVNode("label", {
22260
+ for: _ctx.field.id
22261
+ }, [
22262
+ createTextVNode(toDisplayString(_ctx.field.label) + " ", 1),
22263
+ withDirectives(createElementVNode("input", mergeProps({
22264
+ id: _ctx.field.id,
22265
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(inputVal) ? inputVal.value = $event : inputVal = $event),
22266
+ type: "text",
22267
+ placeholder: _ctx.field.placeholder || _ctx.field.label,
22268
+ class: { "no-edit": !_ctx.editMode },
22269
+ required: _ctx.required,
22270
+ pattern: _ctx.pattern
22008
22271
  }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$8), [
22009
22272
  [vModelText, unref(inputVal)]
22010
22273
  ])
22011
22274
  ], 8, _hoisted_2$a)
22012
- ], 10, _hoisted_1$d);
22275
+ ], 10, _hoisted_1$d)) : createCommentVNode("", true);
22013
22276
  };
22014
22277
  }
22015
22278
  });
22279
+ const PlainText = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-188270a2"]]);
22016
22280
  function _isPlaceholder(a) {
22017
22281
  return a != null && typeof a === "object" && a["@@functional/placeholder"] === true;
22018
22282
  }
@@ -28457,7 +28721,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28457
28721
  return (_ctx, _cache) => {
28458
28722
  var _a, _b, _c, _d, _e, _f;
28459
28723
  return openBlock(), createElementBlock("div", _hoisted_1, [
28460
- createVNode(unref(_sfc_main$E), null, {
28724
+ createVNode(unref(_sfc_main$I), null, {
28461
28725
  default: withCtx(() => [
28462
28726
  createTextVNode("Whatsapp Template")
28463
28727
  ]),
@@ -28466,7 +28730,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28466
28730
  createElementVNode("div", _hoisted_2, [
28467
28731
  createElementVNode("div", _hoisted_3, [
28468
28732
  createElementVNode("div", _hoisted_4, [
28469
- createVNode(unref(_sfc_main$B), {
28733
+ createVNode(unref(_sfc_main$F), {
28470
28734
  schema: _ctx.whatsappTemplateSchema(),
28471
28735
  modelValue: unref(localWhatsappData),
28472
28736
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(localWhatsappData) ? localWhatsappData.value = $event : localWhatsappData = $event),
@@ -28497,41 +28761,45 @@ export {
28497
28761
  BarChart,
28498
28762
  Btn,
28499
28763
  CheckInput,
28764
+ Checkbox,
28765
+ _sfc_main$4 as ColorPicker,
28500
28766
  Comments,
28501
28767
  ContactArrayInput,
28502
- _sfc_main$x as ContactSubmissions,
28768
+ _sfc_main$B as ContactSubmissions,
28503
28769
  CurrencyInput,
28504
28770
  DataPreview,
28505
28771
  DateInput,
28506
- _sfc_main$f as DatetimeInput,
28507
- _sfc_main$J as DropDown,
28508
- _sfc_main$3 as DurationInput,
28772
+ _sfc_main$j as DatetimeInput,
28773
+ _sfc_main$N as DropDown,
28774
+ _sfc_main$7 as DurationInput,
28775
+ _sfc_main$3 as DynamicLinkField,
28509
28776
  EmailInput,
28510
28777
  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,
28778
+ _sfc_main$h as FloatInput,
28779
+ _sfc_main$F as FormSchema,
28780
+ _sfc_main$g as IntInput,
28781
+ _sfc_main$p as ItemRef,
28515
28782
  JSONInput,
28516
- _sfc_main$P as LangText,
28783
+ _sfc_main$T as LangText,
28517
28784
  _sfc_main$1 as Lineart,
28518
28785
  LinkField,
28519
- _sfc_main$H as ListItem,
28520
- _sfc_main$I as ListView,
28521
- _sfc_main$N as MaterialIcon,
28786
+ _sfc_main$L as ListItem,
28787
+ _sfc_main$M as ListView,
28788
+ _sfc_main$R as MaterialIcon,
28522
28789
  MiscFieldsInput,
28523
- _sfc_main$K as Modal,
28790
+ _sfc_main$O as Modal,
28524
28791
  ModalForm,
28525
28792
  ModalPlugin,
28526
28793
  MsgTemplate,
28527
- _sfc_main$M as NavBar,
28528
- _sfc_main$E as PageTitle,
28794
+ _sfc_main$Q as NavBar,
28795
+ _sfc_main$I as PageTitle,
28529
28796
  Password,
28530
28797
  PasswordInput,
28531
- _sfc_main$w as PersonPreview,
28798
+ _sfc_main$A as PersonPreview,
28532
28799
  PersonPreviewInput,
28533
- _sfc_main$j as PlainInputField,
28534
- _sfc_main$O as RTXEditor,
28800
+ _sfc_main$n as PlainInputField,
28801
+ PlainText,
28802
+ _sfc_main$S as RTXEditor,
28535
28803
  ReadOnlyInput,
28536
28804
  RichTextEditor,
28537
28805
  RouterWrapper,
@@ -28539,8 +28807,9 @@ export {
28539
28807
  TabbedLayout,
28540
28808
  TableField,
28541
28809
  TableSchema,
28542
- _sfc_main$2 as TextInput,
28543
- _sfc_main$m as TextVariableExamples,
28810
+ TextArea,
28811
+ _sfc_main$6 as TextInput,
28812
+ _sfc_main$q as TextVariableExamples,
28544
28813
  TextVariablesInput,
28545
28814
  ToggleSwitchInput,
28546
28815
  TopBar,