@bagelink/vue 0.0.1174 → 0.0.1176

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 (212) 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/Password.vue.d.ts +3 -3
  99. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  100. package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
  101. package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
  102. package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
  103. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
  104. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  105. package/dist/components/form/inputs/RichText.d.ts +20 -0
  106. package/dist/components/form/inputs/RichText.d.ts.map +1 -0
  107. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
  108. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
  109. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
  110. package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
  111. package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
  112. package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
  113. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  114. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  115. package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
  116. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  117. package/dist/components/form/inputs/SelectInput.d.ts +55 -0
  118. package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
  119. package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
  120. package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
  121. package/dist/components/form/inputs/TableField.d.ts +45 -0
  122. package/dist/components/form/inputs/TableField.d.ts.map +1 -0
  123. package/dist/components/form/inputs/TelInput.d.ts +241 -0
  124. package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
  125. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  126. package/dist/components/form/inputs/TextInput.d.ts +90 -0
  127. package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
  128. package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
  129. package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
  130. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  131. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  132. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  133. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  134. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  135. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  136. package/dist/components/layout/BottomMenu.d.ts +27 -0
  137. package/dist/components/layout/BottomMenu.d.ts.map +1 -0
  138. package/dist/components/layout/Layout.d.ts +58 -0
  139. package/dist/components/layout/Layout.d.ts.map +1 -0
  140. package/dist/components/layout/SidebarMenu.d.ts +38 -0
  141. package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
  142. package/dist/components/layout/TabbedLayout.d.ts +42 -0
  143. package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
  144. package/dist/components/layout/Tabs.d.ts +31 -0
  145. package/dist/components/layout/Tabs.d.ts.map +1 -0
  146. package/dist/components/layout/TabsBody.d.ts +23 -0
  147. package/dist/components/layout/TabsBody.d.ts.map +1 -0
  148. package/dist/components/layout/TabsNav.d.ts +35 -0
  149. package/dist/components/layout/TabsNav.d.ts.map +1 -0
  150. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
  151. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  152. package/dist/index.cjs +107 -93
  153. package/dist/index.mjs +107 -93
  154. package/dist/styles.css +14073 -0
  155. package/dist/utils/BagelFormUtils.d.ts +10 -10
  156. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  157. package/dist/utils/objects.d.ts +1 -0
  158. package/dist/vue.css +14073 -0
  159. package/package.json +2 -2
  160. package/src/utils/BagelFormUtils.ts +23 -14
  161. package/dist/common-C_IH8b5S.cjs +0 -12580
  162. package/dist/common-DoeNgx31.js +0 -12579
  163. package/dist/components/AddressSaerch.vue.d.ts +0 -7
  164. package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
  165. package/dist/components/Popover.vue.d.ts +0 -10
  166. package/dist/components/Popover.vue.d.ts.map +0 -1
  167. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
  168. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
  169. package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
  170. package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
  171. package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
  172. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
  173. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
  174. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
  175. package/dist/components/sortable/Animation.d.ts +0 -43
  176. package/dist/components/sortable/Animation.d.ts.map +0 -1
  177. package/dist/components/sortable/BrowserInfo.d.ts +0 -7
  178. package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
  179. package/dist/components/sortable/EventDispatcher.d.ts +0 -13
  180. package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
  181. package/dist/components/sortable/PluginManager.d.ts +0 -27
  182. package/dist/components/sortable/PluginManager.d.ts.map +0 -1
  183. package/dist/components/sortable/Sortable.d.ts +0 -81
  184. package/dist/components/sortable/Sortable.d.ts.map +0 -1
  185. package/dist/components/sortable/index.d.ts +0 -5
  186. package/dist/components/sortable/index.d.ts.map +0 -1
  187. package/dist/components/sortable/utils.d.ts +0 -49
  188. package/dist/components/sortable/utils.d.ts.map +0 -1
  189. package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
  190. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
  191. package/dist/editor-CUDRLdmS.js +0 -4
  192. package/dist/editor-Cu374vEW.cjs +0 -4
  193. package/dist/editor-a8DSbb6P.js +0 -4
  194. package/dist/editor-xBt_vIha.cjs +0 -4
  195. package/dist/heic2any-8wMqMfB_.js +0 -933
  196. package/dist/heic2any-BrqcNzfV.js +0 -935
  197. package/dist/heic2any-C8KwH72N.cjs +0 -934
  198. package/dist/heic2any-k9wDCKka.cjs +0 -932
  199. package/dist/index-DiG-xM9T.cjs +0 -35016
  200. package/dist/index-nGuSAiY2.js +0 -35017
  201. package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
  202. package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
  203. package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
  204. package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
  205. package/dist/plugins/drag-n-drop/index.d.ts +0 -5
  206. package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
  207. package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
  208. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
  209. package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
  210. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
  211. package/dist/types/materialIcon.d.ts +0 -2
  212. 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({
@@ -13767,7 +13767,7 @@ function transpose(fromDate, constructor) {
13767
13767
  const TIMEZONE_UNIT_PRIORITY = 10;
13768
13768
  class Setter {
13769
13769
  constructor() {
13770
- __publicField(this, "subPriority", 0);
13770
+ __publicField2(this, "subPriority", 0);
13771
13771
  }
13772
13772
  validate(_utcDate, _options) {
13773
13773
  return true;
@@ -13794,8 +13794,8 @@ class ValueSetter extends Setter {
13794
13794
  class DateToSystemTimezoneSetter extends Setter {
13795
13795
  constructor() {
13796
13796
  super(...arguments);
13797
- __publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
13798
- __publicField(this, "subPriority", -1);
13797
+ __publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
13798
+ __publicField2(this, "subPriority", -1);
13799
13799
  }
13800
13800
  set(date2, flags) {
13801
13801
  if (flags.timestampIsSet) return date2;
@@ -13826,8 +13826,8 @@ class Parser {
13826
13826
  class EraParser extends Parser {
13827
13827
  constructor() {
13828
13828
  super(...arguments);
13829
- __publicField(this, "priority", 140);
13830
- __publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13829
+ __publicField2(this, "priority", 140);
13830
+ __publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13831
13831
  }
13832
13832
  parse(dateString, token, match2) {
13833
13833
  switch (token) {
@@ -14005,8 +14005,8 @@ function isLeapYearIndex(year) {
14005
14005
  class YearParser extends Parser {
14006
14006
  constructor() {
14007
14007
  super(...arguments);
14008
- __publicField(this, "priority", 130);
14009
- __publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14008
+ __publicField2(this, "priority", 130);
14009
+ __publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14010
14010
  }
14011
14011
  parse(dateString, token, match2) {
14012
14012
  const valueCallback = (year) => ({
@@ -14050,8 +14050,8 @@ class YearParser extends Parser {
14050
14050
  class LocalWeekYearParser extends Parser {
14051
14051
  constructor() {
14052
14052
  super(...arguments);
14053
- __publicField(this, "priority", 130);
14054
- __publicField(this, "incompatibleTokens", [
14053
+ __publicField2(this, "priority", 130);
14054
+ __publicField2(this, "incompatibleTokens", [
14055
14055
  "y",
14056
14056
  "R",
14057
14057
  "u",
@@ -14113,8 +14113,8 @@ class LocalWeekYearParser extends Parser {
14113
14113
  class ISOWeekYearParser extends Parser {
14114
14114
  constructor() {
14115
14115
  super(...arguments);
14116
- __publicField(this, "priority", 130);
14117
- __publicField(this, "incompatibleTokens", [
14116
+ __publicField2(this, "priority", 130);
14117
+ __publicField2(this, "incompatibleTokens", [
14118
14118
  "G",
14119
14119
  "y",
14120
14120
  "Y",
@@ -14148,8 +14148,8 @@ class ISOWeekYearParser extends Parser {
14148
14148
  class ExtendedYearParser extends Parser {
14149
14149
  constructor() {
14150
14150
  super(...arguments);
14151
- __publicField(this, "priority", 130);
14152
- __publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14151
+ __publicField2(this, "priority", 130);
14152
+ __publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14153
14153
  }
14154
14154
  parse(dateString, token) {
14155
14155
  if (token === "u") {
@@ -14166,8 +14166,8 @@ class ExtendedYearParser extends Parser {
14166
14166
  class QuarterParser extends Parser {
14167
14167
  constructor() {
14168
14168
  super(...arguments);
14169
- __publicField(this, "priority", 120);
14170
- __publicField(this, "incompatibleTokens", [
14169
+ __publicField2(this, "priority", 120);
14170
+ __publicField2(this, "incompatibleTokens", [
14171
14171
  "Y",
14172
14172
  "R",
14173
14173
  "q",
@@ -14235,8 +14235,8 @@ class QuarterParser extends Parser {
14235
14235
  class StandAloneQuarterParser extends Parser {
14236
14236
  constructor() {
14237
14237
  super(...arguments);
14238
- __publicField(this, "priority", 120);
14239
- __publicField(this, "incompatibleTokens", [
14238
+ __publicField2(this, "priority", 120);
14239
+ __publicField2(this, "incompatibleTokens", [
14240
14240
  "Y",
14241
14241
  "R",
14242
14242
  "Q",
@@ -14304,7 +14304,7 @@ class StandAloneQuarterParser extends Parser {
14304
14304
  class MonthParser extends Parser {
14305
14305
  constructor() {
14306
14306
  super(...arguments);
14307
- __publicField(this, "incompatibleTokens", [
14307
+ __publicField2(this, "incompatibleTokens", [
14308
14308
  "Y",
14309
14309
  "R",
14310
14310
  "q",
@@ -14319,7 +14319,7 @@ class MonthParser extends Parser {
14319
14319
  "t",
14320
14320
  "T"
14321
14321
  ]);
14322
- __publicField(this, "priority", 110);
14322
+ __publicField2(this, "priority", 110);
14323
14323
  }
14324
14324
  parse(dateString, token, match2) {
14325
14325
  const valueCallback = (value) => value - 1;
@@ -14374,8 +14374,8 @@ class MonthParser extends Parser {
14374
14374
  class StandAloneMonthParser extends Parser {
14375
14375
  constructor() {
14376
14376
  super(...arguments);
14377
- __publicField(this, "priority", 110);
14378
- __publicField(this, "incompatibleTokens", [
14377
+ __publicField2(this, "priority", 110);
14378
+ __publicField2(this, "incompatibleTokens", [
14379
14379
  "Y",
14380
14380
  "R",
14381
14381
  "q",
@@ -14450,8 +14450,8 @@ function setWeek(date2, week, options) {
14450
14450
  class LocalWeekParser extends Parser {
14451
14451
  constructor() {
14452
14452
  super(...arguments);
14453
- __publicField(this, "priority", 100);
14454
- __publicField(this, "incompatibleTokens", [
14453
+ __publicField2(this, "priority", 100);
14454
+ __publicField2(this, "incompatibleTokens", [
14455
14455
  "y",
14456
14456
  "R",
14457
14457
  "u",
@@ -14493,8 +14493,8 @@ function setISOWeek(date2, week) {
14493
14493
  class ISOWeekParser extends Parser {
14494
14494
  constructor() {
14495
14495
  super(...arguments);
14496
- __publicField(this, "priority", 100);
14497
- __publicField(this, "incompatibleTokens", [
14496
+ __publicField2(this, "priority", 100);
14497
+ __publicField2(this, "incompatibleTokens", [
14498
14498
  "y",
14499
14499
  "Y",
14500
14500
  "u",
@@ -14546,9 +14546,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
14546
14546
  class DateParser extends Parser {
14547
14547
  constructor() {
14548
14548
  super(...arguments);
14549
- __publicField(this, "priority", 90);
14550
- __publicField(this, "subPriority", 1);
14551
- __publicField(this, "incompatibleTokens", [
14549
+ __publicField2(this, "priority", 90);
14550
+ __publicField2(this, "subPriority", 1);
14551
+ __publicField2(this, "incompatibleTokens", [
14552
14552
  "Y",
14553
14553
  "R",
14554
14554
  "q",
@@ -14592,9 +14592,9 @@ class DateParser extends Parser {
14592
14592
  class DayOfYearParser extends Parser {
14593
14593
  constructor() {
14594
14594
  super(...arguments);
14595
- __publicField(this, "priority", 90);
14596
- __publicField(this, "subpriority", 1);
14597
- __publicField(this, "incompatibleTokens", [
14595
+ __publicField2(this, "priority", 90);
14596
+ __publicField2(this, "subpriority", 1);
14597
+ __publicField2(this, "incompatibleTokens", [
14598
14598
  "Y",
14599
14599
  "R",
14600
14600
  "q",
@@ -14653,8 +14653,8 @@ function setDay(date2, day, options) {
14653
14653
  class DayParser extends Parser {
14654
14654
  constructor() {
14655
14655
  super(...arguments);
14656
- __publicField(this, "priority", 90);
14657
- __publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14656
+ __publicField2(this, "priority", 90);
14657
+ __publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14658
14658
  }
14659
14659
  parse(dateString, token, match2) {
14660
14660
  switch (token) {
@@ -14696,8 +14696,8 @@ class DayParser extends Parser {
14696
14696
  class LocalDayParser extends Parser {
14697
14697
  constructor() {
14698
14698
  super(...arguments);
14699
- __publicField(this, "priority", 90);
14700
- __publicField(this, "incompatibleTokens", [
14699
+ __publicField2(this, "priority", 90);
14700
+ __publicField2(this, "incompatibleTokens", [
14701
14701
  "y",
14702
14702
  "R",
14703
14703
  "u",
@@ -14769,8 +14769,8 @@ class LocalDayParser extends Parser {
14769
14769
  class StandAloneLocalDayParser extends Parser {
14770
14770
  constructor() {
14771
14771
  super(...arguments);
14772
- __publicField(this, "priority", 90);
14773
- __publicField(this, "incompatibleTokens", [
14772
+ __publicField2(this, "priority", 90);
14773
+ __publicField2(this, "incompatibleTokens", [
14774
14774
  "y",
14775
14775
  "R",
14776
14776
  "u",
@@ -14848,8 +14848,8 @@ function setISODay(date2, day) {
14848
14848
  class ISODayParser extends Parser {
14849
14849
  constructor() {
14850
14850
  super(...arguments);
14851
- __publicField(this, "priority", 90);
14852
- __publicField(this, "incompatibleTokens", [
14851
+ __publicField2(this, "priority", 90);
14852
+ __publicField2(this, "incompatibleTokens", [
14853
14853
  "y",
14854
14854
  "Y",
14855
14855
  "u",
@@ -14951,8 +14951,8 @@ class ISODayParser extends Parser {
14951
14951
  class AMPMParser extends Parser {
14952
14952
  constructor() {
14953
14953
  super(...arguments);
14954
- __publicField(this, "priority", 80);
14955
- __publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14954
+ __publicField2(this, "priority", 80);
14955
+ __publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14956
14956
  }
14957
14957
  parse(dateString, token, match2) {
14958
14958
  switch (token) {
@@ -14993,8 +14993,8 @@ class AMPMParser extends Parser {
14993
14993
  class AMPMMidnightParser extends Parser {
14994
14994
  constructor() {
14995
14995
  super(...arguments);
14996
- __publicField(this, "priority", 80);
14997
- __publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
14996
+ __publicField2(this, "priority", 80);
14997
+ __publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
14998
14998
  }
14999
14999
  parse(dateString, token, match2) {
15000
15000
  switch (token) {
@@ -15035,8 +15035,8 @@ class AMPMMidnightParser extends Parser {
15035
15035
  class DayPeriodParser extends Parser {
15036
15036
  constructor() {
15037
15037
  super(...arguments);
15038
- __publicField(this, "priority", 80);
15039
- __publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15038
+ __publicField2(this, "priority", 80);
15039
+ __publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15040
15040
  }
15041
15041
  parse(dateString, token, match2) {
15042
15042
  switch (token) {
@@ -15077,8 +15077,8 @@ class DayPeriodParser extends Parser {
15077
15077
  class Hour1to12Parser extends Parser {
15078
15078
  constructor() {
15079
15079
  super(...arguments);
15080
- __publicField(this, "priority", 70);
15081
- __publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15080
+ __publicField2(this, "priority", 70);
15081
+ __publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15082
15082
  }
15083
15083
  parse(dateString, token, match2) {
15084
15084
  switch (token) {
@@ -15108,8 +15108,8 @@ class Hour1to12Parser extends Parser {
15108
15108
  class Hour0to23Parser extends Parser {
15109
15109
  constructor() {
15110
15110
  super(...arguments);
15111
- __publicField(this, "priority", 70);
15112
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15111
+ __publicField2(this, "priority", 70);
15112
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15113
15113
  }
15114
15114
  parse(dateString, token, match2) {
15115
15115
  switch (token) {
@@ -15132,8 +15132,8 @@ class Hour0to23Parser extends Parser {
15132
15132
  class Hour0To11Parser extends Parser {
15133
15133
  constructor() {
15134
15134
  super(...arguments);
15135
- __publicField(this, "priority", 70);
15136
- __publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15135
+ __publicField2(this, "priority", 70);
15136
+ __publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15137
15137
  }
15138
15138
  parse(dateString, token, match2) {
15139
15139
  switch (token) {
@@ -15161,8 +15161,8 @@ class Hour0To11Parser extends Parser {
15161
15161
  class Hour1To24Parser extends Parser {
15162
15162
  constructor() {
15163
15163
  super(...arguments);
15164
- __publicField(this, "priority", 70);
15165
- __publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15164
+ __publicField2(this, "priority", 70);
15165
+ __publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15166
15166
  }
15167
15167
  parse(dateString, token, match2) {
15168
15168
  switch (token) {
@@ -15186,8 +15186,8 @@ class Hour1To24Parser extends Parser {
15186
15186
  class MinuteParser extends Parser {
15187
15187
  constructor() {
15188
15188
  super(...arguments);
15189
- __publicField(this, "priority", 60);
15190
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15189
+ __publicField2(this, "priority", 60);
15190
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15191
15191
  }
15192
15192
  parse(dateString, token, match2) {
15193
15193
  switch (token) {
@@ -15210,8 +15210,8 @@ class MinuteParser extends Parser {
15210
15210
  class SecondParser extends Parser {
15211
15211
  constructor() {
15212
15212
  super(...arguments);
15213
- __publicField(this, "priority", 50);
15214
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15213
+ __publicField2(this, "priority", 50);
15214
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15215
15215
  }
15216
15216
  parse(dateString, token, match2) {
15217
15217
  switch (token) {
@@ -15234,8 +15234,8 @@ class SecondParser extends Parser {
15234
15234
  class FractionOfSecondParser extends Parser {
15235
15235
  constructor() {
15236
15236
  super(...arguments);
15237
- __publicField(this, "priority", 30);
15238
- __publicField(this, "incompatibleTokens", ["t", "T"]);
15237
+ __publicField2(this, "priority", 30);
15238
+ __publicField2(this, "incompatibleTokens", ["t", "T"]);
15239
15239
  }
15240
15240
  parse(dateString, token) {
15241
15241
  const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
@@ -15249,8 +15249,8 @@ class FractionOfSecondParser extends Parser {
15249
15249
  class ISOTimezoneWithZParser extends Parser {
15250
15250
  constructor() {
15251
15251
  super(...arguments);
15252
- __publicField(this, "priority", 10);
15253
- __publicField(this, "incompatibleTokens", ["t", "T", "x"]);
15252
+ __publicField2(this, "priority", 10);
15253
+ __publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
15254
15254
  }
15255
15255
  parse(dateString, token) {
15256
15256
  switch (token) {
@@ -15287,8 +15287,8 @@ class ISOTimezoneWithZParser extends Parser {
15287
15287
  class ISOTimezoneParser extends Parser {
15288
15288
  constructor() {
15289
15289
  super(...arguments);
15290
- __publicField(this, "priority", 10);
15291
- __publicField(this, "incompatibleTokens", ["t", "T", "X"]);
15290
+ __publicField2(this, "priority", 10);
15291
+ __publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
15292
15292
  }
15293
15293
  parse(dateString, token) {
15294
15294
  switch (token) {
@@ -15325,8 +15325,8 @@ class ISOTimezoneParser extends Parser {
15325
15325
  class TimestampSecondsParser extends Parser {
15326
15326
  constructor() {
15327
15327
  super(...arguments);
15328
- __publicField(this, "priority", 40);
15329
- __publicField(this, "incompatibleTokens", "*");
15328
+ __publicField2(this, "priority", 40);
15329
+ __publicField2(this, "incompatibleTokens", "*");
15330
15330
  }
15331
15331
  parse(dateString) {
15332
15332
  return parseAnyDigitsSigned(dateString);
@@ -15338,8 +15338,8 @@ class TimestampSecondsParser extends Parser {
15338
15338
  class TimestampMillisecondsParser extends Parser {
15339
15339
  constructor() {
15340
15340
  super(...arguments);
15341
- __publicField(this, "priority", 20);
15342
- __publicField(this, "incompatibleTokens", "*");
15341
+ __publicField2(this, "priority", 20);
15342
+ __publicField2(this, "incompatibleTokens", "*");
15343
15343
  }
15344
15344
  parse(dateString) {
15345
15345
  return parseAnyDigitsSigned(dateString);
@@ -38642,39 +38642,39 @@ function _sfc_render(_ctx, _cache) {
38642
38642
  const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
38643
38643
  class TapDetector {
38644
38644
  constructor() {
38645
- __publicField(this, "singleTapCallbacks", []);
38646
- __publicField(this, "doubleTapCallbacks", []);
38647
- __publicField(this, "isTouchMode", false);
38648
- __publicField(this, "lastTapTimestamp", 0);
38649
- __publicField(this, "tappedCount", 0);
38650
- __publicField(this, "touchMovedLength", 0);
38651
- __publicField(this, "lastPointerX", 0);
38652
- __publicField(this, "lastPointerY", 0);
38653
- __publicField(this, "onTouchStart", (event) => {
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) => {
38654
38654
  this.isTouchMode = true;
38655
38655
  if (event.touches.length === 1) {
38656
38656
  this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
38657
38657
  }
38658
38658
  });
38659
- __publicField(this, "onTouchMove", (event) => {
38659
+ __publicField2(this, "onTouchMove", (event) => {
38660
38660
  if (event.touches.length === 1) {
38661
38661
  this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
38662
38662
  }
38663
38663
  });
38664
- __publicField(this, "onTouchEnd", () => {
38664
+ __publicField2(this, "onTouchEnd", () => {
38665
38665
  if (this.isTouchMode) this.onPointerUp();
38666
38666
  });
38667
- __publicField(this, "onMouseDown", (event) => {
38667
+ __publicField2(this, "onMouseDown", (event) => {
38668
38668
  if (!this.isTouchMode) {
38669
38669
  this.onPointerDown(event.clientX, event.clientY);
38670
38670
  }
38671
38671
  });
38672
- __publicField(this, "onMouseMove", (event) => {
38672
+ __publicField2(this, "onMouseMove", (event) => {
38673
38673
  if (!this.isTouchMode && event.button === 0) {
38674
38674
  this.onPointerMove(event.clientX, event.clientY);
38675
38675
  }
38676
38676
  });
38677
- __publicField(this, "onMouseUp", () => {
38677
+ __publicField2(this, "onMouseUp", () => {
38678
38678
  if (!this.isTouchMode) this.onPointerUp();
38679
38679
  });
38680
38680
  }
@@ -39147,6 +39147,12 @@ function localRef(key, initialValue) {
39147
39147
  return value;
39148
39148
  }
39149
39149
  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
+ };
39150
39156
  const axios = axios$1.create({
39151
39157
  withCredentials: true
39152
39158
  });
@@ -39161,7 +39167,8 @@ class DataRequest {
39161
39167
  this.itemID = "";
39162
39168
  }
39163
39169
  async post(item) {
39164
- if (!this.data_table) throw new Error("Data table not set");
39170
+ if (!this.data_table)
39171
+ throw new Error("Data table not set");
39165
39172
  const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
39166
39173
  return data2;
39167
39174
  }
@@ -39171,7 +39178,8 @@ class DataRequest {
39171
39178
  }
39172
39179
  async get() {
39173
39180
  var _a2, _b;
39174
- if (!this.data_table) throw new Error("Data table not set");
39181
+ if (!this.data_table)
39182
+ throw new Error("Data table not set");
39175
39183
  const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
39176
39184
  const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
39177
39185
  try {
@@ -39188,7 +39196,8 @@ class DataRequest {
39188
39196
  return this;
39189
39197
  }
39190
39198
  async delete() {
39191
- if (!this.data_table) throw new Error("Data table not set");
39199
+ if (!this.data_table)
39200
+ throw new Error("Data table not set");
39192
39201
  const { data: data2 } = await axios.delete(
39193
39202
  `/data/${this.data_table}/${this.itemID}`
39194
39203
  );
@@ -39196,8 +39205,10 @@ class DataRequest {
39196
39205
  }
39197
39206
  async put(updatedItem) {
39198
39207
  const { data_table, itemID } = this;
39199
- if (!data_table) throw new Error("Data table not set");
39200
- if (!itemID) throw new Error("Item ID not set");
39208
+ if (!data_table)
39209
+ throw new Error("Data table not set");
39210
+ if (!itemID)
39211
+ throw new Error("Item ID not set");
39201
39212
  const { data: data2 } = await axios.put(
39202
39213
  `/data/${data_table}/${itemID}`,
39203
39214
  updatedItem
@@ -39214,8 +39225,8 @@ function responses(key) {
39214
39225
  }
39215
39226
  class BagelAuth {
39216
39227
  constructor(bagel) {
39217
- __publicField(this, "user");
39218
39228
  this.bagel = bagel;
39229
+ __publicField(this, "user");
39219
39230
  this.bagel = bagel;
39220
39231
  }
39221
39232
  async validateUser() {
@@ -39318,10 +39329,12 @@ class Bagel {
39318
39329
  async get(endpoint, query) {
39319
39330
  this._setAuthorization();
39320
39331
  endpoint = this._endpointCleaner(endpoint);
39321
- if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
39332
+ if (/undefined|null/.test(endpoint))
39333
+ throw new Error(`Invalid endpoint: ${endpoint}`);
39322
39334
  if (query) {
39323
39335
  const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
39324
- if (queryParams) endpoint = `${endpoint}?${queryParams}`;
39336
+ if (queryParams)
39337
+ endpoint = `${endpoint}?${queryParams}`;
39325
39338
  }
39326
39339
  const url = `/${endpoint}`;
39327
39340
  return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
@@ -39376,7 +39389,8 @@ class Bagel {
39376
39389
  const formData = new FormData();
39377
39390
  formData.append("file", file);
39378
39391
  let url = "/static_files/upload";
39379
- if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
39392
+ if (options == null ? void 0 : options.topic)
39393
+ url = `/static_files/upload?topic=${options.topic}`;
39380
39394
  const { data: data2 } = await axios.post(url, formData, {
39381
39395
  headers: {
39382
39396
  "Content-Type": "multipart/form-data"