@dynamicforms/vue-forms 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dynamicforms-vue-forms.js +449 -400
- package/dist/dynamicforms-vue-forms.js.map +1 -1
- package/dist/dynamicforms-vue-forms.umd.cjs +2 -2
- package/dist/dynamicforms-vue-forms.umd.cjs.map +1 -1
- package/dist/index.d.ts +23 -2
- package/dist/style.css +1 -0
- package/package.json +1 -1
- package/readme.md +51 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var dt = Object.defineProperty, ft = Object.defineProperties;
|
|
2
|
+
var pt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
|
4
4
|
var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var t in
|
|
7
|
-
J.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
K.call(
|
|
5
|
+
var $ = (n, s, t) => s in n ? dt(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t, A = (n, s) => {
|
|
6
|
+
for (var t in s || (s = {}))
|
|
7
|
+
J.call(s, t) && $(n, t, s[t]);
|
|
8
|
+
if (R)
|
|
9
|
+
for (var t of R(s))
|
|
10
|
+
K.call(s, t) && $(n, t, s[t]);
|
|
11
11
|
return n;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, I = (n, s) => ft(n, pt(s));
|
|
13
|
+
var S = (n, s) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var e in n)
|
|
16
|
-
J.call(n, e) &&
|
|
17
|
-
if (n != null &&
|
|
18
|
-
for (var e of
|
|
19
|
-
|
|
16
|
+
J.call(n, e) && s.indexOf(e) < 0 && (t[e] = n[e]);
|
|
17
|
+
if (n != null && R)
|
|
18
|
+
for (var e of R(n))
|
|
19
|
+
s.indexOf(e) < 0 && K.call(n, e) && (t[e] = n[e]);
|
|
20
20
|
return t;
|
|
21
21
|
};
|
|
22
|
-
var o = (n,
|
|
23
|
-
import { isEqual as
|
|
24
|
-
import { unref as d, computed as z, reactive as
|
|
25
|
-
var
|
|
26
|
-
const
|
|
22
|
+
var o = (n, s, t) => $(n, typeof s != "symbol" ? s + "" : s, t);
|
|
23
|
+
import { isEqual as U, isBoolean as bt, isString as C, isEmpty as M, truncate as mt, isArray as st, isObject as nt } from "lodash-es";
|
|
24
|
+
import { unref as d, computed as z, reactive as vt, defineComponent as yt, resolveComponent as Z, createBlock as xt, openBlock as Et, h as w } from "vue";
|
|
25
|
+
var N = /* @__PURE__ */ ((n) => (n[n.SUPPRESS = 1] = "SUPPRESS", n[n.HIDDEN = 5] = "HIDDEN", n[n.INVISIBLE = 8] = "INVISIBLE", n[n.FULL = 10] = "FULL", n))(N || {});
|
|
26
|
+
const tt = 10;
|
|
27
27
|
((n) => {
|
|
28
|
-
function i
|
|
29
|
-
return
|
|
28
|
+
function s(i) {
|
|
29
|
+
return i.toUpperCase() === "SUPPRESS" ? 1 : i.toUpperCase() === "HIDDEN" ? 5 : i.toUpperCase() === "INVISIBLE" ? 8 : tt;
|
|
30
30
|
}
|
|
31
|
-
n.fromString =
|
|
32
|
-
function t(
|
|
33
|
-
const r = typeof
|
|
34
|
-
return Object.values(n).includes(r) ? r :
|
|
31
|
+
n.fromString = s;
|
|
32
|
+
function t(i) {
|
|
33
|
+
const r = typeof i == "number" ? i : n.fromString(i);
|
|
34
|
+
return Object.values(n).includes(r) ? r : tt;
|
|
35
35
|
}
|
|
36
36
|
n.fromAny = t;
|
|
37
|
-
function e(
|
|
38
|
-
const r = typeof
|
|
37
|
+
function e(i) {
|
|
38
|
+
const r = typeof i == "number" ? i : n.fromString(i);
|
|
39
39
|
return Object.values(n).includes(r);
|
|
40
40
|
}
|
|
41
41
|
n.isDefined = e;
|
|
42
|
-
})(
|
|
43
|
-
Object.freeze(
|
|
44
|
-
const
|
|
42
|
+
})(N || (N = {}));
|
|
43
|
+
Object.freeze(N);
|
|
44
|
+
const V = N;
|
|
45
45
|
class b {
|
|
46
|
-
constructor(
|
|
46
|
+
constructor(s) {
|
|
47
47
|
o(this, "executorFn");
|
|
48
|
-
this.executorFn =
|
|
48
|
+
this.executorFn = s;
|
|
49
49
|
}
|
|
50
50
|
static get classIdentifier() {
|
|
51
51
|
throw new Error("classIdentifier must be declared");
|
|
@@ -53,43 +53,43 @@ class b {
|
|
|
53
53
|
get classIdentifier() {
|
|
54
54
|
return this.constructor.classIdentifier;
|
|
55
55
|
}
|
|
56
|
-
execute(
|
|
57
|
-
return this.executorFn(
|
|
56
|
+
execute(s, t, ...e) {
|
|
57
|
+
return this.executorFn(s, t, ...e);
|
|
58
58
|
}
|
|
59
59
|
// eslint-disable-next-line class-methods-use-this
|
|
60
60
|
get eager() {
|
|
61
61
|
return !1;
|
|
62
62
|
}
|
|
63
63
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars, class-methods-use-this
|
|
64
|
-
boundToField(
|
|
64
|
+
boundToField(s) {
|
|
65
65
|
}
|
|
66
66
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars, class-methods-use-this
|
|
67
67
|
unregister() {
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
class
|
|
70
|
+
class H extends Error {
|
|
71
71
|
}
|
|
72
72
|
const it = Symbol("ValueChangedAction");
|
|
73
|
-
class
|
|
73
|
+
class m extends b {
|
|
74
74
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
75
|
-
constructor(
|
|
76
|
-
super(
|
|
75
|
+
constructor(s) {
|
|
76
|
+
super(s);
|
|
77
77
|
}
|
|
78
78
|
// eslint-disable-next-line class-methods-use-this
|
|
79
79
|
static get classIdentifier() {
|
|
80
80
|
return it;
|
|
81
81
|
}
|
|
82
|
-
execute(
|
|
83
|
-
return super.execute(
|
|
82
|
+
execute(s, t, e, i) {
|
|
83
|
+
return super.execute(s, t, e, i);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
class
|
|
86
|
+
class L extends String {
|
|
87
87
|
}
|
|
88
88
|
function G(n) {
|
|
89
|
-
const
|
|
90
|
-
return typeof
|
|
89
|
+
const s = d(n);
|
|
90
|
+
return typeof s == "object" && "componentName" in s;
|
|
91
91
|
}
|
|
92
|
-
class
|
|
92
|
+
class W {
|
|
93
93
|
get componentName() {
|
|
94
94
|
return "Comment";
|
|
95
95
|
}
|
|
@@ -99,12 +99,13 @@ class H {
|
|
|
99
99
|
get componentBody() {
|
|
100
100
|
return "";
|
|
101
101
|
}
|
|
102
|
+
get extraClasses() {
|
|
103
|
+
return "";
|
|
104
|
+
}
|
|
102
105
|
}
|
|
103
|
-
class
|
|
104
|
-
constructor(t) {
|
|
105
|
-
super();
|
|
106
|
-
o(this, "text");
|
|
107
|
-
this.text = t;
|
|
106
|
+
class Ct extends W {
|
|
107
|
+
constructor(s, t = "") {
|
|
108
|
+
super(), this.text = s, this.classes = t;
|
|
108
109
|
}
|
|
109
110
|
get componentName() {
|
|
110
111
|
return "template";
|
|
@@ -112,17 +113,20 @@ class vt extends H {
|
|
|
112
113
|
get componentBody() {
|
|
113
114
|
return this.text;
|
|
114
115
|
}
|
|
116
|
+
get extraClasses() {
|
|
117
|
+
return this.classes;
|
|
118
|
+
}
|
|
115
119
|
}
|
|
116
|
-
class p extends
|
|
117
|
-
constructor(t) {
|
|
120
|
+
class p extends W {
|
|
121
|
+
constructor(t, e = "") {
|
|
118
122
|
super();
|
|
119
123
|
o(this, "text");
|
|
120
124
|
o(this, "textType");
|
|
121
|
-
this.text = t, this.textType = z(() => this.getTextType);
|
|
125
|
+
this.classes = e, this.text = t, this.textType = z(() => this.getTextType);
|
|
122
126
|
}
|
|
123
127
|
get getTextType() {
|
|
124
128
|
const t = d(this.text);
|
|
125
|
-
return t ? t instanceof
|
|
129
|
+
return t ? t instanceof L ? "md" : G(t) ? "component" : "string" : "string";
|
|
126
130
|
}
|
|
127
131
|
get componentName() {
|
|
128
132
|
switch (d(this.textType)) {
|
|
@@ -158,41 +162,44 @@ class p extends H {
|
|
|
158
162
|
return "";
|
|
159
163
|
}
|
|
160
164
|
}
|
|
165
|
+
get extraClasses() {
|
|
166
|
+
return this.classes;
|
|
167
|
+
}
|
|
161
168
|
}
|
|
162
|
-
class
|
|
169
|
+
class Vt extends p {
|
|
163
170
|
}
|
|
164
|
-
const
|
|
165
|
-
class f extends
|
|
171
|
+
const _t = Symbol("Validator");
|
|
172
|
+
class f extends m {
|
|
166
173
|
/**
|
|
167
174
|
* Creates a new validator
|
|
168
175
|
* @param validationFn Function that validates the field value and returns errors or null
|
|
169
176
|
*/
|
|
170
177
|
constructor(t) {
|
|
171
|
-
super((
|
|
172
|
-
const c = t(a, l,
|
|
173
|
-
var
|
|
178
|
+
super((i, r, a, l) => {
|
|
179
|
+
const c = t(a, l, i) || [], u = (h) => {
|
|
180
|
+
var _;
|
|
174
181
|
h == null || h.forEach(
|
|
175
182
|
(x) => Object.defineProperty(x, "source", { value: this.source, enumerable: !1, configurable: !1 })
|
|
176
183
|
);
|
|
177
|
-
for (let x =
|
|
178
|
-
const
|
|
179
|
-
if (
|
|
180
|
-
const
|
|
181
|
-
|
|
184
|
+
for (let x = i.errors.length - 1; x >= 0; x--) {
|
|
185
|
+
const P = i.errors[x];
|
|
186
|
+
if (P.source === this.source) {
|
|
187
|
+
const O = (_ = h == null ? void 0 : h.findIndex((B) => U(B, P))) != null ? _ : -1;
|
|
188
|
+
O >= 0 ? h == null || h.splice(O, 1) : i.errors.splice(x, 1);
|
|
182
189
|
}
|
|
183
190
|
}
|
|
184
|
-
h && h.length > 0 &&
|
|
191
|
+
h && h.length > 0 && i.errors.push(...h), i.validate();
|
|
185
192
|
};
|
|
186
|
-
return c instanceof Promise ? (
|
|
187
|
-
|
|
188
|
-
})) : u(c), r(
|
|
193
|
+
return c instanceof Promise ? (i.validating = ++i.validatingCount > 0, c.then((h) => u(h)).finally(() => {
|
|
194
|
+
i.validatingCount = Math.max(0, i.validatingCount - 1), i.validating = i.validatingCount > 0;
|
|
195
|
+
})) : u(c), r(i, a, l);
|
|
189
196
|
});
|
|
190
197
|
o(this, "source");
|
|
191
198
|
this.source = Symbol(this.constructor.name);
|
|
192
199
|
}
|
|
193
200
|
// eslint-disable-next-line class-methods-use-this
|
|
194
201
|
static get classIdentifier() {
|
|
195
|
-
return
|
|
202
|
+
return _t;
|
|
196
203
|
}
|
|
197
204
|
// eslint-disable-next-line class-methods-use-this
|
|
198
205
|
get eager() {
|
|
@@ -201,13 +208,13 @@ class f extends v {
|
|
|
201
208
|
// eslint-disable-next-line class-methods-use-this
|
|
202
209
|
replacePlaceholders(t, e) {
|
|
203
210
|
if (G(t)) return t;
|
|
204
|
-
let
|
|
211
|
+
let i = t;
|
|
205
212
|
return Object.keys(e).forEach((r) => {
|
|
206
|
-
|
|
207
|
-
}), t instanceof
|
|
213
|
+
i = i.replaceAll(`{${r}}`, e[r]);
|
|
214
|
+
}), t instanceof L ? new L(i) : i;
|
|
208
215
|
}
|
|
209
216
|
}
|
|
210
|
-
class
|
|
217
|
+
class T extends Map {
|
|
211
218
|
constructor() {
|
|
212
219
|
super(...arguments);
|
|
213
220
|
o(this, "eagerActions", /* @__PURE__ */ new Set());
|
|
@@ -216,48 +223,48 @@ class N extends Map {
|
|
|
216
223
|
register(t) {
|
|
217
224
|
if (!(t instanceof b)) throw new Error("Invalid action type");
|
|
218
225
|
this.registeredActions.push(t);
|
|
219
|
-
const e = t.classIdentifier,
|
|
226
|
+
const e = t.classIdentifier, i = this.get(e) || (() => null);
|
|
220
227
|
function r(a, ...l) {
|
|
221
|
-
return t.execute(a,
|
|
228
|
+
return t.execute(a, i, ...l);
|
|
222
229
|
}
|
|
223
230
|
this.set(e, r), t.eager && this.eagerActions.add(t.classIdentifier);
|
|
224
231
|
}
|
|
225
|
-
trigger(t, e, ...
|
|
232
|
+
trigger(t, e, ...i) {
|
|
226
233
|
const r = t.classIdentifier;
|
|
227
|
-
r === it && this.triggerEager(e, ...
|
|
234
|
+
r === it && this.triggerEager(e, ...i);
|
|
228
235
|
const a = this.get(r);
|
|
229
236
|
try {
|
|
230
|
-
if (a) return a(e, ...
|
|
237
|
+
if (a) return a(e, ...i);
|
|
231
238
|
} catch (l) {
|
|
232
|
-
if (!(l instanceof
|
|
239
|
+
if (!(l instanceof H)) throw l;
|
|
233
240
|
}
|
|
234
241
|
return null;
|
|
235
242
|
}
|
|
236
243
|
triggerEager(t, ...e) {
|
|
237
|
-
for (const
|
|
238
|
-
const r = this.get(
|
|
244
|
+
for (const i of this.eagerActions) {
|
|
245
|
+
const r = this.get(i);
|
|
239
246
|
try {
|
|
240
247
|
r && r(t, ...e);
|
|
241
248
|
} catch (a) {
|
|
242
|
-
if (!(a instanceof
|
|
249
|
+
if (!(a instanceof H)) throw a;
|
|
243
250
|
}
|
|
244
251
|
}
|
|
245
252
|
}
|
|
246
253
|
clone() {
|
|
247
|
-
const t = new
|
|
254
|
+
const t = new T();
|
|
248
255
|
return this.registeredActions.forEach((e) => t.register(e)), t;
|
|
249
256
|
}
|
|
250
257
|
cloneWithoutValidators() {
|
|
251
|
-
const t = new
|
|
258
|
+
const t = new T();
|
|
252
259
|
return this.registeredActions.forEach((e) => {
|
|
253
260
|
e instanceof f ? e.unregister() : t.register(e);
|
|
254
261
|
}), t;
|
|
255
262
|
}
|
|
256
263
|
}
|
|
257
|
-
const
|
|
258
|
-
class
|
|
264
|
+
const At = Symbol("ConditionalStatementAction");
|
|
265
|
+
class k extends m {
|
|
259
266
|
constructor(t, e) {
|
|
260
|
-
const
|
|
267
|
+
const i = (r, a, l, c) => {
|
|
261
268
|
const u = t.evaluate();
|
|
262
269
|
if (u !== this.lastResult) {
|
|
263
270
|
for (const h of this.boundFields)
|
|
@@ -266,16 +273,16 @@ class U extends v {
|
|
|
266
273
|
}
|
|
267
274
|
return a(r, l, c);
|
|
268
275
|
};
|
|
269
|
-
super(
|
|
276
|
+
super(i);
|
|
270
277
|
o(this, "lastResult");
|
|
271
278
|
// boundField tracks the fields this action is bound to. so that it may perform the executorFn on them and not on the
|
|
272
279
|
// ValueChangedAction fields that will call the actionExecutor
|
|
273
280
|
o(this, "boundFields", /* @__PURE__ */ new Set());
|
|
274
|
-
t.collectFields().forEach((r) => r.registerAction(new
|
|
281
|
+
t.collectFields().forEach((r) => r.registerAction(new m(i)));
|
|
275
282
|
}
|
|
276
283
|
// eslint-disable-next-line class-methods-use-this
|
|
277
284
|
static get classIdentifier() {
|
|
278
|
-
return
|
|
285
|
+
return At;
|
|
279
286
|
}
|
|
280
287
|
// eslint-disable-next-line class-methods-use-this
|
|
281
288
|
get eager() {
|
|
@@ -285,30 +292,30 @@ class U extends v {
|
|
|
285
292
|
this.boundFields.add(t);
|
|
286
293
|
}
|
|
287
294
|
}
|
|
288
|
-
class
|
|
289
|
-
constructor(
|
|
290
|
-
super(
|
|
291
|
-
t.visibility = e ?
|
|
295
|
+
class It extends k {
|
|
296
|
+
constructor(s) {
|
|
297
|
+
super(s, (t, e) => {
|
|
298
|
+
t.visibility = e ? V.FULL : V.SUPPRESS;
|
|
292
299
|
});
|
|
293
300
|
}
|
|
294
301
|
}
|
|
295
|
-
class
|
|
296
|
-
constructor(
|
|
297
|
-
super(
|
|
302
|
+
class St extends k {
|
|
303
|
+
constructor(s) {
|
|
304
|
+
super(s, (t, e) => {
|
|
298
305
|
t.enabled = e;
|
|
299
306
|
});
|
|
300
307
|
}
|
|
301
308
|
}
|
|
302
|
-
class
|
|
303
|
-
constructor(
|
|
304
|
-
super(
|
|
305
|
-
|
|
309
|
+
class wt extends k {
|
|
310
|
+
constructor(s, t) {
|
|
311
|
+
super(s, (e, i) => {
|
|
312
|
+
i && (e.value = t);
|
|
306
313
|
});
|
|
307
314
|
}
|
|
308
315
|
}
|
|
309
|
-
var
|
|
316
|
+
var j = /* @__PURE__ */ ((n) => (n[n.NOT = 0] = "NOT", n[n.OR = 1] = "OR", n[n.AND = 2] = "AND", n[n.XOR = 3] = "XOR", n[n.NAND = 4] = "NAND", n[n.NOR = 5] = "NOR", n[n.EQUALS = -1] = "EQUALS", n[n.NOT_EQUALS = -2] = "NOT_EQUALS", n[n.GT = -3] = "GT", n[n.LT = -4] = "LT", n[n.GE = -5] = "GE", n[n.LE = -6] = "LE", n[n.IN = -7] = "IN", n[n.NOT_IN = -8] = "NOT_IN", n[n.INCLUDES = -9] = "INCLUDES", n[n.NOT_INCLUDES = -10] = "NOT_INCLUDES", n))(j || {});
|
|
310
317
|
((n) => {
|
|
311
|
-
function
|
|
318
|
+
function s(r) {
|
|
312
319
|
const a = r.toLowerCase();
|
|
313
320
|
if (a === "not") return 0;
|
|
314
321
|
if (a === "or") return 1;
|
|
@@ -328,7 +335,7 @@ var L = /* @__PURE__ */ ((n) => (n[n.NOT = 0] = "NOT", n[n.OR = 1] = "OR", n[n.A
|
|
|
328
335
|
if (["not_includes", "not-includes", "not includes"].includes(a)) return -10;
|
|
329
336
|
throw new Error(`Unrecognised operator ${a}`);
|
|
330
337
|
}
|
|
331
|
-
n.fromString =
|
|
338
|
+
n.fromString = s;
|
|
332
339
|
function t(r) {
|
|
333
340
|
const a = typeof r == "number" ? r : n.fromString(r);
|
|
334
341
|
if (Object.values(n).includes(a)) return a;
|
|
@@ -340,80 +347,80 @@ var L = /* @__PURE__ */ ((n) => (n[n.NOT = 0] = "NOT", n[n.OR = 1] = "OR", n[n.A
|
|
|
340
347
|
return Object.values(n).includes(a);
|
|
341
348
|
}
|
|
342
349
|
n.isDefined = e;
|
|
343
|
-
function
|
|
350
|
+
function i(r) {
|
|
344
351
|
return r >= 0;
|
|
345
352
|
}
|
|
346
|
-
n.isLogicOperator =
|
|
347
|
-
})(
|
|
348
|
-
Object.freeze(
|
|
349
|
-
const g =
|
|
350
|
-
class
|
|
353
|
+
n.isLogicOperator = i;
|
|
354
|
+
})(j || (j = {}));
|
|
355
|
+
Object.freeze(j);
|
|
356
|
+
const g = j, Ft = Symbol("EnabledChangingAction");
|
|
357
|
+
class rt extends b {
|
|
351
358
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
352
|
-
constructor(
|
|
353
|
-
super(
|
|
359
|
+
constructor(s) {
|
|
360
|
+
super(s);
|
|
354
361
|
}
|
|
355
362
|
// eslint-disable-next-line class-methods-use-this
|
|
356
363
|
static get classIdentifier() {
|
|
357
|
-
return
|
|
364
|
+
return Ft;
|
|
358
365
|
}
|
|
359
|
-
execute(
|
|
360
|
-
return super.execute(
|
|
366
|
+
execute(s, t, e, i) {
|
|
367
|
+
return super.execute(s, t, e, i);
|
|
361
368
|
}
|
|
362
369
|
}
|
|
363
|
-
const
|
|
364
|
-
class
|
|
370
|
+
const Nt = Symbol("EnabledChangedAction");
|
|
371
|
+
class at extends b {
|
|
365
372
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
366
|
-
constructor(
|
|
367
|
-
super(
|
|
373
|
+
constructor(s) {
|
|
374
|
+
super(s);
|
|
368
375
|
}
|
|
369
376
|
// eslint-disable-next-line class-methods-use-this
|
|
370
377
|
static get classIdentifier() {
|
|
371
|
-
return
|
|
378
|
+
return Nt;
|
|
372
379
|
}
|
|
373
|
-
execute(
|
|
374
|
-
return super.execute(
|
|
380
|
+
execute(s, t, e, i) {
|
|
381
|
+
return super.execute(s, t, e, i);
|
|
375
382
|
}
|
|
376
383
|
}
|
|
377
|
-
const
|
|
378
|
-
class
|
|
384
|
+
const Lt = Symbol("ValidChangedAction");
|
|
385
|
+
class lt extends b {
|
|
379
386
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
380
|
-
constructor(
|
|
381
|
-
super(
|
|
387
|
+
constructor(s) {
|
|
388
|
+
super(s);
|
|
382
389
|
}
|
|
383
390
|
// eslint-disable-next-line class-methods-use-this
|
|
384
391
|
static get classIdentifier() {
|
|
385
|
-
return
|
|
392
|
+
return Lt;
|
|
386
393
|
}
|
|
387
|
-
execute(
|
|
388
|
-
return super.execute(
|
|
394
|
+
execute(s, t, e, i) {
|
|
395
|
+
return super.execute(s, t, e, i);
|
|
389
396
|
}
|
|
390
397
|
}
|
|
391
|
-
const
|
|
392
|
-
class
|
|
398
|
+
const Tt = Symbol("VisibilityChangingAction");
|
|
399
|
+
class ot extends b {
|
|
393
400
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
394
|
-
constructor(
|
|
395
|
-
super(
|
|
401
|
+
constructor(s) {
|
|
402
|
+
super(s);
|
|
396
403
|
}
|
|
397
404
|
// eslint-disable-next-line class-methods-use-this
|
|
398
405
|
static get classIdentifier() {
|
|
399
|
-
return
|
|
406
|
+
return Tt;
|
|
400
407
|
}
|
|
401
|
-
execute(
|
|
402
|
-
return super.execute(
|
|
408
|
+
execute(s, t, e, i) {
|
|
409
|
+
return super.execute(s, t, e, i);
|
|
403
410
|
}
|
|
404
411
|
}
|
|
405
|
-
const
|
|
406
|
-
class
|
|
412
|
+
const jt = Symbol("VisibilityChangedAction");
|
|
413
|
+
class ct extends b {
|
|
407
414
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
408
|
-
constructor(
|
|
409
|
-
super(
|
|
415
|
+
constructor(s) {
|
|
416
|
+
super(s);
|
|
410
417
|
}
|
|
411
418
|
// eslint-disable-next-line class-methods-use-this
|
|
412
419
|
static get classIdentifier() {
|
|
413
|
-
return
|
|
420
|
+
return jt;
|
|
414
421
|
}
|
|
415
|
-
execute(
|
|
416
|
-
return super.execute(
|
|
422
|
+
execute(s, t, e, i) {
|
|
423
|
+
return super.execute(s, t, e, i);
|
|
417
424
|
}
|
|
418
425
|
}
|
|
419
426
|
class y {
|
|
@@ -426,30 +433,30 @@ class y {
|
|
|
426
433
|
// is current value valid as per FE and BE validators?
|
|
427
434
|
o(this, "errors", []);
|
|
428
435
|
// when member of a Group, fieldName specifies the name of this field
|
|
429
|
-
o(this, "actions", new
|
|
436
|
+
o(this, "actions", new T());
|
|
430
437
|
// default property handlers
|
|
431
|
-
o(this, "_visibility",
|
|
438
|
+
o(this, "_visibility", V.FULL);
|
|
432
439
|
o(this, "_enabled", !0);
|
|
433
440
|
}
|
|
434
441
|
get visibility() {
|
|
435
442
|
return this._visibility;
|
|
436
443
|
}
|
|
437
|
-
set visibility(
|
|
438
|
-
const t = this._visibility, e = this.actions.trigger(
|
|
439
|
-
if (!
|
|
440
|
-
this._visibility =
|
|
444
|
+
set visibility(s) {
|
|
445
|
+
const t = this._visibility, e = this.actions.trigger(ot, this, s, t);
|
|
446
|
+
if (!V.isDefined(e != null ? e : s)) throw new Error("visibility must be a DisplayMode constant");
|
|
447
|
+
this._visibility = V.fromAny(e != null ? e : s), this.actions.trigger(ct, this, this._visibility, t);
|
|
441
448
|
}
|
|
442
449
|
get enabled() {
|
|
443
450
|
return this._enabled;
|
|
444
451
|
}
|
|
445
|
-
set enabled(
|
|
446
|
-
const t = this._enabled, e = this.actions.trigger(
|
|
447
|
-
if (!
|
|
448
|
-
this._enabled = e != null ? e :
|
|
452
|
+
set enabled(s) {
|
|
453
|
+
const t = this._enabled, e = this.actions.trigger(rt, this, s, t);
|
|
454
|
+
if (!bt(e != null ? e : s)) throw new Error("Enabled value must be boolean");
|
|
455
|
+
this._enabled = e != null ? e : s, this.actions.trigger(at, this, this._enabled, t);
|
|
449
456
|
}
|
|
450
457
|
validate() {
|
|
451
|
-
const
|
|
452
|
-
this._valid = this.valid, this._valid !==
|
|
458
|
+
const s = this._valid;
|
|
459
|
+
this._valid = this.valid, this._valid !== s && this.actions.trigger(lt, this, this.valid, s);
|
|
453
460
|
}
|
|
454
461
|
get valid() {
|
|
455
462
|
return this.errors.length === 0;
|
|
@@ -458,71 +465,71 @@ class y {
|
|
|
458
465
|
return this.value;
|
|
459
466
|
}
|
|
460
467
|
get isChanged() {
|
|
461
|
-
return !
|
|
468
|
+
return !U(this.value, this.originalValue);
|
|
462
469
|
}
|
|
463
|
-
registerAction(
|
|
464
|
-
const t =
|
|
465
|
-
return this.actions.register(t), t.boundToField(this), t.eager && this.actions.trigger(Object.getPrototypeOf(
|
|
470
|
+
registerAction(s) {
|
|
471
|
+
const t = s;
|
|
472
|
+
return this.actions.register(t), t.boundToField(this), t.eager && this.actions.trigger(Object.getPrototypeOf(s).constructor, this, this.value, this.originalValue), this;
|
|
466
473
|
}
|
|
467
|
-
triggerAction(
|
|
468
|
-
return this.actions.trigger(
|
|
474
|
+
triggerAction(s, ...t) {
|
|
475
|
+
return this.actions.trigger(s, this, ...t);
|
|
469
476
|
}
|
|
470
477
|
clearValidators() {
|
|
471
478
|
this.actions = this.actions.cloneWithoutValidators(), this.errors = [], this._valid = !0;
|
|
472
479
|
}
|
|
473
480
|
}
|
|
474
|
-
function
|
|
475
|
-
return n ? !
|
|
481
|
+
function Pt(n, s) {
|
|
482
|
+
return n ? !s : s;
|
|
476
483
|
}
|
|
477
|
-
class
|
|
478
|
-
constructor(
|
|
484
|
+
class F {
|
|
485
|
+
constructor(s, t, e) {
|
|
479
486
|
o(this, "operand1");
|
|
480
487
|
o(this, "operator");
|
|
481
488
|
o(this, "operand2");
|
|
482
|
-
this.operand1 =
|
|
489
|
+
this.operand1 = s, this.operator = t, this.operand2 = e;
|
|
483
490
|
}
|
|
484
491
|
get operand1Value() {
|
|
485
|
-
return this.operand1 instanceof
|
|
492
|
+
return this.operand1 instanceof F ? this.operand1.evaluate() : this.operand1 instanceof y ? d(this.operand1.value) : this.operand1;
|
|
486
493
|
}
|
|
487
494
|
get operand2Value() {
|
|
488
|
-
return this.operand2 instanceof
|
|
495
|
+
return this.operand2 instanceof F ? this.operand2.evaluate() : this.operand2 instanceof y ? d(this.operand2.value) : this.operand2;
|
|
489
496
|
}
|
|
490
497
|
evaluate() {
|
|
491
|
-
var e,
|
|
492
|
-
const
|
|
498
|
+
var e, i, r, a;
|
|
499
|
+
const s = this.operand1Value, t = this.operand2Value;
|
|
493
500
|
switch (this.operator) {
|
|
494
501
|
case g.AND:
|
|
495
|
-
return
|
|
502
|
+
return s && t;
|
|
496
503
|
case g.OR:
|
|
497
|
-
return
|
|
504
|
+
return s || t;
|
|
498
505
|
case g.NAND:
|
|
499
|
-
return !(
|
|
506
|
+
return !(s && t);
|
|
500
507
|
case g.NOR:
|
|
501
|
-
return !(
|
|
508
|
+
return !(s || t);
|
|
502
509
|
case g.XOR:
|
|
503
|
-
return
|
|
510
|
+
return Pt(s, t);
|
|
504
511
|
case g.NOT:
|
|
505
|
-
return !
|
|
512
|
+
return !s;
|
|
506
513
|
case g.EQUALS:
|
|
507
|
-
return
|
|
514
|
+
return s == t;
|
|
508
515
|
case g.NOT_EQUALS:
|
|
509
|
-
return
|
|
516
|
+
return s != t;
|
|
510
517
|
case g.LT:
|
|
511
|
-
return
|
|
518
|
+
return s < t;
|
|
512
519
|
case g.LE:
|
|
513
|
-
return
|
|
520
|
+
return s <= t;
|
|
514
521
|
case g.GE:
|
|
515
|
-
return
|
|
522
|
+
return s >= t;
|
|
516
523
|
case g.GT:
|
|
517
|
-
return
|
|
524
|
+
return s > t;
|
|
518
525
|
case g.IN:
|
|
519
|
-
return (
|
|
526
|
+
return (i = (e = t == null ? void 0 : t.includes) == null ? void 0 : e.call(t, s)) != null ? i : !1;
|
|
520
527
|
case g.NOT_IN:
|
|
521
|
-
return !((a = (r = t == null ? void 0 : t.includes) == null ? void 0 : r.call(t,
|
|
528
|
+
return !((a = (r = t == null ? void 0 : t.includes) == null ? void 0 : r.call(t, s)) == null || a);
|
|
522
529
|
case g.INCLUDES:
|
|
523
|
-
return
|
|
530
|
+
return C(s) && C(t) && s.indexOf(t) >= 0;
|
|
524
531
|
case g.NOT_INCLUDES:
|
|
525
|
-
return !(
|
|
532
|
+
return !(C(s) && C(t) && s.indexOf(t) >= 0);
|
|
526
533
|
default:
|
|
527
534
|
throw new Error(`Operator not implemented ${this.operator}`);
|
|
528
535
|
}
|
|
@@ -532,69 +539,69 @@ class C {
|
|
|
532
539
|
* @returns A set of all fields used in this statement
|
|
533
540
|
*/
|
|
534
541
|
collectFields() {
|
|
535
|
-
const
|
|
542
|
+
const s = /* @__PURE__ */ new Set();
|
|
536
543
|
function t(e) {
|
|
537
|
-
e instanceof y ?
|
|
544
|
+
e instanceof y ? s.add(e) : e instanceof F && e.collectFields().forEach((r) => s.add(r));
|
|
538
545
|
}
|
|
539
|
-
return t(this.operand1), t(this.operand2),
|
|
546
|
+
return t(this.operand1), t(this.operand2), s;
|
|
540
547
|
}
|
|
541
548
|
}
|
|
542
|
-
const
|
|
543
|
-
class
|
|
549
|
+
const Ot = Symbol("ExecuteAction");
|
|
550
|
+
class ut extends b {
|
|
544
551
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
545
|
-
constructor(
|
|
546
|
-
super(
|
|
552
|
+
constructor(s) {
|
|
553
|
+
super(s);
|
|
547
554
|
}
|
|
548
555
|
// eslint-disable-next-line class-methods-use-this
|
|
549
556
|
static get classIdentifier() {
|
|
550
|
-
return
|
|
557
|
+
return Ot;
|
|
551
558
|
}
|
|
552
|
-
execute(
|
|
553
|
-
return super.execute(
|
|
559
|
+
execute(s, t, e) {
|
|
560
|
+
return super.execute(s, t, e);
|
|
554
561
|
}
|
|
555
562
|
}
|
|
556
|
-
const
|
|
563
|
+
const Rt = Symbol("ListItemAddedAction");
|
|
557
564
|
class Q extends b {
|
|
558
565
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
559
|
-
constructor(
|
|
560
|
-
super(
|
|
566
|
+
constructor(s) {
|
|
567
|
+
super(s);
|
|
561
568
|
}
|
|
562
569
|
// eslint-disable-next-line class-methods-use-this
|
|
563
570
|
static get classIdentifier() {
|
|
564
|
-
return
|
|
571
|
+
return Rt;
|
|
565
572
|
}
|
|
566
|
-
execute(
|
|
567
|
-
return super.execute(
|
|
573
|
+
execute(s, t, e, i) {
|
|
574
|
+
return super.execute(s, t, e, i);
|
|
568
575
|
}
|
|
569
576
|
}
|
|
570
|
-
const
|
|
571
|
-
class
|
|
577
|
+
const Ut = Symbol("ListItemRemovedAction");
|
|
578
|
+
class ht extends b {
|
|
572
579
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
573
|
-
constructor(
|
|
574
|
-
super(
|
|
580
|
+
constructor(s) {
|
|
581
|
+
super(s);
|
|
575
582
|
}
|
|
576
583
|
// eslint-disable-next-line class-methods-use-this
|
|
577
584
|
static get classIdentifier() {
|
|
578
|
-
return
|
|
585
|
+
return Ut;
|
|
579
586
|
}
|
|
580
|
-
execute(
|
|
581
|
-
return super.execute(
|
|
587
|
+
execute(s, t, e, i) {
|
|
588
|
+
return super.execute(s, t, e, i);
|
|
582
589
|
}
|
|
583
590
|
}
|
|
584
|
-
const
|
|
591
|
+
const et = Symbol("FieldConstructorGuard");
|
|
585
592
|
class D extends y {
|
|
586
593
|
constructor(t) {
|
|
587
594
|
super();
|
|
588
595
|
o(this, "_value");
|
|
589
|
-
if (t !==
|
|
596
|
+
if (t !== et) {
|
|
590
597
|
const e = this.constructor.name;
|
|
591
598
|
throw new TypeError(`Don't use constructor to instantiate ${e}. Use ${e}.create<T>`);
|
|
592
599
|
}
|
|
593
600
|
}
|
|
594
601
|
init(t) {
|
|
595
602
|
if (t) {
|
|
596
|
-
const e = t, { value:
|
|
597
|
-
[...r || [], ...a || []].forEach((c) => this.registerAction(c)), Object.assign(this, l), this._value =
|
|
603
|
+
const e = t, { value: i, validators: r, actions: a } = e, l = S(e, ["value", "validators", "actions"]);
|
|
604
|
+
[...r || [], ...a || []].forEach((c) => this.registerAction(c)), Object.assign(this, l), this._value = i != null ? i : this.originalValue, this.originalValue === void 0 && (this.originalValue = this._value);
|
|
598
605
|
}
|
|
599
606
|
this.actions.triggerEager(this, this.value, this.originalValue), this.validate();
|
|
600
607
|
}
|
|
@@ -604,7 +611,7 @@ class D extends y {
|
|
|
604
611
|
* @returns Reactive Field instance
|
|
605
612
|
*/
|
|
606
613
|
static create(t) {
|
|
607
|
-
const e =
|
|
614
|
+
const e = vt(new this(et));
|
|
608
615
|
return e.init(t), e;
|
|
609
616
|
}
|
|
610
617
|
get value() {
|
|
@@ -612,12 +619,12 @@ class D extends y {
|
|
|
612
619
|
}
|
|
613
620
|
set value(t) {
|
|
614
621
|
const e = this._value;
|
|
615
|
-
!this.enabled || e === t || (this._value = t, this.actions.trigger(
|
|
622
|
+
!this.enabled || e === t || (this._value = t, this.actions.trigger(m, this, this._value, e), this.parent && this.parent.notifyValueChanged(), this.validate());
|
|
616
623
|
}
|
|
617
624
|
clone(t) {
|
|
618
|
-
var
|
|
619
|
-
const e = this.constructor.create(
|
|
620
|
-
value: (
|
|
625
|
+
var i, r, a;
|
|
626
|
+
const e = this.constructor.create(I(A({
|
|
627
|
+
value: (i = t == null ? void 0 : t.value) != null ? i : this.value
|
|
621
628
|
}, t && "originalValue" in t ? { originalValue: t.originalValue } : {}), {
|
|
622
629
|
enabled: (r = t == null ? void 0 : t.enabled) != null ? r : this.enabled,
|
|
623
630
|
visibility: (a = t == null ? void 0 : t.visibility) != null ? a : this.visibility
|
|
@@ -625,46 +632,86 @@ class D extends y {
|
|
|
625
632
|
return e.actions = this.actions.clone(), e.actions.triggerEager(e, e.value, e.originalValue), e;
|
|
626
633
|
}
|
|
627
634
|
}
|
|
628
|
-
const
|
|
635
|
+
const kt = D.create({ value: "EmptyField" }).registerAction(new m(
|
|
629
636
|
() => {
|
|
630
637
|
console.warn("Working with EmptyField! This should not happen");
|
|
631
638
|
}
|
|
632
639
|
));
|
|
633
|
-
function
|
|
634
|
-
return (n == null ? void 0 : n.label) == null && (n == null ? void 0 : n.icon) == null ?
|
|
640
|
+
function q(n, s) {
|
|
641
|
+
return (n == null ? void 0 : n.label) == null && (n == null ? void 0 : n.icon) == null ? s : n;
|
|
635
642
|
}
|
|
636
|
-
class
|
|
637
|
-
constructor(
|
|
638
|
-
super(
|
|
643
|
+
class Dt extends D {
|
|
644
|
+
constructor(s) {
|
|
645
|
+
super(s), this._value = { label: void 0, icon: void 0 };
|
|
639
646
|
}
|
|
640
|
-
init(
|
|
641
|
-
if (
|
|
642
|
-
const t =
|
|
647
|
+
init(s) {
|
|
648
|
+
if (s) {
|
|
649
|
+
const t = s, { value: e, originalValue: i, validators: r, actions: a } = t, l = S(t, ["value", "originalValue", "validators", "actions"]);
|
|
643
650
|
[...r || [], ...a || []].forEach((h) => this.registerAction(h)), Object.assign(this, l);
|
|
644
|
-
const c =
|
|
645
|
-
this._value =
|
|
651
|
+
const c = q(e, this._value), u = Object.freeze({ label: i == null ? void 0 : i.label, icon: i == null ? void 0 : i.icon });
|
|
652
|
+
this._value = q(c, u), this.originalValue = q(u, c);
|
|
646
653
|
}
|
|
647
654
|
this.actions.triggerEager(this, this.value, this.originalValue), this.validate();
|
|
648
655
|
}
|
|
649
|
-
static create(
|
|
650
|
-
return super.create(
|
|
656
|
+
static create(s) {
|
|
657
|
+
return super.create(s);
|
|
651
658
|
}
|
|
652
659
|
get icon() {
|
|
653
660
|
return this.value.icon;
|
|
654
661
|
}
|
|
655
|
-
set icon(
|
|
656
|
-
this.value.icon =
|
|
662
|
+
set icon(s) {
|
|
663
|
+
this.value.icon = s;
|
|
657
664
|
}
|
|
658
665
|
get label() {
|
|
659
666
|
return this.value.label;
|
|
660
667
|
}
|
|
661
|
-
set label(
|
|
662
|
-
this.value.label =
|
|
668
|
+
set label(s) {
|
|
669
|
+
this.value.label = s;
|
|
663
670
|
}
|
|
664
|
-
execute(
|
|
665
|
-
this.actions.trigger(
|
|
671
|
+
execute(s) {
|
|
672
|
+
this.actions.trigger(ut, this, s);
|
|
666
673
|
}
|
|
667
674
|
}
|
|
675
|
+
const Bt = /* @__PURE__ */ yt({
|
|
676
|
+
__name: "messages-widget",
|
|
677
|
+
props: {
|
|
678
|
+
message: {},
|
|
679
|
+
classes: { default: "text-error" }
|
|
680
|
+
},
|
|
681
|
+
setup(n) {
|
|
682
|
+
const s = n, t = Z("vue-markdown"), e = () => {
|
|
683
|
+
if (typeof s.message == "string") return w("span", { class: s.classes }, s.message);
|
|
684
|
+
const i = [];
|
|
685
|
+
return s.message.forEach((r) => {
|
|
686
|
+
switch (r.componentName) {
|
|
687
|
+
case "template":
|
|
688
|
+
i.push(w("div", { class: [s.classes, r.extraClasses] }, r.componentBody));
|
|
689
|
+
break;
|
|
690
|
+
case "vue-markdown":
|
|
691
|
+
typeof t == "string" ? (console.warn(
|
|
692
|
+
"You are using markdown for messages-widget, but you haven't registered a vue-markdown component"
|
|
693
|
+
), i.push(w("div", { class: [s.classes, r.extraClasses] }, r.componentBindings.source))) : i.push(w(
|
|
694
|
+
t,
|
|
695
|
+
{
|
|
696
|
+
class: [s.classes, r.extraClasses, "df-messages-widget-markdown"],
|
|
697
|
+
source: r.componentBindings.source
|
|
698
|
+
}
|
|
699
|
+
));
|
|
700
|
+
break;
|
|
701
|
+
default:
|
|
702
|
+
i.push(
|
|
703
|
+
w(
|
|
704
|
+
Z(r.componentName),
|
|
705
|
+
I(A({ class: [s.classes, r.extraClasses] }, r.componentBindings), { innerHTML: r.componentBody })
|
|
706
|
+
)
|
|
707
|
+
);
|
|
708
|
+
break;
|
|
709
|
+
}
|
|
710
|
+
}), i;
|
|
711
|
+
};
|
|
712
|
+
return (i, r) => (Et(), xt(e));
|
|
713
|
+
}
|
|
714
|
+
});
|
|
668
715
|
class E extends y {
|
|
669
716
|
constructor(t, e) {
|
|
670
717
|
super();
|
|
@@ -674,7 +721,7 @@ class E extends y {
|
|
|
674
721
|
o(this, "suppressNotifyValueChanged", !1);
|
|
675
722
|
if (!E.isValidFields(t)) throw new Error("Invalid fields object provided");
|
|
676
723
|
if (this._fields = {}, Object.entries(t).forEach(([r, a]) => this.addField(r, a)), e) {
|
|
677
|
-
const
|
|
724
|
+
const i = e, { value: r, validators: a, actions: l } = i, c = S(i, ["value", "validators", "actions"]);
|
|
678
725
|
[...a || [], ...l || []].forEach((u) => this.registerAction(u)), Object.assign(this, c), this.value = r != null ? r : this.originalValue;
|
|
679
726
|
}
|
|
680
727
|
this.originalValue === void 0 && (this.originalValue = this.value), this.actions.triggerEager(this, this.value, this.originalValue), this.validate();
|
|
@@ -691,17 +738,17 @@ class E extends y {
|
|
|
691
738
|
);
|
|
692
739
|
}
|
|
693
740
|
static isValidFields(t) {
|
|
694
|
-
function e(
|
|
695
|
-
return
|
|
741
|
+
function e(i) {
|
|
742
|
+
return i instanceof y;
|
|
696
743
|
}
|
|
697
|
-
return typeof t == "object" && t !== null && Object.entries(t).every(([,
|
|
744
|
+
return typeof t == "object" && t !== null && Object.entries(t).every(([, i]) => e(i));
|
|
698
745
|
}
|
|
699
746
|
static createFromFormData(t) {
|
|
700
747
|
if (t instanceof y)
|
|
701
748
|
throw new Error("data is already a Form structure, should be a simple object");
|
|
702
749
|
return new E(
|
|
703
750
|
t == null ? {} : Object.fromEntries(
|
|
704
|
-
Object.entries(t).map(([e,
|
|
751
|
+
Object.entries(t).map(([e, i]) => [e, D.create({ value: i })])
|
|
705
752
|
)
|
|
706
753
|
);
|
|
707
754
|
}
|
|
@@ -714,16 +761,16 @@ class E extends y {
|
|
|
714
761
|
}
|
|
715
762
|
get value() {
|
|
716
763
|
const t = {};
|
|
717
|
-
return Object.entries(this._fields).forEach(([e,
|
|
718
|
-
const r =
|
|
719
|
-
(
|
|
720
|
-
}),
|
|
764
|
+
return Object.entries(this._fields).forEach(([e, i]) => {
|
|
765
|
+
const r = i.value;
|
|
766
|
+
(i.enabled || i instanceof E && !M(r)) && (t[e] = r);
|
|
767
|
+
}), M(t) ? null : t;
|
|
721
768
|
}
|
|
722
769
|
set value(t) {
|
|
723
770
|
this.suppressNotifyValueChanged = !0;
|
|
724
771
|
try {
|
|
725
|
-
Object.entries(this._fields).forEach(([e,
|
|
726
|
-
(t == null || e in t) && (
|
|
772
|
+
Object.entries(this._fields).forEach(([e, i]) => {
|
|
773
|
+
(t == null || e in t) && (i.value = t == null ? null : t[e]);
|
|
727
774
|
});
|
|
728
775
|
} finally {
|
|
729
776
|
this.suppressNotifyValueChanged = !1;
|
|
@@ -732,16 +779,16 @@ class E extends y {
|
|
|
732
779
|
}
|
|
733
780
|
get fullValue() {
|
|
734
781
|
const t = {};
|
|
735
|
-
return Object.entries(this._fields).forEach(([e,
|
|
736
|
-
t[e] =
|
|
782
|
+
return Object.entries(this._fields).forEach(([e, i]) => {
|
|
783
|
+
t[e] = i.fullValue;
|
|
737
784
|
}), t;
|
|
738
785
|
}
|
|
739
786
|
notifyValueChanged() {
|
|
740
787
|
if (this.suppressNotifyValueChanged) return;
|
|
741
788
|
const t = this.value;
|
|
742
|
-
if (!
|
|
789
|
+
if (!U(t, this._value)) {
|
|
743
790
|
const e = this._value;
|
|
744
|
-
this._value = t, this.actions.trigger(
|
|
791
|
+
this._value = t, this.actions.trigger(m, this, t, e), this.parent && this.parent.notifyValueChanged(), this.validate();
|
|
745
792
|
}
|
|
746
793
|
}
|
|
747
794
|
get valid() {
|
|
@@ -753,13 +800,13 @@ class E extends y {
|
|
|
753
800
|
Object.entries(this._fields).forEach(([c, u]) => {
|
|
754
801
|
e[c] = u.clone();
|
|
755
802
|
});
|
|
756
|
-
const
|
|
803
|
+
const i = new E(e, I(A({
|
|
757
804
|
value: (r = t == null ? void 0 : t.value) != null ? r : this.value
|
|
758
805
|
}, t && "originalValue" in t ? { originalValue: t.originalValue } : {}), {
|
|
759
806
|
enabled: (a = t == null ? void 0 : t.enabled) != null ? a : this.enabled,
|
|
760
807
|
visibility: (l = t == null ? void 0 : t.visibility) != null ? l : this.visibility
|
|
761
808
|
}));
|
|
762
|
-
return
|
|
809
|
+
return i.actions = this.actions.clone(), i.actions.triggerEager(i, i.value, i.originalValue), i;
|
|
763
810
|
}
|
|
764
811
|
}
|
|
765
812
|
class X extends y {
|
|
@@ -769,7 +816,7 @@ class X extends y {
|
|
|
769
816
|
o(this, "_itemTemplate");
|
|
770
817
|
o(this, "_previousValue");
|
|
771
818
|
if (this._itemTemplate = t, e) {
|
|
772
|
-
const
|
|
819
|
+
const i = e, { value: r, validators: a, actions: l } = i, c = S(i, ["value", "validators", "actions"]);
|
|
773
820
|
[...a || [], ...l || []].forEach((u) => this.registerAction(u)), Object.assign(this, c), r && this.setValueInternal(r);
|
|
774
821
|
}
|
|
775
822
|
this.originalValue === void 0 && (this.originalValue = this.value), this._previousValue = this.value, this.actions.triggerEager(this, this.value, this.originalValue), this.validate();
|
|
@@ -783,16 +830,16 @@ class X extends y {
|
|
|
783
830
|
}
|
|
784
831
|
get value() {
|
|
785
832
|
var e;
|
|
786
|
-
const t = (e = this._value) == null ? void 0 : e.map((
|
|
787
|
-
return
|
|
833
|
+
const t = (e = this._value) == null ? void 0 : e.map((i) => i.value);
|
|
834
|
+
return M(t) ? null : t;
|
|
788
835
|
}
|
|
789
836
|
set value(t) {
|
|
790
837
|
const e = this.value;
|
|
791
|
-
this.setValueInternal(t), this.actions.trigger(
|
|
838
|
+
this.setValueInternal(t), this.actions.trigger(m, this, this.value, e), this.parent && this.parent.notifyValueChanged(), this.validate();
|
|
792
839
|
}
|
|
793
840
|
clone(t) {
|
|
794
|
-
var
|
|
795
|
-
const e = new X((
|
|
841
|
+
var i, r, a, l;
|
|
842
|
+
const e = new X((i = this._itemTemplate) == null ? void 0 : i.clone(), I(A({
|
|
796
843
|
value: [...(r = t == null ? void 0 : t.value) != null ? r : this.value]
|
|
797
844
|
}, t && "originalValue" in t ? { originalValue: t.originalValue } : {}), {
|
|
798
845
|
enabled: (a = t == null ? void 0 : t.enabled) != null ? a : this.enabled,
|
|
@@ -802,68 +849,68 @@ class X extends y {
|
|
|
802
849
|
}
|
|
803
850
|
notifyValueChanged() {
|
|
804
851
|
const t = this.value;
|
|
805
|
-
if (!
|
|
852
|
+
if (!U(t, this._previousValue)) {
|
|
806
853
|
const e = this._previousValue;
|
|
807
|
-
this._previousValue = t, this.actions.trigger(
|
|
854
|
+
this._previousValue = t, this.actions.trigger(m, this, t, e), this.parent && this.parent.notifyValueChanged(), this.validate();
|
|
808
855
|
}
|
|
809
856
|
}
|
|
810
857
|
get valid() {
|
|
811
858
|
var t, e;
|
|
812
|
-
return super.valid && ((e = (t = this._value) == null ? void 0 : t.every((
|
|
859
|
+
return super.valid && ((e = (t = this._value) == null ? void 0 : t.every((i) => i.valid)) != null ? e : !0);
|
|
813
860
|
}
|
|
814
861
|
get(t) {
|
|
815
862
|
return this._value != null ? this._value[t] : void 0;
|
|
816
863
|
}
|
|
817
864
|
push(t) {
|
|
818
|
-
var e,
|
|
819
|
-
return this.insert(t, (
|
|
865
|
+
var e, i;
|
|
866
|
+
return this.insert(t, (i = (e = this._value) == null ? void 0 : e.length) != null ? i : 0) + 1;
|
|
820
867
|
}
|
|
821
868
|
pop() {
|
|
822
869
|
var t, e;
|
|
823
870
|
return this.remove(((e = (t = this._value) == null ? void 0 : t.length) != null ? e : 0) - 1);
|
|
824
871
|
}
|
|
825
872
|
remove(t) {
|
|
826
|
-
var
|
|
873
|
+
var i;
|
|
827
874
|
if (this._value == null || t < 0 || this._value.length <= t) return;
|
|
828
|
-
let e = (
|
|
829
|
-
return e && (e = e.clone(), this.actions.trigger(
|
|
875
|
+
let e = (i = this._value.splice(t, 1)) == null ? void 0 : i[0];
|
|
876
|
+
return e && (e = e.clone(), this.actions.trigger(ht, this, e, t), this.notifyValueChanged()), e;
|
|
830
877
|
}
|
|
831
878
|
insert(t, e) {
|
|
832
879
|
for (this._value == null && (this._value = []); this._value.length < e; ) {
|
|
833
880
|
const r = this.processSetValueItem(null), a = this._value.push(r);
|
|
834
881
|
this.actions.trigger(Q, this, r, a);
|
|
835
882
|
}
|
|
836
|
-
const
|
|
837
|
-
return this._value.splice(e, 0,
|
|
883
|
+
const i = this.processSetValueItem(t);
|
|
884
|
+
return this._value.splice(e, 0, i), this.actions.trigger(Q, this, i, e), this.notifyValueChanged(), e;
|
|
838
885
|
}
|
|
839
886
|
clear() {
|
|
840
887
|
this._value = null, this.notifyValueChanged();
|
|
841
888
|
}
|
|
842
889
|
}
|
|
843
|
-
const
|
|
844
|
-
function
|
|
845
|
-
return
|
|
890
|
+
const gt = { useMarkdownInValidators: !0 };
|
|
891
|
+
function $t() {
|
|
892
|
+
return gt;
|
|
846
893
|
}
|
|
847
|
-
function
|
|
848
|
-
Object.assign(
|
|
894
|
+
function qt(n) {
|
|
895
|
+
Object.assign(gt, n);
|
|
849
896
|
}
|
|
850
|
-
const
|
|
851
|
-
install(n,
|
|
852
|
-
|
|
897
|
+
const ie = {
|
|
898
|
+
install(n, s) {
|
|
899
|
+
s && qt(s);
|
|
853
900
|
}
|
|
854
901
|
};
|
|
855
|
-
function
|
|
856
|
-
return
|
|
902
|
+
function v(n) {
|
|
903
|
+
return $t().useMarkdownInValidators ? new L(n) : n.replace(/[*_~`]/g, "").replace(/!\[(.*?)\]\(.*?\)/g, "$1").replace(/\[(.*?)\]\((.*?)\)/g, "$1").replace(/#+\s?/g, "").replace(/>\s?/g, "").replace(/(\*|-|\d+\.)\s+/g, "").replace(/`{3}[\s\S]*?`{3}/g, "").replace(/`([^`]+)`/g, "$1").replace(/\n{2,}/g, `
|
|
857
904
|
`);
|
|
858
905
|
}
|
|
859
|
-
class
|
|
860
|
-
constructor(t, e,
|
|
906
|
+
class Mt extends f {
|
|
907
|
+
constructor(t, e, i) {
|
|
861
908
|
let r = !1, a, l;
|
|
862
|
-
super((u, h,
|
|
863
|
-
|
|
909
|
+
super((u, h, _) => (a = u, l = h, r || (r = !0, this.otherField.registerAction(new m((x, P, O, B) => {
|
|
910
|
+
P(x, O, B), this.unregistered || this.execute(_, () => null, a, l);
|
|
864
911
|
}))), this.isValidComparison(d(u), d(this.otherField.value)) ? null : [
|
|
865
912
|
new p(
|
|
866
|
-
this.replacePlaceholders(
|
|
913
|
+
this.replacePlaceholders(i, { newValue: u, oldValue: h, field: _, otherField: this.otherField })
|
|
867
914
|
)
|
|
868
915
|
]));
|
|
869
916
|
o(this, "unregistered", !1);
|
|
@@ -873,186 +920,188 @@ class Ut extends f {
|
|
|
873
920
|
this.unregistered = !0;
|
|
874
921
|
}
|
|
875
922
|
}
|
|
876
|
-
class
|
|
877
|
-
constructor(
|
|
878
|
-
const e = t ||
|
|
879
|
-
let
|
|
880
|
-
|
|
923
|
+
class Ht extends f {
|
|
924
|
+
constructor(s, t) {
|
|
925
|
+
const e = t || v("Must be one of [**{allowedAsText}**]");
|
|
926
|
+
let i = s.join(", ");
|
|
927
|
+
i.length > 60 && (i = mt(i, {
|
|
881
928
|
length: 40,
|
|
882
929
|
separator: ", ",
|
|
883
|
-
omission: `... (${
|
|
930
|
+
omission: `... (${s.length} items total)`
|
|
884
931
|
}));
|
|
885
|
-
const r = (a, l, c) =>
|
|
932
|
+
const r = (a, l, c) => s.includes(d(a)) ? null : [
|
|
886
933
|
new p(
|
|
887
|
-
this.replacePlaceholders(e, { newValue: a, oldValue: l, field: c, allowedValues:
|
|
934
|
+
this.replacePlaceholders(e, { newValue: a, oldValue: l, field: c, allowedValues: s, allowedAsText: i })
|
|
888
935
|
)
|
|
889
936
|
];
|
|
890
937
|
super(r);
|
|
891
938
|
}
|
|
892
939
|
}
|
|
893
|
-
function
|
|
894
|
-
return n == null ? 0 :
|
|
940
|
+
function Qt(n) {
|
|
941
|
+
return n == null ? 0 : st(n) || C(n) ? n.length : nt(n) && Object.getPrototypeOf(n) === Object.prototype ? Object.keys(n).length : String(n).length;
|
|
895
942
|
}
|
|
896
|
-
class
|
|
897
|
-
constructor(
|
|
898
|
-
const t =
|
|
899
|
-
this.replacePlaceholders(t, { newValue:
|
|
943
|
+
class zt extends f {
|
|
944
|
+
constructor(s) {
|
|
945
|
+
const t = s || v("Please enter a value"), e = (i, r, a) => Qt(d(i)) === 0 ? [new p(
|
|
946
|
+
this.replacePlaceholders(t, { newValue: i, oldValue: r, field: a })
|
|
900
947
|
)] : null;
|
|
901
948
|
super(e);
|
|
902
949
|
}
|
|
903
950
|
}
|
|
904
|
-
class
|
|
905
|
-
constructor(
|
|
906
|
-
const e = t ||
|
|
907
|
-
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minValue:
|
|
951
|
+
class Gt extends f {
|
|
952
|
+
constructor(s, t) {
|
|
953
|
+
const e = t || v("Value must be larger or equal to **{minValue}**"), i = (r, a, l) => r < s || r === void 0 ? [
|
|
954
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minValue: s }))
|
|
908
955
|
] : null;
|
|
909
|
-
super(
|
|
956
|
+
super(i);
|
|
910
957
|
}
|
|
911
958
|
}
|
|
912
|
-
class
|
|
913
|
-
constructor(
|
|
914
|
-
const e = t ||
|
|
915
|
-
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxValue:
|
|
959
|
+
class Wt extends f {
|
|
960
|
+
constructor(s, t) {
|
|
961
|
+
const e = t || v("Value must be less than or equal to **{maxValue}**"), i = (r, a, l) => r > s || r === void 0 ? [
|
|
962
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxValue: s }))
|
|
916
963
|
] : null;
|
|
917
|
-
super(
|
|
964
|
+
super(i);
|
|
918
965
|
}
|
|
919
966
|
}
|
|
920
|
-
class
|
|
921
|
-
constructor(
|
|
922
|
-
const
|
|
967
|
+
class Xt extends f {
|
|
968
|
+
constructor(s, t, e) {
|
|
969
|
+
const i = e || v("Value must be between **{minValue}** and **{maxValue}**"), r = (a, l, c) => a < s || a > t || a === void 0 ? [
|
|
923
970
|
new p(
|
|
924
|
-
this.replacePlaceholders(
|
|
971
|
+
this.replacePlaceholders(i, { newValue: a, oldValue: l, field: c, minValue: s, maxValue: t })
|
|
925
972
|
)
|
|
926
973
|
] : null;
|
|
927
974
|
super(r);
|
|
928
975
|
}
|
|
929
976
|
}
|
|
930
|
-
function
|
|
931
|
-
return n == null ? 0 :
|
|
977
|
+
function Y(n) {
|
|
978
|
+
return n == null ? 0 : st(n) || C(n) ? n.length : nt(n) && Object.getPrototypeOf(n) === Object.prototype ? Object.keys(n).length : String(n).length;
|
|
932
979
|
}
|
|
933
|
-
class
|
|
934
|
-
constructor(
|
|
935
|
-
const e = t ||
|
|
936
|
-
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minLength:
|
|
980
|
+
class Yt extends f {
|
|
981
|
+
constructor(s, t) {
|
|
982
|
+
const e = t || v("Length must be larger or equal to **{minLength}**"), i = (r, a, l) => Y(r) < s ? [
|
|
983
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minLength: s }))
|
|
937
984
|
] : null;
|
|
938
|
-
super(
|
|
985
|
+
super(i);
|
|
939
986
|
}
|
|
940
987
|
}
|
|
941
|
-
class
|
|
942
|
-
constructor(
|
|
943
|
-
const e = t ||
|
|
944
|
-
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxLength:
|
|
988
|
+
class Jt extends f {
|
|
989
|
+
constructor(s, t) {
|
|
990
|
+
const e = t || v("Length must be less than or equal to **{maxLength}**"), i = (r, a, l) => Y(r) > s ? [
|
|
991
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxLength: s }))
|
|
945
992
|
] : null;
|
|
946
|
-
super(
|
|
993
|
+
super(i);
|
|
947
994
|
}
|
|
948
995
|
}
|
|
949
|
-
class
|
|
950
|
-
constructor(
|
|
951
|
-
const
|
|
952
|
-
const u =
|
|
953
|
-
return u <
|
|
996
|
+
class Kt extends f {
|
|
997
|
+
constructor(s, t, e) {
|
|
998
|
+
const i = e || v("Length must be between **{minLength}** and **{maxLength}**"), r = (a, l, c) => {
|
|
999
|
+
const u = Y(a);
|
|
1000
|
+
return u < s || u > t ? [
|
|
954
1001
|
new p(
|
|
955
|
-
this.replacePlaceholders(
|
|
1002
|
+
this.replacePlaceholders(i, { newValue: a, oldValue: l, field: c, minLength: s, maxLength: t })
|
|
956
1003
|
)
|
|
957
1004
|
] : null;
|
|
958
1005
|
};
|
|
959
1006
|
super(r);
|
|
960
1007
|
}
|
|
961
1008
|
}
|
|
962
|
-
class
|
|
963
|
-
constructor(
|
|
964
|
-
const e = t ||
|
|
965
|
-
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, pattern:
|
|
1009
|
+
class Zt extends f {
|
|
1010
|
+
constructor(s, t) {
|
|
1011
|
+
const e = t || v('Value must match pattern "**{pattern}**"'), i = (r, a, l) => s.test(String(d(r))) ? null : [
|
|
1012
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, pattern: s }))
|
|
966
1013
|
];
|
|
967
|
-
super(
|
|
1014
|
+
super(i);
|
|
968
1015
|
}
|
|
969
1016
|
}
|
|
970
|
-
const
|
|
1017
|
+
const te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
971
1018
|
__proto__: null,
|
|
972
|
-
CompareTo:
|
|
973
|
-
InAllowedValues:
|
|
974
|
-
LengthInRange:
|
|
975
|
-
MaxLength:
|
|
976
|
-
MaxValue:
|
|
977
|
-
MinLength:
|
|
978
|
-
MinValue:
|
|
979
|
-
Pattern:
|
|
980
|
-
Required:
|
|
1019
|
+
CompareTo: Mt,
|
|
1020
|
+
InAllowedValues: Ht,
|
|
1021
|
+
LengthInRange: Kt,
|
|
1022
|
+
MaxLength: Jt,
|
|
1023
|
+
MaxValue: Wt,
|
|
1024
|
+
MinLength: Yt,
|
|
1025
|
+
MinValue: Gt,
|
|
1026
|
+
Pattern: Zt,
|
|
1027
|
+
Required: zt,
|
|
981
1028
|
Validator: f,
|
|
982
|
-
ValueInRange:
|
|
983
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1029
|
+
ValueInRange: Xt
|
|
1030
|
+
}, Symbol.toStringTag, { value: "Module" })), re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
984
1031
|
__proto__: null,
|
|
985
|
-
AbortEventHandlingException:
|
|
986
|
-
Action:
|
|
987
|
-
ActionsMap:
|
|
988
|
-
ConditionalEnabledAction:
|
|
989
|
-
ConditionalStatementAction:
|
|
990
|
-
ConditionalValueAction:
|
|
991
|
-
ConditionalVisibilityAction:
|
|
992
|
-
DisplayMode:
|
|
993
|
-
EmptyField:
|
|
994
|
-
EnabledChangedAction:
|
|
995
|
-
EnabledChangingAction:
|
|
996
|
-
ExecuteAction:
|
|
1032
|
+
AbortEventHandlingException: H,
|
|
1033
|
+
Action: Dt,
|
|
1034
|
+
ActionsMap: T,
|
|
1035
|
+
ConditionalEnabledAction: St,
|
|
1036
|
+
ConditionalStatementAction: k,
|
|
1037
|
+
ConditionalValueAction: wt,
|
|
1038
|
+
ConditionalVisibilityAction: It,
|
|
1039
|
+
DisplayMode: V,
|
|
1040
|
+
EmptyField: kt,
|
|
1041
|
+
EnabledChangedAction: at,
|
|
1042
|
+
EnabledChangingAction: rt,
|
|
1043
|
+
ExecuteAction: ut,
|
|
997
1044
|
Field: D,
|
|
998
1045
|
FieldActionBase: b,
|
|
999
1046
|
FieldBase: y,
|
|
1000
1047
|
Group: E,
|
|
1001
1048
|
List: X,
|
|
1002
1049
|
ListItemAddedAction: Q,
|
|
1003
|
-
ListItemRemovedAction:
|
|
1004
|
-
MdString:
|
|
1050
|
+
ListItemRemovedAction: ht,
|
|
1051
|
+
MdString: L,
|
|
1052
|
+
MessagesWidget: Bt,
|
|
1005
1053
|
Operator: g,
|
|
1006
|
-
RenderableValue:
|
|
1007
|
-
Statement:
|
|
1008
|
-
ValidChangedAction:
|
|
1009
|
-
ValidationError:
|
|
1054
|
+
RenderableValue: Vt,
|
|
1055
|
+
Statement: F,
|
|
1056
|
+
ValidChangedAction: lt,
|
|
1057
|
+
ValidationError: W,
|
|
1010
1058
|
ValidationErrorRenderContent: p,
|
|
1011
|
-
ValidationErrorText:
|
|
1059
|
+
ValidationErrorText: Ct,
|
|
1012
1060
|
Validator: f,
|
|
1013
|
-
Validators:
|
|
1014
|
-
ValueChangedAction:
|
|
1015
|
-
VisibilityChangedAction:
|
|
1016
|
-
VisibilityChangingAction:
|
|
1017
|
-
buildErrorMessage:
|
|
1061
|
+
Validators: te,
|
|
1062
|
+
ValueChangedAction: m,
|
|
1063
|
+
VisibilityChangedAction: ct,
|
|
1064
|
+
VisibilityChangingAction: ot,
|
|
1065
|
+
buildErrorMessage: v,
|
|
1018
1066
|
isSimpleComponentDef: G
|
|
1019
1067
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1020
1068
|
export {
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1069
|
+
H as AbortEventHandlingException,
|
|
1070
|
+
Dt as Action,
|
|
1071
|
+
T as ActionsMap,
|
|
1072
|
+
St as ConditionalEnabledAction,
|
|
1073
|
+
k as ConditionalStatementAction,
|
|
1074
|
+
wt as ConditionalValueAction,
|
|
1075
|
+
It as ConditionalVisibilityAction,
|
|
1076
|
+
V as DisplayMode,
|
|
1077
|
+
kt as EmptyField,
|
|
1078
|
+
at as EnabledChangedAction,
|
|
1079
|
+
rt as EnabledChangingAction,
|
|
1080
|
+
ut as ExecuteAction,
|
|
1033
1081
|
D as Field,
|
|
1034
1082
|
b as FieldActionBase,
|
|
1035
1083
|
y as FieldBase,
|
|
1036
1084
|
E as Group,
|
|
1037
1085
|
X as List,
|
|
1038
1086
|
Q as ListItemAddedAction,
|
|
1039
|
-
|
|
1040
|
-
|
|
1087
|
+
ht as ListItemRemovedAction,
|
|
1088
|
+
L as MdString,
|
|
1089
|
+
Bt as MessagesWidget,
|
|
1041
1090
|
g as Operator,
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1091
|
+
Vt as RenderableValue,
|
|
1092
|
+
F as Statement,
|
|
1093
|
+
lt as ValidChangedAction,
|
|
1094
|
+
W as ValidationError,
|
|
1046
1095
|
p as ValidationErrorRenderContent,
|
|
1047
|
-
|
|
1096
|
+
Ct as ValidationErrorText,
|
|
1048
1097
|
f as Validator,
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1098
|
+
te as Validators,
|
|
1099
|
+
m as ValueChangedAction,
|
|
1100
|
+
ct as VisibilityChangedAction,
|
|
1101
|
+
ot as VisibilityChangingAction,
|
|
1102
|
+
v as buildErrorMessage,
|
|
1103
|
+
re as default,
|
|
1104
|
+
ie as forms,
|
|
1056
1105
|
G as isSimpleComponentDef
|
|
1057
1106
|
};
|
|
1058
1107
|
//# sourceMappingURL=dynamicforms-vue-forms.js.map
|