@dynamicforms/vuetify-inputs 0.6.6 → 0.7.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.
- package/dist/dynamicforms-vuetify-inputs.css +1 -1
- package/dist/dynamicforms-vuetify-inputs.js +650 -671
- package/dist/dynamicforms-vuetify-inputs.js.map +1 -1
- package/dist/dynamicforms-vuetify-inputs.umd.cjs +5 -5
- package/dist/dynamicforms-vuetify-inputs.umd.cjs.map +1 -1
- package/dist/index.d.ts +18 -12
- package/package.json +2 -14
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var tt = Object.defineProperty, nt = Object.defineProperties;
|
|
2
|
+
var ot = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ee = Object.getOwnPropertySymbols;
|
|
4
|
+
var at = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var je = (e, t, n) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, x = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
at.call(t, n) && je(e, n, t[n]);
|
|
8
|
+
if (Ee)
|
|
9
|
+
for (var n of Ee(t))
|
|
10
|
+
lt.call(t, n) && je(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, O = (e, t) => nt(e, ot(t));
|
|
13
|
+
var $e = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
14
|
var ge = (e, t, n) => new Promise((a, l) => {
|
|
15
15
|
var r = (i) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
l(
|
|
17
|
+
m(n.next(i));
|
|
18
|
+
} catch (p) {
|
|
19
|
+
l(p);
|
|
20
20
|
}
|
|
21
21
|
}, s = (i) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
l(
|
|
23
|
+
m(n.throw(i));
|
|
24
|
+
} catch (p) {
|
|
25
|
+
l(p);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, m = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(r, s);
|
|
28
|
+
m((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { defineComponent as
|
|
32
|
-
import { debounce as
|
|
30
|
+
import * as Ae from "vue";
|
|
31
|
+
import { defineComponent as H, mergeModels as Ne, useModel as rt, ref as F, watch as ue, onMounted as Ke, markRaw as it, onBeforeUnmount as Xe, createBlock as D, openBlock as V, resolveDynamicComponent as he, version as st, isRef as ae, computed as b, unref as o, resolveComponent as N, createElementBlock as W, normalizeClass as Y, createCommentVNode as U, Fragment as Ie, createTextVNode as ut, toDisplayString as Pe, inject as Te, createSlots as De, withCtx as w, createVNode as B, renderSlot as se, normalizeProps as te, guardReactiveProps as ne, createElementVNode as le, renderList as ct, withModifiers as dt, mergeDefaults as Q, mergeProps as R, normalizeStyle as Ge, toRefs as Ce, withKeys as Fe, useCssVars as mt, nextTick as Me } from "vue";
|
|
32
|
+
import { debounce as pt, isString as oe, isEmpty as ve, isObjectLike as ft, isBoolean as Le, clone as vt, toNumber as Ue, isNaN as He, isArray as Oe, castArray as qe, first as Ye, unionBy as ht } from "lodash-es";
|
|
33
33
|
import { CachedIcon as be } from "vue-cached-icon";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
34
|
+
import Re, { MessagesWidget as bt, MdString as gt, ValidationErrorRenderContent as wt, DisplayMode as X, Action as yt } from "@dynamicforms/vue-forms";
|
|
35
|
+
import kt from "vue-markdown-render";
|
|
36
36
|
import { useDisplay as Vt } from "vuetify";
|
|
37
37
|
import { format as me, parse as Ct } from "date-fns";
|
|
38
|
-
import { AccessibilityHelp as jt, Alignment as Tt, AutoImage as _t, AutoLink as Bt, Autosave as It, BalloonToolbar as Dt, BlockQuote as Pt, Bold as St, CloudServices as xt, Essentials as Et, GeneralHtmlSupport as $t, Heading as At, HorizontalLine as Nt, ImageBlock as
|
|
38
|
+
import { AccessibilityHelp as jt, Alignment as Tt, AutoImage as _t, AutoLink as Bt, Autosave as It, BalloonToolbar as Dt, BlockQuote as Pt, Bold as St, CloudServices as xt, Essentials as Et, GeneralHtmlSupport as $t, Heading as At, HorizontalLine as Nt, ImageBlock as Ft, ImageCaption as Mt, ImageInline as Lt, ImageInsertViaUrl as Ut, ImageResize as Ht, ImageStyle as Ot, ImageToolbar as Rt, ImageUpload as Wt, Indent as zt, IndentBlock as Kt, Italic as Xt, Link as Gt, List as qt, Autoformat as Yt, MediaEmbed as Qt, Paragraph as Zt, PasteFromMarkdownExperimental as Jt, PasteFromOffice as en, SelectAll as tn, Style as nn, Table as on, TableCellProperties as an, TableColumnResize as ln, TableProperties as rn, TableToolbar as sn, Undo as un, TextTransformation as cn, Base64UploadAdapter as dn, ClassicEditor as mn } from "ckeditor5";
|
|
39
39
|
import { VAutocomplete as pn } from "vuetify/components/VAutocomplete";
|
|
40
40
|
import { VBtn as fn } from "vuetify/components/VBtn";
|
|
41
41
|
import { VCheckbox as vn } from "vuetify/components/VCheckbox";
|
|
@@ -72,9 +72,9 @@ new Array(256).fill("").map((e, t) => ("0" + t.toString(16)).slice(-2));
|
|
|
72
72
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
73
73
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
74
74
|
*/
|
|
75
|
-
function
|
|
75
|
+
function Fn(e, t) {
|
|
76
76
|
const n = e.extraPlugins || [];
|
|
77
|
-
return
|
|
77
|
+
return O(x({}, e), {
|
|
78
78
|
extraPlugins: [
|
|
79
79
|
...n,
|
|
80
80
|
...t.filter((a) => !n.includes(a))
|
|
@@ -85,25 +85,25 @@ function Mn(e, t) {
|
|
|
85
85
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
86
86
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
87
87
|
*/
|
|
88
|
-
function
|
|
88
|
+
function Qe(e) {
|
|
89
89
|
return !!e && /^\d+\.\d+\.\d+/.test(e);
|
|
90
90
|
}
|
|
91
91
|
/**
|
|
92
92
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
93
93
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
94
94
|
*/
|
|
95
|
-
function
|
|
95
|
+
function Ze(e) {
|
|
96
96
|
return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
98
|
+
function Mn(e) {
|
|
99
|
+
return Qe(e) || Ze(e);
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
103
103
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
104
104
|
*/
|
|
105
|
-
function
|
|
106
|
-
if (!
|
|
105
|
+
function Ln(e) {
|
|
106
|
+
if (!Qe(e))
|
|
107
107
|
throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
|
|
108
108
|
const [t, n, a] = e.split(".");
|
|
109
109
|
return {
|
|
@@ -117,9 +117,9 @@ function Fn(e) {
|
|
|
117
117
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
118
118
|
*/
|
|
119
119
|
function Un(e) {
|
|
120
|
-
if (
|
|
120
|
+
if (Ze(e))
|
|
121
121
|
return 3;
|
|
122
|
-
const { major: t } =
|
|
122
|
+
const { major: t } = Ln(e);
|
|
123
123
|
switch (!0) {
|
|
124
124
|
case t >= 44:
|
|
125
125
|
return 3;
|
|
@@ -135,7 +135,7 @@ function Un(e) {
|
|
|
135
135
|
*/
|
|
136
136
|
function Hn() {
|
|
137
137
|
const { CKEDITOR_VERSION: e, CKEDITOR: t } = window;
|
|
138
|
-
return
|
|
138
|
+
return Mn(e) ? {
|
|
139
139
|
source: t ? "cdn" : "npm",
|
|
140
140
|
version: e
|
|
141
141
|
} : null;
|
|
@@ -152,7 +152,7 @@ function On() {
|
|
|
152
152
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
153
153
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
154
154
|
*/
|
|
155
|
-
function
|
|
155
|
+
function Je(e, t) {
|
|
156
156
|
switch (t || (t = On() || void 0), t) {
|
|
157
157
|
case 1:
|
|
158
158
|
case 2:
|
|
@@ -169,7 +169,7 @@ function tt(e, t) {
|
|
|
169
169
|
*/
|
|
170
170
|
function Rn(e, t) {
|
|
171
171
|
return function(a) {
|
|
172
|
-
|
|
172
|
+
Je(a.config.get("licenseKey")) || a.on("collectUsageData", (l, { setUsageData: r }) => {
|
|
173
173
|
r(`integration.${e}`, t);
|
|
174
174
|
});
|
|
175
175
|
};
|
|
@@ -182,7 +182,7 @@ const Wn = Rn(
|
|
|
182
182
|
"vue",
|
|
183
183
|
{
|
|
184
184
|
version: "7.3.0",
|
|
185
|
-
frameworkVersion:
|
|
185
|
+
frameworkVersion: st
|
|
186
186
|
}
|
|
187
187
|
);
|
|
188
188
|
/**
|
|
@@ -190,7 +190,7 @@ const Wn = Rn(
|
|
|
190
190
|
* For licensing, see LICENSE.md.
|
|
191
191
|
*/
|
|
192
192
|
function zn(e) {
|
|
193
|
-
return
|
|
193
|
+
return Je(e.licenseKey) ? e : Fn(e, [
|
|
194
194
|
/**
|
|
195
195
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
196
196
|
* It only runs when a specific license key is provided. If you are uncertain whether
|
|
@@ -199,10 +199,10 @@ function zn(e) {
|
|
|
199
199
|
Wn
|
|
200
200
|
]);
|
|
201
201
|
}
|
|
202
|
-
const
|
|
202
|
+
const _e = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn = /* @__PURE__ */ H({
|
|
203
203
|
name: "CKEditor",
|
|
204
204
|
__name: "ckeditor",
|
|
205
|
-
props: /* @__PURE__ */
|
|
205
|
+
props: /* @__PURE__ */ Ne({
|
|
206
206
|
editor: {},
|
|
207
207
|
config: { default: () => ({}) },
|
|
208
208
|
tagName: { default: "div" },
|
|
@@ -212,49 +212,49 @@ const Be = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn =
|
|
|
212
212
|
modelValue: { type: String, default: "" },
|
|
213
213
|
modelModifiers: {}
|
|
214
214
|
}),
|
|
215
|
-
emits: /* @__PURE__ */
|
|
215
|
+
emits: /* @__PURE__ */ Ne(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
216
216
|
setup(e, { expose: t, emit: n }) {
|
|
217
|
-
const a =
|
|
217
|
+
const a = rt(e, "modelValue"), l = e, r = n, s = F(), m = F(), i = F();
|
|
218
218
|
t({
|
|
219
|
-
instance:
|
|
219
|
+
instance: m,
|
|
220
220
|
lastEditorData: i
|
|
221
|
-
}), ue(a, (
|
|
222
|
-
|
|
223
|
-
}), ue(() => l.disabled, (
|
|
224
|
-
|
|
221
|
+
}), ue(a, (d) => {
|
|
222
|
+
m.value && d !== i.value && m.value.data.set(d);
|
|
223
|
+
}), ue(() => l.disabled, (d) => {
|
|
224
|
+
d ? m.value.enableReadOnlyMode(_e) : m.value.disableReadOnlyMode(_e);
|
|
225
225
|
});
|
|
226
|
-
function
|
|
227
|
-
const
|
|
228
|
-
if (!
|
|
226
|
+
function p() {
|
|
227
|
+
const d = window.CKEDITOR_VERSION;
|
|
228
|
+
if (!d)
|
|
229
229
|
return console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.');
|
|
230
|
-
const [
|
|
231
|
-
|
|
230
|
+
const [y] = d.split(".").map(Number);
|
|
231
|
+
y >= 42 || d.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
const
|
|
233
|
+
function h(d) {
|
|
234
|
+
const y = pt((c) => {
|
|
235
235
|
if (l.disableTwoWayDataBinding)
|
|
236
236
|
return;
|
|
237
|
-
const
|
|
238
|
-
r("update:modelValue",
|
|
237
|
+
const j = i.value = d.data.get();
|
|
238
|
+
r("update:modelValue", j, c, d), r("input", j, c, d);
|
|
239
239
|
}, Kn, { leading: !0 });
|
|
240
|
-
|
|
241
|
-
r("focus", c,
|
|
242
|
-
}),
|
|
243
|
-
r("blur", c,
|
|
240
|
+
d.model.document.on("change:data", y), d.editing.view.document.on("focus", (c) => {
|
|
241
|
+
r("focus", c, d);
|
|
242
|
+
}), d.editing.view.document.on("blur", (c) => {
|
|
243
|
+
r("blur", c, d);
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
return
|
|
247
|
-
const
|
|
246
|
+
return p(), Ke(() => {
|
|
247
|
+
const d = zn(
|
|
248
248
|
Object.assign({}, l.config)
|
|
249
249
|
);
|
|
250
|
-
a.value && (
|
|
251
|
-
|
|
252
|
-
}).catch((
|
|
253
|
-
console.error(
|
|
250
|
+
a.value && (d.initialData = a.value), l.editor.create(s.value, d).then((y) => {
|
|
251
|
+
m.value = it(y), h(y), a.value !== d.initialData && y.data.set(a.value), l.disabled && y.enableReadOnlyMode(_e), r("ready", y);
|
|
252
|
+
}).catch((y) => {
|
|
253
|
+
console.error(y);
|
|
254
254
|
});
|
|
255
|
-
}),
|
|
256
|
-
|
|
257
|
-
}), (
|
|
255
|
+
}), Xe(() => {
|
|
256
|
+
m.value && (m.value.destroy(), m.value = void 0), r("destroy");
|
|
257
|
+
}), (d, y) => (V(), D(he(d.tagName), {
|
|
258
258
|
ref_key: "element",
|
|
259
259
|
ref: s
|
|
260
260
|
}, null, 512));
|
|
@@ -265,7 +265,7 @@ const Be = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn =
|
|
|
265
265
|
* For licensing, see LICENSE.md.
|
|
266
266
|
*/
|
|
267
267
|
/* istanbul ignore if -- @preserve */
|
|
268
|
-
if (!
|
|
268
|
+
if (!Ae.version || !Ae.version.startsWith("3."))
|
|
269
269
|
throw new Error(
|
|
270
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"
|
|
271
271
|
);
|
|
@@ -584,7 +584,7 @@ const Zn = (e, t, n) => {
|
|
|
584
584
|
}
|
|
585
585
|
return a;
|
|
586
586
|
};
|
|
587
|
-
function
|
|
587
|
+
function Be(e) {
|
|
588
588
|
return (t = {}) => {
|
|
589
589
|
const n = t.width ? String(t.width) : e.defaultWidth;
|
|
590
590
|
return e.formats[n] || e.formats[e.defaultWidth];
|
|
@@ -606,15 +606,15 @@ const Jn = {
|
|
|
606
606
|
medium: "{{date}} {{time}}",
|
|
607
607
|
short: "{{date}} {{time}}"
|
|
608
608
|
}, no = {
|
|
609
|
-
date:
|
|
609
|
+
date: Be({
|
|
610
610
|
formats: Jn,
|
|
611
611
|
defaultWidth: "full"
|
|
612
612
|
}),
|
|
613
|
-
time:
|
|
613
|
+
time: Be({
|
|
614
614
|
formats: eo,
|
|
615
615
|
defaultWidth: "full"
|
|
616
616
|
}),
|
|
617
|
-
dateTime:
|
|
617
|
+
dateTime: Be({
|
|
618
618
|
formats: to,
|
|
619
619
|
defaultWidth: "full"
|
|
620
620
|
})
|
|
@@ -656,11 +656,11 @@ function pe(e) {
|
|
|
656
656
|
const a = n != null && n.context ? String(n.context) : "standalone";
|
|
657
657
|
let l;
|
|
658
658
|
if (a === "formatting" && e.formattingValues) {
|
|
659
|
-
const s = e.defaultFormattingWidth || e.defaultWidth,
|
|
660
|
-
l = e.formattingValues[
|
|
659
|
+
const s = e.defaultFormattingWidth || e.defaultWidth, m = n != null && n.width ? String(n.width) : s;
|
|
660
|
+
l = e.formattingValues[m] || e.formattingValues[s];
|
|
661
661
|
} else {
|
|
662
|
-
const s = e.defaultWidth,
|
|
663
|
-
l = e.values[
|
|
662
|
+
const s = e.defaultWidth, m = n != null && n.width ? String(n.width) : e.defaultWidth;
|
|
663
|
+
l = e.values[m] || e.values[s];
|
|
664
664
|
}
|
|
665
665
|
const r = e.argumentCallback ? e.argumentCallback(t) : t;
|
|
666
666
|
return l[r];
|
|
@@ -810,17 +810,17 @@ function fe(e) {
|
|
|
810
810
|
const a = n.width, l = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], r = t.match(l);
|
|
811
811
|
if (!r)
|
|
812
812
|
return null;
|
|
813
|
-
const s = r[0],
|
|
813
|
+
const s = r[0], m = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], i = Array.isArray(m) ? vo(m, (d) => d.test(s)) : (
|
|
814
814
|
// [TODO] -- I challenge you to fix the type
|
|
815
|
-
fo(
|
|
815
|
+
fo(m, (d) => d.test(s))
|
|
816
816
|
);
|
|
817
|
-
let
|
|
818
|
-
|
|
817
|
+
let p;
|
|
818
|
+
p = e.valueCallback ? e.valueCallback(i) : i, p = n.valueCallback ? (
|
|
819
819
|
// [TODO] -- I challenge you to fix the type
|
|
820
|
-
n.valueCallback(
|
|
821
|
-
) :
|
|
822
|
-
const
|
|
823
|
-
return { value:
|
|
820
|
+
n.valueCallback(p)
|
|
821
|
+
) : p;
|
|
822
|
+
const h = t.slice(s.length);
|
|
823
|
+
return { value: p, rest: h };
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
826
|
function fo(e, t) {
|
|
@@ -841,8 +841,8 @@ function ho(e) {
|
|
|
841
841
|
if (!r) return null;
|
|
842
842
|
let s = e.valueCallback ? e.valueCallback(r[0]) : r[0];
|
|
843
843
|
s = n.valueCallback ? n.valueCallback(s) : s;
|
|
844
|
-
const
|
|
845
|
-
return { value: s, rest:
|
|
844
|
+
const m = t.slice(l.length);
|
|
845
|
+
return { value: s, rest: m };
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
848
|
const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
@@ -984,11 +984,26 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
984
984
|
firstWeekContainsDate: 1
|
|
985
985
|
}
|
|
986
986
|
}, So = {
|
|
987
|
-
dateTimeLocale:
|
|
987
|
+
dateTimeLocale: F(Po),
|
|
988
988
|
setDateTimeLocale(e) {
|
|
989
|
-
|
|
989
|
+
ae(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
|
|
990
|
+
}
|
|
991
|
+
}, q = /* @__PURE__ */ H({
|
|
992
|
+
__name: "df-input-hint",
|
|
993
|
+
props: {
|
|
994
|
+
errors: { default: "" },
|
|
995
|
+
message: { default: "" },
|
|
996
|
+
errorClasses: { default: "text-error" },
|
|
997
|
+
messageClasses: { default: "" }
|
|
998
|
+
},
|
|
999
|
+
setup(e) {
|
|
1000
|
+
const t = e, n = b(() => t.errors ? typeof t.errors == "string" ? t.errors.trim().length > 0 : t.errors.length > 0 : !1), a = b(() => n.value ? t.errors : t.message), l = b(() => n.value ? t.errorClasses : t.messageClasses);
|
|
1001
|
+
return (r, s) => (V(), D(o(bt), {
|
|
1002
|
+
message: a.value,
|
|
1003
|
+
classes: l.value
|
|
1004
|
+
}, null, 8, ["message", "classes"]));
|
|
990
1005
|
}
|
|
991
|
-
},
|
|
1006
|
+
}), re = /* @__PURE__ */ H({
|
|
992
1007
|
__name: "df-label",
|
|
993
1008
|
props: {
|
|
994
1009
|
data: {},
|
|
@@ -996,106 +1011,106 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
996
1011
|
allowWrap: { type: Boolean }
|
|
997
1012
|
},
|
|
998
1013
|
setup(e) {
|
|
999
|
-
const t = e, n =
|
|
1014
|
+
const t = e, n = b(() => t.data ? t.data.label : t.label.text);
|
|
1000
1015
|
return (a, l) => {
|
|
1001
1016
|
const r = N("v-img");
|
|
1002
1017
|
return V(), W("div", {
|
|
1003
|
-
class:
|
|
1018
|
+
class: Y(["df-label", { "allow-wrap": a.allowWrap }])
|
|
1004
1019
|
}, [
|
|
1005
|
-
a.label.icon ? (V(), W(
|
|
1006
|
-
a.label.iconComponent === "v-icon" ? (V(),
|
|
1020
|
+
a.label.icon ? (V(), W(Ie, { key: 0 }, [
|
|
1021
|
+
a.label.iconComponent === "v-icon" ? (V(), D(o(be), {
|
|
1007
1022
|
key: 0,
|
|
1008
1023
|
name: a.label.icon,
|
|
1009
1024
|
size: "1.25em"
|
|
1010
|
-
}, null, 8, ["name"])) : a.label.iconComponent === "v-img" ? (V(),
|
|
1025
|
+
}, null, 8, ["name"])) : a.label.iconComponent === "v-img" ? (V(), D(r, {
|
|
1011
1026
|
key: 1,
|
|
1012
1027
|
class: "icon",
|
|
1013
1028
|
src: a.label.icon
|
|
1014
|
-
}, null, 8, ["src"])) : (V(),
|
|
1029
|
+
}, null, 8, ["src"])) : (V(), D(he(a.label.iconComponent), {
|
|
1015
1030
|
key: 2,
|
|
1016
1031
|
src: a.label.icon
|
|
1017
1032
|
}, null, 8, ["src"]))
|
|
1018
|
-
], 64)) :
|
|
1019
|
-
n.value instanceof o(
|
|
1033
|
+
], 64)) : U("", !0),
|
|
1034
|
+
n.value instanceof o(gt) ? (V(), D(o(kt), {
|
|
1020
1035
|
key: 1,
|
|
1021
1036
|
class: "markdown",
|
|
1022
1037
|
source: n.value.toString(),
|
|
1023
1038
|
options: n.value.options,
|
|
1024
1039
|
plugins: n.value.plugins
|
|
1025
|
-
}, null, 8, ["source", "options", "plugins"])) : (V(), W(
|
|
1026
|
-
|
|
1040
|
+
}, null, 8, ["source", "options", "plugins"])) : (V(), W(Ie, { key: 2 }, [
|
|
1041
|
+
ut(Pe(n.value), 1)
|
|
1027
1042
|
], 64))
|
|
1028
1043
|
], 2);
|
|
1029
1044
|
};
|
|
1030
1045
|
}
|
|
1031
|
-
}),
|
|
1046
|
+
}), et = Symbol("vuetifyInputsSettingsKey");
|
|
1032
1047
|
class xo {
|
|
1033
1048
|
constructor(t, n, a = "v-icon") {
|
|
1034
1049
|
this.text = t, this.icon = n, this.iconComponent = a;
|
|
1035
1050
|
}
|
|
1036
1051
|
}
|
|
1037
|
-
const
|
|
1052
|
+
const Z = { enabled: void 0, clearable: !0 };
|
|
1038
1053
|
function G(e, t) {
|
|
1039
|
-
const n =
|
|
1054
|
+
const n = Te(et, {}), a = F(null), l = b({
|
|
1040
1055
|
get() {
|
|
1041
1056
|
return e.control ? e.control.value : e.modelValue === void 0 ? a.value : e.modelValue;
|
|
1042
1057
|
},
|
|
1043
|
-
set(
|
|
1044
|
-
e.control && (e.control.value =
|
|
1058
|
+
set(v) {
|
|
1059
|
+
e.control && (e.control.value = v), e.modelValue === void 0 && (a.value = v), t("update:modelValue", v);
|
|
1045
1060
|
}
|
|
1046
1061
|
});
|
|
1047
|
-
if (e.control && !(e.control instanceof
|
|
1062
|
+
if (e.control && !(e.control instanceof Re.FieldBase))
|
|
1048
1063
|
throw new Error("control prop is not a vue-form control instance");
|
|
1049
|
-
const r =
|
|
1064
|
+
const r = b({
|
|
1050
1065
|
get() {
|
|
1051
1066
|
return e.control.touched;
|
|
1052
1067
|
},
|
|
1053
|
-
set(
|
|
1054
|
-
e.control.touched =
|
|
1068
|
+
set(v) {
|
|
1069
|
+
e.control.touched = v;
|
|
1055
1070
|
}
|
|
1056
|
-
}), s = e.control ? r :
|
|
1057
|
-
() => e.control ? e.control.errors : (e.errors || []).map((
|
|
1058
|
-
),
|
|
1059
|
-
() => e.control ? e.control.visibility : e.visibility ||
|
|
1060
|
-
),
|
|
1061
|
-
() =>
|
|
1062
|
-
),
|
|
1071
|
+
}), s = e.control ? r : F(!1), m = b(() => e.control ? e.control.valid : !0), i = b(
|
|
1072
|
+
() => e.control ? e.control.errors : (e.errors || []).map((v) => new wt(v))
|
|
1073
|
+
), p = b(() => s.value && i.value.length > 0 ? " " : void 0), h = b(() => s.value ? i.value : void 0), d = b(() => e.control ? e.control.enabled : e.enabled !== !1), y = b(
|
|
1074
|
+
() => e.control ? e.control.visibility : e.visibility || Re.DisplayMode.FULL
|
|
1075
|
+
), c = b(
|
|
1076
|
+
() => oe(e.label || "") ? new xo(e.label || "") : e.label
|
|
1077
|
+
), j = b(() => e.placeholder || ""), T = b(() => e.helpText || ""), k = b(() => e.hint || ""), g = b(() => e.cssClass || ""), P = b(
|
|
1063
1078
|
() => {
|
|
1064
|
-
var
|
|
1065
|
-
return (
|
|
1079
|
+
var v, L, f;
|
|
1080
|
+
return (f = (L = (v = e.density) != null ? v : Te("field-density", null)) != null ? L : n.defaultDensity) != null ? f : "default";
|
|
1066
1081
|
}
|
|
1067
|
-
),
|
|
1082
|
+
), M = b(() => P.value === "inline" ? "default" : P.value), E = b(
|
|
1068
1083
|
() => {
|
|
1069
|
-
var
|
|
1070
|
-
return (
|
|
1084
|
+
var v, L, f;
|
|
1085
|
+
return (f = (L = (v = e.variant) != null ? v : Te("field-variant", null)) != null ? L : n.defaultVariant) != null ? f : "underlined";
|
|
1071
1086
|
}
|
|
1072
1087
|
);
|
|
1073
1088
|
return {
|
|
1074
1089
|
value: l,
|
|
1075
|
-
valid:
|
|
1076
|
-
enabled:
|
|
1090
|
+
valid: m,
|
|
1091
|
+
enabled: d,
|
|
1077
1092
|
errors: i,
|
|
1078
|
-
|
|
1079
|
-
|
|
1093
|
+
showErrors: h,
|
|
1094
|
+
visibility: y,
|
|
1095
|
+
label: c,
|
|
1080
1096
|
touched: s,
|
|
1081
|
-
density:
|
|
1082
|
-
densityClass:
|
|
1083
|
-
vuetifyBindings:
|
|
1084
|
-
var
|
|
1097
|
+
density: P.value,
|
|
1098
|
+
densityClass: b(() => `df-density-${P.value}`),
|
|
1099
|
+
vuetifyBindings: b(() => {
|
|
1100
|
+
var v;
|
|
1085
1101
|
return x({
|
|
1086
|
-
name: (
|
|
1087
|
-
class:
|
|
1088
|
-
density:
|
|
1089
|
-
variant:
|
|
1090
|
-
label:
|
|
1091
|
-
|
|
1092
|
-
errorMessages: d.value,
|
|
1102
|
+
name: (v = e.control) == null ? void 0 : v.fieldName,
|
|
1103
|
+
class: g.value,
|
|
1104
|
+
density: M.value,
|
|
1105
|
+
variant: E.value,
|
|
1106
|
+
label: c.value.text,
|
|
1107
|
+
errorMessages: p.value,
|
|
1093
1108
|
// 'error-count': errors?.value.length || 0,
|
|
1094
|
-
readonly: !
|
|
1095
|
-
disabled: !
|
|
1096
|
-
placeholder:
|
|
1097
|
-
"persistent-placeholder": !ve(
|
|
1098
|
-
hint:
|
|
1109
|
+
readonly: !d.value,
|
|
1110
|
+
disabled: !d.value,
|
|
1111
|
+
placeholder: j.value,
|
|
1112
|
+
"persistent-placeholder": !ve(j.value),
|
|
1113
|
+
hint: k.value,
|
|
1099
1114
|
persistentHint: !0,
|
|
1100
1115
|
// we want persistent hint always
|
|
1101
1116
|
hideDetails: "auto",
|
|
@@ -1105,45 +1120,7 @@ function G(e, t) {
|
|
|
1105
1120
|
})
|
|
1106
1121
|
};
|
|
1107
1122
|
}
|
|
1108
|
-
const
|
|
1109
|
-
__name: "messages-widget",
|
|
1110
|
-
props: {
|
|
1111
|
-
errors: {},
|
|
1112
|
-
message: {},
|
|
1113
|
-
classes: { default: "text-error" }
|
|
1114
|
-
},
|
|
1115
|
-
setup(e) {
|
|
1116
|
-
const t = e, n = () => {
|
|
1117
|
-
if (t.message !== " ") return we("span", { class: t.classes }, t.message);
|
|
1118
|
-
const a = [];
|
|
1119
|
-
return t.errors.forEach((l) => {
|
|
1120
|
-
switch (l.componentName) {
|
|
1121
|
-
case "template":
|
|
1122
|
-
a.push(we("div", { class: t.classes }, l.componentBody));
|
|
1123
|
-
break;
|
|
1124
|
-
case "vue-markdown": {
|
|
1125
|
-
const r = l.componentBindings;
|
|
1126
|
-
a.push(
|
|
1127
|
-
we(Ze, {
|
|
1128
|
-
class: [t.classes, "df-messages-widget-markdown"],
|
|
1129
|
-
source: r.source,
|
|
1130
|
-
options: r.options,
|
|
1131
|
-
plugins: r.plugins
|
|
1132
|
-
})
|
|
1133
|
-
);
|
|
1134
|
-
break;
|
|
1135
|
-
}
|
|
1136
|
-
default:
|
|
1137
|
-
a.push(
|
|
1138
|
-
we(l.componentName, U(x({ class: t.classes }, l.componentBindings), { innerHTML: l.componentBody }))
|
|
1139
|
-
);
|
|
1140
|
-
break;
|
|
1141
|
-
}
|
|
1142
|
-
}), a;
|
|
1143
|
-
};
|
|
1144
|
-
return (a, l) => (V(), P(n));
|
|
1145
|
-
}
|
|
1146
|
-
}), Eo = { class: "d-flex w-100 df-style-resetting" }, xe = /* @__PURE__ */ O({
|
|
1123
|
+
const Eo = { class: "d-flex w-100 df-style-resetting" }, Se = /* @__PURE__ */ H({
|
|
1147
1124
|
__name: "input-base",
|
|
1148
1125
|
props: {
|
|
1149
1126
|
control: {},
|
|
@@ -1164,68 +1141,68 @@ const re = /* @__PURE__ */ O({
|
|
|
1164
1141
|
},
|
|
1165
1142
|
emits: ["update:modelValue", "click:clear", "blur"],
|
|
1166
1143
|
setup(e, { emit: t }) {
|
|
1167
|
-
const n = e, a = t, {
|
|
1168
|
-
function
|
|
1169
|
-
|
|
1144
|
+
const n = e, a = t, { label: l, showErrors: r, touched: s, value: m, visibility: i, vuetifyBindings: p } = G(n, a), h = b(() => !!(o(n.clearable) && o(m))), d = F(!1);
|
|
1145
|
+
function y(c) {
|
|
1146
|
+
d.value = c, c || (s.value = !0, a("blur"));
|
|
1170
1147
|
}
|
|
1171
|
-
return (c,
|
|
1172
|
-
const
|
|
1173
|
-
return o(i) !== o(X).SUPPRESS ? (V(),
|
|
1148
|
+
return (c, j) => {
|
|
1149
|
+
const T = N("v-field"), k = N("v-input");
|
|
1150
|
+
return o(i) !== o(X).SUPPRESS ? (V(), D(k, {
|
|
1174
1151
|
key: 0,
|
|
1175
|
-
name: o(
|
|
1176
|
-
density: o(
|
|
1177
|
-
hint: o(
|
|
1178
|
-
"persistent-hint": o(
|
|
1179
|
-
"hide-details": o(
|
|
1180
|
-
"error-messages": o(
|
|
1181
|
-
class:
|
|
1152
|
+
name: o(p).name,
|
|
1153
|
+
density: o(p).density,
|
|
1154
|
+
hint: o(p).hint,
|
|
1155
|
+
"persistent-hint": o(p).persistentHint,
|
|
1156
|
+
"hide-details": o(p).hideDetails,
|
|
1157
|
+
"error-messages": o(p).errorMessages,
|
|
1158
|
+
class: Y([
|
|
1182
1159
|
c.cssClass,
|
|
1183
1160
|
{
|
|
1184
1161
|
"d-none": o(i) === o(X).HIDDEN,
|
|
1185
1162
|
invisible: o(i) === o(X).INVISIBLE
|
|
1186
1163
|
}
|
|
1187
1164
|
])
|
|
1188
|
-
},
|
|
1189
|
-
message:
|
|
1190
|
-
|
|
1191
|
-
message:
|
|
1192
|
-
errors: o(
|
|
1165
|
+
}, De({
|
|
1166
|
+
message: w(({ message: g }) => [
|
|
1167
|
+
B(q, {
|
|
1168
|
+
message: g,
|
|
1169
|
+
errors: o(r)
|
|
1193
1170
|
}, null, 8, ["message", "errors"])
|
|
1194
1171
|
]),
|
|
1195
|
-
default:
|
|
1196
|
-
|
|
1197
|
-
variant: o(
|
|
1198
|
-
density: o(
|
|
1199
|
-
label: o(
|
|
1200
|
-
disabled: o(
|
|
1201
|
-
clearable:
|
|
1172
|
+
default: w(() => [
|
|
1173
|
+
B(T, {
|
|
1174
|
+
variant: o(p).variant,
|
|
1175
|
+
density: o(p).density,
|
|
1176
|
+
label: o(p).label,
|
|
1177
|
+
disabled: o(p).disabled,
|
|
1178
|
+
clearable: h.value,
|
|
1202
1179
|
"persistent-clear": !0,
|
|
1203
|
-
dirty: !!o(
|
|
1204
|
-
active:
|
|
1180
|
+
dirty: !!o(m),
|
|
1181
|
+
active: d.value,
|
|
1205
1182
|
loading: c.loading,
|
|
1206
|
-
"onClick:clear":
|
|
1207
|
-
"onUpdate:focused":
|
|
1208
|
-
},
|
|
1209
|
-
label:
|
|
1210
|
-
|
|
1211
|
-
data:
|
|
1212
|
-
label: o(
|
|
1183
|
+
"onClick:clear": j[0] || (j[0] = (g) => a("click:clear")),
|
|
1184
|
+
"onUpdate:focused": j[1] || (j[1] = (g) => y(g))
|
|
1185
|
+
}, De({
|
|
1186
|
+
label: w((g) => [
|
|
1187
|
+
B(re, {
|
|
1188
|
+
data: g,
|
|
1189
|
+
label: o(l)
|
|
1213
1190
|
}, null, 8, ["data", "label"])
|
|
1214
1191
|
]),
|
|
1215
|
-
default:
|
|
1216
|
-
|
|
1217
|
-
se(c.$slots, "default",
|
|
1192
|
+
default: w((g) => [
|
|
1193
|
+
le("div", Eo, [
|
|
1194
|
+
se(c.$slots, "default", te(ne(g)))
|
|
1218
1195
|
])
|
|
1219
1196
|
]),
|
|
1220
|
-
loader:
|
|
1221
|
-
se(c.$slots, "loader",
|
|
1197
|
+
loader: w((g) => [
|
|
1198
|
+
se(c.$slots, "loader", te(ne(g)))
|
|
1222
1199
|
]),
|
|
1223
1200
|
_: 2
|
|
1224
1201
|
}, [
|
|
1225
1202
|
c.$slots["prepend-inner"] ? {
|
|
1226
1203
|
name: "prepend-inner",
|
|
1227
|
-
fn:
|
|
1228
|
-
se(c.$slots, "prepend-inner",
|
|
1204
|
+
fn: w((g) => [
|
|
1205
|
+
se(c.$slots, "prepend-inner", te(ne(g)))
|
|
1229
1206
|
]),
|
|
1230
1207
|
key: "0"
|
|
1231
1208
|
} : void 0
|
|
@@ -1235,12 +1212,12 @@ const re = /* @__PURE__ */ O({
|
|
|
1235
1212
|
}, [
|
|
1236
1213
|
c.$slots.prepend ? {
|
|
1237
1214
|
name: "prepend",
|
|
1238
|
-
fn:
|
|
1239
|
-
se(c.$slots, "prepend",
|
|
1215
|
+
fn: w((g) => [
|
|
1216
|
+
se(c.$slots, "prepend", te(ne(g)))
|
|
1240
1217
|
]),
|
|
1241
1218
|
key: "0"
|
|
1242
1219
|
} : void 0
|
|
1243
|
-
]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) :
|
|
1220
|
+
]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : U("", !0);
|
|
1244
1221
|
};
|
|
1245
1222
|
}
|
|
1246
1223
|
}), $ = {
|
|
@@ -1272,22 +1249,22 @@ function Aa(e) {
|
|
|
1272
1249
|
});
|
|
1273
1250
|
}
|
|
1274
1251
|
function Na(e, t) {
|
|
1275
|
-
|
|
1252
|
+
ke.language = e, ke.translations = t;
|
|
1276
1253
|
}
|
|
1277
|
-
const
|
|
1254
|
+
const ke = {
|
|
1278
1255
|
language: "en",
|
|
1279
1256
|
translations: void 0
|
|
1280
1257
|
};
|
|
1281
1258
|
var z = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(z || {});
|
|
1282
|
-
const
|
|
1259
|
+
const We = 0;
|
|
1283
1260
|
((e) => {
|
|
1284
1261
|
function t(l) {
|
|
1285
|
-
return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 :
|
|
1262
|
+
return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 : We;
|
|
1286
1263
|
}
|
|
1287
1264
|
e.fromString = t;
|
|
1288
1265
|
function n(l) {
|
|
1289
1266
|
const r = typeof l == "number" ? l : e.fromString(l);
|
|
1290
|
-
return Object.values(e).includes(r) ? r :
|
|
1267
|
+
return Object.values(e).includes(r) ? r : We;
|
|
1291
1268
|
}
|
|
1292
1269
|
e.fromAny = n;
|
|
1293
1270
|
function a(l) {
|
|
@@ -1297,18 +1274,18 @@ const ze = 0;
|
|
|
1297
1274
|
e.isDefined = a;
|
|
1298
1275
|
})(z || (z = {}));
|
|
1299
1276
|
Object.freeze(z);
|
|
1300
|
-
const
|
|
1277
|
+
const ze = ["xs", "sm", "md", "lg", "xl"];
|
|
1301
1278
|
class $o {
|
|
1302
1279
|
constructor(t) {
|
|
1303
|
-
|
|
1304
|
-
this._value = this.cleanBreakpoint(t, !0), t &&
|
|
1280
|
+
$e(this, "_value");
|
|
1281
|
+
this._value = this.cleanBreakpoint(t, !0), t && ze.forEach((n) => {
|
|
1305
1282
|
const a = this.cleanBreakpoint(t[n]);
|
|
1306
1283
|
a && (this._value[n] = a);
|
|
1307
1284
|
});
|
|
1308
1285
|
}
|
|
1309
1286
|
getOptionsForBreakpoint(t) {
|
|
1310
1287
|
const n = this.cleanBreakpoint(this._value), a = Object.keys(n);
|
|
1311
|
-
for (const l of
|
|
1288
|
+
for (const l of ze) {
|
|
1312
1289
|
const r = this._value[l];
|
|
1313
1290
|
for (const s of a)
|
|
1314
1291
|
(r == null ? void 0 : r[s]) != null && (n[s] = r[s]);
|
|
@@ -1322,29 +1299,29 @@ function Ao(e) {
|
|
|
1322
1299
|
}
|
|
1323
1300
|
function No() {
|
|
1324
1301
|
const e = Vt();
|
|
1325
|
-
return
|
|
1302
|
+
return b(() => Ao(e));
|
|
1326
1303
|
}
|
|
1327
|
-
class
|
|
1304
|
+
class Fo extends $o {
|
|
1328
1305
|
cleanBreakpoint(t, n = !1) {
|
|
1329
|
-
if ((!t || !
|
|
1306
|
+
if ((!t || !ft(t)) && !n) return null;
|
|
1330
1307
|
const a = {};
|
|
1331
|
-
return n && (a.renderAs = z.BUTTON, a.showLabel = !0, a.showIcon = !0), t && (t.renderAs != null && (a.renderAs = z.fromAny(t.renderAs)),
|
|
1308
|
+
return n && (a.renderAs = z.BUTTON, a.showLabel = !0, a.showIcon = !0), t && (t.renderAs != null && (a.renderAs = z.fromAny(t.renderAs)), oe(t.label) && (a.label = t.label), oe(t.icon) && (a.icon = t.icon), Le(t.showLabel) && (a.showLabel = t.showLabel), Le(t.showIcon) && (a.showIcon = t.showIcon)), Object.keys(a).length ? a : null;
|
|
1332
1309
|
}
|
|
1333
1310
|
}
|
|
1334
|
-
class
|
|
1311
|
+
class ye extends yt {
|
|
1335
1312
|
static create(t) {
|
|
1336
1313
|
return super.create(t);
|
|
1337
1314
|
}
|
|
1338
1315
|
getBreakpointValue(t) {
|
|
1339
|
-
return
|
|
1340
|
-
const a = new
|
|
1316
|
+
return b(() => {
|
|
1317
|
+
const a = new Fo(this.value).getOptionsForBreakpoint(t.value);
|
|
1341
1318
|
return {
|
|
1342
1319
|
name: a.name,
|
|
1343
1320
|
label: a.showLabel ? a.label : void 0,
|
|
1344
1321
|
icon: a.showIcon ? a.icon : void 0,
|
|
1345
1322
|
renderAs: a.renderAs,
|
|
1346
|
-
showLabel:
|
|
1347
|
-
showIcon:
|
|
1323
|
+
showLabel: oe(a.label) && !ve(a.label) ? a.showLabel : !1,
|
|
1324
|
+
showIcon: oe(a.icon) && !ve(a.icon) ? a.showIcon : !1
|
|
1348
1325
|
};
|
|
1349
1326
|
});
|
|
1350
1327
|
}
|
|
@@ -1355,67 +1332,67 @@ class ke extends kt {
|
|
|
1355
1332
|
return this.value.showLabel ? this.value.label : void 0;
|
|
1356
1333
|
}
|
|
1357
1334
|
get showLabel() {
|
|
1358
|
-
return
|
|
1335
|
+
return oe(this.value.label) && !ve(this.value.label) ? this.value.showLabel : !1;
|
|
1359
1336
|
}
|
|
1360
1337
|
get icon() {
|
|
1361
1338
|
return this.value.showIcon ? this.value.icon : void 0;
|
|
1362
1339
|
}
|
|
1363
1340
|
get showIcon() {
|
|
1364
|
-
return
|
|
1341
|
+
return oe(this.value.icon) && !ve(this.value.icon) ? this.value.showIcon : !1;
|
|
1365
1342
|
}
|
|
1366
1343
|
get renderAs() {
|
|
1367
1344
|
return this.value.renderAs;
|
|
1368
1345
|
}
|
|
1369
1346
|
static closeAction(t) {
|
|
1370
1347
|
var a;
|
|
1371
|
-
const n =
|
|
1348
|
+
const n = O(x({}, t != null ? t : {}), {
|
|
1372
1349
|
// any properties in data should overwrite properties in the constant
|
|
1373
1350
|
value: {
|
|
1374
1351
|
name: "close",
|
|
1375
1352
|
label: $.Close,
|
|
1376
|
-
icon: "close-outline",
|
|
1353
|
+
icon: "ion-close-outline",
|
|
1377
1354
|
renderAs: z.BUTTON,
|
|
1378
1355
|
showLabel: !0,
|
|
1379
1356
|
showIcon: !0
|
|
1380
1357
|
}
|
|
1381
1358
|
});
|
|
1382
|
-
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}),
|
|
1359
|
+
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1383
1360
|
}
|
|
1384
1361
|
static yesAction(t) {
|
|
1385
1362
|
var a;
|
|
1386
|
-
const n =
|
|
1363
|
+
const n = O(x({}, t != null ? t : {}), {
|
|
1387
1364
|
// any properties in data should overwrite properties in the constant
|
|
1388
1365
|
value: {
|
|
1389
1366
|
name: "yes",
|
|
1390
1367
|
label: $.Yes,
|
|
1391
|
-
icon: "thumbs-up-outline",
|
|
1368
|
+
icon: "ion-thumbs-up-outline",
|
|
1392
1369
|
renderAs: z.BUTTON,
|
|
1393
1370
|
showLabel: !0,
|
|
1394
1371
|
showIcon: !0
|
|
1395
1372
|
}
|
|
1396
1373
|
});
|
|
1397
|
-
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}),
|
|
1374
|
+
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1398
1375
|
}
|
|
1399
1376
|
static noAction(t) {
|
|
1400
1377
|
var a;
|
|
1401
|
-
const n =
|
|
1378
|
+
const n = O(x({}, t != null ? t : {}), {
|
|
1402
1379
|
// any properties in data should overwrite properties in the constant
|
|
1403
1380
|
value: {
|
|
1404
1381
|
name: "no",
|
|
1405
1382
|
label: $.No,
|
|
1406
|
-
icon: "thumbs-down-outline",
|
|
1383
|
+
icon: "ion-thumbs-down-outline",
|
|
1407
1384
|
renderAs: z.BUTTON,
|
|
1408
1385
|
showLabel: !0,
|
|
1409
1386
|
showIcon: !0
|
|
1410
1387
|
}
|
|
1411
1388
|
});
|
|
1412
|
-
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}),
|
|
1389
|
+
return n.value = x(x({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ye.create(n);
|
|
1413
1390
|
}
|
|
1414
1391
|
}
|
|
1415
|
-
const
|
|
1392
|
+
const Mo = {
|
|
1416
1393
|
key: 1,
|
|
1417
1394
|
style: { width: "0.5rem" }
|
|
1418
|
-
},
|
|
1395
|
+
}, Lo = { key: 2 }, Uo = /* @__PURE__ */ H({
|
|
1419
1396
|
__name: "df-actions",
|
|
1420
1397
|
props: {
|
|
1421
1398
|
actions: {},
|
|
@@ -1423,43 +1400,43 @@ const Lo = {
|
|
|
1423
1400
|
showAsGroup: { default: "no" }
|
|
1424
1401
|
},
|
|
1425
1402
|
setup(e) {
|
|
1426
|
-
const t = e, n = No(), a =
|
|
1403
|
+
const t = e, n = No(), a = b(() => o(t.actions)), l = b(
|
|
1427
1404
|
() => a.value.map((r) => x({
|
|
1428
1405
|
action: r
|
|
1429
1406
|
}, o(r.getBreakpointValue(n))))
|
|
1430
1407
|
);
|
|
1431
1408
|
return (r, s) => {
|
|
1432
|
-
const
|
|
1409
|
+
const m = N("v-btn");
|
|
1433
1410
|
return a.value.length > 0 ? (V(), W("div", {
|
|
1434
1411
|
key: 0,
|
|
1435
|
-
class:
|
|
1412
|
+
class: Y(["text-end df-actions", {
|
|
1436
1413
|
"button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
|
|
1437
1414
|
"with-border": r.showAsGroup === "grouped"
|
|
1438
1415
|
}])
|
|
1439
1416
|
}, [
|
|
1440
|
-
(V(!0), W(
|
|
1441
|
-
key:
|
|
1417
|
+
(V(!0), W(Ie, null, ct(l.value, (i, p) => (V(), D(m, {
|
|
1418
|
+
key: p,
|
|
1442
1419
|
variant: i.renderAs === o(z).BUTTON ? "tonal" : "text",
|
|
1443
1420
|
elevation: 0,
|
|
1444
1421
|
size: r.buttonSize,
|
|
1445
|
-
onClick:
|
|
1422
|
+
onClick: dt((h) => i.action.execute(h), ["stop"])
|
|
1446
1423
|
}, {
|
|
1447
|
-
default:
|
|
1448
|
-
i.icon ? (V(),
|
|
1424
|
+
default: w(() => [
|
|
1425
|
+
i.icon ? (V(), D(o(be), {
|
|
1449
1426
|
key: 0,
|
|
1450
1427
|
name: i.icon
|
|
1451
|
-
}, null, 8, ["name"])) :
|
|
1452
|
-
i.icon && i.label ? (V(), W("span",
|
|
1453
|
-
i.label ? (V(), W("span",
|
|
1428
|
+
}, null, 8, ["name"])) : U("", !0),
|
|
1429
|
+
i.icon && i.label ? (V(), W("span", Mo)) : U("", !0),
|
|
1430
|
+
i.label ? (V(), W("span", Lo, Pe(i.label), 1)) : U("", !0)
|
|
1454
1431
|
]),
|
|
1455
1432
|
_: 2
|
|
1456
1433
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
1457
|
-
], 2)) :
|
|
1434
|
+
], 2)) : U("", !0);
|
|
1458
1435
|
};
|
|
1459
1436
|
}
|
|
1460
|
-
}), Ho = /* @__PURE__ */
|
|
1437
|
+
}), Ho = /* @__PURE__ */ H({
|
|
1461
1438
|
__name: "df-checkbox",
|
|
1462
|
-
props: /* @__PURE__ */
|
|
1439
|
+
props: /* @__PURE__ */ Q({
|
|
1463
1440
|
allowNull: { type: Boolean },
|
|
1464
1441
|
control: {},
|
|
1465
1442
|
modelValue: {},
|
|
@@ -1475,54 +1452,54 @@ const Lo = {
|
|
|
1475
1452
|
passthroughAttrs: {},
|
|
1476
1453
|
density: {},
|
|
1477
1454
|
variant: {}
|
|
1478
|
-
},
|
|
1455
|
+
}, O(x({}, Z), { allowNull: !1 })),
|
|
1479
1456
|
emits: ["update:modelValue", "click:clear"],
|
|
1480
1457
|
setup(e, { emit: t }) {
|
|
1481
|
-
const n = e, a = t, { densityClass: l,
|
|
1458
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: m, value: i, vuetifyBindings: p } = G(n, a), h = b(() => n.allowNull && i.value == null), d = b({
|
|
1482
1459
|
get() {
|
|
1483
1460
|
return i.value;
|
|
1484
1461
|
},
|
|
1485
1462
|
set() {
|
|
1486
1463
|
}
|
|
1487
1464
|
});
|
|
1488
|
-
function
|
|
1489
|
-
const c =
|
|
1465
|
+
function y() {
|
|
1466
|
+
const c = vt(i.value);
|
|
1490
1467
|
c === !0 ? i.value = n.allowNull ? null : !1 : i.value = c === !1;
|
|
1491
1468
|
}
|
|
1492
|
-
return (c,
|
|
1493
|
-
const
|
|
1494
|
-
return V(),
|
|
1495
|
-
modelValue:
|
|
1496
|
-
"onUpdate:modelValue":
|
|
1497
|
-
}, o(
|
|
1469
|
+
return (c, j) => {
|
|
1470
|
+
const T = N("v-checkbox");
|
|
1471
|
+
return V(), D(T, R({
|
|
1472
|
+
modelValue: d.value,
|
|
1473
|
+
"onUpdate:modelValue": j[0] || (j[0] = (k) => d.value = k)
|
|
1474
|
+
}, o(p), {
|
|
1498
1475
|
density: "compact",
|
|
1499
1476
|
class: o(l),
|
|
1500
|
-
indeterminate:
|
|
1477
|
+
indeterminate: h.value,
|
|
1501
1478
|
"false-value": !1,
|
|
1502
1479
|
"true-value": !0,
|
|
1503
|
-
onChange:
|
|
1504
|
-
onBlur:
|
|
1480
|
+
onChange: y,
|
|
1481
|
+
onBlur: j[1] || (j[1] = (k) => m.value = !0)
|
|
1505
1482
|
}), {
|
|
1506
|
-
label:
|
|
1507
|
-
|
|
1483
|
+
label: w((k) => [
|
|
1484
|
+
B(o(re), {
|
|
1508
1485
|
"allow-wrap": !0,
|
|
1509
|
-
data:
|
|
1510
|
-
label: o(
|
|
1486
|
+
data: k,
|
|
1487
|
+
label: o(r)
|
|
1511
1488
|
}, null, 8, ["data", "label"])
|
|
1512
1489
|
]),
|
|
1513
|
-
message:
|
|
1514
|
-
|
|
1515
|
-
message:
|
|
1516
|
-
errors: o(
|
|
1490
|
+
message: w(({ message: k }) => [
|
|
1491
|
+
B(o(q), {
|
|
1492
|
+
message: k,
|
|
1493
|
+
errors: o(s)
|
|
1517
1494
|
}, null, 8, ["message", "errors"])
|
|
1518
1495
|
]),
|
|
1519
1496
|
_: 1
|
|
1520
1497
|
}, 16, ["modelValue", "class", "indeterminate"]);
|
|
1521
1498
|
};
|
|
1522
1499
|
}
|
|
1523
|
-
}), Oo = /* @__PURE__ */
|
|
1500
|
+
}), Oo = /* @__PURE__ */ H({
|
|
1524
1501
|
__name: "df-color",
|
|
1525
|
-
props: /* @__PURE__ */
|
|
1502
|
+
props: /* @__PURE__ */ Q({
|
|
1526
1503
|
allowNull: { type: Boolean },
|
|
1527
1504
|
control: {},
|
|
1528
1505
|
modelValue: {},
|
|
@@ -1538,52 +1515,52 @@ const Lo = {
|
|
|
1538
1515
|
passthroughAttrs: {},
|
|
1539
1516
|
density: {},
|
|
1540
1517
|
variant: {}
|
|
1541
|
-
},
|
|
1518
|
+
}, O(x({}, Z), { allowNull: !1 })),
|
|
1542
1519
|
emits: ["update:modelValue", "click:clear"],
|
|
1543
1520
|
setup(e, { emit: t }) {
|
|
1544
|
-
const n = e, a = t, { densityClass: l,
|
|
1545
|
-
(
|
|
1521
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: m, value: i, vuetifyBindings: p } = G(n, a), h = F(!1), d = b(() => [
|
|
1522
|
+
(y) => n.control || !y && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(y) ? !0 : "Not a valid hex string."
|
|
1546
1523
|
]);
|
|
1547
|
-
return (
|
|
1548
|
-
const
|
|
1549
|
-
return V(),
|
|
1524
|
+
return (y, c) => {
|
|
1525
|
+
const j = N("v-color-picker"), T = N("v-menu"), k = N("v-text-field");
|
|
1526
|
+
return V(), D(k, R({
|
|
1550
1527
|
modelValue: o(i),
|
|
1551
|
-
"onUpdate:modelValue": c[2] || (c[2] = (
|
|
1552
|
-
}, o(
|
|
1528
|
+
"onUpdate:modelValue": c[2] || (c[2] = (g) => ae(i) ? i.value = g : null)
|
|
1529
|
+
}, o(p), {
|
|
1553
1530
|
class: o(l),
|
|
1554
|
-
clearable:
|
|
1531
|
+
clearable: y.allowNull,
|
|
1555
1532
|
type: "text",
|
|
1556
|
-
rules:
|
|
1557
|
-
onBlur: c[3] || (c[3] = (
|
|
1533
|
+
rules: d.value,
|
|
1534
|
+
onBlur: c[3] || (c[3] = (g) => m.value = !0)
|
|
1558
1535
|
}), {
|
|
1559
|
-
label:
|
|
1560
|
-
|
|
1561
|
-
data:
|
|
1562
|
-
label: o(
|
|
1536
|
+
label: w((g) => [
|
|
1537
|
+
B(o(re), {
|
|
1538
|
+
data: g,
|
|
1539
|
+
label: o(r)
|
|
1563
1540
|
}, null, 8, ["data", "label"])
|
|
1564
1541
|
]),
|
|
1565
|
-
message:
|
|
1566
|
-
|
|
1567
|
-
message:
|
|
1568
|
-
errors: o(
|
|
1542
|
+
message: w(({ message: g }) => [
|
|
1543
|
+
B(o(q), {
|
|
1544
|
+
message: g,
|
|
1545
|
+
errors: o(s)
|
|
1569
1546
|
}, null, 8, ["message", "errors"])
|
|
1570
1547
|
]),
|
|
1571
|
-
"prepend-inner":
|
|
1572
|
-
|
|
1573
|
-
style:
|
|
1548
|
+
"prepend-inner": w(() => [
|
|
1549
|
+
le("div", {
|
|
1550
|
+
style: Ge([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
|
|
1574
1551
|
}, null, 4)
|
|
1575
1552
|
]),
|
|
1576
|
-
default:
|
|
1577
|
-
|
|
1578
|
-
modelValue:
|
|
1579
|
-
"onUpdate:modelValue": c[1] || (c[1] = (
|
|
1553
|
+
default: w(() => [
|
|
1554
|
+
B(T, {
|
|
1555
|
+
modelValue: h.value,
|
|
1556
|
+
"onUpdate:modelValue": c[1] || (c[1] = (g) => h.value = g),
|
|
1580
1557
|
"close-on-content-click": !1,
|
|
1581
1558
|
activator: "parent"
|
|
1582
1559
|
}, {
|
|
1583
|
-
default:
|
|
1584
|
-
|
|
1560
|
+
default: w(() => [
|
|
1561
|
+
B(j, {
|
|
1585
1562
|
modelValue: o(i),
|
|
1586
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
1563
|
+
"onUpdate:modelValue": c[0] || (c[0] = (g) => ae(i) ? i.value = g : null),
|
|
1587
1564
|
mode: "hexa"
|
|
1588
1565
|
}, null, 8, ["modelValue"])
|
|
1589
1566
|
]),
|
|
@@ -1594,9 +1571,9 @@ const Lo = {
|
|
|
1594
1571
|
}, 16, ["modelValue", "class", "clearable", "rules"]);
|
|
1595
1572
|
};
|
|
1596
1573
|
}
|
|
1597
|
-
}), Ro = /* @__PURE__ */
|
|
1574
|
+
}), Ro = /* @__PURE__ */ H({
|
|
1598
1575
|
__name: "df-datetime",
|
|
1599
|
-
props: /* @__PURE__ */
|
|
1576
|
+
props: /* @__PURE__ */ Q({
|
|
1600
1577
|
inputType: {},
|
|
1601
1578
|
displayFormatDate: {},
|
|
1602
1579
|
displayFormatTime: {},
|
|
@@ -1615,150 +1592,150 @@ const Lo = {
|
|
|
1615
1592
|
passthroughAttrs: {},
|
|
1616
1593
|
density: {},
|
|
1617
1594
|
variant: {}
|
|
1618
|
-
},
|
|
1595
|
+
}, O(x({}, Z), {
|
|
1619
1596
|
inputType: "datetime",
|
|
1620
1597
|
displayFormatDate: "P",
|
|
1621
1598
|
displayFormatTime: "p"
|
|
1622
1599
|
})),
|
|
1623
1600
|
emits: ["update:modelValue", "click:clear"],
|
|
1624
1601
|
setup(e, { emit: t }) {
|
|
1625
|
-
const n = e, a = t, l =
|
|
1602
|
+
const n = e, a = t, l = b(() => {
|
|
1626
1603
|
var f;
|
|
1627
1604
|
return (f = n.locale) != null ? f : o(So.dateTimeLocale);
|
|
1628
|
-
}), r =
|
|
1605
|
+
}), r = b(() => {
|
|
1629
1606
|
var f, u;
|
|
1630
1607
|
return (u = (f = l.value.options) == null ? void 0 : f.weekStartsOn) != null ? u : 1;
|
|
1631
|
-
}), { densityClass: s, touched:
|
|
1608
|
+
}), { densityClass: s, touched: m, value: i, vuetifyBindings: p } = G(n, a), { inputType: h, displayFormatDate: d, displayFormatTime: y } = Ce(n), c = F(""), j = b({
|
|
1632
1609
|
get() {
|
|
1633
1610
|
return o(c) === "date";
|
|
1634
1611
|
},
|
|
1635
1612
|
set(f) {
|
|
1636
1613
|
c.value = f ? "date" : "";
|
|
1637
1614
|
}
|
|
1638
|
-
}),
|
|
1615
|
+
}), T = b({
|
|
1639
1616
|
get() {
|
|
1640
1617
|
return o(c) === "time";
|
|
1641
1618
|
},
|
|
1642
1619
|
set(f) {
|
|
1643
1620
|
c.value = f ? "time" : "";
|
|
1644
1621
|
}
|
|
1645
|
-
}),
|
|
1646
|
-
function
|
|
1622
|
+
}), k = (f) => `${me(f, "yyyy-MM-dd")}T${me(f, "HH:mm")}:00`, g = F(null);
|
|
1623
|
+
function P(f, u) {
|
|
1647
1624
|
if (f == null)
|
|
1648
|
-
|
|
1625
|
+
g.value = null;
|
|
1649
1626
|
else if (u === -1)
|
|
1650
|
-
if (o(
|
|
1651
|
-
|
|
1627
|
+
if (o(h) === "time")
|
|
1628
|
+
g.value = k(/* @__PURE__ */ new Date()), P(`T${f}`, 1);
|
|
1652
1629
|
else {
|
|
1653
|
-
const A =
|
|
1654
|
-
|
|
1630
|
+
const A = k(new Date(f));
|
|
1631
|
+
P(A, 0), P(A, 1);
|
|
1655
1632
|
}
|
|
1656
1633
|
else {
|
|
1657
|
-
|
|
1658
|
-
const A =
|
|
1659
|
-
A[u] = K[u],
|
|
1634
|
+
g.value == null && (g.value = k(/* @__PURE__ */ new Date()));
|
|
1635
|
+
const A = g.value.split(/[TZ]/g), K = f.split(/[TZ]/g);
|
|
1636
|
+
A[u] = K[u], g.value = k(/* @__PURE__ */ new Date(`${A[0]}T${A[1].split(".")[0]}`)), o(h) === "date" ? i.value = A[0] : o(h) === "time" ? i.value = A[1] : i.value = o(g) + me(/* @__PURE__ */ new Date(), "XXX");
|
|
1660
1637
|
}
|
|
1661
1638
|
}
|
|
1662
|
-
ue(i, (f) =>
|
|
1663
|
-
const
|
|
1639
|
+
ue(i, (f) => P(f, -1), { immediate: !0 });
|
|
1640
|
+
const M = b({
|
|
1664
1641
|
get() {
|
|
1665
|
-
const f = o(
|
|
1642
|
+
const f = o(g);
|
|
1666
1643
|
if (f == null) return null;
|
|
1667
1644
|
const u = new Date(f);
|
|
1668
1645
|
return Number.isNaN(u.getTime()) ? null : u;
|
|
1669
1646
|
},
|
|
1670
1647
|
set(f) {
|
|
1671
|
-
|
|
1648
|
+
P(k(f), 0);
|
|
1672
1649
|
}
|
|
1673
|
-
}),
|
|
1650
|
+
}), E = b({
|
|
1674
1651
|
get() {
|
|
1675
|
-
const f = o(
|
|
1652
|
+
const f = o(g);
|
|
1676
1653
|
return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
|
|
1677
1654
|
},
|
|
1678
1655
|
set(f) {
|
|
1679
|
-
|
|
1656
|
+
P(`T${f}`, 1);
|
|
1680
1657
|
}
|
|
1681
|
-
}),
|
|
1658
|
+
}), v = b({
|
|
1682
1659
|
get() {
|
|
1683
|
-
const f = o(
|
|
1684
|
-
return f == null ? "" : me(f, o(
|
|
1660
|
+
const f = o(M);
|
|
1661
|
+
return f == null ? "" : me(f, o(d), { locale: l.value });
|
|
1685
1662
|
},
|
|
1686
1663
|
set(f) {
|
|
1687
1664
|
try {
|
|
1688
|
-
const u = Ct(f, o(
|
|
1689
|
-
|
|
1665
|
+
const u = Ct(f, o(d), /* @__PURE__ */ new Date(), { locale: l.value });
|
|
1666
|
+
P(k(u), 0);
|
|
1690
1667
|
} catch (u) {
|
|
1691
1668
|
console.error(u);
|
|
1692
1669
|
}
|
|
1693
1670
|
}
|
|
1694
|
-
}),
|
|
1671
|
+
}), L = b({
|
|
1695
1672
|
get() {
|
|
1696
|
-
const f = o(
|
|
1697
|
-
return f == null ? "" : me(f, o(
|
|
1673
|
+
const f = o(M);
|
|
1674
|
+
return f == null ? "" : me(f, o(y), { locale: l.value });
|
|
1698
1675
|
},
|
|
1699
1676
|
set(f) {
|
|
1700
1677
|
const u = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
1701
1678
|
if (u == null) return;
|
|
1702
|
-
let A =
|
|
1703
|
-
const K =
|
|
1704
|
-
|
|
1679
|
+
let A = Ue(u[1]);
|
|
1680
|
+
const K = Ue(u[2]);
|
|
1681
|
+
He(A) || He(K) || (u[3] && u[3].toLowerCase() === "pm" && A < 13 && (A += 12), P(`T${A.toString().padStart(2, "0")}:${K.toString().padStart(2, "0")}:00`, 1));
|
|
1705
1682
|
}
|
|
1706
1683
|
});
|
|
1707
1684
|
return (f, u) => {
|
|
1708
|
-
const A = N("v-date-picker"), K = N("v-confirm-edit"), ce = N("v-menu"), de = N("v-text-field"),
|
|
1709
|
-
return V(),
|
|
1685
|
+
const A = N("v-date-picker"), K = N("v-confirm-edit"), ce = N("v-menu"), de = N("v-text-field"), _ = N("v-time-picker");
|
|
1686
|
+
return V(), D(o(Se), R(n, {
|
|
1710
1687
|
class: o(s),
|
|
1711
1688
|
clearable: f.clearable,
|
|
1712
|
-
"onClick:clear": u[14] || (u[14] = (
|
|
1713
|
-
onBlur: u[15] || (u[15] = (
|
|
1689
|
+
"onClick:clear": u[14] || (u[14] = (I) => i.value = null),
|
|
1690
|
+
onBlur: u[15] || (u[15] = (I) => m.value = !0)
|
|
1714
1691
|
}), {
|
|
1715
|
-
default:
|
|
1716
|
-
|
|
1717
|
-
class:
|
|
1692
|
+
default: w((I) => [
|
|
1693
|
+
le("div", {
|
|
1694
|
+
class: Y(["d-flex w-100 ml-4 df-input-wrapper", f.density])
|
|
1718
1695
|
}, [
|
|
1719
|
-
["date", "datetime"].includes(o(
|
|
1696
|
+
["date", "datetime"].includes(o(h)) ? (V(), D(de, R({
|
|
1720
1697
|
key: 0,
|
|
1721
|
-
modelValue:
|
|
1722
|
-
"onUpdate:modelValue": u[4] || (u[4] = (
|
|
1698
|
+
modelValue: v.value,
|
|
1699
|
+
"onUpdate:modelValue": u[4] || (u[4] = (C) => v.value = C),
|
|
1723
1700
|
style: { "flex-grow": "4" },
|
|
1724
1701
|
density: "compact",
|
|
1725
1702
|
variant: "plain",
|
|
1726
1703
|
clearable: !1,
|
|
1727
1704
|
"hide-details": !0,
|
|
1728
|
-
readonly: o(
|
|
1729
|
-
disabled: o(
|
|
1730
|
-
name: `${o(
|
|
1705
|
+
readonly: o(p).readonly,
|
|
1706
|
+
disabled: o(p).disabled,
|
|
1707
|
+
name: `${o(p).name}-date`
|
|
1731
1708
|
}, f.passthroughAttrs, {
|
|
1732
|
-
onClick: u[5] || (u[5] = (
|
|
1733
|
-
onKeydown: u[6] || (u[6] =
|
|
1734
|
-
onFocus: (
|
|
1735
|
-
onBlur: (
|
|
1709
|
+
onClick: u[5] || (u[5] = (C) => c.value = "date"),
|
|
1710
|
+
onKeydown: u[6] || (u[6] = Fe((C) => c.value = "date", ["space"])),
|
|
1711
|
+
onFocus: (C) => I.focus(),
|
|
1712
|
+
onBlur: (C) => I.blur()
|
|
1736
1713
|
}), {
|
|
1737
|
-
default:
|
|
1738
|
-
|
|
1739
|
-
modelValue:
|
|
1740
|
-
"onUpdate:modelValue": u[3] || (u[3] = (
|
|
1714
|
+
default: w(() => [
|
|
1715
|
+
B(ce, {
|
|
1716
|
+
modelValue: j.value,
|
|
1717
|
+
"onUpdate:modelValue": u[3] || (u[3] = (C) => j.value = C),
|
|
1741
1718
|
"close-on-content-click": !1,
|
|
1742
1719
|
activator: "parent"
|
|
1743
1720
|
}, {
|
|
1744
|
-
default:
|
|
1745
|
-
|
|
1746
|
-
modelValue:
|
|
1747
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
1748
|
-
onCancel: u[1] || (u[1] = (
|
|
1749
|
-
onSave: u[2] || (u[2] = (
|
|
1721
|
+
default: w(() => [
|
|
1722
|
+
B(K, {
|
|
1723
|
+
modelValue: M.value,
|
|
1724
|
+
"onUpdate:modelValue": u[0] || (u[0] = (C) => M.value = C),
|
|
1725
|
+
onCancel: u[1] || (u[1] = (C) => c.value = ""),
|
|
1726
|
+
onSave: u[2] || (u[2] = (C) => c.value = "")
|
|
1750
1727
|
}, {
|
|
1751
|
-
default:
|
|
1752
|
-
|
|
1753
|
-
modelValue:
|
|
1754
|
-
"onUpdate:modelValue": (S) =>
|
|
1728
|
+
default: w(({ model: C, actions: J }) => [
|
|
1729
|
+
B(A, {
|
|
1730
|
+
modelValue: C.value,
|
|
1731
|
+
"onUpdate:modelValue": (S) => C.value = S,
|
|
1755
1732
|
"hide-header": !0,
|
|
1756
1733
|
"first-day-of-week": r.value,
|
|
1757
1734
|
"show-adjacent-months": !0,
|
|
1758
1735
|
"show-week": !0
|
|
1759
1736
|
}, {
|
|
1760
|
-
actions:
|
|
1761
|
-
(V(),
|
|
1737
|
+
actions: w(() => [
|
|
1738
|
+
(V(), D(he(J)))
|
|
1762
1739
|
]),
|
|
1763
1740
|
_: 2
|
|
1764
1741
|
}, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
|
|
@@ -1770,48 +1747,48 @@ const Lo = {
|
|
|
1770
1747
|
}, 8, ["modelValue"])
|
|
1771
1748
|
]),
|
|
1772
1749
|
_: 1
|
|
1773
|
-
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) :
|
|
1774
|
-
["time", "datetime"].includes(o(
|
|
1750
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : U("", !0),
|
|
1751
|
+
["time", "datetime"].includes(o(h)) ? (V(), D(de, R({
|
|
1775
1752
|
key: 1,
|
|
1776
|
-
modelValue:
|
|
1777
|
-
"onUpdate:modelValue": u[11] || (u[11] = (
|
|
1753
|
+
modelValue: L.value,
|
|
1754
|
+
"onUpdate:modelValue": u[11] || (u[11] = (C) => L.value = C),
|
|
1778
1755
|
style: { "flex-grow": "3" },
|
|
1779
1756
|
density: "compact",
|
|
1780
1757
|
variant: "plain",
|
|
1781
1758
|
clearable: !1,
|
|
1782
1759
|
"hide-details": !0,
|
|
1783
|
-
readonly: o(
|
|
1784
|
-
disabled: o(
|
|
1785
|
-
name: `${o(
|
|
1760
|
+
readonly: o(p).readonly,
|
|
1761
|
+
disabled: o(p).disabled,
|
|
1762
|
+
name: `${o(p).name}-time`
|
|
1786
1763
|
}, f.passthroughAttrs, {
|
|
1787
|
-
onClick: u[12] || (u[12] = (
|
|
1788
|
-
onKeydown: u[13] || (u[13] =
|
|
1789
|
-
onFocus: (
|
|
1790
|
-
onBlur: (
|
|
1764
|
+
onClick: u[12] || (u[12] = (C) => c.value = "time"),
|
|
1765
|
+
onKeydown: u[13] || (u[13] = Fe((C) => c.value = "time", ["space"])),
|
|
1766
|
+
onFocus: (C) => I.focus(),
|
|
1767
|
+
onBlur: (C) => I.blur()
|
|
1791
1768
|
}), {
|
|
1792
|
-
default:
|
|
1793
|
-
|
|
1794
|
-
modelValue:
|
|
1795
|
-
"onUpdate:modelValue": u[10] || (u[10] = (
|
|
1769
|
+
default: w(() => [
|
|
1770
|
+
B(ce, {
|
|
1771
|
+
modelValue: T.value,
|
|
1772
|
+
"onUpdate:modelValue": u[10] || (u[10] = (C) => T.value = C),
|
|
1796
1773
|
"close-on-content-click": !1,
|
|
1797
1774
|
activator: "parent"
|
|
1798
1775
|
}, {
|
|
1799
|
-
default:
|
|
1800
|
-
|
|
1801
|
-
modelValue:
|
|
1802
|
-
"onUpdate:modelValue": u[7] || (u[7] = (
|
|
1803
|
-
onCancel: u[8] || (u[8] = (
|
|
1804
|
-
onSave: u[9] || (u[9] = (
|
|
1776
|
+
default: w(() => [
|
|
1777
|
+
B(K, {
|
|
1778
|
+
modelValue: E.value,
|
|
1779
|
+
"onUpdate:modelValue": u[7] || (u[7] = (C) => E.value = C),
|
|
1780
|
+
onCancel: u[8] || (u[8] = (C) => c.value = ""),
|
|
1781
|
+
onSave: u[9] || (u[9] = (C) => c.value = "")
|
|
1805
1782
|
}, {
|
|
1806
|
-
default:
|
|
1807
|
-
|
|
1808
|
-
modelValue:
|
|
1809
|
-
"onUpdate:modelValue": (S) =>
|
|
1783
|
+
default: w(({ model: C, actions: J }) => [
|
|
1784
|
+
B(_, {
|
|
1785
|
+
modelValue: C.value,
|
|
1786
|
+
"onUpdate:modelValue": (S) => C.value = S,
|
|
1810
1787
|
"hide-header": !0,
|
|
1811
1788
|
format: "24hr"
|
|
1812
1789
|
}, {
|
|
1813
|
-
actions:
|
|
1814
|
-
(V(),
|
|
1790
|
+
actions: w(() => [
|
|
1791
|
+
(V(), D(he(J)))
|
|
1815
1792
|
]),
|
|
1816
1793
|
_: 2
|
|
1817
1794
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1823,16 +1800,16 @@ const Lo = {
|
|
|
1823
1800
|
}, 8, ["modelValue"])
|
|
1824
1801
|
]),
|
|
1825
1802
|
_: 1
|
|
1826
|
-
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) :
|
|
1803
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : U("", !0)
|
|
1827
1804
|
], 2)
|
|
1828
1805
|
]),
|
|
1829
1806
|
_: 1
|
|
1830
1807
|
}, 16, ["class", "clearable"]);
|
|
1831
1808
|
};
|
|
1832
1809
|
}
|
|
1833
|
-
}), Wo = /* @__PURE__ */
|
|
1810
|
+
}), Wo = /* @__PURE__ */ H({
|
|
1834
1811
|
__name: "df-file",
|
|
1835
|
-
props: /* @__PURE__ */
|
|
1812
|
+
props: /* @__PURE__ */ Q({
|
|
1836
1813
|
comms: {},
|
|
1837
1814
|
control: {},
|
|
1838
1815
|
modelValue: {},
|
|
@@ -1848,80 +1825,80 @@ const Lo = {
|
|
|
1848
1825
|
passthroughAttrs: {},
|
|
1849
1826
|
density: {},
|
|
1850
1827
|
variant: {}
|
|
1851
|
-
},
|
|
1828
|
+
}, Z),
|
|
1852
1829
|
emits: ["update:modelValue", "click:clear"],
|
|
1853
1830
|
setup(e, { emit: t }) {
|
|
1854
|
-
const n = e, a = t, { densityClass: l, touched: r, value: s, vuetifyBindings:
|
|
1855
|
-
function
|
|
1831
|
+
const n = e, a = t, { densityClass: l, touched: r, value: s, vuetifyBindings: m } = G(n, a), i = F(null), p = F(null), h = F(0), d = F(Math.round(Math.random() * 1e3)), y = F(), c = b(() => p.value && h.value < 100), j = b(() => !y.value && s.value ? n.modelValue : "");
|
|
1832
|
+
function T() {
|
|
1856
1833
|
i.value && window.clearInterval(i.value);
|
|
1857
1834
|
}
|
|
1858
|
-
function
|
|
1859
|
-
|
|
1835
|
+
function k() {
|
|
1836
|
+
T(), i.value = window.setInterval(() => {
|
|
1860
1837
|
s.value && n.comms.touch(s.value);
|
|
1861
1838
|
}, 60 * 1e3);
|
|
1862
1839
|
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1840
|
+
Xe(() => T()), ue(s, (E) => {
|
|
1841
|
+
E ? k() : T();
|
|
1865
1842
|
});
|
|
1866
|
-
function
|
|
1843
|
+
function g() {
|
|
1867
1844
|
return ge(this, null, function* () {
|
|
1868
|
-
s.value && (yield n.comms.delete(s.value)), s.value = null,
|
|
1845
|
+
s.value && (yield n.comms.delete(s.value)), s.value = null, h.value = 0, d.value = Math.round(Math.random() * 1e3), p.value = null, y.value = null, T();
|
|
1869
1846
|
});
|
|
1870
1847
|
}
|
|
1871
|
-
function E
|
|
1848
|
+
function P(E) {
|
|
1872
1849
|
return ge(this, null, function* () {
|
|
1873
|
-
|
|
1850
|
+
h.value = -1, p.value = E;
|
|
1874
1851
|
try {
|
|
1875
|
-
s.value = yield n.comms.upload(
|
|
1876
|
-
|
|
1877
|
-
}),
|
|
1878
|
-
} catch (
|
|
1879
|
-
throw
|
|
1852
|
+
s.value = yield n.comms.upload(E, (v, L) => {
|
|
1853
|
+
h.value = Math.round(v * 100 / L);
|
|
1854
|
+
}), h.value = 100, k();
|
|
1855
|
+
} catch (v) {
|
|
1856
|
+
throw h.value = 0, p.value = null, d.value = Math.round(Math.random() * 1e3), y.value = null, v;
|
|
1880
1857
|
}
|
|
1881
1858
|
});
|
|
1882
1859
|
}
|
|
1883
|
-
function
|
|
1884
|
-
|
|
1860
|
+
function M(E) {
|
|
1861
|
+
E && (Array.isArray(E) ? console.error("Uploading multiple files not supported right now") : P(E));
|
|
1885
1862
|
}
|
|
1886
|
-
return (
|
|
1887
|
-
const
|
|
1888
|
-
return V(),
|
|
1863
|
+
return (E, v) => {
|
|
1864
|
+
const L = N("v-progress-linear"), f = N("v-file-input");
|
|
1865
|
+
return V(), D(o(Se), R(O(x({}, n), { loading: c.value }), {
|
|
1889
1866
|
class: o(l),
|
|
1890
1867
|
clearable: "",
|
|
1891
|
-
"onClick:clear":
|
|
1892
|
-
onBlur:
|
|
1868
|
+
"onClick:clear": g,
|
|
1869
|
+
onBlur: v[1] || (v[1] = (u) => r.value = !0)
|
|
1893
1870
|
}), {
|
|
1894
|
-
"prepend-inner":
|
|
1895
|
-
|
|
1871
|
+
"prepend-inner": w(() => [
|
|
1872
|
+
B(o(be), { name: "mdi-paperclip" })
|
|
1896
1873
|
]),
|
|
1897
|
-
loader:
|
|
1898
|
-
|
|
1874
|
+
loader: w(() => [
|
|
1875
|
+
p.value && h.value < 100 ? (V(), D(L, {
|
|
1899
1876
|
key: 0,
|
|
1900
|
-
"model-value":
|
|
1901
|
-
indeterminate:
|
|
1902
|
-
}, null, 8, ["model-value", "indeterminate"])) :
|
|
1877
|
+
"model-value": h.value,
|
|
1878
|
+
indeterminate: h.value === -1
|
|
1879
|
+
}, null, 8, ["model-value", "indeterminate"])) : U("", !0)
|
|
1903
1880
|
]),
|
|
1904
|
-
default:
|
|
1905
|
-
|
|
1906
|
-
class:
|
|
1881
|
+
default: w((u) => [
|
|
1882
|
+
le("div", {
|
|
1883
|
+
class: Y(["d-flex w-100 position-relative df-input-wrapper", E.density])
|
|
1907
1884
|
}, [
|
|
1908
|
-
|
|
1909
|
-
modelValue:
|
|
1910
|
-
"onUpdate:modelValue":
|
|
1911
|
-
label:
|
|
1885
|
+
B(f, R({
|
|
1886
|
+
modelValue: y.value,
|
|
1887
|
+
"onUpdate:modelValue": v[0] || (v[0] = (A) => y.value = A),
|
|
1888
|
+
label: j.value,
|
|
1912
1889
|
density: "compact",
|
|
1913
1890
|
variant: "plain",
|
|
1914
|
-
readonly: o(
|
|
1915
|
-
disabled: o(
|
|
1916
|
-
name: o(
|
|
1891
|
+
readonly: o(m).readonly,
|
|
1892
|
+
disabled: o(m).disabled,
|
|
1893
|
+
name: o(m).name,
|
|
1917
1894
|
"hide-details": !0,
|
|
1918
1895
|
"show-size": !0,
|
|
1919
1896
|
multiple: !1,
|
|
1920
|
-
style:
|
|
1897
|
+
style: p.value && h.value < 100 ? "visibility: hidden" : "",
|
|
1921
1898
|
clearable: !1
|
|
1922
|
-
},
|
|
1899
|
+
}, E.passthroughAttrs, {
|
|
1923
1900
|
"prepend-icon": "",
|
|
1924
|
-
"onUpdate:modelValue":
|
|
1901
|
+
"onUpdate:modelValue": M,
|
|
1925
1902
|
onFocus: (A) => u.focus(),
|
|
1926
1903
|
onBlur: (A) => u.blur()
|
|
1927
1904
|
}), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
|
|
@@ -1931,9 +1908,9 @@ const Lo = {
|
|
|
1931
1908
|
}, 16, ["class"]);
|
|
1932
1909
|
};
|
|
1933
1910
|
}
|
|
1934
|
-
}), zo = /* @__PURE__ */
|
|
1911
|
+
}), zo = /* @__PURE__ */ H({
|
|
1935
1912
|
__name: "df-input",
|
|
1936
|
-
props: /* @__PURE__ */
|
|
1913
|
+
props: /* @__PURE__ */ Q({
|
|
1937
1914
|
inputType: {},
|
|
1938
1915
|
precision: {},
|
|
1939
1916
|
step: {},
|
|
@@ -1953,7 +1930,7 @@ const Lo = {
|
|
|
1953
1930
|
passthroughAttrs: {},
|
|
1954
1931
|
density: {},
|
|
1955
1932
|
variant: {}
|
|
1956
|
-
},
|
|
1933
|
+
}, O(x({}, Z), {
|
|
1957
1934
|
inputType: "text",
|
|
1958
1935
|
precision: null,
|
|
1959
1936
|
step: void 0,
|
|
@@ -1962,53 +1939,53 @@ const Lo = {
|
|
|
1962
1939
|
})),
|
|
1963
1940
|
emits: ["update:modelValue", "click:clear"],
|
|
1964
1941
|
setup(e, { emit: t }) {
|
|
1965
|
-
const n = e, a = t, { densityClass: l,
|
|
1966
|
-
() =>
|
|
1942
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: m, value: i, vuetifyBindings: p } = G(n, a), { inputType: h, max: d, min: y, precision: c, step: j } = Ce(n), T = b(() => h.value === "number"), k = b(
|
|
1943
|
+
() => T.value ? { min: o(y), max: o(d), precision: o(c), step: o(j) } : {}
|
|
1967
1944
|
);
|
|
1968
|
-
return (
|
|
1969
|
-
const
|
|
1945
|
+
return (g, P) => {
|
|
1946
|
+
const M = N("v-text-field"), E = N("v-number-input");
|
|
1970
1947
|
return V(), W("div", {
|
|
1971
|
-
class:
|
|
1948
|
+
class: Y(["df-input-container", o(l)])
|
|
1972
1949
|
}, [
|
|
1973
|
-
|
|
1950
|
+
T.value ? (V(), D(E, R({
|
|
1974
1951
|
key: 1,
|
|
1975
1952
|
modelValue: o(i),
|
|
1976
|
-
"onUpdate:modelValue":
|
|
1977
|
-
}, x(x({}, o(
|
|
1953
|
+
"onUpdate:modelValue": P[2] || (P[2] = (v) => ae(i) ? i.value = v : null)
|
|
1954
|
+
}, x(x({}, o(p)), k.value), {
|
|
1978
1955
|
density: "compact",
|
|
1979
1956
|
"control-variant": "stacked"
|
|
1980
1957
|
}), {
|
|
1981
|
-
label:
|
|
1982
|
-
|
|
1983
|
-
data:
|
|
1984
|
-
label: o(
|
|
1958
|
+
label: w((v) => [
|
|
1959
|
+
B(o(re), {
|
|
1960
|
+
data: v,
|
|
1961
|
+
label: o(r)
|
|
1985
1962
|
}, null, 8, ["data", "label"])
|
|
1986
1963
|
]),
|
|
1987
|
-
message:
|
|
1988
|
-
|
|
1989
|
-
message:
|
|
1990
|
-
errors: o(
|
|
1964
|
+
message: w(({ message: v }) => [
|
|
1965
|
+
B(o(q), {
|
|
1966
|
+
message: v,
|
|
1967
|
+
errors: o(s)
|
|
1991
1968
|
}, null, 8, ["message", "errors"])
|
|
1992
1969
|
]),
|
|
1993
1970
|
_: 1
|
|
1994
|
-
}, 16, ["modelValue"])) : (V(),
|
|
1971
|
+
}, 16, ["modelValue"])) : (V(), D(M, R({
|
|
1995
1972
|
key: 0,
|
|
1996
1973
|
modelValue: o(i),
|
|
1997
|
-
"onUpdate:modelValue":
|
|
1998
|
-
}, o(
|
|
1999
|
-
type: o(
|
|
2000
|
-
onBlur:
|
|
1974
|
+
"onUpdate:modelValue": P[0] || (P[0] = (v) => ae(i) ? i.value = v : null)
|
|
1975
|
+
}, o(p), {
|
|
1976
|
+
type: o(h),
|
|
1977
|
+
onBlur: P[1] || (P[1] = (v) => m.value = !0)
|
|
2001
1978
|
}), {
|
|
2002
|
-
label:
|
|
2003
|
-
|
|
2004
|
-
data:
|
|
2005
|
-
label: o(
|
|
1979
|
+
label: w((v) => [
|
|
1980
|
+
B(o(re), {
|
|
1981
|
+
data: v,
|
|
1982
|
+
label: o(r)
|
|
2006
1983
|
}, null, 8, ["data", "label"])
|
|
2007
1984
|
]),
|
|
2008
|
-
message:
|
|
2009
|
-
|
|
2010
|
-
message:
|
|
2011
|
-
errors: o(
|
|
1985
|
+
message: w(({ message: v }) => [
|
|
1986
|
+
B(o(q), {
|
|
1987
|
+
message: v,
|
|
1988
|
+
errors: o(s)
|
|
2012
1989
|
}, null, 8, ["message", "errors"])
|
|
2013
1990
|
]),
|
|
2014
1991
|
_: 1
|
|
@@ -2016,7 +1993,7 @@ const Lo = {
|
|
|
2016
1993
|
], 2);
|
|
2017
1994
|
};
|
|
2018
1995
|
}
|
|
2019
|
-
}), Ko = { class: "editor-container" }, Xo = { class: "editor-container__editor" }, Go = { ref: "editorElement" }, qo = /* @__PURE__ */
|
|
1996
|
+
}), Ko = { class: "editor-container" }, Xo = { class: "editor-container__editor" }, Go = { ref: "editorElement" }, qo = /* @__PURE__ */ H({
|
|
2020
1997
|
__name: "ck-editor-custom",
|
|
2021
1998
|
props: {
|
|
2022
1999
|
modelValue: { default: "" },
|
|
@@ -2025,10 +2002,10 @@ const Lo = {
|
|
|
2025
2002
|
},
|
|
2026
2003
|
emits: ["update:modelValue"],
|
|
2027
2004
|
setup(e, { expose: t, emit: n }) {
|
|
2028
|
-
|
|
2029
|
-
"32dcdf6e":
|
|
2005
|
+
mt((d) => ({
|
|
2006
|
+
"32dcdf6e": d.minHeight
|
|
2030
2007
|
}));
|
|
2031
|
-
const a = n, l =
|
|
2008
|
+
const a = n, l = F(!1), r = mn, s = {
|
|
2032
2009
|
items: [
|
|
2033
2010
|
"undo",
|
|
2034
2011
|
"redo",
|
|
@@ -2057,7 +2034,7 @@ const Lo = {
|
|
|
2057
2034
|
"accessibilityHelp"
|
|
2058
2035
|
],
|
|
2059
2036
|
shouldNotGroupWhenFull: !1
|
|
2060
|
-
},
|
|
2037
|
+
}, m = [
|
|
2061
2038
|
jt,
|
|
2062
2039
|
Tt,
|
|
2063
2040
|
_t,
|
|
@@ -2071,9 +2048,9 @@ const Lo = {
|
|
|
2071
2048
|
$t,
|
|
2072
2049
|
At,
|
|
2073
2050
|
Nt,
|
|
2051
|
+
Ft,
|
|
2074
2052
|
Mt,
|
|
2075
2053
|
Lt,
|
|
2076
|
-
Ft,
|
|
2077
2054
|
Ut,
|
|
2078
2055
|
Ht,
|
|
2079
2056
|
Ot,
|
|
@@ -2109,10 +2086,10 @@ const Lo = {
|
|
|
2109
2086
|
{ model: "heading5", view: "h5", title: $.Heading5, class: "ck-heading_heading5" },
|
|
2110
2087
|
{ model: "heading6", view: "h6", title: $.Heading6, class: "ck-heading_heading6" }
|
|
2111
2088
|
]
|
|
2112
|
-
},
|
|
2113
|
-
language:
|
|
2089
|
+
}, p = {
|
|
2090
|
+
language: ke.language,
|
|
2114
2091
|
toolbar: s,
|
|
2115
|
-
plugins:
|
|
2092
|
+
plugins: m,
|
|
2116
2093
|
balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
|
|
2117
2094
|
heading: i,
|
|
2118
2095
|
htmlSupport: {
|
|
@@ -2157,36 +2134,36 @@ const Lo = {
|
|
|
2157
2134
|
]
|
|
2158
2135
|
},
|
|
2159
2136
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] },
|
|
2160
|
-
translations:
|
|
2137
|
+
translations: ke.translations
|
|
2161
2138
|
};
|
|
2162
|
-
|
|
2139
|
+
Ke(() => {
|
|
2163
2140
|
l.value = !0;
|
|
2164
2141
|
});
|
|
2165
|
-
const
|
|
2142
|
+
const h = (d) => {
|
|
2166
2143
|
};
|
|
2167
|
-
return t({ onEditorReady:
|
|
2144
|
+
return t({ onEditorReady: h }), (d, y) => {
|
|
2168
2145
|
const c = N("ckeditor");
|
|
2169
2146
|
return V(), W("div", Ko, [
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
l.value ? (V(),
|
|
2147
|
+
le("div", Xo, [
|
|
2148
|
+
le("div", Go, [
|
|
2149
|
+
l.value ? (V(), D(c, {
|
|
2173
2150
|
key: 0,
|
|
2174
|
-
"model-value":
|
|
2151
|
+
"model-value": d.modelValue,
|
|
2175
2152
|
editor: o(r),
|
|
2176
|
-
config:
|
|
2177
|
-
disabled:
|
|
2178
|
-
style:
|
|
2179
|
-
onReady:
|
|
2180
|
-
"onUpdate:modelValue":
|
|
2181
|
-
}, null, 8, ["model-value", "editor", "disabled", "style"])) :
|
|
2153
|
+
config: p,
|
|
2154
|
+
disabled: d.disabled,
|
|
2155
|
+
style: Ge(`min-height: ${d.minHeight}`),
|
|
2156
|
+
onReady: h,
|
|
2157
|
+
"onUpdate:modelValue": y[0] || (y[0] = (j) => a("update:modelValue", j))
|
|
2158
|
+
}, null, 8, ["model-value", "editor", "disabled", "style"])) : U("", !0)
|
|
2182
2159
|
], 512)
|
|
2183
2160
|
])
|
|
2184
2161
|
]);
|
|
2185
2162
|
};
|
|
2186
2163
|
}
|
|
2187
|
-
}), Yo = /* @__PURE__ */
|
|
2164
|
+
}), Yo = /* @__PURE__ */ H({
|
|
2188
2165
|
__name: "df-rtf-editor",
|
|
2189
|
-
props: /* @__PURE__ */
|
|
2166
|
+
props: /* @__PURE__ */ Q({
|
|
2190
2167
|
minHeight: {},
|
|
2191
2168
|
control: {},
|
|
2192
2169
|
modelValue: {},
|
|
@@ -2202,25 +2179,25 @@ const Lo = {
|
|
|
2202
2179
|
passthroughAttrs: {},
|
|
2203
2180
|
density: {},
|
|
2204
2181
|
variant: {}
|
|
2205
|
-
},
|
|
2182
|
+
}, O(x({}, Z), { minHeight: void 0 })),
|
|
2206
2183
|
emits: ["update:modelValue", "click:clear"],
|
|
2207
2184
|
setup(e, { emit: t }) {
|
|
2208
2185
|
const n = e, a = t, { densityClass: l, value: r, vuetifyBindings: s } = G(n, a);
|
|
2209
|
-
return (
|
|
2186
|
+
return (m, i) => (V(), D(o(Se), R(n, {
|
|
2210
2187
|
class: ["ck-editor-custom", o(l)]
|
|
2211
2188
|
}), {
|
|
2212
|
-
default:
|
|
2213
|
-
|
|
2189
|
+
default: w((p) => [
|
|
2190
|
+
B(qo, R({
|
|
2214
2191
|
ref: "$editor",
|
|
2215
2192
|
modelValue: o(r),
|
|
2216
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2217
|
-
class: { "mt-6": !!
|
|
2218
|
-
"min-height":
|
|
2193
|
+
"onUpdate:modelValue": i[0] || (i[0] = (h) => ae(r) ? r.value = h : null),
|
|
2194
|
+
class: { "mt-6": !!m.label },
|
|
2195
|
+
"min-height": m.minHeight,
|
|
2219
2196
|
disabled: o(s).disabled,
|
|
2220
2197
|
placeholder: "dfsjghdf"
|
|
2221
|
-
},
|
|
2222
|
-
onFocusin: (
|
|
2223
|
-
onFocusout: (
|
|
2198
|
+
}, m.passthroughAttrs, {
|
|
2199
|
+
onFocusin: (h) => p.focus(),
|
|
2200
|
+
onFocusout: (h) => p.blur()
|
|
2224
2201
|
}), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
|
|
2225
2202
|
]),
|
|
2226
2203
|
_: 1
|
|
@@ -2230,37 +2207,37 @@ const Lo = {
|
|
|
2230
2207
|
function Qo(e) {
|
|
2231
2208
|
return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
|
|
2232
2209
|
}
|
|
2233
|
-
function
|
|
2210
|
+
function ee(e, t) {
|
|
2234
2211
|
var n;
|
|
2235
|
-
return e == null ||
|
|
2212
|
+
return e == null || Oe(e) && e.length === 0 ? null : t ? qe(e) : Oe(e) ? (n = Ye(e)) != null ? n : null : e;
|
|
2236
2213
|
}
|
|
2237
|
-
function
|
|
2214
|
+
function Ve(e, t) {
|
|
2238
2215
|
if (t == null) return [];
|
|
2239
|
-
const n =
|
|
2216
|
+
const n = qe(t);
|
|
2240
2217
|
return e.filter((a) => n.some((l) => l === a.id));
|
|
2241
2218
|
}
|
|
2242
|
-
function
|
|
2219
|
+
function we(e, t, n, a, l) {
|
|
2243
2220
|
var s;
|
|
2244
|
-
const r =
|
|
2221
|
+
const r = ee(e, n);
|
|
2245
2222
|
if (r == null) {
|
|
2246
2223
|
t.value = n ? [] : null;
|
|
2247
2224
|
return;
|
|
2248
2225
|
}
|
|
2249
2226
|
if (n)
|
|
2250
|
-
a ? t.value = r : t.value =
|
|
2227
|
+
a ? t.value = r : t.value = Ve(l, r).map((m) => m.id);
|
|
2251
2228
|
else if (a)
|
|
2252
2229
|
t.value = r;
|
|
2253
2230
|
else {
|
|
2254
|
-
const
|
|
2255
|
-
t.value = (s =
|
|
2231
|
+
const m = Ye(Ve(l, r));
|
|
2232
|
+
t.value = (s = m == null ? void 0 : m.id) != null ? s : null;
|
|
2256
2233
|
}
|
|
2257
2234
|
}
|
|
2258
2235
|
const Zo = {
|
|
2259
2236
|
key: 0,
|
|
2260
2237
|
class: "me-1"
|
|
2261
|
-
}, Jo = /* @__PURE__ */
|
|
2238
|
+
}, Jo = /* @__PURE__ */ H({
|
|
2262
2239
|
__name: "df-select",
|
|
2263
|
-
props: /* @__PURE__ */
|
|
2240
|
+
props: /* @__PURE__ */ Q({
|
|
2264
2241
|
choices: {},
|
|
2265
2242
|
multiple: { type: Boolean },
|
|
2266
2243
|
allowTags: { type: Boolean },
|
|
@@ -2280,7 +2257,7 @@ const Zo = {
|
|
|
2280
2257
|
passthroughAttrs: {},
|
|
2281
2258
|
density: {},
|
|
2282
2259
|
variant: {}
|
|
2283
|
-
},
|
|
2260
|
+
}, O(x({}, Z), {
|
|
2284
2261
|
choices: void 0,
|
|
2285
2262
|
multiple: !1,
|
|
2286
2263
|
allowTags: !1,
|
|
@@ -2289,112 +2266,112 @@ const Zo = {
|
|
|
2289
2266
|
})),
|
|
2290
2267
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
2291
2268
|
setup(e, { emit: t }) {
|
|
2292
|
-
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass:
|
|
2293
|
-
densityClass:
|
|
2294
|
-
|
|
2295
|
-
|
|
2269
|
+
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass: m, visibility: i } = Ce(n), p = t, {
|
|
2270
|
+
densityClass: h,
|
|
2271
|
+
label: d,
|
|
2272
|
+
showErrors: y,
|
|
2296
2273
|
touched: c,
|
|
2297
|
-
value:
|
|
2298
|
-
vuetifyBindings:
|
|
2299
|
-
} = G(n,
|
|
2300
|
-
|
|
2301
|
-
function
|
|
2302
|
-
|
|
2274
|
+
value: j,
|
|
2275
|
+
vuetifyBindings: T
|
|
2276
|
+
} = G(n, p), k = F(null), g = F(!1), P = F([]), M = b(() => o(g) ? o(P) : o(a) || []), E = F(!1), v = b(() => Qo(M.value));
|
|
2277
|
+
v.value && n.fetchChoices !== void 0 && console.warn("Both options and fetchChoices are set. Only one of them should be set.");
|
|
2278
|
+
function L(_) {
|
|
2279
|
+
p("update:modelValueDisplay", Ve(M.value, _));
|
|
2303
2280
|
}
|
|
2304
2281
|
let f = !1;
|
|
2305
|
-
function u(
|
|
2306
|
-
f = !0,
|
|
2282
|
+
function u(_) {
|
|
2283
|
+
f = !0, j.value = _, Me(() => {
|
|
2307
2284
|
f = !1;
|
|
2308
2285
|
});
|
|
2309
2286
|
}
|
|
2310
2287
|
ue(
|
|
2311
|
-
|
|
2312
|
-
(
|
|
2313
|
-
|
|
2314
|
-
const
|
|
2315
|
-
|
|
2288
|
+
k,
|
|
2289
|
+
(_) => {
|
|
2290
|
+
T.value.readonly || Me(() => {
|
|
2291
|
+
const I = ee(_, l.value);
|
|
2292
|
+
L(I), u(I);
|
|
2316
2293
|
});
|
|
2317
2294
|
},
|
|
2318
2295
|
{ deep: !0 }
|
|
2319
2296
|
), ue(
|
|
2320
|
-
|
|
2321
|
-
(
|
|
2297
|
+
j,
|
|
2298
|
+
(_) => {
|
|
2322
2299
|
if (!f) {
|
|
2323
|
-
const
|
|
2324
|
-
|
|
2300
|
+
const I = ee(_, l.value);
|
|
2301
|
+
we(I, k, l.value, !1, M.value);
|
|
2325
2302
|
}
|
|
2326
2303
|
},
|
|
2327
2304
|
{ deep: !0 }
|
|
2328
2305
|
);
|
|
2329
2306
|
function A() {
|
|
2330
|
-
if (
|
|
2331
|
-
const
|
|
2332
|
-
|
|
2307
|
+
if (T.value.readonly || r.value) return;
|
|
2308
|
+
const _ = ee(k.value, l.value);
|
|
2309
|
+
we(_, k, l.value, !1, M.value), u(_);
|
|
2333
2310
|
}
|
|
2334
|
-
function K(
|
|
2335
|
-
let
|
|
2336
|
-
l.value && Array.isArray(
|
|
2337
|
-
|
|
2311
|
+
function K(_) {
|
|
2312
|
+
let I;
|
|
2313
|
+
l.value && Array.isArray(k.value) ? I = ee(
|
|
2314
|
+
k.value.filter((C) => C !== _),
|
|
2338
2315
|
l.value
|
|
2339
|
-
) :
|
|
2316
|
+
) : I = null, we(I, k, l.value, !1, M.value), u(I);
|
|
2340
2317
|
}
|
|
2341
|
-
function ce(
|
|
2318
|
+
function ce(_, I) {
|
|
2342
2319
|
return ge(this, null, function* () {
|
|
2343
2320
|
if (!(a.value || n.fetchChoices === void 0)) {
|
|
2344
|
-
|
|
2321
|
+
E.value = !0;
|
|
2345
2322
|
try {
|
|
2346
|
-
const
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
),
|
|
2350
|
-
|
|
2323
|
+
const C = Ve(
|
|
2324
|
+
M.value,
|
|
2325
|
+
ee(k.value, l.value)
|
|
2326
|
+
), J = yield n.fetchChoices(_, I);
|
|
2327
|
+
P.value = ht([...C, ...J], "id"), g.value = !0;
|
|
2351
2328
|
} finally {
|
|
2352
|
-
|
|
2329
|
+
E.value = !1;
|
|
2353
2330
|
}
|
|
2354
2331
|
}
|
|
2355
2332
|
});
|
|
2356
2333
|
}
|
|
2357
2334
|
function de() {
|
|
2358
|
-
let
|
|
2359
|
-
!s.value &&
|
|
2335
|
+
let _ = j.value;
|
|
2336
|
+
!s.value && _ == null && v.value.length && (_ = v.value[0].value), _ = ee(_, l.value), we(_, k, l.value, r.value, M.value), L(_), u(_);
|
|
2360
2337
|
}
|
|
2361
|
-
return de(), n.fetchChoices !== void 0 && ce(void 0,
|
|
2338
|
+
return de(), n.fetchChoices !== void 0 && ce(void 0, j.value).then(() => {
|
|
2362
2339
|
de();
|
|
2363
|
-
}), (
|
|
2364
|
-
const
|
|
2365
|
-
return o(i) !== o(X).SUPPRESS ? (V(),
|
|
2340
|
+
}), (_, I) => {
|
|
2341
|
+
const C = N("v-chip"), J = N("v-list-item");
|
|
2342
|
+
return o(i) !== o(X).SUPPRESS ? (V(), D(he(o(r) ? "v-combobox" : "v-autocomplete"), R({
|
|
2366
2343
|
key: 0,
|
|
2367
|
-
modelValue:
|
|
2368
|
-
"onUpdate:modelValue":
|
|
2344
|
+
modelValue: k.value,
|
|
2345
|
+
"onUpdate:modelValue": I[0] || (I[0] = (S) => k.value = S),
|
|
2369
2346
|
class: [
|
|
2370
|
-
o(
|
|
2371
|
-
o(
|
|
2347
|
+
o(m),
|
|
2348
|
+
o(h),
|
|
2372
2349
|
{
|
|
2373
2350
|
"d-none": o(i) === o(X).HIDDEN,
|
|
2374
2351
|
invisible: o(i) === o(X).INVISIBLE
|
|
2375
2352
|
}
|
|
2376
2353
|
],
|
|
2377
|
-
items:
|
|
2354
|
+
items: v.value,
|
|
2378
2355
|
"return-object": !1
|
|
2379
|
-
}, o(
|
|
2380
|
-
label: o(
|
|
2356
|
+
}, o(T), {
|
|
2357
|
+
label: o(T).label,
|
|
2381
2358
|
chips: "",
|
|
2382
2359
|
"auto-select-first": !0,
|
|
2383
|
-
"closable-chips": o(s) || o(l) &&
|
|
2360
|
+
"closable-chips": o(s) || o(l) && k.value.length > 1,
|
|
2384
2361
|
clearable: o(s),
|
|
2385
2362
|
multiple: o(l),
|
|
2386
|
-
loading:
|
|
2363
|
+
loading: E.value,
|
|
2387
2364
|
"hide-selected": !1,
|
|
2388
|
-
"aria-describedby": o(
|
|
2365
|
+
"aria-describedby": o(T).helpText ? `${o(T).name}-help` : null,
|
|
2389
2366
|
"menu-props": { maxHeight: "400" },
|
|
2390
2367
|
"hide-details": "auto",
|
|
2391
|
-
"onUpdate:search":
|
|
2368
|
+
"onUpdate:search": I[1] || (I[1] = (S) => ce(S, void 0)),
|
|
2392
2369
|
"onUpdate:modelValue": A,
|
|
2393
|
-
"onClick:clear":
|
|
2394
|
-
onBlur:
|
|
2395
|
-
}),
|
|
2396
|
-
chip:
|
|
2397
|
-
(V(),
|
|
2370
|
+
"onClick:clear": I[2] || (I[2] = (S) => k.value = null),
|
|
2371
|
+
onBlur: I[3] || (I[3] = (S) => c.value = !0)
|
|
2372
|
+
}), De({
|
|
2373
|
+
chip: w(({ item: S }) => [
|
|
2374
|
+
(V(), D(C, {
|
|
2398
2375
|
key: S.value,
|
|
2399
2376
|
label: "",
|
|
2400
2377
|
size: "small",
|
|
@@ -2403,74 +2380,74 @@ const Zo = {
|
|
|
2403
2380
|
closable: o(l),
|
|
2404
2381
|
"onClick:close": (ie) => K(S.value)
|
|
2405
2382
|
}, {
|
|
2406
|
-
prepend:
|
|
2383
|
+
prepend: w(() => {
|
|
2407
2384
|
var ie;
|
|
2408
2385
|
return [
|
|
2409
|
-
(ie = S.raw) != null && ie.icon ? (V(),
|
|
2386
|
+
(ie = S.raw) != null && ie.icon ? (V(), D(o(be), {
|
|
2410
2387
|
key: 0,
|
|
2411
2388
|
class: "me-1",
|
|
2412
2389
|
name: S.raw.icon
|
|
2413
|
-
}, null, 8, ["name"])) :
|
|
2390
|
+
}, null, 8, ["name"])) : U("", !0)
|
|
2414
2391
|
];
|
|
2415
2392
|
}),
|
|
2416
|
-
default:
|
|
2417
|
-
|
|
2418
|
-
class:
|
|
2419
|
-
},
|
|
2393
|
+
default: w(() => [
|
|
2394
|
+
le("span", {
|
|
2395
|
+
class: Y({ "text-body-1": !o(l) })
|
|
2396
|
+
}, Pe(S.title), 3)
|
|
2420
2397
|
]),
|
|
2421
2398
|
_: 2
|
|
2422
2399
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
2423
2400
|
]),
|
|
2424
|
-
label:
|
|
2425
|
-
|
|
2401
|
+
label: w((S) => [
|
|
2402
|
+
B(o(re), {
|
|
2426
2403
|
data: S,
|
|
2427
|
-
label: o(
|
|
2404
|
+
label: o(d)
|
|
2428
2405
|
}, null, 8, ["data", "label"])
|
|
2429
2406
|
]),
|
|
2430
|
-
item:
|
|
2431
|
-
|
|
2432
|
-
prepend:
|
|
2433
|
-
var
|
|
2407
|
+
item: w(({ props: S, item: ie }) => [
|
|
2408
|
+
B(J, te(ne(S)), {
|
|
2409
|
+
prepend: w(() => {
|
|
2410
|
+
var xe;
|
|
2434
2411
|
return [
|
|
2435
|
-
(
|
|
2436
|
-
|
|
2412
|
+
(xe = ie.raw) != null && xe.icon ? (V(), W("span", Zo, [
|
|
2413
|
+
B(o(be), {
|
|
2437
2414
|
class: "action-icon",
|
|
2438
2415
|
name: ie.raw.icon
|
|
2439
2416
|
}, null, 8, ["name"])
|
|
2440
|
-
])) :
|
|
2417
|
+
])) : U("", !0)
|
|
2441
2418
|
];
|
|
2442
2419
|
}),
|
|
2443
2420
|
_: 2
|
|
2444
2421
|
}, 1040)
|
|
2445
2422
|
]),
|
|
2446
|
-
message:
|
|
2447
|
-
|
|
2423
|
+
message: w(({ message: S }) => [
|
|
2424
|
+
B(o(q), {
|
|
2448
2425
|
message: S,
|
|
2449
|
-
errors: o(
|
|
2426
|
+
errors: o(y)
|
|
2450
2427
|
}, null, 8, ["message", "errors"])
|
|
2451
2428
|
]),
|
|
2452
2429
|
_: 2
|
|
2453
2430
|
}, [
|
|
2454
|
-
|
|
2431
|
+
_.$slots["append-inner"] ? {
|
|
2455
2432
|
name: "append-inner",
|
|
2456
|
-
fn:
|
|
2457
|
-
se(
|
|
2433
|
+
fn: w((S) => [
|
|
2434
|
+
se(_.$slots, "append-inner", te(ne(S)))
|
|
2458
2435
|
]),
|
|
2459
2436
|
key: "0"
|
|
2460
2437
|
} : void 0,
|
|
2461
|
-
|
|
2438
|
+
_.$slots["prepend-inner"] ? {
|
|
2462
2439
|
name: "prepend-inner",
|
|
2463
|
-
fn:
|
|
2464
|
-
se(
|
|
2440
|
+
fn: w((S) => [
|
|
2441
|
+
se(_.$slots, "prepend-inner", te(ne(S)))
|
|
2465
2442
|
]),
|
|
2466
2443
|
key: "1"
|
|
2467
2444
|
} : void 0
|
|
2468
|
-
]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) :
|
|
2445
|
+
]), 1040, ["modelValue", "class", "items", "label", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : U("", !0);
|
|
2469
2446
|
};
|
|
2470
2447
|
}
|
|
2471
|
-
}), ea = /* @__PURE__ */
|
|
2448
|
+
}), ea = /* @__PURE__ */ H({
|
|
2472
2449
|
__name: "df-text-area",
|
|
2473
|
-
props: /* @__PURE__ */
|
|
2450
|
+
props: /* @__PURE__ */ Q({
|
|
2474
2451
|
rows: {},
|
|
2475
2452
|
maxRows: {},
|
|
2476
2453
|
control: {},
|
|
@@ -2487,54 +2464,55 @@ const Zo = {
|
|
|
2487
2464
|
passthroughAttrs: {},
|
|
2488
2465
|
density: {},
|
|
2489
2466
|
variant: {}
|
|
2490
|
-
},
|
|
2467
|
+
}, O(x({}, Z), {
|
|
2491
2468
|
rows: void 0,
|
|
2492
2469
|
maxRows: void 0
|
|
2493
2470
|
})),
|
|
2494
2471
|
emits: ["update:modelValue", "click:clear"],
|
|
2495
2472
|
setup(e, { emit: t }) {
|
|
2496
|
-
const n = e, a = t, { densityClass: l,
|
|
2497
|
-
return (
|
|
2498
|
-
const
|
|
2473
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: m, value: i, vuetifyBindings: p } = G(n, a), { cssClass: h, visibility: d } = Ce(n);
|
|
2474
|
+
return (y, c) => {
|
|
2475
|
+
const j = N("v-textarea");
|
|
2499
2476
|
return V(), W("div", {
|
|
2500
|
-
class:
|
|
2477
|
+
class: Y(["df-textarea-container", o(l)])
|
|
2501
2478
|
}, [
|
|
2502
|
-
o(
|
|
2479
|
+
o(d) !== o(X).SUPPRESS ? (V(), D(j, R({
|
|
2503
2480
|
key: 0,
|
|
2504
2481
|
modelValue: o(i),
|
|
2505
|
-
"onUpdate:modelValue": c[0] || (c[0] = (
|
|
2482
|
+
"onUpdate:modelValue": c[0] || (c[0] = (T) => ae(i) ? i.value = T : null),
|
|
2506
2483
|
class: [
|
|
2507
|
-
o(
|
|
2484
|
+
o(h),
|
|
2508
2485
|
{
|
|
2509
|
-
"d-none": o(
|
|
2510
|
-
invisible: o(
|
|
2486
|
+
"d-none": o(d) === o(X).HIDDEN,
|
|
2487
|
+
invisible: o(d) === o(X).INVISIBLE
|
|
2511
2488
|
}
|
|
2512
2489
|
],
|
|
2513
|
-
rows:
|
|
2514
|
-
"auto-grow": (
|
|
2515
|
-
"max-rows":
|
|
2516
|
-
}, o(
|
|
2517
|
-
onBlur: c[1] || (c[1] = (
|
|
2490
|
+
rows: y.rows,
|
|
2491
|
+
"auto-grow": (y.maxRows || 0) > 0,
|
|
2492
|
+
"max-rows": y.maxRows
|
|
2493
|
+
}, o(p), {
|
|
2494
|
+
onBlur: c[1] || (c[1] = (T) => m.value = !0)
|
|
2518
2495
|
}), {
|
|
2519
|
-
label:
|
|
2520
|
-
|
|
2521
|
-
data:
|
|
2522
|
-
label: o(
|
|
2496
|
+
label: w((T) => [
|
|
2497
|
+
B(o(re), {
|
|
2498
|
+
data: T,
|
|
2499
|
+
label: o(r)
|
|
2523
2500
|
}, null, 8, ["data", "label"])
|
|
2524
2501
|
]),
|
|
2525
|
-
message:
|
|
2526
|
-
|
|
2527
|
-
message:
|
|
2528
|
-
errors: o(
|
|
2502
|
+
message: w(({ message: T }) => [
|
|
2503
|
+
B(o(q), {
|
|
2504
|
+
message: T,
|
|
2505
|
+
errors: o(s)
|
|
2529
2506
|
}, null, 8, ["message", "errors"])
|
|
2530
2507
|
]),
|
|
2531
2508
|
_: 1
|
|
2532
|
-
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) :
|
|
2509
|
+
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : U("", !0)
|
|
2533
2510
|
], 2);
|
|
2534
2511
|
};
|
|
2535
2512
|
}
|
|
2536
2513
|
}), ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2537
2514
|
__proto__: null,
|
|
2515
|
+
DFInputHint: q,
|
|
2538
2516
|
DfActions: Uo,
|
|
2539
2517
|
DfCheckbox: Ho,
|
|
2540
2518
|
DfColor: Oo,
|
|
@@ -2570,17 +2548,18 @@ const Zo = {
|
|
|
2570
2548
|
VTextField: An,
|
|
2571
2549
|
VTextarea: $n,
|
|
2572
2550
|
VTimePicker: Nn
|
|
2573
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2551
|
+
}, Symbol.toStringTag, { value: "Module" })), Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2574
2552
|
__proto__: null
|
|
2575
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2553
|
+
}, Symbol.toStringTag, { value: "Module" })), Ma = {
|
|
2576
2554
|
install: (e, t) => {
|
|
2577
2555
|
var n, a;
|
|
2578
|
-
e.use(Gn), e.provide(
|
|
2556
|
+
e.use(Gn), e.provide(et, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(ta).map(([l, r]) => e.component(l, r)), (a = t == null ? void 0 : t.registerVuetifyComponents) != null && a && Object.entries(na).map(([l, r]) => e.component(l, r));
|
|
2579
2557
|
}
|
|
2580
2558
|
};
|
|
2581
2559
|
export {
|
|
2582
|
-
|
|
2560
|
+
ye as Action,
|
|
2583
2561
|
z as ActionDisplayStyle,
|
|
2562
|
+
q as DFInputHint,
|
|
2584
2563
|
So as DateTimeLocaleConfig,
|
|
2585
2564
|
Uo as DfActions,
|
|
2586
2565
|
Ho as DfCheckbox,
|
|
@@ -2588,29 +2567,29 @@ export {
|
|
|
2588
2567
|
Ro as DfDateTime,
|
|
2589
2568
|
Wo as DfFile,
|
|
2590
2569
|
zo as DfInput,
|
|
2591
|
-
|
|
2570
|
+
Fa as DfInputComponentProps,
|
|
2592
2571
|
ta as DfInputComponents,
|
|
2593
|
-
|
|
2572
|
+
q as DfInputHint,
|
|
2573
|
+
re as DfLabel,
|
|
2594
2574
|
Yo as DfRtfEditor,
|
|
2595
2575
|
Jo as DfSelect,
|
|
2596
2576
|
ea as DfTextArea,
|
|
2597
|
-
|
|
2598
|
-
|
|
2577
|
+
Ma as DynamicFormsInputs,
|
|
2578
|
+
Se as InputBase,
|
|
2599
2579
|
xo as Label,
|
|
2600
|
-
|
|
2601
|
-
Mo as ResponsiveActionRenderOptions,
|
|
2580
|
+
Fo as ResponsiveActionRenderOptions,
|
|
2602
2581
|
$o as ResponsiveRenderOptions,
|
|
2603
2582
|
na as VuetifyComponents,
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2583
|
+
ke as ckEditorLanguage,
|
|
2584
|
+
Z as defaultBaseProps,
|
|
2585
|
+
We as defaultDisplayStyle,
|
|
2607
2586
|
Ao as getBreakpointName,
|
|
2608
|
-
|
|
2587
|
+
ze as responsiveBreakpoints,
|
|
2609
2588
|
Na as setCkEditorLanguage,
|
|
2610
2589
|
$ as translatableStrings,
|
|
2611
2590
|
Aa as translateStrings,
|
|
2612
2591
|
No as useBreakpoint,
|
|
2613
2592
|
G as useInputBase,
|
|
2614
|
-
|
|
2593
|
+
et as vuetifyInputsSettingsKey
|
|
2615
2594
|
};
|
|
2616
2595
|
//# sourceMappingURL=dynamicforms-vuetify-inputs.js.map
|