@dynamicforms/vuetify-inputs 0.4.0 → 0.4.1
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.
|
@@ -44,20 +44,21 @@ import { VCombobox as it } from "vuetify/components/VCombobox";
|
|
|
44
44
|
import { VColorPicker as rt } from "vuetify/components/VColorPicker";
|
|
45
45
|
import { VConfirmEdit as ut } from "vuetify/components/VConfirmEdit";
|
|
46
46
|
import { VDatePicker as dt } from "vuetify/components/VDatePicker";
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
47
|
+
import { VField as ct } from "vuetify/components/VField";
|
|
48
|
+
import { VFileInput as mt } from "vuetify/components/VFileInput";
|
|
49
|
+
import { VCol as pt, VRow as vt } from "vuetify/components/VGrid";
|
|
50
|
+
import { VIcon as ft } from "vuetify/components/VIcon";
|
|
51
|
+
import { VImg as bt } from "vuetify/components/VImg";
|
|
52
|
+
import { VInput as gt } from "vuetify/components/VInput";
|
|
53
|
+
import { VListItem as yt } from "vuetify/components/VList";
|
|
54
|
+
import { VMenu as ht } from "vuetify/components/VMenu";
|
|
55
|
+
import { VNumberInput as _t } from "vuetify/components/VNumberInput";
|
|
56
|
+
import { VProgressLinear as Vt } from "vuetify/components/VProgressLinear";
|
|
57
|
+
import { VSelect as kt } from "vuetify/components/VSelect";
|
|
58
|
+
import { VSwitch as wt } from "vuetify/components/VSwitch";
|
|
59
|
+
import { VTextarea as Tt } from "vuetify/components/VTextarea";
|
|
60
|
+
import { VTextField as Ct } from "vuetify/components/VTextField";
|
|
61
|
+
import { VTimePicker as Bt } from "vuetify/labs/VTimePicker";
|
|
61
62
|
/**
|
|
62
63
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
63
64
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -71,7 +72,7 @@ new Array(256).fill("").map((l, e) => ("0" + e.toString(16)).slice(-2));
|
|
|
71
72
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
72
73
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
73
74
|
*/
|
|
74
|
-
function
|
|
75
|
+
function It(l, e) {
|
|
75
76
|
const n = l.extraPlugins || [];
|
|
76
77
|
return H(N({}, l), {
|
|
77
78
|
extraPlugins: [
|
|
@@ -94,14 +95,14 @@ function je(l) {
|
|
|
94
95
|
function Ke(l) {
|
|
95
96
|
return l ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((e) => l.includes(e)) : !1;
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function $t(l) {
|
|
98
99
|
return je(l) || Ke(l);
|
|
99
100
|
}
|
|
100
101
|
/**
|
|
101
102
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
102
103
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
103
104
|
*/
|
|
104
|
-
function
|
|
105
|
+
function At(l) {
|
|
105
106
|
if (!je(l))
|
|
106
107
|
throw new Error(`Invalid semantic version: ${l || "<blank>"}.`);
|
|
107
108
|
const [e, n, a] = l.split(".");
|
|
@@ -115,10 +116,10 @@ function $t(l) {
|
|
|
115
116
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
116
117
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
117
118
|
*/
|
|
118
|
-
function
|
|
119
|
+
function St(l) {
|
|
119
120
|
if (Ke(l))
|
|
120
121
|
return 3;
|
|
121
|
-
const { major: e } =
|
|
122
|
+
const { major: e } = At(l);
|
|
122
123
|
switch (!0) {
|
|
123
124
|
case e >= 44:
|
|
124
125
|
return 3;
|
|
@@ -132,9 +133,9 @@ function At(l) {
|
|
|
132
133
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
133
134
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
134
135
|
*/
|
|
135
|
-
function
|
|
136
|
+
function xt() {
|
|
136
137
|
const { CKEDITOR_VERSION: l, CKEDITOR: e } = window;
|
|
137
|
-
return
|
|
138
|
+
return $t(l) ? {
|
|
138
139
|
source: e ? "cdn" : "npm",
|
|
139
140
|
version: l
|
|
140
141
|
} : null;
|
|
@@ -143,16 +144,16 @@ function St() {
|
|
|
143
144
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
144
145
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
145
146
|
*/
|
|
146
|
-
function
|
|
147
|
-
const l =
|
|
148
|
-
return l ?
|
|
147
|
+
function Dt() {
|
|
148
|
+
const l = xt();
|
|
149
|
+
return l ? St(l.version) : null;
|
|
149
150
|
}
|
|
150
151
|
/**
|
|
151
152
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
152
153
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
153
154
|
*/
|
|
154
155
|
function ze(l, e) {
|
|
155
|
-
switch (e || (e =
|
|
156
|
+
switch (e || (e = Dt() || void 0), e) {
|
|
156
157
|
case 1:
|
|
157
158
|
case 2:
|
|
158
159
|
return l === void 0;
|
|
@@ -166,7 +167,7 @@ function ze(l, e) {
|
|
|
166
167
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
167
168
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
168
169
|
*/
|
|
169
|
-
function
|
|
170
|
+
function Nt(l, e) {
|
|
170
171
|
return function(a) {
|
|
171
172
|
ze(a.config.get("licenseKey")) || a.on("collectUsageData", (o, { setUsageData: s }) => {
|
|
172
173
|
s(`integration.${l}`, e);
|
|
@@ -177,7 +178,7 @@ function Dt(l, e) {
|
|
|
177
178
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
178
179
|
* For licensing, see LICENSE.md.
|
|
179
180
|
*/
|
|
180
|
-
const
|
|
181
|
+
const Ut = Nt(
|
|
181
182
|
"vue",
|
|
182
183
|
{
|
|
183
184
|
version: "7.3.0",
|
|
@@ -188,17 +189,17 @@ const Nt = Dt(
|
|
|
188
189
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
189
190
|
* For licensing, see LICENSE.md.
|
|
190
191
|
*/
|
|
191
|
-
function
|
|
192
|
-
return ze(l.licenseKey) ? l :
|
|
192
|
+
function Et(l) {
|
|
193
|
+
return ze(l.licenseKey) ? l : It(l, [
|
|
193
194
|
/**
|
|
194
195
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
195
196
|
* It only runs when a specific license key is provided. If you are uncertain whether
|
|
196
197
|
* this applies to your installation, please contact our support team.
|
|
197
198
|
*/
|
|
198
|
-
|
|
199
|
+
Ut
|
|
199
200
|
]);
|
|
200
201
|
}
|
|
201
|
-
const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)",
|
|
202
|
+
const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Ft = 300, Lt = /* @__PURE__ */ F({
|
|
202
203
|
name: "CKEditor",
|
|
203
204
|
__name: "ckeditor",
|
|
204
205
|
props: /* @__PURE__ */ Ie({
|
|
@@ -235,7 +236,7 @@ const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Et = 300, Ft =
|
|
|
235
236
|
return;
|
|
236
237
|
const f = b.value = u.data.get();
|
|
237
238
|
s("update:modelValue", f, p, u), s("input", f, p, u);
|
|
238
|
-
},
|
|
239
|
+
}, Ft, { leading: !0 });
|
|
239
240
|
u.model.document.on("change:data", c), u.editing.view.document.on("focus", (p) => {
|
|
240
241
|
s("focus", p, u);
|
|
241
242
|
}), u.editing.view.document.on("blur", (p) => {
|
|
@@ -243,7 +244,7 @@ const he = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Et = 300, Ft =
|
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
246
|
return i(), Le(() => {
|
|
246
|
-
const u =
|
|
247
|
+
const u = Et(
|
|
247
248
|
Object.assign({}, o.config)
|
|
248
249
|
);
|
|
249
250
|
a.value && (u.initialData = a.value), o.editor.create(g.value, u).then((c) => {
|
|
@@ -268,16 +269,16 @@ if (!Be.version || !Be.version.startsWith("3."))
|
|
|
268
269
|
throw new Error(
|
|
269
270
|
"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"
|
|
270
271
|
);
|
|
271
|
-
const
|
|
272
|
+
const Rt = {
|
|
272
273
|
/**
|
|
273
274
|
* Installs the plugin, registering the `<ckeditor>` component.
|
|
274
275
|
*
|
|
275
276
|
* @param app The application instance.
|
|
276
277
|
*/
|
|
277
278
|
install(l) {
|
|
278
|
-
l.component("Ckeditor",
|
|
279
|
+
l.component("Ckeditor", Lt);
|
|
279
280
|
}
|
|
280
|
-
},
|
|
281
|
+
}, Ot = { class: "label" }, Pt = /* @__PURE__ */ F({
|
|
281
282
|
__name: "df-label",
|
|
282
283
|
props: {
|
|
283
284
|
data: {},
|
|
@@ -286,7 +287,7 @@ const Lt = {
|
|
|
286
287
|
setup(l) {
|
|
287
288
|
return (e, n) => {
|
|
288
289
|
const a = A("v-icon"), o = A("v-img");
|
|
289
|
-
return V(), U("div",
|
|
290
|
+
return V(), U("div", Ot, [
|
|
290
291
|
e.label.icon ? (V(), U(ke, { key: 0 }, [
|
|
291
292
|
e.label.iconComponent === "v-icon" ? (V(), I(a, {
|
|
292
293
|
key: 0,
|
|
@@ -310,8 +311,8 @@ const Lt = {
|
|
|
310
311
|
for (const [a, o] of e)
|
|
311
312
|
n[a] = o;
|
|
312
313
|
return n;
|
|
313
|
-
}, Y = /* @__PURE__ */ ee(
|
|
314
|
-
class
|
|
314
|
+
}, Y = /* @__PURE__ */ ee(Pt, [["__scopeId", "data-v-0034f29f"]]), Ge = Symbol("vuetifyInputsSettingsKey");
|
|
315
|
+
class Mt {
|
|
315
316
|
constructor(e, n, a = "v-icon") {
|
|
316
317
|
this.text = e, this.icon = n, this.iconComponent = a;
|
|
317
318
|
}
|
|
@@ -333,7 +334,7 @@ function z(l, e) {
|
|
|
333
334
|
), r = T(() => o.value && g.value.length > 0 ? " " : void 0), b = T(() => l.control ? l.control.enabled : l.enabled !== !1), i = T(
|
|
334
335
|
() => l.control ? l.control.visibility : l.visibility || Ne.DisplayMode.FULL
|
|
335
336
|
), v = T(
|
|
336
|
-
() => ve(l.label || "") ? new
|
|
337
|
+
() => ve(l.label || "") ? new Mt(l.label || "") : l.label
|
|
337
338
|
), u = T(() => l.placeholder || ""), c = T(() => l.helpText || ""), p = T(() => l.hint || ""), f = T(() => l.cssClass || "");
|
|
338
339
|
return {
|
|
339
340
|
value: a,
|
|
@@ -368,24 +369,24 @@ function z(l, e) {
|
|
|
368
369
|
})
|
|
369
370
|
};
|
|
370
371
|
}
|
|
371
|
-
const
|
|
372
|
+
const Ht = {
|
|
372
373
|
key: 0,
|
|
373
374
|
class: "custom-error-display text-error"
|
|
374
|
-
},
|
|
375
|
+
}, jt = { key: 0 }, Kt = { key: 1 }, zt = /* @__PURE__ */ F({
|
|
375
376
|
__name: "messages-widget",
|
|
376
377
|
props: {
|
|
377
378
|
errors: {},
|
|
378
379
|
message: {}
|
|
379
380
|
},
|
|
380
381
|
setup(l) {
|
|
381
|
-
return (e, n) => e.message === " " ? (V(), U("div",
|
|
382
|
+
return (e, n) => e.message === " " ? (V(), U("div", Ht, [
|
|
382
383
|
(V(!0), U(ke, null, Pe(e.errors, (a, o) => {
|
|
383
384
|
var s;
|
|
384
385
|
return V(), U("div", {
|
|
385
386
|
key: o,
|
|
386
387
|
class: ie({ "first-error": o === 0, "last-error": o === e.errors.length - 1 })
|
|
387
388
|
}, [
|
|
388
|
-
a.componentName === "template" ? (V(), U("div",
|
|
389
|
+
a.componentName === "template" ? (V(), U("div", jt, ae(a.componentBody), 1)) : a.componentName === "vue-markdown" ? (V(), I(t(pl), {
|
|
389
390
|
key: 1,
|
|
390
391
|
source: (s = a.componentBindings) == null ? void 0 : s.source
|
|
391
392
|
}, null, 8, ["source"])) : (V(), I(se(a.componentName), K({
|
|
@@ -399,9 +400,9 @@ const Mt = {
|
|
|
399
400
|
}, 1040))
|
|
400
401
|
], 2);
|
|
401
402
|
}), 128))
|
|
402
|
-
])) : (V(), U("span",
|
|
403
|
+
])) : (V(), U("span", Kt, ae(e.message), 1));
|
|
403
404
|
}
|
|
404
|
-
}), J = /* @__PURE__ */ ee(
|
|
405
|
+
}), J = /* @__PURE__ */ ee(zt, [["__scopeId", "data-v-ff7a8b63"]]), Gt = { class: "d-flex w-100 style-resetting" }, Wt = /* @__PURE__ */ F({
|
|
405
406
|
__name: "input-base",
|
|
406
407
|
props: {
|
|
407
408
|
control: {},
|
|
@@ -460,7 +461,7 @@ const Mt = {
|
|
|
460
461
|
"onUpdate:focused": f[1] || (f[1] = (w) => c(w))
|
|
461
462
|
}, G({
|
|
462
463
|
default: _((w) => [
|
|
463
|
-
Z("div",
|
|
464
|
+
Z("div", Gt, [
|
|
464
465
|
me(p.$slots, "default", ne(oe(w)), void 0, !0)
|
|
465
466
|
])
|
|
466
467
|
]),
|
|
@@ -500,7 +501,7 @@ const Mt = {
|
|
|
500
501
|
]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : E("", !0);
|
|
501
502
|
};
|
|
502
503
|
}
|
|
503
|
-
}), Te = /* @__PURE__ */ ee(
|
|
504
|
+
}), Te = /* @__PURE__ */ ee(Wt, [["__scopeId", "data-v-4aab06cf"]]);
|
|
504
505
|
var R = /* @__PURE__ */ ((l) => (l[l.BUTTON = 0] = "BUTTON", l[l.TEXT = 1] = "TEXT", l))(R || {});
|
|
505
506
|
const Ue = 0;
|
|
506
507
|
((l) => {
|
|
@@ -521,7 +522,7 @@ const Ue = 0;
|
|
|
521
522
|
})(R || (R = {}));
|
|
522
523
|
Object.freeze(R);
|
|
523
524
|
const Ee = ["xs", "sm", "md", "lg", "xl"];
|
|
524
|
-
class
|
|
525
|
+
class Xt {
|
|
525
526
|
constructor(e) {
|
|
526
527
|
re(this, "_value");
|
|
527
528
|
this._value = this.cleanBreakpoint(e, !0), e && Ee.forEach((n) => {
|
|
@@ -540,7 +541,7 @@ class Wt {
|
|
|
540
541
|
return n;
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
|
-
class
|
|
544
|
+
class qt extends Xt {
|
|
544
545
|
// eslint-disable-next-line class-methods-use-this
|
|
545
546
|
cleanBreakpoint(e, n = !1) {
|
|
546
547
|
if ((!e || !il(e)) && !n) return null;
|
|
@@ -558,7 +559,7 @@ class pe {
|
|
|
558
559
|
re(this, "formAction");
|
|
559
560
|
if (e.name == null) throw new Error(`Action name must not be empty ${e}`);
|
|
560
561
|
const a = !ve(e.label) || e.label.length === 0 ? void 0 : e.label, o = !ve(e.icon) || e.icon.length === 0 ? void 0 : e.icon;
|
|
561
|
-
this.name = e.name, this.displayStyle = new
|
|
562
|
+
this.name = e.name, this.displayStyle = new qt(N({ label: a }, e.displayStyle)), this.formAction = n, this.formAction.icon = o, this.formAction.label = a;
|
|
562
563
|
}
|
|
563
564
|
get label() {
|
|
564
565
|
var e;
|
|
@@ -626,10 +627,10 @@ class pe {
|
|
|
626
627
|
);
|
|
627
628
|
}
|
|
628
629
|
}
|
|
629
|
-
const
|
|
630
|
+
const Zt = {
|
|
630
631
|
key: 1,
|
|
631
632
|
style: { width: ".5rem" }
|
|
632
|
-
},
|
|
633
|
+
}, Qt = { key: 2 }, Yt = /* @__PURE__ */ F({
|
|
633
634
|
__name: "df-actions",
|
|
634
635
|
props: {
|
|
635
636
|
actions: {},
|
|
@@ -682,15 +683,15 @@ const qt = {
|
|
|
682
683
|
class: "action-icon",
|
|
683
684
|
name: c.formAction.icon
|
|
684
685
|
}, null, 8, ["name"])) : E("", !0),
|
|
685
|
-
s(c) && g(c) ? (V(), U("span",
|
|
686
|
-
g(c) ? (V(), U("span",
|
|
686
|
+
s(c) && g(c) ? (V(), U("span", Zt)) : E("", !0),
|
|
687
|
+
g(c) ? (V(), U("span", Qt, ae(b(c)), 1)) : E("", !0)
|
|
687
688
|
]),
|
|
688
689
|
_: 2
|
|
689
690
|
}, 1032, ["variant", "class", "size", "onClick"]))), 128))
|
|
690
691
|
], 2)) : E("", !0);
|
|
691
692
|
};
|
|
692
693
|
}
|
|
693
|
-
}),
|
|
694
|
+
}), Jt = /* @__PURE__ */ ee(Yt, [["__scopeId", "data-v-d7ba6fac"]]), en = /* @__PURE__ */ F({
|
|
694
695
|
__name: "df-checkbox",
|
|
695
696
|
props: /* @__PURE__ */ W({
|
|
696
697
|
allowNull: { type: Boolean },
|
|
@@ -753,7 +754,7 @@ const qt = {
|
|
|
753
754
|
]), 1040, ["modelValue", "indeterminate"]);
|
|
754
755
|
};
|
|
755
756
|
}
|
|
756
|
-
}),
|
|
757
|
+
}), ln = /* @__PURE__ */ F({
|
|
757
758
|
__name: "df-color",
|
|
758
759
|
props: /* @__PURE__ */ W({
|
|
759
760
|
allowNull: { type: Boolean },
|
|
@@ -828,7 +829,7 @@ const qt = {
|
|
|
828
829
|
]), 1040, ["modelValue", "clearable", "rules"]);
|
|
829
830
|
};
|
|
830
831
|
}
|
|
831
|
-
}),
|
|
832
|
+
}), tn = { class: "d-flex w-100 pt-5 pl-2 pb-1" }, nn = /* @__PURE__ */ F({
|
|
832
833
|
__name: "df-datetime",
|
|
833
834
|
props: /* @__PURE__ */ W({
|
|
834
835
|
inputType: {},
|
|
@@ -936,7 +937,7 @@ const qt = {
|
|
|
936
937
|
onBlur: m[15] || (m[15] = (P) => o.value = !0)
|
|
937
938
|
}), {
|
|
938
939
|
default: _((P) => [
|
|
939
|
-
Z("div",
|
|
940
|
+
Z("div", tn, [
|
|
940
941
|
["date", "datetime"].includes(t(r)) ? (V(), I($, {
|
|
941
942
|
key: 0,
|
|
942
943
|
modelValue: O.value,
|
|
@@ -1049,10 +1050,10 @@ const qt = {
|
|
|
1049
1050
|
}, 16);
|
|
1050
1051
|
};
|
|
1051
1052
|
}
|
|
1052
|
-
}),
|
|
1053
|
+
}), on = {
|
|
1053
1054
|
class: "d-flex w-100 pt-5 pl-2 pb-1",
|
|
1054
1055
|
style: { position: "relative" }
|
|
1055
|
-
},
|
|
1056
|
+
}, an = /* @__PURE__ */ F({
|
|
1056
1057
|
__name: "df-file",
|
|
1057
1058
|
props: /* @__PURE__ */ W({
|
|
1058
1059
|
comms: {},
|
|
@@ -1123,7 +1124,7 @@ const qt = {
|
|
|
1123
1124
|
}, null, 8, ["model-value", "indeterminate"])) : E("", !0)
|
|
1124
1125
|
]),
|
|
1125
1126
|
default: _((B) => [
|
|
1126
|
-
Z("div",
|
|
1127
|
+
Z("div", on, [
|
|
1127
1128
|
C(L, {
|
|
1128
1129
|
modelValue: u.value,
|
|
1129
1130
|
"onUpdate:modelValue": [
|
|
@@ -1151,7 +1152,7 @@ const qt = {
|
|
|
1151
1152
|
}, 16);
|
|
1152
1153
|
};
|
|
1153
1154
|
}
|
|
1154
|
-
}),
|
|
1155
|
+
}), sn = { class: "container" }, rn = /* @__PURE__ */ F({
|
|
1155
1156
|
__name: "df-input",
|
|
1156
1157
|
props: /* @__PURE__ */ W({
|
|
1157
1158
|
inputType: {},
|
|
@@ -1182,7 +1183,7 @@ const qt = {
|
|
|
1182
1183
|
const n = l, a = e, { errors: o, label: s, touched: g, value: r, vuetifyBindings: b } = z(n, a), { inputType: i, max: v, min: u, precision: c, step: p } = be(n), f = T(() => i.value === "number"), h = T(() => f.value ? { min: t(u), max: t(v), precision: t(c), step: t(p) } : {});
|
|
1183
1184
|
return (k, w) => {
|
|
1184
1185
|
const O = A("v-text-field"), D = A("v-number-input");
|
|
1185
|
-
return V(), U("div",
|
|
1186
|
+
return V(), U("div", sn, [
|
|
1186
1187
|
f.value ? (V(), I(D, K({
|
|
1187
1188
|
key: 1,
|
|
1188
1189
|
modelValue: t(r),
|
|
@@ -1239,7 +1240,7 @@ const qt = {
|
|
|
1239
1240
|
]);
|
|
1240
1241
|
};
|
|
1241
1242
|
}
|
|
1242
|
-
}),
|
|
1243
|
+
}), un = /* @__PURE__ */ ee(rn, [["__scopeId", "data-v-06be139f"]]), dn = { class: "editor-container" }, cn = { class: "editor-container__editor" }, mn = { ref: "editorElement" }, pn = /* @__PURE__ */ F({
|
|
1243
1244
|
__name: "ck-editor-custom",
|
|
1244
1245
|
props: {
|
|
1245
1246
|
modelValue: { default: "" },
|
|
@@ -1389,9 +1390,9 @@ const qt = {
|
|
|
1389
1390
|
};
|
|
1390
1391
|
return e({ onEditorReady: v }), (u, c) => {
|
|
1391
1392
|
const p = A("ckeditor");
|
|
1392
|
-
return V(), U("div",
|
|
1393
|
-
Z("div",
|
|
1394
|
-
Z("div",
|
|
1393
|
+
return V(), U("div", dn, [
|
|
1394
|
+
Z("div", cn, [
|
|
1395
|
+
Z("div", mn, [
|
|
1395
1396
|
o.value ? (V(), I(p, {
|
|
1396
1397
|
key: 0,
|
|
1397
1398
|
"model-value": u.modelValue,
|
|
@@ -1407,7 +1408,7 @@ const qt = {
|
|
|
1407
1408
|
]);
|
|
1408
1409
|
};
|
|
1409
1410
|
}
|
|
1410
|
-
}),
|
|
1411
|
+
}), vn = /* @__PURE__ */ F({
|
|
1411
1412
|
__name: "df-rtf-editor",
|
|
1412
1413
|
props: /* @__PURE__ */ W({
|
|
1413
1414
|
minHeight: {},
|
|
@@ -1428,7 +1429,7 @@ const qt = {
|
|
|
1428
1429
|
const n = l, a = e, { value: o, vuetifyBindings: s } = z(n, a);
|
|
1429
1430
|
return (g, r) => (V(), I(t(Te), ne(oe(n)), {
|
|
1430
1431
|
default: _((b) => [
|
|
1431
|
-
C(
|
|
1432
|
+
C(pn, {
|
|
1432
1433
|
ref: "$editor",
|
|
1433
1434
|
modelValue: t(o),
|
|
1434
1435
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => Q(o) ? o.value = i : null),
|
|
@@ -1443,7 +1444,7 @@ const qt = {
|
|
|
1443
1444
|
}, 16));
|
|
1444
1445
|
}
|
|
1445
1446
|
});
|
|
1446
|
-
function
|
|
1447
|
+
function fn(l) {
|
|
1447
1448
|
return l.map((e) => ({ value: e.id, title: e.text, icon: e.icon }));
|
|
1448
1449
|
}
|
|
1449
1450
|
function te(l, e) {
|
|
@@ -1471,10 +1472,10 @@ function _e(l, e, n, a, o) {
|
|
|
1471
1472
|
e.value = (g = r == null ? void 0 : r.id) != null ? g : null;
|
|
1472
1473
|
}
|
|
1473
1474
|
}
|
|
1474
|
-
const
|
|
1475
|
+
const bn = {
|
|
1475
1476
|
key: 0,
|
|
1476
1477
|
class: "me-1"
|
|
1477
|
-
},
|
|
1478
|
+
}, gn = /* @__PURE__ */ F({
|
|
1478
1479
|
__name: "df-select",
|
|
1479
1480
|
props: /* @__PURE__ */ W({
|
|
1480
1481
|
choices: {},
|
|
@@ -1502,7 +1503,7 @@ const fn = {
|
|
|
1502
1503
|
})),
|
|
1503
1504
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
1504
1505
|
setup(l, { emit: e }) {
|
|
1505
|
-
const n = l, { choices: a } = n, { multiple: o, allowTags: s, allowNull: g, cssClass: r, visibility: b } = be(n), i = e, { errors: v, label: u, touched: c, value: p, vuetifyBindings: f } = z(n, i), h = x(null), k = x(a || []), w = x(!1), O = T(() =>
|
|
1506
|
+
const n = l, { choices: a } = n, { multiple: o, allowTags: s, allowNull: g, cssClass: r, visibility: b } = be(n), i = e, { errors: v, label: u, touched: c, value: p, vuetifyBindings: f } = z(n, i), h = x(null), k = x(a || []), w = x(!1), O = T(() => fn(k.value));
|
|
1506
1507
|
function D(B) {
|
|
1507
1508
|
i("update:modelValueDisplay", fe(k.value, B));
|
|
1508
1509
|
}
|
|
@@ -1605,7 +1606,7 @@ const fn = {
|
|
|
1605
1606
|
prepend: _(() => {
|
|
1606
1607
|
var le;
|
|
1607
1608
|
return [
|
|
1608
|
-
(le = M.raw) != null && le.icon ? (V(), U("span",
|
|
1609
|
+
(le = M.raw) != null && le.icon ? (V(), U("span", bn, [
|
|
1609
1610
|
C(t(Ve), {
|
|
1610
1611
|
class: "action-icon d-inline-block",
|
|
1611
1612
|
name: M.raw.icon
|
|
@@ -1637,7 +1638,7 @@ const fn = {
|
|
|
1637
1638
|
]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : E("", !0);
|
|
1638
1639
|
};
|
|
1639
1640
|
}
|
|
1640
|
-
}),
|
|
1641
|
+
}), yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-e7836221"]]), hn = { class: "container" }, _n = /* @__PURE__ */ F({
|
|
1641
1642
|
__name: "df-text-area",
|
|
1642
1643
|
props: /* @__PURE__ */ W({
|
|
1643
1644
|
rows: {},
|
|
@@ -1662,7 +1663,7 @@ const fn = {
|
|
|
1662
1663
|
const n = l, a = e, { errors: o, label: s, touched: g, value: r, vuetifyBindings: b } = z(n, a), { cssClass: i, visibility: v } = be(n);
|
|
1663
1664
|
return (u, c) => {
|
|
1664
1665
|
const p = A("v-textarea");
|
|
1665
|
-
return V(), U("div",
|
|
1666
|
+
return V(), U("div", hn, [
|
|
1666
1667
|
t(v) !== t(j).SUPPRESS ? (V(), I(p, K({
|
|
1667
1668
|
key: 0,
|
|
1668
1669
|
modelValue: t(r),
|
|
@@ -1702,68 +1703,69 @@ const fn = {
|
|
|
1702
1703
|
]);
|
|
1703
1704
|
};
|
|
1704
1705
|
}
|
|
1705
|
-
}),
|
|
1706
|
+
}), Vn = /* @__PURE__ */ ee(_n, [["__scopeId", "data-v-6257d46c"]]), kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1706
1707
|
__proto__: null,
|
|
1707
|
-
DfActions:
|
|
1708
|
-
DfCheckbox:
|
|
1709
|
-
DfColor:
|
|
1710
|
-
DfDateTime:
|
|
1711
|
-
DfFile:
|
|
1712
|
-
DfInput:
|
|
1713
|
-
DfRtfEditor:
|
|
1714
|
-
DfSelect:
|
|
1715
|
-
DfTextArea:
|
|
1716
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1708
|
+
DfActions: Jt,
|
|
1709
|
+
DfCheckbox: en,
|
|
1710
|
+
DfColor: ln,
|
|
1711
|
+
DfDateTime: nn,
|
|
1712
|
+
DfFile: an,
|
|
1713
|
+
DfInput: un,
|
|
1714
|
+
DfRtfEditor: vn,
|
|
1715
|
+
DfSelect: yn,
|
|
1716
|
+
DfTextArea: Vn
|
|
1717
|
+
}, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1717
1718
|
__proto__: null,
|
|
1718
1719
|
VAutocomplete: nt,
|
|
1719
1720
|
VBtn: ot,
|
|
1720
1721
|
VCheckbox: at,
|
|
1721
1722
|
VChip: st,
|
|
1722
|
-
VCol:
|
|
1723
|
+
VCol: pt,
|
|
1723
1724
|
VColorPicker: rt,
|
|
1724
1725
|
VCombobox: it,
|
|
1725
1726
|
VConfirmEdit: ut,
|
|
1726
1727
|
VDatePicker: dt,
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1728
|
+
VField: ct,
|
|
1729
|
+
VFileInput: mt,
|
|
1730
|
+
VIcon: ft,
|
|
1731
|
+
VImg: bt,
|
|
1732
|
+
VInput: gt,
|
|
1733
|
+
VListItem: yt,
|
|
1734
|
+
VMenu: ht,
|
|
1735
|
+
VNumberInput: _t,
|
|
1736
|
+
VProgressLinear: Vt,
|
|
1737
|
+
VRow: vt,
|
|
1738
|
+
VSelect: kt,
|
|
1739
|
+
VSwitch: wt,
|
|
1740
|
+
VTextField: Ct,
|
|
1741
|
+
VTextarea: Tt,
|
|
1742
|
+
VTimePicker: Bt
|
|
1743
|
+
}, Symbol.toStringTag, { value: "Module" })), to = {
|
|
1742
1744
|
install: (l, e) => {
|
|
1743
1745
|
var n, a;
|
|
1744
|
-
l.use(
|
|
1746
|
+
l.use(Rt), l.provide(Ge, e != null ? e : {}), (n = e == null ? void 0 : e.registerComponents) != null && n && Object.entries(kn).map(([o, s]) => l.component(o, s)), (a = e == null ? void 0 : e.registerVuetifyComponents) != null && a && Object.entries(wn).map(([o, s]) => l.component(o, s));
|
|
1745
1747
|
}
|
|
1746
1748
|
};
|
|
1747
1749
|
export {
|
|
1748
1750
|
pe as Action,
|
|
1749
1751
|
R as ActionDisplayStyle,
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1752
|
+
Jt as DfActions,
|
|
1753
|
+
en as DfCheckbox,
|
|
1754
|
+
ln as DfColor,
|
|
1755
|
+
nn as DfDateTime,
|
|
1756
|
+
an as DfFile,
|
|
1757
|
+
un as DfInput,
|
|
1756
1758
|
Y as DfLabel,
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1759
|
+
vn as DfRtfEditor,
|
|
1760
|
+
yn as DfSelect,
|
|
1761
|
+
Vn as DfTextArea,
|
|
1762
|
+
to as DynamicFormsInputs,
|
|
1761
1763
|
Te as InputBase,
|
|
1762
|
-
|
|
1764
|
+
Mt as Label,
|
|
1763
1765
|
J as MessagesWidget,
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1766
|
+
qt as ResponsiveLabelRenderOptions,
|
|
1767
|
+
Xt as ResponsiveRenderOptions,
|
|
1768
|
+
wn as VuetifyComponents,
|
|
1767
1769
|
X as defaultBaseProps,
|
|
1768
1770
|
Ue as defaultDisplayStyle,
|
|
1769
1771
|
Fe as getBreakpointName,
|