@dynamicforms/vuetify-inputs 0.7.9 → 0.7.10
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.
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var at = Object.defineProperty, lt = Object.defineProperties;
|
|
2
|
+
var rt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ne = Object.getOwnPropertySymbols;
|
|
4
|
+
var it = Object.prototype.hasOwnProperty, st = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Te = (e, t, n) => t in e ? at(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, B = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
it.call(t, n) && Te(e, n, t[n]);
|
|
8
|
+
if (Ne)
|
|
9
|
+
for (var n of Ne(t))
|
|
10
|
+
st.call(t, n) && Te(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, L = (e, t) => lt(e, rt(t));
|
|
13
|
+
var me = (e, t, n) => Te(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
|
+
var we = (e, t, n) => new Promise((a, l) => {
|
|
15
15
|
var r = (i) => {
|
|
16
16
|
try {
|
|
17
17
|
f(n.next(i));
|
|
@@ -27,59 +27,44 @@ var ge = (e, t, n) => new Promise((a, l) => {
|
|
|
27
27
|
}, f = (i) => i.done ? a(i.value) : Promise.resolve(i.value).then(r, s);
|
|
28
28
|
f((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { defineComponent as
|
|
32
|
-
import { debounce as
|
|
33
|
-
import { CachedIcon as
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { useDisplay as
|
|
37
|
-
import { parse as
|
|
38
|
-
import { AccessibilityHelp as
|
|
39
|
-
import { VAutocomplete as
|
|
40
|
-
import { VBtn as
|
|
41
|
-
import { VCheckbox as
|
|
42
|
-
import { VChip as
|
|
43
|
-
import { VCombobox as
|
|
44
|
-
import { VColorPicker as
|
|
45
|
-
import { VConfirmEdit as
|
|
46
|
-
import { VDatePicker as
|
|
47
|
-
import { VField as
|
|
48
|
-
import { VFileInput as
|
|
49
|
-
import { VCol as
|
|
50
|
-
import { VIcon as
|
|
51
|
-
import { VImg as
|
|
52
|
-
import { VInput as
|
|
53
|
-
import { VListItem as
|
|
54
|
-
import { VMenu as
|
|
55
|
-
import { VNumberInput as
|
|
56
|
-
import { VProgressLinear as
|
|
57
|
-
import { VSelect as
|
|
58
|
-
import { VSwitch as
|
|
59
|
-
import { VTextarea as
|
|
60
|
-
import { VTextField as
|
|
61
|
-
import { VTimePicker as
|
|
30
|
+
import * as Fe from "vue";
|
|
31
|
+
import { defineComponent as O, useModel as ut, ref as F, watch as ue, onMounted as Ge, markRaw as ct, onBeforeUnmount as qe, openBlock as V, createBlock as _, resolveDynamicComponent as be, mergeModels as Me, version as dt, isRef as ae, computed as b, unref as o, resolveComponent as A, createElementBlock as W, normalizeClass as Y, Fragment as De, createCommentVNode as H, createTextVNode as mt, toDisplayString as Pe, inject as xe, createSlots as _e, withCtx as w, createVNode as I, renderSlot as se, normalizeProps as te, guardReactiveProps as ne, createElementVNode as le, renderList as ft, withModifiers as pt, mergeProps as R, mergeDefaults as Q, normalizeStyle as Ye, toRefs as je, withKeys as Le, useCssVars as vt, nextTick as Ue } from "vue";
|
|
32
|
+
import { debounce as ht, isString as oe, isEmpty as he, isObjectLike as bt, isBoolean as He, clone as gt, toNumber as Oe, isNaN as Re, isArray as We, castArray as Qe, first as Ze, unionBy as wt } from "lodash-es";
|
|
33
|
+
import { CachedIcon as ge } from "vue-cached-icon";
|
|
34
|
+
import ze, { MessagesWidget as yt, MdString as kt, ValidationErrorRenderContent as Vt, DisplayMode as X, Action as Ct } from "@dynamicforms/vue-forms";
|
|
35
|
+
import jt from "vue-markdown-render";
|
|
36
|
+
import { useDisplay as Tt } from "vuetify";
|
|
37
|
+
import { parse as xt, format as fe } from "date-fns";
|
|
38
|
+
import { AccessibilityHelp as Bt, Alignment as It, AutoImage as Dt, AutoLink as _t, Autosave as Pt, BalloonToolbar as Et, BlockQuote as St, Bold as $t, CloudServices as At, Essentials as Nt, GeneralHtmlSupport as Ft, Heading as Mt, HorizontalLine as Lt, ImageBlock as Ut, ImageCaption as Ht, ImageInline as Ot, ImageInsertViaUrl as Rt, ImageResize as Wt, ImageStyle as zt, ImageToolbar as Kt, ImageUpload as Xt, Indent as Gt, IndentBlock as qt, Italic as Yt, Link as Qt, List as Zt, Autoformat as Jt, MediaEmbed as en, Paragraph as tn, PasteFromMarkdownExperimental as nn, PasteFromOffice as on, SelectAll as an, Style as ln, Table as rn, TableCellProperties as sn, TableColumnResize as un, TableProperties as cn, TableToolbar as dn, Undo as mn, TextTransformation as fn, Base64UploadAdapter as pn, ClassicEditor as vn } from "ckeditor5";
|
|
39
|
+
import { VAutocomplete as hn } from "vuetify/components/VAutocomplete";
|
|
40
|
+
import { VBtn as bn } from "vuetify/components/VBtn";
|
|
41
|
+
import { VCheckbox as gn } from "vuetify/components/VCheckbox";
|
|
42
|
+
import { VChip as wn } from "vuetify/components/VChip";
|
|
43
|
+
import { VCombobox as yn } from "vuetify/components/VCombobox";
|
|
44
|
+
import { VColorPicker as kn } from "vuetify/components/VColorPicker";
|
|
45
|
+
import { VConfirmEdit as Vn } from "vuetify/components/VConfirmEdit";
|
|
46
|
+
import { VDatePicker as Cn } from "vuetify/components/VDatePicker";
|
|
47
|
+
import { VField as jn } from "vuetify/components/VField";
|
|
48
|
+
import { VFileInput as Tn } from "vuetify/components/VFileInput";
|
|
49
|
+
import { VCol as xn, VRow as Bn } from "vuetify/components/VGrid";
|
|
50
|
+
import { VIcon as In } from "vuetify/components/VIcon";
|
|
51
|
+
import { VImg as Dn } from "vuetify/components/VImg";
|
|
52
|
+
import { VInput as _n } from "vuetify/components/VInput";
|
|
53
|
+
import { VListItem as Pn } from "vuetify/components/VList";
|
|
54
|
+
import { VMenu as En } from "vuetify/components/VMenu";
|
|
55
|
+
import { VNumberInput as Sn } from "vuetify/components/VNumberInput";
|
|
56
|
+
import { VProgressLinear as $n } from "vuetify/components/VProgressLinear";
|
|
57
|
+
import { VSelect as An } from "vuetify/components/VSelect";
|
|
58
|
+
import { VSwitch as Nn } from "vuetify/components/VSwitch";
|
|
59
|
+
import { VTextarea as Fn } from "vuetify/components/VTextarea";
|
|
60
|
+
import { VTextField as Mn } from "vuetify/components/VTextField";
|
|
61
|
+
import { VTimePicker as Ln } from "vuetify/components/VTimePicker";
|
|
62
62
|
new Array(256).fill("").map((e, t) => ("0" + t.toString(16)).slice(-2));
|
|
63
|
-
function
|
|
64
|
-
const n = e.extraPlugins || [];
|
|
65
|
-
return O(S({}, e), {
|
|
66
|
-
extraPlugins: [
|
|
67
|
-
...n,
|
|
68
|
-
...t.filter((a) => !n.includes(a))
|
|
69
|
-
]
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function Qe(e) {
|
|
63
|
+
function Ee(e) {
|
|
73
64
|
return !!e && /^\d+\.\d+\.\d+/.test(e);
|
|
74
65
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
}
|
|
78
|
-
function Mn(e) {
|
|
79
|
-
return Qe(e) || Ze(e);
|
|
80
|
-
}
|
|
81
|
-
function Ln(e) {
|
|
82
|
-
if (!Qe(e))
|
|
66
|
+
function Je(e) {
|
|
67
|
+
if (!Ee(e))
|
|
83
68
|
throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
|
|
84
69
|
const [t, n, a] = e.split(".");
|
|
85
70
|
return {
|
|
@@ -88,10 +73,25 @@ function Ln(e) {
|
|
|
88
73
|
patch: Number.parseInt(a, 10)
|
|
89
74
|
};
|
|
90
75
|
}
|
|
76
|
+
function Se(e) {
|
|
77
|
+
return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
|
|
78
|
+
}
|
|
91
79
|
function Un(e) {
|
|
92
|
-
|
|
80
|
+
return Ee(e) || Se(e);
|
|
81
|
+
}
|
|
82
|
+
function Hn(e, t) {
|
|
83
|
+
const n = e.extraPlugins || [];
|
|
84
|
+
return L(B({}, e), {
|
|
85
|
+
extraPlugins: [
|
|
86
|
+
...n,
|
|
87
|
+
...t.filter((a) => !n.includes(a))
|
|
88
|
+
]
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
function On(e) {
|
|
92
|
+
if (Se(e))
|
|
93
93
|
return 3;
|
|
94
|
-
const { major: t } =
|
|
94
|
+
const { major: t } = Je(e);
|
|
95
95
|
switch (!0) {
|
|
96
96
|
case t >= 44:
|
|
97
97
|
return 3;
|
|
@@ -101,19 +101,19 @@ function Un(e) {
|
|
|
101
101
|
return 1;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function et() {
|
|
105
105
|
const { CKEDITOR_VERSION: e, CKEDITOR: t } = window;
|
|
106
|
-
return
|
|
106
|
+
return Un(e) ? {
|
|
107
107
|
source: t ? "cdn" : "npm",
|
|
108
108
|
version: e
|
|
109
109
|
} : null;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const e =
|
|
113
|
-
return e ?
|
|
111
|
+
function Rn() {
|
|
112
|
+
const e = et();
|
|
113
|
+
return e ? On(e.version) : null;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
switch (t || (t =
|
|
115
|
+
function tt(e, t) {
|
|
116
|
+
switch (t || (t = Rn() || void 0), t) {
|
|
117
117
|
case 1:
|
|
118
118
|
case 2:
|
|
119
119
|
return e === void 0;
|
|
@@ -123,34 +123,58 @@ function Je(e, t) {
|
|
|
123
123
|
return !1;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Wn(e, t) {
|
|
127
127
|
return function(a) {
|
|
128
|
-
|
|
128
|
+
tt(a.config.get("licenseKey")) || a.on("collectUsageData", (l, { setUsageData: r }) => {
|
|
129
129
|
r(`integration.${e}`, t);
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const zn = Wn(
|
|
134
134
|
"vue",
|
|
135
135
|
{
|
|
136
|
-
version: "7.
|
|
137
|
-
frameworkVersion:
|
|
136
|
+
version: "7.4.0",
|
|
137
|
+
frameworkVersion: dt
|
|
138
138
|
}
|
|
139
139
|
);
|
|
140
|
-
function
|
|
141
|
-
return
|
|
140
|
+
function Kn(e) {
|
|
141
|
+
return tt(e.licenseKey) ? e : Hn(e, [
|
|
142
142
|
/**
|
|
143
143
|
* This part of the code is not executed in open-source implementations using a GPL key.
|
|
144
144
|
* It only runs when a specific license key is provided. If you are uncertain whether
|
|
145
145
|
* this applies to your installation, please contact our support team.
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
zn
|
|
148
148
|
]);
|
|
149
149
|
}
|
|
150
|
-
|
|
150
|
+
function Xn(e, t) {
|
|
151
|
+
var n;
|
|
152
|
+
if (nt()) {
|
|
153
|
+
const a = L(B({}, e), {
|
|
154
|
+
roots: L(B({}, e.roots), {
|
|
155
|
+
main: L(B(B({}, e.root), (n = e.roots) == null ? void 0 : n.main), {
|
|
156
|
+
initialData: t
|
|
157
|
+
})
|
|
158
|
+
})
|
|
159
|
+
});
|
|
160
|
+
return delete a.root, delete a.initialData, a;
|
|
161
|
+
}
|
|
162
|
+
return L(B({}, e), {
|
|
163
|
+
initialData: t
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function Gn(e) {
|
|
167
|
+
var t, n;
|
|
168
|
+
return nt() ? (n = (t = e.roots) == null ? void 0 : t.main) == null ? void 0 : n.initialData : e.initialData;
|
|
169
|
+
}
|
|
170
|
+
function nt() {
|
|
171
|
+
const e = et();
|
|
172
|
+
return e ? !Ee(e.version) || Se(e.version) || Je(e.version).major >= 48 : !1;
|
|
173
|
+
}
|
|
174
|
+
const Be = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", qn = 300, Yn = /* @__PURE__ */ O({
|
|
151
175
|
name: "CKEditor",
|
|
152
176
|
__name: "ckeditor",
|
|
153
|
-
props: /* @__PURE__ */
|
|
177
|
+
props: /* @__PURE__ */ Me({
|
|
154
178
|
editor: {},
|
|
155
179
|
config: { default: () => ({}) },
|
|
156
180
|
tagName: { default: "div" },
|
|
@@ -160,16 +184,16 @@ const xe = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn =
|
|
|
160
184
|
modelValue: { type: String, default: "" },
|
|
161
185
|
modelModifiers: {}
|
|
162
186
|
}),
|
|
163
|
-
emits: /* @__PURE__ */
|
|
187
|
+
emits: /* @__PURE__ */ Me(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
164
188
|
setup(e, { expose: t, emit: n }) {
|
|
165
|
-
const a =
|
|
189
|
+
const a = ut(e, "modelValue"), l = e, r = n, s = F(), f = F(), i = F();
|
|
166
190
|
t({
|
|
167
191
|
instance: f,
|
|
168
192
|
lastEditorData: i
|
|
169
193
|
}), ue(a, (m) => {
|
|
170
194
|
f.value && m !== i.value && f.value.data.set(m);
|
|
171
195
|
}), ue(() => l.disabled, (m) => {
|
|
172
|
-
m ? f.value.enableReadOnlyMode(
|
|
196
|
+
m ? f.value.enableReadOnlyMode(Be) : f.value.disableReadOnlyMode(Be);
|
|
173
197
|
});
|
|
174
198
|
function c() {
|
|
175
199
|
const m = window.CKEDITOR_VERSION;
|
|
@@ -179,53 +203,53 @@ const xe = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Kn = 300, Xn =
|
|
|
179
203
|
y >= 42 || m.startsWith("0.0.0") || console.warn("The <CKEditor> component requires using CKEditor 5 in version 42+ or nightly build.");
|
|
180
204
|
}
|
|
181
205
|
function v(m) {
|
|
182
|
-
const y =
|
|
206
|
+
const y = ht((d) => {
|
|
183
207
|
if (l.disableTwoWayDataBinding)
|
|
184
208
|
return;
|
|
185
209
|
const j = i.value = m.data.get();
|
|
186
210
|
r("update:modelValue", j, d, m), r("input", j, d, m);
|
|
187
|
-
},
|
|
211
|
+
}, qn, { leading: !0 });
|
|
188
212
|
m.model.document.on("change:data", y), m.editing.view.document.on("focus", (d) => {
|
|
189
213
|
r("focus", d, m);
|
|
190
214
|
}), m.editing.view.document.on("blur", (d) => {
|
|
191
215
|
r("blur", d, m);
|
|
192
216
|
});
|
|
193
217
|
}
|
|
194
|
-
return c(),
|
|
195
|
-
|
|
218
|
+
return c(), Ge(() => {
|
|
219
|
+
let m = Kn(
|
|
196
220
|
Object.assign({}, l.config)
|
|
197
221
|
);
|
|
198
|
-
a.value && (m
|
|
199
|
-
f.value =
|
|
222
|
+
a.value && (m = Xn(m, a.value)), l.editor.create(s.value, m).then((y) => {
|
|
223
|
+
f.value = ct(y), v(y), a.value !== Gn(m) && y.data.set(a.value), l.disabled && y.enableReadOnlyMode(Be), r("ready", y);
|
|
200
224
|
}).catch((y) => {
|
|
201
225
|
console.error(y);
|
|
202
226
|
});
|
|
203
|
-
}),
|
|
227
|
+
}), qe(() => {
|
|
204
228
|
f.value && (f.value.destroy(), f.value = void 0), r("destroy");
|
|
205
|
-
}), (m, y) => (V(),
|
|
229
|
+
}), (m, y) => (V(), _(be(e.tagName), {
|
|
206
230
|
ref_key: "element",
|
|
207
231
|
ref: s
|
|
208
232
|
}, null, 512));
|
|
209
233
|
}
|
|
210
234
|
});
|
|
211
|
-
if (!
|
|
235
|
+
if (!Fe.version || !Fe.version.startsWith("3."))
|
|
212
236
|
throw new Error(
|
|
213
237
|
"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"
|
|
214
238
|
);
|
|
215
|
-
const
|
|
239
|
+
const Qn = {
|
|
216
240
|
/**
|
|
217
241
|
* Installs the plugin, registering the `<ckeditor>` component.
|
|
218
242
|
*
|
|
219
243
|
* @param app The application instance.
|
|
220
244
|
*/
|
|
221
245
|
install(e) {
|
|
222
|
-
e.component("Ckeditor",
|
|
246
|
+
e.component("Ckeditor", Yn);
|
|
223
247
|
}
|
|
224
248
|
};
|
|
225
|
-
function
|
|
249
|
+
function Zn(e) {
|
|
226
250
|
return e.one !== void 0;
|
|
227
251
|
}
|
|
228
|
-
const
|
|
252
|
+
const Jn = {
|
|
229
253
|
lessThanXSeconds: {
|
|
230
254
|
present: {
|
|
231
255
|
one: "manj kot {{count}} sekunda",
|
|
@@ -502,7 +526,7 @@ const Yn = {
|
|
|
502
526
|
}
|
|
503
527
|
}
|
|
504
528
|
};
|
|
505
|
-
function
|
|
529
|
+
function eo(e) {
|
|
506
530
|
switch (e % 100) {
|
|
507
531
|
case 1:
|
|
508
532
|
return "one";
|
|
@@ -515,53 +539,53 @@ function Qn(e) {
|
|
|
515
539
|
return "other";
|
|
516
540
|
}
|
|
517
541
|
}
|
|
518
|
-
const
|
|
542
|
+
const to = (e, t, n) => {
|
|
519
543
|
let a = "", l = "present";
|
|
520
544
|
n != null && n.addSuffix && (n.comparison && n.comparison > 0 ? (l = "future", a = "čez ") : (l = "past", a = "pred "));
|
|
521
|
-
const r =
|
|
545
|
+
const r = Jn[e];
|
|
522
546
|
if (typeof r == "string")
|
|
523
547
|
a += r;
|
|
524
548
|
else {
|
|
525
|
-
const s =
|
|
526
|
-
|
|
549
|
+
const s = eo(t);
|
|
550
|
+
Zn(r) ? a += r[s].replace("{{count}}", String(t)) : a += r[l][s].replace("{{count}}", String(t));
|
|
527
551
|
}
|
|
528
552
|
return a;
|
|
529
553
|
};
|
|
530
|
-
function
|
|
554
|
+
function Ie(e) {
|
|
531
555
|
return (t = {}) => {
|
|
532
556
|
const n = t.width ? String(t.width) : e.defaultWidth;
|
|
533
557
|
return e.formats[n] || e.formats[e.defaultWidth];
|
|
534
558
|
};
|
|
535
559
|
}
|
|
536
|
-
const
|
|
560
|
+
const no = {
|
|
537
561
|
full: "EEEE, dd. MMMM y",
|
|
538
562
|
long: "dd. MMMM y",
|
|
539
563
|
medium: "d. MMM y",
|
|
540
564
|
short: "d. MM. yy"
|
|
541
|
-
},
|
|
565
|
+
}, oo = {
|
|
542
566
|
full: "HH:mm:ss zzzz",
|
|
543
567
|
long: "HH:mm:ss z",
|
|
544
568
|
medium: "HH:mm:ss",
|
|
545
569
|
short: "HH:mm"
|
|
546
|
-
},
|
|
570
|
+
}, ao = {
|
|
547
571
|
full: "{{date}} {{time}}",
|
|
548
572
|
long: "{{date}} {{time}}",
|
|
549
573
|
medium: "{{date}} {{time}}",
|
|
550
574
|
short: "{{date}} {{time}}"
|
|
551
|
-
},
|
|
552
|
-
date:
|
|
553
|
-
formats:
|
|
575
|
+
}, lo = {
|
|
576
|
+
date: Ie({
|
|
577
|
+
formats: no,
|
|
554
578
|
defaultWidth: "full"
|
|
555
579
|
}),
|
|
556
|
-
time:
|
|
557
|
-
formats:
|
|
580
|
+
time: Ie({
|
|
581
|
+
formats: oo,
|
|
558
582
|
defaultWidth: "full"
|
|
559
583
|
}),
|
|
560
|
-
dateTime:
|
|
561
|
-
formats:
|
|
584
|
+
dateTime: Ie({
|
|
585
|
+
formats: ao,
|
|
562
586
|
defaultWidth: "full"
|
|
563
587
|
})
|
|
564
|
-
},
|
|
588
|
+
}, ro = {
|
|
565
589
|
lastWeek: (e) => {
|
|
566
590
|
switch (e.getDay()) {
|
|
567
591
|
case 0:
|
|
@@ -590,11 +614,11 @@ const Jn = {
|
|
|
590
614
|
}
|
|
591
615
|
},
|
|
592
616
|
other: "P"
|
|
593
|
-
},
|
|
594
|
-
const l =
|
|
617
|
+
}, io = (e, t, n, a) => {
|
|
618
|
+
const l = ro[e];
|
|
595
619
|
return typeof l == "function" ? l(t) : l;
|
|
596
620
|
};
|
|
597
|
-
function
|
|
621
|
+
function pe(e) {
|
|
598
622
|
return (t, n) => {
|
|
599
623
|
const a = n != null && n.context ? String(n.context) : "standalone";
|
|
600
624
|
let l;
|
|
@@ -609,15 +633,15 @@ function fe(e) {
|
|
|
609
633
|
return l[r];
|
|
610
634
|
};
|
|
611
635
|
}
|
|
612
|
-
const
|
|
636
|
+
const so = {
|
|
613
637
|
narrow: ["pr. n. št.", "po n. št."],
|
|
614
638
|
abbreviated: ["pr. n. št.", "po n. št."],
|
|
615
639
|
wide: ["pred našim štetjem", "po našem štetju"]
|
|
616
|
-
},
|
|
640
|
+
}, uo = {
|
|
617
641
|
narrow: ["1", "2", "3", "4"],
|
|
618
642
|
abbreviated: ["1. čet.", "2. čet.", "3. čet.", "4. čet."],
|
|
619
643
|
wide: ["1. četrtletje", "2. četrtletje", "3. četrtletje", "4. četrtletje"]
|
|
620
|
-
},
|
|
644
|
+
}, co = {
|
|
621
645
|
narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
|
|
622
646
|
abbreviated: [
|
|
623
647
|
"jan.",
|
|
@@ -647,7 +671,7 @@ const lo = {
|
|
|
647
671
|
"november",
|
|
648
672
|
"december"
|
|
649
673
|
]
|
|
650
|
-
},
|
|
674
|
+
}, mo = {
|
|
651
675
|
narrow: ["n", "p", "t", "s", "č", "p", "s"],
|
|
652
676
|
short: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
|
|
653
677
|
abbreviated: ["ned.", "pon.", "tor.", "sre.", "čet.", "pet.", "sob."],
|
|
@@ -660,7 +684,7 @@ const lo = {
|
|
|
660
684
|
"petek",
|
|
661
685
|
"sobota"
|
|
662
686
|
]
|
|
663
|
-
},
|
|
687
|
+
}, fo = {
|
|
664
688
|
narrow: {
|
|
665
689
|
am: "d",
|
|
666
690
|
pm: "p",
|
|
@@ -691,7 +715,7 @@ const lo = {
|
|
|
691
715
|
evening: "večer",
|
|
692
716
|
night: "noč"
|
|
693
717
|
}
|
|
694
|
-
},
|
|
718
|
+
}, po = {
|
|
695
719
|
narrow: {
|
|
696
720
|
am: "d",
|
|
697
721
|
pm: "p",
|
|
@@ -722,40 +746,40 @@ const lo = {
|
|
|
722
746
|
evening: "zvečer",
|
|
723
747
|
night: "ponoči"
|
|
724
748
|
}
|
|
725
|
-
},
|
|
726
|
-
ordinalNumber:
|
|
727
|
-
era:
|
|
728
|
-
values:
|
|
749
|
+
}, vo = (e, t) => Number(e) + ".", ho = {
|
|
750
|
+
ordinalNumber: vo,
|
|
751
|
+
era: pe({
|
|
752
|
+
values: so,
|
|
729
753
|
defaultWidth: "wide"
|
|
730
754
|
}),
|
|
731
|
-
quarter:
|
|
732
|
-
values:
|
|
755
|
+
quarter: pe({
|
|
756
|
+
values: uo,
|
|
733
757
|
defaultWidth: "wide",
|
|
734
758
|
argumentCallback: (e) => e - 1
|
|
735
759
|
}),
|
|
736
|
-
month:
|
|
737
|
-
values:
|
|
760
|
+
month: pe({
|
|
761
|
+
values: co,
|
|
738
762
|
defaultWidth: "wide"
|
|
739
763
|
}),
|
|
740
|
-
day:
|
|
741
|
-
values:
|
|
764
|
+
day: pe({
|
|
765
|
+
values: mo,
|
|
742
766
|
defaultWidth: "wide"
|
|
743
767
|
}),
|
|
744
|
-
dayPeriod:
|
|
745
|
-
values:
|
|
768
|
+
dayPeriod: pe({
|
|
769
|
+
values: fo,
|
|
746
770
|
defaultWidth: "wide",
|
|
747
|
-
formattingValues:
|
|
771
|
+
formattingValues: po,
|
|
748
772
|
defaultFormattingWidth: "wide"
|
|
749
773
|
})
|
|
750
774
|
};
|
|
751
|
-
function
|
|
775
|
+
function ve(e) {
|
|
752
776
|
return (t, n = {}) => {
|
|
753
777
|
const a = n.width, l = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], r = t.match(l);
|
|
754
778
|
if (!r)
|
|
755
779
|
return null;
|
|
756
|
-
const s = r[0], f = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], i = Array.isArray(f) ?
|
|
780
|
+
const s = r[0], f = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], i = Array.isArray(f) ? go(f, (m) => m.test(s)) : (
|
|
757
781
|
// [TODO] -- I challenge you to fix the type
|
|
758
|
-
|
|
782
|
+
bo(f, (m) => m.test(s))
|
|
759
783
|
);
|
|
760
784
|
let c;
|
|
761
785
|
c = e.valueCallback ? e.valueCallback(i) : i, c = n.valueCallback ? (
|
|
@@ -766,17 +790,17 @@ function pe(e) {
|
|
|
766
790
|
return { value: c, rest: v };
|
|
767
791
|
};
|
|
768
792
|
}
|
|
769
|
-
function
|
|
793
|
+
function bo(e, t) {
|
|
770
794
|
for (const n in e)
|
|
771
795
|
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
772
796
|
return n;
|
|
773
797
|
}
|
|
774
|
-
function
|
|
798
|
+
function go(e, t) {
|
|
775
799
|
for (let n = 0; n < e.length; n++)
|
|
776
800
|
if (t(e[n]))
|
|
777
801
|
return n;
|
|
778
802
|
}
|
|
779
|
-
function
|
|
803
|
+
function wo(e) {
|
|
780
804
|
return (t, n = {}) => {
|
|
781
805
|
const a = t.match(e.matchPattern);
|
|
782
806
|
if (!a) return null;
|
|
@@ -788,22 +812,22 @@ function ho(e) {
|
|
|
788
812
|
return { value: s, rest: f };
|
|
789
813
|
};
|
|
790
814
|
}
|
|
791
|
-
const
|
|
815
|
+
const yo = /^(\d+)\./i, ko = /\d+/i, Vo = {
|
|
792
816
|
abbreviated: /^(pr\. n\. št\.|po n\. št\.)/i,
|
|
793
817
|
wide: /^(pred Kristusom|pred na[sš]im [sš]tetjem|po Kristusu|po na[sš]em [sš]tetju|na[sš]ega [sš]tetja)/i
|
|
794
|
-
},
|
|
818
|
+
}, Co = {
|
|
795
819
|
any: [/^pr/i, /^(po|na[sš]em)/i]
|
|
796
|
-
},
|
|
820
|
+
}, jo = {
|
|
797
821
|
narrow: /^[1234]/i,
|
|
798
822
|
abbreviated: /^[1234]\.\s?[čc]et\.?/i,
|
|
799
823
|
wide: /^[1234]\. [čc]etrtletje/i
|
|
800
|
-
},
|
|
824
|
+
}, To = {
|
|
801
825
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
802
|
-
},
|
|
826
|
+
}, xo = {
|
|
803
827
|
narrow: /^[jfmasond]/i,
|
|
804
828
|
abbreviated: /^(jan\.|feb\.|mar\.|apr\.|maj|jun\.|jul\.|avg\.|sep\.|okt\.|nov\.|dec\.)/i,
|
|
805
829
|
wide: /^(januar|februar|marec|april|maj|junij|julij|avgust|september|oktober|november|december)/i
|
|
806
|
-
},
|
|
830
|
+
}, Bo = {
|
|
807
831
|
narrow: [
|
|
808
832
|
/^j/i,
|
|
809
833
|
/^f/i,
|
|
@@ -846,18 +870,18 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
846
870
|
/^n/i,
|
|
847
871
|
/^d/i
|
|
848
872
|
]
|
|
849
|
-
},
|
|
873
|
+
}, Io = {
|
|
850
874
|
narrow: /^[nptsčc]/i,
|
|
851
875
|
short: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
|
|
852
876
|
abbreviated: /^(ned\.|pon\.|tor\.|sre\.|[cč]et\.|pet\.|sob\.)/i,
|
|
853
877
|
wide: /^(nedelja|ponedeljek|torek|sreda|[cč]etrtek|petek|sobota)/i
|
|
854
|
-
},
|
|
878
|
+
}, Do = {
|
|
855
879
|
narrow: [/^n/i, /^p/i, /^t/i, /^s/i, /^[cč]/i, /^p/i, /^s/i],
|
|
856
880
|
any: [/^n/i, /^po/i, /^t/i, /^sr/i, /^[cč]/i, /^pe/i, /^so/i]
|
|
857
|
-
},
|
|
881
|
+
}, _o = {
|
|
858
882
|
narrow: /^(d|po?|z?v|n|z?j|24\.00|12\.00)/i,
|
|
859
883
|
any: /^(dop\.|pop\.|o?poln(\.|o[cč]i?)|o?pold(\.|ne)|z?ve[cč](\.|er)|(po)?no[cč]i?|popold(ne|an)|jut(\.|ro)|zjut(\.|raj))/i
|
|
860
|
-
},
|
|
884
|
+
}, Po = {
|
|
861
885
|
narrow: {
|
|
862
886
|
am: /^d/i,
|
|
863
887
|
pm: /^p/i,
|
|
@@ -878,60 +902,60 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
878
902
|
evening: /^z?ve/i,
|
|
879
903
|
night: /(po)?no/i
|
|
880
904
|
}
|
|
881
|
-
},
|
|
882
|
-
ordinalNumber:
|
|
883
|
-
matchPattern:
|
|
884
|
-
parsePattern:
|
|
905
|
+
}, Eo = {
|
|
906
|
+
ordinalNumber: wo({
|
|
907
|
+
matchPattern: yo,
|
|
908
|
+
parsePattern: ko,
|
|
885
909
|
valueCallback: (e) => parseInt(e, 10)
|
|
886
910
|
}),
|
|
887
|
-
era:
|
|
888
|
-
matchPatterns:
|
|
911
|
+
era: ve({
|
|
912
|
+
matchPatterns: Vo,
|
|
889
913
|
defaultMatchWidth: "wide",
|
|
890
|
-
parsePatterns:
|
|
914
|
+
parsePatterns: Co,
|
|
891
915
|
defaultParseWidth: "any"
|
|
892
916
|
}),
|
|
893
|
-
quarter:
|
|
894
|
-
matchPatterns:
|
|
917
|
+
quarter: ve({
|
|
918
|
+
matchPatterns: jo,
|
|
895
919
|
defaultMatchWidth: "wide",
|
|
896
|
-
parsePatterns:
|
|
920
|
+
parsePatterns: To,
|
|
897
921
|
defaultParseWidth: "any",
|
|
898
922
|
valueCallback: (e) => e + 1
|
|
899
923
|
}),
|
|
900
|
-
month:
|
|
901
|
-
matchPatterns:
|
|
924
|
+
month: ve({
|
|
925
|
+
matchPatterns: xo,
|
|
902
926
|
defaultMatchWidth: "wide",
|
|
903
|
-
parsePatterns:
|
|
927
|
+
parsePatterns: Bo,
|
|
904
928
|
defaultParseWidth: "wide"
|
|
905
929
|
}),
|
|
906
|
-
day:
|
|
907
|
-
matchPatterns:
|
|
930
|
+
day: ve({
|
|
931
|
+
matchPatterns: Io,
|
|
908
932
|
defaultMatchWidth: "wide",
|
|
909
|
-
parsePatterns:
|
|
933
|
+
parsePatterns: Do,
|
|
910
934
|
defaultParseWidth: "any"
|
|
911
935
|
}),
|
|
912
|
-
dayPeriod:
|
|
913
|
-
matchPatterns:
|
|
936
|
+
dayPeriod: ve({
|
|
937
|
+
matchPatterns: _o,
|
|
914
938
|
defaultMatchWidth: "any",
|
|
915
|
-
parsePatterns:
|
|
939
|
+
parsePatterns: Po,
|
|
916
940
|
defaultParseWidth: "any"
|
|
917
941
|
})
|
|
918
|
-
},
|
|
942
|
+
}, So = {
|
|
919
943
|
code: "sl",
|
|
920
|
-
formatDistance:
|
|
921
|
-
formatLong:
|
|
922
|
-
formatRelative:
|
|
923
|
-
localize:
|
|
924
|
-
match:
|
|
944
|
+
formatDistance: to,
|
|
945
|
+
formatLong: lo,
|
|
946
|
+
formatRelative: io,
|
|
947
|
+
localize: ho,
|
|
948
|
+
match: Eo,
|
|
925
949
|
options: {
|
|
926
950
|
weekStartsOn: 1,
|
|
927
951
|
firstWeekContainsDate: 1
|
|
928
952
|
}
|
|
929
|
-
},
|
|
930
|
-
dateTimeLocale: F(
|
|
953
|
+
}, $o = {
|
|
954
|
+
dateTimeLocale: F(So),
|
|
931
955
|
setDateTimeLocale(e) {
|
|
932
956
|
ae(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
|
|
933
957
|
}
|
|
934
|
-
}, q = /* @__PURE__ */
|
|
958
|
+
}, q = /* @__PURE__ */ O({
|
|
935
959
|
__name: "df-input-hint",
|
|
936
960
|
props: {
|
|
937
961
|
errors: { default: "" },
|
|
@@ -941,12 +965,12 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
941
965
|
},
|
|
942
966
|
setup(e) {
|
|
943
967
|
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);
|
|
944
|
-
return (r, s) => (V(),
|
|
968
|
+
return (r, s) => (V(), _(o(yt), {
|
|
945
969
|
message: a.value,
|
|
946
970
|
classes: l.value
|
|
947
971
|
}, null, 8, ["message", "classes"]));
|
|
948
972
|
}
|
|
949
|
-
}), re = /* @__PURE__ */
|
|
973
|
+
}), re = /* @__PURE__ */ O({
|
|
950
974
|
__name: "df-label",
|
|
951
975
|
props: {
|
|
952
976
|
data: {},
|
|
@@ -960,41 +984,44 @@ const bo = /^(\d+)\./i, go = /\d+/i, wo = {
|
|
|
960
984
|
return V(), W("div", {
|
|
961
985
|
class: Y(["df-label", { "allow-wrap": e.allowWrap }])
|
|
962
986
|
}, [
|
|
963
|
-
e.label.icon ? (V(), W(
|
|
964
|
-
e.label.iconComponent === "v-icon" ? (V(),
|
|
987
|
+
e.label.icon ? (V(), W(De, { key: 0 }, [
|
|
988
|
+
e.label.iconComponent === "v-icon" ? (V(), _(o(ge), {
|
|
965
989
|
key: 0,
|
|
966
990
|
name: e.label.icon,
|
|
967
991
|
size: "1.25em"
|
|
968
|
-
}, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (V(),
|
|
992
|
+
}, null, 8, ["name"])) : e.label.iconComponent === "v-img" ? (V(), _(r, {
|
|
969
993
|
key: 1,
|
|
970
994
|
class: "icon",
|
|
971
995
|
src: e.label.icon
|
|
972
|
-
}, null, 8, ["src"])) : (V(),
|
|
996
|
+
}, null, 8, ["src"])) : (V(), _(be(e.label.iconComponent), {
|
|
973
997
|
key: 2,
|
|
974
998
|
src: e.label.icon
|
|
975
999
|
}, null, 8, ["src"]))
|
|
976
|
-
], 64)) :
|
|
977
|
-
n.value instanceof o(
|
|
1000
|
+
], 64)) : H("", !0),
|
|
1001
|
+
n.value instanceof o(kt) ? (V(), _(o(jt), {
|
|
978
1002
|
key: 1,
|
|
979
1003
|
class: "markdown",
|
|
980
1004
|
source: n.value.toString(),
|
|
981
1005
|
options: n.value.options,
|
|
982
1006
|
plugins: n.value.plugins
|
|
983
|
-
}, null, 8, ["source", "options", "plugins"])) : (V(), W(
|
|
984
|
-
|
|
1007
|
+
}, null, 8, ["source", "options", "plugins"])) : (V(), W(De, { key: 2 }, [
|
|
1008
|
+
mt(Pe(n.value), 1)
|
|
985
1009
|
], 64))
|
|
986
1010
|
], 2);
|
|
987
1011
|
};
|
|
988
1012
|
}
|
|
989
|
-
}),
|
|
990
|
-
class
|
|
1013
|
+
}), ot = /* @__PURE__ */ Symbol("vuetifyInputsSettingsKey");
|
|
1014
|
+
class Ao {
|
|
991
1015
|
constructor(t, n, a = "v-icon") {
|
|
1016
|
+
me(this, "text");
|
|
1017
|
+
me(this, "icon");
|
|
1018
|
+
me(this, "iconComponent");
|
|
992
1019
|
this.text = t, this.icon = n, this.iconComponent = a;
|
|
993
1020
|
}
|
|
994
1021
|
}
|
|
995
1022
|
const Z = { enabled: void 0, clearable: !0 };
|
|
996
1023
|
function G(e, t) {
|
|
997
|
-
const n =
|
|
1024
|
+
const n = xe(ot, {}), a = F(null), l = b({
|
|
998
1025
|
get() {
|
|
999
1026
|
return e.control ? e.control.value : e.modelValue === void 0 ? a.value : e.modelValue;
|
|
1000
1027
|
},
|
|
@@ -1002,7 +1029,7 @@ function G(e, t) {
|
|
|
1002
1029
|
e.control && (e.control.value = h), e.modelValue === void 0 && (a.value = h), t("update:modelValue", h);
|
|
1003
1030
|
}
|
|
1004
1031
|
});
|
|
1005
|
-
if (e.control && !(e.control instanceof
|
|
1032
|
+
if (e.control && !(e.control instanceof ze.FieldBase))
|
|
1006
1033
|
throw new Error("control prop is not a vue-form control instance");
|
|
1007
1034
|
const r = b({
|
|
1008
1035
|
get() {
|
|
@@ -1012,20 +1039,20 @@ function G(e, t) {
|
|
|
1012
1039
|
e.control.touched = h;
|
|
1013
1040
|
}
|
|
1014
1041
|
}), s = e.control ? r : F(!1), f = b(() => e.control ? e.control.valid : !0), i = b(
|
|
1015
|
-
() => e.control ? e.control.errors : (e.errors || []).map((h) => new
|
|
1042
|
+
() => e.control ? e.control.errors : (e.errors || []).map((h) => new Vt(h))
|
|
1016
1043
|
), c = b(() => s.value && i.value.length > 0 ? " " : void 0), v = b(() => s.value ? i.value : void 0), m = b(() => e.control ? e.control.enabled : e.enabled !== !1), y = b(
|
|
1017
|
-
() => e.control ? e.control.visibility : e.visibility ||
|
|
1044
|
+
() => e.control ? e.control.visibility : e.visibility || ze.DisplayMode.FULL
|
|
1018
1045
|
), d = b(
|
|
1019
|
-
() => oe(e.label || "") ? new
|
|
1020
|
-
), j = b(() => e.placeholder || ""), T = b(() => e.helpText || ""), k = b(() => e.hint || ""), g = b(() => e.cssClass || ""),
|
|
1046
|
+
() => oe(e.label || "") ? new Ao(e.label || "") : e.label
|
|
1047
|
+
), j = b(() => e.placeholder || ""), T = b(() => e.helpText || ""), k = b(() => e.hint || ""), g = b(() => e.cssClass || ""), P = b(
|
|
1021
1048
|
() => {
|
|
1022
|
-
var h,
|
|
1023
|
-
return (p = (
|
|
1049
|
+
var h, U, p;
|
|
1050
|
+
return (p = (U = (h = e.density) != null ? h : xe("field-density", null)) != null ? U : n.defaultDensity) != null ? p : "default";
|
|
1024
1051
|
}
|
|
1025
|
-
), M = b(() =>
|
|
1052
|
+
), M = b(() => P.value === "inline" ? "default" : P.value), N = b(
|
|
1026
1053
|
() => {
|
|
1027
|
-
var h,
|
|
1028
|
-
return (p = (
|
|
1054
|
+
var h, U, p;
|
|
1055
|
+
return (p = (U = (h = e.variant) != null ? h : xe("field-variant", null)) != null ? U : n.defaultVariant) != null ? p : "underlined";
|
|
1029
1056
|
}
|
|
1030
1057
|
);
|
|
1031
1058
|
return {
|
|
@@ -1037,11 +1064,11 @@ function G(e, t) {
|
|
|
1037
1064
|
visibility: y,
|
|
1038
1065
|
label: d,
|
|
1039
1066
|
touched: s,
|
|
1040
|
-
density:
|
|
1041
|
-
densityClass: b(() => `df-density-${
|
|
1067
|
+
density: P.value,
|
|
1068
|
+
densityClass: b(() => `df-density-${P.value}`),
|
|
1042
1069
|
vuetifyBindings: b(() => {
|
|
1043
1070
|
var h;
|
|
1044
|
-
return
|
|
1071
|
+
return B({
|
|
1045
1072
|
name: (h = e.control) == null ? void 0 : h.fieldName,
|
|
1046
1073
|
class: g.value,
|
|
1047
1074
|
density: M.value,
|
|
@@ -1052,7 +1079,7 @@ function G(e, t) {
|
|
|
1052
1079
|
readonly: !m.value,
|
|
1053
1080
|
disabled: !m.value,
|
|
1054
1081
|
placeholder: j.value,
|
|
1055
|
-
"persistent-placeholder": !
|
|
1082
|
+
"persistent-placeholder": !he(j.value),
|
|
1056
1083
|
hint: k.value,
|
|
1057
1084
|
persistentHint: !0,
|
|
1058
1085
|
// we want persistent hint always
|
|
@@ -1063,7 +1090,7 @@ function G(e, t) {
|
|
|
1063
1090
|
})
|
|
1064
1091
|
};
|
|
1065
1092
|
}
|
|
1066
|
-
const
|
|
1093
|
+
const No = { class: "d-flex w-100 df-style-resetting df-sub-field" }, $e = /* @__PURE__ */ O({
|
|
1067
1094
|
__name: "input-base",
|
|
1068
1095
|
props: {
|
|
1069
1096
|
control: {},
|
|
@@ -1090,7 +1117,7 @@ const Eo = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pe = /* @_
|
|
|
1090
1117
|
}
|
|
1091
1118
|
return (d, j) => {
|
|
1092
1119
|
const T = A("v-field"), k = A("v-input");
|
|
1093
|
-
return o(i) !== o(X).SUPPRESS ? (V(),
|
|
1120
|
+
return o(i) !== o(X).SUPPRESS ? (V(), _(k, {
|
|
1094
1121
|
key: 0,
|
|
1095
1122
|
name: o(c).name,
|
|
1096
1123
|
density: o(c).density,
|
|
@@ -1105,15 +1132,15 @@ const Eo = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pe = /* @_
|
|
|
1105
1132
|
invisible: o(i) === o(X).INVISIBLE
|
|
1106
1133
|
}
|
|
1107
1134
|
])
|
|
1108
|
-
},
|
|
1135
|
+
}, _e({
|
|
1109
1136
|
message: w(({ message: g }) => [
|
|
1110
|
-
|
|
1137
|
+
I(q, {
|
|
1111
1138
|
message: g,
|
|
1112
1139
|
errors: o(r)
|
|
1113
1140
|
}, null, 8, ["message", "errors"])
|
|
1114
1141
|
]),
|
|
1115
1142
|
default: w(() => [
|
|
1116
|
-
|
|
1143
|
+
I(T, {
|
|
1117
1144
|
variant: o(c).variant,
|
|
1118
1145
|
density: o(c).density,
|
|
1119
1146
|
label: o(c).label,
|
|
@@ -1125,15 +1152,15 @@ const Eo = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pe = /* @_
|
|
|
1125
1152
|
loading: e.loading,
|
|
1126
1153
|
"onClick:clear": j[0] || (j[0] = (g) => a("click:clear")),
|
|
1127
1154
|
"onUpdate:focused": j[1] || (j[1] = (g) => y(g))
|
|
1128
|
-
},
|
|
1155
|
+
}, _e({
|
|
1129
1156
|
label: w((g) => [
|
|
1130
|
-
|
|
1157
|
+
I(re, {
|
|
1131
1158
|
data: g,
|
|
1132
1159
|
label: o(l)
|
|
1133
1160
|
}, null, 8, ["data", "label"])
|
|
1134
1161
|
]),
|
|
1135
1162
|
default: w((g) => [
|
|
1136
|
-
le("div",
|
|
1163
|
+
le("div", No, [
|
|
1137
1164
|
se(d.$slots, "default", te(ne(g)))
|
|
1138
1165
|
])
|
|
1139
1166
|
]),
|
|
@@ -1160,10 +1187,10 @@ const Eo = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pe = /* @_
|
|
|
1160
1187
|
]),
|
|
1161
1188
|
key: "0"
|
|
1162
1189
|
} : void 0
|
|
1163
|
-
]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) :
|
|
1190
|
+
]), 1032, ["name", "density", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : H("", !0);
|
|
1164
1191
|
};
|
|
1165
1192
|
}
|
|
1166
|
-
}),
|
|
1193
|
+
}), S = {
|
|
1167
1194
|
Yes: "Yes",
|
|
1168
1195
|
No: "No",
|
|
1169
1196
|
Close: "Close",
|
|
@@ -1185,29 +1212,29 @@ const Eo = { class: "d-flex w-100 df-style-resetting df-sub-field" }, Pe = /* @_
|
|
|
1185
1212
|
CodeDark: "Code (dark)",
|
|
1186
1213
|
CodeBright: "Code (bright)"
|
|
1187
1214
|
};
|
|
1188
|
-
function
|
|
1189
|
-
Object.keys(
|
|
1215
|
+
function Ma(e) {
|
|
1216
|
+
Object.keys(S).forEach((t) => {
|
|
1190
1217
|
const n = e(t);
|
|
1191
|
-
n != null && (
|
|
1218
|
+
n != null && (S[t] = n);
|
|
1192
1219
|
});
|
|
1193
1220
|
}
|
|
1194
|
-
function
|
|
1195
|
-
|
|
1221
|
+
function La(e, t) {
|
|
1222
|
+
Ve.language = e, Ve.translations = t;
|
|
1196
1223
|
}
|
|
1197
|
-
const
|
|
1224
|
+
const Ve = {
|
|
1198
1225
|
language: "en",
|
|
1199
1226
|
translations: void 0
|
|
1200
1227
|
};
|
|
1201
1228
|
var z = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(z || {});
|
|
1202
|
-
const
|
|
1229
|
+
const Ke = 0;
|
|
1203
1230
|
((e) => {
|
|
1204
1231
|
function t(l) {
|
|
1205
|
-
return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 :
|
|
1232
|
+
return l.toUpperCase() === "BUTTON" ? 0 : l.toUpperCase() === "TEXT" ? 1 : Ke;
|
|
1206
1233
|
}
|
|
1207
1234
|
e.fromString = t;
|
|
1208
1235
|
function n(l) {
|
|
1209
1236
|
const r = typeof l == "number" ? l : e.fromString(l);
|
|
1210
|
-
return Object.values(e).includes(r) ? r :
|
|
1237
|
+
return Object.values(e).includes(r) ? r : Ke;
|
|
1211
1238
|
}
|
|
1212
1239
|
e.fromAny = n;
|
|
1213
1240
|
function a(l) {
|
|
@@ -1217,18 +1244,18 @@ const We = 0;
|
|
|
1217
1244
|
e.isDefined = a;
|
|
1218
1245
|
})(z || (z = {}));
|
|
1219
1246
|
Object.freeze(z);
|
|
1220
|
-
const
|
|
1221
|
-
class
|
|
1247
|
+
const Xe = ["xs", "sm", "md", "lg", "xl"];
|
|
1248
|
+
class Fo {
|
|
1222
1249
|
constructor(t) {
|
|
1223
|
-
|
|
1224
|
-
this._value = this.cleanBreakpoint(t, !0), t &&
|
|
1250
|
+
me(this, "_value");
|
|
1251
|
+
this._value = this.cleanBreakpoint(t, !0), t && Xe.forEach((n) => {
|
|
1225
1252
|
const a = this.cleanBreakpoint(t[n]);
|
|
1226
1253
|
a && (this._value[n] = a);
|
|
1227
1254
|
});
|
|
1228
1255
|
}
|
|
1229
1256
|
getOptionsForBreakpoint(t) {
|
|
1230
1257
|
const n = this.cleanBreakpoint(this._value), a = Object.keys(n);
|
|
1231
|
-
for (const l of
|
|
1258
|
+
for (const l of Xe) {
|
|
1232
1259
|
const r = this._value[l];
|
|
1233
1260
|
for (const s of a)
|
|
1234
1261
|
(r == null ? void 0 : r[s]) != null && (n[s] = r[s]);
|
|
@@ -1237,34 +1264,34 @@ class $o {
|
|
|
1237
1264
|
return n;
|
|
1238
1265
|
}
|
|
1239
1266
|
}
|
|
1240
|
-
function
|
|
1267
|
+
function Mo(e) {
|
|
1241
1268
|
return e.xlAndUp.value ? "xl" : e.lgAndUp.value ? "lg" : e.mdAndUp.value ? "md" : e.smAndUp.value ? "sm" : "xs";
|
|
1242
1269
|
}
|
|
1243
|
-
function
|
|
1244
|
-
const e =
|
|
1245
|
-
return b(() =>
|
|
1270
|
+
function Lo() {
|
|
1271
|
+
const e = Tt();
|
|
1272
|
+
return b(() => Mo(e));
|
|
1246
1273
|
}
|
|
1247
|
-
class
|
|
1274
|
+
class Uo extends Fo {
|
|
1248
1275
|
cleanBreakpoint(t, n = !1) {
|
|
1249
|
-
if ((!t || !
|
|
1276
|
+
if ((!t || !bt(t)) && !n) return null;
|
|
1250
1277
|
const a = {};
|
|
1251
|
-
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),
|
|
1278
|
+
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), He(t.showLabel) && (a.showLabel = t.showLabel), He(t.showIcon) && (a.showIcon = t.showIcon)), Object.keys(a).length ? a : null;
|
|
1252
1279
|
}
|
|
1253
1280
|
}
|
|
1254
|
-
class
|
|
1281
|
+
class ke extends Ct {
|
|
1255
1282
|
static create(t) {
|
|
1256
1283
|
return super.create(t);
|
|
1257
1284
|
}
|
|
1258
1285
|
getBreakpointValue(t) {
|
|
1259
1286
|
return b(() => {
|
|
1260
|
-
const a = new
|
|
1287
|
+
const a = new Uo(this.value).getOptionsForBreakpoint(t.value);
|
|
1261
1288
|
return {
|
|
1262
1289
|
name: a.name,
|
|
1263
1290
|
label: a.showLabel ? a.label : void 0,
|
|
1264
1291
|
icon: a.showIcon ? a.icon : void 0,
|
|
1265
1292
|
renderAs: a.renderAs,
|
|
1266
|
-
showLabel: oe(a.label) && !
|
|
1267
|
-
showIcon: oe(a.icon) && !
|
|
1293
|
+
showLabel: oe(a.label) && !he(a.label) ? a.showLabel : !1,
|
|
1294
|
+
showIcon: oe(a.icon) && !he(a.icon) ? a.showIcon : !1
|
|
1268
1295
|
};
|
|
1269
1296
|
});
|
|
1270
1297
|
}
|
|
@@ -1275,67 +1302,67 @@ class ye extends yt {
|
|
|
1275
1302
|
return this.value.showLabel ? this.value.label : void 0;
|
|
1276
1303
|
}
|
|
1277
1304
|
get showLabel() {
|
|
1278
|
-
return oe(this.value.label) && !
|
|
1305
|
+
return oe(this.value.label) && !he(this.value.label) ? this.value.showLabel : !1;
|
|
1279
1306
|
}
|
|
1280
1307
|
get icon() {
|
|
1281
1308
|
return this.value.showIcon ? this.value.icon : void 0;
|
|
1282
1309
|
}
|
|
1283
1310
|
get showIcon() {
|
|
1284
|
-
return oe(this.value.icon) && !
|
|
1311
|
+
return oe(this.value.icon) && !he(this.value.icon) ? this.value.showIcon : !1;
|
|
1285
1312
|
}
|
|
1286
1313
|
get renderAs() {
|
|
1287
1314
|
return this.value.renderAs;
|
|
1288
1315
|
}
|
|
1289
1316
|
static closeAction(t) {
|
|
1290
1317
|
var a;
|
|
1291
|
-
const n =
|
|
1318
|
+
const n = L(B({}, t != null ? t : {}), {
|
|
1292
1319
|
// any properties in data should overwrite properties in the constant
|
|
1293
1320
|
value: {
|
|
1294
1321
|
name: "close",
|
|
1295
|
-
label:
|
|
1322
|
+
label: S.Close,
|
|
1296
1323
|
icon: "ion-close-outline",
|
|
1297
1324
|
renderAs: z.BUTTON,
|
|
1298
1325
|
showLabel: !0,
|
|
1299
1326
|
showIcon: !0
|
|
1300
1327
|
}
|
|
1301
1328
|
});
|
|
1302
|
-
return n.value =
|
|
1329
|
+
return n.value = B(B({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ke.create(n);
|
|
1303
1330
|
}
|
|
1304
1331
|
static yesAction(t) {
|
|
1305
1332
|
var a;
|
|
1306
|
-
const n =
|
|
1333
|
+
const n = L(B({}, t != null ? t : {}), {
|
|
1307
1334
|
// any properties in data should overwrite properties in the constant
|
|
1308
1335
|
value: {
|
|
1309
1336
|
name: "yes",
|
|
1310
|
-
label:
|
|
1337
|
+
label: S.Yes,
|
|
1311
1338
|
icon: "ion-thumbs-up-outline",
|
|
1312
1339
|
renderAs: z.BUTTON,
|
|
1313
1340
|
showLabel: !0,
|
|
1314
1341
|
showIcon: !0
|
|
1315
1342
|
}
|
|
1316
1343
|
});
|
|
1317
|
-
return n.value =
|
|
1344
|
+
return n.value = B(B({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ke.create(n);
|
|
1318
1345
|
}
|
|
1319
1346
|
static noAction(t) {
|
|
1320
1347
|
var a;
|
|
1321
|
-
const n =
|
|
1348
|
+
const n = L(B({}, t != null ? t : {}), {
|
|
1322
1349
|
// any properties in data should overwrite properties in the constant
|
|
1323
1350
|
value: {
|
|
1324
1351
|
name: "no",
|
|
1325
|
-
label:
|
|
1352
|
+
label: S.No,
|
|
1326
1353
|
icon: "ion-thumbs-down-outline",
|
|
1327
1354
|
renderAs: z.BUTTON,
|
|
1328
1355
|
showLabel: !0,
|
|
1329
1356
|
showIcon: !0
|
|
1330
1357
|
}
|
|
1331
1358
|
});
|
|
1332
|
-
return n.value =
|
|
1359
|
+
return n.value = B(B({}, n.value), (a = t == null ? void 0 : t.value) != null ? a : {}), ke.create(n);
|
|
1333
1360
|
}
|
|
1334
1361
|
}
|
|
1335
|
-
const
|
|
1362
|
+
const Ho = {
|
|
1336
1363
|
key: 1,
|
|
1337
1364
|
style: { width: "0.5rem" }
|
|
1338
|
-
},
|
|
1365
|
+
}, Oo = { key: 2 }, Ro = /* @__PURE__ */ O({
|
|
1339
1366
|
__name: "df-actions",
|
|
1340
1367
|
props: {
|
|
1341
1368
|
actions: {},
|
|
@@ -1343,8 +1370,8 @@ const Mo = {
|
|
|
1343
1370
|
showAsGroup: { default: "no" }
|
|
1344
1371
|
},
|
|
1345
1372
|
setup(e) {
|
|
1346
|
-
const t = e, n =
|
|
1347
|
-
() => a.value.map((r) =>
|
|
1373
|
+
const t = e, n = Lo(), a = b(() => o(t.actions)), l = b(
|
|
1374
|
+
() => a.value.map((r) => B({
|
|
1348
1375
|
action: r
|
|
1349
1376
|
}, o(r.getBreakpointValue(n))))
|
|
1350
1377
|
);
|
|
@@ -1357,27 +1384,27 @@ const Mo = {
|
|
|
1357
1384
|
"with-border": e.showAsGroup === "grouped"
|
|
1358
1385
|
}])
|
|
1359
1386
|
}, [
|
|
1360
|
-
(V(!0), W(
|
|
1387
|
+
(V(!0), W(De, null, ft(l.value, (i, c) => (V(), _(f, {
|
|
1361
1388
|
key: c,
|
|
1362
1389
|
variant: i.renderAs === o(z).BUTTON ? "tonal" : "text",
|
|
1363
1390
|
elevation: 0,
|
|
1364
1391
|
size: e.buttonSize,
|
|
1365
|
-
onClick:
|
|
1392
|
+
onClick: pt((v) => i.action.execute(v), ["stop"])
|
|
1366
1393
|
}, {
|
|
1367
1394
|
default: w(() => [
|
|
1368
|
-
i.icon ? (V(),
|
|
1395
|
+
i.icon ? (V(), _(o(ge), {
|
|
1369
1396
|
key: 0,
|
|
1370
1397
|
name: i.icon
|
|
1371
|
-
}, null, 8, ["name"])) :
|
|
1372
|
-
i.icon && i.label ? (V(), W("span",
|
|
1373
|
-
i.label ? (V(), W("span",
|
|
1398
|
+
}, null, 8, ["name"])) : H("", !0),
|
|
1399
|
+
i.icon && i.label ? (V(), W("span", Ho)) : H("", !0),
|
|
1400
|
+
i.label ? (V(), W("span", Oo, Pe(i.label), 1)) : H("", !0)
|
|
1374
1401
|
]),
|
|
1375
1402
|
_: 2
|
|
1376
1403
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
1377
|
-
], 2)) :
|
|
1404
|
+
], 2)) : H("", !0);
|
|
1378
1405
|
};
|
|
1379
1406
|
}
|
|
1380
|
-
}),
|
|
1407
|
+
}), Wo = /* @__PURE__ */ O({
|
|
1381
1408
|
__name: "df-checkbox",
|
|
1382
1409
|
props: /* @__PURE__ */ Q({
|
|
1383
1410
|
allowNull: { type: Boolean },
|
|
@@ -1395,7 +1422,7 @@ const Mo = {
|
|
|
1395
1422
|
passthroughAttrs: {},
|
|
1396
1423
|
density: {},
|
|
1397
1424
|
variant: {}
|
|
1398
|
-
},
|
|
1425
|
+
}, L(B({}, Z), { allowNull: !1 })),
|
|
1399
1426
|
emits: ["update:modelValue", "click:clear"],
|
|
1400
1427
|
setup(e, { emit: t }) {
|
|
1401
1428
|
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), v = b(() => n.allowNull && i.value == null), m = b({
|
|
@@ -1406,12 +1433,12 @@ const Mo = {
|
|
|
1406
1433
|
}
|
|
1407
1434
|
});
|
|
1408
1435
|
function y() {
|
|
1409
|
-
const d =
|
|
1436
|
+
const d = gt(i.value);
|
|
1410
1437
|
d === !0 ? i.value = n.allowNull ? null : !1 : i.value = d === !1;
|
|
1411
1438
|
}
|
|
1412
1439
|
return (d, j) => {
|
|
1413
1440
|
const T = A("v-checkbox");
|
|
1414
|
-
return V(),
|
|
1441
|
+
return V(), _(T, R({
|
|
1415
1442
|
modelValue: m.value,
|
|
1416
1443
|
"onUpdate:modelValue": j[0] || (j[0] = (k) => m.value = k),
|
|
1417
1444
|
density: "compact",
|
|
@@ -1424,14 +1451,14 @@ const Mo = {
|
|
|
1424
1451
|
onBlur: j[1] || (j[1] = (k) => f.value = !0)
|
|
1425
1452
|
}), {
|
|
1426
1453
|
label: w((k) => [
|
|
1427
|
-
|
|
1454
|
+
I(o(re), {
|
|
1428
1455
|
"allow-wrap": !0,
|
|
1429
1456
|
data: k,
|
|
1430
1457
|
label: o(r)
|
|
1431
1458
|
}, null, 8, ["data", "label"])
|
|
1432
1459
|
]),
|
|
1433
1460
|
message: w(({ message: k }) => [
|
|
1434
|
-
|
|
1461
|
+
I(o(q), {
|
|
1435
1462
|
message: k,
|
|
1436
1463
|
errors: o(s)
|
|
1437
1464
|
}, null, 8, ["message", "errors"])
|
|
@@ -1440,7 +1467,7 @@ const Mo = {
|
|
|
1440
1467
|
}, 16, ["modelValue", "class", "indeterminate"]);
|
|
1441
1468
|
};
|
|
1442
1469
|
}
|
|
1443
|
-
}),
|
|
1470
|
+
}), zo = /* @__PURE__ */ O({
|
|
1444
1471
|
__name: "df-color",
|
|
1445
1472
|
props: /* @__PURE__ */ Q({
|
|
1446
1473
|
allowNull: { type: Boolean },
|
|
@@ -1458,7 +1485,7 @@ const Mo = {
|
|
|
1458
1485
|
passthroughAttrs: {},
|
|
1459
1486
|
density: {},
|
|
1460
1487
|
variant: {}
|
|
1461
|
-
},
|
|
1488
|
+
}, L(B({}, Z), { allowNull: !1 })),
|
|
1462
1489
|
emits: ["update:modelValue", "click:clear"],
|
|
1463
1490
|
setup(e, { emit: t }) {
|
|
1464
1491
|
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), v = F(!1), m = b(() => [
|
|
@@ -1466,7 +1493,7 @@ const Mo = {
|
|
|
1466
1493
|
]);
|
|
1467
1494
|
return (y, d) => {
|
|
1468
1495
|
const j = A("v-color-picker"), T = A("v-menu"), k = A("v-text-field");
|
|
1469
|
-
return V(),
|
|
1496
|
+
return V(), _(k, R({
|
|
1470
1497
|
modelValue: o(i),
|
|
1471
1498
|
"onUpdate:modelValue": d[2] || (d[2] = (g) => ae(i) ? i.value = g : null),
|
|
1472
1499
|
class: o(l),
|
|
@@ -1477,31 +1504,31 @@ const Mo = {
|
|
|
1477
1504
|
onBlur: d[3] || (d[3] = (g) => f.value = !0)
|
|
1478
1505
|
}), {
|
|
1479
1506
|
label: w((g) => [
|
|
1480
|
-
|
|
1507
|
+
I(o(re), {
|
|
1481
1508
|
data: g,
|
|
1482
1509
|
label: o(r)
|
|
1483
1510
|
}, null, 8, ["data", "label"])
|
|
1484
1511
|
]),
|
|
1485
1512
|
message: w(({ message: g }) => [
|
|
1486
|
-
|
|
1513
|
+
I(o(q), {
|
|
1487
1514
|
message: g,
|
|
1488
1515
|
errors: o(s)
|
|
1489
1516
|
}, null, 8, ["message", "errors"])
|
|
1490
1517
|
]),
|
|
1491
1518
|
"prepend-inner": w(() => [
|
|
1492
1519
|
le("div", {
|
|
1493
|
-
style:
|
|
1520
|
+
style: Ye([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
|
|
1494
1521
|
}, null, 4)
|
|
1495
1522
|
]),
|
|
1496
1523
|
default: w(() => [
|
|
1497
|
-
|
|
1524
|
+
I(T, {
|
|
1498
1525
|
modelValue: v.value,
|
|
1499
1526
|
"onUpdate:modelValue": d[1] || (d[1] = (g) => v.value = g),
|
|
1500
1527
|
"close-on-content-click": !1,
|
|
1501
1528
|
activator: "parent"
|
|
1502
1529
|
}, {
|
|
1503
1530
|
default: w(() => [
|
|
1504
|
-
|
|
1531
|
+
I(j, {
|
|
1505
1532
|
modelValue: o(i),
|
|
1506
1533
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => ae(i) ? i.value = g : null),
|
|
1507
1534
|
mode: "hexa"
|
|
@@ -1514,7 +1541,7 @@ const Mo = {
|
|
|
1514
1541
|
}, 16, ["modelValue", "class", "clearable", "rules"]);
|
|
1515
1542
|
};
|
|
1516
1543
|
}
|
|
1517
|
-
}),
|
|
1544
|
+
}), Ko = /* @__PURE__ */ O({
|
|
1518
1545
|
__name: "df-datetime",
|
|
1519
1546
|
props: /* @__PURE__ */ Q({
|
|
1520
1547
|
inputType: {},
|
|
@@ -1535,7 +1562,7 @@ const Mo = {
|
|
|
1535
1562
|
passthroughAttrs: {},
|
|
1536
1563
|
density: {},
|
|
1537
1564
|
variant: {}
|
|
1538
|
-
},
|
|
1565
|
+
}, L(B({}, Z), {
|
|
1539
1566
|
inputType: "datetime",
|
|
1540
1567
|
displayFormatDate: "P",
|
|
1541
1568
|
displayFormatTime: "p"
|
|
@@ -1544,11 +1571,11 @@ const Mo = {
|
|
|
1544
1571
|
setup(e, { emit: t }) {
|
|
1545
1572
|
const n = e, a = t, l = b(() => {
|
|
1546
1573
|
var p;
|
|
1547
|
-
return (p = n.locale) != null ? p : o(
|
|
1574
|
+
return (p = n.locale) != null ? p : o($o.dateTimeLocale);
|
|
1548
1575
|
}), r = b(() => {
|
|
1549
1576
|
var p, u;
|
|
1550
1577
|
return (u = (p = l.value.options) == null ? void 0 : p.weekStartsOn) != null ? u : 1;
|
|
1551
|
-
}), { densityClass: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { inputType: v, displayFormatDate: m, displayFormatTime: y } =
|
|
1578
|
+
}), { densityClass: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { inputType: v, displayFormatDate: m, displayFormatTime: y } = je(n), d = F(""), j = b({
|
|
1552
1579
|
get() {
|
|
1553
1580
|
return o(d) === "date";
|
|
1554
1581
|
},
|
|
@@ -1562,24 +1589,24 @@ const Mo = {
|
|
|
1562
1589
|
set(p) {
|
|
1563
1590
|
d.value = p ? "time" : "";
|
|
1564
1591
|
}
|
|
1565
|
-
}), k = (p) => `${
|
|
1566
|
-
function
|
|
1592
|
+
}), k = (p) => `${fe(p, "yyyy-MM-dd")}T${fe(p, "HH:mm")}:00`, g = F(null);
|
|
1593
|
+
function P(p, u) {
|
|
1567
1594
|
if (p == null)
|
|
1568
1595
|
g.value = null;
|
|
1569
1596
|
else if (u === -1)
|
|
1570
1597
|
if (o(v) === "time")
|
|
1571
|
-
g.value = k(/* @__PURE__ */ new Date()),
|
|
1598
|
+
g.value = k(/* @__PURE__ */ new Date()), P(`T${p}`, 1);
|
|
1572
1599
|
else {
|
|
1573
1600
|
const $ = k(new Date(p));
|
|
1574
|
-
|
|
1601
|
+
P($, 0), P($, 1);
|
|
1575
1602
|
}
|
|
1576
1603
|
else {
|
|
1577
1604
|
g.value == null && (g.value = k(/* @__PURE__ */ new Date()));
|
|
1578
1605
|
const $ = g.value.split(/[TZ]/g), K = p.split(/[TZ]/g);
|
|
1579
|
-
$[u] = K[u], g.value = k(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(v) === "date" ? i.value = $[0] : o(v) === "time" ? i.value = $[1] : i.value = o(g) +
|
|
1606
|
+
$[u] = K[u], g.value = k(/* @__PURE__ */ new Date(`${$[0]}T${$[1].split(".")[0]}`)), o(v) === "date" ? i.value = $[0] : o(v) === "time" ? i.value = $[1] : i.value = o(g) + fe(/* @__PURE__ */ new Date(), "XXX");
|
|
1580
1607
|
}
|
|
1581
1608
|
}
|
|
1582
|
-
ue(i, (p) =>
|
|
1609
|
+
ue(i, (p) => P(p, -1), { immediate: !0 });
|
|
1583
1610
|
const M = b({
|
|
1584
1611
|
get() {
|
|
1585
1612
|
const p = o(g);
|
|
@@ -1588,7 +1615,7 @@ const Mo = {
|
|
|
1588
1615
|
return Number.isNaN(u.getTime()) ? null : u;
|
|
1589
1616
|
},
|
|
1590
1617
|
set(p) {
|
|
1591
|
-
|
|
1618
|
+
P(k(p), 0);
|
|
1592
1619
|
}
|
|
1593
1620
|
}), N = b({
|
|
1594
1621
|
get() {
|
|
@@ -1596,43 +1623,43 @@ const Mo = {
|
|
|
1596
1623
|
return p == null ? "" : p.split(/[TZ]/g)[1].split(".")[0];
|
|
1597
1624
|
},
|
|
1598
1625
|
set(p) {
|
|
1599
|
-
|
|
1626
|
+
P(`T${p}`, 1);
|
|
1600
1627
|
}
|
|
1601
1628
|
}), h = b({
|
|
1602
1629
|
get() {
|
|
1603
1630
|
const p = o(M);
|
|
1604
|
-
return p == null ? "" :
|
|
1631
|
+
return p == null ? "" : fe(p, o(m), { locale: l.value });
|
|
1605
1632
|
},
|
|
1606
1633
|
set(p) {
|
|
1607
1634
|
try {
|
|
1608
|
-
const u =
|
|
1609
|
-
|
|
1635
|
+
const u = xt(p, o(m), /* @__PURE__ */ new Date(), { locale: l.value });
|
|
1636
|
+
P(k(u), 0);
|
|
1610
1637
|
} catch (u) {
|
|
1611
1638
|
console.error(u);
|
|
1612
1639
|
}
|
|
1613
1640
|
}
|
|
1614
|
-
}),
|
|
1641
|
+
}), U = b({
|
|
1615
1642
|
get() {
|
|
1616
1643
|
const p = o(M);
|
|
1617
|
-
return p == null ? "" :
|
|
1644
|
+
return p == null ? "" : fe(p, o(y), { locale: l.value });
|
|
1618
1645
|
},
|
|
1619
1646
|
set(p) {
|
|
1620
1647
|
const u = p.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
1621
1648
|
if (u == null) return;
|
|
1622
|
-
let $ =
|
|
1623
|
-
const K =
|
|
1624
|
-
|
|
1649
|
+
let $ = Oe(u[1]);
|
|
1650
|
+
const K = Oe(u[2]);
|
|
1651
|
+
Re($) || Re(K) || (u[3] && u[3].toLowerCase() === "pm" && $ < 13 && ($ += 12), P(`T${$.toString().padStart(2, "0")}:${K.toString().padStart(2, "0")}:00`, 1));
|
|
1625
1652
|
}
|
|
1626
1653
|
});
|
|
1627
1654
|
return (p, u) => {
|
|
1628
1655
|
const $ = A("v-date-picker"), K = A("v-confirm-edit"), ce = A("v-menu"), de = A("v-text-field"), x = A("v-time-picker");
|
|
1629
|
-
return V(),
|
|
1656
|
+
return V(), _(o($e), R(n, {
|
|
1630
1657
|
class: o(s),
|
|
1631
1658
|
clearable: e.clearable,
|
|
1632
|
-
"onClick:clear": u[14] || (u[14] = (
|
|
1633
|
-
onBlur: u[15] || (u[15] = (
|
|
1659
|
+
"onClick:clear": u[14] || (u[14] = (D) => i.value = null),
|
|
1660
|
+
onBlur: u[15] || (u[15] = (D) => f.value = !0)
|
|
1634
1661
|
}), {
|
|
1635
|
-
default: w((
|
|
1662
|
+
default: w((D) => [
|
|
1636
1663
|
le("div", {
|
|
1637
1664
|
class: Y([
|
|
1638
1665
|
"d-flex",
|
|
@@ -1642,7 +1669,7 @@ const Mo = {
|
|
|
1642
1669
|
e.density
|
|
1643
1670
|
])
|
|
1644
1671
|
}, [
|
|
1645
|
-
["date", "datetime"].includes(o(v)) ? (V(),
|
|
1672
|
+
["date", "datetime"].includes(o(v)) ? (V(), _(de, R({
|
|
1646
1673
|
key: 0,
|
|
1647
1674
|
modelValue: h.value,
|
|
1648
1675
|
"onUpdate:modelValue": u[4] || (u[4] = (C) => h.value = C),
|
|
@@ -1657,35 +1684,35 @@ const Mo = {
|
|
|
1657
1684
|
placeholder: o(c).placeholder
|
|
1658
1685
|
}, e.passthroughAttrs, {
|
|
1659
1686
|
onClick: u[5] || (u[5] = (C) => d.value = "date"),
|
|
1660
|
-
onKeydown: u[6] || (u[6] =
|
|
1661
|
-
onFocus: (C) =>
|
|
1662
|
-
onBlur: (C) =>
|
|
1687
|
+
onKeydown: u[6] || (u[6] = Le((C) => d.value = "date", ["space"])),
|
|
1688
|
+
onFocus: (C) => D.focus(),
|
|
1689
|
+
onBlur: (C) => D.blur()
|
|
1663
1690
|
}), {
|
|
1664
1691
|
default: w(() => [
|
|
1665
|
-
|
|
1692
|
+
I(ce, {
|
|
1666
1693
|
modelValue: j.value,
|
|
1667
1694
|
"onUpdate:modelValue": u[3] || (u[3] = (C) => j.value = C),
|
|
1668
1695
|
"close-on-content-click": !1,
|
|
1669
1696
|
activator: "parent"
|
|
1670
1697
|
}, {
|
|
1671
1698
|
default: w(() => [
|
|
1672
|
-
|
|
1699
|
+
I(K, {
|
|
1673
1700
|
modelValue: M.value,
|
|
1674
1701
|
"onUpdate:modelValue": u[0] || (u[0] = (C) => M.value = C),
|
|
1675
1702
|
onCancel: u[1] || (u[1] = (C) => d.value = ""),
|
|
1676
1703
|
onSave: u[2] || (u[2] = (C) => d.value = "")
|
|
1677
1704
|
}, {
|
|
1678
1705
|
default: w(({ model: C, actions: J }) => [
|
|
1679
|
-
|
|
1706
|
+
I($, {
|
|
1680
1707
|
modelValue: C.value,
|
|
1681
|
-
"onUpdate:modelValue": (
|
|
1708
|
+
"onUpdate:modelValue": (E) => C.value = E,
|
|
1682
1709
|
"hide-header": !0,
|
|
1683
1710
|
"first-day-of-week": r.value,
|
|
1684
1711
|
"show-adjacent-months": !0,
|
|
1685
1712
|
"show-week": !0
|
|
1686
1713
|
}, {
|
|
1687
1714
|
actions: w(() => [
|
|
1688
|
-
(V(),
|
|
1715
|
+
(V(), _(be(J)))
|
|
1689
1716
|
]),
|
|
1690
1717
|
_: 2
|
|
1691
1718
|
}, 1032, ["modelValue", "onUpdate:modelValue", "first-day-of-week"])
|
|
@@ -1697,11 +1724,11 @@ const Mo = {
|
|
|
1697
1724
|
}, 8, ["modelValue"])
|
|
1698
1725
|
]),
|
|
1699
1726
|
_: 1
|
|
1700
|
-
}, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) :
|
|
1701
|
-
["time", "datetime"].includes(o(v)) ? (V(),
|
|
1727
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : H("", !0),
|
|
1728
|
+
["time", "datetime"].includes(o(v)) ? (V(), _(de, R({
|
|
1702
1729
|
key: 1,
|
|
1703
|
-
modelValue:
|
|
1704
|
-
"onUpdate:modelValue": u[11] || (u[11] = (C) =>
|
|
1730
|
+
modelValue: U.value,
|
|
1731
|
+
"onUpdate:modelValue": u[11] || (u[11] = (C) => U.value = C),
|
|
1705
1732
|
style: { "flex-grow": "3" },
|
|
1706
1733
|
density: "compact",
|
|
1707
1734
|
variant: "plain",
|
|
@@ -1713,33 +1740,33 @@ const Mo = {
|
|
|
1713
1740
|
placeholder: o(v) === "time" ? o(c).placeholder : void 0
|
|
1714
1741
|
}, e.passthroughAttrs, {
|
|
1715
1742
|
onClick: u[12] || (u[12] = (C) => d.value = "time"),
|
|
1716
|
-
onKeydown: u[13] || (u[13] =
|
|
1717
|
-
onFocus: (C) =>
|
|
1718
|
-
onBlur: (C) =>
|
|
1743
|
+
onKeydown: u[13] || (u[13] = Le((C) => d.value = "time", ["space"])),
|
|
1744
|
+
onFocus: (C) => D.focus(),
|
|
1745
|
+
onBlur: (C) => D.blur()
|
|
1719
1746
|
}), {
|
|
1720
1747
|
default: w(() => [
|
|
1721
|
-
|
|
1748
|
+
I(ce, {
|
|
1722
1749
|
modelValue: T.value,
|
|
1723
1750
|
"onUpdate:modelValue": u[10] || (u[10] = (C) => T.value = C),
|
|
1724
1751
|
"close-on-content-click": !1,
|
|
1725
1752
|
activator: "parent"
|
|
1726
1753
|
}, {
|
|
1727
1754
|
default: w(() => [
|
|
1728
|
-
|
|
1755
|
+
I(K, {
|
|
1729
1756
|
modelValue: N.value,
|
|
1730
1757
|
"onUpdate:modelValue": u[7] || (u[7] = (C) => N.value = C),
|
|
1731
1758
|
onCancel: u[8] || (u[8] = (C) => d.value = ""),
|
|
1732
1759
|
onSave: u[9] || (u[9] = (C) => d.value = "")
|
|
1733
1760
|
}, {
|
|
1734
1761
|
default: w(({ model: C, actions: J }) => [
|
|
1735
|
-
|
|
1762
|
+
I(x, {
|
|
1736
1763
|
modelValue: C.value,
|
|
1737
|
-
"onUpdate:modelValue": (
|
|
1764
|
+
"onUpdate:modelValue": (E) => C.value = E,
|
|
1738
1765
|
"hide-header": !0,
|
|
1739
1766
|
format: "24hr"
|
|
1740
1767
|
}, {
|
|
1741
1768
|
actions: w(() => [
|
|
1742
|
-
(V(),
|
|
1769
|
+
(V(), _(be(J)))
|
|
1743
1770
|
]),
|
|
1744
1771
|
_: 2
|
|
1745
1772
|
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
@@ -1751,14 +1778,14 @@ const Mo = {
|
|
|
1751
1778
|
}, 8, ["modelValue"])
|
|
1752
1779
|
]),
|
|
1753
1780
|
_: 1
|
|
1754
|
-
}, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) :
|
|
1781
|
+
}, 16, ["modelValue", "readonly", "disabled", "name", "placeholder", "onFocus", "onBlur"])) : H("", !0)
|
|
1755
1782
|
], 2)
|
|
1756
1783
|
]),
|
|
1757
1784
|
_: 1
|
|
1758
1785
|
}, 16, ["class", "clearable"]);
|
|
1759
1786
|
};
|
|
1760
1787
|
}
|
|
1761
|
-
}),
|
|
1788
|
+
}), Xo = /* @__PURE__ */ O({
|
|
1762
1789
|
__name: "df-file",
|
|
1763
1790
|
props: /* @__PURE__ */ Q({
|
|
1764
1791
|
comms: {},
|
|
@@ -1788,20 +1815,20 @@ const Mo = {
|
|
|
1788
1815
|
s.value && n.comms.touch(s.value);
|
|
1789
1816
|
}, 60 * 1e3);
|
|
1790
1817
|
}
|
|
1791
|
-
|
|
1818
|
+
qe(() => T()), ue(s, (N) => {
|
|
1792
1819
|
N ? k() : T();
|
|
1793
1820
|
});
|
|
1794
1821
|
function g() {
|
|
1795
|
-
return
|
|
1822
|
+
return we(this, null, function* () {
|
|
1796
1823
|
s.value && (yield n.comms.delete(s.value)), s.value = null, v.value = 0, m.value = Math.round(Math.random() * 1e3), c.value = null, y.value = null, T();
|
|
1797
1824
|
});
|
|
1798
1825
|
}
|
|
1799
|
-
function
|
|
1800
|
-
return
|
|
1826
|
+
function P(N) {
|
|
1827
|
+
return we(this, null, function* () {
|
|
1801
1828
|
v.value = -1, c.value = N;
|
|
1802
1829
|
try {
|
|
1803
|
-
s.value = yield n.comms.upload(N, (h,
|
|
1804
|
-
v.value = Math.round(h * 100 /
|
|
1830
|
+
s.value = yield n.comms.upload(N, (h, U) => {
|
|
1831
|
+
v.value = Math.round(h * 100 / U);
|
|
1805
1832
|
}), v.value = 100, k();
|
|
1806
1833
|
} catch (h) {
|
|
1807
1834
|
throw v.value = 0, c.value = null, m.value = Math.round(Math.random() * 1e3), y.value = null, h;
|
|
@@ -1809,31 +1836,31 @@ const Mo = {
|
|
|
1809
1836
|
});
|
|
1810
1837
|
}
|
|
1811
1838
|
function M(N) {
|
|
1812
|
-
N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") :
|
|
1839
|
+
N && (Array.isArray(N) ? console.error("Uploading multiple files not supported right now") : P(N));
|
|
1813
1840
|
}
|
|
1814
1841
|
return (N, h) => {
|
|
1815
|
-
const
|
|
1816
|
-
return V(),
|
|
1842
|
+
const U = A("v-progress-linear"), p = A("v-file-input");
|
|
1843
|
+
return V(), _(o($e), R(L(B({}, n), { loading: d.value }), {
|
|
1817
1844
|
class: o(l),
|
|
1818
1845
|
clearable: "",
|
|
1819
1846
|
"onClick:clear": g,
|
|
1820
1847
|
onBlur: h[1] || (h[1] = (u) => r.value = !0)
|
|
1821
1848
|
}), {
|
|
1822
1849
|
"prepend-inner": w(() => [
|
|
1823
|
-
|
|
1850
|
+
I(o(ge), { name: "mdi-paperclip" })
|
|
1824
1851
|
]),
|
|
1825
1852
|
loader: w(() => [
|
|
1826
|
-
c.value && v.value < 100 ? (V(),
|
|
1853
|
+
c.value && v.value < 100 ? (V(), _(U, {
|
|
1827
1854
|
key: 0,
|
|
1828
1855
|
"model-value": v.value,
|
|
1829
1856
|
indeterminate: v.value === -1
|
|
1830
|
-
}, null, 8, ["model-value", "indeterminate"])) :
|
|
1857
|
+
}, null, 8, ["model-value", "indeterminate"])) : H("", !0)
|
|
1831
1858
|
]),
|
|
1832
1859
|
default: w((u) => [
|
|
1833
1860
|
le("div", {
|
|
1834
1861
|
class: Y(["d-flex w-100 position-relative df-input-wrapper", e.density])
|
|
1835
1862
|
}, [
|
|
1836
|
-
|
|
1863
|
+
I(p, R({
|
|
1837
1864
|
modelValue: y.value,
|
|
1838
1865
|
"onUpdate:modelValue": h[0] || (h[0] = ($) => y.value = $),
|
|
1839
1866
|
label: j.value,
|
|
@@ -1859,7 +1886,7 @@ const Mo = {
|
|
|
1859
1886
|
}, 16, ["class"]);
|
|
1860
1887
|
};
|
|
1861
1888
|
}
|
|
1862
|
-
}),
|
|
1889
|
+
}), Go = /* @__PURE__ */ O({
|
|
1863
1890
|
__name: "df-input",
|
|
1864
1891
|
props: /* @__PURE__ */ Q({
|
|
1865
1892
|
inputType: {},
|
|
@@ -1881,7 +1908,7 @@ const Mo = {
|
|
|
1881
1908
|
passthroughAttrs: {},
|
|
1882
1909
|
density: {},
|
|
1883
1910
|
variant: {}
|
|
1884
|
-
},
|
|
1911
|
+
}, L(B({}, Z), {
|
|
1885
1912
|
inputType: "text",
|
|
1886
1913
|
precision: null,
|
|
1887
1914
|
step: void 0,
|
|
@@ -1890,50 +1917,50 @@ const Mo = {
|
|
|
1890
1917
|
})),
|
|
1891
1918
|
emits: ["update:modelValue", "click:clear"],
|
|
1892
1919
|
setup(e, { emit: t }) {
|
|
1893
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { inputType: v, max: m, min: y, precision: d, step: j } =
|
|
1920
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { inputType: v, max: m, min: y, precision: d, step: j } = je(n), T = b(() => v.value === "number"), k = b(
|
|
1894
1921
|
() => T.value ? { min: o(y), max: o(m), precision: o(d), step: o(j) } : {}
|
|
1895
1922
|
);
|
|
1896
|
-
return (g,
|
|
1923
|
+
return (g, P) => {
|
|
1897
1924
|
const M = A("v-text-field"), N = A("v-number-input");
|
|
1898
1925
|
return V(), W("div", {
|
|
1899
1926
|
class: Y(["df-input-container", o(l)])
|
|
1900
1927
|
}, [
|
|
1901
|
-
T.value ? (V(),
|
|
1928
|
+
T.value ? (V(), _(N, R({
|
|
1902
1929
|
key: 1,
|
|
1903
1930
|
modelValue: o(i),
|
|
1904
|
-
"onUpdate:modelValue":
|
|
1931
|
+
"onUpdate:modelValue": P[2] || (P[2] = (h) => ae(i) ? i.value = h : null),
|
|
1905
1932
|
density: "compact",
|
|
1906
1933
|
"control-variant": "stacked"
|
|
1907
|
-
},
|
|
1934
|
+
}, B(B({}, o(c)), k.value)), {
|
|
1908
1935
|
label: w((h) => [
|
|
1909
|
-
|
|
1936
|
+
I(o(re), {
|
|
1910
1937
|
data: h,
|
|
1911
1938
|
label: o(r)
|
|
1912
1939
|
}, null, 8, ["data", "label"])
|
|
1913
1940
|
]),
|
|
1914
1941
|
message: w(({ message: h }) => [
|
|
1915
|
-
|
|
1942
|
+
I(o(q), {
|
|
1916
1943
|
message: h,
|
|
1917
1944
|
errors: o(s)
|
|
1918
1945
|
}, null, 8, ["message", "errors"])
|
|
1919
1946
|
]),
|
|
1920
1947
|
_: 1
|
|
1921
|
-
}, 16, ["modelValue"])) : (V(),
|
|
1948
|
+
}, 16, ["modelValue"])) : (V(), _(M, R({
|
|
1922
1949
|
key: 0,
|
|
1923
1950
|
modelValue: o(i),
|
|
1924
|
-
"onUpdate:modelValue":
|
|
1951
|
+
"onUpdate:modelValue": P[0] || (P[0] = (h) => ae(i) ? i.value = h : null),
|
|
1925
1952
|
type: o(v)
|
|
1926
1953
|
}, o(c), {
|
|
1927
|
-
onBlur:
|
|
1954
|
+
onBlur: P[1] || (P[1] = (h) => f.value = !0)
|
|
1928
1955
|
}), {
|
|
1929
1956
|
label: w((h) => [
|
|
1930
|
-
|
|
1957
|
+
I(o(re), {
|
|
1931
1958
|
data: h,
|
|
1932
1959
|
label: o(r)
|
|
1933
1960
|
}, null, 8, ["data", "label"])
|
|
1934
1961
|
]),
|
|
1935
1962
|
message: w(({ message: h }) => [
|
|
1936
|
-
|
|
1963
|
+
I(o(q), {
|
|
1937
1964
|
message: h,
|
|
1938
1965
|
errors: o(s)
|
|
1939
1966
|
}, null, 8, ["message", "errors"])
|
|
@@ -1943,7 +1970,7 @@ const Mo = {
|
|
|
1943
1970
|
], 2);
|
|
1944
1971
|
};
|
|
1945
1972
|
}
|
|
1946
|
-
}),
|
|
1973
|
+
}), qo = { class: "editor-container" }, Yo = { class: "editor-container__editor" }, Qo = { ref: "editorElement" }, Zo = /* @__PURE__ */ O({
|
|
1947
1974
|
__name: "ck-editor-custom",
|
|
1948
1975
|
props: {
|
|
1949
1976
|
modelValue: { default: "" },
|
|
@@ -1952,10 +1979,10 @@ const Mo = {
|
|
|
1952
1979
|
},
|
|
1953
1980
|
emits: ["update:modelValue"],
|
|
1954
1981
|
setup(e, { expose: t, emit: n }) {
|
|
1955
|
-
|
|
1982
|
+
vt((m) => ({
|
|
1956
1983
|
v32dcdf6e: m.minHeight
|
|
1957
1984
|
}));
|
|
1958
|
-
const a = n, l = F(!1), r =
|
|
1985
|
+
const a = n, l = F(!1), r = vn, s = {
|
|
1959
1986
|
items: [
|
|
1960
1987
|
"undo",
|
|
1961
1988
|
"redo",
|
|
@@ -1985,16 +2012,13 @@ const Mo = {
|
|
|
1985
2012
|
],
|
|
1986
2013
|
shouldNotGroupWhenFull: !1
|
|
1987
2014
|
}, f = [
|
|
1988
|
-
jt,
|
|
1989
|
-
Tt,
|
|
1990
|
-
xt,
|
|
1991
2015
|
Bt,
|
|
1992
2016
|
It,
|
|
1993
2017
|
Dt,
|
|
1994
2018
|
_t,
|
|
1995
2019
|
Pt,
|
|
1996
|
-
St,
|
|
1997
2020
|
Et,
|
|
2021
|
+
St,
|
|
1998
2022
|
$t,
|
|
1999
2023
|
At,
|
|
2000
2024
|
Nt,
|
|
@@ -2025,19 +2049,22 @@ const Mo = {
|
|
|
2025
2049
|
sn,
|
|
2026
2050
|
un,
|
|
2027
2051
|
cn,
|
|
2028
|
-
dn
|
|
2052
|
+
dn,
|
|
2053
|
+
mn,
|
|
2054
|
+
fn,
|
|
2055
|
+
pn
|
|
2029
2056
|
], i = {
|
|
2030
2057
|
options: [
|
|
2031
|
-
{ model: "paragraph", title:
|
|
2032
|
-
{ model: "heading1", view: "h1", title:
|
|
2033
|
-
{ model: "heading2", view: "h2", title:
|
|
2034
|
-
{ model: "heading3", view: "h3", title:
|
|
2035
|
-
{ model: "heading4", view: "h4", title:
|
|
2036
|
-
{ model: "heading5", view: "h5", title:
|
|
2037
|
-
{ model: "heading6", view: "h6", title:
|
|
2058
|
+
{ model: "paragraph", title: S.Paragraph, class: "ck-heading_paragraph" },
|
|
2059
|
+
{ model: "heading1", view: "h1", title: S.Heading1, class: "ck-heading_heading1" },
|
|
2060
|
+
{ model: "heading2", view: "h2", title: S.Heading2, class: "ck-heading_heading2" },
|
|
2061
|
+
{ model: "heading3", view: "h3", title: S.Heading3, class: "ck-heading_heading3" },
|
|
2062
|
+
{ model: "heading4", view: "h4", title: S.Heading4, class: "ck-heading_heading4" },
|
|
2063
|
+
{ model: "heading5", view: "h5", title: S.Heading5, class: "ck-heading_heading5" },
|
|
2064
|
+
{ model: "heading6", view: "h6", title: S.Heading6, class: "ck-heading_heading6" }
|
|
2038
2065
|
]
|
|
2039
2066
|
}, c = {
|
|
2040
|
-
language:
|
|
2067
|
+
language: Ve.language,
|
|
2041
2068
|
toolbar: s,
|
|
2042
2069
|
plugins: f,
|
|
2043
2070
|
balloonToolbar: ["bold", "italic", "|", "link", "|", "bulletedList", "numberedList"],
|
|
@@ -2064,7 +2091,7 @@ const Mo = {
|
|
|
2064
2091
|
decorators: {
|
|
2065
2092
|
toggleDownloadable: {
|
|
2066
2093
|
mode: "manual",
|
|
2067
|
-
label:
|
|
2094
|
+
label: S.Downloadable,
|
|
2068
2095
|
attributes: { download: "file" }
|
|
2069
2096
|
}
|
|
2070
2097
|
}
|
|
@@ -2072,46 +2099,46 @@ const Mo = {
|
|
|
2072
2099
|
placeholder: "",
|
|
2073
2100
|
style: {
|
|
2074
2101
|
definitions: [
|
|
2075
|
-
{ name:
|
|
2076
|
-
{ name:
|
|
2077
|
-
{ name:
|
|
2078
|
-
{ name:
|
|
2079
|
-
{ name:
|
|
2080
|
-
{ name:
|
|
2081
|
-
{ name:
|
|
2082
|
-
{ name:
|
|
2083
|
-
{ name:
|
|
2102
|
+
{ name: S.ArticleCategory, element: "h3", classes: ["category"] },
|
|
2103
|
+
{ name: S.Title, element: "h2", classes: ["document-title"] },
|
|
2104
|
+
{ name: S.Subtitle, element: "h3", classes: ["document-subtitle"] },
|
|
2105
|
+
{ name: S.InfoBox, element: "p", classes: ["info-box"] },
|
|
2106
|
+
{ name: S.SideQuote, element: "blockquote", classes: ["side-quote"] },
|
|
2107
|
+
{ name: S.Marker, element: "span", classes: ["marker"] },
|
|
2108
|
+
{ name: S.Spoiler, element: "span", classes: ["spoiler"] },
|
|
2109
|
+
{ name: S.CodeDark, element: "pre", classes: ["fancy-code", "fancy-code-dark"] },
|
|
2110
|
+
{ name: S.CodeBright, element: "pre", classes: ["fancy-code", "fancy-code-bright"] }
|
|
2084
2111
|
]
|
|
2085
2112
|
},
|
|
2086
2113
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] },
|
|
2087
|
-
translations:
|
|
2114
|
+
translations: Ve.translations
|
|
2088
2115
|
};
|
|
2089
|
-
|
|
2116
|
+
Ge(() => {
|
|
2090
2117
|
l.value = !0;
|
|
2091
2118
|
});
|
|
2092
2119
|
const v = (m) => {
|
|
2093
2120
|
};
|
|
2094
2121
|
return t({ onEditorReady: v }), (m, y) => {
|
|
2095
2122
|
const d = A("ckeditor");
|
|
2096
|
-
return V(), W("div",
|
|
2097
|
-
le("div",
|
|
2098
|
-
le("div",
|
|
2099
|
-
l.value ? (V(),
|
|
2123
|
+
return V(), W("div", qo, [
|
|
2124
|
+
le("div", Yo, [
|
|
2125
|
+
le("div", Qo, [
|
|
2126
|
+
l.value ? (V(), _(d, {
|
|
2100
2127
|
key: 0,
|
|
2101
2128
|
"model-value": e.modelValue,
|
|
2102
2129
|
editor: o(r),
|
|
2103
2130
|
config: c,
|
|
2104
2131
|
disabled: e.disabled,
|
|
2105
|
-
style:
|
|
2132
|
+
style: Ye(`min-height: ${e.minHeight}`),
|
|
2106
2133
|
onReady: v,
|
|
2107
2134
|
"onUpdate:modelValue": y[0] || (y[0] = (j) => a("update:modelValue", j))
|
|
2108
|
-
}, null, 8, ["model-value", "editor", "disabled", "style"])) :
|
|
2135
|
+
}, null, 8, ["model-value", "editor", "disabled", "style"])) : H("", !0)
|
|
2109
2136
|
], 512)
|
|
2110
2137
|
])
|
|
2111
2138
|
]);
|
|
2112
2139
|
};
|
|
2113
2140
|
}
|
|
2114
|
-
}),
|
|
2141
|
+
}), Jo = /* @__PURE__ */ O({
|
|
2115
2142
|
__name: "df-rtf-editor",
|
|
2116
2143
|
props: /* @__PURE__ */ Q({
|
|
2117
2144
|
minHeight: {},
|
|
@@ -2129,15 +2156,15 @@ const Mo = {
|
|
|
2129
2156
|
passthroughAttrs: {},
|
|
2130
2157
|
density: {},
|
|
2131
2158
|
variant: {}
|
|
2132
|
-
},
|
|
2159
|
+
}, L(B({}, Z), { minHeight: void 0 })),
|
|
2133
2160
|
emits: ["update:modelValue", "click:clear"],
|
|
2134
2161
|
setup(e, { emit: t }) {
|
|
2135
2162
|
const n = e, a = t, { densityClass: l, value: r, vuetifyBindings: s } = G(n, a);
|
|
2136
|
-
return (f, i) => (V(),
|
|
2163
|
+
return (f, i) => (V(), _(o($e), R(n, {
|
|
2137
2164
|
class: ["ck-editor-custom", o(l)]
|
|
2138
2165
|
}), {
|
|
2139
2166
|
default: w((c) => [
|
|
2140
|
-
|
|
2167
|
+
I(Zo, R({
|
|
2141
2168
|
ref: "$editor",
|
|
2142
2169
|
modelValue: o(r),
|
|
2143
2170
|
"onUpdate:modelValue": i[0] || (i[0] = (v) => ae(r) ? r.value = v : null),
|
|
@@ -2153,19 +2180,19 @@ const Mo = {
|
|
|
2153
2180
|
}, 16, ["class"]));
|
|
2154
2181
|
}
|
|
2155
2182
|
});
|
|
2156
|
-
function
|
|
2183
|
+
function ea(e) {
|
|
2157
2184
|
return e.map((t) => ({ value: t.id, title: t.text, icon: t.icon }));
|
|
2158
2185
|
}
|
|
2159
2186
|
function ee(e, t) {
|
|
2160
2187
|
var n;
|
|
2161
|
-
return e == null ||
|
|
2188
|
+
return e == null || We(e) && e.length === 0 ? null : t ? Qe(e) : We(e) ? (n = Ze(e)) != null ? n : null : e;
|
|
2162
2189
|
}
|
|
2163
|
-
function
|
|
2190
|
+
function Ce(e, t) {
|
|
2164
2191
|
if (t == null) return [];
|
|
2165
|
-
const n =
|
|
2192
|
+
const n = Qe(t);
|
|
2166
2193
|
return e.filter((a) => n.some((l) => l === a.id));
|
|
2167
2194
|
}
|
|
2168
|
-
function
|
|
2195
|
+
function ye(e, t, n, a, l) {
|
|
2169
2196
|
var s;
|
|
2170
2197
|
const r = ee(e, n);
|
|
2171
2198
|
if (r == null) {
|
|
@@ -2173,18 +2200,18 @@ function we(e, t, n, a, l) {
|
|
|
2173
2200
|
return;
|
|
2174
2201
|
}
|
|
2175
2202
|
if (n)
|
|
2176
|
-
a ? t.value = r : t.value =
|
|
2203
|
+
a ? t.value = r : t.value = Ce(l, r).map((f) => f.id);
|
|
2177
2204
|
else if (a)
|
|
2178
2205
|
t.value = r;
|
|
2179
2206
|
else {
|
|
2180
|
-
const f =
|
|
2207
|
+
const f = Ze(Ce(l, r));
|
|
2181
2208
|
t.value = (s = f == null ? void 0 : f.id) != null ? s : null;
|
|
2182
2209
|
}
|
|
2183
2210
|
}
|
|
2184
|
-
const
|
|
2211
|
+
const ta = {
|
|
2185
2212
|
key: 0,
|
|
2186
2213
|
class: "me-1"
|
|
2187
|
-
},
|
|
2214
|
+
}, na = /* @__PURE__ */ O({
|
|
2188
2215
|
__name: "df-select",
|
|
2189
2216
|
props: /* @__PURE__ */ Q({
|
|
2190
2217
|
choices: {},
|
|
@@ -2206,7 +2233,7 @@ const Zo = {
|
|
|
2206
2233
|
passthroughAttrs: {},
|
|
2207
2234
|
density: {},
|
|
2208
2235
|
variant: {}
|
|
2209
|
-
},
|
|
2236
|
+
}, L(B({}, Z), {
|
|
2210
2237
|
choices: void 0,
|
|
2211
2238
|
multiple: !1,
|
|
2212
2239
|
allowTags: !1,
|
|
@@ -2215,30 +2242,30 @@ const Zo = {
|
|
|
2215
2242
|
})),
|
|
2216
2243
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
2217
2244
|
setup(e, { emit: t }) {
|
|
2218
|
-
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass: f, visibility: i } =
|
|
2245
|
+
const n = e, { choices: a, multiple: l, allowTags: r, allowNull: s, cssClass: f, visibility: i } = je(n), c = t, {
|
|
2219
2246
|
densityClass: v,
|
|
2220
2247
|
label: m,
|
|
2221
2248
|
showErrors: y,
|
|
2222
2249
|
touched: d,
|
|
2223
2250
|
value: j,
|
|
2224
2251
|
vuetifyBindings: T
|
|
2225
|
-
} = G(n, c), k = F(null), g = F(!1),
|
|
2252
|
+
} = G(n, c), k = F(null), g = F(!1), P = F([]), M = b(() => o(g) ? o(P) : o(a) || []), N = F(!1), h = b(() => ea(M.value));
|
|
2226
2253
|
h.value && n.fetchChoices !== void 0 && console.warn("Both options and fetchChoices are set. Only one of them should be set.");
|
|
2227
|
-
function
|
|
2228
|
-
c("update:modelValueDisplay",
|
|
2254
|
+
function U(x) {
|
|
2255
|
+
c("update:modelValueDisplay", Ce(M.value, x));
|
|
2229
2256
|
}
|
|
2230
2257
|
let p = !1;
|
|
2231
2258
|
function u(x) {
|
|
2232
|
-
p = !0, j.value = x,
|
|
2259
|
+
p = !0, j.value = x, Ue(() => {
|
|
2233
2260
|
p = !1;
|
|
2234
2261
|
});
|
|
2235
2262
|
}
|
|
2236
2263
|
ue(
|
|
2237
2264
|
k,
|
|
2238
2265
|
(x) => {
|
|
2239
|
-
T.value.readonly ||
|
|
2240
|
-
const
|
|
2241
|
-
|
|
2266
|
+
T.value.readonly || Ue(() => {
|
|
2267
|
+
const D = ee(x, l.value);
|
|
2268
|
+
U(D), u(D);
|
|
2242
2269
|
});
|
|
2243
2270
|
},
|
|
2244
2271
|
{ deep: !0 }
|
|
@@ -2246,8 +2273,8 @@ const Zo = {
|
|
|
2246
2273
|
j,
|
|
2247
2274
|
(x) => {
|
|
2248
2275
|
if (!p) {
|
|
2249
|
-
const
|
|
2250
|
-
|
|
2276
|
+
const D = ee(x, l.value);
|
|
2277
|
+
ye(D, k, l.value, !1, M.value);
|
|
2251
2278
|
}
|
|
2252
2279
|
},
|
|
2253
2280
|
{ deep: !0 }
|
|
@@ -2255,25 +2282,25 @@ const Zo = {
|
|
|
2255
2282
|
function $() {
|
|
2256
2283
|
if (T.value.readonly || r.value) return;
|
|
2257
2284
|
const x = ee(k.value, l.value);
|
|
2258
|
-
|
|
2285
|
+
ye(x, k, l.value, !1, M.value), u(x);
|
|
2259
2286
|
}
|
|
2260
2287
|
function K(x) {
|
|
2261
|
-
let
|
|
2262
|
-
l.value && Array.isArray(k.value) ?
|
|
2288
|
+
let D;
|
|
2289
|
+
l.value && Array.isArray(k.value) ? D = ee(
|
|
2263
2290
|
k.value.filter((C) => C !== x),
|
|
2264
2291
|
l.value
|
|
2265
|
-
) :
|
|
2292
|
+
) : D = null, ye(D, k, l.value, !1, M.value), u(D);
|
|
2266
2293
|
}
|
|
2267
|
-
function ce(x,
|
|
2268
|
-
return
|
|
2294
|
+
function ce(x, D) {
|
|
2295
|
+
return we(this, null, function* () {
|
|
2269
2296
|
if (!(a.value || n.fetchChoices === void 0)) {
|
|
2270
2297
|
N.value = !0;
|
|
2271
2298
|
try {
|
|
2272
|
-
const C =
|
|
2299
|
+
const C = Ce(
|
|
2273
2300
|
M.value,
|
|
2274
2301
|
ee(k.value, l.value)
|
|
2275
|
-
), J = yield n.fetchChoices(x,
|
|
2276
|
-
|
|
2302
|
+
), J = yield n.fetchChoices(x, D);
|
|
2303
|
+
P.value = wt([...C, ...J], "id"), g.value = !0;
|
|
2277
2304
|
} finally {
|
|
2278
2305
|
N.value = !1;
|
|
2279
2306
|
}
|
|
@@ -2282,16 +2309,16 @@ const Zo = {
|
|
|
2282
2309
|
}
|
|
2283
2310
|
function de() {
|
|
2284
2311
|
let x = j.value;
|
|
2285
|
-
!s.value && x == null && h.value.length && (x = h.value[0].value), x = ee(x, l.value),
|
|
2312
|
+
!s.value && x == null && h.value.length && (x = h.value[0].value), x = ee(x, l.value), ye(x, k, l.value, r.value, M.value), U(x), u(x);
|
|
2286
2313
|
}
|
|
2287
2314
|
return de(), n.fetchChoices !== void 0 && ce(void 0, j.value).then(() => {
|
|
2288
2315
|
de();
|
|
2289
|
-
}), (x,
|
|
2316
|
+
}), (x, D) => {
|
|
2290
2317
|
const C = A("v-chip"), J = A("v-list-item");
|
|
2291
|
-
return o(i) !== o(X).SUPPRESS ? (V(),
|
|
2318
|
+
return o(i) !== o(X).SUPPRESS ? (V(), _(be(o(r) ? "v-combobox" : "v-autocomplete"), R({
|
|
2292
2319
|
key: 0,
|
|
2293
2320
|
modelValue: k.value,
|
|
2294
|
-
"onUpdate:modelValue":
|
|
2321
|
+
"onUpdate:modelValue": D[0] || (D[0] = (E) => k.value = E),
|
|
2295
2322
|
class: [
|
|
2296
2323
|
o(f),
|
|
2297
2324
|
o(v),
|
|
@@ -2312,64 +2339,64 @@ const Zo = {
|
|
|
2312
2339
|
"aria-describedby": o(T).helpText ? `${o(T).name}-help` : null,
|
|
2313
2340
|
"menu-props": { maxHeight: "400" }
|
|
2314
2341
|
}, o(T), {
|
|
2315
|
-
"onUpdate:search":
|
|
2342
|
+
"onUpdate:search": D[1] || (D[1] = (E) => ce(E, void 0)),
|
|
2316
2343
|
"onUpdate:modelValue": $,
|
|
2317
|
-
"onClick:clear":
|
|
2318
|
-
onBlur:
|
|
2319
|
-
}),
|
|
2320
|
-
chip: w(({ item:
|
|
2321
|
-
(V(),
|
|
2322
|
-
key:
|
|
2344
|
+
"onClick:clear": D[2] || (D[2] = (E) => k.value = null),
|
|
2345
|
+
onBlur: D[3] || (D[3] = (E) => d.value = !0)
|
|
2346
|
+
}), _e({
|
|
2347
|
+
chip: w(({ item: E }) => [
|
|
2348
|
+
(V(), _(C, {
|
|
2349
|
+
key: E.value,
|
|
2323
2350
|
label: "",
|
|
2324
2351
|
size: "small",
|
|
2325
2352
|
class: "d-flex align-middle",
|
|
2326
2353
|
variant: o(l) ? "tonal" : "text",
|
|
2327
2354
|
closable: o(l),
|
|
2328
|
-
"onClick:close": (ie) => K(
|
|
2355
|
+
"onClick:close": (ie) => K(E.value)
|
|
2329
2356
|
}, {
|
|
2330
2357
|
prepend: w(() => {
|
|
2331
2358
|
var ie;
|
|
2332
2359
|
return [
|
|
2333
|
-
(ie =
|
|
2360
|
+
(ie = E.raw) != null && ie.icon ? (V(), _(o(ge), {
|
|
2334
2361
|
key: 0,
|
|
2335
2362
|
class: "me-1",
|
|
2336
|
-
name:
|
|
2337
|
-
}, null, 8, ["name"])) :
|
|
2363
|
+
name: E.raw.icon
|
|
2364
|
+
}, null, 8, ["name"])) : H("", !0)
|
|
2338
2365
|
];
|
|
2339
2366
|
}),
|
|
2340
2367
|
default: w(() => [
|
|
2341
2368
|
le("span", {
|
|
2342
2369
|
class: Y({ "text-body-1": !o(l) })
|
|
2343
|
-
},
|
|
2370
|
+
}, Pe(E.title), 3)
|
|
2344
2371
|
]),
|
|
2345
2372
|
_: 2
|
|
2346
2373
|
}, 1032, ["variant", "closable", "onClick:close"]))
|
|
2347
2374
|
]),
|
|
2348
|
-
label: w((
|
|
2349
|
-
|
|
2350
|
-
data:
|
|
2375
|
+
label: w((E) => [
|
|
2376
|
+
I(o(re), {
|
|
2377
|
+
data: E,
|
|
2351
2378
|
label: o(m)
|
|
2352
2379
|
}, null, 8, ["data", "label"])
|
|
2353
2380
|
]),
|
|
2354
|
-
item: w(({ props:
|
|
2355
|
-
|
|
2381
|
+
item: w(({ props: E, item: ie }) => [
|
|
2382
|
+
I(J, te(ne(E)), {
|
|
2356
2383
|
prepend: w(() => {
|
|
2357
|
-
var
|
|
2384
|
+
var Ae;
|
|
2358
2385
|
return [
|
|
2359
|
-
(
|
|
2360
|
-
|
|
2386
|
+
(Ae = ie.raw) != null && Ae.icon ? (V(), W("span", ta, [
|
|
2387
|
+
I(o(ge), {
|
|
2361
2388
|
class: "action-icon",
|
|
2362
2389
|
name: ie.raw.icon
|
|
2363
2390
|
}, null, 8, ["name"])
|
|
2364
|
-
])) :
|
|
2391
|
+
])) : H("", !0)
|
|
2365
2392
|
];
|
|
2366
2393
|
}),
|
|
2367
2394
|
_: 2
|
|
2368
2395
|
}, 1040)
|
|
2369
2396
|
]),
|
|
2370
|
-
message: w(({ message:
|
|
2371
|
-
|
|
2372
|
-
message:
|
|
2397
|
+
message: w(({ message: E }) => [
|
|
2398
|
+
I(o(q), {
|
|
2399
|
+
message: E,
|
|
2373
2400
|
errors: o(y)
|
|
2374
2401
|
}, null, 8, ["message", "errors"])
|
|
2375
2402
|
]),
|
|
@@ -2377,22 +2404,22 @@ const Zo = {
|
|
|
2377
2404
|
}, [
|
|
2378
2405
|
x.$slots["append-inner"] ? {
|
|
2379
2406
|
name: "append-inner",
|
|
2380
|
-
fn: w((
|
|
2381
|
-
se(x.$slots, "append-inner", te(ne(
|
|
2407
|
+
fn: w((E) => [
|
|
2408
|
+
se(x.$slots, "append-inner", te(ne(E)))
|
|
2382
2409
|
]),
|
|
2383
2410
|
key: "0"
|
|
2384
2411
|
} : void 0,
|
|
2385
2412
|
x.$slots["prepend-inner"] ? {
|
|
2386
2413
|
name: "prepend-inner",
|
|
2387
|
-
fn: w((
|
|
2388
|
-
se(x.$slots, "prepend-inner", te(ne(
|
|
2414
|
+
fn: w((E) => [
|
|
2415
|
+
se(x.$slots, "prepend-inner", te(ne(E)))
|
|
2389
2416
|
]),
|
|
2390
2417
|
key: "1"
|
|
2391
2418
|
} : void 0
|
|
2392
|
-
]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) :
|
|
2419
|
+
]), 1040, ["modelValue", "class", "items", "closable-chips", "clearable", "multiple", "loading", "aria-describedby"])) : H("", !0);
|
|
2393
2420
|
};
|
|
2394
2421
|
}
|
|
2395
|
-
}),
|
|
2422
|
+
}), oa = /* @__PURE__ */ O({
|
|
2396
2423
|
__name: "df-text-area",
|
|
2397
2424
|
props: /* @__PURE__ */ Q({
|
|
2398
2425
|
rows: {},
|
|
@@ -2411,19 +2438,19 @@ const Zo = {
|
|
|
2411
2438
|
passthroughAttrs: {},
|
|
2412
2439
|
density: {},
|
|
2413
2440
|
variant: {}
|
|
2414
|
-
},
|
|
2441
|
+
}, L(B({}, Z), {
|
|
2415
2442
|
rows: void 0,
|
|
2416
2443
|
maxRows: void 0
|
|
2417
2444
|
})),
|
|
2418
2445
|
emits: ["update:modelValue", "click:clear"],
|
|
2419
2446
|
setup(e, { emit: t }) {
|
|
2420
|
-
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { cssClass: v, visibility: m } =
|
|
2447
|
+
const n = e, a = t, { densityClass: l, label: r, showErrors: s, touched: f, value: i, vuetifyBindings: c } = G(n, a), { cssClass: v, visibility: m } = je(n);
|
|
2421
2448
|
return (y, d) => {
|
|
2422
2449
|
const j = A("v-textarea");
|
|
2423
2450
|
return V(), W("div", {
|
|
2424
2451
|
class: Y(["df-textarea-container", o(l)])
|
|
2425
2452
|
}, [
|
|
2426
|
-
o(m) !== o(X).SUPPRESS ? (V(),
|
|
2453
|
+
o(m) !== o(X).SUPPRESS ? (V(), _(j, R({
|
|
2427
2454
|
key: 0,
|
|
2428
2455
|
modelValue: o(i),
|
|
2429
2456
|
"onUpdate:modelValue": d[0] || (d[0] = (T) => ae(i) ? i.value = T : null),
|
|
@@ -2441,102 +2468,102 @@ const Zo = {
|
|
|
2441
2468
|
onBlur: d[1] || (d[1] = (T) => f.value = !0)
|
|
2442
2469
|
}), {
|
|
2443
2470
|
label: w((T) => [
|
|
2444
|
-
|
|
2471
|
+
I(o(re), {
|
|
2445
2472
|
data: T,
|
|
2446
2473
|
label: o(r)
|
|
2447
2474
|
}, null, 8, ["data", "label"])
|
|
2448
2475
|
]),
|
|
2449
2476
|
message: w(({ message: T }) => [
|
|
2450
|
-
|
|
2477
|
+
I(o(q), {
|
|
2451
2478
|
message: T,
|
|
2452
2479
|
errors: o(s)
|
|
2453
2480
|
}, null, 8, ["message", "errors"])
|
|
2454
2481
|
]),
|
|
2455
2482
|
_: 1
|
|
2456
|
-
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) :
|
|
2483
|
+
}, 16, ["modelValue", "class", "rows", "auto-grow", "max-rows"])) : H("", !0)
|
|
2457
2484
|
], 2);
|
|
2458
2485
|
};
|
|
2459
2486
|
}
|
|
2460
|
-
}),
|
|
2487
|
+
}), aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2461
2488
|
__proto__: null,
|
|
2462
2489
|
DFInputHint: q,
|
|
2463
|
-
DfActions:
|
|
2464
|
-
DfCheckbox:
|
|
2465
|
-
DfColor:
|
|
2466
|
-
DfDateTime:
|
|
2467
|
-
DfFile:
|
|
2468
|
-
DfInput:
|
|
2469
|
-
DfRtfEditor:
|
|
2470
|
-
DfSelect:
|
|
2471
|
-
DfTextArea:
|
|
2472
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2490
|
+
DfActions: Ro,
|
|
2491
|
+
DfCheckbox: Wo,
|
|
2492
|
+
DfColor: zo,
|
|
2493
|
+
DfDateTime: Ko,
|
|
2494
|
+
DfFile: Xo,
|
|
2495
|
+
DfInput: Go,
|
|
2496
|
+
DfRtfEditor: Jo,
|
|
2497
|
+
DfSelect: na,
|
|
2498
|
+
DfTextArea: oa
|
|
2499
|
+
}, Symbol.toStringTag, { value: "Module" })), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2473
2500
|
__proto__: null,
|
|
2474
|
-
VAutocomplete:
|
|
2475
|
-
VBtn:
|
|
2476
|
-
VCheckbox:
|
|
2477
|
-
VChip:
|
|
2478
|
-
VCol:
|
|
2479
|
-
VColorPicker:
|
|
2480
|
-
VCombobox:
|
|
2481
|
-
VConfirmEdit:
|
|
2482
|
-
VDatePicker:
|
|
2483
|
-
VField:
|
|
2484
|
-
VFileInput:
|
|
2485
|
-
VIcon:
|
|
2486
|
-
VImg:
|
|
2487
|
-
VInput:
|
|
2488
|
-
VListItem:
|
|
2489
|
-
VMenu:
|
|
2490
|
-
VNumberInput:
|
|
2491
|
-
VProgressLinear:
|
|
2492
|
-
VRow:
|
|
2493
|
-
VSelect:
|
|
2494
|
-
VSwitch:
|
|
2495
|
-
VTextField:
|
|
2496
|
-
VTextarea:
|
|
2497
|
-
VTimePicker:
|
|
2498
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2501
|
+
VAutocomplete: hn,
|
|
2502
|
+
VBtn: bn,
|
|
2503
|
+
VCheckbox: gn,
|
|
2504
|
+
VChip: wn,
|
|
2505
|
+
VCol: xn,
|
|
2506
|
+
VColorPicker: kn,
|
|
2507
|
+
VCombobox: yn,
|
|
2508
|
+
VConfirmEdit: Vn,
|
|
2509
|
+
VDatePicker: Cn,
|
|
2510
|
+
VField: jn,
|
|
2511
|
+
VFileInput: Tn,
|
|
2512
|
+
VIcon: In,
|
|
2513
|
+
VImg: Dn,
|
|
2514
|
+
VInput: _n,
|
|
2515
|
+
VListItem: Pn,
|
|
2516
|
+
VMenu: En,
|
|
2517
|
+
VNumberInput: Sn,
|
|
2518
|
+
VProgressLinear: $n,
|
|
2519
|
+
VRow: Bn,
|
|
2520
|
+
VSelect: An,
|
|
2521
|
+
VSwitch: Nn,
|
|
2522
|
+
VTextField: Mn,
|
|
2523
|
+
VTextarea: Fn,
|
|
2524
|
+
VTimePicker: Ln
|
|
2525
|
+
}, Symbol.toStringTag, { value: "Module" })), Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2499
2526
|
__proto__: null
|
|
2500
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2527
|
+
}, Symbol.toStringTag, { value: "Module" })), Ha = {
|
|
2501
2528
|
install: (e, t) => {
|
|
2502
2529
|
var n, a;
|
|
2503
|
-
e.use(
|
|
2530
|
+
e.use(Qn), e.provide(ot, t != null ? t : {}), (n = t == null ? void 0 : t.registerComponents) != null && n && Object.entries(aa).map(([l, r]) => e.component(l, r)), (a = t == null ? void 0 : t.registerVuetifyComponents) != null && a && Object.entries(la).map(([l, r]) => e.component(l, r));
|
|
2504
2531
|
}
|
|
2505
2532
|
};
|
|
2506
2533
|
export {
|
|
2507
|
-
|
|
2534
|
+
ke as Action,
|
|
2508
2535
|
z as ActionDisplayStyle,
|
|
2509
2536
|
q as DFInputHint,
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2537
|
+
$o as DateTimeLocaleConfig,
|
|
2538
|
+
Ro as DfActions,
|
|
2539
|
+
Wo as DfCheckbox,
|
|
2540
|
+
zo as DfColor,
|
|
2541
|
+
Ko as DfDateTime,
|
|
2542
|
+
Xo as DfFile,
|
|
2543
|
+
Go as DfInput,
|
|
2544
|
+
Ua as DfInputComponentProps,
|
|
2545
|
+
aa as DfInputComponents,
|
|
2519
2546
|
q as DfInputHint,
|
|
2520
2547
|
re as DfLabel,
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2548
|
+
Jo as DfRtfEditor,
|
|
2549
|
+
na as DfSelect,
|
|
2550
|
+
oa as DfTextArea,
|
|
2551
|
+
Ha as DynamicFormsInputs,
|
|
2552
|
+
$e as InputBase,
|
|
2553
|
+
Ao as Label,
|
|
2554
|
+
Uo as ResponsiveActionRenderOptions,
|
|
2555
|
+
Fo as ResponsiveRenderOptions,
|
|
2556
|
+
la as VuetifyComponents,
|
|
2557
|
+
Ve as ckEditorLanguage,
|
|
2531
2558
|
Z as defaultBaseProps,
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2559
|
+
Ke as defaultDisplayStyle,
|
|
2560
|
+
Mo as getBreakpointName,
|
|
2561
|
+
Xe as responsiveBreakpoints,
|
|
2562
|
+
La as setCkEditorLanguage,
|
|
2563
|
+
S as translatableStrings,
|
|
2564
|
+
Ma as translateStrings,
|
|
2565
|
+
Lo as useBreakpoint,
|
|
2539
2566
|
G as useInputBase,
|
|
2540
|
-
|
|
2567
|
+
ot as vuetifyInputsSettingsKey
|
|
2541
2568
|
};
|
|
2542
2569
|
//# sourceMappingURL=dynamicforms-vuetify-inputs.js.map
|