@bagelink/vue 0.0.1109 → 0.0.1113
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/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.d.ts +39 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Carousel.d.ts +74 -0
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/DataPreview.d.ts +42 -0
- package/dist/components/DataPreview.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/Flag.d.ts +20 -0
- package/dist/components/Flag.d.ts.map +1 -0
- package/dist/components/FormSchema.vue.d.ts +5 -4
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.d.ts +34 -0
- package/dist/components/ListItem.d.ts.map +1 -0
- package/dist/components/ListView.d.ts +13 -0
- package/dist/components/ListView.d.ts.map +1 -0
- package/dist/components/MapEmbed.d.ts +3 -0
- package/dist/components/MapEmbed.d.ts.map +1 -0
- package/dist/components/MaterialIcon.d.ts +26 -0
- package/dist/components/MaterialIcon.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +46 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalBglForm.vue.d.ts +21 -20
- package/dist/components/ModalConfirm.d.ts +24 -0
- package/dist/components/ModalConfirm.d.ts.map +1 -0
- package/dist/components/ModalForm.d.ts +78 -0
- package/dist/components/ModalForm.d.ts.map +1 -0
- package/dist/components/NavBar.d.ts +64 -0
- package/dist/components/NavBar.d.ts.map +1 -0
- package/dist/components/PageTitle.d.ts +24 -0
- package/dist/components/PageTitle.d.ts.map +1 -0
- package/dist/components/PersonPreview.vue.d.ts +5 -4
- package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/RouterWrapper.d.ts +3 -0
- package/dist/components/RouterWrapper.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -4
- package/dist/components/TableSchema.d.ts +35 -0
- package/dist/components/TableSchema.d.ts.map +1 -0
- package/dist/components/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +12 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.d.ts +20 -0
- package/dist/components/dashboard/Lineart.d.ts.map +1 -0
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- package/dist/components/form/ItemRef.vue.d.ts +5 -3
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.d.ts +56 -0
- package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Checkbox.d.ts +16 -0
- package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
- package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.d.ts +64 -0
- package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
- package/dist/components/form/inputs/DatePicker.d.ts +33 -0
- package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/FileUpload.d.ts +108 -0
- package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts +2 -6
- 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/Password.vue.d.ts +3 -3
- package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
- package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.d.ts +20 -0
- package/dist/components/form/inputs/RichText.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.d.ts +55 -0
- package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
- package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
- package/dist/components/form/inputs/TableField.d.ts +45 -0
- package/dist/components/form/inputs/TableField.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.d.ts +241 -0
- package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.d.ts +90 -0
- package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
- package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
- package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
- package/dist/components/formkit/Toggle.vue.d.ts +2 -2
- package/dist/components/layout/BottomMenu.d.ts +27 -0
- package/dist/components/layout/BottomMenu.d.ts.map +1 -0
- package/dist/components/layout/Layout.d.ts +58 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/TabsBody.d.ts +23 -0
- package/dist/components/layout/TabsBody.d.ts.map +1 -0
- package/dist/components/layout/TabsNav.d.ts +35 -0
- package/dist/components/layout/TabsNav.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +253 -257
- package/dist/index.mjs +253 -257
- package/dist/style.css +98 -92
- package/dist/styles.css +14073 -0
- package/dist/utils/objects.d.ts +1 -0
- package/dist/vue.css +14073 -0
- package/package.json +4 -4
- package/src/components/Btn.vue +1 -1
- package/src/components/Carousel.vue +2 -2
- package/src/components/form/inputs/FileUpload.vue +6 -8
- package/src/styles/appearance.css +8 -0
- package/tsconfig.json +6 -5
- 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
|
@@ -291,6 +291,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
291
291
|
default: vue.withCtx(() => [
|
|
292
292
|
_ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
|
|
293
293
|
key: 0,
|
|
294
|
+
class: "h-100p",
|
|
294
295
|
size: "15"
|
|
295
296
|
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
296
297
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
|
|
@@ -314,7 +315,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
314
315
|
};
|
|
315
316
|
}
|
|
316
317
|
});
|
|
317
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
318
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-3efa79fb"]]);
|
|
318
319
|
const _hoisted_1$U = ["dismissable"];
|
|
319
320
|
const _hoisted_2$C = { class: "m-0" };
|
|
320
321
|
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -936,7 +937,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
936
937
|
};
|
|
937
938
|
}
|
|
938
939
|
});
|
|
939
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-
|
|
940
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-7456c3d5"]]);
|
|
940
941
|
function _isPlaceholder(a2) {
|
|
941
942
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
942
943
|
}
|
|
@@ -7741,9 +7742,10 @@ async function convertValueToCoords(state2, options) {
|
|
|
7741
7742
|
crossAxis: 0,
|
|
7742
7743
|
alignmentAxis: null
|
|
7743
7744
|
} : {
|
|
7744
|
-
mainAxis:
|
|
7745
|
-
crossAxis:
|
|
7746
|
-
alignmentAxis:
|
|
7745
|
+
mainAxis: 0,
|
|
7746
|
+
crossAxis: 0,
|
|
7747
|
+
alignmentAxis: null,
|
|
7748
|
+
...rawValue
|
|
7747
7749
|
};
|
|
7748
7750
|
if (alignment && typeof alignmentAxis === "number") {
|
|
7749
7751
|
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -7848,11 +7850,7 @@ const shift = function(options) {
|
|
|
7848
7850
|
...limitedCoords,
|
|
7849
7851
|
data: {
|
|
7850
7852
|
x: limitedCoords.x - x2,
|
|
7851
|
-
y: limitedCoords.y - y2
|
|
7852
|
-
enabled: {
|
|
7853
|
-
[mainAxis]: checkMainAxis,
|
|
7854
|
-
[crossAxis]: checkCrossAxis
|
|
7855
|
-
}
|
|
7853
|
+
y: limitedCoords.y - y2
|
|
7856
7854
|
}
|
|
7857
7855
|
};
|
|
7858
7856
|
}
|
|
@@ -7866,7 +7864,6 @@ const size = function(options) {
|
|
|
7866
7864
|
name: "size",
|
|
7867
7865
|
options,
|
|
7868
7866
|
async fn(state2) {
|
|
7869
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
7870
7867
|
const {
|
|
7871
7868
|
placement,
|
|
7872
7869
|
rects,
|
|
@@ -7902,11 +7899,10 @@ const size = function(options) {
|
|
|
7902
7899
|
const noShift = !state2.middlewareData.shift;
|
|
7903
7900
|
let availableHeight = overflowAvailableHeight;
|
|
7904
7901
|
let availableWidth = overflowAvailableWidth;
|
|
7905
|
-
if (
|
|
7906
|
-
availableWidth = maximumClippingWidth;
|
|
7907
|
-
}
|
|
7908
|
-
|
|
7909
|
-
availableHeight = maximumClippingHeight;
|
|
7902
|
+
if (isYAxis) {
|
|
7903
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
7904
|
+
} else {
|
|
7905
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
7910
7906
|
}
|
|
7911
7907
|
if (noShift && !alignment) {
|
|
7912
7908
|
const xMin = max(overflow.left, 0);
|
|
@@ -19756,114 +19752,15 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
19756
19752
|
};
|
|
19757
19753
|
}
|
|
19758
19754
|
});
|
|
19759
|
-
const _hoisted_1$A = {
|
|
19760
|
-
const _hoisted_2$p =
|
|
19761
|
-
const _hoisted_3$k = ["src", "alt", "width", "height"];
|
|
19762
|
-
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
19763
|
-
__name: "Image",
|
|
19764
|
-
props: {
|
|
19765
|
-
src: {},
|
|
19766
|
-
pathKey: {},
|
|
19767
|
-
alt: { default: "" },
|
|
19768
|
-
width: {},
|
|
19769
|
-
height: {},
|
|
19770
|
-
caption: {}
|
|
19771
|
-
},
|
|
19772
|
-
setup(__props) {
|
|
19773
|
-
let imageSrc = vue.ref(null);
|
|
19774
|
-
const fileBaseUrl = vue.computed(() => "https://files.bagel.design".replace(/\/$/, ""));
|
|
19775
|
-
function pathToUrl() {
|
|
19776
|
-
var _a2;
|
|
19777
|
-
if ((_a2 = __props.pathKey) == null ? void 0 : _a2.startsWith("static/")) return `${void 0}/${__props.pathKey}`;
|
|
19778
|
-
return `${fileBaseUrl.value}/${__props.pathKey}`;
|
|
19779
|
-
}
|
|
19780
|
-
async function loadImage() {
|
|
19781
|
-
var _a2;
|
|
19782
|
-
const url = __props.src || pathToUrl();
|
|
19783
|
-
console.log(url);
|
|
19784
|
-
if (!url) {
|
|
19785
|
-
imageSrc.value = null;
|
|
19786
|
-
return;
|
|
19787
|
-
}
|
|
19788
|
-
const ext = (_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase().split("?").shift();
|
|
19789
|
-
if (ext === "heic") {
|
|
19790
|
-
if (!("caches" in window)) {
|
|
19791
|
-
console.warn("Caching is not available. Proceeding without cache.");
|
|
19792
|
-
} else {
|
|
19793
|
-
try {
|
|
19794
|
-
const imgCache = await window.caches.open("img-cache");
|
|
19795
|
-
const cachedResponse = await imgCache.match(url);
|
|
19796
|
-
if (cachedResponse) {
|
|
19797
|
-
imageSrc.value = URL.createObjectURL(await cachedResponse.blob());
|
|
19798
|
-
return;
|
|
19799
|
-
}
|
|
19800
|
-
} catch (error) {
|
|
19801
|
-
console.warn("Error accessing cache:", error);
|
|
19802
|
-
}
|
|
19803
|
-
}
|
|
19804
|
-
try {
|
|
19805
|
-
await appendScript("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");
|
|
19806
|
-
const response = await fetch(url);
|
|
19807
|
-
const blob = await response.blob();
|
|
19808
|
-
const convertedBlob = await window.heic2any({ blob });
|
|
19809
|
-
imageSrc.value = URL.createObjectURL(convertedBlob);
|
|
19810
|
-
if ("caches" in window) {
|
|
19811
|
-
try {
|
|
19812
|
-
const imgCache = await window.caches.open("img-cache");
|
|
19813
|
-
imgCache.put(url, new Response(convertedBlob));
|
|
19814
|
-
} catch (cacheError) {
|
|
19815
|
-
console.warn("Failed to cache the image:", cacheError);
|
|
19816
|
-
}
|
|
19817
|
-
}
|
|
19818
|
-
} catch (error) {
|
|
19819
|
-
console.error("Error converting HEIC file:", error);
|
|
19820
|
-
}
|
|
19821
|
-
} else {
|
|
19822
|
-
imageSrc.value = url;
|
|
19823
|
-
}
|
|
19824
|
-
}
|
|
19825
|
-
vue.watch(() => [__props.src, __props.pathKey], loadImage, { immediate: true });
|
|
19826
|
-
return (_ctx, _cache) => {
|
|
19827
|
-
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$A, [
|
|
19828
|
-
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
19829
|
-
key: 0,
|
|
19830
|
-
src: vue.unref(imageSrc)
|
|
19831
|
-
}, _ctx.$attrs, {
|
|
19832
|
-
alt: _ctx.alt,
|
|
19833
|
-
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
19834
|
-
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
19835
|
-
}), null, 16, _hoisted_2$p)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
19836
|
-
key: 1,
|
|
19837
|
-
class: "img-web-kit",
|
|
19838
|
-
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
19839
|
-
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
19840
|
-
}, null, 8, ["width", "height"]))
|
|
19841
|
-
])) : vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
19842
|
-
key: 1,
|
|
19843
|
-
src: vue.unref(imageSrc)
|
|
19844
|
-
}, _ctx.$attrs, {
|
|
19845
|
-
alt: _ctx.alt,
|
|
19846
|
-
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
19847
|
-
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
19848
|
-
}), null, 16, _hoisted_3$k)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
19849
|
-
key: 2,
|
|
19850
|
-
class: "img-web-kit",
|
|
19851
|
-
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
19852
|
-
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
19853
|
-
}, null, 8, ["width", "height"]));
|
|
19854
|
-
};
|
|
19855
|
-
}
|
|
19856
|
-
});
|
|
19857
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-29509e85"]]);
|
|
19858
|
-
const _hoisted_1$z = { class: "bagel-input" };
|
|
19859
|
-
const _hoisted_2$o = {
|
|
19755
|
+
const _hoisted_1$A = { class: "bagel-input" };
|
|
19756
|
+
const _hoisted_2$p = {
|
|
19860
19757
|
key: 0,
|
|
19861
19758
|
placeholder: "required",
|
|
19862
19759
|
type: "text",
|
|
19863
19760
|
required: "",
|
|
19864
19761
|
class: "pixel"
|
|
19865
19762
|
};
|
|
19866
|
-
const _hoisted_3$
|
|
19763
|
+
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
19867
19764
|
const _hoisted_4$d = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
19868
19765
|
const _hoisted_5$c = {
|
|
19869
19766
|
key: 1,
|
|
@@ -19893,7 +19790,7 @@ const _hoisted_13$2 = {
|
|
|
19893
19790
|
class: "progress"
|
|
19894
19791
|
};
|
|
19895
19792
|
const _hoisted_14$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
19896
|
-
const _sfc_main$
|
|
19793
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
19897
19794
|
__name: "FileUpload",
|
|
19898
19795
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19899
19796
|
label: {},
|
|
@@ -20065,9 +19962,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20065
19962
|
return (_ctx, _cache) => {
|
|
20066
19963
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
20067
19964
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
20068
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
19965
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
20069
19966
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
20070
|
-
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
19967
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$p)) : vue.createCommentVNode("", true),
|
|
20071
19968
|
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
|
|
20072
19969
|
key: 1,
|
|
20073
19970
|
outline: "",
|
|
@@ -20093,7 +19990,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20093
19990
|
key: file.id,
|
|
20094
19991
|
class: "txt-gray txt-12 flex"
|
|
20095
19992
|
}, [
|
|
20096
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
19993
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
20097
19994
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
20098
19995
|
color: "gray",
|
|
20099
19996
|
thin: "",
|
|
@@ -20163,7 +20060,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20163
20060
|
key: file.id,
|
|
20164
20061
|
class: "multi-image-item-preview"
|
|
20165
20062
|
}, [
|
|
20166
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createBlock(Image$1, {
|
|
20063
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
20167
20064
|
key: 0,
|
|
20168
20065
|
class: "multi-preview",
|
|
20169
20066
|
src: file.url,
|
|
@@ -20191,7 +20088,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20191
20088
|
class: "multi-image-item-preview"
|
|
20192
20089
|
}, [
|
|
20193
20090
|
isImage(fileQ.file.type) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
20194
|
-
_ctx.multiple ? (vue.openBlock(), vue.createBlock(Image$1, {
|
|
20091
|
+
_ctx.multiple ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
20195
20092
|
key: 0,
|
|
20196
20093
|
width: _ctx.width || "220",
|
|
20197
20094
|
class: "multi-preview",
|
|
@@ -20254,7 +20151,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20254
20151
|
])
|
|
20255
20152
|
]),
|
|
20256
20153
|
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
|
|
20257
|
-
vue.withDirectives(vue.createVNode(Image$1, {
|
|
20154
|
+
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
20258
20155
|
class: "single-preview",
|
|
20259
20156
|
src: file.url,
|
|
20260
20157
|
alt: ""
|
|
@@ -20287,7 +20184,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20287
20184
|
icon: "check"
|
|
20288
20185
|
})
|
|
20289
20186
|
], 6),
|
|
20290
|
-
isImage(fileQ.file.type) ? (vue.openBlock(), vue.createBlock(Image$1, {
|
|
20187
|
+
isImage(fileQ.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
20291
20188
|
key: 0,
|
|
20292
20189
|
class: "single-preview",
|
|
20293
20190
|
src: fileToUrl(fileQ.file),
|
|
@@ -20313,11 +20210,11 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
20313
20210
|
};
|
|
20314
20211
|
}
|
|
20315
20212
|
});
|
|
20316
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20317
|
-
const _hoisted_1$
|
|
20318
|
-
const _hoisted_2$
|
|
20319
|
-
const _hoisted_3$
|
|
20320
|
-
const _sfc_main$
|
|
20213
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-133a8c7a"]]);
|
|
20214
|
+
const _hoisted_1$z = ["title"];
|
|
20215
|
+
const _hoisted_2$o = { key: 0 };
|
|
20216
|
+
const _hoisted_3$j = ["value", "placeholder"];
|
|
20217
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
20321
20218
|
__name: "JSONInput",
|
|
20322
20219
|
props: {
|
|
20323
20220
|
description: { default: "" },
|
|
@@ -20340,7 +20237,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
20340
20237
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20341
20238
|
title: _ctx.description
|
|
20342
20239
|
}, [
|
|
20343
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20240
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
|
|
20344
20241
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
20345
20242
|
])) : vue.createCommentVNode("", true),
|
|
20346
20243
|
vue.createElementVNode("textarea", {
|
|
@@ -20348,20 +20245,20 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
20348
20245
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
20349
20246
|
placeholder: _ctx.placeholder,
|
|
20350
20247
|
onInput: handleInput
|
|
20351
|
-
}, null, 42, _hoisted_3$
|
|
20352
|
-
], 10, _hoisted_1$
|
|
20248
|
+
}, null, 42, _hoisted_3$j)
|
|
20249
|
+
], 10, _hoisted_1$z);
|
|
20353
20250
|
};
|
|
20354
20251
|
}
|
|
20355
20252
|
});
|
|
20356
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20357
|
-
const _hoisted_1$
|
|
20358
|
-
const _hoisted_2$
|
|
20359
|
-
const _hoisted_3$
|
|
20253
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
20254
|
+
const _hoisted_1$y = ["for"];
|
|
20255
|
+
const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
20256
|
+
const _hoisted_3$i = { key: 1 };
|
|
20360
20257
|
const _hoisted_4$c = {
|
|
20361
20258
|
key: 5,
|
|
20362
20259
|
class: "flex column spinner"
|
|
20363
20260
|
};
|
|
20364
|
-
const _sfc_main$
|
|
20261
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
20365
20262
|
__name: "NumberInput",
|
|
20366
20263
|
props: {
|
|
20367
20264
|
modelValue: {},
|
|
@@ -20464,7 +20361,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
20464
20361
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
20465
20362
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
20466
20363
|
]
|
|
20467
|
-
}, null, 42, _hoisted_2$
|
|
20364
|
+
}, null, 42, _hoisted_2$n), [
|
|
20468
20365
|
[
|
|
20469
20366
|
vue.vModelText,
|
|
20470
20367
|
vue.unref(formattedValue),
|
|
@@ -20478,7 +20375,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
20478
20375
|
{ number: true }
|
|
20479
20376
|
]
|
|
20480
20377
|
]),
|
|
20481
|
-
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$
|
|
20378
|
+
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$i, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
20482
20379
|
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
|
|
20483
20380
|
key: 2,
|
|
20484
20381
|
class: "iconStart",
|
|
@@ -20517,14 +20414,14 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
20517
20414
|
}, null, 8, ["disabled"])
|
|
20518
20415
|
])) : vue.createCommentVNode("", true)
|
|
20519
20416
|
], 2)
|
|
20520
|
-
], 8, _hoisted_1$
|
|
20417
|
+
], 8, _hoisted_1$y)
|
|
20521
20418
|
], 2);
|
|
20522
20419
|
};
|
|
20523
20420
|
}
|
|
20524
20421
|
});
|
|
20525
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20526
|
-
const _hoisted_1$
|
|
20527
|
-
const _sfc_main$
|
|
20422
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f265687e"]]);
|
|
20423
|
+
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
20424
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
20528
20425
|
__name: "OTP",
|
|
20529
20426
|
props: {
|
|
20530
20427
|
digitCount: {},
|
|
@@ -20622,16 +20519,16 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
20622
20519
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
20623
20520
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
20624
20521
|
onPaste: ($event) => handlePaste($event, ind)
|
|
20625
|
-
}, null, 40, _hoisted_1$
|
|
20522
|
+
}, null, 40, _hoisted_1$x);
|
|
20626
20523
|
}), 128))
|
|
20627
20524
|
], 512);
|
|
20628
20525
|
};
|
|
20629
20526
|
}
|
|
20630
20527
|
});
|
|
20631
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20632
|
-
const _hoisted_1$
|
|
20633
|
-
const _hoisted_2$
|
|
20634
|
-
const _sfc_main$
|
|
20528
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-5c22c199"]]);
|
|
20529
|
+
const _hoisted_1$w = { class: "relative" };
|
|
20530
|
+
const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
20531
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
20635
20532
|
__name: "PasswordInput",
|
|
20636
20533
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
20637
20534
|
id: {},
|
|
@@ -20672,7 +20569,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
20672
20569
|
);
|
|
20673
20570
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
20674
20571
|
return (_ctx, _cache) => {
|
|
20675
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20572
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
20676
20573
|
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
20677
20574
|
modelValue: password.value,
|
|
20678
20575
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -20680,7 +20577,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
20680
20577
|
type: inputType.value,
|
|
20681
20578
|
class: "mb-0"
|
|
20682
20579
|
}), null, 16, ["modelValue", "type"]),
|
|
20683
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
20580
|
+
vue.createElementVNode("div", _hoisted_2$m, [
|
|
20684
20581
|
vue.createVNode(vue.unref(Btn), {
|
|
20685
20582
|
flat: "",
|
|
20686
20583
|
thin: "",
|
|
@@ -20693,9 +20590,9 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
20693
20590
|
};
|
|
20694
20591
|
}
|
|
20695
20592
|
});
|
|
20696
|
-
const _hoisted_1$
|
|
20697
|
-
const _hoisted_2$
|
|
20698
|
-
const _hoisted_3$
|
|
20593
|
+
const _hoisted_1$v = ["for"];
|
|
20594
|
+
const _hoisted_2$l = ["id", "name", "value", "required"];
|
|
20595
|
+
const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
20699
20596
|
const _hoisted_4$b = ["src", "alt"];
|
|
20700
20597
|
const _hoisted_5$b = { class: "" };
|
|
20701
20598
|
const _hoisted_6$9 = {
|
|
@@ -20706,7 +20603,7 @@ const _hoisted_7$6 = {
|
|
|
20706
20603
|
key: 1,
|
|
20707
20604
|
class: "txt-gray txt-12 m-0"
|
|
20708
20605
|
};
|
|
20709
|
-
const _sfc_main$
|
|
20606
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
20710
20607
|
__name: "RadioGroup",
|
|
20711
20608
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
20712
20609
|
groupName: {},
|
|
@@ -20736,10 +20633,10 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
20736
20633
|
name: _ctx.groupName,
|
|
20737
20634
|
value: opt.value,
|
|
20738
20635
|
required: _ctx.required
|
|
20739
|
-
}, null, 8, _hoisted_2$
|
|
20636
|
+
}, null, 8, _hoisted_2$l), [
|
|
20740
20637
|
[vue.vModelRadio, selectedOption.value]
|
|
20741
20638
|
]),
|
|
20742
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
20639
|
+
vue.createElementVNode("div", _hoisted_3$h, [
|
|
20743
20640
|
opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
20744
20641
|
key: 0,
|
|
20745
20642
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -20761,19 +20658,19 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
20761
20658
|
icon: "delete",
|
|
20762
20659
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
20763
20660
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
20764
|
-
], 8, _hoisted_1$
|
|
20661
|
+
], 8, _hoisted_1$v);
|
|
20765
20662
|
}), 128))
|
|
20766
20663
|
]);
|
|
20767
20664
|
};
|
|
20768
20665
|
}
|
|
20769
20666
|
});
|
|
20770
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20771
|
-
const _hoisted_1$
|
|
20772
|
-
const _hoisted_2$
|
|
20773
|
-
const _hoisted_3$
|
|
20667
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-3c77be46"]]);
|
|
20668
|
+
const _hoisted_1$u = { class: "bagel-input" };
|
|
20669
|
+
const _hoisted_2$k = { class: "pb-025" };
|
|
20670
|
+
const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
|
|
20774
20671
|
const _hoisted_4$a = ["id", "name", "value", "checked"];
|
|
20775
20672
|
const _hoisted_5$a = ["for"];
|
|
20776
|
-
const _sfc_main$
|
|
20673
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
20777
20674
|
__name: "RadioPillsInput",
|
|
20778
20675
|
props: {
|
|
20779
20676
|
options: {},
|
|
@@ -20814,9 +20711,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
20814
20711
|
selectedValue.value = props2.modelValue;
|
|
20815
20712
|
});
|
|
20816
20713
|
return (_ctx, _cache) => {
|
|
20817
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20818
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
20819
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
20714
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
20715
|
+
vue.createElementVNode("label", _hoisted_2$k, vue.toDisplayString(_ctx.label), 1),
|
|
20716
|
+
vue.createElementVNode("div", _hoisted_3$g, [
|
|
20820
20717
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
20821
20718
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20822
20719
|
key: index2,
|
|
@@ -20840,18 +20737,18 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
20840
20737
|
};
|
|
20841
20738
|
}
|
|
20842
20739
|
});
|
|
20843
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20844
|
-
const _hoisted_1$
|
|
20845
|
-
const _hoisted_2$
|
|
20740
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-cf892d71"]]);
|
|
20741
|
+
const _hoisted_1$t = ["dir"];
|
|
20742
|
+
const _hoisted_2$j = {
|
|
20846
20743
|
key: 0,
|
|
20847
20744
|
class: "label"
|
|
20848
20745
|
};
|
|
20849
|
-
const _hoisted_3$
|
|
20746
|
+
const _hoisted_3$f = { class: "range-slider relative w-100" };
|
|
20850
20747
|
const _hoisted_4$9 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
20851
20748
|
const _hoisted_5$9 = ["value", "min", "max", "step", "required", "disabled"];
|
|
20852
20749
|
const _hoisted_6$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
20853
20750
|
const _hoisted_7$5 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
20854
|
-
const _sfc_main$
|
|
20751
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
20855
20752
|
__name: "RangeInput",
|
|
20856
20753
|
props: {
|
|
20857
20754
|
modelValue: {},
|
|
@@ -20919,8 +20816,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
20919
20816
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20920
20817
|
dir: vue.unref(rtl) ? "rtl" : "ltr"
|
|
20921
20818
|
}, [
|
|
20922
|
-
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20923
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
20819
|
+
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
|
|
20820
|
+
vue.createElementVNode("div", _hoisted_3$f, [
|
|
20924
20821
|
vue.createElementVNode("input", {
|
|
20925
20822
|
id: vue.unref(id),
|
|
20926
20823
|
value: validFrom.value,
|
|
@@ -21011,11 +20908,11 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
21011
20908
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
21012
20909
|
], true)
|
|
21013
20910
|
])
|
|
21014
|
-
], 8, _hoisted_1$
|
|
20911
|
+
], 8, _hoisted_1$t);
|
|
21015
20912
|
};
|
|
21016
20913
|
}
|
|
21017
20914
|
});
|
|
21018
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20915
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-e606435a"]]);
|
|
21019
20916
|
const tableTools = [
|
|
21020
20917
|
"mergeCells",
|
|
21021
20918
|
"splitCells",
|
|
@@ -21105,12 +21002,12 @@ const toolbarOptions = [
|
|
|
21105
21002
|
{ name: "separator" },
|
|
21106
21003
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
21107
21004
|
];
|
|
21108
|
-
const _hoisted_1$
|
|
21109
|
-
const _hoisted_2$
|
|
21110
|
-
const _hoisted_3$
|
|
21005
|
+
const _hoisted_1$s = { class: "grid grid-wrap p-05" };
|
|
21006
|
+
const _hoisted_2$i = ["onMousemove", "onClick"];
|
|
21007
|
+
const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
|
|
21111
21008
|
const fb = 1;
|
|
21112
21009
|
const base = 5;
|
|
21113
|
-
const _sfc_main$
|
|
21010
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
21114
21011
|
__name: "gridBox",
|
|
21115
21012
|
emits: ["select"],
|
|
21116
21013
|
setup(__props, { emit: __emit }) {
|
|
@@ -21126,7 +21023,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
21126
21023
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
21127
21024
|
});
|
|
21128
21025
|
return (_ctx, _cache) => {
|
|
21129
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21026
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
21130
21027
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
21131
21028
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21132
21029
|
key: `row-${row}`,
|
|
@@ -21153,21 +21050,21 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
21153
21050
|
hoveredCol.value = col;
|
|
21154
21051
|
},
|
|
21155
21052
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
21156
|
-
}, null, 42, _hoisted_2$
|
|
21053
|
+
}, null, 42, _hoisted_2$i);
|
|
21157
21054
|
}), 128))
|
|
21158
21055
|
], 32);
|
|
21159
21056
|
}), 128)),
|
|
21160
|
-
vue.createElementVNode("p", _hoisted_3$
|
|
21057
|
+
vue.createElementVNode("p", _hoisted_3$e, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
|
|
21161
21058
|
]);
|
|
21162
21059
|
};
|
|
21163
21060
|
}
|
|
21164
21061
|
});
|
|
21165
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21166
|
-
const _hoisted_1$
|
|
21062
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4548b70f"]]);
|
|
21063
|
+
const _hoisted_1$r = {
|
|
21167
21064
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
21168
21065
|
role: "toolbar"
|
|
21169
21066
|
};
|
|
21170
|
-
const _sfc_main$
|
|
21067
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
21171
21068
|
__name: "EditorToolbar",
|
|
21172
21069
|
props: {
|
|
21173
21070
|
config: { default: defaultToolbarConfig },
|
|
@@ -21182,7 +21079,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
21182
21079
|
}
|
|
21183
21080
|
return (_ctx, _cache) => {
|
|
21184
21081
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
21185
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21082
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
21186
21083
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
21187
21084
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
21188
21085
|
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
|
|
@@ -21224,7 +21121,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
21224
21121
|
};
|
|
21225
21122
|
}
|
|
21226
21123
|
});
|
|
21227
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21124
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-33dff8fa"]]);
|
|
21228
21125
|
function createCommandExecutor(state2, commands) {
|
|
21229
21126
|
return {
|
|
21230
21127
|
execute(command, value) {
|
|
@@ -22144,12 +22041,12 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
22144
22041
|
}
|
|
22145
22042
|
});
|
|
22146
22043
|
}
|
|
22147
|
-
const _hoisted_1$
|
|
22148
|
-
const _hoisted_2$
|
|
22044
|
+
const _hoisted_1$q = { class: "content-area radius-05" };
|
|
22045
|
+
const _hoisted_2$h = {
|
|
22149
22046
|
key: 1,
|
|
22150
22047
|
class: "flex"
|
|
22151
22048
|
};
|
|
22152
|
-
const _sfc_main$
|
|
22049
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
22153
22050
|
__name: "index",
|
|
22154
22051
|
props: {
|
|
22155
22052
|
modelValue: {},
|
|
@@ -22233,7 +22130,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
22233
22130
|
vue.createElementVNode("div", {
|
|
22234
22131
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
22235
22132
|
}, [
|
|
22236
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
22133
|
+
vue.createElementVNode("div", _hoisted_1$q, [
|
|
22237
22134
|
vue.createElementVNode("iframe", {
|
|
22238
22135
|
id: "rich-text-iframe",
|
|
22239
22136
|
ref_key: "iframe",
|
|
@@ -22253,7 +22150,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
22253
22150
|
language: "html"
|
|
22254
22151
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
|
|
22255
22152
|
], 2),
|
|
22256
|
-
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
22153
|
+
_ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$h, [
|
|
22257
22154
|
_cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
22258
22155
|
vue.createVNode(vue.unref(Btn), {
|
|
22259
22156
|
thin: "",
|
|
@@ -22296,10 +22193,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
22296
22193
|
};
|
|
22297
22194
|
}
|
|
22298
22195
|
});
|
|
22299
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22300
|
-
const _hoisted_1$
|
|
22301
|
-
const _hoisted_2$
|
|
22302
|
-
const _hoisted_3$
|
|
22196
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-2e74943d"]]);
|
|
22197
|
+
const _hoisted_1$p = { class: "flex gap-05" };
|
|
22198
|
+
const _hoisted_2$g = ["disabled"];
|
|
22199
|
+
const _hoisted_3$d = { key: 1 };
|
|
22303
22200
|
const _hoisted_4$8 = {
|
|
22304
22201
|
key: 2,
|
|
22305
22202
|
class: "ms-auto ps-05 me-05"
|
|
@@ -22307,7 +22204,7 @@ const _hoisted_4$8 = {
|
|
|
22307
22204
|
const _hoisted_5$8 = ["value"];
|
|
22308
22205
|
const _hoisted_6$7 = ["aria-selected", "onClick", "onKeydown"];
|
|
22309
22206
|
const _hoisted_7$4 = { class: "block" };
|
|
22310
|
-
const _sfc_main$
|
|
22207
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
22311
22208
|
__name: "SelectInput",
|
|
22312
22209
|
props: {
|
|
22313
22210
|
options: {},
|
|
@@ -22495,7 +22392,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
22495
22392
|
trigger: vue.withCtx(() => [
|
|
22496
22393
|
vue.createElementVNode("label", null, [
|
|
22497
22394
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
22498
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
22395
|
+
vue.createElementVNode("div", _hoisted_1$p, [
|
|
22499
22396
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
22500
22397
|
key: 0,
|
|
22501
22398
|
ref_key: "searchInput",
|
|
@@ -22526,7 +22423,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
22526
22423
|
key: 0,
|
|
22527
22424
|
icon: _ctx.icon
|
|
22528
22425
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
22529
|
-
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$
|
|
22426
|
+
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$d, vue.toDisplayString(selectedLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
22530
22427
|
_ctx.clearable && selectedItemCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$8, [
|
|
22531
22428
|
vue.createVNode(vue.unref(Btn), {
|
|
22532
22429
|
flat: "",
|
|
@@ -22543,7 +22440,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
22543
22440
|
key: 3,
|
|
22544
22441
|
thin: ""
|
|
22545
22442
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
22546
|
-
], 42, _hoisted_2$
|
|
22443
|
+
], 42, _hoisted_2$g)),
|
|
22547
22444
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
22548
22445
|
key: 2,
|
|
22549
22446
|
tabindex: "-1",
|
|
@@ -22613,7 +22510,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
22613
22510
|
};
|
|
22614
22511
|
}
|
|
22615
22512
|
});
|
|
22616
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22513
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-77b2541f"]]);
|
|
22617
22514
|
/*!
|
|
22618
22515
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
22619
22516
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -23210,15 +23107,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
23210
23107
|
return svg.outerHTML;
|
|
23211
23108
|
}
|
|
23212
23109
|
}
|
|
23213
|
-
const _hoisted_1$
|
|
23214
|
-
const _hoisted_2$
|
|
23110
|
+
const _hoisted_1$o = ["disabled"];
|
|
23111
|
+
const _hoisted_2$f = {
|
|
23215
23112
|
key: 1,
|
|
23216
23113
|
placeholder: "required",
|
|
23217
23114
|
type: "text",
|
|
23218
23115
|
required: "",
|
|
23219
23116
|
class: "pixel"
|
|
23220
23117
|
};
|
|
23221
|
-
const _sfc_main$
|
|
23118
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
23222
23119
|
__name: "SignaturePad",
|
|
23223
23120
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
23224
23121
|
sigOption: {},
|
|
@@ -23371,8 +23268,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
23371
23268
|
ref: vCanvas,
|
|
23372
23269
|
class: "canvas",
|
|
23373
23270
|
disabled: _ctx.disabled
|
|
23374
|
-
}, null, 8, _hoisted_1$
|
|
23375
|
-
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
23271
|
+
}, null, 8, _hoisted_1$o),
|
|
23272
|
+
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$f)) : vue.createCommentVNode("", true)
|
|
23376
23273
|
], 34);
|
|
23377
23274
|
};
|
|
23378
23275
|
}
|
|
@@ -25856,13 +25753,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
25856
25753
|
}
|
|
25857
25754
|
}
|
|
25858
25755
|
});
|
|
25859
|
-
const _hoisted_1$
|
|
25860
|
-
const _hoisted_2$
|
|
25861
|
-
const _hoisted_3$
|
|
25756
|
+
const _hoisted_1$n = ["title"];
|
|
25757
|
+
const _hoisted_2$e = { class: "bagel-input" };
|
|
25758
|
+
const _hoisted_3$c = { class: "table-side-scroll" };
|
|
25862
25759
|
const _hoisted_4$7 = { class: "table-header" };
|
|
25863
25760
|
const _hoisted_5$7 = { class: "table-reorder" };
|
|
25864
25761
|
const _hoisted_6$6 = { class: "table-action" };
|
|
25865
|
-
const _sfc_main$
|
|
25762
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
25866
25763
|
__name: "TableField",
|
|
25867
25764
|
props: {
|
|
25868
25765
|
description: { default: "" },
|
|
@@ -25927,10 +25824,10 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
25927
25824
|
class: "table-field-wrap",
|
|
25928
25825
|
title: _ctx.description
|
|
25929
25826
|
}, [
|
|
25930
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
25827
|
+
vue.createElementVNode("div", _hoisted_2$e, [
|
|
25931
25828
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
25932
25829
|
]),
|
|
25933
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
25830
|
+
vue.createElementVNode("div", _hoisted_3$c, [
|
|
25934
25831
|
vue.createElementVNode("div", _hoisted_4$7, [
|
|
25935
25832
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
25936
25833
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -26002,11 +25899,11 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
26002
25899
|
])),
|
|
26003
25900
|
_: 1
|
|
26004
25901
|
})
|
|
26005
|
-
], 8, _hoisted_1$
|
|
25902
|
+
], 8, _hoisted_1$n);
|
|
26006
25903
|
};
|
|
26007
25904
|
}
|
|
26008
25905
|
});
|
|
26009
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25906
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-a65c658c"]]);
|
|
26010
25907
|
function bind(fn2, thisArg) {
|
|
26011
25908
|
return function wrap() {
|
|
26012
25909
|
return fn2.apply(thisArg, arguments);
|
|
@@ -30453,13 +30350,13 @@ function parsePhoneNumber$1() {
|
|
|
30453
30350
|
function parsePhoneNumber() {
|
|
30454
30351
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
30455
30352
|
}
|
|
30456
|
-
const _hoisted_1$
|
|
30457
|
-
const _hoisted_2$
|
|
30458
|
-
const _hoisted_3$
|
|
30353
|
+
const _hoisted_1$m = ["aria-expanded"];
|
|
30354
|
+
const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
|
|
30355
|
+
const _hoisted_3$b = ["aria-selected", "onClick", "onMousemove"];
|
|
30459
30356
|
const _hoisted_4$6 = { class: "tel-country" };
|
|
30460
30357
|
const _hoisted_5$6 = { key: 1 };
|
|
30461
30358
|
const _hoisted_6$5 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
30462
|
-
const _sfc_main$
|
|
30359
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
30463
30360
|
__name: "TelInput",
|
|
30464
30361
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
30465
30362
|
label: {},
|
|
@@ -30744,7 +30641,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
30744
30641
|
])
|
|
30745
30642
|
]),
|
|
30746
30643
|
default: vue.withCtx(() => [
|
|
30747
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
30644
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
30748
30645
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
30749
30646
|
key: 0,
|
|
30750
30647
|
modelValue: searchQuery.value,
|
|
@@ -30774,7 +30671,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
30774
30671
|
}, null, 8, ["country"])) : vue.createCommentVNode("", true),
|
|
30775
30672
|
vue.createElementVNode("p", _hoisted_4$6, vue.toDisplayString(pb.name), 1),
|
|
30776
30673
|
computedDropDownOptions.value.showDialCodeInList ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$6, " +" + vue.toDisplayString(pb.dialCode), 1)) : vue.createCommentVNode("", true)
|
|
30777
|
-
], 40, _hoisted_3$
|
|
30674
|
+
], 40, _hoisted_3$b);
|
|
30778
30675
|
}), 128))
|
|
30779
30676
|
], 2)
|
|
30780
30677
|
])
|
|
@@ -30808,19 +30705,19 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
30808
30705
|
}, null, 44, _hoisted_6$5), [
|
|
30809
30706
|
[vue.vModelText, phone.value]
|
|
30810
30707
|
])
|
|
30811
|
-
], 40, _hoisted_1$
|
|
30708
|
+
], 40, _hoisted_1$m)
|
|
30812
30709
|
])
|
|
30813
30710
|
], 2);
|
|
30814
30711
|
};
|
|
30815
30712
|
}
|
|
30816
30713
|
});
|
|
30817
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30818
|
-
const _hoisted_1$
|
|
30819
|
-
const _hoisted_2$
|
|
30820
|
-
const _hoisted_3$
|
|
30714
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-cfcf054d"]]);
|
|
30715
|
+
const _hoisted_1$l = ["title"];
|
|
30716
|
+
const _hoisted_2$c = ["for"];
|
|
30717
|
+
const _hoisted_3$a = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
30821
30718
|
const _hoisted_4$5 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
30822
30719
|
const _hoisted_5$5 = { key: 2 };
|
|
30823
|
-
const _sfc_main$
|
|
30720
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
30824
30721
|
__name: "TextInput",
|
|
30825
30722
|
props: {
|
|
30826
30723
|
id: {},
|
|
@@ -30918,7 +30815,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30918
30815
|
onFocusout: _cache[1] || (_cache[1] = //@ts-ignore
|
|
30919
30816
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
|
|
30920
30817
|
onInput: updateInputVal
|
|
30921
|
-
}), null, 16, _hoisted_3$
|
|
30818
|
+
}), null, 16, _hoisted_3$a)), [
|
|
30922
30819
|
[
|
|
30923
30820
|
vue.vModelDynamic,
|
|
30924
30821
|
vue.unref(inputVal),
|
|
@@ -30955,16 +30852,16 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
30955
30852
|
key: 4,
|
|
30956
30853
|
icon: _ctx.icon
|
|
30957
30854
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
30958
|
-
], 8, _hoisted_2$
|
|
30959
|
-
], 10, _hoisted_1$
|
|
30855
|
+
], 8, _hoisted_2$c)
|
|
30856
|
+
], 10, _hoisted_1$l);
|
|
30960
30857
|
};
|
|
30961
30858
|
}
|
|
30962
30859
|
});
|
|
30963
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30964
|
-
const _hoisted_1$
|
|
30965
|
-
const _hoisted_2$
|
|
30966
|
-
const _hoisted_3$
|
|
30967
|
-
const _sfc_main$
|
|
30860
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-52ac6dc3"]]);
|
|
30861
|
+
const _hoisted_1$k = ["title"];
|
|
30862
|
+
const _hoisted_2$b = ["id", "required"];
|
|
30863
|
+
const _hoisted_3$9 = ["for"];
|
|
30864
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
30968
30865
|
__name: "ToggleInput",
|
|
30969
30866
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
30970
30867
|
label: {},
|
|
@@ -31000,19 +30897,19 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
31000
30897
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
31001
30898
|
type: "checkbox",
|
|
31002
30899
|
required: _ctx.required
|
|
31003
|
-
}, null, 8, _hoisted_2$
|
|
30900
|
+
}, null, 8, _hoisted_2$b), [
|
|
31004
30901
|
[vue.vModelCheckbox, checked.value]
|
|
31005
30902
|
]),
|
|
31006
30903
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
31007
30904
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
31008
30905
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
31009
30906
|
], true)
|
|
31010
|
-
], 8, _hoisted_3$
|
|
31011
|
-
], 10, _hoisted_1$
|
|
30907
|
+
], 8, _hoisted_3$9)
|
|
30908
|
+
], 10, _hoisted_1$k);
|
|
31012
30909
|
};
|
|
31013
30910
|
}
|
|
31014
30911
|
});
|
|
31015
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30912
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-ebe691ee"]]);
|
|
31016
30913
|
const files = {
|
|
31017
30914
|
setBaseUrl: (baseUrl) => {
|
|
31018
30915
|
if (!baseUrl) return;
|
|
@@ -31038,9 +30935,9 @@ const files = {
|
|
|
31038
30935
|
});
|
|
31039
30936
|
}
|
|
31040
30937
|
};
|
|
31041
|
-
const _hoisted_1$
|
|
31042
|
-
const _hoisted_2$
|
|
31043
|
-
const _hoisted_3$
|
|
30938
|
+
const _hoisted_1$j = { class: "bagel-input" };
|
|
30939
|
+
const _hoisted_2$a = { key: 0 };
|
|
30940
|
+
const _hoisted_3$8 = {
|
|
31044
30941
|
key: 1,
|
|
31045
30942
|
placeholder: "required",
|
|
31046
30943
|
type: "text",
|
|
@@ -31077,7 +30974,7 @@ const _hoisted_14 = {
|
|
|
31077
30974
|
class: "progress"
|
|
31078
30975
|
};
|
|
31079
30976
|
const _hoisted_15 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
31080
|
-
const _sfc_main$
|
|
30977
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
31081
30978
|
__name: "UploadInput",
|
|
31082
30979
|
props: {
|
|
31083
30980
|
label: {},
|
|
@@ -31185,9 +31082,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
31185
31082
|
return (_ctx, _cache) => {
|
|
31186
31083
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
31187
31084
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
31188
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
31189
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
31190
|
-
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$
|
|
31085
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
31086
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$a, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
31087
|
+
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$8)) : vue.createCommentVNode("", true),
|
|
31191
31088
|
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
|
|
31192
31089
|
key: 2,
|
|
31193
31090
|
outline: "",
|
|
@@ -31411,9 +31308,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
31411
31308
|
};
|
|
31412
31309
|
}
|
|
31413
31310
|
});
|
|
31414
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31415
|
-
const _hoisted_1$
|
|
31416
|
-
const _sfc_main$
|
|
31311
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-bd972fe8"]]);
|
|
31312
|
+
const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
31313
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
31417
31314
|
__name: "IframeVue",
|
|
31418
31315
|
props: {
|
|
31419
31316
|
src: {},
|
|
@@ -31472,10 +31369,109 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
31472
31369
|
scrolling: _ctx.scrolling,
|
|
31473
31370
|
srcset: _ctx.srcset,
|
|
31474
31371
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
31475
|
-
}, null, 40, _hoisted_1$
|
|
31372
|
+
}, null, 40, _hoisted_1$i);
|
|
31373
|
+
};
|
|
31374
|
+
}
|
|
31375
|
+
});
|
|
31376
|
+
const _hoisted_1$h = { key: 0 };
|
|
31377
|
+
const _hoisted_2$9 = ["src", "alt", "width", "height"];
|
|
31378
|
+
const _hoisted_3$7 = ["src", "alt", "width", "height"];
|
|
31379
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
31380
|
+
__name: "Image",
|
|
31381
|
+
props: {
|
|
31382
|
+
src: {},
|
|
31383
|
+
pathKey: {},
|
|
31384
|
+
alt: { default: "" },
|
|
31385
|
+
width: {},
|
|
31386
|
+
height: {},
|
|
31387
|
+
caption: {}
|
|
31388
|
+
},
|
|
31389
|
+
setup(__props) {
|
|
31390
|
+
let imageSrc = vue.ref(null);
|
|
31391
|
+
const fileBaseUrl = vue.computed(() => "https://files.bagel.design".replace(/\/$/, ""));
|
|
31392
|
+
function pathToUrl() {
|
|
31393
|
+
var _a2;
|
|
31394
|
+
if ((_a2 = __props.pathKey) == null ? void 0 : _a2.startsWith("static/")) return `${void 0}/${__props.pathKey}`;
|
|
31395
|
+
return `${fileBaseUrl.value}/${__props.pathKey}`;
|
|
31396
|
+
}
|
|
31397
|
+
async function loadImage() {
|
|
31398
|
+
var _a2;
|
|
31399
|
+
const url = __props.src || pathToUrl();
|
|
31400
|
+
console.log(url);
|
|
31401
|
+
if (!url) {
|
|
31402
|
+
imageSrc.value = null;
|
|
31403
|
+
return;
|
|
31404
|
+
}
|
|
31405
|
+
const ext = (_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase().split("?").shift();
|
|
31406
|
+
if (ext === "heic") {
|
|
31407
|
+
if (!("caches" in window)) {
|
|
31408
|
+
console.warn("Caching is not available. Proceeding without cache.");
|
|
31409
|
+
} else {
|
|
31410
|
+
try {
|
|
31411
|
+
const imgCache = await window.caches.open("img-cache");
|
|
31412
|
+
const cachedResponse = await imgCache.match(url);
|
|
31413
|
+
if (cachedResponse) {
|
|
31414
|
+
imageSrc.value = URL.createObjectURL(await cachedResponse.blob());
|
|
31415
|
+
return;
|
|
31416
|
+
}
|
|
31417
|
+
} catch (error) {
|
|
31418
|
+
console.warn("Error accessing cache:", error);
|
|
31419
|
+
}
|
|
31420
|
+
}
|
|
31421
|
+
try {
|
|
31422
|
+
await appendScript("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");
|
|
31423
|
+
const response = await fetch(url);
|
|
31424
|
+
const blob = await response.blob();
|
|
31425
|
+
const convertedBlob = await window.heic2any({ blob });
|
|
31426
|
+
imageSrc.value = URL.createObjectURL(convertedBlob);
|
|
31427
|
+
if ("caches" in window) {
|
|
31428
|
+
try {
|
|
31429
|
+
const imgCache = await window.caches.open("img-cache");
|
|
31430
|
+
imgCache.put(url, new Response(convertedBlob));
|
|
31431
|
+
} catch (cacheError) {
|
|
31432
|
+
console.warn("Failed to cache the image:", cacheError);
|
|
31433
|
+
}
|
|
31434
|
+
}
|
|
31435
|
+
} catch (error) {
|
|
31436
|
+
console.error("Error converting HEIC file:", error);
|
|
31437
|
+
}
|
|
31438
|
+
} else {
|
|
31439
|
+
imageSrc.value = url;
|
|
31440
|
+
}
|
|
31441
|
+
}
|
|
31442
|
+
vue.watch(() => [__props.src, __props.pathKey], loadImage, { immediate: true });
|
|
31443
|
+
return (_ctx, _cache) => {
|
|
31444
|
+
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$h, [
|
|
31445
|
+
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
31446
|
+
key: 0,
|
|
31447
|
+
src: vue.unref(imageSrc)
|
|
31448
|
+
}, _ctx.$attrs, {
|
|
31449
|
+
alt: _ctx.alt,
|
|
31450
|
+
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
31451
|
+
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
31452
|
+
}), null, 16, _hoisted_2$9)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
31453
|
+
key: 1,
|
|
31454
|
+
class: "img-web-kit",
|
|
31455
|
+
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
31456
|
+
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
31457
|
+
}, null, 8, ["width", "height"]))
|
|
31458
|
+
])) : vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
31459
|
+
key: 1,
|
|
31460
|
+
src: vue.unref(imageSrc)
|
|
31461
|
+
}, _ctx.$attrs, {
|
|
31462
|
+
alt: _ctx.alt,
|
|
31463
|
+
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
31464
|
+
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
31465
|
+
}), null, 16, _hoisted_3$7)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
31466
|
+
key: 2,
|
|
31467
|
+
class: "img-web-kit",
|
|
31468
|
+
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
31469
|
+
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
31470
|
+
}, null, 8, ["width", "height"]));
|
|
31476
31471
|
};
|
|
31477
31472
|
}
|
|
31478
31473
|
});
|
|
31474
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-29509e85"]]);
|
|
31479
31475
|
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
31480
31476
|
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
31481
31477
|
__name: "BottomMenu",
|
|
@@ -32632,6 +32628,7 @@ function debounceFilter(ms, options = {}) {
|
|
|
32632
32628
|
lastRejector();
|
|
32633
32629
|
lastRejector = noop;
|
|
32634
32630
|
};
|
|
32631
|
+
let lastInvoker;
|
|
32635
32632
|
const filter3 = (invoke) => {
|
|
32636
32633
|
const duration = vue.toValue(ms);
|
|
32637
32634
|
const maxDuration = vue.toValue(options.maxWait);
|
|
@@ -32646,12 +32643,13 @@ function debounceFilter(ms, options = {}) {
|
|
|
32646
32643
|
}
|
|
32647
32644
|
return new Promise((resolve, reject3) => {
|
|
32648
32645
|
lastRejector = options.rejectOnCancel ? reject3 : resolve;
|
|
32646
|
+
lastInvoker = invoke;
|
|
32649
32647
|
if (maxDuration && !maxTimer) {
|
|
32650
32648
|
maxTimer = setTimeout(() => {
|
|
32651
32649
|
if (timer)
|
|
32652
32650
|
_clearTimeout(timer);
|
|
32653
32651
|
maxTimer = null;
|
|
32654
|
-
resolve(
|
|
32652
|
+
resolve(lastInvoker());
|
|
32655
32653
|
}, maxDuration);
|
|
32656
32654
|
}
|
|
32657
32655
|
timer = setTimeout(() => {
|
|
@@ -34055,14 +34053,12 @@ class BagelAuth {
|
|
|
34055
34053
|
}
|
|
34056
34054
|
}
|
|
34057
34055
|
class Bagel {
|
|
34058
|
-
constructor({ host,
|
|
34056
|
+
constructor({ host, onError }) {
|
|
34059
34057
|
__publicField(this, "host");
|
|
34060
|
-
__publicField(this, "fileBaseUrl");
|
|
34061
34058
|
__publicField(this, "onError");
|
|
34062
34059
|
__publicField(this, "read_table");
|
|
34063
34060
|
__publicField(this, "auth", new BagelAuth(this));
|
|
34064
34061
|
this.host = host == null ? void 0 : host.replace(/\/$/, "");
|
|
34065
|
-
this.fileBaseUrl = fileBaseUrl == null ? void 0 : fileBaseUrl.replace(/\/$/, "");
|
|
34066
34062
|
if (!this.host) {
|
|
34067
34063
|
return this;
|
|
34068
34064
|
}
|
|
@@ -35562,7 +35558,7 @@ exports.Flag = Flag;
|
|
|
35562
35558
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
35563
35559
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
35564
35560
|
exports.Icon = _sfc_main$d;
|
|
35565
|
-
exports.IframeVue = _sfc_main$
|
|
35561
|
+
exports.IframeVue = _sfc_main$q;
|
|
35566
35562
|
exports.Image = Image$1;
|
|
35567
35563
|
exports.JSONInput = JSONInput;
|
|
35568
35564
|
exports.Layout = Layout;
|
|
@@ -35580,7 +35576,7 @@ exports.NavBar = NavBar;
|
|
|
35580
35576
|
exports.NumberInput = NumberInput;
|
|
35581
35577
|
exports.OTP = OTP;
|
|
35582
35578
|
exports.PageTitle = _sfc_main$8;
|
|
35583
|
-
exports.PasswordInput = _sfc_main$
|
|
35579
|
+
exports.PasswordInput = _sfc_main$E;
|
|
35584
35580
|
exports.Pill = Pill;
|
|
35585
35581
|
exports.RadioGroup = RadioGroup;
|
|
35586
35582
|
exports.RadioPillsInput = RadioPillsInput;
|
|
@@ -35589,7 +35585,7 @@ exports.RichText = RichText;
|
|
|
35589
35585
|
exports.RouterWrapper = RouterWrapper;
|
|
35590
35586
|
exports.SelectInput = SelectInput;
|
|
35591
35587
|
exports.SidebarMenu = SidebarMenu;
|
|
35592
|
-
exports.SignaturePad = _sfc_main$
|
|
35588
|
+
exports.SignaturePad = _sfc_main$w;
|
|
35593
35589
|
exports.Skeleton = Skeleton;
|
|
35594
35590
|
exports.TabbedLayout = TabbedLayout;
|
|
35595
35591
|
exports.TableField = TableField;
|