@bagelink/vue 0.0.1176 → 0.0.1178
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/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 +106 -114
- package/dist/index.mjs +106 -114
- 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/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/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.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, resolveComponent, onMounted, onUnmounted, nextTick, h as h$2, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, mergeModels, useCssVars, useModel, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, vModelText, toRef, createSlots, Teleport, render as render$e, onBeforeUpdate, vShow, vModelRadio, TransitionGroup, vModelDynamic, onBeforeUnmount, markRaw } from "vue";
|
|
5
5
|
import { RouterLink } from "vue-router";
|
|
6
6
|
const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -11566,23 +11566,24 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
11566
11566
|
__name: "BagelForm",
|
|
11567
11567
|
props: {
|
|
11568
11568
|
modelValue: { default: void 0 },
|
|
11569
|
-
schema: { default: void 0 }
|
|
11569
|
+
schema: { default: void 0 },
|
|
11570
|
+
tag: { default: "form" }
|
|
11570
11571
|
},
|
|
11571
11572
|
emits: ["update:modelValue", "submit"],
|
|
11572
11573
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11573
11574
|
const props2 = __props;
|
|
11574
11575
|
const emit2 = __emit;
|
|
11575
11576
|
const form = ref();
|
|
11576
|
-
const formData = ref(
|
|
11577
|
-
const initialFormData = ref(
|
|
11577
|
+
const formData = ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
|
|
11578
|
+
const initialFormData = ref(JSON.parse(JSON.stringify(props2.modelValue ?? {})));
|
|
11578
11579
|
onMounted(() => {
|
|
11579
11580
|
if (props2.modelValue) {
|
|
11580
|
-
initialFormData.value =
|
|
11581
|
+
initialFormData.value = JSON.parse(JSON.stringify(props2.modelValue));
|
|
11581
11582
|
}
|
|
11582
11583
|
});
|
|
11583
11584
|
watch(() => props2.modelValue, (newValue) => {
|
|
11584
11585
|
if (newValue !== void 0) {
|
|
11585
|
-
formData.value =
|
|
11586
|
+
formData.value = JSON.parse(JSON.stringify(newValue));
|
|
11586
11587
|
}
|
|
11587
11588
|
}, { immediate: true, deep: true });
|
|
11588
11589
|
const resolvedSchema = computed(() => {
|
|
@@ -11630,7 +11631,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
11630
11631
|
}
|
|
11631
11632
|
__expose({ form, isDirty: isDirty.value, validateForm });
|
|
11632
11633
|
return (_ctx, _cache) => {
|
|
11633
|
-
return openBlock(), createElementBlock("form", {
|
|
11634
|
+
return props2.tag === "form" ? (openBlock(), createElementBlock("form", {
|
|
11635
|
+
key: 0,
|
|
11634
11636
|
ref_key: "form",
|
|
11635
11637
|
ref: form,
|
|
11636
11638
|
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
@@ -11645,7 +11647,11 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
11645
11647
|
isDirty: isDirty.value,
|
|
11646
11648
|
validateForm
|
|
11647
11649
|
})
|
|
11648
|
-
], 544)
|
|
11650
|
+
], 544)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(resolvedSchema.value, (field) => {
|
|
11651
|
+
return openBlock(), createBlock(resolveDynamicComponent(renderSchemaField(field)), {
|
|
11652
|
+
key: field.id
|
|
11653
|
+
});
|
|
11654
|
+
}), 128));
|
|
11649
11655
|
};
|
|
11650
11656
|
}
|
|
11651
11657
|
});
|
|
@@ -13767,7 +13773,7 @@ function transpose(fromDate, constructor) {
|
|
|
13767
13773
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13768
13774
|
class Setter {
|
|
13769
13775
|
constructor() {
|
|
13770
|
-
|
|
13776
|
+
__publicField(this, "subPriority", 0);
|
|
13771
13777
|
}
|
|
13772
13778
|
validate(_utcDate, _options) {
|
|
13773
13779
|
return true;
|
|
@@ -13794,8 +13800,8 @@ class ValueSetter extends Setter {
|
|
|
13794
13800
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13795
13801
|
constructor() {
|
|
13796
13802
|
super(...arguments);
|
|
13797
|
-
|
|
13798
|
-
|
|
13803
|
+
__publicField(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13804
|
+
__publicField(this, "subPriority", -1);
|
|
13799
13805
|
}
|
|
13800
13806
|
set(date2, flags) {
|
|
13801
13807
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13826,8 +13832,8 @@ class Parser {
|
|
|
13826
13832
|
class EraParser extends Parser {
|
|
13827
13833
|
constructor() {
|
|
13828
13834
|
super(...arguments);
|
|
13829
|
-
|
|
13830
|
-
|
|
13835
|
+
__publicField(this, "priority", 140);
|
|
13836
|
+
__publicField(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13831
13837
|
}
|
|
13832
13838
|
parse(dateString, token, match2) {
|
|
13833
13839
|
switch (token) {
|
|
@@ -14005,8 +14011,8 @@ function isLeapYearIndex(year) {
|
|
|
14005
14011
|
class YearParser extends Parser {
|
|
14006
14012
|
constructor() {
|
|
14007
14013
|
super(...arguments);
|
|
14008
|
-
|
|
14009
|
-
|
|
14014
|
+
__publicField(this, "priority", 130);
|
|
14015
|
+
__publicField(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14010
14016
|
}
|
|
14011
14017
|
parse(dateString, token, match2) {
|
|
14012
14018
|
const valueCallback = (year) => ({
|
|
@@ -14050,8 +14056,8 @@ class YearParser extends Parser {
|
|
|
14050
14056
|
class LocalWeekYearParser extends Parser {
|
|
14051
14057
|
constructor() {
|
|
14052
14058
|
super(...arguments);
|
|
14053
|
-
|
|
14054
|
-
|
|
14059
|
+
__publicField(this, "priority", 130);
|
|
14060
|
+
__publicField(this, "incompatibleTokens", [
|
|
14055
14061
|
"y",
|
|
14056
14062
|
"R",
|
|
14057
14063
|
"u",
|
|
@@ -14113,8 +14119,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
14113
14119
|
class ISOWeekYearParser extends Parser {
|
|
14114
14120
|
constructor() {
|
|
14115
14121
|
super(...arguments);
|
|
14116
|
-
|
|
14117
|
-
|
|
14122
|
+
__publicField(this, "priority", 130);
|
|
14123
|
+
__publicField(this, "incompatibleTokens", [
|
|
14118
14124
|
"G",
|
|
14119
14125
|
"y",
|
|
14120
14126
|
"Y",
|
|
@@ -14148,8 +14154,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14148
14154
|
class ExtendedYearParser extends Parser {
|
|
14149
14155
|
constructor() {
|
|
14150
14156
|
super(...arguments);
|
|
14151
|
-
|
|
14152
|
-
|
|
14157
|
+
__publicField(this, "priority", 130);
|
|
14158
|
+
__publicField(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14153
14159
|
}
|
|
14154
14160
|
parse(dateString, token) {
|
|
14155
14161
|
if (token === "u") {
|
|
@@ -14166,8 +14172,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14166
14172
|
class QuarterParser extends Parser {
|
|
14167
14173
|
constructor() {
|
|
14168
14174
|
super(...arguments);
|
|
14169
|
-
|
|
14170
|
-
|
|
14175
|
+
__publicField(this, "priority", 120);
|
|
14176
|
+
__publicField(this, "incompatibleTokens", [
|
|
14171
14177
|
"Y",
|
|
14172
14178
|
"R",
|
|
14173
14179
|
"q",
|
|
@@ -14235,8 +14241,8 @@ class QuarterParser extends Parser {
|
|
|
14235
14241
|
class StandAloneQuarterParser extends Parser {
|
|
14236
14242
|
constructor() {
|
|
14237
14243
|
super(...arguments);
|
|
14238
|
-
|
|
14239
|
-
|
|
14244
|
+
__publicField(this, "priority", 120);
|
|
14245
|
+
__publicField(this, "incompatibleTokens", [
|
|
14240
14246
|
"Y",
|
|
14241
14247
|
"R",
|
|
14242
14248
|
"Q",
|
|
@@ -14304,7 +14310,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14304
14310
|
class MonthParser extends Parser {
|
|
14305
14311
|
constructor() {
|
|
14306
14312
|
super(...arguments);
|
|
14307
|
-
|
|
14313
|
+
__publicField(this, "incompatibleTokens", [
|
|
14308
14314
|
"Y",
|
|
14309
14315
|
"R",
|
|
14310
14316
|
"q",
|
|
@@ -14319,7 +14325,7 @@ class MonthParser extends Parser {
|
|
|
14319
14325
|
"t",
|
|
14320
14326
|
"T"
|
|
14321
14327
|
]);
|
|
14322
|
-
|
|
14328
|
+
__publicField(this, "priority", 110);
|
|
14323
14329
|
}
|
|
14324
14330
|
parse(dateString, token, match2) {
|
|
14325
14331
|
const valueCallback = (value) => value - 1;
|
|
@@ -14374,8 +14380,8 @@ class MonthParser extends Parser {
|
|
|
14374
14380
|
class StandAloneMonthParser extends Parser {
|
|
14375
14381
|
constructor() {
|
|
14376
14382
|
super(...arguments);
|
|
14377
|
-
|
|
14378
|
-
|
|
14383
|
+
__publicField(this, "priority", 110);
|
|
14384
|
+
__publicField(this, "incompatibleTokens", [
|
|
14379
14385
|
"Y",
|
|
14380
14386
|
"R",
|
|
14381
14387
|
"q",
|
|
@@ -14450,8 +14456,8 @@ function setWeek(date2, week, options) {
|
|
|
14450
14456
|
class LocalWeekParser extends Parser {
|
|
14451
14457
|
constructor() {
|
|
14452
14458
|
super(...arguments);
|
|
14453
|
-
|
|
14454
|
-
|
|
14459
|
+
__publicField(this, "priority", 100);
|
|
14460
|
+
__publicField(this, "incompatibleTokens", [
|
|
14455
14461
|
"y",
|
|
14456
14462
|
"R",
|
|
14457
14463
|
"u",
|
|
@@ -14493,8 +14499,8 @@ function setISOWeek(date2, week) {
|
|
|
14493
14499
|
class ISOWeekParser extends Parser {
|
|
14494
14500
|
constructor() {
|
|
14495
14501
|
super(...arguments);
|
|
14496
|
-
|
|
14497
|
-
|
|
14502
|
+
__publicField(this, "priority", 100);
|
|
14503
|
+
__publicField(this, "incompatibleTokens", [
|
|
14498
14504
|
"y",
|
|
14499
14505
|
"Y",
|
|
14500
14506
|
"u",
|
|
@@ -14546,9 +14552,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14546
14552
|
class DateParser extends Parser {
|
|
14547
14553
|
constructor() {
|
|
14548
14554
|
super(...arguments);
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14555
|
+
__publicField(this, "priority", 90);
|
|
14556
|
+
__publicField(this, "subPriority", 1);
|
|
14557
|
+
__publicField(this, "incompatibleTokens", [
|
|
14552
14558
|
"Y",
|
|
14553
14559
|
"R",
|
|
14554
14560
|
"q",
|
|
@@ -14592,9 +14598,9 @@ class DateParser extends Parser {
|
|
|
14592
14598
|
class DayOfYearParser extends Parser {
|
|
14593
14599
|
constructor() {
|
|
14594
14600
|
super(...arguments);
|
|
14595
|
-
|
|
14596
|
-
|
|
14597
|
-
|
|
14601
|
+
__publicField(this, "priority", 90);
|
|
14602
|
+
__publicField(this, "subpriority", 1);
|
|
14603
|
+
__publicField(this, "incompatibleTokens", [
|
|
14598
14604
|
"Y",
|
|
14599
14605
|
"R",
|
|
14600
14606
|
"q",
|
|
@@ -14653,8 +14659,8 @@ function setDay(date2, day, options) {
|
|
|
14653
14659
|
class DayParser extends Parser {
|
|
14654
14660
|
constructor() {
|
|
14655
14661
|
super(...arguments);
|
|
14656
|
-
|
|
14657
|
-
|
|
14662
|
+
__publicField(this, "priority", 90);
|
|
14663
|
+
__publicField(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14658
14664
|
}
|
|
14659
14665
|
parse(dateString, token, match2) {
|
|
14660
14666
|
switch (token) {
|
|
@@ -14696,8 +14702,8 @@ class DayParser extends Parser {
|
|
|
14696
14702
|
class LocalDayParser extends Parser {
|
|
14697
14703
|
constructor() {
|
|
14698
14704
|
super(...arguments);
|
|
14699
|
-
|
|
14700
|
-
|
|
14705
|
+
__publicField(this, "priority", 90);
|
|
14706
|
+
__publicField(this, "incompatibleTokens", [
|
|
14701
14707
|
"y",
|
|
14702
14708
|
"R",
|
|
14703
14709
|
"u",
|
|
@@ -14769,8 +14775,8 @@ class LocalDayParser extends Parser {
|
|
|
14769
14775
|
class StandAloneLocalDayParser extends Parser {
|
|
14770
14776
|
constructor() {
|
|
14771
14777
|
super(...arguments);
|
|
14772
|
-
|
|
14773
|
-
|
|
14778
|
+
__publicField(this, "priority", 90);
|
|
14779
|
+
__publicField(this, "incompatibleTokens", [
|
|
14774
14780
|
"y",
|
|
14775
14781
|
"R",
|
|
14776
14782
|
"u",
|
|
@@ -14848,8 +14854,8 @@ function setISODay(date2, day) {
|
|
|
14848
14854
|
class ISODayParser extends Parser {
|
|
14849
14855
|
constructor() {
|
|
14850
14856
|
super(...arguments);
|
|
14851
|
-
|
|
14852
|
-
|
|
14857
|
+
__publicField(this, "priority", 90);
|
|
14858
|
+
__publicField(this, "incompatibleTokens", [
|
|
14853
14859
|
"y",
|
|
14854
14860
|
"Y",
|
|
14855
14861
|
"u",
|
|
@@ -14951,8 +14957,8 @@ class ISODayParser extends Parser {
|
|
|
14951
14957
|
class AMPMParser extends Parser {
|
|
14952
14958
|
constructor() {
|
|
14953
14959
|
super(...arguments);
|
|
14954
|
-
|
|
14955
|
-
|
|
14960
|
+
__publicField(this, "priority", 80);
|
|
14961
|
+
__publicField(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14956
14962
|
}
|
|
14957
14963
|
parse(dateString, token, match2) {
|
|
14958
14964
|
switch (token) {
|
|
@@ -14993,8 +14999,8 @@ class AMPMParser extends Parser {
|
|
|
14993
14999
|
class AMPMMidnightParser extends Parser {
|
|
14994
15000
|
constructor() {
|
|
14995
15001
|
super(...arguments);
|
|
14996
|
-
|
|
14997
|
-
|
|
15002
|
+
__publicField(this, "priority", 80);
|
|
15003
|
+
__publicField(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
14998
15004
|
}
|
|
14999
15005
|
parse(dateString, token, match2) {
|
|
15000
15006
|
switch (token) {
|
|
@@ -15035,8 +15041,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
15035
15041
|
class DayPeriodParser extends Parser {
|
|
15036
15042
|
constructor() {
|
|
15037
15043
|
super(...arguments);
|
|
15038
|
-
|
|
15039
|
-
|
|
15044
|
+
__publicField(this, "priority", 80);
|
|
15045
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
15040
15046
|
}
|
|
15041
15047
|
parse(dateString, token, match2) {
|
|
15042
15048
|
switch (token) {
|
|
@@ -15077,8 +15083,8 @@ class DayPeriodParser extends Parser {
|
|
|
15077
15083
|
class Hour1to12Parser extends Parser {
|
|
15078
15084
|
constructor() {
|
|
15079
15085
|
super(...arguments);
|
|
15080
|
-
|
|
15081
|
-
|
|
15086
|
+
__publicField(this, "priority", 70);
|
|
15087
|
+
__publicField(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
15082
15088
|
}
|
|
15083
15089
|
parse(dateString, token, match2) {
|
|
15084
15090
|
switch (token) {
|
|
@@ -15108,8 +15114,8 @@ class Hour1to12Parser extends Parser {
|
|
|
15108
15114
|
class Hour0to23Parser extends Parser {
|
|
15109
15115
|
constructor() {
|
|
15110
15116
|
super(...arguments);
|
|
15111
|
-
|
|
15112
|
-
|
|
15117
|
+
__publicField(this, "priority", 70);
|
|
15118
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
15113
15119
|
}
|
|
15114
15120
|
parse(dateString, token, match2) {
|
|
15115
15121
|
switch (token) {
|
|
@@ -15132,8 +15138,8 @@ class Hour0to23Parser extends Parser {
|
|
|
15132
15138
|
class Hour0To11Parser extends Parser {
|
|
15133
15139
|
constructor() {
|
|
15134
15140
|
super(...arguments);
|
|
15135
|
-
|
|
15136
|
-
|
|
15141
|
+
__publicField(this, "priority", 70);
|
|
15142
|
+
__publicField(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
15137
15143
|
}
|
|
15138
15144
|
parse(dateString, token, match2) {
|
|
15139
15145
|
switch (token) {
|
|
@@ -15161,8 +15167,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15161
15167
|
class Hour1To24Parser extends Parser {
|
|
15162
15168
|
constructor() {
|
|
15163
15169
|
super(...arguments);
|
|
15164
|
-
|
|
15165
|
-
|
|
15170
|
+
__publicField(this, "priority", 70);
|
|
15171
|
+
__publicField(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15166
15172
|
}
|
|
15167
15173
|
parse(dateString, token, match2) {
|
|
15168
15174
|
switch (token) {
|
|
@@ -15186,8 +15192,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15186
15192
|
class MinuteParser extends Parser {
|
|
15187
15193
|
constructor() {
|
|
15188
15194
|
super(...arguments);
|
|
15189
|
-
|
|
15190
|
-
|
|
15195
|
+
__publicField(this, "priority", 60);
|
|
15196
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15191
15197
|
}
|
|
15192
15198
|
parse(dateString, token, match2) {
|
|
15193
15199
|
switch (token) {
|
|
@@ -15210,8 +15216,8 @@ class MinuteParser extends Parser {
|
|
|
15210
15216
|
class SecondParser extends Parser {
|
|
15211
15217
|
constructor() {
|
|
15212
15218
|
super(...arguments);
|
|
15213
|
-
|
|
15214
|
-
|
|
15219
|
+
__publicField(this, "priority", 50);
|
|
15220
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15215
15221
|
}
|
|
15216
15222
|
parse(dateString, token, match2) {
|
|
15217
15223
|
switch (token) {
|
|
@@ -15234,8 +15240,8 @@ class SecondParser extends Parser {
|
|
|
15234
15240
|
class FractionOfSecondParser extends Parser {
|
|
15235
15241
|
constructor() {
|
|
15236
15242
|
super(...arguments);
|
|
15237
|
-
|
|
15238
|
-
|
|
15243
|
+
__publicField(this, "priority", 30);
|
|
15244
|
+
__publicField(this, "incompatibleTokens", ["t", "T"]);
|
|
15239
15245
|
}
|
|
15240
15246
|
parse(dateString, token) {
|
|
15241
15247
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15249,8 +15255,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15249
15255
|
class ISOTimezoneWithZParser extends Parser {
|
|
15250
15256
|
constructor() {
|
|
15251
15257
|
super(...arguments);
|
|
15252
|
-
|
|
15253
|
-
|
|
15258
|
+
__publicField(this, "priority", 10);
|
|
15259
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15254
15260
|
}
|
|
15255
15261
|
parse(dateString, token) {
|
|
15256
15262
|
switch (token) {
|
|
@@ -15287,8 +15293,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15287
15293
|
class ISOTimezoneParser extends Parser {
|
|
15288
15294
|
constructor() {
|
|
15289
15295
|
super(...arguments);
|
|
15290
|
-
|
|
15291
|
-
|
|
15296
|
+
__publicField(this, "priority", 10);
|
|
15297
|
+
__publicField(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15292
15298
|
}
|
|
15293
15299
|
parse(dateString, token) {
|
|
15294
15300
|
switch (token) {
|
|
@@ -15325,8 +15331,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15325
15331
|
class TimestampSecondsParser extends Parser {
|
|
15326
15332
|
constructor() {
|
|
15327
15333
|
super(...arguments);
|
|
15328
|
-
|
|
15329
|
-
|
|
15334
|
+
__publicField(this, "priority", 40);
|
|
15335
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15330
15336
|
}
|
|
15331
15337
|
parse(dateString) {
|
|
15332
15338
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15338,8 +15344,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15338
15344
|
class TimestampMillisecondsParser extends Parser {
|
|
15339
15345
|
constructor() {
|
|
15340
15346
|
super(...arguments);
|
|
15341
|
-
|
|
15342
|
-
|
|
15347
|
+
__publicField(this, "priority", 20);
|
|
15348
|
+
__publicField(this, "incompatibleTokens", "*");
|
|
15343
15349
|
}
|
|
15344
15350
|
parse(dateString) {
|
|
15345
15351
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -38642,39 +38648,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38642
38648
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38643
38649
|
class TapDetector {
|
|
38644
38650
|
constructor() {
|
|
38645
|
-
|
|
38646
|
-
|
|
38647
|
-
|
|
38648
|
-
|
|
38649
|
-
|
|
38650
|
-
|
|
38651
|
-
|
|
38652
|
-
|
|
38653
|
-
|
|
38651
|
+
__publicField(this, "singleTapCallbacks", []);
|
|
38652
|
+
__publicField(this, "doubleTapCallbacks", []);
|
|
38653
|
+
__publicField(this, "isTouchMode", false);
|
|
38654
|
+
__publicField(this, "lastTapTimestamp", 0);
|
|
38655
|
+
__publicField(this, "tappedCount", 0);
|
|
38656
|
+
__publicField(this, "touchMovedLength", 0);
|
|
38657
|
+
__publicField(this, "lastPointerX", 0);
|
|
38658
|
+
__publicField(this, "lastPointerY", 0);
|
|
38659
|
+
__publicField(this, "onTouchStart", (event) => {
|
|
38654
38660
|
this.isTouchMode = true;
|
|
38655
38661
|
if (event.touches.length === 1) {
|
|
38656
38662
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38657
38663
|
}
|
|
38658
38664
|
});
|
|
38659
|
-
|
|
38665
|
+
__publicField(this, "onTouchMove", (event) => {
|
|
38660
38666
|
if (event.touches.length === 1) {
|
|
38661
38667
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38662
38668
|
}
|
|
38663
38669
|
});
|
|
38664
|
-
|
|
38670
|
+
__publicField(this, "onTouchEnd", () => {
|
|
38665
38671
|
if (this.isTouchMode) this.onPointerUp();
|
|
38666
38672
|
});
|
|
38667
|
-
|
|
38673
|
+
__publicField(this, "onMouseDown", (event) => {
|
|
38668
38674
|
if (!this.isTouchMode) {
|
|
38669
38675
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38670
38676
|
}
|
|
38671
38677
|
});
|
|
38672
|
-
|
|
38678
|
+
__publicField(this, "onMouseMove", (event) => {
|
|
38673
38679
|
if (!this.isTouchMode && event.button === 0) {
|
|
38674
38680
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38675
38681
|
}
|
|
38676
38682
|
});
|
|
38677
|
-
|
|
38683
|
+
__publicField(this, "onMouseUp", () => {
|
|
38678
38684
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38679
38685
|
});
|
|
38680
38686
|
}
|
|
@@ -39147,12 +39153,6 @@ function localRef(key, initialValue) {
|
|
|
39147
39153
|
return value;
|
|
39148
39154
|
}
|
|
39149
39155
|
const useLocalStorage = localRef;
|
|
39150
|
-
var __defProp = Object.defineProperty;
|
|
39151
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
39152
|
-
var __publicField = (obj, key, value) => {
|
|
39153
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
39154
|
-
return value;
|
|
39155
|
-
};
|
|
39156
39156
|
const axios = axios$1.create({
|
|
39157
39157
|
withCredentials: true
|
|
39158
39158
|
});
|
|
@@ -39167,8 +39167,7 @@ class DataRequest {
|
|
|
39167
39167
|
this.itemID = "";
|
|
39168
39168
|
}
|
|
39169
39169
|
async post(item) {
|
|
39170
|
-
if (!this.data_table)
|
|
39171
|
-
throw new Error("Data table not set");
|
|
39170
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39172
39171
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
39173
39172
|
return data2;
|
|
39174
39173
|
}
|
|
@@ -39178,8 +39177,7 @@ class DataRequest {
|
|
|
39178
39177
|
}
|
|
39179
39178
|
async get() {
|
|
39180
39179
|
var _a2, _b;
|
|
39181
|
-
if (!this.data_table)
|
|
39182
|
-
throw new Error("Data table not set");
|
|
39180
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39183
39181
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
39184
39182
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
39185
39183
|
try {
|
|
@@ -39196,8 +39194,7 @@ class DataRequest {
|
|
|
39196
39194
|
return this;
|
|
39197
39195
|
}
|
|
39198
39196
|
async delete() {
|
|
39199
|
-
if (!this.data_table)
|
|
39200
|
-
throw new Error("Data table not set");
|
|
39197
|
+
if (!this.data_table) throw new Error("Data table not set");
|
|
39201
39198
|
const { data: data2 } = await axios.delete(
|
|
39202
39199
|
`/data/${this.data_table}/${this.itemID}`
|
|
39203
39200
|
);
|
|
@@ -39205,10 +39202,8 @@ class DataRequest {
|
|
|
39205
39202
|
}
|
|
39206
39203
|
async put(updatedItem) {
|
|
39207
39204
|
const { data_table, itemID } = this;
|
|
39208
|
-
if (!data_table)
|
|
39209
|
-
|
|
39210
|
-
if (!itemID)
|
|
39211
|
-
throw new Error("Item ID not set");
|
|
39205
|
+
if (!data_table) throw new Error("Data table not set");
|
|
39206
|
+
if (!itemID) throw new Error("Item ID not set");
|
|
39212
39207
|
const { data: data2 } = await axios.put(
|
|
39213
39208
|
`/data/${data_table}/${itemID}`,
|
|
39214
39209
|
updatedItem
|
|
@@ -39225,9 +39220,9 @@ function responses(key) {
|
|
|
39225
39220
|
}
|
|
39226
39221
|
class BagelAuth {
|
|
39227
39222
|
constructor(bagel) {
|
|
39228
|
-
this.bagel = bagel;
|
|
39229
39223
|
__publicField(this, "user");
|
|
39230
39224
|
this.bagel = bagel;
|
|
39225
|
+
this.bagel = bagel;
|
|
39231
39226
|
}
|
|
39232
39227
|
async validateUser() {
|
|
39233
39228
|
try {
|
|
@@ -39329,12 +39324,10 @@ class Bagel {
|
|
|
39329
39324
|
async get(endpoint, query) {
|
|
39330
39325
|
this._setAuthorization();
|
|
39331
39326
|
endpoint = this._endpointCleaner(endpoint);
|
|
39332
|
-
if (/undefined|null/.test(endpoint))
|
|
39333
|
-
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39327
|
+
if (/undefined|null/.test(endpoint)) throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
39334
39328
|
if (query) {
|
|
39335
39329
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
39336
|
-
if (queryParams)
|
|
39337
|
-
endpoint = `${endpoint}?${queryParams}`;
|
|
39330
|
+
if (queryParams) endpoint = `${endpoint}?${queryParams}`;
|
|
39338
39331
|
}
|
|
39339
39332
|
const url = `/${endpoint}`;
|
|
39340
39333
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -39389,8 +39382,7 @@ class Bagel {
|
|
|
39389
39382
|
const formData = new FormData();
|
|
39390
39383
|
formData.append("file", file);
|
|
39391
39384
|
let url = "/static_files/upload";
|
|
39392
|
-
if (options == null ? void 0 : options.topic)
|
|
39393
|
-
url = `/static_files/upload?topic=${options.topic}`;
|
|
39385
|
+
if (options == null ? void 0 : options.topic) url = `/static_files/upload?topic=${options.topic}`;
|
|
39394
39386
|
const { data: data2 } = await axios.post(url, formData, {
|
|
39395
39387
|
headers: {
|
|
39396
39388
|
"Content-Type": "multipart/form-data"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/draggable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,KAAK,CAAA;AAQ5D,QAAA,MAAM,kBAAkB,EAAE,eAKzB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"droppable.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/droppable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,KAAK,CAAA;AAQ5D,QAAA,MAAM,kBAAkB,EAAE,eAKzB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/index.ts"],"names":[],"mappings":";iBAIc,GAAG;;AADjB,wBAKC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface DraggableOptions {
|
|
3
|
+
handle?: string;
|
|
4
|
+
onGenerateDragPreview?: (args: any) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function useDraggable(el: Ref<HTMLElement | null>, data: any, options?: DraggableOptions): void;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=useDraggable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDraggable.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/useDraggable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAK9B,UAAU,gBAAgB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAA;CAE3C;AAED,wBAAgB,YAAY,CAC3B,EAAE,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EAC3B,IAAI,EAAE,GAAG,EACT,OAAO,GAAE,gBAAqB,GAC5B,IAAI,CA0BN"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface DroppableOptions {
|
|
3
|
+
canDrop?: (args: any) => boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function useDroppable(el: Ref<HTMLElement | null>, data: any, onDrop?: (event: any) => void, options?: DroppableOptions): void;
|
|
6
|
+
export {};
|
|
7
|
+
//# sourceMappingURL=useDroppable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDroppable.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/useDroppable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAK9B,UAAU,gBAAgB;IACzB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,CAAA;CAEhC;AAED,wBAAgB,YAAY,CAC3B,EAAE,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,EAC3B,IAAI,EAAE,GAAG,EACT,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,EAC7B,OAAO,GAAE,gBAAqB,GAC5B,IAAI,CAqBN"}
|