@dynamicforms/vuetify-inputs 0.1.7 → 0.1.9
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.
|
@@ -11,7 +11,7 @@ var ue = (t, e, l) => e in t ? Me(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
11
11
|
return t;
|
|
12
12
|
}, H = (t, e) => je(t, ze(e));
|
|
13
13
|
var Y = (t, e, l) => ue(t, typeof e != "symbol" ? e + "" : e, l);
|
|
14
|
-
var
|
|
14
|
+
var ne = (t, e, l) => new Promise((r, n) => {
|
|
15
15
|
var a = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
u(l.next(c));
|
|
@@ -28,14 +28,14 @@ var oe = (t, e, l) => new Promise((r, n) => {
|
|
|
28
28
|
u((l = l.apply(t, e)).next());
|
|
29
29
|
});
|
|
30
30
|
import * as we from "vue";
|
|
31
|
-
import { defineComponent as F, mergeModels as Ve, useModel as We, ref as S, watch as
|
|
31
|
+
import { defineComponent as F, mergeModels as Ve, useModel as We, ref as S, watch as q, onMounted as Se, markRaw as Xe, onBeforeUnmount as Ne, createBlock as k, openBlock as h, resolveDynamicComponent as ee, version as qe, computed as _, createElementBlock as E, Fragment as $e, renderList as Ee, normalizeClass as re, toDisplayString as te, unref as o, mergeProps as R, withCtx as y, createTextVNode as be, resolveComponent as x, createCommentVNode as $, createVNode as A, createSlots as Ze, renderSlot as Ye, isRef as G, withModifiers as Qe, mergeDefaults as z, createElementVNode as le, normalizeStyle as he, toRefs as se, withKeys as ke, useCssVars as Je, normalizeProps as Ue, guardReactiveProps as Fe, nextTick as et } from "vue";
|
|
32
32
|
import { debounce as tt, isEmpty as lt, isObjectLike as ot, isString as pe, isBoolean as Te, clone as nt, toNumber as Ce, isNaN as Ie, isArray as Be, castArray as Le, first as Pe } from "lodash-es";
|
|
33
33
|
import fe from "vue-ionicon";
|
|
34
34
|
import { useDisplay as at } from "vuetify";
|
|
35
35
|
import xe, { ValidationErrorRenderContent as rt, DisplayMode as M, ExecuteAction as it, Action as ce } from "@dynamicforms/vue-forms";
|
|
36
36
|
import st from "vue-markdown-render";
|
|
37
|
-
import { format as
|
|
38
|
-
import { AccessibilityHelp as ct, Alignment as dt, AutoImage as mt, AutoLink as pt, Autosave as ft, BalloonToolbar as vt, BlockQuote as bt, Bold as ht, CloudServices as gt, Essentials as yt, GeneralHtmlSupport as _t, Heading as wt, HorizontalLine as Vt, ImageBlock as kt, ImageCaption as Tt, ImageInline as Ct, ImageInsertViaUrl as It, ImageResize as Bt, ImageStyle as xt, ImageToolbar as At, ImageUpload as Dt, Indent as St, IndentBlock as Nt, Italic as $t, Link as Et, List as Ut, Autoformat as Ft, MediaEmbed as Lt, Paragraph as Pt, PasteFromMarkdownExperimental as Rt, PasteFromOffice as Ot, SelectAll as Ht, Style as Mt, Table as jt, TableCellProperties as zt, TableColumnResize as Kt, TableProperties as Gt, TableToolbar as Wt, Undo as
|
|
37
|
+
import { format as Q, parse as ut } from "date-fns";
|
|
38
|
+
import { AccessibilityHelp as ct, Alignment as dt, AutoImage as mt, AutoLink as pt, Autosave as ft, BalloonToolbar as vt, BlockQuote as bt, Bold as ht, CloudServices as gt, Essentials as yt, GeneralHtmlSupport as _t, Heading as wt, HorizontalLine as Vt, ImageBlock as kt, ImageCaption as Tt, ImageInline as Ct, ImageInsertViaUrl as It, ImageResize as Bt, ImageStyle as xt, ImageToolbar as At, ImageUpload as Dt, Indent as St, IndentBlock as Nt, Italic as $t, Link as Et, List as Ut, Autoformat as Ft, MediaEmbed as Lt, Paragraph as Pt, PasteFromMarkdownExperimental as Rt, PasteFromOffice as Ot, SelectAll as Ht, Style as Mt, Table as jt, TableCellProperties as zt, TableColumnResize as Kt, TableProperties as Gt, TableToolbar as Wt, Undo as Xt, TextTransformation as qt, Base64UploadAdapter as Zt, ClassicEditor as Yt } from "ckeditor5";
|
|
39
39
|
import { VAutocomplete as Qt } from "vuetify/components/VAutocomplete";
|
|
40
40
|
import { VBtn as Jt } from "vuetify/components/VBtn";
|
|
41
41
|
import { VCheckbox as el } from "vuetify/components/VCheckbox";
|
|
@@ -180,7 +180,7 @@ const Bl = Il(
|
|
|
180
180
|
"vue",
|
|
181
181
|
{
|
|
182
182
|
version: "7.3.0",
|
|
183
|
-
frameworkVersion:
|
|
183
|
+
frameworkVersion: qe
|
|
184
184
|
}
|
|
185
185
|
);
|
|
186
186
|
/**
|
|
@@ -216,9 +216,9 @@ const de = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Al = 300, Dl =
|
|
|
216
216
|
e({
|
|
217
217
|
instance: u,
|
|
218
218
|
lastEditorData: c
|
|
219
|
-
}),
|
|
219
|
+
}), q(r, (i) => {
|
|
220
220
|
u.value && i !== c.value && u.value.data.set(i);
|
|
221
|
-
}),
|
|
221
|
+
}), q(() => n.disabled, (i) => {
|
|
222
222
|
i ? u.value.enableReadOnlyMode(de) : u.value.disableReadOnlyMode(de);
|
|
223
223
|
});
|
|
224
224
|
function v() {
|
|
@@ -246,13 +246,13 @@ const de = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Al = 300, Dl =
|
|
|
246
246
|
Object.assign({}, n.config)
|
|
247
247
|
);
|
|
248
248
|
r.value && (i.initialData = r.value), n.editor.create(f.value, i).then((m) => {
|
|
249
|
-
u.value =
|
|
249
|
+
u.value = Xe(m), s(m), r.value !== i.initialData && m.data.set(r.value), n.disabled && m.enableReadOnlyMode(de), a("ready", m);
|
|
250
250
|
}).catch((m) => {
|
|
251
251
|
console.error(m);
|
|
252
252
|
});
|
|
253
253
|
}), Ne(() => {
|
|
254
254
|
u.value && (u.value.destroy(), u.value = void 0), a("destroy");
|
|
255
|
-
}), (i, m) => (h(), k(
|
|
255
|
+
}), (i, m) => (h(), k(ee(i.tagName), {
|
|
256
256
|
ref_key: "element",
|
|
257
257
|
ref: f
|
|
258
258
|
}, null, 512));
|
|
@@ -334,15 +334,15 @@ const Nl = { class: "custom-error-display text-error" }, $l = { key: 0 }, El = /
|
|
|
334
334
|
key: n,
|
|
335
335
|
class: re({ "first-error": n === 0, "last-error": n === e.errors.length - 1 })
|
|
336
336
|
}, [
|
|
337
|
-
r.componentName === "template" ? (h(), E("div", $l,
|
|
337
|
+
r.componentName === "template" ? (h(), E("div", $l, te(r.componentBody), 1)) : r.componentName === "vue-markdown" ? (h(), k(o(st), {
|
|
338
338
|
key: 1,
|
|
339
339
|
source: (a = r.componentBindings) == null ? void 0 : a.source
|
|
340
|
-
}, null, 8, ["source"])) : (h(), k(
|
|
340
|
+
}, null, 8, ["source"])) : (h(), k(ee(r.componentName), R({
|
|
341
341
|
key: 2,
|
|
342
342
|
ref_for: !0
|
|
343
343
|
}, r.componentBindings), {
|
|
344
344
|
default: y(() => [
|
|
345
|
-
be(
|
|
345
|
+
be(te(r.componentBody), 1)
|
|
346
346
|
]),
|
|
347
347
|
_: 2
|
|
348
348
|
}, 1040))
|
|
@@ -350,12 +350,12 @@ const Nl = { class: "custom-error-display text-error" }, $l = { key: 0 }, El = /
|
|
|
350
350
|
}), 128))
|
|
351
351
|
]));
|
|
352
352
|
}
|
|
353
|
-
}),
|
|
353
|
+
}), oe = (t, e) => {
|
|
354
354
|
const l = t.__vccOpts || t;
|
|
355
355
|
for (const [r, n] of e)
|
|
356
356
|
l[r] = n;
|
|
357
357
|
return l;
|
|
358
|
-
}, W = /* @__PURE__ */
|
|
358
|
+
}, W = /* @__PURE__ */ oe(El, [["__scopeId", "data-v-b274d086"]]), Ul = {
|
|
359
359
|
key: 0,
|
|
360
360
|
for: "#following-v-input"
|
|
361
361
|
}, ge = /* @__PURE__ */ F({
|
|
@@ -388,12 +388,12 @@ const Nl = { class: "custom-error-display text-error" }, $l = { key: 0 }, El = /
|
|
|
388
388
|
}
|
|
389
389
|
])
|
|
390
390
|
}, [
|
|
391
|
-
o(u).label ? (h(), E("label", Ul,
|
|
391
|
+
o(u).label ? (h(), E("label", Ul, te(o(u).label), 1)) : $("", !0),
|
|
392
392
|
A(m, {
|
|
393
393
|
hint: o(u).hint,
|
|
394
394
|
"persistent-hint": o(u).persistentHint,
|
|
395
395
|
"hide-details": o(u).hideDetails
|
|
396
|
-
},
|
|
396
|
+
}, Ze({
|
|
397
397
|
message: y(() => [
|
|
398
398
|
A(W, { errors: o(n) }, null, 8, ["errors"])
|
|
399
399
|
]),
|
|
@@ -607,14 +607,14 @@ const Fl = {
|
|
|
607
607
|
name: p.formAction.icon
|
|
608
608
|
}, null, 8, ["name"])) : $("", !0),
|
|
609
609
|
f(p) && u(p) ? (h(), E("span", Fl)) : $("", !0),
|
|
610
|
-
u(p) ? (h(), E("span", Ll,
|
|
610
|
+
u(p) ? (h(), E("span", Ll, te(v(p)), 1)) : $("", !0)
|
|
611
611
|
]),
|
|
612
612
|
_: 2
|
|
613
613
|
}, 1032, ["variant", "class", "size", "onClick"]))), 128))
|
|
614
614
|
], 2)) : $("", !0);
|
|
615
615
|
};
|
|
616
616
|
}
|
|
617
|
-
}), Rl = /* @__PURE__ */
|
|
617
|
+
}), Rl = /* @__PURE__ */ oe(Pl, [["__scopeId", "data-v-eb616f46"]]), Ol = /* @__PURE__ */ F({
|
|
618
618
|
__name: "df-checkbox",
|
|
619
619
|
props: /* @__PURE__ */ z({
|
|
620
620
|
allowNull: { type: Boolean },
|
|
@@ -640,7 +640,7 @@ const Fl = {
|
|
|
640
640
|
}
|
|
641
641
|
// eslint-disable-line @typescript-eslint/no-unused-vars
|
|
642
642
|
});
|
|
643
|
-
|
|
643
|
+
q(a, (s) => {
|
|
644
644
|
s ? a.value = !0 : l.allowNull && s == null ? a.value = null : a.value = !1;
|
|
645
645
|
}, { immediate: !0 });
|
|
646
646
|
function v() {
|
|
@@ -713,7 +713,7 @@ const Fl = {
|
|
|
713
713
|
A(o(W), { errors: o(n) }, null, 8, ["errors"])
|
|
714
714
|
]),
|
|
715
715
|
"prepend-inner": y(() => [
|
|
716
|
-
|
|
716
|
+
le("div", {
|
|
717
717
|
style: he([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(a) }])
|
|
718
718
|
}, null, 4)
|
|
719
719
|
]),
|
|
@@ -765,7 +765,7 @@ const Fl = {
|
|
|
765
765
|
set(b) {
|
|
766
766
|
b ? v.value = "date" : v.value = "";
|
|
767
767
|
}
|
|
768
|
-
}), i = (b) => `${
|
|
768
|
+
}), i = (b) => `${Q(b, "yyyy-MM-dd")}T${Q(b, "HH:mm")}:00`, m = S(null);
|
|
769
769
|
function p(b, d) {
|
|
770
770
|
if (b == null)
|
|
771
771
|
m.value = null;
|
|
@@ -779,10 +779,10 @@ const Fl = {
|
|
|
779
779
|
else {
|
|
780
780
|
m.value == null && (m.value = i(/* @__PURE__ */ new Date()));
|
|
781
781
|
const T = m.value.split(/[TZ]/g), P = b.split(/[TZ]/g);
|
|
782
|
-
T[d] = P[d], m.value = i(/* @__PURE__ */ new Date(`${T[0]}T${T[1].split(".")[0]}`)), o(f) === "date" ? n.value = T[0] : o(f) === "time" ? n.value = T[1] : n.value = o(m);
|
|
782
|
+
T[d] = P[d], m.value = i(/* @__PURE__ */ new Date(`${T[0]}T${T[1].split(".")[0]}`)), o(f) === "date" ? n.value = T[0] : o(f) === "time" ? n.value = T[1] : n.value = o(m) + Q(/* @__PURE__ */ new Date(), "XXX");
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
|
-
|
|
785
|
+
q(n, (b) => p(b, -1), { immediate: !0 });
|
|
786
786
|
const g = _({
|
|
787
787
|
get() {
|
|
788
788
|
const b = o(m);
|
|
@@ -804,7 +804,7 @@ const Fl = {
|
|
|
804
804
|
}), L = _({
|
|
805
805
|
get() {
|
|
806
806
|
const b = o(g);
|
|
807
|
-
return b == null ? "" :
|
|
807
|
+
return b == null ? "" : Q(b, o(u));
|
|
808
808
|
},
|
|
809
809
|
set(b) {
|
|
810
810
|
try {
|
|
@@ -817,7 +817,7 @@ const Fl = {
|
|
|
817
817
|
}), B = _({
|
|
818
818
|
get() {
|
|
819
819
|
const b = o(g);
|
|
820
|
-
return b == null ? "" :
|
|
820
|
+
return b == null ? "" : Q(b, o(c));
|
|
821
821
|
},
|
|
822
822
|
set(b) {
|
|
823
823
|
const d = b.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
@@ -828,7 +828,7 @@ const Fl = {
|
|
|
828
828
|
}
|
|
829
829
|
});
|
|
830
830
|
return (b, d) => {
|
|
831
|
-
const T = x("v-text-field"), P = x("v-date-picker"),
|
|
831
|
+
const T = x("v-text-field"), P = x("v-date-picker"), Z = x("v-confirm-edit"), I = x("v-time-picker"), C = x("v-menu");
|
|
832
832
|
return h(), k(o(ge), R(l, {
|
|
833
833
|
clearable: "",
|
|
834
834
|
"onClick:clear": d[13] || (d[13] = (V) => n.value = null)
|
|
@@ -842,7 +842,7 @@ const Fl = {
|
|
|
842
842
|
"close-on-content-click": !1
|
|
843
843
|
}, {
|
|
844
844
|
activator: y(({ props: V }) => [
|
|
845
|
-
|
|
845
|
+
le("div", Ml, [
|
|
846
846
|
["date", "datetime"].includes(o(f)) ? (h(), k(T, R({
|
|
847
847
|
key: 0,
|
|
848
848
|
modelValue: L.value,
|
|
@@ -876,7 +876,7 @@ const Fl = {
|
|
|
876
876
|
])
|
|
877
877
|
]),
|
|
878
878
|
default: y(() => [
|
|
879
|
-
v.value === "date" ? (h(), k(
|
|
879
|
+
v.value === "date" ? (h(), k(Z, {
|
|
880
880
|
key: 0,
|
|
881
881
|
modelValue: g.value,
|
|
882
882
|
"onUpdate:modelValue": d[6] || (d[6] = (V) => g.value = V),
|
|
@@ -893,14 +893,14 @@ const Fl = {
|
|
|
893
893
|
"show-week": !0
|
|
894
894
|
}, {
|
|
895
895
|
actions: y(() => [
|
|
896
|
-
(h(), k(
|
|
896
|
+
(h(), k(ee(U)))
|
|
897
897
|
]),
|
|
898
898
|
_: 2
|
|
899
899
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
900
900
|
]),
|
|
901
901
|
_: 1
|
|
902
902
|
}, 8, ["modelValue"])) : $("", !0),
|
|
903
|
-
v.value === "time" ? (h(), k(
|
|
903
|
+
v.value === "time" ? (h(), k(Z, {
|
|
904
904
|
key: 1,
|
|
905
905
|
modelValue: w.value,
|
|
906
906
|
"onUpdate:modelValue": d[9] || (d[9] = (V) => w.value = V),
|
|
@@ -915,7 +915,7 @@ const Fl = {
|
|
|
915
915
|
format: "24hr"
|
|
916
916
|
}, {
|
|
917
917
|
actions: y(() => [
|
|
918
|
-
(h(), k(
|
|
918
|
+
(h(), k(ee(U)))
|
|
919
919
|
]),
|
|
920
920
|
_: 2
|
|
921
921
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -957,16 +957,16 @@ const Fl = {
|
|
|
957
957
|
n.value && l.comms.touch(n.value);
|
|
958
958
|
}, 60 * 1e3);
|
|
959
959
|
}
|
|
960
|
-
Ne(() => m()),
|
|
960
|
+
Ne(() => m()), q(n, (B) => {
|
|
961
961
|
B ? p() : m();
|
|
962
962
|
});
|
|
963
963
|
function g() {
|
|
964
|
-
return
|
|
964
|
+
return ne(this, null, function* () {
|
|
965
965
|
n.value && (yield l.comms.delete(n.value)), n.value = null, c.value = 0, v.value = Math.round(Math.random() * 1e3), u.value = null, s.value = null, m();
|
|
966
966
|
});
|
|
967
967
|
}
|
|
968
968
|
function w(B) {
|
|
969
|
-
return
|
|
969
|
+
return ne(this, null, function* () {
|
|
970
970
|
c.value = -1, u.value = B, new FormData().append("file", B, B.name);
|
|
971
971
|
try {
|
|
972
972
|
n.value = yield l.comms.upload(
|
|
@@ -990,7 +990,7 @@ const Fl = {
|
|
|
990
990
|
"onClick:clear": g
|
|
991
991
|
}), {
|
|
992
992
|
default: y(() => [
|
|
993
|
-
|
|
993
|
+
le("div", zl, [
|
|
994
994
|
u.value && c.value < 100 ? (h(), k(d, {
|
|
995
995
|
key: 0,
|
|
996
996
|
"model-value": c.value,
|
|
@@ -1081,7 +1081,7 @@ const Fl = {
|
|
|
1081
1081
|
]);
|
|
1082
1082
|
};
|
|
1083
1083
|
}
|
|
1084
|
-
}),
|
|
1084
|
+
}), Xl = /* @__PURE__ */ oe(Wl, [["__scopeId", "data-v-7ce40eb2"]]), ql = { class: "editor-container" }, Zl = { class: "editor-container__editor" }, Yl = { ref: "editorElement" }, Ql = /* @__PURE__ */ F({
|
|
1085
1085
|
__name: "ck-editor-custom",
|
|
1086
1086
|
props: {
|
|
1087
1087
|
modelValue: { default: "" },
|
|
@@ -1163,9 +1163,9 @@ const Fl = {
|
|
|
1163
1163
|
Kt,
|
|
1164
1164
|
Gt,
|
|
1165
1165
|
Wt,
|
|
1166
|
+
Xt,
|
|
1166
1167
|
qt,
|
|
1167
|
-
Zt
|
|
1168
|
-
Xt
|
|
1168
|
+
Zt
|
|
1169
1169
|
],
|
|
1170
1170
|
balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
|
|
1171
1171
|
heading: {
|
|
@@ -1231,9 +1231,9 @@ const Fl = {
|
|
|
1231
1231
|
};
|
|
1232
1232
|
return e({ onEditorReady: s }), (i, m) => {
|
|
1233
1233
|
const p = x("ckeditor");
|
|
1234
|
-
return h(), E("div",
|
|
1235
|
-
|
|
1236
|
-
|
|
1234
|
+
return h(), E("div", ql, [
|
|
1235
|
+
le("div", Zl, [
|
|
1236
|
+
le("div", Yl, [
|
|
1237
1237
|
n.value ? (h(), k(p, {
|
|
1238
1238
|
key: 0,
|
|
1239
1239
|
"model-value": i.modelValue,
|
|
@@ -1285,7 +1285,7 @@ const Fl = {
|
|
|
1285
1285
|
function eo(t) {
|
|
1286
1286
|
return t.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
|
|
1287
1287
|
}
|
|
1288
|
-
function
|
|
1288
|
+
function J(t, e) {
|
|
1289
1289
|
var l;
|
|
1290
1290
|
return t == null || Be(t) && t.length === 0 ? null : e ? Le(t) : Be(t) ? (l = Pe(t)) != null ? l : null : t;
|
|
1291
1291
|
}
|
|
@@ -1296,7 +1296,7 @@ function ve(t, e) {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
function me(t, e, l, r, n) {
|
|
1298
1298
|
var f;
|
|
1299
|
-
const a =
|
|
1299
|
+
const a = J(t, l);
|
|
1300
1300
|
if (a == null) {
|
|
1301
1301
|
e.value = l ? [] : null;
|
|
1302
1302
|
return;
|
|
@@ -1348,23 +1348,23 @@ const to = {
|
|
|
1348
1348
|
function b(I) {
|
|
1349
1349
|
s("update:modelValueDisplay", ve(w.value, I));
|
|
1350
1350
|
}
|
|
1351
|
-
|
|
1351
|
+
q(g, (I) => {
|
|
1352
1352
|
p.value.readonly || et(() => {
|
|
1353
|
-
const C =
|
|
1353
|
+
const C = J(I, n.value);
|
|
1354
1354
|
b(C), m.value = C;
|
|
1355
1355
|
});
|
|
1356
1356
|
}, { deep: !0 });
|
|
1357
1357
|
function d() {
|
|
1358
1358
|
if (p.value.readonly || a.value) return;
|
|
1359
|
-
const I =
|
|
1359
|
+
const I = J(g.value, n.value);
|
|
1360
1360
|
me(I, g, n.value, !1, w.value), m.value = I;
|
|
1361
1361
|
}
|
|
1362
1362
|
function T(I) {
|
|
1363
1363
|
let C;
|
|
1364
|
-
n.value && Array.isArray(g.value) ? C =
|
|
1364
|
+
n.value && Array.isArray(g.value) ? C = J(g.value.filter((V) => V !== I), n.value) : C = null, me(C, g, n.value, !1, w.value), m.value = C;
|
|
1365
1365
|
}
|
|
1366
1366
|
function P(I, C) {
|
|
1367
|
-
return
|
|
1367
|
+
return ne(this, null, function* () {
|
|
1368
1368
|
if (!(r || l.fetchChoices === void 0)) {
|
|
1369
1369
|
L.value = !0;
|
|
1370
1370
|
try {
|
|
@@ -1375,15 +1375,15 @@ const to = {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
});
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Z() {
|
|
1379
1379
|
let I = m.value;
|
|
1380
|
-
!f.value && I == null && B.value.length && (I = B.value[0].value), I =
|
|
1380
|
+
!f.value && I == null && B.value.length && (I = B.value[0].value), I = J(I, n.value), me(I, g, n.value, a.value, w.value), b(I), m.value = I;
|
|
1381
1381
|
}
|
|
1382
|
-
return
|
|
1383
|
-
|
|
1382
|
+
return Z(), l.fetchChoices !== void 0 && P(void 0, m.value).then(() => {
|
|
1383
|
+
Z();
|
|
1384
1384
|
}), (I, C) => {
|
|
1385
1385
|
const V = x("v-chip"), U = x("v-list-item");
|
|
1386
|
-
return o(c) !== o(M).SUPPRESS ? (h(), k(
|
|
1386
|
+
return o(c) !== o(M).SUPPRESS ? (h(), k(ee(o(a) ? "v-combobox" : "v-autocomplete"), R({
|
|
1387
1387
|
key: 0,
|
|
1388
1388
|
modelValue: g.value,
|
|
1389
1389
|
"onUpdate:modelValue": C[0] || (C[0] = (D) => g.value = D),
|
|
@@ -1422,12 +1422,12 @@ const to = {
|
|
|
1422
1422
|
size: "small",
|
|
1423
1423
|
variant: o(n) ? "tonal" : "text",
|
|
1424
1424
|
closable: o(n),
|
|
1425
|
-
"onClick:close": (
|
|
1425
|
+
"onClick:close": (X) => T(D.value)
|
|
1426
1426
|
}, {
|
|
1427
1427
|
prepend: y(() => {
|
|
1428
|
-
var
|
|
1428
|
+
var X;
|
|
1429
1429
|
return [
|
|
1430
|
-
(
|
|
1430
|
+
(X = D.raw) != null && X.icon ? (h(), E("span", to, [
|
|
1431
1431
|
A(o(fe), {
|
|
1432
1432
|
class: "action-icon d-inline-block",
|
|
1433
1433
|
name: D.raw.icon
|
|
@@ -1436,20 +1436,20 @@ const to = {
|
|
|
1436
1436
|
];
|
|
1437
1437
|
}),
|
|
1438
1438
|
default: y(() => [
|
|
1439
|
-
be(" " +
|
|
1439
|
+
be(" " + te(D.title), 1)
|
|
1440
1440
|
]),
|
|
1441
1441
|
_: 2
|
|
1442
1442
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
1443
1443
|
]),
|
|
1444
|
-
item: y(({ props: D, item:
|
|
1444
|
+
item: y(({ props: D, item: X }) => [
|
|
1445
1445
|
A(U, Ue(Fe(D)), {
|
|
1446
1446
|
prepend: y(() => {
|
|
1447
1447
|
var ye;
|
|
1448
1448
|
return [
|
|
1449
|
-
(ye =
|
|
1449
|
+
(ye = X.raw) != null && ye.icon ? (h(), E("span", lo, [
|
|
1450
1450
|
A(o(fe), {
|
|
1451
1451
|
class: "action-icon d-inline-block",
|
|
1452
|
-
name:
|
|
1452
|
+
name: X.raw.icon
|
|
1453
1453
|
}, null, 8, ["name"])
|
|
1454
1454
|
])) : $("", !0)
|
|
1455
1455
|
];
|
|
@@ -1464,7 +1464,7 @@ const to = {
|
|
|
1464
1464
|
}, 16, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : $("", !0);
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
|
-
}), no = /* @__PURE__ */
|
|
1467
|
+
}), no = /* @__PURE__ */ oe(oo, [["__scopeId", "data-v-2d1b6f78"]]), ao = { class: "container" }, ro = /* @__PURE__ */ F({
|
|
1468
1468
|
__name: "df-text-area",
|
|
1469
1469
|
props: /* @__PURE__ */ z({
|
|
1470
1470
|
rows: {},
|
|
@@ -1514,14 +1514,14 @@ const to = {
|
|
|
1514
1514
|
]);
|
|
1515
1515
|
};
|
|
1516
1516
|
}
|
|
1517
|
-
}), io = /* @__PURE__ */
|
|
1517
|
+
}), io = /* @__PURE__ */ oe(ro, [["__scopeId", "data-v-2dc106f6"]]), so = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1518
1518
|
__proto__: null,
|
|
1519
1519
|
DfActions: Rl,
|
|
1520
1520
|
DfCheckbox: Ol,
|
|
1521
1521
|
DfColor: Hl,
|
|
1522
1522
|
DfDateTime: jl,
|
|
1523
1523
|
DfFile: Kl,
|
|
1524
|
-
DfInput:
|
|
1524
|
+
DfInput: Xl,
|
|
1525
1525
|
DfRtfEditor: Jl,
|
|
1526
1526
|
DfSelect: no,
|
|
1527
1527
|
DfTextArea: io
|
|
@@ -1563,7 +1563,7 @@ export {
|
|
|
1563
1563
|
Hl as DfColor,
|
|
1564
1564
|
jl as DfDateTime,
|
|
1565
1565
|
Kl as DfFile,
|
|
1566
|
-
|
|
1566
|
+
Xl as DfInput,
|
|
1567
1567
|
Jl as DfRtfEditor,
|
|
1568
1568
|
no as DfSelect,
|
|
1569
1569
|
io as DfTextArea,
|