@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.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
var __defProp2 = Object.defineProperty;
|
|
3
|
+
var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
+
var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
@@ -63,7 +63,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
63
63
|
});
|
|
64
64
|
const _hoisted_1$X = ["aria-expanded", "aria-controls"];
|
|
65
65
|
const _hoisted_2$E = { class: "accordion-label" };
|
|
66
|
-
const _hoisted_3$
|
|
66
|
+
const _hoisted_3$v = ["id", "aria-hidden"];
|
|
67
67
|
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
68
68
|
__name: "AccordionItem",
|
|
69
69
|
props: {
|
|
@@ -148,7 +148,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
148
148
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
149
149
|
}, [
|
|
150
150
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
151
|
-
], 8, _hoisted_3$
|
|
151
|
+
], 8, _hoisted_3$v)) : vue.createCommentVNode("", true)
|
|
152
152
|
]),
|
|
153
153
|
_: 3
|
|
154
154
|
})
|
|
@@ -578,7 +578,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
578
578
|
});
|
|
579
579
|
const _hoisted_1$R = ["src"];
|
|
580
580
|
const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
581
|
-
const _hoisted_3$
|
|
581
|
+
const _hoisted_3$u = ["src", "type"];
|
|
582
582
|
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
583
583
|
__name: "BglVideo",
|
|
584
584
|
props: {
|
|
@@ -670,7 +670,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
670
670
|
vue.createElementVNode("source", {
|
|
671
671
|
src: _ctx.src,
|
|
672
672
|
type: `video/${videoFormat.value}`
|
|
673
|
-
}, null, 8, _hoisted_3$
|
|
673
|
+
}, null, 8, _hoisted_3$u)
|
|
674
674
|
], 12, _hoisted_2$C)) : vue.createCommentVNode("", true)
|
|
675
675
|
], 2);
|
|
676
676
|
};
|
|
@@ -725,7 +725,7 @@ const _hoisted_2$B = {
|
|
|
725
725
|
key: 0,
|
|
726
726
|
class: "dots"
|
|
727
727
|
};
|
|
728
|
-
const _hoisted_3$
|
|
728
|
+
const _hoisted_3$t = ["onClick"];
|
|
729
729
|
const _hoisted_4$j = { class: "Handlers" };
|
|
730
730
|
const GAP_PERCENT = 1;
|
|
731
731
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
@@ -1155,7 +1155,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
1155
1155
|
key: i2,
|
|
1156
1156
|
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
1157
1157
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
1158
|
-
}, null, 10, _hoisted_3$
|
|
1158
|
+
}, null, 10, _hoisted_3$t);
|
|
1159
1159
|
}), 128))
|
|
1160
1160
|
])) : vue.createCommentVNode("", true),
|
|
1161
1161
|
vue.createElementVNode("div", _hoisted_4$j, [
|
|
@@ -7010,7 +7010,7 @@ const _hoisted_1$1$1 = {
|
|
|
7010
7010
|
style: { display: "flex", position: "relative" }
|
|
7011
7011
|
};
|
|
7012
7012
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7013
|
-
const _hoisted_3$
|
|
7013
|
+
const _hoisted_3$s = { class: "layer-rectangles" };
|
|
7014
7014
|
const _hoisted_4$i = ["transform", "onMouseover"];
|
|
7015
7015
|
const _hoisted_5$h = ["width", "height"];
|
|
7016
7016
|
const _hoisted_6$e = {
|
|
@@ -7028,7 +7028,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7028
7028
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
7029
7029
|
ref: "el"
|
|
7030
7030
|
}, [
|
|
7031
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
7031
|
+
vue.createElementVNode("g", _hoisted_3$s, [
|
|
7032
7032
|
(vue.openBlock(true), vue.createElementBlock(
|
|
7033
7033
|
vue.Fragment,
|
|
7034
7034
|
null,
|
|
@@ -7286,7 +7286,7 @@ const _hoisted_2$z = {
|
|
|
7286
7286
|
key: 0,
|
|
7287
7287
|
class: "data-row m_py-05"
|
|
7288
7288
|
};
|
|
7289
|
-
const _hoisted_3$
|
|
7289
|
+
const _hoisted_3$r = { class: "key" };
|
|
7290
7290
|
const _hoisted_4$h = { class: "m-0" };
|
|
7291
7291
|
const _hoisted_5$g = { key: 1 };
|
|
7292
7292
|
const _hoisted_6$d = {
|
|
@@ -7345,7 +7345,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
7345
7345
|
key: field.id
|
|
7346
7346
|
}, [
|
|
7347
7347
|
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
7348
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
7348
|
+
vue.createElementVNode("div", _hoisted_3$r, [
|
|
7349
7349
|
vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
7350
7350
|
]),
|
|
7351
7351
|
vue.createVNode(vue.unref(_sfc_main$Q), {
|
|
@@ -8081,7 +8081,7 @@ const _hoisted_1$M = {
|
|
|
8081
8081
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
8082
8082
|
};
|
|
8083
8083
|
const _hoisted_2$y = { class: "infinite-wrapper" };
|
|
8084
|
-
const _hoisted_3$
|
|
8084
|
+
const _hoisted_3$q = { class: "row first-row" };
|
|
8085
8085
|
const _hoisted_4$g = { key: 0 };
|
|
8086
8086
|
const _hoisted_5$f = ["onClick"];
|
|
8087
8087
|
const _hoisted_6$c = { class: "flex" };
|
|
@@ -8201,7 +8201,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
8201
8201
|
vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
8202
8202
|
]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
8203
8203
|
vue.createElementVNode("table", _hoisted_2$y, [
|
|
8204
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
8204
|
+
vue.createElementVNode("thead", _hoisted_3$q, [
|
|
8205
8205
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, [
|
|
8206
8206
|
vue.createElementVNode("input", {
|
|
8207
8207
|
ref_key: "allSelectorEl",
|
|
@@ -11379,8 +11379,9 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
11379
11379
|
const _hoisted_1$I = { class: "label mb-05" };
|
|
11380
11380
|
const _hoisted_2$w = {
|
|
11381
11381
|
key: 0,
|
|
11382
|
-
class: "
|
|
11382
|
+
class: "ps-025 border-start"
|
|
11383
11383
|
};
|
|
11384
|
+
const _hoisted_3$p = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
11384
11385
|
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
11385
11386
|
__name: "FieldArray",
|
|
11386
11387
|
props: {
|
|
@@ -11445,22 +11446,23 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11445
11446
|
key: i2,
|
|
11446
11447
|
outline: "",
|
|
11447
11448
|
thin: "",
|
|
11448
|
-
class: "mb-05 itemBox transition
|
|
11449
|
+
class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
|
|
11449
11450
|
}, [
|
|
11450
11451
|
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
11451
11452
|
modelValue: data2.value[i2],
|
|
11452
11453
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
11453
11454
|
schema: _ctx.schema
|
|
11454
11455
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11456
|
+
vue.createElementVNode("div", _hoisted_3$p, [
|
|
11457
|
+
props2.delete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
11458
|
+
key: 0,
|
|
11459
|
+
icon: "delete",
|
|
11460
|
+
class: "txt10 opacity-7",
|
|
11461
|
+
thin: "",
|
|
11462
|
+
flat: "",
|
|
11463
|
+
onClick: ($event) => deleteItem(i2)
|
|
11464
|
+
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
11465
|
+
])
|
|
11464
11466
|
]);
|
|
11465
11467
|
}), 128)),
|
|
11466
11468
|
_ctx.add ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
@@ -11472,7 +11474,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11472
11474
|
onClick: addItem
|
|
11473
11475
|
}, {
|
|
11474
11476
|
default: vue.withCtx(() => [
|
|
11475
|
-
vue.createElementVNode("p", null,
|
|
11477
|
+
vue.createElementVNode("p", null, vue.toDisplayString(_ctx.label), 1)
|
|
11476
11478
|
]),
|
|
11477
11479
|
_: 1
|
|
11478
11480
|
})) : vue.createCommentVNode("", true)
|
|
@@ -13483,7 +13485,7 @@ function transpose(fromDate, constructor) {
|
|
|
13483
13485
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13484
13486
|
class Setter {
|
|
13485
13487
|
constructor() {
|
|
13486
|
-
|
|
13488
|
+
__publicField2(this, "subPriority", 0);
|
|
13487
13489
|
}
|
|
13488
13490
|
validate(_utcDate, _options) {
|
|
13489
13491
|
return true;
|
|
@@ -13510,8 +13512,8 @@ class ValueSetter extends Setter {
|
|
|
13510
13512
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13511
13513
|
constructor() {
|
|
13512
13514
|
super(...arguments);
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
+
__publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13516
|
+
__publicField2(this, "subPriority", -1);
|
|
13515
13517
|
}
|
|
13516
13518
|
set(date2, flags) {
|
|
13517
13519
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13542,8 +13544,8 @@ class Parser {
|
|
|
13542
13544
|
class EraParser extends Parser {
|
|
13543
13545
|
constructor() {
|
|
13544
13546
|
super(...arguments);
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
+
__publicField2(this, "priority", 140);
|
|
13548
|
+
__publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13547
13549
|
}
|
|
13548
13550
|
parse(dateString, token, match2) {
|
|
13549
13551
|
switch (token) {
|
|
@@ -13721,8 +13723,8 @@ function isLeapYearIndex(year) {
|
|
|
13721
13723
|
class YearParser extends Parser {
|
|
13722
13724
|
constructor() {
|
|
13723
13725
|
super(...arguments);
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
+
__publicField2(this, "priority", 130);
|
|
13727
|
+
__publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
13726
13728
|
}
|
|
13727
13729
|
parse(dateString, token, match2) {
|
|
13728
13730
|
const valueCallback = (year) => ({
|
|
@@ -13766,8 +13768,8 @@ class YearParser extends Parser {
|
|
|
13766
13768
|
class LocalWeekYearParser extends Parser {
|
|
13767
13769
|
constructor() {
|
|
13768
13770
|
super(...arguments);
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
+
__publicField2(this, "priority", 130);
|
|
13772
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13771
13773
|
"y",
|
|
13772
13774
|
"R",
|
|
13773
13775
|
"u",
|
|
@@ -13829,8 +13831,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
13829
13831
|
class ISOWeekYearParser extends Parser {
|
|
13830
13832
|
constructor() {
|
|
13831
13833
|
super(...arguments);
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
|
+
__publicField2(this, "priority", 130);
|
|
13835
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13834
13836
|
"G",
|
|
13835
13837
|
"y",
|
|
13836
13838
|
"Y",
|
|
@@ -13864,8 +13866,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
13864
13866
|
class ExtendedYearParser extends Parser {
|
|
13865
13867
|
constructor() {
|
|
13866
13868
|
super(...arguments);
|
|
13867
|
-
|
|
13868
|
-
|
|
13869
|
+
__publicField2(this, "priority", 130);
|
|
13870
|
+
__publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
13869
13871
|
}
|
|
13870
13872
|
parse(dateString, token) {
|
|
13871
13873
|
if (token === "u") {
|
|
@@ -13882,8 +13884,8 @@ class ExtendedYearParser extends Parser {
|
|
|
13882
13884
|
class QuarterParser extends Parser {
|
|
13883
13885
|
constructor() {
|
|
13884
13886
|
super(...arguments);
|
|
13885
|
-
|
|
13886
|
-
|
|
13887
|
+
__publicField2(this, "priority", 120);
|
|
13888
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13887
13889
|
"Y",
|
|
13888
13890
|
"R",
|
|
13889
13891
|
"q",
|
|
@@ -13951,8 +13953,8 @@ class QuarterParser extends Parser {
|
|
|
13951
13953
|
class StandAloneQuarterParser extends Parser {
|
|
13952
13954
|
constructor() {
|
|
13953
13955
|
super(...arguments);
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
+
__publicField2(this, "priority", 120);
|
|
13957
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13956
13958
|
"Y",
|
|
13957
13959
|
"R",
|
|
13958
13960
|
"Q",
|
|
@@ -14020,7 +14022,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14020
14022
|
class MonthParser extends Parser {
|
|
14021
14023
|
constructor() {
|
|
14022
14024
|
super(...arguments);
|
|
14023
|
-
|
|
14025
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14024
14026
|
"Y",
|
|
14025
14027
|
"R",
|
|
14026
14028
|
"q",
|
|
@@ -14035,7 +14037,7 @@ class MonthParser extends Parser {
|
|
|
14035
14037
|
"t",
|
|
14036
14038
|
"T"
|
|
14037
14039
|
]);
|
|
14038
|
-
|
|
14040
|
+
__publicField2(this, "priority", 110);
|
|
14039
14041
|
}
|
|
14040
14042
|
parse(dateString, token, match2) {
|
|
14041
14043
|
const valueCallback = (value) => value - 1;
|
|
@@ -14090,8 +14092,8 @@ class MonthParser extends Parser {
|
|
|
14090
14092
|
class StandAloneMonthParser extends Parser {
|
|
14091
14093
|
constructor() {
|
|
14092
14094
|
super(...arguments);
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
+
__publicField2(this, "priority", 110);
|
|
14096
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14095
14097
|
"Y",
|
|
14096
14098
|
"R",
|
|
14097
14099
|
"q",
|
|
@@ -14166,8 +14168,8 @@ function setWeek(date2, week, options) {
|
|
|
14166
14168
|
class LocalWeekParser extends Parser {
|
|
14167
14169
|
constructor() {
|
|
14168
14170
|
super(...arguments);
|
|
14169
|
-
|
|
14170
|
-
|
|
14171
|
+
__publicField2(this, "priority", 100);
|
|
14172
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14171
14173
|
"y",
|
|
14172
14174
|
"R",
|
|
14173
14175
|
"u",
|
|
@@ -14209,8 +14211,8 @@ function setISOWeek(date2, week) {
|
|
|
14209
14211
|
class ISOWeekParser extends Parser {
|
|
14210
14212
|
constructor() {
|
|
14211
14213
|
super(...arguments);
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
+
__publicField2(this, "priority", 100);
|
|
14215
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14214
14216
|
"y",
|
|
14215
14217
|
"Y",
|
|
14216
14218
|
"u",
|
|
@@ -14262,9 +14264,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14262
14264
|
class DateParser extends Parser {
|
|
14263
14265
|
constructor() {
|
|
14264
14266
|
super(...arguments);
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
|
|
14267
|
+
__publicField2(this, "priority", 90);
|
|
14268
|
+
__publicField2(this, "subPriority", 1);
|
|
14269
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14268
14270
|
"Y",
|
|
14269
14271
|
"R",
|
|
14270
14272
|
"q",
|
|
@@ -14308,9 +14310,9 @@ class DateParser extends Parser {
|
|
|
14308
14310
|
class DayOfYearParser extends Parser {
|
|
14309
14311
|
constructor() {
|
|
14310
14312
|
super(...arguments);
|
|
14311
|
-
|
|
14312
|
-
|
|
14313
|
-
|
|
14313
|
+
__publicField2(this, "priority", 90);
|
|
14314
|
+
__publicField2(this, "subpriority", 1);
|
|
14315
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14314
14316
|
"Y",
|
|
14315
14317
|
"R",
|
|
14316
14318
|
"q",
|
|
@@ -14369,8 +14371,8 @@ function setDay(date2, day, options) {
|
|
|
14369
14371
|
class DayParser extends Parser {
|
|
14370
14372
|
constructor() {
|
|
14371
14373
|
super(...arguments);
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
+
__publicField2(this, "priority", 90);
|
|
14375
|
+
__publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14374
14376
|
}
|
|
14375
14377
|
parse(dateString, token, match2) {
|
|
14376
14378
|
switch (token) {
|
|
@@ -14412,8 +14414,8 @@ class DayParser extends Parser {
|
|
|
14412
14414
|
class LocalDayParser extends Parser {
|
|
14413
14415
|
constructor() {
|
|
14414
14416
|
super(...arguments);
|
|
14415
|
-
|
|
14416
|
-
|
|
14417
|
+
__publicField2(this, "priority", 90);
|
|
14418
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14417
14419
|
"y",
|
|
14418
14420
|
"R",
|
|
14419
14421
|
"u",
|
|
@@ -14485,8 +14487,8 @@ class LocalDayParser extends Parser {
|
|
|
14485
14487
|
class StandAloneLocalDayParser extends Parser {
|
|
14486
14488
|
constructor() {
|
|
14487
14489
|
super(...arguments);
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
+
__publicField2(this, "priority", 90);
|
|
14491
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14490
14492
|
"y",
|
|
14491
14493
|
"R",
|
|
14492
14494
|
"u",
|
|
@@ -14564,8 +14566,8 @@ function setISODay(date2, day) {
|
|
|
14564
14566
|
class ISODayParser extends Parser {
|
|
14565
14567
|
constructor() {
|
|
14566
14568
|
super(...arguments);
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
+
__publicField2(this, "priority", 90);
|
|
14570
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14569
14571
|
"y",
|
|
14570
14572
|
"Y",
|
|
14571
14573
|
"u",
|
|
@@ -14667,8 +14669,8 @@ class ISODayParser extends Parser {
|
|
|
14667
14669
|
class AMPMParser extends Parser {
|
|
14668
14670
|
constructor() {
|
|
14669
14671
|
super(...arguments);
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
+
__publicField2(this, "priority", 80);
|
|
14673
|
+
__publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14672
14674
|
}
|
|
14673
14675
|
parse(dateString, token, match2) {
|
|
14674
14676
|
switch (token) {
|
|
@@ -14709,8 +14711,8 @@ class AMPMParser extends Parser {
|
|
|
14709
14711
|
class AMPMMidnightParser extends Parser {
|
|
14710
14712
|
constructor() {
|
|
14711
14713
|
super(...arguments);
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
+
__publicField2(this, "priority", 80);
|
|
14715
|
+
__publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
14714
14716
|
}
|
|
14715
14717
|
parse(dateString, token, match2) {
|
|
14716
14718
|
switch (token) {
|
|
@@ -14751,8 +14753,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
14751
14753
|
class DayPeriodParser extends Parser {
|
|
14752
14754
|
constructor() {
|
|
14753
14755
|
super(...arguments);
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
+
__publicField2(this, "priority", 80);
|
|
14757
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
14756
14758
|
}
|
|
14757
14759
|
parse(dateString, token, match2) {
|
|
14758
14760
|
switch (token) {
|
|
@@ -14793,8 +14795,8 @@ class DayPeriodParser extends Parser {
|
|
|
14793
14795
|
class Hour1to12Parser extends Parser {
|
|
14794
14796
|
constructor() {
|
|
14795
14797
|
super(...arguments);
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
+
__publicField2(this, "priority", 70);
|
|
14799
|
+
__publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
14798
14800
|
}
|
|
14799
14801
|
parse(dateString, token, match2) {
|
|
14800
14802
|
switch (token) {
|
|
@@ -14824,8 +14826,8 @@ class Hour1to12Parser extends Parser {
|
|
|
14824
14826
|
class Hour0to23Parser extends Parser {
|
|
14825
14827
|
constructor() {
|
|
14826
14828
|
super(...arguments);
|
|
14827
|
-
|
|
14828
|
-
|
|
14829
|
+
__publicField2(this, "priority", 70);
|
|
14830
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
14829
14831
|
}
|
|
14830
14832
|
parse(dateString, token, match2) {
|
|
14831
14833
|
switch (token) {
|
|
@@ -14848,8 +14850,8 @@ class Hour0to23Parser extends Parser {
|
|
|
14848
14850
|
class Hour0To11Parser extends Parser {
|
|
14849
14851
|
constructor() {
|
|
14850
14852
|
super(...arguments);
|
|
14851
|
-
|
|
14852
|
-
|
|
14853
|
+
__publicField2(this, "priority", 70);
|
|
14854
|
+
__publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
14853
14855
|
}
|
|
14854
14856
|
parse(dateString, token, match2) {
|
|
14855
14857
|
switch (token) {
|
|
@@ -14877,8 +14879,8 @@ class Hour0To11Parser extends Parser {
|
|
|
14877
14879
|
class Hour1To24Parser extends Parser {
|
|
14878
14880
|
constructor() {
|
|
14879
14881
|
super(...arguments);
|
|
14880
|
-
|
|
14881
|
-
|
|
14882
|
+
__publicField2(this, "priority", 70);
|
|
14883
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
14882
14884
|
}
|
|
14883
14885
|
parse(dateString, token, match2) {
|
|
14884
14886
|
switch (token) {
|
|
@@ -14902,8 +14904,8 @@ class Hour1To24Parser extends Parser {
|
|
|
14902
14904
|
class MinuteParser extends Parser {
|
|
14903
14905
|
constructor() {
|
|
14904
14906
|
super(...arguments);
|
|
14905
|
-
|
|
14906
|
-
|
|
14907
|
+
__publicField2(this, "priority", 60);
|
|
14908
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14907
14909
|
}
|
|
14908
14910
|
parse(dateString, token, match2) {
|
|
14909
14911
|
switch (token) {
|
|
@@ -14926,8 +14928,8 @@ class MinuteParser extends Parser {
|
|
|
14926
14928
|
class SecondParser extends Parser {
|
|
14927
14929
|
constructor() {
|
|
14928
14930
|
super(...arguments);
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
+
__publicField2(this, "priority", 50);
|
|
14932
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14931
14933
|
}
|
|
14932
14934
|
parse(dateString, token, match2) {
|
|
14933
14935
|
switch (token) {
|
|
@@ -14950,8 +14952,8 @@ class SecondParser extends Parser {
|
|
|
14950
14952
|
class FractionOfSecondParser extends Parser {
|
|
14951
14953
|
constructor() {
|
|
14952
14954
|
super(...arguments);
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
+
__publicField2(this, "priority", 30);
|
|
14956
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
14955
14957
|
}
|
|
14956
14958
|
parse(dateString, token) {
|
|
14957
14959
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -14965,8 +14967,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
14965
14967
|
class ISOTimezoneWithZParser extends Parser {
|
|
14966
14968
|
constructor() {
|
|
14967
14969
|
super(...arguments);
|
|
14968
|
-
|
|
14969
|
-
|
|
14970
|
+
__publicField2(this, "priority", 10);
|
|
14971
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
14970
14972
|
}
|
|
14971
14973
|
parse(dateString, token) {
|
|
14972
14974
|
switch (token) {
|
|
@@ -15003,8 +15005,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15003
15005
|
class ISOTimezoneParser extends Parser {
|
|
15004
15006
|
constructor() {
|
|
15005
15007
|
super(...arguments);
|
|
15006
|
-
|
|
15007
|
-
|
|
15008
|
+
__publicField2(this, "priority", 10);
|
|
15009
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15008
15010
|
}
|
|
15009
15011
|
parse(dateString, token) {
|
|
15010
15012
|
switch (token) {
|
|
@@ -15041,8 +15043,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15041
15043
|
class TimestampSecondsParser extends Parser {
|
|
15042
15044
|
constructor() {
|
|
15043
15045
|
super(...arguments);
|
|
15044
|
-
|
|
15045
|
-
|
|
15046
|
+
__publicField2(this, "priority", 40);
|
|
15047
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15046
15048
|
}
|
|
15047
15049
|
parse(dateString) {
|
|
15048
15050
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15054,8 +15056,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15054
15056
|
class TimestampMillisecondsParser extends Parser {
|
|
15055
15057
|
constructor() {
|
|
15056
15058
|
super(...arguments);
|
|
15057
|
-
|
|
15058
|
-
|
|
15059
|
+
__publicField2(this, "priority", 20);
|
|
15060
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15059
15061
|
}
|
|
15060
15062
|
parse(dateString) {
|
|
15061
15063
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -20387,7 +20389,7 @@ const _hoisted_15$2 = {
|
|
|
20387
20389
|
class: "year-grid grid gap-05 p-0"
|
|
20388
20390
|
};
|
|
20389
20391
|
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
20390
|
-
const _hoisted_17 = {
|
|
20392
|
+
const _hoisted_17$2 = {
|
|
20391
20393
|
key: 0,
|
|
20392
20394
|
class: "time-picker flex column gap-1 w-120px"
|
|
20393
20395
|
};
|
|
@@ -20675,7 +20677,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20675
20677
|
}), 128))
|
|
20676
20678
|
]))
|
|
20677
20679
|
]),
|
|
20678
|
-
_ctx.enableTime && vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
|
|
20680
|
+
_ctx.enableTime && vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17$2, [
|
|
20679
20681
|
vue.createElementVNode("div", _hoisted_18, [
|
|
20680
20682
|
vue.createVNode(vue.unref(NumberInput), {
|
|
20681
20683
|
center: "",
|
|
@@ -20823,7 +20825,7 @@ const _hoisted_2$p = {
|
|
|
20823
20825
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
20824
20826
|
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
20825
20827
|
const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
20826
|
-
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black
|
|
20828
|
+
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
20827
20829
|
const _hoisted_7$6 = {
|
|
20828
20830
|
key: 1,
|
|
20829
20831
|
class: "txt-gray txt-12"
|
|
@@ -20852,6 +20854,7 @@ const _hoisted_15$1 = {
|
|
|
20852
20854
|
class: "progress"
|
|
20853
20855
|
};
|
|
20854
20856
|
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
20857
|
+
const _hoisted_17$1 = { class: "pretty balance" };
|
|
20855
20858
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
20856
20859
|
__name: "FileUpload",
|
|
20857
20860
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -20868,7 +20871,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20868
20871
|
theme: { default: "dropzone" },
|
|
20869
20872
|
accept: { default: "*" },
|
|
20870
20873
|
required: { type: Boolean },
|
|
20871
|
-
disabled: { type: Boolean }
|
|
20874
|
+
disabled: { type: Boolean },
|
|
20875
|
+
dropPlaceholder: {},
|
|
20876
|
+
noFilePlaceholder: {},
|
|
20877
|
+
btnPlaceholder: {}
|
|
20872
20878
|
}, {
|
|
20873
20879
|
"modelValue": {
|
|
20874
20880
|
default: () => []
|
|
@@ -21040,13 +21046,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21040
21046
|
class: "px-1-5",
|
|
21041
21047
|
icon: "upload",
|
|
21042
21048
|
outline: "",
|
|
21049
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
21043
21050
|
onClick: browse
|
|
21044
|
-
},
|
|
21045
|
-
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
21046
|
-
vue.createTextVNode(" Upload ")
|
|
21047
|
-
])),
|
|
21048
|
-
_: 1
|
|
21049
|
-
})) : vue.createCommentVNode("", true),
|
|
21051
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true),
|
|
21050
21052
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21051
21053
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21052
21054
|
key: file.id,
|
|
@@ -21107,7 +21109,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21107
21109
|
])
|
|
21108
21110
|
]);
|
|
21109
21111
|
}), 128)),
|
|
21110
|
-
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$6, "
|
|
21112
|
+
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$6, vue.toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : vue.createCommentVNode("", true)
|
|
21111
21113
|
]),
|
|
21112
21114
|
_: 1
|
|
21113
21115
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21277,7 +21279,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21277
21279
|
}, () => [
|
|
21278
21280
|
vue.createElementVNode("p", _hoisted_16$1, [
|
|
21279
21281
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
21280
|
-
|
|
21282
|
+
vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
21281
21283
|
])
|
|
21282
21284
|
], true) : vue.createCommentVNode("", true)
|
|
21283
21285
|
], 38))
|
|
@@ -21285,7 +21287,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21285
21287
|
};
|
|
21286
21288
|
}
|
|
21287
21289
|
});
|
|
21288
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
21290
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9939a5fb"]]);
|
|
21289
21291
|
const _hoisted_1$z = ["title"];
|
|
21290
21292
|
const _hoisted_2$o = { key: 0 };
|
|
21291
21293
|
const _hoisted_3$j = ["value", "placeholder"];
|
|
@@ -21402,7 +21404,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21402
21404
|
}])
|
|
21403
21405
|
}, [
|
|
21404
21406
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
21405
|
-
vue.
|
|
21407
|
+
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
21406
21408
|
vue.createElementVNode("div", {
|
|
21407
21409
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
21408
21410
|
}, [
|
|
@@ -21494,7 +21496,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21494
21496
|
};
|
|
21495
21497
|
}
|
|
21496
21498
|
});
|
|
21497
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
21499
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8ae5f930"]]);
|
|
21498
21500
|
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21499
21501
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
21500
21502
|
__name: "OTP",
|
|
@@ -23203,7 +23205,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23203
23205
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
23204
23206
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
23205
23207
|
vue.createElementVNode("div", {
|
|
23206
|
-
class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075
|
|
23208
|
+
class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
|
|
23207
23209
|
}, [
|
|
23208
23210
|
vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
|
|
23209
23211
|
key: 0,
|
|
@@ -23278,7 +23280,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23278
23280
|
};
|
|
23279
23281
|
}
|
|
23280
23282
|
});
|
|
23281
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
23283
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-08117333"]]);
|
|
23282
23284
|
const _hoisted_1$p = { class: "flex gap-05" };
|
|
23283
23285
|
const _hoisted_2$g = ["disabled"];
|
|
23284
23286
|
const _hoisted_3$c = { key: 1 };
|
|
@@ -32031,7 +32033,7 @@ const _hoisted_3$7 = {
|
|
|
32031
32033
|
};
|
|
32032
32034
|
const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
|
|
32033
32035
|
const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
32034
|
-
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black
|
|
32036
|
+
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
32035
32037
|
const _hoisted_7$2 = {
|
|
32036
32038
|
key: 1,
|
|
32037
32039
|
class: "txt-gray txt-12"
|
|
@@ -32060,6 +32062,7 @@ const _hoisted_15 = {
|
|
|
32060
32062
|
class: "progress"
|
|
32061
32063
|
};
|
|
32062
32064
|
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
32065
|
+
const _hoisted_17 = { class: "pretty balance" };
|
|
32063
32066
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
32064
32067
|
__name: "UploadInput",
|
|
32065
32068
|
props: {
|
|
@@ -32075,7 +32078,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32075
32078
|
accept: { default: "*" },
|
|
32076
32079
|
required: { type: Boolean },
|
|
32077
32080
|
disabled: { type: Boolean },
|
|
32078
|
-
baseURL: {}
|
|
32081
|
+
baseURL: {},
|
|
32082
|
+
dropPlaceholder: {},
|
|
32083
|
+
noFilePlaceholder: {},
|
|
32084
|
+
btnPlaceholder: {}
|
|
32079
32085
|
},
|
|
32080
32086
|
emits: ["update:modelValue", "addFileStart"],
|
|
32081
32087
|
setup(__props, { emit: __emit }) {
|
|
@@ -32184,13 +32190,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32184
32190
|
class: "px-1-5",
|
|
32185
32191
|
icon: "upload",
|
|
32186
32192
|
outline: "",
|
|
32193
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
32187
32194
|
onClick: browse
|
|
32188
|
-
},
|
|
32189
|
-
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
32190
|
-
vue.createTextVNode(" Upload ")
|
|
32191
|
-
])),
|
|
32192
|
-
_: 1
|
|
32193
|
-
})) : vue.createCommentVNode("", true),
|
|
32195
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true),
|
|
32194
32196
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32195
32197
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32196
32198
|
key: path_key,
|
|
@@ -32234,7 +32236,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32234
32236
|
])
|
|
32235
32237
|
]);
|
|
32236
32238
|
}), 128)),
|
|
32237
|
-
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, "
|
|
32239
|
+
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, vue.toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : vue.createCommentVNode("", true)
|
|
32238
32240
|
]),
|
|
32239
32241
|
_: 1
|
|
32240
32242
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -32396,7 +32398,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32396
32398
|
}, () => [
|
|
32397
32399
|
vue.createElementVNode("p", _hoisted_16, [
|
|
32398
32400
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
32399
|
-
|
|
32401
|
+
vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
32400
32402
|
])
|
|
32401
32403
|
], true) : vue.createCommentVNode("", true)
|
|
32402
32404
|
], 38))
|
|
@@ -32404,7 +32406,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32404
32406
|
};
|
|
32405
32407
|
}
|
|
32406
32408
|
});
|
|
32407
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
32409
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d65d0a87"]]);
|
|
32408
32410
|
const FONT_AWESOME_ICONS = [
|
|
32409
32411
|
"trash-can",
|
|
32410
32412
|
"message",
|
|
@@ -38222,39 +38224,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38222
38224
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38223
38225
|
class TapDetector {
|
|
38224
38226
|
constructor() {
|
|
38225
|
-
|
|
38226
|
-
|
|
38227
|
-
|
|
38228
|
-
|
|
38229
|
-
|
|
38230
|
-
|
|
38231
|
-
|
|
38232
|
-
|
|
38233
|
-
|
|
38227
|
+
__publicField2(this, "singleTapCallbacks", []);
|
|
38228
|
+
__publicField2(this, "doubleTapCallbacks", []);
|
|
38229
|
+
__publicField2(this, "isTouchMode", false);
|
|
38230
|
+
__publicField2(this, "lastTapTimestamp", 0);
|
|
38231
|
+
__publicField2(this, "tappedCount", 0);
|
|
38232
|
+
__publicField2(this, "touchMovedLength", 0);
|
|
38233
|
+
__publicField2(this, "lastPointerX", 0);
|
|
38234
|
+
__publicField2(this, "lastPointerY", 0);
|
|
38235
|
+
__publicField2(this, "onTouchStart", (event) => {
|
|
38234
38236
|
this.isTouchMode = true;
|
|
38235
38237
|
if (event.touches.length === 1) {
|
|
38236
38238
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38237
38239
|
}
|
|
38238
38240
|
});
|
|
38239
|
-
|
|
38241
|
+
__publicField2(this, "onTouchMove", (event) => {
|
|
38240
38242
|
if (event.touches.length === 1) {
|
|
38241
38243
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38242
38244
|
}
|
|
38243
38245
|
});
|
|
38244
|
-
|
|
38246
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38245
38247
|
if (this.isTouchMode) this.onPointerUp();
|
|
38246
38248
|
});
|
|
38247
|
-
|
|
38249
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38248
38250
|
if (!this.isTouchMode) {
|
|
38249
38251
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38250
38252
|
}
|
|
38251
38253
|
});
|
|
38252
|
-
|
|
38254
|
+
__publicField2(this, "onMouseMove", (event) => {
|
|
38253
38255
|
if (!this.isTouchMode && event.button === 0) {
|
|
38254
38256
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38255
38257
|
}
|
|
38256
38258
|
});
|
|
38257
|
-
|
|
38259
|
+
__publicField2(this, "onMouseUp", () => {
|
|
38258
38260
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38259
38261
|
});
|
|
38260
38262
|
}
|
|
@@ -38666,6 +38668,12 @@ function localRef(key, initialValue) {
|
|
|
38666
38668
|
return value;
|
|
38667
38669
|
}
|
|
38668
38670
|
const useLocalStorage = localRef;
|
|
38671
|
+
var __defProp = Object.defineProperty;
|
|
38672
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
38673
|
+
var __publicField = (obj, key, value) => {
|
|
38674
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
38675
|
+
return value;
|
|
38676
|
+
};
|
|
38669
38677
|
const axios = axios$1.create({
|
|
38670
38678
|
withCredentials: true
|
|
38671
38679
|
});
|
|
@@ -38680,7 +38688,8 @@ class DataRequest {
|
|
|
38680
38688
|
this.itemID = "";
|
|
38681
38689
|
}
|
|
38682
38690
|
async post(item) {
|
|
38683
|
-
if (!this.data_table)
|
|
38691
|
+
if (!this.data_table)
|
|
38692
|
+
throw new Error("Data table not set");
|
|
38684
38693
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
38685
38694
|
return data2;
|
|
38686
38695
|
}
|
|
@@ -38690,7 +38699,8 @@ class DataRequest {
|
|
|
38690
38699
|
}
|
|
38691
38700
|
async get() {
|
|
38692
38701
|
var _a2, _b;
|
|
38693
|
-
if (!this.data_table)
|
|
38702
|
+
if (!this.data_table)
|
|
38703
|
+
throw new Error("Data table not set");
|
|
38694
38704
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
38695
38705
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
38696
38706
|
try {
|
|
@@ -38707,7 +38717,8 @@ class DataRequest {
|
|
|
38707
38717
|
return this;
|
|
38708
38718
|
}
|
|
38709
38719
|
async delete() {
|
|
38710
|
-
if (!this.data_table)
|
|
38720
|
+
if (!this.data_table)
|
|
38721
|
+
throw new Error("Data table not set");
|
|
38711
38722
|
const { data: data2 } = await axios.delete(
|
|
38712
38723
|
`/data/${this.data_table}/${this.itemID}`
|
|
38713
38724
|
);
|
|
@@ -38715,8 +38726,10 @@ class DataRequest {
|
|
|
38715
38726
|
}
|
|
38716
38727
|
async put(updatedItem) {
|
|
38717
38728
|
const { data_table, itemID } = this;
|
|
38718
|
-
if (!data_table)
|
|
38719
|
-
|
|
38729
|
+
if (!data_table)
|
|
38730
|
+
throw new Error("Data table not set");
|
|
38731
|
+
if (!itemID)
|
|
38732
|
+
throw new Error("Item ID not set");
|
|
38720
38733
|
const { data: data2 } = await axios.put(
|
|
38721
38734
|
`/data/${data_table}/${itemID}`,
|
|
38722
38735
|
updatedItem
|
|
@@ -38733,8 +38746,8 @@ function responses(key) {
|
|
|
38733
38746
|
}
|
|
38734
38747
|
class BagelAuth {
|
|
38735
38748
|
constructor(bagel) {
|
|
38736
|
-
__publicField(this, "user");
|
|
38737
38749
|
this.bagel = bagel;
|
|
38750
|
+
__publicField(this, "user");
|
|
38738
38751
|
this.bagel = bagel;
|
|
38739
38752
|
}
|
|
38740
38753
|
async validateUser() {
|
|
@@ -38837,10 +38850,12 @@ class Bagel {
|
|
|
38837
38850
|
async get(endpoint, query) {
|
|
38838
38851
|
this._setAuthorization();
|
|
38839
38852
|
endpoint = this._endpointCleaner(endpoint);
|
|
38840
|
-
if (/undefined|null/.test(endpoint))
|
|
38853
|
+
if (/undefined|null/.test(endpoint))
|
|
38854
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
38841
38855
|
if (query) {
|
|
38842
38856
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
38843
|
-
if (queryParams)
|
|
38857
|
+
if (queryParams)
|
|
38858
|
+
endpoint = `${endpoint}?${queryParams}`;
|
|
38844
38859
|
}
|
|
38845
38860
|
const url = `/${endpoint}`;
|
|
38846
38861
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -38895,7 +38910,8 @@ class Bagel {
|
|
|
38895
38910
|
const formData = new FormData();
|
|
38896
38911
|
formData.append("file", file);
|
|
38897
38912
|
let url = "/static_files/upload";
|
|
38898
|
-
if (options == null ? void 0 : options.topic)
|
|
38913
|
+
if (options == null ? void 0 : options.topic)
|
|
38914
|
+
url = `/static_files/upload?topic=${options.topic}`;
|
|
38899
38915
|
const { data: data2 } = await axios.post(url, formData, {
|
|
38900
38916
|
headers: {
|
|
38901
38917
|
"Content-Type": "multipart/form-data"
|