@bagelink/vue 0.0.1182 → 0.0.1188
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/Carousel.vue.d.ts.map +1 -1
- 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 +2 -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/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 +110 -112
- package/dist/index.mjs +110 -112
- 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 +10 -10
- 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/Carousel.vue +18 -4
- package/src/components/form/BagelForm.vue +2 -0
- 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");
|
|
@@ -881,7 +881,10 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
881
881
|
if (autoPlayInterval) clearInterval(autoPlayInterval);
|
|
882
882
|
}
|
|
883
883
|
function preventDefaultClick(e) {
|
|
884
|
-
if (isDragging.value)
|
|
884
|
+
if (isDragging.value) {
|
|
885
|
+
e.preventDefault();
|
|
886
|
+
e.stopPropagation();
|
|
887
|
+
}
|
|
885
888
|
}
|
|
886
889
|
async function disableDrag() {
|
|
887
890
|
await vue.nextTick();
|
|
@@ -889,13 +892,15 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
889
892
|
const elements = Array.from(bglSlider.value.querySelectorAll("img, a"));
|
|
890
893
|
elements.forEach((el) => {
|
|
891
894
|
el.setAttribute("draggable", "false");
|
|
895
|
+
el.removeEventListener("click", preventDefaultClick, true);
|
|
896
|
+
el.addEventListener("click", preventDefaultClick, true);
|
|
892
897
|
});
|
|
893
898
|
const slides = Array.from(bglSlider.value.children);
|
|
894
899
|
slides.forEach((slide) => {
|
|
895
900
|
const element = slide;
|
|
896
901
|
element.setAttribute("draggable", "false");
|
|
897
|
-
element.removeEventListener("click", preventDefaultClick);
|
|
898
|
-
element.addEventListener("click", preventDefaultClick);
|
|
902
|
+
element.removeEventListener("click", preventDefaultClick, true);
|
|
903
|
+
element.addEventListener("click", preventDefaultClick, true);
|
|
899
904
|
});
|
|
900
905
|
}
|
|
901
906
|
function startDrag(e) {
|
|
@@ -905,6 +910,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
905
910
|
startX.value = e.pageX;
|
|
906
911
|
translateX2.value = getCurrentTransform();
|
|
907
912
|
isPressed.value = true;
|
|
913
|
+
isDragging.value = false;
|
|
908
914
|
document.addEventListener("mousemove", onDrag);
|
|
909
915
|
document.addEventListener("mouseup", endDrag);
|
|
910
916
|
}
|
|
@@ -944,7 +950,11 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
944
950
|
}
|
|
945
951
|
targetPanel = Math.max(0, Math.min(targetPanel, slideCount.value - 1));
|
|
946
952
|
goToSlide(targetPanel, true);
|
|
947
|
-
|
|
953
|
+
if (isDragging.value) {
|
|
954
|
+
setTimeout(() => {
|
|
955
|
+
isDragging.value = false;
|
|
956
|
+
}, 10);
|
|
957
|
+
}
|
|
948
958
|
}
|
|
949
959
|
let hasScrollDirectionLock = vue.ref(false);
|
|
950
960
|
let isHorizontalScroll = vue.ref(false);
|
|
@@ -1172,7 +1182,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
1172
1182
|
};
|
|
1173
1183
|
}
|
|
1174
1184
|
});
|
|
1175
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-
|
|
1185
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-3a1530dc"]]);
|
|
1176
1186
|
function _isPlaceholder(a2) {
|
|
1177
1187
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
1178
1188
|
}
|
|
@@ -11644,6 +11654,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11644
11654
|
key: field.id
|
|
11645
11655
|
});
|
|
11646
11656
|
}), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }),
|
|
11657
|
+
vue.renderSlot(_ctx.$slots, "success"),
|
|
11658
|
+
vue.renderSlot(_ctx.$slots, "error"),
|
|
11647
11659
|
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11648
11660
|
submit: handleSubmit,
|
|
11649
11661
|
isDirty: isDirty.value,
|
|
@@ -13775,7 +13787,7 @@ function transpose(fromDate, constructor) {
|
|
|
13775
13787
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13776
13788
|
class Setter {
|
|
13777
13789
|
constructor() {
|
|
13778
|
-
|
|
13790
|
+
__publicField(this, "subPriority", 0);
|
|
13779
13791
|
}
|
|
13780
13792
|
validate(_utcDate, _options) {
|
|
13781
13793
|
return true;
|
|
@@ -13802,8 +13814,8 @@ class ValueSetter extends Setter {
|
|
|
13802
13814
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13803
13815
|
constructor() {
|
|
13804
13816
|
super(...arguments);
|
|
13805
|
-
|
|
13806
|
-
|
|
13817
|
+
__publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13818
|
+
__publicField(this, "subPriority", -1);
|
|
13807
13819
|
}
|
|
13808
13820
|
set(date2, flags) {
|
|
13809
13821
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13834,8 +13846,8 @@ class Parser {
|
|
|
13834
13846
|
class EraParser extends Parser {
|
|
13835
13847
|
constructor() {
|
|
13836
13848
|
super(...arguments);
|
|
13837
|
-
|
|
13838
|
-
|
|
13849
|
+
__publicField(this, "priority", 140);
|
|
13850
|
+
__publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13839
13851
|
}
|
|
13840
13852
|
parse(dateString, token, match2) {
|
|
13841
13853
|
switch (token) {
|
|
@@ -14013,8 +14025,8 @@ function isLeapYearIndex(year) {
|
|
|
14013
14025
|
class YearParser extends Parser {
|
|
14014
14026
|
constructor() {
|
|
14015
14027
|
super(...arguments);
|
|
14016
|
-
|
|
14017
|
-
|
|
14028
|
+
__publicField(this, "priority", 130);
|
|
14029
|
+
__publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14018
14030
|
}
|
|
14019
14031
|
parse(dateString, token, match2) {
|
|
14020
14032
|
const valueCallback = (year) => ({
|
|
@@ -14058,8 +14070,8 @@ class YearParser extends Parser {
|
|
|
14058
14070
|
class LocalWeekYearParser extends Parser {
|
|
14059
14071
|
constructor() {
|
|
14060
14072
|
super(...arguments);
|
|
14061
|
-
|
|
14062
|
-
|
|
14073
|
+
__publicField(this, "priority", 130);
|
|
14074
|
+
__publicField(this, "incompatibleTokens", [
|
|
14063
14075
|
"y",
|
|
14064
14076
|
"R",
|
|
14065
14077
|
"u",
|
|
@@ -14121,8 +14133,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
14121
14133
|
class ISOWeekYearParser extends Parser {
|
|
14122
14134
|
constructor() {
|
|
14123
14135
|
super(...arguments);
|
|
14124
|
-
|
|
14125
|
-
|
|
14136
|
+
__publicField(this, "priority", 130);
|
|
14137
|
+
__publicField(this, "incompatibleTokens", [
|
|
14126
14138
|
"G",
|
|
14127
14139
|
"y",
|
|
14128
14140
|
"Y",
|
|
@@ -14156,8 +14168,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14156
14168
|
class ExtendedYearParser extends Parser {
|
|
14157
14169
|
constructor() {
|
|
14158
14170
|
super(...arguments);
|
|
14159
|
-
|
|
14160
|
-
|
|
14171
|
+
__publicField(this, "priority", 130);
|
|
14172
|
+
__publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14161
14173
|
}
|
|
14162
14174
|
parse(dateString, token) {
|
|
14163
14175
|
if (token === "u") {
|
|
@@ -14174,8 +14186,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14174
14186
|
class QuarterParser extends Parser {
|
|
14175
14187
|
constructor() {
|
|
14176
14188
|
super(...arguments);
|
|
14177
|
-
|
|
14178
|
-
|
|
14189
|
+
__publicField(this, "priority", 120);
|
|
14190
|
+
__publicField(this, "incompatibleTokens", [
|
|
14179
14191
|
"Y",
|
|
14180
14192
|
"R",
|
|
14181
14193
|
"q",
|
|
@@ -14243,8 +14255,8 @@ class QuarterParser extends Parser {
|
|
|
14243
14255
|
class StandAloneQuarterParser extends Parser {
|
|
14244
14256
|
constructor() {
|
|
14245
14257
|
super(...arguments);
|
|
14246
|
-
|
|
14247
|
-
|
|
14258
|
+
__publicField(this, "priority", 120);
|
|
14259
|
+
__publicField(this, "incompatibleTokens", [
|
|
14248
14260
|
"Y",
|
|
14249
14261
|
"R",
|
|
14250
14262
|
"Q",
|
|
@@ -14312,7 +14324,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14312
14324
|
class MonthParser extends Parser {
|
|
14313
14325
|
constructor() {
|
|
14314
14326
|
super(...arguments);
|
|
14315
|
-
|
|
14327
|
+
__publicField(this, "incompatibleTokens", [
|
|
14316
14328
|
"Y",
|
|
14317
14329
|
"R",
|
|
14318
14330
|
"q",
|
|
@@ -14327,7 +14339,7 @@ class MonthParser extends Parser {
|
|
|
14327
14339
|
"t",
|
|
14328
14340
|
"T"
|
|
14329
14341
|
]);
|
|
14330
|
-
|
|
14342
|
+
__publicField(this, "priority", 110);
|
|
14331
14343
|
}
|
|
14332
14344
|
parse(dateString, token, match2) {
|
|
14333
14345
|
const valueCallback = (value) => value - 1;
|
|
@@ -14382,8 +14394,8 @@ class MonthParser extends Parser {
|
|
|
14382
14394
|
class StandAloneMonthParser extends Parser {
|
|
14383
14395
|
constructor() {
|
|
14384
14396
|
super(...arguments);
|
|
14385
|
-
|
|
14386
|
-
|
|
14397
|
+
__publicField(this, "priority", 110);
|
|
14398
|
+
__publicField(this, "incompatibleTokens", [
|
|
14387
14399
|
"Y",
|
|
14388
14400
|
"R",
|
|
14389
14401
|
"q",
|
|
@@ -14458,8 +14470,8 @@ function setWeek(date2, week, options) {
|
|
|
14458
14470
|
class LocalWeekParser extends Parser {
|
|
14459
14471
|
constructor() {
|
|
14460
14472
|
super(...arguments);
|
|
14461
|
-
|
|
14462
|
-
|
|
14473
|
+
__publicField(this, "priority", 100);
|
|
14474
|
+
__publicField(this, "incompatibleTokens", [
|
|
14463
14475
|
"y",
|
|
14464
14476
|
"R",
|
|
14465
14477
|
"u",
|
|
@@ -14501,8 +14513,8 @@ function setISOWeek(date2, week) {
|
|
|
14501
14513
|
class ISOWeekParser extends Parser {
|
|
14502
14514
|
constructor() {
|
|
14503
14515
|
super(...arguments);
|
|
14504
|
-
|
|
14505
|
-
|
|
14516
|
+
__publicField(this, "priority", 100);
|
|
14517
|
+
__publicField(this, "incompatibleTokens", [
|
|
14506
14518
|
"y",
|
|
14507
14519
|
"Y",
|
|
14508
14520
|
"u",
|
|
@@ -14554,9 +14566,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14554
14566
|
class DateParser extends Parser {
|
|
14555
14567
|
constructor() {
|
|
14556
14568
|
super(...arguments);
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14569
|
+
__publicField(this, "priority", 90);
|
|
14570
|
+
__publicField(this, "subPriority", 1);
|
|
14571
|
+
__publicField(this, "incompatibleTokens", [
|
|
14560
14572
|
"Y",
|
|
14561
14573
|
"R",
|
|
14562
14574
|
"q",
|
|
@@ -14600,9 +14612,9 @@ class DateParser extends Parser {
|
|
|
14600
14612
|
class DayOfYearParser extends Parser {
|
|
14601
14613
|
constructor() {
|
|
14602
14614
|
super(...arguments);
|
|
14603
|
-
|
|
14604
|
-
|
|
14605
|
-
|
|
14615
|
+
__publicField(this, "priority", 90);
|
|
14616
|
+
__publicField(this, "subpriority", 1);
|
|
14617
|
+
__publicField(this, "incompatibleTokens", [
|
|
14606
14618
|
"Y",
|
|
14607
14619
|
"R",
|
|
14608
14620
|
"q",
|
|
@@ -14661,8 +14673,8 @@ function setDay(date2, day, options) {
|
|
|
14661
14673
|
class DayParser extends Parser {
|
|
14662
14674
|
constructor() {
|
|
14663
14675
|
super(...arguments);
|
|
14664
|
-
|
|
14665
|
-
|
|
14676
|
+
__publicField(this, "priority", 90);
|
|
14677
|
+
__publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14666
14678
|
}
|
|
14667
14679
|
parse(dateString, token, match2) {
|
|
14668
14680
|
switch (token) {
|
|
@@ -14704,8 +14716,8 @@ class DayParser extends Parser {
|
|
|
14704
14716
|
class LocalDayParser extends Parser {
|
|
14705
14717
|
constructor() {
|
|
14706
14718
|
super(...arguments);
|
|
14707
|
-
|
|
14708
|
-
|
|
14719
|
+
__publicField(this, "priority", 90);
|
|
14720
|
+
__publicField(this, "incompatibleTokens", [
|
|
14709
14721
|
"y",
|
|
14710
14722
|
"R",
|
|
14711
14723
|
"u",
|
|
@@ -14777,8 +14789,8 @@ class LocalDayParser extends Parser {
|
|
|
14777
14789
|
class StandAloneLocalDayParser extends Parser {
|
|
14778
14790
|
constructor() {
|
|
14779
14791
|
super(...arguments);
|
|
14780
|
-
|
|
14781
|
-
|
|
14792
|
+
__publicField(this, "priority", 90);
|
|
14793
|
+
__publicField(this, "incompatibleTokens", [
|
|
14782
14794
|
"y",
|
|
14783
14795
|
"R",
|
|
14784
14796
|
"u",
|
|
@@ -14856,8 +14868,8 @@ function setISODay(date2, day) {
|
|
|
14856
14868
|
class ISODayParser extends Parser {
|
|
14857
14869
|
constructor() {
|
|
14858
14870
|
super(...arguments);
|
|
14859
|
-
|
|
14860
|
-
|
|
14871
|
+
__publicField(this, "priority", 90);
|
|
14872
|
+
__publicField(this, "incompatibleTokens", [
|
|
14861
14873
|
"y",
|
|
14862
14874
|
"Y",
|
|
14863
14875
|
"u",
|
|
@@ -14959,8 +14971,8 @@ class ISODayParser extends Parser {
|
|
|
14959
14971
|
class AMPMParser extends Parser {
|
|
14960
14972
|
constructor() {
|
|
14961
14973
|
super(...arguments);
|
|
14962
|
-
|
|
14963
|
-
|
|
14974
|
+
__publicField(this, "priority", 80);
|
|
14975
|
+
__publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14964
14976
|
}
|
|
14965
14977
|
parse(dateString, token, match2) {
|
|
14966
14978
|
switch (token) {
|
|
@@ -15001,8 +15013,8 @@ class AMPMParser extends Parser {
|
|
|
15001
15013
|
class AMPMMidnightParser extends Parser {
|
|
15002
15014
|
constructor() {
|
|
15003
15015
|
super(...arguments);
|
|
15004
|
-
|
|
15005
|
-
|
|
15016
|
+
__publicField(this, "priority", 80);
|
|
15017
|
+
__publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
15006
15018
|
}
|
|
15007
15019
|
parse(dateString, token, match2) {
|
|
15008
15020
|
switch (token) {
|
|
@@ -15043,8 +15055,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
15043
15055
|
class DayPeriodParser extends Parser {
|
|
15044
15056
|
constructor() {
|
|
15045
15057
|
super(...arguments);
|
|
15046
|
-
|
|
15047
|
-
|
|
15058
|
+
__publicField(this, "priority", 80);
|
|
15059
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
15048
15060
|
}
|
|
15049
15061
|
parse(dateString, token, match2) {
|
|
15050
15062
|
switch (token) {
|
|
@@ -15085,8 +15097,8 @@ class DayPeriodParser extends Parser {
|
|
|
15085
15097
|
class Hour1to12Parser extends Parser {
|
|
15086
15098
|
constructor() {
|
|
15087
15099
|
super(...arguments);
|
|
15088
|
-
|
|
15089
|
-
|
|
15100
|
+
__publicField(this, "priority", 70);
|
|
15101
|
+
__publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
15090
15102
|
}
|
|
15091
15103
|
parse(dateString, token, match2) {
|
|
15092
15104
|
switch (token) {
|
|
@@ -15116,8 +15128,8 @@ class Hour1to12Parser extends Parser {
|
|
|
15116
15128
|
class Hour0to23Parser extends Parser {
|
|
15117
15129
|
constructor() {
|
|
15118
15130
|
super(...arguments);
|
|
15119
|
-
|
|
15120
|
-
|
|
15131
|
+
__publicField(this, "priority", 70);
|
|
15132
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
15121
15133
|
}
|
|
15122
15134
|
parse(dateString, token, match2) {
|
|
15123
15135
|
switch (token) {
|
|
@@ -15140,8 +15152,8 @@ class Hour0to23Parser extends Parser {
|
|
|
15140
15152
|
class Hour0To11Parser extends Parser {
|
|
15141
15153
|
constructor() {
|
|
15142
15154
|
super(...arguments);
|
|
15143
|
-
|
|
15144
|
-
|
|
15155
|
+
__publicField(this, "priority", 70);
|
|
15156
|
+
__publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
15145
15157
|
}
|
|
15146
15158
|
parse(dateString, token, match2) {
|
|
15147
15159
|
switch (token) {
|
|
@@ -15169,8 +15181,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15169
15181
|
class Hour1To24Parser extends Parser {
|
|
15170
15182
|
constructor() {
|
|
15171
15183
|
super(...arguments);
|
|
15172
|
-
|
|
15173
|
-
|
|
15184
|
+
__publicField(this, "priority", 70);
|
|
15185
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15174
15186
|
}
|
|
15175
15187
|
parse(dateString, token, match2) {
|
|
15176
15188
|
switch (token) {
|
|
@@ -15194,8 +15206,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15194
15206
|
class MinuteParser extends Parser {
|
|
15195
15207
|
constructor() {
|
|
15196
15208
|
super(...arguments);
|
|
15197
|
-
|
|
15198
|
-
|
|
15209
|
+
__publicField(this, "priority", 60);
|
|
15210
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15199
15211
|
}
|
|
15200
15212
|
parse(dateString, token, match2) {
|
|
15201
15213
|
switch (token) {
|
|
@@ -15218,8 +15230,8 @@ class MinuteParser extends Parser {
|
|
|
15218
15230
|
class SecondParser extends Parser {
|
|
15219
15231
|
constructor() {
|
|
15220
15232
|
super(...arguments);
|
|
15221
|
-
|
|
15222
|
-
|
|
15233
|
+
__publicField(this, "priority", 50);
|
|
15234
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15223
15235
|
}
|
|
15224
15236
|
parse(dateString, token, match2) {
|
|
15225
15237
|
switch (token) {
|
|
@@ -15242,8 +15254,8 @@ class SecondParser extends Parser {
|
|
|
15242
15254
|
class FractionOfSecondParser extends Parser {
|
|
15243
15255
|
constructor() {
|
|
15244
15256
|
super(...arguments);
|
|
15245
|
-
|
|
15246
|
-
|
|
15257
|
+
__publicField(this, "priority", 30);
|
|
15258
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15247
15259
|
}
|
|
15248
15260
|
parse(dateString, token) {
|
|
15249
15261
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15257,8 +15269,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15257
15269
|
class ISOTimezoneWithZParser extends Parser {
|
|
15258
15270
|
constructor() {
|
|
15259
15271
|
super(...arguments);
|
|
15260
|
-
|
|
15261
|
-
|
|
15272
|
+
__publicField(this, "priority", 10);
|
|
15273
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15262
15274
|
}
|
|
15263
15275
|
parse(dateString, token) {
|
|
15264
15276
|
switch (token) {
|
|
@@ -15295,8 +15307,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15295
15307
|
class ISOTimezoneParser extends Parser {
|
|
15296
15308
|
constructor() {
|
|
15297
15309
|
super(...arguments);
|
|
15298
|
-
|
|
15299
|
-
|
|
15310
|
+
__publicField(this, "priority", 10);
|
|
15311
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15300
15312
|
}
|
|
15301
15313
|
parse(dateString, token) {
|
|
15302
15314
|
switch (token) {
|
|
@@ -15333,8 +15345,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15333
15345
|
class TimestampSecondsParser extends Parser {
|
|
15334
15346
|
constructor() {
|
|
15335
15347
|
super(...arguments);
|
|
15336
|
-
|
|
15337
|
-
|
|
15348
|
+
__publicField(this, "priority", 40);
|
|
15349
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15338
15350
|
}
|
|
15339
15351
|
parse(dateString) {
|
|
15340
15352
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15346,8 +15358,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15346
15358
|
class TimestampMillisecondsParser extends Parser {
|
|
15347
15359
|
constructor() {
|
|
15348
15360
|
super(...arguments);
|
|
15349
|
-
|
|
15350
|
-
|
|
15361
|
+
__publicField(this, "priority", 20);
|
|
15362
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15351
15363
|
}
|
|
15352
15364
|
parse(dateString) {
|
|
15353
15365
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -38651,39 +38663,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38651
38663
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38652
38664
|
class TapDetector {
|
|
38653
38665
|
constructor() {
|
|
38654
|
-
|
|
38655
|
-
|
|
38656
|
-
|
|
38657
|
-
|
|
38658
|
-
|
|
38659
|
-
|
|
38660
|
-
|
|
38661
|
-
|
|
38662
|
-
|
|
38666
|
+
__publicField(this, "singleTapCallbacks", []);
|
|
38667
|
+
__publicField(this, "doubleTapCallbacks", []);
|
|
38668
|
+
__publicField(this, "isTouchMode", false);
|
|
38669
|
+
__publicField(this, "lastTapTimestamp", 0);
|
|
38670
|
+
__publicField(this, "tappedCount", 0);
|
|
38671
|
+
__publicField(this, "touchMovedLength", 0);
|
|
38672
|
+
__publicField(this, "lastPointerX", 0);
|
|
38673
|
+
__publicField(this, "lastPointerY", 0);
|
|
38674
|
+
__publicField(this, "onTouchStart", (event) => {
|
|
38663
38675
|
this.isTouchMode = true;
|
|
38664
38676
|
if (event.touches.length === 1) {
|
|
38665
38677
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38666
38678
|
}
|
|
38667
38679
|
});
|
|
38668
|
-
|
|
38680
|
+
__publicField(this, "onTouchMove", (event) => {
|
|
38669
38681
|
if (event.touches.length === 1) {
|
|
38670
38682
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38671
38683
|
}
|
|
38672
38684
|
});
|
|
38673
|
-
|
|
38685
|
+
__publicField(this, "onTouchEnd", () => {
|
|
38674
38686
|
if (this.isTouchMode) this.onPointerUp();
|
|
38675
38687
|
});
|
|
38676
|
-
|
|
38688
|
+
__publicField(this, "onMouseDown", (event) => {
|
|
38677
38689
|
if (!this.isTouchMode) {
|
|
38678
38690
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38679
38691
|
}
|
|
38680
38692
|
});
|
|
38681
|
-
|
|
38693
|
+
__publicField(this, "onMouseMove", (event) => {
|
|
38682
38694
|
if (!this.isTouchMode && event.button === 0) {
|
|
38683
38695
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38684
38696
|
}
|
|
38685
38697
|
});
|
|
38686
|
-
|
|
38698
|
+
__publicField(this, "onMouseUp", () => {
|
|
38687
38699
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38688
38700
|
});
|
|
38689
38701
|
}
|
|
@@ -39156,12 +39168,6 @@ function localRef(key, initialValue) {
|
|
|
39156
39168
|
return value;
|
|
39157
39169
|
}
|
|
39158
39170
|
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
|
-
};
|
|
39165
39171
|
const axios = axios$1.create({
|
|
39166
39172
|
withCredentials: true
|
|
39167
39173
|
});
|
|
@@ -39176,8 +39182,7 @@ class DataRequest {
|
|
|
39176
39182
|
this.itemID = "";
|
|
39177
39183
|
}
|
|
39178
39184
|
async post(item) {
|
|
39179
|
-
if (!this.data_table)
|
|
39180
|
-
throw new Error("Data table not set");
|
|
39185
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39181
39186
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
39182
39187
|
return data2;
|
|
39183
39188
|
}
|
|
@@ -39187,8 +39192,7 @@ class DataRequest {
|
|
|
39187
39192
|
}
|
|
39188
39193
|
async get() {
|
|
39189
39194
|
var _a2, _b;
|
|
39190
|
-
if (!this.data_table)
|
|
39191
|
-
throw new Error("Data table not set");
|
|
39195
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39192
39196
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
39193
39197
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
39194
39198
|
try {
|
|
@@ -39205,8 +39209,7 @@ class DataRequest {
|
|
|
39205
39209
|
return this;
|
|
39206
39210
|
}
|
|
39207
39211
|
async delete() {
|
|
39208
|
-
if (!this.data_table)
|
|
39209
|
-
throw new Error("Data table not set");
|
|
39212
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39210
39213
|
const { data: data2 } = await axios.delete(
|
|
39211
39214
|
`/data/${this.data_table}/${this.itemID}`
|
|
39212
39215
|
);
|
|
@@ -39214,10 +39217,8 @@ class DataRequest {
|
|
|
39214
39217
|
}
|
|
39215
39218
|
async put(updatedItem) {
|
|
39216
39219
|
const { data_table, itemID } = this;
|
|
39217
|
-
if (!data_table)
|
|
39218
|
-
|
|
39219
|
-
if (!itemID)
|
|
39220
|
-
throw new Error("Item ID not set");
|
|
39220
|
+
if (!data_table) throw new Error("Data table not set");
|
|
39221
|
+
if (!itemID) throw new Error("Item ID not set");
|
|
39221
39222
|
const { data: data2 } = await axios.put(
|
|
39222
39223
|
`/data/${data_table}/${itemID}`,
|
|
39223
39224
|
updatedItem
|
|
@@ -39234,9 +39235,9 @@ function responses(key) {
|
|
|
39234
39235
|
}
|
|
39235
39236
|
class BagelAuth {
|
|
39236
39237
|
constructor(bagel) {
|
|
39237
|
-
this.bagel = bagel;
|
|
39238
39238
|
__publicField(this, "user");
|
|
39239
39239
|
this.bagel = bagel;
|
|
39240
|
+
this.bagel = bagel;
|
|
39240
39241
|
}
|
|
39241
39242
|
async validateUser() {
|
|
39242
39243
|
try {
|
|
@@ -39338,12 +39339,10 @@ class Bagel {
|
|
|
39338
39339
|
async get(endpoint, query) {
|
|
39339
39340
|
this._setAuthorization();
|
|
39340
39341
|
endpoint = this._endpointCleaner(endpoint);
|
|
39341
|
-
if (/undefined|null/.test(endpoint))
|
|
39342
|
-
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39342
|
+
if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39343
39343
|
if (query) {
|
|
39344
39344
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
39345
|
-
if (queryParams)
|
|
39346
|
-
endpoint = `${endpoint}?${queryParams}`;
|
|
39345
|
+
if (queryParams) endpoint = `${endpoint}?${queryParams}`;
|
|
39347
39346
|
}
|
|
39348
39347
|
const url = `/${endpoint}`;
|
|
39349
39348
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -39398,8 +39397,7 @@ class Bagel {
|
|
|
39398
39397
|
const formData = new FormData();
|
|
39399
39398
|
formData.append("file", file);
|
|
39400
39399
|
let url = "/static_files/upload";
|
|
39401
|
-
if (options == null ? void 0 : options.topic)
|
|
39402
|
-
url = `/static_files/upload?topic=${options.topic}`;
|
|
39400
|
+
if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
|
|
39403
39401
|
const { data: data2 } = await axios.post(url, formData, {
|
|
39404
39402
|
headers: {
|
|
39405
39403
|
"Content-Type": "multipart/form-data"
|