@bagelink/vue 0.0.724 → 0.0.728
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/BglVideo.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText2/richtext-types.d.ts +1 -1
- package/dist/components/form/inputs/RichText2/richtext-types.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/components/lightbox/index.d.ts.map +1 -1
- package/dist/index.cjs +229 -225
- package/dist/index.mjs +230 -226
- package/dist/style.css +104 -91
- package/package.json +1 -1
- package/src/components/BglVideo.vue +6 -3
- package/src/components/form/inputs/FileUpload.vue +2 -2
- package/src/components/form/inputs/RichText2/Toolbar.vue +30 -28
- package/src/components/form/inputs/RichText2/index.vue +38 -2
- package/src/components/form/inputs/RichText2/richtext-types.ts +3 -0
- package/src/components/lightbox/Lightbox.vue +96 -115
- package/src/components/lightbox/index.ts +20 -25
- package/src/styles/modal.css +18 -0
- package/src/components/form/inputs/RichText2/FontWithASyntaxHighlighter-Regular.woff2 +0 -0
package/dist/index.cjs
CHANGED
|
@@ -5147,33 +5147,23 @@ class Bagel {
|
|
|
5147
5147
|
return data2;
|
|
5148
5148
|
}
|
|
5149
5149
|
}
|
|
5150
|
-
const
|
|
5151
|
-
const _hoisted_1$N = { class: "lightbox-item" };
|
|
5150
|
+
const _hoisted_1$N = { class: "bgl-lightbox-item" };
|
|
5152
5151
|
const _hoisted_2$C = ["src"];
|
|
5153
|
-
const _hoisted_3$
|
|
5154
|
-
|
|
5155
|
-
controls: "",
|
|
5156
|
-
autoplay: ""
|
|
5157
|
-
};
|
|
5158
|
-
const _hoisted_4$h = ["src"];
|
|
5159
|
-
const _hoisted_5$g = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode("track", {
|
|
5160
|
-
kind: "captions",
|
|
5161
|
-
src: "#",
|
|
5162
|
-
srclang: "en",
|
|
5163
|
-
label: "English"
|
|
5164
|
-
}, null, -1));
|
|
5165
|
-
const _hoisted_6$b = ["src", "title"];
|
|
5166
|
-
const _hoisted_7$5 = {
|
|
5152
|
+
const _hoisted_3$q = ["src", "title"];
|
|
5153
|
+
const _hoisted_4$i = {
|
|
5167
5154
|
key: 3,
|
|
5168
5155
|
class: "file-info txt-white"
|
|
5169
5156
|
};
|
|
5170
|
-
const
|
|
5171
|
-
const
|
|
5172
|
-
const _hoisted_10$2 = {
|
|
5157
|
+
const _hoisted_5$g = ["href"];
|
|
5158
|
+
const _hoisted_6$b = {
|
|
5173
5159
|
key: 0,
|
|
5174
|
-
class: "
|
|
5160
|
+
class: "navigation flex space-between w-100 absolute"
|
|
5161
|
+
};
|
|
5162
|
+
const _hoisted_7$5 = {
|
|
5163
|
+
key: 1,
|
|
5164
|
+
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
5175
5165
|
};
|
|
5176
|
-
const
|
|
5166
|
+
const _hoisted_8$3 = ["src", "onClick"];
|
|
5177
5167
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
5178
5168
|
__name: "Lightbox",
|
|
5179
5169
|
setup(__props, { expose: __expose }) {
|
|
@@ -5229,87 +5219,93 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
5229
5219
|
}
|
|
5230
5220
|
__expose({ open, close: close2 });
|
|
5231
5221
|
return (_ctx, _cache) => {
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
vue.withKeys(close2, ["esc"]),
|
|
5238
|
-
vue.withKeys(prev, ["left"]),
|
|
5239
|
-
vue.withKeys(next, ["right"])
|
|
5240
|
-
],
|
|
5241
|
-
onClick: close2
|
|
5242
|
-
}, [
|
|
5243
|
-
vue.createElementVNode("div", {
|
|
5244
|
-
class: "lightbox",
|
|
5245
|
-
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
5246
|
-
}, ["stop"]))
|
|
5247
|
-
}, [
|
|
5248
|
-
vue.createVNode(vue.unref(Btn), {
|
|
5249
|
-
flat: "",
|
|
5250
|
-
class: "close-button color-white",
|
|
5251
|
-
icon: "close",
|
|
5252
|
-
onClick: close2
|
|
5253
|
-
}),
|
|
5254
|
-
vue.createElementVNode("div", _hoisted_1$N, [
|
|
5255
|
-
((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5222
|
+
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
|
|
5223
|
+
default: vue.withCtx(() => {
|
|
5224
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j;
|
|
5225
|
+
return [
|
|
5226
|
+
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5256
5227
|
key: 0,
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5228
|
+
class: "bgl-lightbox-overlay fixed w-100 h-100 flex justify-content-center z-999 inset mx-auto",
|
|
5229
|
+
onKeydown: [
|
|
5230
|
+
vue.withKeys(close2, ["esc"]),
|
|
5231
|
+
vue.withKeys(prev, ["left"]),
|
|
5232
|
+
vue.withKeys(next, ["right"])
|
|
5233
|
+
],
|
|
5234
|
+
onClick: close2
|
|
5235
|
+
}, [
|
|
5236
|
+
vue.createElementVNode("div", {
|
|
5237
|
+
class: "bgl-lightbox relative vw90 txt-center",
|
|
5238
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
5239
|
+
}, ["stop"]))
|
|
5240
|
+
}, [
|
|
5241
|
+
vue.createVNode(vue.unref(Btn), {
|
|
5242
|
+
flat: "",
|
|
5243
|
+
class: "fixed top-1 end-1 color-white",
|
|
5244
|
+
icon: "close",
|
|
5245
|
+
onClick: close2
|
|
5246
|
+
}),
|
|
5247
|
+
vue.createElementVNode("div", _hoisted_1$N, [
|
|
5248
|
+
((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5249
|
+
key: 0,
|
|
5250
|
+
src: (_b = vue.unref(currentItem)) == null ? void 0 : _b.src,
|
|
5251
|
+
alt: "Preview"
|
|
5252
|
+
}, null, 8, _hoisted_2$C)) : ((_c = vue.unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
|
|
5253
|
+
key: 1,
|
|
5254
|
+
src: (_d = vue.unref(currentItem)) == null ? void 0 : _d.src,
|
|
5255
|
+
autoplay: "",
|
|
5256
|
+
controls: ""
|
|
5257
|
+
}, null, 8, ["src"])) : ((_e2 = vue.unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
|
|
5258
|
+
key: 2,
|
|
5259
|
+
src: normalizeURL((_f = vue.unref(currentItem)) == null ? void 0 : _f.src),
|
|
5260
|
+
type: "application/pdf",
|
|
5261
|
+
width: "100%",
|
|
5262
|
+
height: "1080",
|
|
5263
|
+
title: (_g = vue.unref(currentItem)) == null ? void 0 : _g.name
|
|
5264
|
+
}, null, 8, _hoisted_3$q)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$i, [
|
|
5265
|
+
vue.createElementVNode("p", null, "File: " + vue.toDisplayString((_h = vue.unref(currentItem)) == null ? void 0 : _h.name), 1),
|
|
5266
|
+
vue.createElementVNode("p", null, "Type: " + vue.toDisplayString((_i = vue.unref(currentItem)) == null ? void 0 : _i.type), 1),
|
|
5267
|
+
vue.createElementVNode("a", {
|
|
5268
|
+
href: (_j = vue.unref(currentItem)) == null ? void 0 : _j.src,
|
|
5269
|
+
target: "_blank"
|
|
5270
|
+
}, "Open file", 8, _hoisted_5$g)
|
|
5271
|
+
]))
|
|
5272
|
+
]),
|
|
5273
|
+
vue.unref(group).length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$b, [
|
|
5274
|
+
vue.createVNode(vue.unref(Btn), {
|
|
5275
|
+
class: "navigation-btn oval user-select-none",
|
|
5276
|
+
icon: "arrow_back",
|
|
5277
|
+
onClick: prev
|
|
5278
|
+
}),
|
|
5279
|
+
vue.createVNode(vue.unref(Btn), {
|
|
5280
|
+
class: "navigation-btn oval user-select-none",
|
|
5281
|
+
icon: "arrow_forward",
|
|
5282
|
+
onClick: next
|
|
5283
|
+
})
|
|
5284
|
+
])) : vue.createCommentVNode("", true),
|
|
5285
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$5, [
|
|
5286
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
|
|
5287
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
5288
|
+
item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
5289
|
+
key: 0,
|
|
5290
|
+
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
5291
|
+
src: item.src,
|
|
5292
|
+
alt: "",
|
|
5293
|
+
onClick: ($event) => selectItem(index2)
|
|
5294
|
+
}, null, 10, _hoisted_8$3)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
|
|
5295
|
+
key: 1,
|
|
5296
|
+
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-white justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
5297
|
+
icon: "description",
|
|
5298
|
+
onClick: ($event) => selectItem(index2)
|
|
5299
|
+
}, null, 8, ["class", "onClick"]))
|
|
5300
|
+
], 64);
|
|
5301
|
+
}), 128))
|
|
5302
|
+
])) : vue.createCommentVNode("", true)
|
|
5303
|
+
])
|
|
5304
|
+
], 32)) : vue.createCommentVNode("", true)
|
|
5305
|
+
];
|
|
5306
|
+
}),
|
|
5307
|
+
_: 1
|
|
5308
|
+
});
|
|
5313
5309
|
};
|
|
5314
5310
|
}
|
|
5315
5311
|
});
|
|
@@ -5320,44 +5316,37 @@ const _export_sfc = (sfc, props2) => {
|
|
|
5320
5316
|
}
|
|
5321
5317
|
return target;
|
|
5322
5318
|
};
|
|
5323
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-
|
|
5319
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-b3a3d091"]]);
|
|
5324
5320
|
const groups = {};
|
|
5325
5321
|
const lightboxDirective = {
|
|
5326
5322
|
mounted(el, binding) {
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
const
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
type: binding.value.type || determineFileType(binding.value.src || binding.value),
|
|
5342
|
-
name: binding.value.name || "",
|
|
5343
|
-
thumbnail: binding.value.thumbnail || ""
|
|
5344
|
-
};
|
|
5345
|
-
const lightboxInstance2 = createLightboxInstance();
|
|
5346
|
-
if (!lightboxInstance2 || !lightboxInstance2.open) return;
|
|
5347
|
-
if (binding.value.group) {
|
|
5348
|
-
if (!groups[binding.value.group]) groups[binding.value.group] = [];
|
|
5349
|
-
groups[binding.value.group].push(item);
|
|
5350
|
-
}
|
|
5351
|
-
const open = lightboxInstance2.open;
|
|
5323
|
+
el.classList.add("hover");
|
|
5324
|
+
let { group, src, type: type3, name, thumbnail } = binding.value || {};
|
|
5325
|
+
src = src || binding.value || el.getAttribute("src") || "";
|
|
5326
|
+
type3 = type3 || determineFileType(src);
|
|
5327
|
+
const item = { src, type: type3, name, thumbnail };
|
|
5328
|
+
if (group) {
|
|
5329
|
+
if (!groups[group]) groups[group] = [];
|
|
5330
|
+
groups[group].push(item);
|
|
5331
|
+
}
|
|
5332
|
+
el.addEventListener("click", (e) => {
|
|
5333
|
+
e.stopPropagation();
|
|
5334
|
+
const lightboxInstance = createLightboxInstance();
|
|
5335
|
+
if (!lightboxInstance || !lightboxInstance.open) return;
|
|
5336
|
+
const open = lightboxInstance.open;
|
|
5352
5337
|
open(item, groups[group]);
|
|
5353
5338
|
});
|
|
5339
|
+
},
|
|
5340
|
+
unmounted(el, binding) {
|
|
5354
5341
|
}
|
|
5355
5342
|
};
|
|
5343
|
+
const youtubeRegex = /youtube\.com|youtu\.be/;
|
|
5344
|
+
const vimeoRegex = /vimeo\.com/;
|
|
5356
5345
|
function determineFileType(url) {
|
|
5357
5346
|
var _a2;
|
|
5358
5347
|
const extension = ((_a2 = url.split(".").pop()) == null ? void 0 : _a2.toLowerCase()) || "";
|
|
5359
5348
|
if (IMAGE_FORMATS_REGEXP.test(extension)) return "image";
|
|
5360
|
-
if (VIDEO_FORMATS_REGEXP.test(extension)) return "video";
|
|
5349
|
+
if (VIDEO_FORMATS_REGEXP.test(extension) || youtubeRegex.test(url) || vimeoRegex.test(url)) return "video";
|
|
5361
5350
|
if (["pdf"].includes(extension)) return "pdf";
|
|
5362
5351
|
return "unknown";
|
|
5363
5352
|
}
|
|
@@ -5785,8 +5774,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
5785
5774
|
});
|
|
5786
5775
|
const _hoisted_1$M = { class: "full-nav" };
|
|
5787
5776
|
const _hoisted_2$B = { class: "nav-scroll" };
|
|
5788
|
-
const _hoisted_3$
|
|
5789
|
-
const _hoisted_4$
|
|
5777
|
+
const _hoisted_3$p = { class: "nav-links-wrapper" };
|
|
5778
|
+
const _hoisted_4$h = { class: "tooltip" };
|
|
5790
5779
|
const _hoisted_5$f = { class: "bot-buttons-wrapper" };
|
|
5791
5780
|
const _hoisted_6$a = { class: "tooltip" };
|
|
5792
5781
|
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -5821,7 +5810,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5821
5810
|
], 32),
|
|
5822
5811
|
vue.createElementVNode("div", _hoisted_1$M, [
|
|
5823
5812
|
vue.createElementVNode("div", _hoisted_2$B, [
|
|
5824
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
5813
|
+
vue.createElementVNode("div", _hoisted_3$p, [
|
|
5825
5814
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
5826
5815
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
5827
5816
|
key: link.label,
|
|
@@ -5836,7 +5825,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
5836
5825
|
vue.createVNode(vue.unref(_sfc_main$Q), {
|
|
5837
5826
|
icon: link.icon
|
|
5838
5827
|
}, null, 8, ["icon"]),
|
|
5839
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
5828
|
+
vue.createElementVNode("div", _hoisted_4$h, vue.toDisplayString(link.label), 1)
|
|
5840
5829
|
]),
|
|
5841
5830
|
_: 2
|
|
5842
5831
|
}, 1032, ["to", "onClick"]);
|
|
@@ -6002,7 +5991,7 @@ const _hoisted_2$z = {
|
|
|
6002
5991
|
key: 1,
|
|
6003
5992
|
class: "sticky bg-white z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
6004
5993
|
};
|
|
6005
|
-
const _hoisted_3$
|
|
5994
|
+
const _hoisted_3$o = {
|
|
6006
5995
|
key: 2,
|
|
6007
5996
|
class: "modal-footer mt-1"
|
|
6008
5997
|
};
|
|
@@ -6095,7 +6084,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
6095
6084
|
})
|
|
6096
6085
|
])),
|
|
6097
6086
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
6098
|
-
vue.unref(slots).footer || ((_a2 = _ctx.actions) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$
|
|
6087
|
+
vue.unref(slots).footer || ((_a2 = _ctx.actions) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$o, [
|
|
6099
6088
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
|
|
6100
6089
|
return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
|
|
6101
6090
|
key: i2,
|
|
@@ -6230,8 +6219,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
6230
6219
|
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-083a1b2d"]]);
|
|
6231
6220
|
const _hoisted_1$J = { class: "accordion-item" };
|
|
6232
6221
|
const _hoisted_2$y = ["aria-expanded", "aria-controls"];
|
|
6233
|
-
const _hoisted_3$
|
|
6234
|
-
const _hoisted_4$
|
|
6222
|
+
const _hoisted_3$n = { class: "accordion-label" };
|
|
6223
|
+
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
6235
6224
|
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
6236
6225
|
__name: "AccordionItem",
|
|
6237
6226
|
props: {
|
|
@@ -6277,7 +6266,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
6277
6266
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle())
|
|
6278
6267
|
}, [
|
|
6279
6268
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
6280
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
6269
|
+
vue.createElementVNode("span", _hoisted_3$n, vue.toDisplayString(_ctx.label), 1)
|
|
6281
6270
|
], true),
|
|
6282
6271
|
vue.createElementVNode("div", {
|
|
6283
6272
|
class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
|
|
@@ -6294,7 +6283,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
6294
6283
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
6295
6284
|
}, [
|
|
6296
6285
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6297
|
-
], 8, _hoisted_4$
|
|
6286
|
+
], 8, _hoisted_4$g)) : vue.createCommentVNode("", true)
|
|
6298
6287
|
]),
|
|
6299
6288
|
_: 3
|
|
6300
6289
|
})
|
|
@@ -6306,13 +6295,13 @@ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "d
|
|
|
6306
6295
|
const _sfc_main$K = {};
|
|
6307
6296
|
const _hoisted_1$I = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
|
|
6308
6297
|
const _hoisted_2$x = { class: "p-1" };
|
|
6309
|
-
const _hoisted_3$
|
|
6298
|
+
const _hoisted_3$m = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
6310
6299
|
function _sfc_render$2(_ctx, _cache) {
|
|
6311
6300
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
6312
6301
|
vue.createElementVNode("div", _hoisted_2$x, [
|
|
6313
6302
|
vue.renderSlot(_ctx.$slots, "header")
|
|
6314
6303
|
]),
|
|
6315
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
6304
|
+
vue.createElementVNode("div", _hoisted_3$m, [
|
|
6316
6305
|
vue.renderSlot(_ctx.$slots, "default")
|
|
6317
6306
|
])
|
|
6318
6307
|
]);
|
|
@@ -6709,10 +6698,10 @@ const _hoisted_1$F = {
|
|
|
6709
6698
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
6710
6699
|
};
|
|
6711
6700
|
const _hoisted_2$u = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1));
|
|
6712
|
-
const _hoisted_3$
|
|
6701
|
+
const _hoisted_3$l = [
|
|
6713
6702
|
_hoisted_2$u
|
|
6714
6703
|
];
|
|
6715
|
-
const _hoisted_4$
|
|
6704
|
+
const _hoisted_4$f = { class: "infinite-wrapper" };
|
|
6716
6705
|
const _hoisted_5$e = { class: "row first-row" };
|
|
6717
6706
|
const _hoisted_6$9 = { key: 0 };
|
|
6718
6707
|
const _hoisted_7$4 = ["onClick"];
|
|
@@ -6858,8 +6847,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
6858
6847
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
6859
6848
|
class: { "loading-table": loading.value }
|
|
6860
6849
|
}), [
|
|
6861
|
-
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, _hoisted_3$
|
|
6862
|
-
vue.createElementVNode("table", _hoisted_4$
|
|
6850
|
+
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, _hoisted_3$l)) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
6851
|
+
vue.createElementVNode("table", _hoisted_4$f, [
|
|
6863
6852
|
vue.createElementVNode("thead", _hoisted_5$e, [
|
|
6864
6853
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_6$9, [
|
|
6865
6854
|
vue.createElementVNode("input", {
|
|
@@ -6980,8 +6969,8 @@ const _hoisted_2$t = {
|
|
|
6980
6969
|
key: 0,
|
|
6981
6970
|
class: "data-row m_py-05"
|
|
6982
6971
|
};
|
|
6983
|
-
const _hoisted_3$
|
|
6984
|
-
const _hoisted_4$
|
|
6972
|
+
const _hoisted_3$k = { class: "key" };
|
|
6973
|
+
const _hoisted_4$e = { class: "m-0" };
|
|
6985
6974
|
const _hoisted_5$d = { key: 1 };
|
|
6986
6975
|
const _hoisted_6$8 = {
|
|
6987
6976
|
key: 0,
|
|
@@ -7039,8 +7028,8 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
7039
7028
|
key: field.id
|
|
7040
7029
|
}, [
|
|
7041
7030
|
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$t, [
|
|
7042
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
7043
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
7031
|
+
vue.createElementVNode("div", _hoisted_3$k, [
|
|
7032
|
+
vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
7044
7033
|
]),
|
|
7045
7034
|
vue.createVNode(vue.unref(_sfc_main$r), {
|
|
7046
7035
|
modelValue: itemData.value,
|
|
@@ -7278,10 +7267,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7278
7267
|
}
|
|
7279
7268
|
);
|
|
7280
7269
|
const embedType = vue.computed(() => {
|
|
7281
|
-
const
|
|
7282
|
-
if (
|
|
7283
|
-
const
|
|
7284
|
-
if (
|
|
7270
|
+
const youtubeRegex2 = /youtube\.com|youtu\.be/;
|
|
7271
|
+
if (youtubeRegex2.test(props2.src || "")) return "YouTube";
|
|
7272
|
+
const vimeoRegex2 = /vimeo\.com/;
|
|
7273
|
+
if (vimeoRegex2.test(props2.src || "")) return "Vimeo";
|
|
7285
7274
|
return null;
|
|
7286
7275
|
});
|
|
7287
7276
|
const videoUrl = vue.computed(() => {
|
|
@@ -7289,17 +7278,19 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7289
7278
|
if (embedType.value) {
|
|
7290
7279
|
if (embedType.value === "YouTube") {
|
|
7291
7280
|
const videoId = (_c = (_b = (_a2 = props2.src) == null ? void 0 : _a2.split(/v=|youtu\.be\//)[1]) == null ? void 0 : _b.split("&")) == null ? void 0 : _c[0];
|
|
7292
|
-
|
|
7281
|
+
const queryParams = new URLSearchParams({
|
|
7282
|
+
autoplay: props2.autoplay ? "1" : "0"
|
|
7283
|
+
});
|
|
7284
|
+
return `https://www.youtube.com/embed/${videoId}?${queryParams}`;
|
|
7293
7285
|
}
|
|
7294
7286
|
if (embedType.value === "Vimeo") {
|
|
7295
|
-
const
|
|
7296
|
-
const videoId = (_e2 = (_d = props2.src) == null ? void 0 : _d.match(
|
|
7287
|
+
const vimeoRegex2 = /vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/;
|
|
7288
|
+
const videoId = (_e2 = (_d = props2.src) == null ? void 0 : _d.match(vimeoRegex2)) == null ? void 0 : _e2[3];
|
|
7297
7289
|
return `https://player.vimeo.com/video/${videoId}`;
|
|
7298
7290
|
}
|
|
7299
7291
|
}
|
|
7300
7292
|
return props2.src;
|
|
7301
7293
|
});
|
|
7302
|
-
console.log("Video URL:", videoUrl.value);
|
|
7303
7294
|
return (_ctx, _cache) => {
|
|
7304
7295
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
7305
7296
|
class: vue.normalizeClass(["bgl_vid", { vid_empty: !_ctx.src }])
|
|
@@ -7310,7 +7301,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7310
7301
|
style: vue.normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
7311
7302
|
frameborder: "0",
|
|
7312
7303
|
allowfullscreen: "",
|
|
7313
|
-
title: "Video"
|
|
7304
|
+
title: "Video",
|
|
7305
|
+
allow: "autoplay"
|
|
7314
7306
|
}, null, 12, _hoisted_1$z)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
7315
7307
|
key: 1,
|
|
7316
7308
|
src: _ctx.src,
|
|
@@ -7325,7 +7317,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
7325
7317
|
};
|
|
7326
7318
|
}
|
|
7327
7319
|
});
|
|
7328
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
7320
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-8495afe2"]]);
|
|
7329
7321
|
const _hoisted_1$y = {
|
|
7330
7322
|
key: 0,
|
|
7331
7323
|
class: "blocker"
|
|
@@ -7937,7 +7929,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
7937
7929
|
});
|
|
7938
7930
|
const _hoisted_1$u = ["title"];
|
|
7939
7931
|
const _hoisted_2$o = ["id", "required"];
|
|
7940
|
-
const _hoisted_3$
|
|
7932
|
+
const _hoisted_3$j = ["for"];
|
|
7941
7933
|
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
7942
7934
|
__name: "CheckInput",
|
|
7943
7935
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -7977,7 +7969,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
7977
7969
|
vue.renderSlot(_ctx.$slots, "label", {}, () => [
|
|
7978
7970
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
7979
7971
|
], true)
|
|
7980
|
-
], 8, _hoisted_3$
|
|
7972
|
+
], 8, _hoisted_3$j)
|
|
7981
7973
|
], 10, _hoisted_1$u);
|
|
7982
7974
|
};
|
|
7983
7975
|
}
|
|
@@ -16488,7 +16480,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
16488
16480
|
});
|
|
16489
16481
|
const _hoisted_1$s = ["title"];
|
|
16490
16482
|
const _hoisted_2$m = { key: 0 };
|
|
16491
|
-
const _hoisted_3$
|
|
16483
|
+
const _hoisted_3$i = ["value", "placeholder"];
|
|
16492
16484
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
16493
16485
|
__name: "JSONInput",
|
|
16494
16486
|
props: {
|
|
@@ -16520,7 +16512,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16520
16512
|
class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
16521
16513
|
placeholder: _ctx.placeholder,
|
|
16522
16514
|
onInput: handleInput
|
|
16523
|
-
}, null, 42, _hoisted_3$
|
|
16515
|
+
}, null, 42, _hoisted_3$i)
|
|
16524
16516
|
], 10, _hoisted_1$s);
|
|
16525
16517
|
};
|
|
16526
16518
|
}
|
|
@@ -16528,8 +16520,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
16528
16520
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
16529
16521
|
const _hoisted_1$r = { class: "flex gap-05" };
|
|
16530
16522
|
const _hoisted_2$l = ["disabled"];
|
|
16531
|
-
const _hoisted_3$
|
|
16532
|
-
const _hoisted_4$
|
|
16523
|
+
const _hoisted_3$h = { key: 1 };
|
|
16524
|
+
const _hoisted_4$d = {
|
|
16533
16525
|
key: 2,
|
|
16534
16526
|
class: "ms-auto ps-05 me-05"
|
|
16535
16527
|
};
|
|
@@ -16747,8 +16739,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
16747
16739
|
key: 0,
|
|
16748
16740
|
icon: _ctx.icon
|
|
16749
16741
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
16750
|
-
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$
|
|
16751
|
-
_ctx.clearable && selectedItemCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$
|
|
16742
|
+
!_ctx.hideLabel ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$h, vue.toDisplayString(selectedLabel.value), 1)) : vue.createCommentVNode("", true),
|
|
16743
|
+
_ctx.clearable && selectedItemCount.value > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$d, [
|
|
16752
16744
|
vue.createVNode(vue.unref(Btn), {
|
|
16753
16745
|
flat: "",
|
|
16754
16746
|
thin: "",
|
|
@@ -19263,8 +19255,8 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
19263
19255
|
});
|
|
19264
19256
|
const _hoisted_1$q = ["title"];
|
|
19265
19257
|
const _hoisted_2$k = { class: "bagel-input" };
|
|
19266
|
-
const _hoisted_3$
|
|
19267
|
-
const _hoisted_4$
|
|
19258
|
+
const _hoisted_3$g = { class: "table-side-scroll" };
|
|
19259
|
+
const _hoisted_4$c = { class: "table-header" };
|
|
19268
19260
|
const _hoisted_5$b = { class: "table-reorder" };
|
|
19269
19261
|
const _hoisted_6$6 = { class: "table-action" };
|
|
19270
19262
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -19335,8 +19327,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19335
19327
|
vue.createElementVNode("div", _hoisted_2$k, [
|
|
19336
19328
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
19337
19329
|
]),
|
|
19338
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
19339
|
-
vue.createElementVNode("div", _hoisted_4$
|
|
19330
|
+
vue.createElementVNode("div", _hoisted_3$g, [
|
|
19331
|
+
vue.createElementVNode("div", _hoisted_4$c, [
|
|
19340
19332
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
|
|
19341
19333
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
19342
19334
|
key: `${field.fieldname}header`,
|
|
@@ -19414,8 +19406,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
19414
19406
|
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-515f5dc9"]]);
|
|
19415
19407
|
const _hoisted_1$p = ["title"];
|
|
19416
19408
|
const _hoisted_2$j = ["for"];
|
|
19417
|
-
const _hoisted_3$
|
|
19418
|
-
const _hoisted_4$
|
|
19409
|
+
const _hoisted_3$f = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
19410
|
+
const _hoisted_4$b = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
19419
19411
|
const _hoisted_5$a = { key: 2 };
|
|
19420
19412
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
19421
19413
|
__name: "TextInput",
|
|
@@ -19509,7 +19501,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
19509
19501
|
onFocusout: _cache[1] || (_cache[1] = //@ts-ignore
|
|
19510
19502
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
|
|
19511
19503
|
onInput: updateInputVal
|
|
19512
|
-
}), null, 16, _hoisted_3$
|
|
19504
|
+
}), null, 16, _hoisted_3$f)), [
|
|
19513
19505
|
[
|
|
19514
19506
|
vue.vModelDynamic,
|
|
19515
19507
|
vue.unref(inputVal),
|
|
@@ -19533,7 +19525,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
19533
19525
|
onInput: updateInputVal,
|
|
19534
19526
|
onFocusout: _cache[3] || (_cache[3] = //@ts-ignore
|
|
19535
19527
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
|
|
19536
|
-
}), null, 16, _hoisted_4$
|
|
19528
|
+
}), null, 16, _hoisted_4$b)), [
|
|
19537
19529
|
[vue.vModelText, vue.unref(inputVal)]
|
|
19538
19530
|
]),
|
|
19539
19531
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$a, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
|
|
@@ -19626,11 +19618,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
19626
19618
|
});
|
|
19627
19619
|
const _hoisted_1$m = { class: "datetime-wrap" };
|
|
19628
19620
|
const _hoisted_2$h = { class: "date-wrap" };
|
|
19629
|
-
const _hoisted_3$
|
|
19621
|
+
const _hoisted_3$e = {
|
|
19630
19622
|
key: 0,
|
|
19631
19623
|
class: "time-wrap"
|
|
19632
19624
|
};
|
|
19633
|
-
const _hoisted_4$
|
|
19625
|
+
const _hoisted_4$a = ["id", "name", "value"];
|
|
19634
19626
|
const _hoisted_5$9 = ["for"];
|
|
19635
19627
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
19636
19628
|
__name: "DatePicker",
|
|
@@ -19680,7 +19672,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19680
19672
|
_: 1
|
|
19681
19673
|
}, 16, ["modelValue", "allowed-dates", "disabled-dates"])
|
|
19682
19674
|
]),
|
|
19683
|
-
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$
|
|
19675
|
+
_ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$e, [
|
|
19684
19676
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr2) => {
|
|
19685
19677
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr2 }, [
|
|
19686
19678
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
@@ -19689,7 +19681,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19689
19681
|
type: "radio",
|
|
19690
19682
|
name: _ctx.label,
|
|
19691
19683
|
value: hr2
|
|
19692
|
-
}, null, 8, _hoisted_4$
|
|
19684
|
+
}, null, 8, _hoisted_4$a), [
|
|
19693
19685
|
[vue.vModelRadio, selectedHour.value]
|
|
19694
19686
|
]),
|
|
19695
19687
|
vue.createElementVNode("label", {
|
|
@@ -19704,8 +19696,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
19704
19696
|
});
|
|
19705
19697
|
const _hoisted_1$l = { class: "bagel-input" };
|
|
19706
19698
|
const _hoisted_2$g = { class: "pb-025" };
|
|
19707
|
-
const _hoisted_3$
|
|
19708
|
-
const _hoisted_4$
|
|
19699
|
+
const _hoisted_3$d = { class: "flex gap-05 flex-wrap" };
|
|
19700
|
+
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
19709
19701
|
const _hoisted_5$8 = ["for"];
|
|
19710
19702
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
19711
19703
|
__name: "RadioPillsInput",
|
|
@@ -19750,7 +19742,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19750
19742
|
return (_ctx, _cache) => {
|
|
19751
19743
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
|
|
19752
19744
|
vue.createElementVNode("label", _hoisted_2$g, vue.toDisplayString(_ctx.label), 1),
|
|
19753
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
19745
|
+
vue.createElementVNode("div", _hoisted_3$d, [
|
|
19754
19746
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
19755
19747
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
19756
19748
|
key: index2,
|
|
@@ -19763,7 +19755,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19763
19755
|
value: getValue(option2),
|
|
19764
19756
|
checked: vue.unref(selectedValue) === getValue(option2),
|
|
19765
19757
|
onChange: handleSelect
|
|
19766
|
-
}, null, 40, _hoisted_4$
|
|
19758
|
+
}, null, 40, _hoisted_4$9),
|
|
19767
19759
|
vue.createElementVNode("label", {
|
|
19768
19760
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
19769
19761
|
}, vue.toDisplayString(getLabel(option2)), 9, _hoisted_5$8)
|
|
@@ -19780,8 +19772,8 @@ const _hoisted_2$f = {
|
|
|
19780
19772
|
key: 0,
|
|
19781
19773
|
class: "bgl-multi-preview"
|
|
19782
19774
|
};
|
|
19783
|
-
const _hoisted_3$
|
|
19784
|
-
const _hoisted_4$
|
|
19775
|
+
const _hoisted_3$c = ["src"];
|
|
19776
|
+
const _hoisted_4$8 = { class: "m-0" };
|
|
19785
19777
|
const _hoisted_5$7 = ["width", "src"];
|
|
19786
19778
|
const _hoisted_6$5 = { class: "no-margin multi-preview-txt" };
|
|
19787
19779
|
const _hoisted_7$2 = {
|
|
@@ -19934,6 +19926,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19934
19926
|
flushQueue();
|
|
19935
19927
|
}
|
|
19936
19928
|
return (_ctx, _cache) => {
|
|
19929
|
+
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
19937
19930
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, [
|
|
19938
19931
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
19939
19932
|
vue.createElementVNode("div", {
|
|
@@ -19958,17 +19951,19 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
19958
19951
|
key: file.id,
|
|
19959
19952
|
class: "multi-image-item-preview"
|
|
19960
19953
|
}, [
|
|
19961
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
19954
|
+
isImage(file.extension || file.url) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
|
|
19962
19955
|
key: 0,
|
|
19963
19956
|
class: "multi-preview",
|
|
19964
19957
|
src: file.url,
|
|
19965
19958
|
alt: ""
|
|
19966
|
-
}, null, 8, _hoisted_3$
|
|
19959
|
+
}, null, 8, _hoisted_3$c)), [
|
|
19960
|
+
[_directive_lightbox]
|
|
19961
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
|
|
19967
19962
|
key: 1,
|
|
19968
19963
|
icon: "draft",
|
|
19969
19964
|
class: "multi-preview"
|
|
19970
19965
|
})),
|
|
19971
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
19966
|
+
vue.createElementVNode("p", _hoisted_4$8, vue.toDisplayString(file.name), 1),
|
|
19972
19967
|
vue.createVNode(vue.unref(Btn), {
|
|
19973
19968
|
thin: "",
|
|
19974
19969
|
flat: "",
|
|
@@ -20016,12 +20011,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20016
20011
|
key: file.id,
|
|
20017
20012
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
20018
20013
|
}, [
|
|
20019
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
20014
|
+
isImage(file.extension || file.url) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
|
|
20020
20015
|
key: 0,
|
|
20021
20016
|
class: "single-preview",
|
|
20022
20017
|
src: file.url,
|
|
20023
20018
|
alt: ""
|
|
20024
|
-
}, null, 8, _hoisted_9))
|
|
20019
|
+
}, null, 8, _hoisted_9)), [
|
|
20020
|
+
[_directive_lightbox]
|
|
20021
|
+
]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
|
|
20025
20022
|
key: 1,
|
|
20026
20023
|
size: 4,
|
|
20027
20024
|
weight: "2",
|
|
@@ -20071,14 +20068,14 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
20071
20068
|
};
|
|
20072
20069
|
}
|
|
20073
20070
|
});
|
|
20074
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
20071
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d4a17ec6"]]);
|
|
20075
20072
|
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-06b95183"), n2 = n2(), vue.popScopeId(), n2);
|
|
20076
20073
|
const _hoisted_1$j = ["title"];
|
|
20077
20074
|
const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
20078
|
-
const _hoisted_3$
|
|
20075
|
+
const _hoisted_3$b = [
|
|
20079
20076
|
_hoisted_2$e
|
|
20080
20077
|
];
|
|
20081
|
-
const _hoisted_4$
|
|
20078
|
+
const _hoisted_4$7 = ["id", "required"];
|
|
20082
20079
|
const _hoisted_5$6 = ["for"];
|
|
20083
20080
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
20084
20081
|
__name: "ToggleInput",
|
|
@@ -20108,13 +20105,13 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
20108
20105
|
}, [
|
|
20109
20106
|
vue.createElementVNode("div", {
|
|
20110
20107
|
class: vue.normalizeClass(["switch", { checked: checked.value }])
|
|
20111
|
-
}, _hoisted_3$
|
|
20108
|
+
}, _hoisted_3$b, 2),
|
|
20112
20109
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
20113
20110
|
id: inputId.value,
|
|
20114
20111
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
20115
20112
|
type: "checkbox",
|
|
20116
20113
|
required: _ctx.required
|
|
20117
|
-
}, null, 8, _hoisted_4$
|
|
20114
|
+
}, null, 8, _hoisted_4$7), [
|
|
20118
20115
|
[vue.vModelCheckbox, checked.value]
|
|
20119
20116
|
]),
|
|
20120
20117
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -46281,8 +46278,8 @@ function parsePhoneNumber() {
|
|
|
46281
46278
|
}
|
|
46282
46279
|
const _hoisted_1$h = ["aria-expanded"];
|
|
46283
46280
|
const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
|
|
46284
|
-
const _hoisted_3$
|
|
46285
|
-
const _hoisted_4$
|
|
46281
|
+
const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
|
|
46282
|
+
const _hoisted_4$6 = { class: "tel-country" };
|
|
46286
46283
|
const _hoisted_5$5 = { key: 1 };
|
|
46287
46284
|
const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
|
|
46288
46285
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -46582,9 +46579,9 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
46582
46579
|
key: 0,
|
|
46583
46580
|
country: pb.iso2
|
|
46584
46581
|
}, null, 8, ["country"])) : vue.createCommentVNode("", true),
|
|
46585
|
-
vue.createElementVNode("p", _hoisted_4$
|
|
46582
|
+
vue.createElementVNode("p", _hoisted_4$6, vue.toDisplayString(pb.name), 1),
|
|
46586
46583
|
computedDropDownOptions.value.showDialCodeInList ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$5, " +" + vue.toDisplayString(pb.dialCode), 1)) : vue.createCommentVNode("", true)
|
|
46587
|
-
], 40, _hoisted_3$
|
|
46584
|
+
], 40, _hoisted_3$a);
|
|
46588
46585
|
}), 128))
|
|
46589
46586
|
], 2)
|
|
46590
46587
|
])
|
|
@@ -47382,23 +47379,22 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
47382
47379
|
emits: ["action"],
|
|
47383
47380
|
setup(__props, { emit: __emit }) {
|
|
47384
47381
|
const emit2 = __emit;
|
|
47385
|
-
vue.ref(null);
|
|
47386
|
-
vue.ref(null);
|
|
47387
47382
|
const toolbarOptions = [
|
|
47388
47383
|
{ name: "separator" },
|
|
47389
|
-
{ name: "bold", icon: "format_bold" },
|
|
47390
|
-
{ name: "italic", icon: "format_italic" },
|
|
47391
|
-
{ name: "underline", icon: "format_underlined" },
|
|
47384
|
+
{ name: "bold", label: "Bold", icon: "format_bold" },
|
|
47385
|
+
{ name: "italic", label: "Italic", icon: "format_italic" },
|
|
47386
|
+
{ name: "underline", label: "Underline", icon: "format_underlined" },
|
|
47392
47387
|
{ name: "separator" },
|
|
47393
|
-
{ name: "orderedList", icon: "format_list_numbered" },
|
|
47394
|
-
{ name: "unorderedList", icon: "format_list_bulleted" },
|
|
47388
|
+
{ name: "orderedList", label: "Ordered List", icon: "format_list_numbered" },
|
|
47389
|
+
{ name: "unorderedList", label: "Unordered List", icon: "format_list_bulleted" },
|
|
47395
47390
|
{ name: "separator" },
|
|
47396
|
-
{ name: "link", icon: "add_link" },
|
|
47397
|
-
{ name: "image", icon: "add_photo_alternate" },
|
|
47398
|
-
{ name: "youtube", icon: "youtube_activity" },
|
|
47391
|
+
{ name: "link", label: "Link", icon: "add_link" },
|
|
47392
|
+
{ name: "image", label: "Image", icon: "add_photo_alternate" },
|
|
47393
|
+
{ name: "youtube", label: "YouTube", icon: "youtube_activity" },
|
|
47399
47394
|
{ name: "separator" },
|
|
47400
|
-
{ name: "splitView", icon: "code" },
|
|
47401
|
-
{ name: "clear", icon: "format_clear" }
|
|
47395
|
+
{ name: "splitView", label: "Split View", icon: "code" },
|
|
47396
|
+
{ name: "clear", label: "Clear Formatting", icon: "format_clear" },
|
|
47397
|
+
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
47402
47398
|
];
|
|
47403
47399
|
function handleSelectChange(selectedOption) {
|
|
47404
47400
|
emit2("action", "formatBlock", selectedOption);
|
|
@@ -47417,12 +47413,12 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
47417
47413
|
key: action.name,
|
|
47418
47414
|
thin: "",
|
|
47419
47415
|
flat: "",
|
|
47420
|
-
class: "rounded",
|
|
47416
|
+
class: vue.normalizeClass([action.class, "rounded"]),
|
|
47421
47417
|
"aria-label": action.name,
|
|
47422
47418
|
icon: action.icon,
|
|
47423
47419
|
onClick: ($event) => emit2("action", action.name)
|
|
47424
|
-
}, null, 8, ["aria-label", "icon", "onClick"])), [
|
|
47425
|
-
[_directive_tooltip, action.
|
|
47420
|
+
}, null, 8, ["class", "aria-label", "icon", "onClick"])), [
|
|
47421
|
+
[_directive_tooltip, action.label]
|
|
47426
47422
|
]) : vue.createCommentVNode("", true),
|
|
47427
47423
|
action.name === "separator" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
47428
47424
|
key: `separator-${index2}`,
|
|
@@ -47607,7 +47603,9 @@ function createTable() {
|
|
|
47607
47603
|
}
|
|
47608
47604
|
}
|
|
47609
47605
|
const _hoisted_1$e = { class: "rich-text-editor round pt-05 px-1 pb-1" };
|
|
47610
|
-
const _hoisted_2$b = {
|
|
47606
|
+
const _hoisted_2$b = { class: "editor-container flex flex-stretch gap-1 m_column" };
|
|
47607
|
+
const _hoisted_3$9 = { class: "content-area rounded p-1 bg-white shadow-light w-100 grid" };
|
|
47608
|
+
const _hoisted_4$5 = {
|
|
47611
47609
|
key: 0,
|
|
47612
47610
|
class: "preview-area bg-black color-white w-100 rounded p-1"
|
|
47613
47611
|
};
|
|
@@ -47646,7 +47644,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47646
47644
|
"splitView",
|
|
47647
47645
|
"youtube",
|
|
47648
47646
|
"codeView",
|
|
47649
|
-
"clear"
|
|
47647
|
+
"clear",
|
|
47648
|
+
"fullScreen"
|
|
47650
47649
|
];
|
|
47651
47650
|
const config = vue.ref(props2.toolbarConfig || defaultConfig2);
|
|
47652
47651
|
let contentHtml = vue.ref(props2.modelValue);
|
|
@@ -47682,12 +47681,21 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47682
47681
|
case "codeView":
|
|
47683
47682
|
isCodeView.value = !isCodeView.value;
|
|
47684
47683
|
break;
|
|
47684
|
+
case "fullScreen":
|
|
47685
|
+
toggleFullScreen();
|
|
47686
|
+
break;
|
|
47685
47687
|
default:
|
|
47686
47688
|
applyFormatting(action, value);
|
|
47687
47689
|
break;
|
|
47688
47690
|
}
|
|
47689
47691
|
updateContent();
|
|
47690
47692
|
}
|
|
47693
|
+
function toggleFullScreen() {
|
|
47694
|
+
const editor = document.querySelector(".rich-text-editor");
|
|
47695
|
+
if (editor) {
|
|
47696
|
+
editor.classList.toggle("fullscreen-mode");
|
|
47697
|
+
}
|
|
47698
|
+
}
|
|
47691
47699
|
vue.watch(() => props2.modelValue, (newValue) => {
|
|
47692
47700
|
if (newValue !== contentHtml.value) {
|
|
47693
47701
|
contentHtml.value = newValue;
|
|
@@ -47733,12 +47741,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47733
47741
|
config: config.value,
|
|
47734
47742
|
onAction: handleToolbarAction
|
|
47735
47743
|
}, null, 8, ["config"]),
|
|
47736
|
-
vue.createElementVNode("div",
|
|
47737
|
-
|
|
47738
|
-
}, [
|
|
47739
|
-
vue.createElementVNode("div", {
|
|
47740
|
-
class: vue.normalizeClass(["content-area rounded p-1 bg-white shadow-light w-100 grid", { "code-view": vue.unref(isCodeView) }])
|
|
47741
|
-
}, [
|
|
47744
|
+
vue.createElementVNode("div", _hoisted_2$b, [
|
|
47745
|
+
vue.createElementVNode("div", _hoisted_3$9, [
|
|
47742
47746
|
vue.unref(isCodeView) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
|
|
47743
47747
|
key: 0,
|
|
47744
47748
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(contentHtml) ? contentHtml.value = $event : contentHtml = $event),
|
|
@@ -47757,14 +47761,14 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
47757
47761
|
onInput: updateContent,
|
|
47758
47762
|
onKeydown: handleKeyDown2
|
|
47759
47763
|
}, null, 544))
|
|
47760
|
-
]
|
|
47761
|
-
vue.unref(isSplitView) ? (vue.openBlock(), vue.createElementBlock("code",
|
|
47762
|
-
]
|
|
47764
|
+
]),
|
|
47765
|
+
vue.unref(isSplitView) ? (vue.openBlock(), vue.createElementBlock("code", _hoisted_4$5, vue.toDisplayString(vue.unref(contentHtml)), 1)) : vue.createCommentVNode("", true)
|
|
47766
|
+
])
|
|
47763
47767
|
]);
|
|
47764
47768
|
};
|
|
47765
47769
|
}
|
|
47766
47770
|
});
|
|
47767
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
47771
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-c9729efd"]]);
|
|
47768
47772
|
const _hoisted_1$d = ["for"];
|
|
47769
47773
|
const _hoisted_2$a = ["id", "name", "value"];
|
|
47770
47774
|
const _hoisted_3$8 = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|