@bagelink/vue 0.0.1143 → 0.0.1147

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 (238) hide show
  1. package/dist/components/Accordion.d.ts +12 -0
  2. package/dist/components/Accordion.d.ts.map +1 -0
  3. package/dist/components/AccordionItem.d.ts +34 -0
  4. package/dist/components/AccordionItem.d.ts.map +1 -0
  5. package/dist/components/Alert.d.ts +34 -0
  6. package/dist/components/Alert.d.ts.map +1 -0
  7. package/dist/components/Avatar.d.ts +36 -0
  8. package/dist/components/Avatar.d.ts.map +1 -0
  9. package/dist/components/Badge.d.ts +22 -0
  10. package/dist/components/Badge.d.ts.map +1 -0
  11. package/dist/components/BglVideo.d.ts +20 -0
  12. package/dist/components/BglVideo.d.ts.map +1 -0
  13. package/dist/components/Btn.d.ts +99 -0
  14. package/dist/components/Btn.d.ts.map +1 -0
  15. package/dist/components/Card.d.ts +39 -0
  16. package/dist/components/Card.d.ts.map +1 -0
  17. package/dist/components/Carousel.d.ts +74 -0
  18. package/dist/components/Carousel.d.ts.map +1 -0
  19. package/dist/components/Carousel.vue.d.ts.map +1 -1
  20. package/dist/components/ComboBox.vue.d.ts +3 -3
  21. package/dist/components/Comments.vue.d.ts +2 -2
  22. package/dist/components/ContactSubmissions.vue.d.ts +2 -2
  23. package/dist/components/DataPreview.d.ts +42 -0
  24. package/dist/components/DataPreview.d.ts.map +1 -0
  25. package/dist/components/Drop.vue.d.ts +34 -0
  26. package/dist/components/Drop.vue.d.ts.map +1 -0
  27. package/dist/components/FileUploader.vue.d.ts +60 -0
  28. package/dist/components/FileUploader.vue.d.ts.map +1 -0
  29. package/dist/components/Flag.d.ts +20 -0
  30. package/dist/components/Flag.d.ts.map +1 -0
  31. package/dist/components/FormSchema.vue.d.ts +5 -4
  32. package/dist/components/LangText.vue.d.ts +2 -2
  33. package/dist/components/ListItem.d.ts +34 -0
  34. package/dist/components/ListItem.d.ts.map +1 -0
  35. package/dist/components/ListView.d.ts +13 -0
  36. package/dist/components/ListView.d.ts.map +1 -0
  37. package/dist/components/MapEmbed.d.ts +3 -0
  38. package/dist/components/MapEmbed.d.ts.map +1 -0
  39. package/dist/components/MaterialIcon.d.ts +26 -0
  40. package/dist/components/MaterialIcon.d.ts.map +1 -0
  41. package/dist/components/Modal.d.ts +46 -0
  42. package/dist/components/Modal.d.ts.map +1 -0
  43. package/dist/components/Modal.vue.d.ts.map +1 -1
  44. package/dist/components/ModalBglForm.vue.d.ts +21 -20
  45. package/dist/components/ModalConfirm.d.ts +24 -0
  46. package/dist/components/ModalConfirm.d.ts.map +1 -0
  47. package/dist/components/ModalForm.d.ts +78 -0
  48. package/dist/components/ModalForm.d.ts.map +1 -0
  49. package/dist/components/NavBar.d.ts +64 -0
  50. package/dist/components/NavBar.d.ts.map +1 -0
  51. package/dist/components/PageTitle.d.ts +24 -0
  52. package/dist/components/PageTitle.d.ts.map +1 -0
  53. package/dist/components/PersonPreview.vue.d.ts +5 -4
  54. package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
  55. package/dist/components/RTXEditor.vue.d.ts +3 -3
  56. package/dist/components/RouterWrapper.d.ts +3 -0
  57. package/dist/components/RouterWrapper.d.ts.map +1 -0
  58. package/dist/components/TabbedLayout.vue.d.ts +5 -4
  59. package/dist/components/TableSchema.d.ts +35 -0
  60. package/dist/components/TableSchema.d.ts.map +1 -0
  61. package/dist/components/TableSchema.vue.d.ts +2 -2
  62. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  63. package/dist/components/Title.d.ts +42 -0
  64. package/dist/components/Title.d.ts.map +1 -0
  65. package/dist/components/TopBar.d.ts +12 -0
  66. package/dist/components/TopBar.d.ts.map +1 -0
  67. package/dist/components/Zoomer.vue.d.ts.map +1 -1
  68. package/dist/components/charts/BarChart.vue.d.ts +2 -2
  69. package/dist/components/dashboard/Lineart.d.ts +20 -0
  70. package/dist/components/dashboard/Lineart.d.ts.map +1 -0
  71. package/dist/components/form/BglField.d.ts +25 -0
  72. package/dist/components/form/BglField.d.ts.map +1 -0
  73. package/dist/components/form/BglForm.d.ts +75 -0
  74. package/dist/components/form/BglForm.d.ts.map +1 -0
  75. package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
  76. package/dist/components/form/ItemRef.vue.d.ts +5 -3
  77. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  78. package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
  79. package/dist/components/form/PlainInputField.vue.d.ts +3 -3
  80. package/dist/components/form/index.d.ts +2 -3
  81. package/dist/components/form/index.d.ts.map +1 -1
  82. package/dist/components/form/inputs/CheckInput.d.ts +56 -0
  83. package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
  84. package/dist/components/form/inputs/Checkbox.d.ts +16 -0
  85. package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
  86. package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
  87. package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
  88. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
  89. package/dist/components/form/inputs/DateInput.d.ts +64 -0
  90. package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
  91. package/dist/components/form/inputs/DatePicker.d.ts +33 -0
  92. package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
  93. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
  94. package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
  95. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
  96. package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
  97. package/dist/components/form/inputs/FileUpload.d.ts +108 -0
  98. package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
  99. package/dist/components/form/inputs/FileUpload.vue.d.ts +3 -0
  100. package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
  101. package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
  102. package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
  103. package/dist/components/form/inputs/JSONInput.d.ts +53 -0
  104. package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
  105. package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
  106. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  107. package/dist/components/form/inputs/Password.vue.d.ts +3 -3
  108. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  109. package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
  110. package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
  111. package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
  112. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
  113. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  114. package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
  115. package/dist/components/form/inputs/RichText.d.ts +20 -0
  116. package/dist/components/form/inputs/RichText.d.ts.map +1 -0
  117. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
  118. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
  119. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
  120. package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
  121. package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
  122. package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
  123. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  124. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  125. package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
  126. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  127. package/dist/components/form/inputs/SelectInput.d.ts +55 -0
  128. package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
  129. package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
  130. package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
  131. package/dist/components/form/inputs/TableField.d.ts +45 -0
  132. package/dist/components/form/inputs/TableField.d.ts.map +1 -0
  133. package/dist/components/form/inputs/TelInput.d.ts +241 -0
  134. package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
  135. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  136. package/dist/components/form/inputs/TextInput.d.ts +90 -0
  137. package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
  138. package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
  139. package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
  140. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +3 -0
  141. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  142. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  143. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  144. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  145. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  146. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  147. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  148. package/dist/components/layout/BottomMenu.d.ts +27 -0
  149. package/dist/components/layout/BottomMenu.d.ts.map +1 -0
  150. package/dist/components/layout/Layout.d.ts +58 -0
  151. package/dist/components/layout/Layout.d.ts.map +1 -0
  152. package/dist/components/layout/SidebarMenu.d.ts +38 -0
  153. package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
  154. package/dist/components/layout/TabbedLayout.d.ts +42 -0
  155. package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
  156. package/dist/components/layout/Tabs.d.ts +31 -0
  157. package/dist/components/layout/Tabs.d.ts.map +1 -0
  158. package/dist/components/layout/TabsBody.d.ts +23 -0
  159. package/dist/components/layout/TabsBody.d.ts.map +1 -0
  160. package/dist/components/layout/TabsNav.d.ts +35 -0
  161. package/dist/components/layout/TabsNav.d.ts.map +1 -0
  162. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  163. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
  164. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  165. package/dist/index.cjs +621 -686
  166. package/dist/index.mjs +621 -686
  167. package/dist/plugins/modal.d.ts +5 -0
  168. package/dist/plugins/modal.d.ts.map +1 -1
  169. package/dist/style.css +146 -131
  170. package/dist/styles.css +14073 -0
  171. package/dist/utils/objects.d.ts +1 -0
  172. package/dist/vue.css +14073 -0
  173. package/package.json +1 -1
  174. package/src/components/Carousel.vue +1 -0
  175. package/src/components/Icon/Icon.vue +1 -1
  176. package/src/components/Modal.vue +0 -1
  177. package/src/components/ModalForm.vue +24 -19
  178. package/src/components/Zoomer.vue +24 -4
  179. package/src/components/form/FieldArray.vue +24 -14
  180. package/src/components/form/index.ts +2 -3
  181. package/src/components/form/inputs/FileUpload.vue +21 -6
  182. package/src/components/form/inputs/NumberInput.vue +9 -7
  183. package/src/components/form/inputs/RichText/index.vue +1 -1
  184. package/src/components/form/inputs/Upload/UploadInput.vue +20 -12
  185. package/src/components/lightbox/Lightbox.vue +32 -33
  186. package/src/plugins/modal.ts +5 -0
  187. package/dist/common-C_IH8b5S.cjs +0 -12580
  188. package/dist/common-DoeNgx31.js +0 -12579
  189. package/dist/components/AddressSaerch.vue.d.ts +0 -7
  190. package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
  191. package/dist/components/Popover.vue.d.ts +0 -10
  192. package/dist/components/Popover.vue.d.ts.map +0 -1
  193. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
  194. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
  195. package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
  196. package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
  197. package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
  198. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
  199. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
  200. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
  201. package/dist/components/sortable/Animation.d.ts +0 -43
  202. package/dist/components/sortable/Animation.d.ts.map +0 -1
  203. package/dist/components/sortable/BrowserInfo.d.ts +0 -7
  204. package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
  205. package/dist/components/sortable/EventDispatcher.d.ts +0 -13
  206. package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
  207. package/dist/components/sortable/PluginManager.d.ts +0 -27
  208. package/dist/components/sortable/PluginManager.d.ts.map +0 -1
  209. package/dist/components/sortable/Sortable.d.ts +0 -81
  210. package/dist/components/sortable/Sortable.d.ts.map +0 -1
  211. package/dist/components/sortable/index.d.ts +0 -5
  212. package/dist/components/sortable/index.d.ts.map +0 -1
  213. package/dist/components/sortable/utils.d.ts +0 -49
  214. package/dist/components/sortable/utils.d.ts.map +0 -1
  215. package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
  216. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
  217. package/dist/editor-CUDRLdmS.js +0 -4
  218. package/dist/editor-Cu374vEW.cjs +0 -4
  219. package/dist/editor-a8DSbb6P.js +0 -4
  220. package/dist/editor-xBt_vIha.cjs +0 -4
  221. package/dist/heic2any-8wMqMfB_.js +0 -933
  222. package/dist/heic2any-BrqcNzfV.js +0 -935
  223. package/dist/heic2any-C8KwH72N.cjs +0 -934
  224. package/dist/heic2any-k9wDCKka.cjs +0 -932
  225. package/dist/index-DiG-xM9T.cjs +0 -35016
  226. package/dist/index-nGuSAiY2.js +0 -35017
  227. package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
  228. package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
  229. package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
  230. package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
  231. package/dist/plugins/drag-n-drop/index.d.ts +0 -5
  232. package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
  233. package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
  234. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
  235. package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
  236. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
  237. package/dist/types/materialIcon.d.ts +0 -2
  238. package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
1
+ var __defProp2 = Object.defineProperty;
2
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, resolveComponent, onMounted, onUnmounted, nextTick, mergeModels, useModel, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, useCssVars, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, h as h$2, onBeforeUnmount, vModelText, toRef, createSlots, Teleport, render as render$e, onBeforeUpdate, vShow, vModelRadio, TransitionGroup, vModelDynamic, markRaw } from "vue";
5
5
  import { RouterLink } from "vue-router";
6
6
  const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -45,7 +45,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
45
45
  return uploadField;
46
46
  }
47
47
  }, Symbol.toStringTag, { value: "Module" }));
48
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
48
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
49
49
  __name: "Accordion",
50
50
  setup(__props) {
51
51
  const state2 = reactive({
@@ -59,10 +59,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
59
59
  };
60
60
  }
61
61
  });
62
- const _hoisted_1$W = ["aria-expanded", "aria-controls"];
63
- const _hoisted_2$D = { class: "accordion-label" };
64
- const _hoisted_3$u = ["id", "aria-hidden"];
65
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
62
+ const _hoisted_1$X = ["aria-expanded", "aria-controls"];
63
+ const _hoisted_2$E = { class: "accordion-label" };
64
+ const _hoisted_3$v = ["id", "aria-hidden"];
65
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
66
66
  __name: "AccordionItem",
67
67
  props: {
68
68
  label: {},
@@ -128,7 +128,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
128
128
  createVNode(unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
129
129
  ], 2)) : createCommentVNode("", true),
130
130
  renderSlot(_ctx.$slots, "head", {}, () => [
131
- createElementVNode("span", _hoisted_2$D, toDisplayString(_ctx.label), 1)
131
+ createElementVNode("span", _hoisted_2$E, toDisplayString(_ctx.label), 1)
132
132
  ], true),
133
133
  iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
134
134
  key: 1,
@@ -136,7 +136,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
136
136
  }, [
137
137
  createVNode(unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
138
138
  ], 2)) : createCommentVNode("", true)
139
- ], 8, _hoisted_1$W),
139
+ ], 8, _hoisted_1$X),
140
140
  createVNode(Transition, { name: "expand" }, {
141
141
  default: withCtx(() => [
142
142
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
@@ -146,7 +146,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
146
146
  "aria-hidden": unref(isOpen) ? "false" : "true"
147
147
  }, [
148
148
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
149
- ], 8, _hoisted_3$u)) : createCommentVNode("", true)
149
+ ], 8, _hoisted_3$v)) : createCommentVNode("", true)
150
150
  ]),
151
151
  _: 3
152
152
  })
@@ -161,9 +161,9 @@ const _export_sfc = (sfc, props2) => {
161
161
  }
162
162
  return target;
163
163
  };
164
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-3334f637"]]);
165
- const _hoisted_1$V = { class: "relative" };
166
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
164
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-3334f637"]]);
165
+ const _hoisted_1$W = { class: "relative" };
166
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
167
167
  __name: "AddressSearch",
168
168
  emits: ["addressSelected"],
169
169
  setup(__props, { emit: __emit }) {
@@ -185,8 +185,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
185
185
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
186
186
  }
187
187
  return (_ctx, _cache) => {
188
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
189
- createVNode(unref(_sfc_main$W), {
188
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
189
+ createVNode(unref(_sfc_main$V), {
190
190
  ref_key: "suggestion",
191
191
  ref: suggestion,
192
192
  noAutoFocus: true,
@@ -221,11 +221,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
221
221
  };
222
222
  }
223
223
  });
224
- const _hoisted_1$U = {
224
+ const _hoisted_1$V = {
225
225
  key: 1,
226
226
  class: "bgl_btn-flex"
227
227
  };
228
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
228
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
229
229
  __name: "Btn",
230
230
  props: {
231
231
  disabled: { type: Boolean, default: false },
@@ -291,7 +291,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
291
291
  key: 0,
292
292
  class: "h-100p",
293
293
  size: "15"
294
- })) : (openBlock(), createElementBlock("div", _hoisted_1$U, [
294
+ })) : (openBlock(), createElementBlock("div", _hoisted_1$V, [
295
295
  _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$p), {
296
296
  key: 0,
297
297
  icon: _ctx.icon,
@@ -315,10 +315,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
315
315
  };
316
316
  }
317
317
  });
318
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-7b18a02c"]]);
319
- const _hoisted_1$T = ["dismissable"];
320
- const _hoisted_2$C = { class: "m-0" };
321
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
318
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7b18a02c"]]);
319
+ const _hoisted_1$U = ["dismissable"];
320
+ const _hoisted_2$D = { class: "m-0" };
321
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
322
322
  __name: "Alert",
323
323
  props: {
324
324
  message: {},
@@ -346,7 +346,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
346
346
  size: 2,
347
347
  color: color2[_ctx.type]
348
348
  }, null, 8, ["icon", "color"])) : createCommentVNode("", true),
349
- createElementVNode("p", _hoisted_2$C, toDisplayString(_ctx.message), 1),
349
+ createElementVNode("p", _hoisted_2$D, toDisplayString(_ctx.message), 1),
350
350
  createVNode(Btn, {
351
351
  flat: "",
352
352
  thin: "",
@@ -354,13 +354,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
354
354
  icon: "close",
355
355
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
356
356
  })
357
- ], 10, _hoisted_1$T)) : createCommentVNode("", true);
357
+ ], 10, _hoisted_1$U)) : createCommentVNode("", true);
358
358
  };
359
359
  }
360
360
  });
361
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-064bdd20"]]);
362
- const _hoisted_1$S = ["src", "alt"];
363
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
361
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-064bdd20"]]);
362
+ const _hoisted_1$T = ["src", "alt"];
363
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
364
364
  __name: "Avatar",
365
365
  props: {
366
366
  fallback: {},
@@ -378,7 +378,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
378
378
  key: 0,
379
379
  src: _ctx.src,
380
380
  alt: _ctx.name
381
- }, null, 8, _hoisted_1$S)) : (openBlock(), createElementBlock("p", {
381
+ }, null, 8, _hoisted_1$T)) : (openBlock(), createElementBlock("p", {
382
382
  key: 1,
383
383
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
384
384
  }, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -386,8 +386,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
386
386
  };
387
387
  }
388
388
  });
389
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-46ad8c25"]]);
390
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
389
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
390
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
391
391
  __name: "Badge",
392
392
  props: {
393
393
  color: {},
@@ -416,9 +416,9 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
416
416
  };
417
417
  }
418
418
  });
419
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-689f051f"]]);
420
- const _hoisted_1$R = { key: 1 };
421
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
419
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-689f051f"]]);
420
+ const _hoisted_1$S = { key: 1 };
421
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
422
422
  __name: "BglComponent",
423
423
  props: {
424
424
  field: {},
@@ -447,7 +447,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
447
447
  if (props2.field.$el === "file") return FileUpload;
448
448
  if (props2.field.$el === "date") return _sfc_main$K;
449
449
  if (props2.field.$el === "tabs") return TabsNav;
450
- if (props2.field.$el === "form") return _sfc_main$Q;
450
+ if (props2.field.$el === "form") return _sfc_main$S;
451
451
  return props2.field.$el ?? "div";
452
452
  });
453
453
  function getFieldData(path) {
@@ -564,7 +564,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
564
564
  id: [props2.id, child.id].filter(Boolean).join("."),
565
565
  field: child,
566
566
  "parent-path": props2.id
567
- }, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$R, toDisplayString(child), 1))
567
+ }, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$S, toDisplayString(child), 1))
568
568
  ], 64);
569
569
  }), 128))
570
570
  ], 64))
@@ -574,10 +574,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
574
574
  };
575
575
  }
576
576
  });
577
- const _hoisted_1$Q = ["src"];
578
- const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
579
- const _hoisted_3$t = ["src", "type"];
580
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
577
+ const _hoisted_1$R = ["src"];
578
+ const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
579
+ const _hoisted_3$u = ["src", "type"];
580
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
581
581
  __name: "BglVideo",
582
582
  props: {
583
583
  src: {},
@@ -654,7 +654,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
654
654
  allowfullscreen: "",
655
655
  title: "Video",
656
656
  allow: "autoplay"
657
- }, null, 12, _hoisted_1$Q)) : _ctx.src ? (openBlock(), createElementBlock("video", {
657
+ }, null, 12, _hoisted_1$R)) : _ctx.src ? (openBlock(), createElementBlock("video", {
658
658
  key: 1,
659
659
  ref_key: "video",
660
660
  ref: video,
@@ -668,18 +668,18 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
668
668
  createElementVNode("source", {
669
669
  src: _ctx.src,
670
670
  type: `video/${videoFormat.value}`
671
- }, null, 8, _hoisted_3$t)
672
- ], 12, _hoisted_2$B)) : createCommentVNode("", true)
671
+ }, null, 8, _hoisted_3$u)
672
+ ], 12, _hoisted_2$C)) : createCommentVNode("", true)
673
673
  ], 2);
674
674
  };
675
675
  }
676
676
  });
677
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-006552f6"]]);
678
- const _hoisted_1$P = {
677
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
678
+ const _hoisted_1$Q = {
679
679
  key: 0,
680
680
  class: "card_label"
681
681
  };
682
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
682
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
683
683
  __name: "Card",
684
684
  props: {
685
685
  label: {},
@@ -708,7 +708,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
708
708
  }])
709
709
  }, {
710
710
  default: withCtx(() => [
711
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$P, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
711
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$Q, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
712
712
  renderSlot(_ctx.$slots, "default")
713
713
  ]),
714
714
  _: 3
@@ -718,16 +718,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
718
718
  };
719
719
  }
720
720
  });
721
- const _hoisted_1$O = ["dir"];
722
- const _hoisted_2$A = {
721
+ const _hoisted_1$P = ["dir"];
722
+ const _hoisted_2$B = {
723
723
  key: 0,
724
724
  class: "dots"
725
725
  };
726
- const _hoisted_3$s = ["onClick"];
726
+ const _hoisted_3$t = ["onClick"];
727
727
  const _hoisted_4$j = { class: "Handlers" };
728
728
  const GAP_PERCENT = 1;
729
729
  const VELOCITY_SAMPLE_DURATION = 100;
730
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
730
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
731
731
  __name: "Carousel",
732
732
  props: {
733
733
  autoHeight: { type: Boolean, default: false },
@@ -898,6 +898,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
898
898
  });
899
899
  }
900
900
  function startDrag(e) {
901
+ e.stopPropagation();
901
902
  if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
902
903
  clearAutoplay();
903
904
  startX.value = e.pageX;
@@ -1146,13 +1147,13 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
1146
1147
  }, [
1147
1148
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1148
1149
  ], 38),
1149
- props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
1150
+ props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
1150
1151
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
1151
1152
  return openBlock(), createElementBlock("span", {
1152
1153
  key: i2,
1153
1154
  class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
1154
1155
  onClick: ($event) => goToSlide(i2 - 1)
1155
- }, null, 10, _hoisted_3$s);
1156
+ }, null, 10, _hoisted_3$t);
1156
1157
  }), 128))
1157
1158
  ])) : createCommentVNode("", true),
1158
1159
  createElementVNode("div", _hoisted_4$j, [
@@ -1169,11 +1170,11 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
1169
1170
  }, void 0, true)
1170
1171
  ])
1171
1172
  ])
1172
- ], 14, _hoisted_1$O);
1173
+ ], 14, _hoisted_1$P);
1173
1174
  };
1174
1175
  }
1175
1176
  });
1176
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-f03624ac"]]);
1177
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1ae4b9ae"]]);
1177
1178
  function _isPlaceholder(a2) {
1178
1179
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
1179
1180
  }
@@ -7007,7 +7008,7 @@ const _hoisted_1$1$1 = {
7007
7008
  style: { display: "flex", position: "relative" }
7008
7009
  };
7009
7010
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7010
- const _hoisted_3$r = { class: "layer-rectangles" };
7011
+ const _hoisted_3$s = { class: "layer-rectangles" };
7011
7012
  const _hoisted_4$i = ["transform", "onMouseover"];
7012
7013
  const _hoisted_5$h = ["width", "height"];
7013
7014
  const _hoisted_6$e = {
@@ -7025,7 +7026,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7025
7026
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
7026
7027
  ref: "el"
7027
7028
  }, [
7028
- createElementVNode("g", _hoisted_3$r, [
7029
+ createElementVNode("g", _hoisted_3$s, [
7029
7030
  (openBlock(true), createElementBlock(
7030
7031
  Fragment,
7031
7032
  null,
@@ -7117,25 +7118,25 @@ var script = defineComponent({
7117
7118
  return { bar, canvas, direction, mouse };
7118
7119
  }
7119
7120
  });
7120
- const _hoisted_1$N = {
7121
+ const _hoisted_1$O = {
7121
7122
  key: 0,
7122
7123
  class: "layer-hover-bar"
7123
7124
  };
7124
- const _hoisted_2$z = ["x", "y", "width", "height"];
7125
+ const _hoisted_2$A = ["x", "y", "width", "height"];
7125
7126
  function render(_ctx, _cache, $props, $setup, $data, $options) {
7126
- return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$N, [
7127
+ return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$O, [
7127
7128
  createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
7128
7129
  x: _ctx.bar.x,
7129
7130
  y: _ctx.bar.y,
7130
7131
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
7131
7132
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
7132
- }), null, 16, _hoisted_2$z)
7133
+ }), null, 16, _hoisted_2$A)
7133
7134
  ])) : createCommentVNode("v-if", true);
7134
7135
  }
7135
7136
  script.render = render;
7136
7137
  script.__file = "src/components/HoverBar/index.vue";
7137
7138
  const BRAND_COLOR = "var(--bgl-primary)";
7138
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
7139
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7139
7140
  __name: "Lineart",
7140
7141
  props: {
7141
7142
  data: {},
@@ -7275,15 +7276,15 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
7275
7276
  };
7276
7277
  }
7277
7278
  });
7278
- const _hoisted_1$M = {
7279
+ const _hoisted_1$N = {
7279
7280
  key: 0,
7280
7281
  class: "data"
7281
7282
  };
7282
- const _hoisted_2$y = {
7283
+ const _hoisted_2$z = {
7283
7284
  key: 0,
7284
7285
  class: "data-row m_py-05"
7285
7286
  };
7286
- const _hoisted_3$q = { class: "key" };
7287
+ const _hoisted_3$r = { class: "key" };
7287
7288
  const _hoisted_4$h = { class: "m-0" };
7288
7289
  const _hoisted_5$g = { key: 1 };
7289
7290
  const _hoisted_6$d = {
@@ -7296,7 +7297,7 @@ const _hoisted_9$5 = {
7296
7297
  key: 0,
7297
7298
  class: "m-0"
7298
7299
  };
7299
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7300
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
7300
7301
  __name: "DataPreview",
7301
7302
  props: /* @__PURE__ */ mergeModels({
7302
7303
  showFields: {},
@@ -7332,7 +7333,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7332
7333
  const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
7333
7334
  return (_ctx, _cache) => {
7334
7335
  var _a2;
7335
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
7336
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
7336
7337
  _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$4), {
7337
7338
  key: 0,
7338
7339
  label: _ctx.title
@@ -7341,11 +7342,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7341
7342
  return openBlock(), createElementBlock(Fragment, {
7342
7343
  key: field.id
7343
7344
  }, [
7344
- unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
7345
- createElementVNode("div", _hoisted_3$q, [
7345
+ unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
7346
+ createElementVNode("div", _hoisted_3$r, [
7346
7347
  createElementVNode("p", _hoisted_4$h, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
7347
7348
  ]),
7348
- createVNode(unref(_sfc_main$R), {
7349
+ createVNode(unref(_sfc_main$Q), {
7349
7350
  modelValue: itemData.value,
7350
7351
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
7351
7352
  label: "",
@@ -7374,7 +7375,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7374
7375
  };
7375
7376
  }
7376
7377
  });
7377
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6c27f163"]]);
7378
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
7378
7379
  const NON_DIGIT_REGEX = /[^\d.-]/g;
7379
7380
  function useTableData(options) {
7380
7381
  const sortField = ref("");
@@ -8073,12 +8074,12 @@ function useTableVirtualization(options) {
8073
8074
  registerLastItemObserver
8074
8075
  };
8075
8076
  }
8076
- const _hoisted_1$L = {
8077
+ const _hoisted_1$M = {
8077
8078
  key: 0,
8078
8079
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
8079
8080
  };
8080
- const _hoisted_2$x = { class: "infinite-wrapper" };
8081
- const _hoisted_3$p = { class: "row first-row" };
8081
+ const _hoisted_2$y = { class: "infinite-wrapper" };
8082
+ const _hoisted_3$q = { class: "row first-row" };
8082
8083
  const _hoisted_4$g = { key: 0 };
8083
8084
  const _hoisted_5$f = ["onClick"];
8084
8085
  const _hoisted_6$c = { class: "flex" };
@@ -8086,7 +8087,7 @@ const _hoisted_7$8 = ["onClick"];
8086
8087
  const _hoisted_8$5 = { key: 0 };
8087
8088
  const _hoisted_9$4 = ["value"];
8088
8089
  const _hoisted_10$4 = { key: 1 };
8089
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
8090
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
8090
8091
  __name: "DataTable",
8091
8092
  props: /* @__PURE__ */ mergeModels({
8092
8093
  data: {},
@@ -8194,11 +8195,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8194
8195
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
8195
8196
  class: { "loading-table": loading.value }
8196
8197
  }), [
8197
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$L, _cache[4] || (_cache[4] = [
8198
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
8198
8199
  createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
8199
8200
  ]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
8200
- createElementVNode("table", _hoisted_2$x, [
8201
- createElementVNode("thead", _hoisted_3$p, [
8201
+ createElementVNode("table", _hoisted_2$y, [
8202
+ createElementVNode("thead", _hoisted_3$q, [
8202
8203
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$g, [
8203
8204
  createElementVNode("input", {
8204
8205
  ref_key: "allSelectorEl",
@@ -8261,7 +8262,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8261
8262
  row,
8262
8263
  field
8263
8264
  }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$4, [
8264
- createVNode(unref(_sfc_main$11), {
8265
+ createVNode(unref(_sfc_main$10), {
8265
8266
  id: field.id,
8266
8267
  class: "embedded-field",
8267
8268
  field,
@@ -8286,7 +8287,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8286
8287
  };
8287
8288
  }
8288
8289
  });
8289
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-cf461a0e"]]);
8290
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-cf461a0e"]]);
8290
8291
  const sides = ["top", "right", "bottom", "left"];
8291
8292
  const alignments = ["start", "end"];
8292
8293
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -10833,7 +10834,7 @@ const Gt$1 = {
10833
10834
  install: Ct$1,
10834
10835
  options: h
10835
10836
  };
10836
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
10837
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10837
10838
  __name: "Dropdown",
10838
10839
  props: /* @__PURE__ */ mergeModels({
10839
10840
  value: {},
@@ -10911,9 +10912,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
10911
10912
  };
10912
10913
  }
10913
10914
  });
10914
- const _hoisted_1$K = { class: "px-1 pt-025 pb-1" };
10915
- const _hoisted_2$w = { class: "ms-1" };
10916
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
10915
+ const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
10916
+ const _hoisted_2$x = { class: "ms-1" };
10917
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
10917
10918
  __name: "FieldSetVue",
10918
10919
  props: {
10919
10920
  label: {},
@@ -10921,15 +10922,15 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10921
10922
  },
10922
10923
  setup(__props) {
10923
10924
  return (_ctx, _cache) => {
10924
- return openBlock(), createElementBlock("fieldset", _hoisted_1$K, [
10925
- createElementVNode("legend", _hoisted_2$w, toDisplayString(_ctx.legend || _ctx.label), 1),
10925
+ return openBlock(), createElementBlock("fieldset", _hoisted_1$L, [
10926
+ createElementVNode("legend", _hoisted_2$x, toDisplayString(_ctx.legend || _ctx.label), 1),
10926
10927
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
10927
10928
  ]);
10928
10929
  };
10929
10930
  }
10930
10931
  });
10931
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
10932
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
10932
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
10933
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
10933
10934
  __name: "Flag",
10934
10935
  props: {
10935
10936
  country: {},
@@ -10959,8 +10960,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
10959
10960
  };
10960
10961
  }
10961
10962
  });
10962
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
10963
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
10963
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
10964
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
10964
10965
  __name: "BagelForm",
10965
10966
  props: {
10966
10967
  modelValue: { default: () => ({}) },
@@ -11000,7 +11001,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11000
11001
  file: FileUpload,
11001
11002
  date: _sfc_main$K,
11002
11003
  tabs: TabsNav,
11003
- bglform: _sfc_main$Q
11004
+ bglform: _sfc_main$S
11004
11005
  };
11005
11006
  if (field.$el === "textarea" && !((_a2 = field.attrs) == null ? void 0 : _a2.multiline)) {
11006
11007
  field.attrs = { ...field.attrs, multiline: true };
@@ -11116,8 +11117,8 @@ function useTabs(group) {
11116
11117
  });
11117
11118
  return { currentTab };
11118
11119
  }
11119
- const _hoisted_1$J = ["onClick"];
11120
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
11120
+ const _hoisted_1$K = ["onClick"];
11121
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11121
11122
  __name: "TabsNav",
11122
11123
  props: {
11123
11124
  title: {},
@@ -11199,14 +11200,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11199
11200
  icon: tab.icon
11200
11201
  }, null, 8, ["icon"])) : createCommentVNode("", true),
11201
11202
  createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
11202
- ], 10, _hoisted_1$J);
11203
+ ], 10, _hoisted_1$K);
11203
11204
  }), 128))
11204
11205
  ], true)
11205
11206
  ], 2);
11206
11207
  };
11207
11208
  }
11208
11209
  });
11209
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-e680c2a4"]]);
11210
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e680c2a4"]]);
11210
11211
  const FORM_STATE_KEY = Symbol("bagelFormState");
11211
11212
  function safeClone(obj) {
11212
11213
  if (obj === null || typeof obj !== "object") return obj;
@@ -11268,8 +11269,8 @@ function useBagelFormState() {
11268
11269
  if (!state2) throw new Error("BagelFormState must be provided");
11269
11270
  return state2;
11270
11271
  }
11271
- const _hoisted_1$I = { key: 1 };
11272
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
11272
+ const _hoisted_1$J = { key: 1 };
11273
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11273
11274
  __name: "BglField",
11274
11275
  props: {
11275
11276
  field: {},
@@ -11299,7 +11300,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11299
11300
  if (props2.field.$el === "file") return FileUpload;
11300
11301
  if (props2.field.$el === "date") return _sfc_main$K;
11301
11302
  if (props2.field.$el === "tabs") return TabsNav;
11302
- if (props2.field.$el === "bglform") return _sfc_main$Q;
11303
+ if (props2.field.$el === "bglform") return _sfc_main$S;
11303
11304
  return props2.field.$el ?? "div";
11304
11305
  });
11305
11306
  const fieldData = computed({
@@ -11364,7 +11365,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11364
11365
  fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
11365
11366
  field: child,
11366
11367
  "parent-path": props2.fieldID
11367
- }, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$I, toDisplayString(child), 1))
11368
+ }, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$J, toDisplayString(child), 1))
11368
11369
  ], 64);
11369
11370
  }), 128))
11370
11371
  ]),
@@ -11373,154 +11374,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11373
11374
  };
11374
11375
  }
11375
11376
  });
11376
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11377
- __name: "BglForm",
11378
- props: {
11379
- label: {},
11380
- fieldID: {},
11381
- schema: {},
11382
- modelValue: { default: () => ({}) },
11383
- onDelete: {},
11384
- onSubmit: {},
11385
- status: {},
11386
- tag: { default: "form" }
11387
- },
11388
- emits: ["update:modelValue", "submit", "dirty"],
11389
- setup(__props, { expose: __expose, emit: __emit }) {
11390
- const props2 = __props;
11391
- const emit2 = __emit;
11392
- const slots = useSlots();
11393
- const { showModal } = useModal();
11394
- const existingFormState = inject(FORM_STATE_KEY);
11395
- const isNested = Boolean(existingFormState && props2.fieldID);
11396
- const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
11397
- let emitDirty = ref(false);
11398
- if (!isNested) {
11399
- watch(() => props2.modelValue, (newVal) => {
11400
- if (emitDirty.value) {
11401
- emitDirty.value = false;
11402
- return;
11403
- }
11404
- data2.value = newVal;
11405
- }, { deep: true, immediate: true });
11406
- watch(() => data2.value, (newVal) => {
11407
- if (emitDirty.value) return;
11408
- emitDirty.value = true;
11409
- emit2("dirty");
11410
- emit2("update:modelValue", newVal);
11411
- }, { deep: true });
11412
- }
11413
- const form = ref();
11414
- function validateForm() {
11415
- setTimeout(() => {
11416
- var _a2;
11417
- return (_a2 = form.value) == null ? void 0 : _a2.reportValidity();
11418
- }, 300);
11419
- if (!form.value) return false;
11420
- return form.value.reportValidity();
11421
- }
11422
- function clearForm() {
11423
- if (!isNested) {
11424
- data2.value = {};
11425
- }
11426
- }
11427
- watch(
11428
- () => props2.status,
11429
- (status) => {
11430
- if (status === "success" && !isNested) {
11431
- isDirty.value = false;
11432
- clearForm();
11433
- }
11434
- },
11435
- { immediate: true }
11436
- );
11437
- function runSubmit() {
11438
- const isValid2 = validateForm();
11439
- if (!isValid2) return;
11440
- emit2("submit", { ...data2.value });
11441
- if (!isNested) {
11442
- isDirty.value = false;
11443
- }
11444
- }
11445
- const i18nT = (val) => val;
11446
- function deleteItem() {
11447
- showModal(
11448
- {
11449
- class: "small-modal",
11450
- title: i18nT("Are you sure?"),
11451
- actions: [
11452
- {
11453
- value: "Confirm",
11454
- color: "red",
11455
- onClick: () => {
11456
- var _a2;
11457
- return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
11458
- }
11459
- },
11460
- { value: "Cancel", color: "gray" }
11461
- ]
11462
- },
11463
- { default: i18nT("form.deleteMessage") }
11464
- );
11465
- }
11466
- const computedSchema = computed(() => useBglSchema({ schema: props2.schema }));
11467
- __expose({
11468
- submit: runSubmit,
11469
- validateForm,
11470
- deleteItem,
11471
- isDirty,
11472
- clearForm
11473
- });
11474
- return (_ctx, _cache) => {
11475
- return openBlock(), createElementBlock(Fragment, null, [
11476
- _ctx.tag === "template" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11477
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
11478
- return openBlock(), createBlock(unref(_sfc_main$R), {
11479
- key: field.id || `${i2}p`,
11480
- fieldID: field.id,
11481
- field
11482
- }, null, 8, ["fieldID", "field"]);
11483
- }), 128)),
11484
- renderSlot(_ctx.$slots, "submit", {
11485
- submit: runSubmit,
11486
- isDirty: unref(isDirty),
11487
- validateForm
11488
- })
11489
- ], 64)) : !unref(slots).success || _ctx.status !== "success" ? (openBlock(), createElementBlock("form", {
11490
- key: 1,
11491
- ref_key: "form",
11492
- ref: form,
11493
- onSubmit: withModifiers(runSubmit, ["prevent"])
11494
- }, [
11495
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$4), {
11496
- key: 0,
11497
- tag: "h4",
11498
- label: _ctx.label
11499
- }, null, 8, ["label"])) : createCommentVNode("", true),
11500
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
11501
- return openBlock(), createBlock(unref(_sfc_main$R), {
11502
- key: field.id || `${i2}p`,
11503
- fieldID: field.id,
11504
- field
11505
- }, null, 8, ["fieldID", "field"]);
11506
- }), 128)),
11507
- renderSlot(_ctx.$slots, "submit", {
11508
- submit: runSubmit,
11509
- isDirty: unref(isDirty),
11510
- validateForm
11511
- })
11512
- ], 544)) : createCommentVNode("", true),
11513
- _ctx.status === "success" ? renderSlot(_ctx.$slots, "success", { key: 2 }) : createCommentVNode("", true),
11514
- _ctx.status === "error" ? renderSlot(_ctx.$slots, "error", { key: 3 }) : createCommentVNode("", true)
11515
- ], 64);
11516
- };
11517
- }
11518
- });
11519
- const _hoisted_1$H = { class: "label mb-05" };
11520
- const _hoisted_2$v = {
11377
+ const _hoisted_1$I = { class: "label mb-05" };
11378
+ const _hoisted_2$w = {
11521
11379
  key: 0,
11522
- class: "-ms-05 ps-05 border-start"
11380
+ class: "ps-025 border-start"
11523
11381
  };
11382
+ const _hoisted_3$p = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
11524
11383
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
11525
11384
  __name: "FieldArray",
11526
11385
  props: {
@@ -11578,29 +11437,30 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11578
11437
  return openBlock(), createElementBlock("div", {
11579
11438
  class: normalizeClass(props2.class)
11580
11439
  }, [
11581
- createElementVNode("p", _hoisted_1$H, toDisplayString(_ctx.label), 1),
11582
- _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
11440
+ createElementVNode("p", _hoisted_1$I, toDisplayString(_ctx.label), 1),
11441
+ _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
11583
11442
  (openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
11584
11443
  return openBlock(), createElementBlock("div", {
11585
11444
  key: i2,
11586
11445
  outline: "",
11587
11446
  thin: "",
11588
- class: "mb-05 itemBox transition p-05"
11447
+ class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
11589
11448
  }, [
11590
- createVNode(unref(_sfc_main$Q), {
11449
+ createVNode(unref(_sfc_main$S), {
11591
11450
  modelValue: data2.value[i2],
11592
11451
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
11593
11452
  schema: _ctx.schema
11594
11453
  }, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
11595
- props2.delete ? (openBlock(), createBlock(unref(Btn), {
11596
- key: 0,
11597
- icon: "delete",
11598
- value: "Delete",
11599
- class: "txt10 opacity-7 color-red",
11600
- thin: "",
11601
- flat: "",
11602
- onClick: ($event) => deleteItem(i2)
11603
- }, null, 8, ["onClick"])) : createCommentVNode("", true)
11454
+ createElementVNode("div", _hoisted_3$p, [
11455
+ props2.delete ? (openBlock(), createBlock(unref(Btn), {
11456
+ key: 0,
11457
+ icon: "delete",
11458
+ class: "txt10 opacity-7",
11459
+ thin: "",
11460
+ flat: "",
11461
+ onClick: ($event) => deleteItem(i2)
11462
+ }, null, 8, ["onClick"])) : createCommentVNode("", true)
11463
+ ])
11604
11464
  ]);
11605
11465
  }), 128)),
11606
11466
  _ctx.add ? (openBlock(), createBlock(unref(Btn), {
@@ -11612,12 +11472,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11612
11472
  onClick: addItem
11613
11473
  }, {
11614
11474
  default: withCtx(() => [
11615
- createElementVNode("p", null, "Add " + toDisplayString(_ctx.label), 1)
11475
+ createElementVNode("p", null, toDisplayString(_ctx.label), 1)
11616
11476
  ]),
11617
11477
  _: 1
11618
11478
  })) : createCommentVNode("", true)
11619
11479
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(data2.value, (_2, i2) => {
11620
- return openBlock(), createBlock(unref(_sfc_main$R), {
11480
+ return openBlock(), createBlock(unref(_sfc_main$Q), {
11621
11481
  key: i2,
11622
11482
  modelValue: data2.value[i2],
11623
11483
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
@@ -11628,7 +11488,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11628
11488
  };
11629
11489
  }
11630
11490
  });
11631
- const _hoisted_1$G = { class: "primary-checkbox" };
11491
+ const _hoisted_1$H = { class: "primary-checkbox" };
11632
11492
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
11633
11493
  __name: "Checkbox",
11634
11494
  props: {
@@ -11639,7 +11499,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11639
11499
  setup(__props) {
11640
11500
  const val = useModel(__props, "modelValue");
11641
11501
  return (_ctx, _cache) => {
11642
- return openBlock(), createElementBlock("label", _hoisted_1$G, [
11502
+ return openBlock(), createElementBlock("label", _hoisted_1$H, [
11643
11503
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
11644
11504
  withDirectives(createElementVNode("input", {
11645
11505
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -11652,8 +11512,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11652
11512
  }
11653
11513
  });
11654
11514
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
11655
- const _hoisted_1$F = ["title"];
11656
- const _hoisted_2$u = ["id", "value", "required"];
11515
+ const _hoisted_1$G = ["title"];
11516
+ const _hoisted_2$v = ["id", "value", "required"];
11657
11517
  const _hoisted_3$o = ["for"];
11658
11518
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
11659
11519
  __name: "CheckInput",
@@ -11689,7 +11549,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11689
11549
  required: _ctx.required,
11690
11550
  type: "checkbox",
11691
11551
  class: "me-05"
11692
- }, null, 8, _hoisted_2$u), [
11552
+ }, null, 8, _hoisted_2$v), [
11693
11553
  [vModelCheckbox, checked.value]
11694
11554
  ]),
11695
11555
  createElementVNode("label", { for: inputId.value }, [
@@ -11697,13 +11557,13 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11697
11557
  createTextVNode(toDisplayString(_ctx.label), 1)
11698
11558
  ], true)
11699
11559
  ], 8, _hoisted_3$o)
11700
- ], 10, _hoisted_1$F);
11560
+ ], 10, _hoisted_1$G);
11701
11561
  };
11702
11562
  }
11703
11563
  });
11704
11564
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
11705
- const _hoisted_1$E = { class: "mb-05" };
11706
- const _hoisted_2$t = {
11565
+ const _hoisted_1$F = { class: "mb-05" };
11566
+ const _hoisted_2$u = {
11707
11567
  key: 0,
11708
11568
  class: "label txt-start"
11709
11569
  };
@@ -11796,8 +11656,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11796
11656
  }
11797
11657
  }, { immediate: true });
11798
11658
  return (_ctx, _cache) => {
11799
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
11800
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
11659
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
11660
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
11801
11661
  unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
11802
11662
  createElementVNode("div", {
11803
11663
  class: "relative block h-100",
@@ -11833,8 +11693,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11833
11693
  }
11834
11694
  });
11835
11695
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
11836
- const _hoisted_1$D = ["title"];
11837
- const _hoisted_2$s = ["id", "placeholder", "required"];
11696
+ const _hoisted_1$E = ["title"];
11697
+ const _hoisted_2$t = ["id", "placeholder", "required"];
11838
11698
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
11839
11699
  __name: "ColorPicker",
11840
11700
  props: {
@@ -11873,11 +11733,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
11873
11733
  placeholder: _ctx.placeholder || _ctx.label,
11874
11734
  class: { "no-edit": !_ctx.editMode },
11875
11735
  required: _ctx.required
11876
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$s), [
11736
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
11877
11737
  [vModelText, inputVal.value]
11878
11738
  ])
11879
11739
  ])
11880
- ], 10, _hoisted_1$D)) : createCommentVNode("", true);
11740
+ ], 10, _hoisted_1$E)) : createCommentVNode("", true);
11881
11741
  };
11882
11742
  }
11883
11743
  });
@@ -13623,7 +13483,7 @@ function transpose(fromDate, constructor) {
13623
13483
  const TIMEZONE_UNIT_PRIORITY = 10;
13624
13484
  class Setter {
13625
13485
  constructor() {
13626
- __publicField(this, "subPriority", 0);
13486
+ __publicField2(this, "subPriority", 0);
13627
13487
  }
13628
13488
  validate(_utcDate, _options) {
13629
13489
  return true;
@@ -13650,8 +13510,8 @@ class ValueSetter extends Setter {
13650
13510
  class DateToSystemTimezoneSetter extends Setter {
13651
13511
  constructor() {
13652
13512
  super(...arguments);
13653
- __publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
13654
- __publicField(this, "subPriority", -1);
13513
+ __publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
13514
+ __publicField2(this, "subPriority", -1);
13655
13515
  }
13656
13516
  set(date2, flags) {
13657
13517
  if (flags.timestampIsSet) return date2;
@@ -13682,8 +13542,8 @@ class Parser {
13682
13542
  class EraParser extends Parser {
13683
13543
  constructor() {
13684
13544
  super(...arguments);
13685
- __publicField(this, "priority", 140);
13686
- __publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13545
+ __publicField2(this, "priority", 140);
13546
+ __publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13687
13547
  }
13688
13548
  parse(dateString, token, match2) {
13689
13549
  switch (token) {
@@ -13861,8 +13721,8 @@ function isLeapYearIndex(year) {
13861
13721
  class YearParser extends Parser {
13862
13722
  constructor() {
13863
13723
  super(...arguments);
13864
- __publicField(this, "priority", 130);
13865
- __publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
13724
+ __publicField2(this, "priority", 130);
13725
+ __publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
13866
13726
  }
13867
13727
  parse(dateString, token, match2) {
13868
13728
  const valueCallback = (year) => ({
@@ -13906,8 +13766,8 @@ class YearParser extends Parser {
13906
13766
  class LocalWeekYearParser extends Parser {
13907
13767
  constructor() {
13908
13768
  super(...arguments);
13909
- __publicField(this, "priority", 130);
13910
- __publicField(this, "incompatibleTokens", [
13769
+ __publicField2(this, "priority", 130);
13770
+ __publicField2(this, "incompatibleTokens", [
13911
13771
  "y",
13912
13772
  "R",
13913
13773
  "u",
@@ -13969,8 +13829,8 @@ class LocalWeekYearParser extends Parser {
13969
13829
  class ISOWeekYearParser extends Parser {
13970
13830
  constructor() {
13971
13831
  super(...arguments);
13972
- __publicField(this, "priority", 130);
13973
- __publicField(this, "incompatibleTokens", [
13832
+ __publicField2(this, "priority", 130);
13833
+ __publicField2(this, "incompatibleTokens", [
13974
13834
  "G",
13975
13835
  "y",
13976
13836
  "Y",
@@ -14004,8 +13864,8 @@ class ISOWeekYearParser extends Parser {
14004
13864
  class ExtendedYearParser extends Parser {
14005
13865
  constructor() {
14006
13866
  super(...arguments);
14007
- __publicField(this, "priority", 130);
14008
- __publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
13867
+ __publicField2(this, "priority", 130);
13868
+ __publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14009
13869
  }
14010
13870
  parse(dateString, token) {
14011
13871
  if (token === "u") {
@@ -14022,8 +13882,8 @@ class ExtendedYearParser extends Parser {
14022
13882
  class QuarterParser extends Parser {
14023
13883
  constructor() {
14024
13884
  super(...arguments);
14025
- __publicField(this, "priority", 120);
14026
- __publicField(this, "incompatibleTokens", [
13885
+ __publicField2(this, "priority", 120);
13886
+ __publicField2(this, "incompatibleTokens", [
14027
13887
  "Y",
14028
13888
  "R",
14029
13889
  "q",
@@ -14091,8 +13951,8 @@ class QuarterParser extends Parser {
14091
13951
  class StandAloneQuarterParser extends Parser {
14092
13952
  constructor() {
14093
13953
  super(...arguments);
14094
- __publicField(this, "priority", 120);
14095
- __publicField(this, "incompatibleTokens", [
13954
+ __publicField2(this, "priority", 120);
13955
+ __publicField2(this, "incompatibleTokens", [
14096
13956
  "Y",
14097
13957
  "R",
14098
13958
  "Q",
@@ -14160,7 +14020,7 @@ class StandAloneQuarterParser extends Parser {
14160
14020
  class MonthParser extends Parser {
14161
14021
  constructor() {
14162
14022
  super(...arguments);
14163
- __publicField(this, "incompatibleTokens", [
14023
+ __publicField2(this, "incompatibleTokens", [
14164
14024
  "Y",
14165
14025
  "R",
14166
14026
  "q",
@@ -14175,7 +14035,7 @@ class MonthParser extends Parser {
14175
14035
  "t",
14176
14036
  "T"
14177
14037
  ]);
14178
- __publicField(this, "priority", 110);
14038
+ __publicField2(this, "priority", 110);
14179
14039
  }
14180
14040
  parse(dateString, token, match2) {
14181
14041
  const valueCallback = (value) => value - 1;
@@ -14230,8 +14090,8 @@ class MonthParser extends Parser {
14230
14090
  class StandAloneMonthParser extends Parser {
14231
14091
  constructor() {
14232
14092
  super(...arguments);
14233
- __publicField(this, "priority", 110);
14234
- __publicField(this, "incompatibleTokens", [
14093
+ __publicField2(this, "priority", 110);
14094
+ __publicField2(this, "incompatibleTokens", [
14235
14095
  "Y",
14236
14096
  "R",
14237
14097
  "q",
@@ -14306,8 +14166,8 @@ function setWeek(date2, week, options) {
14306
14166
  class LocalWeekParser extends Parser {
14307
14167
  constructor() {
14308
14168
  super(...arguments);
14309
- __publicField(this, "priority", 100);
14310
- __publicField(this, "incompatibleTokens", [
14169
+ __publicField2(this, "priority", 100);
14170
+ __publicField2(this, "incompatibleTokens", [
14311
14171
  "y",
14312
14172
  "R",
14313
14173
  "u",
@@ -14349,8 +14209,8 @@ function setISOWeek(date2, week) {
14349
14209
  class ISOWeekParser extends Parser {
14350
14210
  constructor() {
14351
14211
  super(...arguments);
14352
- __publicField(this, "priority", 100);
14353
- __publicField(this, "incompatibleTokens", [
14212
+ __publicField2(this, "priority", 100);
14213
+ __publicField2(this, "incompatibleTokens", [
14354
14214
  "y",
14355
14215
  "Y",
14356
14216
  "u",
@@ -14402,9 +14262,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
14402
14262
  class DateParser extends Parser {
14403
14263
  constructor() {
14404
14264
  super(...arguments);
14405
- __publicField(this, "priority", 90);
14406
- __publicField(this, "subPriority", 1);
14407
- __publicField(this, "incompatibleTokens", [
14265
+ __publicField2(this, "priority", 90);
14266
+ __publicField2(this, "subPriority", 1);
14267
+ __publicField2(this, "incompatibleTokens", [
14408
14268
  "Y",
14409
14269
  "R",
14410
14270
  "q",
@@ -14448,9 +14308,9 @@ class DateParser extends Parser {
14448
14308
  class DayOfYearParser extends Parser {
14449
14309
  constructor() {
14450
14310
  super(...arguments);
14451
- __publicField(this, "priority", 90);
14452
- __publicField(this, "subpriority", 1);
14453
- __publicField(this, "incompatibleTokens", [
14311
+ __publicField2(this, "priority", 90);
14312
+ __publicField2(this, "subpriority", 1);
14313
+ __publicField2(this, "incompatibleTokens", [
14454
14314
  "Y",
14455
14315
  "R",
14456
14316
  "q",
@@ -14509,8 +14369,8 @@ function setDay(date2, day, options) {
14509
14369
  class DayParser extends Parser {
14510
14370
  constructor() {
14511
14371
  super(...arguments);
14512
- __publicField(this, "priority", 90);
14513
- __publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14372
+ __publicField2(this, "priority", 90);
14373
+ __publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14514
14374
  }
14515
14375
  parse(dateString, token, match2) {
14516
14376
  switch (token) {
@@ -14552,8 +14412,8 @@ class DayParser extends Parser {
14552
14412
  class LocalDayParser extends Parser {
14553
14413
  constructor() {
14554
14414
  super(...arguments);
14555
- __publicField(this, "priority", 90);
14556
- __publicField(this, "incompatibleTokens", [
14415
+ __publicField2(this, "priority", 90);
14416
+ __publicField2(this, "incompatibleTokens", [
14557
14417
  "y",
14558
14418
  "R",
14559
14419
  "u",
@@ -14625,8 +14485,8 @@ class LocalDayParser extends Parser {
14625
14485
  class StandAloneLocalDayParser extends Parser {
14626
14486
  constructor() {
14627
14487
  super(...arguments);
14628
- __publicField(this, "priority", 90);
14629
- __publicField(this, "incompatibleTokens", [
14488
+ __publicField2(this, "priority", 90);
14489
+ __publicField2(this, "incompatibleTokens", [
14630
14490
  "y",
14631
14491
  "R",
14632
14492
  "u",
@@ -14704,8 +14564,8 @@ function setISODay(date2, day) {
14704
14564
  class ISODayParser extends Parser {
14705
14565
  constructor() {
14706
14566
  super(...arguments);
14707
- __publicField(this, "priority", 90);
14708
- __publicField(this, "incompatibleTokens", [
14567
+ __publicField2(this, "priority", 90);
14568
+ __publicField2(this, "incompatibleTokens", [
14709
14569
  "y",
14710
14570
  "Y",
14711
14571
  "u",
@@ -14807,8 +14667,8 @@ class ISODayParser extends Parser {
14807
14667
  class AMPMParser extends Parser {
14808
14668
  constructor() {
14809
14669
  super(...arguments);
14810
- __publicField(this, "priority", 80);
14811
- __publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14670
+ __publicField2(this, "priority", 80);
14671
+ __publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14812
14672
  }
14813
14673
  parse(dateString, token, match2) {
14814
14674
  switch (token) {
@@ -14849,8 +14709,8 @@ class AMPMParser extends Parser {
14849
14709
  class AMPMMidnightParser extends Parser {
14850
14710
  constructor() {
14851
14711
  super(...arguments);
14852
- __publicField(this, "priority", 80);
14853
- __publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
14712
+ __publicField2(this, "priority", 80);
14713
+ __publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
14854
14714
  }
14855
14715
  parse(dateString, token, match2) {
14856
14716
  switch (token) {
@@ -14891,8 +14751,8 @@ class AMPMMidnightParser extends Parser {
14891
14751
  class DayPeriodParser extends Parser {
14892
14752
  constructor() {
14893
14753
  super(...arguments);
14894
- __publicField(this, "priority", 80);
14895
- __publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
14754
+ __publicField2(this, "priority", 80);
14755
+ __publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
14896
14756
  }
14897
14757
  parse(dateString, token, match2) {
14898
14758
  switch (token) {
@@ -14933,8 +14793,8 @@ class DayPeriodParser extends Parser {
14933
14793
  class Hour1to12Parser extends Parser {
14934
14794
  constructor() {
14935
14795
  super(...arguments);
14936
- __publicField(this, "priority", 70);
14937
- __publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
14796
+ __publicField2(this, "priority", 70);
14797
+ __publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
14938
14798
  }
14939
14799
  parse(dateString, token, match2) {
14940
14800
  switch (token) {
@@ -14964,8 +14824,8 @@ class Hour1to12Parser extends Parser {
14964
14824
  class Hour0to23Parser extends Parser {
14965
14825
  constructor() {
14966
14826
  super(...arguments);
14967
- __publicField(this, "priority", 70);
14968
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
14827
+ __publicField2(this, "priority", 70);
14828
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
14969
14829
  }
14970
14830
  parse(dateString, token, match2) {
14971
14831
  switch (token) {
@@ -14988,8 +14848,8 @@ class Hour0to23Parser extends Parser {
14988
14848
  class Hour0To11Parser extends Parser {
14989
14849
  constructor() {
14990
14850
  super(...arguments);
14991
- __publicField(this, "priority", 70);
14992
- __publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
14851
+ __publicField2(this, "priority", 70);
14852
+ __publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
14993
14853
  }
14994
14854
  parse(dateString, token, match2) {
14995
14855
  switch (token) {
@@ -15017,8 +14877,8 @@ class Hour0To11Parser extends Parser {
15017
14877
  class Hour1To24Parser extends Parser {
15018
14878
  constructor() {
15019
14879
  super(...arguments);
15020
- __publicField(this, "priority", 70);
15021
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
14880
+ __publicField2(this, "priority", 70);
14881
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15022
14882
  }
15023
14883
  parse(dateString, token, match2) {
15024
14884
  switch (token) {
@@ -15042,8 +14902,8 @@ class Hour1To24Parser extends Parser {
15042
14902
  class MinuteParser extends Parser {
15043
14903
  constructor() {
15044
14904
  super(...arguments);
15045
- __publicField(this, "priority", 60);
15046
- __publicField(this, "incompatibleTokens", ["t", "T"]);
14905
+ __publicField2(this, "priority", 60);
14906
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15047
14907
  }
15048
14908
  parse(dateString, token, match2) {
15049
14909
  switch (token) {
@@ -15066,8 +14926,8 @@ class MinuteParser extends Parser {
15066
14926
  class SecondParser extends Parser {
15067
14927
  constructor() {
15068
14928
  super(...arguments);
15069
- __publicField(this, "priority", 50);
15070
- __publicField(this, "incompatibleTokens", ["t", "T"]);
14929
+ __publicField2(this, "priority", 50);
14930
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15071
14931
  }
15072
14932
  parse(dateString, token, match2) {
15073
14933
  switch (token) {
@@ -15090,8 +14950,8 @@ class SecondParser extends Parser {
15090
14950
  class FractionOfSecondParser extends Parser {
15091
14951
  constructor() {
15092
14952
  super(...arguments);
15093
- __publicField(this, "priority", 30);
15094
- __publicField(this, "incompatibleTokens", ["t", "T"]);
14953
+ __publicField2(this, "priority", 30);
14954
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15095
14955
  }
15096
14956
  parse(dateString, token) {
15097
14957
  const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
@@ -15105,8 +14965,8 @@ class FractionOfSecondParser extends Parser {
15105
14965
  class ISOTimezoneWithZParser extends Parser {
15106
14966
  constructor() {
15107
14967
  super(...arguments);
15108
- __publicField(this, "priority", 10);
15109
- __publicField(this, "incompatibleTokens", ["t", "T", "x"]);
14968
+ __publicField2(this, "priority", 10);
14969
+ __publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
15110
14970
  }
15111
14971
  parse(dateString, token) {
15112
14972
  switch (token) {
@@ -15143,8 +15003,8 @@ class ISOTimezoneWithZParser extends Parser {
15143
15003
  class ISOTimezoneParser extends Parser {
15144
15004
  constructor() {
15145
15005
  super(...arguments);
15146
- __publicField(this, "priority", 10);
15147
- __publicField(this, "incompatibleTokens", ["t", "T", "X"]);
15006
+ __publicField2(this, "priority", 10);
15007
+ __publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
15148
15008
  }
15149
15009
  parse(dateString, token) {
15150
15010
  switch (token) {
@@ -15181,8 +15041,8 @@ class ISOTimezoneParser extends Parser {
15181
15041
  class TimestampSecondsParser extends Parser {
15182
15042
  constructor() {
15183
15043
  super(...arguments);
15184
- __publicField(this, "priority", 40);
15185
- __publicField(this, "incompatibleTokens", "*");
15044
+ __publicField2(this, "priority", 40);
15045
+ __publicField2(this, "incompatibleTokens", "*");
15186
15046
  }
15187
15047
  parse(dateString) {
15188
15048
  return parseAnyDigitsSigned(dateString);
@@ -15194,8 +15054,8 @@ class TimestampSecondsParser extends Parser {
15194
15054
  class TimestampMillisecondsParser extends Parser {
15195
15055
  constructor() {
15196
15056
  super(...arguments);
15197
- __publicField(this, "priority", 20);
15198
- __publicField(this, "incompatibleTokens", "*");
15057
+ __publicField2(this, "priority", 20);
15058
+ __publicField2(this, "incompatibleTokens", "*");
15199
15059
  }
15200
15060
  parse(dateString) {
15201
15061
  return parseAnyDigitsSigned(dateString);
@@ -20435,8 +20295,8 @@ const eo = ({
20435
20295
  Object.entries(go).forEach(([e, t]) => {
20436
20296
  e !== "default" && (Hn[e] = t);
20437
20297
  });
20438
- const _hoisted_1$C = ["title"];
20439
- const _hoisted_2$r = { key: 0 };
20298
+ const _hoisted_1$D = ["title"];
20299
+ const _hoisted_2$s = { key: 0 };
20440
20300
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
20441
20301
  __name: "DateInput",
20442
20302
  props: {
@@ -20479,7 +20339,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20479
20339
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
20480
20340
  title: _ctx.label
20481
20341
  }, [
20482
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
20342
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
20483
20343
  createVNode(unref(Hn), mergeProps({
20484
20344
  ref_key: "datePicker",
20485
20345
  ref: datePicker,
@@ -20495,12 +20355,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20495
20355
  "minutes-grid-increment": _ctx.minutesGridIncrement,
20496
20356
  "start-time": { hours: 8, minutes: 0 }
20497
20357
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
20498
- ], 10, _hoisted_1$C);
20358
+ ], 10, _hoisted_1$D);
20499
20359
  };
20500
20360
  }
20501
20361
  });
20502
- const _hoisted_1$B = ["title"];
20503
- const _hoisted_2$q = { key: 0 };
20362
+ const _hoisted_1$C = ["title"];
20363
+ const _hoisted_2$r = { key: 0 };
20504
20364
  const _hoisted_3$m = {
20505
20365
  key: 0,
20506
20366
  class: "required"
@@ -20517,17 +20377,17 @@ const _hoisted_11$3 = {
20517
20377
  class: "calendar-grid grid gap-025"
20518
20378
  };
20519
20379
  const _hoisted_12$3 = ["disabled", "onClick"];
20520
- const _hoisted_13$3 = {
20380
+ const _hoisted_13$2 = {
20521
20381
  key: 1,
20522
20382
  class: "month-grid grid gap-05 p-05"
20523
20383
  };
20524
20384
  const _hoisted_14$2 = ["disabled", "onClick"];
20525
- const _hoisted_15$1 = {
20385
+ const _hoisted_15$2 = {
20526
20386
  key: 2,
20527
20387
  class: "year-grid grid gap-05 p-0"
20528
20388
  };
20529
- const _hoisted_16 = ["disabled", "onClick"];
20530
- const _hoisted_17 = {
20389
+ const _hoisted_16$2 = ["disabled", "onClick"];
20390
+ const _hoisted_17$2 = {
20531
20391
  key: 0,
20532
20392
  class: "time-picker flex column gap-1 w-120px"
20533
20393
  };
@@ -20706,7 +20566,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20706
20566
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
20707
20567
  title: _ctx.label
20708
20568
  }, [
20709
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
20569
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
20710
20570
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
20711
20571
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$m, "*")) : createCommentVNode("", true)
20712
20572
  ])) : createCommentVNode("", true),
@@ -20789,7 +20649,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20789
20649
  onClick: ($event) => selectDate(date2)
20790
20650
  }, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
20791
20651
  }), 128))
20792
- ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$3, [
20652
+ ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
20793
20653
  (openBlock(true), createElementBlock(Fragment, null, renderList(months.value, (month) => {
20794
20654
  return openBlock(), createElementBlock("button", {
20795
20655
  key: month.value,
@@ -20801,7 +20661,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20801
20661
  onClick: ($event) => selectMonth(month.value)
20802
20662
  }, toDisplayString(month.name), 11, _hoisted_14$2);
20803
20663
  }), 128))
20804
- ])) : (openBlock(), createElementBlock("div", _hoisted_15$1, [
20664
+ ])) : (openBlock(), createElementBlock("div", _hoisted_15$2, [
20805
20665
  (openBlock(true), createElementBlock(Fragment, null, renderList(years.value, (year) => {
20806
20666
  return openBlock(), createElementBlock("button", {
20807
20667
  key: year.value,
@@ -20811,11 +20671,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20811
20671
  }]),
20812
20672
  disabled: year.disabled,
20813
20673
  onClick: ($event) => selectYear(year.value)
20814
- }, toDisplayString(year.value), 11, _hoisted_16);
20674
+ }, toDisplayString(year.value), 11, _hoisted_16$2);
20815
20675
  }), 128))
20816
20676
  ]))
20817
20677
  ]),
20818
- _ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17, [
20678
+ _ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
20819
20679
  createElementVNode("div", _hoisted_18, [
20820
20680
  createVNode(unref(NumberInput), {
20821
20681
  center: "",
@@ -20870,13 +20730,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20870
20730
  ]),
20871
20731
  _: 1
20872
20732
  }, 8, ["shown"])
20873
- ], 10, _hoisted_1$B);
20733
+ ], 10, _hoisted_1$C);
20874
20734
  };
20875
20735
  }
20876
20736
  });
20877
20737
  const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
20878
- const _hoisted_1$A = { class: "datetime-wrap" };
20879
- const _hoisted_2$p = { class: "date-wrap" };
20738
+ const _hoisted_1$B = { class: "datetime-wrap" };
20739
+ const _hoisted_2$q = { class: "date-wrap" };
20880
20740
  const _hoisted_3$l = {
20881
20741
  key: 0,
20882
20742
  class: "time-wrap"
@@ -20911,8 +20771,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20911
20771
  return `${hour}:${minute}`;
20912
20772
  });
20913
20773
  return (_ctx, _cache) => {
20914
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
20915
- createElementVNode("div", _hoisted_2$p, [
20774
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
20775
+ createElementVNode("div", _hoisted_2$q, [
20916
20776
  createVNode(unref(Hn), mergeProps({
20917
20777
  modelValue: selectedDate.value,
20918
20778
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
@@ -20952,8 +20812,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20952
20812
  };
20953
20813
  }
20954
20814
  });
20955
- const _hoisted_1$z = { class: "bagel-input" };
20956
- const _hoisted_2$o = {
20815
+ const _hoisted_1$A = { class: "bagel-input" };
20816
+ const _hoisted_2$p = {
20957
20817
  key: 0,
20958
20818
  placeholder: "required",
20959
20819
  type: "text",
@@ -20961,35 +20821,38 @@ const _hoisted_2$o = {
20961
20821
  class: "pixel"
20962
20822
  };
20963
20823
  const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
20964
- const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
20965
- const _hoisted_5$b = {
20824
+ const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
20825
+ const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
20826
+ const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
20827
+ const _hoisted_7$6 = {
20966
20828
  key: 1,
20967
20829
  class: "txt-gray txt-12"
20968
20830
  };
20969
- const _hoisted_6$9 = {
20831
+ const _hoisted_8$3 = {
20970
20832
  key: 0,
20971
20833
  class: "bgl-multi-preview"
20972
20834
  };
20973
- const _hoisted_7$6 = { class: "m-0" };
20974
- const _hoisted_8$3 = { class: "no-margin multi-preview-txt" };
20975
- const _hoisted_9$2 = {
20835
+ const _hoisted_9$2 = { class: "m-0" };
20836
+ const _hoisted_10$2 = { class: "no-margin multi-preview-txt" };
20837
+ const _hoisted_11$2 = {
20976
20838
  key: 0,
20977
20839
  class: "progress"
20978
20840
  };
20979
- const _hoisted_10$2 = {
20841
+ const _hoisted_12$2 = {
20980
20842
  key: 1,
20981
20843
  class: "bgl-single-preview"
20982
20844
  };
20983
- const _hoisted_11$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20984
- const _hoisted_12$2 = {
20845
+ const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20846
+ const _hoisted_14$1 = {
20985
20847
  key: 0,
20986
20848
  class: "h-100"
20987
20849
  };
20988
- const _hoisted_13$2 = {
20850
+ const _hoisted_15$1 = {
20989
20851
  key: 0,
20990
20852
  class: "progress"
20991
20853
  };
20992
- const _hoisted_14$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20854
+ const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20855
+ const _hoisted_17$1 = { class: "pretty balance" };
20993
20856
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
20994
20857
  __name: "FileUpload",
20995
20858
  props: /* @__PURE__ */ mergeModels({
@@ -21006,7 +20869,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21006
20869
  theme: { default: "dropzone" },
21007
20870
  accept: { default: "*" },
21008
20871
  required: { type: Boolean },
21009
- disabled: { type: Boolean }
20872
+ disabled: { type: Boolean },
20873
+ dropPlaceholder: {},
20874
+ noFilePlaceholder: {},
20875
+ btnPlaceholder: {}
21010
20876
  }, {
21011
20877
  "modelValue": {
21012
20878
  default: () => []
@@ -21162,10 +21028,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21162
21028
  return (_ctx, _cache) => {
21163
21029
  const _directive_tooltip = resolveDirective("tooltip");
21164
21030
  const _directive_lightbox = resolveDirective("lightbox");
21165
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
21031
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
21166
21032
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
21167
- _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$o)) : createCommentVNode("", true),
21168
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
21033
+ _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$p)) : createCommentVNode("", true),
21034
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$_), {
21169
21035
  key: 1,
21170
21036
  outline: "",
21171
21037
  class: "flex p-05 gap-1",
@@ -21178,13 +21044,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21178
21044
  class: "px-1-5",
21179
21045
  icon: "upload",
21180
21046
  outline: "",
21047
+ value: _ctx.btnPlaceholder || "Upload",
21181
21048
  onClick: browse
21182
- }, {
21183
- default: withCtx(() => _cache[2] || (_cache[2] = [
21184
- createTextVNode(" Upload ")
21185
- ])),
21186
- _: 1
21187
- })) : createCommentVNode("", true),
21049
+ }, null, 8, ["value"])) : createCommentVNode("", true),
21188
21050
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
21189
21051
  return openBlock(), createElementBlock("div", {
21190
21052
  key: file.id,
@@ -21224,6 +21086,17 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21224
21086
  ])), [
21225
21087
  [_directive_lightbox, { src: file.url, download: true }]
21226
21088
  ]),
21089
+ createElementVNode("div", _hoisted_5$b, [
21090
+ createVNode(unref(_sfc_main$p), {
21091
+ icon: "draft",
21092
+ size: 1.5
21093
+ }),
21094
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$9, [
21095
+ createTextVNode(toDisplayString(file.name), 1)
21096
+ ])), [
21097
+ [_directive_lightbox, { src: file.url, download: true }]
21098
+ ])
21099
+ ]),
21227
21100
  createVNode(unref(Btn), {
21228
21101
  thin: "",
21229
21102
  flat: "",
@@ -21234,7 +21107,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21234
21107
  ])
21235
21108
  ]);
21236
21109
  }), 128)),
21237
- !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$b, " No file selected ")) : createCommentVNode("", true)
21110
+ !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$6, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
21238
21111
  ]),
21239
21112
  _: 1
21240
21113
  })) : (openBlock(), createElementBlock("div", {
@@ -21254,7 +21127,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21254
21127
  files: storageFiles.value,
21255
21128
  fileQueue: fileQueue.value
21256
21129
  }, () => [
21257
- _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
21130
+ _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
21258
21131
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
21259
21132
  return withDirectives((openBlock(), createElementBlock("div", {
21260
21133
  key: file.id,
@@ -21270,7 +21143,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21270
21143
  icon: "draft",
21271
21144
  class: "multi-preview"
21272
21145
  })),
21273
- createElementVNode("p", _hoisted_7$6, toDisplayString(file.name), 1),
21146
+ createElementVNode("p", _hoisted_9$2, toDisplayString(file.name), 1),
21274
21147
  createVNode(unref(Btn), {
21275
21148
  thin: "",
21276
21149
  flat: "",
@@ -21300,12 +21173,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21300
21173
  icon: "draft",
21301
21174
  class: "multi-preview"
21302
21175
  })),
21303
- createElementVNode("p", _hoisted_8$3, toDisplayString(fileQ.name), 1),
21176
+ createElementVNode("p", _hoisted_10$2, toDisplayString(fileQ.name), 1),
21304
21177
  createElementVNode("div", {
21305
21178
  class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21306
21179
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21307
21180
  }, [
21308
- fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21181
+ fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21309
21182
  createVNode(unref(_sfc_main$p), {
21310
21183
  class: "success",
21311
21184
  icon: "check"
@@ -21314,13 +21187,13 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21314
21187
  ]);
21315
21188
  }), 128))
21316
21189
  ])) : createCommentVNode("", true),
21317
- !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_10$2, [
21190
+ !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
21318
21191
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
21319
21192
  return openBlock(), createElementBlock("div", {
21320
21193
  key: file.id,
21321
21194
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
21322
21195
  }, [
21323
- createElementVNode("div", _hoisted_11$2, [
21196
+ createElementVNode("div", _hoisted_13$1, [
21324
21197
  withDirectives(createVNode(unref(Btn), {
21325
21198
  color: "gray",
21326
21199
  thin: "",
@@ -21350,7 +21223,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21350
21223
  [_directive_tooltip, "Download"]
21351
21224
  ])
21352
21225
  ]),
21353
- isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
21226
+ isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
21354
21227
  withDirectives(createVNode(unref(Image$1), {
21355
21228
  class: "single-preview",
21356
21229
  src: file.url,
@@ -21378,7 +21251,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21378
21251
  class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21379
21252
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21380
21253
  }, [
21381
- fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_13$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21254
+ fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21382
21255
  createVNode(unref(_sfc_main$p), {
21383
21256
  class: "success",
21384
21257
  icon: "check"
@@ -21402,9 +21275,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21402
21275
  fileQueue: fileQueue.value,
21403
21276
  browse
21404
21277
  }, () => [
21405
- createElementVNode("p", _hoisted_14$1, [
21278
+ createElementVNode("p", _hoisted_16$1, [
21406
21279
  createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
21407
- _cache[3] || (_cache[3] = createTextVNode(" Drop files here or click to upload "))
21280
+ createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
21408
21281
  ])
21409
21282
  ], true) : createCommentVNode("", true)
21410
21283
  ], 38))
@@ -21412,9 +21285,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21412
21285
  };
21413
21286
  }
21414
21287
  });
21415
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-d4fb78ee"]]);
21416
- const _hoisted_1$y = ["title"];
21417
- const _hoisted_2$n = { key: 0 };
21288
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9939a5fb"]]);
21289
+ const _hoisted_1$z = ["title"];
21290
+ const _hoisted_2$o = { key: 0 };
21418
21291
  const _hoisted_3$j = ["value", "placeholder"];
21419
21292
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
21420
21293
  __name: "JSONInput",
@@ -21439,7 +21312,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21439
21312
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
21440
21313
  title: _ctx.description
21441
21314
  }, [
21442
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
21315
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
21443
21316
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21444
21317
  ])) : createCommentVNode("", true),
21445
21318
  createElementVNode("textarea", {
@@ -21448,13 +21321,13 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21448
21321
  placeholder: _ctx.placeholder,
21449
21322
  onInput: handleInput
21450
21323
  }, null, 42, _hoisted_3$j)
21451
- ], 10, _hoisted_1$y);
21324
+ ], 10, _hoisted_1$z);
21452
21325
  };
21453
21326
  }
21454
21327
  });
21455
21328
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
21456
- const _hoisted_1$x = ["for"];
21457
- const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21329
+ const _hoisted_1$y = ["for"];
21330
+ const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21458
21331
  const _hoisted_3$i = { key: 1 };
21459
21332
  const _hoisted_4$b = {
21460
21333
  key: 5,
@@ -21483,18 +21356,18 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21483
21356
  emits: ["update:modelValue"],
21484
21357
  setup(__props, { emit: __emit }) {
21485
21358
  const emit2 = __emit;
21486
- let numberValue = ref(Number.parseFloat(`${__props.modelValue}`) || 0);
21359
+ let numberValue = ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
21487
21360
  const btnLayouts = ["horizontal", "vertical"];
21488
- const canAdd = computed(() => !(__props.max !== void 0 && numberValue.value + __props.step > __props.max));
21489
- const canDecrement = computed(() => !(__props.min !== void 0 && numberValue.value - __props.step < __props.min));
21361
+ const canAdd = computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
21362
+ const canDecrement = computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
21490
21363
  function increment() {
21491
21364
  if (!canAdd.value) return;
21492
- numberValue.value += __props.step;
21365
+ numberValue.value = (numberValue.value || 0) + __props.step;
21493
21366
  emit2("update:modelValue", numberValue.value);
21494
21367
  }
21495
21368
  function decrement() {
21496
21369
  if (!canDecrement.value) return;
21497
- numberValue.value -= __props.step;
21370
+ numberValue.value = (numberValue.value || 0) - __props.step;
21498
21371
  emit2("update:modelValue", numberValue.value);
21499
21372
  }
21500
21373
  function formatNumber2(num) {
@@ -21513,7 +21386,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21513
21386
  emit2("update:modelValue", numberValue.value);
21514
21387
  }
21515
21388
  watch(() => numberValue.value, () => {
21516
- formattedValue.value = formatNumber2(numberValue.value);
21389
+ formattedValue.value = numberValue.value !== void 0 ? formatNumber2(numberValue.value) : "";
21517
21390
  }, { immediate: true });
21518
21391
  watch(() => __props.modelValue, (newVal) => {
21519
21392
  if (newVal !== numberValue.value) {
@@ -21529,7 +21402,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21529
21402
  }])
21530
21403
  }, [
21531
21404
  createElementVNode("div", { for: _ctx.id }, [
21532
- createTextVNode(toDisplayString(_ctx.label) + " ", 1),
21405
+ createElementVNode("label", null, toDisplayString(_ctx.label), 1),
21533
21406
  createElementVNode("div", {
21534
21407
  class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
21535
21408
  }, [
@@ -21563,7 +21436,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21563
21436
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
21564
21437
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
21565
21438
  ]
21566
- }, null, 42, _hoisted_2$m), [
21439
+ }, null, 42, _hoisted_2$n), [
21567
21440
  [
21568
21441
  vModelText,
21569
21442
  unref(formattedValue),
@@ -21616,13 +21489,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21616
21489
  }, null, 8, ["disabled"])
21617
21490
  ])) : createCommentVNode("", true)
21618
21491
  ], 2)
21619
- ], 8, _hoisted_1$x)
21492
+ ], 8, _hoisted_1$y)
21620
21493
  ], 2);
21621
21494
  };
21622
21495
  }
21623
21496
  });
21624
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-7a435cc2"]]);
21625
- const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
21497
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8ae5f930"]]);
21498
+ const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
21626
21499
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
21627
21500
  __name: "OTP",
21628
21501
  props: {
@@ -21721,15 +21594,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
21721
21594
  oninput: "this.value = this.value.slice(0, 1);",
21722
21595
  onKeydown: ($event) => handleKeyDown($event, ind),
21723
21596
  onPaste: ($event) => handlePaste($event, ind)
21724
- }, null, 40, _hoisted_1$w);
21597
+ }, null, 40, _hoisted_1$x);
21725
21598
  }), 128))
21726
21599
  ], 512);
21727
21600
  };
21728
21601
  }
21729
21602
  });
21730
21603
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
21731
- const _hoisted_1$v = { class: "relative" };
21732
- const _hoisted_2$l = { class: "m-password position-bottom-end flex column justify-content-center" };
21604
+ const _hoisted_1$w = { class: "relative" };
21605
+ const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
21733
21606
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
21734
21607
  __name: "PasswordInput",
21735
21608
  props: /* @__PURE__ */ mergeModels({
@@ -21771,7 +21644,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21771
21644
  );
21772
21645
  const inputType = computed(() => showPwd.value ? "text" : "password");
21773
21646
  return (_ctx, _cache) => {
21774
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
21647
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
21775
21648
  createVNode(unref(TextInput), mergeProps({
21776
21649
  modelValue: password.value,
21777
21650
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -21779,7 +21652,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21779
21652
  type: inputType.value,
21780
21653
  class: "mb-0"
21781
21654
  }), null, 16, ["modelValue", "type"]),
21782
- createElementVNode("div", _hoisted_2$l, [
21655
+ createElementVNode("div", _hoisted_2$m, [
21783
21656
  createVNode(unref(Btn), {
21784
21657
  flat: "",
21785
21658
  thin: "",
@@ -21792,8 +21665,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21792
21665
  };
21793
21666
  }
21794
21667
  });
21795
- const _hoisted_1$u = ["for"];
21796
- const _hoisted_2$k = ["id", "name", "value", "required"];
21668
+ const _hoisted_1$v = ["for"];
21669
+ const _hoisted_2$l = ["id", "name", "value", "required"];
21797
21670
  const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21798
21671
  const _hoisted_4$a = ["src", "alt"];
21799
21672
  const _hoisted_5$a = { class: "" };
@@ -21835,7 +21708,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21835
21708
  name: _ctx.groupName,
21836
21709
  value: opt.value,
21837
21710
  required: _ctx.required
21838
- }, null, 8, _hoisted_2$k), [
21711
+ }, null, 8, _hoisted_2$l), [
21839
21712
  [vModelRadio, selectedOption.value]
21840
21713
  ]),
21841
21714
  createElementVNode("div", _hoisted_3$h, [
@@ -21860,15 +21733,15 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21860
21733
  icon: "delete",
21861
21734
  onClick: ($event) => _ctx.$emit("delete", opt)
21862
21735
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
21863
- ], 8, _hoisted_1$u);
21736
+ ], 8, _hoisted_1$v);
21864
21737
  }), 128))
21865
21738
  ]);
21866
21739
  };
21867
21740
  }
21868
21741
  });
21869
21742
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
21870
- const _hoisted_1$t = { class: "bagel-input" };
21871
- const _hoisted_2$j = { class: "pb-025" };
21743
+ const _hoisted_1$u = { class: "bagel-input" };
21744
+ const _hoisted_2$k = { class: "pb-025" };
21872
21745
  const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
21873
21746
  const _hoisted_4$9 = ["id", "name", "value", "checked"];
21874
21747
  const _hoisted_5$9 = ["for"];
@@ -21913,8 +21786,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21913
21786
  selectedValue.value = props2.modelValue;
21914
21787
  });
21915
21788
  return (_ctx, _cache) => {
21916
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
21917
- createElementVNode("label", _hoisted_2$j, toDisplayString(_ctx.label), 1),
21789
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
21790
+ createElementVNode("label", _hoisted_2$k, toDisplayString(_ctx.label), 1),
21918
21791
  createElementVNode("div", _hoisted_3$g, [
21919
21792
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
21920
21793
  return openBlock(), createElementBlock("div", {
@@ -21940,8 +21813,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21940
21813
  }
21941
21814
  });
21942
21815
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cf892d71"]]);
21943
- const _hoisted_1$s = ["dir"];
21944
- const _hoisted_2$i = {
21816
+ const _hoisted_1$t = ["dir"];
21817
+ const _hoisted_2$j = {
21945
21818
  key: 0,
21946
21819
  class: "label"
21947
21820
  };
@@ -22018,7 +21891,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
22018
21891
  return openBlock(), createElementBlock("div", {
22019
21892
  dir: unref(rtl) ? "rtl" : "ltr"
22020
21893
  }, [
22021
- unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$i, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
21894
+ unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
22022
21895
  createElementVNode("div", _hoisted_3$f, [
22023
21896
  createElementVNode("input", {
22024
21897
  id: unref(id),
@@ -22110,7 +21983,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
22110
21983
  createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
22111
21984
  ], true)
22112
21985
  ])
22113
- ], 8, _hoisted_1$s);
21986
+ ], 8, _hoisted_1$t);
22114
21987
  };
22115
21988
  }
22116
21989
  });
@@ -22204,8 +22077,8 @@ const toolbarOptions = [
22204
22077
  { name: "separator" },
22205
22078
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
22206
22079
  ];
22207
- const _hoisted_1$r = { class: "grid grid-wrap p-05" };
22208
- const _hoisted_2$h = ["onMousemove", "onClick"];
22080
+ const _hoisted_1$s = { class: "grid grid-wrap p-05" };
22081
+ const _hoisted_2$i = ["onMousemove", "onClick"];
22209
22082
  const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
22210
22083
  const fb = 1;
22211
22084
  const base = 5;
@@ -22225,7 +22098,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22225
22098
  return hoveredCol.value > base - 1 ? enlarge : base;
22226
22099
  });
22227
22100
  return (_ctx, _cache) => {
22228
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
22101
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
22229
22102
  (openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
22230
22103
  return openBlock(), createElementBlock("div", {
22231
22104
  key: `row-${row}`,
@@ -22252,7 +22125,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22252
22125
  hoveredCol.value = col;
22253
22126
  },
22254
22127
  onClick: ($event) => emit2("select", `${row}x${col}`)
22255
- }, null, 42, _hoisted_2$h);
22128
+ }, null, 42, _hoisted_2$i);
22256
22129
  }), 128))
22257
22130
  ], 32);
22258
22131
  }), 128)),
@@ -22262,7 +22135,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22262
22135
  }
22263
22136
  });
22264
22137
  const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4548b70f"]]);
22265
- const _hoisted_1$q = {
22138
+ const _hoisted_1$r = {
22266
22139
  class: "toolbar flex gap-025 pb-05 flex-wrap",
22267
22140
  role: "toolbar"
22268
22141
  };
@@ -22281,10 +22154,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
22281
22154
  }
22282
22155
  return (_ctx, _cache) => {
22283
22156
  const _directive_tooltip = resolveDirective("tooltip");
22284
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
22157
+ return openBlock(), createElementBlock("div", _hoisted_1$r, [
22285
22158
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
22286
22159
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
22287
- action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$W), {
22160
+ action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$V), {
22288
22161
  key: 0,
22289
22162
  placement: "bottom-start",
22290
22163
  thin: "",
@@ -23244,8 +23117,8 @@ function useEditorKeyboard(doc, handleToolbarAction) {
23244
23117
  }
23245
23118
  });
23246
23119
  }
23247
- const _hoisted_1$p = { class: "bagel-input" };
23248
- const _hoisted_2$g = { class: "content-area radius-05" };
23120
+ const _hoisted_1$q = { class: "bagel-input" };
23121
+ const _hoisted_2$h = { class: "content-area radius-05" };
23249
23122
  const _hoisted_3$d = {
23250
23123
  key: 1,
23251
23124
  class: "flex"
@@ -23327,10 +23200,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23327
23200
  });
23328
23201
  return (_ctx, _cache) => {
23329
23202
  var _a2, _b;
23330
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
23203
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
23331
23204
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
23332
23205
  createElementVNode("div", {
23333
- class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": unref(editor).state.isFullscreen }])
23206
+ class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
23334
23207
  }, [
23335
23208
  unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
23336
23209
  key: 0,
@@ -23341,7 +23214,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23341
23214
  createElementVNode("div", {
23342
23215
  class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
23343
23216
  }, [
23344
- createElementVNode("div", _hoisted_2$g, [
23217
+ createElementVNode("div", _hoisted_2$h, [
23345
23218
  createElementVNode("iframe", {
23346
23219
  id: "rich-text-iframe",
23347
23220
  ref_key: "iframe",
@@ -23405,9 +23278,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23405
23278
  };
23406
23279
  }
23407
23280
  });
23408
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
23409
- const _hoisted_1$o = { class: "flex gap-05" };
23410
- const _hoisted_2$f = ["disabled"];
23281
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-08117333"]]);
23282
+ const _hoisted_1$p = { class: "flex gap-05" };
23283
+ const _hoisted_2$g = ["disabled"];
23411
23284
  const _hoisted_3$c = { key: 1 };
23412
23285
  const _hoisted_4$7 = {
23413
23286
  key: 2,
@@ -23592,7 +23465,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23592
23465
  }
23593
23466
  });
23594
23467
  return (_ctx, _cache) => {
23595
- return openBlock(), createBlock(unref(_sfc_main$W), {
23468
+ return openBlock(), createBlock(unref(_sfc_main$V), {
23596
23469
  ref_key: "dropdown",
23597
23470
  ref: dropdown,
23598
23471
  shown: unref(open),
@@ -23604,7 +23477,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23604
23477
  trigger: withCtx(() => [
23605
23478
  createElementVNode("label", null, [
23606
23479
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
23607
- createElementVNode("div", _hoisted_1$o, [
23480
+ createElementVNode("div", _hoisted_1$p, [
23608
23481
  _ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
23609
23482
  key: 0,
23610
23483
  ref_key: "searchInput",
@@ -23652,7 +23525,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23652
23525
  key: 3,
23653
23526
  thin: ""
23654
23527
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
23655
- ], 42, _hoisted_2$f)),
23528
+ ], 42, _hoisted_2$g)),
23656
23529
  _ctx.required ? (openBlock(), createElementBlock("input", {
23657
23530
  key: 2,
23658
23531
  tabindex: "-1",
@@ -23671,7 +23544,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23671
23544
  height: "25px",
23672
23545
  class: "mx-1 my-1"
23673
23546
  })) : createCommentVNode("", true),
23674
- createVNode(unref(_sfc_main$$), {
23547
+ createVNode(unref(_sfc_main$_), {
23675
23548
  class: "p-05",
23676
23549
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
23677
23550
  }, {
@@ -24319,8 +24192,8 @@ class SignaturePad extends SignatureEventTarget {
24319
24192
  return svg.outerHTML;
24320
24193
  }
24321
24194
  }
24322
- const _hoisted_1$n = ["disabled"];
24323
- const _hoisted_2$e = {
24195
+ const _hoisted_1$o = ["disabled"];
24196
+ const _hoisted_2$f = {
24324
24197
  key: 1,
24325
24198
  placeholder: "required",
24326
24199
  type: "text",
@@ -24480,8 +24353,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24480
24353
  ref: vCanvas,
24481
24354
  class: "canvas",
24482
24355
  disabled: _ctx.disabled
24483
- }, null, 8, _hoisted_1$n),
24484
- _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$e)) : createCommentVNode("", true)
24356
+ }, null, 8, _hoisted_1$o),
24357
+ _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$f)) : createCommentVNode("", true)
24485
24358
  ], 34);
24486
24359
  };
24487
24360
  }
@@ -26965,8 +26838,8 @@ const VueDraggableNext = defineComponent({
26965
26838
  }
26966
26839
  }
26967
26840
  });
26968
- const _hoisted_1$m = ["title"];
26969
- const _hoisted_2$d = { class: "bagel-input" };
26841
+ const _hoisted_1$n = ["title"];
26842
+ const _hoisted_2$e = { class: "bagel-input" };
26970
26843
  const _hoisted_3$b = { class: "table-side-scroll" };
26971
26844
  const _hoisted_4$6 = { class: "table-header" };
26972
26845
  const _hoisted_5$6 = { class: "table-reorder" };
@@ -27036,7 +26909,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
27036
26909
  class: "table-field-wrap",
27037
26910
  title: _ctx.description
27038
26911
  }, [
27039
- createElementVNode("div", _hoisted_2$d, [
26912
+ createElementVNode("div", _hoisted_2$e, [
27040
26913
  createElementVNode("label", null, toDisplayString((_a2 = unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
27041
26914
  ]),
27042
26915
  createElementVNode("div", _hoisted_3$b, [
@@ -27111,7 +26984,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
27111
26984
  ])),
27112
26985
  _: 1
27113
26986
  })
27114
- ], 8, _hoisted_1$m);
26987
+ ], 8, _hoisted_1$n);
27115
26988
  };
27116
26989
  }
27117
26990
  });
@@ -31562,8 +31435,8 @@ function parsePhoneNumber$1() {
31562
31435
  function parsePhoneNumber() {
31563
31436
  return withMetadataArgument(parsePhoneNumber$1, arguments);
31564
31437
  }
31565
- const _hoisted_1$l = ["aria-expanded"];
31566
- const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
31438
+ const _hoisted_1$m = ["aria-expanded"];
31439
+ const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
31567
31440
  const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
31568
31441
  const _hoisted_4$5 = { class: "tel-country" };
31569
31442
  const _hoisted_5$5 = { key: 1 };
@@ -31830,7 +31703,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31830
31703
  withKeys(reset, ["tab"])
31831
31704
  ]
31832
31705
  }, [
31833
- !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$W), {
31706
+ !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$V), {
31834
31707
  key: 0,
31835
31708
  ref_key: "phoneDropdown",
31836
31709
  ref: phoneDropdown,
@@ -31853,7 +31726,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31853
31726
  ])
31854
31727
  ]),
31855
31728
  default: withCtx(() => [
31856
- createElementVNode("div", _hoisted_2$c, [
31729
+ createElementVNode("div", _hoisted_2$d, [
31857
31730
  _ctx.searchable ? (openBlock(), createBlock(unref(TextInput), {
31858
31731
  key: 0,
31859
31732
  modelValue: searchQuery.value,
@@ -31917,15 +31790,15 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31917
31790
  }, null, 44, _hoisted_6$4), [
31918
31791
  [vModelText, phone.value]
31919
31792
  ])
31920
- ], 40, _hoisted_1$l)
31793
+ ], 40, _hoisted_1$m)
31921
31794
  ])
31922
31795
  ], 2);
31923
31796
  };
31924
31797
  }
31925
31798
  });
31926
31799
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-492fcc54"]]);
31927
- const _hoisted_1$k = ["title"];
31928
- const _hoisted_2$b = ["for"];
31800
+ const _hoisted_1$l = ["title"];
31801
+ const _hoisted_2$c = ["for"];
31929
31802
  const _hoisted_3$9 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
31930
31803
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
31931
31804
  const _hoisted_5$4 = { key: 2 };
@@ -32064,14 +31937,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
32064
31937
  key: 4,
32065
31938
  icon: _ctx.icon
32066
31939
  }, null, 8, ["icon"])) : createCommentVNode("", true)
32067
- ], 8, _hoisted_2$b)
32068
- ], 10, _hoisted_1$k);
31940
+ ], 8, _hoisted_2$c)
31941
+ ], 10, _hoisted_1$l);
32069
31942
  };
32070
31943
  }
32071
31944
  });
32072
31945
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cc17f96e"]]);
32073
- const _hoisted_1$j = ["title"];
32074
- const _hoisted_2$a = ["id", "required"];
31946
+ const _hoisted_1$k = ["title"];
31947
+ const _hoisted_2$b = ["id", "required"];
32075
31948
  const _hoisted_3$8 = ["for"];
32076
31949
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
32077
31950
  __name: "ToggleInput",
@@ -32109,7 +31982,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
32109
31982
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
32110
31983
  type: "checkbox",
32111
31984
  required: _ctx.required
32112
- }, null, 8, _hoisted_2$a), [
31985
+ }, null, 8, _hoisted_2$b), [
32113
31986
  [vModelCheckbox, checked.value]
32114
31987
  ]),
32115
31988
  createElementVNode("label", { for: inputId.value }, [
@@ -32117,7 +31990,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
32117
31990
  createTextVNode(toDisplayString(_ctx.label), 1)
32118
31991
  ], true)
32119
31992
  ], 8, _hoisted_3$8)
32120
- ], 10, _hoisted_1$j);
31993
+ ], 10, _hoisted_1$k);
32121
31994
  };
32122
31995
  }
32123
31996
  });
@@ -32147,8 +32020,8 @@ const files = {
32147
32020
  });
32148
32021
  }
32149
32022
  };
32150
- const _hoisted_1$i = { class: "bagel-input" };
32151
- const _hoisted_2$9 = { key: 0 };
32023
+ const _hoisted_1$j = { class: "bagel-input" };
32024
+ const _hoisted_2$a = { key: 0 };
32152
32025
  const _hoisted_3$7 = {
32153
32026
  key: 1,
32154
32027
  placeholder: "required",
@@ -32157,35 +32030,37 @@ const _hoisted_3$7 = {
32157
32030
  class: "pixel"
32158
32031
  };
32159
32032
  const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
32160
- const _hoisted_5$3 = { class: "ellipsis-1 word-break-all h-20 m-0" };
32161
- const _hoisted_6$3 = {
32033
+ const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
32034
+ const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
32035
+ const _hoisted_7$2 = {
32162
32036
  key: 1,
32163
32037
  class: "txt-gray txt-12"
32164
32038
  };
32165
- const _hoisted_7$2 = {
32039
+ const _hoisted_8$2 = {
32166
32040
  key: 0,
32167
32041
  class: "bgl-multi-preview"
32168
32042
  };
32169
- const _hoisted_8$2 = { class: "m-0" };
32170
- const _hoisted_9$1 = { class: "no-margin multi-preview-txt" };
32171
- const _hoisted_10$1 = {
32043
+ const _hoisted_9$1 = { class: "m-0" };
32044
+ const _hoisted_10$1 = { class: "no-margin multi-preview-txt" };
32045
+ const _hoisted_11$1 = {
32172
32046
  key: 0,
32173
32047
  class: "progress"
32174
32048
  };
32175
- const _hoisted_11$1 = {
32049
+ const _hoisted_12$1 = {
32176
32050
  key: 1,
32177
32051
  class: "bgl-single-preview"
32178
32052
  };
32179
- const _hoisted_12$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32180
- const _hoisted_13$1 = {
32053
+ const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32054
+ const _hoisted_14 = {
32181
32055
  key: 0,
32182
32056
  class: "h-100"
32183
32057
  };
32184
- const _hoisted_14 = {
32058
+ const _hoisted_15 = {
32185
32059
  key: 0,
32186
32060
  class: "progress"
32187
32061
  };
32188
- const _hoisted_15 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32062
+ const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32063
+ const _hoisted_17 = { class: "pretty balance" };
32189
32064
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
32190
32065
  __name: "UploadInput",
32191
32066
  props: {
@@ -32201,7 +32076,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32201
32076
  accept: { default: "*" },
32202
32077
  required: { type: Boolean },
32203
32078
  disabled: { type: Boolean },
32204
- baseURL: {}
32079
+ baseURL: {},
32080
+ dropPlaceholder: {},
32081
+ noFilePlaceholder: {},
32082
+ btnPlaceholder: {}
32205
32083
  },
32206
32084
  emits: ["update:modelValue", "addFileStart"],
32207
32085
  setup(__props, { emit: __emit }) {
@@ -32294,10 +32172,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32294
32172
  return (_ctx, _cache) => {
32295
32173
  const _directive_tooltip = resolveDirective("tooltip");
32296
32174
  const _directive_lightbox = resolveDirective("lightbox");
32297
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
32298
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$9, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
32175
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
32176
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$a, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
32299
32177
  _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$7)) : createCommentVNode("", true),
32300
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
32178
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$_), {
32301
32179
  key: 2,
32302
32180
  outline: "",
32303
32181
  class: "flex p-05 gap-1",
@@ -32310,13 +32188,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32310
32188
  class: "px-1-5",
32311
32189
  icon: "upload",
32312
32190
  outline: "",
32191
+ value: _ctx.btnPlaceholder || "Upload",
32313
32192
  onClick: browse
32314
- }, {
32315
- default: withCtx(() => _cache[3] || (_cache[3] = [
32316
- createTextVNode(" Upload ")
32317
- ])),
32318
- _: 1
32319
- })) : createCommentVNode("", true),
32193
+ }, null, 8, ["value"])) : createCommentVNode("", true),
32320
32194
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
32321
32195
  return openBlock(), createElementBlock("div", {
32322
32196
  key: path_key,
@@ -32346,15 +32220,21 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32346
32220
  href: pathToUrl(path_key),
32347
32221
  download: path_key.split("/").pop()
32348
32222
  }, null, 8, ["href", "download"]),
32349
- withDirectives((openBlock(), createElementBlock("p", _hoisted_5$3, [
32350
- createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
32351
- ])), [
32352
- [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32223
+ createElementVNode("div", _hoisted_5$3, [
32224
+ createVNode(unref(_sfc_main$p), {
32225
+ icon: "draft",
32226
+ size: 1.5
32227
+ }),
32228
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$3, [
32229
+ createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
32230
+ ])), [
32231
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32232
+ ])
32353
32233
  ])
32354
32234
  ])
32355
32235
  ]);
32356
32236
  }), 128)),
32357
- !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$3, " No file selected ")) : createCommentVNode("", true)
32237
+ !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
32358
32238
  ]),
32359
32239
  _: 1
32360
32240
  })) : (openBlock(), createElementBlock("div", {
@@ -32374,7 +32254,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32374
32254
  files: pathKeys.value,
32375
32255
  fileQueue: fileQueue.value
32376
32256
  }, () => [
32377
- _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
32257
+ _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
32378
32258
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
32379
32259
  return withDirectives((openBlock(), createElementBlock("div", {
32380
32260
  key: path_key,
@@ -32389,7 +32269,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32389
32269
  icon: "description",
32390
32270
  class: "multi-preview"
32391
32271
  })),
32392
- createElementVNode("p", _hoisted_8$2, toDisplayString(path_key.split("/").pop()), 1),
32272
+ createElementVNode("p", _hoisted_9$1, toDisplayString(path_key.split("/").pop()), 1),
32393
32273
  createVNode(unref(Btn), {
32394
32274
  thin: "",
32395
32275
  flat: "",
@@ -32416,12 +32296,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32416
32296
  icon: "description",
32417
32297
  class: "multi-preview"
32418
32298
  })),
32419
- createElementVNode("p", _hoisted_9$1, toDisplayString(file.name), 1),
32299
+ createElementVNode("p", _hoisted_10$1, toDisplayString(file.name), 1),
32420
32300
  createElementVNode("div", {
32421
32301
  class: normalizeClass(["pie", { complete: file.progress === 100 }]),
32422
32302
  style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32423
32303
  }, [
32424
- file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_10$1, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32304
+ file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$1, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32425
32305
  createVNode(unref(_sfc_main$p), {
32426
32306
  class: "success",
32427
32307
  icon: "check_circle"
@@ -32429,13 +32309,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32429
32309
  ], 6)
32430
32310
  ], 2);
32431
32311
  }), 128))
32432
- ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
32312
+ ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
32433
32313
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
32434
32314
  return openBlock(), createElementBlock("div", {
32435
32315
  key: path_key,
32436
32316
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
32437
32317
  }, [
32438
- createElementVNode("div", _hoisted_12$1, [
32318
+ createElementVNode("div", _hoisted_13, [
32439
32319
  withDirectives(createVNode(unref(Btn), {
32440
32320
  color: "gray",
32441
32321
  thin: "",
@@ -32462,7 +32342,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32462
32342
  [_directive_tooltip, "Download"]
32463
32343
  ])
32464
32344
  ]),
32465
- isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
32345
+ isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14, [
32466
32346
  withDirectives(createVNode(unref(Image$1), {
32467
32347
  class: "single-preview",
32468
32348
  pathKey: path_key,
@@ -32490,7 +32370,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32490
32370
  class: normalizeClass(["pie", { complete: file.progress === 100 }]),
32491
32371
  style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32492
32372
  }, [
32493
- file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32373
+ file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32494
32374
  createVNode(unref(_sfc_main$p), {
32495
32375
  class: "success",
32496
32376
  icon: "check_circle"
@@ -32514,9 +32394,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32514
32394
  fileQueue: fileQueue.value,
32515
32395
  browse
32516
32396
  }, () => [
32517
- createElementVNode("p", _hoisted_15, [
32397
+ createElementVNode("p", _hoisted_16, [
32518
32398
  createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
32519
- _cache[4] || (_cache[4] = createTextVNode(" Drop files here or click to upload "))
32399
+ createElementVNode("span", _hoisted_17, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
32520
32400
  ])
32521
32401
  ], true) : createCommentVNode("", true)
32522
32402
  ], 38))
@@ -32524,7 +32404,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32524
32404
  };
32525
32405
  }
32526
32406
  });
32527
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0d93d910"]]);
32407
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d65d0a87"]]);
32528
32408
  const FONT_AWESOME_ICONS = [
32529
32409
  "trash-can",
32530
32410
  "message",
@@ -36975,13 +36855,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
36975
36855
  style: normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36976
36856
  }, toDisplayString(iconRender.value), 5)) : iconRenderType.value === "font-awesome" ? (openBlock(), createElementBlock("i", {
36977
36857
  key: 1,
36978
- class: normalizeClass(["fa", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36858
+ class: normalizeClass(["fa far", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36979
36859
  style: normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36980
36860
  }, null, 6)) : createCommentVNode("", true);
36981
36861
  };
36982
36862
  }
36983
36863
  });
36984
- const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36864
+ const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36985
36865
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
36986
36866
  __name: "IframeVue",
36987
36867
  props: {
@@ -37041,12 +36921,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
37041
36921
  scrolling: _ctx.scrolling,
37042
36922
  srcset: _ctx.srcset,
37043
36923
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
37044
- }, null, 40, _hoisted_1$h);
36924
+ }, null, 40, _hoisted_1$i);
37045
36925
  };
37046
36926
  }
37047
36927
  });
37048
- const _hoisted_1$g = { key: 0 };
37049
- const _hoisted_2$8 = ["src", "alt", "width", "height"];
36928
+ const _hoisted_1$h = { key: 0 };
36929
+ const _hoisted_2$9 = ["src", "alt", "width", "height"];
37050
36930
  const _hoisted_3$6 = ["src", "alt", "width", "height"];
37051
36931
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
37052
36932
  __name: "Image",
@@ -37130,7 +37010,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37130
37010
  }
37131
37011
  watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
37132
37012
  return (_ctx, _cache) => {
37133
- return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$g, [
37013
+ return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$h, [
37134
37014
  unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
37135
37015
  key: 0,
37136
37016
  src: unref(imageSrc)
@@ -37138,7 +37018,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37138
37018
  alt: _ctx.alt,
37139
37019
  width: unref(normalizeDimension)(_ctx.width),
37140
37020
  height: unref(normalizeDimension)(_ctx.height)
37141
- }), null, 16, _hoisted_2$8)) : (openBlock(), createBlock(unref(Skeleton), {
37021
+ }), null, 16, _hoisted_2$9)) : (openBlock(), createBlock(unref(Skeleton), {
37142
37022
  key: 1,
37143
37023
  class: "img-web-kit",
37144
37024
  width: unref(normalizeDimension)(_ctx.width),
@@ -37170,7 +37050,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37170
37050
  }
37171
37051
  });
37172
37052
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6f277b5b"]]);
37173
- const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37053
+ const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37174
37054
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
37175
37055
  __name: "BottomMenu",
37176
37056
  props: {
@@ -37178,7 +37058,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
37178
37058
  },
37179
37059
  setup(__props) {
37180
37060
  return (_ctx, _cache) => {
37181
- return openBlock(), createBlock(unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37061
+ return openBlock(), createBlock(unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37182
37062
  default: withCtx(() => [
37183
37063
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
37184
37064
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
@@ -37194,7 +37074,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
37194
37074
  size: 1.4,
37195
37075
  class: "m-0 line-height-14"
37196
37076
  }, null, 8, ["icon"]),
37197
- createElementVNode("p", _hoisted_1$f, toDisplayString(nav.label), 1)
37077
+ createElementVNode("p", _hoisted_1$g, toDisplayString(nav.label), 1)
37198
37078
  ]),
37199
37079
  _: 2
37200
37080
  }, 1032, ["to", "onClick"]);
@@ -37249,7 +37129,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
37249
37129
  }
37250
37130
  });
37251
37131
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
37252
- const _hoisted_1$e = { key: 0 };
37132
+ const _hoisted_1$f = { key: 0 };
37253
37133
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
37254
37134
  __name: "SidebarMenu",
37255
37135
  props: {
@@ -37279,7 +37159,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37279
37159
  icon: "keyboard_arrow_right",
37280
37160
  onClick: unref(toggleMenu)
37281
37161
  }, null, 8, ["onClick"]),
37282
- createVNode(unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37162
+ createVNode(unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37283
37163
  default: withCtx(() => [
37284
37164
  !unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
37285
37165
  unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
@@ -37297,7 +37177,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37297
37177
  }, null, 8, ["icon"]),
37298
37178
  createVNode(Transition, { name: "showP" }, {
37299
37179
  default: withCtx(() => [
37300
- _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$e, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
37180
+ _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$f, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
37301
37181
  ]),
37302
37182
  _: 2
37303
37183
  }, 1024)
@@ -37357,8 +37237,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37357
37237
  }
37358
37238
  });
37359
37239
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4da8c0d1"]]);
37360
- const _hoisted_1$d = { class: "bgl_card tabs-top" };
37361
- const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
37240
+ const _hoisted_1$e = { class: "bgl_card tabs-top" };
37241
+ const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
37362
37242
  const _hoisted_3$5 = ["onClick"];
37363
37243
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
37364
37244
  __name: "TabbedLayout",
@@ -37393,9 +37273,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37393
37273
  return openBlock(), createElementBlock("div", {
37394
37274
  class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
37395
37275
  }, [
37396
- createElementVNode("div", _hoisted_1$d, [
37276
+ createElementVNode("div", _hoisted_1$e, [
37397
37277
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
37398
- createElementVNode("div", _hoisted_2$7, [
37278
+ createElementVNode("div", _hoisted_2$8, [
37399
37279
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
37400
37280
  var _a2;
37401
37281
  return openBlock(), createElementBlock("div", {
@@ -37421,7 +37301,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37421
37301
  }
37422
37302
  });
37423
37303
  const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-915732c1"]]);
37424
- const _hoisted_1$c = { key: 0 };
37304
+ const _hoisted_1$d = { key: 0 };
37425
37305
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
37426
37306
  __name: "Tabs",
37427
37307
  props: {
@@ -37464,7 +37344,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37464
37344
  group: unref(group),
37465
37345
  class: "mb-05"
37466
37346
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
37467
- unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
37347
+ unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
37468
37348
  unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
37469
37349
  ])) : createCommentVNode("", true)
37470
37350
  ], 64);
@@ -37484,8 +37364,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37484
37364
  };
37485
37365
  }
37486
37366
  });
37487
- const _hoisted_1$b = { class: "no-margin ellipsis line-height-14 pb-025" };
37488
- const _hoisted_2$6 = { class: "txt12 no-margin txt-gray ellipsis" };
37367
+ const _hoisted_1$c = { class: "no-margin ellipsis line-height-14 pb-025" };
37368
+ const _hoisted_2$7 = { class: "txt12 no-margin txt-gray ellipsis" };
37489
37369
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
37490
37370
  __name: "ListItem",
37491
37371
  props: {
@@ -37520,11 +37400,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37520
37400
  icon: _ctx.icon
37521
37401
  }, null, 8, ["icon"])) : createCommentVNode("", true),
37522
37402
  createElementVNode("div", null, [
37523
- createElementVNode("p", _hoisted_1$b, [
37403
+ createElementVNode("p", _hoisted_1$c, [
37524
37404
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
37525
37405
  renderSlot(_ctx.$slots, "default")
37526
37406
  ]),
37527
- createElementVNode("p", _hoisted_2$6, [
37407
+ createElementVNode("p", _hoisted_2$7, [
37528
37408
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
37529
37409
  renderSlot(_ctx.$slots, "subtitle")
37530
37410
  ])
@@ -37536,12 +37416,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37536
37416
  }
37537
37417
  });
37538
37418
  const _sfc_main$e = {};
37539
- const _hoisted_1$a = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37540
- const _hoisted_2$5 = { class: "p-1" };
37419
+ const _hoisted_1$b = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37420
+ const _hoisted_2$6 = { class: "p-1" };
37541
37421
  const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
37542
37422
  function _sfc_render$3(_ctx, _cache) {
37543
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
37544
- createElementVNode("div", _hoisted_2$5, [
37423
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
37424
+ createElementVNode("div", _hoisted_2$6, [
37545
37425
  renderSlot(_ctx.$slots, "header")
37546
37426
  ]),
37547
37427
  createElementVNode("div", _hoisted_3$4, [
@@ -37550,7 +37430,7 @@ function _sfc_render$3(_ctx, _cache) {
37550
37430
  ]);
37551
37431
  }
37552
37432
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3]]);
37553
- const _hoisted_1$9 = { class: "flex-center" };
37433
+ const _hoisted_1$a = { class: "flex-center" };
37554
37434
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
37555
37435
  __name: "Loading",
37556
37436
  props: {
@@ -37573,7 +37453,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
37573
37453
  return standardSize(borderValue);
37574
37454
  });
37575
37455
  return (_ctx, _cache) => {
37576
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
37456
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
37577
37457
  theme.value === "bar" ? (openBlock(), createElementBlock("div", {
37578
37458
  key: 0,
37579
37459
  class: "lds-bar",
@@ -37616,7 +37496,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
37616
37496
  }
37617
37497
  });
37618
37498
  const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2e27b3c1"]]);
37619
- const _hoisted_1$8 = ["id"];
37499
+ const _hoisted_1$9 = ["id"];
37620
37500
  const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
37621
37501
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
37622
37502
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
@@ -37710,15 +37590,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
37710
37590
  class: "leaflet-map",
37711
37591
  style: normalizeStyle({ height: `${props2.height || 400}px` }),
37712
37592
  dir: "ltr"
37713
- }, null, 12, _hoisted_1$8);
37593
+ }, null, 12, _hoisted_1$9);
37714
37594
  };
37715
37595
  }
37716
37596
  });
37717
- const _hoisted_1$7 = {
37597
+ const _hoisted_1$8 = {
37718
37598
  key: 0,
37719
37599
  class: "tool-bar"
37720
37600
  };
37721
- const _hoisted_2$4 = {
37601
+ const _hoisted_2$5 = {
37722
37602
  key: 1,
37723
37603
  class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
37724
37604
  };
@@ -37782,7 +37662,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37782
37662
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
37783
37663
  onKeydown: withKeys(closeModal, ["esc"])
37784
37664
  }, [
37785
- createVNode(unref(_sfc_main$$), {
37665
+ createVNode(unref(_sfc_main$_), {
37786
37666
  class: "modal",
37787
37667
  style: normalizeStyle({ ...maxWidth.value }),
37788
37668
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -37791,7 +37671,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37791
37671
  default: withCtx(() => {
37792
37672
  var _a2;
37793
37673
  return [
37794
- unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$7, [
37674
+ unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$8, [
37795
37675
  renderSlot(_ctx.$slots, "toolbar"),
37796
37676
  createVNode(unref(Btn), {
37797
37677
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -37806,7 +37686,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37806
37686
  tag: "h3",
37807
37687
  label: _ctx.title
37808
37688
  }, null, 8, ["label"])) : createCommentVNode("", true)
37809
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$4, [
37689
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
37810
37690
  createVNode(unref(Btn), {
37811
37691
  class: "position-start",
37812
37692
  icon: "close",
@@ -37834,7 +37714,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37834
37714
  };
37835
37715
  }
37836
37716
  });
37837
- const _hoisted_1$6 = { class: "pb-05 pretty" };
37717
+ const _hoisted_1$7 = { class: "pb-05 pretty" };
37838
37718
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
37839
37719
  __name: "ModalConfirm",
37840
37720
  props: {
@@ -37880,13 +37760,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
37880
37760
  }, null, 8, ["color", "value"])
37881
37761
  ]),
37882
37762
  default: withCtx(() => [
37883
- createElementVNode("p", _hoisted_1$6, toDisplayString(unref(message2)), 1)
37763
+ createElementVNode("p", _hoisted_1$7, toDisplayString(unref(message2)), 1)
37884
37764
  ]),
37885
37765
  _: 1
37886
37766
  }, 8, ["title"]);
37887
37767
  };
37888
37768
  }
37889
37769
  });
37770
+ const _hoisted_1$6 = { class: "flex gap-0" };
37771
+ const _hoisted_2$4 = { class: "flex gap-05" };
37890
37772
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37891
37773
  __name: "ModalForm",
37892
37774
  props: /* @__PURE__ */ mergeModels({
@@ -37897,6 +37779,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37897
37779
  actions: {},
37898
37780
  schema: {},
37899
37781
  onSubmit: { type: Function },
37782
+ onDuplicate: { type: Function },
37783
+ submitText: {},
37784
+ cancelText: {},
37785
+ deleteText: {},
37786
+ duplicateText: {},
37900
37787
  onDelete: { type: Function },
37901
37788
  visible: { type: Boolean },
37902
37789
  onError: { type: Function },
@@ -37959,7 +37846,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37959
37846
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
37960
37847
  }, createSlots({
37961
37848
  default: withCtx(() => [
37962
- _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$T), {
37849
+ _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$S), {
37963
37850
  key: 0,
37964
37851
  ref_key: "form",
37965
37852
  ref: form,
@@ -37974,27 +37861,39 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37974
37861
  _ctx.onDelete || _ctx.onSubmit ? {
37975
37862
  name: "footer",
37976
37863
  fn: withCtx(() => [
37977
- createElementVNode("div", null, [
37864
+ createElementVNode("div", _hoisted_1$6, [
37978
37865
  createVNode(unref(Btn), {
37979
37866
  thin: "",
37980
37867
  flat: "",
37981
- value: "Cancel",
37868
+ value: _ctx.cancelText || "Cancel",
37982
37869
  onClick: closeModal
37983
- }),
37984
- _ctx.onDelete ? (openBlock(), createBlock(unref(Btn), {
37870
+ }, null, 8, ["value"]),
37871
+ _ctx.onDelete && formData.value.id ? (openBlock(), createBlock(unref(Btn), {
37985
37872
  key: 0,
37986
37873
  thin: "",
37987
37874
  icon: "delete",
37988
37875
  flat: "",
37989
- value: "Delete",
37876
+ value: _ctx.deleteText || "Delete",
37990
37877
  color: "red",
37991
37878
  onClick: runDelete
37992
- })) : createCommentVNode("", true)
37879
+ }, null, 8, ["value"])) : createCommentVNode("", true)
37993
37880
  ]),
37994
- createVNode(unref(Btn), {
37995
- value: "Submit",
37996
- onClick: runSubmit
37997
- })
37881
+ createElementVNode("div", _hoisted_2$4, [
37882
+ _ctx.onDuplicate ? (openBlock(), createBlock(unref(Btn), {
37883
+ key: 0,
37884
+ outline: "",
37885
+ class: "px-1",
37886
+ icon: "copy_all",
37887
+ flat: "",
37888
+ value: _ctx.duplicateText || "Duplicate",
37889
+ onClick: _ctx.onDuplicate
37890
+ }, null, 8, ["value", "onClick"])) : createCommentVNode("", true),
37891
+ _ctx.onSubmit ? (openBlock(), createBlock(unref(Btn), {
37892
+ key: 1,
37893
+ value: _ctx.submitText || "Submit",
37894
+ onClick: runSubmit
37895
+ }, null, 8, ["value"])) : createCommentVNode("", true)
37896
+ ])
37998
37897
  ]),
37999
37898
  key: "0"
38000
37899
  } : void 0
@@ -38002,7 +37901,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
38002
37901
  };
38003
37902
  }
38004
37903
  });
38005
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-495b8b8d"]]);
37904
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f8e6d41e"]]);
38006
37905
  const _hoisted_1$5 = { class: "full-nav" };
38007
37906
  const _hoisted_2$3 = { class: "nav-scroll" };
38008
37907
  const _hoisted_3$2 = { class: "nav-links-wrapper" };
@@ -38323,39 +38222,39 @@ function _sfc_render(_ctx, _cache) {
38323
38222
  const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
38324
38223
  class TapDetector {
38325
38224
  constructor() {
38326
- __publicField(this, "singleTapCallbacks", []);
38327
- __publicField(this, "doubleTapCallbacks", []);
38328
- __publicField(this, "isTouchMode", false);
38329
- __publicField(this, "lastTapTimestamp", 0);
38330
- __publicField(this, "tappedCount", 0);
38331
- __publicField(this, "touchMovedLength", 0);
38332
- __publicField(this, "lastPointerX", 0);
38333
- __publicField(this, "lastPointerY", 0);
38334
- __publicField(this, "onTouchStart", (event) => {
38225
+ __publicField2(this, "singleTapCallbacks", []);
38226
+ __publicField2(this, "doubleTapCallbacks", []);
38227
+ __publicField2(this, "isTouchMode", false);
38228
+ __publicField2(this, "lastTapTimestamp", 0);
38229
+ __publicField2(this, "tappedCount", 0);
38230
+ __publicField2(this, "touchMovedLength", 0);
38231
+ __publicField2(this, "lastPointerX", 0);
38232
+ __publicField2(this, "lastPointerY", 0);
38233
+ __publicField2(this, "onTouchStart", (event) => {
38335
38234
  this.isTouchMode = true;
38336
38235
  if (event.touches.length === 1) {
38337
38236
  this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
38338
38237
  }
38339
38238
  });
38340
- __publicField(this, "onTouchMove", (event) => {
38239
+ __publicField2(this, "onTouchMove", (event) => {
38341
38240
  if (event.touches.length === 1) {
38342
38241
  this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
38343
38242
  }
38344
38243
  });
38345
- __publicField(this, "onTouchEnd", () => {
38244
+ __publicField2(this, "onTouchEnd", () => {
38346
38245
  if (this.isTouchMode) this.onPointerUp();
38347
38246
  });
38348
- __publicField(this, "onMouseDown", (event) => {
38247
+ __publicField2(this, "onMouseDown", (event) => {
38349
38248
  if (!this.isTouchMode) {
38350
38249
  this.onPointerDown(event.clientX, event.clientY);
38351
38250
  }
38352
38251
  });
38353
- __publicField(this, "onMouseMove", (event) => {
38252
+ __publicField2(this, "onMouseMove", (event) => {
38354
38253
  if (!this.isTouchMode && event.button === 0) {
38355
38254
  this.onPointerMove(event.clientX, event.clientY);
38356
38255
  }
38357
38256
  });
38358
- __publicField(this, "onMouseUp", () => {
38257
+ __publicField2(this, "onMouseUp", () => {
38359
38258
  if (!this.isTouchMode) this.onPointerUp();
38360
38259
  });
38361
38260
  }
@@ -38472,12 +38371,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38472
38371
  let panLocked = ref(true);
38473
38372
  let raf = ref();
38474
38373
  let tapDetector = ref();
38374
+ let translateXValue = ref(0);
38375
+ let translateYValue = ref(0);
38475
38376
  const wrapperStyle = computed(() => {
38476
- const translateXValue = containerWidth.value * animTranslateX.value;
38477
- const translateYValue = containerHeight.value * animTranslateY.value;
38377
+ translateXValue.value = containerWidth.value * animTranslateX.value;
38378
+ translateYValue.value = containerHeight.value * animTranslateY.value;
38478
38379
  return {
38479
38380
  transform: [
38480
- `translate(${translateXValue}px, ${translateYValue}px)`,
38381
+ `translate(${translateXValue.value}px, ${translateYValue.value}px)`,
38481
38382
  `scale(${animScale.value})`
38482
38383
  ].join(" ")
38483
38384
  };
@@ -38566,12 +38467,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38566
38467
  const imageToContainerRatio2 = containerWidth.value / __props.aspectRatio / containerHeight.value;
38567
38468
  let translateLimitY = (scale.value * imageToContainerRatio2 - 1) / 2;
38568
38469
  if (translateLimitY < 0) translateLimitY = 0;
38569
- return { x: (scale.value - 1) / 2, y: translateLimitY };
38470
+ return {
38471
+ x: scale.value - 1,
38472
+ // Allow full movement to edges horizontally
38473
+ y: translateLimitY * 2
38474
+ // Allow full movement to edges vertically
38475
+ };
38570
38476
  }
38571
38477
  const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
38572
38478
  let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
38573
38479
  if (translateLimitX < 0) translateLimitX = 0;
38574
- return { x: translateLimitX, y: (scale.value - 1) / 2 };
38480
+ return {
38481
+ x: translateLimitX * 2,
38482
+ // Allow full movement to edges horizontally
38483
+ y: scale.value - 1
38484
+ // Allow full movement to edges vertically
38485
+ };
38575
38486
  }
38576
38487
  function getMarginDirection() {
38577
38488
  const containerRatio = containerWidth.value / containerHeight.value;
@@ -38734,7 +38645,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38734
38645
  };
38735
38646
  }
38736
38647
  });
38737
- const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6035bdcf"]]);
38648
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
38738
38649
  function useBglSchema({ schema, showFields, data: data2 } = {}) {
38739
38650
  let _schema = schema;
38740
38651
  if (typeof _schema === "function") {
@@ -38755,6 +38666,12 @@ function localRef(key, initialValue) {
38755
38666
  return value;
38756
38667
  }
38757
38668
  const useLocalStorage = localRef;
38669
+ var __defProp = Object.defineProperty;
38670
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
38671
+ var __publicField = (obj, key, value) => {
38672
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
38673
+ return value;
38674
+ };
38758
38675
  const axios = axios$1.create({
38759
38676
  withCredentials: true
38760
38677
  });
@@ -38769,7 +38686,8 @@ class DataRequest {
38769
38686
  this.itemID = "";
38770
38687
  }
38771
38688
  async post(item) {
38772
- if (!this.data_table) throw new Error("Data table not set");
38689
+ if (!this.data_table)
38690
+ throw new Error("Data table not set");
38773
38691
  const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
38774
38692
  return data2;
38775
38693
  }
@@ -38779,7 +38697,8 @@ class DataRequest {
38779
38697
  }
38780
38698
  async get() {
38781
38699
  var _a2, _b;
38782
- if (!this.data_table) throw new Error("Data table not set");
38700
+ if (!this.data_table)
38701
+ throw new Error("Data table not set");
38783
38702
  const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
38784
38703
  const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
38785
38704
  try {
@@ -38796,7 +38715,8 @@ class DataRequest {
38796
38715
  return this;
38797
38716
  }
38798
38717
  async delete() {
38799
- if (!this.data_table) throw new Error("Data table not set");
38718
+ if (!this.data_table)
38719
+ throw new Error("Data table not set");
38800
38720
  const { data: data2 } = await axios.delete(
38801
38721
  `/data/${this.data_table}/${this.itemID}`
38802
38722
  );
@@ -38804,8 +38724,10 @@ class DataRequest {
38804
38724
  }
38805
38725
  async put(updatedItem) {
38806
38726
  const { data_table, itemID } = this;
38807
- if (!data_table) throw new Error("Data table not set");
38808
- if (!itemID) throw new Error("Item ID not set");
38727
+ if (!data_table)
38728
+ throw new Error("Data table not set");
38729
+ if (!itemID)
38730
+ throw new Error("Item ID not set");
38809
38731
  const { data: data2 } = await axios.put(
38810
38732
  `/data/${data_table}/${itemID}`,
38811
38733
  updatedItem
@@ -38822,8 +38744,8 @@ function responses(key) {
38822
38744
  }
38823
38745
  class BagelAuth {
38824
38746
  constructor(bagel) {
38825
- __publicField(this, "user");
38826
38747
  this.bagel = bagel;
38748
+ __publicField(this, "user");
38827
38749
  this.bagel = bagel;
38828
38750
  }
38829
38751
  async validateUser() {
@@ -38926,10 +38848,12 @@ class Bagel {
38926
38848
  async get(endpoint, query) {
38927
38849
  this._setAuthorization();
38928
38850
  endpoint = this._endpointCleaner(endpoint);
38929
- if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
38851
+ if (/undefined|null/.test(endpoint))
38852
+ throw new Error(`Invalid endpoint: ${endpoint}`);
38930
38853
  if (query) {
38931
38854
  const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
38932
- if (queryParams) endpoint = `${endpoint}?${queryParams}`;
38855
+ if (queryParams)
38856
+ endpoint = `${endpoint}?${queryParams}`;
38933
38857
  }
38934
38858
  const url = `/${endpoint}`;
38935
38859
  return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
@@ -38984,7 +38908,8 @@ class Bagel {
38984
38908
  const formData = new FormData();
38985
38909
  formData.append("file", file);
38986
38910
  let url = "/static_files/upload";
38987
- if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
38911
+ if (options == null ? void 0 : options.topic)
38912
+ url = `/static_files/upload?topic=${options.topic}`;
38988
38913
  const { data: data2 } = await axios.post(url, formData, {
38989
38914
  headers: {
38990
38915
  "Content-Type": "multipart/form-data"
@@ -38996,7 +38921,7 @@ class Bagel {
38996
38921
  }
38997
38922
  const _hoisted_1 = {
38998
38923
  key: 0,
38999
- class: "navigation flex space-between px-3 w-100 absolute m_px-1"
38924
+ class: "navigation flex space-between px-3 w-100 absolute m_px-1 m_none z-9"
39000
38925
  };
39001
38926
  const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between px-1" };
39002
38927
  const _hoisted_3 = {
@@ -39004,18 +38929,17 @@ const _hoisted_3 = {
39004
38929
  class: "center"
39005
38930
  };
39006
38931
  const _hoisted_4 = { key: 3 };
39007
- const _hoisted_5 = { class: "bgl-lightbox-item" };
39008
- const _hoisted_6 = ["src", "title"];
39009
- const _hoisted_7 = {
38932
+ const _hoisted_5 = ["src", "title"];
38933
+ const _hoisted_6 = {
39010
38934
  key: 3,
39011
38935
  class: "file-info txt-white flex m_block align-items-start gap-025"
39012
38936
  };
39013
- const _hoisted_8 = { class: "txt-start" };
39014
- const _hoisted_9 = { class: "mx-0 light" };
39015
- const _hoisted_10 = { class: "semi word-break-all" };
39016
- const _hoisted_11 = { class: "mx-0" };
39017
- const _hoisted_12 = { class: "semi" };
39018
- const _hoisted_13 = {
38937
+ const _hoisted_7 = { class: "txt-start" };
38938
+ const _hoisted_8 = { class: "mx-0 light" };
38939
+ const _hoisted_9 = { class: "semi word-break-all" };
38940
+ const _hoisted_10 = { class: "mx-0" };
38941
+ const _hoisted_11 = { class: "semi" };
38942
+ const _hoisted_12 = {
39019
38943
  key: 0,
39020
38944
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
39021
38945
  };
@@ -39023,15 +38947,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39023
38947
  __name: "Lightbox",
39024
38948
  setup(__props, { expose: __expose }) {
39025
38949
  let isOpen = ref(false);
39026
- let currentItem = ref();
39027
38950
  let group = ref([]);
39028
38951
  let currentIndex = ref(0);
38952
+ let currentItem = computed(() => group.value[currentIndex.value]);
39029
38953
  function open(item, groupItems) {
39030
38954
  isOpen.value = true;
39031
- currentItem.value = item;
39032
- if (groupItems === void 0) return;
39033
- group.value = groupItems;
39034
- currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
38955
+ group.value = groupItems || [item];
38956
+ currentIndex.value = group.value.findIndex(({ src }) => item.src === src);
39035
38957
  document.addEventListener("keydown", handleKeydown);
39036
38958
  }
39037
38959
  function close() {
@@ -39076,7 +38998,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39076
38998
  return (_ctx, _cache) => {
39077
38999
  return openBlock(), createBlock(Transition, { name: "fade" }, {
39078
39000
  default: withCtx(() => {
39079
- var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l2, _m, _n2, _o, _p, _q, _r2;
39001
+ var _a2, _b, _c, _d, _e2, _f, _g, _h;
39080
39002
  return [
39081
39003
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
39082
39004
  key: 0,
@@ -39090,19 +39012,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39090
39012
  }, [
39091
39013
  unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [
39092
39014
  createVNode(unref(Btn), {
39093
- class: "navigation-btn oval",
39015
+ class: "oval opacity-8",
39094
39016
  icon: "arrow_back",
39017
+ color: "black",
39095
39018
  onClick: prev
39096
39019
  }),
39097
39020
  createVNode(unref(Btn), {
39098
- class: "navigation-btn oval",
39021
+ class: "oval opacity-8",
39099
39022
  icon: "arrow_forward",
39023
+ color: "black",
39100
39024
  onClick: next
39101
39025
  })
39102
39026
  ])) : createCommentVNode("", true),
39103
39027
  createElementVNode("div", {
39104
39028
  class: "bgl-lightbox relative txt-center",
39105
- onClick: _cache[4] || (_cache[4] = withModifiers(() => {
39029
+ onClick: _cache[5] || (_cache[5] = withModifiers(() => {
39106
39030
  }, ["stop"]))
39107
39031
  }, [
39108
39032
  createElementVNode("div", _hoisted_2, [
@@ -39159,74 +39083,86 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39159
39083
  }, null, 8, ["href"])) : createCommentVNode("", true),
39160
39084
  !((_g = unref(currentItem)) == null ? void 0 : _g.openFile) && !((_h = unref(currentItem)) == null ? void 0 : _h.download) ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true)
39161
39085
  ]),
39162
- createElementVNode("div", _hoisted_5, [
39163
- ((_i = unref(currentItem)) == null ? void 0 : _i.type) === "image" ? (openBlock(), createBlock(unref(Zoomer), {
39164
- key: 0,
39165
- zoom: zoom.value,
39166
- "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39167
- disabled: !((_j = unref(currentItem)) == null ? void 0 : _j.enableZoom),
39168
- "mouse-wheel-to-zoom": false
39169
- }, {
39170
- default: withCtx(() => {
39171
- var _a3;
39172
- return [
39173
- createVNode(unref(Image$1), {
39174
- draggable: false,
39175
- src: (_a3 = unref(currentItem)) == null ? void 0 : _a3.src,
39176
- alt: "Preview",
39177
- class: "vw90 lightbox-image"
39178
- }, null, 8, ["src"])
39179
- ];
39180
- }),
39181
- _: 1
39182
- }, 8, ["zoom", "disabled"])) : ((_k = unref(currentItem)) == null ? void 0 : _k.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
39183
- key: 1,
39184
- src: (_l2 = unref(currentItem)) == null ? void 0 : _l2.src,
39185
- autoplay: "",
39186
- controls: "",
39187
- class: "vw90"
39188
- }, null, 8, ["src"])) : ((_m = unref(currentItem)) == null ? void 0 : _m.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
39189
- key: 2,
39190
- src: unref(normalizeURL)((_n2 = unref(currentItem)) == null ? void 0 : _n2.src),
39191
- type: "application/pdf",
39192
- width: "100%",
39193
- height: "1080",
39194
- title: (_o = unref(currentItem)) == null ? void 0 : _o.name,
39195
- class: "vw90"
39196
- }, null, 8, _hoisted_6)) : (openBlock(), createElementBlock("div", _hoisted_7, [
39197
- createVNode(unref(_sfc_main$p), {
39198
- class: "m-0 m_none",
39199
- icon: "draft",
39200
- size: 10,
39201
- weight: "12"
39202
- }),
39203
- createVNode(unref(_sfc_main$p), {
39204
- class: "m-0 none m_block m_-mb-1",
39205
- icon: "draft",
39206
- size: 4,
39207
- weight: "2"
39208
- }),
39209
- createElementVNode("div", _hoisted_8, [
39210
- createElementVNode("p", _hoisted_9, [
39211
- _cache[5] || (_cache[5] = createTextVNode(" File: ")),
39212
- createElementVNode("span", _hoisted_10, toDisplayString((_p = unref(currentItem)) == null ? void 0 : _p.name), 1)
39213
- ]),
39214
- createElementVNode("p", _hoisted_11, [
39215
- _cache[6] || (_cache[6] = createTextVNode(" Type: ")),
39216
- createElementVNode("span", _hoisted_12, toDisplayString((_q = unref(currentItem)) == null ? void 0 : _q.type), 1)
39217
- ]),
39218
- createVNode(unref(Btn), {
39219
- href: (_r2 = unref(currentItem)) == null ? void 0 : _r2.src,
39220
- target: "_blank",
39221
- round: "",
39222
- thin: "",
39223
- class: "mt-1",
39224
- value: "Open file"
39225
- }, null, 8, ["href"])
39226
- ])
39227
- ]))
39228
- ]),
39229
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_13, [
39086
+ createVNode(unref(Carousel), {
39087
+ index: unref(currentIndex),
39088
+ "onUpdate:index": _cache[4] || (_cache[4] = ($event) => isRef(currentIndex) ? currentIndex.value = $event : currentIndex = $event),
39089
+ items: 1,
39090
+ class: normalizeClass(["bgl-lightbox-item", { zoomed: zoom.value > 1 }]),
39091
+ freeDrag: zoom.value === 1
39092
+ }, {
39093
+ default: withCtx(() => [
39094
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(group), (item) => {
39095
+ return openBlock(), createElementBlock(Fragment, {
39096
+ key: item.src
39097
+ }, [
39098
+ item.type === "image" ? (openBlock(), createBlock(unref(Zoomer), {
39099
+ key: 0,
39100
+ zoom: zoom.value,
39101
+ "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39102
+ disabled: !(item == null ? void 0 : item.enableZoom),
39103
+ "mouse-wheel-to-zoom": false
39104
+ }, {
39105
+ default: withCtx(() => [
39106
+ createVNode(unref(Image$1), {
39107
+ draggable: false,
39108
+ src: item == null ? void 0 : item.src,
39109
+ alt: "Preview",
39110
+ class: "vw90 lightbox-image"
39111
+ }, null, 8, ["src"])
39112
+ ]),
39113
+ _: 2
39114
+ }, 1032, ["zoom", "disabled"])) : (item == null ? void 0 : item.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
39115
+ key: 1,
39116
+ src: item == null ? void 0 : item.src,
39117
+ autoplay: "",
39118
+ controls: "",
39119
+ class: "vw90"
39120
+ }, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
39121
+ key: 2,
39122
+ src: unref(normalizeURL)(item == null ? void 0 : item.src),
39123
+ type: "application/pdf",
39124
+ width: "100%",
39125
+ height: "1080",
39126
+ title: item == null ? void 0 : item.name,
39127
+ class: "vw90"
39128
+ }, null, 8, _hoisted_5)) : (openBlock(), createElementBlock("div", _hoisted_6, [
39129
+ createVNode(unref(_sfc_main$p), {
39130
+ class: "m-0 m_none",
39131
+ icon: "draft",
39132
+ size: 10,
39133
+ weight: "12"
39134
+ }),
39135
+ createVNode(unref(_sfc_main$p), {
39136
+ class: "m-0 none m_block m_-mb-1",
39137
+ icon: "draft",
39138
+ size: 4,
39139
+ weight: "2"
39140
+ }),
39141
+ createElementVNode("div", _hoisted_7, [
39142
+ createElementVNode("p", _hoisted_8, [
39143
+ _cache[6] || (_cache[6] = createTextVNode(" File: ")),
39144
+ createElementVNode("span", _hoisted_9, toDisplayString(item == null ? void 0 : item.name), 1)
39145
+ ]),
39146
+ createElementVNode("p", _hoisted_10, [
39147
+ _cache[7] || (_cache[7] = createTextVNode(" Type: ")),
39148
+ createElementVNode("span", _hoisted_11, toDisplayString(item == null ? void 0 : item.type), 1)
39149
+ ]),
39150
+ createVNode(unref(Btn), {
39151
+ href: item == null ? void 0 : item.src,
39152
+ target: "_blank",
39153
+ round: "",
39154
+ thin: "",
39155
+ class: "mt-1",
39156
+ value: "Open file"
39157
+ }, null, 8, ["href"])
39158
+ ])
39159
+ ]))
39160
+ ], 64);
39161
+ }), 128))
39162
+ ]),
39163
+ _: 1
39164
+ }, 8, ["index", "class", "freeDrag"]),
39165
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_12, [
39230
39166
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(group), (item, index2) => {
39231
39167
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
39232
39168
  item.type === "image" ? (openBlock(), createBlock(unref(Image$1), {
@@ -39253,7 +39189,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39253
39189
  };
39254
39190
  }
39255
39191
  });
39256
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d5e5a1db"]]);
39192
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f833758f"]]);
39257
39193
  const groups = {};
39258
39194
  let clickHandler = (_e2) => void 0;
39259
39195
  const lightboxDirective = {
@@ -40369,22 +40305,21 @@ function timeAgo(date2, lang = "en") {
40369
40305
  return selectedLang.justNow;
40370
40306
  }
40371
40307
  export {
40372
- _sfc_main$18 as Accordion,
40308
+ _sfc_main$17 as Accordion,
40373
40309
  AccordionItem,
40374
- _sfc_main$16 as AddressSearch,
40310
+ _sfc_main$15 as AddressSearch,
40375
40311
  Alert,
40376
40312
  Avatar,
40377
40313
  Badge,
40378
- _sfc_main$Q as BagelForm,
40379
- _sfc_main$T as BagelForm2,
40314
+ _sfc_main$S as BagelForm,
40380
40315
  BagelVue,
40381
- _sfc_main$11 as BglComponent,
40382
- _sfc_main$R as BglField,
40383
- _sfc_main$Q as BglForm,
40316
+ _sfc_main$10 as BglComponent,
40317
+ _sfc_main$Q as BglField,
40318
+ _sfc_main$S as BglForm,
40384
40319
  BglVideo,
40385
40320
  BottomMenu,
40386
40321
  Btn,
40387
- _sfc_main$$ as Card,
40322
+ _sfc_main$_ as Card,
40388
40323
  Carousel,
40389
40324
  CheckInput,
40390
40325
  Checkbox,
@@ -40395,7 +40330,7 @@ export {
40395
40330
  _sfc_main$K as DateInput,
40396
40331
  DatePick,
40397
40332
  _sfc_main$I as DatePicker,
40398
- _sfc_main$W as Dropdown,
40333
+ _sfc_main$V as Dropdown,
40399
40334
  FORM_STATE_KEY,
40400
40335
  _sfc_main$P as FieldArray,
40401
40336
  FieldSetVue,
@@ -40408,7 +40343,7 @@ export {
40408
40343
  Image$1 as Image,
40409
40344
  JSONInput,
40410
40345
  Layout,
40411
- _sfc_main$Z as Lineart,
40346
+ _sfc_main$Y as Lineart,
40412
40347
  _sfc_main$f as ListItem,
40413
40348
  ListView,
40414
40349
  Loading,