@bagelink/vue 0.0.1176 → 0.0.1180
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/common-C_IH8b5S.cjs +12580 -0
- package/dist/common-DoeNgx31.js +12579 -0
- package/dist/components/AddressSaerch.vue.d.ts +7 -0
- package/dist/components/AddressSaerch.vue.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/FormSchema.vue.d.ts +4 -5
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ModalBglForm.vue.d.ts +20 -21
- package/dist/components/PersonPreview.vue.d.ts +4 -5
- package/dist/components/PersonPreviewFormkit.vue.d.ts +3 -4
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/TabbedLayout.vue.d.ts +4 -5
- package/dist/components/TableSchema.vue.d.ts +2 -2
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/form/BagelForm.vue.d.ts +1 -0
- package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +3 -5
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +3 -4
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- 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/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- 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/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +14 -0
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText/formatting.d.ts +11 -0
- package/dist/components/form/inputs/RichText/formatting.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText/richtext-types.d.ts +3 -0
- package/dist/components/form/inputs/RichText/richtext-types.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.vue.d.ts +0 -1
- 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 +8 -6
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +86 -0
- package/dist/components/form/inputs/Upload/UploadFile.vue.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/sortable/Animation.d.ts +43 -0
- package/dist/components/sortable/Animation.d.ts.map +1 -0
- package/dist/components/sortable/BrowserInfo.d.ts +7 -0
- package/dist/components/sortable/BrowserInfo.d.ts.map +1 -0
- package/dist/components/sortable/EventDispatcher.d.ts +13 -0
- package/dist/components/sortable/EventDispatcher.d.ts.map +1 -0
- package/dist/components/sortable/PluginManager.d.ts +27 -0
- package/dist/components/sortable/PluginManager.d.ts.map +1 -0
- package/dist/components/sortable/Sortable.d.ts +81 -0
- package/dist/components/sortable/Sortable.d.ts.map +1 -0
- package/dist/components/sortable/index.d.ts +5 -0
- package/dist/components/sortable/index.d.ts.map +1 -0
- package/dist/components/sortable/utils.d.ts +49 -0
- package/dist/components/sortable/utils.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/composables/drag-n-drop/useDraggable.d.ts +2 -0
- package/dist/composables/drag-n-drop/useDraggable.d.ts.map +1 -0
- package/dist/editor-CUDRLdmS.js +4 -0
- package/dist/editor-Cu374vEW.cjs +4 -0
- package/dist/editor-a8DSbb6P.js +4 -0
- package/dist/editor-xBt_vIha.cjs +4 -0
- package/dist/heic2any-8wMqMfB_.js +933 -0
- package/dist/heic2any-BrqcNzfV.js +935 -0
- package/dist/heic2any-C8KwH72N.cjs +934 -0
- package/dist/heic2any-k9wDCKka.cjs +932 -0
- package/dist/index-DiG-xM9T.cjs +35016 -0
- package/dist/index-nGuSAiY2.js +35017 -0
- package/dist/index.cjs +127 -134
- package/dist/index.mjs +127 -134
- package/dist/plugins/drag-n-drop/draggable.d.ts +4 -0
- package/dist/plugins/drag-n-drop/draggable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/droppable.d.ts +4 -0
- package/dist/plugins/drag-n-drop/droppable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/index.d.ts +5 -0
- package/dist/plugins/drag-n-drop/index.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/useDraggable.d.ts +8 -0
- package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/useDroppable.d.ts +7 -0
- package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +1 -0
- package/dist/style.css +6 -6
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/utils/objects.d.ts +0 -1
- package/package.json +1 -1
- package/src/components/form/BagelForm.vue +13 -6
- package/src/components/form/inputs/NumberInput.vue +1 -1
- package/dist/components/Accordion.d.ts +0 -12
- package/dist/components/Accordion.d.ts.map +0 -1
- package/dist/components/AccordionItem.d.ts +0 -34
- package/dist/components/AccordionItem.d.ts.map +0 -1
- package/dist/components/Alert.d.ts +0 -34
- package/dist/components/Alert.d.ts.map +0 -1
- package/dist/components/Avatar.d.ts +0 -36
- package/dist/components/Avatar.d.ts.map +0 -1
- package/dist/components/Badge.d.ts +0 -22
- package/dist/components/Badge.d.ts.map +0 -1
- package/dist/components/BglVideo.d.ts +0 -20
- package/dist/components/BglVideo.d.ts.map +0 -1
- package/dist/components/Btn.d.ts +0 -99
- package/dist/components/Btn.d.ts.map +0 -1
- package/dist/components/Card.d.ts +0 -39
- package/dist/components/Card.d.ts.map +0 -1
- package/dist/components/Carousel.d.ts +0 -74
- package/dist/components/Carousel.d.ts.map +0 -1
- package/dist/components/DataPreview.d.ts +0 -42
- package/dist/components/DataPreview.d.ts.map +0 -1
- package/dist/components/Drop.vue.d.ts +0 -34
- package/dist/components/Drop.vue.d.ts.map +0 -1
- package/dist/components/FileUploader.vue.d.ts +0 -60
- package/dist/components/FileUploader.vue.d.ts.map +0 -1
- package/dist/components/Flag.d.ts +0 -20
- package/dist/components/Flag.d.ts.map +0 -1
- package/dist/components/ListItem.d.ts +0 -34
- package/dist/components/ListItem.d.ts.map +0 -1
- package/dist/components/ListView.d.ts +0 -13
- package/dist/components/ListView.d.ts.map +0 -1
- package/dist/components/MapEmbed.d.ts +0 -3
- package/dist/components/MapEmbed.d.ts.map +0 -1
- package/dist/components/MaterialIcon.d.ts +0 -26
- package/dist/components/MaterialIcon.d.ts.map +0 -1
- package/dist/components/Modal.d.ts +0 -46
- package/dist/components/Modal.d.ts.map +0 -1
- package/dist/components/ModalConfirm.d.ts +0 -24
- package/dist/components/ModalConfirm.d.ts.map +0 -1
- package/dist/components/ModalForm.d.ts +0 -78
- package/dist/components/ModalForm.d.ts.map +0 -1
- package/dist/components/NavBar.d.ts +0 -64
- package/dist/components/NavBar.d.ts.map +0 -1
- package/dist/components/PageTitle.d.ts +0 -24
- package/dist/components/PageTitle.d.ts.map +0 -1
- package/dist/components/RouterWrapper.d.ts +0 -3
- package/dist/components/RouterWrapper.d.ts.map +0 -1
- package/dist/components/TableSchema.d.ts +0 -35
- package/dist/components/TableSchema.d.ts.map +0 -1
- package/dist/components/Title.d.ts +0 -42
- package/dist/components/Title.d.ts.map +0 -1
- package/dist/components/TopBar.d.ts +0 -12
- package/dist/components/TopBar.d.ts.map +0 -1
- package/dist/components/dashboard/Lineart.d.ts +0 -20
- package/dist/components/dashboard/Lineart.d.ts.map +0 -1
- package/dist/components/form/BglField.d.ts +0 -25
- package/dist/components/form/BglField.d.ts.map +0 -1
- package/dist/components/form/BglForm.d.ts +0 -75
- package/dist/components/form/BglForm.d.ts.map +0 -1
- package/dist/components/form/inputs/CheckInput.d.ts +0 -56
- package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
- package/dist/components/form/inputs/Checkbox.d.ts +0 -16
- package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
- package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
- package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
- package/dist/components/form/inputs/DateInput.d.ts +0 -64
- package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
- package/dist/components/form/inputs/DatePicker.d.ts +0 -33
- package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
- package/dist/components/form/inputs/FileUpload.d.ts +0 -108
- package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
- package/dist/components/form/inputs/JSONInput.d.ts +0 -53
- package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
- package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText.d.ts +0 -20
- package/dist/components/form/inputs/RichText.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
- package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
- package/dist/components/form/inputs/SelectInput.d.ts +0 -55
- package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
- package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
- package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
- package/dist/components/form/inputs/TableField.d.ts +0 -45
- package/dist/components/form/inputs/TableField.d.ts.map +0 -1
- package/dist/components/form/inputs/TelInput.d.ts +0 -241
- package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
- package/dist/components/form/inputs/TextInput.d.ts +0 -90
- package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
- package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
- package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
- package/dist/components/layout/BottomMenu.d.ts +0 -27
- package/dist/components/layout/BottomMenu.d.ts.map +0 -1
- package/dist/components/layout/Layout.d.ts +0 -58
- package/dist/components/layout/Layout.d.ts.map +0 -1
- package/dist/components/layout/SidebarMenu.d.ts +0 -38
- package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
- package/dist/components/layout/TabbedLayout.d.ts +0 -42
- package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
- package/dist/components/layout/Tabs.d.ts +0 -31
- package/dist/components/layout/Tabs.d.ts.map +0 -1
- package/dist/components/layout/TabsBody.d.ts +0 -23
- package/dist/components/layout/TabsBody.d.ts.map +0 -1
- package/dist/components/layout/TabsNav.d.ts +0 -35
- package/dist/components/layout/TabsNav.d.ts.map +0 -1
- package/dist/styles.css +0 -14073
- package/dist/vue.css +0 -14073
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
@@ -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, [
|
|
@@ -11568,23 +11568,24 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11568
11568
|
__name: "BagelForm",
|
|
11569
11569
|
props: {
|
|
11570
11570
|
modelValue: { default: void 0 },
|
|
11571
|
-
schema: { default: void 0 }
|
|
11571
|
+
schema: { default: void 0 },
|
|
11572
|
+
tag: { default: "form" }
|
|
11572
11573
|
},
|
|
11573
11574
|
emits: ["update:modelValue", "submit"],
|
|
11574
11575
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11575
11576
|
const props2 = __props;
|
|
11576
11577
|
const emit2 = __emit;
|
|
11577
11578
|
const form = vue.ref();
|
|
11578
|
-
const formData = vue.ref(
|
|
11579
|
-
const initialFormData = vue.ref(
|
|
11579
|
+
const formData = vue.ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
|
|
11580
|
+
const initialFormData = vue.ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
|
|
11580
11581
|
vue.onMounted(() => {
|
|
11581
11582
|
if (props2.modelValue) {
|
|
11582
|
-
initialFormData.value =
|
|
11583
|
+
initialFormData.value = JSON.parse(JSON.stringify(props2.modelValue));
|
|
11583
11584
|
}
|
|
11584
11585
|
});
|
|
11585
11586
|
vue.watch(() => props2.modelValue, (newValue) => {
|
|
11586
11587
|
if (newValue !== void 0) {
|
|
11587
|
-
formData.value =
|
|
11588
|
+
formData.value = JSON.parse(JSON.stringify(newValue));
|
|
11588
11589
|
}
|
|
11589
11590
|
}, { immediate: true, deep: true });
|
|
11590
11591
|
const resolvedSchema = vue.computed(() => {
|
|
@@ -11632,7 +11633,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11632
11633
|
}
|
|
11633
11634
|
__expose({ form, isDirty: isDirty.value, validateForm });
|
|
11634
11635
|
return (_ctx, _cache) => {
|
|
11635
|
-
return vue.openBlock(), vue.createElementBlock("form", {
|
|
11636
|
+
return props2.tag === "form" ? (vue.openBlock(), vue.createElementBlock("form", {
|
|
11637
|
+
key: 0,
|
|
11636
11638
|
ref_key: "form",
|
|
11637
11639
|
ref: form,
|
|
11638
11640
|
onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
|
|
@@ -11647,7 +11649,11 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11647
11649
|
isDirty: isDirty.value,
|
|
11648
11650
|
validateForm
|
|
11649
11651
|
})
|
|
11650
|
-
], 544)
|
|
11652
|
+
], 544)) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(resolvedSchema.value, (field) => {
|
|
11653
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderSchemaField(field)), {
|
|
11654
|
+
key: field.id
|
|
11655
|
+
});
|
|
11656
|
+
}), 128));
|
|
11651
11657
|
};
|
|
11652
11658
|
}
|
|
11653
11659
|
});
|
|
@@ -11858,7 +11864,7 @@ const _hoisted_3$n = {
|
|
|
11858
11864
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
11859
11865
|
};
|
|
11860
11866
|
const _hoisted_4$f = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
11861
|
-
const _hoisted_5$
|
|
11867
|
+
const _hoisted_5$f = ["innerHTML"];
|
|
11862
11868
|
const _hoisted_6$b = ["onKeydown"];
|
|
11863
11869
|
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
11864
11870
|
__name: "Index",
|
|
@@ -11954,7 +11960,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11954
11960
|
vue.createElementVNode("code", {
|
|
11955
11961
|
class: vue.normalizeClass(["absolute inset-0", className.value]),
|
|
11956
11962
|
innerHTML: highlightedCode.value
|
|
11957
|
-
}, null, 10, _hoisted_5$
|
|
11963
|
+
}, null, 10, _hoisted_5$f),
|
|
11958
11964
|
_cache[3] || (_cache[3] = vue.createTextVNode("\n "))
|
|
11959
11965
|
]),
|
|
11960
11966
|
!_ctx.readonly ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
|
|
@@ -13769,7 +13775,7 @@ function transpose(fromDate, constructor) {
|
|
|
13769
13775
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13770
13776
|
class Setter {
|
|
13771
13777
|
constructor() {
|
|
13772
|
-
|
|
13778
|
+
__publicField(this, "subPriority", 0);
|
|
13773
13779
|
}
|
|
13774
13780
|
validate(_utcDate, _options) {
|
|
13775
13781
|
return true;
|
|
@@ -13796,8 +13802,8 @@ class ValueSetter extends Setter {
|
|
|
13796
13802
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13797
13803
|
constructor() {
|
|
13798
13804
|
super(...arguments);
|
|
13799
|
-
|
|
13800
|
-
|
|
13805
|
+
__publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13806
|
+
__publicField(this, "subPriority", -1);
|
|
13801
13807
|
}
|
|
13802
13808
|
set(date2, flags) {
|
|
13803
13809
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13828,8 +13834,8 @@ class Parser {
|
|
|
13828
13834
|
class EraParser extends Parser {
|
|
13829
13835
|
constructor() {
|
|
13830
13836
|
super(...arguments);
|
|
13831
|
-
|
|
13832
|
-
|
|
13837
|
+
__publicField(this, "priority", 140);
|
|
13838
|
+
__publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13833
13839
|
}
|
|
13834
13840
|
parse(dateString, token, match2) {
|
|
13835
13841
|
switch (token) {
|
|
@@ -14007,8 +14013,8 @@ function isLeapYearIndex(year) {
|
|
|
14007
14013
|
class YearParser extends Parser {
|
|
14008
14014
|
constructor() {
|
|
14009
14015
|
super(...arguments);
|
|
14010
|
-
|
|
14011
|
-
|
|
14016
|
+
__publicField(this, "priority", 130);
|
|
14017
|
+
__publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14012
14018
|
}
|
|
14013
14019
|
parse(dateString, token, match2) {
|
|
14014
14020
|
const valueCallback = (year) => ({
|
|
@@ -14052,8 +14058,8 @@ class YearParser extends Parser {
|
|
|
14052
14058
|
class LocalWeekYearParser extends Parser {
|
|
14053
14059
|
constructor() {
|
|
14054
14060
|
super(...arguments);
|
|
14055
|
-
|
|
14056
|
-
|
|
14061
|
+
__publicField(this, "priority", 130);
|
|
14062
|
+
__publicField(this, "incompatibleTokens", [
|
|
14057
14063
|
"y",
|
|
14058
14064
|
"R",
|
|
14059
14065
|
"u",
|
|
@@ -14115,8 +14121,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
14115
14121
|
class ISOWeekYearParser extends Parser {
|
|
14116
14122
|
constructor() {
|
|
14117
14123
|
super(...arguments);
|
|
14118
|
-
|
|
14119
|
-
|
|
14124
|
+
__publicField(this, "priority", 130);
|
|
14125
|
+
__publicField(this, "incompatibleTokens", [
|
|
14120
14126
|
"G",
|
|
14121
14127
|
"y",
|
|
14122
14128
|
"Y",
|
|
@@ -14150,8 +14156,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14150
14156
|
class ExtendedYearParser extends Parser {
|
|
14151
14157
|
constructor() {
|
|
14152
14158
|
super(...arguments);
|
|
14153
|
-
|
|
14154
|
-
|
|
14159
|
+
__publicField(this, "priority", 130);
|
|
14160
|
+
__publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14155
14161
|
}
|
|
14156
14162
|
parse(dateString, token) {
|
|
14157
14163
|
if (token === "u") {
|
|
@@ -14168,8 +14174,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14168
14174
|
class QuarterParser extends Parser {
|
|
14169
14175
|
constructor() {
|
|
14170
14176
|
super(...arguments);
|
|
14171
|
-
|
|
14172
|
-
|
|
14177
|
+
__publicField(this, "priority", 120);
|
|
14178
|
+
__publicField(this, "incompatibleTokens", [
|
|
14173
14179
|
"Y",
|
|
14174
14180
|
"R",
|
|
14175
14181
|
"q",
|
|
@@ -14237,8 +14243,8 @@ class QuarterParser extends Parser {
|
|
|
14237
14243
|
class StandAloneQuarterParser extends Parser {
|
|
14238
14244
|
constructor() {
|
|
14239
14245
|
super(...arguments);
|
|
14240
|
-
|
|
14241
|
-
|
|
14246
|
+
__publicField(this, "priority", 120);
|
|
14247
|
+
__publicField(this, "incompatibleTokens", [
|
|
14242
14248
|
"Y",
|
|
14243
14249
|
"R",
|
|
14244
14250
|
"Q",
|
|
@@ -14306,7 +14312,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14306
14312
|
class MonthParser extends Parser {
|
|
14307
14313
|
constructor() {
|
|
14308
14314
|
super(...arguments);
|
|
14309
|
-
|
|
14315
|
+
__publicField(this, "incompatibleTokens", [
|
|
14310
14316
|
"Y",
|
|
14311
14317
|
"R",
|
|
14312
14318
|
"q",
|
|
@@ -14321,7 +14327,7 @@ class MonthParser extends Parser {
|
|
|
14321
14327
|
"t",
|
|
14322
14328
|
"T"
|
|
14323
14329
|
]);
|
|
14324
|
-
|
|
14330
|
+
__publicField(this, "priority", 110);
|
|
14325
14331
|
}
|
|
14326
14332
|
parse(dateString, token, match2) {
|
|
14327
14333
|
const valueCallback = (value) => value - 1;
|
|
@@ -14376,8 +14382,8 @@ class MonthParser extends Parser {
|
|
|
14376
14382
|
class StandAloneMonthParser extends Parser {
|
|
14377
14383
|
constructor() {
|
|
14378
14384
|
super(...arguments);
|
|
14379
|
-
|
|
14380
|
-
|
|
14385
|
+
__publicField(this, "priority", 110);
|
|
14386
|
+
__publicField(this, "incompatibleTokens", [
|
|
14381
14387
|
"Y",
|
|
14382
14388
|
"R",
|
|
14383
14389
|
"q",
|
|
@@ -14452,8 +14458,8 @@ function setWeek(date2, week, options) {
|
|
|
14452
14458
|
class LocalWeekParser extends Parser {
|
|
14453
14459
|
constructor() {
|
|
14454
14460
|
super(...arguments);
|
|
14455
|
-
|
|
14456
|
-
|
|
14461
|
+
__publicField(this, "priority", 100);
|
|
14462
|
+
__publicField(this, "incompatibleTokens", [
|
|
14457
14463
|
"y",
|
|
14458
14464
|
"R",
|
|
14459
14465
|
"u",
|
|
@@ -14495,8 +14501,8 @@ function setISOWeek(date2, week) {
|
|
|
14495
14501
|
class ISOWeekParser extends Parser {
|
|
14496
14502
|
constructor() {
|
|
14497
14503
|
super(...arguments);
|
|
14498
|
-
|
|
14499
|
-
|
|
14504
|
+
__publicField(this, "priority", 100);
|
|
14505
|
+
__publicField(this, "incompatibleTokens", [
|
|
14500
14506
|
"y",
|
|
14501
14507
|
"Y",
|
|
14502
14508
|
"u",
|
|
@@ -14548,9 +14554,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14548
14554
|
class DateParser extends Parser {
|
|
14549
14555
|
constructor() {
|
|
14550
14556
|
super(...arguments);
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14557
|
+
__publicField(this, "priority", 90);
|
|
14558
|
+
__publicField(this, "subPriority", 1);
|
|
14559
|
+
__publicField(this, "incompatibleTokens", [
|
|
14554
14560
|
"Y",
|
|
14555
14561
|
"R",
|
|
14556
14562
|
"q",
|
|
@@ -14594,9 +14600,9 @@ class DateParser extends Parser {
|
|
|
14594
14600
|
class DayOfYearParser extends Parser {
|
|
14595
14601
|
constructor() {
|
|
14596
14602
|
super(...arguments);
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14603
|
+
__publicField(this, "priority", 90);
|
|
14604
|
+
__publicField(this, "subpriority", 1);
|
|
14605
|
+
__publicField(this, "incompatibleTokens", [
|
|
14600
14606
|
"Y",
|
|
14601
14607
|
"R",
|
|
14602
14608
|
"q",
|
|
@@ -14655,8 +14661,8 @@ function setDay(date2, day, options) {
|
|
|
14655
14661
|
class DayParser extends Parser {
|
|
14656
14662
|
constructor() {
|
|
14657
14663
|
super(...arguments);
|
|
14658
|
-
|
|
14659
|
-
|
|
14664
|
+
__publicField(this, "priority", 90);
|
|
14665
|
+
__publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14660
14666
|
}
|
|
14661
14667
|
parse(dateString, token, match2) {
|
|
14662
14668
|
switch (token) {
|
|
@@ -14698,8 +14704,8 @@ class DayParser extends Parser {
|
|
|
14698
14704
|
class LocalDayParser extends Parser {
|
|
14699
14705
|
constructor() {
|
|
14700
14706
|
super(...arguments);
|
|
14701
|
-
|
|
14702
|
-
|
|
14707
|
+
__publicField(this, "priority", 90);
|
|
14708
|
+
__publicField(this, "incompatibleTokens", [
|
|
14703
14709
|
"y",
|
|
14704
14710
|
"R",
|
|
14705
14711
|
"u",
|
|
@@ -14771,8 +14777,8 @@ class LocalDayParser extends Parser {
|
|
|
14771
14777
|
class StandAloneLocalDayParser extends Parser {
|
|
14772
14778
|
constructor() {
|
|
14773
14779
|
super(...arguments);
|
|
14774
|
-
|
|
14775
|
-
|
|
14780
|
+
__publicField(this, "priority", 90);
|
|
14781
|
+
__publicField(this, "incompatibleTokens", [
|
|
14776
14782
|
"y",
|
|
14777
14783
|
"R",
|
|
14778
14784
|
"u",
|
|
@@ -14850,8 +14856,8 @@ function setISODay(date2, day) {
|
|
|
14850
14856
|
class ISODayParser extends Parser {
|
|
14851
14857
|
constructor() {
|
|
14852
14858
|
super(...arguments);
|
|
14853
|
-
|
|
14854
|
-
|
|
14859
|
+
__publicField(this, "priority", 90);
|
|
14860
|
+
__publicField(this, "incompatibleTokens", [
|
|
14855
14861
|
"y",
|
|
14856
14862
|
"Y",
|
|
14857
14863
|
"u",
|
|
@@ -14953,8 +14959,8 @@ class ISODayParser extends Parser {
|
|
|
14953
14959
|
class AMPMParser extends Parser {
|
|
14954
14960
|
constructor() {
|
|
14955
14961
|
super(...arguments);
|
|
14956
|
-
|
|
14957
|
-
|
|
14962
|
+
__publicField(this, "priority", 80);
|
|
14963
|
+
__publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14958
14964
|
}
|
|
14959
14965
|
parse(dateString, token, match2) {
|
|
14960
14966
|
switch (token) {
|
|
@@ -14995,8 +15001,8 @@ class AMPMParser extends Parser {
|
|
|
14995
15001
|
class AMPMMidnightParser extends Parser {
|
|
14996
15002
|
constructor() {
|
|
14997
15003
|
super(...arguments);
|
|
14998
|
-
|
|
14999
|
-
|
|
15004
|
+
__publicField(this, "priority", 80);
|
|
15005
|
+
__publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
15000
15006
|
}
|
|
15001
15007
|
parse(dateString, token, match2) {
|
|
15002
15008
|
switch (token) {
|
|
@@ -15037,8 +15043,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
15037
15043
|
class DayPeriodParser extends Parser {
|
|
15038
15044
|
constructor() {
|
|
15039
15045
|
super(...arguments);
|
|
15040
|
-
|
|
15041
|
-
|
|
15046
|
+
__publicField(this, "priority", 80);
|
|
15047
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
15042
15048
|
}
|
|
15043
15049
|
parse(dateString, token, match2) {
|
|
15044
15050
|
switch (token) {
|
|
@@ -15079,8 +15085,8 @@ class DayPeriodParser extends Parser {
|
|
|
15079
15085
|
class Hour1to12Parser extends Parser {
|
|
15080
15086
|
constructor() {
|
|
15081
15087
|
super(...arguments);
|
|
15082
|
-
|
|
15083
|
-
|
|
15088
|
+
__publicField(this, "priority", 70);
|
|
15089
|
+
__publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
15084
15090
|
}
|
|
15085
15091
|
parse(dateString, token, match2) {
|
|
15086
15092
|
switch (token) {
|
|
@@ -15110,8 +15116,8 @@ class Hour1to12Parser extends Parser {
|
|
|
15110
15116
|
class Hour0to23Parser extends Parser {
|
|
15111
15117
|
constructor() {
|
|
15112
15118
|
super(...arguments);
|
|
15113
|
-
|
|
15114
|
-
|
|
15119
|
+
__publicField(this, "priority", 70);
|
|
15120
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
15115
15121
|
}
|
|
15116
15122
|
parse(dateString, token, match2) {
|
|
15117
15123
|
switch (token) {
|
|
@@ -15134,8 +15140,8 @@ class Hour0to23Parser extends Parser {
|
|
|
15134
15140
|
class Hour0To11Parser extends Parser {
|
|
15135
15141
|
constructor() {
|
|
15136
15142
|
super(...arguments);
|
|
15137
|
-
|
|
15138
|
-
|
|
15143
|
+
__publicField(this, "priority", 70);
|
|
15144
|
+
__publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
15139
15145
|
}
|
|
15140
15146
|
parse(dateString, token, match2) {
|
|
15141
15147
|
switch (token) {
|
|
@@ -15163,8 +15169,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15163
15169
|
class Hour1To24Parser extends Parser {
|
|
15164
15170
|
constructor() {
|
|
15165
15171
|
super(...arguments);
|
|
15166
|
-
|
|
15167
|
-
|
|
15172
|
+
__publicField(this, "priority", 70);
|
|
15173
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15168
15174
|
}
|
|
15169
15175
|
parse(dateString, token, match2) {
|
|
15170
15176
|
switch (token) {
|
|
@@ -15188,8 +15194,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15188
15194
|
class MinuteParser extends Parser {
|
|
15189
15195
|
constructor() {
|
|
15190
15196
|
super(...arguments);
|
|
15191
|
-
|
|
15192
|
-
|
|
15197
|
+
__publicField(this, "priority", 60);
|
|
15198
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15193
15199
|
}
|
|
15194
15200
|
parse(dateString, token, match2) {
|
|
15195
15201
|
switch (token) {
|
|
@@ -15212,8 +15218,8 @@ class MinuteParser extends Parser {
|
|
|
15212
15218
|
class SecondParser extends Parser {
|
|
15213
15219
|
constructor() {
|
|
15214
15220
|
super(...arguments);
|
|
15215
|
-
|
|
15216
|
-
|
|
15221
|
+
__publicField(this, "priority", 50);
|
|
15222
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15217
15223
|
}
|
|
15218
15224
|
parse(dateString, token, match2) {
|
|
15219
15225
|
switch (token) {
|
|
@@ -15236,8 +15242,8 @@ class SecondParser extends Parser {
|
|
|
15236
15242
|
class FractionOfSecondParser extends Parser {
|
|
15237
15243
|
constructor() {
|
|
15238
15244
|
super(...arguments);
|
|
15239
|
-
|
|
15240
|
-
|
|
15245
|
+
__publicField(this, "priority", 30);
|
|
15246
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15241
15247
|
}
|
|
15242
15248
|
parse(dateString, token) {
|
|
15243
15249
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15251,8 +15257,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15251
15257
|
class ISOTimezoneWithZParser extends Parser {
|
|
15252
15258
|
constructor() {
|
|
15253
15259
|
super(...arguments);
|
|
15254
|
-
|
|
15255
|
-
|
|
15260
|
+
__publicField(this, "priority", 10);
|
|
15261
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15256
15262
|
}
|
|
15257
15263
|
parse(dateString, token) {
|
|
15258
15264
|
switch (token) {
|
|
@@ -15289,8 +15295,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15289
15295
|
class ISOTimezoneParser extends Parser {
|
|
15290
15296
|
constructor() {
|
|
15291
15297
|
super(...arguments);
|
|
15292
|
-
|
|
15293
|
-
|
|
15298
|
+
__publicField(this, "priority", 10);
|
|
15299
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15294
15300
|
}
|
|
15295
15301
|
parse(dateString, token) {
|
|
15296
15302
|
switch (token) {
|
|
@@ -15327,8 +15333,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15327
15333
|
class TimestampSecondsParser extends Parser {
|
|
15328
15334
|
constructor() {
|
|
15329
15335
|
super(...arguments);
|
|
15330
|
-
|
|
15331
|
-
|
|
15336
|
+
__publicField(this, "priority", 40);
|
|
15337
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15332
15338
|
}
|
|
15333
15339
|
parse(dateString) {
|
|
15334
15340
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15340,8 +15346,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15340
15346
|
class TimestampMillisecondsParser extends Parser {
|
|
15341
15347
|
constructor() {
|
|
15342
15348
|
super(...arguments);
|
|
15343
|
-
|
|
15344
|
-
|
|
15349
|
+
__publicField(this, "priority", 20);
|
|
15350
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15345
15351
|
}
|
|
15346
15352
|
parse(dateString) {
|
|
15347
15353
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -20652,7 +20658,7 @@ const _hoisted_3$m = {
|
|
|
20652
20658
|
class: "required"
|
|
20653
20659
|
};
|
|
20654
20660
|
const _hoisted_4$e = { class: "date-picker-container" };
|
|
20655
|
-
const _hoisted_5$
|
|
20661
|
+
const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
|
|
20656
20662
|
const _hoisted_6$a = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
20657
20663
|
const _hoisted_7$7 = { class: "calendar-section border-end m_border-none pe-05 m_p-0" };
|
|
20658
20664
|
const _hoisted_8$4 = { class: "flex space-between pb-1" };
|
|
@@ -21011,7 +21017,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
21011
21017
|
class: "date-input",
|
|
21012
21018
|
onInput: handleInput,
|
|
21013
21019
|
onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true)
|
|
21014
|
-
}, null, 40, _hoisted_5$
|
|
21020
|
+
}, null, 40, _hoisted_5$e)
|
|
21015
21021
|
])
|
|
21016
21022
|
]),
|
|
21017
21023
|
_: 1
|
|
@@ -21028,7 +21034,7 @@ const _hoisted_3$l = {
|
|
|
21028
21034
|
class: "time-wrap"
|
|
21029
21035
|
};
|
|
21030
21036
|
const _hoisted_4$d = ["id", "name", "value"];
|
|
21031
|
-
const _hoisted_5$
|
|
21037
|
+
const _hoisted_5$d = ["for"];
|
|
21032
21038
|
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
21033
21039
|
__name: "DatePicker",
|
|
21034
21040
|
props: {
|
|
@@ -21090,7 +21096,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
21090
21096
|
]),
|
|
21091
21097
|
vue.createElementVNode("label", {
|
|
21092
21098
|
for: `${hr2}_${_ctx.id}`
|
|
21093
|
-
}, vue.toDisplayString(hr2), 9, _hoisted_5$
|
|
21099
|
+
}, vue.toDisplayString(hr2), 9, _hoisted_5$d)
|
|
21094
21100
|
], 64);
|
|
21095
21101
|
}), 128))
|
|
21096
21102
|
])) : vue.createCommentVNode("", true)
|
|
@@ -21108,7 +21114,7 @@ const _hoisted_2$p = {
|
|
|
21108
21114
|
};
|
|
21109
21115
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
21110
21116
|
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
21111
|
-
const _hoisted_5$
|
|
21117
|
+
const _hoisted_5$c = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
21112
21118
|
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
21113
21119
|
const _hoisted_7$6 = {
|
|
21114
21120
|
key: 1,
|
|
@@ -21372,7 +21378,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
21372
21378
|
])), [
|
|
21373
21379
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
21374
21380
|
]),
|
|
21375
|
-
vue.createElementVNode("div", _hoisted_5$
|
|
21381
|
+
vue.createElementVNode("div", _hoisted_5$c, [
|
|
21376
21382
|
vue.createVNode(vue.unref(_sfc_main$q), {
|
|
21377
21383
|
icon: "draft",
|
|
21378
21384
|
size: 1.5
|
|
@@ -21613,9 +21619,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21613
21619
|
});
|
|
21614
21620
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
21615
21621
|
const _hoisted_1$z = ["for"];
|
|
21616
|
-
const _hoisted_2$n =
|
|
21617
|
-
const _hoisted_3$i =
|
|
21618
|
-
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 = {
|
|
21619
21626
|
key: 5,
|
|
21620
21627
|
class: "flex column spinner"
|
|
21621
21628
|
};
|
|
@@ -21688,7 +21695,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21688
21695
|
}])
|
|
21689
21696
|
}, [
|
|
21690
21697
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
21691
|
-
vue.
|
|
21698
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
21692
21699
|
vue.createElementVNode("div", {
|
|
21693
21700
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
21694
21701
|
}, [
|
|
@@ -21722,7 +21729,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21722
21729
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
21723
21730
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
21724
21731
|
]
|
|
21725
|
-
}, null, 42,
|
|
21732
|
+
}, null, 42, _hoisted_3$i), [
|
|
21726
21733
|
[
|
|
21727
21734
|
vue.vModelText,
|
|
21728
21735
|
vue.unref(formattedValue),
|
|
@@ -21736,7 +21743,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21736
21743
|
{ number: true }
|
|
21737
21744
|
]
|
|
21738
21745
|
]),
|
|
21739
|
-
_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),
|
|
21740
21747
|
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$q), {
|
|
21741
21748
|
key: 2,
|
|
21742
21749
|
class: "iconStart",
|
|
@@ -21754,7 +21761,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21754
21761
|
tabindex: "-1",
|
|
21755
21762
|
onClick: decrement
|
|
21756
21763
|
}, null, 8, ["class"])) : vue.createCommentVNode("", true),
|
|
21757
|
-
_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, [
|
|
21758
21765
|
vue.createVNode(vue.unref(Btn), {
|
|
21759
21766
|
icon: "add",
|
|
21760
21767
|
flat: "",
|
|
@@ -21780,7 +21787,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21780
21787
|
};
|
|
21781
21788
|
}
|
|
21782
21789
|
});
|
|
21783
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
21790
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-e3916f73"]]);
|
|
21784
21791
|
const _hoisted_1$y = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21785
21792
|
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
21786
21793
|
__name: "OTP",
|
|
@@ -38644,39 +38651,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38644
38651
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38645
38652
|
class TapDetector {
|
|
38646
38653
|
constructor() {
|
|
38647
|
-
|
|
38648
|
-
|
|
38649
|
-
|
|
38650
|
-
|
|
38651
|
-
|
|
38652
|
-
|
|
38653
|
-
|
|
38654
|
-
|
|
38655
|
-
|
|
38654
|
+
__publicField(this, "singleTapCallbacks", []);
|
|
38655
|
+
__publicField(this, "doubleTapCallbacks", []);
|
|
38656
|
+
__publicField(this, "isTouchMode", false);
|
|
38657
|
+
__publicField(this, "lastTapTimestamp", 0);
|
|
38658
|
+
__publicField(this, "tappedCount", 0);
|
|
38659
|
+
__publicField(this, "touchMovedLength", 0);
|
|
38660
|
+
__publicField(this, "lastPointerX", 0);
|
|
38661
|
+
__publicField(this, "lastPointerY", 0);
|
|
38662
|
+
__publicField(this, "onTouchStart", (event) => {
|
|
38656
38663
|
this.isTouchMode = true;
|
|
38657
38664
|
if (event.touches.length === 1) {
|
|
38658
38665
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38659
38666
|
}
|
|
38660
38667
|
});
|
|
38661
|
-
|
|
38668
|
+
__publicField(this, "onTouchMove", (event) => {
|
|
38662
38669
|
if (event.touches.length === 1) {
|
|
38663
38670
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38664
38671
|
}
|
|
38665
38672
|
});
|
|
38666
|
-
|
|
38673
|
+
__publicField(this, "onTouchEnd", () => {
|
|
38667
38674
|
if (this.isTouchMode) this.onPointerUp();
|
|
38668
38675
|
});
|
|
38669
|
-
|
|
38676
|
+
__publicField(this, "onMouseDown", (event) => {
|
|
38670
38677
|
if (!this.isTouchMode) {
|
|
38671
38678
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38672
38679
|
}
|
|
38673
38680
|
});
|
|
38674
|
-
|
|
38681
|
+
__publicField(this, "onMouseMove", (event) => {
|
|
38675
38682
|
if (!this.isTouchMode && event.button === 0) {
|
|
38676
38683
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38677
38684
|
}
|
|
38678
38685
|
});
|
|
38679
|
-
|
|
38686
|
+
__publicField(this, "onMouseUp", () => {
|
|
38680
38687
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38681
38688
|
});
|
|
38682
38689
|
}
|
|
@@ -39149,12 +39156,6 @@ function localRef(key, initialValue) {
|
|
|
39149
39156
|
return value;
|
|
39150
39157
|
}
|
|
39151
39158
|
const useLocalStorage = localRef;
|
|
39152
|
-
var __defProp = Object.defineProperty;
|
|
39153
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
39154
|
-
var __publicField = (obj, key, value) => {
|
|
39155
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
39156
|
-
return value;
|
|
39157
|
-
};
|
|
39158
39159
|
const axios = axios$1.create({
|
|
39159
39160
|
withCredentials: true
|
|
39160
39161
|
});
|
|
@@ -39169,8 +39170,7 @@ class DataRequest {
|
|
|
39169
39170
|
this.itemID = "";
|
|
39170
39171
|
}
|
|
39171
39172
|
async post(item) {
|
|
39172
|
-
if (!this.data_table)
|
|
39173
|
-
throw new Error("Data table not set");
|
|
39173
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39174
39174
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
39175
39175
|
return data2;
|
|
39176
39176
|
}
|
|
@@ -39180,8 +39180,7 @@ class DataRequest {
|
|
|
39180
39180
|
}
|
|
39181
39181
|
async get() {
|
|
39182
39182
|
var _a2, _b;
|
|
39183
|
-
if (!this.data_table)
|
|
39184
|
-
throw new Error("Data table not set");
|
|
39183
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39185
39184
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
39186
39185
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
39187
39186
|
try {
|
|
@@ -39198,8 +39197,7 @@ class DataRequest {
|
|
|
39198
39197
|
return this;
|
|
39199
39198
|
}
|
|
39200
39199
|
async delete() {
|
|
39201
|
-
if (!this.data_table)
|
|
39202
|
-
throw new Error("Data table not set");
|
|
39200
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39203
39201
|
const { data: data2 } = await axios.delete(
|
|
39204
39202
|
`/data/${this.data_table}/${this.itemID}`
|
|
39205
39203
|
);
|
|
@@ -39207,10 +39205,8 @@ class DataRequest {
|
|
|
39207
39205
|
}
|
|
39208
39206
|
async put(updatedItem) {
|
|
39209
39207
|
const { data_table, itemID } = this;
|
|
39210
|
-
if (!data_table)
|
|
39211
|
-
|
|
39212
|
-
if (!itemID)
|
|
39213
|
-
throw new Error("Item ID not set");
|
|
39208
|
+
if (!data_table) throw new Error("Data table not set");
|
|
39209
|
+
if (!itemID) throw new Error("Item ID not set");
|
|
39214
39210
|
const { data: data2 } = await axios.put(
|
|
39215
39211
|
`/data/${data_table}/${itemID}`,
|
|
39216
39212
|
updatedItem
|
|
@@ -39227,9 +39223,9 @@ function responses(key) {
|
|
|
39227
39223
|
}
|
|
39228
39224
|
class BagelAuth {
|
|
39229
39225
|
constructor(bagel) {
|
|
39230
|
-
this.bagel = bagel;
|
|
39231
39226
|
__publicField(this, "user");
|
|
39232
39227
|
this.bagel = bagel;
|
|
39228
|
+
this.bagel = bagel;
|
|
39233
39229
|
}
|
|
39234
39230
|
async validateUser() {
|
|
39235
39231
|
try {
|
|
@@ -39331,12 +39327,10 @@ class Bagel {
|
|
|
39331
39327
|
async get(endpoint, query) {
|
|
39332
39328
|
this._setAuthorization();
|
|
39333
39329
|
endpoint = this._endpointCleaner(endpoint);
|
|
39334
|
-
if (/undefined|null/.test(endpoint))
|
|
39335
|
-
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39330
|
+
if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39336
39331
|
if (query) {
|
|
39337
39332
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
39338
|
-
if (queryParams)
|
|
39339
|
-
endpoint = `${endpoint}?${queryParams}`;
|
|
39333
|
+
if (queryParams) endpoint = `${endpoint}?${queryParams}`;
|
|
39340
39334
|
}
|
|
39341
39335
|
const url = `/${endpoint}`;
|
|
39342
39336
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -39391,8 +39385,7 @@ class Bagel {
|
|
|
39391
39385
|
const formData = new FormData();
|
|
39392
39386
|
formData.append("file", file);
|
|
39393
39387
|
let url = "/static_files/upload";
|
|
39394
|
-
if (options == null ? void 0 : options.topic)
|
|
39395
|
-
url = `/static_files/upload?topic=${options.topic}`;
|
|
39388
|
+
if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
|
|
39396
39389
|
const { data: data2 } = await axios.post(url, formData, {
|
|
39397
39390
|
headers: {
|
|
39398
39391
|
"Content-Type": "multipart/form-data"
|