@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.
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/AccordionItem.d.ts +34 -0
- package/dist/components/AccordionItem.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +34 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +36 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +22 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/BglVideo.d.ts +20 -0
- package/dist/components/BglVideo.d.ts.map +1 -0
- package/dist/components/Btn.d.ts +99 -0
- package/dist/components/Btn.d.ts.map +1 -0
- package/dist/components/Card.d.ts +39 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Carousel.d.ts +74 -0
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/DataPreview.d.ts +42 -0
- package/dist/components/DataPreview.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/Flag.d.ts +20 -0
- package/dist/components/Flag.d.ts.map +1 -0
- package/dist/components/FormSchema.vue.d.ts +5 -4
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.d.ts +34 -0
- package/dist/components/ListItem.d.ts.map +1 -0
- package/dist/components/ListView.d.ts +13 -0
- package/dist/components/ListView.d.ts.map +1 -0
- package/dist/components/MapEmbed.d.ts +3 -0
- package/dist/components/MapEmbed.d.ts.map +1 -0
- package/dist/components/MaterialIcon.d.ts +26 -0
- package/dist/components/MaterialIcon.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +46 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalBglForm.vue.d.ts +21 -20
- package/dist/components/ModalConfirm.d.ts +24 -0
- package/dist/components/ModalConfirm.d.ts.map +1 -0
- package/dist/components/ModalForm.d.ts +78 -0
- package/dist/components/ModalForm.d.ts.map +1 -0
- package/dist/components/NavBar.d.ts +64 -0
- package/dist/components/NavBar.d.ts.map +1 -0
- package/dist/components/PageTitle.d.ts +24 -0
- package/dist/components/PageTitle.d.ts.map +1 -0
- package/dist/components/PersonPreview.vue.d.ts +5 -4
- package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/RouterWrapper.d.ts +3 -0
- package/dist/components/RouterWrapper.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -4
- package/dist/components/TableSchema.d.ts +35 -0
- package/dist/components/TableSchema.d.ts.map +1 -0
- package/dist/components/TableSchema.vue.d.ts +2 -2
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +12 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.d.ts +20 -0
- package/dist/components/dashboard/Lineart.d.ts.map +1 -0
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- package/dist/components/form/ItemRef.vue.d.ts +5 -3
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.d.ts +56 -0
- package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Checkbox.d.ts +16 -0
- package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
- package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.d.ts +64 -0
- package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
- package/dist/components/form/inputs/DatePicker.d.ts +33 -0
- package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/FileUpload.d.ts +108 -0
- package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/JSONInput.d.ts +53 -0
- package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
- package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/Password.vue.d.ts +3 -3
- package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
- package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.d.ts +20 -0
- package/dist/components/form/inputs/RichText.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.d.ts +55 -0
- package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
- package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
- package/dist/components/form/inputs/TableField.d.ts +45 -0
- package/dist/components/form/inputs/TableField.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.d.ts +241 -0
- package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.d.ts +90 -0
- package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
- package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
- package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
- package/dist/components/formkit/Toggle.vue.d.ts +2 -2
- package/dist/components/layout/BottomMenu.d.ts +27 -0
- package/dist/components/layout/BottomMenu.d.ts.map +1 -0
- package/dist/components/layout/Layout.d.ts +58 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/TabsBody.d.ts +23 -0
- package/dist/components/layout/TabsBody.d.ts.map +1 -0
- package/dist/components/layout/TabsNav.d.ts +35 -0
- package/dist/components/layout/TabsNav.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +107 -93
- package/dist/index.mjs +107 -93
- package/dist/styles.css +14073 -0
- package/dist/utils/BagelFormUtils.d.ts +10 -10
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/dist/utils/objects.d.ts +1 -0
- package/dist/vue.css +14073 -0
- package/package.json +2 -2
- package/src/utils/BagelFormUtils.ts +23 -14
- package/dist/common-C_IH8b5S.cjs +0 -12580
- package/dist/common-DoeNgx31.js +0 -12579
- package/dist/components/AddressSaerch.vue.d.ts +0 -7
- package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
- package/dist/components/Popover.vue.d.ts +0 -10
- package/dist/components/Popover.vue.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
- package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
- package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
- package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
- package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
- package/dist/components/sortable/Animation.d.ts +0 -43
- package/dist/components/sortable/Animation.d.ts.map +0 -1
- package/dist/components/sortable/BrowserInfo.d.ts +0 -7
- package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
- package/dist/components/sortable/EventDispatcher.d.ts +0 -13
- package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
- package/dist/components/sortable/PluginManager.d.ts +0 -27
- package/dist/components/sortable/PluginManager.d.ts.map +0 -1
- package/dist/components/sortable/Sortable.d.ts +0 -81
- package/dist/components/sortable/Sortable.d.ts.map +0 -1
- package/dist/components/sortable/index.d.ts +0 -5
- package/dist/components/sortable/index.d.ts.map +0 -1
- package/dist/components/sortable/utils.d.ts +0 -49
- package/dist/components/sortable/utils.d.ts.map +0 -1
- package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
- package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/editor-CUDRLdmS.js +0 -4
- package/dist/editor-Cu374vEW.cjs +0 -4
- package/dist/editor-a8DSbb6P.js +0 -4
- package/dist/editor-xBt_vIha.cjs +0 -4
- package/dist/heic2any-8wMqMfB_.js +0 -933
- package/dist/heic2any-BrqcNzfV.js +0 -935
- package/dist/heic2any-C8KwH72N.cjs +0 -934
- package/dist/heic2any-k9wDCKka.cjs +0 -932
- package/dist/index-DiG-xM9T.cjs +0 -35016
- package/dist/index-nGuSAiY2.js +0 -35017
- package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/index.d.ts +0 -5
- package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
- package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
- package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
- package/dist/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
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
|
-
|
|
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
|
-
|
|
13798
|
-
|
|
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
|
-
|
|
13830
|
-
|
|
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
|
-
|
|
14009
|
-
|
|
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
|
-
|
|
14054
|
-
|
|
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
|
-
|
|
14117
|
-
|
|
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
|
-
|
|
14152
|
-
|
|
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
|
-
|
|
14170
|
-
|
|
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
|
-
|
|
14239
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
14378
|
-
|
|
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
|
-
|
|
14454
|
-
|
|
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
|
-
|
|
14497
|
-
|
|
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
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
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
|
-
|
|
14596
|
-
|
|
14597
|
-
|
|
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
|
-
|
|
14657
|
-
|
|
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
|
-
|
|
14700
|
-
|
|
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
|
-
|
|
14773
|
-
|
|
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
|
-
|
|
14852
|
-
|
|
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
|
-
|
|
14955
|
-
|
|
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
|
-
|
|
14997
|
-
|
|
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
|
-
|
|
15039
|
-
|
|
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
|
-
|
|
15081
|
-
|
|
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
|
-
|
|
15112
|
-
|
|
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
|
-
|
|
15136
|
-
|
|
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
|
-
|
|
15165
|
-
|
|
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
|
-
|
|
15190
|
-
|
|
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
|
-
|
|
15214
|
-
|
|
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
|
-
|
|
15238
|
-
|
|
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
|
-
|
|
15253
|
-
|
|
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
|
-
|
|
15291
|
-
|
|
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
|
-
|
|
15329
|
-
|
|
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
|
-
|
|
15342
|
-
|
|
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
|
-
|
|
38646
|
-
|
|
38647
|
-
|
|
38648
|
-
|
|
38649
|
-
|
|
38650
|
-
|
|
38651
|
-
|
|
38652
|
-
|
|
38653
|
-
|
|
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
|
-
|
|
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
|
-
|
|
38664
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38665
38665
|
if (this.isTouchMode) this.onPointerUp();
|
|
38666
38666
|
});
|
|
38667
|
-
|
|
38667
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38668
38668
|
if (!this.isTouchMode) {
|
|
38669
38669
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38670
38670
|
}
|
|
38671
38671
|
});
|
|
38672
|
-
|
|
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
|
-
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
39200
|
-
|
|
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))
|
|
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)
|
|
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)
|
|
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"
|