@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.mjs
CHANGED
|
@@ -289,6 +289,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
289
289
|
default: withCtx(() => [
|
|
290
290
|
_ctx.loading ? (openBlock(), createBlock(unref(Loading), {
|
|
291
291
|
key: 0,
|
|
292
|
+
class: "h-100p",
|
|
292
293
|
size: "15"
|
|
293
294
|
})) : (openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
294
295
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$d), {
|
|
@@ -312,7 +313,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
312
313
|
};
|
|
313
314
|
}
|
|
314
315
|
});
|
|
315
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-
|
|
316
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-3efa79fb"]]);
|
|
316
317
|
const _hoisted_1$U = ["dismissable"];
|
|
317
318
|
const _hoisted_2$C = { class: "m-0" };
|
|
318
319
|
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
@@ -934,7 +935,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
934
935
|
};
|
|
935
936
|
}
|
|
936
937
|
});
|
|
937
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-
|
|
938
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-7456c3d5"]]);
|
|
938
939
|
function _isPlaceholder(a2) {
|
|
939
940
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
940
941
|
}
|
|
@@ -7739,9 +7740,10 @@ async function convertValueToCoords(state2, options) {
|
|
|
7739
7740
|
crossAxis: 0,
|
|
7740
7741
|
alignmentAxis: null
|
|
7741
7742
|
} : {
|
|
7742
|
-
mainAxis:
|
|
7743
|
-
crossAxis:
|
|
7744
|
-
alignmentAxis:
|
|
7743
|
+
mainAxis: 0,
|
|
7744
|
+
crossAxis: 0,
|
|
7745
|
+
alignmentAxis: null,
|
|
7746
|
+
...rawValue
|
|
7745
7747
|
};
|
|
7746
7748
|
if (alignment && typeof alignmentAxis === "number") {
|
|
7747
7749
|
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
@@ -7846,11 +7848,7 @@ const shift = function(options) {
|
|
|
7846
7848
|
...limitedCoords,
|
|
7847
7849
|
data: {
|
|
7848
7850
|
x: limitedCoords.x - x2,
|
|
7849
|
-
y: limitedCoords.y - y2
|
|
7850
|
-
enabled: {
|
|
7851
|
-
[mainAxis]: checkMainAxis,
|
|
7852
|
-
[crossAxis]: checkCrossAxis
|
|
7853
|
-
}
|
|
7851
|
+
y: limitedCoords.y - y2
|
|
7854
7852
|
}
|
|
7855
7853
|
};
|
|
7856
7854
|
}
|
|
@@ -7864,7 +7862,6 @@ const size = function(options) {
|
|
|
7864
7862
|
name: "size",
|
|
7865
7863
|
options,
|
|
7866
7864
|
async fn(state2) {
|
|
7867
|
-
var _state$middlewareData, _state$middlewareData2;
|
|
7868
7865
|
const {
|
|
7869
7866
|
placement,
|
|
7870
7867
|
rects,
|
|
@@ -7900,11 +7897,10 @@ const size = function(options) {
|
|
|
7900
7897
|
const noShift = !state2.middlewareData.shift;
|
|
7901
7898
|
let availableHeight = overflowAvailableHeight;
|
|
7902
7899
|
let availableWidth = overflowAvailableWidth;
|
|
7903
|
-
if (
|
|
7904
|
-
availableWidth = maximumClippingWidth;
|
|
7905
|
-
}
|
|
7906
|
-
|
|
7907
|
-
availableHeight = maximumClippingHeight;
|
|
7900
|
+
if (isYAxis) {
|
|
7901
|
+
availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
|
|
7902
|
+
} else {
|
|
7903
|
+
availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
|
|
7908
7904
|
}
|
|
7909
7905
|
if (noShift && !alignment) {
|
|
7910
7906
|
const xMin = max(overflow.left, 0);
|
|
@@ -19754,114 +19750,15 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
19754
19750
|
};
|
|
19755
19751
|
}
|
|
19756
19752
|
});
|
|
19757
|
-
const _hoisted_1$A = {
|
|
19758
|
-
const _hoisted_2$p =
|
|
19759
|
-
const _hoisted_3$k = ["src", "alt", "width", "height"];
|
|
19760
|
-
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
19761
|
-
__name: "Image",
|
|
19762
|
-
props: {
|
|
19763
|
-
src: {},
|
|
19764
|
-
pathKey: {},
|
|
19765
|
-
alt: { default: "" },
|
|
19766
|
-
width: {},
|
|
19767
|
-
height: {},
|
|
19768
|
-
caption: {}
|
|
19769
|
-
},
|
|
19770
|
-
setup(__props) {
|
|
19771
|
-
let imageSrc = ref(null);
|
|
19772
|
-
const fileBaseUrl = computed(() => "https://files.bagel.design".replace(/\/$/, ""));
|
|
19773
|
-
function pathToUrl() {
|
|
19774
|
-
var _a2;
|
|
19775
|
-
if ((_a2 = __props.pathKey) == null ? void 0 : _a2.startsWith("static/")) return `${void 0}/${__props.pathKey}`;
|
|
19776
|
-
return `${fileBaseUrl.value}/${__props.pathKey}`;
|
|
19777
|
-
}
|
|
19778
|
-
async function loadImage() {
|
|
19779
|
-
var _a2;
|
|
19780
|
-
const url = __props.src || pathToUrl();
|
|
19781
|
-
console.log(url);
|
|
19782
|
-
if (!url) {
|
|
19783
|
-
imageSrc.value = null;
|
|
19784
|
-
return;
|
|
19785
|
-
}
|
|
19786
|
-
const ext = (_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase().split("?").shift();
|
|
19787
|
-
if (ext === "heic") {
|
|
19788
|
-
if (!("caches" in window)) {
|
|
19789
|
-
console.warn("Caching is not available. Proceeding without cache.");
|
|
19790
|
-
} else {
|
|
19791
|
-
try {
|
|
19792
|
-
const imgCache = await window.caches.open("img-cache");
|
|
19793
|
-
const cachedResponse = await imgCache.match(url);
|
|
19794
|
-
if (cachedResponse) {
|
|
19795
|
-
imageSrc.value = URL.createObjectURL(await cachedResponse.blob());
|
|
19796
|
-
return;
|
|
19797
|
-
}
|
|
19798
|
-
} catch (error) {
|
|
19799
|
-
console.warn("Error accessing cache:", error);
|
|
19800
|
-
}
|
|
19801
|
-
}
|
|
19802
|
-
try {
|
|
19803
|
-
await appendScript("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");
|
|
19804
|
-
const response = await fetch(url);
|
|
19805
|
-
const blob = await response.blob();
|
|
19806
|
-
const convertedBlob = await window.heic2any({ blob });
|
|
19807
|
-
imageSrc.value = URL.createObjectURL(convertedBlob);
|
|
19808
|
-
if ("caches" in window) {
|
|
19809
|
-
try {
|
|
19810
|
-
const imgCache = await window.caches.open("img-cache");
|
|
19811
|
-
imgCache.put(url, new Response(convertedBlob));
|
|
19812
|
-
} catch (cacheError) {
|
|
19813
|
-
console.warn("Failed to cache the image:", cacheError);
|
|
19814
|
-
}
|
|
19815
|
-
}
|
|
19816
|
-
} catch (error) {
|
|
19817
|
-
console.error("Error converting HEIC file:", error);
|
|
19818
|
-
}
|
|
19819
|
-
} else {
|
|
19820
|
-
imageSrc.value = url;
|
|
19821
|
-
}
|
|
19822
|
-
}
|
|
19823
|
-
watch(() => [__props.src, __props.pathKey], loadImage, { immediate: true });
|
|
19824
|
-
return (_ctx, _cache) => {
|
|
19825
|
-
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$A, [
|
|
19826
|
-
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
19827
|
-
key: 0,
|
|
19828
|
-
src: unref(imageSrc)
|
|
19829
|
-
}, _ctx.$attrs, {
|
|
19830
|
-
alt: _ctx.alt,
|
|
19831
|
-
width: unref(normalizeDimension)(_ctx.width),
|
|
19832
|
-
height: unref(normalizeDimension)(_ctx.height)
|
|
19833
|
-
}), null, 16, _hoisted_2$p)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
19834
|
-
key: 1,
|
|
19835
|
-
class: "img-web-kit",
|
|
19836
|
-
width: unref(normalizeDimension)(_ctx.width),
|
|
19837
|
-
height: unref(normalizeDimension)(_ctx.height)
|
|
19838
|
-
}, null, 8, ["width", "height"]))
|
|
19839
|
-
])) : unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
19840
|
-
key: 1,
|
|
19841
|
-
src: unref(imageSrc)
|
|
19842
|
-
}, _ctx.$attrs, {
|
|
19843
|
-
alt: _ctx.alt,
|
|
19844
|
-
width: unref(normalizeDimension)(_ctx.width),
|
|
19845
|
-
height: unref(normalizeDimension)(_ctx.height)
|
|
19846
|
-
}), null, 16, _hoisted_3$k)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
19847
|
-
key: 2,
|
|
19848
|
-
class: "img-web-kit",
|
|
19849
|
-
width: unref(normalizeDimension)(_ctx.width),
|
|
19850
|
-
height: unref(normalizeDimension)(_ctx.height)
|
|
19851
|
-
}, null, 8, ["width", "height"]));
|
|
19852
|
-
};
|
|
19853
|
-
}
|
|
19854
|
-
});
|
|
19855
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-29509e85"]]);
|
|
19856
|
-
const _hoisted_1$z = { class: "bagel-input" };
|
|
19857
|
-
const _hoisted_2$o = {
|
|
19753
|
+
const _hoisted_1$A = { class: "bagel-input" };
|
|
19754
|
+
const _hoisted_2$p = {
|
|
19858
19755
|
key: 0,
|
|
19859
19756
|
placeholder: "required",
|
|
19860
19757
|
type: "text",
|
|
19861
19758
|
required: "",
|
|
19862
19759
|
class: "pixel"
|
|
19863
19760
|
};
|
|
19864
|
-
const _hoisted_3$
|
|
19761
|
+
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
19865
19762
|
const _hoisted_4$d = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
19866
19763
|
const _hoisted_5$c = {
|
|
19867
19764
|
key: 1,
|
|
@@ -19891,7 +19788,7 @@ const _hoisted_13$2 = {
|
|
|
19891
19788
|
class: "progress"
|
|
19892
19789
|
};
|
|
19893
19790
|
const _hoisted_14$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
19894
|
-
const _sfc_main$
|
|
19791
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
19895
19792
|
__name: "FileUpload",
|
|
19896
19793
|
props: /* @__PURE__ */ mergeModels({
|
|
19897
19794
|
label: {},
|
|
@@ -20063,9 +19960,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20063
19960
|
return (_ctx, _cache) => {
|
|
20064
19961
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
20065
19962
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
20066
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19963
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
20067
19964
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
20068
|
-
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
19965
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$p)) : createCommentVNode("", true),
|
|
20069
19966
|
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
|
|
20070
19967
|
key: 1,
|
|
20071
19968
|
outline: "",
|
|
@@ -20091,7 +19988,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20091
19988
|
key: file.id,
|
|
20092
19989
|
class: "txt-gray txt-12 flex"
|
|
20093
19990
|
}, [
|
|
20094
|
-
createElementVNode("div", _hoisted_3$
|
|
19991
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
20095
19992
|
withDirectives(createVNode(unref(Btn), {
|
|
20096
19993
|
color: "gray",
|
|
20097
19994
|
thin: "",
|
|
@@ -20161,7 +20058,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20161
20058
|
key: file.id,
|
|
20162
20059
|
class: "multi-image-item-preview"
|
|
20163
20060
|
}, [
|
|
20164
|
-
isImage(file.extension || file.url) ? (openBlock(), createBlock(Image$1, {
|
|
20061
|
+
isImage(file.extension || file.url) ? (openBlock(), createBlock(unref(Image$1), {
|
|
20165
20062
|
key: 0,
|
|
20166
20063
|
class: "multi-preview",
|
|
20167
20064
|
src: file.url,
|
|
@@ -20189,7 +20086,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20189
20086
|
class: "multi-image-item-preview"
|
|
20190
20087
|
}, [
|
|
20191
20088
|
isImage(fileQ.file.type) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
20192
|
-
_ctx.multiple ? (openBlock(), createBlock(Image$1, {
|
|
20089
|
+
_ctx.multiple ? (openBlock(), createBlock(unref(Image$1), {
|
|
20193
20090
|
key: 0,
|
|
20194
20091
|
width: _ctx.width || "220",
|
|
20195
20092
|
class: "multi-preview",
|
|
@@ -20252,7 +20149,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20252
20149
|
])
|
|
20253
20150
|
]),
|
|
20254
20151
|
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
|
|
20255
|
-
withDirectives(createVNode(Image$1, {
|
|
20152
|
+
withDirectives(createVNode(unref(Image$1), {
|
|
20256
20153
|
class: "single-preview",
|
|
20257
20154
|
src: file.url,
|
|
20258
20155
|
alt: ""
|
|
@@ -20285,7 +20182,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20285
20182
|
icon: "check"
|
|
20286
20183
|
})
|
|
20287
20184
|
], 6),
|
|
20288
|
-
isImage(fileQ.file.type) ? (openBlock(), createBlock(Image$1, {
|
|
20185
|
+
isImage(fileQ.file.type) ? (openBlock(), createBlock(unref(Image$1), {
|
|
20289
20186
|
key: 0,
|
|
20290
20187
|
class: "single-preview",
|
|
20291
20188
|
src: fileToUrl(fileQ.file),
|
|
@@ -20311,11 +20208,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
20311
20208
|
};
|
|
20312
20209
|
}
|
|
20313
20210
|
});
|
|
20314
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20315
|
-
const _hoisted_1$
|
|
20316
|
-
const _hoisted_2$
|
|
20317
|
-
const _hoisted_3$
|
|
20318
|
-
const _sfc_main$
|
|
20211
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-133a8c7a"]]);
|
|
20212
|
+
const _hoisted_1$z = ["title"];
|
|
20213
|
+
const _hoisted_2$o = { key: 0 };
|
|
20214
|
+
const _hoisted_3$j = ["value", "placeholder"];
|
|
20215
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
20319
20216
|
__name: "JSONInput",
|
|
20320
20217
|
props: {
|
|
20321
20218
|
description: { default: "" },
|
|
@@ -20338,7 +20235,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
20338
20235
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20339
20236
|
title: _ctx.description
|
|
20340
20237
|
}, [
|
|
20341
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
20238
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
|
|
20342
20239
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
20343
20240
|
])) : createCommentVNode("", true),
|
|
20344
20241
|
createElementVNode("textarea", {
|
|
@@ -20346,20 +20243,20 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
20346
20243
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
20347
20244
|
placeholder: _ctx.placeholder,
|
|
20348
20245
|
onInput: handleInput
|
|
20349
|
-
}, null, 42, _hoisted_3$
|
|
20350
|
-
], 10, _hoisted_1$
|
|
20246
|
+
}, null, 42, _hoisted_3$j)
|
|
20247
|
+
], 10, _hoisted_1$z);
|
|
20351
20248
|
};
|
|
20352
20249
|
}
|
|
20353
20250
|
});
|
|
20354
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20355
|
-
const _hoisted_1$
|
|
20356
|
-
const _hoisted_2$
|
|
20357
|
-
const _hoisted_3$
|
|
20251
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
20252
|
+
const _hoisted_1$y = ["for"];
|
|
20253
|
+
const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
20254
|
+
const _hoisted_3$i = { key: 1 };
|
|
20358
20255
|
const _hoisted_4$c = {
|
|
20359
20256
|
key: 5,
|
|
20360
20257
|
class: "flex column spinner"
|
|
20361
20258
|
};
|
|
20362
|
-
const _sfc_main$
|
|
20259
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
20363
20260
|
__name: "NumberInput",
|
|
20364
20261
|
props: {
|
|
20365
20262
|
modelValue: {},
|
|
@@ -20462,7 +20359,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20462
20359
|
withKeys(withModifiers(increment, ["prevent"]), ["up"]),
|
|
20463
20360
|
withKeys(withModifiers(decrement, ["prevent"]), ["down"])
|
|
20464
20361
|
]
|
|
20465
|
-
}, null, 42, _hoisted_2$
|
|
20362
|
+
}, null, 42, _hoisted_2$n), [
|
|
20466
20363
|
[
|
|
20467
20364
|
vModelText,
|
|
20468
20365
|
unref(formattedValue),
|
|
@@ -20476,7 +20373,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20476
20373
|
{ number: true }
|
|
20477
20374
|
]
|
|
20478
20375
|
]),
|
|
20479
|
-
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
20376
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$i, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
20480
20377
|
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$d), {
|
|
20481
20378
|
key: 2,
|
|
20482
20379
|
class: "iconStart",
|
|
@@ -20515,14 +20412,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20515
20412
|
}, null, 8, ["disabled"])
|
|
20516
20413
|
])) : createCommentVNode("", true)
|
|
20517
20414
|
], 2)
|
|
20518
|
-
], 8, _hoisted_1$
|
|
20415
|
+
], 8, _hoisted_1$y)
|
|
20519
20416
|
], 2);
|
|
20520
20417
|
};
|
|
20521
20418
|
}
|
|
20522
20419
|
});
|
|
20523
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20524
|
-
const _hoisted_1$
|
|
20525
|
-
const _sfc_main$
|
|
20420
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-f265687e"]]);
|
|
20421
|
+
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
20422
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
20526
20423
|
__name: "OTP",
|
|
20527
20424
|
props: {
|
|
20528
20425
|
digitCount: {},
|
|
@@ -20620,16 +20517,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
20620
20517
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
20621
20518
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
20622
20519
|
onPaste: ($event) => handlePaste($event, ind)
|
|
20623
|
-
}, null, 40, _hoisted_1$
|
|
20520
|
+
}, null, 40, _hoisted_1$x);
|
|
20624
20521
|
}), 128))
|
|
20625
20522
|
], 512);
|
|
20626
20523
|
};
|
|
20627
20524
|
}
|
|
20628
20525
|
});
|
|
20629
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20630
|
-
const _hoisted_1$
|
|
20631
|
-
const _hoisted_2$
|
|
20632
|
-
const _sfc_main$
|
|
20526
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-5c22c199"]]);
|
|
20527
|
+
const _hoisted_1$w = { class: "relative" };
|
|
20528
|
+
const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
20529
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
20633
20530
|
__name: "PasswordInput",
|
|
20634
20531
|
props: /* @__PURE__ */ mergeModels({
|
|
20635
20532
|
id: {},
|
|
@@ -20670,7 +20567,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20670
20567
|
);
|
|
20671
20568
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
20672
20569
|
return (_ctx, _cache) => {
|
|
20673
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20570
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
20674
20571
|
createVNode(unref(TextInput), mergeProps({
|
|
20675
20572
|
modelValue: password.value,
|
|
20676
20573
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -20678,7 +20575,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20678
20575
|
type: inputType.value,
|
|
20679
20576
|
class: "mb-0"
|
|
20680
20577
|
}), null, 16, ["modelValue", "type"]),
|
|
20681
|
-
createElementVNode("div", _hoisted_2$
|
|
20578
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
20682
20579
|
createVNode(unref(Btn), {
|
|
20683
20580
|
flat: "",
|
|
20684
20581
|
thin: "",
|
|
@@ -20691,9 +20588,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
20691
20588
|
};
|
|
20692
20589
|
}
|
|
20693
20590
|
});
|
|
20694
|
-
const _hoisted_1$
|
|
20695
|
-
const _hoisted_2$
|
|
20696
|
-
const _hoisted_3$
|
|
20591
|
+
const _hoisted_1$v = ["for"];
|
|
20592
|
+
const _hoisted_2$l = ["id", "name", "value", "required"];
|
|
20593
|
+
const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
20697
20594
|
const _hoisted_4$b = ["src", "alt"];
|
|
20698
20595
|
const _hoisted_5$b = { class: "" };
|
|
20699
20596
|
const _hoisted_6$9 = {
|
|
@@ -20704,7 +20601,7 @@ const _hoisted_7$6 = {
|
|
|
20704
20601
|
key: 1,
|
|
20705
20602
|
class: "txt-gray txt-12 m-0"
|
|
20706
20603
|
};
|
|
20707
|
-
const _sfc_main$
|
|
20604
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
20708
20605
|
__name: "RadioGroup",
|
|
20709
20606
|
props: /* @__PURE__ */ mergeModels({
|
|
20710
20607
|
groupName: {},
|
|
@@ -20734,10 +20631,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
20734
20631
|
name: _ctx.groupName,
|
|
20735
20632
|
value: opt.value,
|
|
20736
20633
|
required: _ctx.required
|
|
20737
|
-
}, null, 8, _hoisted_2$
|
|
20634
|
+
}, null, 8, _hoisted_2$l), [
|
|
20738
20635
|
[vModelRadio, selectedOption.value]
|
|
20739
20636
|
]),
|
|
20740
|
-
createElementVNode("div", _hoisted_3$
|
|
20637
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
20741
20638
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
20742
20639
|
key: 0,
|
|
20743
20640
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -20759,19 +20656,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
20759
20656
|
icon: "delete",
|
|
20760
20657
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
20761
20658
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
20762
|
-
], 8, _hoisted_1$
|
|
20659
|
+
], 8, _hoisted_1$v);
|
|
20763
20660
|
}), 128))
|
|
20764
20661
|
]);
|
|
20765
20662
|
};
|
|
20766
20663
|
}
|
|
20767
20664
|
});
|
|
20768
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20769
|
-
const _hoisted_1$
|
|
20770
|
-
const _hoisted_2$
|
|
20771
|
-
const _hoisted_3$
|
|
20665
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-3c77be46"]]);
|
|
20666
|
+
const _hoisted_1$u = { class: "bagel-input" };
|
|
20667
|
+
const _hoisted_2$k = { class: "pb-025" };
|
|
20668
|
+
const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
|
|
20772
20669
|
const _hoisted_4$a = ["id", "name", "value", "checked"];
|
|
20773
20670
|
const _hoisted_5$a = ["for"];
|
|
20774
|
-
const _sfc_main$
|
|
20671
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
20775
20672
|
__name: "RadioPillsInput",
|
|
20776
20673
|
props: {
|
|
20777
20674
|
options: {},
|
|
@@ -20812,9 +20709,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20812
20709
|
selectedValue.value = props2.modelValue;
|
|
20813
20710
|
});
|
|
20814
20711
|
return (_ctx, _cache) => {
|
|
20815
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20816
|
-
createElementVNode("label", _hoisted_2$
|
|
20817
|
-
createElementVNode("div", _hoisted_3$
|
|
20712
|
+
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
20713
|
+
createElementVNode("label", _hoisted_2$k, toDisplayString(_ctx.label), 1),
|
|
20714
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
20818
20715
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
20819
20716
|
return openBlock(), createElementBlock("div", {
|
|
20820
20717
|
key: index2,
|
|
@@ -20838,18 +20735,18 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
20838
20735
|
};
|
|
20839
20736
|
}
|
|
20840
20737
|
});
|
|
20841
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20842
|
-
const _hoisted_1$
|
|
20843
|
-
const _hoisted_2$
|
|
20738
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-cf892d71"]]);
|
|
20739
|
+
const _hoisted_1$t = ["dir"];
|
|
20740
|
+
const _hoisted_2$j = {
|
|
20844
20741
|
key: 0,
|
|
20845
20742
|
class: "label"
|
|
20846
20743
|
};
|
|
20847
|
-
const _hoisted_3$
|
|
20744
|
+
const _hoisted_3$f = { class: "range-slider relative w-100" };
|
|
20848
20745
|
const _hoisted_4$9 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
20849
20746
|
const _hoisted_5$9 = ["value", "min", "max", "step", "required", "disabled"];
|
|
20850
20747
|
const _hoisted_6$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
20851
20748
|
const _hoisted_7$5 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
20852
|
-
const _sfc_main$
|
|
20749
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
20853
20750
|
__name: "RangeInput",
|
|
20854
20751
|
props: {
|
|
20855
20752
|
modelValue: {},
|
|
@@ -20917,8 +20814,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
20917
20814
|
return openBlock(), createElementBlock("div", {
|
|
20918
20815
|
dir: unref(rtl) ? "rtl" : "ltr"
|
|
20919
20816
|
}, [
|
|
20920
|
-
unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
20921
|
-
createElementVNode("div", _hoisted_3$
|
|
20817
|
+
unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
|
|
20818
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
20922
20819
|
createElementVNode("input", {
|
|
20923
20820
|
id: unref(id),
|
|
20924
20821
|
value: validFrom.value,
|
|
@@ -21009,11 +20906,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
21009
20906
|
createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
|
|
21010
20907
|
], true)
|
|
21011
20908
|
])
|
|
21012
|
-
], 8, _hoisted_1$
|
|
20909
|
+
], 8, _hoisted_1$t);
|
|
21013
20910
|
};
|
|
21014
20911
|
}
|
|
21015
20912
|
});
|
|
21016
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
20913
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-e606435a"]]);
|
|
21017
20914
|
const tableTools = [
|
|
21018
20915
|
"mergeCells",
|
|
21019
20916
|
"splitCells",
|
|
@@ -21103,12 +21000,12 @@ const toolbarOptions = [
|
|
|
21103
21000
|
{ name: "separator" },
|
|
21104
21001
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
21105
21002
|
];
|
|
21106
|
-
const _hoisted_1$
|
|
21107
|
-
const _hoisted_2$
|
|
21108
|
-
const _hoisted_3$
|
|
21003
|
+
const _hoisted_1$s = { class: "grid grid-wrap p-05" };
|
|
21004
|
+
const _hoisted_2$i = ["onMousemove", "onClick"];
|
|
21005
|
+
const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
|
|
21109
21006
|
const fb = 1;
|
|
21110
21007
|
const base = 5;
|
|
21111
|
-
const _sfc_main$
|
|
21008
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
21112
21009
|
__name: "gridBox",
|
|
21113
21010
|
emits: ["select"],
|
|
21114
21011
|
setup(__props, { emit: __emit }) {
|
|
@@ -21124,7 +21021,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
21124
21021
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
21125
21022
|
});
|
|
21126
21023
|
return (_ctx, _cache) => {
|
|
21127
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21024
|
+
return openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
21128
21025
|
(openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
|
|
21129
21026
|
return openBlock(), createElementBlock("div", {
|
|
21130
21027
|
key: `row-${row}`,
|
|
@@ -21151,21 +21048,21 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
21151
21048
|
hoveredCol.value = col;
|
|
21152
21049
|
},
|
|
21153
21050
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
21154
|
-
}, null, 42, _hoisted_2$
|
|
21051
|
+
}, null, 42, _hoisted_2$i);
|
|
21155
21052
|
}), 128))
|
|
21156
21053
|
], 32);
|
|
21157
21054
|
}), 128)),
|
|
21158
|
-
createElementVNode("p", _hoisted_3$
|
|
21055
|
+
createElementVNode("p", _hoisted_3$e, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
21159
21056
|
]);
|
|
21160
21057
|
};
|
|
21161
21058
|
}
|
|
21162
21059
|
});
|
|
21163
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21164
|
-
const _hoisted_1$
|
|
21060
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4548b70f"]]);
|
|
21061
|
+
const _hoisted_1$r = {
|
|
21165
21062
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
21166
21063
|
role: "toolbar"
|
|
21167
21064
|
};
|
|
21168
|
-
const _sfc_main$
|
|
21065
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
21169
21066
|
__name: "EditorToolbar",
|
|
21170
21067
|
props: {
|
|
21171
21068
|
config: { default: defaultToolbarConfig },
|
|
@@ -21180,7 +21077,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
21180
21077
|
}
|
|
21181
21078
|
return (_ctx, _cache) => {
|
|
21182
21079
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
21183
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
21080
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
21184
21081
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
21185
21082
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
21186
21083
|
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
@@ -21222,7 +21119,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
21222
21119
|
};
|
|
21223
21120
|
}
|
|
21224
21121
|
});
|
|
21225
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
21122
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-33dff8fa"]]);
|
|
21226
21123
|
function createCommandExecutor(state2, commands) {
|
|
21227
21124
|
return {
|
|
21228
21125
|
execute(command, value) {
|
|
@@ -22142,12 +22039,12 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
22142
22039
|
}
|
|
22143
22040
|
});
|
|
22144
22041
|
}
|
|
22145
|
-
const _hoisted_1$
|
|
22146
|
-
const _hoisted_2$
|
|
22042
|
+
const _hoisted_1$q = { class: "content-area radius-05" };
|
|
22043
|
+
const _hoisted_2$h = {
|
|
22147
22044
|
key: 1,
|
|
22148
22045
|
class: "flex"
|
|
22149
22046
|
};
|
|
22150
|
-
const _sfc_main$
|
|
22047
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
22151
22048
|
__name: "index",
|
|
22152
22049
|
props: {
|
|
22153
22050
|
modelValue: {},
|
|
@@ -22231,7 +22128,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22231
22128
|
createElementVNode("div", {
|
|
22232
22129
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
22233
22130
|
}, [
|
|
22234
|
-
createElementVNode("div", _hoisted_1$
|
|
22131
|
+
createElementVNode("div", _hoisted_1$q, [
|
|
22235
22132
|
createElementVNode("iframe", {
|
|
22236
22133
|
id: "rich-text-iframe",
|
|
22237
22134
|
ref_key: "iframe",
|
|
@@ -22251,7 +22148,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22251
22148
|
language: "html"
|
|
22252
22149
|
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
22253
22150
|
], 2),
|
|
22254
|
-
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
22151
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
22255
22152
|
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
22256
22153
|
createVNode(unref(Btn), {
|
|
22257
22154
|
thin: "",
|
|
@@ -22294,10 +22191,10 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
22294
22191
|
};
|
|
22295
22192
|
}
|
|
22296
22193
|
});
|
|
22297
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22298
|
-
const _hoisted_1$
|
|
22299
|
-
const _hoisted_2$
|
|
22300
|
-
const _hoisted_3$
|
|
22194
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-2e74943d"]]);
|
|
22195
|
+
const _hoisted_1$p = { class: "flex gap-05" };
|
|
22196
|
+
const _hoisted_2$g = ["disabled"];
|
|
22197
|
+
const _hoisted_3$d = { key: 1 };
|
|
22301
22198
|
const _hoisted_4$8 = {
|
|
22302
22199
|
key: 2,
|
|
22303
22200
|
class: "ms-auto ps-05 me-05"
|
|
@@ -22305,7 +22202,7 @@ const _hoisted_4$8 = {
|
|
|
22305
22202
|
const _hoisted_5$8 = ["value"];
|
|
22306
22203
|
const _hoisted_6$7 = ["aria-selected", "onClick", "onKeydown"];
|
|
22307
22204
|
const _hoisted_7$4 = { class: "block" };
|
|
22308
|
-
const _sfc_main$
|
|
22205
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
22309
22206
|
__name: "SelectInput",
|
|
22310
22207
|
props: {
|
|
22311
22208
|
options: {},
|
|
@@ -22493,7 +22390,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22493
22390
|
trigger: withCtx(() => [
|
|
22494
22391
|
createElementVNode("label", null, [
|
|
22495
22392
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
22496
|
-
createElementVNode("div", _hoisted_1$
|
|
22393
|
+
createElementVNode("div", _hoisted_1$p, [
|
|
22497
22394
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
22498
22395
|
key: 0,
|
|
22499
22396
|
ref_key: "searchInput",
|
|
@@ -22524,7 +22421,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22524
22421
|
key: 0,
|
|
22525
22422
|
icon: _ctx.icon
|
|
22526
22423
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
22527
|
-
!_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
22424
|
+
!_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$d, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
|
|
22528
22425
|
_ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
|
|
22529
22426
|
createVNode(unref(Btn), {
|
|
22530
22427
|
flat: "",
|
|
@@ -22541,7 +22438,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22541
22438
|
key: 3,
|
|
22542
22439
|
thin: ""
|
|
22543
22440
|
}, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
|
|
22544
|
-
], 42, _hoisted_2$
|
|
22441
|
+
], 42, _hoisted_2$g)),
|
|
22545
22442
|
_ctx.required ? (openBlock(), createElementBlock("input", {
|
|
22546
22443
|
key: 2,
|
|
22547
22444
|
tabindex: "-1",
|
|
@@ -22611,7 +22508,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22611
22508
|
};
|
|
22612
22509
|
}
|
|
22613
22510
|
});
|
|
22614
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22511
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-77b2541f"]]);
|
|
22615
22512
|
/*!
|
|
22616
22513
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
22617
22514
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -23208,15 +23105,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
23208
23105
|
return svg.outerHTML;
|
|
23209
23106
|
}
|
|
23210
23107
|
}
|
|
23211
|
-
const _hoisted_1$
|
|
23212
|
-
const _hoisted_2$
|
|
23108
|
+
const _hoisted_1$o = ["disabled"];
|
|
23109
|
+
const _hoisted_2$f = {
|
|
23213
23110
|
key: 1,
|
|
23214
23111
|
placeholder: "required",
|
|
23215
23112
|
type: "text",
|
|
23216
23113
|
required: "",
|
|
23217
23114
|
class: "pixel"
|
|
23218
23115
|
};
|
|
23219
|
-
const _sfc_main$
|
|
23116
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
23220
23117
|
__name: "SignaturePad",
|
|
23221
23118
|
props: /* @__PURE__ */ mergeModels({
|
|
23222
23119
|
sigOption: {},
|
|
@@ -23369,8 +23266,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
23369
23266
|
ref: vCanvas,
|
|
23370
23267
|
class: "canvas",
|
|
23371
23268
|
disabled: _ctx.disabled
|
|
23372
|
-
}, null, 8, _hoisted_1$
|
|
23373
|
-
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
23269
|
+
}, null, 8, _hoisted_1$o),
|
|
23270
|
+
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$f)) : createCommentVNode("", true)
|
|
23374
23271
|
], 34);
|
|
23375
23272
|
};
|
|
23376
23273
|
}
|
|
@@ -25854,13 +25751,13 @@ const VueDraggableNext = defineComponent({
|
|
|
25854
25751
|
}
|
|
25855
25752
|
}
|
|
25856
25753
|
});
|
|
25857
|
-
const _hoisted_1$
|
|
25858
|
-
const _hoisted_2$
|
|
25859
|
-
const _hoisted_3$
|
|
25754
|
+
const _hoisted_1$n = ["title"];
|
|
25755
|
+
const _hoisted_2$e = { class: "bagel-input" };
|
|
25756
|
+
const _hoisted_3$c = { class: "table-side-scroll" };
|
|
25860
25757
|
const _hoisted_4$7 = { class: "table-header" };
|
|
25861
25758
|
const _hoisted_5$7 = { class: "table-reorder" };
|
|
25862
25759
|
const _hoisted_6$6 = { class: "table-action" };
|
|
25863
|
-
const _sfc_main$
|
|
25760
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
25864
25761
|
__name: "TableField",
|
|
25865
25762
|
props: {
|
|
25866
25763
|
description: { default: "" },
|
|
@@ -25925,10 +25822,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
25925
25822
|
class: "table-field-wrap",
|
|
25926
25823
|
title: _ctx.description
|
|
25927
25824
|
}, [
|
|
25928
|
-
createElementVNode("div", _hoisted_2$
|
|
25825
|
+
createElementVNode("div", _hoisted_2$e, [
|
|
25929
25826
|
createElementVNode("label", null, toDisplayString((_a2 = unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
25930
25827
|
]),
|
|
25931
|
-
createElementVNode("div", _hoisted_3$
|
|
25828
|
+
createElementVNode("div", _hoisted_3$c, [
|
|
25932
25829
|
createElementVNode("div", _hoisted_4$7, [
|
|
25933
25830
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
25934
25831
|
return openBlock(), createElementBlock("div", {
|
|
@@ -26000,11 +25897,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
26000
25897
|
])),
|
|
26001
25898
|
_: 1
|
|
26002
25899
|
})
|
|
26003
|
-
], 8, _hoisted_1$
|
|
25900
|
+
], 8, _hoisted_1$n);
|
|
26004
25901
|
};
|
|
26005
25902
|
}
|
|
26006
25903
|
});
|
|
26007
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
25904
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-a65c658c"]]);
|
|
26008
25905
|
function bind(fn2, thisArg) {
|
|
26009
25906
|
return function wrap() {
|
|
26010
25907
|
return fn2.apply(thisArg, arguments);
|
|
@@ -30451,13 +30348,13 @@ function parsePhoneNumber$1() {
|
|
|
30451
30348
|
function parsePhoneNumber() {
|
|
30452
30349
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
30453
30350
|
}
|
|
30454
|
-
const _hoisted_1$
|
|
30455
|
-
const _hoisted_2$
|
|
30456
|
-
const _hoisted_3$
|
|
30351
|
+
const _hoisted_1$m = ["aria-expanded"];
|
|
30352
|
+
const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
|
|
30353
|
+
const _hoisted_3$b = ["aria-selected", "onClick", "onMousemove"];
|
|
30457
30354
|
const _hoisted_4$6 = { class: "tel-country" };
|
|
30458
30355
|
const _hoisted_5$6 = { key: 1 };
|
|
30459
30356
|
const _hoisted_6$5 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
30460
|
-
const _sfc_main$
|
|
30357
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
30461
30358
|
__name: "TelInput",
|
|
30462
30359
|
props: /* @__PURE__ */ mergeModels({
|
|
30463
30360
|
label: {},
|
|
@@ -30742,7 +30639,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
30742
30639
|
])
|
|
30743
30640
|
]),
|
|
30744
30641
|
default: withCtx(() => [
|
|
30745
|
-
createElementVNode("div", _hoisted_2$
|
|
30642
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
30746
30643
|
_ctx.searchable ? (openBlock(), createBlock(unref(TextInput), {
|
|
30747
30644
|
key: 0,
|
|
30748
30645
|
modelValue: searchQuery.value,
|
|
@@ -30772,7 +30669,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
30772
30669
|
}, null, 8, ["country"])) : createCommentVNode("", true),
|
|
30773
30670
|
createElementVNode("p", _hoisted_4$6, toDisplayString(pb.name), 1),
|
|
30774
30671
|
computedDropDownOptions.value.showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_5$6, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
|
|
30775
|
-
], 40, _hoisted_3$
|
|
30672
|
+
], 40, _hoisted_3$b);
|
|
30776
30673
|
}), 128))
|
|
30777
30674
|
], 2)
|
|
30778
30675
|
])
|
|
@@ -30806,19 +30703,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
30806
30703
|
}, null, 44, _hoisted_6$5), [
|
|
30807
30704
|
[vModelText, phone.value]
|
|
30808
30705
|
])
|
|
30809
|
-
], 40, _hoisted_1$
|
|
30706
|
+
], 40, _hoisted_1$m)
|
|
30810
30707
|
])
|
|
30811
30708
|
], 2);
|
|
30812
30709
|
};
|
|
30813
30710
|
}
|
|
30814
30711
|
});
|
|
30815
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30816
|
-
const _hoisted_1$
|
|
30817
|
-
const _hoisted_2$
|
|
30818
|
-
const _hoisted_3$
|
|
30712
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-cfcf054d"]]);
|
|
30713
|
+
const _hoisted_1$l = ["title"];
|
|
30714
|
+
const _hoisted_2$c = ["for"];
|
|
30715
|
+
const _hoisted_3$a = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
30819
30716
|
const _hoisted_4$5 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
30820
30717
|
const _hoisted_5$5 = { key: 2 };
|
|
30821
|
-
const _sfc_main$
|
|
30718
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
30822
30719
|
__name: "TextInput",
|
|
30823
30720
|
props: {
|
|
30824
30721
|
id: {},
|
|
@@ -30916,7 +30813,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30916
30813
|
onFocusout: _cache[1] || (_cache[1] = //@ts-ignore
|
|
30917
30814
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
|
|
30918
30815
|
onInput: updateInputVal
|
|
30919
|
-
}), null, 16, _hoisted_3$
|
|
30816
|
+
}), null, 16, _hoisted_3$a)), [
|
|
30920
30817
|
[
|
|
30921
30818
|
vModelDynamic,
|
|
30922
30819
|
unref(inputVal),
|
|
@@ -30953,16 +30850,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
30953
30850
|
key: 4,
|
|
30954
30851
|
icon: _ctx.icon
|
|
30955
30852
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
30956
|
-
], 8, _hoisted_2$
|
|
30957
|
-
], 10, _hoisted_1$
|
|
30853
|
+
], 8, _hoisted_2$c)
|
|
30854
|
+
], 10, _hoisted_1$l);
|
|
30958
30855
|
};
|
|
30959
30856
|
}
|
|
30960
30857
|
});
|
|
30961
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30962
|
-
const _hoisted_1$
|
|
30963
|
-
const _hoisted_2$
|
|
30964
|
-
const _hoisted_3$
|
|
30965
|
-
const _sfc_main$
|
|
30858
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-52ac6dc3"]]);
|
|
30859
|
+
const _hoisted_1$k = ["title"];
|
|
30860
|
+
const _hoisted_2$b = ["id", "required"];
|
|
30861
|
+
const _hoisted_3$9 = ["for"];
|
|
30862
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
30966
30863
|
__name: "ToggleInput",
|
|
30967
30864
|
props: /* @__PURE__ */ mergeModels({
|
|
30968
30865
|
label: {},
|
|
@@ -30998,19 +30895,19 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
30998
30895
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
30999
30896
|
type: "checkbox",
|
|
31000
30897
|
required: _ctx.required
|
|
31001
|
-
}, null, 8, _hoisted_2$
|
|
30898
|
+
}, null, 8, _hoisted_2$b), [
|
|
31002
30899
|
[vModelCheckbox, checked.value]
|
|
31003
30900
|
]),
|
|
31004
30901
|
createElementVNode("label", { for: inputId.value }, [
|
|
31005
30902
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
31006
30903
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
31007
30904
|
], true)
|
|
31008
|
-
], 8, _hoisted_3$
|
|
31009
|
-
], 10, _hoisted_1$
|
|
30905
|
+
], 8, _hoisted_3$9)
|
|
30906
|
+
], 10, _hoisted_1$k);
|
|
31010
30907
|
};
|
|
31011
30908
|
}
|
|
31012
30909
|
});
|
|
31013
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
30910
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-ebe691ee"]]);
|
|
31014
30911
|
const files = {
|
|
31015
30912
|
setBaseUrl: (baseUrl) => {
|
|
31016
30913
|
if (!baseUrl) return;
|
|
@@ -31036,9 +30933,9 @@ const files = {
|
|
|
31036
30933
|
});
|
|
31037
30934
|
}
|
|
31038
30935
|
};
|
|
31039
|
-
const _hoisted_1$
|
|
31040
|
-
const _hoisted_2$
|
|
31041
|
-
const _hoisted_3$
|
|
30936
|
+
const _hoisted_1$j = { class: "bagel-input" };
|
|
30937
|
+
const _hoisted_2$a = { key: 0 };
|
|
30938
|
+
const _hoisted_3$8 = {
|
|
31042
30939
|
key: 1,
|
|
31043
30940
|
placeholder: "required",
|
|
31044
30941
|
type: "text",
|
|
@@ -31075,7 +30972,7 @@ const _hoisted_14 = {
|
|
|
31075
30972
|
class: "progress"
|
|
31076
30973
|
};
|
|
31077
30974
|
const _hoisted_15 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
31078
|
-
const _sfc_main$
|
|
30975
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31079
30976
|
__name: "UploadInput",
|
|
31080
30977
|
props: {
|
|
31081
30978
|
label: {},
|
|
@@ -31183,9 +31080,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
31183
31080
|
return (_ctx, _cache) => {
|
|
31184
31081
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
31185
31082
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
31186
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31187
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
31188
|
-
_ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$
|
|
31083
|
+
return openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
31084
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$a, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
31085
|
+
_ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$8)) : createCommentVNode("", true),
|
|
31189
31086
|
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
|
|
31190
31087
|
key: 2,
|
|
31191
31088
|
outline: "",
|
|
@@ -31409,9 +31306,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
31409
31306
|
};
|
|
31410
31307
|
}
|
|
31411
31308
|
});
|
|
31412
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
31413
|
-
const _hoisted_1$
|
|
31414
|
-
const _sfc_main$
|
|
31309
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-bd972fe8"]]);
|
|
31310
|
+
const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
31311
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
31415
31312
|
__name: "IframeVue",
|
|
31416
31313
|
props: {
|
|
31417
31314
|
src: {},
|
|
@@ -31470,10 +31367,109 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31470
31367
|
scrolling: _ctx.scrolling,
|
|
31471
31368
|
srcset: _ctx.srcset,
|
|
31472
31369
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
31473
|
-
}, null, 40, _hoisted_1$
|
|
31370
|
+
}, null, 40, _hoisted_1$i);
|
|
31371
|
+
};
|
|
31372
|
+
}
|
|
31373
|
+
});
|
|
31374
|
+
const _hoisted_1$h = { key: 0 };
|
|
31375
|
+
const _hoisted_2$9 = ["src", "alt", "width", "height"];
|
|
31376
|
+
const _hoisted_3$7 = ["src", "alt", "width", "height"];
|
|
31377
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
31378
|
+
__name: "Image",
|
|
31379
|
+
props: {
|
|
31380
|
+
src: {},
|
|
31381
|
+
pathKey: {},
|
|
31382
|
+
alt: { default: "" },
|
|
31383
|
+
width: {},
|
|
31384
|
+
height: {},
|
|
31385
|
+
caption: {}
|
|
31386
|
+
},
|
|
31387
|
+
setup(__props) {
|
|
31388
|
+
let imageSrc = ref(null);
|
|
31389
|
+
const fileBaseUrl = computed(() => "https://files.bagel.design".replace(/\/$/, ""));
|
|
31390
|
+
function pathToUrl() {
|
|
31391
|
+
var _a2;
|
|
31392
|
+
if ((_a2 = __props.pathKey) == null ? void 0 : _a2.startsWith("static/")) return `${void 0}/${__props.pathKey}`;
|
|
31393
|
+
return `${fileBaseUrl.value}/${__props.pathKey}`;
|
|
31394
|
+
}
|
|
31395
|
+
async function loadImage() {
|
|
31396
|
+
var _a2;
|
|
31397
|
+
const url = __props.src || pathToUrl();
|
|
31398
|
+
console.log(url);
|
|
31399
|
+
if (!url) {
|
|
31400
|
+
imageSrc.value = null;
|
|
31401
|
+
return;
|
|
31402
|
+
}
|
|
31403
|
+
const ext = (_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase().split("?").shift();
|
|
31404
|
+
if (ext === "heic") {
|
|
31405
|
+
if (!("caches" in window)) {
|
|
31406
|
+
console.warn("Caching is not available. Proceeding without cache.");
|
|
31407
|
+
} else {
|
|
31408
|
+
try {
|
|
31409
|
+
const imgCache = await window.caches.open("img-cache");
|
|
31410
|
+
const cachedResponse = await imgCache.match(url);
|
|
31411
|
+
if (cachedResponse) {
|
|
31412
|
+
imageSrc.value = URL.createObjectURL(await cachedResponse.blob());
|
|
31413
|
+
return;
|
|
31414
|
+
}
|
|
31415
|
+
} catch (error) {
|
|
31416
|
+
console.warn("Error accessing cache:", error);
|
|
31417
|
+
}
|
|
31418
|
+
}
|
|
31419
|
+
try {
|
|
31420
|
+
await appendScript("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");
|
|
31421
|
+
const response = await fetch(url);
|
|
31422
|
+
const blob = await response.blob();
|
|
31423
|
+
const convertedBlob = await window.heic2any({ blob });
|
|
31424
|
+
imageSrc.value = URL.createObjectURL(convertedBlob);
|
|
31425
|
+
if ("caches" in window) {
|
|
31426
|
+
try {
|
|
31427
|
+
const imgCache = await window.caches.open("img-cache");
|
|
31428
|
+
imgCache.put(url, new Response(convertedBlob));
|
|
31429
|
+
} catch (cacheError) {
|
|
31430
|
+
console.warn("Failed to cache the image:", cacheError);
|
|
31431
|
+
}
|
|
31432
|
+
}
|
|
31433
|
+
} catch (error) {
|
|
31434
|
+
console.error("Error converting HEIC file:", error);
|
|
31435
|
+
}
|
|
31436
|
+
} else {
|
|
31437
|
+
imageSrc.value = url;
|
|
31438
|
+
}
|
|
31439
|
+
}
|
|
31440
|
+
watch(() => [__props.src, __props.pathKey], loadImage, { immediate: true });
|
|
31441
|
+
return (_ctx, _cache) => {
|
|
31442
|
+
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$h, [
|
|
31443
|
+
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
31444
|
+
key: 0,
|
|
31445
|
+
src: unref(imageSrc)
|
|
31446
|
+
}, _ctx.$attrs, {
|
|
31447
|
+
alt: _ctx.alt,
|
|
31448
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
31449
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
31450
|
+
}), null, 16, _hoisted_2$9)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
31451
|
+
key: 1,
|
|
31452
|
+
class: "img-web-kit",
|
|
31453
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
31454
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
31455
|
+
}, null, 8, ["width", "height"]))
|
|
31456
|
+
])) : unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
31457
|
+
key: 1,
|
|
31458
|
+
src: unref(imageSrc)
|
|
31459
|
+
}, _ctx.$attrs, {
|
|
31460
|
+
alt: _ctx.alt,
|
|
31461
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
31462
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
31463
|
+
}), null, 16, _hoisted_3$7)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
31464
|
+
key: 2,
|
|
31465
|
+
class: "img-web-kit",
|
|
31466
|
+
width: unref(normalizeDimension)(_ctx.width),
|
|
31467
|
+
height: unref(normalizeDimension)(_ctx.height)
|
|
31468
|
+
}, null, 8, ["width", "height"]));
|
|
31474
31469
|
};
|
|
31475
31470
|
}
|
|
31476
31471
|
});
|
|
31472
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-29509e85"]]);
|
|
31477
31473
|
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
31478
31474
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
31479
31475
|
__name: "BottomMenu",
|
|
@@ -32630,6 +32626,7 @@ function debounceFilter(ms, options = {}) {
|
|
|
32630
32626
|
lastRejector();
|
|
32631
32627
|
lastRejector = noop;
|
|
32632
32628
|
};
|
|
32629
|
+
let lastInvoker;
|
|
32633
32630
|
const filter3 = (invoke) => {
|
|
32634
32631
|
const duration = toValue(ms);
|
|
32635
32632
|
const maxDuration = toValue(options.maxWait);
|
|
@@ -32644,12 +32641,13 @@ function debounceFilter(ms, options = {}) {
|
|
|
32644
32641
|
}
|
|
32645
32642
|
return new Promise((resolve, reject3) => {
|
|
32646
32643
|
lastRejector = options.rejectOnCancel ? reject3 : resolve;
|
|
32644
|
+
lastInvoker = invoke;
|
|
32647
32645
|
if (maxDuration && !maxTimer) {
|
|
32648
32646
|
maxTimer = setTimeout(() => {
|
|
32649
32647
|
if (timer)
|
|
32650
32648
|
_clearTimeout(timer);
|
|
32651
32649
|
maxTimer = null;
|
|
32652
|
-
resolve(
|
|
32650
|
+
resolve(lastInvoker());
|
|
32653
32651
|
}, maxDuration);
|
|
32654
32652
|
}
|
|
32655
32653
|
timer = setTimeout(() => {
|
|
@@ -34053,14 +34051,12 @@ class BagelAuth {
|
|
|
34053
34051
|
}
|
|
34054
34052
|
}
|
|
34055
34053
|
class Bagel {
|
|
34056
|
-
constructor({ host,
|
|
34054
|
+
constructor({ host, onError }) {
|
|
34057
34055
|
__publicField(this, "host");
|
|
34058
|
-
__publicField(this, "fileBaseUrl");
|
|
34059
34056
|
__publicField(this, "onError");
|
|
34060
34057
|
__publicField(this, "read_table");
|
|
34061
34058
|
__publicField(this, "auth", new BagelAuth(this));
|
|
34062
34059
|
this.host = host == null ? void 0 : host.replace(/\/$/, "");
|
|
34063
|
-
this.fileBaseUrl = fileBaseUrl == null ? void 0 : fileBaseUrl.replace(/\/$/, "");
|
|
34064
34060
|
if (!this.host) {
|
|
34065
34061
|
return this;
|
|
34066
34062
|
}
|
|
@@ -35561,7 +35557,7 @@ export {
|
|
|
35561
35557
|
IMAGE_FORMATS,
|
|
35562
35558
|
IMAGE_FORMATS_REGEXP,
|
|
35563
35559
|
_sfc_main$d as Icon,
|
|
35564
|
-
_sfc_main$
|
|
35560
|
+
_sfc_main$q as IframeVue,
|
|
35565
35561
|
Image$1 as Image,
|
|
35566
35562
|
JSONInput,
|
|
35567
35563
|
Layout,
|
|
@@ -35579,7 +35575,7 @@ export {
|
|
|
35579
35575
|
NumberInput,
|
|
35580
35576
|
OTP,
|
|
35581
35577
|
_sfc_main$8 as PageTitle,
|
|
35582
|
-
_sfc_main$
|
|
35578
|
+
_sfc_main$E as PasswordInput,
|
|
35583
35579
|
Pill,
|
|
35584
35580
|
RadioGroup,
|
|
35585
35581
|
RadioPillsInput,
|
|
@@ -35588,7 +35584,7 @@ export {
|
|
|
35588
35584
|
RouterWrapper,
|
|
35589
35585
|
SelectInput,
|
|
35590
35586
|
SidebarMenu,
|
|
35591
|
-
_sfc_main$
|
|
35587
|
+
_sfc_main$w as SignaturePad,
|
|
35592
35588
|
Skeleton,
|
|
35593
35589
|
TabbedLayout,
|
|
35594
35590
|
TableField,
|