@bagelink/vue 0.0.284 → 0.0.287

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4880,7 +4880,7 @@ const ModalPlugin = {
4880
4880
  const props2 = { ...modal.modalOptions, "onUpdate:isModalVisible": () => hideModal(index2) };
4881
4881
  if (modal.modalType === "modalForm")
4882
4882
  return vue.h(ModalForm, props2, modal.componentSlots);
4883
- return vue.h(_sfc_main$z, props2, modal.componentSlots);
4883
+ return vue.h(_sfc_main$y, props2, modal.componentSlots);
4884
4884
  });
4885
4885
  }
4886
4886
  });
@@ -4958,8 +4958,8 @@ const iffer = (field, itemData) => {
4958
4958
  return true;
4959
4959
  };
4960
4960
  const denullify = (itemData, fieldID) => fieldID && itemData ? itemData[fieldID] : null;
4961
- const _hoisted_1$I = { ref: "el" };
4962
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
4961
+ const _hoisted_1$H = { ref: "el" };
4962
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
4963
4963
  __name: "LangText",
4964
4964
  props: {
4965
4965
  input: {}
@@ -4967,7 +4967,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
4967
4967
  setup(__props) {
4968
4968
  return (_ctx, _cache) => {
4969
4969
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
4970
- vue.createElementVNode("span", _hoisted_1$I, null, 512),
4970
+ vue.createElementVNode("span", _hoisted_1$H, null, 512),
4971
4971
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.input), 1)
4972
4972
  ], 64);
4973
4973
  };
@@ -17080,8 +17080,8 @@ const marks = {
17080
17080
  }
17081
17081
  };
17082
17082
  const schema = new Schema({ nodes, marks });
17083
- const _hoisted_1$H = ["id"];
17084
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17083
+ const _hoisted_1$G = ["id"];
17084
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17085
17085
  __name: "RTXEditor",
17086
17086
  props: {
17087
17087
  elementId: { default: Math.random().toString(36).substr(2, 9) },
@@ -17158,11 +17158,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17158
17158
  onClick: focusEditor,
17159
17159
  id: `canvas-${_ctx.elementId}`,
17160
17160
  onKeydown: _cache[0] || (_cache[0] = vue.withKeys(vue.withModifiers(($event) => _ctx.$emit("keydown.meta.enter"), ["meta"]), ["enter"]))
17161
- }, null, 40, _hoisted_1$H);
17161
+ }, null, 40, _hoisted_1$G);
17162
17162
  };
17163
17163
  }
17164
17164
  });
17165
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17165
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17166
17166
  __name: "MaterialIcon",
17167
17167
  props: {
17168
17168
  icon: {},
@@ -17177,13 +17177,13 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17177
17177
  };
17178
17178
  }
17179
17179
  });
17180
- const _hoisted_1$G = { class: "full-nav" };
17181
- const _hoisted_2$x = { class: "nav-scroll" };
17182
- const _hoisted_3$p = { class: "nav-links-wrapper" };
17183
- const _hoisted_4$j = { class: "tooltip" };
17184
- const _hoisted_5$g = { class: "bot-buttons-wrapper" };
17185
- const _hoisted_6$b = { class: "tooltip" };
17186
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17180
+ const _hoisted_1$F = { class: "full-nav" };
17181
+ const _hoisted_2$w = { class: "nav-scroll" };
17182
+ const _hoisted_3$o = { class: "nav-links-wrapper" };
17183
+ const _hoisted_4$i = { class: "tooltip" };
17184
+ const _hoisted_5$f = { class: "bot-buttons-wrapper" };
17185
+ const _hoisted_6$a = { class: "tooltip" };
17186
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17187
17187
  __name: "NavBar",
17188
17188
  props: {
17189
17189
  footerLinks: { default: () => [] },
@@ -17207,14 +17207,14 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17207
17207
  "aria-label": "Toggle Navigation",
17208
17208
  tabindex: "0"
17209
17209
  }, [
17210
- vue.createVNode(vue.unref(_sfc_main$C), {
17210
+ vue.createVNode(vue.unref(_sfc_main$B), {
17211
17211
  icon: "chevron_right",
17212
17212
  class: "top-arrow"
17213
17213
  })
17214
17214
  ], 32),
17215
- vue.createElementVNode("div", _hoisted_1$G, [
17216
- vue.createElementVNode("div", _hoisted_2$x, [
17217
- vue.createElementVNode("div", _hoisted_3$p, [
17215
+ vue.createElementVNode("div", _hoisted_1$F, [
17216
+ vue.createElementVNode("div", _hoisted_2$w, [
17217
+ vue.createElementVNode("div", _hoisted_3$o, [
17218
17218
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
17219
17219
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
17220
17220
  class: "nav-button",
@@ -17226,17 +17226,17 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17226
17226
  }
17227
17227
  }, {
17228
17228
  default: vue.withCtx(() => [
17229
- vue.createVNode(vue.unref(_sfc_main$C), {
17229
+ vue.createVNode(vue.unref(_sfc_main$B), {
17230
17230
  icon: link.materialIcon
17231
17231
  }, null, 8, ["icon"]),
17232
- vue.createElementVNode("div", _hoisted_4$j, vue.toDisplayString(link.label), 1)
17232
+ vue.createElementVNode("div", _hoisted_4$i, vue.toDisplayString(link.label), 1)
17233
17233
  ]),
17234
17234
  _: 2
17235
17235
  }, 1032, ["to", "onClick"]);
17236
17236
  }), 128))
17237
17237
  ])
17238
17238
  ]),
17239
- vue.createElementVNode("div", _hoisted_5$g, [
17239
+ vue.createElementVNode("div", _hoisted_5$f, [
17240
17240
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.footerLinks, (link) => {
17241
17241
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
17242
17242
  class: "nav-button",
@@ -17248,10 +17248,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17248
17248
  key: link.label
17249
17249
  }, {
17250
17250
  default: vue.withCtx(() => [
17251
- vue.createVNode(vue.unref(_sfc_main$C), {
17251
+ vue.createVNode(vue.unref(_sfc_main$B), {
17252
17252
  icon: link.materialIcon
17253
17253
  }, null, 8, ["icon"]),
17254
- vue.createElementVNode("div", _hoisted_6$b, vue.toDisplayString(link.label), 1)
17254
+ vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
17255
17255
  ]),
17256
17256
  _: 2
17257
17257
  }, 1032, ["to", "onClick"]);
@@ -17270,16 +17270,16 @@ const _export_sfc = (sfc, props2) => {
17270
17270
  }
17271
17271
  return target;
17272
17272
  };
17273
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-776ccc02"]]);
17274
- const _hoisted_1$F = {
17273
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-776ccc02"]]);
17274
+ const _hoisted_1$E = {
17275
17275
  key: 0,
17276
17276
  class: "loading"
17277
17277
  };
17278
- const _hoisted_2$w = {
17278
+ const _hoisted_2$v = {
17279
17279
  key: 1,
17280
17280
  class: "bgl_btn-flex"
17281
17281
  };
17282
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17282
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17283
17283
  __name: "Btn",
17284
17284
  props: {
17285
17285
  disabled: { type: Boolean, default: false },
@@ -17365,8 +17365,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17365
17365
  })
17366
17366
  }, {
17367
17367
  default: vue.withCtx(() => [
17368
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
17369
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
17368
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
17369
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
17370
17370
  key: 0,
17371
17371
  icon: _ctx.icon
17372
17372
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -17374,7 +17374,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17374
17374
  !vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
17375
17375
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
17376
17376
  ], 64)) : vue.createCommentVNode("", true),
17377
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
17377
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
17378
17378
  key: 2,
17379
17379
  icon: props2["icon.end"]
17380
17380
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -17385,10 +17385,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17385
17385
  };
17386
17386
  }
17387
17387
  });
17388
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-7a7625e7"]]);
17389
- const _hoisted_1$E = { class: "tool-bar" };
17390
- const _hoisted_2$v = { class: "modal-footer mt-3" };
17391
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17388
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-7a7625e7"]]);
17389
+ const _hoisted_1$D = { class: "tool-bar" };
17390
+ const _hoisted_2$u = { class: "modal-footer mt-3" };
17391
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17392
17392
  __name: "Modal",
17393
17393
  props: {
17394
17394
  side: { type: Boolean },
@@ -17420,13 +17420,13 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17420
17420
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
17421
17421
  onKeydown: vue.withKeys(closeModal, ["esc"])
17422
17422
  }, [
17423
- vue.createVNode(vue.unref(_sfc_main$n), {
17423
+ vue.createVNode(vue.unref(_sfc_main$m), {
17424
17424
  class: "modal",
17425
17425
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
17426
17426
  }, ["stop"]))
17427
17427
  }, {
17428
17428
  default: vue.withCtx(() => [
17429
- vue.createElementVNode("header", _hoisted_1$E, [
17429
+ vue.createElementVNode("header", _hoisted_1$D, [
17430
17430
  vue.renderSlot(_ctx.$slots, "toolbar"),
17431
17431
  vue.createVNode(vue.unref(Btn), {
17432
17432
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -17434,7 +17434,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17434
17434
  icon: "close",
17435
17435
  onClick: closeModal
17436
17436
  }, null, 8, ["style"]),
17437
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$l), {
17437
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
17438
17438
  key: 0,
17439
17439
  class: "modal-title",
17440
17440
  tag: "h3",
@@ -17442,7 +17442,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17442
17442
  }, null, 8, ["label"])) : vue.createCommentVNode("", true)
17443
17443
  ]),
17444
17444
  vue.renderSlot(_ctx.$slots, "default"),
17445
- vue.createElementVNode("footer", _hoisted_2$v, [
17445
+ vue.createElementVNode("footer", _hoisted_2$u, [
17446
17446
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
17447
17447
  return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
17448
17448
  key: i2,
@@ -17459,7 +17459,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17459
17459
  };
17460
17460
  }
17461
17461
  });
17462
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17462
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17463
17463
  __name: "ModalForm",
17464
17464
  props: /* @__PURE__ */ vue.mergeModels({
17465
17465
  side: { type: Boolean },
@@ -17516,7 +17516,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17516
17516
  }
17517
17517
  __expose({ setFormValues });
17518
17518
  return (_ctx, _cache) => {
17519
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$z), {
17519
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$y), {
17520
17520
  "onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
17521
17521
  side: _ctx.side,
17522
17522
  ref_key: "modal",
@@ -17567,12 +17567,12 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17567
17567
  };
17568
17568
  }
17569
17569
  });
17570
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-dca6fe18"]]);
17571
- const _hoisted_1$D = { class: "accordion-item" };
17572
- const _hoisted_2$u = ["aria-expanded", "aria-controls"];
17573
- const _hoisted_3$o = { class: "accordion-label" };
17574
- const _hoisted_4$i = ["id", "aria-hidden"];
17575
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17570
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-dca6fe18"]]);
17571
+ const _hoisted_1$C = { class: "accordion-item" };
17572
+ const _hoisted_2$t = ["aria-expanded", "aria-controls"];
17573
+ const _hoisted_3$n = { class: "accordion-label" };
17574
+ const _hoisted_4$h = ["id", "aria-hidden"];
17575
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17576
17576
  __name: "AccordionItem",
17577
17577
  props: {
17578
17578
  label: {},
@@ -17583,33 +17583,33 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17583
17583
  let open = vue.ref(false);
17584
17584
  const accordionState = vue.inject("accordionState");
17585
17585
  const id = props2.id || Math.random().toString(36).substring(7);
17586
- vue.watch(() => accordionState.openItem, (currentOpenId) => {
17586
+ vue.watch(() => accordionState == null ? void 0 : accordionState.openItem, (currentOpenId) => {
17587
17587
  if (currentOpenId !== id) {
17588
17588
  open.value = false;
17589
17589
  }
17590
17590
  }, { immediate: true });
17591
17591
  function toggle() {
17592
17592
  open.value = !open.value;
17593
- if (open.value)
17593
+ if (open.value && (accordionState == null ? void 0 : accordionState.openItem))
17594
17594
  accordionState.openItem = id;
17595
- else if (accordionState.openItem === id)
17595
+ else if ((accordionState == null ? void 0 : accordionState.openItem) === id)
17596
17596
  accordionState.openItem = null;
17597
17597
  }
17598
17598
  return (_ctx, _cache) => {
17599
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
17599
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
17600
17600
  vue.createElementVNode("button", {
17601
17601
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
17602
17602
  "aria-expanded": vue.unref(open) ? "true" : "false",
17603
17603
  class: "accordion-head",
17604
17604
  "aria-controls": `accordion-body-${vue.unref(id)}`
17605
17605
  }, [
17606
- vue.createElementVNode("span", _hoisted_3$o, vue.toDisplayString(_ctx.label), 1),
17606
+ vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1),
17607
17607
  vue.createElementVNode("div", {
17608
17608
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
17609
17609
  }, [
17610
- vue.createVNode(vue.unref(_sfc_main$C), { icon: "expand_more" })
17610
+ vue.createVNode(vue.unref(_sfc_main$B), { icon: "expand_more" })
17611
17611
  ], 2)
17612
- ], 8, _hoisted_2$u),
17612
+ ], 8, _hoisted_2$t),
17613
17613
  vue.createVNode(vue.Transition, { name: "expand" }, {
17614
17614
  default: vue.withCtx(() => [
17615
17615
  vue.unref(open) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -17619,7 +17619,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17619
17619
  "aria-hidden": vue.unref(open) ? "false" : "true"
17620
17620
  }, [
17621
17621
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
17622
- ], 8, _hoisted_4$i)) : vue.createCommentVNode("", true)
17622
+ ], 8, _hoisted_4$h)) : vue.createCommentVNode("", true)
17623
17623
  ]),
17624
17624
  _: 3
17625
17625
  })
@@ -17627,16 +17627,16 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17627
17627
  };
17628
17628
  }
17629
17629
  });
17630
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-41718a1b"]]);
17631
- const _hoisted_1$C = { class: "card list-view grid thin" };
17632
- const _hoisted_2$t = { class: "list-header flex gap-3 align-items-top" };
17633
- const _hoisted_3$n = {
17630
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-bf74738b"]]);
17631
+ const _hoisted_1$B = { class: "card list-view grid thin" };
17632
+ const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
17633
+ const _hoisted_3$m = {
17634
17634
  key: 0,
17635
17635
  class: "bagel-input search-wrap"
17636
17636
  };
17637
- const _hoisted_4$h = ["placeholder"];
17638
- const _hoisted_5$f = { class: "list-content grid auto-flow-rows align-items-start" };
17639
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17637
+ const _hoisted_4$g = ["placeholder"];
17638
+ const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
17639
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17640
17640
  __name: "ListView",
17641
17641
  props: {
17642
17642
  enableAdd: { type: Boolean },
@@ -17652,17 +17652,17 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17652
17652
  debounce(() => emit2("debounce", searchTerm.value));
17653
17653
  };
17654
17654
  return (_ctx, _cache) => {
17655
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
17656
- vue.createElementVNode("div", _hoisted_2$t, [
17657
- _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
17655
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
17656
+ vue.createElementVNode("div", _hoisted_2$s, [
17657
+ _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
17658
17658
  vue.withDirectives(vue.createElementVNode("input", {
17659
17659
  placeholder: _ctx.searchPlaceholder,
17660
17660
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
17661
17661
  onInput: _cache[1] || (_cache[1] = ($event) => search())
17662
- }, null, 40, _hoisted_4$h), [
17662
+ }, null, 40, _hoisted_4$g), [
17663
17663
  [vue.vModelText, searchTerm.value]
17664
17664
  ]),
17665
- vue.createVNode(vue.unref(_sfc_main$C), {
17665
+ vue.createVNode(vue.unref(_sfc_main$B), {
17666
17666
  class: "txtgray",
17667
17667
  icon: "search"
17668
17668
  })
@@ -17673,16 +17673,16 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17673
17673
  onClick: _cache[2] || (_cache[2] = ($event) => emit2("add"))
17674
17674
  })) : vue.createCommentVNode("", true)
17675
17675
  ]),
17676
- vue.createElementVNode("div", _hoisted_5$f, [
17676
+ vue.createElementVNode("div", _hoisted_5$e, [
17677
17677
  vue.renderSlot(_ctx.$slots, "default")
17678
17678
  ])
17679
17679
  ]);
17680
17680
  };
17681
17681
  }
17682
17682
  });
17683
- const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
17684
- const _hoisted_2$s = { class: "txt14 no-margin txtgray ellipsis" };
17685
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17683
+ const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
17684
+ const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
17685
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17686
17686
  __name: "ListItem",
17687
17687
  props: {
17688
17688
  src: {},
@@ -17706,11 +17706,11 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17706
17706
  size: 40
17707
17707
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
17708
17708
  vue.createElementVNode("div", null, [
17709
- vue.createElementVNode("p", _hoisted_1$B, [
17709
+ vue.createElementVNode("p", _hoisted_1$A, [
17710
17710
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
17711
17711
  vue.renderSlot(_ctx.$slots, "default")
17712
17712
  ]),
17713
- vue.createElementVNode("p", _hoisted_2$s, [
17713
+ vue.createElementVNode("p", _hoisted_2$r, [
17714
17714
  vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
17715
17715
  vue.renderSlot(_ctx.$slots, "subtitle")
17716
17716
  ])
@@ -17721,10 +17721,10 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17721
17721
  };
17722
17722
  }
17723
17723
  });
17724
- const _hoisted_1$A = { class: "card tabs-top" };
17725
- const _hoisted_2$r = { class: "tabs grid auto-flow-columns fit-content" };
17726
- const _hoisted_3$m = ["onClick"];
17727
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17724
+ const _hoisted_1$z = { class: "card tabs-top" };
17725
+ const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
17726
+ const _hoisted_3$l = ["onClick"];
17727
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17728
17728
  __name: "TabbedLayout",
17729
17729
  props: {
17730
17730
  title: {},
@@ -17759,9 +17759,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17759
17759
  return vue.openBlock(), vue.createElementBlock("div", {
17760
17760
  class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
17761
17761
  }, [
17762
- vue.createElementVNode("div", _hoisted_1$A, [
17762
+ vue.createElementVNode("div", _hoisted_1$z, [
17763
17763
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
17764
- vue.createElementVNode("div", _hoisted_2$r, [
17764
+ vue.createElementVNode("div", _hoisted_2$q, [
17765
17765
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
17766
17766
  var _a2;
17767
17767
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -17770,7 +17770,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17770
17770
  }, "tab"]),
17771
17771
  key: tab,
17772
17772
  onClick: ($event) => changeTab(tab)
17773
- }, vue.toDisplayString(tab), 11, _hoisted_3$m);
17773
+ }, vue.toDisplayString(tab), 11, _hoisted_3$l);
17774
17774
  }), 128))
17775
17775
  ])
17776
17776
  ]),
@@ -17786,16 +17786,16 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17786
17786
  };
17787
17787
  }
17788
17788
  });
17789
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-09fce741"]]);
17790
- const _hoisted_1$z = { class: "comments-wrap" };
17791
- const _hoisted_2$q = { class: "comment-list" };
17792
- const _hoisted_3$l = { class: "comment-top" };
17793
- const _hoisted_4$g = { class: "comment-owner" };
17794
- const _hoisted_5$e = { class: "comment-time" };
17795
- const _hoisted_6$a = { class: "comment-actions" };
17796
- const _hoisted_7$6 = ["innerHTML"];
17797
- const _hoisted_8$3 = { class: "new-comment" };
17798
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17789
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-09fce741"]]);
17790
+ const _hoisted_1$y = { class: "comments-wrap" };
17791
+ const _hoisted_2$p = { class: "comment-list" };
17792
+ const _hoisted_3$k = { class: "comment-top" };
17793
+ const _hoisted_4$f = { class: "comment-owner" };
17794
+ const _hoisted_5$d = { class: "comment-time" };
17795
+ const _hoisted_6$9 = { class: "comment-actions" };
17796
+ const _hoisted_7$5 = ["innerHTML"];
17797
+ const _hoisted_8$2 = { class: "new-comment" };
17798
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17799
17799
  __name: "Comments",
17800
17800
  props: {
17801
17801
  ref_table: {},
@@ -17838,8 +17838,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17838
17838
  void fetchData();
17839
17839
  };
17840
17840
  return (_ctx, _cache) => {
17841
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
17842
- vue.createElementVNode("div", _hoisted_2$q, [
17841
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
17842
+ vue.createElementVNode("div", _hoisted_2$p, [
17843
17843
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
17844
17844
  var _a2, _b, _c;
17845
17845
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -17849,23 +17849,23 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17849
17849
  }, "comment"]),
17850
17850
  key: comment.id
17851
17851
  }, [
17852
- vue.createElementVNode("div", _hoisted_3$l, [
17853
- vue.createElementVNode("div", _hoisted_4$g, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
17854
- vue.createElementVNode("div", _hoisted_5$e, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
17855
- vue.createElementVNode("div", _hoisted_6$a, [
17856
- vue.createVNode(vue.unref(_sfc_main$C), {
17852
+ vue.createElementVNode("div", _hoisted_3$k, [
17853
+ vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
17854
+ vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
17855
+ vue.createElementVNode("div", _hoisted_6$9, [
17856
+ vue.createVNode(vue.unref(_sfc_main$B), {
17857
17857
  size: 1,
17858
17858
  class: "edit",
17859
17859
  icon: "edit",
17860
17860
  onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
17861
17861
  }, null, 8, ["onClick"]),
17862
- vue.createVNode(vue.unref(_sfc_main$C), {
17862
+ vue.createVNode(vue.unref(_sfc_main$B), {
17863
17863
  size: 1.2,
17864
17864
  class: "delete",
17865
17865
  icon: "delete",
17866
17866
  onClick: ($event) => deleteComment(comment.id)
17867
17867
  }, null, 8, ["onClick"]),
17868
- vue.createVNode(vue.unref(_sfc_main$C), {
17868
+ vue.createVNode(vue.unref(_sfc_main$B), {
17869
17869
  size: 1.2,
17870
17870
  class: "save",
17871
17871
  icon: "save",
@@ -17873,7 +17873,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17873
17873
  })
17874
17874
  ])
17875
17875
  ]),
17876
- vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
17876
+ vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
17877
17877
  key: 0,
17878
17878
  modelValue: vue.unref(editComment).body_html,
17879
17879
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
@@ -17882,12 +17882,12 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17882
17882
  key: 1,
17883
17883
  class: "editor-wrapper",
17884
17884
  innerHTML: comment.body_html
17885
- }, null, 8, _hoisted_7$6))
17885
+ }, null, 8, _hoisted_7$5))
17886
17886
  ], 2);
17887
17887
  }), 128))
17888
17888
  ]),
17889
- vue.createElementVNode("div", _hoisted_8$3, [
17890
- vue.createVNode(vue.unref(_sfc_main$D), {
17889
+ vue.createElementVNode("div", _hoisted_8$2, [
17890
+ vue.createVNode(vue.unref(_sfc_main$C), {
17891
17891
  class: "comment-input",
17892
17892
  modelValue: vue.unref(bodyHtml),
17893
17893
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -17907,10 +17907,10 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17907
17907
  };
17908
17908
  }
17909
17909
  });
17910
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c4b41dc0"]]);
17911
- const _hoisted_1$y = { class: "page-top" };
17912
- const _hoisted_2$p = { class: "top-title" };
17913
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17910
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-c4b41dc0"]]);
17911
+ const _hoisted_1$x = { class: "page-top" };
17912
+ const _hoisted_2$o = { class: "top-title" };
17913
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17914
17914
  __name: "PageTitle",
17915
17915
  props: {
17916
17916
  value: {
@@ -17920,8 +17920,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17920
17920
  },
17921
17921
  setup(__props) {
17922
17922
  return (_ctx, _cache) => {
17923
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
17924
- vue.createElementVNode("h1", _hoisted_2$p, [
17923
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
17924
+ vue.createElementVNode("h1", _hoisted_2$o, [
17925
17925
  vue.renderSlot(_ctx.$slots, "default"),
17926
17926
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
17927
17927
  ])
@@ -17929,14 +17929,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17929
17929
  };
17930
17930
  }
17931
17931
  });
17932
- const _hoisted_1$x = { class: "table-list-wrap h-100" };
17933
- const _hoisted_2$o = { class: "infinite-wrapper" };
17934
- const _hoisted_3$k = { class: "row first-row" };
17935
- const _hoisted_4$f = ["onClick"];
17936
- const _hoisted_5$d = { class: "flex" };
17937
- const _hoisted_6$9 = ["onClick"];
17938
- const _hoisted_7$5 = { key: 1 };
17939
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17932
+ const _hoisted_1$w = { class: "table-list-wrap h-100" };
17933
+ const _hoisted_2$n = { class: "infinite-wrapper" };
17934
+ const _hoisted_3$j = { class: "row first-row" };
17935
+ const _hoisted_4$e = ["onClick"];
17936
+ const _hoisted_5$c = { class: "flex" };
17937
+ const _hoisted_6$8 = ["onClick"];
17938
+ const _hoisted_7$4 = { key: 1 };
17939
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
17940
17940
  __name: "TableSchema",
17941
17941
  props: {
17942
17942
  data: {},
@@ -17970,27 +17970,27 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
17970
17970
  emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
17971
17971
  };
17972
17972
  return (_ctx, _cache) => {
17973
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
17974
- vue.createElementVNode("table", _hoisted_2$o, [
17975
- vue.createElementVNode("thead", _hoisted_3$k, [
17973
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
17974
+ vue.createElementVNode("table", _hoisted_2$n, [
17975
+ vue.createElementVNode("thead", _hoisted_3$j, [
17976
17976
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
17977
17977
  return vue.openBlock(), vue.createElementBlock("th", {
17978
17978
  class: "col",
17979
17979
  key: field.id,
17980
17980
  onClick: ($event) => sort2((field == null ? void 0 : field.id) || "")
17981
17981
  }, [
17982
- vue.createElementVNode("div", _hoisted_5$d, [
17982
+ vue.createElementVNode("div", _hoisted_5$c, [
17983
17983
  vue.createTextVNode(vue.toDisplayString(field.id) + " ", 1),
17984
17984
  vue.createElementVNode("div", {
17985
17985
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
17986
17986
  }, [
17987
- vue.createVNode(vue.unref(_sfc_main$C), {
17987
+ vue.createVNode(vue.unref(_sfc_main$B), {
17988
17988
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
17989
17989
  icon: "keyboard_arrow_up"
17990
17990
  }, null, 8, ["class"])
17991
17991
  ], 2)
17992
17992
  ])
17993
- ], 8, _hoisted_4$f);
17993
+ ], 8, _hoisted_4$e);
17994
17994
  }), 128))
17995
17995
  ]),
17996
17996
  vue.createElementVNode("tbody", {
@@ -18012,7 +18012,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18012
18012
  key: 0,
18013
18013
  row,
18014
18014
  field
18015
- }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [
18015
+ }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [
18016
18016
  vue.createVNode(vue.unref(_sfc_main$g), {
18017
18017
  field,
18018
18018
  modelValue: row
@@ -18020,7 +18020,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18020
18020
  ]))
18021
18021
  ]);
18022
18022
  }), 128))
18023
- ], 8, _hoisted_6$9);
18023
+ ], 8, _hoisted_6$8);
18024
18024
  }), 128))
18025
18025
  ], 2)
18026
18026
  ])
@@ -18028,16 +18028,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
18028
18028
  };
18029
18029
  }
18030
18030
  });
18031
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2137a7a8"]]);
18032
- const _sfc_main$q = {};
18033
- const _hoisted_1$w = { class: "flex space-between" };
18031
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2137a7a8"]]);
18032
+ const _sfc_main$p = {};
18033
+ const _hoisted_1$v = { class: "flex space-between" };
18034
18034
  function _sfc_render$1(_ctx, _cache) {
18035
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18035
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18036
18036
  vue.renderSlot(_ctx.$slots, "default")
18037
18037
  ]);
18038
18038
  }
18039
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$1]]);
18040
- const _sfc_main$p = {};
18039
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$1]]);
18040
+ const _sfc_main$o = {};
18041
18041
  function _sfc_render(_ctx, _cache) {
18042
18042
  const _component_router_view = vue.resolveComponent("router-view");
18043
18043
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -18059,20 +18059,20 @@ function _sfc_render(_ctx, _cache) {
18059
18059
  _: 1
18060
18060
  });
18061
18061
  }
18062
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
18063
- const _hoisted_1$v = {
18062
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
18063
+ const _hoisted_1$u = {
18064
18064
  key: 0,
18065
18065
  class: "data"
18066
18066
  };
18067
- const _hoisted_2$n = {
18067
+ const _hoisted_2$m = {
18068
18068
  key: 0,
18069
18069
  class: "data-row"
18070
18070
  };
18071
- const _hoisted_3$j = { class: "key" };
18072
- const _hoisted_4$e = { key: 1 };
18073
- const _hoisted_5$c = { class: "key" };
18074
- const _hoisted_6$8 = { class: "vlue" };
18075
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18071
+ const _hoisted_3$i = { class: "key" };
18072
+ const _hoisted_4$d = { key: 1 };
18073
+ const _hoisted_5$b = { class: "key" };
18074
+ const _hoisted_6$7 = { class: "vlue" };
18075
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18076
18076
  __name: "DataPreview",
18077
18077
  props: /* @__PURE__ */ vue.mergeModels({
18078
18078
  schema: {},
@@ -18086,8 +18086,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18086
18086
  const itemData = vue.useModel(__props, "data");
18087
18087
  return (_ctx, _cache) => {
18088
18088
  var _a2;
18089
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18090
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$l), {
18089
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
18090
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
18091
18091
  key: 0,
18092
18092
  label: _ctx.title
18093
18093
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -18095,8 +18095,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18095
18095
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
18096
18096
  key: field.id
18097
18097
  }, [
18098
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
18099
- vue.createElementVNode("div", _hoisted_3$j, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
18098
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
18099
+ vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
18100
18100
  vue.createVNode(vue.unref(_sfc_main$g), {
18101
18101
  field,
18102
18102
  modelValue: itemData.value,
@@ -18105,14 +18105,14 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18105
18105
  ])) : vue.createCommentVNode("", true)
18106
18106
  ], 64);
18107
18107
  }), 128)),
18108
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$e, [
18108
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
18109
18109
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(Object.entries(itemData.value), ([key, value]) => {
18110
18110
  return vue.openBlock(), vue.createElementBlock("div", {
18111
18111
  class: "data-row",
18112
18112
  key
18113
18113
  }, [
18114
- vue.createElementVNode("div", _hoisted_5$c, vue.toDisplayString(vue.unref(keyToLabel)(key)), 1),
18115
- vue.createElementVNode("div", _hoisted_6$8, vue.toDisplayString(value), 1)
18114
+ vue.createElementVNode("div", _hoisted_5$b, vue.toDisplayString(vue.unref(keyToLabel)(key)), 1),
18115
+ vue.createElementVNode("div", _hoisted_6$7, vue.toDisplayString(value), 1)
18116
18116
  ]);
18117
18117
  }), 128))
18118
18118
  ])) : vue.createCommentVNode("", true),
@@ -18121,8 +18121,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18121
18121
  };
18122
18122
  }
18123
18123
  });
18124
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-bb2526f9"]]);
18125
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18124
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-bb2526f9"]]);
18125
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18126
18126
  __name: "Card",
18127
18127
  props: {
18128
18128
  thin: { type: Boolean },
@@ -18140,8 +18140,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18140
18140
  };
18141
18141
  }
18142
18142
  });
18143
- const _hoisted_1$u = ["src", "alt"];
18144
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18143
+ const _hoisted_1$t = ["src", "alt"];
18144
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18145
18145
  __name: "Avatar",
18146
18146
  props: {
18147
18147
  fallback: {},
@@ -18159,7 +18159,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18159
18159
  key: 0,
18160
18160
  src: _ctx.src,
18161
18161
  alt: _ctx.name
18162
- }, null, 8, _hoisted_1$u)) : (vue.openBlock(), vue.createElementBlock("p", {
18162
+ }, null, 8, _hoisted_1$t)) : (vue.openBlock(), vue.createElementBlock("p", {
18163
18163
  key: 1,
18164
18164
  style: vue.normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
18165
18165
  }, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
@@ -18167,8 +18167,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18167
18167
  };
18168
18168
  }
18169
18169
  });
18170
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0441b0b8"]]);
18171
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18170
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-b46163a3"]]);
18171
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18172
18172
  __name: "Title",
18173
18173
  props: {
18174
18174
  value: {
@@ -18196,7 +18196,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18196
18196
  };
18197
18197
  }
18198
18198
  });
18199
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18199
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18200
18200
  __name: "Accordion",
18201
18201
  setup(__props) {
18202
18202
  const state = vue.reactive({
@@ -18210,8 +18210,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18210
18210
  };
18211
18211
  }
18212
18212
  });
18213
- const _hoisted_1$t = ["onClick"];
18214
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18213
+ const _hoisted_1$s = ["onClick"];
18214
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18215
18215
  __name: "ComboBox",
18216
18216
  props: {
18217
18217
  options: {},
@@ -18291,7 +18291,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18291
18291
  class: "bagel-input combobox"
18292
18292
  }, {
18293
18293
  popper: vue.withCtx(({ hide }) => [
18294
- vue.createVNode(vue.unref(_sfc_main$n), {
18294
+ vue.createVNode(vue.unref(_sfc_main$m), {
18295
18295
  thin: "",
18296
18296
  class: "combobox-options"
18297
18297
  }, {
@@ -18316,11 +18316,11 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18316
18316
  }
18317
18317
  }, [
18318
18318
  vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
18319
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
18319
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
18320
18320
  key: 0,
18321
18321
  icon: "check"
18322
18322
  })) : vue.createCommentVNode("", true)
18323
- ], 10, _hoisted_1$t);
18323
+ ], 10, _hoisted_1$s);
18324
18324
  }), 128))
18325
18325
  ]),
18326
18326
  _: 2
@@ -18333,7 +18333,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18333
18333
  onClick: toggle
18334
18334
  }, [
18335
18335
  vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
18336
- vue.createVNode(vue.unref(_sfc_main$C), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18336
+ vue.createVNode(vue.unref(_sfc_main$B), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18337
18337
  ]),
18338
18338
  _ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
18339
18339
  key: 0,
@@ -18349,126 +18349,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18349
18349
  };
18350
18350
  }
18351
18351
  });
18352
- const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-ceeb5855"]]);
18353
- const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-fe5af582"), n2 = n2(), vue.popScopeId(), n2);
18354
- const _hoisted_1$s = { class: "bar-chart" };
18355
- const _hoisted_2$m = {
18356
- key: 0,
18357
- class: "group-wrap"
18358
- };
18359
- const _hoisted_3$i = { class: "group-title" };
18360
- const _hoisted_4$d = {
18361
- key: 1,
18362
- class: "bar-wrap"
18363
- };
18364
- const _hoisted_5$b = { class: "bar-txt" };
18365
- const _hoisted_6$7 = { class: "factor" };
18366
- const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "red-bar" }, null, -1));
18367
- const _hoisted_8$2 = { class: "bar-lines" };
18368
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18369
- __name: "BarChart",
18370
- props: {
18371
- title: {},
18372
- showMarks: { type: Boolean },
18373
- flood: {},
18374
- modelValue: {}
18375
- },
18376
- setup(__props) {
18377
- vue.useCssVars((_ctx) => ({
18378
- "b74eb91e": floodPercent.value
18379
- }));
18380
- const props2 = __props;
18381
- const loaded = vue.ref(false);
18382
- vue.onMounted(() => {
18383
- setTimeout(() => {
18384
- loaded.value = true;
18385
- }, 400);
18386
- });
18387
- const dataArray = vue.computed(
18388
- () => props2.modelValue
18389
- // const allData = []
18390
- // for (const item of props.modelValue) {
18391
- // if (item.group) {
18392
- // let groupIndex = allData.findIndex(d => d.group === item.group)
18393
- // if (groupIndex > -1) allData[groupIndex].data?.push(item);
18394
- // else allData.push({ group: item.group, data: [item] })
18395
- // } else {
18396
- // allData.push(item)
18397
- // }
18398
- // }
18399
- // return allData;
18400
- );
18401
- const maxValue = vue.computed(
18402
- () => Math.ceil(
18403
- Math.max(
18404
- ...dataArray.value.map((d2) => d2.value),
18405
- ...dataArray.value.map((d2) => (d2 == null ? void 0 : d2.compareValue) || 0)
18406
- )
18407
- )
18408
- );
18409
- const marks2 = vue.computed(() => {
18410
- const marksArray = [];
18411
- for (let i2 = 0; i2 <= 5; i2 += 1) {
18412
- const step = i2 * maxValue.value / 5;
18413
- marksArray.push(Math.round(step / 10) * 10);
18414
- }
18415
- return marksArray;
18416
- });
18417
- const percent = (val) => val / maxValue.value * 100;
18418
- const floodPercent = vue.computed(() => `${props2.flood}%`);
18419
- return (_ctx, _cache) => {
18420
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
18421
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(dataArray.value, (item, i2) => {
18422
- return vue.openBlock(), vue.createElementBlock("div", {
18423
- class: "graph-wrap",
18424
- key: i2
18425
- }, [
18426
- item.group ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
18427
- vue.createElementVNode("p", _hoisted_3$i, vue.toDisplayString(item.group), 1),
18428
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((item == null ? void 0 : item.data) || [], (nested, i22) => {
18429
- return vue.openBlock(), vue.createElementBlock("div", {
18430
- key: i22,
18431
- class: "bar-wrap"
18432
- }, [
18433
- vue.createElementVNode("div", {
18434
- class: "bar",
18435
- style: vue.normalizeStyle({ height: loaded.value ? `${percent(nested.value)}%` : "0" })
18436
- }, null, 4),
18437
- nested.compareValue ? (vue.openBlock(), vue.createElementBlock("div", {
18438
- key: 0,
18439
- class: "bar compare",
18440
- style: vue.normalizeStyle({
18441
- height: loaded.value ? `${percent(nested.compareValue)}%` : "0"
18442
- })
18443
- }, null, 4)) : vue.createCommentVNode("", true)
18444
- ]);
18445
- }), 128))
18446
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
18447
- vue.createElementVNode("div", {
18448
- class: "bar",
18449
- style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.value)}%` : "0" })
18450
- }, null, 4),
18451
- (item == null ? void 0 : item.compareValue) ? (vue.openBlock(), vue.createElementBlock("div", {
18452
- key: 0,
18453
- class: "bar compare",
18454
- style: vue.normalizeStyle({ height: loaded.value ? `${percent(item.compareValue)}%` : "0" })
18455
- }, null, 4)) : vue.createCommentVNode("", true),
18456
- vue.createElementVNode("p", _hoisted_5$b, vue.toDisplayString(item.title), 1)
18457
- ]))
18458
- ]);
18459
- }), 128)),
18460
- vue.createElementVNode("p", _hoisted_6$7, vue.toDisplayString(_ctx.title), 1),
18461
- _hoisted_7$4,
18462
- vue.createElementVNode("div", _hoisted_8$2, [
18463
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(marks2.value, (mark) => {
18464
- return vue.openBlock(), vue.createElementBlock("p", { key: mark }, vue.toDisplayString(mark.toLocaleString()), 1);
18465
- }), 128))
18466
- ])
18467
- ]);
18468
- };
18469
- }
18470
- });
18471
- const BarChart = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-fe5af582"]]);
18352
+ const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ceeb5855"]]);
18472
18353
  const _hoisted_1$r = {
18473
18354
  key: 1,
18474
18355
  type: "submit",
@@ -18549,7 +18430,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18549
18430
  ref: form,
18550
18431
  onSubmit: vue.withModifiers(runSubmit, ["prevent"])
18551
18432
  }, [
18552
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$l), {
18433
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$k), {
18553
18434
  key: 0,
18554
18435
  tag: "h4",
18555
18436
  label: _ctx.label
@@ -31448,7 +31329,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31448
31329
  key: row.id
31449
31330
  }, [
31450
31331
  vue.createElementVNode("div", _hoisted_5$9, [
31451
- vue.createVNode(vue.unref(_sfc_main$C), { icon: "more_vert" })
31332
+ vue.createVNode(vue.unref(_sfc_main$B), { icon: "more_vert" })
31452
31333
  ]),
31453
31334
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
31454
31335
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -31465,7 +31346,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31465
31346
  ], 2);
31466
31347
  }), 128)),
31467
31348
  vue.createElementVNode("div", _hoisted_6$5, [
31468
- vue.createVNode(vue.unref(_sfc_main$C), {
31349
+ vue.createVNode(vue.unref(_sfc_main$B), {
31469
31350
  icon: "delete",
31470
31351
  onClick: ($event) => removeRow(index2)
31471
31352
  }, null, 8, ["onClick"])
@@ -31627,12 +31508,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
31627
31508
  ]),
31628
31509
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
31629
31510
  ], 8, _hoisted_2$f),
31630
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
31511
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
31631
31512
  key: 0,
31632
31513
  class: "iconStart",
31633
31514
  icon: _ctx.iconStart
31634
31515
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
31635
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$C), {
31516
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
31636
31517
  key: 1,
31637
31518
  icon: _ctx.icon
31638
31519
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -31671,7 +31552,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
31671
31552
  [vue.vModelCheckbox, val.value]
31672
31553
  ]),
31673
31554
  vue.createElementVNode("span", null, [
31674
- vue.createVNode(vue.unref(_sfc_main$C), { icon: "check" })
31555
+ vue.createVNode(vue.unref(_sfc_main$B), { icon: "check" })
31675
31556
  ])
31676
31557
  ]);
31677
31558
  };
@@ -32036,7 +31917,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
32036
31917
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
32037
31918
  }, [
32038
31919
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
32039
- vue.createVNode(vue.unref(_sfc_main$C), {
31920
+ vue.createVNode(vue.unref(_sfc_main$B), {
32040
31921
  class: "success",
32041
31922
  icon: "check"
32042
31923
  })
@@ -38551,7 +38432,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38551
38432
  return (_ctx, _cache) => {
38552
38433
  var _a2, _b, _c, _d, _e2, _f;
38553
38434
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38554
- vue.createVNode(vue.unref(_sfc_main$s), null, {
38435
+ vue.createVNode(vue.unref(_sfc_main$r), null, {
38555
38436
  default: vue.withCtx(() => [
38556
38437
  vue.createTextVNode("Whatsapp Template")
38557
38438
  ]),
@@ -38671,16 +38552,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
38671
38552
  };
38672
38553
  }
38673
38554
  });
38674
- exports.Accordion = _sfc_main$k;
38555
+ exports.Accordion = _sfc_main$j;
38675
38556
  exports.AccordionItem = AccordionItem;
38676
38557
  exports.Avatar = Avatar;
38677
38558
  exports.BagelForm = _sfc_main$h;
38678
38559
  exports.BagelVue = BagelVue;
38679
- exports.BarChart = BarChart;
38680
38560
  exports.BglField = _sfc_main$g;
38681
38561
  exports.BglForm = _sfc_main$h;
38682
38562
  exports.Btn = Btn;
38683
- exports.Card = _sfc_main$n;
38563
+ exports.Card = _sfc_main$m;
38684
38564
  exports.CheckInput = CheckInput;
38685
38565
  exports.Checkbox = Checkbox;
38686
38566
  exports.ColorPicker = _sfc_main$7;
@@ -38690,20 +38570,20 @@ exports.DataPreview = DataPreview;
38690
38570
  exports.DateInput = _sfc_main$e;
38691
38571
  exports.DatePicker = _sfc_main$6;
38692
38572
  exports.FileUpload = FileUpload;
38693
- exports.Icon = _sfc_main$C;
38573
+ exports.Icon = _sfc_main$B;
38694
38574
  exports.JSONInput = JSONInput;
38695
- exports.LangText = _sfc_main$E;
38575
+ exports.LangText = _sfc_main$D;
38696
38576
  exports.Lineart = _sfc_main$2;
38697
- exports.ListItem = _sfc_main$v;
38698
- exports.ListView = _sfc_main$w;
38699
- exports.MaterialIcon = _sfc_main$C;
38700
- exports.Modal = _sfc_main$z;
38577
+ exports.ListItem = _sfc_main$u;
38578
+ exports.ListView = _sfc_main$v;
38579
+ exports.MaterialIcon = _sfc_main$B;
38580
+ exports.Modal = _sfc_main$y;
38701
38581
  exports.ModalForm = ModalForm;
38702
38582
  exports.ModalPlugin = ModalPlugin;
38703
38583
  exports.MsgTemplate = MsgTemplate;
38704
38584
  exports.NavBar = NavBar;
38705
- exports.PageTitle = _sfc_main$s;
38706
- exports.RTXEditor = _sfc_main$D;
38585
+ exports.PageTitle = _sfc_main$r;
38586
+ exports.RTXEditor = _sfc_main$C;
38707
38587
  exports.RadioPillsInput = RadioPillsInput;
38708
38588
  exports.RichTextEditor = RichTextEditor;
38709
38589
  exports.RouterWrapper = RouterWrapper;
@@ -38713,7 +38593,7 @@ exports.TableField = TableField;
38713
38593
  exports.TableSchema = TableSchema;
38714
38594
  exports.TextInput = TextInput;
38715
38595
  exports.TextVariableExamples = _sfc_main;
38716
- exports.Title = _sfc_main$l;
38596
+ exports.Title = _sfc_main$k;
38717
38597
  exports.ToggleInput = ToggleInput;
38718
38598
  exports.TopBar = TopBar;
38719
38599
  exports.bagelInjectionKey = bagelInjectionKey;