@bagelink/vue 0.0.1176 → 0.0.1178

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/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/Password.vue.d.ts +3 -3
  35. package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
  36. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
  37. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +14 -0
  38. package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +1 -0
  39. package/dist/components/form/inputs/RichText/formatting.d.ts +11 -0
  40. package/dist/components/form/inputs/RichText/formatting.d.ts.map +1 -0
  41. package/dist/components/form/inputs/RichText/richtext-types.d.ts +3 -0
  42. package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +1 -0
  43. package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
  44. package/dist/components/form/inputs/RichText2/index.vue.d.ts +0 -1
  45. package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
  46. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
  47. package/dist/components/form/inputs/SelectField.vue.d.ts +8 -6
  48. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  49. package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
  50. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +86 -0
  51. package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +1 -0
  52. package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
  53. package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
  54. package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
  55. package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
  56. package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
  57. package/dist/components/formkit/Toggle.vue.d.ts +2 -2
  58. package/dist/components/sortable/Animation.d.ts +43 -0
  59. package/dist/components/sortable/Animation.d.ts.map +1 -0
  60. package/dist/components/sortable/BrowserInfo.d.ts +7 -0
  61. package/dist/components/sortable/BrowserInfo.d.ts.map +1 -0
  62. package/dist/components/sortable/EventDispatcher.d.ts +13 -0
  63. package/dist/components/sortable/EventDispatcher.d.ts.map +1 -0
  64. package/dist/components/sortable/PluginManager.d.ts +27 -0
  65. package/dist/components/sortable/PluginManager.d.ts.map +1 -0
  66. package/dist/components/sortable/Sortable.d.ts +81 -0
  67. package/dist/components/sortable/Sortable.d.ts.map +1 -0
  68. package/dist/components/sortable/index.d.ts +5 -0
  69. package/dist/components/sortable/index.d.ts.map +1 -0
  70. package/dist/components/sortable/utils.d.ts +49 -0
  71. package/dist/components/sortable/utils.d.ts.map +1 -0
  72. package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
  73. package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
  74. package/dist/composables/drag-n-drop/useDraggable.d.ts +2 -0
  75. package/dist/composables/drag-n-drop/useDraggable.d.ts.map +1 -0
  76. package/dist/editor-CUDRLdmS.js +4 -0
  77. package/dist/editor-Cu374vEW.cjs +4 -0
  78. package/dist/editor-a8DSbb6P.js +4 -0
  79. package/dist/editor-xBt_vIha.cjs +4 -0
  80. package/dist/heic2any-8wMqMfB_.js +933 -0
  81. package/dist/heic2any-BrqcNzfV.js +935 -0
  82. package/dist/heic2any-C8KwH72N.cjs +934 -0
  83. package/dist/heic2any-k9wDCKka.cjs +932 -0
  84. package/dist/index-DiG-xM9T.cjs +35016 -0
  85. package/dist/index-nGuSAiY2.js +35017 -0
  86. package/dist/index.cjs +106 -114
  87. package/dist/index.mjs +106 -114
  88. package/dist/plugins/drag-n-drop/draggable.d.ts +4 -0
  89. package/dist/plugins/drag-n-drop/draggable.d.ts.map +1 -0
  90. package/dist/plugins/drag-n-drop/droppable.d.ts +4 -0
  91. package/dist/plugins/drag-n-drop/droppable.d.ts.map +1 -0
  92. package/dist/plugins/drag-n-drop/index.d.ts +5 -0
  93. package/dist/plugins/drag-n-drop/index.d.ts.map +1 -0
  94. package/dist/plugins/drag-n-drop/useDraggable.d.ts +8 -0
  95. package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +1 -0
  96. package/dist/plugins/drag-n-drop/useDroppable.d.ts +7 -0
  97. package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +1 -0
  98. package/dist/types/materialIcon.d.ts +2 -0
  99. package/dist/types/materialIcon.d.ts.map +1 -0
  100. package/dist/utils/objects.d.ts +0 -1
  101. package/package.json +1 -1
  102. package/src/components/form/BagelForm.vue +13 -6
  103. package/dist/components/Accordion.d.ts +0 -12
  104. package/dist/components/Accordion.d.ts.map +0 -1
  105. package/dist/components/AccordionItem.d.ts +0 -34
  106. package/dist/components/AccordionItem.d.ts.map +0 -1
  107. package/dist/components/Alert.d.ts +0 -34
  108. package/dist/components/Alert.d.ts.map +0 -1
  109. package/dist/components/Avatar.d.ts +0 -36
  110. package/dist/components/Avatar.d.ts.map +0 -1
  111. package/dist/components/Badge.d.ts +0 -22
  112. package/dist/components/Badge.d.ts.map +0 -1
  113. package/dist/components/BglVideo.d.ts +0 -20
  114. package/dist/components/BglVideo.d.ts.map +0 -1
  115. package/dist/components/Btn.d.ts +0 -99
  116. package/dist/components/Btn.d.ts.map +0 -1
  117. package/dist/components/Card.d.ts +0 -39
  118. package/dist/components/Card.d.ts.map +0 -1
  119. package/dist/components/Carousel.d.ts +0 -74
  120. package/dist/components/Carousel.d.ts.map +0 -1
  121. package/dist/components/DataPreview.d.ts +0 -42
  122. package/dist/components/DataPreview.d.ts.map +0 -1
  123. package/dist/components/Drop.vue.d.ts +0 -34
  124. package/dist/components/Drop.vue.d.ts.map +0 -1
  125. package/dist/components/FileUploader.vue.d.ts +0 -60
  126. package/dist/components/FileUploader.vue.d.ts.map +0 -1
  127. package/dist/components/Flag.d.ts +0 -20
  128. package/dist/components/Flag.d.ts.map +0 -1
  129. package/dist/components/ListItem.d.ts +0 -34
  130. package/dist/components/ListItem.d.ts.map +0 -1
  131. package/dist/components/ListView.d.ts +0 -13
  132. package/dist/components/ListView.d.ts.map +0 -1
  133. package/dist/components/MapEmbed.d.ts +0 -3
  134. package/dist/components/MapEmbed.d.ts.map +0 -1
  135. package/dist/components/MaterialIcon.d.ts +0 -26
  136. package/dist/components/MaterialIcon.d.ts.map +0 -1
  137. package/dist/components/Modal.d.ts +0 -46
  138. package/dist/components/Modal.d.ts.map +0 -1
  139. package/dist/components/ModalConfirm.d.ts +0 -24
  140. package/dist/components/ModalConfirm.d.ts.map +0 -1
  141. package/dist/components/ModalForm.d.ts +0 -78
  142. package/dist/components/ModalForm.d.ts.map +0 -1
  143. package/dist/components/NavBar.d.ts +0 -64
  144. package/dist/components/NavBar.d.ts.map +0 -1
  145. package/dist/components/PageTitle.d.ts +0 -24
  146. package/dist/components/PageTitle.d.ts.map +0 -1
  147. package/dist/components/RouterWrapper.d.ts +0 -3
  148. package/dist/components/RouterWrapper.d.ts.map +0 -1
  149. package/dist/components/TableSchema.d.ts +0 -35
  150. package/dist/components/TableSchema.d.ts.map +0 -1
  151. package/dist/components/Title.d.ts +0 -42
  152. package/dist/components/Title.d.ts.map +0 -1
  153. package/dist/components/TopBar.d.ts +0 -12
  154. package/dist/components/TopBar.d.ts.map +0 -1
  155. package/dist/components/dashboard/Lineart.d.ts +0 -20
  156. package/dist/components/dashboard/Lineart.d.ts.map +0 -1
  157. package/dist/components/form/BglField.d.ts +0 -25
  158. package/dist/components/form/BglField.d.ts.map +0 -1
  159. package/dist/components/form/BglForm.d.ts +0 -75
  160. package/dist/components/form/BglForm.d.ts.map +0 -1
  161. package/dist/components/form/inputs/CheckInput.d.ts +0 -56
  162. package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
  163. package/dist/components/form/inputs/Checkbox.d.ts +0 -16
  164. package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
  165. package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
  166. package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
  167. package/dist/components/form/inputs/DateInput.d.ts +0 -64
  168. package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
  169. package/dist/components/form/inputs/DatePicker.d.ts +0 -33
  170. package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
  171. package/dist/components/form/inputs/FileUpload.d.ts +0 -108
  172. package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
  173. package/dist/components/form/inputs/JSONInput.d.ts +0 -53
  174. package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
  175. package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
  176. package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
  177. package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
  178. package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
  179. package/dist/components/form/inputs/RichText.d.ts +0 -20
  180. package/dist/components/form/inputs/RichText.d.ts.map +0 -1
  181. package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
  182. package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
  183. package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
  184. package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
  185. package/dist/components/form/inputs/SelectInput.d.ts +0 -55
  186. package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
  187. package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
  188. package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
  189. package/dist/components/form/inputs/TableField.d.ts +0 -45
  190. package/dist/components/form/inputs/TableField.d.ts.map +0 -1
  191. package/dist/components/form/inputs/TelInput.d.ts +0 -241
  192. package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
  193. package/dist/components/form/inputs/TextInput.d.ts +0 -90
  194. package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
  195. package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
  196. package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
  197. package/dist/components/layout/BottomMenu.d.ts +0 -27
  198. package/dist/components/layout/BottomMenu.d.ts.map +0 -1
  199. package/dist/components/layout/Layout.d.ts +0 -58
  200. package/dist/components/layout/Layout.d.ts.map +0 -1
  201. package/dist/components/layout/SidebarMenu.d.ts +0 -38
  202. package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
  203. package/dist/components/layout/TabbedLayout.d.ts +0 -42
  204. package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
  205. package/dist/components/layout/Tabs.d.ts +0 -31
  206. package/dist/components/layout/Tabs.d.ts.map +0 -1
  207. package/dist/components/layout/TabsBody.d.ts +0 -23
  208. package/dist/components/layout/TabsBody.d.ts.map +0 -1
  209. package/dist/components/layout/TabsNav.d.ts +0 -35
  210. package/dist/components/layout/TabsNav.d.ts.map +0 -1
  211. package/dist/styles.css +0 -14073
  212. package/dist/vue.css +0 -14073
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- var __defProp2 = Object.defineProperty;
3
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
2
+ var __defProp = Object.defineProperty;
3
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
6
6
  const vue = require("vue");
7
7
  const vueRouter = require("vue-router");
@@ -11568,23 +11568,24 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11568
11568
  __name: "BagelForm",
11569
11569
  props: {
11570
11570
  modelValue: { default: void 0 },
11571
- schema: { default: void 0 }
11571
+ schema: { default: void 0 },
11572
+ tag: { default: "form" }
11572
11573
  },
11573
11574
  emits: ["update:modelValue", "submit"],
11574
11575
  setup(__props, { expose: __expose, emit: __emit }) {
11575
11576
  const props2 = __props;
11576
11577
  const emit2 = __emit;
11577
11578
  const form = vue.ref();
11578
- const formData = vue.ref(structuredClone(props2.modelValue ?? {}));
11579
- const initialFormData = vue.ref(structuredClone(props2.modelValue ?? {}));
11579
+ const formData = vue.ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
11580
+ const initialFormData = vue.ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
11580
11581
  vue.onMounted(() => {
11581
11582
  if (props2.modelValue) {
11582
- initialFormData.value = structuredClone(props2.modelValue);
11583
+ initialFormData.value = JSON.parse(JSON.stringify(props2.modelValue));
11583
11584
  }
11584
11585
  });
11585
11586
  vue.watch(() => props2.modelValue, (newValue) => {
11586
11587
  if (newValue !== void 0) {
11587
- formData.value = structuredClone(newValue);
11588
+ formData.value = JSON.parse(JSON.stringify(newValue));
11588
11589
  }
11589
11590
  }, { immediate: true, deep: true });
11590
11591
  const resolvedSchema = vue.computed(() => {
@@ -11632,7 +11633,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11632
11633
  }
11633
11634
  __expose({ form, isDirty: isDirty.value, validateForm });
11634
11635
  return (_ctx, _cache) => {
11635
- return vue.openBlock(), vue.createElementBlock("form", {
11636
+ return props2.tag === "form" ? (vue.openBlock(), vue.createElementBlock("form", {
11637
+ key: 0,
11636
11638
  ref_key: "form",
11637
11639
  ref: form,
11638
11640
  onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
@@ -11647,7 +11649,11 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11647
11649
  isDirty: isDirty.value,
11648
11650
  validateForm
11649
11651
  })
11650
- ], 544);
11652
+ ], 544)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(resolvedSchema.value, (field) => {
11653
+ return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderSchemaField(field)), {
11654
+ key: field.id
11655
+ });
11656
+ }), 128));
11651
11657
  };
11652
11658
  }
11653
11659
  });
@@ -13769,7 +13775,7 @@ function transpose(fromDate, constructor) {
13769
13775
  const TIMEZONE_UNIT_PRIORITY = 10;
13770
13776
  class Setter {
13771
13777
  constructor() {
13772
- __publicField2(this, "subPriority", 0);
13778
+ __publicField(this, "subPriority", 0);
13773
13779
  }
13774
13780
  validate(_utcDate, _options) {
13775
13781
  return true;
@@ -13796,8 +13802,8 @@ class ValueSetter extends Setter {
13796
13802
  class DateToSystemTimezoneSetter extends Setter {
13797
13803
  constructor() {
13798
13804
  super(...arguments);
13799
- __publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
13800
- __publicField2(this, "subPriority", -1);
13805
+ __publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
13806
+ __publicField(this, "subPriority", -1);
13801
13807
  }
13802
13808
  set(date2, flags) {
13803
13809
  if (flags.timestampIsSet) return date2;
@@ -13828,8 +13834,8 @@ class Parser {
13828
13834
  class EraParser extends Parser {
13829
13835
  constructor() {
13830
13836
  super(...arguments);
13831
- __publicField2(this, "priority", 140);
13832
- __publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13837
+ __publicField(this, "priority", 140);
13838
+ __publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
13833
13839
  }
13834
13840
  parse(dateString, token, match2) {
13835
13841
  switch (token) {
@@ -14007,8 +14013,8 @@ function isLeapYearIndex(year) {
14007
14013
  class YearParser extends Parser {
14008
14014
  constructor() {
14009
14015
  super(...arguments);
14010
- __publicField2(this, "priority", 130);
14011
- __publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14016
+ __publicField(this, "priority", 130);
14017
+ __publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
14012
14018
  }
14013
14019
  parse(dateString, token, match2) {
14014
14020
  const valueCallback = (year) => ({
@@ -14052,8 +14058,8 @@ class YearParser extends Parser {
14052
14058
  class LocalWeekYearParser extends Parser {
14053
14059
  constructor() {
14054
14060
  super(...arguments);
14055
- __publicField2(this, "priority", 130);
14056
- __publicField2(this, "incompatibleTokens", [
14061
+ __publicField(this, "priority", 130);
14062
+ __publicField(this, "incompatibleTokens", [
14057
14063
  "y",
14058
14064
  "R",
14059
14065
  "u",
@@ -14115,8 +14121,8 @@ class LocalWeekYearParser extends Parser {
14115
14121
  class ISOWeekYearParser extends Parser {
14116
14122
  constructor() {
14117
14123
  super(...arguments);
14118
- __publicField2(this, "priority", 130);
14119
- __publicField2(this, "incompatibleTokens", [
14124
+ __publicField(this, "priority", 130);
14125
+ __publicField(this, "incompatibleTokens", [
14120
14126
  "G",
14121
14127
  "y",
14122
14128
  "Y",
@@ -14150,8 +14156,8 @@ class ISOWeekYearParser extends Parser {
14150
14156
  class ExtendedYearParser extends Parser {
14151
14157
  constructor() {
14152
14158
  super(...arguments);
14153
- __publicField2(this, "priority", 130);
14154
- __publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14159
+ __publicField(this, "priority", 130);
14160
+ __publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
14155
14161
  }
14156
14162
  parse(dateString, token) {
14157
14163
  if (token === "u") {
@@ -14168,8 +14174,8 @@ class ExtendedYearParser extends Parser {
14168
14174
  class QuarterParser extends Parser {
14169
14175
  constructor() {
14170
14176
  super(...arguments);
14171
- __publicField2(this, "priority", 120);
14172
- __publicField2(this, "incompatibleTokens", [
14177
+ __publicField(this, "priority", 120);
14178
+ __publicField(this, "incompatibleTokens", [
14173
14179
  "Y",
14174
14180
  "R",
14175
14181
  "q",
@@ -14237,8 +14243,8 @@ class QuarterParser extends Parser {
14237
14243
  class StandAloneQuarterParser extends Parser {
14238
14244
  constructor() {
14239
14245
  super(...arguments);
14240
- __publicField2(this, "priority", 120);
14241
- __publicField2(this, "incompatibleTokens", [
14246
+ __publicField(this, "priority", 120);
14247
+ __publicField(this, "incompatibleTokens", [
14242
14248
  "Y",
14243
14249
  "R",
14244
14250
  "Q",
@@ -14306,7 +14312,7 @@ class StandAloneQuarterParser extends Parser {
14306
14312
  class MonthParser extends Parser {
14307
14313
  constructor() {
14308
14314
  super(...arguments);
14309
- __publicField2(this, "incompatibleTokens", [
14315
+ __publicField(this, "incompatibleTokens", [
14310
14316
  "Y",
14311
14317
  "R",
14312
14318
  "q",
@@ -14321,7 +14327,7 @@ class MonthParser extends Parser {
14321
14327
  "t",
14322
14328
  "T"
14323
14329
  ]);
14324
- __publicField2(this, "priority", 110);
14330
+ __publicField(this, "priority", 110);
14325
14331
  }
14326
14332
  parse(dateString, token, match2) {
14327
14333
  const valueCallback = (value) => value - 1;
@@ -14376,8 +14382,8 @@ class MonthParser extends Parser {
14376
14382
  class StandAloneMonthParser extends Parser {
14377
14383
  constructor() {
14378
14384
  super(...arguments);
14379
- __publicField2(this, "priority", 110);
14380
- __publicField2(this, "incompatibleTokens", [
14385
+ __publicField(this, "priority", 110);
14386
+ __publicField(this, "incompatibleTokens", [
14381
14387
  "Y",
14382
14388
  "R",
14383
14389
  "q",
@@ -14452,8 +14458,8 @@ function setWeek(date2, week, options) {
14452
14458
  class LocalWeekParser extends Parser {
14453
14459
  constructor() {
14454
14460
  super(...arguments);
14455
- __publicField2(this, "priority", 100);
14456
- __publicField2(this, "incompatibleTokens", [
14461
+ __publicField(this, "priority", 100);
14462
+ __publicField(this, "incompatibleTokens", [
14457
14463
  "y",
14458
14464
  "R",
14459
14465
  "u",
@@ -14495,8 +14501,8 @@ function setISOWeek(date2, week) {
14495
14501
  class ISOWeekParser extends Parser {
14496
14502
  constructor() {
14497
14503
  super(...arguments);
14498
- __publicField2(this, "priority", 100);
14499
- __publicField2(this, "incompatibleTokens", [
14504
+ __publicField(this, "priority", 100);
14505
+ __publicField(this, "incompatibleTokens", [
14500
14506
  "y",
14501
14507
  "Y",
14502
14508
  "u",
@@ -14548,9 +14554,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
14548
14554
  class DateParser extends Parser {
14549
14555
  constructor() {
14550
14556
  super(...arguments);
14551
- __publicField2(this, "priority", 90);
14552
- __publicField2(this, "subPriority", 1);
14553
- __publicField2(this, "incompatibleTokens", [
14557
+ __publicField(this, "priority", 90);
14558
+ __publicField(this, "subPriority", 1);
14559
+ __publicField(this, "incompatibleTokens", [
14554
14560
  "Y",
14555
14561
  "R",
14556
14562
  "q",
@@ -14594,9 +14600,9 @@ class DateParser extends Parser {
14594
14600
  class DayOfYearParser extends Parser {
14595
14601
  constructor() {
14596
14602
  super(...arguments);
14597
- __publicField2(this, "priority", 90);
14598
- __publicField2(this, "subpriority", 1);
14599
- __publicField2(this, "incompatibleTokens", [
14603
+ __publicField(this, "priority", 90);
14604
+ __publicField(this, "subpriority", 1);
14605
+ __publicField(this, "incompatibleTokens", [
14600
14606
  "Y",
14601
14607
  "R",
14602
14608
  "q",
@@ -14655,8 +14661,8 @@ function setDay(date2, day, options) {
14655
14661
  class DayParser extends Parser {
14656
14662
  constructor() {
14657
14663
  super(...arguments);
14658
- __publicField2(this, "priority", 90);
14659
- __publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14664
+ __publicField(this, "priority", 90);
14665
+ __publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
14660
14666
  }
14661
14667
  parse(dateString, token, match2) {
14662
14668
  switch (token) {
@@ -14698,8 +14704,8 @@ class DayParser extends Parser {
14698
14704
  class LocalDayParser extends Parser {
14699
14705
  constructor() {
14700
14706
  super(...arguments);
14701
- __publicField2(this, "priority", 90);
14702
- __publicField2(this, "incompatibleTokens", [
14707
+ __publicField(this, "priority", 90);
14708
+ __publicField(this, "incompatibleTokens", [
14703
14709
  "y",
14704
14710
  "R",
14705
14711
  "u",
@@ -14771,8 +14777,8 @@ class LocalDayParser extends Parser {
14771
14777
  class StandAloneLocalDayParser extends Parser {
14772
14778
  constructor() {
14773
14779
  super(...arguments);
14774
- __publicField2(this, "priority", 90);
14775
- __publicField2(this, "incompatibleTokens", [
14780
+ __publicField(this, "priority", 90);
14781
+ __publicField(this, "incompatibleTokens", [
14776
14782
  "y",
14777
14783
  "R",
14778
14784
  "u",
@@ -14850,8 +14856,8 @@ function setISODay(date2, day) {
14850
14856
  class ISODayParser extends Parser {
14851
14857
  constructor() {
14852
14858
  super(...arguments);
14853
- __publicField2(this, "priority", 90);
14854
- __publicField2(this, "incompatibleTokens", [
14859
+ __publicField(this, "priority", 90);
14860
+ __publicField(this, "incompatibleTokens", [
14855
14861
  "y",
14856
14862
  "Y",
14857
14863
  "u",
@@ -14953,8 +14959,8 @@ class ISODayParser extends Parser {
14953
14959
  class AMPMParser extends Parser {
14954
14960
  constructor() {
14955
14961
  super(...arguments);
14956
- __publicField2(this, "priority", 80);
14957
- __publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14962
+ __publicField(this, "priority", 80);
14963
+ __publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
14958
14964
  }
14959
14965
  parse(dateString, token, match2) {
14960
14966
  switch (token) {
@@ -14995,8 +15001,8 @@ class AMPMParser extends Parser {
14995
15001
  class AMPMMidnightParser extends Parser {
14996
15002
  constructor() {
14997
15003
  super(...arguments);
14998
- __publicField2(this, "priority", 80);
14999
- __publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
15004
+ __publicField(this, "priority", 80);
15005
+ __publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
15000
15006
  }
15001
15007
  parse(dateString, token, match2) {
15002
15008
  switch (token) {
@@ -15037,8 +15043,8 @@ class AMPMMidnightParser extends Parser {
15037
15043
  class DayPeriodParser extends Parser {
15038
15044
  constructor() {
15039
15045
  super(...arguments);
15040
- __publicField2(this, "priority", 80);
15041
- __publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15046
+ __publicField(this, "priority", 80);
15047
+ __publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
15042
15048
  }
15043
15049
  parse(dateString, token, match2) {
15044
15050
  switch (token) {
@@ -15079,8 +15085,8 @@ class DayPeriodParser extends Parser {
15079
15085
  class Hour1to12Parser extends Parser {
15080
15086
  constructor() {
15081
15087
  super(...arguments);
15082
- __publicField2(this, "priority", 70);
15083
- __publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15088
+ __publicField(this, "priority", 70);
15089
+ __publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
15084
15090
  }
15085
15091
  parse(dateString, token, match2) {
15086
15092
  switch (token) {
@@ -15110,8 +15116,8 @@ class Hour1to12Parser extends Parser {
15110
15116
  class Hour0to23Parser extends Parser {
15111
15117
  constructor() {
15112
15118
  super(...arguments);
15113
- __publicField2(this, "priority", 70);
15114
- __publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15119
+ __publicField(this, "priority", 70);
15120
+ __publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
15115
15121
  }
15116
15122
  parse(dateString, token, match2) {
15117
15123
  switch (token) {
@@ -15134,8 +15140,8 @@ class Hour0to23Parser extends Parser {
15134
15140
  class Hour0To11Parser extends Parser {
15135
15141
  constructor() {
15136
15142
  super(...arguments);
15137
- __publicField2(this, "priority", 70);
15138
- __publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15143
+ __publicField(this, "priority", 70);
15144
+ __publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
15139
15145
  }
15140
15146
  parse(dateString, token, match2) {
15141
15147
  switch (token) {
@@ -15163,8 +15169,8 @@ class Hour0To11Parser extends Parser {
15163
15169
  class Hour1To24Parser extends Parser {
15164
15170
  constructor() {
15165
15171
  super(...arguments);
15166
- __publicField2(this, "priority", 70);
15167
- __publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15172
+ __publicField(this, "priority", 70);
15173
+ __publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
15168
15174
  }
15169
15175
  parse(dateString, token, match2) {
15170
15176
  switch (token) {
@@ -15188,8 +15194,8 @@ class Hour1To24Parser extends Parser {
15188
15194
  class MinuteParser extends Parser {
15189
15195
  constructor() {
15190
15196
  super(...arguments);
15191
- __publicField2(this, "priority", 60);
15192
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15197
+ __publicField(this, "priority", 60);
15198
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15193
15199
  }
15194
15200
  parse(dateString, token, match2) {
15195
15201
  switch (token) {
@@ -15212,8 +15218,8 @@ class MinuteParser extends Parser {
15212
15218
  class SecondParser extends Parser {
15213
15219
  constructor() {
15214
15220
  super(...arguments);
15215
- __publicField2(this, "priority", 50);
15216
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15221
+ __publicField(this, "priority", 50);
15222
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15217
15223
  }
15218
15224
  parse(dateString, token, match2) {
15219
15225
  switch (token) {
@@ -15236,8 +15242,8 @@ class SecondParser extends Parser {
15236
15242
  class FractionOfSecondParser extends Parser {
15237
15243
  constructor() {
15238
15244
  super(...arguments);
15239
- __publicField2(this, "priority", 30);
15240
- __publicField2(this, "incompatibleTokens", ["t", "T"]);
15245
+ __publicField(this, "priority", 30);
15246
+ __publicField(this, "incompatibleTokens", ["t", "T"]);
15241
15247
  }
15242
15248
  parse(dateString, token) {
15243
15249
  const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
@@ -15251,8 +15257,8 @@ class FractionOfSecondParser extends Parser {
15251
15257
  class ISOTimezoneWithZParser extends Parser {
15252
15258
  constructor() {
15253
15259
  super(...arguments);
15254
- __publicField2(this, "priority", 10);
15255
- __publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
15260
+ __publicField(this, "priority", 10);
15261
+ __publicField(this, "incompatibleTokens", ["t", "T", "x"]);
15256
15262
  }
15257
15263
  parse(dateString, token) {
15258
15264
  switch (token) {
@@ -15289,8 +15295,8 @@ class ISOTimezoneWithZParser extends Parser {
15289
15295
  class ISOTimezoneParser extends Parser {
15290
15296
  constructor() {
15291
15297
  super(...arguments);
15292
- __publicField2(this, "priority", 10);
15293
- __publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
15298
+ __publicField(this, "priority", 10);
15299
+ __publicField(this, "incompatibleTokens", ["t", "T", "X"]);
15294
15300
  }
15295
15301
  parse(dateString, token) {
15296
15302
  switch (token) {
@@ -15327,8 +15333,8 @@ class ISOTimezoneParser extends Parser {
15327
15333
  class TimestampSecondsParser extends Parser {
15328
15334
  constructor() {
15329
15335
  super(...arguments);
15330
- __publicField2(this, "priority", 40);
15331
- __publicField2(this, "incompatibleTokens", "*");
15336
+ __publicField(this, "priority", 40);
15337
+ __publicField(this, "incompatibleTokens", "*");
15332
15338
  }
15333
15339
  parse(dateString) {
15334
15340
  return parseAnyDigitsSigned(dateString);
@@ -15340,8 +15346,8 @@ class TimestampSecondsParser extends Parser {
15340
15346
  class TimestampMillisecondsParser extends Parser {
15341
15347
  constructor() {
15342
15348
  super(...arguments);
15343
- __publicField2(this, "priority", 20);
15344
- __publicField2(this, "incompatibleTokens", "*");
15349
+ __publicField(this, "priority", 20);
15350
+ __publicField(this, "incompatibleTokens", "*");
15345
15351
  }
15346
15352
  parse(dateString) {
15347
15353
  return parseAnyDigitsSigned(dateString);
@@ -38644,39 +38650,39 @@ function _sfc_render(_ctx, _cache) {
38644
38650
  const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
38645
38651
  class TapDetector {
38646
38652
  constructor() {
38647
- __publicField2(this, "singleTapCallbacks", []);
38648
- __publicField2(this, "doubleTapCallbacks", []);
38649
- __publicField2(this, "isTouchMode", false);
38650
- __publicField2(this, "lastTapTimestamp", 0);
38651
- __publicField2(this, "tappedCount", 0);
38652
- __publicField2(this, "touchMovedLength", 0);
38653
- __publicField2(this, "lastPointerX", 0);
38654
- __publicField2(this, "lastPointerY", 0);
38655
- __publicField2(this, "onTouchStart", (event) => {
38653
+ __publicField(this, "singleTapCallbacks", []);
38654
+ __publicField(this, "doubleTapCallbacks", []);
38655
+ __publicField(this, "isTouchMode", false);
38656
+ __publicField(this, "lastTapTimestamp", 0);
38657
+ __publicField(this, "tappedCount", 0);
38658
+ __publicField(this, "touchMovedLength", 0);
38659
+ __publicField(this, "lastPointerX", 0);
38660
+ __publicField(this, "lastPointerY", 0);
38661
+ __publicField(this, "onTouchStart", (event) => {
38656
38662
  this.isTouchMode = true;
38657
38663
  if (event.touches.length === 1) {
38658
38664
  this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
38659
38665
  }
38660
38666
  });
38661
- __publicField2(this, "onTouchMove", (event) => {
38667
+ __publicField(this, "onTouchMove", (event) => {
38662
38668
  if (event.touches.length === 1) {
38663
38669
  this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
38664
38670
  }
38665
38671
  });
38666
- __publicField2(this, "onTouchEnd", () => {
38672
+ __publicField(this, "onTouchEnd", () => {
38667
38673
  if (this.isTouchMode) this.onPointerUp();
38668
38674
  });
38669
- __publicField2(this, "onMouseDown", (event) => {
38675
+ __publicField(this, "onMouseDown", (event) => {
38670
38676
  if (!this.isTouchMode) {
38671
38677
  this.onPointerDown(event.clientX, event.clientY);
38672
38678
  }
38673
38679
  });
38674
- __publicField2(this, "onMouseMove", (event) => {
38680
+ __publicField(this, "onMouseMove", (event) => {
38675
38681
  if (!this.isTouchMode && event.button === 0) {
38676
38682
  this.onPointerMove(event.clientX, event.clientY);
38677
38683
  }
38678
38684
  });
38679
- __publicField2(this, "onMouseUp", () => {
38685
+ __publicField(this, "onMouseUp", () => {
38680
38686
  if (!this.isTouchMode) this.onPointerUp();
38681
38687
  });
38682
38688
  }
@@ -39149,12 +39155,6 @@ function localRef(key, initialValue) {
39149
39155
  return value;
39150
39156
  }
39151
39157
  const useLocalStorage = localRef;
39152
- var __defProp = Object.defineProperty;
39153
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
39154
- var __publicField = (obj, key, value) => {
39155
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
39156
- return value;
39157
- };
39158
39158
  const axios = axios$1.create({
39159
39159
  withCredentials: true
39160
39160
  });
@@ -39169,8 +39169,7 @@ class DataRequest {
39169
39169
  this.itemID = "";
39170
39170
  }
39171
39171
  async post(item) {
39172
- if (!this.data_table)
39173
- throw new Error("Data table not set");
39172
+ if (!this.data_table) throw new Error("Data table not set");
39174
39173
  const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
39175
39174
  return data2;
39176
39175
  }
@@ -39180,8 +39179,7 @@ class DataRequest {
39180
39179
  }
39181
39180
  async get() {
39182
39181
  var _a2, _b;
39183
- if (!this.data_table)
39184
- throw new Error("Data table not set");
39182
+ if (!this.data_table) throw new Error("Data table not set");
39185
39183
  const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
39186
39184
  const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
39187
39185
  try {
@@ -39198,8 +39196,7 @@ class DataRequest {
39198
39196
  return this;
39199
39197
  }
39200
39198
  async delete() {
39201
- if (!this.data_table)
39202
- throw new Error("Data table not set");
39199
+ if (!this.data_table) throw new Error("Data table not set");
39203
39200
  const { data: data2 } = await axios.delete(
39204
39201
  `/data/${this.data_table}/${this.itemID}`
39205
39202
  );
@@ -39207,10 +39204,8 @@ class DataRequest {
39207
39204
  }
39208
39205
  async put(updatedItem) {
39209
39206
  const { data_table, itemID } = this;
39210
- if (!data_table)
39211
- throw new Error("Data table not set");
39212
- if (!itemID)
39213
- throw new Error("Item ID not set");
39207
+ if (!data_table) throw new Error("Data table not set");
39208
+ if (!itemID) throw new Error("Item ID not set");
39214
39209
  const { data: data2 } = await axios.put(
39215
39210
  `/data/${data_table}/${itemID}`,
39216
39211
  updatedItem
@@ -39227,9 +39222,9 @@ function responses(key) {
39227
39222
  }
39228
39223
  class BagelAuth {
39229
39224
  constructor(bagel) {
39230
- this.bagel = bagel;
39231
39225
  __publicField(this, "user");
39232
39226
  this.bagel = bagel;
39227
+ this.bagel = bagel;
39233
39228
  }
39234
39229
  async validateUser() {
39235
39230
  try {
@@ -39331,12 +39326,10 @@ class Bagel {
39331
39326
  async get(endpoint, query) {
39332
39327
  this._setAuthorization();
39333
39328
  endpoint = this._endpointCleaner(endpoint);
39334
- if (/undefined|null/.test(endpoint))
39335
- throw new Error(`Invalid endpoint: ${endpoint}`);
39329
+ if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
39336
39330
  if (query) {
39337
39331
  const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
39338
- if (queryParams)
39339
- endpoint = `${endpoint}?${queryParams}`;
39332
+ if (queryParams) endpoint = `${endpoint}?${queryParams}`;
39340
39333
  }
39341
39334
  const url = `/${endpoint}`;
39342
39335
  return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
@@ -39391,8 +39384,7 @@ class Bagel {
39391
39384
  const formData = new FormData();
39392
39385
  formData.append("file", file);
39393
39386
  let url = "/static_files/upload";
39394
- if (options == null ? void 0 : options.topic)
39395
- url = `/static_files/upload?topic=${options.topic}`;
39387
+ if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
39396
39388
  const { data: data2 } = await axios.post(url, formData, {
39397
39389
  headers: {
39398
39390
  "Content-Type": "multipart/form-data"