@dynamicforms/vue-forms 0.3.5 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -42,7 +42,7 @@ const Y = 10;
|
|
|
42
42
|
})(S || (S = {}));
|
|
43
43
|
Object.freeze(S);
|
|
44
44
|
const A = S;
|
|
45
|
-
class
|
|
45
|
+
class b {
|
|
46
46
|
constructor(i) {
|
|
47
47
|
o(this, "executorFn");
|
|
48
48
|
this.executorFn = i;
|
|
@@ -70,7 +70,7 @@ class p {
|
|
|
70
70
|
class M extends Error {
|
|
71
71
|
}
|
|
72
72
|
const it = Symbol("ValueChangedAction");
|
|
73
|
-
class v extends
|
|
73
|
+
class v extends b {
|
|
74
74
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
75
75
|
constructor(i) {
|
|
76
76
|
super(i);
|
|
@@ -93,36 +93,36 @@ class H {
|
|
|
93
93
|
get componentName() {
|
|
94
94
|
return "Comment";
|
|
95
95
|
}
|
|
96
|
-
// eslint-disable-line class-methods-use-this
|
|
97
96
|
get componentBindings() {
|
|
98
97
|
return {};
|
|
99
98
|
}
|
|
100
|
-
// eslint-disable-line class-methods-use-this
|
|
101
99
|
get componentBody() {
|
|
102
100
|
return "";
|
|
103
101
|
}
|
|
104
|
-
|
|
102
|
+
get extraClasses() {
|
|
103
|
+
return "";
|
|
104
|
+
}
|
|
105
105
|
}
|
|
106
106
|
class vt extends H {
|
|
107
|
-
constructor(t) {
|
|
108
|
-
super();
|
|
109
|
-
o(this, "text");
|
|
110
|
-
this.text = t;
|
|
107
|
+
constructor(i, t = "") {
|
|
108
|
+
super(), this.text = i, this.classes = t;
|
|
111
109
|
}
|
|
112
110
|
get componentName() {
|
|
113
111
|
return "template";
|
|
114
112
|
}
|
|
115
|
-
// eslint-disable-line class-methods-use-this
|
|
116
113
|
get componentBody() {
|
|
117
114
|
return this.text;
|
|
118
115
|
}
|
|
116
|
+
get extraClasses() {
|
|
117
|
+
return this.classes;
|
|
118
|
+
}
|
|
119
119
|
}
|
|
120
|
-
class
|
|
121
|
-
constructor(t) {
|
|
120
|
+
class p extends H {
|
|
121
|
+
constructor(t, e = "") {
|
|
122
122
|
super();
|
|
123
123
|
o(this, "text");
|
|
124
124
|
o(this, "textType");
|
|
125
|
-
this.text = t, this.textType = z(() => this.getTextType);
|
|
125
|
+
this.classes = e, this.text = t, this.textType = z(() => this.getTextType);
|
|
126
126
|
}
|
|
127
127
|
get getTextType() {
|
|
128
128
|
const t = d(this.text);
|
|
@@ -147,7 +147,7 @@ class b extends H {
|
|
|
147
147
|
case "md":
|
|
148
148
|
return { source: this.text.toString() };
|
|
149
149
|
case "component":
|
|
150
|
-
return d(this.text).componentProps;
|
|
150
|
+
return d(this.text).componentProps || {};
|
|
151
151
|
default:
|
|
152
152
|
return {};
|
|
153
153
|
}
|
|
@@ -156,12 +156,19 @@ class b extends H {
|
|
|
156
156
|
switch (d(this.textType)) {
|
|
157
157
|
case "string":
|
|
158
158
|
return d(this.text);
|
|
159
|
+
case "component":
|
|
160
|
+
return d(this.text).componentVHtml || "";
|
|
159
161
|
default:
|
|
160
162
|
return "";
|
|
161
163
|
}
|
|
162
164
|
}
|
|
165
|
+
get extraClasses() {
|
|
166
|
+
return this.classes;
|
|
167
|
+
}
|
|
163
168
|
}
|
|
164
|
-
|
|
169
|
+
class mt extends p {
|
|
170
|
+
}
|
|
171
|
+
const yt = Symbol("Validator");
|
|
165
172
|
class f extends v {
|
|
166
173
|
/**
|
|
167
174
|
* Creates a new validator
|
|
@@ -192,7 +199,7 @@ class f extends v {
|
|
|
192
199
|
}
|
|
193
200
|
// eslint-disable-next-line class-methods-use-this
|
|
194
201
|
static get classIdentifier() {
|
|
195
|
-
return
|
|
202
|
+
return yt;
|
|
196
203
|
}
|
|
197
204
|
// eslint-disable-next-line class-methods-use-this
|
|
198
205
|
get eager() {
|
|
@@ -214,7 +221,7 @@ class N extends Map {
|
|
|
214
221
|
o(this, "registeredActions", []);
|
|
215
222
|
}
|
|
216
223
|
register(t) {
|
|
217
|
-
if (!(t instanceof
|
|
224
|
+
if (!(t instanceof b)) throw new Error("Invalid action type");
|
|
218
225
|
this.registeredActions.push(t);
|
|
219
226
|
const e = t.classIdentifier, s = this.get(e) || (() => null);
|
|
220
227
|
function r(a, ...l) {
|
|
@@ -254,7 +261,7 @@ class N extends Map {
|
|
|
254
261
|
}), t;
|
|
255
262
|
}
|
|
256
263
|
}
|
|
257
|
-
const
|
|
264
|
+
const xt = Symbol("ConditionalStatementAction");
|
|
258
265
|
class U extends v {
|
|
259
266
|
constructor(t, e) {
|
|
260
267
|
const s = (r, a, l, c) => {
|
|
@@ -275,7 +282,7 @@ class U extends v {
|
|
|
275
282
|
}
|
|
276
283
|
// eslint-disable-next-line class-methods-use-this
|
|
277
284
|
static get classIdentifier() {
|
|
278
|
-
return
|
|
285
|
+
return xt;
|
|
279
286
|
}
|
|
280
287
|
// eslint-disable-next-line class-methods-use-this
|
|
281
288
|
get eager() {
|
|
@@ -285,21 +292,21 @@ class U extends v {
|
|
|
285
292
|
this.boundFields.add(t);
|
|
286
293
|
}
|
|
287
294
|
}
|
|
288
|
-
class
|
|
295
|
+
class Et extends U {
|
|
289
296
|
constructor(i) {
|
|
290
297
|
super(i, (t, e) => {
|
|
291
298
|
t.visibility = e ? A.FULL : A.SUPPRESS;
|
|
292
299
|
});
|
|
293
300
|
}
|
|
294
301
|
}
|
|
295
|
-
class
|
|
302
|
+
class Vt extends U {
|
|
296
303
|
constructor(i) {
|
|
297
304
|
super(i, (t, e) => {
|
|
298
305
|
t.enabled = e;
|
|
299
306
|
});
|
|
300
307
|
}
|
|
301
308
|
}
|
|
302
|
-
class
|
|
309
|
+
class At extends U {
|
|
303
310
|
constructor(i, t) {
|
|
304
311
|
super(i, (e, s) => {
|
|
305
312
|
s && (e.value = t);
|
|
@@ -346,71 +353,71 @@ var L = /* @__PURE__ */ ((n) => (n[n.NOT = 0] = "NOT", n[n.OR = 1] = "OR", n[n.A
|
|
|
346
353
|
n.isLogicOperator = s;
|
|
347
354
|
})(L || (L = {}));
|
|
348
355
|
Object.freeze(L);
|
|
349
|
-
const g = L,
|
|
350
|
-
class nt extends
|
|
356
|
+
const g = L, Ct = Symbol("EnabledChangingAction");
|
|
357
|
+
class nt extends b {
|
|
351
358
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
352
359
|
constructor(i) {
|
|
353
360
|
super(i);
|
|
354
361
|
}
|
|
355
362
|
// eslint-disable-next-line class-methods-use-this
|
|
356
363
|
static get classIdentifier() {
|
|
357
|
-
return
|
|
364
|
+
return Ct;
|
|
358
365
|
}
|
|
359
366
|
execute(i, t, e, s) {
|
|
360
367
|
return super.execute(i, t, e, s);
|
|
361
368
|
}
|
|
362
369
|
}
|
|
363
|
-
const
|
|
364
|
-
class st extends
|
|
370
|
+
const It = Symbol("EnabledChangedAction");
|
|
371
|
+
class st extends b {
|
|
365
372
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
366
373
|
constructor(i) {
|
|
367
374
|
super(i);
|
|
368
375
|
}
|
|
369
376
|
// eslint-disable-next-line class-methods-use-this
|
|
370
377
|
static get classIdentifier() {
|
|
371
|
-
return
|
|
378
|
+
return It;
|
|
372
379
|
}
|
|
373
380
|
execute(i, t, e, s) {
|
|
374
381
|
return super.execute(i, t, e, s);
|
|
375
382
|
}
|
|
376
383
|
}
|
|
377
|
-
const
|
|
378
|
-
class rt extends
|
|
384
|
+
const _t = Symbol("ValidChangedAction");
|
|
385
|
+
class rt extends b {
|
|
379
386
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
380
387
|
constructor(i) {
|
|
381
388
|
super(i);
|
|
382
389
|
}
|
|
383
390
|
// eslint-disable-next-line class-methods-use-this
|
|
384
391
|
static get classIdentifier() {
|
|
385
|
-
return
|
|
392
|
+
return _t;
|
|
386
393
|
}
|
|
387
394
|
execute(i, t, e, s) {
|
|
388
395
|
return super.execute(i, t, e, s);
|
|
389
396
|
}
|
|
390
397
|
}
|
|
391
|
-
const
|
|
392
|
-
class at extends
|
|
398
|
+
const St = Symbol("VisibilityChangingAction");
|
|
399
|
+
class at extends b {
|
|
393
400
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
394
401
|
constructor(i) {
|
|
395
402
|
super(i);
|
|
396
403
|
}
|
|
397
404
|
// eslint-disable-next-line class-methods-use-this
|
|
398
405
|
static get classIdentifier() {
|
|
399
|
-
return
|
|
406
|
+
return St;
|
|
400
407
|
}
|
|
401
408
|
execute(i, t, e, s) {
|
|
402
409
|
return super.execute(i, t, e, s);
|
|
403
410
|
}
|
|
404
411
|
}
|
|
405
|
-
const
|
|
406
|
-
class lt extends
|
|
412
|
+
const Ft = Symbol("VisibilityChangedAction");
|
|
413
|
+
class lt extends b {
|
|
407
414
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
408
415
|
constructor(i) {
|
|
409
416
|
super(i);
|
|
410
417
|
}
|
|
411
418
|
// eslint-disable-next-line class-methods-use-this
|
|
412
419
|
static get classIdentifier() {
|
|
413
|
-
return
|
|
420
|
+
return Ft;
|
|
414
421
|
}
|
|
415
422
|
execute(i, t, e, s) {
|
|
416
423
|
return super.execute(i, t, e, s);
|
|
@@ -471,7 +478,7 @@ class y {
|
|
|
471
478
|
this.actions = this.actions.cloneWithoutValidators(), this.errors = [], this._valid = !0;
|
|
472
479
|
}
|
|
473
480
|
}
|
|
474
|
-
function
|
|
481
|
+
function Nt(n, i) {
|
|
475
482
|
return n ? !i : i;
|
|
476
483
|
}
|
|
477
484
|
class _ {
|
|
@@ -500,7 +507,7 @@ class _ {
|
|
|
500
507
|
case g.NOR:
|
|
501
508
|
return !(i || t);
|
|
502
509
|
case g.XOR:
|
|
503
|
-
return
|
|
510
|
+
return Nt(i, t);
|
|
504
511
|
case g.NOT:
|
|
505
512
|
return !i;
|
|
506
513
|
case g.EQUALS:
|
|
@@ -539,43 +546,43 @@ class _ {
|
|
|
539
546
|
return t(this.operand1), t(this.operand2), i;
|
|
540
547
|
}
|
|
541
548
|
}
|
|
542
|
-
const
|
|
543
|
-
class ot extends
|
|
549
|
+
const Lt = Symbol("ExecuteAction");
|
|
550
|
+
class ot extends b {
|
|
544
551
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
545
552
|
constructor(i) {
|
|
546
553
|
super(i);
|
|
547
554
|
}
|
|
548
555
|
// eslint-disable-next-line class-methods-use-this
|
|
549
556
|
static get classIdentifier() {
|
|
550
|
-
return
|
|
557
|
+
return Lt;
|
|
551
558
|
}
|
|
552
559
|
execute(i, t, e) {
|
|
553
560
|
return super.execute(i, t, e);
|
|
554
561
|
}
|
|
555
562
|
}
|
|
556
|
-
const
|
|
557
|
-
class Q extends
|
|
563
|
+
const Tt = Symbol("ListItemAddedAction");
|
|
564
|
+
class Q extends b {
|
|
558
565
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
559
566
|
constructor(i) {
|
|
560
567
|
super(i);
|
|
561
568
|
}
|
|
562
569
|
// eslint-disable-next-line class-methods-use-this
|
|
563
570
|
static get classIdentifier() {
|
|
564
|
-
return
|
|
571
|
+
return Tt;
|
|
565
572
|
}
|
|
566
573
|
execute(i, t, e, s) {
|
|
567
574
|
return super.execute(i, t, e, s);
|
|
568
575
|
}
|
|
569
576
|
}
|
|
570
|
-
const
|
|
571
|
-
class ct extends
|
|
577
|
+
const jt = Symbol("ListItemRemovedAction");
|
|
578
|
+
class ct extends b {
|
|
572
579
|
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
573
580
|
constructor(i) {
|
|
574
581
|
super(i);
|
|
575
582
|
}
|
|
576
583
|
// eslint-disable-next-line class-methods-use-this
|
|
577
584
|
static get classIdentifier() {
|
|
578
|
-
return
|
|
585
|
+
return jt;
|
|
579
586
|
}
|
|
580
587
|
execute(i, t, e, s) {
|
|
581
588
|
return super.execute(i, t, e, s);
|
|
@@ -625,7 +632,7 @@ 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 wt = D.create({ value: "EmptyField" }).registerAction(new v(
|
|
629
636
|
() => {
|
|
630
637
|
console.warn("Working with EmptyField! This should not happen");
|
|
631
638
|
}
|
|
@@ -633,7 +640,7 @@ const jt = D.create({ value: "EmptyField" }).registerAction(new v(
|
|
|
633
640
|
function k(n, i) {
|
|
634
641
|
return (n == null ? void 0 : n.label) == null && (n == null ? void 0 : n.icon) == null ? i : n;
|
|
635
642
|
}
|
|
636
|
-
class
|
|
643
|
+
class Pt extends D {
|
|
637
644
|
constructor(i) {
|
|
638
645
|
super(i), this._value = { label: void 0, icon: void 0 };
|
|
639
646
|
}
|
|
@@ -841,28 +848,28 @@ class X extends y {
|
|
|
841
848
|
}
|
|
842
849
|
}
|
|
843
850
|
const ut = { useMarkdownInValidators: !0 };
|
|
844
|
-
function
|
|
851
|
+
function Ot() {
|
|
845
852
|
return ut;
|
|
846
853
|
}
|
|
847
|
-
function
|
|
854
|
+
function Rt(n) {
|
|
848
855
|
Object.assign(ut, n);
|
|
849
856
|
}
|
|
850
|
-
const
|
|
857
|
+
const Yt = {
|
|
851
858
|
install(n, i) {
|
|
852
|
-
i &&
|
|
859
|
+
i && Rt(i);
|
|
853
860
|
}
|
|
854
861
|
};
|
|
855
862
|
function m(n) {
|
|
856
|
-
return
|
|
863
|
+
return Ot().useMarkdownInValidators ? new F(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
864
|
`);
|
|
858
865
|
}
|
|
859
|
-
class
|
|
866
|
+
class Ut extends f {
|
|
860
867
|
constructor(t, e, s) {
|
|
861
868
|
let r = !1, a, l;
|
|
862
869
|
super((u, h, C) => (a = u, l = h, r || (r = !0, this.otherField.registerAction(new v((x, T, j, $) => {
|
|
863
870
|
T(x, j, $), this.unregistered || this.execute(C, () => null, a, l);
|
|
864
871
|
}))), this.isValidComparison(d(u), d(this.otherField.value)) ? null : [
|
|
865
|
-
new
|
|
872
|
+
new p(
|
|
866
873
|
this.replacePlaceholders(s, { newValue: u, oldValue: h, field: C, otherField: this.otherField })
|
|
867
874
|
)
|
|
868
875
|
]));
|
|
@@ -873,7 +880,7 @@ class Rt extends f {
|
|
|
873
880
|
this.unregistered = !0;
|
|
874
881
|
}
|
|
875
882
|
}
|
|
876
|
-
class
|
|
883
|
+
class Dt extends f {
|
|
877
884
|
constructor(i, t) {
|
|
878
885
|
const e = t || m("Must be one of [**{allowedAsText}**]");
|
|
879
886
|
let s = i.join(", ");
|
|
@@ -883,44 +890,44 @@ class Ut extends f {
|
|
|
883
890
|
omission: `... (${i.length} items total)`
|
|
884
891
|
}));
|
|
885
892
|
const r = (a, l, c) => i.includes(d(a)) ? null : [
|
|
886
|
-
new
|
|
893
|
+
new p(
|
|
887
894
|
this.replacePlaceholders(e, { newValue: a, oldValue: l, field: c, allowedValues: i, allowedAsText: s })
|
|
888
895
|
)
|
|
889
896
|
];
|
|
890
897
|
super(r);
|
|
891
898
|
}
|
|
892
899
|
}
|
|
893
|
-
function
|
|
900
|
+
function $t(n) {
|
|
894
901
|
return n == null ? 0 : tt(n) || V(n) ? n.length : et(n) && Object.getPrototypeOf(n) === Object.prototype ? Object.keys(n).length : String(n).length;
|
|
895
902
|
}
|
|
896
|
-
class
|
|
903
|
+
class Bt extends f {
|
|
897
904
|
constructor(i) {
|
|
898
|
-
const t = i || m("Please enter a value"), e = (s, r, a) =>
|
|
905
|
+
const t = i || m("Please enter a value"), e = (s, r, a) => $t(d(s)) === 0 ? [new p(
|
|
899
906
|
this.replacePlaceholders(t, { newValue: s, oldValue: r, field: a })
|
|
900
907
|
)] : null;
|
|
901
908
|
super(e);
|
|
902
909
|
}
|
|
903
910
|
}
|
|
904
|
-
class
|
|
911
|
+
class kt extends f {
|
|
905
912
|
constructor(i, t) {
|
|
906
913
|
const e = t || m("Value must be larger or equal to **{minValue}**"), s = (r, a, l) => r < i || r === void 0 ? [
|
|
907
|
-
new
|
|
914
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minValue: i }))
|
|
908
915
|
] : null;
|
|
909
916
|
super(s);
|
|
910
917
|
}
|
|
911
918
|
}
|
|
912
|
-
class
|
|
919
|
+
class qt extends f {
|
|
913
920
|
constructor(i, t) {
|
|
914
921
|
const e = t || m("Value must be less than or equal to **{maxValue}**"), s = (r, a, l) => r > i || r === void 0 ? [
|
|
915
|
-
new
|
|
922
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxValue: i }))
|
|
916
923
|
] : null;
|
|
917
924
|
super(s);
|
|
918
925
|
}
|
|
919
926
|
}
|
|
920
|
-
class
|
|
927
|
+
class Mt extends f {
|
|
921
928
|
constructor(i, t, e) {
|
|
922
929
|
const s = e || m("Value must be between **{minValue}** and **{maxValue}**"), r = (a, l, c) => a < i || a > t || a === void 0 ? [
|
|
923
|
-
new
|
|
930
|
+
new p(
|
|
924
931
|
this.replacePlaceholders(s, { newValue: a, oldValue: l, field: c, minValue: i, maxValue: t })
|
|
925
932
|
)
|
|
926
933
|
] : null;
|
|
@@ -930,28 +937,28 @@ class qt extends f {
|
|
|
930
937
|
function W(n) {
|
|
931
938
|
return n == null ? 0 : tt(n) || V(n) ? n.length : et(n) && Object.getPrototypeOf(n) === Object.prototype ? Object.keys(n).length : String(n).length;
|
|
932
939
|
}
|
|
933
|
-
class
|
|
940
|
+
class Qt extends f {
|
|
934
941
|
constructor(i, t) {
|
|
935
942
|
const e = t || m("Length must be larger or equal to **{minLength}**"), s = (r, a, l) => W(r) < i ? [
|
|
936
|
-
new
|
|
943
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, minLength: i }))
|
|
937
944
|
] : null;
|
|
938
945
|
super(s);
|
|
939
946
|
}
|
|
940
947
|
}
|
|
941
|
-
class
|
|
948
|
+
class zt extends f {
|
|
942
949
|
constructor(i, t) {
|
|
943
950
|
const e = t || m("Length must be less than or equal to **{maxLength}**"), s = (r, a, l) => W(r) > i ? [
|
|
944
|
-
new
|
|
951
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, maxLength: i }))
|
|
945
952
|
] : null;
|
|
946
953
|
super(s);
|
|
947
954
|
}
|
|
948
955
|
}
|
|
949
|
-
class
|
|
956
|
+
class Gt extends f {
|
|
950
957
|
constructor(i, t, e) {
|
|
951
958
|
const s = e || m("Length must be between **{minLength}** and **{maxLength}**"), r = (a, l, c) => {
|
|
952
959
|
const u = W(a);
|
|
953
960
|
return u < i || u > t ? [
|
|
954
|
-
new
|
|
961
|
+
new p(
|
|
955
962
|
this.replacePlaceholders(s, { newValue: a, oldValue: l, field: c, minLength: i, maxLength: t })
|
|
956
963
|
)
|
|
957
964
|
] : null;
|
|
@@ -959,43 +966,43 @@ class zt extends f {
|
|
|
959
966
|
super(r);
|
|
960
967
|
}
|
|
961
968
|
}
|
|
962
|
-
class
|
|
969
|
+
class Ht extends f {
|
|
963
970
|
constructor(i, t) {
|
|
964
971
|
const e = t || m('Value must match pattern "**{pattern}**"'), s = (r, a, l) => i.test(String(d(r))) ? null : [
|
|
965
|
-
new
|
|
972
|
+
new p(this.replacePlaceholders(e, { newValue: r, oldValue: a, field: l, pattern: i }))
|
|
966
973
|
];
|
|
967
974
|
super(s);
|
|
968
975
|
}
|
|
969
976
|
}
|
|
970
|
-
const
|
|
977
|
+
const Xt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
971
978
|
__proto__: null,
|
|
972
|
-
CompareTo:
|
|
973
|
-
InAllowedValues:
|
|
974
|
-
LengthInRange:
|
|
975
|
-
MaxLength:
|
|
976
|
-
MaxValue:
|
|
977
|
-
MinLength:
|
|
978
|
-
MinValue:
|
|
979
|
-
Pattern:
|
|
980
|
-
Required:
|
|
979
|
+
CompareTo: Ut,
|
|
980
|
+
InAllowedValues: Dt,
|
|
981
|
+
LengthInRange: Gt,
|
|
982
|
+
MaxLength: zt,
|
|
983
|
+
MaxValue: qt,
|
|
984
|
+
MinLength: Qt,
|
|
985
|
+
MinValue: kt,
|
|
986
|
+
Pattern: Ht,
|
|
987
|
+
Required: Bt,
|
|
981
988
|
Validator: f,
|
|
982
|
-
ValueInRange:
|
|
983
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
989
|
+
ValueInRange: Mt
|
|
990
|
+
}, Symbol.toStringTag, { value: "Module" })), Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
984
991
|
__proto__: null,
|
|
985
992
|
AbortEventHandlingException: M,
|
|
986
|
-
Action:
|
|
993
|
+
Action: Pt,
|
|
987
994
|
ActionsMap: N,
|
|
988
|
-
ConditionalEnabledAction:
|
|
995
|
+
ConditionalEnabledAction: Vt,
|
|
989
996
|
ConditionalStatementAction: U,
|
|
990
|
-
ConditionalValueAction:
|
|
991
|
-
ConditionalVisibilityAction:
|
|
997
|
+
ConditionalValueAction: At,
|
|
998
|
+
ConditionalVisibilityAction: Et,
|
|
992
999
|
DisplayMode: A,
|
|
993
|
-
EmptyField:
|
|
1000
|
+
EmptyField: wt,
|
|
994
1001
|
EnabledChangedAction: st,
|
|
995
1002
|
EnabledChangingAction: nt,
|
|
996
1003
|
ExecuteAction: ot,
|
|
997
1004
|
Field: D,
|
|
998
|
-
FieldActionBase:
|
|
1005
|
+
FieldActionBase: b,
|
|
999
1006
|
FieldBase: y,
|
|
1000
1007
|
Group: E,
|
|
1001
1008
|
List: X,
|
|
@@ -1003,34 +1010,35 @@ const Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1003
1010
|
ListItemRemovedAction: ct,
|
|
1004
1011
|
MdString: F,
|
|
1005
1012
|
Operator: g,
|
|
1013
|
+
RenderableValue: mt,
|
|
1006
1014
|
Statement: _,
|
|
1007
1015
|
ValidChangedAction: rt,
|
|
1008
1016
|
ValidationError: H,
|
|
1009
|
-
ValidationErrorRenderContent:
|
|
1017
|
+
ValidationErrorRenderContent: p,
|
|
1010
1018
|
ValidationErrorText: vt,
|
|
1011
1019
|
Validator: f,
|
|
1012
|
-
Validators:
|
|
1020
|
+
Validators: Xt,
|
|
1013
1021
|
ValueChangedAction: v,
|
|
1014
1022
|
VisibilityChangedAction: lt,
|
|
1015
1023
|
VisibilityChangingAction: at,
|
|
1016
1024
|
buildErrorMessage: m,
|
|
1017
|
-
|
|
1025
|
+
isSimpleComponentDef: G
|
|
1018
1026
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1019
1027
|
export {
|
|
1020
1028
|
M as AbortEventHandlingException,
|
|
1021
|
-
|
|
1029
|
+
Pt as Action,
|
|
1022
1030
|
N as ActionsMap,
|
|
1023
|
-
|
|
1031
|
+
Vt as ConditionalEnabledAction,
|
|
1024
1032
|
U as ConditionalStatementAction,
|
|
1025
|
-
|
|
1026
|
-
|
|
1033
|
+
At as ConditionalValueAction,
|
|
1034
|
+
Et as ConditionalVisibilityAction,
|
|
1027
1035
|
A as DisplayMode,
|
|
1028
|
-
|
|
1036
|
+
wt as EmptyField,
|
|
1029
1037
|
st as EnabledChangedAction,
|
|
1030
1038
|
nt as EnabledChangingAction,
|
|
1031
1039
|
ot as ExecuteAction,
|
|
1032
1040
|
D as Field,
|
|
1033
|
-
|
|
1041
|
+
b as FieldActionBase,
|
|
1034
1042
|
y as FieldBase,
|
|
1035
1043
|
E as Group,
|
|
1036
1044
|
X as List,
|
|
@@ -1038,19 +1046,20 @@ export {
|
|
|
1038
1046
|
ct as ListItemRemovedAction,
|
|
1039
1047
|
F as MdString,
|
|
1040
1048
|
g as Operator,
|
|
1049
|
+
mt as RenderableValue,
|
|
1041
1050
|
_ as Statement,
|
|
1042
1051
|
rt as ValidChangedAction,
|
|
1043
1052
|
H as ValidationError,
|
|
1044
|
-
|
|
1053
|
+
p as ValidationErrorRenderContent,
|
|
1045
1054
|
vt as ValidationErrorText,
|
|
1046
1055
|
f as Validator,
|
|
1047
|
-
|
|
1056
|
+
Xt as Validators,
|
|
1048
1057
|
v as ValueChangedAction,
|
|
1049
1058
|
lt as VisibilityChangedAction,
|
|
1050
1059
|
at as VisibilityChangingAction,
|
|
1051
1060
|
m as buildErrorMessage,
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
G as
|
|
1061
|
+
Zt as default,
|
|
1062
|
+
Yt as forms,
|
|
1063
|
+
G as isSimpleComponentDef
|
|
1055
1064
|
};
|
|
1056
1065
|
//# sourceMappingURL=dynamicforms-vue-forms.js.map
|