@dynamicforms/vuetify-inputs 0.5.5 → 0.5.6
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
1
|
var tt = Object.defineProperty, nt = Object.defineProperties;
|
|
2
2
|
var ot = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var $e = Object.getOwnPropertySymbols;
|
|
4
4
|
var lt = Object.prototype.hasOwnProperty, at = 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,
|
|
5
|
+
var je = (e, t, n) => t in e ? tt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $ = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
lt.call(t, n) && je(e, n, t[n]);
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
8
|
+
if ($e)
|
|
9
|
+
for (var n of $e(t))
|
|
10
10
|
at.call(t, n) && je(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, O = (e, t) => nt(e, ot(t));
|
|
13
13
|
var Se = (e, t, n) => je(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
|
-
var
|
|
14
|
+
var ge = (e, t, n) => new Promise((l, a) => {
|
|
15
15
|
var r = (c) => {
|
|
16
16
|
try {
|
|
17
17
|
i(n.next(c));
|
|
@@ -27,15 +27,15 @@ var we = (e, t, n) => new Promise((l, a) => {
|
|
|
27
27
|
}, i = (c) => c.done ? l(c.value) : Promise.resolve(c.value).then(r, p);
|
|
28
28
|
i((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import * as
|
|
31
|
-
import { defineComponent as M, mergeModels as
|
|
32
|
-
import { debounce as mt, isString as ee, isEmpty as be, isObjectLike as pt, isBoolean as
|
|
30
|
+
import * as xe from "vue";
|
|
31
|
+
import { defineComponent as M, mergeModels as Ae, useModel as rt, ref as A, watch as ue, onMounted as ze, markRaw as it, onBeforeUnmount as He, createBlock as P, openBlock as h, resolveDynamicComponent as ce, version as st, isRef as te, resolveComponent as S, createElementBlock as F, createCommentVNode as L, createTextVNode as Ke, Fragment as Ie, toDisplayString as se, inject as ut, computed as _, renderList as Xe, normalizeClass as Ve, unref as o, mergeProps as R, withCtx as v, createSlots as q, createVNode as B, renderSlot as ie, normalizeProps as X, guardReactiveProps as G, createElementVNode as ne, withModifiers as ct, mergeDefaults as Y, normalizeStyle as Ge, toRefs as _e, withKeys as Ee, useCssVars as dt, nextTick as Ne } from "vue";
|
|
32
|
+
import { debounce as mt, isString as ee, isEmpty as be, isObjectLike as pt, isBoolean as Fe, clone as ft, toNumber as Le, isNaN as Me, isArray as Ue, castArray as qe, first as Ye, unionBy as vt } from "lodash-es";
|
|
33
33
|
import Be from "vue-ionicon";
|
|
34
|
-
import
|
|
34
|
+
import Oe, { ValidationErrorRenderContent as bt, DisplayMode as H, Action as ht } from "@dynamicforms/vue-forms";
|
|
35
35
|
import gt from "vue-markdown-render";
|
|
36
36
|
import { useDisplay as wt } from "vuetify";
|
|
37
37
|
import { format as pe, parse as yt } from "date-fns";
|
|
38
|
-
import { AccessibilityHelp as kt, Alignment as Vt, AutoImage as _t, AutoLink as jt, Autosave as Ct, BalloonToolbar as Tt, BlockQuote as Bt, Bold as It, CloudServices as Pt, Essentials as Dt, GeneralHtmlSupport as $t, Heading as
|
|
38
|
+
import { AccessibilityHelp as kt, Alignment as Vt, AutoImage as _t, AutoLink as jt, Autosave as Ct, BalloonToolbar as Tt, BlockQuote as Bt, Bold as It, CloudServices as Pt, Essentials as Dt, GeneralHtmlSupport as $t, Heading as St, HorizontalLine as xt, ImageBlock as At, ImageCaption as Et, ImageInline as Nt, ImageInsertViaUrl as Ft, ImageResize as Lt, ImageStyle as Mt, ImageToolbar as Ut, ImageUpload as Ot, Indent as Rt, IndentBlock as Wt, Italic as zt, Link as Ht, List as Kt, Autoformat as Xt, MediaEmbed as Gt, Paragraph as qt, PasteFromMarkdownExperimental as Yt, PasteFromOffice as Qt, SelectAll as Zt, Style as Jt, Table as en, TableCellProperties as tn, TableColumnResize as nn, TableProperties as on, TableToolbar as ln, Undo as an, TextTransformation as rn, Base64UploadAdapter as sn, ClassicEditor as un } from "ckeditor5";
|
|
39
39
|
import { VAutocomplete as cn } from "vuetify/components/VAutocomplete";
|
|
40
40
|
import { VBtn as dn } from "vuetify/components/VBtn";
|
|
41
41
|
import { VCheckbox as mn } from "vuetify/components/VCheckbox";
|
|
@@ -57,8 +57,8 @@ import { VProgressLinear as In } from "vuetify/components/VProgressLinear";
|
|
|
57
57
|
import { VSelect as Pn } from "vuetify/components/VSelect";
|
|
58
58
|
import { VSwitch as Dn } from "vuetify/components/VSwitch";
|
|
59
59
|
import { VTextarea as $n } from "vuetify/components/VTextarea";
|
|
60
|
-
import { VTextField as
|
|
61
|
-
import { VTimePicker as
|
|
60
|
+
import { VTextField as Sn } from "vuetify/components/VTextField";
|
|
61
|
+
import { VTimePicker as xn } from "vuetify/labs/VTimePicker";
|
|
62
62
|
/**
|
|
63
63
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
64
64
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -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 An(e, t) {
|
|
76
76
|
const n = e.extraPlugins || [];
|
|
77
|
-
return O(
|
|
77
|
+
return O($({}, e), {
|
|
78
78
|
extraPlugins: [
|
|
79
79
|
...n,
|
|
80
80
|
...t.filter((l) => !n.includes(l))
|
|
@@ -95,14 +95,14 @@ function Qe(e) {
|
|
|
95
95
|
function Ze(e) {
|
|
96
96
|
return e ? ["nightly", "alpha", "internal", "nightly-", "staging"].some((t) => e.includes(t)) : !1;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function En(e) {
|
|
99
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
|
|
105
|
+
function Nn(e) {
|
|
106
106
|
if (!Qe(e))
|
|
107
107
|
throw new Error(`Invalid semantic version: ${e || "<blank>"}.`);
|
|
108
108
|
const [t, n, l] = e.split(".");
|
|
@@ -116,10 +116,10 @@ function Fn(e) {
|
|
|
116
116
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
117
117
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
118
118
|
*/
|
|
119
|
-
function
|
|
119
|
+
function Fn(e) {
|
|
120
120
|
if (Ze(e))
|
|
121
121
|
return 3;
|
|
122
|
-
const { major: t } =
|
|
122
|
+
const { major: t } = Nn(e);
|
|
123
123
|
switch (!0) {
|
|
124
124
|
case t >= 44:
|
|
125
125
|
return 3;
|
|
@@ -135,7 +135,7 @@ function An(e) {
|
|
|
135
135
|
*/
|
|
136
136
|
function Ln() {
|
|
137
137
|
const { CKEDITOR_VERSION: e, CKEDITOR: t } = window;
|
|
138
|
-
return
|
|
138
|
+
return En(e) ? {
|
|
139
139
|
source: t ? "cdn" : "npm",
|
|
140
140
|
version: e
|
|
141
141
|
} : null;
|
|
@@ -146,7 +146,7 @@ function Ln() {
|
|
|
146
146
|
*/
|
|
147
147
|
function Mn() {
|
|
148
148
|
const e = Ln();
|
|
149
|
-
return e ?
|
|
149
|
+
return e ? Fn(e.version) : null;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
@@ -190,7 +190,7 @@ const On = Un(
|
|
|
190
190
|
* For licensing, see LICENSE.md.
|
|
191
191
|
*/
|
|
192
192
|
function Rn(e) {
|
|
193
|
-
return Je(e.licenseKey) ? e :
|
|
193
|
+
return Je(e.licenseKey) ? e : An(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
|
|
@@ -202,7 +202,7 @@ function Rn(e) {
|
|
|
202
202
|
const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, zn = /* @__PURE__ */ M({
|
|
203
203
|
name: "CKEditor",
|
|
204
204
|
__name: "ckeditor",
|
|
205
|
-
props: /* @__PURE__ */
|
|
205
|
+
props: /* @__PURE__ */ Ae({
|
|
206
206
|
editor: {},
|
|
207
207
|
config: { default: () => ({}) },
|
|
208
208
|
tagName: { default: "div" },
|
|
@@ -212,9 +212,9 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, zn =
|
|
|
212
212
|
modelValue: { type: String, default: "" },
|
|
213
213
|
modelModifiers: {}
|
|
214
214
|
}),
|
|
215
|
-
emits: /* @__PURE__ */
|
|
215
|
+
emits: /* @__PURE__ */ Ae(["ready", "destroy", "blur", "focus", "input", "update:modelValue"], ["update:modelValue"]),
|
|
216
216
|
setup(e, { expose: t, emit: n }) {
|
|
217
|
-
const l = rt(e, "modelValue"), a = e, r = n, p =
|
|
217
|
+
const l = rt(e, "modelValue"), a = e, r = n, p = A(), i = A(), c = A();
|
|
218
218
|
t({
|
|
219
219
|
instance: i,
|
|
220
220
|
lastEditorData: c
|
|
@@ -243,7 +243,7 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, zn =
|
|
|
243
243
|
r("blur", b, s);
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
return u(),
|
|
246
|
+
return u(), ze(() => {
|
|
247
247
|
const s = Rn(
|
|
248
248
|
Object.assign({}, a.config)
|
|
249
249
|
);
|
|
@@ -252,7 +252,7 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, zn =
|
|
|
252
252
|
}).catch((m) => {
|
|
253
253
|
console.error(m);
|
|
254
254
|
});
|
|
255
|
-
}),
|
|
255
|
+
}), He(() => {
|
|
256
256
|
i.value && (i.value.destroy(), i.value = void 0), r("destroy");
|
|
257
257
|
}), (s, m) => (h(), P(ce(s.tagName), {
|
|
258
258
|
ref_key: "element",
|
|
@@ -265,7 +265,7 @@ const Ce = "Lock from Vue integration (@ckeditor/ckeditor5-vue)", Wn = 300, zn =
|
|
|
265
265
|
* For licensing, see LICENSE.md.
|
|
266
266
|
*/
|
|
267
267
|
/* istanbul ignore if -- @preserve */
|
|
268
|
-
if (!
|
|
268
|
+
if (!xe.version || !xe.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
|
);
|
|
@@ -981,7 +981,7 @@ const Zn = (e, t, n) => {
|
|
|
981
981
|
firstWeekContainsDate: 1
|
|
982
982
|
}
|
|
983
983
|
}, Io = {
|
|
984
|
-
dateTimeLocale:
|
|
984
|
+
dateTimeLocale: A(Bo),
|
|
985
985
|
setDateTimeLocale(e) {
|
|
986
986
|
te(e) ? this.dateTimeLocale = e : this.dateTimeLocale.value = e;
|
|
987
987
|
}
|
|
@@ -993,9 +993,9 @@ const Zn = (e, t, n) => {
|
|
|
993
993
|
},
|
|
994
994
|
setup(e) {
|
|
995
995
|
return (t, n) => {
|
|
996
|
-
const l =
|
|
997
|
-
return h(),
|
|
998
|
-
t.label.icon ? (h(),
|
|
996
|
+
const l = S("v-icon"), a = S("v-img");
|
|
997
|
+
return h(), F("div", Po, [
|
|
998
|
+
t.label.icon ? (h(), F(Ie, { key: 0 }, [
|
|
999
999
|
t.label.iconComponent === "v-icon" ? (h(), P(l, {
|
|
1000
1000
|
key: 0,
|
|
1001
1001
|
icon: t.label.icon,
|
|
@@ -1009,7 +1009,7 @@ const Zn = (e, t, n) => {
|
|
|
1009
1009
|
src: t.label.icon
|
|
1010
1010
|
}, null, 8, ["src"]))
|
|
1011
1011
|
], 64)) : L("", !0),
|
|
1012
|
-
|
|
1012
|
+
Ke(" " + se(t.data ? t.data.label : t.label.text), 1)
|
|
1013
1013
|
]);
|
|
1014
1014
|
};
|
|
1015
1015
|
}
|
|
@@ -1026,7 +1026,7 @@ class $o {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
const Q = { enabled: void 0, clearable: !0 };
|
|
1028
1028
|
function K(e, t) {
|
|
1029
|
-
const n = ut(et, {}), l =
|
|
1029
|
+
const n = ut(et, {}), l = A(null), a = _({
|
|
1030
1030
|
get() {
|
|
1031
1031
|
return e.control ? e.control.value : e.modelValue === void 0 ? l.value : e.modelValue;
|
|
1032
1032
|
},
|
|
@@ -1034,12 +1034,12 @@ function K(e, t) {
|
|
|
1034
1034
|
e.control && (e.control.value = k), e.modelValue === void 0 && (l.value = k), t("update:modelValue", k);
|
|
1035
1035
|
}
|
|
1036
1036
|
});
|
|
1037
|
-
if (e.control && !(e.control instanceof
|
|
1037
|
+
if (e.control && !(e.control instanceof Oe.FieldBase))
|
|
1038
1038
|
throw new Error("control prop is not a vue-form control instance");
|
|
1039
|
-
const r =
|
|
1039
|
+
const r = A(!1), p = _(() => e.control ? e.control.valid : !0), i = _(
|
|
1040
1040
|
() => e.control ? e.control.errors : (e.errors || []).map((k) => new bt(k))
|
|
1041
1041
|
), c = _(() => r.value && i.value.length > 0 ? " " : void 0), u = _(() => e.control ? e.control.enabled : e.enabled !== !1), j = _(
|
|
1042
|
-
() => e.control ? e.control.visibility : e.visibility ||
|
|
1042
|
+
() => e.control ? e.control.visibility : e.visibility || Oe.DisplayMode.FULL
|
|
1043
1043
|
), s = _(
|
|
1044
1044
|
() => ee(e.label || "") ? new $o(e.label || "") : e.label
|
|
1045
1045
|
), m = _(() => e.placeholder || ""), b = _(() => e.helpText || ""), g = _(() => e.hint || ""), w = _(() => e.cssClass || "");
|
|
@@ -1053,7 +1053,7 @@ function K(e, t) {
|
|
|
1053
1053
|
touched: r,
|
|
1054
1054
|
vuetifyBindings: _(() => {
|
|
1055
1055
|
var k, y;
|
|
1056
|
-
return {
|
|
1056
|
+
return $({
|
|
1057
1057
|
name: (k = e.control) == null ? void 0 : k.fieldName,
|
|
1058
1058
|
class: w.value,
|
|
1059
1059
|
density: "default",
|
|
@@ -1072,44 +1072,44 @@ function K(e, t) {
|
|
|
1072
1072
|
hideDetails: "auto",
|
|
1073
1073
|
// we want to hide the hint element when hint isn't there
|
|
1074
1074
|
helpText: b.value
|
|
1075
|
-
};
|
|
1075
|
+
}, e.passthroughAttrs || {});
|
|
1076
1076
|
})
|
|
1077
1077
|
};
|
|
1078
1078
|
}
|
|
1079
|
-
const
|
|
1079
|
+
const So = {
|
|
1080
1080
|
key: 0,
|
|
1081
1081
|
class: "custom-error-display text-error"
|
|
1082
|
-
},
|
|
1082
|
+
}, xo = { key: 0 }, Ao = { key: 1 }, Eo = /* @__PURE__ */ M({
|
|
1083
1083
|
__name: "messages-widget",
|
|
1084
1084
|
props: {
|
|
1085
1085
|
errors: {},
|
|
1086
1086
|
message: {}
|
|
1087
1087
|
},
|
|
1088
1088
|
setup(e) {
|
|
1089
|
-
return (t, n) => t.message === " " ? (h(),
|
|
1090
|
-
(h(!0),
|
|
1089
|
+
return (t, n) => t.message === " " ? (h(), F("div", So, [
|
|
1090
|
+
(h(!0), F(Ie, null, Xe(t.errors, (l, a) => {
|
|
1091
1091
|
var r;
|
|
1092
|
-
return h(),
|
|
1092
|
+
return h(), F("div", {
|
|
1093
1093
|
key: a,
|
|
1094
|
-
class:
|
|
1094
|
+
class: Ve({ "first-error": a === 0, "last-error": a === t.errors.length - 1 })
|
|
1095
1095
|
}, [
|
|
1096
|
-
l.componentName === "template" ? (h(),
|
|
1096
|
+
l.componentName === "template" ? (h(), F("div", xo, se(l.componentBody), 1)) : l.componentName === "vue-markdown" ? (h(), P(o(gt), {
|
|
1097
1097
|
key: 1,
|
|
1098
1098
|
source: (r = l.componentBindings) == null ? void 0 : r.source
|
|
1099
|
-
}, null, 8, ["source"])) : (h(), P(ce(l.componentName),
|
|
1099
|
+
}, null, 8, ["source"])) : (h(), P(ce(l.componentName), R({
|
|
1100
1100
|
key: 2,
|
|
1101
1101
|
ref_for: !0
|
|
1102
1102
|
}, l.componentBindings), {
|
|
1103
1103
|
default: v(() => [
|
|
1104
|
-
|
|
1104
|
+
Ke(se(l.componentBody), 1)
|
|
1105
1105
|
]),
|
|
1106
1106
|
_: 2
|
|
1107
1107
|
}, 1040))
|
|
1108
1108
|
], 2);
|
|
1109
1109
|
}), 128))
|
|
1110
|
-
])) : (h(),
|
|
1110
|
+
])) : (h(), F("span", Ao, se(t.message), 1));
|
|
1111
1111
|
}
|
|
1112
|
-
}), le = /* @__PURE__ */ ae(
|
|
1112
|
+
}), le = /* @__PURE__ */ ae(Eo, [["__scopeId", "data-v-ff7a8b63"]]), No = { class: "d-flex w-100 style-resetting" }, Fo = /* @__PURE__ */ M({
|
|
1113
1113
|
__name: "input-base",
|
|
1114
1114
|
props: {
|
|
1115
1115
|
control: {},
|
|
@@ -1123,28 +1123,29 @@ const xo = {
|
|
|
1123
1123
|
visibility: {},
|
|
1124
1124
|
cssClass: {},
|
|
1125
1125
|
clearable: { type: Boolean },
|
|
1126
|
+
passthroughAttrs: {},
|
|
1126
1127
|
loading: { type: Boolean }
|
|
1127
1128
|
},
|
|
1128
1129
|
emits: ["update:modelValue", "click:clear", "blur"],
|
|
1129
1130
|
setup(e, { emit: t }) {
|
|
1130
|
-
const n = e, l = t, { errors: a, label: r, value: p, touched: i, visibility: c, vuetifyBindings: u } = K(n, l), j = _(() => !!(o(n.clearable) && o(p))), s =
|
|
1131
|
+
const n = e, l = t, { errors: a, label: r, value: p, touched: i, visibility: c, vuetifyBindings: u } = K(n, l), j = _(() => !!(o(n.clearable) && o(p))), s = A(!1);
|
|
1131
1132
|
function m(b) {
|
|
1132
1133
|
s.value = b, b || (i.value = !0, l("blur"));
|
|
1133
1134
|
}
|
|
1134
1135
|
return (b, g) => {
|
|
1135
|
-
const w =
|
|
1136
|
-
return o(c) !== o(
|
|
1136
|
+
const w = S("v-field"), k = S("v-input");
|
|
1137
|
+
return o(c) !== o(H).SUPPRESS ? (h(), P(k, {
|
|
1137
1138
|
key: 0,
|
|
1138
1139
|
name: o(u).name,
|
|
1139
1140
|
hint: o(u).hint,
|
|
1140
1141
|
"persistent-hint": o(u).persistentHint,
|
|
1141
1142
|
"hide-details": o(u).hideDetails,
|
|
1142
1143
|
"error-messages": o(u).errorMessages,
|
|
1143
|
-
class:
|
|
1144
|
+
class: Ve([
|
|
1144
1145
|
b.cssClass,
|
|
1145
1146
|
{
|
|
1146
|
-
"d-none": o(c) === o(
|
|
1147
|
-
invisible: o(c) === o(
|
|
1147
|
+
"d-none": o(c) === o(H).HIDDEN,
|
|
1148
|
+
invisible: o(c) === o(H).INVISIBLE
|
|
1148
1149
|
}
|
|
1149
1150
|
])
|
|
1150
1151
|
}, q({
|
|
@@ -1168,7 +1169,7 @@ const xo = {
|
|
|
1168
1169
|
"onUpdate:focused": g[1] || (g[1] = (y) => m(y))
|
|
1169
1170
|
}, q({
|
|
1170
1171
|
default: v((y) => [
|
|
1171
|
-
ne("div",
|
|
1172
|
+
ne("div", No, [
|
|
1172
1173
|
ie(b.$slots, "default", X(G(y)), void 0, !0)
|
|
1173
1174
|
])
|
|
1174
1175
|
]),
|
|
@@ -1208,7 +1209,7 @@ const xo = {
|
|
|
1208
1209
|
]), 1032, ["name", "hint", "persistent-hint", "hide-details", "error-messages", "class"])) : L("", !0);
|
|
1209
1210
|
};
|
|
1210
1211
|
}
|
|
1211
|
-
}),
|
|
1212
|
+
}), Pe = /* @__PURE__ */ ae(Fo, [["__scopeId", "data-v-7ba7207d"]]), he = {
|
|
1212
1213
|
Yes: "Yes",
|
|
1213
1214
|
No: "No",
|
|
1214
1215
|
Close: "Close"
|
|
@@ -1218,16 +1219,16 @@ function Xl(e) {
|
|
|
1218
1219
|
he[t] = e(t);
|
|
1219
1220
|
});
|
|
1220
1221
|
}
|
|
1221
|
-
var
|
|
1222
|
-
const
|
|
1222
|
+
var W = /* @__PURE__ */ ((e) => (e[e.BUTTON = 0] = "BUTTON", e[e.TEXT = 1] = "TEXT", e))(W || {});
|
|
1223
|
+
const Re = 0;
|
|
1223
1224
|
((e) => {
|
|
1224
1225
|
function t(a) {
|
|
1225
|
-
return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 :
|
|
1226
|
+
return a.toUpperCase() === "BUTTON" ? 0 : a.toUpperCase() === "TEXT" ? 1 : Re;
|
|
1226
1227
|
}
|
|
1227
1228
|
e.fromString = t;
|
|
1228
1229
|
function n(a) {
|
|
1229
1230
|
const r = typeof a == "number" ? a : e.fromString(a);
|
|
1230
|
-
return Object.values(e).includes(r) ? r :
|
|
1231
|
+
return Object.values(e).includes(r) ? r : Re;
|
|
1231
1232
|
}
|
|
1232
1233
|
e.fromAny = n;
|
|
1233
1234
|
function l(a) {
|
|
@@ -1235,20 +1236,20 @@ const We = 0;
|
|
|
1235
1236
|
return Object.values(e).includes(r);
|
|
1236
1237
|
}
|
|
1237
1238
|
e.isDefined = l;
|
|
1238
|
-
})(
|
|
1239
|
-
Object.freeze(
|
|
1240
|
-
const
|
|
1239
|
+
})(W || (W = {}));
|
|
1240
|
+
Object.freeze(W);
|
|
1241
|
+
const We = ["xs", "sm", "md", "lg", "xl"];
|
|
1241
1242
|
class Lo {
|
|
1242
1243
|
constructor(t) {
|
|
1243
1244
|
Se(this, "_value");
|
|
1244
|
-
this._value = this.cleanBreakpoint(t, !0), t &&
|
|
1245
|
+
this._value = this.cleanBreakpoint(t, !0), t && We.forEach((n) => {
|
|
1245
1246
|
const l = this.cleanBreakpoint(t[n]);
|
|
1246
1247
|
l && (this._value[n] = l);
|
|
1247
1248
|
});
|
|
1248
1249
|
}
|
|
1249
1250
|
getOptionsForBreakpoint(t) {
|
|
1250
1251
|
const n = this.cleanBreakpoint(this._value), l = Object.keys(n);
|
|
1251
|
-
for (const a of
|
|
1252
|
+
for (const a of We) {
|
|
1252
1253
|
const r = this._value[a];
|
|
1253
1254
|
for (const p of l)
|
|
1254
1255
|
(r == null ? void 0 : r[p]) != null && (n[p] = r[p]);
|
|
@@ -1269,10 +1270,10 @@ class Oo extends Lo {
|
|
|
1269
1270
|
cleanBreakpoint(t, n = !1) {
|
|
1270
1271
|
if ((!t || !pt(t)) && !n) return null;
|
|
1271
1272
|
const l = {};
|
|
1272
|
-
return n && (l.renderAs =
|
|
1273
|
+
return n && (l.renderAs = W.BUTTON, l.showLabel = !0, l.showIcon = !0), t && (t.renderAs != null && (l.renderAs = W.fromAny(t.renderAs)), ee(t.label) && (l.label = t.label), ee(t.icon) && (l.icon = t.icon), Fe(t.showLabel) && (l.showLabel = t.showLabel), Fe(t.showIcon) && (l.showIcon = t.showIcon)), Object.keys(l).length ? l : null;
|
|
1273
1274
|
}
|
|
1274
1275
|
}
|
|
1275
|
-
class
|
|
1276
|
+
class ye extends ht {
|
|
1276
1277
|
static create(t) {
|
|
1277
1278
|
return super.create(t);
|
|
1278
1279
|
}
|
|
@@ -1309,48 +1310,48 @@ class ke extends ht {
|
|
|
1309
1310
|
}
|
|
1310
1311
|
static closeAction(t) {
|
|
1311
1312
|
var l;
|
|
1312
|
-
const n = O(
|
|
1313
|
+
const n = O($({}, t != null ? t : {}), {
|
|
1313
1314
|
// any properties in data should overwrite properties in the constant
|
|
1314
1315
|
value: {
|
|
1315
1316
|
name: "close",
|
|
1316
1317
|
label: he.Close,
|
|
1317
1318
|
icon: "close-outline",
|
|
1318
|
-
renderAs:
|
|
1319
|
+
renderAs: W.BUTTON,
|
|
1319
1320
|
showLabel: !0,
|
|
1320
1321
|
showIcon: !0
|
|
1321
1322
|
}
|
|
1322
1323
|
});
|
|
1323
|
-
return n.value =
|
|
1324
|
+
return n.value = $($({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ye.create(n);
|
|
1324
1325
|
}
|
|
1325
1326
|
static yesAction(t) {
|
|
1326
1327
|
var l;
|
|
1327
|
-
const n = O(
|
|
1328
|
+
const n = O($({}, t != null ? t : {}), {
|
|
1328
1329
|
// any properties in data should overwrite properties in the constant
|
|
1329
1330
|
value: {
|
|
1330
1331
|
name: "yes",
|
|
1331
1332
|
label: he.Yes,
|
|
1332
1333
|
icon: "thumbs-up-outline",
|
|
1333
|
-
renderAs:
|
|
1334
|
+
renderAs: W.BUTTON,
|
|
1334
1335
|
showLabel: !0,
|
|
1335
1336
|
showIcon: !0
|
|
1336
1337
|
}
|
|
1337
1338
|
});
|
|
1338
|
-
return n.value =
|
|
1339
|
+
return n.value = $($({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ye.create(n);
|
|
1339
1340
|
}
|
|
1340
1341
|
static noAction(t) {
|
|
1341
1342
|
var l;
|
|
1342
|
-
const n = O(
|
|
1343
|
+
const n = O($({}, t != null ? t : {}), {
|
|
1343
1344
|
// any properties in data should overwrite properties in the constant
|
|
1344
1345
|
value: {
|
|
1345
1346
|
name: "no",
|
|
1346
1347
|
label: he.No,
|
|
1347
1348
|
icon: "thumbs-down-outline",
|
|
1348
|
-
renderAs:
|
|
1349
|
+
renderAs: W.BUTTON,
|
|
1349
1350
|
showLabel: !0,
|
|
1350
1351
|
showIcon: !0
|
|
1351
1352
|
}
|
|
1352
1353
|
});
|
|
1353
|
-
return n.value =
|
|
1354
|
+
return n.value = $($({}, n.value), (l = t == null ? void 0 : t.value) != null ? l : {}), ye.create(n);
|
|
1354
1355
|
}
|
|
1355
1356
|
}
|
|
1356
1357
|
const Ro = {
|
|
@@ -1364,21 +1365,21 @@ const Ro = {
|
|
|
1364
1365
|
showAsGroup: { default: "no" }
|
|
1365
1366
|
},
|
|
1366
1367
|
setup(e) {
|
|
1367
|
-
const t = e, n = Uo(), l = _(() => o(t.actions)), a = _(() => l.value.map((r) =>
|
|
1368
|
+
const t = e, n = Uo(), l = _(() => o(t.actions)), a = _(() => l.value.map((r) => $({
|
|
1368
1369
|
action: r
|
|
1369
1370
|
}, o(r.getBreakpointValue(n)))));
|
|
1370
1371
|
return (r, p) => {
|
|
1371
|
-
const i =
|
|
1372
|
-
return l.value.length > 0 ? (h(),
|
|
1372
|
+
const i = S("v-btn");
|
|
1373
|
+
return l.value.length > 0 ? (h(), F("div", {
|
|
1373
1374
|
key: 0,
|
|
1374
|
-
class:
|
|
1375
|
+
class: Ve(["text-end", {
|
|
1375
1376
|
"button-group": r.showAsGroup === "grouped" || r.showAsGroup === "grouped-no-borders",
|
|
1376
1377
|
"with-border": r.showAsGroup === "grouped"
|
|
1377
1378
|
}])
|
|
1378
1379
|
}, [
|
|
1379
|
-
(h(!0),
|
|
1380
|
+
(h(!0), F(Ie, null, Xe(a.value, (c, u) => (h(), P(i, {
|
|
1380
1381
|
key: u,
|
|
1381
|
-
variant: c.renderAs === o(
|
|
1382
|
+
variant: c.renderAs === o(W).BUTTON ? "tonal" : "text",
|
|
1382
1383
|
elevation: 0,
|
|
1383
1384
|
size: r.buttonSize,
|
|
1384
1385
|
onClick: ct((j) => c.action.execute(j), ["stop"])
|
|
@@ -1389,8 +1390,8 @@ const Ro = {
|
|
|
1389
1390
|
class: "action-icon",
|
|
1390
1391
|
name: c.icon
|
|
1391
1392
|
}, null, 8, ["name"])) : L("", !0),
|
|
1392
|
-
c.icon && c.label ? (h(),
|
|
1393
|
-
c.label ? (h(),
|
|
1393
|
+
c.icon && c.label ? (h(), F("span", Ro)) : L("", !0),
|
|
1394
|
+
c.label ? (h(), F("span", Wo, se(c.label), 1)) : L("", !0)
|
|
1394
1395
|
]),
|
|
1395
1396
|
_: 2
|
|
1396
1397
|
}, 1032, ["variant", "size", "onClick"]))), 128))
|
|
@@ -1411,8 +1412,9 @@ const Ro = {
|
|
|
1411
1412
|
enabled: { type: Boolean },
|
|
1412
1413
|
visibility: {},
|
|
1413
1414
|
cssClass: {},
|
|
1414
|
-
clearable: { type: Boolean }
|
|
1415
|
-
|
|
1415
|
+
clearable: { type: Boolean },
|
|
1416
|
+
passthroughAttrs: {}
|
|
1417
|
+
}, O($({}, Q), { allowNull: !1 })),
|
|
1416
1418
|
emits: ["update:modelValue", "click:clear"],
|
|
1417
1419
|
setup(e, { emit: t }) {
|
|
1418
1420
|
const n = e, l = t, { errors: a, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, l), u = _(() => n.allowNull && i.value == null), j = _({
|
|
@@ -1427,8 +1429,8 @@ const Ro = {
|
|
|
1427
1429
|
m === !0 ? i.value = n.allowNull ? null : !1 : i.value = m === !1;
|
|
1428
1430
|
}
|
|
1429
1431
|
return (m, b) => {
|
|
1430
|
-
const g =
|
|
1431
|
-
return h(), P(g,
|
|
1432
|
+
const g = S("v-checkbox");
|
|
1433
|
+
return h(), P(g, R({
|
|
1432
1434
|
modelValue: j.value,
|
|
1433
1435
|
"onUpdate:modelValue": b[0] || (b[0] = (w) => j.value = w)
|
|
1434
1436
|
}, o(c), {
|
|
@@ -1474,16 +1476,17 @@ const Ro = {
|
|
|
1474
1476
|
enabled: { type: Boolean },
|
|
1475
1477
|
visibility: {},
|
|
1476
1478
|
cssClass: {},
|
|
1477
|
-
clearable: { type: Boolean }
|
|
1478
|
-
|
|
1479
|
+
clearable: { type: Boolean },
|
|
1480
|
+
passthroughAttrs: {}
|
|
1481
|
+
}, O($({}, Q), { allowNull: !1 })),
|
|
1479
1482
|
emits: ["update:modelValue", "click:clear"],
|
|
1480
1483
|
setup(e, { emit: t }) {
|
|
1481
|
-
const n = e, l = t, { errors: a, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, l), u =
|
|
1484
|
+
const n = e, l = t, { errors: a, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, l), u = A(!1), j = _(() => [
|
|
1482
1485
|
(s) => n.control || !s && n.allowNull || /^#?([a-fA-F0-9]{3}|[a-fA-F0-9]{4}|[a-fA-F0-9]{6}|[a-fA-F0-9]{8})$/.test(s) ? !0 : "Not a valid hex string."
|
|
1483
1486
|
]);
|
|
1484
1487
|
return (s, m) => {
|
|
1485
|
-
const b =
|
|
1486
|
-
return h(), P(w,
|
|
1488
|
+
const b = S("v-color-picker"), g = S("v-menu"), w = S("v-text-field");
|
|
1489
|
+
return h(), P(w, R({
|
|
1487
1490
|
modelValue: o(i),
|
|
1488
1491
|
"onUpdate:modelValue": m[2] || (m[2] = (k) => te(i) ? i.value = k : null)
|
|
1489
1492
|
}, o(c), {
|
|
@@ -1500,7 +1503,7 @@ const Ro = {
|
|
|
1500
1503
|
]),
|
|
1501
1504
|
"prepend-inner": v(() => [
|
|
1502
1505
|
ne("div", {
|
|
1503
|
-
style:
|
|
1506
|
+
style: Ge([{ width: "24px", height: "24px", "border-radius": "4px", border: "1px solid #ccc" }, { backgroundColor: o(i) }])
|
|
1504
1507
|
}, null, 4)
|
|
1505
1508
|
]),
|
|
1506
1509
|
default: v(() => [
|
|
@@ -1552,8 +1555,9 @@ const Ro = {
|
|
|
1552
1555
|
enabled: { type: Boolean },
|
|
1553
1556
|
visibility: {},
|
|
1554
1557
|
cssClass: {},
|
|
1555
|
-
clearable: { type: Boolean }
|
|
1556
|
-
|
|
1558
|
+
clearable: { type: Boolean },
|
|
1559
|
+
passthroughAttrs: {}
|
|
1560
|
+
}, O($({}, Q), {
|
|
1557
1561
|
inputType: "datetime",
|
|
1558
1562
|
displayFormatDate: "P",
|
|
1559
1563
|
displayFormatTime: "p"
|
|
@@ -1566,7 +1570,7 @@ const Ro = {
|
|
|
1566
1570
|
}), r = _(() => {
|
|
1567
1571
|
var f, d;
|
|
1568
1572
|
return (d = (f = a.value.options) == null ? void 0 : f.weekStartsOn) != null ? d : 1;
|
|
1569
|
-
}), { touched: p, value: i, vuetifyBindings: c } = K(n, l), { inputType: u, displayFormatDate: j, displayFormatTime: s } = _e(n), m =
|
|
1573
|
+
}), { touched: p, value: i, vuetifyBindings: c } = K(n, l), { inputType: u, displayFormatDate: j, displayFormatTime: s } = _e(n), m = A(""), b = _({
|
|
1570
1574
|
get() {
|
|
1571
1575
|
return o(m) === "date";
|
|
1572
1576
|
},
|
|
@@ -1580,7 +1584,7 @@ const Ro = {
|
|
|
1580
1584
|
set(f) {
|
|
1581
1585
|
m.value = f ? "time" : "";
|
|
1582
1586
|
}
|
|
1583
|
-
}), w = (f) => `${pe(f, "yyyy-MM-dd")}T${pe(f, "HH:mm")}:00`, k =
|
|
1587
|
+
}), w = (f) => `${pe(f, "yyyy-MM-dd")}T${pe(f, "HH:mm")}:00`, k = A(null);
|
|
1584
1588
|
function y(f, d) {
|
|
1585
1589
|
if (f == null)
|
|
1586
1590
|
k.value = null;
|
|
@@ -1588,17 +1592,17 @@ const Ro = {
|
|
|
1588
1592
|
if (o(u) === "time")
|
|
1589
1593
|
k.value = w(/* @__PURE__ */ new Date()), y(`T${f}`, 1);
|
|
1590
1594
|
else {
|
|
1591
|
-
const
|
|
1592
|
-
y(
|
|
1595
|
+
const x = w(new Date(f));
|
|
1596
|
+
y(x, 0), y(x, 1);
|
|
1593
1597
|
}
|
|
1594
1598
|
else {
|
|
1595
1599
|
k.value == null && (k.value = w(/* @__PURE__ */ new Date()));
|
|
1596
|
-
const
|
|
1597
|
-
|
|
1600
|
+
const x = k.value.split(/[TZ]/g), U = f.split(/[TZ]/g);
|
|
1601
|
+
x[d] = U[d], k.value = w(/* @__PURE__ */ new Date(`${x[0]}T${x[1].split(".")[0]}`)), o(u) === "date" ? i.value = x[0] : o(u) === "time" ? i.value = x[1] : i.value = o(k) + pe(/* @__PURE__ */ new Date(), "XXX");
|
|
1598
1602
|
}
|
|
1599
1603
|
}
|
|
1600
1604
|
ue(i, (f) => y(f, -1), { immediate: !0 });
|
|
1601
|
-
const
|
|
1605
|
+
const N = _({
|
|
1602
1606
|
get() {
|
|
1603
1607
|
const f = o(k);
|
|
1604
1608
|
if (f == null) return null;
|
|
@@ -1608,7 +1612,7 @@ const Ro = {
|
|
|
1608
1612
|
set(f) {
|
|
1609
1613
|
y(w(f), 0);
|
|
1610
1614
|
}
|
|
1611
|
-
}),
|
|
1615
|
+
}), E = _({
|
|
1612
1616
|
get() {
|
|
1613
1617
|
const f = o(k);
|
|
1614
1618
|
return f == null ? "" : f.split(/[TZ]/g)[1].split(".")[0];
|
|
@@ -1618,7 +1622,7 @@ const Ro = {
|
|
|
1618
1622
|
}
|
|
1619
1623
|
}), T = _({
|
|
1620
1624
|
get() {
|
|
1621
|
-
const f = o(
|
|
1625
|
+
const f = o(N);
|
|
1622
1626
|
return f == null ? "" : pe(f, o(j), { locale: a.value });
|
|
1623
1627
|
},
|
|
1624
1628
|
set(f) {
|
|
@@ -1629,29 +1633,29 @@ const Ro = {
|
|
|
1629
1633
|
console.error(d);
|
|
1630
1634
|
}
|
|
1631
1635
|
}
|
|
1632
|
-
}),
|
|
1636
|
+
}), z = _({
|
|
1633
1637
|
get() {
|
|
1634
|
-
const f = o(
|
|
1638
|
+
const f = o(N);
|
|
1635
1639
|
return f == null ? "" : pe(f, o(s), { locale: a.value });
|
|
1636
1640
|
},
|
|
1637
1641
|
set(f) {
|
|
1638
1642
|
const d = f.match(/(\d+):(\d+)\s?([a-zA-Z]+)?/);
|
|
1639
1643
|
if (d == null) return;
|
|
1640
|
-
let
|
|
1641
|
-
const U =
|
|
1642
|
-
|
|
1644
|
+
let x = Le(d[1]);
|
|
1645
|
+
const U = Le(d[2]);
|
|
1646
|
+
Me(x) || Me(U) || (d[3] && d[3].toLowerCase() === "pm" && x < 13 && (x += 12), y(`T${x.toString().padStart(2, "0")}:${U.toString().padStart(2, "0")}:00`, 1));
|
|
1643
1647
|
}
|
|
1644
1648
|
});
|
|
1645
1649
|
return (f, d) => {
|
|
1646
|
-
const
|
|
1647
|
-
return h(), P(o(
|
|
1650
|
+
const x = S("v-date-picker"), U = S("v-confirm-edit"), de = S("v-menu"), me = S("v-text-field"), C = S("v-time-picker");
|
|
1651
|
+
return h(), P(o(Pe), R(n, {
|
|
1648
1652
|
clearable: f.clearable,
|
|
1649
1653
|
"onClick:clear": d[14] || (d[14] = (I) => i.value = null),
|
|
1650
1654
|
onBlur: d[15] || (d[15] = (I) => p.value = !0)
|
|
1651
1655
|
}), {
|
|
1652
1656
|
default: v((I) => [
|
|
1653
1657
|
ne("div", Go, [
|
|
1654
|
-
["date", "datetime"].includes(o(u)) ? (h(), P(me, {
|
|
1658
|
+
["date", "datetime"].includes(o(u)) ? (h(), P(me, R({
|
|
1655
1659
|
key: 0,
|
|
1656
1660
|
modelValue: T.value,
|
|
1657
1661
|
"onUpdate:modelValue": d[4] || (d[4] = (V) => T.value = V),
|
|
@@ -1662,12 +1666,13 @@ const Ro = {
|
|
|
1662
1666
|
"hide-details": !0,
|
|
1663
1667
|
readonly: o(c).readonly,
|
|
1664
1668
|
disabled: o(c).disabled,
|
|
1665
|
-
name: `${o(c).name}-date
|
|
1669
|
+
name: `${o(c).name}-date`
|
|
1670
|
+
}, f.passthroughAttrs, {
|
|
1666
1671
|
onClick: d[5] || (d[5] = (V) => m.value = "date"),
|
|
1667
|
-
onKeydown: d[6] || (d[6] =
|
|
1672
|
+
onKeydown: d[6] || (d[6] = Ee((V) => m.value = "date", ["space"])),
|
|
1668
1673
|
onFocus: (V) => I.focus(),
|
|
1669
1674
|
onBlur: (V) => I.blur()
|
|
1670
|
-
}, {
|
|
1675
|
+
}), {
|
|
1671
1676
|
default: v(() => [
|
|
1672
1677
|
B(de, {
|
|
1673
1678
|
modelValue: b.value,
|
|
@@ -1677,13 +1682,13 @@ const Ro = {
|
|
|
1677
1682
|
}, {
|
|
1678
1683
|
default: v(() => [
|
|
1679
1684
|
B(U, {
|
|
1680
|
-
modelValue:
|
|
1681
|
-
"onUpdate:modelValue": d[0] || (d[0] = (V) =>
|
|
1685
|
+
modelValue: N.value,
|
|
1686
|
+
"onUpdate:modelValue": d[0] || (d[0] = (V) => N.value = V),
|
|
1682
1687
|
onCancel: d[1] || (d[1] = (V) => m.value = ""),
|
|
1683
1688
|
onSave: d[2] || (d[2] = (V) => m.value = "")
|
|
1684
1689
|
}, {
|
|
1685
1690
|
default: v(({ model: V, actions: Z }) => [
|
|
1686
|
-
B(
|
|
1691
|
+
B(x, {
|
|
1687
1692
|
modelValue: V.value,
|
|
1688
1693
|
"onUpdate:modelValue": (D) => V.value = D,
|
|
1689
1694
|
"hide-header": !0,
|
|
@@ -1704,11 +1709,11 @@ const Ro = {
|
|
|
1704
1709
|
}, 8, ["modelValue"])
|
|
1705
1710
|
]),
|
|
1706
1711
|
_: 2
|
|
1707
|
-
},
|
|
1708
|
-
["time", "datetime"].includes(o(u)) ? (h(), P(me, {
|
|
1712
|
+
}, 1040, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0),
|
|
1713
|
+
["time", "datetime"].includes(o(u)) ? (h(), P(me, R({
|
|
1709
1714
|
key: 1,
|
|
1710
|
-
modelValue:
|
|
1711
|
-
"onUpdate:modelValue": d[11] || (d[11] = (V) =>
|
|
1715
|
+
modelValue: z.value,
|
|
1716
|
+
"onUpdate:modelValue": d[11] || (d[11] = (V) => z.value = V),
|
|
1712
1717
|
style: { "flex-grow": "3" },
|
|
1713
1718
|
density: "compact",
|
|
1714
1719
|
variant: "plain",
|
|
@@ -1716,12 +1721,13 @@ const Ro = {
|
|
|
1716
1721
|
"hide-details": !0,
|
|
1717
1722
|
readonly: o(c).readonly,
|
|
1718
1723
|
disabled: o(c).disabled,
|
|
1719
|
-
name: `${o(c).name}-time
|
|
1724
|
+
name: `${o(c).name}-time`
|
|
1725
|
+
}, f.passthroughAttrs, {
|
|
1720
1726
|
onClick: d[12] || (d[12] = (V) => m.value = "time"),
|
|
1721
|
-
onKeydown: d[13] || (d[13] =
|
|
1727
|
+
onKeydown: d[13] || (d[13] = Ee((V) => m.value = "time", ["space"])),
|
|
1722
1728
|
onFocus: (V) => I.focus(),
|
|
1723
1729
|
onBlur: (V) => I.blur()
|
|
1724
|
-
}, {
|
|
1730
|
+
}), {
|
|
1725
1731
|
default: v(() => [
|
|
1726
1732
|
B(de, {
|
|
1727
1733
|
modelValue: g.value,
|
|
@@ -1731,8 +1737,8 @@ const Ro = {
|
|
|
1731
1737
|
}, {
|
|
1732
1738
|
default: v(() => [
|
|
1733
1739
|
B(U, {
|
|
1734
|
-
modelValue:
|
|
1735
|
-
"onUpdate:modelValue": d[7] || (d[7] = (V) =>
|
|
1740
|
+
modelValue: E.value,
|
|
1741
|
+
"onUpdate:modelValue": d[7] || (d[7] = (V) => E.value = V),
|
|
1736
1742
|
onCancel: d[8] || (d[8] = (V) => m.value = ""),
|
|
1737
1743
|
onSave: d[9] || (d[9] = (V) => m.value = "")
|
|
1738
1744
|
}, {
|
|
@@ -1756,7 +1762,7 @@ const Ro = {
|
|
|
1756
1762
|
}, 8, ["modelValue"])
|
|
1757
1763
|
]),
|
|
1758
1764
|
_: 2
|
|
1759
|
-
},
|
|
1765
|
+
}, 1040, ["modelValue", "readonly", "disabled", "name", "onFocus", "onBlur"])) : L("", !0)
|
|
1760
1766
|
])
|
|
1761
1767
|
]),
|
|
1762
1768
|
_: 1
|
|
@@ -1780,11 +1786,12 @@ const Ro = {
|
|
|
1780
1786
|
enabled: { type: Boolean },
|
|
1781
1787
|
visibility: {},
|
|
1782
1788
|
cssClass: {},
|
|
1783
|
-
clearable: { type: Boolean }
|
|
1789
|
+
clearable: { type: Boolean },
|
|
1790
|
+
passthroughAttrs: {}
|
|
1784
1791
|
}, Q),
|
|
1785
1792
|
emits: ["update:modelValue", "click:clear"],
|
|
1786
1793
|
setup(e, { emit: t }) {
|
|
1787
|
-
const n = e, l = t, { touched: a, value: r, vuetifyBindings: p } = K(n, l), i =
|
|
1794
|
+
const n = e, l = t, { touched: a, value: r, vuetifyBindings: p } = K(n, l), i = A(null), c = A(null), u = A(0), j = A(Math.round(Math.random() * 1e3)), s = A(), m = _(() => c.value && u.value < 100), b = _(() => !s.value && r.value ? n.modelValue : "");
|
|
1788
1795
|
function g() {
|
|
1789
1796
|
i.value && window.clearInterval(i.value);
|
|
1790
1797
|
}
|
|
@@ -1793,22 +1800,22 @@ const Ro = {
|
|
|
1793
1800
|
r.value && n.comms.touch(r.value);
|
|
1794
1801
|
}, 60 * 1e3);
|
|
1795
1802
|
}
|
|
1796
|
-
|
|
1797
|
-
|
|
1803
|
+
He(() => g()), ue(r, (E) => {
|
|
1804
|
+
E ? w() : g();
|
|
1798
1805
|
});
|
|
1799
1806
|
function k() {
|
|
1800
|
-
return
|
|
1807
|
+
return ge(this, null, function* () {
|
|
1801
1808
|
r.value && (yield n.comms.delete(r.value)), r.value = null, u.value = 0, j.value = Math.round(Math.random() * 1e3), c.value = null, s.value = null, g();
|
|
1802
1809
|
});
|
|
1803
1810
|
}
|
|
1804
|
-
function y(
|
|
1805
|
-
return
|
|
1806
|
-
u.value = -1, c.value =
|
|
1811
|
+
function y(E) {
|
|
1812
|
+
return ge(this, null, function* () {
|
|
1813
|
+
u.value = -1, c.value = E;
|
|
1807
1814
|
try {
|
|
1808
1815
|
r.value = yield n.comms.upload(
|
|
1809
|
-
|
|
1810
|
-
(T,
|
|
1811
|
-
u.value = Math.round(T * 100 /
|
|
1816
|
+
E,
|
|
1817
|
+
(T, z) => {
|
|
1818
|
+
u.value = Math.round(T * 100 / z);
|
|
1812
1819
|
}
|
|
1813
1820
|
), u.value = 100, w();
|
|
1814
1821
|
} catch (T) {
|
|
@@ -1816,18 +1823,18 @@ const Ro = {
|
|
|
1816
1823
|
}
|
|
1817
1824
|
});
|
|
1818
1825
|
}
|
|
1819
|
-
function
|
|
1820
|
-
|
|
1826
|
+
function N(E) {
|
|
1827
|
+
E && (Array.isArray(E) ? console.error("Uploading multiple files not supported right now") : y(E));
|
|
1821
1828
|
}
|
|
1822
|
-
return (
|
|
1823
|
-
const
|
|
1824
|
-
return h(), P(o(
|
|
1829
|
+
return (E, T) => {
|
|
1830
|
+
const z = S("v-icon"), f = S("v-progress-linear"), d = S("v-file-input");
|
|
1831
|
+
return h(), P(o(Pe), R(O($({}, n), { loading: m.value }), {
|
|
1825
1832
|
clearable: "",
|
|
1826
1833
|
"onClick:clear": k,
|
|
1827
|
-
onBlur: T[1] || (T[1] = (
|
|
1834
|
+
onBlur: T[1] || (T[1] = (x) => a.value = !0)
|
|
1828
1835
|
}), {
|
|
1829
1836
|
"prepend-inner": v(() => [
|
|
1830
|
-
B(
|
|
1837
|
+
B(z, { icon: "$file" })
|
|
1831
1838
|
]),
|
|
1832
1839
|
loader: v(() => [
|
|
1833
1840
|
c.value && u.value < 100 ? (h(), P(f, {
|
|
@@ -1836,14 +1843,11 @@ const Ro = {
|
|
|
1836
1843
|
indeterminate: u.value === -1
|
|
1837
1844
|
}, null, 8, ["model-value", "indeterminate"])) : L("", !0)
|
|
1838
1845
|
]),
|
|
1839
|
-
default: v((
|
|
1846
|
+
default: v((x) => [
|
|
1840
1847
|
ne("div", Yo, [
|
|
1841
|
-
B(d, {
|
|
1848
|
+
B(d, R({
|
|
1842
1849
|
modelValue: s.value,
|
|
1843
|
-
"onUpdate:modelValue": [
|
|
1844
|
-
T[0] || (T[0] = (U) => s.value = U),
|
|
1845
|
-
F
|
|
1846
|
-
],
|
|
1850
|
+
"onUpdate:modelValue": T[0] || (T[0] = (U) => s.value = U),
|
|
1847
1851
|
label: b.value,
|
|
1848
1852
|
density: "compact",
|
|
1849
1853
|
variant: "plain",
|
|
@@ -1853,12 +1857,14 @@ const Ro = {
|
|
|
1853
1857
|
"hide-details": !0,
|
|
1854
1858
|
"show-size": !0,
|
|
1855
1859
|
multiple: !1,
|
|
1856
|
-
style:
|
|
1857
|
-
clearable: !1
|
|
1860
|
+
style: c.value && u.value < 100 ? "visibility: hidden" : "",
|
|
1861
|
+
clearable: !1
|
|
1862
|
+
}, E.passthroughAttrs, {
|
|
1858
1863
|
"prepend-icon": "",
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1864
|
+
"onUpdate:modelValue": N,
|
|
1865
|
+
onFocus: (U) => x.focus(),
|
|
1866
|
+
onBlur: (U) => x.blur()
|
|
1867
|
+
}), null, 16, ["modelValue", "label", "readonly", "disabled", "name", "style", "onFocus", "onBlur"])
|
|
1862
1868
|
])
|
|
1863
1869
|
]),
|
|
1864
1870
|
_: 1
|
|
@@ -1883,8 +1889,9 @@ const Ro = {
|
|
|
1883
1889
|
enabled: { type: Boolean },
|
|
1884
1890
|
visibility: {},
|
|
1885
1891
|
cssClass: {},
|
|
1886
|
-
clearable: { type: Boolean }
|
|
1887
|
-
|
|
1892
|
+
clearable: { type: Boolean },
|
|
1893
|
+
passthroughAttrs: {}
|
|
1894
|
+
}, O($({}, Q), {
|
|
1888
1895
|
inputType: "text",
|
|
1889
1896
|
precision: null,
|
|
1890
1897
|
step: void 0,
|
|
@@ -1895,13 +1902,13 @@ const Ro = {
|
|
|
1895
1902
|
setup(e, { emit: t }) {
|
|
1896
1903
|
const n = e, l = t, { errors: a, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, l), { inputType: u, max: j, min: s, precision: m, step: b } = _e(n), g = _(() => u.value === "number"), w = _(() => g.value ? { min: o(s), max: o(j), precision: o(m), step: o(b) } : {});
|
|
1897
1904
|
return (k, y) => {
|
|
1898
|
-
const
|
|
1899
|
-
return h(),
|
|
1900
|
-
g.value ? (h(), P(
|
|
1905
|
+
const N = S("v-text-field"), E = S("v-number-input");
|
|
1906
|
+
return h(), F("div", Zo, [
|
|
1907
|
+
g.value ? (h(), P(E, R({
|
|
1901
1908
|
key: 1,
|
|
1902
1909
|
modelValue: o(i),
|
|
1903
1910
|
"onUpdate:modelValue": y[2] || (y[2] = (T) => te(i) ? i.value = T : null)
|
|
1904
|
-
},
|
|
1911
|
+
}, $($({}, o(c)), w.value), {
|
|
1905
1912
|
density: "compact",
|
|
1906
1913
|
"control-variant": "stacked"
|
|
1907
1914
|
}), q({
|
|
@@ -1923,7 +1930,7 @@ const Ro = {
|
|
|
1923
1930
|
]),
|
|
1924
1931
|
key: "0"
|
|
1925
1932
|
} : void 0
|
|
1926
|
-
]), 1040, ["modelValue"])) : (h(), P(
|
|
1933
|
+
]), 1040, ["modelValue"])) : (h(), P(N, R({
|
|
1927
1934
|
key: 0,
|
|
1928
1935
|
modelValue: o(i),
|
|
1929
1936
|
"onUpdate:modelValue": y[0] || (y[0] = (T) => te(i) ? i.value = T : null)
|
|
@@ -1965,7 +1972,7 @@ const Ro = {
|
|
|
1965
1972
|
dt((s) => ({
|
|
1966
1973
|
"3d4d5a06": s.minHeight
|
|
1967
1974
|
}));
|
|
1968
|
-
const l = n, a =
|
|
1975
|
+
const l = n, a = A(!1), r = un, u = {
|
|
1969
1976
|
toolbar: {
|
|
1970
1977
|
items: [
|
|
1971
1978
|
"undo",
|
|
@@ -2008,12 +2015,12 @@ const Ro = {
|
|
|
2008
2015
|
Pt,
|
|
2009
2016
|
Dt,
|
|
2010
2017
|
$t,
|
|
2011
|
-
xt,
|
|
2012
2018
|
St,
|
|
2019
|
+
xt,
|
|
2020
|
+
At,
|
|
2013
2021
|
Et,
|
|
2014
2022
|
Nt,
|
|
2015
2023
|
Ft,
|
|
2016
|
-
At,
|
|
2017
2024
|
Lt,
|
|
2018
2025
|
Mt,
|
|
2019
2026
|
Ut,
|
|
@@ -2096,14 +2103,14 @@ const Ro = {
|
|
|
2096
2103
|
},
|
|
2097
2104
|
table: { contentToolbar: ["tableColumn", "tableRow", "mergeTableCells", "tableProperties", "tableCellProperties"] }
|
|
2098
2105
|
};
|
|
2099
|
-
|
|
2106
|
+
ze(() => {
|
|
2100
2107
|
a.value = !0;
|
|
2101
2108
|
});
|
|
2102
2109
|
const j = (s) => {
|
|
2103
2110
|
};
|
|
2104
2111
|
return t({ onEditorReady: j }), (s, m) => {
|
|
2105
|
-
const b =
|
|
2106
|
-
return h(),
|
|
2112
|
+
const b = S("ckeditor");
|
|
2113
|
+
return h(), F("div", tl, [
|
|
2107
2114
|
ne("div", nl, [
|
|
2108
2115
|
ne("div", ol, [
|
|
2109
2116
|
a.value ? (h(), P(b, {
|
|
@@ -2112,7 +2119,7 @@ const Ro = {
|
|
|
2112
2119
|
editor: o(r),
|
|
2113
2120
|
config: u,
|
|
2114
2121
|
disabled: s.disabled,
|
|
2115
|
-
style:
|
|
2122
|
+
style: Ge(`min-height: ${s.minHeight}`),
|
|
2116
2123
|
onReady: j,
|
|
2117
2124
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => l("update:modelValue", g))
|
|
2118
2125
|
}, null, 8, ["model-value", "editor", "disabled", "style"])) : L("", !0)
|
|
@@ -2135,23 +2142,25 @@ const Ro = {
|
|
|
2135
2142
|
enabled: { type: Boolean },
|
|
2136
2143
|
visibility: {},
|
|
2137
2144
|
cssClass: {},
|
|
2138
|
-
clearable: { type: Boolean }
|
|
2139
|
-
|
|
2145
|
+
clearable: { type: Boolean },
|
|
2146
|
+
passthroughAttrs: {}
|
|
2147
|
+
}, O($({}, Q), { minHeight: void 0 })),
|
|
2140
2148
|
emits: ["update:modelValue", "click:clear"],
|
|
2141
2149
|
setup(e, { emit: t }) {
|
|
2142
2150
|
const n = e, l = t, { value: a, vuetifyBindings: r } = K(n, l);
|
|
2143
|
-
return (p, i) => (h(), P(o(
|
|
2151
|
+
return (p, i) => (h(), P(o(Pe), X(G(n)), {
|
|
2144
2152
|
default: v((c) => [
|
|
2145
|
-
B(ll, {
|
|
2153
|
+
B(ll, R({
|
|
2146
2154
|
ref: "$editor",
|
|
2147
2155
|
modelValue: o(a),
|
|
2148
2156
|
"onUpdate:modelValue": i[0] || (i[0] = (u) => te(a) ? a.value = u : null),
|
|
2149
|
-
class:
|
|
2157
|
+
class: { "mt-8": !!p.label },
|
|
2150
2158
|
"min-height": p.minHeight,
|
|
2151
|
-
disabled: o(r).disabled
|
|
2159
|
+
disabled: o(r).disabled
|
|
2160
|
+
}, p.passthroughAttrs, {
|
|
2152
2161
|
onFocusin: (u) => c.focus(),
|
|
2153
2162
|
onFocusout: (u) => c.blur()
|
|
2154
|
-
}, null,
|
|
2163
|
+
}), null, 16, ["modelValue", "class", "min-height", "disabled", "onFocusin", "onFocusout"])
|
|
2155
2164
|
]),
|
|
2156
2165
|
_: 1
|
|
2157
2166
|
}, 16));
|
|
@@ -2162,14 +2171,14 @@ function rl(e) {
|
|
|
2162
2171
|
}
|
|
2163
2172
|
function J(e, t) {
|
|
2164
2173
|
var n;
|
|
2165
|
-
return e == null ||
|
|
2174
|
+
return e == null || Ue(e) && e.length === 0 ? null : t ? qe(e) : Ue(e) ? (n = Ye(e)) != null ? n : null : e;
|
|
2166
2175
|
}
|
|
2167
|
-
function
|
|
2176
|
+
function ke(e, t) {
|
|
2168
2177
|
if (t == null) return [];
|
|
2169
2178
|
const n = qe(t);
|
|
2170
2179
|
return e.filter((l) => n.some((a) => a === l.id));
|
|
2171
2180
|
}
|
|
2172
|
-
function
|
|
2181
|
+
function we(e, t, n, l, a) {
|
|
2173
2182
|
var p;
|
|
2174
2183
|
const r = J(e, n);
|
|
2175
2184
|
if (r == null) {
|
|
@@ -2177,11 +2186,11 @@ function ye(e, t, n, l, a) {
|
|
|
2177
2186
|
return;
|
|
2178
2187
|
}
|
|
2179
2188
|
if (n)
|
|
2180
|
-
l ? t.value = r : t.value =
|
|
2189
|
+
l ? t.value = r : t.value = ke(a, r).map((i) => i.id);
|
|
2181
2190
|
else if (l)
|
|
2182
2191
|
t.value = r;
|
|
2183
2192
|
else {
|
|
2184
|
-
const i = Ye(
|
|
2193
|
+
const i = Ye(ke(a, r));
|
|
2185
2194
|
t.value = (p = i == null ? void 0 : i.id) != null ? p : null;
|
|
2186
2195
|
}
|
|
2187
2196
|
}
|
|
@@ -2206,8 +2215,9 @@ const il = {
|
|
|
2206
2215
|
enabled: { type: Boolean },
|
|
2207
2216
|
visibility: {},
|
|
2208
2217
|
cssClass: {},
|
|
2209
|
-
clearable: { type: Boolean }
|
|
2210
|
-
|
|
2218
|
+
clearable: { type: Boolean },
|
|
2219
|
+
passthroughAttrs: {}
|
|
2220
|
+
}, O($({}, Q), {
|
|
2211
2221
|
choices: void 0,
|
|
2212
2222
|
multiple: !1,
|
|
2213
2223
|
allowTags: !1,
|
|
@@ -2216,66 +2226,66 @@ const il = {
|
|
|
2216
2226
|
})),
|
|
2217
2227
|
emits: ["update:modelValueDisplay", "update:modelValue", "click:clear"],
|
|
2218
2228
|
setup(e, { emit: t }) {
|
|
2219
|
-
const n = e, { choices: l, multiple: a, allowTags: r, allowNull: p, cssClass: i, visibility: c } = _e(n), u = t, { errors: j, label: s, touched: m, value: b, vuetifyBindings: g } = K(n, u), w =
|
|
2220
|
-
function
|
|
2221
|
-
u("update:modelValueDisplay",
|
|
2229
|
+
const n = e, { choices: l, multiple: a, allowTags: r, allowNull: p, cssClass: i, visibility: c } = _e(n), u = t, { errors: j, label: s, touched: m, value: b, vuetifyBindings: g } = K(n, u), w = A(null), k = A(!1), y = A([]), N = _(() => o(k) ? o(y) : o(l) || []), E = A(!1), T = _(() => rl(N.value));
|
|
2230
|
+
function z(C) {
|
|
2231
|
+
u("update:modelValueDisplay", ke(N.value, C));
|
|
2222
2232
|
}
|
|
2223
2233
|
let f = !1;
|
|
2224
2234
|
function d(C) {
|
|
2225
|
-
f = !0, b.value = C,
|
|
2235
|
+
f = !0, b.value = C, Ne(() => {
|
|
2226
2236
|
f = !1;
|
|
2227
2237
|
});
|
|
2228
2238
|
}
|
|
2229
2239
|
ue(w, (C) => {
|
|
2230
|
-
g.value.readonly ||
|
|
2240
|
+
g.value.readonly || Ne(() => {
|
|
2231
2241
|
const I = J(C, a.value);
|
|
2232
|
-
|
|
2242
|
+
z(I), d(I);
|
|
2233
2243
|
});
|
|
2234
2244
|
}, { deep: !0 }), ue(b, (C) => {
|
|
2235
2245
|
if (!f) {
|
|
2236
2246
|
const I = J(C, a.value);
|
|
2237
|
-
|
|
2247
|
+
we(I, w, a.value, !1, N.value);
|
|
2238
2248
|
}
|
|
2239
2249
|
}, { deep: !0 });
|
|
2240
|
-
function
|
|
2250
|
+
function x() {
|
|
2241
2251
|
if (g.value.readonly || r.value) return;
|
|
2242
2252
|
const C = J(w.value, a.value);
|
|
2243
|
-
|
|
2253
|
+
we(C, w, a.value, !1, N.value), d(C);
|
|
2244
2254
|
}
|
|
2245
2255
|
function U(C) {
|
|
2246
2256
|
let I;
|
|
2247
|
-
a.value && Array.isArray(w.value) ? I = J(w.value.filter((V) => V !== C), a.value) : I = null,
|
|
2257
|
+
a.value && Array.isArray(w.value) ? I = J(w.value.filter((V) => V !== C), a.value) : I = null, we(I, w, a.value, !1, N.value), d(I);
|
|
2248
2258
|
}
|
|
2249
2259
|
function de(C, I) {
|
|
2250
|
-
return
|
|
2260
|
+
return ge(this, null, function* () {
|
|
2251
2261
|
if (!(l.value || n.fetchChoices === void 0)) {
|
|
2252
|
-
|
|
2262
|
+
E.value = !0;
|
|
2253
2263
|
try {
|
|
2254
|
-
const V =
|
|
2264
|
+
const V = ke(N.value, J(w.value, a.value)), Z = yield n.fetchChoices(C, I);
|
|
2255
2265
|
y.value = vt([...V, ...Z], "id"), k.value = !0;
|
|
2256
2266
|
} finally {
|
|
2257
|
-
|
|
2267
|
+
E.value = !1;
|
|
2258
2268
|
}
|
|
2259
2269
|
}
|
|
2260
2270
|
});
|
|
2261
2271
|
}
|
|
2262
2272
|
function me() {
|
|
2263
2273
|
let C = b.value;
|
|
2264
|
-
!p.value && C == null && T.value.length && (C = T.value[0].value), C = J(C, a.value),
|
|
2274
|
+
!p.value && C == null && T.value.length && (C = T.value[0].value), C = J(C, a.value), we(C, w, a.value, r.value, N.value), z(C), d(C);
|
|
2265
2275
|
}
|
|
2266
2276
|
return me(), n.fetchChoices !== void 0 && de(void 0, b.value).then(() => {
|
|
2267
2277
|
me();
|
|
2268
2278
|
}), (C, I) => {
|
|
2269
|
-
const V =
|
|
2270
|
-
return o(c) !== o(
|
|
2279
|
+
const V = S("v-chip"), Z = S("v-list-item");
|
|
2280
|
+
return o(c) !== o(H).SUPPRESS ? (h(), P(ce(o(r) ? "v-combobox" : "v-autocomplete"), R({
|
|
2271
2281
|
key: 0,
|
|
2272
2282
|
modelValue: w.value,
|
|
2273
2283
|
"onUpdate:modelValue": I[0] || (I[0] = (D) => w.value = D),
|
|
2274
2284
|
class: [
|
|
2275
2285
|
o(i),
|
|
2276
2286
|
{
|
|
2277
|
-
"d-none": o(c) === o(
|
|
2278
|
-
invisible: o(c) === o(
|
|
2287
|
+
"d-none": o(c) === o(H).HIDDEN,
|
|
2288
|
+
invisible: o(c) === o(H).INVISIBLE
|
|
2279
2289
|
}
|
|
2280
2290
|
],
|
|
2281
2291
|
items: T.value,
|
|
@@ -2287,13 +2297,13 @@ const il = {
|
|
|
2287
2297
|
"closable-chips": o(p) || o(a) && w.value.length > 1,
|
|
2288
2298
|
clearable: o(p),
|
|
2289
2299
|
multiple: o(a),
|
|
2290
|
-
loading:
|
|
2300
|
+
loading: E.value,
|
|
2291
2301
|
"hide-selected": !1,
|
|
2292
2302
|
"aria-describedby": o(g).helpText ? `${o(g).name}-help` : null,
|
|
2293
2303
|
"menu-props": { maxHeight: "400" },
|
|
2294
2304
|
"hide-details": "auto",
|
|
2295
2305
|
"onUpdate:search": I[1] || (I[1] = (D) => de(D, void 0)),
|
|
2296
|
-
"onUpdate:modelValue":
|
|
2306
|
+
"onUpdate:modelValue": x,
|
|
2297
2307
|
"onClick:clear": I[2] || (I[2] = (D) => w.value = null),
|
|
2298
2308
|
onBlur: I[3] || (I[3] = (D) => m.value = !0)
|
|
2299
2309
|
}), q({
|
|
@@ -2319,7 +2329,7 @@ const il = {
|
|
|
2319
2329
|
}),
|
|
2320
2330
|
default: v(() => [
|
|
2321
2331
|
ne("span", {
|
|
2322
|
-
class:
|
|
2332
|
+
class: Ve({ "text-body-1": !o(a) })
|
|
2323
2333
|
}, se(D.title), 3)
|
|
2324
2334
|
]),
|
|
2325
2335
|
_: 2
|
|
@@ -2328,9 +2338,9 @@ const il = {
|
|
|
2328
2338
|
item: v(({ props: D, item: re }) => [
|
|
2329
2339
|
B(Z, X(G(D)), {
|
|
2330
2340
|
prepend: v(() => {
|
|
2331
|
-
var
|
|
2341
|
+
var De;
|
|
2332
2342
|
return [
|
|
2333
|
-
(
|
|
2343
|
+
(De = re.raw) != null && De.icon ? (h(), F("span", il, [
|
|
2334
2344
|
B(o(Be), {
|
|
2335
2345
|
class: "action-icon d-inline-block",
|
|
2336
2346
|
name: re.raw.icon
|
|
@@ -2391,8 +2401,9 @@ const il = {
|
|
|
2391
2401
|
enabled: { type: Boolean },
|
|
2392
2402
|
visibility: {},
|
|
2393
2403
|
cssClass: {},
|
|
2394
|
-
clearable: { type: Boolean }
|
|
2395
|
-
|
|
2404
|
+
clearable: { type: Boolean },
|
|
2405
|
+
passthroughAttrs: {}
|
|
2406
|
+
}, O($({}, Q), {
|
|
2396
2407
|
rows: void 0,
|
|
2397
2408
|
maxRows: void 0
|
|
2398
2409
|
})),
|
|
@@ -2400,17 +2411,17 @@ const il = {
|
|
|
2400
2411
|
setup(e, { emit: t }) {
|
|
2401
2412
|
const n = e, l = t, { errors: a, label: r, touched: p, value: i, vuetifyBindings: c } = K(n, l), { cssClass: u, visibility: j } = _e(n);
|
|
2402
2413
|
return (s, m) => {
|
|
2403
|
-
const b =
|
|
2404
|
-
return h(),
|
|
2405
|
-
o(j) !== o(
|
|
2414
|
+
const b = S("v-textarea");
|
|
2415
|
+
return h(), F("div", cl, [
|
|
2416
|
+
o(j) !== o(H).SUPPRESS ? (h(), P(b, R({
|
|
2406
2417
|
key: 0,
|
|
2407
2418
|
modelValue: o(i),
|
|
2408
2419
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => te(i) ? i.value = g : null),
|
|
2409
2420
|
class: [
|
|
2410
2421
|
o(u),
|
|
2411
2422
|
{
|
|
2412
|
-
"d-none": o(j) === o(
|
|
2413
|
-
invisible: o(j) === o(
|
|
2423
|
+
"d-none": o(j) === o(H).HIDDEN,
|
|
2424
|
+
invisible: o(j) === o(H).INVISIBLE
|
|
2414
2425
|
}
|
|
2415
2426
|
],
|
|
2416
2427
|
rows: s.rows,
|
|
@@ -2475,9 +2486,9 @@ const il = {
|
|
|
2475
2486
|
VRow: kn,
|
|
2476
2487
|
VSelect: Pn,
|
|
2477
2488
|
VSwitch: Dn,
|
|
2478
|
-
VTextField:
|
|
2489
|
+
VTextField: Sn,
|
|
2479
2490
|
VTextarea: $n,
|
|
2480
|
-
VTimePicker:
|
|
2491
|
+
VTimePicker: xn
|
|
2481
2492
|
}, Symbol.toStringTag, { value: "Module" })), Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2482
2493
|
__proto__: null
|
|
2483
2494
|
}, Symbol.toStringTag, { value: "Module" })), ql = {
|
|
@@ -2487,8 +2498,8 @@ const il = {
|
|
|
2487
2498
|
}
|
|
2488
2499
|
};
|
|
2489
2500
|
export {
|
|
2490
|
-
|
|
2491
|
-
|
|
2501
|
+
ye as Action,
|
|
2502
|
+
W as ActionDisplayStyle,
|
|
2492
2503
|
Io as DateTimeLocaleConfig,
|
|
2493
2504
|
Ho as DfActions,
|
|
2494
2505
|
Ko as DfCheckbox,
|
|
@@ -2503,16 +2514,16 @@ export {
|
|
|
2503
2514
|
ul as DfSelect,
|
|
2504
2515
|
ml as DfTextArea,
|
|
2505
2516
|
ql as DynamicFormsInputs,
|
|
2506
|
-
|
|
2517
|
+
Pe as InputBase,
|
|
2507
2518
|
$o as Label,
|
|
2508
2519
|
le as MessagesWidget,
|
|
2509
2520
|
Oo as ResponsiveActionRenderOptions,
|
|
2510
2521
|
Lo as ResponsiveRenderOptions,
|
|
2511
2522
|
fl as VuetifyComponents,
|
|
2512
2523
|
Q as defaultBaseProps,
|
|
2513
|
-
|
|
2524
|
+
Re as defaultDisplayStyle,
|
|
2514
2525
|
Mo as getBreakpointName,
|
|
2515
|
-
|
|
2526
|
+
We as responsiveBreakpoints,
|
|
2516
2527
|
he as translatableStrings,
|
|
2517
2528
|
Xl as translateStrings,
|
|
2518
2529
|
Uo as useBreakpoint,
|