@bagelink/vue 0.0.296 → 0.0.300

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, visible: true, "onUpdate:visible": () => hideModal(index2) };
4881
4881
  if (modal.modalType === "modalForm")
4882
4882
  return vue.h(ModalForm, props2, modal.componentSlots);
4883
- return vue.h(_sfc_main$A, props2, modal.componentSlots);
4883
+ return vue.h(_sfc_main$B, 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$H = { ref: "el" };
4962
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
4961
+ const _hoisted_1$I = { ref: "el" };
4962
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
4963
4963
  __name: "LangText",
4964
4964
  props: {
4965
4965
  input: {}
@@ -4967,7 +4967,7 @@ const _sfc_main$F = /* @__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$H, null, 512),
4970
+ vue.createElementVNode("span", _hoisted_1$I, 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$G = ["id"];
17084
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17083
+ const _hoisted_1$H = ["id"];
17084
+ const _sfc_main$F = /* @__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$E = /* @__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$G);
17161
+ }, null, 40, _hoisted_1$H);
17162
17162
  };
17163
17163
  }
17164
17164
  });
17165
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17165
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17166
17166
  __name: "MaterialIcon",
17167
17167
  props: {
17168
17168
  icon: {},
@@ -17178,13 +17178,13 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17178
17178
  };
17179
17179
  }
17180
17180
  });
17181
- const _hoisted_1$F = { class: "full-nav" };
17182
- const _hoisted_2$w = { class: "nav-scroll" };
17183
- const _hoisted_3$o = { class: "nav-links-wrapper" };
17181
+ const _hoisted_1$G = { class: "full-nav" };
17182
+ const _hoisted_2$x = { class: "nav-scroll" };
17183
+ const _hoisted_3$p = { class: "nav-links-wrapper" };
17184
17184
  const _hoisted_4$i = { class: "tooltip" };
17185
17185
  const _hoisted_5$f = { class: "bot-buttons-wrapper" };
17186
17186
  const _hoisted_6$a = { class: "tooltip" };
17187
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17187
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17188
17188
  __name: "NavBar",
17189
17189
  props: {
17190
17190
  footerLinks: { default: () => [] },
@@ -17208,14 +17208,14 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17208
17208
  "aria-label": "Toggle Navigation",
17209
17209
  tabindex: "0"
17210
17210
  }, [
17211
- vue.createVNode(vue.unref(_sfc_main$D), {
17211
+ vue.createVNode(vue.unref(_sfc_main$E), {
17212
17212
  icon: "chevron_right",
17213
17213
  class: "top-arrow"
17214
17214
  })
17215
17215
  ], 32),
17216
- vue.createElementVNode("div", _hoisted_1$F, [
17217
- vue.createElementVNode("div", _hoisted_2$w, [
17218
- vue.createElementVNode("div", _hoisted_3$o, [
17216
+ vue.createElementVNode("div", _hoisted_1$G, [
17217
+ vue.createElementVNode("div", _hoisted_2$x, [
17218
+ vue.createElementVNode("div", _hoisted_3$p, [
17219
17219
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
17220
17220
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
17221
17221
  class: "nav-button",
@@ -17227,7 +17227,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17227
17227
  }
17228
17228
  }, {
17229
17229
  default: vue.withCtx(() => [
17230
- vue.createVNode(vue.unref(_sfc_main$D), {
17230
+ vue.createVNode(vue.unref(_sfc_main$E), {
17231
17231
  icon: link.materialIcon
17232
17232
  }, null, 8, ["icon"]),
17233
17233
  vue.createElementVNode("div", _hoisted_4$i, vue.toDisplayString(link.label), 1)
@@ -17249,7 +17249,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17249
17249
  key: link.label
17250
17250
  }, {
17251
17251
  default: vue.withCtx(() => [
17252
- vue.createVNode(vue.unref(_sfc_main$D), {
17252
+ vue.createVNode(vue.unref(_sfc_main$E), {
17253
17253
  icon: link.materialIcon
17254
17254
  }, null, 8, ["icon"]),
17255
17255
  vue.createElementVNode("div", _hoisted_6$a, vue.toDisplayString(link.label), 1)
@@ -17271,16 +17271,16 @@ const _export_sfc = (sfc, props2) => {
17271
17271
  }
17272
17272
  return target;
17273
17273
  };
17274
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-776ccc02"]]);
17275
- const _hoisted_1$E = {
17274
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-776ccc02"]]);
17275
+ const _hoisted_1$F = {
17276
17276
  key: 0,
17277
17277
  class: "loading"
17278
17278
  };
17279
- const _hoisted_2$v = {
17279
+ const _hoisted_2$w = {
17280
17280
  key: 1,
17281
17281
  class: "bgl_btn-flex"
17282
17282
  };
17283
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17283
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17284
17284
  __name: "Btn",
17285
17285
  props: {
17286
17286
  disabled: { type: Boolean, default: false },
@@ -17366,8 +17366,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17366
17366
  })
17367
17367
  }, {
17368
17368
  default: vue.withCtx(() => [
17369
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
17370
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
17369
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
17370
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
17371
17371
  key: 0,
17372
17372
  icon: _ctx.icon
17373
17373
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -17375,7 +17375,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17375
17375
  !vue.unref(slots)["default"] && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
17376
17376
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
17377
17377
  ], 64)) : vue.createCommentVNode("", true),
17378
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
17378
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
17379
17379
  key: 2,
17380
17380
  icon: props2["icon.end"]
17381
17381
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -17386,10 +17386,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17386
17386
  };
17387
17387
  }
17388
17388
  });
17389
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7a7625e7"]]);
17390
- const _hoisted_1$D = { class: "tool-bar" };
17391
- const _hoisted_2$u = { class: "modal-footer mt-3" };
17392
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17389
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-7a7625e7"]]);
17390
+ const _hoisted_1$E = { class: "tool-bar" };
17391
+ const _hoisted_2$v = { class: "modal-footer mt-3" };
17392
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17393
17393
  __name: "Modal",
17394
17394
  props: {
17395
17395
  side: { type: Boolean },
@@ -17430,13 +17430,13 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17430
17430
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
17431
17431
  onKeydown: vue.withKeys(closeModal, ["esc"])
17432
17432
  }, [
17433
- vue.createVNode(vue.unref(_sfc_main$o), {
17433
+ vue.createVNode(vue.unref(_sfc_main$p), {
17434
17434
  class: "modal",
17435
17435
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
17436
17436
  }, ["stop"]))
17437
17437
  }, {
17438
17438
  default: vue.withCtx(() => [
17439
- vue.createElementVNode("header", _hoisted_1$D, [
17439
+ vue.createElementVNode("header", _hoisted_1$E, [
17440
17440
  vue.renderSlot(_ctx.$slots, "toolbar"),
17441
17441
  vue.createVNode(vue.unref(Btn), {
17442
17442
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -17444,7 +17444,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17444
17444
  icon: "close",
17445
17445
  onClick: closeModal
17446
17446
  }, null, 8, ["style"]),
17447
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
17447
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$n), {
17448
17448
  key: 0,
17449
17449
  class: "modal-title",
17450
17450
  tag: "h3",
@@ -17452,7 +17452,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17452
17452
  }, null, 8, ["label"])) : vue.createCommentVNode("", true)
17453
17453
  ]),
17454
17454
  vue.renderSlot(_ctx.$slots, "default"),
17455
- vue.createElementVNode("footer", _hoisted_2$u, [
17455
+ vue.createElementVNode("footer", _hoisted_2$v, [
17456
17456
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
17457
17457
  return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
17458
17458
  key: i2,
@@ -17469,7 +17469,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17469
17469
  };
17470
17470
  }
17471
17471
  });
17472
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17472
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
17473
17473
  __name: "ModalForm",
17474
17474
  props: /* @__PURE__ */ vue.mergeModels({
17475
17475
  side: { type: Boolean },
@@ -17526,7 +17526,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17526
17526
  }
17527
17527
  __expose({ setFormValues });
17528
17528
  return (_ctx, _cache) => {
17529
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$A), {
17529
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$B), {
17530
17530
  "onOnUpdate:isModalVisible": props2["onUpdate:isModalVisible"],
17531
17531
  side: _ctx.side,
17532
17532
  ref_key: "modal",
@@ -17577,12 +17577,12 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17577
17577
  };
17578
17578
  }
17579
17579
  });
17580
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-dca6fe18"]]);
17581
- const _hoisted_1$C = { class: "accordion-item" };
17582
- const _hoisted_2$t = ["aria-expanded", "aria-controls"];
17583
- const _hoisted_3$n = { class: "accordion-label" };
17580
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-dca6fe18"]]);
17581
+ const _hoisted_1$D = { class: "accordion-item" };
17582
+ const _hoisted_2$u = ["aria-expanded", "aria-controls"];
17583
+ const _hoisted_3$o = { class: "accordion-label" };
17584
17584
  const _hoisted_4$h = ["id", "aria-hidden"];
17585
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17585
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17586
17586
  __name: "AccordionItem",
17587
17587
  props: {
17588
17588
  label: {},
@@ -17606,20 +17606,20 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17606
17606
  accordionState.openItem = null;
17607
17607
  }
17608
17608
  return (_ctx, _cache) => {
17609
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
17609
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
17610
17610
  vue.createElementVNode("button", {
17611
17611
  onClick: _cache[0] || (_cache[0] = ($event) => toggle()),
17612
17612
  "aria-expanded": vue.unref(open) ? "true" : "false",
17613
17613
  class: "accordion-head",
17614
17614
  "aria-controls": `accordion-body-${vue.unref(id)}`
17615
17615
  }, [
17616
- vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1),
17616
+ vue.createElementVNode("span", _hoisted_3$o, vue.toDisplayString(_ctx.label), 1),
17617
17617
  vue.createElementVNode("div", {
17618
17618
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(open) }])
17619
17619
  }, [
17620
- vue.createVNode(vue.unref(_sfc_main$D), { icon: "expand_more" })
17620
+ vue.createVNode(vue.unref(_sfc_main$E), { icon: "expand_more" })
17621
17621
  ], 2)
17622
- ], 8, _hoisted_2$t),
17622
+ ], 8, _hoisted_2$u),
17623
17623
  vue.createVNode(vue.Transition, { name: "expand" }, {
17624
17624
  default: vue.withCtx(() => [
17625
17625
  vue.unref(open) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -17637,16 +17637,16 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17637
17637
  };
17638
17638
  }
17639
17639
  });
17640
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-bf74738b"]]);
17641
- const _hoisted_1$B = { class: "card list-view grid thin" };
17642
- const _hoisted_2$s = { class: "list-header flex gap-3 align-items-top" };
17643
- const _hoisted_3$m = {
17640
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-bf74738b"]]);
17641
+ const _hoisted_1$C = { class: "card list-view grid thin" };
17642
+ const _hoisted_2$t = { class: "list-header flex gap-3 align-items-top" };
17643
+ const _hoisted_3$n = {
17644
17644
  key: 0,
17645
17645
  class: "bagel-input search-wrap"
17646
17646
  };
17647
17647
  const _hoisted_4$g = ["placeholder"];
17648
17648
  const _hoisted_5$e = { class: "list-content grid auto-flow-rows align-items-start" };
17649
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17649
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17650
17650
  __name: "ListView",
17651
17651
  props: {
17652
17652
  enableAdd: { type: Boolean },
@@ -17662,9 +17662,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17662
17662
  debounce(() => emit2("debounce", searchTerm.value));
17663
17663
  };
17664
17664
  return (_ctx, _cache) => {
17665
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
17666
- vue.createElementVNode("div", _hoisted_2$s, [
17667
- _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
17665
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
17666
+ vue.createElementVNode("div", _hoisted_2$t, [
17667
+ _ctx.enableSearch ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
17668
17668
  vue.withDirectives(vue.createElementVNode("input", {
17669
17669
  placeholder: _ctx.searchPlaceholder,
17670
17670
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchTerm.value = $event),
@@ -17672,7 +17672,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17672
17672
  }, null, 40, _hoisted_4$g), [
17673
17673
  [vue.vModelText, searchTerm.value]
17674
17674
  ]),
17675
- vue.createVNode(vue.unref(_sfc_main$D), {
17675
+ vue.createVNode(vue.unref(_sfc_main$E), {
17676
17676
  class: "txtgray",
17677
17677
  icon: "search"
17678
17678
  })
@@ -17690,9 +17690,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17690
17690
  };
17691
17691
  }
17692
17692
  });
17693
- const _hoisted_1$A = { class: "txt16 no-margin ellipsis" };
17694
- const _hoisted_2$r = { class: "txt14 no-margin txtgray ellipsis" };
17695
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17693
+ const _hoisted_1$B = { class: "txt16 no-margin ellipsis" };
17694
+ const _hoisted_2$s = { class: "txt14 no-margin txtgray ellipsis" };
17695
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17696
17696
  __name: "ListItem",
17697
17697
  props: {
17698
17698
  src: {},
@@ -17716,11 +17716,11 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17716
17716
  size: 40
17717
17717
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
17718
17718
  vue.createElementVNode("div", null, [
17719
- vue.createElementVNode("p", _hoisted_1$A, [
17719
+ vue.createElementVNode("p", _hoisted_1$B, [
17720
17720
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
17721
17721
  vue.renderSlot(_ctx.$slots, "default")
17722
17722
  ]),
17723
- vue.createElementVNode("p", _hoisted_2$r, [
17723
+ vue.createElementVNode("p", _hoisted_2$s, [
17724
17724
  vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
17725
17725
  vue.renderSlot(_ctx.$slots, "subtitle")
17726
17726
  ])
@@ -17731,10 +17731,10 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17731
17731
  };
17732
17732
  }
17733
17733
  });
17734
- const _hoisted_1$z = { class: "card tabs-top" };
17735
- const _hoisted_2$q = { class: "tabs grid auto-flow-columns fit-content" };
17736
- const _hoisted_3$l = ["onClick"];
17737
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17734
+ const _hoisted_1$A = { class: "card tabs-top" };
17735
+ const _hoisted_2$r = { class: "tabs grid auto-flow-columns fit-content" };
17736
+ const _hoisted_3$m = ["onClick"];
17737
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17738
17738
  __name: "TabbedLayout",
17739
17739
  props: {
17740
17740
  title: {},
@@ -17769,9 +17769,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17769
17769
  return vue.openBlock(), vue.createElementBlock("div", {
17770
17770
  class: vue.normalizeClass(["h-100 grid list-view gap-3", { "side-tabs": _ctx.sideTabs }])
17771
17771
  }, [
17772
- vue.createElementVNode("div", _hoisted_1$z, [
17772
+ vue.createElementVNode("div", _hoisted_1$A, [
17773
17773
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
17774
- vue.createElementVNode("div", _hoisted_2$q, [
17774
+ vue.createElementVNode("div", _hoisted_2$r, [
17775
17775
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
17776
17776
  var _a2;
17777
17777
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -17780,7 +17780,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17780
17780
  }, "tab"]),
17781
17781
  key: tab,
17782
17782
  onClick: ($event) => changeTab(tab)
17783
- }, vue.toDisplayString(tab), 11, _hoisted_3$l);
17783
+ }, vue.toDisplayString(tab), 11, _hoisted_3$m);
17784
17784
  }), 128))
17785
17785
  ])
17786
17786
  ]),
@@ -17796,16 +17796,16 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17796
17796
  };
17797
17797
  }
17798
17798
  });
17799
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-09fce741"]]);
17800
- const _hoisted_1$y = { class: "comments-wrap" };
17801
- const _hoisted_2$p = { class: "comment-list" };
17802
- const _hoisted_3$k = { class: "comment-top" };
17799
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-09fce741"]]);
17800
+ const _hoisted_1$z = { class: "comments-wrap" };
17801
+ const _hoisted_2$q = { class: "comment-list" };
17802
+ const _hoisted_3$l = { class: "comment-top" };
17803
17803
  const _hoisted_4$f = { class: "comment-owner" };
17804
17804
  const _hoisted_5$d = { class: "comment-time" };
17805
17805
  const _hoisted_6$9 = { class: "comment-actions" };
17806
17806
  const _hoisted_7$5 = ["innerHTML"];
17807
17807
  const _hoisted_8$2 = { class: "new-comment" };
17808
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17808
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
17809
17809
  __name: "Comments",
17810
17810
  props: {
17811
17811
  ref_table: {},
@@ -17848,8 +17848,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17848
17848
  void fetchData();
17849
17849
  };
17850
17850
  return (_ctx, _cache) => {
17851
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
17852
- vue.createElementVNode("div", _hoisted_2$p, [
17851
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
17852
+ vue.createElementVNode("div", _hoisted_2$q, [
17853
17853
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(comments), (comment) => {
17854
17854
  var _a2, _b, _c;
17855
17855
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -17859,23 +17859,23 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17859
17859
  }, "comment"]),
17860
17860
  key: comment.id
17861
17861
  }, [
17862
- vue.createElementVNode("div", _hoisted_3$k, [
17862
+ vue.createElementVNode("div", _hoisted_3$l, [
17863
17863
  vue.createElementVNode("div", _hoisted_4$f, vue.toDisplayString(comment.sender.first_name) + " " + vue.toDisplayString(comment.sender.last_name), 1),
17864
17864
  vue.createElementVNode("div", _hoisted_5$d, vue.toDisplayString(comment.updated_at.split("T")[0]), 1),
17865
17865
  vue.createElementVNode("div", _hoisted_6$9, [
17866
- vue.createVNode(vue.unref(_sfc_main$D), {
17866
+ vue.createVNode(vue.unref(_sfc_main$E), {
17867
17867
  size: 1,
17868
17868
  class: "edit",
17869
17869
  icon: "edit",
17870
17870
  onClick: ($event) => vue.isRef(editComment) ? editComment.value = comment : editComment = comment
17871
17871
  }, null, 8, ["onClick"]),
17872
- vue.createVNode(vue.unref(_sfc_main$D), {
17872
+ vue.createVNode(vue.unref(_sfc_main$E), {
17873
17873
  size: 1.2,
17874
17874
  class: "delete",
17875
17875
  icon: "delete",
17876
17876
  onClick: ($event) => deleteComment(comment.id)
17877
17877
  }, null, 8, ["onClick"]),
17878
- vue.createVNode(vue.unref(_sfc_main$D), {
17878
+ vue.createVNode(vue.unref(_sfc_main$E), {
17879
17879
  size: 1.2,
17880
17880
  class: "save",
17881
17881
  icon: "save",
@@ -17883,7 +17883,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17883
17883
  })
17884
17884
  ])
17885
17885
  ]),
17886
- vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
17886
+ vue.unref(editComment) !== null && ((_c = vue.unref(editComment)) == null ? void 0 : _c.id) === comment.id ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$F), {
17887
17887
  key: 0,
17888
17888
  modelValue: vue.unref(editComment).body_html,
17889
17889
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(editComment).body_html = $event),
@@ -17897,7 +17897,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17897
17897
  }), 128))
17898
17898
  ]),
17899
17899
  vue.createElementVNode("div", _hoisted_8$2, [
17900
- vue.createVNode(vue.unref(_sfc_main$E), {
17900
+ vue.createVNode(vue.unref(_sfc_main$F), {
17901
17901
  class: "comment-input",
17902
17902
  modelValue: vue.unref(bodyHtml),
17903
17903
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(bodyHtml) ? bodyHtml.value = $event : bodyHtml = $event),
@@ -17917,10 +17917,10 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17917
17917
  };
17918
17918
  }
17919
17919
  });
17920
- const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c4b41dc0"]]);
17921
- const _hoisted_1$x = { class: "page-top" };
17922
- const _hoisted_2$o = { class: "top-title" };
17923
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17920
+ const Comments = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c4b41dc0"]]);
17921
+ const _hoisted_1$y = { class: "page-top" };
17922
+ const _hoisted_2$p = { class: "top-title" };
17923
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
17924
17924
  __name: "PageTitle",
17925
17925
  props: {
17926
17926
  value: {
@@ -17930,8 +17930,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17930
17930
  },
17931
17931
  setup(__props) {
17932
17932
  return (_ctx, _cache) => {
17933
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
17934
- vue.createElementVNode("h1", _hoisted_2$o, [
17933
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
17934
+ vue.createElementVNode("h1", _hoisted_2$p, [
17935
17935
  vue.renderSlot(_ctx.$slots, "default"),
17936
17936
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
17937
17937
  ])
@@ -17939,14 +17939,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17939
17939
  };
17940
17940
  }
17941
17941
  });
17942
- const _hoisted_1$w = { class: "table-list-wrap h-100" };
17943
- const _hoisted_2$n = { class: "infinite-wrapper" };
17944
- const _hoisted_3$j = { class: "row first-row" };
17942
+ const _hoisted_1$x = { class: "table-list-wrap h-100" };
17943
+ const _hoisted_2$o = { class: "infinite-wrapper" };
17944
+ const _hoisted_3$k = { class: "row first-row" };
17945
17945
  const _hoisted_4$e = ["onClick"];
17946
17946
  const _hoisted_5$c = { class: "flex" };
17947
17947
  const _hoisted_6$8 = ["onClick"];
17948
17948
  const _hoisted_7$4 = { key: 1 };
17949
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17949
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
17950
17950
  __name: "TableSchema",
17951
17951
  props: {
17952
17952
  data: {},
@@ -17980,9 +17980,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17980
17980
  emit2("orderBy", `${fieldname} ${sortDirection.value}`.trim());
17981
17981
  };
17982
17982
  return (_ctx, _cache) => {
17983
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
17984
- vue.createElementVNode("table", _hoisted_2$n, [
17985
- vue.createElementVNode("thead", _hoisted_3$j, [
17983
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
17984
+ vue.createElementVNode("table", _hoisted_2$o, [
17985
+ vue.createElementVNode("thead", _hoisted_3$k, [
17986
17986
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field) => {
17987
17987
  return vue.openBlock(), vue.createElementBlock("th", {
17988
17988
  class: "col",
@@ -17994,7 +17994,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
17994
17994
  vue.createElementVNode("div", {
17995
17995
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
17996
17996
  }, [
17997
- vue.createVNode(vue.unref(_sfc_main$D), {
17997
+ vue.createVNode(vue.unref(_sfc_main$E), {
17998
17998
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
17999
17999
  icon: "keyboard_arrow_up"
18000
18000
  }, null, 8, ["class"])
@@ -18038,16 +18038,16 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
18038
18038
  };
18039
18039
  }
18040
18040
  });
18041
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2137a7a8"]]);
18042
- const _sfc_main$r = {};
18043
- const _hoisted_1$v = { class: "flex space-between" };
18041
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2137a7a8"]]);
18042
+ const _sfc_main$s = {};
18043
+ const _hoisted_1$w = { class: "flex space-between" };
18044
18044
  function _sfc_render$1(_ctx, _cache) {
18045
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18045
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18046
18046
  vue.renderSlot(_ctx.$slots, "default")
18047
18047
  ]);
18048
18048
  }
18049
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$1]]);
18050
- const _sfc_main$q = {};
18049
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$1]]);
18050
+ const _sfc_main$r = {};
18051
18051
  function _sfc_render(_ctx, _cache) {
18052
18052
  const _component_router_view = vue.resolveComponent("router-view");
18053
18053
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -18069,20 +18069,20 @@ function _sfc_render(_ctx, _cache) {
18069
18069
  _: 1
18070
18070
  });
18071
18071
  }
18072
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render]]);
18073
- const _hoisted_1$u = {
18072
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render]]);
18073
+ const _hoisted_1$v = {
18074
18074
  key: 0,
18075
18075
  class: "data"
18076
18076
  };
18077
- const _hoisted_2$m = {
18077
+ const _hoisted_2$n = {
18078
18078
  key: 0,
18079
18079
  class: "data-row"
18080
18080
  };
18081
- const _hoisted_3$i = { class: "key" };
18081
+ const _hoisted_3$j = { class: "key" };
18082
18082
  const _hoisted_4$d = { key: 1 };
18083
18083
  const _hoisted_5$b = { class: "key" };
18084
18084
  const _hoisted_6$7 = { class: "vlue" };
18085
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18085
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
18086
18086
  __name: "DataPreview",
18087
18087
  props: /* @__PURE__ */ vue.mergeModels({
18088
18088
  schema: {},
@@ -18096,8 +18096,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18096
18096
  const itemData = vue.useModel(__props, "data");
18097
18097
  return (_ctx, _cache) => {
18098
18098
  var _a2;
18099
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
18100
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
18099
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
18100
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$n), {
18101
18101
  key: 0,
18102
18102
  label: _ctx.title
18103
18103
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -18105,8 +18105,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18105
18105
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
18106
18106
  key: field.id
18107
18107
  }, [
18108
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$m, [
18109
- vue.createElementVNode("div", _hoisted_3$i, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
18108
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$n, [
18109
+ vue.createElementVNode("div", _hoisted_3$j, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1),
18110
18110
  vue.createVNode(vue.unref(_sfc_main$g), {
18111
18111
  field,
18112
18112
  modelValue: itemData.value,
@@ -18131,8 +18131,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18131
18131
  };
18132
18132
  }
18133
18133
  });
18134
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-bb2526f9"]]);
18135
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18134
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bb2526f9"]]);
18135
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
18136
18136
  __name: "Card",
18137
18137
  props: {
18138
18138
  thin: { type: Boolean },
@@ -18150,8 +18150,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18150
18150
  };
18151
18151
  }
18152
18152
  });
18153
- const _hoisted_1$t = ["src", "alt"];
18154
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18153
+ const _hoisted_1$u = ["src", "alt"];
18154
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
18155
18155
  __name: "Avatar",
18156
18156
  props: {
18157
18157
  fallback: {},
@@ -18169,7 +18169,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18169
18169
  key: 0,
18170
18170
  src: _ctx.src,
18171
18171
  alt: _ctx.name
18172
- }, null, 8, _hoisted_1$t)) : (vue.openBlock(), vue.createElementBlock("p", {
18172
+ }, null, 8, _hoisted_1$u)) : (vue.openBlock(), vue.createElementBlock("p", {
18173
18173
  key: 1,
18174
18174
  style: vue.normalizeStyle({ "line-height": `${_ctx.size * 0.9}px` })
18175
18175
  }, vue.toDisplayString(_ctx.fallback || vue.unref(initials)(_ctx.name || "")), 5))
@@ -18177,8 +18177,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18177
18177
  };
18178
18178
  }
18179
18179
  });
18180
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-b46163a3"]]);
18181
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18180
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-b46163a3"]]);
18181
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
18182
18182
  __name: "Title",
18183
18183
  props: {
18184
18184
  value: {
@@ -18206,7 +18206,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18206
18206
  };
18207
18207
  }
18208
18208
  });
18209
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18209
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
18210
18210
  __name: "Accordion",
18211
18211
  setup(__props) {
18212
18212
  const state = vue.reactive({
@@ -18220,8 +18220,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18220
18220
  };
18221
18221
  }
18222
18222
  });
18223
- const _hoisted_1$s = ["onClick"];
18224
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18223
+ const _hoisted_1$t = ["onClick"];
18224
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
18225
18225
  __name: "ComboBox",
18226
18226
  props: {
18227
18227
  options: {},
@@ -18301,7 +18301,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18301
18301
  class: "bagel-input combobox"
18302
18302
  }, {
18303
18303
  popper: vue.withCtx(({ hide }) => [
18304
- vue.createVNode(vue.unref(_sfc_main$o), {
18304
+ vue.createVNode(vue.unref(_sfc_main$p), {
18305
18305
  thin: "",
18306
18306
  class: "combobox-options"
18307
18307
  }, {
@@ -18326,11 +18326,11 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18326
18326
  }
18327
18327
  }, [
18328
18328
  vue.createElementVNode("span", null, vue.toDisplayString(label(option2)), 1),
18329
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18329
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
18330
18330
  key: 0,
18331
18331
  icon: "check"
18332
18332
  })) : vue.createCommentVNode("", true)
18333
- ], 10, _hoisted_1$s);
18333
+ ], 10, _hoisted_1$t);
18334
18334
  }), 128))
18335
18335
  ]),
18336
18336
  _: 2
@@ -18343,7 +18343,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18343
18343
  onClick: toggle
18344
18344
  }, [
18345
18345
  vue.createTextVNode(vue.toDisplayString(valueToLabel(vue.unref(selectedItem)) || _ctx.placeholder || "Select") + " ", 1),
18346
- vue.createVNode(vue.unref(_sfc_main$D), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18346
+ vue.createVNode(vue.unref(_sfc_main$E), vue.normalizeProps(vue.guardReactiveProps({ "icon": vue.unref(open) ? "unfold_less" : "unfold_more" })), null, 16)
18347
18347
  ]),
18348
18348
  _ctx.required ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
18349
18349
  key: 0,
@@ -18359,8 +18359,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18359
18359
  };
18360
18360
  }
18361
18361
  });
18362
- const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-ceeb5855"]]);
18363
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18362
+ const ComboBox = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-ceeb5855"]]);
18363
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
18364
18364
  __name: "Alert",
18365
18365
  props: {
18366
18366
  message: {},
@@ -18376,7 +18376,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18376
18376
  return vue.openBlock(), vue.createElementBlock("div", {
18377
18377
  class: vue.normalizeClass(["alert", [_ctx.type]])
18378
18378
  }, [
18379
- vue.createVNode(vue.unref(_sfc_main$D), {
18379
+ vue.createVNode(vue.unref(_sfc_main$E), {
18380
18380
  class: "alert_icon",
18381
18381
  icon: _ctx.type,
18382
18382
  size: 2,
@@ -18387,8 +18387,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18387
18387
  };
18388
18388
  }
18389
18389
  });
18390
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-dfb0f29d"]]);
18391
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18390
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-f5e16fcc"]]);
18391
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
18392
18392
  __name: "Badge",
18393
18393
  props: {
18394
18394
  color: {},
@@ -18403,13 +18403,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18403
18403
  return vue.openBlock(), vue.createElementBlock("div", {
18404
18404
  class: vue.normalizeClass(["pill", [_ctx.color]])
18405
18405
  }, [
18406
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18406
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
18407
18407
  key: 0,
18408
18408
  class: "inline",
18409
18409
  icon: _ctx.icon
18410
18410
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
18411
18411
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
18412
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
18412
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
18413
18413
  key: 1,
18414
18414
  class: "inline",
18415
18415
  icon: props2["icon.end"]
@@ -18418,7 +18418,71 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18418
18418
  };
18419
18419
  }
18420
18420
  });
18421
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-64e0d988"]]);
18421
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-64e0d988"]]);
18422
+ const _hoisted_1$s = { class: "bgl_vid" };
18423
+ const _hoisted_2$m = ["src"];
18424
+ const _hoisted_3$i = ["src", "autoplay", "muted", "loop", "controls"];
18425
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
18426
+ __name: "BglVideo",
18427
+ props: {
18428
+ src: {},
18429
+ autoplay: { type: Boolean },
18430
+ mute: { type: Boolean },
18431
+ aspectRatio: {},
18432
+ controls: { type: Boolean },
18433
+ loop: { type: Boolean }
18434
+ },
18435
+ setup(__props) {
18436
+ const props2 = __props;
18437
+ const aspectRatio = vue.computed(() => props2.aspectRatio.replace(":", "/"));
18438
+ const embedType = vue.computed(() => {
18439
+ const youtubeRegex = /youtube\.com|youtu\.be/;
18440
+ if (youtubeRegex.test(props2.src))
18441
+ return "YouTube";
18442
+ const vimeoRegex = /vimeo\.com/;
18443
+ if (vimeoRegex.test(props2.src))
18444
+ return "Vimeo";
18445
+ return null;
18446
+ });
18447
+ const videoUrl = vue.computed(() => {
18448
+ var _a2, _b, _c, _d;
18449
+ if (embedType.value) {
18450
+ if (embedType.value === "YouTube") {
18451
+ const videoId = (_c = (_b = (_a2 = props2.src.split(/v=|youtu\.be\//)) == null ? void 0 : _a2[1]) == null ? void 0 : _b.split("&")) == null ? void 0 : _c[0];
18452
+ return `https://www.youtube.com/embed/${videoId}`;
18453
+ }
18454
+ if (embedType.value === "Vimeo") {
18455
+ const vimeoRegex = /vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/;
18456
+ const videoId = (_d = props2.src.match(vimeoRegex)) == null ? void 0 : _d[3];
18457
+ return `https://player.vimeo.com/video/${videoId}`;
18458
+ }
18459
+ }
18460
+ return props2.src;
18461
+ });
18462
+ console.log("Video URL:", videoUrl.value);
18463
+ return (_ctx, _cache) => {
18464
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
18465
+ embedType.value ? (vue.openBlock(), vue.createElementBlock("iframe", {
18466
+ key: 0,
18467
+ src: videoUrl.value,
18468
+ style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
18469
+ frameborder: "0",
18470
+ allowfullscreen: "",
18471
+ title: "Video"
18472
+ }, null, 12, _hoisted_2$m)) : (vue.openBlock(), vue.createElementBlock("video", {
18473
+ key: 1,
18474
+ src: _ctx.src,
18475
+ autoplay: _ctx.autoplay,
18476
+ muted: _ctx.mute,
18477
+ loop: _ctx.loop,
18478
+ style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
18479
+ controls: _ctx.controls
18480
+ }, null, 12, _hoisted_3$i))
18481
+ ]);
18482
+ };
18483
+ }
18484
+ });
18485
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-ba12b0ff"]]);
18422
18486
  const _hoisted_1$r = {
18423
18487
  key: 1,
18424
18488
  type: "submit",
@@ -18499,7 +18563,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
18499
18563
  ref: form,
18500
18564
  onSubmit: vue.withModifiers(runSubmit, ["prevent"])
18501
18565
  }, [
18502
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$m), {
18566
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$n), {
18503
18567
  key: 0,
18504
18568
  tag: "h4",
18505
18569
  label: _ctx.label
@@ -31398,7 +31462,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31398
31462
  key: row.id
31399
31463
  }, [
31400
31464
  vue.createElementVNode("div", _hoisted_5$9, [
31401
- vue.createVNode(vue.unref(_sfc_main$D), { icon: "more_vert" })
31465
+ vue.createVNode(vue.unref(_sfc_main$E), { icon: "more_vert" })
31402
31466
  ]),
31403
31467
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
31404
31468
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -31415,7 +31479,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31415
31479
  ], 2);
31416
31480
  }), 128)),
31417
31481
  vue.createElementVNode("div", _hoisted_6$5, [
31418
- vue.createVNode(vue.unref(_sfc_main$D), {
31482
+ vue.createVNode(vue.unref(_sfc_main$E), {
31419
31483
  icon: "delete",
31420
31484
  onClick: ($event) => removeRow(index2)
31421
31485
  }, null, 8, ["onClick"])
@@ -31577,12 +31641,12 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
31577
31641
  ]),
31578
31642
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$8, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
31579
31643
  ], 8, _hoisted_2$f),
31580
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
31644
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
31581
31645
  key: 0,
31582
31646
  class: "iconStart",
31583
31647
  icon: _ctx.iconStart
31584
31648
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
31585
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$D), {
31649
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$E), {
31586
31650
  key: 1,
31587
31651
  icon: _ctx.icon
31588
31652
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -31621,7 +31685,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
31621
31685
  [vue.vModelCheckbox, val.value]
31622
31686
  ]),
31623
31687
  vue.createElementVNode("span", null, [
31624
- vue.createVNode(vue.unref(_sfc_main$D), { icon: "check" })
31688
+ vue.createVNode(vue.unref(_sfc_main$E), { icon: "check" })
31625
31689
  ])
31626
31690
  ]);
31627
31691
  };
@@ -31986,7 +32050,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
31986
32050
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
31987
32051
  }, [
31988
32052
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
31989
- vue.createVNode(vue.unref(_sfc_main$D), {
32053
+ vue.createVNode(vue.unref(_sfc_main$E), {
31990
32054
  class: "success",
31991
32055
  icon: "check"
31992
32056
  })
@@ -38501,7 +38565,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38501
38565
  return (_ctx, _cache) => {
38502
38566
  var _a2, _b, _c, _d, _e2, _f;
38503
38567
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38504
- vue.createVNode(vue.unref(_sfc_main$t), null, {
38568
+ vue.createVNode(vue.unref(_sfc_main$u), null, {
38505
38569
  default: vue.withCtx(() => [
38506
38570
  vue.createTextVNode("Whatsapp Template")
38507
38571
  ]),
@@ -38621,7 +38685,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
38621
38685
  };
38622
38686
  }
38623
38687
  });
38624
- exports.Accordion = _sfc_main$l;
38688
+ exports.Accordion = _sfc_main$m;
38625
38689
  exports.AccordionItem = AccordionItem;
38626
38690
  exports.Alert = Alert;
38627
38691
  exports.Avatar = Avatar;
@@ -38630,8 +38694,9 @@ exports.BagelForm = _sfc_main$h;
38630
38694
  exports.BagelVue = BagelVue;
38631
38695
  exports.BglField = _sfc_main$g;
38632
38696
  exports.BglForm = _sfc_main$h;
38697
+ exports.BglVideo = BglVideo;
38633
38698
  exports.Btn = Btn;
38634
- exports.Card = _sfc_main$o;
38699
+ exports.Card = _sfc_main$p;
38635
38700
  exports.CheckInput = CheckInput;
38636
38701
  exports.Checkbox = Checkbox;
38637
38702
  exports.ColorPicker = _sfc_main$7;
@@ -38641,20 +38706,20 @@ exports.DataPreview = DataPreview;
38641
38706
  exports.DateInput = _sfc_main$e;
38642
38707
  exports.DatePicker = _sfc_main$6;
38643
38708
  exports.FileUpload = FileUpload;
38644
- exports.Icon = _sfc_main$D;
38709
+ exports.Icon = _sfc_main$E;
38645
38710
  exports.JSONInput = JSONInput;
38646
- exports.LangText = _sfc_main$F;
38711
+ exports.LangText = _sfc_main$G;
38647
38712
  exports.Lineart = _sfc_main$2;
38648
- exports.ListItem = _sfc_main$w;
38649
- exports.ListView = _sfc_main$x;
38650
- exports.MaterialIcon = _sfc_main$D;
38651
- exports.Modal = _sfc_main$A;
38713
+ exports.ListItem = _sfc_main$x;
38714
+ exports.ListView = _sfc_main$y;
38715
+ exports.MaterialIcon = _sfc_main$E;
38716
+ exports.Modal = _sfc_main$B;
38652
38717
  exports.ModalForm = ModalForm;
38653
38718
  exports.ModalPlugin = ModalPlugin;
38654
38719
  exports.MsgTemplate = MsgTemplate;
38655
38720
  exports.NavBar = NavBar;
38656
- exports.PageTitle = _sfc_main$t;
38657
- exports.RTXEditor = _sfc_main$E;
38721
+ exports.PageTitle = _sfc_main$u;
38722
+ exports.RTXEditor = _sfc_main$F;
38658
38723
  exports.RadioPillsInput = RadioPillsInput;
38659
38724
  exports.RichTextEditor = RichTextEditor;
38660
38725
  exports.RouterWrapper = RouterWrapper;
@@ -38664,7 +38729,7 @@ exports.TableField = TableField;
38664
38729
  exports.TableSchema = TableSchema;
38665
38730
  exports.TextInput = TextInput;
38666
38731
  exports.TextVariableExamples = _sfc_main;
38667
- exports.Title = _sfc_main$m;
38732
+ exports.Title = _sfc_main$n;
38668
38733
  exports.ToggleInput = ToggleInput;
38669
38734
  exports.TopBar = TopBar;
38670
38735
  exports.bagelInjectionKey = bagelInjectionKey;