@bagelink/vue 0.0.1178 → 0.0.1182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/NumberInput.vue.d.ts.map +1 -1
- 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 +128 -113
- package/dist/index.mjs +128 -113
- package/dist/style.css +6 -6
- 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/components/form/inputs/NumberInput.vue +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.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
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);
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
@@ -7008,7 +7008,7 @@ const _hoisted_1$1$1 = {
|
|
|
7008
7008
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7009
7009
|
const _hoisted_3$r = { class: "layer-rectangles" };
|
|
7010
7010
|
const _hoisted_4$h = ["transform", "onMouseover"];
|
|
7011
|
-
const _hoisted_5$
|
|
7011
|
+
const _hoisted_5$h = ["width", "height"];
|
|
7012
7012
|
const _hoisted_6$d = {
|
|
7013
7013
|
x: 0 + 10,
|
|
7014
7014
|
y: 0 + 20,
|
|
@@ -7045,7 +7045,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7045
7045
|
y: 0,
|
|
7046
7046
|
width: r2.width,
|
|
7047
7047
|
height: r2.height
|
|
7048
|
-
}), null, 16, _hoisted_5$
|
|
7048
|
+
}), null, 16, _hoisted_5$h),
|
|
7049
7049
|
vue.renderSlot(_ctx.$slots, "text", {
|
|
7050
7050
|
r: r2,
|
|
7051
7051
|
selected: _ctx.selected === i2
|
|
@@ -8151,7 +8151,7 @@ const _hoisted_1$L = {
|
|
|
8151
8151
|
const _hoisted_2$y = { class: "infinite-wrapper" };
|
|
8152
8152
|
const _hoisted_3$q = { class: "row first-row" };
|
|
8153
8153
|
const _hoisted_4$g = { key: 0 };
|
|
8154
|
-
const _hoisted_5$
|
|
8154
|
+
const _hoisted_5$g = ["onClick"];
|
|
8155
8155
|
const _hoisted_6$c = { class: "flex" };
|
|
8156
8156
|
const _hoisted_7$8 = ["onClick"];
|
|
8157
8157
|
const _hoisted_8$5 = { key: 0 };
|
|
@@ -8305,7 +8305,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
8305
8305
|
}, null, 8, ["class"])
|
|
8306
8306
|
], 2)
|
|
8307
8307
|
])
|
|
8308
|
-
], 8, _hoisted_5$
|
|
8308
|
+
], 8, _hoisted_5$g);
|
|
8309
8309
|
}), 128))
|
|
8310
8310
|
]),
|
|
8311
8311
|
vue.createElementVNode("tbody", null, [
|
|
@@ -11864,7 +11864,7 @@ const _hoisted_3$n = {
|
|
|
11864
11864
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
11865
11865
|
};
|
|
11866
11866
|
const _hoisted_4$f = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
11867
|
-
const _hoisted_5$
|
|
11867
|
+
const _hoisted_5$f = ["innerHTML"];
|
|
11868
11868
|
const _hoisted_6$b = ["onKeydown"];
|
|
11869
11869
|
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
11870
11870
|
__name: "Index",
|
|
@@ -11960,7 +11960,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11960
11960
|
vue.createElementVNode("code", {
|
|
11961
11961
|
class: vue.normalizeClass(["absolute inset-0", className.value]),
|
|
11962
11962
|
innerHTML: highlightedCode.value
|
|
11963
|
-
}, null, 10, _hoisted_5$
|
|
11963
|
+
}, null, 10, _hoisted_5$f),
|
|
11964
11964
|
_cache[3] || (_cache[3] = vue.createTextVNode("\n "))
|
|
11965
11965
|
]),
|
|
11966
11966
|
!_ctx.readonly ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
|
|
@@ -13775,7 +13775,7 @@ function transpose(fromDate, constructor) {
|
|
|
13775
13775
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13776
13776
|
class Setter {
|
|
13777
13777
|
constructor() {
|
|
13778
|
-
|
|
13778
|
+
__publicField2(this, "subPriority", 0);
|
|
13779
13779
|
}
|
|
13780
13780
|
validate(_utcDate, _options) {
|
|
13781
13781
|
return true;
|
|
@@ -13802,8 +13802,8 @@ class ValueSetter extends Setter {
|
|
|
13802
13802
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13803
13803
|
constructor() {
|
|
13804
13804
|
super(...arguments);
|
|
13805
|
-
|
|
13806
|
-
|
|
13805
|
+
__publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13806
|
+
__publicField2(this, "subPriority", -1);
|
|
13807
13807
|
}
|
|
13808
13808
|
set(date2, flags) {
|
|
13809
13809
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13834,8 +13834,8 @@ class Parser {
|
|
|
13834
13834
|
class EraParser extends Parser {
|
|
13835
13835
|
constructor() {
|
|
13836
13836
|
super(...arguments);
|
|
13837
|
-
|
|
13838
|
-
|
|
13837
|
+
__publicField2(this, "priority", 140);
|
|
13838
|
+
__publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13839
13839
|
}
|
|
13840
13840
|
parse(dateString, token, match2) {
|
|
13841
13841
|
switch (token) {
|
|
@@ -14013,8 +14013,8 @@ function isLeapYearIndex(year) {
|
|
|
14013
14013
|
class YearParser extends Parser {
|
|
14014
14014
|
constructor() {
|
|
14015
14015
|
super(...arguments);
|
|
14016
|
-
|
|
14017
|
-
|
|
14016
|
+
__publicField2(this, "priority", 130);
|
|
14017
|
+
__publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14018
14018
|
}
|
|
14019
14019
|
parse(dateString, token, match2) {
|
|
14020
14020
|
const valueCallback = (year) => ({
|
|
@@ -14058,8 +14058,8 @@ class YearParser extends Parser {
|
|
|
14058
14058
|
class LocalWeekYearParser extends Parser {
|
|
14059
14059
|
constructor() {
|
|
14060
14060
|
super(...arguments);
|
|
14061
|
-
|
|
14062
|
-
|
|
14061
|
+
__publicField2(this, "priority", 130);
|
|
14062
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14063
14063
|
"y",
|
|
14064
14064
|
"R",
|
|
14065
14065
|
"u",
|
|
@@ -14121,8 +14121,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
14121
14121
|
class ISOWeekYearParser extends Parser {
|
|
14122
14122
|
constructor() {
|
|
14123
14123
|
super(...arguments);
|
|
14124
|
-
|
|
14125
|
-
|
|
14124
|
+
__publicField2(this, "priority", 130);
|
|
14125
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14126
14126
|
"G",
|
|
14127
14127
|
"y",
|
|
14128
14128
|
"Y",
|
|
@@ -14156,8 +14156,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14156
14156
|
class ExtendedYearParser extends Parser {
|
|
14157
14157
|
constructor() {
|
|
14158
14158
|
super(...arguments);
|
|
14159
|
-
|
|
14160
|
-
|
|
14159
|
+
__publicField2(this, "priority", 130);
|
|
14160
|
+
__publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14161
14161
|
}
|
|
14162
14162
|
parse(dateString, token) {
|
|
14163
14163
|
if (token === "u") {
|
|
@@ -14174,8 +14174,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14174
14174
|
class QuarterParser extends Parser {
|
|
14175
14175
|
constructor() {
|
|
14176
14176
|
super(...arguments);
|
|
14177
|
-
|
|
14178
|
-
|
|
14177
|
+
__publicField2(this, "priority", 120);
|
|
14178
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14179
14179
|
"Y",
|
|
14180
14180
|
"R",
|
|
14181
14181
|
"q",
|
|
@@ -14243,8 +14243,8 @@ class QuarterParser extends Parser {
|
|
|
14243
14243
|
class StandAloneQuarterParser extends Parser {
|
|
14244
14244
|
constructor() {
|
|
14245
14245
|
super(...arguments);
|
|
14246
|
-
|
|
14247
|
-
|
|
14246
|
+
__publicField2(this, "priority", 120);
|
|
14247
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14248
14248
|
"Y",
|
|
14249
14249
|
"R",
|
|
14250
14250
|
"Q",
|
|
@@ -14312,7 +14312,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14312
14312
|
class MonthParser extends Parser {
|
|
14313
14313
|
constructor() {
|
|
14314
14314
|
super(...arguments);
|
|
14315
|
-
|
|
14315
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14316
14316
|
"Y",
|
|
14317
14317
|
"R",
|
|
14318
14318
|
"q",
|
|
@@ -14327,7 +14327,7 @@ class MonthParser extends Parser {
|
|
|
14327
14327
|
"t",
|
|
14328
14328
|
"T"
|
|
14329
14329
|
]);
|
|
14330
|
-
|
|
14330
|
+
__publicField2(this, "priority", 110);
|
|
14331
14331
|
}
|
|
14332
14332
|
parse(dateString, token, match2) {
|
|
14333
14333
|
const valueCallback = (value) => value - 1;
|
|
@@ -14382,8 +14382,8 @@ class MonthParser extends Parser {
|
|
|
14382
14382
|
class StandAloneMonthParser extends Parser {
|
|
14383
14383
|
constructor() {
|
|
14384
14384
|
super(...arguments);
|
|
14385
|
-
|
|
14386
|
-
|
|
14385
|
+
__publicField2(this, "priority", 110);
|
|
14386
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14387
14387
|
"Y",
|
|
14388
14388
|
"R",
|
|
14389
14389
|
"q",
|
|
@@ -14458,8 +14458,8 @@ function setWeek(date2, week, options) {
|
|
|
14458
14458
|
class LocalWeekParser extends Parser {
|
|
14459
14459
|
constructor() {
|
|
14460
14460
|
super(...arguments);
|
|
14461
|
-
|
|
14462
|
-
|
|
14461
|
+
__publicField2(this, "priority", 100);
|
|
14462
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14463
14463
|
"y",
|
|
14464
14464
|
"R",
|
|
14465
14465
|
"u",
|
|
@@ -14501,8 +14501,8 @@ function setISOWeek(date2, week) {
|
|
|
14501
14501
|
class ISOWeekParser extends Parser {
|
|
14502
14502
|
constructor() {
|
|
14503
14503
|
super(...arguments);
|
|
14504
|
-
|
|
14505
|
-
|
|
14504
|
+
__publicField2(this, "priority", 100);
|
|
14505
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14506
14506
|
"y",
|
|
14507
14507
|
"Y",
|
|
14508
14508
|
"u",
|
|
@@ -14554,9 +14554,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14554
14554
|
class DateParser extends Parser {
|
|
14555
14555
|
constructor() {
|
|
14556
14556
|
super(...arguments);
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14557
|
+
__publicField2(this, "priority", 90);
|
|
14558
|
+
__publicField2(this, "subPriority", 1);
|
|
14559
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14560
14560
|
"Y",
|
|
14561
14561
|
"R",
|
|
14562
14562
|
"q",
|
|
@@ -14600,9 +14600,9 @@ class DateParser extends Parser {
|
|
|
14600
14600
|
class DayOfYearParser extends Parser {
|
|
14601
14601
|
constructor() {
|
|
14602
14602
|
super(...arguments);
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14603
|
+
__publicField2(this, "priority", 90);
|
|
14604
|
+
__publicField2(this, "subpriority", 1);
|
|
14605
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14606
14606
|
"Y",
|
|
14607
14607
|
"R",
|
|
14608
14608
|
"q",
|
|
@@ -14661,8 +14661,8 @@ function setDay(date2, day, options) {
|
|
|
14661
14661
|
class DayParser extends Parser {
|
|
14662
14662
|
constructor() {
|
|
14663
14663
|
super(...arguments);
|
|
14664
|
-
|
|
14665
|
-
|
|
14664
|
+
__publicField2(this, "priority", 90);
|
|
14665
|
+
__publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14666
14666
|
}
|
|
14667
14667
|
parse(dateString, token, match2) {
|
|
14668
14668
|
switch (token) {
|
|
@@ -14704,8 +14704,8 @@ class DayParser extends Parser {
|
|
|
14704
14704
|
class LocalDayParser extends Parser {
|
|
14705
14705
|
constructor() {
|
|
14706
14706
|
super(...arguments);
|
|
14707
|
-
|
|
14708
|
-
|
|
14707
|
+
__publicField2(this, "priority", 90);
|
|
14708
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14709
14709
|
"y",
|
|
14710
14710
|
"R",
|
|
14711
14711
|
"u",
|
|
@@ -14777,8 +14777,8 @@ class LocalDayParser extends Parser {
|
|
|
14777
14777
|
class StandAloneLocalDayParser extends Parser {
|
|
14778
14778
|
constructor() {
|
|
14779
14779
|
super(...arguments);
|
|
14780
|
-
|
|
14781
|
-
|
|
14780
|
+
__publicField2(this, "priority", 90);
|
|
14781
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14782
14782
|
"y",
|
|
14783
14783
|
"R",
|
|
14784
14784
|
"u",
|
|
@@ -14856,8 +14856,8 @@ function setISODay(date2, day) {
|
|
|
14856
14856
|
class ISODayParser extends Parser {
|
|
14857
14857
|
constructor() {
|
|
14858
14858
|
super(...arguments);
|
|
14859
|
-
|
|
14860
|
-
|
|
14859
|
+
__publicField2(this, "priority", 90);
|
|
14860
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14861
14861
|
"y",
|
|
14862
14862
|
"Y",
|
|
14863
14863
|
"u",
|
|
@@ -14959,8 +14959,8 @@ class ISODayParser extends Parser {
|
|
|
14959
14959
|
class AMPMParser extends Parser {
|
|
14960
14960
|
constructor() {
|
|
14961
14961
|
super(...arguments);
|
|
14962
|
-
|
|
14963
|
-
|
|
14962
|
+
__publicField2(this, "priority", 80);
|
|
14963
|
+
__publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14964
14964
|
}
|
|
14965
14965
|
parse(dateString, token, match2) {
|
|
14966
14966
|
switch (token) {
|
|
@@ -15001,8 +15001,8 @@ class AMPMParser extends Parser {
|
|
|
15001
15001
|
class AMPMMidnightParser extends Parser {
|
|
15002
15002
|
constructor() {
|
|
15003
15003
|
super(...arguments);
|
|
15004
|
-
|
|
15005
|
-
|
|
15004
|
+
__publicField2(this, "priority", 80);
|
|
15005
|
+
__publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
15006
15006
|
}
|
|
15007
15007
|
parse(dateString, token, match2) {
|
|
15008
15008
|
switch (token) {
|
|
@@ -15043,8 +15043,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
15043
15043
|
class DayPeriodParser extends Parser {
|
|
15044
15044
|
constructor() {
|
|
15045
15045
|
super(...arguments);
|
|
15046
|
-
|
|
15047
|
-
|
|
15046
|
+
__publicField2(this, "priority", 80);
|
|
15047
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
15048
15048
|
}
|
|
15049
15049
|
parse(dateString, token, match2) {
|
|
15050
15050
|
switch (token) {
|
|
@@ -15085,8 +15085,8 @@ class DayPeriodParser extends Parser {
|
|
|
15085
15085
|
class Hour1to12Parser extends Parser {
|
|
15086
15086
|
constructor() {
|
|
15087
15087
|
super(...arguments);
|
|
15088
|
-
|
|
15089
|
-
|
|
15088
|
+
__publicField2(this, "priority", 70);
|
|
15089
|
+
__publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
15090
15090
|
}
|
|
15091
15091
|
parse(dateString, token, match2) {
|
|
15092
15092
|
switch (token) {
|
|
@@ -15116,8 +15116,8 @@ class Hour1to12Parser extends Parser {
|
|
|
15116
15116
|
class Hour0to23Parser extends Parser {
|
|
15117
15117
|
constructor() {
|
|
15118
15118
|
super(...arguments);
|
|
15119
|
-
|
|
15120
|
-
|
|
15119
|
+
__publicField2(this, "priority", 70);
|
|
15120
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
15121
15121
|
}
|
|
15122
15122
|
parse(dateString, token, match2) {
|
|
15123
15123
|
switch (token) {
|
|
@@ -15140,8 +15140,8 @@ class Hour0to23Parser extends Parser {
|
|
|
15140
15140
|
class Hour0To11Parser extends Parser {
|
|
15141
15141
|
constructor() {
|
|
15142
15142
|
super(...arguments);
|
|
15143
|
-
|
|
15144
|
-
|
|
15143
|
+
__publicField2(this, "priority", 70);
|
|
15144
|
+
__publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
15145
15145
|
}
|
|
15146
15146
|
parse(dateString, token, match2) {
|
|
15147
15147
|
switch (token) {
|
|
@@ -15169,8 +15169,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15169
15169
|
class Hour1To24Parser extends Parser {
|
|
15170
15170
|
constructor() {
|
|
15171
15171
|
super(...arguments);
|
|
15172
|
-
|
|
15173
|
-
|
|
15172
|
+
__publicField2(this, "priority", 70);
|
|
15173
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15174
15174
|
}
|
|
15175
15175
|
parse(dateString, token, match2) {
|
|
15176
15176
|
switch (token) {
|
|
@@ -15194,8 +15194,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15194
15194
|
class MinuteParser extends Parser {
|
|
15195
15195
|
constructor() {
|
|
15196
15196
|
super(...arguments);
|
|
15197
|
-
|
|
15198
|
-
|
|
15197
|
+
__publicField2(this, "priority", 60);
|
|
15198
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15199
15199
|
}
|
|
15200
15200
|
parse(dateString, token, match2) {
|
|
15201
15201
|
switch (token) {
|
|
@@ -15218,8 +15218,8 @@ class MinuteParser extends Parser {
|
|
|
15218
15218
|
class SecondParser extends Parser {
|
|
15219
15219
|
constructor() {
|
|
15220
15220
|
super(...arguments);
|
|
15221
|
-
|
|
15222
|
-
|
|
15221
|
+
__publicField2(this, "priority", 50);
|
|
15222
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15223
15223
|
}
|
|
15224
15224
|
parse(dateString, token, match2) {
|
|
15225
15225
|
switch (token) {
|
|
@@ -15242,8 +15242,8 @@ class SecondParser extends Parser {
|
|
|
15242
15242
|
class FractionOfSecondParser extends Parser {
|
|
15243
15243
|
constructor() {
|
|
15244
15244
|
super(...arguments);
|
|
15245
|
-
|
|
15246
|
-
|
|
15245
|
+
__publicField2(this, "priority", 30);
|
|
15246
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15247
15247
|
}
|
|
15248
15248
|
parse(dateString, token) {
|
|
15249
15249
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15257,8 +15257,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15257
15257
|
class ISOTimezoneWithZParser extends Parser {
|
|
15258
15258
|
constructor() {
|
|
15259
15259
|
super(...arguments);
|
|
15260
|
-
|
|
15261
|
-
|
|
15260
|
+
__publicField2(this, "priority", 10);
|
|
15261
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15262
15262
|
}
|
|
15263
15263
|
parse(dateString, token) {
|
|
15264
15264
|
switch (token) {
|
|
@@ -15295,8 +15295,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15295
15295
|
class ISOTimezoneParser extends Parser {
|
|
15296
15296
|
constructor() {
|
|
15297
15297
|
super(...arguments);
|
|
15298
|
-
|
|
15299
|
-
|
|
15298
|
+
__publicField2(this, "priority", 10);
|
|
15299
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15300
15300
|
}
|
|
15301
15301
|
parse(dateString, token) {
|
|
15302
15302
|
switch (token) {
|
|
@@ -15333,8 +15333,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15333
15333
|
class TimestampSecondsParser extends Parser {
|
|
15334
15334
|
constructor() {
|
|
15335
15335
|
super(...arguments);
|
|
15336
|
-
|
|
15337
|
-
|
|
15336
|
+
__publicField2(this, "priority", 40);
|
|
15337
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15338
15338
|
}
|
|
15339
15339
|
parse(dateString) {
|
|
15340
15340
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15346,8 +15346,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15346
15346
|
class TimestampMillisecondsParser extends Parser {
|
|
15347
15347
|
constructor() {
|
|
15348
15348
|
super(...arguments);
|
|
15349
|
-
|
|
15350
|
-
|
|
15349
|
+
__publicField2(this, "priority", 20);
|
|
15350
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15351
15351
|
}
|
|
15352
15352
|
parse(dateString) {
|
|
15353
15353
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -20658,7 +20658,7 @@ const _hoisted_3$m = {
|
|
|
20658
20658
|
class: "required"
|
|
20659
20659
|
};
|
|
20660
20660
|
const _hoisted_4$e = { class: "date-picker-container" };
|
|
20661
|
-
const _hoisted_5$
|
|
20661
|
+
const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
|
|
20662
20662
|
const _hoisted_6$a = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
20663
20663
|
const _hoisted_7$7 = { class: "calendar-section border-end m_border-none pe-05 m_p-0" };
|
|
20664
20664
|
const _hoisted_8$4 = { class: "flex space-between pb-1" };
|
|
@@ -21017,7 +21017,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
21017
21017
|
class: "date-input",
|
|
21018
21018
|
onInput: handleInput,
|
|
21019
21019
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true)
|
|
21020
|
-
}, null, 40, _hoisted_5$
|
|
21020
|
+
}, null, 40, _hoisted_5$e)
|
|
21021
21021
|
])
|
|
21022
21022
|
]),
|
|
21023
21023
|
_: 1
|
|
@@ -21034,7 +21034,7 @@ const _hoisted_3$l = {
|
|
|
21034
21034
|
class: "time-wrap"
|
|
21035
21035
|
};
|
|
21036
21036
|
const _hoisted_4$d = ["id", "name", "value"];
|
|
21037
|
-
const _hoisted_5$
|
|
21037
|
+
const _hoisted_5$d = ["for"];
|
|
21038
21038
|
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
21039
21039
|
__name: "DatePicker",
|
|
21040
21040
|
props: {
|
|
@@ -21096,7 +21096,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
21096
21096
|
]),
|
|
21097
21097
|
vue.createElementVNode("label", {
|
|
21098
21098
|
for: `${hr2}_${_ctx.id}`
|
|
21099
|
-
}, vue.toDisplayString(hr2), 9, _hoisted_5$
|
|
21099
|
+
}, vue.toDisplayString(hr2), 9, _hoisted_5$d)
|
|
21100
21100
|
], 64);
|
|
21101
21101
|
}), 128))
|
|
21102
21102
|
])) : vue.createCommentVNode("", true)
|
|
@@ -21114,7 +21114,7 @@ const _hoisted_2$p = {
|
|
|
21114
21114
|
};
|
|
21115
21115
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
21116
21116
|
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
21117
|
-
const _hoisted_5$
|
|
21117
|
+
const _hoisted_5$c = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
21118
21118
|
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
21119
21119
|
const _hoisted_7$6 = {
|
|
21120
21120
|
key: 1,
|
|
@@ -21378,7 +21378,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
21378
21378
|
])), [
|
|
21379
21379
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
21380
21380
|
]),
|
|
21381
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
21381
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
21382
21382
|
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
21383
21383
|
icon: "draft",
|
|
21384
21384
|
size: 1.5
|
|
@@ -21619,9 +21619,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21619
21619
|
});
|
|
21620
21620
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
21621
21621
|
const _hoisted_1$z = ["for"];
|
|
21622
|
-
const _hoisted_2$n =
|
|
21623
|
-
const _hoisted_3$i =
|
|
21624
|
-
const _hoisted_4$b = {
|
|
21622
|
+
const _hoisted_2$n = { key: 0 };
|
|
21623
|
+
const _hoisted_3$i = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
21624
|
+
const _hoisted_4$b = { key: 1 };
|
|
21625
|
+
const _hoisted_5$b = {
|
|
21625
21626
|
key: 5,
|
|
21626
21627
|
class: "flex column spinner"
|
|
21627
21628
|
};
|
|
@@ -21694,7 +21695,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21694
21695
|
}])
|
|
21695
21696
|
}, [
|
|
21696
21697
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
21697
|
-
vue.
|
|
21698
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
21698
21699
|
vue.createElementVNode("div", {
|
|
21699
21700
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
21700
21701
|
}, [
|
|
@@ -21728,7 +21729,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21728
21729
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
21729
21730
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
21730
21731
|
]
|
|
21731
|
-
}, null, 42,
|
|
21732
|
+
}, null, 42, _hoisted_3$i), [
|
|
21732
21733
|
[
|
|
21733
21734
|
vue.vModelText,
|
|
21734
21735
|
vue.unref(formattedValue),
|
|
@@ -21742,7 +21743,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21742
21743
|
{ number: true }
|
|
21743
21744
|
]
|
|
21744
21745
|
]),
|
|
21745
|
-
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p",
|
|
21746
|
+
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$b, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
21746
21747
|
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$q), {
|
|
21747
21748
|
key: 2,
|
|
21748
21749
|
class: "iconStart",
|
|
@@ -21760,7 +21761,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21760
21761
|
tabindex: "-1",
|
|
21761
21762
|
onClick: decrement
|
|
21762
21763
|
}, null, 8, ["class"])) : vue.createCommentVNode("", true),
|
|
21763
|
-
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21764
|
+
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$b, [
|
|
21764
21765
|
vue.createVNode(vue.unref(Btn), {
|
|
21765
21766
|
icon: "add",
|
|
21766
21767
|
flat: "",
|
|
@@ -21786,7 +21787,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21786
21787
|
};
|
|
21787
21788
|
}
|
|
21788
21789
|
});
|
|
21789
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
21790
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-e3916f73"]]);
|
|
21790
21791
|
const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21791
21792
|
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
21792
21793
|
__name: "OTP",
|
|
@@ -38650,39 +38651,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38650
38651
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38651
38652
|
class TapDetector {
|
|
38652
38653
|
constructor() {
|
|
38653
|
-
|
|
38654
|
-
|
|
38655
|
-
|
|
38656
|
-
|
|
38657
|
-
|
|
38658
|
-
|
|
38659
|
-
|
|
38660
|
-
|
|
38661
|
-
|
|
38654
|
+
__publicField2(this, "singleTapCallbacks", []);
|
|
38655
|
+
__publicField2(this, "doubleTapCallbacks", []);
|
|
38656
|
+
__publicField2(this, "isTouchMode", false);
|
|
38657
|
+
__publicField2(this, "lastTapTimestamp", 0);
|
|
38658
|
+
__publicField2(this, "tappedCount", 0);
|
|
38659
|
+
__publicField2(this, "touchMovedLength", 0);
|
|
38660
|
+
__publicField2(this, "lastPointerX", 0);
|
|
38661
|
+
__publicField2(this, "lastPointerY", 0);
|
|
38662
|
+
__publicField2(this, "onTouchStart", (event) => {
|
|
38662
38663
|
this.isTouchMode = true;
|
|
38663
38664
|
if (event.touches.length === 1) {
|
|
38664
38665
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38665
38666
|
}
|
|
38666
38667
|
});
|
|
38667
|
-
|
|
38668
|
+
__publicField2(this, "onTouchMove", (event) => {
|
|
38668
38669
|
if (event.touches.length === 1) {
|
|
38669
38670
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38670
38671
|
}
|
|
38671
38672
|
});
|
|
38672
|
-
|
|
38673
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38673
38674
|
if (this.isTouchMode) this.onPointerUp();
|
|
38674
38675
|
});
|
|
38675
|
-
|
|
38676
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38676
38677
|
if (!this.isTouchMode) {
|
|
38677
38678
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38678
38679
|
}
|
|
38679
38680
|
});
|
|
38680
|
-
|
|
38681
|
+
__publicField2(this, "onMouseMove", (event) => {
|
|
38681
38682
|
if (!this.isTouchMode && event.button === 0) {
|
|
38682
38683
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38683
38684
|
}
|
|
38684
38685
|
});
|
|
38685
|
-
|
|
38686
|
+
__publicField2(this, "onMouseUp", () => {
|
|
38686
38687
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38687
38688
|
});
|
|
38688
38689
|
}
|
|
@@ -39155,6 +39156,12 @@ function localRef(key, initialValue) {
|
|
|
39155
39156
|
return value;
|
|
39156
39157
|
}
|
|
39157
39158
|
const useLocalStorage = localRef;
|
|
39159
|
+
var __defProp = Object.defineProperty;
|
|
39160
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
39161
|
+
var __publicField = (obj, key, value) => {
|
|
39162
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
39163
|
+
return value;
|
|
39164
|
+
};
|
|
39158
39165
|
const axios = axios$1.create({
|
|
39159
39166
|
withCredentials: true
|
|
39160
39167
|
});
|
|
@@ -39169,7 +39176,8 @@ class DataRequest {
|
|
|
39169
39176
|
this.itemID = "";
|
|
39170
39177
|
}
|
|
39171
39178
|
async post(item) {
|
|
39172
|
-
if (!this.data_table)
|
|
39179
|
+
if (!this.data_table)
|
|
39180
|
+
throw new Error("Data table not set");
|
|
39173
39181
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
39174
39182
|
return data2;
|
|
39175
39183
|
}
|
|
@@ -39179,7 +39187,8 @@ class DataRequest {
|
|
|
39179
39187
|
}
|
|
39180
39188
|
async get() {
|
|
39181
39189
|
var _a2, _b;
|
|
39182
|
-
if (!this.data_table)
|
|
39190
|
+
if (!this.data_table)
|
|
39191
|
+
throw new Error("Data table not set");
|
|
39183
39192
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
39184
39193
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
39185
39194
|
try {
|
|
@@ -39196,7 +39205,8 @@ class DataRequest {
|
|
|
39196
39205
|
return this;
|
|
39197
39206
|
}
|
|
39198
39207
|
async delete() {
|
|
39199
|
-
if (!this.data_table)
|
|
39208
|
+
if (!this.data_table)
|
|
39209
|
+
throw new Error("Data table not set");
|
|
39200
39210
|
const { data: data2 } = await axios.delete(
|
|
39201
39211
|
`/data/${this.data_table}/${this.itemID}`
|
|
39202
39212
|
);
|
|
@@ -39204,8 +39214,10 @@ class DataRequest {
|
|
|
39204
39214
|
}
|
|
39205
39215
|
async put(updatedItem) {
|
|
39206
39216
|
const { data_table, itemID } = this;
|
|
39207
|
-
if (!data_table)
|
|
39208
|
-
|
|
39217
|
+
if (!data_table)
|
|
39218
|
+
throw new Error("Data table not set");
|
|
39219
|
+
if (!itemID)
|
|
39220
|
+
throw new Error("Item ID not set");
|
|
39209
39221
|
const { data: data2 } = await axios.put(
|
|
39210
39222
|
`/data/${data_table}/${itemID}`,
|
|
39211
39223
|
updatedItem
|
|
@@ -39222,8 +39234,8 @@ function responses(key) {
|
|
|
39222
39234
|
}
|
|
39223
39235
|
class BagelAuth {
|
|
39224
39236
|
constructor(bagel) {
|
|
39225
|
-
__publicField(this, "user");
|
|
39226
39237
|
this.bagel = bagel;
|
|
39238
|
+
__publicField(this, "user");
|
|
39227
39239
|
this.bagel = bagel;
|
|
39228
39240
|
}
|
|
39229
39241
|
async validateUser() {
|
|
@@ -39326,10 +39338,12 @@ class Bagel {
|
|
|
39326
39338
|
async get(endpoint, query) {
|
|
39327
39339
|
this._setAuthorization();
|
|
39328
39340
|
endpoint = this._endpointCleaner(endpoint);
|
|
39329
|
-
if (/undefined|null/.test(endpoint))
|
|
39341
|
+
if (/undefined|null/.test(endpoint))
|
|
39342
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39330
39343
|
if (query) {
|
|
39331
39344
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
39332
|
-
if (queryParams)
|
|
39345
|
+
if (queryParams)
|
|
39346
|
+
endpoint = `${endpoint}?${queryParams}`;
|
|
39333
39347
|
}
|
|
39334
39348
|
const url = `/${endpoint}`;
|
|
39335
39349
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -39384,7 +39398,8 @@ class Bagel {
|
|
|
39384
39398
|
const formData = new FormData();
|
|
39385
39399
|
formData.append("file", file);
|
|
39386
39400
|
let url = "/static_files/upload";
|
|
39387
|
-
if (options == null ? void 0 : options.topic)
|
|
39401
|
+
if (options == null ? void 0 : options.topic)
|
|
39402
|
+
url = `/static_files/upload?topic=${options.topic}`;
|
|
39388
39403
|
const { data: data2 } = await axios.post(url, formData, {
|
|
39389
39404
|
headers: {
|
|
39390
39405
|
"Content-Type": "multipart/form-data"
|