@bagelink/vue 0.0.1145 → 0.0.1147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/AccordionItem.d.ts +34 -0
- package/dist/components/AccordionItem.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +34 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +36 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +22 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/BglVideo.d.ts +20 -0
- package/dist/components/BglVideo.d.ts.map +1 -0
- package/dist/components/Btn.d.ts +99 -0
- package/dist/components/Btn.d.ts.map +1 -0
- package/dist/components/Card.d.ts +39 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Carousel.d.ts +74 -0
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/DataPreview.d.ts +42 -0
- package/dist/components/DataPreview.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/Flag.d.ts +20 -0
- package/dist/components/Flag.d.ts.map +1 -0
- package/dist/components/FormSchema.vue.d.ts +5 -4
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.d.ts +34 -0
- package/dist/components/ListItem.d.ts.map +1 -0
- package/dist/components/ListView.d.ts +13 -0
- package/dist/components/ListView.d.ts.map +1 -0
- package/dist/components/MapEmbed.d.ts +3 -0
- package/dist/components/MapEmbed.d.ts.map +1 -0
- package/dist/components/MaterialIcon.d.ts +26 -0
- package/dist/components/MaterialIcon.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +46 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalBglForm.vue.d.ts +21 -20
- package/dist/components/ModalConfirm.d.ts +24 -0
- package/dist/components/ModalConfirm.d.ts.map +1 -0
- package/dist/components/ModalForm.d.ts +78 -0
- package/dist/components/ModalForm.d.ts.map +1 -0
- package/dist/components/NavBar.d.ts +64 -0
- package/dist/components/NavBar.d.ts.map +1 -0
- package/dist/components/PageTitle.d.ts +24 -0
- package/dist/components/PageTitle.d.ts.map +1 -0
- package/dist/components/PersonPreview.vue.d.ts +5 -4
- package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/RouterWrapper.d.ts +3 -0
- package/dist/components/RouterWrapper.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -4
- package/dist/components/TableSchema.d.ts +35 -0
- package/dist/components/TableSchema.d.ts.map +1 -0
- package/dist/components/TableSchema.vue.d.ts +2 -2
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +12 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.d.ts +20 -0
- package/dist/components/dashboard/Lineart.d.ts.map +1 -0
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +5 -3
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.d.ts +56 -0
- package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Checkbox.d.ts +16 -0
- package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
- package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.d.ts +64 -0
- package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
- package/dist/components/form/inputs/DatePicker.d.ts +33 -0
- package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/FileUpload.d.ts +108 -0
- package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts +3 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/JSONInput.d.ts +53 -0
- package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
- package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Password.vue.d.ts +3 -3
- package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
- package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.d.ts +20 -0
- package/dist/components/form/inputs/RichText.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.d.ts +55 -0
- package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
- package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
- package/dist/components/form/inputs/TableField.d.ts +45 -0
- package/dist/components/form/inputs/TableField.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.d.ts +241 -0
- package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.d.ts +90 -0
- package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +3 -0
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
- package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
- package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
- package/dist/components/formkit/Toggle.vue.d.ts +2 -2
- package/dist/components/layout/BottomMenu.d.ts +27 -0
- package/dist/components/layout/BottomMenu.d.ts.map +1 -0
- package/dist/components/layout/Layout.d.ts +58 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/TabsBody.d.ts +23 -0
- package/dist/components/layout/TabsBody.d.ts.map +1 -0
- package/dist/components/layout/TabsNav.d.ts +35 -0
- package/dist/components/layout/TabsNav.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +161 -145
- package/dist/index.mjs +161 -145
- package/dist/style.css +99 -90
- package/dist/styles.css +14073 -0
- package/dist/utils/objects.d.ts +1 -0
- package/dist/vue.css +14073 -0
- package/package.json +1 -1
- package/src/components/form/FieldArray.vue +24 -14
- package/src/components/form/inputs/FileUpload.vue +10 -6
- package/src/components/form/inputs/NumberInput.vue +3 -1
- package/src/components/form/inputs/RichText/index.vue +1 -1
- package/src/components/form/inputs/Upload/UploadInput.vue +12 -7
- package/dist/common-C_IH8b5S.cjs +0 -12580
- package/dist/common-DoeNgx31.js +0 -12579
- package/dist/components/AddressSaerch.vue.d.ts +0 -7
- package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
- package/dist/components/Popover.vue.d.ts +0 -10
- package/dist/components/Popover.vue.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts +0 -14
- package/dist/components/form/inputs/RichText/Toolbar.vue.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/formatting.d.ts +0 -11
- package/dist/components/form/inputs/RichText/formatting.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText/richtext-types.d.ts +0 -3
- package/dist/components/form/inputs/RichText/richtext-types.d.ts.map +0 -1
- package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts +0 -86
- package/dist/components/form/inputs/Upload/UploadFile.vue.d.ts.map +0 -1
- package/dist/components/sortable/Animation.d.ts +0 -43
- package/dist/components/sortable/Animation.d.ts.map +0 -1
- package/dist/components/sortable/BrowserInfo.d.ts +0 -7
- package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
- package/dist/components/sortable/EventDispatcher.d.ts +0 -13
- package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
- package/dist/components/sortable/PluginManager.d.ts +0 -27
- package/dist/components/sortable/PluginManager.d.ts.map +0 -1
- package/dist/components/sortable/Sortable.d.ts +0 -81
- package/dist/components/sortable/Sortable.d.ts.map +0 -1
- package/dist/components/sortable/index.d.ts +0 -5
- package/dist/components/sortable/index.d.ts.map +0 -1
- package/dist/components/sortable/utils.d.ts +0 -49
- package/dist/components/sortable/utils.d.ts.map +0 -1
- package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
- package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/editor-CUDRLdmS.js +0 -4
- package/dist/editor-Cu374vEW.cjs +0 -4
- package/dist/editor-a8DSbb6P.js +0 -4
- package/dist/editor-xBt_vIha.cjs +0 -4
- package/dist/heic2any-8wMqMfB_.js +0 -933
- package/dist/heic2any-BrqcNzfV.js +0 -935
- package/dist/heic2any-C8KwH72N.cjs +0 -934
- package/dist/heic2any-k9wDCKka.cjs +0 -932
- package/dist/index-DiG-xM9T.cjs +0 -35016
- package/dist/index-nGuSAiY2.js +0 -35017
- package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/index.d.ts +0 -5
- package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
- package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
- package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
- package/dist/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var __defProp2 = Object.defineProperty;
|
|
2
|
+
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, resolveComponent, onMounted, onUnmounted, nextTick, mergeModels, useModel, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, useCssVars, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, h as h$2, onBeforeUnmount, vModelText, toRef, createSlots, Teleport, render as render$e, onBeforeUpdate, vShow, vModelRadio, TransitionGroup, vModelDynamic, markRaw } from "vue";
|
|
5
5
|
import { RouterLink } from "vue-router";
|
|
6
6
|
const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -61,7 +61,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
});
|
|
62
62
|
const _hoisted_1$X = ["aria-expanded", "aria-controls"];
|
|
63
63
|
const _hoisted_2$E = { class: "accordion-label" };
|
|
64
|
-
const _hoisted_3$
|
|
64
|
+
const _hoisted_3$v = ["id", "aria-hidden"];
|
|
65
65
|
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
66
66
|
__name: "AccordionItem",
|
|
67
67
|
props: {
|
|
@@ -146,7 +146,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
147
147
|
}, [
|
|
148
148
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
149
|
-
], 8, _hoisted_3$
|
|
149
|
+
], 8, _hoisted_3$v)) : createCommentVNode("", true)
|
|
150
150
|
]),
|
|
151
151
|
_: 3
|
|
152
152
|
})
|
|
@@ -576,7 +576,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
576
576
|
});
|
|
577
577
|
const _hoisted_1$R = ["src"];
|
|
578
578
|
const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
579
|
-
const _hoisted_3$
|
|
579
|
+
const _hoisted_3$u = ["src", "type"];
|
|
580
580
|
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
581
581
|
__name: "BglVideo",
|
|
582
582
|
props: {
|
|
@@ -668,7 +668,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
668
668
|
createElementVNode("source", {
|
|
669
669
|
src: _ctx.src,
|
|
670
670
|
type: `video/${videoFormat.value}`
|
|
671
|
-
}, null, 8, _hoisted_3$
|
|
671
|
+
}, null, 8, _hoisted_3$u)
|
|
672
672
|
], 12, _hoisted_2$C)) : createCommentVNode("", true)
|
|
673
673
|
], 2);
|
|
674
674
|
};
|
|
@@ -723,7 +723,7 @@ const _hoisted_2$B = {
|
|
|
723
723
|
key: 0,
|
|
724
724
|
class: "dots"
|
|
725
725
|
};
|
|
726
|
-
const _hoisted_3$
|
|
726
|
+
const _hoisted_3$t = ["onClick"];
|
|
727
727
|
const _hoisted_4$j = { class: "Handlers" };
|
|
728
728
|
const GAP_PERCENT = 1;
|
|
729
729
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
@@ -1153,7 +1153,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
1153
1153
|
key: i2,
|
|
1154
1154
|
class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
1155
1155
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
1156
|
-
}, null, 10, _hoisted_3$
|
|
1156
|
+
}, null, 10, _hoisted_3$t);
|
|
1157
1157
|
}), 128))
|
|
1158
1158
|
])) : createCommentVNode("", true),
|
|
1159
1159
|
createElementVNode("div", _hoisted_4$j, [
|
|
@@ -7008,7 +7008,7 @@ const _hoisted_1$1$1 = {
|
|
|
7008
7008
|
style: { display: "flex", position: "relative" }
|
|
7009
7009
|
};
|
|
7010
7010
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7011
|
-
const _hoisted_3$
|
|
7011
|
+
const _hoisted_3$s = { class: "layer-rectangles" };
|
|
7012
7012
|
const _hoisted_4$i = ["transform", "onMouseover"];
|
|
7013
7013
|
const _hoisted_5$h = ["width", "height"];
|
|
7014
7014
|
const _hoisted_6$e = {
|
|
@@ -7026,7 +7026,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7026
7026
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
7027
7027
|
ref: "el"
|
|
7028
7028
|
}, [
|
|
7029
|
-
createElementVNode("g", _hoisted_3$
|
|
7029
|
+
createElementVNode("g", _hoisted_3$s, [
|
|
7030
7030
|
(openBlock(true), createElementBlock(
|
|
7031
7031
|
Fragment,
|
|
7032
7032
|
null,
|
|
@@ -7284,7 +7284,7 @@ const _hoisted_2$z = {
|
|
|
7284
7284
|
key: 0,
|
|
7285
7285
|
class: "data-row m_py-05"
|
|
7286
7286
|
};
|
|
7287
|
-
const _hoisted_3$
|
|
7287
|
+
const _hoisted_3$r = { class: "key" };
|
|
7288
7288
|
const _hoisted_4$h = { class: "m-0" };
|
|
7289
7289
|
const _hoisted_5$g = { key: 1 };
|
|
7290
7290
|
const _hoisted_6$d = {
|
|
@@ -7343,7 +7343,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7343
7343
|
key: field.id
|
|
7344
7344
|
}, [
|
|
7345
7345
|
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
|
|
7346
|
-
createElementVNode("div", _hoisted_3$
|
|
7346
|
+
createElementVNode("div", _hoisted_3$r, [
|
|
7347
7347
|
createElementVNode("p", _hoisted_4$h, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
7348
7348
|
]),
|
|
7349
7349
|
createVNode(unref(_sfc_main$Q), {
|
|
@@ -8079,7 +8079,7 @@ const _hoisted_1$M = {
|
|
|
8079
8079
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
8080
8080
|
};
|
|
8081
8081
|
const _hoisted_2$y = { class: "infinite-wrapper" };
|
|
8082
|
-
const _hoisted_3$
|
|
8082
|
+
const _hoisted_3$q = { class: "row first-row" };
|
|
8083
8083
|
const _hoisted_4$g = { key: 0 };
|
|
8084
8084
|
const _hoisted_5$f = ["onClick"];
|
|
8085
8085
|
const _hoisted_6$c = { class: "flex" };
|
|
@@ -8199,7 +8199,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
8199
8199
|
createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
8200
8200
|
]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
|
|
8201
8201
|
createElementVNode("table", _hoisted_2$y, [
|
|
8202
|
-
createElementVNode("thead", _hoisted_3$
|
|
8202
|
+
createElementVNode("thead", _hoisted_3$q, [
|
|
8203
8203
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$g, [
|
|
8204
8204
|
createElementVNode("input", {
|
|
8205
8205
|
ref_key: "allSelectorEl",
|
|
@@ -11377,8 +11377,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
11377
11377
|
const _hoisted_1$I = { class: "label mb-05" };
|
|
11378
11378
|
const _hoisted_2$w = {
|
|
11379
11379
|
key: 0,
|
|
11380
|
-
class: "
|
|
11380
|
+
class: "ps-025 border-start"
|
|
11381
11381
|
};
|
|
11382
|
+
const _hoisted_3$p = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
11382
11383
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
11383
11384
|
__name: "FieldArray",
|
|
11384
11385
|
props: {
|
|
@@ -11443,22 +11444,23 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
11443
11444
|
key: i2,
|
|
11444
11445
|
outline: "",
|
|
11445
11446
|
thin: "",
|
|
11446
|
-
class: "mb-05 itemBox transition
|
|
11447
|
+
class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
|
|
11447
11448
|
}, [
|
|
11448
11449
|
createVNode(unref(_sfc_main$S), {
|
|
11449
11450
|
modelValue: data2.value[i2],
|
|
11450
11451
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
11451
11452
|
schema: _ctx.schema
|
|
11452
11453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11454
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
11455
|
+
props2.delete ? (openBlock(), createBlock(unref(Btn), {
|
|
11456
|
+
key: 0,
|
|
11457
|
+
icon: "delete",
|
|
11458
|
+
class: "txt10 opacity-7",
|
|
11459
|
+
thin: "",
|
|
11460
|
+
flat: "",
|
|
11461
|
+
onClick: ($event) => deleteItem(i2)
|
|
11462
|
+
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
11463
|
+
])
|
|
11462
11464
|
]);
|
|
11463
11465
|
}), 128)),
|
|
11464
11466
|
_ctx.add ? (openBlock(), createBlock(unref(Btn), {
|
|
@@ -11470,7 +11472,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
11470
11472
|
onClick: addItem
|
|
11471
11473
|
}, {
|
|
11472
11474
|
default: withCtx(() => [
|
|
11473
|
-
createElementVNode("p", null,
|
|
11475
|
+
createElementVNode("p", null, toDisplayString(_ctx.label), 1)
|
|
11474
11476
|
]),
|
|
11475
11477
|
_: 1
|
|
11476
11478
|
})) : createCommentVNode("", true)
|
|
@@ -13481,7 +13483,7 @@ function transpose(fromDate, constructor) {
|
|
|
13481
13483
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13482
13484
|
class Setter {
|
|
13483
13485
|
constructor() {
|
|
13484
|
-
|
|
13486
|
+
__publicField2(this, "subPriority", 0);
|
|
13485
13487
|
}
|
|
13486
13488
|
validate(_utcDate, _options) {
|
|
13487
13489
|
return true;
|
|
@@ -13508,8 +13510,8 @@ class ValueSetter extends Setter {
|
|
|
13508
13510
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13509
13511
|
constructor() {
|
|
13510
13512
|
super(...arguments);
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
+
__publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13514
|
+
__publicField2(this, "subPriority", -1);
|
|
13513
13515
|
}
|
|
13514
13516
|
set(date2, flags) {
|
|
13515
13517
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13540,8 +13542,8 @@ class Parser {
|
|
|
13540
13542
|
class EraParser extends Parser {
|
|
13541
13543
|
constructor() {
|
|
13542
13544
|
super(...arguments);
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
+
__publicField2(this, "priority", 140);
|
|
13546
|
+
__publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13545
13547
|
}
|
|
13546
13548
|
parse(dateString, token, match2) {
|
|
13547
13549
|
switch (token) {
|
|
@@ -13719,8 +13721,8 @@ function isLeapYearIndex(year) {
|
|
|
13719
13721
|
class YearParser extends Parser {
|
|
13720
13722
|
constructor() {
|
|
13721
13723
|
super(...arguments);
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
+
__publicField2(this, "priority", 130);
|
|
13725
|
+
__publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
13724
13726
|
}
|
|
13725
13727
|
parse(dateString, token, match2) {
|
|
13726
13728
|
const valueCallback = (year) => ({
|
|
@@ -13764,8 +13766,8 @@ class YearParser extends Parser {
|
|
|
13764
13766
|
class LocalWeekYearParser extends Parser {
|
|
13765
13767
|
constructor() {
|
|
13766
13768
|
super(...arguments);
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
+
__publicField2(this, "priority", 130);
|
|
13770
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13769
13771
|
"y",
|
|
13770
13772
|
"R",
|
|
13771
13773
|
"u",
|
|
@@ -13827,8 +13829,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
13827
13829
|
class ISOWeekYearParser extends Parser {
|
|
13828
13830
|
constructor() {
|
|
13829
13831
|
super(...arguments);
|
|
13830
|
-
|
|
13831
|
-
|
|
13832
|
+
__publicField2(this, "priority", 130);
|
|
13833
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13832
13834
|
"G",
|
|
13833
13835
|
"y",
|
|
13834
13836
|
"Y",
|
|
@@ -13862,8 +13864,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
13862
13864
|
class ExtendedYearParser extends Parser {
|
|
13863
13865
|
constructor() {
|
|
13864
13866
|
super(...arguments);
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
+
__publicField2(this, "priority", 130);
|
|
13868
|
+
__publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
13867
13869
|
}
|
|
13868
13870
|
parse(dateString, token) {
|
|
13869
13871
|
if (token === "u") {
|
|
@@ -13880,8 +13882,8 @@ class ExtendedYearParser extends Parser {
|
|
|
13880
13882
|
class QuarterParser extends Parser {
|
|
13881
13883
|
constructor() {
|
|
13882
13884
|
super(...arguments);
|
|
13883
|
-
|
|
13884
|
-
|
|
13885
|
+
__publicField2(this, "priority", 120);
|
|
13886
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13885
13887
|
"Y",
|
|
13886
13888
|
"R",
|
|
13887
13889
|
"q",
|
|
@@ -13949,8 +13951,8 @@ class QuarterParser extends Parser {
|
|
|
13949
13951
|
class StandAloneQuarterParser extends Parser {
|
|
13950
13952
|
constructor() {
|
|
13951
13953
|
super(...arguments);
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
|
+
__publicField2(this, "priority", 120);
|
|
13955
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13954
13956
|
"Y",
|
|
13955
13957
|
"R",
|
|
13956
13958
|
"Q",
|
|
@@ -14018,7 +14020,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14018
14020
|
class MonthParser extends Parser {
|
|
14019
14021
|
constructor() {
|
|
14020
14022
|
super(...arguments);
|
|
14021
|
-
|
|
14023
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14022
14024
|
"Y",
|
|
14023
14025
|
"R",
|
|
14024
14026
|
"q",
|
|
@@ -14033,7 +14035,7 @@ class MonthParser extends Parser {
|
|
|
14033
14035
|
"t",
|
|
14034
14036
|
"T"
|
|
14035
14037
|
]);
|
|
14036
|
-
|
|
14038
|
+
__publicField2(this, "priority", 110);
|
|
14037
14039
|
}
|
|
14038
14040
|
parse(dateString, token, match2) {
|
|
14039
14041
|
const valueCallback = (value) => value - 1;
|
|
@@ -14088,8 +14090,8 @@ class MonthParser extends Parser {
|
|
|
14088
14090
|
class StandAloneMonthParser extends Parser {
|
|
14089
14091
|
constructor() {
|
|
14090
14092
|
super(...arguments);
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
+
__publicField2(this, "priority", 110);
|
|
14094
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14093
14095
|
"Y",
|
|
14094
14096
|
"R",
|
|
14095
14097
|
"q",
|
|
@@ -14164,8 +14166,8 @@ function setWeek(date2, week, options) {
|
|
|
14164
14166
|
class LocalWeekParser extends Parser {
|
|
14165
14167
|
constructor() {
|
|
14166
14168
|
super(...arguments);
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
+
__publicField2(this, "priority", 100);
|
|
14170
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14169
14171
|
"y",
|
|
14170
14172
|
"R",
|
|
14171
14173
|
"u",
|
|
@@ -14207,8 +14209,8 @@ function setISOWeek(date2, week) {
|
|
|
14207
14209
|
class ISOWeekParser extends Parser {
|
|
14208
14210
|
constructor() {
|
|
14209
14211
|
super(...arguments);
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
+
__publicField2(this, "priority", 100);
|
|
14213
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14212
14214
|
"y",
|
|
14213
14215
|
"Y",
|
|
14214
14216
|
"u",
|
|
@@ -14260,9 +14262,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14260
14262
|
class DateParser extends Parser {
|
|
14261
14263
|
constructor() {
|
|
14262
14264
|
super(...arguments);
|
|
14263
|
-
|
|
14264
|
-
|
|
14265
|
-
|
|
14265
|
+
__publicField2(this, "priority", 90);
|
|
14266
|
+
__publicField2(this, "subPriority", 1);
|
|
14267
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14266
14268
|
"Y",
|
|
14267
14269
|
"R",
|
|
14268
14270
|
"q",
|
|
@@ -14306,9 +14308,9 @@ class DateParser extends Parser {
|
|
|
14306
14308
|
class DayOfYearParser extends Parser {
|
|
14307
14309
|
constructor() {
|
|
14308
14310
|
super(...arguments);
|
|
14309
|
-
|
|
14310
|
-
|
|
14311
|
-
|
|
14311
|
+
__publicField2(this, "priority", 90);
|
|
14312
|
+
__publicField2(this, "subpriority", 1);
|
|
14313
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14312
14314
|
"Y",
|
|
14313
14315
|
"R",
|
|
14314
14316
|
"q",
|
|
@@ -14367,8 +14369,8 @@ function setDay(date2, day, options) {
|
|
|
14367
14369
|
class DayParser extends Parser {
|
|
14368
14370
|
constructor() {
|
|
14369
14371
|
super(...arguments);
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
+
__publicField2(this, "priority", 90);
|
|
14373
|
+
__publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14372
14374
|
}
|
|
14373
14375
|
parse(dateString, token, match2) {
|
|
14374
14376
|
switch (token) {
|
|
@@ -14410,8 +14412,8 @@ class DayParser extends Parser {
|
|
|
14410
14412
|
class LocalDayParser extends Parser {
|
|
14411
14413
|
constructor() {
|
|
14412
14414
|
super(...arguments);
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
+
__publicField2(this, "priority", 90);
|
|
14416
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14415
14417
|
"y",
|
|
14416
14418
|
"R",
|
|
14417
14419
|
"u",
|
|
@@ -14483,8 +14485,8 @@ class LocalDayParser extends Parser {
|
|
|
14483
14485
|
class StandAloneLocalDayParser extends Parser {
|
|
14484
14486
|
constructor() {
|
|
14485
14487
|
super(...arguments);
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
+
__publicField2(this, "priority", 90);
|
|
14489
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14488
14490
|
"y",
|
|
14489
14491
|
"R",
|
|
14490
14492
|
"u",
|
|
@@ -14562,8 +14564,8 @@ function setISODay(date2, day) {
|
|
|
14562
14564
|
class ISODayParser extends Parser {
|
|
14563
14565
|
constructor() {
|
|
14564
14566
|
super(...arguments);
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
+
__publicField2(this, "priority", 90);
|
|
14568
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14567
14569
|
"y",
|
|
14568
14570
|
"Y",
|
|
14569
14571
|
"u",
|
|
@@ -14665,8 +14667,8 @@ class ISODayParser extends Parser {
|
|
|
14665
14667
|
class AMPMParser extends Parser {
|
|
14666
14668
|
constructor() {
|
|
14667
14669
|
super(...arguments);
|
|
14668
|
-
|
|
14669
|
-
|
|
14670
|
+
__publicField2(this, "priority", 80);
|
|
14671
|
+
__publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14670
14672
|
}
|
|
14671
14673
|
parse(dateString, token, match2) {
|
|
14672
14674
|
switch (token) {
|
|
@@ -14707,8 +14709,8 @@ class AMPMParser extends Parser {
|
|
|
14707
14709
|
class AMPMMidnightParser extends Parser {
|
|
14708
14710
|
constructor() {
|
|
14709
14711
|
super(...arguments);
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
+
__publicField2(this, "priority", 80);
|
|
14713
|
+
__publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
14712
14714
|
}
|
|
14713
14715
|
parse(dateString, token, match2) {
|
|
14714
14716
|
switch (token) {
|
|
@@ -14749,8 +14751,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
14749
14751
|
class DayPeriodParser extends Parser {
|
|
14750
14752
|
constructor() {
|
|
14751
14753
|
super(...arguments);
|
|
14752
|
-
|
|
14753
|
-
|
|
14754
|
+
__publicField2(this, "priority", 80);
|
|
14755
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
14754
14756
|
}
|
|
14755
14757
|
parse(dateString, token, match2) {
|
|
14756
14758
|
switch (token) {
|
|
@@ -14791,8 +14793,8 @@ class DayPeriodParser extends Parser {
|
|
|
14791
14793
|
class Hour1to12Parser extends Parser {
|
|
14792
14794
|
constructor() {
|
|
14793
14795
|
super(...arguments);
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
+
__publicField2(this, "priority", 70);
|
|
14797
|
+
__publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
14796
14798
|
}
|
|
14797
14799
|
parse(dateString, token, match2) {
|
|
14798
14800
|
switch (token) {
|
|
@@ -14822,8 +14824,8 @@ class Hour1to12Parser extends Parser {
|
|
|
14822
14824
|
class Hour0to23Parser extends Parser {
|
|
14823
14825
|
constructor() {
|
|
14824
14826
|
super(...arguments);
|
|
14825
|
-
|
|
14826
|
-
|
|
14827
|
+
__publicField2(this, "priority", 70);
|
|
14828
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
14827
14829
|
}
|
|
14828
14830
|
parse(dateString, token, match2) {
|
|
14829
14831
|
switch (token) {
|
|
@@ -14846,8 +14848,8 @@ class Hour0to23Parser extends Parser {
|
|
|
14846
14848
|
class Hour0To11Parser extends Parser {
|
|
14847
14849
|
constructor() {
|
|
14848
14850
|
super(...arguments);
|
|
14849
|
-
|
|
14850
|
-
|
|
14851
|
+
__publicField2(this, "priority", 70);
|
|
14852
|
+
__publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
14851
14853
|
}
|
|
14852
14854
|
parse(dateString, token, match2) {
|
|
14853
14855
|
switch (token) {
|
|
@@ -14875,8 +14877,8 @@ class Hour0To11Parser extends Parser {
|
|
|
14875
14877
|
class Hour1To24Parser extends Parser {
|
|
14876
14878
|
constructor() {
|
|
14877
14879
|
super(...arguments);
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
+
__publicField2(this, "priority", 70);
|
|
14881
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
14880
14882
|
}
|
|
14881
14883
|
parse(dateString, token, match2) {
|
|
14882
14884
|
switch (token) {
|
|
@@ -14900,8 +14902,8 @@ class Hour1To24Parser extends Parser {
|
|
|
14900
14902
|
class MinuteParser extends Parser {
|
|
14901
14903
|
constructor() {
|
|
14902
14904
|
super(...arguments);
|
|
14903
|
-
|
|
14904
|
-
|
|
14905
|
+
__publicField2(this, "priority", 60);
|
|
14906
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14905
14907
|
}
|
|
14906
14908
|
parse(dateString, token, match2) {
|
|
14907
14909
|
switch (token) {
|
|
@@ -14924,8 +14926,8 @@ class MinuteParser extends Parser {
|
|
|
14924
14926
|
class SecondParser extends Parser {
|
|
14925
14927
|
constructor() {
|
|
14926
14928
|
super(...arguments);
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
+
__publicField2(this, "priority", 50);
|
|
14930
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14929
14931
|
}
|
|
14930
14932
|
parse(dateString, token, match2) {
|
|
14931
14933
|
switch (token) {
|
|
@@ -14948,8 +14950,8 @@ class SecondParser extends Parser {
|
|
|
14948
14950
|
class FractionOfSecondParser extends Parser {
|
|
14949
14951
|
constructor() {
|
|
14950
14952
|
super(...arguments);
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
+
__publicField2(this, "priority", 30);
|
|
14954
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14953
14955
|
}
|
|
14954
14956
|
parse(dateString, token) {
|
|
14955
14957
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -14963,8 +14965,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
14963
14965
|
class ISOTimezoneWithZParser extends Parser {
|
|
14964
14966
|
constructor() {
|
|
14965
14967
|
super(...arguments);
|
|
14966
|
-
|
|
14967
|
-
|
|
14968
|
+
__publicField2(this, "priority", 10);
|
|
14969
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
14968
14970
|
}
|
|
14969
14971
|
parse(dateString, token) {
|
|
14970
14972
|
switch (token) {
|
|
@@ -15001,8 +15003,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15001
15003
|
class ISOTimezoneParser extends Parser {
|
|
15002
15004
|
constructor() {
|
|
15003
15005
|
super(...arguments);
|
|
15004
|
-
|
|
15005
|
-
|
|
15006
|
+
__publicField2(this, "priority", 10);
|
|
15007
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15006
15008
|
}
|
|
15007
15009
|
parse(dateString, token) {
|
|
15008
15010
|
switch (token) {
|
|
@@ -15039,8 +15041,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15039
15041
|
class TimestampSecondsParser extends Parser {
|
|
15040
15042
|
constructor() {
|
|
15041
15043
|
super(...arguments);
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
+
__publicField2(this, "priority", 40);
|
|
15045
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15044
15046
|
}
|
|
15045
15047
|
parse(dateString) {
|
|
15046
15048
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15052,8 +15054,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15052
15054
|
class TimestampMillisecondsParser extends Parser {
|
|
15053
15055
|
constructor() {
|
|
15054
15056
|
super(...arguments);
|
|
15055
|
-
|
|
15056
|
-
|
|
15057
|
+
__publicField2(this, "priority", 20);
|
|
15058
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15057
15059
|
}
|
|
15058
15060
|
parse(dateString) {
|
|
15059
15061
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -20385,7 +20387,7 @@ const _hoisted_15$2 = {
|
|
|
20385
20387
|
class: "year-grid grid gap-05 p-0"
|
|
20386
20388
|
};
|
|
20387
20389
|
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
20388
|
-
const _hoisted_17 = {
|
|
20390
|
+
const _hoisted_17$2 = {
|
|
20389
20391
|
key: 0,
|
|
20390
20392
|
class: "time-picker flex column gap-1 w-120px"
|
|
20391
20393
|
};
|
|
@@ -20673,7 +20675,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
20673
20675
|
}), 128))
|
|
20674
20676
|
]))
|
|
20675
20677
|
]),
|
|
20676
|
-
_ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
20678
|
+
_ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
|
|
20677
20679
|
createElementVNode("div", _hoisted_18, [
|
|
20678
20680
|
createVNode(unref(NumberInput), {
|
|
20679
20681
|
center: "",
|
|
@@ -20821,7 +20823,7 @@ const _hoisted_2$p = {
|
|
|
20821
20823
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
20822
20824
|
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
20823
20825
|
const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
20824
|
-
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black
|
|
20826
|
+
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
20825
20827
|
const _hoisted_7$6 = {
|
|
20826
20828
|
key: 1,
|
|
20827
20829
|
class: "txt-gray txt-12"
|
|
@@ -20850,6 +20852,7 @@ const _hoisted_15$1 = {
|
|
|
20850
20852
|
class: "progress"
|
|
20851
20853
|
};
|
|
20852
20854
|
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
20855
|
+
const _hoisted_17$1 = { class: "pretty balance" };
|
|
20853
20856
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20854
20857
|
__name: "FileUpload",
|
|
20855
20858
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -20866,7 +20869,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20866
20869
|
theme: { default: "dropzone" },
|
|
20867
20870
|
accept: { default: "*" },
|
|
20868
20871
|
required: { type: Boolean },
|
|
20869
|
-
disabled: { type: Boolean }
|
|
20872
|
+
disabled: { type: Boolean },
|
|
20873
|
+
dropPlaceholder: {},
|
|
20874
|
+
noFilePlaceholder: {},
|
|
20875
|
+
btnPlaceholder: {}
|
|
20870
20876
|
}, {
|
|
20871
20877
|
"modelValue": {
|
|
20872
20878
|
default: () => []
|
|
@@ -21038,13 +21044,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21038
21044
|
class: "px-1-5",
|
|
21039
21045
|
icon: "upload",
|
|
21040
21046
|
outline: "",
|
|
21047
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
21041
21048
|
onClick: browse
|
|
21042
|
-
},
|
|
21043
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
21044
|
-
createTextVNode(" Upload ")
|
|
21045
|
-
])),
|
|
21046
|
-
_: 1
|
|
21047
|
-
})) : createCommentVNode("", true),
|
|
21049
|
+
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
21048
21050
|
(openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
|
|
21049
21051
|
return openBlock(), createElementBlock("div", {
|
|
21050
21052
|
key: file.id,
|
|
@@ -21105,7 +21107,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21105
21107
|
])
|
|
21106
21108
|
]);
|
|
21107
21109
|
}), 128)),
|
|
21108
|
-
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$6, "
|
|
21110
|
+
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$6, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
|
|
21109
21111
|
]),
|
|
21110
21112
|
_: 1
|
|
21111
21113
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -21275,7 +21277,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21275
21277
|
}, () => [
|
|
21276
21278
|
createElementVNode("p", _hoisted_16$1, [
|
|
21277
21279
|
createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
|
|
21278
|
-
|
|
21280
|
+
createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
21279
21281
|
])
|
|
21280
21282
|
], true) : createCommentVNode("", true)
|
|
21281
21283
|
], 38))
|
|
@@ -21283,7 +21285,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21283
21285
|
};
|
|
21284
21286
|
}
|
|
21285
21287
|
});
|
|
21286
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
21288
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9939a5fb"]]);
|
|
21287
21289
|
const _hoisted_1$z = ["title"];
|
|
21288
21290
|
const _hoisted_2$o = { key: 0 };
|
|
21289
21291
|
const _hoisted_3$j = ["value", "placeholder"];
|
|
@@ -21400,7 +21402,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21400
21402
|
}])
|
|
21401
21403
|
}, [
|
|
21402
21404
|
createElementVNode("div", { for: _ctx.id }, [
|
|
21403
|
-
|
|
21405
|
+
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
21404
21406
|
createElementVNode("div", {
|
|
21405
21407
|
class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
21406
21408
|
}, [
|
|
@@ -21492,7 +21494,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21492
21494
|
};
|
|
21493
21495
|
}
|
|
21494
21496
|
});
|
|
21495
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
21497
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8ae5f930"]]);
|
|
21496
21498
|
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21497
21499
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
21498
21500
|
__name: "OTP",
|
|
@@ -23201,7 +23203,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23201
23203
|
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
23202
23204
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
23203
23205
|
createElementVNode("div", {
|
|
23204
|
-
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075
|
|
23206
|
+
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
23205
23207
|
}, [
|
|
23206
23208
|
unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
|
|
23207
23209
|
key: 0,
|
|
@@ -23276,7 +23278,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23276
23278
|
};
|
|
23277
23279
|
}
|
|
23278
23280
|
});
|
|
23279
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
23281
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-08117333"]]);
|
|
23280
23282
|
const _hoisted_1$p = { class: "flex gap-05" };
|
|
23281
23283
|
const _hoisted_2$g = ["disabled"];
|
|
23282
23284
|
const _hoisted_3$c = { key: 1 };
|
|
@@ -32029,7 +32031,7 @@ const _hoisted_3$7 = {
|
|
|
32029
32031
|
};
|
|
32030
32032
|
const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
|
|
32031
32033
|
const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
32032
|
-
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black
|
|
32034
|
+
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
32033
32035
|
const _hoisted_7$2 = {
|
|
32034
32036
|
key: 1,
|
|
32035
32037
|
class: "txt-gray txt-12"
|
|
@@ -32058,6 +32060,7 @@ const _hoisted_15 = {
|
|
|
32058
32060
|
class: "progress"
|
|
32059
32061
|
};
|
|
32060
32062
|
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
32063
|
+
const _hoisted_17 = { class: "pretty balance" };
|
|
32061
32064
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
32062
32065
|
__name: "UploadInput",
|
|
32063
32066
|
props: {
|
|
@@ -32073,7 +32076,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32073
32076
|
accept: { default: "*" },
|
|
32074
32077
|
required: { type: Boolean },
|
|
32075
32078
|
disabled: { type: Boolean },
|
|
32076
|
-
baseURL: {}
|
|
32079
|
+
baseURL: {},
|
|
32080
|
+
dropPlaceholder: {},
|
|
32081
|
+
noFilePlaceholder: {},
|
|
32082
|
+
btnPlaceholder: {}
|
|
32077
32083
|
},
|
|
32078
32084
|
emits: ["update:modelValue", "addFileStart"],
|
|
32079
32085
|
setup(__props, { emit: __emit }) {
|
|
@@ -32182,13 +32188,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32182
32188
|
class: "px-1-5",
|
|
32183
32189
|
icon: "upload",
|
|
32184
32190
|
outline: "",
|
|
32191
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
32185
32192
|
onClick: browse
|
|
32186
|
-
},
|
|
32187
|
-
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
32188
|
-
createTextVNode(" Upload ")
|
|
32189
|
-
])),
|
|
32190
|
-
_: 1
|
|
32191
|
-
})) : createCommentVNode("", true),
|
|
32193
|
+
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
32192
32194
|
(openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
|
|
32193
32195
|
return openBlock(), createElementBlock("div", {
|
|
32194
32196
|
key: path_key,
|
|
@@ -32232,7 +32234,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32232
32234
|
])
|
|
32233
32235
|
]);
|
|
32234
32236
|
}), 128)),
|
|
32235
|
-
!pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$2, "
|
|
32237
|
+
!pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
|
|
32236
32238
|
]),
|
|
32237
32239
|
_: 1
|
|
32238
32240
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -32394,7 +32396,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32394
32396
|
}, () => [
|
|
32395
32397
|
createElementVNode("p", _hoisted_16, [
|
|
32396
32398
|
createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
|
|
32397
|
-
|
|
32399
|
+
createElementVNode("span", _hoisted_17, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
32398
32400
|
])
|
|
32399
32401
|
], true) : createCommentVNode("", true)
|
|
32400
32402
|
], 38))
|
|
@@ -32402,7 +32404,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32402
32404
|
};
|
|
32403
32405
|
}
|
|
32404
32406
|
});
|
|
32405
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
32407
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d65d0a87"]]);
|
|
32406
32408
|
const FONT_AWESOME_ICONS = [
|
|
32407
32409
|
"trash-can",
|
|
32408
32410
|
"message",
|
|
@@ -38220,39 +38222,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38220
38222
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38221
38223
|
class TapDetector {
|
|
38222
38224
|
constructor() {
|
|
38223
|
-
|
|
38224
|
-
|
|
38225
|
-
|
|
38226
|
-
|
|
38227
|
-
|
|
38228
|
-
|
|
38229
|
-
|
|
38230
|
-
|
|
38231
|
-
|
|
38225
|
+
__publicField2(this, "singleTapCallbacks", []);
|
|
38226
|
+
__publicField2(this, "doubleTapCallbacks", []);
|
|
38227
|
+
__publicField2(this, "isTouchMode", false);
|
|
38228
|
+
__publicField2(this, "lastTapTimestamp", 0);
|
|
38229
|
+
__publicField2(this, "tappedCount", 0);
|
|
38230
|
+
__publicField2(this, "touchMovedLength", 0);
|
|
38231
|
+
__publicField2(this, "lastPointerX", 0);
|
|
38232
|
+
__publicField2(this, "lastPointerY", 0);
|
|
38233
|
+
__publicField2(this, "onTouchStart", (event) => {
|
|
38232
38234
|
this.isTouchMode = true;
|
|
38233
38235
|
if (event.touches.length === 1) {
|
|
38234
38236
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38235
38237
|
}
|
|
38236
38238
|
});
|
|
38237
|
-
|
|
38239
|
+
__publicField2(this, "onTouchMove", (event) => {
|
|
38238
38240
|
if (event.touches.length === 1) {
|
|
38239
38241
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38240
38242
|
}
|
|
38241
38243
|
});
|
|
38242
|
-
|
|
38244
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38243
38245
|
if (this.isTouchMode) this.onPointerUp();
|
|
38244
38246
|
});
|
|
38245
|
-
|
|
38247
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38246
38248
|
if (!this.isTouchMode) {
|
|
38247
38249
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38248
38250
|
}
|
|
38249
38251
|
});
|
|
38250
|
-
|
|
38252
|
+
__publicField2(this, "onMouseMove", (event) => {
|
|
38251
38253
|
if (!this.isTouchMode && event.button === 0) {
|
|
38252
38254
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38253
38255
|
}
|
|
38254
38256
|
});
|
|
38255
|
-
|
|
38257
|
+
__publicField2(this, "onMouseUp", () => {
|
|
38256
38258
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38257
38259
|
});
|
|
38258
38260
|
}
|
|
@@ -38664,6 +38666,12 @@ function localRef(key, initialValue) {
|
|
|
38664
38666
|
return value;
|
|
38665
38667
|
}
|
|
38666
38668
|
const useLocalStorage = localRef;
|
|
38669
|
+
var __defProp = Object.defineProperty;
|
|
38670
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
38671
|
+
var __publicField = (obj, key, value) => {
|
|
38672
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
38673
|
+
return value;
|
|
38674
|
+
};
|
|
38667
38675
|
const axios = axios$1.create({
|
|
38668
38676
|
withCredentials: true
|
|
38669
38677
|
});
|
|
@@ -38678,7 +38686,8 @@ class DataRequest {
|
|
|
38678
38686
|
this.itemID = "";
|
|
38679
38687
|
}
|
|
38680
38688
|
async post(item) {
|
|
38681
|
-
if (!this.data_table)
|
|
38689
|
+
if (!this.data_table)
|
|
38690
|
+
throw new Error("Data table not set");
|
|
38682
38691
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
38683
38692
|
return data2;
|
|
38684
38693
|
}
|
|
@@ -38688,7 +38697,8 @@ class DataRequest {
|
|
|
38688
38697
|
}
|
|
38689
38698
|
async get() {
|
|
38690
38699
|
var _a2, _b;
|
|
38691
|
-
if (!this.data_table)
|
|
38700
|
+
if (!this.data_table)
|
|
38701
|
+
throw new Error("Data table not set");
|
|
38692
38702
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
38693
38703
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
38694
38704
|
try {
|
|
@@ -38705,7 +38715,8 @@ class DataRequest {
|
|
|
38705
38715
|
return this;
|
|
38706
38716
|
}
|
|
38707
38717
|
async delete() {
|
|
38708
|
-
if (!this.data_table)
|
|
38718
|
+
if (!this.data_table)
|
|
38719
|
+
throw new Error("Data table not set");
|
|
38709
38720
|
const { data: data2 } = await axios.delete(
|
|
38710
38721
|
`/data/${this.data_table}/${this.itemID}`
|
|
38711
38722
|
);
|
|
@@ -38713,8 +38724,10 @@ class DataRequest {
|
|
|
38713
38724
|
}
|
|
38714
38725
|
async put(updatedItem) {
|
|
38715
38726
|
const { data_table, itemID } = this;
|
|
38716
|
-
if (!data_table)
|
|
38717
|
-
|
|
38727
|
+
if (!data_table)
|
|
38728
|
+
throw new Error("Data table not set");
|
|
38729
|
+
if (!itemID)
|
|
38730
|
+
throw new Error("Item ID not set");
|
|
38718
38731
|
const { data: data2 } = await axios.put(
|
|
38719
38732
|
`/data/${data_table}/${itemID}`,
|
|
38720
38733
|
updatedItem
|
|
@@ -38731,8 +38744,8 @@ function responses(key) {
|
|
|
38731
38744
|
}
|
|
38732
38745
|
class BagelAuth {
|
|
38733
38746
|
constructor(bagel) {
|
|
38734
|
-
__publicField(this, "user");
|
|
38735
38747
|
this.bagel = bagel;
|
|
38748
|
+
__publicField(this, "user");
|
|
38736
38749
|
this.bagel = bagel;
|
|
38737
38750
|
}
|
|
38738
38751
|
async validateUser() {
|
|
@@ -38835,10 +38848,12 @@ class Bagel {
|
|
|
38835
38848
|
async get(endpoint, query) {
|
|
38836
38849
|
this._setAuthorization();
|
|
38837
38850
|
endpoint = this._endpointCleaner(endpoint);
|
|
38838
|
-
if (/undefined|null/.test(endpoint))
|
|
38851
|
+
if (/undefined|null/.test(endpoint))
|
|
38852
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
38839
38853
|
if (query) {
|
|
38840
38854
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
38841
|
-
if (queryParams)
|
|
38855
|
+
if (queryParams)
|
|
38856
|
+
endpoint = `${endpoint}?${queryParams}`;
|
|
38842
38857
|
}
|
|
38843
38858
|
const url = `/${endpoint}`;
|
|
38844
38859
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -38893,7 +38908,8 @@ class Bagel {
|
|
|
38893
38908
|
const formData = new FormData();
|
|
38894
38909
|
formData.append("file", file);
|
|
38895
38910
|
let url = "/static_files/upload";
|
|
38896
|
-
if (options == null ? void 0 : options.topic)
|
|
38911
|
+
if (options == null ? void 0 : options.topic)
|
|
38912
|
+
url = `/static_files/upload?topic=${options.topic}`;
|
|
38897
38913
|
const { data: data2 } = await axios.post(url, formData, {
|
|
38898
38914
|
headers: {
|
|
38899
38915
|
"Content-Type": "multipart/form-data"
|