@bagelink/vue 0.0.1141 → 0.0.1143
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/form/BagelForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +0 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/index.cjs +133 -121
- package/dist/index.mjs +133 -121
- package/dist/style.css +90 -90
- package/dist/types/BagelForm.d.ts +3 -0
- package/dist/types/BagelForm.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/form/BagelForm.vue +4 -3
- package/src/components/form/inputs/FileUpload.vue +1 -0
- package/src/components/form/inputs/RichText/index.vue +30 -27
- package/src/components/form/inputs/SelectInput.vue +1 -3
- package/src/components/form/inputs/Upload/UploadInput.vue +4 -0
- package/src/types/BagelForm.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -61,7 +61,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
});
|
|
62
62
|
const _hoisted_1$W = ["aria-expanded", "aria-controls"];
|
|
63
63
|
const _hoisted_2$D = { class: "accordion-label" };
|
|
64
|
-
const _hoisted_3$
|
|
64
|
+
const _hoisted_3$u = ["id", "aria-hidden"];
|
|
65
65
|
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
66
66
|
__name: "AccordionItem",
|
|
67
67
|
props: {
|
|
@@ -146,7 +146,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
147
147
|
}, [
|
|
148
148
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
149
|
-
], 8, _hoisted_3$
|
|
149
|
+
], 8, _hoisted_3$u)) : createCommentVNode("", true)
|
|
150
150
|
]),
|
|
151
151
|
_: 3
|
|
152
152
|
})
|
|
@@ -576,7 +576,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
576
576
|
});
|
|
577
577
|
const _hoisted_1$Q = ["src"];
|
|
578
578
|
const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
579
|
-
const _hoisted_3$
|
|
579
|
+
const _hoisted_3$t = ["src", "type"];
|
|
580
580
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
581
581
|
__name: "BglVideo",
|
|
582
582
|
props: {
|
|
@@ -668,7 +668,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
668
668
|
createElementVNode("source", {
|
|
669
669
|
src: _ctx.src,
|
|
670
670
|
type: `video/${videoFormat.value}`
|
|
671
|
-
}, null, 8, _hoisted_3$
|
|
671
|
+
}, null, 8, _hoisted_3$t)
|
|
672
672
|
], 12, _hoisted_2$B)) : createCommentVNode("", true)
|
|
673
673
|
], 2);
|
|
674
674
|
};
|
|
@@ -723,7 +723,7 @@ const _hoisted_2$A = {
|
|
|
723
723
|
key: 0,
|
|
724
724
|
class: "dots"
|
|
725
725
|
};
|
|
726
|
-
const _hoisted_3$
|
|
726
|
+
const _hoisted_3$s = ["onClick"];
|
|
727
727
|
const _hoisted_4$j = { class: "Handlers" };
|
|
728
728
|
const GAP_PERCENT = 1;
|
|
729
729
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
@@ -1152,7 +1152,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
1152
1152
|
key: i2,
|
|
1153
1153
|
class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
1154
1154
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
1155
|
-
}, null, 10, _hoisted_3$
|
|
1155
|
+
}, null, 10, _hoisted_3$s);
|
|
1156
1156
|
}), 128))
|
|
1157
1157
|
])) : createCommentVNode("", true),
|
|
1158
1158
|
createElementVNode("div", _hoisted_4$j, [
|
|
@@ -7007,7 +7007,7 @@ const _hoisted_1$1$1 = {
|
|
|
7007
7007
|
style: { display: "flex", position: "relative" }
|
|
7008
7008
|
};
|
|
7009
7009
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
7010
|
-
const _hoisted_3$
|
|
7010
|
+
const _hoisted_3$r = { class: "layer-rectangles" };
|
|
7011
7011
|
const _hoisted_4$i = ["transform", "onMouseover"];
|
|
7012
7012
|
const _hoisted_5$h = ["width", "height"];
|
|
7013
7013
|
const _hoisted_6$e = {
|
|
@@ -7025,7 +7025,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7025
7025
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
7026
7026
|
ref: "el"
|
|
7027
7027
|
}, [
|
|
7028
|
-
createElementVNode("g", _hoisted_3$
|
|
7028
|
+
createElementVNode("g", _hoisted_3$r, [
|
|
7029
7029
|
(openBlock(true), createElementBlock(
|
|
7030
7030
|
Fragment,
|
|
7031
7031
|
null,
|
|
@@ -7283,7 +7283,7 @@ const _hoisted_2$y = {
|
|
|
7283
7283
|
key: 0,
|
|
7284
7284
|
class: "data-row m_py-05"
|
|
7285
7285
|
};
|
|
7286
|
-
const _hoisted_3$
|
|
7286
|
+
const _hoisted_3$q = { class: "key" };
|
|
7287
7287
|
const _hoisted_4$h = { class: "m-0" };
|
|
7288
7288
|
const _hoisted_5$g = { key: 1 };
|
|
7289
7289
|
const _hoisted_6$d = {
|
|
@@ -7342,7 +7342,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
7342
7342
|
key: field.id
|
|
7343
7343
|
}, [
|
|
7344
7344
|
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
7345
|
-
createElementVNode("div", _hoisted_3$
|
|
7345
|
+
createElementVNode("div", _hoisted_3$q, [
|
|
7346
7346
|
createElementVNode("p", _hoisted_4$h, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
7347
7347
|
]),
|
|
7348
7348
|
createVNode(unref(_sfc_main$R), {
|
|
@@ -8078,7 +8078,7 @@ const _hoisted_1$L = {
|
|
|
8078
8078
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
8079
8079
|
};
|
|
8080
8080
|
const _hoisted_2$x = { class: "infinite-wrapper" };
|
|
8081
|
-
const _hoisted_3$
|
|
8081
|
+
const _hoisted_3$p = { class: "row first-row" };
|
|
8082
8082
|
const _hoisted_4$g = { key: 0 };
|
|
8083
8083
|
const _hoisted_5$f = ["onClick"];
|
|
8084
8084
|
const _hoisted_6$c = { class: "flex" };
|
|
@@ -8198,7 +8198,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
8198
8198
|
createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
8199
8199
|
]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
|
|
8200
8200
|
createElementVNode("table", _hoisted_2$x, [
|
|
8201
|
-
createElementVNode("thead", _hoisted_3$
|
|
8201
|
+
createElementVNode("thead", _hoisted_3$p, [
|
|
8202
8202
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$g, [
|
|
8203
8203
|
createElementVNode("input", {
|
|
8204
8204
|
ref_key: "allSelectorEl",
|
|
@@ -11068,8 +11068,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
11068
11068
|
props22.class = typeof field.class === "function" ? field.class(formData.value[field.id], formData.value) : field.class;
|
|
11069
11069
|
}
|
|
11070
11070
|
const slots = ((_a2 = field.children) == null ? void 0 : _a2.length) ? {
|
|
11071
|
-
default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean)
|
|
11072
|
-
|
|
11071
|
+
default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean),
|
|
11072
|
+
...field.slots
|
|
11073
|
+
} : field.slots;
|
|
11073
11074
|
return h$2(Component, props22, slots);
|
|
11074
11075
|
}
|
|
11075
11076
|
function shouldRenderField(field) {
|
|
@@ -11088,9 +11089,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
11088
11089
|
ref: form,
|
|
11089
11090
|
onSubmit: withModifiers(handleSubmit, ["prevent"])
|
|
11090
11091
|
}, [
|
|
11091
|
-
resolvedSchema.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(resolvedSchema.value, (field
|
|
11092
|
+
resolvedSchema.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(resolvedSchema.value, (field) => {
|
|
11092
11093
|
return openBlock(), createBlock(resolveDynamicComponent(renderSchemaField(field)), {
|
|
11093
|
-
key: field.id
|
|
11094
|
+
key: field.id
|
|
11094
11095
|
});
|
|
11095
11096
|
}), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 }),
|
|
11096
11097
|
renderSlot(_ctx.$slots, "submit", {
|
|
@@ -11653,7 +11654,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
11653
11654
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
11654
11655
|
const _hoisted_1$F = ["title"];
|
|
11655
11656
|
const _hoisted_2$u = ["id", "value", "required"];
|
|
11656
|
-
const _hoisted_3$
|
|
11657
|
+
const _hoisted_3$o = ["for"];
|
|
11657
11658
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
11658
11659
|
__name: "CheckInput",
|
|
11659
11660
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -11695,7 +11696,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
11695
11696
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
11696
11697
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
11697
11698
|
], true)
|
|
11698
|
-
], 8, _hoisted_3$
|
|
11699
|
+
], 8, _hoisted_3$o)
|
|
11699
11700
|
], 10, _hoisted_1$F);
|
|
11700
11701
|
};
|
|
11701
11702
|
}
|
|
@@ -11706,7 +11707,7 @@ const _hoisted_2$t = {
|
|
|
11706
11707
|
key: 0,
|
|
11707
11708
|
class: "label txt-start"
|
|
11708
11709
|
};
|
|
11709
|
-
const _hoisted_3$
|
|
11710
|
+
const _hoisted_3$n = {
|
|
11710
11711
|
key: 1,
|
|
11711
11712
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
11712
11713
|
};
|
|
@@ -11797,7 +11798,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
11797
11798
|
return (_ctx, _cache) => {
|
|
11798
11799
|
return openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
11799
11800
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
11800
|
-
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
11801
|
+
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
11801
11802
|
createElementVNode("div", {
|
|
11802
11803
|
class: "relative block h-100",
|
|
11803
11804
|
style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
|
|
@@ -20500,7 +20501,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
20500
20501
|
});
|
|
20501
20502
|
const _hoisted_1$B = ["title"];
|
|
20502
20503
|
const _hoisted_2$q = { key: 0 };
|
|
20503
|
-
const _hoisted_3$
|
|
20504
|
+
const _hoisted_3$m = {
|
|
20504
20505
|
key: 0,
|
|
20505
20506
|
class: "required"
|
|
20506
20507
|
};
|
|
@@ -20707,7 +20708,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
20707
20708
|
}, [
|
|
20708
20709
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
|
|
20709
20710
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
20710
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
20711
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$m, "*")) : createCommentVNode("", true)
|
|
20711
20712
|
])) : createCommentVNode("", true),
|
|
20712
20713
|
createVNode(unref(kt$1), {
|
|
20713
20714
|
shown: unref(isOpen),
|
|
@@ -20876,7 +20877,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
20876
20877
|
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
|
|
20877
20878
|
const _hoisted_1$A = { class: "datetime-wrap" };
|
|
20878
20879
|
const _hoisted_2$p = { class: "date-wrap" };
|
|
20879
|
-
const _hoisted_3$
|
|
20880
|
+
const _hoisted_3$l = {
|
|
20880
20881
|
key: 0,
|
|
20881
20882
|
class: "time-wrap"
|
|
20882
20883
|
};
|
|
@@ -20929,7 +20930,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
20929
20930
|
_: 1
|
|
20930
20931
|
}, 16, ["modelValue", "allowed-dates", "disabled-dates"])
|
|
20931
20932
|
]),
|
|
20932
|
-
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
20933
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
|
|
20933
20934
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(hours), (hr2) => {
|
|
20934
20935
|
return openBlock(), createElementBlock(Fragment, { key: hr2 }, [
|
|
20935
20936
|
withDirectives(createElementVNode("input", {
|
|
@@ -20959,7 +20960,7 @@ const _hoisted_2$o = {
|
|
|
20959
20960
|
required: "",
|
|
20960
20961
|
class: "pixel"
|
|
20961
20962
|
};
|
|
20962
|
-
const _hoisted_3$
|
|
20963
|
+
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
20963
20964
|
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
20964
20965
|
const _hoisted_5$b = {
|
|
20965
20966
|
key: 1,
|
|
@@ -21189,7 +21190,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21189
21190
|
key: file.id,
|
|
21190
21191
|
class: "txt-gray txt-12 flex"
|
|
21191
21192
|
}, [
|
|
21192
|
-
createElementVNode("div", _hoisted_3$
|
|
21193
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
21193
21194
|
withDirectives(createVNode(unref(Btn), {
|
|
21194
21195
|
color: "gray",
|
|
21195
21196
|
thin: "",
|
|
@@ -21383,12 +21384,14 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21383
21384
|
icon: "check"
|
|
21384
21385
|
})
|
|
21385
21386
|
], 6),
|
|
21386
|
-
isImage(fileQ.file.type) ? (openBlock(), createBlock(unref(Image$1), {
|
|
21387
|
+
isImage(fileQ.file.type) ? withDirectives((openBlock(), createBlock(unref(Image$1), {
|
|
21387
21388
|
key: 0,
|
|
21388
21389
|
class: "single-preview",
|
|
21389
21390
|
src: fileToUrl(fileQ.file),
|
|
21390
21391
|
alt: ""
|
|
21391
|
-
}, null, 8, ["src"]))
|
|
21392
|
+
}, null, 8, ["src"])), [
|
|
21393
|
+
[_directive_lightbox, { src: fileToUrl(fileQ.file), download: true }]
|
|
21394
|
+
]) : createCommentVNode("", true)
|
|
21392
21395
|
], 2);
|
|
21393
21396
|
}), 128))
|
|
21394
21397
|
])) : createCommentVNode("", true)
|
|
@@ -21409,10 +21412,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
21409
21412
|
};
|
|
21410
21413
|
}
|
|
21411
21414
|
});
|
|
21412
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
21415
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-d4fb78ee"]]);
|
|
21413
21416
|
const _hoisted_1$y = ["title"];
|
|
21414
21417
|
const _hoisted_2$n = { key: 0 };
|
|
21415
|
-
const _hoisted_3$
|
|
21418
|
+
const _hoisted_3$j = ["value", "placeholder"];
|
|
21416
21419
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
21417
21420
|
__name: "JSONInput",
|
|
21418
21421
|
props: {
|
|
@@ -21444,7 +21447,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21444
21447
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
21445
21448
|
placeholder: _ctx.placeholder,
|
|
21446
21449
|
onInput: handleInput
|
|
21447
|
-
}, null, 42, _hoisted_3$
|
|
21450
|
+
}, null, 42, _hoisted_3$j)
|
|
21448
21451
|
], 10, _hoisted_1$y);
|
|
21449
21452
|
};
|
|
21450
21453
|
}
|
|
@@ -21452,7 +21455,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
21452
21455
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
21453
21456
|
const _hoisted_1$x = ["for"];
|
|
21454
21457
|
const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
21455
|
-
const _hoisted_3$
|
|
21458
|
+
const _hoisted_3$i = { key: 1 };
|
|
21456
21459
|
const _hoisted_4$b = {
|
|
21457
21460
|
key: 5,
|
|
21458
21461
|
class: "flex column spinner"
|
|
@@ -21574,7 +21577,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
21574
21577
|
{ number: true }
|
|
21575
21578
|
]
|
|
21576
21579
|
]),
|
|
21577
|
-
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$
|
|
21580
|
+
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$i, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
21578
21581
|
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$p), {
|
|
21579
21582
|
key: 2,
|
|
21580
21583
|
class: "iconStart",
|
|
@@ -21791,7 +21794,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
21791
21794
|
});
|
|
21792
21795
|
const _hoisted_1$u = ["for"];
|
|
21793
21796
|
const _hoisted_2$k = ["id", "name", "value", "required"];
|
|
21794
|
-
const _hoisted_3$
|
|
21797
|
+
const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
21795
21798
|
const _hoisted_4$a = ["src", "alt"];
|
|
21796
21799
|
const _hoisted_5$a = { class: "" };
|
|
21797
21800
|
const _hoisted_6$8 = {
|
|
@@ -21835,7 +21838,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
21835
21838
|
}, null, 8, _hoisted_2$k), [
|
|
21836
21839
|
[vModelRadio, selectedOption.value]
|
|
21837
21840
|
]),
|
|
21838
|
-
createElementVNode("div", _hoisted_3$
|
|
21841
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
21839
21842
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
21840
21843
|
key: 0,
|
|
21841
21844
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
@@ -21866,7 +21869,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
21866
21869
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
|
|
21867
21870
|
const _hoisted_1$t = { class: "bagel-input" };
|
|
21868
21871
|
const _hoisted_2$j = { class: "pb-025" };
|
|
21869
|
-
const _hoisted_3$
|
|
21872
|
+
const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
|
|
21870
21873
|
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
21871
21874
|
const _hoisted_5$9 = ["for"];
|
|
21872
21875
|
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
@@ -21912,7 +21915,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
21912
21915
|
return (_ctx, _cache) => {
|
|
21913
21916
|
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
21914
21917
|
createElementVNode("label", _hoisted_2$j, toDisplayString(_ctx.label), 1),
|
|
21915
|
-
createElementVNode("div", _hoisted_3$
|
|
21918
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
21916
21919
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
21917
21920
|
return openBlock(), createElementBlock("div", {
|
|
21918
21921
|
key: index2,
|
|
@@ -21942,7 +21945,7 @@ const _hoisted_2$i = {
|
|
|
21942
21945
|
key: 0,
|
|
21943
21946
|
class: "label"
|
|
21944
21947
|
};
|
|
21945
|
-
const _hoisted_3$
|
|
21948
|
+
const _hoisted_3$f = { class: "range-slider relative w-100" };
|
|
21946
21949
|
const _hoisted_4$8 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
|
|
21947
21950
|
const _hoisted_5$8 = ["value", "min", "max", "step", "required", "disabled"];
|
|
21948
21951
|
const _hoisted_6$7 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
@@ -22016,7 +22019,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
22016
22019
|
dir: unref(rtl) ? "rtl" : "ltr"
|
|
22017
22020
|
}, [
|
|
22018
22021
|
unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$i, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
|
|
22019
|
-
createElementVNode("div", _hoisted_3$
|
|
22022
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
22020
22023
|
createElementVNode("input", {
|
|
22021
22024
|
id: unref(id),
|
|
22022
22025
|
value: validFrom.value,
|
|
@@ -22203,7 +22206,7 @@ const toolbarOptions = [
|
|
|
22203
22206
|
];
|
|
22204
22207
|
const _hoisted_1$r = { class: "grid grid-wrap p-05" };
|
|
22205
22208
|
const _hoisted_2$h = ["onMousemove", "onClick"];
|
|
22206
|
-
const _hoisted_3$
|
|
22209
|
+
const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
|
|
22207
22210
|
const fb = 1;
|
|
22208
22211
|
const base = 5;
|
|
22209
22212
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
@@ -22253,7 +22256,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
22253
22256
|
}), 128))
|
|
22254
22257
|
], 32);
|
|
22255
22258
|
}), 128)),
|
|
22256
|
-
createElementVNode("p", _hoisted_3$
|
|
22259
|
+
createElementVNode("p", _hoisted_3$e, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
|
|
22257
22260
|
]);
|
|
22258
22261
|
};
|
|
22259
22262
|
}
|
|
@@ -23241,8 +23244,9 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
23241
23244
|
}
|
|
23242
23245
|
});
|
|
23243
23246
|
}
|
|
23244
|
-
const _hoisted_1$p = { class: "
|
|
23245
|
-
const _hoisted_2$g = {
|
|
23247
|
+
const _hoisted_1$p = { class: "bagel-input" };
|
|
23248
|
+
const _hoisted_2$g = { class: "content-area radius-05" };
|
|
23249
|
+
const _hoisted_3$d = {
|
|
23246
23250
|
key: 1,
|
|
23247
23251
|
class: "flex"
|
|
23248
23252
|
};
|
|
@@ -23251,7 +23255,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23251
23255
|
props: {
|
|
23252
23256
|
modelValue: {},
|
|
23253
23257
|
toolbarConfig: {},
|
|
23254
|
-
debug: { type: Boolean }
|
|
23258
|
+
debug: { type: Boolean },
|
|
23259
|
+
label: {}
|
|
23255
23260
|
},
|
|
23256
23261
|
emits: ["update:modelValue"],
|
|
23257
23262
|
setup(__props, { emit: __emit }) {
|
|
@@ -23322,82 +23327,85 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
23322
23327
|
});
|
|
23323
23328
|
return (_ctx, _cache) => {
|
|
23324
23329
|
var _a2, _b;
|
|
23325
|
-
return openBlock(), createElementBlock("div",
|
|
23326
|
-
|
|
23327
|
-
}, [
|
|
23328
|
-
unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
|
|
23329
|
-
key: 0,
|
|
23330
|
-
config: _ctx.toolbarConfig,
|
|
23331
|
-
selectedStyles: unref(editor).state.selectedStyles,
|
|
23332
|
-
onAction: unref(commands).execute
|
|
23333
|
-
}, null, 8, ["config", "selectedStyles", "onAction"])) : createCommentVNode("", true),
|
|
23330
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
23331
|
+
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
23334
23332
|
createElementVNode("div", {
|
|
23335
|
-
class: normalizeClass(["editor-
|
|
23333
|
+
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
23336
23334
|
}, [
|
|
23337
|
-
|
|
23338
|
-
createElementVNode("iframe", {
|
|
23339
|
-
id: "rich-text-iframe",
|
|
23340
|
-
ref_key: "iframe",
|
|
23341
|
-
ref: iframe,
|
|
23342
|
-
class: "editableContent",
|
|
23343
|
-
title: "Editor",
|
|
23344
|
-
onLoad: initEditor
|
|
23345
|
-
}, null, 544)
|
|
23346
|
-
]),
|
|
23347
|
-
unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
|
|
23335
|
+
unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
|
|
23348
23336
|
key: 0,
|
|
23349
|
-
|
|
23350
|
-
|
|
23351
|
-
|
|
23352
|
-
|
|
23353
|
-
|
|
23354
|
-
|
|
23355
|
-
},
|
|
23356
|
-
|
|
23357
|
-
|
|
23358
|
-
|
|
23359
|
-
|
|
23360
|
-
|
|
23361
|
-
|
|
23362
|
-
|
|
23363
|
-
|
|
23364
|
-
|
|
23365
|
-
|
|
23366
|
-
|
|
23367
|
-
|
|
23368
|
-
|
|
23369
|
-
|
|
23370
|
-
|
|
23371
|
-
|
|
23372
|
-
|
|
23373
|
-
|
|
23374
|
-
|
|
23375
|
-
|
|
23376
|
-
|
|
23377
|
-
|
|
23378
|
-
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
|
|
23382
|
-
|
|
23383
|
-
|
|
23384
|
-
|
|
23385
|
-
|
|
23386
|
-
|
|
23387
|
-
|
|
23337
|
+
config: _ctx.toolbarConfig,
|
|
23338
|
+
selectedStyles: unref(editor).state.selectedStyles,
|
|
23339
|
+
onAction: unref(commands).execute
|
|
23340
|
+
}, null, 8, ["config", "selectedStyles", "onAction"])) : createCommentVNode("", true),
|
|
23341
|
+
createElementVNode("div", {
|
|
23342
|
+
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
23343
|
+
}, [
|
|
23344
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
23345
|
+
createElementVNode("iframe", {
|
|
23346
|
+
id: "rich-text-iframe",
|
|
23347
|
+
ref_key: "iframe",
|
|
23348
|
+
ref: iframe,
|
|
23349
|
+
class: "editableContent",
|
|
23350
|
+
title: "Editor",
|
|
23351
|
+
onLoad: initEditor
|
|
23352
|
+
}, null, 544)
|
|
23353
|
+
]),
|
|
23354
|
+
unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
|
|
23355
|
+
key: 0,
|
|
23356
|
+
modelValue: unref(editor).state.content,
|
|
23357
|
+
"onUpdate:modelValue": [
|
|
23358
|
+
_cache[0] || (_cache[0] = ($event) => unref(editor).state.content = $event),
|
|
23359
|
+
_cache[1] || (_cache[1] = ($event) => unref(editor).updateContent("html"))
|
|
23360
|
+
],
|
|
23361
|
+
language: "html"
|
|
23362
|
+
}, null, 8, ["modelValue"])) : createCommentVNode("", true)
|
|
23363
|
+
], 2),
|
|
23364
|
+
_ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
|
|
23365
|
+
_cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
|
|
23366
|
+
createVNode(unref(Btn), {
|
|
23367
|
+
thin: "",
|
|
23368
|
+
color: "gray",
|
|
23369
|
+
icon: "delete",
|
|
23370
|
+
onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
|
|
23371
|
+
}, {
|
|
23372
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
23373
|
+
createTextVNode(" Clear Session ")
|
|
23374
|
+
])),
|
|
23375
|
+
_: 1
|
|
23376
|
+
}, 8, ["onClick"]),
|
|
23377
|
+
createVNode(unref(Btn), {
|
|
23378
|
+
thin: "",
|
|
23379
|
+
color: "gray",
|
|
23380
|
+
icon: "download",
|
|
23381
|
+
onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
|
|
23382
|
+
}, {
|
|
23383
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
23384
|
+
createTextVNode(" Download Log ")
|
|
23385
|
+
])),
|
|
23386
|
+
_: 1
|
|
23387
|
+
}, 8, ["onClick"]),
|
|
23388
|
+
createVNode(unref(Btn), {
|
|
23389
|
+
thin: "",
|
|
23390
|
+
color: "gray",
|
|
23391
|
+
icon: "content_copy",
|
|
23392
|
+
onClick: _cache[2] || (_cache[2] = ($event) => {
|
|
23393
|
+
var _a3;
|
|
23394
|
+
return unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
|
|
23395
|
+
})
|
|
23396
|
+
}, {
|
|
23397
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
23398
|
+
createTextVNode(" Copy Log ")
|
|
23399
|
+
])),
|
|
23400
|
+
_: 1
|
|
23388
23401
|
})
|
|
23389
|
-
|
|
23390
|
-
|
|
23391
|
-
|
|
23392
|
-
])),
|
|
23393
|
-
_: 1
|
|
23394
|
-
})
|
|
23395
|
-
])) : createCommentVNode("", true)
|
|
23396
|
-
], 2);
|
|
23402
|
+
])) : createCommentVNode("", true)
|
|
23403
|
+
], 2)
|
|
23404
|
+
]);
|
|
23397
23405
|
};
|
|
23398
23406
|
}
|
|
23399
23407
|
});
|
|
23400
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-
|
|
23408
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
|
|
23401
23409
|
const _hoisted_1$o = { class: "flex gap-05" };
|
|
23402
23410
|
const _hoisted_2$f = ["disabled"];
|
|
23403
23411
|
const _hoisted_3$c = { key: 1 };
|
|
@@ -23424,14 +23432,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23424
23432
|
hideLabel: { type: Boolean },
|
|
23425
23433
|
defaultValue: {},
|
|
23426
23434
|
clearable: { type: Boolean },
|
|
23427
|
-
searchPlaceholder: {
|
|
23435
|
+
searchPlaceholder: {},
|
|
23428
23436
|
onSearch: {}
|
|
23429
23437
|
},
|
|
23430
23438
|
emits: ["update:modelValue"],
|
|
23431
23439
|
setup(__props, { emit: __emit }) {
|
|
23432
23440
|
const props2 = __props;
|
|
23433
23441
|
const emit2 = __emit;
|
|
23434
|
-
const searchPlaceholder = computed(() => props2.searchPlaceholder);
|
|
23435
23442
|
const searchInput = ref();
|
|
23436
23443
|
let selectedItems = ref([]);
|
|
23437
23444
|
const selectedItemCount = computed(() => selectedItems.value.length ?? 0);
|
|
@@ -23447,6 +23454,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23447
23454
|
}
|
|
23448
23455
|
return selectedItems.value.map((item) => getLabel(item)).join(", ");
|
|
23449
23456
|
});
|
|
23457
|
+
const searchPlaceholder = computed(() => props2.searchPlaceholder ?? selectedLabel.value ?? "Search");
|
|
23450
23458
|
let serverOptions = ref([]);
|
|
23451
23459
|
let isSearching = ref(false);
|
|
23452
23460
|
async function runServerSearch() {
|
|
@@ -23714,7 +23722,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
23714
23722
|
};
|
|
23715
23723
|
}
|
|
23716
23724
|
});
|
|
23717
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-
|
|
23725
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-70535216"]]);
|
|
23718
23726
|
/*!
|
|
23719
23727
|
* Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
|
|
23720
23728
|
* (c) 2024 Szymon Nowak | Released under the MIT license
|
|
@@ -32455,11 +32463,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32455
32463
|
])
|
|
32456
32464
|
]),
|
|
32457
32465
|
isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
32458
|
-
createVNode(unref(Image$1), {
|
|
32466
|
+
withDirectives(createVNode(unref(Image$1), {
|
|
32459
32467
|
class: "single-preview",
|
|
32460
32468
|
pathKey: path_key,
|
|
32461
32469
|
alt: ""
|
|
32462
|
-
}, null, 8, ["pathKey"])
|
|
32470
|
+
}, null, 8, ["pathKey"]), [
|
|
32471
|
+
[_directive_lightbox, { src: pathToUrl(path_key), download: true }]
|
|
32472
|
+
])
|
|
32463
32473
|
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$p), {
|
|
32464
32474
|
key: 1,
|
|
32465
32475
|
size: 4,
|
|
@@ -32486,12 +32496,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32486
32496
|
icon: "check_circle"
|
|
32487
32497
|
})
|
|
32488
32498
|
], 6),
|
|
32489
|
-
isImage(file.file.type) ? (openBlock(), createBlock(unref(Image$1), {
|
|
32499
|
+
isImage(file.file.type) ? withDirectives((openBlock(), createBlock(unref(Image$1), {
|
|
32490
32500
|
key: 0,
|
|
32491
32501
|
class: "single-preview",
|
|
32492
32502
|
src: fileToUrl(file.file),
|
|
32493
32503
|
alt: ""
|
|
32494
|
-
}, null, 8, ["src"]))
|
|
32504
|
+
}, null, 8, ["src"])), [
|
|
32505
|
+
[_directive_lightbox, { src: fileToUrl(file.file), download: true }]
|
|
32506
|
+
]) : createCommentVNode("", true)
|
|
32495
32507
|
], 2);
|
|
32496
32508
|
}), 128))
|
|
32497
32509
|
])) : createCommentVNode("", true)
|
|
@@ -32512,7 +32524,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32512
32524
|
};
|
|
32513
32525
|
}
|
|
32514
32526
|
});
|
|
32515
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
32527
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0d93d910"]]);
|
|
32516
32528
|
const FONT_AWESOME_ICONS = [
|
|
32517
32529
|
"trash-can",
|
|
32518
32530
|
"message",
|