@bagelink/vue 0.0.1180 → 0.0.1182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +24 -8
- 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 +1 -1
- package/src/utils/BagelFormUtils.ts +9 -9
- 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({
|
|
@@ -13773,7 +13773,7 @@ function transpose(fromDate, constructor) {
|
|
|
13773
13773
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13774
13774
|
class Setter {
|
|
13775
13775
|
constructor() {
|
|
13776
|
-
|
|
13776
|
+
__publicField2(this, "subPriority", 0);
|
|
13777
13777
|
}
|
|
13778
13778
|
validate(_utcDate, _options) {
|
|
13779
13779
|
return true;
|
|
@@ -13800,8 +13800,8 @@ class ValueSetter extends Setter {
|
|
|
13800
13800
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13801
13801
|
constructor() {
|
|
13802
13802
|
super(...arguments);
|
|
13803
|
-
|
|
13804
|
-
|
|
13803
|
+
__publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13804
|
+
__publicField2(this, "subPriority", -1);
|
|
13805
13805
|
}
|
|
13806
13806
|
set(date2, flags) {
|
|
13807
13807
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13832,8 +13832,8 @@ class Parser {
|
|
|
13832
13832
|
class EraParser extends Parser {
|
|
13833
13833
|
constructor() {
|
|
13834
13834
|
super(...arguments);
|
|
13835
|
-
|
|
13836
|
-
|
|
13835
|
+
__publicField2(this, "priority", 140);
|
|
13836
|
+
__publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13837
13837
|
}
|
|
13838
13838
|
parse(dateString, token, match2) {
|
|
13839
13839
|
switch (token) {
|
|
@@ -14011,8 +14011,8 @@ function isLeapYearIndex(year) {
|
|
|
14011
14011
|
class YearParser extends Parser {
|
|
14012
14012
|
constructor() {
|
|
14013
14013
|
super(...arguments);
|
|
14014
|
-
|
|
14015
|
-
|
|
14014
|
+
__publicField2(this, "priority", 130);
|
|
14015
|
+
__publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14016
14016
|
}
|
|
14017
14017
|
parse(dateString, token, match2) {
|
|
14018
14018
|
const valueCallback = (year) => ({
|
|
@@ -14056,8 +14056,8 @@ class YearParser extends Parser {
|
|
|
14056
14056
|
class LocalWeekYearParser extends Parser {
|
|
14057
14057
|
constructor() {
|
|
14058
14058
|
super(...arguments);
|
|
14059
|
-
|
|
14060
|
-
|
|
14059
|
+
__publicField2(this, "priority", 130);
|
|
14060
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14061
14061
|
"y",
|
|
14062
14062
|
"R",
|
|
14063
14063
|
"u",
|
|
@@ -14119,8 +14119,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
14119
14119
|
class ISOWeekYearParser extends Parser {
|
|
14120
14120
|
constructor() {
|
|
14121
14121
|
super(...arguments);
|
|
14122
|
-
|
|
14123
|
-
|
|
14122
|
+
__publicField2(this, "priority", 130);
|
|
14123
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14124
14124
|
"G",
|
|
14125
14125
|
"y",
|
|
14126
14126
|
"Y",
|
|
@@ -14154,8 +14154,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14154
14154
|
class ExtendedYearParser extends Parser {
|
|
14155
14155
|
constructor() {
|
|
14156
14156
|
super(...arguments);
|
|
14157
|
-
|
|
14158
|
-
|
|
14157
|
+
__publicField2(this, "priority", 130);
|
|
14158
|
+
__publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14159
14159
|
}
|
|
14160
14160
|
parse(dateString, token) {
|
|
14161
14161
|
if (token === "u") {
|
|
@@ -14172,8 +14172,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14172
14172
|
class QuarterParser extends Parser {
|
|
14173
14173
|
constructor() {
|
|
14174
14174
|
super(...arguments);
|
|
14175
|
-
|
|
14176
|
-
|
|
14175
|
+
__publicField2(this, "priority", 120);
|
|
14176
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14177
14177
|
"Y",
|
|
14178
14178
|
"R",
|
|
14179
14179
|
"q",
|
|
@@ -14241,8 +14241,8 @@ class QuarterParser extends Parser {
|
|
|
14241
14241
|
class StandAloneQuarterParser extends Parser {
|
|
14242
14242
|
constructor() {
|
|
14243
14243
|
super(...arguments);
|
|
14244
|
-
|
|
14245
|
-
|
|
14244
|
+
__publicField2(this, "priority", 120);
|
|
14245
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14246
14246
|
"Y",
|
|
14247
14247
|
"R",
|
|
14248
14248
|
"Q",
|
|
@@ -14310,7 +14310,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14310
14310
|
class MonthParser extends Parser {
|
|
14311
14311
|
constructor() {
|
|
14312
14312
|
super(...arguments);
|
|
14313
|
-
|
|
14313
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14314
14314
|
"Y",
|
|
14315
14315
|
"R",
|
|
14316
14316
|
"q",
|
|
@@ -14325,7 +14325,7 @@ class MonthParser extends Parser {
|
|
|
14325
14325
|
"t",
|
|
14326
14326
|
"T"
|
|
14327
14327
|
]);
|
|
14328
|
-
|
|
14328
|
+
__publicField2(this, "priority", 110);
|
|
14329
14329
|
}
|
|
14330
14330
|
parse(dateString, token, match2) {
|
|
14331
14331
|
const valueCallback = (value) => value - 1;
|
|
@@ -14380,8 +14380,8 @@ class MonthParser extends Parser {
|
|
|
14380
14380
|
class StandAloneMonthParser extends Parser {
|
|
14381
14381
|
constructor() {
|
|
14382
14382
|
super(...arguments);
|
|
14383
|
-
|
|
14384
|
-
|
|
14383
|
+
__publicField2(this, "priority", 110);
|
|
14384
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14385
14385
|
"Y",
|
|
14386
14386
|
"R",
|
|
14387
14387
|
"q",
|
|
@@ -14456,8 +14456,8 @@ function setWeek(date2, week, options) {
|
|
|
14456
14456
|
class LocalWeekParser extends Parser {
|
|
14457
14457
|
constructor() {
|
|
14458
14458
|
super(...arguments);
|
|
14459
|
-
|
|
14460
|
-
|
|
14459
|
+
__publicField2(this, "priority", 100);
|
|
14460
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14461
14461
|
"y",
|
|
14462
14462
|
"R",
|
|
14463
14463
|
"u",
|
|
@@ -14499,8 +14499,8 @@ function setISOWeek(date2, week) {
|
|
|
14499
14499
|
class ISOWeekParser extends Parser {
|
|
14500
14500
|
constructor() {
|
|
14501
14501
|
super(...arguments);
|
|
14502
|
-
|
|
14503
|
-
|
|
14502
|
+
__publicField2(this, "priority", 100);
|
|
14503
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14504
14504
|
"y",
|
|
14505
14505
|
"Y",
|
|
14506
14506
|
"u",
|
|
@@ -14552,9 +14552,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14552
14552
|
class DateParser extends Parser {
|
|
14553
14553
|
constructor() {
|
|
14554
14554
|
super(...arguments);
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14555
|
+
__publicField2(this, "priority", 90);
|
|
14556
|
+
__publicField2(this, "subPriority", 1);
|
|
14557
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14558
14558
|
"Y",
|
|
14559
14559
|
"R",
|
|
14560
14560
|
"q",
|
|
@@ -14598,9 +14598,9 @@ class DateParser extends Parser {
|
|
|
14598
14598
|
class DayOfYearParser extends Parser {
|
|
14599
14599
|
constructor() {
|
|
14600
14600
|
super(...arguments);
|
|
14601
|
-
|
|
14602
|
-
|
|
14603
|
-
|
|
14601
|
+
__publicField2(this, "priority", 90);
|
|
14602
|
+
__publicField2(this, "subpriority", 1);
|
|
14603
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14604
14604
|
"Y",
|
|
14605
14605
|
"R",
|
|
14606
14606
|
"q",
|
|
@@ -14659,8 +14659,8 @@ function setDay(date2, day, options) {
|
|
|
14659
14659
|
class DayParser extends Parser {
|
|
14660
14660
|
constructor() {
|
|
14661
14661
|
super(...arguments);
|
|
14662
|
-
|
|
14663
|
-
|
|
14662
|
+
__publicField2(this, "priority", 90);
|
|
14663
|
+
__publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14664
14664
|
}
|
|
14665
14665
|
parse(dateString, token, match2) {
|
|
14666
14666
|
switch (token) {
|
|
@@ -14702,8 +14702,8 @@ class DayParser extends Parser {
|
|
|
14702
14702
|
class LocalDayParser extends Parser {
|
|
14703
14703
|
constructor() {
|
|
14704
14704
|
super(...arguments);
|
|
14705
|
-
|
|
14706
|
-
|
|
14705
|
+
__publicField2(this, "priority", 90);
|
|
14706
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14707
14707
|
"y",
|
|
14708
14708
|
"R",
|
|
14709
14709
|
"u",
|
|
@@ -14775,8 +14775,8 @@ class LocalDayParser extends Parser {
|
|
|
14775
14775
|
class StandAloneLocalDayParser extends Parser {
|
|
14776
14776
|
constructor() {
|
|
14777
14777
|
super(...arguments);
|
|
14778
|
-
|
|
14779
|
-
|
|
14778
|
+
__publicField2(this, "priority", 90);
|
|
14779
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14780
14780
|
"y",
|
|
14781
14781
|
"R",
|
|
14782
14782
|
"u",
|
|
@@ -14854,8 +14854,8 @@ function setISODay(date2, day) {
|
|
|
14854
14854
|
class ISODayParser extends Parser {
|
|
14855
14855
|
constructor() {
|
|
14856
14856
|
super(...arguments);
|
|
14857
|
-
|
|
14858
|
-
|
|
14857
|
+
__publicField2(this, "priority", 90);
|
|
14858
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14859
14859
|
"y",
|
|
14860
14860
|
"Y",
|
|
14861
14861
|
"u",
|
|
@@ -14957,8 +14957,8 @@ class ISODayParser extends Parser {
|
|
|
14957
14957
|
class AMPMParser extends Parser {
|
|
14958
14958
|
constructor() {
|
|
14959
14959
|
super(...arguments);
|
|
14960
|
-
|
|
14961
|
-
|
|
14960
|
+
__publicField2(this, "priority", 80);
|
|
14961
|
+
__publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14962
14962
|
}
|
|
14963
14963
|
parse(dateString, token, match2) {
|
|
14964
14964
|
switch (token) {
|
|
@@ -14999,8 +14999,8 @@ class AMPMParser extends Parser {
|
|
|
14999
14999
|
class AMPMMidnightParser extends Parser {
|
|
15000
15000
|
constructor() {
|
|
15001
15001
|
super(...arguments);
|
|
15002
|
-
|
|
15003
|
-
|
|
15002
|
+
__publicField2(this, "priority", 80);
|
|
15003
|
+
__publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
15004
15004
|
}
|
|
15005
15005
|
parse(dateString, token, match2) {
|
|
15006
15006
|
switch (token) {
|
|
@@ -15041,8 +15041,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
15041
15041
|
class DayPeriodParser extends Parser {
|
|
15042
15042
|
constructor() {
|
|
15043
15043
|
super(...arguments);
|
|
15044
|
-
|
|
15045
|
-
|
|
15044
|
+
__publicField2(this, "priority", 80);
|
|
15045
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
15046
15046
|
}
|
|
15047
15047
|
parse(dateString, token, match2) {
|
|
15048
15048
|
switch (token) {
|
|
@@ -15083,8 +15083,8 @@ class DayPeriodParser extends Parser {
|
|
|
15083
15083
|
class Hour1to12Parser extends Parser {
|
|
15084
15084
|
constructor() {
|
|
15085
15085
|
super(...arguments);
|
|
15086
|
-
|
|
15087
|
-
|
|
15086
|
+
__publicField2(this, "priority", 70);
|
|
15087
|
+
__publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
15088
15088
|
}
|
|
15089
15089
|
parse(dateString, token, match2) {
|
|
15090
15090
|
switch (token) {
|
|
@@ -15114,8 +15114,8 @@ class Hour1to12Parser extends Parser {
|
|
|
15114
15114
|
class Hour0to23Parser extends Parser {
|
|
15115
15115
|
constructor() {
|
|
15116
15116
|
super(...arguments);
|
|
15117
|
-
|
|
15118
|
-
|
|
15117
|
+
__publicField2(this, "priority", 70);
|
|
15118
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
15119
15119
|
}
|
|
15120
15120
|
parse(dateString, token, match2) {
|
|
15121
15121
|
switch (token) {
|
|
@@ -15138,8 +15138,8 @@ class Hour0to23Parser extends Parser {
|
|
|
15138
15138
|
class Hour0To11Parser extends Parser {
|
|
15139
15139
|
constructor() {
|
|
15140
15140
|
super(...arguments);
|
|
15141
|
-
|
|
15142
|
-
|
|
15141
|
+
__publicField2(this, "priority", 70);
|
|
15142
|
+
__publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
15143
15143
|
}
|
|
15144
15144
|
parse(dateString, token, match2) {
|
|
15145
15145
|
switch (token) {
|
|
@@ -15167,8 +15167,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15167
15167
|
class Hour1To24Parser extends Parser {
|
|
15168
15168
|
constructor() {
|
|
15169
15169
|
super(...arguments);
|
|
15170
|
-
|
|
15171
|
-
|
|
15170
|
+
__publicField2(this, "priority", 70);
|
|
15171
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15172
15172
|
}
|
|
15173
15173
|
parse(dateString, token, match2) {
|
|
15174
15174
|
switch (token) {
|
|
@@ -15192,8 +15192,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15192
15192
|
class MinuteParser extends Parser {
|
|
15193
15193
|
constructor() {
|
|
15194
15194
|
super(...arguments);
|
|
15195
|
-
|
|
15196
|
-
|
|
15195
|
+
__publicField2(this, "priority", 60);
|
|
15196
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15197
15197
|
}
|
|
15198
15198
|
parse(dateString, token, match2) {
|
|
15199
15199
|
switch (token) {
|
|
@@ -15216,8 +15216,8 @@ class MinuteParser extends Parser {
|
|
|
15216
15216
|
class SecondParser extends Parser {
|
|
15217
15217
|
constructor() {
|
|
15218
15218
|
super(...arguments);
|
|
15219
|
-
|
|
15220
|
-
|
|
15219
|
+
__publicField2(this, "priority", 50);
|
|
15220
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15221
15221
|
}
|
|
15222
15222
|
parse(dateString, token, match2) {
|
|
15223
15223
|
switch (token) {
|
|
@@ -15240,8 +15240,8 @@ class SecondParser extends Parser {
|
|
|
15240
15240
|
class FractionOfSecondParser extends Parser {
|
|
15241
15241
|
constructor() {
|
|
15242
15242
|
super(...arguments);
|
|
15243
|
-
|
|
15244
|
-
|
|
15243
|
+
__publicField2(this, "priority", 30);
|
|
15244
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15245
15245
|
}
|
|
15246
15246
|
parse(dateString, token) {
|
|
15247
15247
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15255,8 +15255,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15255
15255
|
class ISOTimezoneWithZParser extends Parser {
|
|
15256
15256
|
constructor() {
|
|
15257
15257
|
super(...arguments);
|
|
15258
|
-
|
|
15259
|
-
|
|
15258
|
+
__publicField2(this, "priority", 10);
|
|
15259
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15260
15260
|
}
|
|
15261
15261
|
parse(dateString, token) {
|
|
15262
15262
|
switch (token) {
|
|
@@ -15293,8 +15293,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15293
15293
|
class ISOTimezoneParser extends Parser {
|
|
15294
15294
|
constructor() {
|
|
15295
15295
|
super(...arguments);
|
|
15296
|
-
|
|
15297
|
-
|
|
15296
|
+
__publicField2(this, "priority", 10);
|
|
15297
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15298
15298
|
}
|
|
15299
15299
|
parse(dateString, token) {
|
|
15300
15300
|
switch (token) {
|
|
@@ -15331,8 +15331,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15331
15331
|
class TimestampSecondsParser extends Parser {
|
|
15332
15332
|
constructor() {
|
|
15333
15333
|
super(...arguments);
|
|
15334
|
-
|
|
15335
|
-
|
|
15334
|
+
__publicField2(this, "priority", 40);
|
|
15335
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15336
15336
|
}
|
|
15337
15337
|
parse(dateString) {
|
|
15338
15338
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15344,8 +15344,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15344
15344
|
class TimestampMillisecondsParser extends Parser {
|
|
15345
15345
|
constructor() {
|
|
15346
15346
|
super(...arguments);
|
|
15347
|
-
|
|
15348
|
-
|
|
15347
|
+
__publicField2(this, "priority", 20);
|
|
15348
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15349
15349
|
}
|
|
15350
15350
|
parse(dateString) {
|
|
15351
15351
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -38649,39 +38649,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38649
38649
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38650
38650
|
class TapDetector {
|
|
38651
38651
|
constructor() {
|
|
38652
|
-
|
|
38653
|
-
|
|
38654
|
-
|
|
38655
|
-
|
|
38656
|
-
|
|
38657
|
-
|
|
38658
|
-
|
|
38659
|
-
|
|
38660
|
-
|
|
38652
|
+
__publicField2(this, "singleTapCallbacks", []);
|
|
38653
|
+
__publicField2(this, "doubleTapCallbacks", []);
|
|
38654
|
+
__publicField2(this, "isTouchMode", false);
|
|
38655
|
+
__publicField2(this, "lastTapTimestamp", 0);
|
|
38656
|
+
__publicField2(this, "tappedCount", 0);
|
|
38657
|
+
__publicField2(this, "touchMovedLength", 0);
|
|
38658
|
+
__publicField2(this, "lastPointerX", 0);
|
|
38659
|
+
__publicField2(this, "lastPointerY", 0);
|
|
38660
|
+
__publicField2(this, "onTouchStart", (event) => {
|
|
38661
38661
|
this.isTouchMode = true;
|
|
38662
38662
|
if (event.touches.length === 1) {
|
|
38663
38663
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38664
38664
|
}
|
|
38665
38665
|
});
|
|
38666
|
-
|
|
38666
|
+
__publicField2(this, "onTouchMove", (event) => {
|
|
38667
38667
|
if (event.touches.length === 1) {
|
|
38668
38668
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38669
38669
|
}
|
|
38670
38670
|
});
|
|
38671
|
-
|
|
38671
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38672
38672
|
if (this.isTouchMode) this.onPointerUp();
|
|
38673
38673
|
});
|
|
38674
|
-
|
|
38674
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38675
38675
|
if (!this.isTouchMode) {
|
|
38676
38676
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38677
38677
|
}
|
|
38678
38678
|
});
|
|
38679
|
-
|
|
38679
|
+
__publicField2(this, "onMouseMove", (event) => {
|
|
38680
38680
|
if (!this.isTouchMode && event.button === 0) {
|
|
38681
38681
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38682
38682
|
}
|
|
38683
38683
|
});
|
|
38684
|
-
|
|
38684
|
+
__publicField2(this, "onMouseUp", () => {
|
|
38685
38685
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38686
38686
|
});
|
|
38687
38687
|
}
|
|
@@ -39154,6 +39154,12 @@ function localRef(key, initialValue) {
|
|
|
39154
39154
|
return value;
|
|
39155
39155
|
}
|
|
39156
39156
|
const useLocalStorage = localRef;
|
|
39157
|
+
var __defProp = Object.defineProperty;
|
|
39158
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
39159
|
+
var __publicField = (obj, key, value) => {
|
|
39160
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
39161
|
+
return value;
|
|
39162
|
+
};
|
|
39157
39163
|
const axios = axios$1.create({
|
|
39158
39164
|
withCredentials: true
|
|
39159
39165
|
});
|
|
@@ -39168,7 +39174,8 @@ class DataRequest {
|
|
|
39168
39174
|
this.itemID = "";
|
|
39169
39175
|
}
|
|
39170
39176
|
async post(item) {
|
|
39171
|
-
if (!this.data_table)
|
|
39177
|
+
if (!this.data_table)
|
|
39178
|
+
throw new Error("Data table not set");
|
|
39172
39179
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
39173
39180
|
return data2;
|
|
39174
39181
|
}
|
|
@@ -39178,7 +39185,8 @@ class DataRequest {
|
|
|
39178
39185
|
}
|
|
39179
39186
|
async get() {
|
|
39180
39187
|
var _a2, _b;
|
|
39181
|
-
if (!this.data_table)
|
|
39188
|
+
if (!this.data_table)
|
|
39189
|
+
throw new Error("Data table not set");
|
|
39182
39190
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
39183
39191
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
39184
39192
|
try {
|
|
@@ -39195,7 +39203,8 @@ class DataRequest {
|
|
|
39195
39203
|
return this;
|
|
39196
39204
|
}
|
|
39197
39205
|
async delete() {
|
|
39198
|
-
if (!this.data_table)
|
|
39206
|
+
if (!this.data_table)
|
|
39207
|
+
throw new Error("Data table not set");
|
|
39199
39208
|
const { data: data2 } = await axios.delete(
|
|
39200
39209
|
`/data/${this.data_table}/${this.itemID}`
|
|
39201
39210
|
);
|
|
@@ -39203,8 +39212,10 @@ class DataRequest {
|
|
|
39203
39212
|
}
|
|
39204
39213
|
async put(updatedItem) {
|
|
39205
39214
|
const { data_table, itemID } = this;
|
|
39206
|
-
if (!data_table)
|
|
39207
|
-
|
|
39215
|
+
if (!data_table)
|
|
39216
|
+
throw new Error("Data table not set");
|
|
39217
|
+
if (!itemID)
|
|
39218
|
+
throw new Error("Item ID not set");
|
|
39208
39219
|
const { data: data2 } = await axios.put(
|
|
39209
39220
|
`/data/${data_table}/${itemID}`,
|
|
39210
39221
|
updatedItem
|
|
@@ -39221,8 +39232,8 @@ function responses(key) {
|
|
|
39221
39232
|
}
|
|
39222
39233
|
class BagelAuth {
|
|
39223
39234
|
constructor(bagel) {
|
|
39224
|
-
__publicField(this, "user");
|
|
39225
39235
|
this.bagel = bagel;
|
|
39236
|
+
__publicField(this, "user");
|
|
39226
39237
|
this.bagel = bagel;
|
|
39227
39238
|
}
|
|
39228
39239
|
async validateUser() {
|
|
@@ -39325,10 +39336,12 @@ class Bagel {
|
|
|
39325
39336
|
async get(endpoint, query) {
|
|
39326
39337
|
this._setAuthorization();
|
|
39327
39338
|
endpoint = this._endpointCleaner(endpoint);
|
|
39328
|
-
if (/undefined|null/.test(endpoint))
|
|
39339
|
+
if (/undefined|null/.test(endpoint))
|
|
39340
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39329
39341
|
if (query) {
|
|
39330
39342
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
39331
|
-
if (queryParams)
|
|
39343
|
+
if (queryParams)
|
|
39344
|
+
endpoint = `${endpoint}?${queryParams}`;
|
|
39332
39345
|
}
|
|
39333
39346
|
const url = `/${endpoint}`;
|
|
39334
39347
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -39383,7 +39396,8 @@ class Bagel {
|
|
|
39383
39396
|
const formData = new FormData();
|
|
39384
39397
|
formData.append("file", file);
|
|
39385
39398
|
let url = "/static_files/upload";
|
|
39386
|
-
if (options == null ? void 0 : options.topic)
|
|
39399
|
+
if (options == null ? void 0 : options.topic)
|
|
39400
|
+
url = `/static_files/upload?topic=${options.topic}`;
|
|
39387
39401
|
const { data: data2 } = await axios.post(url, formData, {
|
|
39388
39402
|
headers: {
|
|
39389
39403
|
"Content-Type": "multipart/form-data"
|