@bagelink/vue 0.0.1178 → 0.0.1182

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/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/ComboBox.vue.d.ts +3 -3
  20. package/dist/components/Comments.vue.d.ts +2 -2
  21. package/dist/components/ContactSubmissions.vue.d.ts +2 -2
  22. package/dist/components/DataPreview.d.ts +42 -0
  23. package/dist/components/DataPreview.d.ts.map +1 -0
  24. package/dist/components/Drop.vue.d.ts +34 -0
  25. package/dist/components/Drop.vue.d.ts.map +1 -0
  26. package/dist/components/FileUploader.vue.d.ts +60 -0
  27. package/dist/components/FileUploader.vue.d.ts.map +1 -0
  28. package/dist/components/Flag.d.ts +20 -0
  29. package/dist/components/Flag.d.ts.map +1 -0
  30. package/dist/components/FormSchema.vue.d.ts +5 -4
  31. package/dist/components/LangText.vue.d.ts +2 -2
  32. package/dist/components/ListItem.d.ts +34 -0
  33. package/dist/components/ListItem.d.ts.map +1 -0
  34. package/dist/components/ListView.d.ts +13 -0
  35. package/dist/components/ListView.d.ts.map +1 -0
  36. package/dist/components/MapEmbed.d.ts +3 -0
  37. package/dist/components/MapEmbed.d.ts.map +1 -0
  38. package/dist/components/MaterialIcon.d.ts +26 -0
  39. package/dist/components/MaterialIcon.d.ts.map +1 -0
  40. package/dist/components/Modal.d.ts +46 -0
  41. package/dist/components/Modal.d.ts.map +1 -0
  42. package/dist/components/ModalBglForm.vue.d.ts +21 -20
  43. package/dist/components/ModalConfirm.d.ts +24 -0
  44. package/dist/components/ModalConfirm.d.ts.map +1 -0
  45. package/dist/components/ModalForm.d.ts +78 -0
  46. package/dist/components/ModalForm.d.ts.map +1 -0
  47. package/dist/components/NavBar.d.ts +64 -0
  48. package/dist/components/NavBar.d.ts.map +1 -0
  49. package/dist/components/PageTitle.d.ts +24 -0
  50. package/dist/components/PageTitle.d.ts.map +1 -0
  51. package/dist/components/PersonPreview.vue.d.ts +5 -4
  52. package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
  53. package/dist/components/RTXEditor.vue.d.ts +3 -3
  54. package/dist/components/RouterWrapper.d.ts +3 -0
  55. package/dist/components/RouterWrapper.d.ts.map +1 -0
  56. package/dist/components/TabbedLayout.vue.d.ts +5 -4
  57. package/dist/components/TableSchema.d.ts +35 -0
  58. package/dist/components/TableSchema.d.ts.map +1 -0
  59. package/dist/components/TableSchema.vue.d.ts +2 -2
  60. package/dist/components/TableSchema.vue.d.ts.map +1 -1
  61. package/dist/components/Title.d.ts +42 -0
  62. package/dist/components/Title.d.ts.map +1 -0
  63. package/dist/components/TopBar.d.ts +12 -0
  64. package/dist/components/TopBar.d.ts.map +1 -0
  65. package/dist/components/charts/BarChart.vue.d.ts +2 -2
  66. package/dist/components/dashboard/Lineart.d.ts +20 -0
  67. package/dist/components/dashboard/Lineart.d.ts.map +1 -0
  68. package/dist/components/form/BglField.d.ts +25 -0
  69. package/dist/components/form/BglField.d.ts.map +1 -0
  70. package/dist/components/form/BglForm.d.ts +75 -0
  71. package/dist/components/form/BglForm.d.ts.map +1 -0
  72. package/dist/components/form/ItemRef.vue.d.ts +5 -3
  73. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  74. package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
  75. package/dist/components/form/PlainInputField.vue.d.ts +3 -3
  76. package/dist/components/form/inputs/CheckInput.d.ts +56 -0
  77. package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
  78. package/dist/components/form/inputs/Checkbox.d.ts +16 -0
  79. package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
  80. package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
  81. package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
  82. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
  83. package/dist/components/form/inputs/DateInput.d.ts +64 -0
  84. package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
  85. package/dist/components/form/inputs/DatePicker.d.ts +33 -0
  86. package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
  87. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
  88. package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
  89. package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
  90. package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
  91. package/dist/components/form/inputs/FileUpload.d.ts +108 -0
  92. package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
  93. package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
  94. package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
  95. package/dist/components/form/inputs/JSONInput.d.ts +53 -0
  96. package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
  97. package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
  98. package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
  99. package/dist/components/form/inputs/Password.vue.d.ts +3 -3
  100. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  101. package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
  102. package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
  103. package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
  104. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
  105. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  106. package/dist/components/form/inputs/RichText.d.ts +20 -0
  107. package/dist/components/form/inputs/RichText.d.ts.map +1 -0
  108. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
  109. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
  110. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
  111. package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
  112. package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
  113. package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
  114. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  115. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  116. package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
  117. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  118. package/dist/components/form/inputs/SelectInput.d.ts +55 -0
  119. package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
  120. package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
  121. package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
  122. package/dist/components/form/inputs/TableField.d.ts +45 -0
  123. package/dist/components/form/inputs/TableField.d.ts.map +1 -0
  124. package/dist/components/form/inputs/TelInput.d.ts +241 -0
  125. package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
  126. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  127. package/dist/components/form/inputs/TextInput.d.ts +90 -0
  128. package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
  129. package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
  130. package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
  131. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  132. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  133. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  134. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  135. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  136. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  137. package/dist/components/layout/BottomMenu.d.ts +27 -0
  138. package/dist/components/layout/BottomMenu.d.ts.map +1 -0
  139. package/dist/components/layout/Layout.d.ts +58 -0
  140. package/dist/components/layout/Layout.d.ts.map +1 -0
  141. package/dist/components/layout/SidebarMenu.d.ts +38 -0
  142. package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
  143. package/dist/components/layout/TabbedLayout.d.ts +42 -0
  144. package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
  145. package/dist/components/layout/Tabs.d.ts +31 -0
  146. package/dist/components/layout/Tabs.d.ts.map +1 -0
  147. package/dist/components/layout/TabsBody.d.ts +23 -0
  148. package/dist/components/layout/TabsBody.d.ts.map +1 -0
  149. package/dist/components/layout/TabsNav.d.ts +35 -0
  150. package/dist/components/layout/TabsNav.d.ts.map +1 -0
  151. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
  152. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  153. package/dist/index.cjs +128 -113
  154. package/dist/index.mjs +128 -113
  155. package/dist/style.css +6 -6
  156. package/dist/styles.css +14073 -0
  157. package/dist/utils/BagelFormUtils.d.ts +24 -8
  158. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  159. package/dist/utils/objects.d.ts +1 -0
  160. package/dist/vue.css +14073 -0
  161. package/package.json +1 -1
  162. package/src/components/form/inputs/NumberInput.vue +1 -1
  163. package/src/utils/BagelFormUtils.ts +9 -9
  164. package/dist/common-C_IH8b5S.cjs +0 -12580
  165. package/dist/common-DoeNgx31.js +0 -12579
  166. package/dist/components/AddressSaerch.vue.d.ts +0 -7
  167. package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
  168. package/dist/components/Popover.vue.d.ts +0 -10
  169. package/dist/components/Popover.vue.d.ts.map +0 -1
  170. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
  171. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
  172. package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
  173. package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
  174. package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
  175. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
  176. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
  177. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
  178. package/dist/components/sortable/Animation.d.ts +0 -43
  179. package/dist/components/sortable/Animation.d.ts.map +0 -1
  180. package/dist/components/sortable/BrowserInfo.d.ts +0 -7
  181. package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
  182. package/dist/components/sortable/EventDispatcher.d.ts +0 -13
  183. package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
  184. package/dist/components/sortable/PluginManager.d.ts +0 -27
  185. package/dist/components/sortable/PluginManager.d.ts.map +0 -1
  186. package/dist/components/sortable/Sortable.d.ts +0 -81
  187. package/dist/components/sortable/Sortable.d.ts.map +0 -1
  188. package/dist/components/sortable/index.d.ts +0 -5
  189. package/dist/components/sortable/index.d.ts.map +0 -1
  190. package/dist/components/sortable/utils.d.ts +0 -49
  191. package/dist/components/sortable/utils.d.ts.map +0 -1
  192. package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
  193. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
  194. package/dist/editor-CUDRLdmS.js +0 -4
  195. package/dist/editor-Cu374vEW.cjs +0 -4
  196. package/dist/editor-a8DSbb6P.js +0 -4
  197. package/dist/editor-xBt_vIha.cjs +0 -4
  198. package/dist/heic2any-8wMqMfB_.js +0 -933
  199. package/dist/heic2any-BrqcNzfV.js +0 -935
  200. package/dist/heic2any-C8KwH72N.cjs +0 -934
  201. package/dist/heic2any-k9wDCKka.cjs +0 -932
  202. package/dist/index-DiG-xM9T.cjs +0 -35016
  203. package/dist/index-nGuSAiY2.js +0 -35017
  204. package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
  205. package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
  206. package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
  207. package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
  208. package/dist/plugins/drag-n-drop/index.d.ts +0 -5
  209. package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
  210. package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
  211. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
  212. package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
  213. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
  214. package/dist/types/materialIcon.d.ts +0 -2
  215. 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, 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, [
@@ -11862,7 +11862,7 @@ const _hoisted_3$n = {
11862
11862
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
11863
11863
  };
11864
11864
  const _hoisted_4$f = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
11865
- const _hoisted_5$e = ["innerHTML"];
11865
+ const _hoisted_5$f = ["innerHTML"];
11866
11866
  const _hoisted_6$b = ["onKeydown"];
11867
11867
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
11868
11868
  __name: "Index",
@@ -11958,7 +11958,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11958
11958
  createElementVNode("code", {
11959
11959
  class: normalizeClass(["absolute inset-0", className.value]),
11960
11960
  innerHTML: highlightedCode.value
11961
- }, null, 10, _hoisted_5$e),
11961
+ }, null, 10, _hoisted_5$f),
11962
11962
  _cache[3] || (_cache[3] = createTextVNode("\n "))
11963
11963
  ]),
11964
11964
  !_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
@@ -13773,7 +13773,7 @@ function transpose(fromDate, constructor) {
13773
13773
  const TIMEZONE_UNIT_PRIORITY = 10;
13774
13774
  class Setter {
13775
13775
  constructor() {
13776
- __publicField(this, "subPriority", 0);
13776
+ __publicField2(this, "subPriority", 0);
13777
13777
  }
13778
13778
  validate(_utcDate, _options) {
13779
13779
  return true;
@@ -13800,8 +13800,8 @@ class ValueSetter extends Setter {
13800
13800
  class DateToSystemTimezoneSetter extends Setter {
13801
13801
  constructor() {
13802
13802
  super(...arguments);
13803
- __publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
13804
- __publicField(this, "subPriority", -1);
13803
+ __publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
13804
+ __publicField2(this, "subPriority", -1);
13805
13805
  }
13806
13806
  set(date2, flags) {
13807
13807
  if (flags.timestampIsSet) return date2;
@@ -13832,8 +13832,8 @@ class Parser {
13832
13832
  class EraParser extends Parser {
13833
13833
  constructor() {
13834
13834
  super(...arguments);
13835
- __publicField(this, "priority", 140);
13836
- __publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13835
+ __publicField2(this, "priority", 140);
13836
+ __publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13837
13837
  }
13838
13838
  parse(dateString, token, match2) {
13839
13839
  switch (token) {
@@ -14011,8 +14011,8 @@ function isLeapYearIndex(year) {
14011
14011
  class YearParser extends Parser {
14012
14012
  constructor() {
14013
14013
  super(...arguments);
14014
- __publicField(this, "priority", 130);
14015
- __publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14014
+ __publicField2(this, "priority", 130);
14015
+ __publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14016
14016
  }
14017
14017
  parse(dateString, token, match2) {
14018
14018
  const valueCallback = (year) => ({
@@ -14056,8 +14056,8 @@ class YearParser extends Parser {
14056
14056
  class LocalWeekYearParser extends Parser {
14057
14057
  constructor() {
14058
14058
  super(...arguments);
14059
- __publicField(this, "priority", 130);
14060
- __publicField(this, "incompatibleTokens", [
14059
+ __publicField2(this, "priority", 130);
14060
+ __publicField2(this, "incompatibleTokens", [
14061
14061
  "y",
14062
14062
  "R",
14063
14063
  "u",
@@ -14119,8 +14119,8 @@ class LocalWeekYearParser extends Parser {
14119
14119
  class ISOWeekYearParser extends Parser {
14120
14120
  constructor() {
14121
14121
  super(...arguments);
14122
- __publicField(this, "priority", 130);
14123
- __publicField(this, "incompatibleTokens", [
14122
+ __publicField2(this, "priority", 130);
14123
+ __publicField2(this, "incompatibleTokens", [
14124
14124
  "G",
14125
14125
  "y",
14126
14126
  "Y",
@@ -14154,8 +14154,8 @@ class ISOWeekYearParser extends Parser {
14154
14154
  class ExtendedYearParser extends Parser {
14155
14155
  constructor() {
14156
14156
  super(...arguments);
14157
- __publicField(this, "priority", 130);
14158
- __publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14157
+ __publicField2(this, "priority", 130);
14158
+ __publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14159
14159
  }
14160
14160
  parse(dateString, token) {
14161
14161
  if (token === "u") {
@@ -14172,8 +14172,8 @@ class ExtendedYearParser extends Parser {
14172
14172
  class QuarterParser extends Parser {
14173
14173
  constructor() {
14174
14174
  super(...arguments);
14175
- __publicField(this, "priority", 120);
14176
- __publicField(this, "incompatibleTokens", [
14175
+ __publicField2(this, "priority", 120);
14176
+ __publicField2(this, "incompatibleTokens", [
14177
14177
  "Y",
14178
14178
  "R",
14179
14179
  "q",
@@ -14241,8 +14241,8 @@ class QuarterParser extends Parser {
14241
14241
  class StandAloneQuarterParser extends Parser {
14242
14242
  constructor() {
14243
14243
  super(...arguments);
14244
- __publicField(this, "priority", 120);
14245
- __publicField(this, "incompatibleTokens", [
14244
+ __publicField2(this, "priority", 120);
14245
+ __publicField2(this, "incompatibleTokens", [
14246
14246
  "Y",
14247
14247
  "R",
14248
14248
  "Q",
@@ -14310,7 +14310,7 @@ class StandAloneQuarterParser extends Parser {
14310
14310
  class MonthParser extends Parser {
14311
14311
  constructor() {
14312
14312
  super(...arguments);
14313
- __publicField(this, "incompatibleTokens", [
14313
+ __publicField2(this, "incompatibleTokens", [
14314
14314
  "Y",
14315
14315
  "R",
14316
14316
  "q",
@@ -14325,7 +14325,7 @@ class MonthParser extends Parser {
14325
14325
  "t",
14326
14326
  "T"
14327
14327
  ]);
14328
- __publicField(this, "priority", 110);
14328
+ __publicField2(this, "priority", 110);
14329
14329
  }
14330
14330
  parse(dateString, token, match2) {
14331
14331
  const valueCallback = (value) => value - 1;
@@ -14380,8 +14380,8 @@ class MonthParser extends Parser {
14380
14380
  class StandAloneMonthParser extends Parser {
14381
14381
  constructor() {
14382
14382
  super(...arguments);
14383
- __publicField(this, "priority", 110);
14384
- __publicField(this, "incompatibleTokens", [
14383
+ __publicField2(this, "priority", 110);
14384
+ __publicField2(this, "incompatibleTokens", [
14385
14385
  "Y",
14386
14386
  "R",
14387
14387
  "q",
@@ -14456,8 +14456,8 @@ function setWeek(date2, week, options) {
14456
14456
  class LocalWeekParser extends Parser {
14457
14457
  constructor() {
14458
14458
  super(...arguments);
14459
- __publicField(this, "priority", 100);
14460
- __publicField(this, "incompatibleTokens", [
14459
+ __publicField2(this, "priority", 100);
14460
+ __publicField2(this, "incompatibleTokens", [
14461
14461
  "y",
14462
14462
  "R",
14463
14463
  "u",
@@ -14499,8 +14499,8 @@ function setISOWeek(date2, week) {
14499
14499
  class ISOWeekParser extends Parser {
14500
14500
  constructor() {
14501
14501
  super(...arguments);
14502
- __publicField(this, "priority", 100);
14503
- __publicField(this, "incompatibleTokens", [
14502
+ __publicField2(this, "priority", 100);
14503
+ __publicField2(this, "incompatibleTokens", [
14504
14504
  "y",
14505
14505
  "Y",
14506
14506
  "u",
@@ -14552,9 +14552,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
14552
14552
  class DateParser extends Parser {
14553
14553
  constructor() {
14554
14554
  super(...arguments);
14555
- __publicField(this, "priority", 90);
14556
- __publicField(this, "subPriority", 1);
14557
- __publicField(this, "incompatibleTokens", [
14555
+ __publicField2(this, "priority", 90);
14556
+ __publicField2(this, "subPriority", 1);
14557
+ __publicField2(this, "incompatibleTokens", [
14558
14558
  "Y",
14559
14559
  "R",
14560
14560
  "q",
@@ -14598,9 +14598,9 @@ class DateParser extends Parser {
14598
14598
  class DayOfYearParser extends Parser {
14599
14599
  constructor() {
14600
14600
  super(...arguments);
14601
- __publicField(this, "priority", 90);
14602
- __publicField(this, "subpriority", 1);
14603
- __publicField(this, "incompatibleTokens", [
14601
+ __publicField2(this, "priority", 90);
14602
+ __publicField2(this, "subpriority", 1);
14603
+ __publicField2(this, "incompatibleTokens", [
14604
14604
  "Y",
14605
14605
  "R",
14606
14606
  "q",
@@ -14659,8 +14659,8 @@ function setDay(date2, day, options) {
14659
14659
  class DayParser extends Parser {
14660
14660
  constructor() {
14661
14661
  super(...arguments);
14662
- __publicField(this, "priority", 90);
14663
- __publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14662
+ __publicField2(this, "priority", 90);
14663
+ __publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14664
14664
  }
14665
14665
  parse(dateString, token, match2) {
14666
14666
  switch (token) {
@@ -14702,8 +14702,8 @@ class DayParser extends Parser {
14702
14702
  class LocalDayParser extends Parser {
14703
14703
  constructor() {
14704
14704
  super(...arguments);
14705
- __publicField(this, "priority", 90);
14706
- __publicField(this, "incompatibleTokens", [
14705
+ __publicField2(this, "priority", 90);
14706
+ __publicField2(this, "incompatibleTokens", [
14707
14707
  "y",
14708
14708
  "R",
14709
14709
  "u",
@@ -14775,8 +14775,8 @@ class LocalDayParser extends Parser {
14775
14775
  class StandAloneLocalDayParser extends Parser {
14776
14776
  constructor() {
14777
14777
  super(...arguments);
14778
- __publicField(this, "priority", 90);
14779
- __publicField(this, "incompatibleTokens", [
14778
+ __publicField2(this, "priority", 90);
14779
+ __publicField2(this, "incompatibleTokens", [
14780
14780
  "y",
14781
14781
  "R",
14782
14782
  "u",
@@ -14854,8 +14854,8 @@ function setISODay(date2, day) {
14854
14854
  class ISODayParser extends Parser {
14855
14855
  constructor() {
14856
14856
  super(...arguments);
14857
- __publicField(this, "priority", 90);
14858
- __publicField(this, "incompatibleTokens", [
14857
+ __publicField2(this, "priority", 90);
14858
+ __publicField2(this, "incompatibleTokens", [
14859
14859
  "y",
14860
14860
  "Y",
14861
14861
  "u",
@@ -14957,8 +14957,8 @@ class ISODayParser extends Parser {
14957
14957
  class AMPMParser extends Parser {
14958
14958
  constructor() {
14959
14959
  super(...arguments);
14960
- __publicField(this, "priority", 80);
14961
- __publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14960
+ __publicField2(this, "priority", 80);
14961
+ __publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14962
14962
  }
14963
14963
  parse(dateString, token, match2) {
14964
14964
  switch (token) {
@@ -14999,8 +14999,8 @@ class AMPMParser extends Parser {
14999
14999
  class AMPMMidnightParser extends Parser {
15000
15000
  constructor() {
15001
15001
  super(...arguments);
15002
- __publicField(this, "priority", 80);
15003
- __publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
15002
+ __publicField2(this, "priority", 80);
15003
+ __publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
15004
15004
  }
15005
15005
  parse(dateString, token, match2) {
15006
15006
  switch (token) {
@@ -15041,8 +15041,8 @@ class AMPMMidnightParser extends Parser {
15041
15041
  class DayPeriodParser extends Parser {
15042
15042
  constructor() {
15043
15043
  super(...arguments);
15044
- __publicField(this, "priority", 80);
15045
- __publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15044
+ __publicField2(this, "priority", 80);
15045
+ __publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15046
15046
  }
15047
15047
  parse(dateString, token, match2) {
15048
15048
  switch (token) {
@@ -15083,8 +15083,8 @@ class DayPeriodParser extends Parser {
15083
15083
  class Hour1to12Parser extends Parser {
15084
15084
  constructor() {
15085
15085
  super(...arguments);
15086
- __publicField(this, "priority", 70);
15087
- __publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15086
+ __publicField2(this, "priority", 70);
15087
+ __publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15088
15088
  }
15089
15089
  parse(dateString, token, match2) {
15090
15090
  switch (token) {
@@ -15114,8 +15114,8 @@ class Hour1to12Parser extends Parser {
15114
15114
  class Hour0to23Parser extends Parser {
15115
15115
  constructor() {
15116
15116
  super(...arguments);
15117
- __publicField(this, "priority", 70);
15118
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15117
+ __publicField2(this, "priority", 70);
15118
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15119
15119
  }
15120
15120
  parse(dateString, token, match2) {
15121
15121
  switch (token) {
@@ -15138,8 +15138,8 @@ class Hour0to23Parser extends Parser {
15138
15138
  class Hour0To11Parser extends Parser {
15139
15139
  constructor() {
15140
15140
  super(...arguments);
15141
- __publicField(this, "priority", 70);
15142
- __publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15141
+ __publicField2(this, "priority", 70);
15142
+ __publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15143
15143
  }
15144
15144
  parse(dateString, token, match2) {
15145
15145
  switch (token) {
@@ -15167,8 +15167,8 @@ class Hour0To11Parser extends Parser {
15167
15167
  class Hour1To24Parser extends Parser {
15168
15168
  constructor() {
15169
15169
  super(...arguments);
15170
- __publicField(this, "priority", 70);
15171
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15170
+ __publicField2(this, "priority", 70);
15171
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15172
15172
  }
15173
15173
  parse(dateString, token, match2) {
15174
15174
  switch (token) {
@@ -15192,8 +15192,8 @@ class Hour1To24Parser extends Parser {
15192
15192
  class MinuteParser extends Parser {
15193
15193
  constructor() {
15194
15194
  super(...arguments);
15195
- __publicField(this, "priority", 60);
15196
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15195
+ __publicField2(this, "priority", 60);
15196
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15197
15197
  }
15198
15198
  parse(dateString, token, match2) {
15199
15199
  switch (token) {
@@ -15216,8 +15216,8 @@ class MinuteParser extends Parser {
15216
15216
  class SecondParser extends Parser {
15217
15217
  constructor() {
15218
15218
  super(...arguments);
15219
- __publicField(this, "priority", 50);
15220
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15219
+ __publicField2(this, "priority", 50);
15220
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15221
15221
  }
15222
15222
  parse(dateString, token, match2) {
15223
15223
  switch (token) {
@@ -15240,8 +15240,8 @@ class SecondParser extends Parser {
15240
15240
  class FractionOfSecondParser extends Parser {
15241
15241
  constructor() {
15242
15242
  super(...arguments);
15243
- __publicField(this, "priority", 30);
15244
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15243
+ __publicField2(this, "priority", 30);
15244
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15245
15245
  }
15246
15246
  parse(dateString, token) {
15247
15247
  const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
@@ -15255,8 +15255,8 @@ class FractionOfSecondParser extends Parser {
15255
15255
  class ISOTimezoneWithZParser extends Parser {
15256
15256
  constructor() {
15257
15257
  super(...arguments);
15258
- __publicField(this, "priority", 10);
15259
- __publicField(this, "incompatibleTokens", ["t", "T", "x"]);
15258
+ __publicField2(this, "priority", 10);
15259
+ __publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
15260
15260
  }
15261
15261
  parse(dateString, token) {
15262
15262
  switch (token) {
@@ -15293,8 +15293,8 @@ class ISOTimezoneWithZParser extends Parser {
15293
15293
  class ISOTimezoneParser extends Parser {
15294
15294
  constructor() {
15295
15295
  super(...arguments);
15296
- __publicField(this, "priority", 10);
15297
- __publicField(this, "incompatibleTokens", ["t", "T", "X"]);
15296
+ __publicField2(this, "priority", 10);
15297
+ __publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
15298
15298
  }
15299
15299
  parse(dateString, token) {
15300
15300
  switch (token) {
@@ -15331,8 +15331,8 @@ class ISOTimezoneParser extends Parser {
15331
15331
  class TimestampSecondsParser extends Parser {
15332
15332
  constructor() {
15333
15333
  super(...arguments);
15334
- __publicField(this, "priority", 40);
15335
- __publicField(this, "incompatibleTokens", "*");
15334
+ __publicField2(this, "priority", 40);
15335
+ __publicField2(this, "incompatibleTokens", "*");
15336
15336
  }
15337
15337
  parse(dateString) {
15338
15338
  return parseAnyDigitsSigned(dateString);
@@ -15344,8 +15344,8 @@ class TimestampSecondsParser extends Parser {
15344
15344
  class TimestampMillisecondsParser extends Parser {
15345
15345
  constructor() {
15346
15346
  super(...arguments);
15347
- __publicField(this, "priority", 20);
15348
- __publicField(this, "incompatibleTokens", "*");
15347
+ __publicField2(this, "priority", 20);
15348
+ __publicField2(this, "incompatibleTokens", "*");
15349
15349
  }
15350
15350
  parse(dateString) {
15351
15351
  return parseAnyDigitsSigned(dateString);
@@ -20656,7 +20656,7 @@ const _hoisted_3$m = {
20656
20656
  class: "required"
20657
20657
  };
20658
20658
  const _hoisted_4$e = { class: "date-picker-container" };
20659
- const _hoisted_5$d = ["type", "value", "min", "max", "required", "disabled"];
20659
+ const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
20660
20660
  const _hoisted_6$a = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
20661
20661
  const _hoisted_7$7 = { class: "calendar-section border-end m_border-none pe-05 m_p-0" };
20662
20662
  const _hoisted_8$4 = { class: "flex space-between pb-1" };
@@ -21015,7 +21015,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
21015
21015
  class: "date-input",
21016
21016
  onInput: handleInput,
21017
21017
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true)
21018
- }, null, 40, _hoisted_5$d)
21018
+ }, null, 40, _hoisted_5$e)
21019
21019
  ])
21020
21020
  ]),
21021
21021
  _: 1
@@ -21032,7 +21032,7 @@ const _hoisted_3$l = {
21032
21032
  class: "time-wrap"
21033
21033
  };
21034
21034
  const _hoisted_4$d = ["id", "name", "value"];
21035
- const _hoisted_5$c = ["for"];
21035
+ const _hoisted_5$d = ["for"];
21036
21036
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
21037
21037
  __name: "DatePicker",
21038
21038
  props: {
@@ -21094,7 +21094,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
21094
21094
  ]),
21095
21095
  createElementVNode("label", {
21096
21096
  for: `${hr2}_${_ctx.id}`
21097
- }, toDisplayString(hr2), 9, _hoisted_5$c)
21097
+ }, toDisplayString(hr2), 9, _hoisted_5$d)
21098
21098
  ], 64);
21099
21099
  }), 128))
21100
21100
  ])) : createCommentVNode("", true)
@@ -21112,7 +21112,7 @@ const _hoisted_2$p = {
21112
21112
  };
21113
21113
  const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
21114
21114
  const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
21115
- 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" };
21116
21116
  const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
21117
21117
  const _hoisted_7$6 = {
21118
21118
  key: 1,
@@ -21376,7 +21376,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
21376
21376
  ])), [
21377
21377
  [_directive_lightbox, { src: file.url, download: true }]
21378
21378
  ]),
21379
- createElementVNode("div", _hoisted_5$b, [
21379
+ createElementVNode("div", _hoisted_5$c, [
21380
21380
  createVNode(unref(_sfc_main$q), {
21381
21381
  icon: "draft",
21382
21382
  size: 1.5
@@ -21617,9 +21617,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21617
21617
  });
21618
21618
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
21619
21619
  const _hoisted_1$z = ["for"];
21620
- const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21621
- const _hoisted_3$i = { key: 1 };
21622
- 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 = {
21623
21624
  key: 5,
21624
21625
  class: "flex column spinner"
21625
21626
  };
@@ -21692,7 +21693,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21692
21693
  }])
21693
21694
  }, [
21694
21695
  createElementVNode("div", { for: _ctx.id }, [
21695
- createElementVNode("label", null, toDisplayString(_ctx.label), 1),
21696
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
21696
21697
  createElementVNode("div", {
21697
21698
  class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
21698
21699
  }, [
@@ -21726,7 +21727,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21726
21727
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
21727
21728
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
21728
21729
  ]
21729
- }, null, 42, _hoisted_2$n), [
21730
+ }, null, 42, _hoisted_3$i), [
21730
21731
  [
21731
21732
  vModelText,
21732
21733
  unref(formattedValue),
@@ -21740,7 +21741,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21740
21741
  { number: true }
21741
21742
  ]
21742
21743
  ]),
21743
- _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),
21744
21745
  _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$q), {
21745
21746
  key: 2,
21746
21747
  class: "iconStart",
@@ -21758,7 +21759,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21758
21759
  tabindex: "-1",
21759
21760
  onClick: decrement
21760
21761
  }, null, 8, ["class"])) : createCommentVNode("", true),
21761
- _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, [
21762
21763
  createVNode(unref(Btn), {
21763
21764
  icon: "add",
21764
21765
  flat: "",
@@ -21784,7 +21785,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21784
21785
  };
21785
21786
  }
21786
21787
  });
21787
- 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"]]);
21788
21789
  const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
21789
21790
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
21790
21791
  __name: "OTP",
@@ -38648,39 +38649,39 @@ function _sfc_render(_ctx, _cache) {
38648
38649
  const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
38649
38650
  class TapDetector {
38650
38651
  constructor() {
38651
- __publicField(this, "singleTapCallbacks", []);
38652
- __publicField(this, "doubleTapCallbacks", []);
38653
- __publicField(this, "isTouchMode", false);
38654
- __publicField(this, "lastTapTimestamp", 0);
38655
- __publicField(this, "tappedCount", 0);
38656
- __publicField(this, "touchMovedLength", 0);
38657
- __publicField(this, "lastPointerX", 0);
38658
- __publicField(this, "lastPointerY", 0);
38659
- __publicField(this, "onTouchStart", (event) => {
38652
+ __publicField2(this, "singleTapCallbacks", []);
38653
+ __publicField2(this, "doubleTapCallbacks", []);
38654
+ __publicField2(this, "isTouchMode", false);
38655
+ __publicField2(this, "lastTapTimestamp", 0);
38656
+ __publicField2(this, "tappedCount", 0);
38657
+ __publicField2(this, "touchMovedLength", 0);
38658
+ __publicField2(this, "lastPointerX", 0);
38659
+ __publicField2(this, "lastPointerY", 0);
38660
+ __publicField2(this, "onTouchStart", (event) => {
38660
38661
  this.isTouchMode = true;
38661
38662
  if (event.touches.length === 1) {
38662
38663
  this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
38663
38664
  }
38664
38665
  });
38665
- __publicField(this, "onTouchMove", (event) => {
38666
+ __publicField2(this, "onTouchMove", (event) => {
38666
38667
  if (event.touches.length === 1) {
38667
38668
  this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
38668
38669
  }
38669
38670
  });
38670
- __publicField(this, "onTouchEnd", () => {
38671
+ __publicField2(this, "onTouchEnd", () => {
38671
38672
  if (this.isTouchMode) this.onPointerUp();
38672
38673
  });
38673
- __publicField(this, "onMouseDown", (event) => {
38674
+ __publicField2(this, "onMouseDown", (event) => {
38674
38675
  if (!this.isTouchMode) {
38675
38676
  this.onPointerDown(event.clientX, event.clientY);
38676
38677
  }
38677
38678
  });
38678
- __publicField(this, "onMouseMove", (event) => {
38679
+ __publicField2(this, "onMouseMove", (event) => {
38679
38680
  if (!this.isTouchMode && event.button === 0) {
38680
38681
  this.onPointerMove(event.clientX, event.clientY);
38681
38682
  }
38682
38683
  });
38683
- __publicField(this, "onMouseUp", () => {
38684
+ __publicField2(this, "onMouseUp", () => {
38684
38685
  if (!this.isTouchMode) this.onPointerUp();
38685
38686
  });
38686
38687
  }
@@ -39153,6 +39154,12 @@ function localRef(key, initialValue) {
39153
39154
  return value;
39154
39155
  }
39155
39156
  const useLocalStorage = localRef;
39157
+ var __defProp = Object.defineProperty;
39158
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
39159
+ var __publicField = (obj, key, value) => {
39160
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
39161
+ return value;
39162
+ };
39156
39163
  const axios = axios$1.create({
39157
39164
  withCredentials: true
39158
39165
  });
@@ -39167,7 +39174,8 @@ class DataRequest {
39167
39174
  this.itemID = "";
39168
39175
  }
39169
39176
  async post(item) {
39170
- if (!this.data_table) throw new Error("Data table not set");
39177
+ if (!this.data_table)
39178
+ throw new Error("Data table not set");
39171
39179
  const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
39172
39180
  return data2;
39173
39181
  }
@@ -39177,7 +39185,8 @@ class DataRequest {
39177
39185
  }
39178
39186
  async get() {
39179
39187
  var _a2, _b;
39180
- if (!this.data_table) throw new Error("Data table not set");
39188
+ if (!this.data_table)
39189
+ throw new Error("Data table not set");
39181
39190
  const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
39182
39191
  const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
39183
39192
  try {
@@ -39194,7 +39203,8 @@ class DataRequest {
39194
39203
  return this;
39195
39204
  }
39196
39205
  async delete() {
39197
- if (!this.data_table) throw new Error("Data table not set");
39206
+ if (!this.data_table)
39207
+ throw new Error("Data table not set");
39198
39208
  const { data: data2 } = await axios.delete(
39199
39209
  `/data/${this.data_table}/${this.itemID}`
39200
39210
  );
@@ -39202,8 +39212,10 @@ class DataRequest {
39202
39212
  }
39203
39213
  async put(updatedItem) {
39204
39214
  const { data_table, itemID } = this;
39205
- if (!data_table) throw new Error("Data table not set");
39206
- if (!itemID) throw new Error("Item ID not set");
39215
+ if (!data_table)
39216
+ throw new Error("Data table not set");
39217
+ if (!itemID)
39218
+ throw new Error("Item ID not set");
39207
39219
  const { data: data2 } = await axios.put(
39208
39220
  `/data/${data_table}/${itemID}`,
39209
39221
  updatedItem
@@ -39220,8 +39232,8 @@ function responses(key) {
39220
39232
  }
39221
39233
  class BagelAuth {
39222
39234
  constructor(bagel) {
39223
- __publicField(this, "user");
39224
39235
  this.bagel = bagel;
39236
+ __publicField(this, "user");
39225
39237
  this.bagel = bagel;
39226
39238
  }
39227
39239
  async validateUser() {
@@ -39324,10 +39336,12 @@ class Bagel {
39324
39336
  async get(endpoint, query) {
39325
39337
  this._setAuthorization();
39326
39338
  endpoint = this._endpointCleaner(endpoint);
39327
- if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
39339
+ if (/undefined|null/.test(endpoint))
39340
+ throw new Error(`Invalid endpoint: ${endpoint}`);
39328
39341
  if (query) {
39329
39342
  const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
39330
- if (queryParams) endpoint = `${endpoint}?${queryParams}`;
39343
+ if (queryParams)
39344
+ endpoint = `${endpoint}?${queryParams}`;
39331
39345
  }
39332
39346
  const url = `/${endpoint}`;
39333
39347
  return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
@@ -39382,7 +39396,8 @@ class Bagel {
39382
39396
  const formData = new FormData();
39383
39397
  formData.append("file", file);
39384
39398
  let url = "/static_files/upload";
39385
- if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
39399
+ if (options == null ? void 0 : options.topic)
39400
+ url = `/static_files/upload?topic=${options.topic}`;
39386
39401
  const { data: data2 } = await axios.post(url, formData, {
39387
39402
  headers: {
39388
39403
  "Content-Type": "multipart/form-data"