@enos5/enos-vue-default 1.17.2 → 1.18.0

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.
Files changed (30) hide show
  1. package/README.md +152 -128
  2. package/dist/{code-Cm7MgQif.js → code-mFVfv-JF.js} +2 -2
  3. package/dist/{code-Cm7MgQif.js.map → code-mFVfv-JF.js.map} +1 -1
  4. package/dist/components/FloatingActionHint.vue.d.ts +20 -0
  5. package/dist/components/SidebarMenuButton.vue.d.ts +1 -1
  6. package/dist/{default-Cgs8Tahv.js → default-CXSE-CfC.js} +2 -2
  7. package/dist/{default-Cgs8Tahv.js.map → default-CXSE-CfC.js.map} +1 -1
  8. package/dist/{dom-BeRggs56.js → dom-CFK7rsQj.js} +2 -2
  9. package/dist/{dom-BeRggs56.js.map → dom-CFK7rsQj.js.map} +1 -1
  10. package/dist/exports.d.ts +1 -0
  11. package/dist/{image-wVCnQh0h.js → image-BKHRC93C.js} +2 -2
  12. package/dist/{image-wVCnQh0h.js.map → image-BKHRC93C.js.map} +1 -1
  13. package/dist/index.docs.d.ts +1 -0
  14. package/dist/index.js +2 -2
  15. package/dist/index.node.js +2 -2
  16. package/dist/{link-KJRFTy--.js → link-6m9FnJyE.js} +2 -2
  17. package/dist/{link-KJRFTy--.js.map → link-6m9FnJyE.js.map} +1 -1
  18. package/dist/{lists-BzJs5oD0.js → lists-Dm_2IIm_.js} +2 -2
  19. package/dist/{lists-BzJs5oD0.js.map → lists-Dm_2IIm_.js.map} +1 -1
  20. package/dist/{plugin-TP7ra_6S.js → plugin-CkWJbkrp.js} +181 -97
  21. package/dist/plugin-CkWJbkrp.js.map +1 -0
  22. package/dist/{silver-Y-RHxZ9j.js → silver-Ck5Nmwm5.js} +2 -2
  23. package/dist/{silver-Y-RHxZ9j.js.map → silver-Ck5Nmwm5.js.map} +1 -1
  24. package/dist/styles.css +16 -0
  25. package/dist/{table-CV-zOVUh.js → table-BaMYTIbc.js} +2 -2
  26. package/dist/{table-CV-zOVUh.js.map → table-BaMYTIbc.js.map} +1 -1
  27. package/dist/{tinymce-C8b0wRwA.js → tinymce-B_nz3bjz.js} +2 -2
  28. package/dist/{tinymce-C8b0wRwA.js.map → tinymce-B_nz3bjz.js.map} +1 -1
  29. package/package.json +1 -1
  30. package/dist/plugin-TP7ra_6S.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Fragment, Teleport, Transition, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, useAttrs, useSlots, vModelCheckbox, vModelText, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
1
+ import { Fragment, Teleport, Transition, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, h, inject, isVNode, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, provide, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, toHandlers, unref, useAttrs, useSlots, vModelCheckbox, vModelText, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
2
2
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon, ExclamationCircleIcon, ExclamationTriangleIcon, EyeDropperIcon, LockClosedIcon, PencilSquareIcon, PhotoIcon, XMarkIcon } from "@heroicons/vue/24/outline";
3
3
  import Editor from "@tinymce/tinymce-vue";
4
4
  import { useI18n } from "vue-i18n";
@@ -36,12 +36,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
36
36
  }) : target, mod));
37
37
  //#endregion
38
38
  //#region src/components/CardTabs.vue
39
- var _hoisted_1$39 = { class: "border-b border-neutral-200 bg-neutral-50/80 p-2 dark:border-neutral-800 dark:bg-neutral-900/80" };
40
- var _hoisted_2$22 = {
39
+ var _hoisted_1$40 = { class: "border-b border-neutral-200 bg-neutral-50/80 p-2 dark:border-neutral-800 dark:bg-neutral-900/80" };
40
+ var _hoisted_2$23 = {
41
41
  role: "tablist",
42
42
  class: "flex overflow-hidden rounded-lg bg-white shadow-sm ring-1 ring-neutral-200 dark:bg-neutral-950 dark:ring-neutral-800"
43
43
  };
44
- var _hoisted_3$17 = [
44
+ var _hoisted_3$18 = [
45
45
  "aria-selected",
46
46
  "tabindex",
47
47
  "onClick",
@@ -106,7 +106,7 @@ var _sfc_main$41 = {
106
106
  focusTabAtIndex(targetIndex);
107
107
  };
108
108
  return (_ctx, _cache) => {
109
- return openBlock(), createElementBlock("div", _hoisted_1$39, [createElementVNode("div", _hoisted_2$22, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab, index) => {
109
+ return openBlock(), createElementBlock("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$23, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab, index) => {
110
110
  return openBlock(), createElementBlock("button", {
111
111
  key: tab.value,
112
112
  ref_for: true,
@@ -123,18 +123,18 @@ var _sfc_main$41 = {
123
123
  ]),
124
124
  onClick: ($event) => activateTab(tab.value),
125
125
  onKeydown: ($event) => onTabKeydown($event, index)
126
- }, toDisplayString(tab.label), 47, _hoisted_3$17);
126
+ }, toDisplayString(tab.label), 47, _hoisted_3$18);
127
127
  }), 128))])]);
128
128
  };
129
129
  }
130
130
  };
131
131
  //#endregion
132
132
  //#region src/components/Card.vue
133
- var _hoisted_1$38 = {
133
+ var _hoisted_1$39 = {
134
134
  key: 0,
135
135
  class: "mb-4"
136
136
  };
137
- var _hoisted_2$21 = {
137
+ var _hoisted_2$22 = {
138
138
  key: 1,
139
139
  class: "mb-4 text-xl font-semibold tracking-tight text-neutral-950 dark:text-neutral-50"
140
140
  };
@@ -204,7 +204,7 @@ var _sfc_main$40 = {
204
204
  "active-tab": __props.activeTab,
205
205
  "onUpdate:activeTab": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:activeTab", $event)),
206
206
  onTabClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("tab-click", $event))
207
- }, null, 8, ["tabs", "active-tab"])) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(__props.paddingClass) }, [_ctx.$slots.customTitle ? (openBlock(), createElementBlock("div", _hoisted_1$38, [renderSlot(_ctx.$slots, "customTitle")])) : __props.title ? (openBlock(), createElementBlock("h3", _hoisted_2$21, toDisplayString(__props.title), 1)) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(["relative", __props.tabs.length > 0 ? "overflow-hidden" : "overflow-visible"]) }, [createVNode(Transition, {
207
+ }, null, 8, ["tabs", "active-tab"])) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(__props.paddingClass) }, [_ctx.$slots.customTitle ? (openBlock(), createElementBlock("div", _hoisted_1$39, [renderSlot(_ctx.$slots, "customTitle")])) : __props.title ? (openBlock(), createElementBlock("h3", _hoisted_2$22, toDisplayString(__props.title), 1)) : createCommentVNode("", true), createElementVNode("div", { class: normalizeClass(["relative", __props.tabs.length > 0 ? "overflow-hidden" : "overflow-visible"]) }, [createVNode(Transition, {
208
208
  "enter-active-class": "transition-all duration-200 ease-in-out",
209
209
  "enter-from-class": slideDirection.value === "right" ? "translate-x-full opacity-0" : "-translate-x-full opacity-0",
210
210
  "enter-to-class": "translate-x-0 opacity-100",
@@ -271,7 +271,7 @@ var _sfc_main$38 = {
271
271
  };
272
272
  //#endregion
273
273
  //#region src/components/ActionMessage.vue
274
- var _hoisted_1$37 = { class: "text-sm text-gray-600" };
274
+ var _hoisted_1$38 = { class: "text-sm text-gray-600" };
275
275
  var _sfc_main$37 = {
276
276
  __name: "ActionMessage",
277
277
  props: { on: Boolean },
@@ -282,7 +282,7 @@ var _sfc_main$37 = {
282
282
  "leave-from-class": "opacity-100",
283
283
  "leave-to-class": "opacity-0"
284
284
  }, {
285
- default: withCtx(() => [withDirectives(createElementVNode("div", _hoisted_1$37, [renderSlot(_ctx.$slots, "default")], 512), [[vShow, __props.on]])]),
285
+ default: withCtx(() => [withDirectives(createElementVNode("div", _hoisted_1$38, [renderSlot(_ctx.$slots, "default")], 512), [[vShow, __props.on]])]),
286
286
  _: 3
287
287
  })]);
288
288
  };
@@ -298,35 +298,35 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
298
298
  //#endregion
299
299
  //#region src/components/SectionTitle.vue
300
300
  var _sfc_main$36 = {};
301
- var _hoisted_1$36 = { class: "md:col-span-1 flex justify-between" };
302
- var _hoisted_2$20 = { class: "px-4 sm:px-0" };
303
- var _hoisted_3$16 = { class: "text-xl font-semibold tracking-tight text-neutral-950 dark:text-neutral-50" };
301
+ var _hoisted_1$37 = { class: "md:col-span-1 flex justify-between" };
302
+ var _hoisted_2$21 = { class: "px-4 sm:px-0" };
303
+ var _hoisted_3$17 = { class: "text-xl font-semibold tracking-tight text-neutral-950 dark:text-neutral-50" };
304
304
  var _hoisted_4$12 = { class: "mt-1 max-w-2xl text-sm text-neutral-600 dark:text-neutral-200" };
305
305
  var _hoisted_5$9 = { class: "px-4 sm:px-0" };
306
306
  function _sfc_render(_ctx, _cache) {
307
- return openBlock(), createElementBlock("div", _hoisted_1$36, [createElementVNode("div", _hoisted_2$20, [createElementVNode("h3", _hoisted_3$16, [renderSlot(_ctx.$slots, "title")]), createElementVNode("p", _hoisted_4$12, [renderSlot(_ctx.$slots, "description")])]), createElementVNode("div", _hoisted_5$9, [renderSlot(_ctx.$slots, "aside")])]);
307
+ return openBlock(), createElementBlock("div", _hoisted_1$37, [createElementVNode("div", _hoisted_2$21, [createElementVNode("h3", _hoisted_3$17, [renderSlot(_ctx.$slots, "title")]), createElementVNode("p", _hoisted_4$12, [renderSlot(_ctx.$slots, "description")])]), createElementVNode("div", _hoisted_5$9, [renderSlot(_ctx.$slots, "aside")])]);
308
308
  }
309
309
  var SectionTitle_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main$36, [["render", _sfc_render]]);
310
310
  //#endregion
311
311
  //#region src/components/ActionSection.vue
312
- var _hoisted_1$35 = { class: "md:grid md:grid-cols-3 md:gap-6" };
313
- var _hoisted_2$19 = { class: "mt-5 md:mt-0 md:col-span-2" };
314
- var _hoisted_3$15 = { class: "rounded-lg border border-neutral-200 bg-white px-4 py-5 shadow-sm dark:border-neutral-800 dark:bg-neutral-950 sm:p-6" };
312
+ var _hoisted_1$36 = { class: "md:grid md:grid-cols-3 md:gap-6" };
313
+ var _hoisted_2$20 = { class: "mt-5 md:mt-0 md:col-span-2" };
314
+ var _hoisted_3$16 = { class: "rounded-lg border border-neutral-200 bg-white px-4 py-5 shadow-sm dark:border-neutral-800 dark:bg-neutral-950 sm:p-6" };
315
315
  var _sfc_main$35 = {
316
316
  __name: "ActionSection",
317
317
  setup(__props) {
318
318
  return (_ctx, _cache) => {
319
- return openBlock(), createElementBlock("div", _hoisted_1$35, [createVNode(SectionTitle_default, null, {
319
+ return openBlock(), createElementBlock("div", _hoisted_1$36, [createVNode(SectionTitle_default, null, {
320
320
  title: withCtx(() => [renderSlot(_ctx.$slots, "title")]),
321
321
  description: withCtx(() => [renderSlot(_ctx.$slots, "description")]),
322
322
  _: 3
323
- }), createElementVNode("div", _hoisted_2$19, [createElementVNode("div", _hoisted_3$15, [renderSlot(_ctx.$slots, "content")])])]);
323
+ }), createElementVNode("div", _hoisted_2$20, [createElementVNode("div", _hoisted_3$16, [renderSlot(_ctx.$slots, "content")])])]);
324
324
  };
325
325
  }
326
326
  };
327
327
  //#endregion
328
328
  //#region src/components/Badge.vue
329
- var _hoisted_1$34 = { class: "sr-only" };
329
+ var _hoisted_1$35 = { class: "sr-only" };
330
330
  var _sfc_main$34 = {
331
331
  __name: "Badge",
332
332
  props: {
@@ -431,7 +431,7 @@ var _sfc_main$34 = {
431
431
  return __props.type === "dot" ? (openBlock(), createElementBlock("span", {
432
432
  key: 0,
433
433
  class: normalizeClass(["inline-flex items-center justify-center w-6 h-6 rounded-full", colorClasses[__props.color].bg])
434
- }, [createElementVNode("span", { class: normalizeClass(["w-2 h-2 rounded-full", colorClasses[__props.color].dot]) }, null, 2), createElementVNode("span", _hoisted_1$34, [renderSlot(_ctx.$slots, "default")])], 2)) : (openBlock(), createElementBlock("span", {
434
+ }, [createElementVNode("span", { class: normalizeClass(["w-2 h-2 rounded-full", colorClasses[__props.color].dot]) }, null, 2), createElementVNode("span", _hoisted_1$35, [renderSlot(_ctx.$slots, "default")])], 2)) : (openBlock(), createElementBlock("span", {
435
435
  key: 1,
436
436
  class: normalizeClass(["inline-flex items-center font-medium", [
437
437
  colorClasses[__props.color].bg,
@@ -445,7 +445,7 @@ var _sfc_main$34 = {
445
445
  };
446
446
  //#endregion
447
447
  //#region src/components/Button.vue
448
- var _hoisted_1$33 = ["type", "disabled"];
448
+ var _hoisted_1$34 = ["type", "disabled"];
449
449
  var _sfc_main$33 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
450
450
  __name: "Button",
451
451
  props: {
@@ -509,13 +509,13 @@ var _sfc_main$33 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
509
509
  type: __props.type,
510
510
  disabled: __props.disabled,
511
511
  class: buttonClasses.value
512
- }), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$33);
512
+ }), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$34);
513
513
  };
514
514
  }
515
515
  });
516
516
  //#endregion
517
517
  //#region src/components/Checkbox.vue
518
- var _hoisted_1$32 = ["value"];
518
+ var _hoisted_1$33 = ["value"];
519
519
  var _sfc_main$32 = {
520
520
  __name: "Checkbox",
521
521
  props: {
@@ -546,13 +546,13 @@ var _sfc_main$32 = {
546
546
  type: "checkbox",
547
547
  value: __props.value,
548
548
  class: "rounded border-neutral-300 text-neutral-900 shadow-sm focus:ring-neutral-900 dark:border-neutral-700 dark:bg-neutral-950 dark:text-neutral-100 dark:focus:ring-neutral-100"
549
- }, null, 8, _hoisted_1$32)), [[vModelCheckbox, proxyChecked.value]]);
549
+ }, null, 8, _hoisted_1$33)), [[vModelCheckbox, proxyChecked.value]]);
550
550
  };
551
551
  }
552
552
  };
553
553
  //#endregion
554
554
  //#region src/components/CheckboxInput.vue
555
- var _hoisted_1$31 = [
555
+ var _hoisted_1$32 = [
556
556
  "name",
557
557
  "checked",
558
558
  "disabled"
@@ -637,7 +637,7 @@ var _sfc_main$31 = {
637
637
  onChange,
638
638
  onFocus: handleFocus,
639
639
  onBlur: handleBlur
640
- }, null, 40, _hoisted_1$31),
640
+ }, null, 40, _hoisted_1$32),
641
641
  createElementVNode("span", { class: normalizeClass([
642
642
  "inline-flex h-4 w-4 items-center justify-center border text-[10px] font-bold leading-none",
643
643
  props.ui.control,
@@ -651,13 +651,13 @@ var _sfc_main$31 = {
651
651
  };
652
652
  //#endregion
653
653
  //#region src/components/TextInput.vue
654
- var _hoisted_1$30 = [
654
+ var _hoisted_1$31 = [
655
655
  "type",
656
656
  "value",
657
657
  "disabled"
658
658
  ];
659
- var _hoisted_2$18 = ["aria-label"];
660
- var _hoisted_3$14 = {
659
+ var _hoisted_2$19 = ["aria-label"];
660
+ var _hoisted_3$15 = {
661
661
  key: 0,
662
662
  class: "h-5 w-5",
663
663
  fill: "none",
@@ -748,14 +748,14 @@ var _sfc_main$30 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
748
748
  onInput: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event.target.value)),
749
749
  onBlur: _cache[1] || (_cache[1] = ($event) => emit("blur", $event)),
750
750
  onWheel: handleWheel
751
- }), null, 16, _hoisted_1$30),
751
+ }), null, 16, _hoisted_1$31),
752
752
  isPasswordField.value ? (openBlock(), createElementBlock("button", {
753
753
  key: 1,
754
754
  type: "button",
755
755
  class: normalizeClass(["absolute inset-y-0 right-0 flex items-center pr-3 text-neutral-400 transition-colors hover:text-neutral-700 focus:outline-none dark:text-neutral-200 dark:hover:text-neutral-50", props.ui.trailingAction]),
756
756
  "aria-label": revealed.value ? "Hide password" : "Show password",
757
757
  onClick: toggleVisibility
758
- }, [revealed.value ? (openBlock(), createElementBlock("svg", _hoisted_3$14, [..._cache[2] || (_cache[2] = [createElementVNode("path", {
758
+ }, [revealed.value ? (openBlock(), createElementBlock("svg", _hoisted_3$15, [..._cache[2] || (_cache[2] = [createElementVNode("path", {
759
759
  "stroke-linecap": "round",
760
760
  "stroke-linejoin": "round",
761
761
  "stroke-width": "2",
@@ -770,14 +770,14 @@ var _sfc_main$30 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
770
770
  "stroke-linejoin": "round",
771
771
  "stroke-width": "2",
772
772
  d: "M2.458 12C3.732 7.943 7.523 5 12 5s8.268 2.943 9.542 7c-1.274 4.057-5.065 7-9.542 7S3.732 16.057 2.458 12z"
773
- }, null, -1)])]))], 10, _hoisted_2$18)) : createCommentVNode("", true)
773
+ }, null, -1)])]))], 10, _hoisted_2$19)) : createCommentVNode("", true)
774
774
  ], 2);
775
775
  };
776
776
  }
777
777
  });
778
778
  //#endregion
779
779
  //#region src/components/TextArea.vue
780
- var _hoisted_1$29 = ["value", "disabled"];
780
+ var _hoisted_1$30 = ["value", "disabled"];
781
781
  var DEFAULT_MAX_LENGTH = 1e3;
782
782
  var _sfc_main$29 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
783
783
  __name: "TextArea",
@@ -850,15 +850,15 @@ var _sfc_main$29 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
850
850
  value: props.modelValue,
851
851
  disabled: props.disabled,
852
852
  onInput: updateValue
853
- }), null, 16, _hoisted_1$29)], 2);
853
+ }), null, 16, _hoisted_1$30)], 2);
854
854
  };
855
855
  }
856
856
  });
857
857
  //#endregion
858
858
  //#region src/components/CustomSelect.vue
859
- var _hoisted_1$28 = { class: "flex h-5 shrink-0 items-center gap-1" };
860
- var _hoisted_2$17 = ["placeholder"];
861
- var _hoisted_3$13 = [
859
+ var _hoisted_1$29 = { class: "flex h-5 shrink-0 items-center gap-1" };
860
+ var _hoisted_2$18 = ["placeholder"];
861
+ var _hoisted_3$14 = [
862
862
  "data-option-value",
863
863
  "onClick",
864
864
  "onFocus",
@@ -1603,7 +1603,7 @@ var _sfc_main$28 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
1603
1603
  class: normalizeClass(triggerValueClasses.value),
1604
1604
  style: normalizeStyle(darkTextStyle.value),
1605
1605
  onPointerdown: handleTriggerValuePointerDown
1606
- }, toDisplayString(displayText.value), 39), createElementVNode("div", _hoisted_1$28, [canClearSelection.value ? (openBlock(), createElementBlock("button", {
1606
+ }, toDisplayString(displayText.value), 39), createElementVNode("div", _hoisted_1$29, [canClearSelection.value ? (openBlock(), createElementBlock("button", {
1607
1607
  key: 0,
1608
1608
  type: "button",
1609
1609
  class: normalizeClass(clearButtonClasses.value),
@@ -1641,7 +1641,7 @@ var _sfc_main$28 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
1641
1641
  class: normalizeClass(searchInputClasses.value),
1642
1642
  onClick: _cache[2] || (_cache[2] = withModifiers(() => {}, ["stop"])),
1643
1643
  onKeydown: _cache[3] || (_cache[3] = withModifiers(() => {}, ["stop"]))
1644
- }, null, 42, _hoisted_2$17)), [[vModelText, searchQuery.value]]) : createCommentVNode("", true),
1644
+ }, null, 42, _hoisted_2$18)), [[vModelText, searchQuery.value]]) : createCommentVNode("", true),
1645
1645
  selectedDeletedOption.value ? (openBlock(), createElementBlock("div", {
1646
1646
  key: 1,
1647
1647
  class: normalizeClass([
@@ -1680,7 +1680,7 @@ var _sfc_main$28 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
1680
1680
  key: 1,
1681
1681
  class: "whitespace-nowrap",
1682
1682
  style: normalizeStyle(darkTextStyle.value)
1683
- }, toDisplayString(optionText(option)), 5))], 42, _hoisted_3$13);
1683
+ }, toDisplayString(optionText(option)), 5))], 42, _hoisted_3$14);
1684
1684
  }), 128))
1685
1685
  ], 6)], 6)) : createCommentVNode("", true)]),
1686
1686
  _: 1
@@ -1919,7 +1919,7 @@ var _sfc_main$27 = {
1919
1919
  };
1920
1920
  //#endregion
1921
1921
  //#region src/components/DateInput.vue
1922
- var _hoisted_1$27 = [
1922
+ var _hoisted_1$28 = [
1923
1923
  "type",
1924
1924
  "lang",
1925
1925
  "max",
@@ -2014,15 +2014,15 @@ var DateInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
2014
2014
  disabled: props.disabled,
2015
2015
  onInput: handleDateInput,
2016
2016
  onChange: handleDateInput
2017
- }), null, 16, _hoisted_1$27);
2017
+ }), null, 16, _hoisted_1$28);
2018
2018
  };
2019
2019
  }
2020
2020
  }), [["__scopeId", "data-v-8a975d48"]]);
2021
2021
  //#endregion
2022
2022
  //#region src/components/DateRangeInput.vue
2023
- var _hoisted_1$26 = ["value", "disabled"];
2024
- var _hoisted_2$16 = { class: "grid grid-cols-7 gap-1" };
2025
- var _hoisted_3$12 = [
2023
+ var _hoisted_1$27 = ["value", "disabled"];
2024
+ var _hoisted_2$17 = { class: "grid grid-cols-7 gap-1" };
2025
+ var _hoisted_3$13 = [
2026
2026
  "disabled",
2027
2027
  "onClick",
2028
2028
  "onMouseenter"
@@ -2304,7 +2304,7 @@ var DateRangeInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
2304
2304
  value: displayText.value,
2305
2305
  disabled: props.disabled,
2306
2306
  onClick: toggleCalendar
2307
- }, null, 10, _hoisted_1$26),
2307
+ }, null, 10, _hoisted_1$27),
2308
2308
  isOpen.value ? (openBlock(), createElementBlock("div", {
2309
2309
  key: 1,
2310
2310
  ref_key: "calendarRef",
@@ -2351,7 +2351,7 @@ var DateRangeInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
2351
2351
  class: normalizeClass(["text-xs font-medium text-neutral-500 dark:text-neutral-400 text-center py-1", props.ui.weekday])
2352
2352
  }, toDisplayString(day), 3);
2353
2353
  }), 128))], 2),
2354
- createElementVNode("div", _hoisted_2$16, [(openBlock(true), createElementBlock(Fragment, null, renderList(calendarDays.value, (day) => {
2354
+ createElementVNode("div", _hoisted_2$17, [(openBlock(true), createElementBlock(Fragment, null, renderList(calendarDays.value, (day) => {
2355
2355
  return openBlock(), createElementBlock("div", {
2356
2356
  key: day.date.toISOString(),
2357
2357
  class: "relative"
@@ -2383,7 +2383,7 @@ var DateRangeInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
2383
2383
  onClick: ($event) => selectDate(day.date),
2384
2384
  onMouseenter: ($event) => handleDateHover(day.date),
2385
2385
  onMouseleave: handleDateLeave
2386
- }, toDisplayString(day.date.getDate()), 43, _hoisted_3$12)]);
2386
+ }, toDisplayString(day.date.getDate()), 43, _hoisted_3$13)]);
2387
2387
  }), 128))]),
2388
2388
  createElementVNode("div", { class: normalizeClass(["mt-4 pt-4 border-t border-neutral-200 dark:border-neutral-800", props.ui.footer]) }, [createElementVNode("div", _hoisted_4$9, [createElementVNode("div", { class: normalizeClass(["text-xs text-neutral-500 dark:text-neutral-400", props.ui.footerText]) }, [startDate.value && endDate.value ? (openBlock(), createElementBlock("div", _hoisted_5$7, " Range: " + toDisplayString(daysBetween.value) + " days ", 1)) : startDate.value ? (openBlock(), createElementBlock("div", _hoisted_6$7, " Select end date ")) : (openBlock(), createElementBlock("div", _hoisted_7$5, " Select start date "))], 2), startDate.value || endDate.value ? (openBlock(), createElementBlock("button", {
2389
2389
  key: 0,
@@ -2398,9 +2398,9 @@ var DateRangeInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
2398
2398
  }), [["__scopeId", "data-v-0d27aeda"]]);
2399
2399
  //#endregion
2400
2400
  //#region src/components/ImageInput.vue
2401
- var _hoisted_1$25 = ["accept"];
2402
- var _hoisted_2$15 = { class: "flex items-center space-x-4" };
2403
- var _hoisted_3$11 = ["src"];
2401
+ var _hoisted_1$26 = ["accept"];
2402
+ var _hoisted_2$16 = { class: "flex items-center space-x-4" };
2403
+ var _hoisted_3$12 = ["src"];
2404
2404
  var _sfc_main$24 = {
2405
2405
  __name: "ImageInput",
2406
2406
  props: {
@@ -2442,20 +2442,20 @@ var _sfc_main$24 = {
2442
2442
  accept: __props.accept,
2443
2443
  class: ["block h-[48px] w-full cursor-pointer rounded-lg border border-neutral-200 bg-white py-[7px] pl-10 pr-4 text-sm text-neutral-700 align-middle shadow-sm transition-all duration-200 file:mr-3 file:h-[34px] file:align-middle file:rounded-md file:border-0 file:bg-neutral-900 file:px-4 file:py-0 file:text-sm file:font-medium file:leading-[34px] file:text-neutral-50 hover:file:bg-neutral-800 focus:border-neutral-900 focus:outline-none focus:ring-2 focus:ring-neutral-950/10 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-100 dark:file:bg-neutral-800 dark:file:text-neutral-50 dark:hover:file:bg-neutral-700 dark:focus:border-neutral-100 dark:focus:ring-neutral-100/10", props.ui.input],
2444
2444
  onChange: handleFileChange
2445
- }), null, 16, _hoisted_1$25)], 2), props.currentImageUrl ? (openBlock(), createElementBlock("div", {
2445
+ }), null, 16, _hoisted_1$26)], 2), props.currentImageUrl ? (openBlock(), createElementBlock("div", {
2446
2446
  key: 0,
2447
2447
  class: normalizeClass(["mt-4 rounded-lg border border-neutral-200 bg-neutral-50 p-4 dark:border-neutral-800 dark:bg-neutral-900/50", props.ui.previewCard])
2448
- }, [createElementVNode("div", _hoisted_2$15, [createElementVNode("img", {
2448
+ }, [createElementVNode("div", _hoisted_2$16, [createElementVNode("img", {
2449
2449
  src: props.currentImageUrl,
2450
2450
  alt: "Current logo",
2451
2451
  class: normalizeClass(["h-16 w-auto max-w-24 object-contain rounded-lg shadow-sm", props.ui.previewImage])
2452
- }, null, 10, _hoisted_3$11), createElementVNode("div", null, [createElementVNode("p", { class: normalizeClass(["text-sm font-medium text-neutral-900 dark:text-neutral-50", props.ui.previewTitle]) }, toDisplayString(props.currentLabel), 3), createElementVNode("p", { class: normalizeClass(["text-xs text-neutral-500 dark:text-neutral-200", props.ui.previewText]) }, toDisplayString(props.currentSubtext), 3)])])], 2)) : createCommentVNode("", true)], 2);
2452
+ }, null, 10, _hoisted_3$12), createElementVNode("div", null, [createElementVNode("p", { class: normalizeClass(["text-sm font-medium text-neutral-900 dark:text-neutral-50", props.ui.previewTitle]) }, toDisplayString(props.currentLabel), 3), createElementVNode("p", { class: normalizeClass(["text-xs text-neutral-500 dark:text-neutral-200", props.ui.previewText]) }, toDisplayString(props.currentSubtext), 3)])])], 2)) : createCommentVNode("", true)], 2);
2453
2453
  };
2454
2454
  }
2455
2455
  };
2456
2456
  //#endregion
2457
2457
  //#region src/components/NotationInput.vue
2458
- var _hoisted_1$24 = ["disabled", "onClick"];
2458
+ var _hoisted_1$25 = ["disabled", "onClick"];
2459
2459
  var _sfc_main$23 = {
2460
2460
  __name: "NotationInput",
2461
2461
  props: {
@@ -2505,14 +2505,14 @@ var _sfc_main$23 = {
2505
2505
  ]),
2506
2506
  disabled: __props.disabled,
2507
2507
  onClick: ($event) => selectOption(option)
2508
- }, toDisplayString(option), 11, _hoisted_1$24);
2508
+ }, toDisplayString(option), 11, _hoisted_1$25);
2509
2509
  }), 128))], 2);
2510
2510
  };
2511
2511
  }
2512
2512
  };
2513
2513
  //#endregion
2514
2514
  //#region src/components/RadioInput.vue
2515
- var _hoisted_1$23 = [
2515
+ var _hoisted_1$24 = [
2516
2516
  "name",
2517
2517
  "value",
2518
2518
  "checked",
@@ -2587,13 +2587,13 @@ var _sfc_main$22 = {
2587
2587
  onChange,
2588
2588
  onFocus: handleFocus,
2589
2589
  onBlur: handleBlur
2590
- }, null, 40, _hoisted_1$23), createElementVNode("span", { class: normalizeClass(props.ui.label) }, [createElementVNode("span", { class: normalizeClass(props.ui.indicator) }, toDisplayString(isChecked.value ? "✓" : "○"), 3), createTextVNode(" " + toDisplayString(__props.label), 1)], 2)], 2);
2590
+ }, null, 40, _hoisted_1$24), createElementVNode("span", { class: normalizeClass(props.ui.label) }, [createElementVNode("span", { class: normalizeClass(props.ui.indicator) }, toDisplayString(isChecked.value ? "✓" : "○"), 3), createTextVNode(" " + toDisplayString(__props.label), 1)], 2)], 2);
2591
2591
  };
2592
2592
  }
2593
2593
  };
2594
2594
  //#endregion
2595
2595
  //#region src/components/ToggleInput.vue
2596
- var _hoisted_1$22 = [
2596
+ var _hoisted_1$23 = [
2597
2597
  "name",
2598
2598
  "checked",
2599
2599
  "disabled"
@@ -2677,7 +2677,7 @@ var _sfc_main$21 = {
2677
2677
  onChange,
2678
2678
  onFocus: handleFocus,
2679
2679
  onBlur: handleBlur
2680
- }, null, 40, _hoisted_1$22),
2680
+ }, null, 40, _hoisted_1$23),
2681
2681
  createElementVNode("span", {
2682
2682
  "aria-hidden": "true",
2683
2683
  class: normalizeClass([
@@ -2840,18 +2840,18 @@ var _sfc_main$19 = {
2840
2840
  });
2841
2841
  };
2842
2842
  const loadTinyMce = async () => {
2843
- const tinymceModule = await import("./tinymce-C8b0wRwA.js").then((m) => /* @__PURE__ */ __toESM(m.default));
2843
+ const tinymceModule = await import("./tinymce-B_nz3bjz.js").then((m) => /* @__PURE__ */ __toESM(m.default));
2844
2844
  const tinymce = tinymceModule.default ?? tinymceModule;
2845
2845
  if (typeof globalThis !== "undefined" && !globalThis.tinymce) globalThis.tinymce = tinymce;
2846
2846
  await Promise.all([
2847
- import("./dom-BeRggs56.js"),
2848
- import("./default-Cgs8Tahv.js"),
2849
- import("./silver-Y-RHxZ9j.js"),
2850
- import("./code-Cm7MgQif.js"),
2851
- import("./image-wVCnQh0h.js"),
2852
- import("./link-KJRFTy--.js"),
2853
- import("./lists-BzJs5oD0.js"),
2854
- import("./table-CV-zOVUh.js")
2847
+ import("./dom-CFK7rsQj.js"),
2848
+ import("./default-CXSE-CfC.js"),
2849
+ import("./silver-Ck5Nmwm5.js"),
2850
+ import("./code-mFVfv-JF.js"),
2851
+ import("./image-BKHRC93C.js"),
2852
+ import("./link-6m9FnJyE.js"),
2853
+ import("./lists-Dm_2IIm_.js"),
2854
+ import("./table-BaMYTIbc.js")
2855
2855
  ]);
2856
2856
  isEditorReady.value = true;
2857
2857
  };
@@ -2962,14 +2962,14 @@ var _sfc_main$19 = {
2962
2962
  };
2963
2963
  //#endregion
2964
2964
  //#region src/components/ColorPicker.vue
2965
- var _hoisted_1$21 = [
2965
+ var _hoisted_1$22 = [
2966
2966
  "name",
2967
2967
  "value",
2968
2968
  "disabled",
2969
2969
  "required"
2970
2970
  ];
2971
- var _hoisted_2$14 = ["disabled", "aria-expanded"];
2972
- var _hoisted_3$10 = { class: "min-w-0 flex-1" };
2971
+ var _hoisted_2$15 = ["disabled", "aria-expanded"];
2972
+ var _hoisted_3$11 = { class: "min-w-0 flex-1" };
2973
2973
  var _hoisted_4$8 = { class: "flex items-start gap-3" };
2974
2974
  var _hoisted_5$6 = { class: "min-w-0 flex-1" };
2975
2975
  var _hoisted_6$6 = ["disabled", "aria-label"];
@@ -3472,7 +3472,7 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
3472
3472
  value: emittedValue.value,
3473
3473
  disabled: props.disabled,
3474
3474
  required: hiddenInputRequired.value
3475
- }, null, 8, _hoisted_1$21)) : createCommentVNode("", true),
3475
+ }, null, 8, _hoisted_1$22)) : createCommentVNode("", true),
3476
3476
  createElementVNode("button", mergeProps({
3477
3477
  ref_key: "triggerRef",
3478
3478
  ref: triggerRef
@@ -3488,13 +3488,13 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
3488
3488
  class: "absolute inset-0",
3489
3489
  style: normalizeStyle({ backgroundColor: swatchColor.value })
3490
3490
  }, null, 4)], 2),
3491
- createElementVNode("span", _hoisted_3$10, [createElementVNode("span", { class: normalizeClass(["block text-xs font-medium uppercase tracking-[0.16em] text-neutral-500 dark:text-neutral-400", props.ui.sectionLabel]) }, toDisplayString(unref(t)("Color")), 3), createElementVNode("span", { class: normalizeClass(["block truncate font-mono text-sm text-neutral-900 dark:text-neutral-50", props.ui.value]) }, toDisplayString(emittedValue.value), 3)]),
3491
+ createElementVNode("span", _hoisted_3$11, [createElementVNode("span", { class: normalizeClass(["block text-xs font-medium uppercase tracking-[0.16em] text-neutral-500 dark:text-neutral-400", props.ui.sectionLabel]) }, toDisplayString(unref(t)("Color")), 3), createElementVNode("span", { class: normalizeClass(["block truncate font-mono text-sm text-neutral-900 dark:text-neutral-50", props.ui.value]) }, toDisplayString(emittedValue.value), 3)]),
3492
3492
  createVNode(unref(ChevronDownIcon), { class: normalizeClass([
3493
3493
  "size-4 shrink-0 text-neutral-400 transition-transform dark:text-neutral-500",
3494
3494
  isOpen.value ? "rotate-180" : "",
3495
3495
  props.ui.chevron
3496
3496
  ]) }, null, 8, ["class"])
3497
- ], 16, _hoisted_2$14),
3497
+ ], 16, _hoisted_2$15),
3498
3498
  (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, {
3499
3499
  "enter-active-class": "transition duration-150 ease-out",
3500
3500
  "enter-from-class": "opacity-0 translate-y-1",
@@ -3600,8 +3600,8 @@ var ColorPicker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
3600
3600
  }), [["__scopeId", "data-v-ce146146"]]);
3601
3601
  //#endregion
3602
3602
  //#region src/components/InputGroup.vue
3603
- var _hoisted_1$20 = ["for"];
3604
- var _hoisted_2$13 = {
3603
+ var _hoisted_1$21 = ["for"];
3604
+ var _hoisted_2$14 = {
3605
3605
  key: 3,
3606
3606
  class: "relative"
3607
3607
  };
@@ -4211,13 +4211,13 @@ var _sfc_main$17 = /*@__PURE__*/ Object.assign({ inheritAttrs: false }, {
4211
4211
  key: 0,
4212
4212
  for: fieldId.value,
4213
4213
  class: normalizeClass(props.labelClass ?? defaultLabelClass)
4214
- }, toDisplayString(__props.label), 11, _hoisted_1$20)) : createCommentVNode("", true)]) : createCommentVNode("", true),
4214
+ }, toDisplayString(__props.label), 11, _hoisted_1$21)) : createCommentVNode("", true)]) : createCommentVNode("", true),
4215
4215
  __props.helperText && !showsInlineChoiceControl.value ? renderSlot(_ctx.$slots, "helper", {
4216
4216
  key: 1,
4217
4217
  helperText: __props.helperText,
4218
4218
  helperTextClass: props.helperTextClass ?? defaultHelperTextClass
4219
4219
  }, () => [createElementVNode("span", { class: normalizeClass(props.helperTextClass ?? defaultHelperTextClass) }, toDisplayString(__props.helperText), 3)]) : createCommentVNode("", true),
4220
- resolvedFieldComponent.value && !showsLeadingIcon.value && !showsTrailingIcon.value ? (openBlock(), createBlock(resolveDynamicComponent(resolvedFieldComponent.value), mergeProps({ key: 2 }, resolvedFieldBindings.value, toHandlers(fieldListeners)), null, 16)) : resolvedFieldComponent.value ? (openBlock(), createElementBlock("div", _hoisted_2$13, [
4220
+ resolvedFieldComponent.value && !showsLeadingIcon.value && !showsTrailingIcon.value ? (openBlock(), createBlock(resolveDynamicComponent(resolvedFieldComponent.value), mergeProps({ key: 2 }, resolvedFieldBindings.value, toHandlers(fieldListeners)), null, 16)) : resolvedFieldComponent.value ? (openBlock(), createElementBlock("div", _hoisted_2$14, [
4221
4221
  showsLeadingIcon.value ? (openBlock(), createElementBlock("div", {
4222
4222
  key: 0,
4223
4223
  class: normalizeClass(["pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3 text-neutral-400 dark:text-neutral-200", props.leadingIconClass])
@@ -4455,9 +4455,9 @@ var _sfc_main$15 = {
4455
4455
  };
4456
4456
  //#endregion
4457
4457
  //#region src/components/ConfirmationModal.vue
4458
- var _hoisted_1$19 = { class: "bg-white px-4 pb-4 pt-5 dark:bg-neutral-950 sm:p-6 sm:pb-4" };
4459
- var _hoisted_2$12 = { class: "sm:flex sm:items-start" };
4460
- var _hoisted_3$9 = { class: "mx-auto flex size-12 shrink-0 items-center justify-center rounded-full bg-red-100 dark:bg-red-950/60 sm:mx-0 sm:size-10" };
4458
+ var _hoisted_1$20 = { class: "bg-white px-4 pb-4 pt-5 dark:bg-neutral-950 sm:p-6 sm:pb-4" };
4459
+ var _hoisted_2$13 = { class: "sm:flex sm:items-start" };
4460
+ var _hoisted_3$10 = { class: "mx-auto flex size-12 shrink-0 items-center justify-center rounded-full bg-red-100 dark:bg-red-950/60 sm:mx-0 sm:size-10" };
4461
4461
  var _hoisted_4$7 = { class: "mt-3 text-center sm:mt-0 sm:ms-4 sm:text-start" };
4462
4462
  var _hoisted_5$5 = { class: "text-lg font-medium text-neutral-950 dark:text-neutral-50" };
4463
4463
  var _hoisted_6$5 = { class: "mt-4 text-sm text-neutral-600 dark:text-neutral-200" };
@@ -4501,7 +4501,7 @@ var _sfc_main$14 = {
4501
4501
  position: __props.position,
4502
4502
  onClose: close
4503
4503
  }, {
4504
- default: withCtx(() => [createElementVNode("div", _hoisted_1$19, [createElementVNode("div", _hoisted_2$12, [createElementVNode("div", _hoisted_3$9, [createVNode(unref(ExclamationTriangleIcon), { class: "size-6 text-red-600 dark:text-neutral-100" })]), createElementVNode("div", _hoisted_4$7, [createElementVNode("h3", _hoisted_5$5, [renderSlot(_ctx.$slots, "title")]), createElementVNode("div", _hoisted_6$5, [renderSlot(_ctx.$slots, "content")])])])]), createElementVNode("div", _hoisted_7$3, [renderSlot(_ctx.$slots, "footer")])]),
4504
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$13, [createElementVNode("div", _hoisted_3$10, [createVNode(unref(ExclamationTriangleIcon), { class: "size-6 text-red-600 dark:text-neutral-100" })]), createElementVNode("div", _hoisted_4$7, [createElementVNode("h3", _hoisted_5$5, [renderSlot(_ctx.$slots, "title")]), createElementVNode("div", _hoisted_6$5, [renderSlot(_ctx.$slots, "content")])])])]), createElementVNode("div", _hoisted_7$3, [renderSlot(_ctx.$slots, "footer")])]),
4505
4505
  _: 3
4506
4506
  }, 8, [
4507
4507
  "show",
@@ -4514,9 +4514,9 @@ var _sfc_main$14 = {
4514
4514
  };
4515
4515
  //#endregion
4516
4516
  //#region src/components/DialogModal.vue
4517
- var _hoisted_1$18 = { class: "px-6 py-4" };
4518
- var _hoisted_2$11 = { class: "text-lg font-medium text-neutral-950 dark:text-neutral-50" };
4519
- var _hoisted_3$8 = { class: "mt-4 text-sm text-neutral-600 dark:text-neutral-200" };
4517
+ var _hoisted_1$19 = { class: "px-6 py-4" };
4518
+ var _hoisted_2$12 = { class: "text-lg font-medium text-neutral-950 dark:text-neutral-50" };
4519
+ var _hoisted_3$9 = { class: "mt-4 text-sm text-neutral-600 dark:text-neutral-200" };
4520
4520
  var _hoisted_4$6 = { class: "flex flex-row justify-end border-t border-neutral-200 bg-neutral-50 px-6 py-4 text-end dark:border-neutral-800 dark:bg-neutral-900/60" };
4521
4521
  var _sfc_main$13 = {
4522
4522
  __name: "DialogModal",
@@ -4547,7 +4547,7 @@ var _sfc_main$13 = {
4547
4547
  closeable: __props.closeable,
4548
4548
  onClose: close
4549
4549
  }, {
4550
- default: withCtx(() => [createElementVNode("div", _hoisted_1$18, [createElementVNode("div", _hoisted_2$11, [renderSlot(_ctx.$slots, "title")]), createElementVNode("div", _hoisted_3$8, [renderSlot(_ctx.$slots, "content")])]), createElementVNode("div", _hoisted_4$6, [renderSlot(_ctx.$slots, "footer")])]),
4550
+ default: withCtx(() => [createElementVNode("div", _hoisted_1$19, [createElementVNode("div", _hoisted_2$12, [renderSlot(_ctx.$slots, "title")]), createElementVNode("div", _hoisted_3$9, [renderSlot(_ctx.$slots, "content")])]), createElementVNode("div", _hoisted_4$6, [renderSlot(_ctx.$slots, "footer")])]),
4551
4551
  _: 3
4552
4552
  }, 8, [
4553
4553
  "show",
@@ -4559,7 +4559,7 @@ var _sfc_main$13 = {
4559
4559
  };
4560
4560
  //#endregion
4561
4561
  //#region src/components/Dropdown.vue
4562
- var _hoisted_1$17 = { class: "relative inline-block w-fit" };
4562
+ var _hoisted_1$18 = { class: "relative inline-block w-fit" };
4563
4563
  var _sfc_main$12 = {
4564
4564
  __name: "Dropdown",
4565
4565
  props: {
@@ -4679,7 +4679,7 @@ var _sfc_main$12 = {
4679
4679
  window.removeEventListener("scroll", handleViewportChange, true);
4680
4680
  });
4681
4681
  return (_ctx, _cache) => {
4682
- return openBlock(), createElementBlock("div", _hoisted_1$17, [createElementVNode("div", {
4682
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [createElementVNode("div", {
4683
4683
  ref_key: "triggerRef",
4684
4684
  ref: triggerRef,
4685
4685
  onClick: _cache[0] || (_cache[0] = ($event) => open.value = !open.value)
@@ -4706,12 +4706,12 @@ var _sfc_main$12 = {
4706
4706
  };
4707
4707
  //#endregion
4708
4708
  //#region src/components/DropdownLink.vue
4709
- var _hoisted_1$16 = {
4709
+ var _hoisted_1$17 = {
4710
4710
  key: 0,
4711
4711
  type: "submit",
4712
4712
  class: "block w-full px-4 py-2 text-start text-sm leading-5 text-neutral-700 transition duration-150 ease-in-out hover:bg-neutral-100 focus:bg-neutral-100 focus:outline-none dark:text-neutral-100 dark:hover:bg-neutral-900 dark:focus:bg-neutral-900"
4713
4713
  };
4714
- var _hoisted_2$10 = ["href"];
4714
+ var _hoisted_2$11 = ["href"];
4715
4715
  var _sfc_main$11 = {
4716
4716
  __name: "DropdownLink",
4717
4717
  props: {
@@ -4720,11 +4720,11 @@ var _sfc_main$11 = {
4720
4720
  },
4721
4721
  setup(__props) {
4722
4722
  return (_ctx, _cache) => {
4723
- return openBlock(), createElementBlock("div", null, [__props.as == "button" ? (openBlock(), createElementBlock("button", _hoisted_1$16, [renderSlot(_ctx.$slots, "default")])) : __props.as == "a" ? (openBlock(), createElementBlock("a", {
4723
+ return openBlock(), createElementBlock("div", null, [__props.as == "button" ? (openBlock(), createElementBlock("button", _hoisted_1$17, [renderSlot(_ctx.$slots, "default")])) : __props.as == "a" ? (openBlock(), createElementBlock("a", {
4724
4724
  key: 1,
4725
4725
  href: __props.href,
4726
4726
  class: "block px-4 py-2 text-sm leading-5 text-neutral-700 transition duration-150 ease-in-out hover:bg-neutral-100 focus:bg-neutral-100 focus:outline-none dark:text-neutral-100 dark:hover:bg-neutral-900 dark:focus:bg-neutral-900"
4727
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_2$10)) : (openBlock(), createBlock(unref(Link), {
4727
+ }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_2$11)) : (openBlock(), createBlock(unref(Link), {
4728
4728
  key: 2,
4729
4729
  href: __props.href,
4730
4730
  class: "block px-4 py-2 text-sm leading-5 text-neutral-700 transition duration-150 ease-in-out hover:bg-neutral-100 focus:bg-neutral-100 focus:outline-none dark:text-neutral-100 dark:hover:bg-neutral-900 dark:focus:bg-neutral-900"
@@ -4736,6 +4736,89 @@ var _sfc_main$11 = {
4736
4736
  }
4737
4737
  };
4738
4738
  //#endregion
4739
+ //#region src/components/FloatingActionHint.vue?vue&type=script&setup=true&lang.ts
4740
+ var _hoisted_1$16 = ["id"];
4741
+ var _hoisted_2$10 = { class: "block font-semibold" };
4742
+ var _hoisted_3$8 = { class: "block" };
4743
+ var viewportGap = 8;
4744
+ var triggerGap = 8;
4745
+ //#endregion
4746
+ //#region src/components/FloatingActionHint.vue
4747
+ var FloatingActionHint_default = /* @__PURE__ */ defineComponent({
4748
+ __name: "FloatingActionHint",
4749
+ props: {
4750
+ id: {},
4751
+ label: {},
4752
+ description: {}
4753
+ },
4754
+ setup(__props) {
4755
+ const props = __props;
4756
+ const trigger = ref(null);
4757
+ const hint = ref(null);
4758
+ const isOpen = ref(false);
4759
+ const isPositioned = ref(false);
4760
+ const position = ref({
4761
+ left: 0,
4762
+ top: 0
4763
+ });
4764
+ const updatePosition = () => {
4765
+ if (typeof window === "undefined" || !trigger.value || !hint.value) return;
4766
+ const triggerBounds = trigger.value.getBoundingClientRect();
4767
+ const hintBounds = hint.value.getBoundingClientRect();
4768
+ const roomBelow = window.innerHeight - triggerBounds.bottom;
4769
+ const top = roomBelow >= hintBounds.height + triggerGap + viewportGap || roomBelow >= triggerBounds.top ? triggerBounds.bottom + triggerGap : triggerBounds.top - hintBounds.height - triggerGap;
4770
+ position.value = {
4771
+ left: Math.max(viewportGap, Math.min(triggerBounds.left + triggerBounds.width / 2 - hintBounds.width / 2, window.innerWidth - hintBounds.width - viewportGap)),
4772
+ top: Math.max(viewportGap, Math.min(top, window.innerHeight - hintBounds.height - viewportGap))
4773
+ };
4774
+ isPositioned.value = true;
4775
+ };
4776
+ const close = () => {
4777
+ isOpen.value = false;
4778
+ isPositioned.value = false;
4779
+ if (typeof window === "undefined") return;
4780
+ window.removeEventListener("resize", updatePosition);
4781
+ window.removeEventListener("scroll", updatePosition, true);
4782
+ };
4783
+ const open = async () => {
4784
+ if (typeof window === "undefined" || isOpen.value) return;
4785
+ isOpen.value = true;
4786
+ await nextTick();
4787
+ if (!isOpen.value) return;
4788
+ updatePosition();
4789
+ window.addEventListener("resize", updatePosition);
4790
+ window.addEventListener("scroll", updatePosition, true);
4791
+ };
4792
+ const closeOnFocusOut = (event) => {
4793
+ if (!trigger.value?.contains(event.relatedTarget)) close();
4794
+ };
4795
+ onBeforeUnmount(close);
4796
+ return (_ctx, _cache) => {
4797
+ return openBlock(), createElementBlock("span", {
4798
+ ref_key: "trigger",
4799
+ ref: trigger,
4800
+ class: "inline-flex shrink-0",
4801
+ onPointerenter: open,
4802
+ onPointerleave: close,
4803
+ onFocusin: open,
4804
+ onFocusout: closeOnFocusOut,
4805
+ onKeydown: withKeys(close, ["esc"])
4806
+ }, [renderSlot(_ctx.$slots, "default", { descriptionId: props.id }), (openBlock(), createBlock(Teleport, { to: "body" }, [isOpen.value ? (openBlock(), createElementBlock("div", {
4807
+ key: 0,
4808
+ id: props.id,
4809
+ ref_key: "hint",
4810
+ ref: hint,
4811
+ role: "tooltip",
4812
+ class: normalizeClass(["pointer-events-none fixed z-[100] w-max max-w-[min(20rem,calc(100vw-1rem))] rounded-lg bg-neutral-900 px-3 py-2 text-left text-xs leading-5 text-white shadow-lg dark:bg-neutral-100 dark:text-neutral-950", { invisible: !isPositioned.value }]),
4813
+ style: normalizeStyle({
4814
+ left: `${position.value.left}px`,
4815
+ top: `${position.value.top}px`
4816
+ })
4817
+ }, [createElementVNode("span", _hoisted_2$10, toDisplayString(props.label), 1), createElementVNode("span", _hoisted_3$8, toDisplayString(props.description), 1)], 14, _hoisted_1$16)) : createCommentVNode("", true)]))], 544);
4818
+ };
4819
+ }
4820
+ });
4821
+ //#endregion
4739
4822
  //#region src/components/FormSection.vue
4740
4823
  var _hoisted_1$15 = { class: "md:grid md:grid-cols-3 md:gap-6" };
4741
4824
  var _hoisted_2$9 = { class: "mt-5 md:col-span-2 md:mt-0" };
@@ -7925,6 +8008,7 @@ var exports_exports = /* @__PURE__ */ __exportAll({
7925
8008
  Divider: () => _sfc_main$39,
7926
8009
  Dropdown: () => _sfc_main$12,
7927
8010
  DropdownLink: () => _sfc_main$11,
8011
+ FloatingActionHint: () => FloatingActionHint_default,
7928
8012
  FormSection: () => _sfc_main$10,
7929
8013
  ImageInput: () => _sfc_main$24,
7930
8014
  InputError: () => _sfc_main$9,
@@ -7971,6 +8055,6 @@ var plugin_default = { install(app) {
7971
8055
  for (const [name, component] of Object.entries(exports_exports)) app.component(name, component);
7972
8056
  } };
7973
8057
  //#endregion
7974
- export { _sfc_main$35 as $, _sfc_main$12 as A, _sfc_main$22 as B, useSidebar as C, _sfc_main$9 as D, _sfc_main$8 as E, _sfc_main$17 as F, _sfc_main$27 as G, _sfc_main$24 as H, ColorPicker_default as I, _sfc_main$30 as J, _sfc_main$28 as K, _sfc_main$19 as L, _sfc_main$14 as M, _sfc_main$15 as N, _sfc_main$10 as O, _sfc_main$16 as P, _sfc_main$34 as Q, _sfc_main$20 as R, Sidebar_default as S, _sfc_main$7 as T, DateRangeInput_default as U, _sfc_main$23 as V, DateInput_default as W, _sfc_main$32 as X, _sfc_main$31 as Y, _sfc_main$33 as Z, SidebarGroupLabel_default as _, _sfc_main$1 as a, _sfc_main$41 as at, SidebarFooter_default as b, _sfc_main$5 as c, SidebarProvider_default as d, SectionTitle_default as et, SidebarMenuItem_default as f, SidebarHeader_default as g, SidebarInset_default as h, _sfc_main as i, _sfc_main$40 as it, _sfc_main$13 as j, _sfc_main$11 as k, SlidePanel_default as l, SidebarMenu_default as m, ToastContainer_default as n, _sfc_main$38 as nt, _sfc_main$3 as o, __commonJSMin as ot, SidebarMenuButton_default as p, _sfc_main$29 as q, Toast_default as r, _sfc_main$39 as rt, _sfc_main$4 as s, plugin_default as t, _sfc_main$37 as tt, SidebarTrigger_default as u, SidebarGroupContent_default as v, _sfc_main$6 as w, SidebarContent_default as x, SidebarGroup_default as y, _sfc_main$21 as z };
8058
+ export { _sfc_main$34 as $, _sfc_main$11 as A, _sfc_main$21 as B, useSidebar as C, _sfc_main$9 as D, _sfc_main$8 as E, _sfc_main$16 as F, DateInput_default as G, _sfc_main$23 as H, _sfc_main$17 as I, _sfc_main$29 as J, _sfc_main$27 as K, ColorPicker_default as L, _sfc_main$13 as M, _sfc_main$14 as N, _sfc_main$10 as O, _sfc_main$15 as P, _sfc_main$33 as Q, _sfc_main$19 as R, Sidebar_default as S, _sfc_main$7 as T, _sfc_main$24 as U, _sfc_main$22 as V, DateRangeInput_default as W, _sfc_main$31 as X, _sfc_main$30 as Y, _sfc_main$32 as Z, SidebarGroupLabel_default as _, _sfc_main$1 as a, _sfc_main$40 as at, SidebarFooter_default as b, _sfc_main$5 as c, SidebarProvider_default as d, _sfc_main$35 as et, SidebarMenuItem_default as f, SidebarHeader_default as g, SidebarInset_default as h, _sfc_main as i, _sfc_main$39 as it, _sfc_main$12 as j, FloatingActionHint_default as k, SlidePanel_default as l, SidebarMenu_default as m, ToastContainer_default as n, _sfc_main$37 as nt, _sfc_main$3 as o, _sfc_main$41 as ot, SidebarMenuButton_default as p, _sfc_main$28 as q, Toast_default as r, _sfc_main$38 as rt, _sfc_main$4 as s, __commonJSMin as st, plugin_default as t, SectionTitle_default as tt, SidebarTrigger_default as u, SidebarGroupContent_default as v, _sfc_main$6 as w, SidebarContent_default as x, SidebarGroup_default as y, _sfc_main$20 as z };
7975
8059
 
7976
- //# sourceMappingURL=plugin-TP7ra_6S.js.map
8060
+ //# sourceMappingURL=plugin-CkWJbkrp.js.map