@bagelink/vue 0.0.1141 → 0.0.1143

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
@@ -63,7 +63,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
63
63
  });
64
64
  const _hoisted_1$W = ["aria-expanded", "aria-controls"];
65
65
  const _hoisted_2$D = { class: "accordion-label" };
66
- const _hoisted_3$t = ["id", "aria-hidden"];
66
+ const _hoisted_3$u = ["id", "aria-hidden"];
67
67
  const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
68
68
  __name: "AccordionItem",
69
69
  props: {
@@ -148,7 +148,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
148
148
  "aria-hidden": vue.unref(isOpen) ? "false" : "true"
149
149
  }, [
150
150
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
151
- ], 8, _hoisted_3$t)) : vue.createCommentVNode("", true)
151
+ ], 8, _hoisted_3$u)) : vue.createCommentVNode("", true)
152
152
  ]),
153
153
  _: 3
154
154
  })
@@ -578,7 +578,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
578
578
  });
579
579
  const _hoisted_1$Q = ["src"];
580
580
  const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
581
- const _hoisted_3$s = ["src", "type"];
581
+ const _hoisted_3$t = ["src", "type"];
582
582
  const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
583
583
  __name: "BglVideo",
584
584
  props: {
@@ -670,7 +670,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
670
670
  vue.createElementVNode("source", {
671
671
  src: _ctx.src,
672
672
  type: `video/${videoFormat.value}`
673
- }, null, 8, _hoisted_3$s)
673
+ }, null, 8, _hoisted_3$t)
674
674
  ], 12, _hoisted_2$B)) : vue.createCommentVNode("", true)
675
675
  ], 2);
676
676
  };
@@ -725,7 +725,7 @@ const _hoisted_2$A = {
725
725
  key: 0,
726
726
  class: "dots"
727
727
  };
728
- const _hoisted_3$r = ["onClick"];
728
+ const _hoisted_3$s = ["onClick"];
729
729
  const _hoisted_4$j = { class: "Handlers" };
730
730
  const GAP_PERCENT = 1;
731
731
  const VELOCITY_SAMPLE_DURATION = 100;
@@ -1154,7 +1154,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
1154
1154
  key: i2,
1155
1155
  class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
1156
1156
  onClick: ($event) => goToSlide(i2 - 1)
1157
- }, null, 10, _hoisted_3$r);
1157
+ }, null, 10, _hoisted_3$s);
1158
1158
  }), 128))
1159
1159
  ])) : vue.createCommentVNode("", true),
1160
1160
  vue.createElementVNode("div", _hoisted_4$j, [
@@ -7009,7 +7009,7 @@ const _hoisted_1$1$1 = {
7009
7009
  style: { display: "flex", position: "relative" }
7010
7010
  };
7011
7011
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7012
- const _hoisted_3$q = { class: "layer-rectangles" };
7012
+ const _hoisted_3$r = { class: "layer-rectangles" };
7013
7013
  const _hoisted_4$i = ["transform", "onMouseover"];
7014
7014
  const _hoisted_5$h = ["width", "height"];
7015
7015
  const _hoisted_6$e = {
@@ -7027,7 +7027,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7027
7027
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
7028
7028
  ref: "el"
7029
7029
  }, [
7030
- vue.createElementVNode("g", _hoisted_3$q, [
7030
+ vue.createElementVNode("g", _hoisted_3$r, [
7031
7031
  (vue.openBlock(true), vue.createElementBlock(
7032
7032
  vue.Fragment,
7033
7033
  null,
@@ -7285,7 +7285,7 @@ const _hoisted_2$y = {
7285
7285
  key: 0,
7286
7286
  class: "data-row m_py-05"
7287
7287
  };
7288
- const _hoisted_3$p = { class: "key" };
7288
+ const _hoisted_3$q = { class: "key" };
7289
7289
  const _hoisted_4$h = { class: "m-0" };
7290
7290
  const _hoisted_5$g = { key: 1 };
7291
7291
  const _hoisted_6$d = {
@@ -7344,7 +7344,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7344
7344
  key: field.id
7345
7345
  }, [
7346
7346
  vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
7347
- vue.createElementVNode("div", _hoisted_3$p, [
7347
+ vue.createElementVNode("div", _hoisted_3$q, [
7348
7348
  vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7349
7349
  ]),
7350
7350
  vue.createVNode(vue.unref(_sfc_main$R), {
@@ -8080,7 +8080,7 @@ const _hoisted_1$L = {
8080
8080
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
8081
8081
  };
8082
8082
  const _hoisted_2$x = { class: "infinite-wrapper" };
8083
- const _hoisted_3$o = { class: "row first-row" };
8083
+ const _hoisted_3$p = { class: "row first-row" };
8084
8084
  const _hoisted_4$g = { key: 0 };
8085
8085
  const _hoisted_5$f = ["onClick"];
8086
8086
  const _hoisted_6$c = { class: "flex" };
@@ -8200,7 +8200,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
8200
8200
  vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
8201
8201
  ]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
8202
8202
  vue.createElementVNode("table", _hoisted_2$x, [
8203
- vue.createElementVNode("thead", _hoisted_3$o, [
8203
+ vue.createElementVNode("thead", _hoisted_3$p, [
8204
8204
  vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, [
8205
8205
  vue.createElementVNode("input", {
8206
8206
  ref_key: "allSelectorEl",
@@ -11070,8 +11070,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
11070
11070
  props22.class = typeof field.class === "function" ? field.class(formData.value[field.id], formData.value) : field.class;
11071
11071
  }
11072
11072
  const slots = ((_a2 = field.children) == null ? void 0 : _a2.length) ? {
11073
- default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean)
11074
- } : void 0;
11073
+ default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean),
11074
+ ...field.slots
11075
+ } : field.slots;
11075
11076
  return vue.h(Component, props22, slots);
11076
11077
  }
11077
11078
  function shouldRenderField(field) {
@@ -11090,9 +11091,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
11090
11091
  ref: form,
11091
11092
  onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
11092
11093
  }, [
11093
- resolvedSchema.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(resolvedSchema.value, (field, index2) => {
11094
+ resolvedSchema.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(resolvedSchema.value, (field) => {
11094
11095
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderSchemaField(field)), {
11095
- key: field.id || index2
11096
+ key: field.id
11096
11097
  });
11097
11098
  }), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }),
11098
11099
  vue.renderSlot(_ctx.$slots, "submit", {
@@ -11655,7 +11656,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
11655
11656
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
11656
11657
  const _hoisted_1$F = ["title"];
11657
11658
  const _hoisted_2$u = ["id", "value", "required"];
11658
- const _hoisted_3$n = ["for"];
11659
+ const _hoisted_3$o = ["for"];
11659
11660
  const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
11660
11661
  __name: "CheckInput",
11661
11662
  props: /* @__PURE__ */ vue.mergeModels({
@@ -11697,7 +11698,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
11697
11698
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
11698
11699
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
11699
11700
  ], true)
11700
- ], 8, _hoisted_3$n)
11701
+ ], 8, _hoisted_3$o)
11701
11702
  ], 10, _hoisted_1$F);
11702
11703
  };
11703
11704
  }
@@ -11708,7 +11709,7 @@ const _hoisted_2$t = {
11708
11709
  key: 0,
11709
11710
  class: "label txt-start"
11710
11711
  };
11711
- const _hoisted_3$m = {
11712
+ const _hoisted_3$n = {
11712
11713
  key: 1,
11713
11714
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
11714
11715
  };
@@ -11799,7 +11800,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
11799
11800
  return (_ctx, _cache) => {
11800
11801
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
11801
11802
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
11802
- vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
11803
+ vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
11803
11804
  vue.createElementVNode("div", {
11804
11805
  class: "relative block h-100",
11805
11806
  style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
@@ -20502,7 +20503,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20502
20503
  });
20503
20504
  const _hoisted_1$B = ["title"];
20504
20505
  const _hoisted_2$q = { key: 0 };
20505
- const _hoisted_3$l = {
20506
+ const _hoisted_3$m = {
20506
20507
  key: 0,
20507
20508
  class: "required"
20508
20509
  };
@@ -20709,7 +20710,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20709
20710
  }, [
20710
20711
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
20711
20712
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
20712
- _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$l, "*")) : vue.createCommentVNode("", true)
20713
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, "*")) : vue.createCommentVNode("", true)
20713
20714
  ])) : vue.createCommentVNode("", true),
20714
20715
  vue.createVNode(vue.unref(kt$1), {
20715
20716
  shown: vue.unref(isOpen),
@@ -20878,7 +20879,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20878
20879
  const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
20879
20880
  const _hoisted_1$A = { class: "datetime-wrap" };
20880
20881
  const _hoisted_2$p = { class: "date-wrap" };
20881
- const _hoisted_3$k = {
20882
+ const _hoisted_3$l = {
20882
20883
  key: 0,
20883
20884
  class: "time-wrap"
20884
20885
  };
@@ -20931,7 +20932,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20931
20932
  _: 1
20932
20933
  }, 16, ["modelValue", "allowed-dates", "disabled-dates"])
20933
20934
  ]),
20934
- _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$k, [
20935
+ _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
20935
20936
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr2) => {
20936
20937
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr2 }, [
20937
20938
  vue.withDirectives(vue.createElementVNode("input", {
@@ -20961,7 +20962,7 @@ const _hoisted_2$o = {
20961
20962
  required: "",
20962
20963
  class: "pixel"
20963
20964
  };
20964
- const _hoisted_3$j = { class: "m-05 flex opacity-7 z-99" };
20965
+ const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
20965
20966
  const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
20966
20967
  const _hoisted_5$b = {
20967
20968
  key: 1,
@@ -21191,7 +21192,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21191
21192
  key: file.id,
21192
21193
  class: "txt-gray txt-12 flex"
21193
21194
  }, [
21194
- vue.createElementVNode("div", _hoisted_3$j, [
21195
+ vue.createElementVNode("div", _hoisted_3$k, [
21195
21196
  vue.withDirectives(vue.createVNode(vue.unref(Btn), {
21196
21197
  color: "gray",
21197
21198
  thin: "",
@@ -21385,12 +21386,14 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21385
21386
  icon: "check"
21386
21387
  })
21387
21388
  ], 6),
21388
- isImage(fileQ.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
21389
+ isImage(fileQ.file.type) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
21389
21390
  key: 0,
21390
21391
  class: "single-preview",
21391
21392
  src: fileToUrl(fileQ.file),
21392
21393
  alt: ""
21393
- }, null, 8, ["src"])) : vue.createCommentVNode("", true)
21394
+ }, null, 8, ["src"])), [
21395
+ [_directive_lightbox, { src: fileToUrl(fileQ.file), download: true }]
21396
+ ]) : vue.createCommentVNode("", true)
21394
21397
  ], 2);
21395
21398
  }), 128))
21396
21399
  ])) : vue.createCommentVNode("", true)
@@ -21411,10 +21414,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21411
21414
  };
21412
21415
  }
21413
21416
  });
21414
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-a9ae1c29"]]);
21417
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-d4fb78ee"]]);
21415
21418
  const _hoisted_1$y = ["title"];
21416
21419
  const _hoisted_2$n = { key: 0 };
21417
- const _hoisted_3$i = ["value", "placeholder"];
21420
+ const _hoisted_3$j = ["value", "placeholder"];
21418
21421
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21419
21422
  __name: "JSONInput",
21420
21423
  props: {
@@ -21446,7 +21449,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21446
21449
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
21447
21450
  placeholder: _ctx.placeholder,
21448
21451
  onInput: handleInput
21449
- }, null, 42, _hoisted_3$i)
21452
+ }, null, 42, _hoisted_3$j)
21450
21453
  ], 10, _hoisted_1$y);
21451
21454
  };
21452
21455
  }
@@ -21454,7 +21457,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21454
21457
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
21455
21458
  const _hoisted_1$x = ["for"];
21456
21459
  const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21457
- const _hoisted_3$h = { key: 1 };
21460
+ const _hoisted_3$i = { key: 1 };
21458
21461
  const _hoisted_4$b = {
21459
21462
  key: 5,
21460
21463
  class: "flex column spinner"
@@ -21576,7 +21579,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21576
21579
  { number: true }
21577
21580
  ]
21578
21581
  ]),
21579
- _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$h, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
21582
+ _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$i, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
21580
21583
  _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
21581
21584
  key: 2,
21582
21585
  class: "iconStart",
@@ -21793,7 +21796,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21793
21796
  });
21794
21797
  const _hoisted_1$u = ["for"];
21795
21798
  const _hoisted_2$k = ["id", "name", "value", "required"];
21796
- const _hoisted_3$g = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21799
+ const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21797
21800
  const _hoisted_4$a = ["src", "alt"];
21798
21801
  const _hoisted_5$a = { class: "" };
21799
21802
  const _hoisted_6$8 = {
@@ -21837,7 +21840,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
21837
21840
  }, null, 8, _hoisted_2$k), [
21838
21841
  [vue.vModelRadio, selectedOption.value]
21839
21842
  ]),
21840
- vue.createElementVNode("div", _hoisted_3$g, [
21843
+ vue.createElementVNode("div", _hoisted_3$h, [
21841
21844
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
21842
21845
  key: 0,
21843
21846
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -21868,7 +21871,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
21868
21871
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
21869
21872
  const _hoisted_1$t = { class: "bagel-input" };
21870
21873
  const _hoisted_2$j = { class: "pb-025" };
21871
- const _hoisted_3$f = { class: "flex gap-05 flex-wrap" };
21874
+ const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
21872
21875
  const _hoisted_4$9 = ["id", "name", "value", "checked"];
21873
21876
  const _hoisted_5$9 = ["for"];
21874
21877
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
@@ -21914,7 +21917,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
21914
21917
  return (_ctx, _cache) => {
21915
21918
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
21916
21919
  vue.createElementVNode("label", _hoisted_2$j, vue.toDisplayString(_ctx.label), 1),
21917
- vue.createElementVNode("div", _hoisted_3$f, [
21920
+ vue.createElementVNode("div", _hoisted_3$g, [
21918
21921
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
21919
21922
  return vue.openBlock(), vue.createElementBlock("div", {
21920
21923
  key: index2,
@@ -21944,7 +21947,7 @@ const _hoisted_2$i = {
21944
21947
  key: 0,
21945
21948
  class: "label"
21946
21949
  };
21947
- const _hoisted_3$e = { class: "range-slider relative w-100" };
21950
+ const _hoisted_3$f = { class: "range-slider relative w-100" };
21948
21951
  const _hoisted_4$8 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
21949
21952
  const _hoisted_5$8 = ["value", "min", "max", "step", "required", "disabled"];
21950
21953
  const _hoisted_6$7 = { class: "track absolute pointer-events-none overflow-hidden round" };
@@ -22018,7 +22021,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
22018
22021
  dir: vue.unref(rtl) ? "rtl" : "ltr"
22019
22022
  }, [
22020
22023
  vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$i, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
22021
- vue.createElementVNode("div", _hoisted_3$e, [
22024
+ vue.createElementVNode("div", _hoisted_3$f, [
22022
22025
  vue.createElementVNode("input", {
22023
22026
  id: vue.unref(id),
22024
22027
  value: validFrom.value,
@@ -22205,7 +22208,7 @@ const toolbarOptions = [
22205
22208
  ];
22206
22209
  const _hoisted_1$r = { class: "grid grid-wrap p-05" };
22207
22210
  const _hoisted_2$h = ["onMousemove", "onClick"];
22208
- const _hoisted_3$d = { class: "txt-center txt-12 color-gray" };
22211
+ const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
22209
22212
  const fb = 1;
22210
22213
  const base = 5;
22211
22214
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
@@ -22255,7 +22258,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
22255
22258
  }), 128))
22256
22259
  ], 32);
22257
22260
  }), 128)),
22258
- vue.createElementVNode("p", _hoisted_3$d, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
22261
+ vue.createElementVNode("p", _hoisted_3$e, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
22259
22262
  ]);
22260
22263
  };
22261
22264
  }
@@ -23243,8 +23246,9 @@ function useEditorKeyboard(doc, handleToolbarAction) {
23243
23246
  }
23244
23247
  });
23245
23248
  }
23246
- const _hoisted_1$p = { class: "content-area radius-05" };
23247
- const _hoisted_2$g = {
23249
+ const _hoisted_1$p = { class: "bagel-input" };
23250
+ const _hoisted_2$g = { class: "content-area radius-05" };
23251
+ const _hoisted_3$d = {
23248
23252
  key: 1,
23249
23253
  class: "flex"
23250
23254
  };
@@ -23253,7 +23257,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
23253
23257
  props: {
23254
23258
  modelValue: {},
23255
23259
  toolbarConfig: {},
23256
- debug: { type: Boolean }
23260
+ debug: { type: Boolean },
23261
+ label: {}
23257
23262
  },
23258
23263
  emits: ["update:modelValue"],
23259
23264
  setup(__props, { emit: __emit }) {
@@ -23324,82 +23329,85 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
23324
23329
  });
23325
23330
  return (_ctx, _cache) => {
23326
23331
  var _a2, _b;
23327
- return vue.openBlock(), vue.createElementBlock("div", {
23328
- class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
23329
- }, [
23330
- vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
23331
- key: 0,
23332
- config: _ctx.toolbarConfig,
23333
- selectedStyles: vue.unref(editor).state.selectedStyles,
23334
- onAction: vue.unref(commands).execute
23335
- }, null, 8, ["config", "selectedStyles", "onAction"])) : vue.createCommentVNode("", true),
23332
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
23333
+ vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
23336
23334
  vue.createElementVNode("div", {
23337
- class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
23335
+ class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
23338
23336
  }, [
23339
- vue.createElementVNode("div", _hoisted_1$p, [
23340
- vue.createElementVNode("iframe", {
23341
- id: "rich-text-iframe",
23342
- ref_key: "iframe",
23343
- ref: iframe,
23344
- class: "editableContent",
23345
- title: "Editor",
23346
- onLoad: initEditor
23347
- }, null, 544)
23348
- ]),
23349
- vue.unref(editor).state.isSplitView ? (vue.openBlock(), vue.createBlock(vue.unref(CodeEditor), {
23337
+ vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
23350
23338
  key: 0,
23351
- modelValue: vue.unref(editor).state.content,
23352
- "onUpdate:modelValue": [
23353
- _cache[0] || (_cache[0] = ($event) => vue.unref(editor).state.content = $event),
23354
- _cache[1] || (_cache[1] = ($event) => vue.unref(editor).updateContent("html"))
23355
- ],
23356
- language: "html"
23357
- }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
23358
- ], 2),
23359
- _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
23360
- _cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23361
- vue.createVNode(vue.unref(Btn), {
23362
- thin: "",
23363
- color: "gray",
23364
- icon: "delete",
23365
- onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23366
- }, {
23367
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
23368
- vue.createTextVNode(" Clear Session ")
23369
- ])),
23370
- _: 1
23371
- }, 8, ["onClick"]),
23372
- vue.createVNode(vue.unref(Btn), {
23373
- thin: "",
23374
- color: "gray",
23375
- icon: "download",
23376
- onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23377
- }, {
23378
- default: vue.withCtx(() => _cache[4] || (_cache[4] = [
23379
- vue.createTextVNode(" Download Log ")
23380
- ])),
23381
- _: 1
23382
- }, 8, ["onClick"]),
23383
- vue.createVNode(vue.unref(Btn), {
23384
- thin: "",
23385
- color: "gray",
23386
- icon: "content_copy",
23387
- onClick: _cache[2] || (_cache[2] = ($event) => {
23388
- var _a3;
23389
- return vue.unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23339
+ config: _ctx.toolbarConfig,
23340
+ selectedStyles: vue.unref(editor).state.selectedStyles,
23341
+ onAction: vue.unref(commands).execute
23342
+ }, null, 8, ["config", "selectedStyles", "onAction"])) : vue.createCommentVNode("", true),
23343
+ vue.createElementVNode("div", {
23344
+ class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
23345
+ }, [
23346
+ vue.createElementVNode("div", _hoisted_2$g, [
23347
+ vue.createElementVNode("iframe", {
23348
+ id: "rich-text-iframe",
23349
+ ref_key: "iframe",
23350
+ ref: iframe,
23351
+ class: "editableContent",
23352
+ title: "Editor",
23353
+ onLoad: initEditor
23354
+ }, null, 544)
23355
+ ]),
23356
+ vue.unref(editor).state.isSplitView ? (vue.openBlock(), vue.createBlock(vue.unref(CodeEditor), {
23357
+ key: 0,
23358
+ modelValue: vue.unref(editor).state.content,
23359
+ "onUpdate:modelValue": [
23360
+ _cache[0] || (_cache[0] = ($event) => vue.unref(editor).state.content = $event),
23361
+ _cache[1] || (_cache[1] = ($event) => vue.unref(editor).updateContent("html"))
23362
+ ],
23363
+ language: "html"
23364
+ }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
23365
+ ], 2),
23366
+ _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$d, [
23367
+ _cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23368
+ vue.createVNode(vue.unref(Btn), {
23369
+ thin: "",
23370
+ color: "gray",
23371
+ icon: "delete",
23372
+ onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23373
+ }, {
23374
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
23375
+ vue.createTextVNode(" Clear Session ")
23376
+ ])),
23377
+ _: 1
23378
+ }, 8, ["onClick"]),
23379
+ vue.createVNode(vue.unref(Btn), {
23380
+ thin: "",
23381
+ color: "gray",
23382
+ icon: "download",
23383
+ onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23384
+ }, {
23385
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
23386
+ vue.createTextVNode(" Download Log ")
23387
+ ])),
23388
+ _: 1
23389
+ }, 8, ["onClick"]),
23390
+ vue.createVNode(vue.unref(Btn), {
23391
+ thin: "",
23392
+ color: "gray",
23393
+ icon: "content_copy",
23394
+ onClick: _cache[2] || (_cache[2] = ($event) => {
23395
+ var _a3;
23396
+ return vue.unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23397
+ })
23398
+ }, {
23399
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
23400
+ vue.createTextVNode(" Copy Log ")
23401
+ ])),
23402
+ _: 1
23390
23403
  })
23391
- }, {
23392
- default: vue.withCtx(() => _cache[5] || (_cache[5] = [
23393
- vue.createTextVNode(" Copy Log ")
23394
- ])),
23395
- _: 1
23396
- })
23397
- ])) : vue.createCommentVNode("", true)
23398
- ], 2);
23404
+ ])) : vue.createCommentVNode("", true)
23405
+ ], 2)
23406
+ ]);
23399
23407
  };
23400
23408
  }
23401
23409
  });
23402
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ac0edf00"]]);
23410
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
23403
23411
  const _hoisted_1$o = { class: "flex gap-05" };
23404
23412
  const _hoisted_2$f = ["disabled"];
23405
23413
  const _hoisted_3$c = { key: 1 };
@@ -23426,14 +23434,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23426
23434
  hideLabel: { type: Boolean },
23427
23435
  defaultValue: {},
23428
23436
  clearable: { type: Boolean },
23429
- searchPlaceholder: { default: "Search" },
23437
+ searchPlaceholder: {},
23430
23438
  onSearch: {}
23431
23439
  },
23432
23440
  emits: ["update:modelValue"],
23433
23441
  setup(__props, { emit: __emit }) {
23434
23442
  const props2 = __props;
23435
23443
  const emit2 = __emit;
23436
- const searchPlaceholder = vue.computed(() => props2.searchPlaceholder);
23437
23444
  const searchInput = vue.ref();
23438
23445
  let selectedItems = vue.ref([]);
23439
23446
  const selectedItemCount = vue.computed(() => selectedItems.value.length ?? 0);
@@ -23449,6 +23456,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23449
23456
  }
23450
23457
  return selectedItems.value.map((item) => getLabel(item)).join(", ");
23451
23458
  });
23459
+ const searchPlaceholder = vue.computed(() => props2.searchPlaceholder ?? selectedLabel.value ?? "Search");
23452
23460
  let serverOptions = vue.ref([]);
23453
23461
  let isSearching = vue.ref(false);
23454
23462
  async function runServerSearch() {
@@ -23716,7 +23724,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23716
23724
  };
23717
23725
  }
23718
23726
  });
23719
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e07a7d4e"]]);
23727
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-70535216"]]);
23720
23728
  /*!
23721
23729
  * Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
23722
23730
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -32457,11 +32465,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32457
32465
  ])
32458
32466
  ]),
32459
32467
  isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$1, [
32460
- vue.createVNode(vue.unref(Image$1), {
32468
+ vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
32461
32469
  class: "single-preview",
32462
32470
  pathKey: path_key,
32463
32471
  alt: ""
32464
- }, null, 8, ["pathKey"])
32472
+ }, null, 8, ["pathKey"]), [
32473
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32474
+ ])
32465
32475
  ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
32466
32476
  key: 1,
32467
32477
  size: 4,
@@ -32488,12 +32498,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32488
32498
  icon: "check_circle"
32489
32499
  })
32490
32500
  ], 6),
32491
- isImage(file.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
32501
+ isImage(file.file.type) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
32492
32502
  key: 0,
32493
32503
  class: "single-preview",
32494
32504
  src: fileToUrl(file.file),
32495
32505
  alt: ""
32496
- }, null, 8, ["src"])) : vue.createCommentVNode("", true)
32506
+ }, null, 8, ["src"])), [
32507
+ [_directive_lightbox, { src: fileToUrl(file.file), download: true }]
32508
+ ]) : vue.createCommentVNode("", true)
32497
32509
  ], 2);
32498
32510
  }), 128))
32499
32511
  ])) : vue.createCommentVNode("", true)
@@ -32514,7 +32526,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32514
32526
  };
32515
32527
  }
32516
32528
  });
32517
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bd972fe8"]]);
32529
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0d93d910"]]);
32518
32530
  const FONT_AWESOME_ICONS = [
32519
32531
  "trash-can",
32520
32532
  "message",