@bagelink/vue 0.0.1176 → 0.0.1180

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 (215) hide show
  1. package/dist/common-C_IH8b5S.cjs +12580 -0
  2. package/dist/common-DoeNgx31.js +12579 -0
  3. package/dist/components/AddressSaerch.vue.d.ts +7 -0
  4. package/dist/components/AddressSaerch.vue.d.ts.map +1 -0
  5. package/dist/components/ComboBox.vue.d.ts +3 -3
  6. package/dist/components/Comments.vue.d.ts +2 -2
  7. package/dist/components/ContactSubmissions.vue.d.ts +2 -2
  8. package/dist/components/FormSchema.vue.d.ts +4 -5
  9. package/dist/components/LangText.vue.d.ts +2 -2
  10. package/dist/components/ModalBglForm.vue.d.ts +20 -21
  11. package/dist/components/PersonPreview.vue.d.ts +4 -5
  12. package/dist/components/PersonPreviewFormkit.vue.d.ts +3 -4
  13. package/dist/components/Popover.vue.d.ts +10 -0
  14. package/dist/components/Popover.vue.d.ts.map +1 -0
  15. package/dist/components/RTXEditor.vue.d.ts +3 -3
  16. package/dist/components/TabbedLayout.vue.d.ts +4 -5
  17. package/dist/components/TableSchema.vue.d.ts +2 -2
  18. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  19. package/dist/components/charts/BarChart.vue.d.ts +2 -2
  20. package/dist/components/form/BagelForm.vue.d.ts +1 -0
  21. package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
  22. package/dist/components/form/ItemRef.vue.d.ts +3 -5
  23. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  24. package/dist/components/form/MaterialIcon.vue.d.ts +3 -4
  25. package/dist/components/form/PlainInputField.vue.d.ts +3 -3
  26. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
  27. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
  28. package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
  29. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
  30. package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
  31. package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
  32. package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
  33. package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
  34. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  35. package/dist/components/form/inputs/Password.vue.d.ts +3 -3
  36. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  37. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  38. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +14 -0
  39. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +1 -0
  40. package/dist/components/form/inputs/RichText/formatting.d.ts +11 -0
  41. package/dist/components/form/inputs/RichText/formatting.d.ts.map +1 -0
  42. package/dist/components/form/inputs/RichText/richtext-types.d.ts +3 -0
  43. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +1 -0
  44. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
  45. package/dist/components/form/inputs/RichText2/index.vue.d.ts +0 -1
  46. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  47. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  48. package/dist/components/form/inputs/SelectField.vue.d.ts +8 -6
  49. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  50. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  51. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +86 -0
  52. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +1 -0
  53. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  54. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  55. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  56. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  57. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  58. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  59. package/dist/components/sortable/Animation.d.ts +43 -0
  60. package/dist/components/sortable/Animation.d.ts.map +1 -0
  61. package/dist/components/sortable/BrowserInfo.d.ts +7 -0
  62. package/dist/components/sortable/BrowserInfo.d.ts.map +1 -0
  63. package/dist/components/sortable/EventDispatcher.d.ts +13 -0
  64. package/dist/components/sortable/EventDispatcher.d.ts.map +1 -0
  65. package/dist/components/sortable/PluginManager.d.ts +27 -0
  66. package/dist/components/sortable/PluginManager.d.ts.map +1 -0
  67. package/dist/components/sortable/Sortable.d.ts +81 -0
  68. package/dist/components/sortable/Sortable.d.ts.map +1 -0
  69. package/dist/components/sortable/index.d.ts +5 -0
  70. package/dist/components/sortable/index.d.ts.map +1 -0
  71. package/dist/components/sortable/utils.d.ts +49 -0
  72. package/dist/components/sortable/utils.d.ts.map +1 -0
  73. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
  74. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  75. package/dist/composables/drag-n-drop/useDraggable.d.ts +2 -0
  76. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +1 -0
  77. package/dist/editor-CUDRLdmS.js +4 -0
  78. package/dist/editor-Cu374vEW.cjs +4 -0
  79. package/dist/editor-a8DSbb6P.js +4 -0
  80. package/dist/editor-xBt_vIha.cjs +4 -0
  81. package/dist/heic2any-8wMqMfB_.js +933 -0
  82. package/dist/heic2any-BrqcNzfV.js +935 -0
  83. package/dist/heic2any-C8KwH72N.cjs +934 -0
  84. package/dist/heic2any-k9wDCKka.cjs +932 -0
  85. package/dist/index-DiG-xM9T.cjs +35016 -0
  86. package/dist/index-nGuSAiY2.js +35017 -0
  87. package/dist/index.cjs +127 -134
  88. package/dist/index.mjs +127 -134
  89. package/dist/plugins/drag-n-drop/draggable.d.ts +4 -0
  90. package/dist/plugins/drag-n-drop/draggable.d.ts.map +1 -0
  91. package/dist/plugins/drag-n-drop/droppable.d.ts +4 -0
  92. package/dist/plugins/drag-n-drop/droppable.d.ts.map +1 -0
  93. package/dist/plugins/drag-n-drop/index.d.ts +5 -0
  94. package/dist/plugins/drag-n-drop/index.d.ts.map +1 -0
  95. package/dist/plugins/drag-n-drop/useDraggable.d.ts +8 -0
  96. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +1 -0
  97. package/dist/plugins/drag-n-drop/useDroppable.d.ts +7 -0
  98. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +1 -0
  99. package/dist/style.css +6 -6
  100. package/dist/types/materialIcon.d.ts +2 -0
  101. package/dist/types/materialIcon.d.ts.map +1 -0
  102. package/dist/utils/objects.d.ts +0 -1
  103. package/package.json +1 -1
  104. package/src/components/form/BagelForm.vue +13 -6
  105. package/src/components/form/inputs/NumberInput.vue +1 -1
  106. package/dist/components/Accordion.d.ts +0 -12
  107. package/dist/components/Accordion.d.ts.map +0 -1
  108. package/dist/components/AccordionItem.d.ts +0 -34
  109. package/dist/components/AccordionItem.d.ts.map +0 -1
  110. package/dist/components/Alert.d.ts +0 -34
  111. package/dist/components/Alert.d.ts.map +0 -1
  112. package/dist/components/Avatar.d.ts +0 -36
  113. package/dist/components/Avatar.d.ts.map +0 -1
  114. package/dist/components/Badge.d.ts +0 -22
  115. package/dist/components/Badge.d.ts.map +0 -1
  116. package/dist/components/BglVideo.d.ts +0 -20
  117. package/dist/components/BglVideo.d.ts.map +0 -1
  118. package/dist/components/Btn.d.ts +0 -99
  119. package/dist/components/Btn.d.ts.map +0 -1
  120. package/dist/components/Card.d.ts +0 -39
  121. package/dist/components/Card.d.ts.map +0 -1
  122. package/dist/components/Carousel.d.ts +0 -74
  123. package/dist/components/Carousel.d.ts.map +0 -1
  124. package/dist/components/DataPreview.d.ts +0 -42
  125. package/dist/components/DataPreview.d.ts.map +0 -1
  126. package/dist/components/Drop.vue.d.ts +0 -34
  127. package/dist/components/Drop.vue.d.ts.map +0 -1
  128. package/dist/components/FileUploader.vue.d.ts +0 -60
  129. package/dist/components/FileUploader.vue.d.ts.map +0 -1
  130. package/dist/components/Flag.d.ts +0 -20
  131. package/dist/components/Flag.d.ts.map +0 -1
  132. package/dist/components/ListItem.d.ts +0 -34
  133. package/dist/components/ListItem.d.ts.map +0 -1
  134. package/dist/components/ListView.d.ts +0 -13
  135. package/dist/components/ListView.d.ts.map +0 -1
  136. package/dist/components/MapEmbed.d.ts +0 -3
  137. package/dist/components/MapEmbed.d.ts.map +0 -1
  138. package/dist/components/MaterialIcon.d.ts +0 -26
  139. package/dist/components/MaterialIcon.d.ts.map +0 -1
  140. package/dist/components/Modal.d.ts +0 -46
  141. package/dist/components/Modal.d.ts.map +0 -1
  142. package/dist/components/ModalConfirm.d.ts +0 -24
  143. package/dist/components/ModalConfirm.d.ts.map +0 -1
  144. package/dist/components/ModalForm.d.ts +0 -78
  145. package/dist/components/ModalForm.d.ts.map +0 -1
  146. package/dist/components/NavBar.d.ts +0 -64
  147. package/dist/components/NavBar.d.ts.map +0 -1
  148. package/dist/components/PageTitle.d.ts +0 -24
  149. package/dist/components/PageTitle.d.ts.map +0 -1
  150. package/dist/components/RouterWrapper.d.ts +0 -3
  151. package/dist/components/RouterWrapper.d.ts.map +0 -1
  152. package/dist/components/TableSchema.d.ts +0 -35
  153. package/dist/components/TableSchema.d.ts.map +0 -1
  154. package/dist/components/Title.d.ts +0 -42
  155. package/dist/components/Title.d.ts.map +0 -1
  156. package/dist/components/TopBar.d.ts +0 -12
  157. package/dist/components/TopBar.d.ts.map +0 -1
  158. package/dist/components/dashboard/Lineart.d.ts +0 -20
  159. package/dist/components/dashboard/Lineart.d.ts.map +0 -1
  160. package/dist/components/form/BglField.d.ts +0 -25
  161. package/dist/components/form/BglField.d.ts.map +0 -1
  162. package/dist/components/form/BglForm.d.ts +0 -75
  163. package/dist/components/form/BglForm.d.ts.map +0 -1
  164. package/dist/components/form/inputs/CheckInput.d.ts +0 -56
  165. package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
  166. package/dist/components/form/inputs/Checkbox.d.ts +0 -16
  167. package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
  168. package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
  169. package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
  170. package/dist/components/form/inputs/DateInput.d.ts +0 -64
  171. package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
  172. package/dist/components/form/inputs/DatePicker.d.ts +0 -33
  173. package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
  174. package/dist/components/form/inputs/FileUpload.d.ts +0 -108
  175. package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
  176. package/dist/components/form/inputs/JSONInput.d.ts +0 -53
  177. package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
  178. package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
  179. package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
  180. package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
  181. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
  182. package/dist/components/form/inputs/RichText.d.ts +0 -20
  183. package/dist/components/form/inputs/RichText.d.ts.map +0 -1
  184. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
  185. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
  186. package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
  187. package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
  188. package/dist/components/form/inputs/SelectInput.d.ts +0 -55
  189. package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
  190. package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
  191. package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
  192. package/dist/components/form/inputs/TableField.d.ts +0 -45
  193. package/dist/components/form/inputs/TableField.d.ts.map +0 -1
  194. package/dist/components/form/inputs/TelInput.d.ts +0 -241
  195. package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
  196. package/dist/components/form/inputs/TextInput.d.ts +0 -90
  197. package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
  198. package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
  199. package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
  200. package/dist/components/layout/BottomMenu.d.ts +0 -27
  201. package/dist/components/layout/BottomMenu.d.ts.map +0 -1
  202. package/dist/components/layout/Layout.d.ts +0 -58
  203. package/dist/components/layout/Layout.d.ts.map +0 -1
  204. package/dist/components/layout/SidebarMenu.d.ts +0 -38
  205. package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
  206. package/dist/components/layout/TabbedLayout.d.ts +0 -42
  207. package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
  208. package/dist/components/layout/Tabs.d.ts +0 -31
  209. package/dist/components/layout/Tabs.d.ts.map +0 -1
  210. package/dist/components/layout/TabsBody.d.ts +0 -23
  211. package/dist/components/layout/TabsBody.d.ts.map +0 -1
  212. package/dist/components/layout/TabsNav.d.ts +0 -35
  213. package/dist/components/layout/TabsNav.d.ts.map +0 -1
  214. package/dist/styles.css +0 -14073
  215. package/dist/vue.css +0 -14073
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
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);
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);
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, h as h$2, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, mergeModels, useCssVars, useModel, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, vModelText, toRef, createSlots, Teleport, render as render$e, onBeforeUpdate, vShow, vModelRadio, TransitionGroup, vModelDynamic, onBeforeUnmount, markRaw } from "vue";
5
5
  import { RouterLink } from "vue-router";
6
6
  const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -7006,7 +7006,7 @@ const _hoisted_1$1$1 = {
7006
7006
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7007
7007
  const _hoisted_3$r = { class: "layer-rectangles" };
7008
7008
  const _hoisted_4$h = ["transform", "onMouseover"];
7009
- const _hoisted_5$g = ["width", "height"];
7009
+ const _hoisted_5$h = ["width", "height"];
7010
7010
  const _hoisted_6$d = {
7011
7011
  x: 0 + 10,
7012
7012
  y: 0 + 20,
@@ -7043,7 +7043,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7043
7043
  y: 0,
7044
7044
  width: r2.width,
7045
7045
  height: r2.height
7046
- }), null, 16, _hoisted_5$g),
7046
+ }), null, 16, _hoisted_5$h),
7047
7047
  renderSlot(_ctx.$slots, "text", {
7048
7048
  r: r2,
7049
7049
  selected: _ctx.selected === i2
@@ -8149,7 +8149,7 @@ const _hoisted_1$L = {
8149
8149
  const _hoisted_2$y = { class: "infinite-wrapper" };
8150
8150
  const _hoisted_3$q = { class: "row first-row" };
8151
8151
  const _hoisted_4$g = { key: 0 };
8152
- const _hoisted_5$f = ["onClick"];
8152
+ const _hoisted_5$g = ["onClick"];
8153
8153
  const _hoisted_6$c = { class: "flex" };
8154
8154
  const _hoisted_7$8 = ["onClick"];
8155
8155
  const _hoisted_8$5 = { key: 0 };
@@ -8303,7 +8303,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
8303
8303
  }, null, 8, ["class"])
8304
8304
  ], 2)
8305
8305
  ])
8306
- ], 8, _hoisted_5$f);
8306
+ ], 8, _hoisted_5$g);
8307
8307
  }), 128))
8308
8308
  ]),
8309
8309
  createElementVNode("tbody", null, [
@@ -11566,23 +11566,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11566
11566
  __name: "BagelForm",
11567
11567
  props: {
11568
11568
  modelValue: { default: void 0 },
11569
- schema: { default: void 0 }
11569
+ schema: { default: void 0 },
11570
+ tag: { default: "form" }
11570
11571
  },
11571
11572
  emits: ["update:modelValue", "submit"],
11572
11573
  setup(__props, { expose: __expose, emit: __emit }) {
11573
11574
  const props2 = __props;
11574
11575
  const emit2 = __emit;
11575
11576
  const form = ref();
11576
- const formData = ref(structuredClone(props2.modelValue ?? {}));
11577
- const initialFormData = ref(structuredClone(props2.modelValue ?? {}));
11577
+ const formData = ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
11578
+ const initialFormData = ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
11578
11579
  onMounted(() => {
11579
11580
  if (props2.modelValue) {
11580
- initialFormData.value = structuredClone(props2.modelValue);
11581
+ initialFormData.value = JSON.parse(JSON.stringify(props2.modelValue));
11581
11582
  }
11582
11583
  });
11583
11584
  watch(() => props2.modelValue, (newValue) => {
11584
11585
  if (newValue !== void 0) {
11585
- formData.value = structuredClone(newValue);
11586
+ formData.value = JSON.parse(JSON.stringify(newValue));
11586
11587
  }
11587
11588
  }, { immediate: true, deep: true });
11588
11589
  const resolvedSchema = computed(() => {
@@ -11630,7 +11631,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11630
11631
  }
11631
11632
  __expose({ form, isDirty: isDirty.value, validateForm });
11632
11633
  return (_ctx, _cache) => {
11633
- return openBlock(), createElementBlock("form", {
11634
+ return props2.tag === "form" ? (openBlock(), createElementBlock("form", {
11635
+ key: 0,
11634
11636
  ref_key: "form",
11635
11637
  ref: form,
11636
11638
  onSubmit: withModifiers(handleSubmit, ["prevent"])
@@ -11645,7 +11647,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11645
11647
  isDirty: isDirty.value,
11646
11648
  validateForm
11647
11649
  })
11648
- ], 544);
11650
+ ], 544)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(resolvedSchema.value, (field) => {
11651
+ return openBlock(), createBlock(resolveDynamicComponent(renderSchemaField(field)), {
11652
+ key: field.id
11653
+ });
11654
+ }), 128));
11649
11655
  };
11650
11656
  }
11651
11657
  });
@@ -11856,7 +11862,7 @@ const _hoisted_3$n = {
11856
11862
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
11857
11863
  };
11858
11864
  const _hoisted_4$f = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
11859
- const _hoisted_5$e = ["innerHTML"];
11865
+ const _hoisted_5$f = ["innerHTML"];
11860
11866
  const _hoisted_6$b = ["onKeydown"];
11861
11867
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
11862
11868
  __name: "Index",
@@ -11952,7 +11958,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11952
11958
  createElementVNode("code", {
11953
11959
  class: normalizeClass(["absolute inset-0", className.value]),
11954
11960
  innerHTML: highlightedCode.value
11955
- }, null, 10, _hoisted_5$e),
11961
+ }, null, 10, _hoisted_5$f),
11956
11962
  _cache[3] || (_cache[3] = createTextVNode("\n "))
11957
11963
  ]),
11958
11964
  !_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
@@ -13767,7 +13773,7 @@ function transpose(fromDate, constructor) {
13767
13773
  const TIMEZONE_UNIT_PRIORITY = 10;
13768
13774
  class Setter {
13769
13775
  constructor() {
13770
- __publicField2(this, "subPriority", 0);
13776
+ __publicField(this, "subPriority", 0);
13771
13777
  }
13772
13778
  validate(_utcDate, _options) {
13773
13779
  return true;
@@ -13794,8 +13800,8 @@ class ValueSetter extends Setter {
13794
13800
  class DateToSystemTimezoneSetter extends Setter {
13795
13801
  constructor() {
13796
13802
  super(...arguments);
13797
- __publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
13798
- __publicField2(this, "subPriority", -1);
13803
+ __publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
13804
+ __publicField(this, "subPriority", -1);
13799
13805
  }
13800
13806
  set(date2, flags) {
13801
13807
  if (flags.timestampIsSet) return date2;
@@ -13826,8 +13832,8 @@ class Parser {
13826
13832
  class EraParser extends Parser {
13827
13833
  constructor() {
13828
13834
  super(...arguments);
13829
- __publicField2(this, "priority", 140);
13830
- __publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13835
+ __publicField(this, "priority", 140);
13836
+ __publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13831
13837
  }
13832
13838
  parse(dateString, token, match2) {
13833
13839
  switch (token) {
@@ -14005,8 +14011,8 @@ function isLeapYearIndex(year) {
14005
14011
  class YearParser extends Parser {
14006
14012
  constructor() {
14007
14013
  super(...arguments);
14008
- __publicField2(this, "priority", 130);
14009
- __publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14014
+ __publicField(this, "priority", 130);
14015
+ __publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14010
14016
  }
14011
14017
  parse(dateString, token, match2) {
14012
14018
  const valueCallback = (year) => ({
@@ -14050,8 +14056,8 @@ class YearParser extends Parser {
14050
14056
  class LocalWeekYearParser extends Parser {
14051
14057
  constructor() {
14052
14058
  super(...arguments);
14053
- __publicField2(this, "priority", 130);
14054
- __publicField2(this, "incompatibleTokens", [
14059
+ __publicField(this, "priority", 130);
14060
+ __publicField(this, "incompatibleTokens", [
14055
14061
  "y",
14056
14062
  "R",
14057
14063
  "u",
@@ -14113,8 +14119,8 @@ class LocalWeekYearParser extends Parser {
14113
14119
  class ISOWeekYearParser extends Parser {
14114
14120
  constructor() {
14115
14121
  super(...arguments);
14116
- __publicField2(this, "priority", 130);
14117
- __publicField2(this, "incompatibleTokens", [
14122
+ __publicField(this, "priority", 130);
14123
+ __publicField(this, "incompatibleTokens", [
14118
14124
  "G",
14119
14125
  "y",
14120
14126
  "Y",
@@ -14148,8 +14154,8 @@ class ISOWeekYearParser extends Parser {
14148
14154
  class ExtendedYearParser extends Parser {
14149
14155
  constructor() {
14150
14156
  super(...arguments);
14151
- __publicField2(this, "priority", 130);
14152
- __publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14157
+ __publicField(this, "priority", 130);
14158
+ __publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14153
14159
  }
14154
14160
  parse(dateString, token) {
14155
14161
  if (token === "u") {
@@ -14166,8 +14172,8 @@ class ExtendedYearParser extends Parser {
14166
14172
  class QuarterParser extends Parser {
14167
14173
  constructor() {
14168
14174
  super(...arguments);
14169
- __publicField2(this, "priority", 120);
14170
- __publicField2(this, "incompatibleTokens", [
14175
+ __publicField(this, "priority", 120);
14176
+ __publicField(this, "incompatibleTokens", [
14171
14177
  "Y",
14172
14178
  "R",
14173
14179
  "q",
@@ -14235,8 +14241,8 @@ class QuarterParser extends Parser {
14235
14241
  class StandAloneQuarterParser extends Parser {
14236
14242
  constructor() {
14237
14243
  super(...arguments);
14238
- __publicField2(this, "priority", 120);
14239
- __publicField2(this, "incompatibleTokens", [
14244
+ __publicField(this, "priority", 120);
14245
+ __publicField(this, "incompatibleTokens", [
14240
14246
  "Y",
14241
14247
  "R",
14242
14248
  "Q",
@@ -14304,7 +14310,7 @@ class StandAloneQuarterParser extends Parser {
14304
14310
  class MonthParser extends Parser {
14305
14311
  constructor() {
14306
14312
  super(...arguments);
14307
- __publicField2(this, "incompatibleTokens", [
14313
+ __publicField(this, "incompatibleTokens", [
14308
14314
  "Y",
14309
14315
  "R",
14310
14316
  "q",
@@ -14319,7 +14325,7 @@ class MonthParser extends Parser {
14319
14325
  "t",
14320
14326
  "T"
14321
14327
  ]);
14322
- __publicField2(this, "priority", 110);
14328
+ __publicField(this, "priority", 110);
14323
14329
  }
14324
14330
  parse(dateString, token, match2) {
14325
14331
  const valueCallback = (value) => value - 1;
@@ -14374,8 +14380,8 @@ class MonthParser extends Parser {
14374
14380
  class StandAloneMonthParser extends Parser {
14375
14381
  constructor() {
14376
14382
  super(...arguments);
14377
- __publicField2(this, "priority", 110);
14378
- __publicField2(this, "incompatibleTokens", [
14383
+ __publicField(this, "priority", 110);
14384
+ __publicField(this, "incompatibleTokens", [
14379
14385
  "Y",
14380
14386
  "R",
14381
14387
  "q",
@@ -14450,8 +14456,8 @@ function setWeek(date2, week, options) {
14450
14456
  class LocalWeekParser extends Parser {
14451
14457
  constructor() {
14452
14458
  super(...arguments);
14453
- __publicField2(this, "priority", 100);
14454
- __publicField2(this, "incompatibleTokens", [
14459
+ __publicField(this, "priority", 100);
14460
+ __publicField(this, "incompatibleTokens", [
14455
14461
  "y",
14456
14462
  "R",
14457
14463
  "u",
@@ -14493,8 +14499,8 @@ function setISOWeek(date2, week) {
14493
14499
  class ISOWeekParser extends Parser {
14494
14500
  constructor() {
14495
14501
  super(...arguments);
14496
- __publicField2(this, "priority", 100);
14497
- __publicField2(this, "incompatibleTokens", [
14502
+ __publicField(this, "priority", 100);
14503
+ __publicField(this, "incompatibleTokens", [
14498
14504
  "y",
14499
14505
  "Y",
14500
14506
  "u",
@@ -14546,9 +14552,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
14546
14552
  class DateParser extends Parser {
14547
14553
  constructor() {
14548
14554
  super(...arguments);
14549
- __publicField2(this, "priority", 90);
14550
- __publicField2(this, "subPriority", 1);
14551
- __publicField2(this, "incompatibleTokens", [
14555
+ __publicField(this, "priority", 90);
14556
+ __publicField(this, "subPriority", 1);
14557
+ __publicField(this, "incompatibleTokens", [
14552
14558
  "Y",
14553
14559
  "R",
14554
14560
  "q",
@@ -14592,9 +14598,9 @@ class DateParser extends Parser {
14592
14598
  class DayOfYearParser extends Parser {
14593
14599
  constructor() {
14594
14600
  super(...arguments);
14595
- __publicField2(this, "priority", 90);
14596
- __publicField2(this, "subpriority", 1);
14597
- __publicField2(this, "incompatibleTokens", [
14601
+ __publicField(this, "priority", 90);
14602
+ __publicField(this, "subpriority", 1);
14603
+ __publicField(this, "incompatibleTokens", [
14598
14604
  "Y",
14599
14605
  "R",
14600
14606
  "q",
@@ -14653,8 +14659,8 @@ function setDay(date2, day, options) {
14653
14659
  class DayParser extends Parser {
14654
14660
  constructor() {
14655
14661
  super(...arguments);
14656
- __publicField2(this, "priority", 90);
14657
- __publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14662
+ __publicField(this, "priority", 90);
14663
+ __publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14658
14664
  }
14659
14665
  parse(dateString, token, match2) {
14660
14666
  switch (token) {
@@ -14696,8 +14702,8 @@ class DayParser extends Parser {
14696
14702
  class LocalDayParser extends Parser {
14697
14703
  constructor() {
14698
14704
  super(...arguments);
14699
- __publicField2(this, "priority", 90);
14700
- __publicField2(this, "incompatibleTokens", [
14705
+ __publicField(this, "priority", 90);
14706
+ __publicField(this, "incompatibleTokens", [
14701
14707
  "y",
14702
14708
  "R",
14703
14709
  "u",
@@ -14769,8 +14775,8 @@ class LocalDayParser extends Parser {
14769
14775
  class StandAloneLocalDayParser extends Parser {
14770
14776
  constructor() {
14771
14777
  super(...arguments);
14772
- __publicField2(this, "priority", 90);
14773
- __publicField2(this, "incompatibleTokens", [
14778
+ __publicField(this, "priority", 90);
14779
+ __publicField(this, "incompatibleTokens", [
14774
14780
  "y",
14775
14781
  "R",
14776
14782
  "u",
@@ -14848,8 +14854,8 @@ function setISODay(date2, day) {
14848
14854
  class ISODayParser extends Parser {
14849
14855
  constructor() {
14850
14856
  super(...arguments);
14851
- __publicField2(this, "priority", 90);
14852
- __publicField2(this, "incompatibleTokens", [
14857
+ __publicField(this, "priority", 90);
14858
+ __publicField(this, "incompatibleTokens", [
14853
14859
  "y",
14854
14860
  "Y",
14855
14861
  "u",
@@ -14951,8 +14957,8 @@ class ISODayParser extends Parser {
14951
14957
  class AMPMParser extends Parser {
14952
14958
  constructor() {
14953
14959
  super(...arguments);
14954
- __publicField2(this, "priority", 80);
14955
- __publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14960
+ __publicField(this, "priority", 80);
14961
+ __publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14956
14962
  }
14957
14963
  parse(dateString, token, match2) {
14958
14964
  switch (token) {
@@ -14993,8 +14999,8 @@ class AMPMParser extends Parser {
14993
14999
  class AMPMMidnightParser extends Parser {
14994
15000
  constructor() {
14995
15001
  super(...arguments);
14996
- __publicField2(this, "priority", 80);
14997
- __publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
15002
+ __publicField(this, "priority", 80);
15003
+ __publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
14998
15004
  }
14999
15005
  parse(dateString, token, match2) {
15000
15006
  switch (token) {
@@ -15035,8 +15041,8 @@ class AMPMMidnightParser extends Parser {
15035
15041
  class DayPeriodParser extends Parser {
15036
15042
  constructor() {
15037
15043
  super(...arguments);
15038
- __publicField2(this, "priority", 80);
15039
- __publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15044
+ __publicField(this, "priority", 80);
15045
+ __publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15040
15046
  }
15041
15047
  parse(dateString, token, match2) {
15042
15048
  switch (token) {
@@ -15077,8 +15083,8 @@ class DayPeriodParser extends Parser {
15077
15083
  class Hour1to12Parser extends Parser {
15078
15084
  constructor() {
15079
15085
  super(...arguments);
15080
- __publicField2(this, "priority", 70);
15081
- __publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15086
+ __publicField(this, "priority", 70);
15087
+ __publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15082
15088
  }
15083
15089
  parse(dateString, token, match2) {
15084
15090
  switch (token) {
@@ -15108,8 +15114,8 @@ class Hour1to12Parser extends Parser {
15108
15114
  class Hour0to23Parser extends Parser {
15109
15115
  constructor() {
15110
15116
  super(...arguments);
15111
- __publicField2(this, "priority", 70);
15112
- __publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15117
+ __publicField(this, "priority", 70);
15118
+ __publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15113
15119
  }
15114
15120
  parse(dateString, token, match2) {
15115
15121
  switch (token) {
@@ -15132,8 +15138,8 @@ class Hour0to23Parser extends Parser {
15132
15138
  class Hour0To11Parser extends Parser {
15133
15139
  constructor() {
15134
15140
  super(...arguments);
15135
- __publicField2(this, "priority", 70);
15136
- __publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15141
+ __publicField(this, "priority", 70);
15142
+ __publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15137
15143
  }
15138
15144
  parse(dateString, token, match2) {
15139
15145
  switch (token) {
@@ -15161,8 +15167,8 @@ class Hour0To11Parser extends Parser {
15161
15167
  class Hour1To24Parser extends Parser {
15162
15168
  constructor() {
15163
15169
  super(...arguments);
15164
- __publicField2(this, "priority", 70);
15165
- __publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15170
+ __publicField(this, "priority", 70);
15171
+ __publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15166
15172
  }
15167
15173
  parse(dateString, token, match2) {
15168
15174
  switch (token) {
@@ -15186,8 +15192,8 @@ class Hour1To24Parser extends Parser {
15186
15192
  class MinuteParser extends Parser {
15187
15193
  constructor() {
15188
15194
  super(...arguments);
15189
- __publicField2(this, "priority", 60);
15190
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15195
+ __publicField(this, "priority", 60);
15196
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15191
15197
  }
15192
15198
  parse(dateString, token, match2) {
15193
15199
  switch (token) {
@@ -15210,8 +15216,8 @@ class MinuteParser extends Parser {
15210
15216
  class SecondParser extends Parser {
15211
15217
  constructor() {
15212
15218
  super(...arguments);
15213
- __publicField2(this, "priority", 50);
15214
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15219
+ __publicField(this, "priority", 50);
15220
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15215
15221
  }
15216
15222
  parse(dateString, token, match2) {
15217
15223
  switch (token) {
@@ -15234,8 +15240,8 @@ class SecondParser extends Parser {
15234
15240
  class FractionOfSecondParser extends Parser {
15235
15241
  constructor() {
15236
15242
  super(...arguments);
15237
- __publicField2(this, "priority", 30);
15238
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15243
+ __publicField(this, "priority", 30);
15244
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15239
15245
  }
15240
15246
  parse(dateString, token) {
15241
15247
  const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
@@ -15249,8 +15255,8 @@ class FractionOfSecondParser extends Parser {
15249
15255
  class ISOTimezoneWithZParser extends Parser {
15250
15256
  constructor() {
15251
15257
  super(...arguments);
15252
- __publicField2(this, "priority", 10);
15253
- __publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
15258
+ __publicField(this, "priority", 10);
15259
+ __publicField(this, "incompatibleTokens", ["t", "T", "x"]);
15254
15260
  }
15255
15261
  parse(dateString, token) {
15256
15262
  switch (token) {
@@ -15287,8 +15293,8 @@ class ISOTimezoneWithZParser extends Parser {
15287
15293
  class ISOTimezoneParser extends Parser {
15288
15294
  constructor() {
15289
15295
  super(...arguments);
15290
- __publicField2(this, "priority", 10);
15291
- __publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
15296
+ __publicField(this, "priority", 10);
15297
+ __publicField(this, "incompatibleTokens", ["t", "T", "X"]);
15292
15298
  }
15293
15299
  parse(dateString, token) {
15294
15300
  switch (token) {
@@ -15325,8 +15331,8 @@ class ISOTimezoneParser extends Parser {
15325
15331
  class TimestampSecondsParser extends Parser {
15326
15332
  constructor() {
15327
15333
  super(...arguments);
15328
- __publicField2(this, "priority", 40);
15329
- __publicField2(this, "incompatibleTokens", "*");
15334
+ __publicField(this, "priority", 40);
15335
+ __publicField(this, "incompatibleTokens", "*");
15330
15336
  }
15331
15337
  parse(dateString) {
15332
15338
  return parseAnyDigitsSigned(dateString);
@@ -15338,8 +15344,8 @@ class TimestampSecondsParser extends Parser {
15338
15344
  class TimestampMillisecondsParser extends Parser {
15339
15345
  constructor() {
15340
15346
  super(...arguments);
15341
- __publicField2(this, "priority", 20);
15342
- __publicField2(this, "incompatibleTokens", "*");
15347
+ __publicField(this, "priority", 20);
15348
+ __publicField(this, "incompatibleTokens", "*");
15343
15349
  }
15344
15350
  parse(dateString) {
15345
15351
  return parseAnyDigitsSigned(dateString);
@@ -20650,7 +20656,7 @@ const _hoisted_3$m = {
20650
20656
  class: "required"
20651
20657
  };
20652
20658
  const _hoisted_4$e = { class: "date-picker-container" };
20653
- const _hoisted_5$d = ["type", "value", "min", "max", "required", "disabled"];
20659
+ const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
20654
20660
  const _hoisted_6$a = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
20655
20661
  const _hoisted_7$7 = { class: "calendar-section border-end m_border-none pe-05 m_p-0" };
20656
20662
  const _hoisted_8$4 = { class: "flex space-between pb-1" };
@@ -21009,7 +21015,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
21009
21015
  class: "date-input",
21010
21016
  onInput: handleInput,
21011
21017
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true)
21012
- }, null, 40, _hoisted_5$d)
21018
+ }, null, 40, _hoisted_5$e)
21013
21019
  ])
21014
21020
  ]),
21015
21021
  _: 1
@@ -21026,7 +21032,7 @@ const _hoisted_3$l = {
21026
21032
  class: "time-wrap"
21027
21033
  };
21028
21034
  const _hoisted_4$d = ["id", "name", "value"];
21029
- const _hoisted_5$c = ["for"];
21035
+ const _hoisted_5$d = ["for"];
21030
21036
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
21031
21037
  __name: "DatePicker",
21032
21038
  props: {
@@ -21088,7 +21094,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
21088
21094
  ]),
21089
21095
  createElementVNode("label", {
21090
21096
  for: `${hr2}_${_ctx.id}`
21091
- }, toDisplayString(hr2), 9, _hoisted_5$c)
21097
+ }, toDisplayString(hr2), 9, _hoisted_5$d)
21092
21098
  ], 64);
21093
21099
  }), 128))
21094
21100
  ])) : createCommentVNode("", true)
@@ -21106,7 +21112,7 @@ const _hoisted_2$p = {
21106
21112
  };
21107
21113
  const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
21108
21114
  const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
21109
- const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
21115
+ const _hoisted_5$c = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
21110
21116
  const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
21111
21117
  const _hoisted_7$6 = {
21112
21118
  key: 1,
@@ -21370,7 +21376,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
21370
21376
  ])), [
21371
21377
  [_directive_lightbox, { src: file.url, download: true }]
21372
21378
  ]),
21373
- createElementVNode("div", _hoisted_5$b, [
21379
+ createElementVNode("div", _hoisted_5$c, [
21374
21380
  createVNode(unref(_sfc_main$q), {
21375
21381
  icon: "draft",
21376
21382
  size: 1.5
@@ -21611,9 +21617,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21611
21617
  });
21612
21618
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
21613
21619
  const _hoisted_1$z = ["for"];
21614
- const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21615
- const _hoisted_3$i = { key: 1 };
21616
- const _hoisted_4$b = {
21620
+ const _hoisted_2$n = { key: 0 };
21621
+ const _hoisted_3$i = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21622
+ const _hoisted_4$b = { key: 1 };
21623
+ const _hoisted_5$b = {
21617
21624
  key: 5,
21618
21625
  class: "flex column spinner"
21619
21626
  };
@@ -21686,7 +21693,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21686
21693
  }])
21687
21694
  }, [
21688
21695
  createElementVNode("div", { for: _ctx.id }, [
21689
- createElementVNode("label", null, toDisplayString(_ctx.label), 1),
21696
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
21690
21697
  createElementVNode("div", {
21691
21698
  class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
21692
21699
  }, [
@@ -21720,7 +21727,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21720
21727
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
21721
21728
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
21722
21729
  ]
21723
- }, null, 42, _hoisted_2$n), [
21730
+ }, null, 42, _hoisted_3$i), [
21724
21731
  [
21725
21732
  vModelText,
21726
21733
  unref(formattedValue),
@@ -21734,7 +21741,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21734
21741
  { number: true }
21735
21742
  ]
21736
21743
  ]),
21737
- _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$i, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
21744
+ _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$b, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
21738
21745
  _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$q), {
21739
21746
  key: 2,
21740
21747
  class: "iconStart",
@@ -21752,7 +21759,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21752
21759
  tabindex: "-1",
21753
21760
  onClick: decrement
21754
21761
  }, null, 8, ["class"])) : createCommentVNode("", true),
21755
- _ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_4$b, [
21762
+ _ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_5$b, [
21756
21763
  createVNode(unref(Btn), {
21757
21764
  icon: "add",
21758
21765
  flat: "",
@@ -21778,7 +21785,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21778
21785
  };
21779
21786
  }
21780
21787
  });
21781
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-eddf76f4"]]);
21788
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-e3916f73"]]);
21782
21789
  const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
21783
21790
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
21784
21791
  __name: "OTP",
@@ -38642,39 +38649,39 @@ function _sfc_render(_ctx, _cache) {
38642
38649
  const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
38643
38650
  class TapDetector {
38644
38651
  constructor() {
38645
- __publicField2(this, "singleTapCallbacks", []);
38646
- __publicField2(this, "doubleTapCallbacks", []);
38647
- __publicField2(this, "isTouchMode", false);
38648
- __publicField2(this, "lastTapTimestamp", 0);
38649
- __publicField2(this, "tappedCount", 0);
38650
- __publicField2(this, "touchMovedLength", 0);
38651
- __publicField2(this, "lastPointerX", 0);
38652
- __publicField2(this, "lastPointerY", 0);
38653
- __publicField2(this, "onTouchStart", (event) => {
38652
+ __publicField(this, "singleTapCallbacks", []);
38653
+ __publicField(this, "doubleTapCallbacks", []);
38654
+ __publicField(this, "isTouchMode", false);
38655
+ __publicField(this, "lastTapTimestamp", 0);
38656
+ __publicField(this, "tappedCount", 0);
38657
+ __publicField(this, "touchMovedLength", 0);
38658
+ __publicField(this, "lastPointerX", 0);
38659
+ __publicField(this, "lastPointerY", 0);
38660
+ __publicField(this, "onTouchStart", (event) => {
38654
38661
  this.isTouchMode = true;
38655
38662
  if (event.touches.length === 1) {
38656
38663
  this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
38657
38664
  }
38658
38665
  });
38659
- __publicField2(this, "onTouchMove", (event) => {
38666
+ __publicField(this, "onTouchMove", (event) => {
38660
38667
  if (event.touches.length === 1) {
38661
38668
  this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
38662
38669
  }
38663
38670
  });
38664
- __publicField2(this, "onTouchEnd", () => {
38671
+ __publicField(this, "onTouchEnd", () => {
38665
38672
  if (this.isTouchMode) this.onPointerUp();
38666
38673
  });
38667
- __publicField2(this, "onMouseDown", (event) => {
38674
+ __publicField(this, "onMouseDown", (event) => {
38668
38675
  if (!this.isTouchMode) {
38669
38676
  this.onPointerDown(event.clientX, event.clientY);
38670
38677
  }
38671
38678
  });
38672
- __publicField2(this, "onMouseMove", (event) => {
38679
+ __publicField(this, "onMouseMove", (event) => {
38673
38680
  if (!this.isTouchMode && event.button === 0) {
38674
38681
  this.onPointerMove(event.clientX, event.clientY);
38675
38682
  }
38676
38683
  });
38677
- __publicField2(this, "onMouseUp", () => {
38684
+ __publicField(this, "onMouseUp", () => {
38678
38685
  if (!this.isTouchMode) this.onPointerUp();
38679
38686
  });
38680
38687
  }
@@ -39147,12 +39154,6 @@ function localRef(key, initialValue) {
39147
39154
  return value;
39148
39155
  }
39149
39156
  const useLocalStorage = localRef;
39150
- var __defProp = Object.defineProperty;
39151
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
39152
- var __publicField = (obj, key, value) => {
39153
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
39154
- return value;
39155
- };
39156
39157
  const axios = axios$1.create({
39157
39158
  withCredentials: true
39158
39159
  });
@@ -39167,8 +39168,7 @@ class DataRequest {
39167
39168
  this.itemID = "";
39168
39169
  }
39169
39170
  async post(item) {
39170
- if (!this.data_table)
39171
- throw new Error("Data table not set");
39171
+ if (!this.data_table) throw new Error("Data table not set");
39172
39172
  const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
39173
39173
  return data2;
39174
39174
  }
@@ -39178,8 +39178,7 @@ class DataRequest {
39178
39178
  }
39179
39179
  async get() {
39180
39180
  var _a2, _b;
39181
- if (!this.data_table)
39182
- throw new Error("Data table not set");
39181
+ if (!this.data_table) throw new Error("Data table not set");
39183
39182
  const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
39184
39183
  const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
39185
39184
  try {
@@ -39196,8 +39195,7 @@ class DataRequest {
39196
39195
  return this;
39197
39196
  }
39198
39197
  async delete() {
39199
- if (!this.data_table)
39200
- throw new Error("Data table not set");
39198
+ if (!this.data_table) throw new Error("Data table not set");
39201
39199
  const { data: data2 } = await axios.delete(
39202
39200
  `/data/${this.data_table}/${this.itemID}`
39203
39201
  );
@@ -39205,10 +39203,8 @@ class DataRequest {
39205
39203
  }
39206
39204
  async put(updatedItem) {
39207
39205
  const { data_table, itemID } = this;
39208
- if (!data_table)
39209
- throw new Error("Data table not set");
39210
- if (!itemID)
39211
- throw new Error("Item ID not set");
39206
+ if (!data_table) throw new Error("Data table not set");
39207
+ if (!itemID) throw new Error("Item ID not set");
39212
39208
  const { data: data2 } = await axios.put(
39213
39209
  `/data/${data_table}/${itemID}`,
39214
39210
  updatedItem
@@ -39225,9 +39221,9 @@ function responses(key) {
39225
39221
  }
39226
39222
  class BagelAuth {
39227
39223
  constructor(bagel) {
39228
- this.bagel = bagel;
39229
39224
  __publicField(this, "user");
39230
39225
  this.bagel = bagel;
39226
+ this.bagel = bagel;
39231
39227
  }
39232
39228
  async validateUser() {
39233
39229
  try {
@@ -39329,12 +39325,10 @@ class Bagel {
39329
39325
  async get(endpoint, query) {
39330
39326
  this._setAuthorization();
39331
39327
  endpoint = this._endpointCleaner(endpoint);
39332
- if (/undefined|null/.test(endpoint))
39333
- throw new Error(`Invalid endpoint: ${endpoint}`);
39328
+ if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
39334
39329
  if (query) {
39335
39330
  const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
39336
- if (queryParams)
39337
- endpoint = `${endpoint}?${queryParams}`;
39331
+ if (queryParams) endpoint = `${endpoint}?${queryParams}`;
39338
39332
  }
39339
39333
  const url = `/${endpoint}`;
39340
39334
  return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
@@ -39389,8 +39383,7 @@ class Bagel {
39389
39383
  const formData = new FormData();
39390
39384
  formData.append("file", file);
39391
39385
  let url = "/static_files/upload";
39392
- if (options == null ? void 0 : options.topic)
39393
- url = `/static_files/upload?topic=${options.topic}`;
39386
+ if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
39394
39387
  const { data: data2 } = await axios.post(url, formData, {
39395
39388
  headers: {
39396
39389
  "Content-Type": "multipart/form-data"