@dynamicforms/vuetify-inputs 0.3.1 → 0.3.2
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.
|
@@ -47,16 +47,17 @@ import { VDatePicker as st } from "vuetify/components/VDatePicker";
|
|
|
47
47
|
import { VFileInput as rt } from "vuetify/components/VFileInput";
|
|
48
48
|
import { VCol as ut, VRow as dt } from "vuetify/components/VGrid";
|
|
49
49
|
import { VIcon as ct } from "vuetify/components/VIcon";
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
50
|
+
import { VImg as mt } from "vuetify/components/VImg";
|
|
51
|
+
import { VInput as pt } from "vuetify/components/VInput";
|
|
52
|
+
import { VListItem as ft } from "vuetify/components/VList";
|
|
53
|
+
import { VMenu as vt } from "vuetify/components/VMenu";
|
|
54
|
+
import { VNumberInput as bt } from "vuetify/components/VNumberInput";
|
|
55
|
+
import { VProgressLinear as gt } from "vuetify/components/VProgressLinear";
|
|
56
|
+
import { VSelect as ht } from "vuetify/components/VSelect";
|
|
57
|
+
import { VSwitch as yt } from "vuetify/components/VSwitch";
|
|
58
|
+
import { VTextarea as _t } from "vuetify/components/VTextarea";
|
|
59
|
+
import { VTextField as Vt } from "vuetify/components/VTextField";
|
|
60
|
+
import { VTimePicker as kt } from "vuetify/labs/VTimePicker";
|
|
60
61
|
/**
|
|
61
62
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
62
63
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -70,7 +71,7 @@ new Array(256).fill("").map((l, e) => ("0" + e.toString(16)).slice(-2));
|
|
|
70
71
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
71
72
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
72
73
|
*/
|
|
73
|
-
function
|
|
74
|
+
function wt(l, e) {
|
|
74
75
|
const n = l.extraPlugins || [];
|
|
75
76
|
return O(E({}, l), {
|
|
76
77
|
extraPlugins: [
|
|
@@ -93,14 +94,14 @@ function Me(l) {
|
|
|
93
94
|
function He(l) {
|
|
94
95
|
return l ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((e) => l.includes(e)) : !1;
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function Tt(l) {
|
|
97
98
|
return Me(l) || He(l);
|
|
98
99
|
}
|
|
99
100
|
/**
|
|
100
101
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
101
102
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
102
103
|
*/
|
|
103
|
-
function
|
|
104
|
+
function Ct(l) {
|
|
104
105
|
if (!Me(l))
|
|
105
106
|
throw new Error(`Invalid semantic version: ${l || "<blank>"}.`);
|
|
106
107
|
const [e, n, a] = l.split(".");
|
|
@@ -114,10 +115,10 @@ function Tt(l) {
|
|
|
114
115
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
115
116
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
116
117
|
*/
|
|
117
|
-
function
|
|
118
|
+
function It(l) {
|
|
118
119
|
if (He(l))
|
|
119
120
|
return 3;
|
|
120
|
-
const { major: e } =
|
|
121
|
+
const { major: e } = Ct(l);
|
|
121
122
|
switch (!0) {
|
|
122
123
|
case e >= 44:
|
|
123
124
|
return 3;
|
|
@@ -131,9 +132,9 @@ function Ct(l) {
|
|
|
131
132
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
132
133
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
133
134
|
*/
|
|
134
|
-
function
|
|
135
|
+
function Bt() {
|
|
135
136
|
const { CKEDITOR_VERSION: l, CKEDITOR: e } = window;
|
|
136
|
-
return
|
|
137
|
+
return Tt(l) ? {
|
|
137
138
|
source: e ? "cdn" : "npm",
|
|
138
139
|
version: l
|
|
139
140
|
} : null;
|
|
@@ -142,16 +143,16 @@ function It() {
|
|
|
142
143
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
143
144
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
144
145
|
*/
|
|
145
|
-
function
|
|
146
|
-
const l =
|
|
147
|
-
return l ?
|
|
146
|
+
function At() {
|
|
147
|
+
const l = Bt();
|
|
148
|
+
return l ? It(l.version) : null;
|
|
148
149
|
}
|
|
149
150
|
/**
|
|
150
151
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
151
152
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
152
153
|
*/
|
|
153
154
|
function je(l, e) {
|
|
154
|
-
switch (e || (e =
|
|
155
|
+
switch (e || (e = At() || void 0), e) {
|
|
155
156
|
case 1:
|
|
156
157
|
case 2:
|
|
157
158
|
return l === void 0;
|
|
@@ -165,7 +166,7 @@ function je(l, e) {
|
|
|
165
166
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
166
167
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
167
168
|
*/
|
|
168
|
-
function
|
|
169
|
+
function xt(l, e) {
|
|
169
170
|
return function(a) {
|
|
170
171
|
je(a.config.get("licenseKey")) || a.on("collectUsageData", (o, { setUsageData: i }) => {
|
|
171
172
|
i(`integration.${l}`, e);
|
|
@@ -176,7 +177,7 @@ function At(l, e) {
|
|
|
176
177
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
177
178
|
* For licensing, see LICENSE.md.
|
|
178
179
|
*/
|
|
179
|
-
const
|
|
180
|
+
const St = xt(
|
|
180
181
|
"vue",
|
|
181
182
|
{
|
|
182
183
|
version: "7.3.0",
|
|
@@ -187,17 +188,17 @@ const xt = At(
|
|
|
187
188
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
188
189
|
* For licensing, see LICENSE.md.
|
|
189
190
|
*/
|
|
190
|
-
function
|
|
191
|
-
return je(l.licenseKey) ? l :
|
|
191
|
+
function Dt(l) {
|
|
192
|
+
return je(l.licenseKey) ? l : wt(l, [
|
|
192
193
|
/**
|
|
193
194
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
194
195
|
* It only runs when a specific license key is provided. If you are uncertain whether
|
|
195
196
|
* this applies to your installation, please contact our support team.
|
|
196
197
|
*/
|
|
197
|
-
|
|
198
|
+
St
|
|
198
199
|
]);
|
|
199
200
|
}
|
|
200
|
-
const ve = "Lock from Vue integration (@ckeditor/ckeditor5-vue)",
|
|
201
|
+
const ve = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Nt = 300, $t = /* @__PURE__ */ L({
|
|
201
202
|
name: "CKEditor",
|
|
202
203
|
__name: "ckeditor",
|
|
203
204
|
props: /* @__PURE__ */ Te({
|
|
@@ -234,7 +235,7 @@ const ve = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Dt = 300, Nt =
|
|
|
234
235
|
return;
|
|
235
236
|
const g = f.value = r.data.get();
|
|
236
237
|
i("update:modelValue", g, v, r), i("input", g, v, r);
|
|
237
|
-
},
|
|
238
|
+
}, Nt, { leading: !0 });
|
|
238
239
|
r.model.document.on("change:data", p), r.editing.view.document.on("focus", (v) => {
|
|
239
240
|
i("focus", v, r);
|
|
240
241
|
}), r.editing.view.document.on("blur", (v) => {
|
|
@@ -242,7 +243,7 @@ const ve = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Dt = 300, Nt =
|
|
|
242
243
|
});
|
|
243
244
|
}
|
|
244
245
|
return c(), Ee(() => {
|
|
245
|
-
const r =
|
|
246
|
+
const r = Dt(
|
|
246
247
|
Object.assign({}, o.config)
|
|
247
248
|
);
|
|
248
249
|
a.value && (r.initialData = a.value), o.editor.create(s.value, r).then((p) => {
|
|
@@ -267,16 +268,16 @@ if (!we.version || !we.version.startsWith("3."))
|
|
|
267
268
|
throw new Error(
|
|
268
269
|
"The CKEditor plugin works only with Vue 3+. For more information, please refer to https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/vuejs-v3.html"
|
|
269
270
|
);
|
|
270
|
-
const
|
|
271
|
+
const Et = {
|
|
271
272
|
/**
|
|
272
273
|
* Installs the plugin, registering the `<ckeditor>` component.
|
|
273
274
|
*
|
|
274
275
|
* @param app The application instance.
|
|
275
276
|
*/
|
|
276
277
|
install(l) {
|
|
277
|
-
l.component("Ckeditor",
|
|
278
|
+
l.component("Ckeditor", $t);
|
|
278
279
|
}
|
|
279
|
-
},
|
|
280
|
+
}, Ut = { class: "label" }, Ft = /* @__PURE__ */ L({
|
|
280
281
|
__name: "df-label",
|
|
281
282
|
props: {
|
|
282
283
|
data: {},
|
|
@@ -285,7 +286,7 @@ const $t = {
|
|
|
285
286
|
setup(l) {
|
|
286
287
|
return (e, n) => {
|
|
287
288
|
const a = I("v-icon"), o = I("v-img");
|
|
288
|
-
return h(), D("div",
|
|
289
|
+
return h(), D("div", Ut, [
|
|
289
290
|
e.label.icon ? (h(), D(ye, { key: 0 }, [
|
|
290
291
|
e.label.iconComponent === "v-icon" ? (h(), C(a, {
|
|
291
292
|
key: 0,
|
|
@@ -309,8 +310,8 @@ const $t = {
|
|
|
309
310
|
for (const [a, o] of e)
|
|
310
311
|
n[a] = o;
|
|
311
312
|
return n;
|
|
312
|
-
}, z = /* @__PURE__ */ te(
|
|
313
|
-
class
|
|
313
|
+
}, z = /* @__PURE__ */ te(Ft, [["__scopeId", "data-v-0034f29f"]]);
|
|
314
|
+
class Lt {
|
|
314
315
|
constructor(e, n, a = "v-icon") {
|
|
315
316
|
this.text = e, this.icon = n, this.iconComponent = a;
|
|
316
317
|
}
|
|
@@ -332,7 +333,7 @@ function K(l, e) {
|
|
|
332
333
|
), i = T(() => o.value.length > 0 ? " " : void 0), s = T(() => l.control ? l.control.enabled : l.enabled !== !1), d = T(
|
|
333
334
|
() => l.control ? l.control.visibility : l.visibility || Se.DisplayMode.FULL
|
|
334
335
|
), f = T(
|
|
335
|
-
() => de(l.label || "") ? new
|
|
336
|
+
() => de(l.label || "") ? new Lt(l.label || "") : l.label
|
|
336
337
|
), c = T(() => l.placeholder || ""), u = T(() => l.helpText || ""), r = T(() => l.hint || ""), p = T(() => l.cssClass || "");
|
|
337
338
|
return {
|
|
338
339
|
value: n,
|
|
@@ -365,24 +366,24 @@ function K(l, e) {
|
|
|
365
366
|
})
|
|
366
367
|
};
|
|
367
368
|
}
|
|
368
|
-
const
|
|
369
|
+
const Pt = {
|
|
369
370
|
key: 0,
|
|
370
371
|
class: "custom-error-display text-error"
|
|
371
|
-
},
|
|
372
|
+
}, Rt = { key: 0 }, Ot = { key: 1 }, Mt = /* @__PURE__ */ L({
|
|
372
373
|
__name: "messages-widget",
|
|
373
374
|
props: {
|
|
374
375
|
errors: {},
|
|
375
376
|
message: {}
|
|
376
377
|
},
|
|
377
378
|
setup(l) {
|
|
378
|
-
return (e, n) => e.message === " " ? (h(), D("div",
|
|
379
|
+
return (e, n) => e.message === " " ? (h(), D("div", Pt, [
|
|
379
380
|
(h(!0), D(ye, null, Fe(e.errors, (a, o) => {
|
|
380
381
|
var i;
|
|
381
382
|
return h(), D("div", {
|
|
382
383
|
key: o,
|
|
383
384
|
class: se({ "first-error": o === 0, "last-error": o === e.errors.length - 1 })
|
|
384
385
|
}, [
|
|
385
|
-
a.componentName === "template" ? (h(), D("div",
|
|
386
|
+
a.componentName === "template" ? (h(), D("div", Rt, J(a.componentBody), 1)) : a.componentName === "vue-markdown" ? (h(), C(t(dl), {
|
|
386
387
|
key: 1,
|
|
387
388
|
source: (i = a.componentBindings) == null ? void 0 : i.source
|
|
388
389
|
}, null, 8, ["source"])) : (h(), C(ee(a.componentName), H({
|
|
@@ -396,9 +397,9 @@ const Lt = {
|
|
|
396
397
|
}, 1040))
|
|
397
398
|
], 2);
|
|
398
399
|
}), 128))
|
|
399
|
-
])) : (h(), D("span",
|
|
400
|
+
])) : (h(), D("span", Ot, J(e.message), 1));
|
|
400
401
|
}
|
|
401
|
-
}), Z = /* @__PURE__ */ te(
|
|
402
|
+
}), Z = /* @__PURE__ */ te(Mt, [["__scopeId", "data-v-ff7a8b63"]]), Ht = {
|
|
402
403
|
key: 0,
|
|
403
404
|
for: "#following-v-input"
|
|
404
405
|
}, Ve = /* @__PURE__ */ L({
|
|
@@ -431,7 +432,7 @@ const Lt = {
|
|
|
431
432
|
}
|
|
432
433
|
])
|
|
433
434
|
}, [
|
|
434
|
-
t(f).label ? (h(), D("label",
|
|
435
|
+
t(f).label ? (h(), D("label", Ht, [
|
|
435
436
|
V(z, { label: t(i) }, null, 8, ["label"])
|
|
436
437
|
])) : U("", !0),
|
|
437
438
|
V(v, {
|
|
@@ -489,7 +490,7 @@ const De = 0;
|
|
|
489
490
|
})(P || (P = {}));
|
|
490
491
|
Object.freeze(P);
|
|
491
492
|
const Ne = ["xs", "sm", "md", "lg", "xl"];
|
|
492
|
-
class
|
|
493
|
+
class jt {
|
|
493
494
|
constructor(e) {
|
|
494
495
|
oe(this, "_value");
|
|
495
496
|
this._value = this.cleanBreakpoint(e, !0), e && Ne.forEach((n) => {
|
|
@@ -508,7 +509,7 @@ class Ht {
|
|
|
508
509
|
return n;
|
|
509
510
|
}
|
|
510
511
|
}
|
|
511
|
-
class
|
|
512
|
+
class zt extends jt {
|
|
512
513
|
// eslint-disable-next-line class-methods-use-this
|
|
513
514
|
cleanBreakpoint(e, n = !1) {
|
|
514
515
|
if ((!e || !ol(e)) && !n) return null;
|
|
@@ -526,7 +527,7 @@ class ue {
|
|
|
526
527
|
oe(this, "formAction");
|
|
527
528
|
if (e.name == null) throw new Error(`Action name must not be empty ${e}`);
|
|
528
529
|
const a = !de(e.label) || e.label.length === 0 ? void 0 : e.label, o = !de(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
|
|
529
|
-
this.name = e.name, this.displayStyle = new
|
|
530
|
+
this.name = e.name, this.displayStyle = new zt(E({ label: a }, e.displayStyle)), this.formAction = n, this.formAction.icon = o, this.formAction.label = a;
|
|
530
531
|
}
|
|
531
532
|
get label() {
|
|
532
533
|
var e;
|
|
@@ -594,10 +595,10 @@ class ue {
|
|
|
594
595
|
);
|
|
595
596
|
}
|
|
596
597
|
}
|
|
597
|
-
const
|
|
598
|
+
const Kt = {
|
|
598
599
|
key: 1,
|
|
599
600
|
style: { width: ".5rem" }
|
|
600
|
-
},
|
|
601
|
+
}, Gt = { key: 2 }, Wt = /* @__PURE__ */ L({
|
|
601
602
|
__name: "df-actions",
|
|
602
603
|
props: {
|
|
603
604
|
actions: {},
|
|
@@ -650,15 +651,15 @@ const zt = {
|
|
|
650
651
|
class: "action-icon",
|
|
651
652
|
name: p.formAction.icon
|
|
652
653
|
}, null, 8, ["name"])) : U("", !0),
|
|
653
|
-
i(p) && s(p) ? (h(), D("span",
|
|
654
|
-
s(p) ? (h(), D("span",
|
|
654
|
+
i(p) && s(p) ? (h(), D("span", Kt)) : U("", !0),
|
|
655
|
+
s(p) ? (h(), D("span", Gt, J(f(p)), 1)) : U("", !0)
|
|
655
656
|
]),
|
|
656
657
|
_: 2
|
|
657
658
|
}, 1032, ["variant", "class", "size", "onClick"]))), 128))
|
|
658
659
|
], 2)) : U("", !0);
|
|
659
660
|
};
|
|
660
661
|
}
|
|
661
|
-
}),
|
|
662
|
+
}), Xt = /* @__PURE__ */ te(Wt, [["__scopeId", "data-v-d7ba6fac"]]), qt = /* @__PURE__ */ L({
|
|
662
663
|
__name: "df-checkbox",
|
|
663
664
|
props: /* @__PURE__ */ W({
|
|
664
665
|
allowNull: { type: Boolean },
|
|
@@ -720,7 +721,7 @@ const zt = {
|
|
|
720
721
|
]), 1040, ["modelValue", "indeterminate"]);
|
|
721
722
|
};
|
|
722
723
|
}
|
|
723
|
-
}),
|
|
724
|
+
}), Zt = /* @__PURE__ */ L({
|
|
724
725
|
__name: "df-color",
|
|
725
726
|
props: /* @__PURE__ */ W({
|
|
726
727
|
allowNull: { type: Boolean },
|
|
@@ -794,7 +795,7 @@ const zt = {
|
|
|
794
795
|
]), 1040, ["modelValue", "clearable", "rules"]);
|
|
795
796
|
};
|
|
796
797
|
}
|
|
797
|
-
}),
|
|
798
|
+
}), Yt = { class: "d-flex w-100" }, Qt = /* @__PURE__ */ L({
|
|
798
799
|
__name: "df-datetime",
|
|
799
800
|
props: /* @__PURE__ */ W({
|
|
800
801
|
inputType: {},
|
|
@@ -901,7 +902,7 @@ const zt = {
|
|
|
901
902
|
"onClick:clear": m[14] || (m[14] = (b) => i.value = null)
|
|
902
903
|
}), {
|
|
903
904
|
default: y(() => [
|
|
904
|
-
le("div",
|
|
905
|
+
le("div", Yt, [
|
|
905
906
|
["date", "datetime"].includes(t(d)) ? (h(), C(G, {
|
|
906
907
|
key: 0,
|
|
907
908
|
modelValue: F.value,
|
|
@@ -1032,7 +1033,7 @@ const zt = {
|
|
|
1032
1033
|
}, 16);
|
|
1033
1034
|
};
|
|
1034
1035
|
}
|
|
1035
|
-
}),
|
|
1036
|
+
}), Jt = { style: { position: "relative", width: "100%" } }, en = /* @__PURE__ */ L({
|
|
1036
1037
|
__name: "df-file",
|
|
1037
1038
|
props: /* @__PURE__ */ W({
|
|
1038
1039
|
comms: {},
|
|
@@ -1092,7 +1093,7 @@ const zt = {
|
|
|
1092
1093
|
"onClick:clear": g
|
|
1093
1094
|
}), {
|
|
1094
1095
|
default: y(() => [
|
|
1095
|
-
le("div",
|
|
1096
|
+
le("div", Jt, [
|
|
1096
1097
|
d.value && f.value < 100 ? (h(), C(B, {
|
|
1097
1098
|
key: 0,
|
|
1098
1099
|
"model-value": f.value,
|
|
@@ -1124,7 +1125,7 @@ const zt = {
|
|
|
1124
1125
|
}, 16);
|
|
1125
1126
|
};
|
|
1126
1127
|
}
|
|
1127
|
-
}),
|
|
1128
|
+
}), ln = { class: "container" }, tn = /* @__PURE__ */ L({
|
|
1128
1129
|
__name: "df-input",
|
|
1129
1130
|
props: /* @__PURE__ */ W({
|
|
1130
1131
|
inputType: {},
|
|
@@ -1155,7 +1156,7 @@ const zt = {
|
|
|
1155
1156
|
const n = l, a = e, { errors: o, label: i, value: s, vuetifyBindings: d } = K(n, a), { inputType: f, max: c, min: u, precision: r, step: p } = me(n), v = T(() => f.value === "number"), g = T(() => v.value ? { min: t(u), max: t(c), precision: t(r), step: t(p) } : {});
|
|
1156
1157
|
return (k, $) => {
|
|
1157
1158
|
const x = I("v-text-field"), F = I("v-number-input");
|
|
1158
|
-
return h(), D("div",
|
|
1159
|
+
return h(), D("div", ln, [
|
|
1159
1160
|
v.value ? (h(), C(F, H({
|
|
1160
1161
|
key: 1,
|
|
1161
1162
|
modelValue: t(s),
|
|
@@ -1209,7 +1210,7 @@ const zt = {
|
|
|
1209
1210
|
]);
|
|
1210
1211
|
};
|
|
1211
1212
|
}
|
|
1212
|
-
}),
|
|
1213
|
+
}), nn = /* @__PURE__ */ te(tn, [["__scopeId", "data-v-542e53bc"]]), on = { class: "editor-container" }, an = { class: "editor-container__editor" }, sn = { ref: "editorElement" }, rn = /* @__PURE__ */ L({
|
|
1213
1214
|
__name: "ck-editor-custom",
|
|
1214
1215
|
props: {
|
|
1215
1216
|
modelValue: { default: "" },
|
|
@@ -1359,9 +1360,9 @@ const zt = {
|
|
|
1359
1360
|
};
|
|
1360
1361
|
return e({ onEditorReady: u }), (r, p) => {
|
|
1361
1362
|
const v = I("ckeditor");
|
|
1362
|
-
return h(), D("div",
|
|
1363
|
-
le("div",
|
|
1364
|
-
le("div",
|
|
1363
|
+
return h(), D("div", on, [
|
|
1364
|
+
le("div", an, [
|
|
1365
|
+
le("div", sn, [
|
|
1365
1366
|
o.value ? (h(), C(v, {
|
|
1366
1367
|
key: 0,
|
|
1367
1368
|
"model-value": r.modelValue,
|
|
@@ -1377,7 +1378,7 @@ const zt = {
|
|
|
1377
1378
|
]);
|
|
1378
1379
|
};
|
|
1379
1380
|
}
|
|
1380
|
-
}),
|
|
1381
|
+
}), un = /* @__PURE__ */ L({
|
|
1381
1382
|
__name: "df-rtf-editor",
|
|
1382
1383
|
props: /* @__PURE__ */ W({
|
|
1383
1384
|
minHeight: {},
|
|
@@ -1398,7 +1399,7 @@ const zt = {
|
|
|
1398
1399
|
const n = l, a = e, { value: o, vuetifyBindings: i } = K(n, a);
|
|
1399
1400
|
return (s, d) => (h(), C(t(Ve), Le(Pe(n)), {
|
|
1400
1401
|
default: y(() => [
|
|
1401
|
-
V(
|
|
1402
|
+
V(rn, {
|
|
1402
1403
|
ref: "$editor",
|
|
1403
1404
|
modelValue: t(o),
|
|
1404
1405
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => q(o) ? o.value = f : null),
|
|
@@ -1410,7 +1411,7 @@ const zt = {
|
|
|
1410
1411
|
}, 16));
|
|
1411
1412
|
}
|
|
1412
1413
|
});
|
|
1413
|
-
function
|
|
1414
|
+
function dn(l) {
|
|
1414
1415
|
return l.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
|
|
1415
1416
|
}
|
|
1416
1417
|
function Q(l, e) {
|
|
@@ -1438,10 +1439,10 @@ function be(l, e, n, a, o) {
|
|
|
1438
1439
|
e.value = (s = d == null ? void 0 : d.id) != null ? s : null;
|
|
1439
1440
|
}
|
|
1440
1441
|
}
|
|
1441
|
-
const
|
|
1442
|
+
const cn = {
|
|
1442
1443
|
key: 0,
|
|
1443
1444
|
class: "me-1"
|
|
1444
|
-
},
|
|
1445
|
+
}, mn = /* @__PURE__ */ L({
|
|
1445
1446
|
__name: "df-select",
|
|
1446
1447
|
props: /* @__PURE__ */ W({
|
|
1447
1448
|
choices: {},
|
|
@@ -1469,7 +1470,7 @@ const dn = {
|
|
|
1469
1470
|
})),
|
|
1470
1471
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
1471
1472
|
setup(l, { emit: e }) {
|
|
1472
|
-
const n = l, { choices: a } = n, { multiple: o, allowTags: i, allowNull: s, cssClass: d, visibility: f } = me(n), c = e, { errors: u, label: r, value: p, vuetifyBindings: v } = K(n, c), g = N(null), k = N(a || []), $ = N(!1), x = T(() =>
|
|
1473
|
+
const n = l, { choices: a } = n, { multiple: o, allowTags: i, allowNull: s, cssClass: d, visibility: f } = me(n), c = e, { errors: u, label: r, value: p, vuetifyBindings: v } = K(n, c), g = N(null), k = N(a || []), $ = N(!1), x = T(() => dn(k.value));
|
|
1473
1474
|
function F(w) {
|
|
1474
1475
|
c("update:modelValueDisplay", ce(k.value, w));
|
|
1475
1476
|
}
|
|
@@ -1571,7 +1572,7 @@ const dn = {
|
|
|
1571
1572
|
prepend: y(() => {
|
|
1572
1573
|
var Y;
|
|
1573
1574
|
return [
|
|
1574
|
-
(Y = R.raw) != null && Y.icon ? (h(), D("span",
|
|
1575
|
+
(Y = R.raw) != null && Y.icon ? (h(), D("span", cn, [
|
|
1575
1576
|
V(t(ge), {
|
|
1576
1577
|
class: "action-icon d-inline-block",
|
|
1577
1578
|
name: R.raw.icon
|
|
@@ -1603,7 +1604,7 @@ const dn = {
|
|
|
1603
1604
|
]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : U("", !0);
|
|
1604
1605
|
};
|
|
1605
1606
|
}
|
|
1606
|
-
}),
|
|
1607
|
+
}), pn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-3d69988d"]]), fn = { class: "container" }, vn = /* @__PURE__ */ L({
|
|
1607
1608
|
__name: "df-text-area",
|
|
1608
1609
|
props: /* @__PURE__ */ W({
|
|
1609
1610
|
rows: {},
|
|
@@ -1628,7 +1629,7 @@ const dn = {
|
|
|
1628
1629
|
const n = l, a = e, { errors: o, label: i, value: s, vuetifyBindings: d } = K(n, a), { cssClass: f, visibility: c } = me(n);
|
|
1629
1630
|
return (u, r) => {
|
|
1630
1631
|
const p = I("v-textarea");
|
|
1631
|
-
return h(), D("div",
|
|
1632
|
+
return h(), D("div", fn, [
|
|
1632
1633
|
t(c) !== t(M).SUPPRESS ? (h(), C(p, H({
|
|
1633
1634
|
key: 0,
|
|
1634
1635
|
modelValue: t(s),
|
|
@@ -1666,18 +1667,18 @@ const dn = {
|
|
|
1666
1667
|
]);
|
|
1667
1668
|
};
|
|
1668
1669
|
}
|
|
1669
|
-
}),
|
|
1670
|
+
}), bn = /* @__PURE__ */ te(vn, [["__scopeId", "data-v-3ef7fb16"]]), gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1670
1671
|
__proto__: null,
|
|
1671
|
-
DfActions:
|
|
1672
|
-
DfCheckbox:
|
|
1673
|
-
DfColor:
|
|
1674
|
-
DfDateTime:
|
|
1675
|
-
DfFile:
|
|
1676
|
-
DfInput:
|
|
1677
|
-
DfRtfEditor:
|
|
1678
|
-
DfSelect:
|
|
1679
|
-
DfTextArea:
|
|
1680
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1672
|
+
DfActions: Xt,
|
|
1673
|
+
DfCheckbox: qt,
|
|
1674
|
+
DfColor: Zt,
|
|
1675
|
+
DfDateTime: Qt,
|
|
1676
|
+
DfFile: en,
|
|
1677
|
+
DfInput: nn,
|
|
1678
|
+
DfRtfEditor: un,
|
|
1679
|
+
DfSelect: pn,
|
|
1680
|
+
DfTextArea: bn
|
|
1681
|
+
}, Symbol.toStringTag, { value: "Module" })), hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1681
1682
|
__proto__: null,
|
|
1682
1683
|
VAutocomplete: et,
|
|
1683
1684
|
VBtn: lt,
|
|
@@ -1690,43 +1691,44 @@ const dn = {
|
|
|
1690
1691
|
VDatePicker: st,
|
|
1691
1692
|
VFileInput: rt,
|
|
1692
1693
|
VIcon: ct,
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1694
|
+
VImg: mt,
|
|
1695
|
+
VInput: pt,
|
|
1696
|
+
VListItem: ft,
|
|
1697
|
+
VMenu: vt,
|
|
1698
|
+
VNumberInput: bt,
|
|
1699
|
+
VProgressLinear: gt,
|
|
1698
1700
|
VRow: dt,
|
|
1699
|
-
VSelect:
|
|
1700
|
-
VSwitch:
|
|
1701
|
-
VTextField:
|
|
1702
|
-
VTextarea:
|
|
1703
|
-
VTimePicker:
|
|
1704
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1701
|
+
VSelect: ht,
|
|
1702
|
+
VSwitch: yt,
|
|
1703
|
+
VTextField: Vt,
|
|
1704
|
+
VTextarea: _t,
|
|
1705
|
+
VTimePicker: kt
|
|
1706
|
+
}, Symbol.toStringTag, { value: "Module" })), Zn = {
|
|
1705
1707
|
install: (l, e) => {
|
|
1706
1708
|
var n, a;
|
|
1707
|
-
l.use(
|
|
1709
|
+
l.use(Et), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(gn).map(([o, i]) => l.component(o, i)), (a = e == null ? void 0 : e.registerVuetifyComponents) != null && a && Object.entries(hn).map(([o, i]) => l.component(o, i));
|
|
1708
1710
|
}
|
|
1709
1711
|
};
|
|
1710
1712
|
export {
|
|
1711
1713
|
ue as Action,
|
|
1712
1714
|
P as ActionDisplayStyle,
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1715
|
+
Xt as DfActions,
|
|
1716
|
+
qt as DfCheckbox,
|
|
1717
|
+
Zt as DfColor,
|
|
1718
|
+
Qt as DfDateTime,
|
|
1719
|
+
en as DfFile,
|
|
1720
|
+
nn as DfInput,
|
|
1719
1721
|
z as DfLabel,
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1722
|
+
un as DfRtfEditor,
|
|
1723
|
+
pn as DfSelect,
|
|
1724
|
+
bn as DfTextArea,
|
|
1725
|
+
Zn as DynamicFormsInputs,
|
|
1724
1726
|
Ve as InputBase,
|
|
1725
|
-
|
|
1727
|
+
Lt as Label,
|
|
1726
1728
|
Z as MessagesWidget,
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1729
|
+
zt as ResponsiveLabelRenderOptions,
|
|
1730
|
+
jt as ResponsiveRenderOptions,
|
|
1731
|
+
hn as VuetifyComponents,
|
|
1730
1732
|
X as defaultBaseProps,
|
|
1731
1733
|
De as defaultDisplayStyle,
|
|
1732
1734
|
$e as getBreakpointName,
|