@bagelink/vue 0.0.1143 → 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/Carousel.vue.d.ts.map +1 -1
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/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/Modal.vue.d.ts.map +1 -1
- 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/Zoomer.vue.d.ts.map +1 -1
- 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/index.d.ts +2 -3
- package/dist/components/form/index.d.ts.map +1 -1
- 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/composables/useEditor.d.ts.map +1 -1
- 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/lightbox/Lightbox.vue.d.ts.map +1 -1
- 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 +621 -686
- package/dist/index.mjs +621 -686
- package/dist/plugins/modal.d.ts +5 -0
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +146 -131
- 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/Carousel.vue +1 -0
- package/src/components/Icon/Icon.vue +1 -1
- package/src/components/Modal.vue +0 -1
- package/src/components/ModalForm.vue +24 -19
- package/src/components/Zoomer.vue +24 -4
- package/src/components/form/FieldArray.vue +24 -14
- package/src/components/form/index.ts +2 -3
- package/src/components/form/inputs/FileUpload.vue +21 -6
- package/src/components/form/inputs/NumberInput.vue +9 -7
- package/src/components/form/inputs/RichText/index.vue +1 -1
- package/src/components/form/inputs/Upload/UploadInput.vue +20 -12
- package/src/components/lightbox/Lightbox.vue +32 -33
- package/src/plugins/modal.ts +5 -0
- 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");
|
|
@@ -47,7 +47,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
47
47
|
return uploadField;
|
|
48
48
|
}
|
|
49
49
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50
|
-
const _sfc_main$
|
|
50
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
51
51
|
__name: "Accordion",
|
|
52
52
|
setup(__props) {
|
|
53
53
|
const state2 = vue.reactive({
|
|
@@ -61,10 +61,10 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
const _hoisted_1$
|
|
65
|
-
const _hoisted_2$
|
|
66
|
-
const _hoisted_3$
|
|
67
|
-
const _sfc_main$
|
|
64
|
+
const _hoisted_1$X = ["aria-expanded", "aria-controls"];
|
|
65
|
+
const _hoisted_2$E = { class: "accordion-label" };
|
|
66
|
+
const _hoisted_3$v = ["id", "aria-hidden"];
|
|
67
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
68
68
|
__name: "AccordionItem",
|
|
69
69
|
props: {
|
|
70
70
|
label: {},
|
|
@@ -130,7 +130,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
130
130
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
131
131
|
], 2)) : vue.createCommentVNode("", true),
|
|
132
132
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
133
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
133
|
+
vue.createElementVNode("span", _hoisted_2$E, vue.toDisplayString(_ctx.label), 1)
|
|
134
134
|
], true),
|
|
135
135
|
iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
136
136
|
key: 1,
|
|
@@ -138,7 +138,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
138
|
}, [
|
|
139
139
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
140
140
|
], 2)) : vue.createCommentVNode("", true)
|
|
141
|
-
], 8, _hoisted_1$
|
|
141
|
+
], 8, _hoisted_1$X),
|
|
142
142
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
143
143
|
default: vue.withCtx(() => [
|
|
144
144
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -148,7 +148,7 @@ const _sfc_main$17 = /* @__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
|
})
|
|
@@ -163,9 +163,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
163
163
|
}
|
|
164
164
|
return target;
|
|
165
165
|
};
|
|
166
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
167
|
-
const _hoisted_1$
|
|
168
|
-
const _sfc_main$
|
|
166
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-3334f637"]]);
|
|
167
|
+
const _hoisted_1$W = { class: "relative" };
|
|
168
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
169
169
|
__name: "AddressSearch",
|
|
170
170
|
emits: ["addressSelected"],
|
|
171
171
|
setup(__props, { emit: __emit }) {
|
|
@@ -187,8 +187,8 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
187
187
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
188
188
|
}
|
|
189
189
|
return (_ctx, _cache) => {
|
|
190
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
191
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
190
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
191
|
+
vue.createVNode(vue.unref(_sfc_main$V), {
|
|
192
192
|
ref_key: "suggestion",
|
|
193
193
|
ref: suggestion,
|
|
194
194
|
noAutoFocus: true,
|
|
@@ -223,11 +223,11 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
|
-
const _hoisted_1$
|
|
226
|
+
const _hoisted_1$V = {
|
|
227
227
|
key: 1,
|
|
228
228
|
class: "bgl_btn-flex"
|
|
229
229
|
};
|
|
230
|
-
const _sfc_main$
|
|
230
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
231
231
|
__name: "Btn",
|
|
232
232
|
props: {
|
|
233
233
|
disabled: { type: Boolean, default: false },
|
|
@@ -293,7 +293,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
293
293
|
key: 0,
|
|
294
294
|
class: "h-100p",
|
|
295
295
|
size: "15"
|
|
296
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
296
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
297
297
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
|
|
298
298
|
key: 0,
|
|
299
299
|
icon: _ctx.icon,
|
|
@@ -317,10 +317,10 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
321
|
-
const _hoisted_1$
|
|
322
|
-
const _hoisted_2$
|
|
323
|
-
const _sfc_main$
|
|
320
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7b18a02c"]]);
|
|
321
|
+
const _hoisted_1$U = ["dismissable"];
|
|
322
|
+
const _hoisted_2$D = { class: "m-0" };
|
|
323
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
324
324
|
__name: "Alert",
|
|
325
325
|
props: {
|
|
326
326
|
message: {},
|
|
@@ -348,7 +348,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
348
348
|
size: 2,
|
|
349
349
|
color: color2[_ctx.type]
|
|
350
350
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
351
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
351
|
+
vue.createElementVNode("p", _hoisted_2$D, vue.toDisplayString(_ctx.message), 1),
|
|
352
352
|
vue.createVNode(Btn, {
|
|
353
353
|
flat: "",
|
|
354
354
|
thin: "",
|
|
@@ -356,13 +356,13 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
356
356
|
icon: "close",
|
|
357
357
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
358
358
|
})
|
|
359
|
-
], 10, _hoisted_1$
|
|
359
|
+
], 10, _hoisted_1$U)) : vue.createCommentVNode("", true);
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
362
|
});
|
|
363
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
364
|
-
const _hoisted_1$
|
|
365
|
-
const _sfc_main$
|
|
363
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-064bdd20"]]);
|
|
364
|
+
const _hoisted_1$T = ["src", "alt"];
|
|
365
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
366
366
|
__name: "Avatar",
|
|
367
367
|
props: {
|
|
368
368
|
fallback: {},
|
|
@@ -380,7 +380,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
380
380
|
key: 0,
|
|
381
381
|
src: _ctx.src,
|
|
382
382
|
alt: _ctx.name
|
|
383
|
-
}, null, 8, _hoisted_1$
|
|
383
|
+
}, null, 8, _hoisted_1$T)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
384
384
|
key: 1,
|
|
385
385
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
386
386
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -388,8 +388,8 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
392
|
-
const _sfc_main$
|
|
391
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
|
|
392
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
393
393
|
__name: "Badge",
|
|
394
394
|
props: {
|
|
395
395
|
color: {},
|
|
@@ -418,9 +418,9 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
422
|
-
const _hoisted_1$
|
|
423
|
-
const _sfc_main$
|
|
421
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-689f051f"]]);
|
|
422
|
+
const _hoisted_1$S = { key: 1 };
|
|
423
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
424
424
|
__name: "BglComponent",
|
|
425
425
|
props: {
|
|
426
426
|
field: {},
|
|
@@ -449,7 +449,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
449
449
|
if (props2.field.$el === "file") return FileUpload;
|
|
450
450
|
if (props2.field.$el === "date") return _sfc_main$K;
|
|
451
451
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
452
|
-
if (props2.field.$el === "form") return _sfc_main$
|
|
452
|
+
if (props2.field.$el === "form") return _sfc_main$S;
|
|
453
453
|
return props2.field.$el ?? "div";
|
|
454
454
|
});
|
|
455
455
|
function getFieldData(path) {
|
|
@@ -566,7 +566,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
566
566
|
id: [props2.id, child.id].filter(Boolean).join("."),
|
|
567
567
|
field: child,
|
|
568
568
|
"parent-path": props2.id
|
|
569
|
-
}, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
569
|
+
}, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$S, vue.toDisplayString(child), 1))
|
|
570
570
|
], 64);
|
|
571
571
|
}), 128))
|
|
572
572
|
], 64))
|
|
@@ -576,10 +576,10 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
|
-
const _hoisted_1$
|
|
580
|
-
const _hoisted_2$
|
|
581
|
-
const _hoisted_3$
|
|
582
|
-
const _sfc_main
|
|
579
|
+
const _hoisted_1$R = ["src"];
|
|
580
|
+
const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
581
|
+
const _hoisted_3$u = ["src", "type"];
|
|
582
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
583
583
|
__name: "BglVideo",
|
|
584
584
|
props: {
|
|
585
585
|
src: {},
|
|
@@ -656,7 +656,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
656
656
|
allowfullscreen: "",
|
|
657
657
|
title: "Video",
|
|
658
658
|
allow: "autoplay"
|
|
659
|
-
}, null, 12, _hoisted_1$
|
|
659
|
+
}, null, 12, _hoisted_1$R)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
660
660
|
key: 1,
|
|
661
661
|
ref_key: "video",
|
|
662
662
|
ref: video,
|
|
@@ -670,18 +670,18 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
670
670
|
vue.createElementVNode("source", {
|
|
671
671
|
src: _ctx.src,
|
|
672
672
|
type: `video/${videoFormat.value}`
|
|
673
|
-
}, null, 8, _hoisted_3$
|
|
674
|
-
], 12, _hoisted_2$
|
|
673
|
+
}, null, 8, _hoisted_3$u)
|
|
674
|
+
], 12, _hoisted_2$C)) : vue.createCommentVNode("", true)
|
|
675
675
|
], 2);
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
680
|
-
const _hoisted_1$
|
|
679
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
|
|
680
|
+
const _hoisted_1$Q = {
|
|
681
681
|
key: 0,
|
|
682
682
|
class: "card_label"
|
|
683
683
|
};
|
|
684
|
-
const _sfc_main
|
|
684
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
685
685
|
__name: "Card",
|
|
686
686
|
props: {
|
|
687
687
|
label: {},
|
|
@@ -710,7 +710,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
710
710
|
}])
|
|
711
711
|
}, {
|
|
712
712
|
default: vue.withCtx(() => [
|
|
713
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
713
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$Q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
714
714
|
vue.renderSlot(_ctx.$slots, "default")
|
|
715
715
|
]),
|
|
716
716
|
_: 3
|
|
@@ -720,16 +720,16 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
|
-
const _hoisted_1$
|
|
724
|
-
const _hoisted_2$
|
|
723
|
+
const _hoisted_1$P = ["dir"];
|
|
724
|
+
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;
|
|
732
|
-
const _sfc_main$
|
|
732
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
733
733
|
__name: "Carousel",
|
|
734
734
|
props: {
|
|
735
735
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -900,6 +900,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
902
|
function startDrag(e) {
|
|
903
|
+
e.stopPropagation();
|
|
903
904
|
if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
|
|
904
905
|
clearAutoplay();
|
|
905
906
|
startX.value = e.pageX;
|
|
@@ -1148,13 +1149,13 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
1148
1149
|
}, [
|
|
1149
1150
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1150
1151
|
], 38),
|
|
1151
|
-
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
1152
|
+
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, [
|
|
1152
1153
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
|
|
1153
1154
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
1154
1155
|
key: i2,
|
|
1155
1156
|
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
1156
1157
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
1157
|
-
}, null, 10, _hoisted_3$
|
|
1158
|
+
}, null, 10, _hoisted_3$t);
|
|
1158
1159
|
}), 128))
|
|
1159
1160
|
])) : vue.createCommentVNode("", true),
|
|
1160
1161
|
vue.createElementVNode("div", _hoisted_4$j, [
|
|
@@ -1171,11 +1172,11 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
1171
1172
|
}, void 0, true)
|
|
1172
1173
|
])
|
|
1173
1174
|
])
|
|
1174
|
-
], 14, _hoisted_1$
|
|
1175
|
+
], 14, _hoisted_1$P);
|
|
1175
1176
|
};
|
|
1176
1177
|
}
|
|
1177
1178
|
});
|
|
1178
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1179
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1ae4b9ae"]]);
|
|
1179
1180
|
function _isPlaceholder(a2) {
|
|
1180
1181
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
1181
1182
|
}
|
|
@@ -7009,7 +7010,7 @@ const _hoisted_1$1$1 = {
|
|
|
7009
7010
|
style: { display: "flex", position: "relative" }
|
|
7010
7011
|
};
|
|
7011
7012
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7012
|
-
const _hoisted_3$
|
|
7013
|
+
const _hoisted_3$s = { class: "layer-rectangles" };
|
|
7013
7014
|
const _hoisted_4$i = ["transform", "onMouseover"];
|
|
7014
7015
|
const _hoisted_5$h = ["width", "height"];
|
|
7015
7016
|
const _hoisted_6$e = {
|
|
@@ -7027,7 +7028,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7027
7028
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
7028
7029
|
ref: "el"
|
|
7029
7030
|
}, [
|
|
7030
|
-
vue.createElementVNode("g", _hoisted_3$
|
|
7031
|
+
vue.createElementVNode("g", _hoisted_3$s, [
|
|
7031
7032
|
(vue.openBlock(true), vue.createElementBlock(
|
|
7032
7033
|
vue.Fragment,
|
|
7033
7034
|
null,
|
|
@@ -7119,25 +7120,25 @@ var script = vue.defineComponent({
|
|
|
7119
7120
|
return { bar, canvas, direction, mouse };
|
|
7120
7121
|
}
|
|
7121
7122
|
});
|
|
7122
|
-
const _hoisted_1$
|
|
7123
|
+
const _hoisted_1$O = {
|
|
7123
7124
|
key: 0,
|
|
7124
7125
|
class: "layer-hover-bar"
|
|
7125
7126
|
};
|
|
7126
|
-
const _hoisted_2$
|
|
7127
|
+
const _hoisted_2$A = ["x", "y", "width", "height"];
|
|
7127
7128
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7128
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
7129
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$O, [
|
|
7129
7130
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
7130
7131
|
x: _ctx.bar.x,
|
|
7131
7132
|
y: _ctx.bar.y,
|
|
7132
7133
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
7133
7134
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
7134
|
-
}), null, 16, _hoisted_2$
|
|
7135
|
+
}), null, 16, _hoisted_2$A)
|
|
7135
7136
|
])) : vue.createCommentVNode("v-if", true);
|
|
7136
7137
|
}
|
|
7137
7138
|
script.render = render;
|
|
7138
7139
|
script.__file = "src/components/HoverBar/index.vue";
|
|
7139
7140
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
7140
|
-
const _sfc_main$
|
|
7141
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
7141
7142
|
__name: "Lineart",
|
|
7142
7143
|
props: {
|
|
7143
7144
|
data: {},
|
|
@@ -7277,15 +7278,15 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7277
7278
|
};
|
|
7278
7279
|
}
|
|
7279
7280
|
});
|
|
7280
|
-
const _hoisted_1$
|
|
7281
|
+
const _hoisted_1$N = {
|
|
7281
7282
|
key: 0,
|
|
7282
7283
|
class: "data"
|
|
7283
7284
|
};
|
|
7284
|
-
const _hoisted_2$
|
|
7285
|
+
const _hoisted_2$z = {
|
|
7285
7286
|
key: 0,
|
|
7286
7287
|
class: "data-row m_py-05"
|
|
7287
7288
|
};
|
|
7288
|
-
const _hoisted_3$
|
|
7289
|
+
const _hoisted_3$r = { class: "key" };
|
|
7289
7290
|
const _hoisted_4$h = { class: "m-0" };
|
|
7290
7291
|
const _hoisted_5$g = { key: 1 };
|
|
7291
7292
|
const _hoisted_6$d = {
|
|
@@ -7298,7 +7299,7 @@ const _hoisted_9$5 = {
|
|
|
7298
7299
|
key: 0,
|
|
7299
7300
|
class: "m-0"
|
|
7300
7301
|
};
|
|
7301
|
-
const _sfc_main$
|
|
7302
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
7302
7303
|
__name: "DataPreview",
|
|
7303
7304
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7304
7305
|
showFields: {},
|
|
@@ -7334,7 +7335,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7334
7335
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7335
7336
|
return (_ctx, _cache) => {
|
|
7336
7337
|
var _a2;
|
|
7337
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7338
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
7338
7339
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
|
|
7339
7340
|
key: 0,
|
|
7340
7341
|
label: _ctx.title
|
|
@@ -7343,11 +7344,11 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7343
7344
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
7344
7345
|
key: field.id
|
|
7345
7346
|
}, [
|
|
7346
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
7347
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
7347
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
7348
|
+
vue.createElementVNode("div", _hoisted_3$r, [
|
|
7348
7349
|
vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
7349
7350
|
]),
|
|
7350
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
7351
|
+
vue.createVNode(vue.unref(_sfc_main$Q), {
|
|
7351
7352
|
modelValue: itemData.value,
|
|
7352
7353
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
7353
7354
|
label: "",
|
|
@@ -7376,7 +7377,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7376
7377
|
};
|
|
7377
7378
|
}
|
|
7378
7379
|
});
|
|
7379
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7380
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
|
|
7380
7381
|
const NON_DIGIT_REGEX = /[^\d.-]/g;
|
|
7381
7382
|
function useTableData(options) {
|
|
7382
7383
|
const sortField = vue.ref("");
|
|
@@ -8075,12 +8076,12 @@ function useTableVirtualization(options) {
|
|
|
8075
8076
|
registerLastItemObserver
|
|
8076
8077
|
};
|
|
8077
8078
|
}
|
|
8078
|
-
const _hoisted_1$
|
|
8079
|
+
const _hoisted_1$M = {
|
|
8079
8080
|
key: 0,
|
|
8080
8081
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
8081
8082
|
};
|
|
8082
|
-
const _hoisted_2$
|
|
8083
|
-
const _hoisted_3$
|
|
8083
|
+
const _hoisted_2$y = { class: "infinite-wrapper" };
|
|
8084
|
+
const _hoisted_3$q = { class: "row first-row" };
|
|
8084
8085
|
const _hoisted_4$g = { key: 0 };
|
|
8085
8086
|
const _hoisted_5$f = ["onClick"];
|
|
8086
8087
|
const _hoisted_6$c = { class: "flex" };
|
|
@@ -8088,7 +8089,7 @@ const _hoisted_7$8 = ["onClick"];
|
|
|
8088
8089
|
const _hoisted_8$5 = { key: 0 };
|
|
8089
8090
|
const _hoisted_9$4 = ["value"];
|
|
8090
8091
|
const _hoisted_10$4 = { key: 1 };
|
|
8091
|
-
const _sfc_main$
|
|
8092
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
8092
8093
|
__name: "DataTable",
|
|
8093
8094
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
8094
8095
|
data: {},
|
|
@@ -8196,11 +8197,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8196
8197
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
8197
8198
|
class: { "loading-table": loading.value }
|
|
8198
8199
|
}), [
|
|
8199
|
-
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
8200
|
+
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
|
|
8200
8201
|
vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
8201
8202
|
]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
8202
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
8203
|
-
vue.createElementVNode("thead", _hoisted_3$
|
|
8203
|
+
vue.createElementVNode("table", _hoisted_2$y, [
|
|
8204
|
+
vue.createElementVNode("thead", _hoisted_3$q, [
|
|
8204
8205
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, [
|
|
8205
8206
|
vue.createElementVNode("input", {
|
|
8206
8207
|
ref_key: "allSelectorEl",
|
|
@@ -8263,7 +8264,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8263
8264
|
row,
|
|
8264
8265
|
field
|
|
8265
8266
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$4, [
|
|
8266
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
8267
|
+
vue.createVNode(vue.unref(_sfc_main$10), {
|
|
8267
8268
|
id: field.id,
|
|
8268
8269
|
class: "embedded-field",
|
|
8269
8270
|
field,
|
|
@@ -8288,7 +8289,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8288
8289
|
};
|
|
8289
8290
|
}
|
|
8290
8291
|
});
|
|
8291
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8292
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-cf461a0e"]]);
|
|
8292
8293
|
const sides = ["top", "right", "bottom", "left"];
|
|
8293
8294
|
const alignments = ["start", "end"];
|
|
8294
8295
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -10835,7 +10836,7 @@ const Gt$1 = {
|
|
|
10835
10836
|
install: Ct$1,
|
|
10836
10837
|
options: h
|
|
10837
10838
|
};
|
|
10838
|
-
const _sfc_main$
|
|
10839
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
10839
10840
|
__name: "Dropdown",
|
|
10840
10841
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
10841
10842
|
value: {},
|
|
@@ -10913,9 +10914,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
10913
10914
|
};
|
|
10914
10915
|
}
|
|
10915
10916
|
});
|
|
10916
|
-
const _hoisted_1$
|
|
10917
|
-
const _hoisted_2$
|
|
10918
|
-
const _sfc_main$
|
|
10917
|
+
const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
|
|
10918
|
+
const _hoisted_2$x = { class: "ms-1" };
|
|
10919
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
10919
10920
|
__name: "FieldSetVue",
|
|
10920
10921
|
props: {
|
|
10921
10922
|
label: {},
|
|
@@ -10923,15 +10924,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
10923
10924
|
},
|
|
10924
10925
|
setup(__props) {
|
|
10925
10926
|
return (_ctx, _cache) => {
|
|
10926
|
-
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$
|
|
10927
|
-
vue.createElementVNode("legend", _hoisted_2$
|
|
10927
|
+
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$L, [
|
|
10928
|
+
vue.createElementVNode("legend", _hoisted_2$x, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
10928
10929
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
10929
10930
|
]);
|
|
10930
10931
|
};
|
|
10931
10932
|
}
|
|
10932
10933
|
});
|
|
10933
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10934
|
-
const _sfc_main$
|
|
10934
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
|
|
10935
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
10935
10936
|
__name: "Flag",
|
|
10936
10937
|
props: {
|
|
10937
10938
|
country: {},
|
|
@@ -10961,8 +10962,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
10961
10962
|
};
|
|
10962
10963
|
}
|
|
10963
10964
|
});
|
|
10964
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10965
|
-
const _sfc_main$
|
|
10965
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
|
|
10966
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
10966
10967
|
__name: "BagelForm",
|
|
10967
10968
|
props: {
|
|
10968
10969
|
modelValue: { default: () => ({}) },
|
|
@@ -11002,7 +11003,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
11002
11003
|
file: FileUpload,
|
|
11003
11004
|
date: _sfc_main$K,
|
|
11004
11005
|
tabs: TabsNav,
|
|
11005
|
-
bglform: _sfc_main$
|
|
11006
|
+
bglform: _sfc_main$S
|
|
11006
11007
|
};
|
|
11007
11008
|
if (field.$el === "textarea" && !((_a2 = field.attrs) == null ? void 0 : _a2.multiline)) {
|
|
11008
11009
|
field.attrs = { ...field.attrs, multiline: true };
|
|
@@ -11118,8 +11119,8 @@ function useTabs(group) {
|
|
|
11118
11119
|
});
|
|
11119
11120
|
return { currentTab };
|
|
11120
11121
|
}
|
|
11121
|
-
const _hoisted_1$
|
|
11122
|
-
const _sfc_main$
|
|
11122
|
+
const _hoisted_1$K = ["onClick"];
|
|
11123
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
11123
11124
|
__name: "TabsNav",
|
|
11124
11125
|
props: {
|
|
11125
11126
|
title: {},
|
|
@@ -11201,14 +11202,14 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
11201
11202
|
icon: tab.icon
|
|
11202
11203
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
11203
11204
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
11204
|
-
], 10, _hoisted_1$
|
|
11205
|
+
], 10, _hoisted_1$K);
|
|
11205
11206
|
}), 128))
|
|
11206
11207
|
], true)
|
|
11207
11208
|
], 2);
|
|
11208
11209
|
};
|
|
11209
11210
|
}
|
|
11210
11211
|
});
|
|
11211
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11212
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e680c2a4"]]);
|
|
11212
11213
|
const FORM_STATE_KEY = Symbol("bagelFormState");
|
|
11213
11214
|
function safeClone(obj) {
|
|
11214
11215
|
if (obj === null || typeof obj !== "object") return obj;
|
|
@@ -11270,8 +11271,8 @@ function useBagelFormState() {
|
|
|
11270
11271
|
if (!state2) throw new Error("BagelFormState must be provided");
|
|
11271
11272
|
return state2;
|
|
11272
11273
|
}
|
|
11273
|
-
const _hoisted_1$
|
|
11274
|
-
const _sfc_main$
|
|
11274
|
+
const _hoisted_1$J = { key: 1 };
|
|
11275
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
11275
11276
|
__name: "BglField",
|
|
11276
11277
|
props: {
|
|
11277
11278
|
field: {},
|
|
@@ -11301,7 +11302,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11301
11302
|
if (props2.field.$el === "file") return FileUpload;
|
|
11302
11303
|
if (props2.field.$el === "date") return _sfc_main$K;
|
|
11303
11304
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
11304
|
-
if (props2.field.$el === "bglform") return _sfc_main$
|
|
11305
|
+
if (props2.field.$el === "bglform") return _sfc_main$S;
|
|
11305
11306
|
return props2.field.$el ?? "div";
|
|
11306
11307
|
});
|
|
11307
11308
|
const fieldData = vue.computed({
|
|
@@ -11366,7 +11367,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11366
11367
|
fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
|
|
11367
11368
|
field: child,
|
|
11368
11369
|
"parent-path": props2.fieldID
|
|
11369
|
-
}, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
11370
|
+
}, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(child), 1))
|
|
11370
11371
|
], 64);
|
|
11371
11372
|
}), 128))
|
|
11372
11373
|
]),
|
|
@@ -11375,154 +11376,12 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11375
11376
|
};
|
|
11376
11377
|
}
|
|
11377
11378
|
});
|
|
11378
|
-
const
|
|
11379
|
-
|
|
11380
|
-
props: {
|
|
11381
|
-
label: {},
|
|
11382
|
-
fieldID: {},
|
|
11383
|
-
schema: {},
|
|
11384
|
-
modelValue: { default: () => ({}) },
|
|
11385
|
-
onDelete: {},
|
|
11386
|
-
onSubmit: {},
|
|
11387
|
-
status: {},
|
|
11388
|
-
tag: { default: "form" }
|
|
11389
|
-
},
|
|
11390
|
-
emits: ["update:modelValue", "submit", "dirty"],
|
|
11391
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11392
|
-
const props2 = __props;
|
|
11393
|
-
const emit2 = __emit;
|
|
11394
|
-
const slots = vue.useSlots();
|
|
11395
|
-
const { showModal } = useModal();
|
|
11396
|
-
const existingFormState = vue.inject(FORM_STATE_KEY);
|
|
11397
|
-
const isNested = Boolean(existingFormState && props2.fieldID);
|
|
11398
|
-
const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
|
|
11399
|
-
let emitDirty = vue.ref(false);
|
|
11400
|
-
if (!isNested) {
|
|
11401
|
-
vue.watch(() => props2.modelValue, (newVal) => {
|
|
11402
|
-
if (emitDirty.value) {
|
|
11403
|
-
emitDirty.value = false;
|
|
11404
|
-
return;
|
|
11405
|
-
}
|
|
11406
|
-
data2.value = newVal;
|
|
11407
|
-
}, { deep: true, immediate: true });
|
|
11408
|
-
vue.watch(() => data2.value, (newVal) => {
|
|
11409
|
-
if (emitDirty.value) return;
|
|
11410
|
-
emitDirty.value = true;
|
|
11411
|
-
emit2("dirty");
|
|
11412
|
-
emit2("update:modelValue", newVal);
|
|
11413
|
-
}, { deep: true });
|
|
11414
|
-
}
|
|
11415
|
-
const form = vue.ref();
|
|
11416
|
-
function validateForm() {
|
|
11417
|
-
setTimeout(() => {
|
|
11418
|
-
var _a2;
|
|
11419
|
-
return (_a2 = form.value) == null ? void 0 : _a2.reportValidity();
|
|
11420
|
-
}, 300);
|
|
11421
|
-
if (!form.value) return false;
|
|
11422
|
-
return form.value.reportValidity();
|
|
11423
|
-
}
|
|
11424
|
-
function clearForm() {
|
|
11425
|
-
if (!isNested) {
|
|
11426
|
-
data2.value = {};
|
|
11427
|
-
}
|
|
11428
|
-
}
|
|
11429
|
-
vue.watch(
|
|
11430
|
-
() => props2.status,
|
|
11431
|
-
(status) => {
|
|
11432
|
-
if (status === "success" && !isNested) {
|
|
11433
|
-
isDirty.value = false;
|
|
11434
|
-
clearForm();
|
|
11435
|
-
}
|
|
11436
|
-
},
|
|
11437
|
-
{ immediate: true }
|
|
11438
|
-
);
|
|
11439
|
-
function runSubmit() {
|
|
11440
|
-
const isValid2 = validateForm();
|
|
11441
|
-
if (!isValid2) return;
|
|
11442
|
-
emit2("submit", { ...data2.value });
|
|
11443
|
-
if (!isNested) {
|
|
11444
|
-
isDirty.value = false;
|
|
11445
|
-
}
|
|
11446
|
-
}
|
|
11447
|
-
const i18nT = (val) => val;
|
|
11448
|
-
function deleteItem() {
|
|
11449
|
-
showModal(
|
|
11450
|
-
{
|
|
11451
|
-
class: "small-modal",
|
|
11452
|
-
title: i18nT("Are you sure?"),
|
|
11453
|
-
actions: [
|
|
11454
|
-
{
|
|
11455
|
-
value: "Confirm",
|
|
11456
|
-
color: "red",
|
|
11457
|
-
onClick: () => {
|
|
11458
|
-
var _a2;
|
|
11459
|
-
return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
|
|
11460
|
-
}
|
|
11461
|
-
},
|
|
11462
|
-
{ value: "Cancel", color: "gray" }
|
|
11463
|
-
]
|
|
11464
|
-
},
|
|
11465
|
-
{ default: i18nT("form.deleteMessage") }
|
|
11466
|
-
);
|
|
11467
|
-
}
|
|
11468
|
-
const computedSchema = vue.computed(() => useBglSchema({ schema: props2.schema }));
|
|
11469
|
-
__expose({
|
|
11470
|
-
submit: runSubmit,
|
|
11471
|
-
validateForm,
|
|
11472
|
-
deleteItem,
|
|
11473
|
-
isDirty,
|
|
11474
|
-
clearForm
|
|
11475
|
-
});
|
|
11476
|
-
return (_ctx, _cache) => {
|
|
11477
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
11478
|
-
_ctx.tag === "template" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11479
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
11480
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
11481
|
-
key: field.id || `${i2}p`,
|
|
11482
|
-
fieldID: field.id,
|
|
11483
|
-
field
|
|
11484
|
-
}, null, 8, ["fieldID", "field"]);
|
|
11485
|
-
}), 128)),
|
|
11486
|
-
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11487
|
-
submit: runSubmit,
|
|
11488
|
-
isDirty: vue.unref(isDirty),
|
|
11489
|
-
validateForm
|
|
11490
|
-
})
|
|
11491
|
-
], 64)) : !vue.unref(slots).success || _ctx.status !== "success" ? (vue.openBlock(), vue.createElementBlock("form", {
|
|
11492
|
-
key: 1,
|
|
11493
|
-
ref_key: "form",
|
|
11494
|
-
ref: form,
|
|
11495
|
-
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
11496
|
-
}, [
|
|
11497
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
|
|
11498
|
-
key: 0,
|
|
11499
|
-
tag: "h4",
|
|
11500
|
-
label: _ctx.label
|
|
11501
|
-
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
11502
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
11503
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
11504
|
-
key: field.id || `${i2}p`,
|
|
11505
|
-
fieldID: field.id,
|
|
11506
|
-
field
|
|
11507
|
-
}, null, 8, ["fieldID", "field"]);
|
|
11508
|
-
}), 128)),
|
|
11509
|
-
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11510
|
-
submit: runSubmit,
|
|
11511
|
-
isDirty: vue.unref(isDirty),
|
|
11512
|
-
validateForm
|
|
11513
|
-
})
|
|
11514
|
-
], 544)) : vue.createCommentVNode("", true),
|
|
11515
|
-
_ctx.status === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 2 }) : vue.createCommentVNode("", true),
|
|
11516
|
-
_ctx.status === "error" ? vue.renderSlot(_ctx.$slots, "error", { key: 3 }) : vue.createCommentVNode("", true)
|
|
11517
|
-
], 64);
|
|
11518
|
-
};
|
|
11519
|
-
}
|
|
11520
|
-
});
|
|
11521
|
-
const _hoisted_1$H = { class: "label mb-05" };
|
|
11522
|
-
const _hoisted_2$v = {
|
|
11379
|
+
const _hoisted_1$I = { class: "label mb-05" };
|
|
11380
|
+
const _hoisted_2$w = {
|
|
11523
11381
|
key: 0,
|
|
11524
|
-
class: "
|
|
11382
|
+
class: "ps-025 border-start"
|
|
11525
11383
|
};
|
|
11384
|
+
const _hoisted_3$p = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
|
|
11526
11385
|
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
11527
11386
|
__name: "FieldArray",
|
|
11528
11387
|
props: {
|
|
@@ -11580,29 +11439,30 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11580
11439
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
11581
11440
|
class: vue.normalizeClass(props2.class)
|
|
11582
11441
|
}, [
|
|
11583
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
11584
|
-
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
11442
|
+
vue.createElementVNode("p", _hoisted_1$I, vue.toDisplayString(_ctx.label), 1),
|
|
11443
|
+
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
|
|
11585
11444
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
|
|
11586
11445
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
11587
11446
|
key: i2,
|
|
11588
11447
|
outline: "",
|
|
11589
11448
|
thin: "",
|
|
11590
|
-
class: "mb-05 itemBox transition
|
|
11449
|
+
class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
|
|
11591
11450
|
}, [
|
|
11592
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
11451
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
11593
11452
|
modelValue: data2.value[i2],
|
|
11594
11453
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
11595
11454
|
schema: _ctx.schema
|
|
11596
11455
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
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
|
+
])
|
|
11606
11466
|
]);
|
|
11607
11467
|
}), 128)),
|
|
11608
11468
|
_ctx.add ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
@@ -11614,12 +11474,12 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11614
11474
|
onClick: addItem
|
|
11615
11475
|
}, {
|
|
11616
11476
|
default: vue.withCtx(() => [
|
|
11617
|
-
vue.createElementVNode("p", null,
|
|
11477
|
+
vue.createElementVNode("p", null, vue.toDisplayString(_ctx.label), 1)
|
|
11618
11478
|
]),
|
|
11619
11479
|
_: 1
|
|
11620
11480
|
})) : vue.createCommentVNode("", true)
|
|
11621
11481
|
])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(data2.value, (_2, i2) => {
|
|
11622
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
11482
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
|
|
11623
11483
|
key: i2,
|
|
11624
11484
|
modelValue: data2.value[i2],
|
|
11625
11485
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
@@ -11630,7 +11490,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11630
11490
|
};
|
|
11631
11491
|
}
|
|
11632
11492
|
});
|
|
11633
|
-
const _hoisted_1$
|
|
11493
|
+
const _hoisted_1$H = { class: "primary-checkbox" };
|
|
11634
11494
|
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
11635
11495
|
__name: "Checkbox",
|
|
11636
11496
|
props: {
|
|
@@ -11641,7 +11501,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
11641
11501
|
setup(__props) {
|
|
11642
11502
|
const val = vue.useModel(__props, "modelValue");
|
|
11643
11503
|
return (_ctx, _cache) => {
|
|
11644
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
11504
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
|
|
11645
11505
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
11646
11506
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
11647
11507
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -11654,8 +11514,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
11654
11514
|
}
|
|
11655
11515
|
});
|
|
11656
11516
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
11657
|
-
const _hoisted_1$
|
|
11658
|
-
const _hoisted_2$
|
|
11517
|
+
const _hoisted_1$G = ["title"];
|
|
11518
|
+
const _hoisted_2$v = ["id", "value", "required"];
|
|
11659
11519
|
const _hoisted_3$o = ["for"];
|
|
11660
11520
|
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
11661
11521
|
__name: "CheckInput",
|
|
@@ -11691,7 +11551,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11691
11551
|
required: _ctx.required,
|
|
11692
11552
|
type: "checkbox",
|
|
11693
11553
|
class: "me-05"
|
|
11694
|
-
}, null, 8, _hoisted_2$
|
|
11554
|
+
}, null, 8, _hoisted_2$v), [
|
|
11695
11555
|
[vue.vModelCheckbox, checked.value]
|
|
11696
11556
|
]),
|
|
11697
11557
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -11699,13 +11559,13 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11699
11559
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
11700
11560
|
], true)
|
|
11701
11561
|
], 8, _hoisted_3$o)
|
|
11702
|
-
], 10, _hoisted_1$
|
|
11562
|
+
], 10, _hoisted_1$G);
|
|
11703
11563
|
};
|
|
11704
11564
|
}
|
|
11705
11565
|
});
|
|
11706
11566
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
|
|
11707
|
-
const _hoisted_1$
|
|
11708
|
-
const _hoisted_2$
|
|
11567
|
+
const _hoisted_1$F = { class: "mb-05" };
|
|
11568
|
+
const _hoisted_2$u = {
|
|
11709
11569
|
key: 0,
|
|
11710
11570
|
class: "label txt-start"
|
|
11711
11571
|
};
|
|
@@ -11798,8 +11658,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
11798
11658
|
}
|
|
11799
11659
|
}, { immediate: true });
|
|
11800
11660
|
return (_ctx, _cache) => {
|
|
11801
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
11802
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
11661
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
11662
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
11803
11663
|
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
|
|
11804
11664
|
vue.createElementVNode("div", {
|
|
11805
11665
|
class: "relative block h-100",
|
|
@@ -11835,8 +11695,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
11835
11695
|
}
|
|
11836
11696
|
});
|
|
11837
11697
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
11838
|
-
const _hoisted_1$
|
|
11839
|
-
const _hoisted_2$
|
|
11698
|
+
const _hoisted_1$E = ["title"];
|
|
11699
|
+
const _hoisted_2$t = ["id", "placeholder", "required"];
|
|
11840
11700
|
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
11841
11701
|
__name: "ColorPicker",
|
|
11842
11702
|
props: {
|
|
@@ -11875,11 +11735,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
11875
11735
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
11876
11736
|
class: { "no-edit": !_ctx.editMode },
|
|
11877
11737
|
required: _ctx.required
|
|
11878
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
11738
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
|
|
11879
11739
|
[vue.vModelText, inputVal.value]
|
|
11880
11740
|
])
|
|
11881
11741
|
])
|
|
11882
|
-
], 10, _hoisted_1$
|
|
11742
|
+
], 10, _hoisted_1$E)) : vue.createCommentVNode("", true);
|
|
11883
11743
|
};
|
|
11884
11744
|
}
|
|
11885
11745
|
});
|
|
@@ -13625,7 +13485,7 @@ function transpose(fromDate, constructor) {
|
|
|
13625
13485
|
const TIMEZONE_UNIT_PRIORITY = 10;
|
|
13626
13486
|
class Setter {
|
|
13627
13487
|
constructor() {
|
|
13628
|
-
|
|
13488
|
+
__publicField2(this, "subPriority", 0);
|
|
13629
13489
|
}
|
|
13630
13490
|
validate(_utcDate, _options) {
|
|
13631
13491
|
return true;
|
|
@@ -13652,8 +13512,8 @@ class ValueSetter extends Setter {
|
|
|
13652
13512
|
class DateToSystemTimezoneSetter extends Setter {
|
|
13653
13513
|
constructor() {
|
|
13654
13514
|
super(...arguments);
|
|
13655
|
-
|
|
13656
|
-
|
|
13515
|
+
__publicField2(this, "priority", TIMEZONE_UNIT_PRIORITY);
|
|
13516
|
+
__publicField2(this, "subPriority", -1);
|
|
13657
13517
|
}
|
|
13658
13518
|
set(date2, flags) {
|
|
13659
13519
|
if (flags.timestampIsSet) return date2;
|
|
@@ -13684,8 +13544,8 @@ class Parser {
|
|
|
13684
13544
|
class EraParser extends Parser {
|
|
13685
13545
|
constructor() {
|
|
13686
13546
|
super(...arguments);
|
|
13687
|
-
|
|
13688
|
-
|
|
13547
|
+
__publicField2(this, "priority", 140);
|
|
13548
|
+
__publicField2(this, "incompatibleTokens", ["R", "u", "t", "T"]);
|
|
13689
13549
|
}
|
|
13690
13550
|
parse(dateString, token, match2) {
|
|
13691
13551
|
switch (token) {
|
|
@@ -13863,8 +13723,8 @@ function isLeapYearIndex(year) {
|
|
|
13863
13723
|
class YearParser extends Parser {
|
|
13864
13724
|
constructor() {
|
|
13865
13725
|
super(...arguments);
|
|
13866
|
-
|
|
13867
|
-
|
|
13726
|
+
__publicField2(this, "priority", 130);
|
|
13727
|
+
__publicField2(this, "incompatibleTokens", ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"]);
|
|
13868
13728
|
}
|
|
13869
13729
|
parse(dateString, token, match2) {
|
|
13870
13730
|
const valueCallback = (year) => ({
|
|
@@ -13908,8 +13768,8 @@ class YearParser extends Parser {
|
|
|
13908
13768
|
class LocalWeekYearParser extends Parser {
|
|
13909
13769
|
constructor() {
|
|
13910
13770
|
super(...arguments);
|
|
13911
|
-
|
|
13912
|
-
|
|
13771
|
+
__publicField2(this, "priority", 130);
|
|
13772
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13913
13773
|
"y",
|
|
13914
13774
|
"R",
|
|
13915
13775
|
"u",
|
|
@@ -13971,8 +13831,8 @@ class LocalWeekYearParser extends Parser {
|
|
|
13971
13831
|
class ISOWeekYearParser extends Parser {
|
|
13972
13832
|
constructor() {
|
|
13973
13833
|
super(...arguments);
|
|
13974
|
-
|
|
13975
|
-
|
|
13834
|
+
__publicField2(this, "priority", 130);
|
|
13835
|
+
__publicField2(this, "incompatibleTokens", [
|
|
13976
13836
|
"G",
|
|
13977
13837
|
"y",
|
|
13978
13838
|
"Y",
|
|
@@ -14006,8 +13866,8 @@ class ISOWeekYearParser extends Parser {
|
|
|
14006
13866
|
class ExtendedYearParser extends Parser {
|
|
14007
13867
|
constructor() {
|
|
14008
13868
|
super(...arguments);
|
|
14009
|
-
|
|
14010
|
-
|
|
13869
|
+
__publicField2(this, "priority", 130);
|
|
13870
|
+
__publicField2(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
14011
13871
|
}
|
|
14012
13872
|
parse(dateString, token) {
|
|
14013
13873
|
if (token === "u") {
|
|
@@ -14024,8 +13884,8 @@ class ExtendedYearParser extends Parser {
|
|
|
14024
13884
|
class QuarterParser extends Parser {
|
|
14025
13885
|
constructor() {
|
|
14026
13886
|
super(...arguments);
|
|
14027
|
-
|
|
14028
|
-
|
|
13887
|
+
__publicField2(this, "priority", 120);
|
|
13888
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14029
13889
|
"Y",
|
|
14030
13890
|
"R",
|
|
14031
13891
|
"q",
|
|
@@ -14093,8 +13953,8 @@ class QuarterParser extends Parser {
|
|
|
14093
13953
|
class StandAloneQuarterParser extends Parser {
|
|
14094
13954
|
constructor() {
|
|
14095
13955
|
super(...arguments);
|
|
14096
|
-
|
|
14097
|
-
|
|
13956
|
+
__publicField2(this, "priority", 120);
|
|
13957
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14098
13958
|
"Y",
|
|
14099
13959
|
"R",
|
|
14100
13960
|
"Q",
|
|
@@ -14162,7 +14022,7 @@ class StandAloneQuarterParser extends Parser {
|
|
|
14162
14022
|
class MonthParser extends Parser {
|
|
14163
14023
|
constructor() {
|
|
14164
14024
|
super(...arguments);
|
|
14165
|
-
|
|
14025
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14166
14026
|
"Y",
|
|
14167
14027
|
"R",
|
|
14168
14028
|
"q",
|
|
@@ -14177,7 +14037,7 @@ class MonthParser extends Parser {
|
|
|
14177
14037
|
"t",
|
|
14178
14038
|
"T"
|
|
14179
14039
|
]);
|
|
14180
|
-
|
|
14040
|
+
__publicField2(this, "priority", 110);
|
|
14181
14041
|
}
|
|
14182
14042
|
parse(dateString, token, match2) {
|
|
14183
14043
|
const valueCallback = (value) => value - 1;
|
|
@@ -14232,8 +14092,8 @@ class MonthParser extends Parser {
|
|
|
14232
14092
|
class StandAloneMonthParser extends Parser {
|
|
14233
14093
|
constructor() {
|
|
14234
14094
|
super(...arguments);
|
|
14235
|
-
|
|
14236
|
-
|
|
14095
|
+
__publicField2(this, "priority", 110);
|
|
14096
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14237
14097
|
"Y",
|
|
14238
14098
|
"R",
|
|
14239
14099
|
"q",
|
|
@@ -14308,8 +14168,8 @@ function setWeek(date2, week, options) {
|
|
|
14308
14168
|
class LocalWeekParser extends Parser {
|
|
14309
14169
|
constructor() {
|
|
14310
14170
|
super(...arguments);
|
|
14311
|
-
|
|
14312
|
-
|
|
14171
|
+
__publicField2(this, "priority", 100);
|
|
14172
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14313
14173
|
"y",
|
|
14314
14174
|
"R",
|
|
14315
14175
|
"u",
|
|
@@ -14351,8 +14211,8 @@ function setISOWeek(date2, week) {
|
|
|
14351
14211
|
class ISOWeekParser extends Parser {
|
|
14352
14212
|
constructor() {
|
|
14353
14213
|
super(...arguments);
|
|
14354
|
-
|
|
14355
|
-
|
|
14214
|
+
__publicField2(this, "priority", 100);
|
|
14215
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14356
14216
|
"y",
|
|
14357
14217
|
"Y",
|
|
14358
14218
|
"u",
|
|
@@ -14404,9 +14264,9 @@ const DAYS_IN_MONTH_LEAP_YEAR = [
|
|
|
14404
14264
|
class DateParser extends Parser {
|
|
14405
14265
|
constructor() {
|
|
14406
14266
|
super(...arguments);
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14267
|
+
__publicField2(this, "priority", 90);
|
|
14268
|
+
__publicField2(this, "subPriority", 1);
|
|
14269
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14410
14270
|
"Y",
|
|
14411
14271
|
"R",
|
|
14412
14272
|
"q",
|
|
@@ -14450,9 +14310,9 @@ class DateParser extends Parser {
|
|
|
14450
14310
|
class DayOfYearParser extends Parser {
|
|
14451
14311
|
constructor() {
|
|
14452
14312
|
super(...arguments);
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
|
|
14313
|
+
__publicField2(this, "priority", 90);
|
|
14314
|
+
__publicField2(this, "subpriority", 1);
|
|
14315
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14456
14316
|
"Y",
|
|
14457
14317
|
"R",
|
|
14458
14318
|
"q",
|
|
@@ -14511,8 +14371,8 @@ function setDay(date2, day, options) {
|
|
|
14511
14371
|
class DayParser extends Parser {
|
|
14512
14372
|
constructor() {
|
|
14513
14373
|
super(...arguments);
|
|
14514
|
-
|
|
14515
|
-
|
|
14374
|
+
__publicField2(this, "priority", 90);
|
|
14375
|
+
__publicField2(this, "incompatibleTokens", ["D", "i", "e", "c", "t", "T"]);
|
|
14516
14376
|
}
|
|
14517
14377
|
parse(dateString, token, match2) {
|
|
14518
14378
|
switch (token) {
|
|
@@ -14554,8 +14414,8 @@ class DayParser extends Parser {
|
|
|
14554
14414
|
class LocalDayParser extends Parser {
|
|
14555
14415
|
constructor() {
|
|
14556
14416
|
super(...arguments);
|
|
14557
|
-
|
|
14558
|
-
|
|
14417
|
+
__publicField2(this, "priority", 90);
|
|
14418
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14559
14419
|
"y",
|
|
14560
14420
|
"R",
|
|
14561
14421
|
"u",
|
|
@@ -14627,8 +14487,8 @@ class LocalDayParser extends Parser {
|
|
|
14627
14487
|
class StandAloneLocalDayParser extends Parser {
|
|
14628
14488
|
constructor() {
|
|
14629
14489
|
super(...arguments);
|
|
14630
|
-
|
|
14631
|
-
|
|
14490
|
+
__publicField2(this, "priority", 90);
|
|
14491
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14632
14492
|
"y",
|
|
14633
14493
|
"R",
|
|
14634
14494
|
"u",
|
|
@@ -14706,8 +14566,8 @@ function setISODay(date2, day) {
|
|
|
14706
14566
|
class ISODayParser extends Parser {
|
|
14707
14567
|
constructor() {
|
|
14708
14568
|
super(...arguments);
|
|
14709
|
-
|
|
14710
|
-
|
|
14569
|
+
__publicField2(this, "priority", 90);
|
|
14570
|
+
__publicField2(this, "incompatibleTokens", [
|
|
14711
14571
|
"y",
|
|
14712
14572
|
"Y",
|
|
14713
14573
|
"u",
|
|
@@ -14809,8 +14669,8 @@ class ISODayParser extends Parser {
|
|
|
14809
14669
|
class AMPMParser extends Parser {
|
|
14810
14670
|
constructor() {
|
|
14811
14671
|
super(...arguments);
|
|
14812
|
-
|
|
14813
|
-
|
|
14672
|
+
__publicField2(this, "priority", 80);
|
|
14673
|
+
__publicField2(this, "incompatibleTokens", ["b", "B", "H", "k", "t", "T"]);
|
|
14814
14674
|
}
|
|
14815
14675
|
parse(dateString, token, match2) {
|
|
14816
14676
|
switch (token) {
|
|
@@ -14851,8 +14711,8 @@ class AMPMParser extends Parser {
|
|
|
14851
14711
|
class AMPMMidnightParser extends Parser {
|
|
14852
14712
|
constructor() {
|
|
14853
14713
|
super(...arguments);
|
|
14854
|
-
|
|
14855
|
-
|
|
14714
|
+
__publicField2(this, "priority", 80);
|
|
14715
|
+
__publicField2(this, "incompatibleTokens", ["a", "B", "H", "k", "t", "T"]);
|
|
14856
14716
|
}
|
|
14857
14717
|
parse(dateString, token, match2) {
|
|
14858
14718
|
switch (token) {
|
|
@@ -14893,8 +14753,8 @@ class AMPMMidnightParser extends Parser {
|
|
|
14893
14753
|
class DayPeriodParser extends Parser {
|
|
14894
14754
|
constructor() {
|
|
14895
14755
|
super(...arguments);
|
|
14896
|
-
|
|
14897
|
-
|
|
14756
|
+
__publicField2(this, "priority", 80);
|
|
14757
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "t", "T"]);
|
|
14898
14758
|
}
|
|
14899
14759
|
parse(dateString, token, match2) {
|
|
14900
14760
|
switch (token) {
|
|
@@ -14935,8 +14795,8 @@ class DayPeriodParser extends Parser {
|
|
|
14935
14795
|
class Hour1to12Parser extends Parser {
|
|
14936
14796
|
constructor() {
|
|
14937
14797
|
super(...arguments);
|
|
14938
|
-
|
|
14939
|
-
|
|
14798
|
+
__publicField2(this, "priority", 70);
|
|
14799
|
+
__publicField2(this, "incompatibleTokens", ["H", "K", "k", "t", "T"]);
|
|
14940
14800
|
}
|
|
14941
14801
|
parse(dateString, token, match2) {
|
|
14942
14802
|
switch (token) {
|
|
@@ -14966,8 +14826,8 @@ class Hour1to12Parser extends Parser {
|
|
|
14966
14826
|
class Hour0to23Parser extends Parser {
|
|
14967
14827
|
constructor() {
|
|
14968
14828
|
super(...arguments);
|
|
14969
|
-
|
|
14970
|
-
|
|
14829
|
+
__publicField2(this, "priority", 70);
|
|
14830
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "K", "k", "t", "T"]);
|
|
14971
14831
|
}
|
|
14972
14832
|
parse(dateString, token, match2) {
|
|
14973
14833
|
switch (token) {
|
|
@@ -14990,8 +14850,8 @@ class Hour0to23Parser extends Parser {
|
|
|
14990
14850
|
class Hour0To11Parser extends Parser {
|
|
14991
14851
|
constructor() {
|
|
14992
14852
|
super(...arguments);
|
|
14993
|
-
|
|
14994
|
-
|
|
14853
|
+
__publicField2(this, "priority", 70);
|
|
14854
|
+
__publicField2(this, "incompatibleTokens", ["h", "H", "k", "t", "T"]);
|
|
14995
14855
|
}
|
|
14996
14856
|
parse(dateString, token, match2) {
|
|
14997
14857
|
switch (token) {
|
|
@@ -15019,8 +14879,8 @@ class Hour0To11Parser extends Parser {
|
|
|
15019
14879
|
class Hour1To24Parser extends Parser {
|
|
15020
14880
|
constructor() {
|
|
15021
14881
|
super(...arguments);
|
|
15022
|
-
|
|
15023
|
-
|
|
14882
|
+
__publicField2(this, "priority", 70);
|
|
14883
|
+
__publicField2(this, "incompatibleTokens", ["a", "b", "h", "H", "K", "t", "T"]);
|
|
15024
14884
|
}
|
|
15025
14885
|
parse(dateString, token, match2) {
|
|
15026
14886
|
switch (token) {
|
|
@@ -15044,8 +14904,8 @@ class Hour1To24Parser extends Parser {
|
|
|
15044
14904
|
class MinuteParser extends Parser {
|
|
15045
14905
|
constructor() {
|
|
15046
14906
|
super(...arguments);
|
|
15047
|
-
|
|
15048
|
-
|
|
14907
|
+
__publicField2(this, "priority", 60);
|
|
14908
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15049
14909
|
}
|
|
15050
14910
|
parse(dateString, token, match2) {
|
|
15051
14911
|
switch (token) {
|
|
@@ -15068,8 +14928,8 @@ class MinuteParser extends Parser {
|
|
|
15068
14928
|
class SecondParser extends Parser {
|
|
15069
14929
|
constructor() {
|
|
15070
14930
|
super(...arguments);
|
|
15071
|
-
|
|
15072
|
-
|
|
14931
|
+
__publicField2(this, "priority", 50);
|
|
14932
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15073
14933
|
}
|
|
15074
14934
|
parse(dateString, token, match2) {
|
|
15075
14935
|
switch (token) {
|
|
@@ -15092,8 +14952,8 @@ class SecondParser extends Parser {
|
|
|
15092
14952
|
class FractionOfSecondParser extends Parser {
|
|
15093
14953
|
constructor() {
|
|
15094
14954
|
super(...arguments);
|
|
15095
|
-
|
|
15096
|
-
|
|
14955
|
+
__publicField2(this, "priority", 30);
|
|
14956
|
+
__publicField2(this, "incompatibleTokens", ["t", "T"]);
|
|
15097
14957
|
}
|
|
15098
14958
|
parse(dateString, token) {
|
|
15099
14959
|
const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));
|
|
@@ -15107,8 +14967,8 @@ class FractionOfSecondParser extends Parser {
|
|
|
15107
14967
|
class ISOTimezoneWithZParser extends Parser {
|
|
15108
14968
|
constructor() {
|
|
15109
14969
|
super(...arguments);
|
|
15110
|
-
|
|
15111
|
-
|
|
14970
|
+
__publicField2(this, "priority", 10);
|
|
14971
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "x"]);
|
|
15112
14972
|
}
|
|
15113
14973
|
parse(dateString, token) {
|
|
15114
14974
|
switch (token) {
|
|
@@ -15145,8 +15005,8 @@ class ISOTimezoneWithZParser extends Parser {
|
|
|
15145
15005
|
class ISOTimezoneParser extends Parser {
|
|
15146
15006
|
constructor() {
|
|
15147
15007
|
super(...arguments);
|
|
15148
|
-
|
|
15149
|
-
|
|
15008
|
+
__publicField2(this, "priority", 10);
|
|
15009
|
+
__publicField2(this, "incompatibleTokens", ["t", "T", "X"]);
|
|
15150
15010
|
}
|
|
15151
15011
|
parse(dateString, token) {
|
|
15152
15012
|
switch (token) {
|
|
@@ -15183,8 +15043,8 @@ class ISOTimezoneParser extends Parser {
|
|
|
15183
15043
|
class TimestampSecondsParser extends Parser {
|
|
15184
15044
|
constructor() {
|
|
15185
15045
|
super(...arguments);
|
|
15186
|
-
|
|
15187
|
-
|
|
15046
|
+
__publicField2(this, "priority", 40);
|
|
15047
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15188
15048
|
}
|
|
15189
15049
|
parse(dateString) {
|
|
15190
15050
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -15196,8 +15056,8 @@ class TimestampSecondsParser extends Parser {
|
|
|
15196
15056
|
class TimestampMillisecondsParser extends Parser {
|
|
15197
15057
|
constructor() {
|
|
15198
15058
|
super(...arguments);
|
|
15199
|
-
|
|
15200
|
-
|
|
15059
|
+
__publicField2(this, "priority", 20);
|
|
15060
|
+
__publicField2(this, "incompatibleTokens", "*");
|
|
15201
15061
|
}
|
|
15202
15062
|
parse(dateString) {
|
|
15203
15063
|
return parseAnyDigitsSigned(dateString);
|
|
@@ -20437,8 +20297,8 @@ const eo = ({
|
|
|
20437
20297
|
Object.entries(go).forEach(([e, t]) => {
|
|
20438
20298
|
e !== "default" && (Hn[e] = t);
|
|
20439
20299
|
});
|
|
20440
|
-
const _hoisted_1$
|
|
20441
|
-
const _hoisted_2$
|
|
20300
|
+
const _hoisted_1$D = ["title"];
|
|
20301
|
+
const _hoisted_2$s = { key: 0 };
|
|
20442
20302
|
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
20443
20303
|
__name: "DateInput",
|
|
20444
20304
|
props: {
|
|
@@ -20481,7 +20341,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
20481
20341
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20482
20342
|
title: _ctx.label
|
|
20483
20343
|
}, [
|
|
20484
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20344
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
20485
20345
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
20486
20346
|
ref_key: "datePicker",
|
|
20487
20347
|
ref: datePicker,
|
|
@@ -20497,12 +20357,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
20497
20357
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
20498
20358
|
"start-time": { hours: 8, minutes: 0 }
|
|
20499
20359
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
20500
|
-
], 10, _hoisted_1$
|
|
20360
|
+
], 10, _hoisted_1$D);
|
|
20501
20361
|
};
|
|
20502
20362
|
}
|
|
20503
20363
|
});
|
|
20504
|
-
const _hoisted_1$
|
|
20505
|
-
const _hoisted_2$
|
|
20364
|
+
const _hoisted_1$C = ["title"];
|
|
20365
|
+
const _hoisted_2$r = { key: 0 };
|
|
20506
20366
|
const _hoisted_3$m = {
|
|
20507
20367
|
key: 0,
|
|
20508
20368
|
class: "required"
|
|
@@ -20519,17 +20379,17 @@ const _hoisted_11$3 = {
|
|
|
20519
20379
|
class: "calendar-grid grid gap-025"
|
|
20520
20380
|
};
|
|
20521
20381
|
const _hoisted_12$3 = ["disabled", "onClick"];
|
|
20522
|
-
const _hoisted_13$
|
|
20382
|
+
const _hoisted_13$2 = {
|
|
20523
20383
|
key: 1,
|
|
20524
20384
|
class: "month-grid grid gap-05 p-05"
|
|
20525
20385
|
};
|
|
20526
20386
|
const _hoisted_14$2 = ["disabled", "onClick"];
|
|
20527
|
-
const _hoisted_15$
|
|
20387
|
+
const _hoisted_15$2 = {
|
|
20528
20388
|
key: 2,
|
|
20529
20389
|
class: "year-grid grid gap-05 p-0"
|
|
20530
20390
|
};
|
|
20531
|
-
const _hoisted_16 = ["disabled", "onClick"];
|
|
20532
|
-
const _hoisted_17 = {
|
|
20391
|
+
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
20392
|
+
const _hoisted_17$2 = {
|
|
20533
20393
|
key: 0,
|
|
20534
20394
|
class: "time-picker flex column gap-1 w-120px"
|
|
20535
20395
|
};
|
|
@@ -20708,7 +20568,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20708
20568
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20709
20569
|
title: _ctx.label
|
|
20710
20570
|
}, [
|
|
20711
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20571
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
|
|
20712
20572
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
20713
20573
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, "*")) : vue.createCommentVNode("", true)
|
|
20714
20574
|
])) : vue.createCommentVNode("", true),
|
|
@@ -20791,7 +20651,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20791
20651
|
onClick: ($event) => selectDate(date2)
|
|
20792
20652
|
}, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
|
|
20793
20653
|
}), 128))
|
|
20794
|
-
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$
|
|
20654
|
+
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$2, [
|
|
20795
20655
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months.value, (month) => {
|
|
20796
20656
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
20797
20657
|
key: month.value,
|
|
@@ -20803,7 +20663,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20803
20663
|
onClick: ($event) => selectMonth(month.value)
|
|
20804
20664
|
}, vue.toDisplayString(month.name), 11, _hoisted_14$2);
|
|
20805
20665
|
}), 128))
|
|
20806
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$
|
|
20666
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$2, [
|
|
20807
20667
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years.value, (year) => {
|
|
20808
20668
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
20809
20669
|
key: year.value,
|
|
@@ -20813,11 +20673,11 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20813
20673
|
}]),
|
|
20814
20674
|
disabled: year.disabled,
|
|
20815
20675
|
onClick: ($event) => selectYear(year.value)
|
|
20816
|
-
}, vue.toDisplayString(year.value), 11, _hoisted_16);
|
|
20676
|
+
}, vue.toDisplayString(year.value), 11, _hoisted_16$2);
|
|
20817
20677
|
}), 128))
|
|
20818
20678
|
]))
|
|
20819
20679
|
]),
|
|
20820
|
-
_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, [
|
|
20821
20681
|
vue.createElementVNode("div", _hoisted_18, [
|
|
20822
20682
|
vue.createVNode(vue.unref(NumberInput), {
|
|
20823
20683
|
center: "",
|
|
@@ -20872,13 +20732,13 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20872
20732
|
]),
|
|
20873
20733
|
_: 1
|
|
20874
20734
|
}, 8, ["shown"])
|
|
20875
|
-
], 10, _hoisted_1$
|
|
20735
|
+
], 10, _hoisted_1$C);
|
|
20876
20736
|
};
|
|
20877
20737
|
}
|
|
20878
20738
|
});
|
|
20879
20739
|
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
|
|
20880
|
-
const _hoisted_1$
|
|
20881
|
-
const _hoisted_2$
|
|
20740
|
+
const _hoisted_1$B = { class: "datetime-wrap" };
|
|
20741
|
+
const _hoisted_2$q = { class: "date-wrap" };
|
|
20882
20742
|
const _hoisted_3$l = {
|
|
20883
20743
|
key: 0,
|
|
20884
20744
|
class: "time-wrap"
|
|
@@ -20913,8 +20773,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
20913
20773
|
return `${hour}:${minute}`;
|
|
20914
20774
|
});
|
|
20915
20775
|
return (_ctx, _cache) => {
|
|
20916
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20917
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
20776
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
20777
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
20918
20778
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
20919
20779
|
modelValue: selectedDate.value,
|
|
20920
20780
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
@@ -20954,8 +20814,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
20954
20814
|
};
|
|
20955
20815
|
}
|
|
20956
20816
|
});
|
|
20957
|
-
const _hoisted_1$
|
|
20958
|
-
const _hoisted_2$
|
|
20817
|
+
const _hoisted_1$A = { class: "bagel-input" };
|
|
20818
|
+
const _hoisted_2$p = {
|
|
20959
20819
|
key: 0,
|
|
20960
20820
|
placeholder: "required",
|
|
20961
20821
|
type: "text",
|
|
@@ -20963,35 +20823,38 @@ const _hoisted_2$o = {
|
|
|
20963
20823
|
class: "pixel"
|
|
20964
20824
|
};
|
|
20965
20825
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
20966
|
-
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
20967
|
-
const _hoisted_5$b = {
|
|
20826
|
+
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
20827
|
+
const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
20828
|
+
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
20829
|
+
const _hoisted_7$6 = {
|
|
20968
20830
|
key: 1,
|
|
20969
20831
|
class: "txt-gray txt-12"
|
|
20970
20832
|
};
|
|
20971
|
-
const
|
|
20833
|
+
const _hoisted_8$3 = {
|
|
20972
20834
|
key: 0,
|
|
20973
20835
|
class: "bgl-multi-preview"
|
|
20974
20836
|
};
|
|
20975
|
-
const
|
|
20976
|
-
const
|
|
20977
|
-
const
|
|
20837
|
+
const _hoisted_9$2 = { class: "m-0" };
|
|
20838
|
+
const _hoisted_10$2 = { class: "no-margin multi-preview-txt" };
|
|
20839
|
+
const _hoisted_11$2 = {
|
|
20978
20840
|
key: 0,
|
|
20979
20841
|
class: "progress"
|
|
20980
20842
|
};
|
|
20981
|
-
const
|
|
20843
|
+
const _hoisted_12$2 = {
|
|
20982
20844
|
key: 1,
|
|
20983
20845
|
class: "bgl-single-preview"
|
|
20984
20846
|
};
|
|
20985
|
-
const
|
|
20986
|
-
const
|
|
20847
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
20848
|
+
const _hoisted_14$1 = {
|
|
20987
20849
|
key: 0,
|
|
20988
20850
|
class: "h-100"
|
|
20989
20851
|
};
|
|
20990
|
-
const
|
|
20852
|
+
const _hoisted_15$1 = {
|
|
20991
20853
|
key: 0,
|
|
20992
20854
|
class: "progress"
|
|
20993
20855
|
};
|
|
20994
|
-
const
|
|
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" };
|
|
20995
20858
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
20996
20859
|
__name: "FileUpload",
|
|
20997
20860
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -21008,7 +20871,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21008
20871
|
theme: { default: "dropzone" },
|
|
21009
20872
|
accept: { default: "*" },
|
|
21010
20873
|
required: { type: Boolean },
|
|
21011
|
-
disabled: { type: Boolean }
|
|
20874
|
+
disabled: { type: Boolean },
|
|
20875
|
+
dropPlaceholder: {},
|
|
20876
|
+
noFilePlaceholder: {},
|
|
20877
|
+
btnPlaceholder: {}
|
|
21012
20878
|
}, {
|
|
21013
20879
|
"modelValue": {
|
|
21014
20880
|
default: () => []
|
|
@@ -21164,10 +21030,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21164
21030
|
return (_ctx, _cache) => {
|
|
21165
21031
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
21166
21032
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
21167
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21033
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
21168
21034
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
21169
|
-
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
21170
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
21035
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$p)) : vue.createCommentVNode("", true),
|
|
21036
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
|
|
21171
21037
|
key: 1,
|
|
21172
21038
|
outline: "",
|
|
21173
21039
|
class: "flex p-05 gap-1",
|
|
@@ -21180,13 +21046,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21180
21046
|
class: "px-1-5",
|
|
21181
21047
|
icon: "upload",
|
|
21182
21048
|
outline: "",
|
|
21049
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
21183
21050
|
onClick: browse
|
|
21184
|
-
},
|
|
21185
|
-
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
21186
|
-
vue.createTextVNode(" Upload ")
|
|
21187
|
-
])),
|
|
21188
|
-
_: 1
|
|
21189
|
-
})) : vue.createCommentVNode("", true),
|
|
21051
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true),
|
|
21190
21052
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21191
21053
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21192
21054
|
key: file.id,
|
|
@@ -21226,6 +21088,17 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21226
21088
|
])), [
|
|
21227
21089
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
21228
21090
|
]),
|
|
21091
|
+
vue.createElementVNode("div", _hoisted_5$b, [
|
|
21092
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21093
|
+
icon: "draft",
|
|
21094
|
+
size: 1.5
|
|
21095
|
+
}),
|
|
21096
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$9, [
|
|
21097
|
+
vue.createTextVNode(vue.toDisplayString(file.name), 1)
|
|
21098
|
+
])), [
|
|
21099
|
+
[_directive_lightbox, { src: file.url, download: true }]
|
|
21100
|
+
])
|
|
21101
|
+
]),
|
|
21229
21102
|
vue.createVNode(vue.unref(Btn), {
|
|
21230
21103
|
thin: "",
|
|
21231
21104
|
flat: "",
|
|
@@ -21236,7 +21109,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21236
21109
|
])
|
|
21237
21110
|
]);
|
|
21238
21111
|
}), 128)),
|
|
21239
|
-
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span",
|
|
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)
|
|
21240
21113
|
]),
|
|
21241
21114
|
_: 1
|
|
21242
21115
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21256,7 +21129,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21256
21129
|
files: storageFiles.value,
|
|
21257
21130
|
fileQueue: fileQueue.value
|
|
21258
21131
|
}, () => [
|
|
21259
|
-
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21132
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$3, [
|
|
21260
21133
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21261
21134
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
21262
21135
|
key: file.id,
|
|
@@ -21272,7 +21145,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21272
21145
|
icon: "draft",
|
|
21273
21146
|
class: "multi-preview"
|
|
21274
21147
|
})),
|
|
21275
|
-
vue.createElementVNode("p",
|
|
21148
|
+
vue.createElementVNode("p", _hoisted_9$2, vue.toDisplayString(file.name), 1),
|
|
21276
21149
|
vue.createVNode(vue.unref(Btn), {
|
|
21277
21150
|
thin: "",
|
|
21278
21151
|
flat: "",
|
|
@@ -21302,12 +21175,12 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21302
21175
|
icon: "draft",
|
|
21303
21176
|
class: "multi-preview"
|
|
21304
21177
|
})),
|
|
21305
|
-
vue.createElementVNode("p",
|
|
21178
|
+
vue.createElementVNode("p", _hoisted_10$2, vue.toDisplayString(fileQ.name), 1),
|
|
21306
21179
|
vue.createElementVNode("div", {
|
|
21307
21180
|
class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
21308
21181
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
21309
21182
|
}, [
|
|
21310
|
-
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
21183
|
+
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
21311
21184
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21312
21185
|
class: "success",
|
|
21313
21186
|
icon: "check"
|
|
@@ -21316,13 +21189,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21316
21189
|
]);
|
|
21317
21190
|
}), 128))
|
|
21318
21191
|
])) : vue.createCommentVNode("", true),
|
|
21319
|
-
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21192
|
+
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
|
|
21320
21193
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21321
21194
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21322
21195
|
key: file.id,
|
|
21323
21196
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
21324
21197
|
}, [
|
|
21325
|
-
vue.createElementVNode("div",
|
|
21198
|
+
vue.createElementVNode("div", _hoisted_13$1, [
|
|
21326
21199
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
21327
21200
|
color: "gray",
|
|
21328
21201
|
thin: "",
|
|
@@ -21352,7 +21225,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21352
21225
|
[_directive_tooltip, "Download"]
|
|
21353
21226
|
])
|
|
21354
21227
|
]),
|
|
21355
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21228
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
|
|
21356
21229
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
21357
21230
|
class: "single-preview",
|
|
21358
21231
|
src: file.url,
|
|
@@ -21380,7 +21253,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21380
21253
|
class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
21381
21254
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
21382
21255
|
}, [
|
|
21383
|
-
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
21256
|
+
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
21384
21257
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21385
21258
|
class: "success",
|
|
21386
21259
|
icon: "check"
|
|
@@ -21404,9 +21277,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21404
21277
|
fileQueue: fileQueue.value,
|
|
21405
21278
|
browse
|
|
21406
21279
|
}, () => [
|
|
21407
|
-
vue.createElementVNode("p",
|
|
21280
|
+
vue.createElementVNode("p", _hoisted_16$1, [
|
|
21408
21281
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
21409
|
-
|
|
21282
|
+
vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
21410
21283
|
])
|
|
21411
21284
|
], true) : vue.createCommentVNode("", true)
|
|
21412
21285
|
], 38))
|
|
@@ -21414,9 +21287,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21414
21287
|
};
|
|
21415
21288
|
}
|
|
21416
21289
|
});
|
|
21417
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
21418
|
-
const _hoisted_1$
|
|
21419
|
-
const _hoisted_2$
|
|
21290
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9939a5fb"]]);
|
|
21291
|
+
const _hoisted_1$z = ["title"];
|
|
21292
|
+
const _hoisted_2$o = { key: 0 };
|
|
21420
21293
|
const _hoisted_3$j = ["value", "placeholder"];
|
|
21421
21294
|
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
21422
21295
|
__name: "JSONInput",
|
|
@@ -21441,7 +21314,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21441
21314
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
21442
21315
|
title: _ctx.description
|
|
21443
21316
|
}, [
|
|
21444
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
21317
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
|
|
21445
21318
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
21446
21319
|
])) : vue.createCommentVNode("", true),
|
|
21447
21320
|
vue.createElementVNode("textarea", {
|
|
@@ -21450,13 +21323,13 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21450
21323
|
placeholder: _ctx.placeholder,
|
|
21451
21324
|
onInput: handleInput
|
|
21452
21325
|
}, null, 42, _hoisted_3$j)
|
|
21453
|
-
], 10, _hoisted_1$
|
|
21326
|
+
], 10, _hoisted_1$z);
|
|
21454
21327
|
};
|
|
21455
21328
|
}
|
|
21456
21329
|
});
|
|
21457
21330
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
21458
|
-
const _hoisted_1$
|
|
21459
|
-
const _hoisted_2$
|
|
21331
|
+
const _hoisted_1$y = ["for"];
|
|
21332
|
+
const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
21460
21333
|
const _hoisted_3$i = { key: 1 };
|
|
21461
21334
|
const _hoisted_4$b = {
|
|
21462
21335
|
key: 5,
|
|
@@ -21485,18 +21358,18 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21485
21358
|
emits: ["update:modelValue"],
|
|
21486
21359
|
setup(__props, { emit: __emit }) {
|
|
21487
21360
|
const emit2 = __emit;
|
|
21488
|
-
let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || 0);
|
|
21361
|
+
let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
|
|
21489
21362
|
const btnLayouts = ["horizontal", "vertical"];
|
|
21490
|
-
const canAdd = vue.computed(() => !(__props.max !== void 0 && numberValue.value + __props.step > __props.max));
|
|
21491
|
-
const canDecrement = vue.computed(() => !(__props.min !== void 0 && numberValue.value - __props.step < __props.min));
|
|
21363
|
+
const canAdd = vue.computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
|
|
21364
|
+
const canDecrement = vue.computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
|
|
21492
21365
|
function increment() {
|
|
21493
21366
|
if (!canAdd.value) return;
|
|
21494
|
-
numberValue.value
|
|
21367
|
+
numberValue.value = (numberValue.value || 0) + __props.step;
|
|
21495
21368
|
emit2("update:modelValue", numberValue.value);
|
|
21496
21369
|
}
|
|
21497
21370
|
function decrement() {
|
|
21498
21371
|
if (!canDecrement.value) return;
|
|
21499
|
-
numberValue.value
|
|
21372
|
+
numberValue.value = (numberValue.value || 0) - __props.step;
|
|
21500
21373
|
emit2("update:modelValue", numberValue.value);
|
|
21501
21374
|
}
|
|
21502
21375
|
function formatNumber2(num) {
|
|
@@ -21515,7 +21388,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21515
21388
|
emit2("update:modelValue", numberValue.value);
|
|
21516
21389
|
}
|
|
21517
21390
|
vue.watch(() => numberValue.value, () => {
|
|
21518
|
-
formattedValue.value = formatNumber2(numberValue.value);
|
|
21391
|
+
formattedValue.value = numberValue.value !== void 0 ? formatNumber2(numberValue.value) : "";
|
|
21519
21392
|
}, { immediate: true });
|
|
21520
21393
|
vue.watch(() => __props.modelValue, (newVal) => {
|
|
21521
21394
|
if (newVal !== numberValue.value) {
|
|
@@ -21531,7 +21404,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21531
21404
|
}])
|
|
21532
21405
|
}, [
|
|
21533
21406
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
21534
|
-
vue.
|
|
21407
|
+
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
21535
21408
|
vue.createElementVNode("div", {
|
|
21536
21409
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
21537
21410
|
}, [
|
|
@@ -21565,7 +21438,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21565
21438
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
21566
21439
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
21567
21440
|
]
|
|
21568
|
-
}, null, 42, _hoisted_2$
|
|
21441
|
+
}, null, 42, _hoisted_2$n), [
|
|
21569
21442
|
[
|
|
21570
21443
|
vue.vModelText,
|
|
21571
21444
|
vue.unref(formattedValue),
|
|
@@ -21618,13 +21491,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21618
21491
|
}, null, 8, ["disabled"])
|
|
21619
21492
|
])) : vue.createCommentVNode("", true)
|
|
21620
21493
|
], 2)
|
|
21621
|
-
], 8, _hoisted_1$
|
|
21494
|
+
], 8, _hoisted_1$y)
|
|
21622
21495
|
], 2);
|
|
21623
21496
|
};
|
|
21624
21497
|
}
|
|
21625
21498
|
});
|
|
21626
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
21627
|
-
const _hoisted_1$
|
|
21499
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-8ae5f930"]]);
|
|
21500
|
+
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21628
21501
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
21629
21502
|
__name: "OTP",
|
|
21630
21503
|
props: {
|
|
@@ -21723,15 +21596,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
21723
21596
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
21724
21597
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
21725
21598
|
onPaste: ($event) => handlePaste($event, ind)
|
|
21726
|
-
}, null, 40, _hoisted_1$
|
|
21599
|
+
}, null, 40, _hoisted_1$x);
|
|
21727
21600
|
}), 128))
|
|
21728
21601
|
], 512);
|
|
21729
21602
|
};
|
|
21730
21603
|
}
|
|
21731
21604
|
});
|
|
21732
21605
|
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
|
|
21733
|
-
const _hoisted_1$
|
|
21734
|
-
const _hoisted_2$
|
|
21606
|
+
const _hoisted_1$w = { class: "relative" };
|
|
21607
|
+
const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
21735
21608
|
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
21736
21609
|
__name: "PasswordInput",
|
|
21737
21610
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -21773,7 +21646,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21773
21646
|
);
|
|
21774
21647
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
21775
21648
|
return (_ctx, _cache) => {
|
|
21776
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21649
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
21777
21650
|
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
21778
21651
|
modelValue: password.value,
|
|
21779
21652
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -21781,7 +21654,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21781
21654
|
type: inputType.value,
|
|
21782
21655
|
class: "mb-0"
|
|
21783
21656
|
}), null, 16, ["modelValue", "type"]),
|
|
21784
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
21657
|
+
vue.createElementVNode("div", _hoisted_2$m, [
|
|
21785
21658
|
vue.createVNode(vue.unref(Btn), {
|
|
21786
21659
|
flat: "",
|
|
21787
21660
|
thin: "",
|
|
@@ -21794,8 +21667,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21794
21667
|
};
|
|
21795
21668
|
}
|
|
21796
21669
|
});
|
|
21797
|
-
const _hoisted_1$
|
|
21798
|
-
const _hoisted_2$
|
|
21670
|
+
const _hoisted_1$v = ["for"];
|
|
21671
|
+
const _hoisted_2$l = ["id", "name", "value", "required"];
|
|
21799
21672
|
const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
21800
21673
|
const _hoisted_4$a = ["src", "alt"];
|
|
21801
21674
|
const _hoisted_5$a = { class: "" };
|
|
@@ -21837,7 +21710,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
21837
21710
|
name: _ctx.groupName,
|
|
21838
21711
|
value: opt.value,
|
|
21839
21712
|
required: _ctx.required
|
|
21840
|
-
}, null, 8, _hoisted_2$
|
|
21713
|
+
}, null, 8, _hoisted_2$l), [
|
|
21841
21714
|
[vue.vModelRadio, selectedOption.value]
|
|
21842
21715
|
]),
|
|
21843
21716
|
vue.createElementVNode("div", _hoisted_3$h, [
|
|
@@ -21862,15 +21735,15 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
21862
21735
|
icon: "delete",
|
|
21863
21736
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
21864
21737
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
21865
|
-
], 8, _hoisted_1$
|
|
21738
|
+
], 8, _hoisted_1$v);
|
|
21866
21739
|
}), 128))
|
|
21867
21740
|
]);
|
|
21868
21741
|
};
|
|
21869
21742
|
}
|
|
21870
21743
|
});
|
|
21871
21744
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
|
|
21872
|
-
const _hoisted_1$
|
|
21873
|
-
const _hoisted_2$
|
|
21745
|
+
const _hoisted_1$u = { class: "bagel-input" };
|
|
21746
|
+
const _hoisted_2$k = { class: "pb-025" };
|
|
21874
21747
|
const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
|
|
21875
21748
|
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
21876
21749
|
const _hoisted_5$9 = ["for"];
|
|
@@ -21915,8 +21788,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
21915
21788
|
selectedValue.value = props2.modelValue;
|
|
21916
21789
|
});
|
|
21917
21790
|
return (_ctx, _cache) => {
|
|
21918
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21919
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
21791
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
21792
|
+
vue.createElementVNode("label", _hoisted_2$k, vue.toDisplayString(_ctx.label), 1),
|
|
21920
21793
|
vue.createElementVNode("div", _hoisted_3$g, [
|
|
21921
21794
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
21922
21795
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21942,8 +21815,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
21942
21815
|
}
|
|
21943
21816
|
});
|
|
21944
21817
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cf892d71"]]);
|
|
21945
|
-
const _hoisted_1$
|
|
21946
|
-
const _hoisted_2$
|
|
21818
|
+
const _hoisted_1$t = ["dir"];
|
|
21819
|
+
const _hoisted_2$j = {
|
|
21947
21820
|
key: 0,
|
|
21948
21821
|
class: "label"
|
|
21949
21822
|
};
|
|
@@ -22020,7 +21893,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
22020
21893
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22021
21894
|
dir: vue.unref(rtl) ? "rtl" : "ltr"
|
|
22022
21895
|
}, [
|
|
22023
|
-
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
21896
|
+
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
|
|
22024
21897
|
vue.createElementVNode("div", _hoisted_3$f, [
|
|
22025
21898
|
vue.createElementVNode("input", {
|
|
22026
21899
|
id: vue.unref(id),
|
|
@@ -22112,7 +21985,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
22112
21985
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
22113
21986
|
], true)
|
|
22114
21987
|
])
|
|
22115
|
-
], 8, _hoisted_1$
|
|
21988
|
+
], 8, _hoisted_1$t);
|
|
22116
21989
|
};
|
|
22117
21990
|
}
|
|
22118
21991
|
});
|
|
@@ -22206,8 +22079,8 @@ const toolbarOptions = [
|
|
|
22206
22079
|
{ name: "separator" },
|
|
22207
22080
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
22208
22081
|
];
|
|
22209
|
-
const _hoisted_1$
|
|
22210
|
-
const _hoisted_2$
|
|
22082
|
+
const _hoisted_1$s = { class: "grid grid-wrap p-05" };
|
|
22083
|
+
const _hoisted_2$i = ["onMousemove", "onClick"];
|
|
22211
22084
|
const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
|
|
22212
22085
|
const fb = 1;
|
|
22213
22086
|
const base = 5;
|
|
@@ -22227,7 +22100,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22227
22100
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
22228
22101
|
});
|
|
22229
22102
|
return (_ctx, _cache) => {
|
|
22230
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
22103
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
22231
22104
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
22232
22105
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22233
22106
|
key: `row-${row}`,
|
|
@@ -22254,7 +22127,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22254
22127
|
hoveredCol.value = col;
|
|
22255
22128
|
},
|
|
22256
22129
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
22257
|
-
}, null, 42, _hoisted_2$
|
|
22130
|
+
}, null, 42, _hoisted_2$i);
|
|
22258
22131
|
}), 128))
|
|
22259
22132
|
], 32);
|
|
22260
22133
|
}), 128)),
|
|
@@ -22264,7 +22137,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22264
22137
|
}
|
|
22265
22138
|
});
|
|
22266
22139
|
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4548b70f"]]);
|
|
22267
|
-
const _hoisted_1$
|
|
22140
|
+
const _hoisted_1$r = {
|
|
22268
22141
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
22269
22142
|
role: "toolbar"
|
|
22270
22143
|
};
|
|
@@ -22283,10 +22156,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22283
22156
|
}
|
|
22284
22157
|
return (_ctx, _cache) => {
|
|
22285
22158
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
22286
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
22159
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
22287
22160
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
22288
22161
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
22289
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
22162
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
22290
22163
|
key: 0,
|
|
22291
22164
|
placement: "bottom-start",
|
|
22292
22165
|
thin: "",
|
|
@@ -23246,8 +23119,8 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
23246
23119
|
}
|
|
23247
23120
|
});
|
|
23248
23121
|
}
|
|
23249
|
-
const _hoisted_1$
|
|
23250
|
-
const _hoisted_2$
|
|
23122
|
+
const _hoisted_1$q = { class: "bagel-input" };
|
|
23123
|
+
const _hoisted_2$h = { class: "content-area radius-05" };
|
|
23251
23124
|
const _hoisted_3$d = {
|
|
23252
23125
|
key: 1,
|
|
23253
23126
|
class: "flex"
|
|
@@ -23329,10 +23202,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23329
23202
|
});
|
|
23330
23203
|
return (_ctx, _cache) => {
|
|
23331
23204
|
var _a2, _b;
|
|
23332
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23205
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
23333
23206
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
23334
23207
|
vue.createElementVNode("div", {
|
|
23335
|
-
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 }])
|
|
23336
23209
|
}, [
|
|
23337
23210
|
vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
|
|
23338
23211
|
key: 0,
|
|
@@ -23343,7 +23216,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23343
23216
|
vue.createElementVNode("div", {
|
|
23344
23217
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
23345
23218
|
}, [
|
|
23346
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
23219
|
+
vue.createElementVNode("div", _hoisted_2$h, [
|
|
23347
23220
|
vue.createElementVNode("iframe", {
|
|
23348
23221
|
id: "rich-text-iframe",
|
|
23349
23222
|
ref_key: "iframe",
|
|
@@ -23407,9 +23280,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23407
23280
|
};
|
|
23408
23281
|
}
|
|
23409
23282
|
});
|
|
23410
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
23411
|
-
const _hoisted_1$
|
|
23412
|
-
const _hoisted_2$
|
|
23283
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-08117333"]]);
|
|
23284
|
+
const _hoisted_1$p = { class: "flex gap-05" };
|
|
23285
|
+
const _hoisted_2$g = ["disabled"];
|
|
23413
23286
|
const _hoisted_3$c = { key: 1 };
|
|
23414
23287
|
const _hoisted_4$7 = {
|
|
23415
23288
|
key: 2,
|
|
@@ -23594,7 +23467,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23594
23467
|
}
|
|
23595
23468
|
});
|
|
23596
23469
|
return (_ctx, _cache) => {
|
|
23597
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
23470
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
23598
23471
|
ref_key: "dropdown",
|
|
23599
23472
|
ref: dropdown,
|
|
23600
23473
|
shown: vue.unref(open),
|
|
@@ -23606,7 +23479,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23606
23479
|
trigger: vue.withCtx(() => [
|
|
23607
23480
|
vue.createElementVNode("label", null, [
|
|
23608
23481
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
23609
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
23482
|
+
vue.createElementVNode("div", _hoisted_1$p, [
|
|
23610
23483
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
23611
23484
|
key: 0,
|
|
23612
23485
|
ref_key: "searchInput",
|
|
@@ -23654,7 +23527,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23654
23527
|
key: 3,
|
|
23655
23528
|
thin: ""
|
|
23656
23529
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
23657
|
-
], 42, _hoisted_2$
|
|
23530
|
+
], 42, _hoisted_2$g)),
|
|
23658
23531
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
23659
23532
|
key: 2,
|
|
23660
23533
|
tabindex: "-1",
|
|
@@ -23673,7 +23546,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23673
23546
|
height: "25px",
|
|
23674
23547
|
class: "mx-1 my-1"
|
|
23675
23548
|
})) : vue.createCommentVNode("", true),
|
|
23676
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
23549
|
+
vue.createVNode(vue.unref(_sfc_main$_), {
|
|
23677
23550
|
class: "p-05",
|
|
23678
23551
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
23679
23552
|
}, {
|
|
@@ -24321,8 +24194,8 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
24321
24194
|
return svg.outerHTML;
|
|
24322
24195
|
}
|
|
24323
24196
|
}
|
|
24324
|
-
const _hoisted_1$
|
|
24325
|
-
const _hoisted_2$
|
|
24197
|
+
const _hoisted_1$o = ["disabled"];
|
|
24198
|
+
const _hoisted_2$f = {
|
|
24326
24199
|
key: 1,
|
|
24327
24200
|
placeholder: "required",
|
|
24328
24201
|
type: "text",
|
|
@@ -24482,8 +24355,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
24482
24355
|
ref: vCanvas,
|
|
24483
24356
|
class: "canvas",
|
|
24484
24357
|
disabled: _ctx.disabled
|
|
24485
|
-
}, null, 8, _hoisted_1$
|
|
24486
|
-
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
24358
|
+
}, null, 8, _hoisted_1$o),
|
|
24359
|
+
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$f)) : vue.createCommentVNode("", true)
|
|
24487
24360
|
], 34);
|
|
24488
24361
|
};
|
|
24489
24362
|
}
|
|
@@ -26967,8 +26840,8 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
26967
26840
|
}
|
|
26968
26841
|
}
|
|
26969
26842
|
});
|
|
26970
|
-
const _hoisted_1$
|
|
26971
|
-
const _hoisted_2$
|
|
26843
|
+
const _hoisted_1$n = ["title"];
|
|
26844
|
+
const _hoisted_2$e = { class: "bagel-input" };
|
|
26972
26845
|
const _hoisted_3$b = { class: "table-side-scroll" };
|
|
26973
26846
|
const _hoisted_4$6 = { class: "table-header" };
|
|
26974
26847
|
const _hoisted_5$6 = { class: "table-reorder" };
|
|
@@ -27038,7 +26911,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27038
26911
|
class: "table-field-wrap",
|
|
27039
26912
|
title: _ctx.description
|
|
27040
26913
|
}, [
|
|
27041
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
26914
|
+
vue.createElementVNode("div", _hoisted_2$e, [
|
|
27042
26915
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
27043
26916
|
]),
|
|
27044
26917
|
vue.createElementVNode("div", _hoisted_3$b, [
|
|
@@ -27113,7 +26986,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27113
26986
|
])),
|
|
27114
26987
|
_: 1
|
|
27115
26988
|
})
|
|
27116
|
-
], 8, _hoisted_1$
|
|
26989
|
+
], 8, _hoisted_1$n);
|
|
27117
26990
|
};
|
|
27118
26991
|
}
|
|
27119
26992
|
});
|
|
@@ -31564,8 +31437,8 @@ function parsePhoneNumber$1() {
|
|
|
31564
31437
|
function parsePhoneNumber() {
|
|
31565
31438
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
31566
31439
|
}
|
|
31567
|
-
const _hoisted_1$
|
|
31568
|
-
const _hoisted_2$
|
|
31440
|
+
const _hoisted_1$m = ["aria-expanded"];
|
|
31441
|
+
const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
|
|
31569
31442
|
const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
|
|
31570
31443
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
31571
31444
|
const _hoisted_5$5 = { key: 1 };
|
|
@@ -31832,7 +31705,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31832
31705
|
vue.withKeys(reset, ["tab"])
|
|
31833
31706
|
]
|
|
31834
31707
|
}, [
|
|
31835
|
-
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31708
|
+
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
31836
31709
|
key: 0,
|
|
31837
31710
|
ref_key: "phoneDropdown",
|
|
31838
31711
|
ref: phoneDropdown,
|
|
@@ -31855,7 +31728,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31855
31728
|
])
|
|
31856
31729
|
]),
|
|
31857
31730
|
default: vue.withCtx(() => [
|
|
31858
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
31731
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
31859
31732
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
31860
31733
|
key: 0,
|
|
31861
31734
|
modelValue: searchQuery.value,
|
|
@@ -31919,15 +31792,15 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31919
31792
|
}, null, 44, _hoisted_6$4), [
|
|
31920
31793
|
[vue.vModelText, phone.value]
|
|
31921
31794
|
])
|
|
31922
|
-
], 40, _hoisted_1$
|
|
31795
|
+
], 40, _hoisted_1$m)
|
|
31923
31796
|
])
|
|
31924
31797
|
], 2);
|
|
31925
31798
|
};
|
|
31926
31799
|
}
|
|
31927
31800
|
});
|
|
31928
31801
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-492fcc54"]]);
|
|
31929
|
-
const _hoisted_1$
|
|
31930
|
-
const _hoisted_2$
|
|
31802
|
+
const _hoisted_1$l = ["title"];
|
|
31803
|
+
const _hoisted_2$c = ["for"];
|
|
31931
31804
|
const _hoisted_3$9 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
31932
31805
|
const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
31933
31806
|
const _hoisted_5$4 = { key: 2 };
|
|
@@ -32066,14 +31939,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
32066
31939
|
key: 4,
|
|
32067
31940
|
icon: _ctx.icon
|
|
32068
31941
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
32069
|
-
], 8, _hoisted_2$
|
|
32070
|
-
], 10, _hoisted_1$
|
|
31942
|
+
], 8, _hoisted_2$c)
|
|
31943
|
+
], 10, _hoisted_1$l);
|
|
32071
31944
|
};
|
|
32072
31945
|
}
|
|
32073
31946
|
});
|
|
32074
31947
|
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cc17f96e"]]);
|
|
32075
|
-
const _hoisted_1$
|
|
32076
|
-
const _hoisted_2$
|
|
31948
|
+
const _hoisted_1$k = ["title"];
|
|
31949
|
+
const _hoisted_2$b = ["id", "required"];
|
|
32077
31950
|
const _hoisted_3$8 = ["for"];
|
|
32078
31951
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
32079
31952
|
__name: "ToggleInput",
|
|
@@ -32111,7 +31984,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32111
31984
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
32112
31985
|
type: "checkbox",
|
|
32113
31986
|
required: _ctx.required
|
|
32114
|
-
}, null, 8, _hoisted_2$
|
|
31987
|
+
}, null, 8, _hoisted_2$b), [
|
|
32115
31988
|
[vue.vModelCheckbox, checked.value]
|
|
32116
31989
|
]),
|
|
32117
31990
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -32119,7 +31992,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32119
31992
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
32120
31993
|
], true)
|
|
32121
31994
|
], 8, _hoisted_3$8)
|
|
32122
|
-
], 10, _hoisted_1$
|
|
31995
|
+
], 10, _hoisted_1$k);
|
|
32123
31996
|
};
|
|
32124
31997
|
}
|
|
32125
31998
|
});
|
|
@@ -32149,8 +32022,8 @@ const files = {
|
|
|
32149
32022
|
});
|
|
32150
32023
|
}
|
|
32151
32024
|
};
|
|
32152
|
-
const _hoisted_1$
|
|
32153
|
-
const _hoisted_2$
|
|
32025
|
+
const _hoisted_1$j = { class: "bagel-input" };
|
|
32026
|
+
const _hoisted_2$a = { key: 0 };
|
|
32154
32027
|
const _hoisted_3$7 = {
|
|
32155
32028
|
key: 1,
|
|
32156
32029
|
placeholder: "required",
|
|
@@ -32159,35 +32032,37 @@ const _hoisted_3$7 = {
|
|
|
32159
32032
|
class: "pixel"
|
|
32160
32033
|
};
|
|
32161
32034
|
const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
|
|
32162
|
-
const _hoisted_5$3 = { class: "
|
|
32163
|
-
const _hoisted_6$3 = {
|
|
32035
|
+
const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
32036
|
+
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
|
|
32037
|
+
const _hoisted_7$2 = {
|
|
32164
32038
|
key: 1,
|
|
32165
32039
|
class: "txt-gray txt-12"
|
|
32166
32040
|
};
|
|
32167
|
-
const
|
|
32041
|
+
const _hoisted_8$2 = {
|
|
32168
32042
|
key: 0,
|
|
32169
32043
|
class: "bgl-multi-preview"
|
|
32170
32044
|
};
|
|
32171
|
-
const
|
|
32172
|
-
const
|
|
32173
|
-
const
|
|
32045
|
+
const _hoisted_9$1 = { class: "m-0" };
|
|
32046
|
+
const _hoisted_10$1 = { class: "no-margin multi-preview-txt" };
|
|
32047
|
+
const _hoisted_11$1 = {
|
|
32174
32048
|
key: 0,
|
|
32175
32049
|
class: "progress"
|
|
32176
32050
|
};
|
|
32177
|
-
const
|
|
32051
|
+
const _hoisted_12$1 = {
|
|
32178
32052
|
key: 1,
|
|
32179
32053
|
class: "bgl-single-preview"
|
|
32180
32054
|
};
|
|
32181
|
-
const
|
|
32182
|
-
const
|
|
32055
|
+
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
32056
|
+
const _hoisted_14 = {
|
|
32183
32057
|
key: 0,
|
|
32184
32058
|
class: "h-100"
|
|
32185
32059
|
};
|
|
32186
|
-
const
|
|
32060
|
+
const _hoisted_15 = {
|
|
32187
32061
|
key: 0,
|
|
32188
32062
|
class: "progress"
|
|
32189
32063
|
};
|
|
32190
|
-
const
|
|
32064
|
+
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
32065
|
+
const _hoisted_17 = { class: "pretty balance" };
|
|
32191
32066
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
32192
32067
|
__name: "UploadInput",
|
|
32193
32068
|
props: {
|
|
@@ -32203,7 +32078,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32203
32078
|
accept: { default: "*" },
|
|
32204
32079
|
required: { type: Boolean },
|
|
32205
32080
|
disabled: { type: Boolean },
|
|
32206
|
-
baseURL: {}
|
|
32081
|
+
baseURL: {},
|
|
32082
|
+
dropPlaceholder: {},
|
|
32083
|
+
noFilePlaceholder: {},
|
|
32084
|
+
btnPlaceholder: {}
|
|
32207
32085
|
},
|
|
32208
32086
|
emits: ["update:modelValue", "addFileStart"],
|
|
32209
32087
|
setup(__props, { emit: __emit }) {
|
|
@@ -32296,10 +32174,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32296
32174
|
return (_ctx, _cache) => {
|
|
32297
32175
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
32298
32176
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
32299
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
32300
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
32177
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
32178
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$a, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
32301
32179
|
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$7)) : vue.createCommentVNode("", true),
|
|
32302
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
32180
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
|
|
32303
32181
|
key: 2,
|
|
32304
32182
|
outline: "",
|
|
32305
32183
|
class: "flex p-05 gap-1",
|
|
@@ -32312,13 +32190,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32312
32190
|
class: "px-1-5",
|
|
32313
32191
|
icon: "upload",
|
|
32314
32192
|
outline: "",
|
|
32193
|
+
value: _ctx.btnPlaceholder || "Upload",
|
|
32315
32194
|
onClick: browse
|
|
32316
|
-
},
|
|
32317
|
-
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
32318
|
-
vue.createTextVNode(" Upload ")
|
|
32319
|
-
])),
|
|
32320
|
-
_: 1
|
|
32321
|
-
})) : vue.createCommentVNode("", true),
|
|
32195
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true),
|
|
32322
32196
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32323
32197
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32324
32198
|
key: path_key,
|
|
@@ -32348,15 +32222,21 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32348
32222
|
href: pathToUrl(path_key),
|
|
32349
32223
|
download: path_key.split("/").pop()
|
|
32350
32224
|
}, null, 8, ["href", "download"]),
|
|
32351
|
-
vue.
|
|
32352
|
-
vue.
|
|
32353
|
-
|
|
32354
|
-
|
|
32225
|
+
vue.createElementVNode("div", _hoisted_5$3, [
|
|
32226
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32227
|
+
icon: "draft",
|
|
32228
|
+
size: 1.5
|
|
32229
|
+
}),
|
|
32230
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, [
|
|
32231
|
+
vue.createTextVNode(vue.toDisplayString(path_key.split("/").pop()), 1)
|
|
32232
|
+
])), [
|
|
32233
|
+
[_directive_lightbox, { src: pathToUrl(path_key), download: true }]
|
|
32234
|
+
])
|
|
32355
32235
|
])
|
|
32356
32236
|
])
|
|
32357
32237
|
]);
|
|
32358
32238
|
}), 128)),
|
|
32359
|
-
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span",
|
|
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)
|
|
32360
32240
|
]),
|
|
32361
32241
|
_: 1
|
|
32362
32242
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -32376,7 +32256,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32376
32256
|
files: pathKeys.value,
|
|
32377
32257
|
fileQueue: fileQueue.value
|
|
32378
32258
|
}, () => [
|
|
32379
|
-
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32259
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
|
|
32380
32260
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32381
32261
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
32382
32262
|
key: path_key,
|
|
@@ -32391,7 +32271,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32391
32271
|
icon: "description",
|
|
32392
32272
|
class: "multi-preview"
|
|
32393
32273
|
})),
|
|
32394
|
-
vue.createElementVNode("p",
|
|
32274
|
+
vue.createElementVNode("p", _hoisted_9$1, vue.toDisplayString(path_key.split("/").pop()), 1),
|
|
32395
32275
|
vue.createVNode(vue.unref(Btn), {
|
|
32396
32276
|
thin: "",
|
|
32397
32277
|
flat: "",
|
|
@@ -32418,12 +32298,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32418
32298
|
icon: "description",
|
|
32419
32299
|
class: "multi-preview"
|
|
32420
32300
|
})),
|
|
32421
|
-
vue.createElementVNode("p",
|
|
32301
|
+
vue.createElementVNode("p", _hoisted_10$1, vue.toDisplayString(file.name), 1),
|
|
32422
32302
|
vue.createElementVNode("div", {
|
|
32423
32303
|
class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
32424
32304
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
32425
32305
|
}, [
|
|
32426
|
-
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
32306
|
+
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$1, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
32427
32307
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32428
32308
|
class: "success",
|
|
32429
32309
|
icon: "check_circle"
|
|
@@ -32431,13 +32311,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32431
32311
|
], 6)
|
|
32432
32312
|
], 2);
|
|
32433
32313
|
}), 128))
|
|
32434
|
-
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32314
|
+
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
|
|
32435
32315
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32436
32316
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32437
32317
|
key: path_key,
|
|
32438
32318
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
32439
32319
|
}, [
|
|
32440
|
-
vue.createElementVNode("div",
|
|
32320
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
32441
32321
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
32442
32322
|
color: "gray",
|
|
32443
32323
|
thin: "",
|
|
@@ -32464,7 +32344,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32464
32344
|
[_directive_tooltip, "Download"]
|
|
32465
32345
|
])
|
|
32466
32346
|
]),
|
|
32467
|
-
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32347
|
+
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
32468
32348
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
32469
32349
|
class: "single-preview",
|
|
32470
32350
|
pathKey: path_key,
|
|
@@ -32492,7 +32372,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32492
32372
|
class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
32493
32373
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
32494
32374
|
}, [
|
|
32495
|
-
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
32375
|
+
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
32496
32376
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32497
32377
|
class: "success",
|
|
32498
32378
|
icon: "check_circle"
|
|
@@ -32516,9 +32396,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32516
32396
|
fileQueue: fileQueue.value,
|
|
32517
32397
|
browse
|
|
32518
32398
|
}, () => [
|
|
32519
|
-
vue.createElementVNode("p",
|
|
32399
|
+
vue.createElementVNode("p", _hoisted_16, [
|
|
32520
32400
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
32521
|
-
|
|
32401
|
+
vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
32522
32402
|
])
|
|
32523
32403
|
], true) : vue.createCommentVNode("", true)
|
|
32524
32404
|
], 38))
|
|
@@ -32526,7 +32406,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32526
32406
|
};
|
|
32527
32407
|
}
|
|
32528
32408
|
});
|
|
32529
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
32409
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d65d0a87"]]);
|
|
32530
32410
|
const FONT_AWESOME_ICONS = [
|
|
32531
32411
|
"trash-can",
|
|
32532
32412
|
"message",
|
|
@@ -36977,13 +36857,13 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
36977
36857
|
style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
|
|
36978
36858
|
}, vue.toDisplayString(iconRender.value), 5)) : iconRenderType.value === "font-awesome" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
36979
36859
|
key: 1,
|
|
36980
|
-
class: vue.normalizeClass(["fa", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
|
|
36860
|
+
class: vue.normalizeClass(["fa far", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
|
|
36981
36861
|
style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
|
|
36982
36862
|
}, null, 6)) : vue.createCommentVNode("", true);
|
|
36983
36863
|
};
|
|
36984
36864
|
}
|
|
36985
36865
|
});
|
|
36986
|
-
const _hoisted_1$
|
|
36866
|
+
const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
36987
36867
|
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
36988
36868
|
__name: "IframeVue",
|
|
36989
36869
|
props: {
|
|
@@ -37043,12 +36923,12 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
37043
36923
|
scrolling: _ctx.scrolling,
|
|
37044
36924
|
srcset: _ctx.srcset,
|
|
37045
36925
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
37046
|
-
}, null, 40, _hoisted_1$
|
|
36926
|
+
}, null, 40, _hoisted_1$i);
|
|
37047
36927
|
};
|
|
37048
36928
|
}
|
|
37049
36929
|
});
|
|
37050
|
-
const _hoisted_1$
|
|
37051
|
-
const _hoisted_2$
|
|
36930
|
+
const _hoisted_1$h = { key: 0 };
|
|
36931
|
+
const _hoisted_2$9 = ["src", "alt", "width", "height"];
|
|
37052
36932
|
const _hoisted_3$6 = ["src", "alt", "width", "height"];
|
|
37053
36933
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
37054
36934
|
__name: "Image",
|
|
@@ -37132,7 +37012,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37132
37012
|
}
|
|
37133
37013
|
vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
37134
37014
|
return (_ctx, _cache) => {
|
|
37135
|
-
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$
|
|
37015
|
+
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$h, [
|
|
37136
37016
|
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
37137
37017
|
key: 0,
|
|
37138
37018
|
src: vue.unref(imageSrc)
|
|
@@ -37140,7 +37020,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37140
37020
|
alt: _ctx.alt,
|
|
37141
37021
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
37142
37022
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
37143
|
-
}), null, 16, _hoisted_2$
|
|
37023
|
+
}), null, 16, _hoisted_2$9)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
37144
37024
|
key: 1,
|
|
37145
37025
|
class: "img-web-kit",
|
|
37146
37026
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
@@ -37172,7 +37052,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37172
37052
|
}
|
|
37173
37053
|
});
|
|
37174
37054
|
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6f277b5b"]]);
|
|
37175
|
-
const _hoisted_1$
|
|
37055
|
+
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
37176
37056
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
37177
37057
|
__name: "BottomMenu",
|
|
37178
37058
|
props: {
|
|
@@ -37180,7 +37060,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
37180
37060
|
},
|
|
37181
37061
|
setup(__props) {
|
|
37182
37062
|
return (_ctx, _cache) => {
|
|
37183
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
37063
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
37184
37064
|
default: vue.withCtx(() => [
|
|
37185
37065
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
37186
37066
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -37196,7 +37076,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
37196
37076
|
size: 1.4,
|
|
37197
37077
|
class: "m-0 line-height-14"
|
|
37198
37078
|
}, null, 8, ["icon"]),
|
|
37199
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37079
|
+
vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav.label), 1)
|
|
37200
37080
|
]),
|
|
37201
37081
|
_: 2
|
|
37202
37082
|
}, 1032, ["to", "onClick"]);
|
|
@@ -37251,7 +37131,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
37251
37131
|
}
|
|
37252
37132
|
});
|
|
37253
37133
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
|
|
37254
|
-
const _hoisted_1$
|
|
37134
|
+
const _hoisted_1$f = { key: 0 };
|
|
37255
37135
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
37256
37136
|
__name: "SidebarMenu",
|
|
37257
37137
|
props: {
|
|
@@ -37281,7 +37161,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
37281
37161
|
icon: "keyboard_arrow_right",
|
|
37282
37162
|
onClick: vue.unref(toggleMenu)
|
|
37283
37163
|
}, null, 8, ["onClick"]),
|
|
37284
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
37164
|
+
vue.createVNode(vue.unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
37285
37165
|
default: vue.withCtx(() => [
|
|
37286
37166
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
37287
37167
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -37299,7 +37179,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
37299
37179
|
}, null, 8, ["icon"]),
|
|
37300
37180
|
vue.createVNode(vue.Transition, { name: "showP" }, {
|
|
37301
37181
|
default: vue.withCtx(() => [
|
|
37302
|
-
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
37182
|
+
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
|
|
37303
37183
|
]),
|
|
37304
37184
|
_: 2
|
|
37305
37185
|
}, 1024)
|
|
@@ -37359,8 +37239,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
37359
37239
|
}
|
|
37360
37240
|
});
|
|
37361
37241
|
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4da8c0d1"]]);
|
|
37362
|
-
const _hoisted_1$
|
|
37363
|
-
const _hoisted_2$
|
|
37242
|
+
const _hoisted_1$e = { class: "bgl_card tabs-top" };
|
|
37243
|
+
const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
37364
37244
|
const _hoisted_3$5 = ["onClick"];
|
|
37365
37245
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
37366
37246
|
__name: "TabbedLayout",
|
|
@@ -37395,9 +37275,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
37395
37275
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37396
37276
|
class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
37397
37277
|
}, [
|
|
37398
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
37278
|
+
vue.createElementVNode("div", _hoisted_1$e, [
|
|
37399
37279
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
37400
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
37280
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
37401
37281
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
37402
37282
|
var _a2;
|
|
37403
37283
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -37423,7 +37303,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
37423
37303
|
}
|
|
37424
37304
|
});
|
|
37425
37305
|
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-915732c1"]]);
|
|
37426
|
-
const _hoisted_1$
|
|
37306
|
+
const _hoisted_1$d = { key: 0 };
|
|
37427
37307
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
37428
37308
|
__name: "Tabs",
|
|
37429
37309
|
props: {
|
|
@@ -37466,7 +37346,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
37466
37346
|
group: vue.unref(group),
|
|
37467
37347
|
class: "mb-05"
|
|
37468
37348
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
37469
|
-
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37349
|
+
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
37470
37350
|
vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
|
|
37471
37351
|
])) : vue.createCommentVNode("", true)
|
|
37472
37352
|
], 64);
|
|
@@ -37486,8 +37366,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
37486
37366
|
};
|
|
37487
37367
|
}
|
|
37488
37368
|
});
|
|
37489
|
-
const _hoisted_1$
|
|
37490
|
-
const _hoisted_2$
|
|
37369
|
+
const _hoisted_1$c = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
37370
|
+
const _hoisted_2$7 = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
37491
37371
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
37492
37372
|
__name: "ListItem",
|
|
37493
37373
|
props: {
|
|
@@ -37522,11 +37402,11 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
37522
37402
|
icon: _ctx.icon
|
|
37523
37403
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
37524
37404
|
vue.createElementVNode("div", null, [
|
|
37525
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37405
|
+
vue.createElementVNode("p", _hoisted_1$c, [
|
|
37526
37406
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
37527
37407
|
vue.renderSlot(_ctx.$slots, "default")
|
|
37528
37408
|
]),
|
|
37529
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
37409
|
+
vue.createElementVNode("p", _hoisted_2$7, [
|
|
37530
37410
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
37531
37411
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
37532
37412
|
])
|
|
@@ -37538,12 +37418,12 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
37538
37418
|
}
|
|
37539
37419
|
});
|
|
37540
37420
|
const _sfc_main$e = {};
|
|
37541
|
-
const _hoisted_1$
|
|
37542
|
-
const _hoisted_2$
|
|
37421
|
+
const _hoisted_1$b = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
|
|
37422
|
+
const _hoisted_2$6 = { class: "p-1" };
|
|
37543
37423
|
const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
37544
37424
|
function _sfc_render$3(_ctx, _cache) {
|
|
37545
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37546
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
37425
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
37426
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
37547
37427
|
vue.renderSlot(_ctx.$slots, "header")
|
|
37548
37428
|
]),
|
|
37549
37429
|
vue.createElementVNode("div", _hoisted_3$4, [
|
|
@@ -37552,7 +37432,7 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
37552
37432
|
]);
|
|
37553
37433
|
}
|
|
37554
37434
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3]]);
|
|
37555
|
-
const _hoisted_1$
|
|
37435
|
+
const _hoisted_1$a = { class: "flex-center" };
|
|
37556
37436
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
37557
37437
|
__name: "Loading",
|
|
37558
37438
|
props: {
|
|
@@ -37575,7 +37455,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
37575
37455
|
return standardSize(borderValue);
|
|
37576
37456
|
});
|
|
37577
37457
|
return (_ctx, _cache) => {
|
|
37578
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37458
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
37579
37459
|
theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
37580
37460
|
key: 0,
|
|
37581
37461
|
class: "lds-bar",
|
|
@@ -37618,7 +37498,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
37618
37498
|
}
|
|
37619
37499
|
});
|
|
37620
37500
|
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2e27b3c1"]]);
|
|
37621
|
-
const _hoisted_1$
|
|
37501
|
+
const _hoisted_1$9 = ["id"];
|
|
37622
37502
|
const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
|
|
37623
37503
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
37624
37504
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -37712,15 +37592,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
37712
37592
|
class: "leaflet-map",
|
|
37713
37593
|
style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
37714
37594
|
dir: "ltr"
|
|
37715
|
-
}, null, 12, _hoisted_1$
|
|
37595
|
+
}, null, 12, _hoisted_1$9);
|
|
37716
37596
|
};
|
|
37717
37597
|
}
|
|
37718
37598
|
});
|
|
37719
|
-
const _hoisted_1$
|
|
37599
|
+
const _hoisted_1$8 = {
|
|
37720
37600
|
key: 0,
|
|
37721
37601
|
class: "tool-bar"
|
|
37722
37602
|
};
|
|
37723
|
-
const _hoisted_2$
|
|
37603
|
+
const _hoisted_2$5 = {
|
|
37724
37604
|
key: 1,
|
|
37725
37605
|
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
37726
37606
|
};
|
|
@@ -37784,7 +37664,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37784
37664
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
37785
37665
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
37786
37666
|
}, [
|
|
37787
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
37667
|
+
vue.createVNode(vue.unref(_sfc_main$_), {
|
|
37788
37668
|
class: "modal",
|
|
37789
37669
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
37790
37670
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -37793,7 +37673,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37793
37673
|
default: vue.withCtx(() => {
|
|
37794
37674
|
var _a2;
|
|
37795
37675
|
return [
|
|
37796
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
37676
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$8, [
|
|
37797
37677
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
37798
37678
|
vue.createVNode(vue.unref(Btn), {
|
|
37799
37679
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -37808,7 +37688,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37808
37688
|
tag: "h3",
|
|
37809
37689
|
label: _ctx.title
|
|
37810
37690
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
37811
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
37691
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
|
|
37812
37692
|
vue.createVNode(vue.unref(Btn), {
|
|
37813
37693
|
class: "position-start",
|
|
37814
37694
|
icon: "close",
|
|
@@ -37836,7 +37716,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37836
37716
|
};
|
|
37837
37717
|
}
|
|
37838
37718
|
});
|
|
37839
|
-
const _hoisted_1$
|
|
37719
|
+
const _hoisted_1$7 = { class: "pb-05 pretty" };
|
|
37840
37720
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
37841
37721
|
__name: "ModalConfirm",
|
|
37842
37722
|
props: {
|
|
@@ -37882,13 +37762,15 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
37882
37762
|
}, null, 8, ["color", "value"])
|
|
37883
37763
|
]),
|
|
37884
37764
|
default: vue.withCtx(() => [
|
|
37885
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37765
|
+
vue.createElementVNode("p", _hoisted_1$7, vue.toDisplayString(vue.unref(message2)), 1)
|
|
37886
37766
|
]),
|
|
37887
37767
|
_: 1
|
|
37888
37768
|
}, 8, ["title"]);
|
|
37889
37769
|
};
|
|
37890
37770
|
}
|
|
37891
37771
|
});
|
|
37772
|
+
const _hoisted_1$6 = { class: "flex gap-0" };
|
|
37773
|
+
const _hoisted_2$4 = { class: "flex gap-05" };
|
|
37892
37774
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
37893
37775
|
__name: "ModalForm",
|
|
37894
37776
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -37899,6 +37781,11 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37899
37781
|
actions: {},
|
|
37900
37782
|
schema: {},
|
|
37901
37783
|
onSubmit: { type: Function },
|
|
37784
|
+
onDuplicate: { type: Function },
|
|
37785
|
+
submitText: {},
|
|
37786
|
+
cancelText: {},
|
|
37787
|
+
deleteText: {},
|
|
37788
|
+
duplicateText: {},
|
|
37902
37789
|
onDelete: { type: Function },
|
|
37903
37790
|
visible: { type: Boolean },
|
|
37904
37791
|
onError: { type: Function },
|
|
@@ -37961,7 +37848,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37961
37848
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
37962
37849
|
}, vue.createSlots({
|
|
37963
37850
|
default: vue.withCtx(() => [
|
|
37964
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
37851
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
37965
37852
|
key: 0,
|
|
37966
37853
|
ref_key: "form",
|
|
37967
37854
|
ref: form,
|
|
@@ -37976,27 +37863,39 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37976
37863
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
37977
37864
|
name: "footer",
|
|
37978
37865
|
fn: vue.withCtx(() => [
|
|
37979
|
-
vue.createElementVNode("div",
|
|
37866
|
+
vue.createElementVNode("div", _hoisted_1$6, [
|
|
37980
37867
|
vue.createVNode(vue.unref(Btn), {
|
|
37981
37868
|
thin: "",
|
|
37982
37869
|
flat: "",
|
|
37983
|
-
value: "Cancel",
|
|
37870
|
+
value: _ctx.cancelText || "Cancel",
|
|
37984
37871
|
onClick: closeModal
|
|
37985
|
-
}),
|
|
37986
|
-
_ctx.onDelete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37872
|
+
}, null, 8, ["value"]),
|
|
37873
|
+
_ctx.onDelete && formData.value.id ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37987
37874
|
key: 0,
|
|
37988
37875
|
thin: "",
|
|
37989
37876
|
icon: "delete",
|
|
37990
37877
|
flat: "",
|
|
37991
|
-
value: "Delete",
|
|
37878
|
+
value: _ctx.deleteText || "Delete",
|
|
37992
37879
|
color: "red",
|
|
37993
37880
|
onClick: runDelete
|
|
37994
|
-
})) : vue.createCommentVNode("", true)
|
|
37881
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
37995
37882
|
]),
|
|
37996
|
-
vue.
|
|
37997
|
-
|
|
37998
|
-
|
|
37999
|
-
|
|
37883
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
37884
|
+
_ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37885
|
+
key: 0,
|
|
37886
|
+
outline: "",
|
|
37887
|
+
class: "px-1",
|
|
37888
|
+
icon: "copy_all",
|
|
37889
|
+
flat: "",
|
|
37890
|
+
value: _ctx.duplicateText || "Duplicate",
|
|
37891
|
+
onClick: _ctx.onDuplicate
|
|
37892
|
+
}, null, 8, ["value", "onClick"])) : vue.createCommentVNode("", true),
|
|
37893
|
+
_ctx.onSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37894
|
+
key: 1,
|
|
37895
|
+
value: _ctx.submitText || "Submit",
|
|
37896
|
+
onClick: runSubmit
|
|
37897
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
37898
|
+
])
|
|
38000
37899
|
]),
|
|
38001
37900
|
key: "0"
|
|
38002
37901
|
} : void 0
|
|
@@ -38004,7 +37903,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38004
37903
|
};
|
|
38005
37904
|
}
|
|
38006
37905
|
});
|
|
38007
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
37906
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f8e6d41e"]]);
|
|
38008
37907
|
const _hoisted_1$5 = { class: "full-nav" };
|
|
38009
37908
|
const _hoisted_2$3 = { class: "nav-scroll" };
|
|
38010
37909
|
const _hoisted_3$2 = { class: "nav-links-wrapper" };
|
|
@@ -38325,39 +38224,39 @@ function _sfc_render(_ctx, _cache) {
|
|
|
38325
38224
|
const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
|
|
38326
38225
|
class TapDetector {
|
|
38327
38226
|
constructor() {
|
|
38328
|
-
|
|
38329
|
-
|
|
38330
|
-
|
|
38331
|
-
|
|
38332
|
-
|
|
38333
|
-
|
|
38334
|
-
|
|
38335
|
-
|
|
38336
|
-
|
|
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) => {
|
|
38337
38236
|
this.isTouchMode = true;
|
|
38338
38237
|
if (event.touches.length === 1) {
|
|
38339
38238
|
this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
|
|
38340
38239
|
}
|
|
38341
38240
|
});
|
|
38342
|
-
|
|
38241
|
+
__publicField2(this, "onTouchMove", (event) => {
|
|
38343
38242
|
if (event.touches.length === 1) {
|
|
38344
38243
|
this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
|
|
38345
38244
|
}
|
|
38346
38245
|
});
|
|
38347
|
-
|
|
38246
|
+
__publicField2(this, "onTouchEnd", () => {
|
|
38348
38247
|
if (this.isTouchMode) this.onPointerUp();
|
|
38349
38248
|
});
|
|
38350
|
-
|
|
38249
|
+
__publicField2(this, "onMouseDown", (event) => {
|
|
38351
38250
|
if (!this.isTouchMode) {
|
|
38352
38251
|
this.onPointerDown(event.clientX, event.clientY);
|
|
38353
38252
|
}
|
|
38354
38253
|
});
|
|
38355
|
-
|
|
38254
|
+
__publicField2(this, "onMouseMove", (event) => {
|
|
38356
38255
|
if (!this.isTouchMode && event.button === 0) {
|
|
38357
38256
|
this.onPointerMove(event.clientX, event.clientY);
|
|
38358
38257
|
}
|
|
38359
38258
|
});
|
|
38360
|
-
|
|
38259
|
+
__publicField2(this, "onMouseUp", () => {
|
|
38361
38260
|
if (!this.isTouchMode) this.onPointerUp();
|
|
38362
38261
|
});
|
|
38363
38262
|
}
|
|
@@ -38474,12 +38373,14 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38474
38373
|
let panLocked = vue.ref(true);
|
|
38475
38374
|
let raf = vue.ref();
|
|
38476
38375
|
let tapDetector = vue.ref();
|
|
38376
|
+
let translateXValue = vue.ref(0);
|
|
38377
|
+
let translateYValue = vue.ref(0);
|
|
38477
38378
|
const wrapperStyle = vue.computed(() => {
|
|
38478
|
-
|
|
38479
|
-
|
|
38379
|
+
translateXValue.value = containerWidth.value * animTranslateX.value;
|
|
38380
|
+
translateYValue.value = containerHeight.value * animTranslateY.value;
|
|
38480
38381
|
return {
|
|
38481
38382
|
transform: [
|
|
38482
|
-
`translate(${translateXValue}px, ${translateYValue}px)`,
|
|
38383
|
+
`translate(${translateXValue.value}px, ${translateYValue.value}px)`,
|
|
38483
38384
|
`scale(${animScale.value})`
|
|
38484
38385
|
].join(" ")
|
|
38485
38386
|
};
|
|
@@ -38568,12 +38469,22 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38568
38469
|
const imageToContainerRatio2 = containerWidth.value / __props.aspectRatio / containerHeight.value;
|
|
38569
38470
|
let translateLimitY = (scale.value * imageToContainerRatio2 - 1) / 2;
|
|
38570
38471
|
if (translateLimitY < 0) translateLimitY = 0;
|
|
38571
|
-
return {
|
|
38472
|
+
return {
|
|
38473
|
+
x: scale.value - 1,
|
|
38474
|
+
// Allow full movement to edges horizontally
|
|
38475
|
+
y: translateLimitY * 2
|
|
38476
|
+
// Allow full movement to edges vertically
|
|
38477
|
+
};
|
|
38572
38478
|
}
|
|
38573
38479
|
const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
|
|
38574
38480
|
let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
|
|
38575
38481
|
if (translateLimitX < 0) translateLimitX = 0;
|
|
38576
|
-
return {
|
|
38482
|
+
return {
|
|
38483
|
+
x: translateLimitX * 2,
|
|
38484
|
+
// Allow full movement to edges horizontally
|
|
38485
|
+
y: scale.value - 1
|
|
38486
|
+
// Allow full movement to edges vertically
|
|
38487
|
+
};
|
|
38577
38488
|
}
|
|
38578
38489
|
function getMarginDirection() {
|
|
38579
38490
|
const containerRatio = containerWidth.value / containerHeight.value;
|
|
@@ -38736,7 +38647,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38736
38647
|
};
|
|
38737
38648
|
}
|
|
38738
38649
|
});
|
|
38739
|
-
const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
38650
|
+
const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
|
|
38740
38651
|
function useBglSchema({ schema, showFields, data: data2 } = {}) {
|
|
38741
38652
|
let _schema = schema;
|
|
38742
38653
|
if (typeof _schema === "function") {
|
|
@@ -38757,6 +38668,12 @@ function localRef(key, initialValue) {
|
|
|
38757
38668
|
return value;
|
|
38758
38669
|
}
|
|
38759
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
|
+
};
|
|
38760
38677
|
const axios = axios$1.create({
|
|
38761
38678
|
withCredentials: true
|
|
38762
38679
|
});
|
|
@@ -38771,7 +38688,8 @@ class DataRequest {
|
|
|
38771
38688
|
this.itemID = "";
|
|
38772
38689
|
}
|
|
38773
38690
|
async post(item) {
|
|
38774
|
-
if (!this.data_table)
|
|
38691
|
+
if (!this.data_table)
|
|
38692
|
+
throw new Error("Data table not set");
|
|
38775
38693
|
const { data: data2 } = await axios.post(`/data/${this.data_table}`, item);
|
|
38776
38694
|
return data2;
|
|
38777
38695
|
}
|
|
@@ -38781,7 +38699,8 @@ class DataRequest {
|
|
|
38781
38699
|
}
|
|
38782
38700
|
async get() {
|
|
38783
38701
|
var _a2, _b;
|
|
38784
|
-
if (!this.data_table)
|
|
38702
|
+
if (!this.data_table)
|
|
38703
|
+
throw new Error("Data table not set");
|
|
38785
38704
|
const filterStr = Object.keys(this._filter).length > 0 ? `?filter={${Object.entries(this._filter).map(([k2, v2]) => `${k2}:${v2}`).join(",")}}` : "";
|
|
38786
38705
|
const url = `/data/${this.data_table}${this.itemID ? `/${this.itemID}` : ""}${filterStr}`;
|
|
38787
38706
|
try {
|
|
@@ -38798,7 +38717,8 @@ class DataRequest {
|
|
|
38798
38717
|
return this;
|
|
38799
38718
|
}
|
|
38800
38719
|
async delete() {
|
|
38801
|
-
if (!this.data_table)
|
|
38720
|
+
if (!this.data_table)
|
|
38721
|
+
throw new Error("Data table not set");
|
|
38802
38722
|
const { data: data2 } = await axios.delete(
|
|
38803
38723
|
`/data/${this.data_table}/${this.itemID}`
|
|
38804
38724
|
);
|
|
@@ -38806,8 +38726,10 @@ class DataRequest {
|
|
|
38806
38726
|
}
|
|
38807
38727
|
async put(updatedItem) {
|
|
38808
38728
|
const { data_table, itemID } = this;
|
|
38809
|
-
if (!data_table)
|
|
38810
|
-
|
|
38729
|
+
if (!data_table)
|
|
38730
|
+
throw new Error("Data table not set");
|
|
38731
|
+
if (!itemID)
|
|
38732
|
+
throw new Error("Item ID not set");
|
|
38811
38733
|
const { data: data2 } = await axios.put(
|
|
38812
38734
|
`/data/${data_table}/${itemID}`,
|
|
38813
38735
|
updatedItem
|
|
@@ -38824,8 +38746,8 @@ function responses(key) {
|
|
|
38824
38746
|
}
|
|
38825
38747
|
class BagelAuth {
|
|
38826
38748
|
constructor(bagel) {
|
|
38827
|
-
__publicField(this, "user");
|
|
38828
38749
|
this.bagel = bagel;
|
|
38750
|
+
__publicField(this, "user");
|
|
38829
38751
|
this.bagel = bagel;
|
|
38830
38752
|
}
|
|
38831
38753
|
async validateUser() {
|
|
@@ -38928,10 +38850,12 @@ class Bagel {
|
|
|
38928
38850
|
async get(endpoint, query) {
|
|
38929
38851
|
this._setAuthorization();
|
|
38930
38852
|
endpoint = this._endpointCleaner(endpoint);
|
|
38931
|
-
if (/undefined|null/.test(endpoint))
|
|
38853
|
+
if (/undefined|null/.test(endpoint))
|
|
38854
|
+
throw new Error(`Invalid endpoint: ${endpoint}`);
|
|
38932
38855
|
if (query) {
|
|
38933
38856
|
const queryParams = Object.entries(query).filter(([_2, value]) => !!value).map(([key, value]) => `${key}=${value}`).join("&");
|
|
38934
|
-
if (queryParams)
|
|
38857
|
+
if (queryParams)
|
|
38858
|
+
endpoint = `${endpoint}?${queryParams}`;
|
|
38935
38859
|
}
|
|
38936
38860
|
const url = `/${endpoint}`;
|
|
38937
38861
|
return axios.get(url).then(({ data: data2 }) => data2).catch((err) => {
|
|
@@ -38986,7 +38910,8 @@ class Bagel {
|
|
|
38986
38910
|
const formData = new FormData();
|
|
38987
38911
|
formData.append("file", file);
|
|
38988
38912
|
let url = "/static_files/upload";
|
|
38989
|
-
if (options == null ? void 0 : options.topic)
|
|
38913
|
+
if (options == null ? void 0 : options.topic)
|
|
38914
|
+
url = `/static_files/upload?topic=${options.topic}`;
|
|
38990
38915
|
const { data: data2 } = await axios.post(url, formData, {
|
|
38991
38916
|
headers: {
|
|
38992
38917
|
"Content-Type": "multipart/form-data"
|
|
@@ -38998,7 +38923,7 @@ class Bagel {
|
|
|
38998
38923
|
}
|
|
38999
38924
|
const _hoisted_1 = {
|
|
39000
38925
|
key: 0,
|
|
39001
|
-
class: "navigation flex space-between px-3 w-100 absolute m_px-1"
|
|
38926
|
+
class: "navigation flex space-between px-3 w-100 absolute m_px-1 m_none z-9"
|
|
39002
38927
|
};
|
|
39003
38928
|
const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between px-1" };
|
|
39004
38929
|
const _hoisted_3 = {
|
|
@@ -39006,18 +38931,17 @@ const _hoisted_3 = {
|
|
|
39006
38931
|
class: "center"
|
|
39007
38932
|
};
|
|
39008
38933
|
const _hoisted_4 = { key: 3 };
|
|
39009
|
-
const _hoisted_5 =
|
|
39010
|
-
const _hoisted_6 =
|
|
39011
|
-
const _hoisted_7 = {
|
|
38934
|
+
const _hoisted_5 = ["src", "title"];
|
|
38935
|
+
const _hoisted_6 = {
|
|
39012
38936
|
key: 3,
|
|
39013
38937
|
class: "file-info txt-white flex m_block align-items-start gap-025"
|
|
39014
38938
|
};
|
|
39015
|
-
const
|
|
39016
|
-
const
|
|
39017
|
-
const
|
|
39018
|
-
const
|
|
39019
|
-
const
|
|
39020
|
-
const
|
|
38939
|
+
const _hoisted_7 = { class: "txt-start" };
|
|
38940
|
+
const _hoisted_8 = { class: "mx-0 light" };
|
|
38941
|
+
const _hoisted_9 = { class: "semi word-break-all" };
|
|
38942
|
+
const _hoisted_10 = { class: "mx-0" };
|
|
38943
|
+
const _hoisted_11 = { class: "semi" };
|
|
38944
|
+
const _hoisted_12 = {
|
|
39021
38945
|
key: 0,
|
|
39022
38946
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
39023
38947
|
};
|
|
@@ -39025,15 +38949,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39025
38949
|
__name: "Lightbox",
|
|
39026
38950
|
setup(__props, { expose: __expose }) {
|
|
39027
38951
|
let isOpen = vue.ref(false);
|
|
39028
|
-
let currentItem = vue.ref();
|
|
39029
38952
|
let group = vue.ref([]);
|
|
39030
38953
|
let currentIndex = vue.ref(0);
|
|
38954
|
+
let currentItem = vue.computed(() => group.value[currentIndex.value]);
|
|
39031
38955
|
function open(item, groupItems) {
|
|
39032
38956
|
isOpen.value = true;
|
|
39033
|
-
|
|
39034
|
-
|
|
39035
|
-
group.value = groupItems;
|
|
39036
|
-
currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
|
|
38957
|
+
group.value = groupItems || [item];
|
|
38958
|
+
currentIndex.value = group.value.findIndex(({ src }) => item.src === src);
|
|
39037
38959
|
document.addEventListener("keydown", handleKeydown);
|
|
39038
38960
|
}
|
|
39039
38961
|
function close() {
|
|
@@ -39078,7 +39000,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39078
39000
|
return (_ctx, _cache) => {
|
|
39079
39001
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
|
|
39080
39002
|
default: vue.withCtx(() => {
|
|
39081
|
-
var _a2, _b, _c, _d, _e2, _f, _g, _h
|
|
39003
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h;
|
|
39082
39004
|
return [
|
|
39083
39005
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
39084
39006
|
key: 0,
|
|
@@ -39092,19 +39014,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39092
39014
|
}, [
|
|
39093
39015
|
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39094
39016
|
vue.createVNode(vue.unref(Btn), {
|
|
39095
|
-
class: "
|
|
39017
|
+
class: "oval opacity-8",
|
|
39096
39018
|
icon: "arrow_back",
|
|
39019
|
+
color: "black",
|
|
39097
39020
|
onClick: prev
|
|
39098
39021
|
}),
|
|
39099
39022
|
vue.createVNode(vue.unref(Btn), {
|
|
39100
|
-
class: "
|
|
39023
|
+
class: "oval opacity-8",
|
|
39101
39024
|
icon: "arrow_forward",
|
|
39025
|
+
color: "black",
|
|
39102
39026
|
onClick: next
|
|
39103
39027
|
})
|
|
39104
39028
|
])) : vue.createCommentVNode("", true),
|
|
39105
39029
|
vue.createElementVNode("div", {
|
|
39106
39030
|
class: "bgl-lightbox relative txt-center",
|
|
39107
|
-
onClick: _cache[
|
|
39031
|
+
onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => {
|
|
39108
39032
|
}, ["stop"]))
|
|
39109
39033
|
}, [
|
|
39110
39034
|
vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -39161,74 +39085,86 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39161
39085
|
}, null, 8, ["href"])) : vue.createCommentVNode("", true),
|
|
39162
39086
|
!((_g = vue.unref(currentItem)) == null ? void 0 : _g.openFile) && !((_h = vue.unref(currentItem)) == null ? void 0 : _h.download) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4)) : vue.createCommentVNode("", true)
|
|
39163
39087
|
]),
|
|
39164
|
-
vue.
|
|
39165
|
-
|
|
39166
|
-
|
|
39167
|
-
|
|
39168
|
-
|
|
39169
|
-
|
|
39170
|
-
|
|
39171
|
-
|
|
39172
|
-
|
|
39173
|
-
|
|
39174
|
-
|
|
39175
|
-
|
|
39176
|
-
|
|
39177
|
-
|
|
39178
|
-
|
|
39179
|
-
|
|
39180
|
-
|
|
39181
|
-
|
|
39182
|
-
|
|
39183
|
-
|
|
39184
|
-
|
|
39185
|
-
|
|
39186
|
-
|
|
39187
|
-
|
|
39188
|
-
|
|
39189
|
-
|
|
39190
|
-
|
|
39191
|
-
|
|
39192
|
-
|
|
39193
|
-
|
|
39194
|
-
|
|
39195
|
-
|
|
39196
|
-
|
|
39197
|
-
|
|
39198
|
-
|
|
39199
|
-
|
|
39200
|
-
|
|
39201
|
-
|
|
39202
|
-
|
|
39203
|
-
|
|
39204
|
-
|
|
39205
|
-
|
|
39206
|
-
|
|
39207
|
-
|
|
39208
|
-
|
|
39209
|
-
|
|
39210
|
-
|
|
39211
|
-
|
|
39212
|
-
|
|
39213
|
-
|
|
39214
|
-
|
|
39215
|
-
|
|
39216
|
-
|
|
39217
|
-
|
|
39218
|
-
|
|
39219
|
-
|
|
39220
|
-
|
|
39221
|
-
|
|
39222
|
-
|
|
39223
|
-
|
|
39224
|
-
|
|
39225
|
-
|
|
39226
|
-
|
|
39227
|
-
|
|
39228
|
-
|
|
39229
|
-
|
|
39230
|
-
|
|
39231
|
-
|
|
39088
|
+
vue.createVNode(vue.unref(Carousel), {
|
|
39089
|
+
index: vue.unref(currentIndex),
|
|
39090
|
+
"onUpdate:index": _cache[4] || (_cache[4] = ($event) => vue.isRef(currentIndex) ? currentIndex.value = $event : currentIndex = $event),
|
|
39091
|
+
items: 1,
|
|
39092
|
+
class: vue.normalizeClass(["bgl-lightbox-item", { zoomed: zoom.value > 1 }]),
|
|
39093
|
+
freeDrag: zoom.value === 1
|
|
39094
|
+
}, {
|
|
39095
|
+
default: vue.withCtx(() => [
|
|
39096
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item) => {
|
|
39097
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
39098
|
+
key: item.src
|
|
39099
|
+
}, [
|
|
39100
|
+
item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Zoomer), {
|
|
39101
|
+
key: 0,
|
|
39102
|
+
zoom: zoom.value,
|
|
39103
|
+
"onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
|
|
39104
|
+
disabled: !(item == null ? void 0 : item.enableZoom),
|
|
39105
|
+
"mouse-wheel-to-zoom": false
|
|
39106
|
+
}, {
|
|
39107
|
+
default: vue.withCtx(() => [
|
|
39108
|
+
vue.createVNode(vue.unref(Image$1), {
|
|
39109
|
+
draggable: false,
|
|
39110
|
+
src: item == null ? void 0 : item.src,
|
|
39111
|
+
alt: "Preview",
|
|
39112
|
+
class: "vw90 lightbox-image"
|
|
39113
|
+
}, null, 8, ["src"])
|
|
39114
|
+
]),
|
|
39115
|
+
_: 2
|
|
39116
|
+
}, 1032, ["zoom", "disabled"])) : (item == null ? void 0 : item.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
|
|
39117
|
+
key: 1,
|
|
39118
|
+
src: item == null ? void 0 : item.src,
|
|
39119
|
+
autoplay: "",
|
|
39120
|
+
controls: "",
|
|
39121
|
+
class: "vw90"
|
|
39122
|
+
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
|
|
39123
|
+
key: 2,
|
|
39124
|
+
src: vue.unref(normalizeURL)(item == null ? void 0 : item.src),
|
|
39125
|
+
type: "application/pdf",
|
|
39126
|
+
width: "100%",
|
|
39127
|
+
height: "1080",
|
|
39128
|
+
title: item == null ? void 0 : item.name,
|
|
39129
|
+
class: "vw90"
|
|
39130
|
+
}, null, 8, _hoisted_5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
39131
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
39132
|
+
class: "m-0 m_none",
|
|
39133
|
+
icon: "draft",
|
|
39134
|
+
size: 10,
|
|
39135
|
+
weight: "12"
|
|
39136
|
+
}),
|
|
39137
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
39138
|
+
class: "m-0 none m_block m_-mb-1",
|
|
39139
|
+
icon: "draft",
|
|
39140
|
+
size: 4,
|
|
39141
|
+
weight: "2"
|
|
39142
|
+
}),
|
|
39143
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
39144
|
+
vue.createElementVNode("p", _hoisted_8, [
|
|
39145
|
+
_cache[6] || (_cache[6] = vue.createTextVNode(" File: ")),
|
|
39146
|
+
vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(item == null ? void 0 : item.name), 1)
|
|
39147
|
+
]),
|
|
39148
|
+
vue.createElementVNode("p", _hoisted_10, [
|
|
39149
|
+
_cache[7] || (_cache[7] = vue.createTextVNode(" Type: ")),
|
|
39150
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item == null ? void 0 : item.type), 1)
|
|
39151
|
+
]),
|
|
39152
|
+
vue.createVNode(vue.unref(Btn), {
|
|
39153
|
+
href: item == null ? void 0 : item.src,
|
|
39154
|
+
target: "_blank",
|
|
39155
|
+
round: "",
|
|
39156
|
+
thin: "",
|
|
39157
|
+
class: "mt-1",
|
|
39158
|
+
value: "Open file"
|
|
39159
|
+
}, null, 8, ["href"])
|
|
39160
|
+
])
|
|
39161
|
+
]))
|
|
39162
|
+
], 64);
|
|
39163
|
+
}), 128))
|
|
39164
|
+
]),
|
|
39165
|
+
_: 1
|
|
39166
|
+
}, 8, ["index", "class", "freeDrag"]),
|
|
39167
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
|
|
39232
39168
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
|
|
39233
39169
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
39234
39170
|
item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
@@ -39255,7 +39191,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39255
39191
|
};
|
|
39256
39192
|
}
|
|
39257
39193
|
});
|
|
39258
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39194
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f833758f"]]);
|
|
39259
39195
|
const groups = {};
|
|
39260
39196
|
let clickHandler = (_e2) => void 0;
|
|
39261
39197
|
const lightboxDirective = {
|
|
@@ -40370,22 +40306,21 @@ function timeAgo(date2, lang = "en") {
|
|
|
40370
40306
|
}
|
|
40371
40307
|
return selectedLang.justNow;
|
|
40372
40308
|
}
|
|
40373
|
-
exports.Accordion = _sfc_main$
|
|
40309
|
+
exports.Accordion = _sfc_main$17;
|
|
40374
40310
|
exports.AccordionItem = AccordionItem;
|
|
40375
|
-
exports.AddressSearch = _sfc_main$
|
|
40311
|
+
exports.AddressSearch = _sfc_main$15;
|
|
40376
40312
|
exports.Alert = Alert;
|
|
40377
40313
|
exports.Avatar = Avatar;
|
|
40378
40314
|
exports.Badge = Badge;
|
|
40379
|
-
exports.BagelForm = _sfc_main$
|
|
40380
|
-
exports.BagelForm2 = _sfc_main$T;
|
|
40315
|
+
exports.BagelForm = _sfc_main$S;
|
|
40381
40316
|
exports.BagelVue = BagelVue;
|
|
40382
|
-
exports.BglComponent = _sfc_main$
|
|
40383
|
-
exports.BglField = _sfc_main$
|
|
40384
|
-
exports.BglForm = _sfc_main$
|
|
40317
|
+
exports.BglComponent = _sfc_main$10;
|
|
40318
|
+
exports.BglField = _sfc_main$Q;
|
|
40319
|
+
exports.BglForm = _sfc_main$S;
|
|
40385
40320
|
exports.BglVideo = BglVideo;
|
|
40386
40321
|
exports.BottomMenu = BottomMenu;
|
|
40387
40322
|
exports.Btn = Btn;
|
|
40388
|
-
exports.Card = _sfc_main
|
|
40323
|
+
exports.Card = _sfc_main$_;
|
|
40389
40324
|
exports.Carousel = Carousel;
|
|
40390
40325
|
exports.CheckInput = CheckInput;
|
|
40391
40326
|
exports.Checkbox = Checkbox;
|
|
@@ -40396,7 +40331,7 @@ exports.DataTable = DataTable;
|
|
|
40396
40331
|
exports.DateInput = _sfc_main$K;
|
|
40397
40332
|
exports.DatePick = DatePick;
|
|
40398
40333
|
exports.DatePicker = _sfc_main$I;
|
|
40399
|
-
exports.Dropdown = _sfc_main$
|
|
40334
|
+
exports.Dropdown = _sfc_main$V;
|
|
40400
40335
|
exports.FORM_STATE_KEY = FORM_STATE_KEY;
|
|
40401
40336
|
exports.FieldArray = _sfc_main$P;
|
|
40402
40337
|
exports.FieldSetVue = FieldSetVue;
|
|
@@ -40409,7 +40344,7 @@ exports.IframeVue = _sfc_main$o;
|
|
|
40409
40344
|
exports.Image = Image$1;
|
|
40410
40345
|
exports.JSONInput = JSONInput;
|
|
40411
40346
|
exports.Layout = Layout;
|
|
40412
|
-
exports.Lineart = _sfc_main$
|
|
40347
|
+
exports.Lineart = _sfc_main$Y;
|
|
40413
40348
|
exports.ListItem = _sfc_main$f;
|
|
40414
40349
|
exports.ListView = ListView;
|
|
40415
40350
|
exports.Loading = Loading;
|