bhl-forms 0.3.1 → 0.3.3
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/bhl-forms.es.js +871 -312
- package/dist/bhl-forms.iife.js +7 -7
- package/dist/bhl-forms.modern.es.js +2689 -2129
- package/dist/bhl-forms.modern.iife.js +9 -9
- package/dist/bhl-forms.modern.umd.js +9 -9
- package/dist/bhl-forms.umd.js +7 -7
- package/dist/forms/accidentsAndInjuries.es.js +9 -68
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +8 -7
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -1
- package/dist/forms/childAndFamily.es.js +8 -67
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +9 -68
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +8 -7
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -1
- package/dist/forms/contracts.es.js +8 -67
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +19 -214
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +9 -68
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +30 -445
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +19 -217
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +19 -217
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +19 -217
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +8 -67
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +9 -68
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +8 -7
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/realEstate.es.js +19 -214
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +8 -67
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +24 -140
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +8 -67
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +8 -11
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +8 -7
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +8 -67
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/package.json +3 -2
package/dist/bhl-forms.es.js
CHANGED
|
@@ -18,16 +18,16 @@ var __spreadValues = (a3, b2) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a3, b2) => __defProps(a3, __getOwnPropDescs(b2));
|
|
20
20
|
var __objRest = (source, exclude) => {
|
|
21
|
-
var
|
|
21
|
+
var target2 = {};
|
|
22
22
|
for (var prop in source)
|
|
23
23
|
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
-
|
|
24
|
+
target2[prop] = source[prop];
|
|
25
25
|
if (source != null && __getOwnPropSymbols)
|
|
26
26
|
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
27
|
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
-
|
|
28
|
+
target2[prop] = source[prop];
|
|
29
29
|
}
|
|
30
|
-
return
|
|
30
|
+
return target2;
|
|
31
31
|
};
|
|
32
32
|
var __async = (__this, __arguments, generator) => {
|
|
33
33
|
return new Promise((resolve2, reject) => {
|
|
@@ -145,7 +145,7 @@ const onRE = /^on[^a-z]/;
|
|
|
145
145
|
const isOn = (key) => onRE.test(key);
|
|
146
146
|
const isModelListener = (key) => key.startsWith("onUpdate:");
|
|
147
147
|
const extend$3 = Object.assign;
|
|
148
|
-
const remove = (arr, el) => {
|
|
148
|
+
const remove$1 = (arr, el) => {
|
|
149
149
|
const i2 = arr.indexOf(el);
|
|
150
150
|
if (i2 > -1) {
|
|
151
151
|
arr.splice(i2, 1);
|
|
@@ -390,11 +390,11 @@ function resetTracking() {
|
|
|
390
390
|
const last = trackStack.pop();
|
|
391
391
|
shouldTrack = last === void 0 ? true : last;
|
|
392
392
|
}
|
|
393
|
-
function track(
|
|
393
|
+
function track(target2, type, key) {
|
|
394
394
|
if (shouldTrack && activeEffect) {
|
|
395
|
-
let depsMap = targetMap.get(
|
|
395
|
+
let depsMap = targetMap.get(target2);
|
|
396
396
|
if (!depsMap) {
|
|
397
|
-
targetMap.set(
|
|
397
|
+
targetMap.set(target2, depsMap = /* @__PURE__ */ new Map());
|
|
398
398
|
}
|
|
399
399
|
let dep = depsMap.get(key);
|
|
400
400
|
if (!dep) {
|
|
@@ -418,15 +418,15 @@ function trackEffects(dep, debuggerEventExtraInfo) {
|
|
|
418
418
|
activeEffect.deps.push(dep);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
function trigger(
|
|
422
|
-
const depsMap = targetMap.get(
|
|
421
|
+
function trigger(target2, type, key, newValue, oldValue, oldTarget) {
|
|
422
|
+
const depsMap = targetMap.get(target2);
|
|
423
423
|
if (!depsMap) {
|
|
424
424
|
return;
|
|
425
425
|
}
|
|
426
426
|
let deps = [];
|
|
427
427
|
if (type === "clear") {
|
|
428
428
|
deps = [...depsMap.values()];
|
|
429
|
-
} else if (key === "length" && isArray(
|
|
429
|
+
} else if (key === "length" && isArray(target2)) {
|
|
430
430
|
const newLength = Number(newValue);
|
|
431
431
|
depsMap.forEach((dep, key2) => {
|
|
432
432
|
if (key2 === "length" || key2 >= newLength) {
|
|
@@ -439,9 +439,9 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
439
439
|
}
|
|
440
440
|
switch (type) {
|
|
441
441
|
case "add":
|
|
442
|
-
if (!isArray(
|
|
442
|
+
if (!isArray(target2)) {
|
|
443
443
|
deps.push(depsMap.get(ITERATE_KEY));
|
|
444
|
-
if (isMap(
|
|
444
|
+
if (isMap(target2)) {
|
|
445
445
|
deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
446
446
|
}
|
|
447
447
|
} else if (isIntegerKey(key)) {
|
|
@@ -449,15 +449,15 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
449
449
|
}
|
|
450
450
|
break;
|
|
451
451
|
case "delete":
|
|
452
|
-
if (!isArray(
|
|
452
|
+
if (!isArray(target2)) {
|
|
453
453
|
deps.push(depsMap.get(ITERATE_KEY));
|
|
454
|
-
if (isMap(
|
|
454
|
+
if (isMap(target2)) {
|
|
455
455
|
deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
break;
|
|
459
459
|
case "set":
|
|
460
|
-
if (isMap(
|
|
460
|
+
if (isMap(target2)) {
|
|
461
461
|
deps.push(depsMap.get(ITERATE_KEY));
|
|
462
462
|
}
|
|
463
463
|
break;
|
|
@@ -547,17 +547,17 @@ function hasOwnProperty(key) {
|
|
|
547
547
|
return obj.hasOwnProperty(key);
|
|
548
548
|
}
|
|
549
549
|
function createGetter(isReadonly2 = false, shallow = false) {
|
|
550
|
-
return function get2(
|
|
550
|
+
return function get2(target2, key, receiver) {
|
|
551
551
|
if (key === "__v_isReactive") {
|
|
552
552
|
return !isReadonly2;
|
|
553
553
|
} else if (key === "__v_isReadonly") {
|
|
554
554
|
return isReadonly2;
|
|
555
555
|
} else if (key === "__v_isShallow") {
|
|
556
556
|
return shallow;
|
|
557
|
-
} else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(
|
|
558
|
-
return
|
|
557
|
+
} else if (key === "__v_raw" && receiver === (isReadonly2 ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target2)) {
|
|
558
|
+
return target2;
|
|
559
559
|
}
|
|
560
|
-
const targetIsArray = isArray(
|
|
560
|
+
const targetIsArray = isArray(target2);
|
|
561
561
|
if (!isReadonly2) {
|
|
562
562
|
if (targetIsArray && hasOwn(arrayInstrumentations, key)) {
|
|
563
563
|
return Reflect.get(arrayInstrumentations, key, receiver);
|
|
@@ -566,12 +566,12 @@ function createGetter(isReadonly2 = false, shallow = false) {
|
|
|
566
566
|
return hasOwnProperty;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
const res = Reflect.get(
|
|
569
|
+
const res = Reflect.get(target2, key, receiver);
|
|
570
570
|
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
|
|
571
571
|
return res;
|
|
572
572
|
}
|
|
573
573
|
if (!isReadonly2) {
|
|
574
|
-
track(
|
|
574
|
+
track(target2, "get", key);
|
|
575
575
|
}
|
|
576
576
|
if (shallow) {
|
|
577
577
|
return res;
|
|
@@ -588,8 +588,8 @@ function createGetter(isReadonly2 = false, shallow = false) {
|
|
|
588
588
|
const set$1 = /* @__PURE__ */ createSetter();
|
|
589
589
|
const shallowSet = /* @__PURE__ */ createSetter(true);
|
|
590
590
|
function createSetter(shallow = false) {
|
|
591
|
-
return function set2(
|
|
592
|
-
let oldValue =
|
|
591
|
+
return function set2(target2, key, value, receiver) {
|
|
592
|
+
let oldValue = target2[key];
|
|
593
593
|
if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
|
|
594
594
|
return false;
|
|
595
595
|
}
|
|
@@ -598,42 +598,42 @@ function createSetter(shallow = false) {
|
|
|
598
598
|
oldValue = toRaw(oldValue);
|
|
599
599
|
value = toRaw(value);
|
|
600
600
|
}
|
|
601
|
-
if (!isArray(
|
|
601
|
+
if (!isArray(target2) && isRef(oldValue) && !isRef(value)) {
|
|
602
602
|
oldValue.value = value;
|
|
603
603
|
return true;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
const hadKey = isArray(
|
|
607
|
-
const result = Reflect.set(
|
|
608
|
-
if (
|
|
606
|
+
const hadKey = isArray(target2) && isIntegerKey(key) ? Number(key) < target2.length : hasOwn(target2, key);
|
|
607
|
+
const result = Reflect.set(target2, key, value, receiver);
|
|
608
|
+
if (target2 === toRaw(receiver)) {
|
|
609
609
|
if (!hadKey) {
|
|
610
|
-
trigger(
|
|
610
|
+
trigger(target2, "add", key, value);
|
|
611
611
|
} else if (hasChanged(value, oldValue)) {
|
|
612
|
-
trigger(
|
|
612
|
+
trigger(target2, "set", key, value);
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
return result;
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
-
function deleteProperty(
|
|
619
|
-
const hadKey = hasOwn(
|
|
620
|
-
|
|
621
|
-
const result = Reflect.deleteProperty(
|
|
618
|
+
function deleteProperty(target2, key) {
|
|
619
|
+
const hadKey = hasOwn(target2, key);
|
|
620
|
+
target2[key];
|
|
621
|
+
const result = Reflect.deleteProperty(target2, key);
|
|
622
622
|
if (result && hadKey) {
|
|
623
|
-
trigger(
|
|
623
|
+
trigger(target2, "delete", key, void 0);
|
|
624
624
|
}
|
|
625
625
|
return result;
|
|
626
626
|
}
|
|
627
|
-
function has$1(
|
|
628
|
-
const result = Reflect.has(
|
|
627
|
+
function has$1(target2, key) {
|
|
628
|
+
const result = Reflect.has(target2, key);
|
|
629
629
|
if (!isSymbol(key) || !builtInSymbols.has(key)) {
|
|
630
|
-
track(
|
|
630
|
+
track(target2, "has", key);
|
|
631
631
|
}
|
|
632
632
|
return result;
|
|
633
633
|
}
|
|
634
|
-
function ownKeys(
|
|
635
|
-
track(
|
|
636
|
-
return Reflect.ownKeys(
|
|
634
|
+
function ownKeys(target2) {
|
|
635
|
+
track(target2, "iterate", isArray(target2) ? "length" : ITERATE_KEY);
|
|
636
|
+
return Reflect.ownKeys(target2);
|
|
637
637
|
}
|
|
638
638
|
const mutableHandlers = {
|
|
639
639
|
get: get$1,
|
|
@@ -644,10 +644,10 @@ const mutableHandlers = {
|
|
|
644
644
|
};
|
|
645
645
|
const readonlyHandlers = {
|
|
646
646
|
get: readonlyGet,
|
|
647
|
-
set(
|
|
647
|
+
set(target2, key) {
|
|
648
648
|
return true;
|
|
649
649
|
},
|
|
650
|
-
deleteProperty(
|
|
650
|
+
deleteProperty(target2, key) {
|
|
651
651
|
return true;
|
|
652
652
|
}
|
|
653
653
|
};
|
|
@@ -657,9 +657,9 @@ const shallowReactiveHandlers = /* @__PURE__ */ extend$3({}, mutableHandlers, {
|
|
|
657
657
|
});
|
|
658
658
|
const toShallow = (value) => value;
|
|
659
659
|
const getProto = (v) => Reflect.getPrototypeOf(v);
|
|
660
|
-
function get$2(
|
|
661
|
-
|
|
662
|
-
const rawTarget = toRaw(
|
|
660
|
+
function get$2(target2, key, isReadonly2 = false, isShallow2 = false) {
|
|
661
|
+
target2 = target2["__v_raw"];
|
|
662
|
+
const rawTarget = toRaw(target2);
|
|
663
663
|
const rawKey = toRaw(key);
|
|
664
664
|
if (!isReadonly2) {
|
|
665
665
|
if (key !== rawKey) {
|
|
@@ -670,16 +670,16 @@ function get$2(target, key, isReadonly2 = false, isShallow2 = false) {
|
|
|
670
670
|
const { has: has2 } = getProto(rawTarget);
|
|
671
671
|
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
672
672
|
if (has2.call(rawTarget, key)) {
|
|
673
|
-
return wrap(
|
|
673
|
+
return wrap(target2.get(key));
|
|
674
674
|
} else if (has2.call(rawTarget, rawKey)) {
|
|
675
|
-
return wrap(
|
|
676
|
-
} else if (
|
|
677
|
-
|
|
675
|
+
return wrap(target2.get(rawKey));
|
|
676
|
+
} else if (target2 !== rawTarget) {
|
|
677
|
+
target2.get(key);
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
function has$2(key, isReadonly2 = false) {
|
|
681
|
-
const
|
|
682
|
-
const rawTarget = toRaw(
|
|
681
|
+
const target2 = this["__v_raw"];
|
|
682
|
+
const rawTarget = toRaw(target2);
|
|
683
683
|
const rawKey = toRaw(key);
|
|
684
684
|
if (!isReadonly2) {
|
|
685
685
|
if (key !== rawKey) {
|
|
@@ -687,86 +687,86 @@ function has$2(key, isReadonly2 = false) {
|
|
|
687
687
|
}
|
|
688
688
|
track(rawTarget, "has", rawKey);
|
|
689
689
|
}
|
|
690
|
-
return key === rawKey ?
|
|
690
|
+
return key === rawKey ? target2.has(key) : target2.has(key) || target2.has(rawKey);
|
|
691
691
|
}
|
|
692
|
-
function size(
|
|
693
|
-
|
|
694
|
-
!isReadonly2 && track(toRaw(
|
|
695
|
-
return Reflect.get(
|
|
692
|
+
function size(target2, isReadonly2 = false) {
|
|
693
|
+
target2 = target2["__v_raw"];
|
|
694
|
+
!isReadonly2 && track(toRaw(target2), "iterate", ITERATE_KEY);
|
|
695
|
+
return Reflect.get(target2, "size", target2);
|
|
696
696
|
}
|
|
697
|
-
function add$
|
|
697
|
+
function add$2(value) {
|
|
698
698
|
value = toRaw(value);
|
|
699
|
-
const
|
|
700
|
-
const proto = getProto(
|
|
701
|
-
const hadKey = proto.has.call(
|
|
699
|
+
const target2 = toRaw(this);
|
|
700
|
+
const proto = getProto(target2);
|
|
701
|
+
const hadKey = proto.has.call(target2, value);
|
|
702
702
|
if (!hadKey) {
|
|
703
|
-
|
|
704
|
-
trigger(
|
|
703
|
+
target2.add(value);
|
|
704
|
+
trigger(target2, "add", value, value);
|
|
705
705
|
}
|
|
706
706
|
return this;
|
|
707
707
|
}
|
|
708
708
|
function set$2(key, value) {
|
|
709
709
|
value = toRaw(value);
|
|
710
|
-
const
|
|
711
|
-
const { has: has2, get: get2 } = getProto(
|
|
712
|
-
let hadKey = has2.call(
|
|
710
|
+
const target2 = toRaw(this);
|
|
711
|
+
const { has: has2, get: get2 } = getProto(target2);
|
|
712
|
+
let hadKey = has2.call(target2, key);
|
|
713
713
|
if (!hadKey) {
|
|
714
714
|
key = toRaw(key);
|
|
715
|
-
hadKey = has2.call(
|
|
715
|
+
hadKey = has2.call(target2, key);
|
|
716
716
|
}
|
|
717
|
-
const oldValue = get2.call(
|
|
718
|
-
|
|
717
|
+
const oldValue = get2.call(target2, key);
|
|
718
|
+
target2.set(key, value);
|
|
719
719
|
if (!hadKey) {
|
|
720
|
-
trigger(
|
|
720
|
+
trigger(target2, "add", key, value);
|
|
721
721
|
} else if (hasChanged(value, oldValue)) {
|
|
722
|
-
trigger(
|
|
722
|
+
trigger(target2, "set", key, value);
|
|
723
723
|
}
|
|
724
724
|
return this;
|
|
725
725
|
}
|
|
726
726
|
function deleteEntry(key) {
|
|
727
|
-
const
|
|
728
|
-
const { has: has2, get: get2 } = getProto(
|
|
729
|
-
let hadKey = has2.call(
|
|
727
|
+
const target2 = toRaw(this);
|
|
728
|
+
const { has: has2, get: get2 } = getProto(target2);
|
|
729
|
+
let hadKey = has2.call(target2, key);
|
|
730
730
|
if (!hadKey) {
|
|
731
731
|
key = toRaw(key);
|
|
732
|
-
hadKey = has2.call(
|
|
732
|
+
hadKey = has2.call(target2, key);
|
|
733
733
|
}
|
|
734
|
-
get2 ? get2.call(
|
|
735
|
-
const result =
|
|
734
|
+
get2 ? get2.call(target2, key) : void 0;
|
|
735
|
+
const result = target2.delete(key);
|
|
736
736
|
if (hadKey) {
|
|
737
|
-
trigger(
|
|
737
|
+
trigger(target2, "delete", key, void 0);
|
|
738
738
|
}
|
|
739
739
|
return result;
|
|
740
740
|
}
|
|
741
741
|
function clear() {
|
|
742
|
-
const
|
|
743
|
-
const hadItems =
|
|
744
|
-
const result =
|
|
742
|
+
const target2 = toRaw(this);
|
|
743
|
+
const hadItems = target2.size !== 0;
|
|
744
|
+
const result = target2.clear();
|
|
745
745
|
if (hadItems) {
|
|
746
|
-
trigger(
|
|
746
|
+
trigger(target2, "clear", void 0, void 0);
|
|
747
747
|
}
|
|
748
748
|
return result;
|
|
749
749
|
}
|
|
750
750
|
function createForEach(isReadonly2, isShallow2) {
|
|
751
|
-
return function
|
|
751
|
+
return function forEach2(callback, thisArg) {
|
|
752
752
|
const observed = this;
|
|
753
|
-
const
|
|
754
|
-
const rawTarget = toRaw(
|
|
753
|
+
const target2 = observed["__v_raw"];
|
|
754
|
+
const rawTarget = toRaw(target2);
|
|
755
755
|
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
756
756
|
!isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY);
|
|
757
|
-
return
|
|
757
|
+
return target2.forEach((value, key) => {
|
|
758
758
|
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
759
759
|
});
|
|
760
760
|
};
|
|
761
761
|
}
|
|
762
762
|
function createIterableMethod(method, isReadonly2, isShallow2) {
|
|
763
763
|
return function(...args) {
|
|
764
|
-
const
|
|
765
|
-
const rawTarget = toRaw(
|
|
764
|
+
const target2 = this["__v_raw"];
|
|
765
|
+
const rawTarget = toRaw(target2);
|
|
766
766
|
const targetIsMap = isMap(rawTarget);
|
|
767
767
|
const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
|
|
768
768
|
const isKeyOnly = method === "keys" && targetIsMap;
|
|
769
|
-
const innerIterator =
|
|
769
|
+
const innerIterator = target2[method](...args);
|
|
770
770
|
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
771
771
|
!isReadonly2 && track(rawTarget, "iterate", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);
|
|
772
772
|
return {
|
|
@@ -797,7 +797,7 @@ function createInstrumentations() {
|
|
|
797
797
|
return size(this);
|
|
798
798
|
},
|
|
799
799
|
has: has$2,
|
|
800
|
-
add: add$
|
|
800
|
+
add: add$2,
|
|
801
801
|
set: set$2,
|
|
802
802
|
delete: deleteEntry,
|
|
803
803
|
clear,
|
|
@@ -811,7 +811,7 @@ function createInstrumentations() {
|
|
|
811
811
|
return size(this);
|
|
812
812
|
},
|
|
813
813
|
has: has$2,
|
|
814
|
-
add: add$
|
|
814
|
+
add: add$2,
|
|
815
815
|
set: set$2,
|
|
816
816
|
delete: deleteEntry,
|
|
817
817
|
clear,
|
|
@@ -866,15 +866,15 @@ function createInstrumentations() {
|
|
|
866
866
|
const [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* @__PURE__ */ createInstrumentations();
|
|
867
867
|
function createInstrumentationGetter(isReadonly2, shallow) {
|
|
868
868
|
const instrumentations = shallow ? isReadonly2 ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly2 ? readonlyInstrumentations : mutableInstrumentations;
|
|
869
|
-
return (
|
|
869
|
+
return (target2, key, receiver) => {
|
|
870
870
|
if (key === "__v_isReactive") {
|
|
871
871
|
return !isReadonly2;
|
|
872
872
|
} else if (key === "__v_isReadonly") {
|
|
873
873
|
return isReadonly2;
|
|
874
874
|
} else if (key === "__v_raw") {
|
|
875
|
-
return
|
|
875
|
+
return target2;
|
|
876
876
|
}
|
|
877
|
-
return Reflect.get(hasOwn(instrumentations, key) && key in
|
|
877
|
+
return Reflect.get(hasOwn(instrumentations, key) && key in target2 ? instrumentations : target2, key, receiver);
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
880
|
const mutableCollectionHandlers = {
|
|
@@ -907,35 +907,35 @@ function targetTypeMap(rawType) {
|
|
|
907
907
|
function getTargetType(value) {
|
|
908
908
|
return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));
|
|
909
909
|
}
|
|
910
|
-
function reactive(
|
|
911
|
-
if (isReadonly(
|
|
912
|
-
return
|
|
910
|
+
function reactive(target2) {
|
|
911
|
+
if (isReadonly(target2)) {
|
|
912
|
+
return target2;
|
|
913
913
|
}
|
|
914
|
-
return createReactiveObject(
|
|
914
|
+
return createReactiveObject(target2, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);
|
|
915
915
|
}
|
|
916
|
-
function shallowReactive(
|
|
917
|
-
return createReactiveObject(
|
|
916
|
+
function shallowReactive(target2) {
|
|
917
|
+
return createReactiveObject(target2, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);
|
|
918
918
|
}
|
|
919
|
-
function readonly(
|
|
920
|
-
return createReactiveObject(
|
|
919
|
+
function readonly(target2) {
|
|
920
|
+
return createReactiveObject(target2, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);
|
|
921
921
|
}
|
|
922
|
-
function createReactiveObject(
|
|
923
|
-
if (!isObject$2(
|
|
924
|
-
return
|
|
922
|
+
function createReactiveObject(target2, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
|
|
923
|
+
if (!isObject$2(target2)) {
|
|
924
|
+
return target2;
|
|
925
925
|
}
|
|
926
|
-
if (
|
|
927
|
-
return
|
|
926
|
+
if (target2["__v_raw"] && !(isReadonly2 && target2["__v_isReactive"])) {
|
|
927
|
+
return target2;
|
|
928
928
|
}
|
|
929
|
-
const existingProxy = proxyMap.get(
|
|
929
|
+
const existingProxy = proxyMap.get(target2);
|
|
930
930
|
if (existingProxy) {
|
|
931
931
|
return existingProxy;
|
|
932
932
|
}
|
|
933
|
-
const targetType = getTargetType(
|
|
933
|
+
const targetType = getTargetType(target2);
|
|
934
934
|
if (targetType === 0) {
|
|
935
|
-
return
|
|
935
|
+
return target2;
|
|
936
936
|
}
|
|
937
|
-
const proxy = new Proxy(
|
|
938
|
-
proxyMap.set(
|
|
937
|
+
const proxy = new Proxy(target2, targetType === 2 ? collectionHandlers : baseHandlers);
|
|
938
|
+
proxyMap.set(target2, proxy);
|
|
939
939
|
return proxy;
|
|
940
940
|
}
|
|
941
941
|
function isReactive(value) {
|
|
@@ -1021,14 +1021,14 @@ function unref(ref2) {
|
|
|
1021
1021
|
return isRef(ref2) ? ref2.value : ref2;
|
|
1022
1022
|
}
|
|
1023
1023
|
const shallowUnwrapHandlers = {
|
|
1024
|
-
get: (
|
|
1025
|
-
set: (
|
|
1026
|
-
const oldValue =
|
|
1024
|
+
get: (target2, key, receiver) => unref(Reflect.get(target2, key, receiver)),
|
|
1025
|
+
set: (target2, key, value, receiver) => {
|
|
1026
|
+
const oldValue = target2[key];
|
|
1027
1027
|
if (isRef(oldValue) && !isRef(value)) {
|
|
1028
1028
|
oldValue.value = value;
|
|
1029
1029
|
return true;
|
|
1030
1030
|
} else {
|
|
1031
|
-
return Reflect.set(
|
|
1031
|
+
return Reflect.set(target2, key, value, receiver);
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
@@ -1438,28 +1438,28 @@ function renderComponentRoot(instance) {
|
|
|
1438
1438
|
handleError(err, instance, 1);
|
|
1439
1439
|
result = createVNode(Comment);
|
|
1440
1440
|
}
|
|
1441
|
-
let
|
|
1441
|
+
let root2 = result;
|
|
1442
1442
|
if (fallthroughAttrs && inheritAttrs !== false) {
|
|
1443
1443
|
const keys = Object.keys(fallthroughAttrs);
|
|
1444
|
-
const { shapeFlag } =
|
|
1444
|
+
const { shapeFlag } = root2;
|
|
1445
1445
|
if (keys.length) {
|
|
1446
1446
|
if (shapeFlag & (1 | 6)) {
|
|
1447
1447
|
if (propsOptions && keys.some(isModelListener)) {
|
|
1448
1448
|
fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);
|
|
1449
1449
|
}
|
|
1450
|
-
|
|
1450
|
+
root2 = cloneVNode(root2, fallthroughAttrs);
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
}
|
|
1454
1454
|
if (vnode.dirs) {
|
|
1455
|
-
|
|
1456
|
-
|
|
1455
|
+
root2 = cloneVNode(root2);
|
|
1456
|
+
root2.dirs = root2.dirs ? root2.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
1457
1457
|
}
|
|
1458
1458
|
if (vnode.transition) {
|
|
1459
|
-
|
|
1459
|
+
root2.transition = vnode.transition;
|
|
1460
1460
|
}
|
|
1461
1461
|
{
|
|
1462
|
-
result =
|
|
1462
|
+
result = root2;
|
|
1463
1463
|
}
|
|
1464
1464
|
setCurrentRenderingInstance(prev);
|
|
1465
1465
|
return result;
|
|
@@ -1707,7 +1707,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
1707
1707
|
const unwatch = () => {
|
|
1708
1708
|
effect.stop();
|
|
1709
1709
|
if (instance && instance.scope) {
|
|
1710
|
-
remove(instance.scope.effects, effect);
|
|
1710
|
+
remove$1(instance.scope.effects, effect);
|
|
1711
1711
|
}
|
|
1712
1712
|
};
|
|
1713
1713
|
if (ssrCleanup)
|
|
@@ -1775,15 +1775,15 @@ function defineComponent(options2) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
const isAsyncWrapper = (i2) => !!i2.type.__asyncLoader;
|
|
1777
1777
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
1778
|
-
function onActivated(hook,
|
|
1779
|
-
registerKeepAliveHook(hook, "a",
|
|
1778
|
+
function onActivated(hook, target2) {
|
|
1779
|
+
registerKeepAliveHook(hook, "a", target2);
|
|
1780
1780
|
}
|
|
1781
|
-
function onDeactivated(hook,
|
|
1782
|
-
registerKeepAliveHook(hook, "da",
|
|
1781
|
+
function onDeactivated(hook, target2) {
|
|
1782
|
+
registerKeepAliveHook(hook, "da", target2);
|
|
1783
1783
|
}
|
|
1784
|
-
function registerKeepAliveHook(hook, type,
|
|
1784
|
+
function registerKeepAliveHook(hook, type, target2 = currentInstance) {
|
|
1785
1785
|
const wrappedHook = hook.__wdc || (hook.__wdc = () => {
|
|
1786
|
-
let current =
|
|
1786
|
+
let current = target2;
|
|
1787
1787
|
while (current) {
|
|
1788
1788
|
if (current.isDeactivated) {
|
|
1789
1789
|
return;
|
|
@@ -1792,33 +1792,33 @@ function registerKeepAliveHook(hook, type, target = currentInstance) {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
return hook();
|
|
1794
1794
|
});
|
|
1795
|
-
injectHook(type, wrappedHook,
|
|
1796
|
-
if (
|
|
1797
|
-
let current =
|
|
1795
|
+
injectHook(type, wrappedHook, target2);
|
|
1796
|
+
if (target2) {
|
|
1797
|
+
let current = target2.parent;
|
|
1798
1798
|
while (current && current.parent) {
|
|
1799
1799
|
if (isKeepAlive(current.parent.vnode)) {
|
|
1800
|
-
injectToKeepAliveRoot(wrappedHook, type,
|
|
1800
|
+
injectToKeepAliveRoot(wrappedHook, type, target2, current);
|
|
1801
1801
|
}
|
|
1802
1802
|
current = current.parent;
|
|
1803
1803
|
}
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
|
-
function injectToKeepAliveRoot(hook, type,
|
|
1806
|
+
function injectToKeepAliveRoot(hook, type, target2, keepAliveRoot) {
|
|
1807
1807
|
const injected = injectHook(type, hook, keepAliveRoot, true);
|
|
1808
1808
|
onUnmounted(() => {
|
|
1809
|
-
remove(keepAliveRoot[type], injected);
|
|
1810
|
-
},
|
|
1809
|
+
remove$1(keepAliveRoot[type], injected);
|
|
1810
|
+
}, target2);
|
|
1811
1811
|
}
|
|
1812
|
-
function injectHook(type, hook,
|
|
1813
|
-
if (
|
|
1814
|
-
const hooks =
|
|
1812
|
+
function injectHook(type, hook, target2 = currentInstance, prepend = false) {
|
|
1813
|
+
if (target2) {
|
|
1814
|
+
const hooks = target2[type] || (target2[type] = []);
|
|
1815
1815
|
const wrappedHook = hook.__weh || (hook.__weh = (...args) => {
|
|
1816
|
-
if (
|
|
1816
|
+
if (target2.isUnmounted) {
|
|
1817
1817
|
return;
|
|
1818
1818
|
}
|
|
1819
1819
|
pauseTracking();
|
|
1820
|
-
setCurrentInstance(
|
|
1821
|
-
const res = callWithAsyncErrorHandling(hook,
|
|
1820
|
+
setCurrentInstance(target2);
|
|
1821
|
+
const res = callWithAsyncErrorHandling(hook, target2, type, args);
|
|
1822
1822
|
unsetCurrentInstance();
|
|
1823
1823
|
resetTracking();
|
|
1824
1824
|
return res;
|
|
@@ -1831,7 +1831,7 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
|
|
|
1831
1831
|
return wrappedHook;
|
|
1832
1832
|
}
|
|
1833
1833
|
}
|
|
1834
|
-
const createHook = (lifecycle) => (hook,
|
|
1834
|
+
const createHook = (lifecycle) => (hook, target2 = currentInstance) => (!isInSSRComponentSetup || lifecycle === "sp") && injectHook(lifecycle, (...args) => hook(...args), target2);
|
|
1835
1835
|
const onBeforeMount = createHook("bm");
|
|
1836
1836
|
const onMounted = createHook("m");
|
|
1837
1837
|
const onBeforeUpdate = createHook("bu");
|
|
@@ -1841,8 +1841,8 @@ const onUnmounted = createHook("um");
|
|
|
1841
1841
|
const onServerPrefetch = createHook("sp");
|
|
1842
1842
|
const onRenderTriggered = createHook("rtg");
|
|
1843
1843
|
const onRenderTracked = createHook("rtc");
|
|
1844
|
-
function onErrorCaptured(hook,
|
|
1845
|
-
injectHook("ec", hook,
|
|
1844
|
+
function onErrorCaptured(hook, target2 = currentInstance) {
|
|
1845
|
+
injectHook("ec", hook, target2);
|
|
1846
1846
|
}
|
|
1847
1847
|
function withDirectives(vnode, directives) {
|
|
1848
1848
|
const internalInstance = currentRenderingInstance;
|
|
@@ -2094,13 +2094,13 @@ const PublicInstanceProxyHandlers = {
|
|
|
2094
2094
|
let normalizedProps;
|
|
2095
2095
|
return !!accessCache[key] || data !== EMPTY_OBJ && hasOwn(data, key) || hasSetupBinding(setupState, key) || (normalizedProps = propsOptions[0]) && hasOwn(normalizedProps, key) || hasOwn(ctx, key) || hasOwn(publicPropertiesMap, key) || hasOwn(appContext.config.globalProperties, key);
|
|
2096
2096
|
},
|
|
2097
|
-
defineProperty(
|
|
2097
|
+
defineProperty(target2, key, descriptor) {
|
|
2098
2098
|
if (descriptor.get != null) {
|
|
2099
|
-
|
|
2099
|
+
target2._.accessCache[key] = 0;
|
|
2100
2100
|
} else if (hasOwn(descriptor, "value")) {
|
|
2101
|
-
this.set(
|
|
2101
|
+
this.set(target2, key, descriptor.value, null);
|
|
2102
2102
|
}
|
|
2103
|
-
return Reflect.defineProperty(
|
|
2103
|
+
return Reflect.defineProperty(target2, key, descriptor);
|
|
2104
2104
|
}
|
|
2105
2105
|
};
|
|
2106
2106
|
let shouldCacheAccess = true;
|
|
@@ -2861,7 +2861,7 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2861
2861
|
if (rawRef.f) {
|
|
2862
2862
|
const existing = _isString ? hasOwn(setupState, ref2) ? setupState[ref2] : refs[ref2] : ref2.value;
|
|
2863
2863
|
if (isUnmount) {
|
|
2864
|
-
isArray(existing) && remove(existing, refValue);
|
|
2864
|
+
isArray(existing) && remove$1(existing, refValue);
|
|
2865
2865
|
} else {
|
|
2866
2866
|
if (!isArray(existing)) {
|
|
2867
2867
|
if (_isString) {
|
|
@@ -2904,8 +2904,8 @@ function createRenderer(options2) {
|
|
|
2904
2904
|
return baseCreateRenderer(options2);
|
|
2905
2905
|
}
|
|
2906
2906
|
function baseCreateRenderer(options2, createHydrationFns) {
|
|
2907
|
-
const
|
|
2908
|
-
|
|
2907
|
+
const target2 = getGlobalThis();
|
|
2908
|
+
target2.__VUE__ = true;
|
|
2909
2909
|
const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = NOOP, insertStaticContent: hostInsertStaticContent } = options2;
|
|
2910
2910
|
const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
|
|
2911
2911
|
if (n1 === n2) {
|
|
@@ -4187,9 +4187,9 @@ function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
function createAttrsProxy(instance) {
|
|
4189
4189
|
return new Proxy(instance.attrs, {
|
|
4190
|
-
get(
|
|
4190
|
+
get(target2, key) {
|
|
4191
4191
|
track(instance, "get", "$attrs");
|
|
4192
|
-
return
|
|
4192
|
+
return target2[key];
|
|
4193
4193
|
}
|
|
4194
4194
|
});
|
|
4195
4195
|
}
|
|
@@ -4212,15 +4212,15 @@ function createSetupContext(instance) {
|
|
|
4212
4212
|
function getExposeProxy(instance) {
|
|
4213
4213
|
if (instance.exposed) {
|
|
4214
4214
|
return instance.exposeProxy || (instance.exposeProxy = new Proxy(proxyRefs(markRaw(instance.exposed)), {
|
|
4215
|
-
get(
|
|
4216
|
-
if (key in
|
|
4217
|
-
return
|
|
4215
|
+
get(target2, key) {
|
|
4216
|
+
if (key in target2) {
|
|
4217
|
+
return target2[key];
|
|
4218
4218
|
} else if (key in publicPropertiesMap) {
|
|
4219
4219
|
return publicPropertiesMap[key](instance);
|
|
4220
4220
|
}
|
|
4221
4221
|
},
|
|
4222
|
-
has(
|
|
4223
|
-
return key in
|
|
4222
|
+
has(target2, key) {
|
|
4223
|
+
return key in target2 || key in publicPropertiesMap;
|
|
4224
4224
|
}
|
|
4225
4225
|
}));
|
|
4226
4226
|
}
|
|
@@ -4577,10 +4577,10 @@ function onCompositionStart(e2) {
|
|
|
4577
4577
|
e2.target.composing = true;
|
|
4578
4578
|
}
|
|
4579
4579
|
function onCompositionEnd(e2) {
|
|
4580
|
-
const
|
|
4581
|
-
if (
|
|
4582
|
-
|
|
4583
|
-
|
|
4580
|
+
const target2 = e2.target;
|
|
4581
|
+
if (target2.composing) {
|
|
4582
|
+
target2.composing = false;
|
|
4583
|
+
target2.dispatchEvent(new Event("input"));
|
|
4584
4584
|
}
|
|
4585
4585
|
}
|
|
4586
4586
|
const vModelText = {
|
|
@@ -4739,7 +4739,7 @@ function dbg$1() {
|
|
|
4739
4739
|
const sleep = (time) => __async(void 0, null, function* () {
|
|
4740
4740
|
return new Promise((resolve2) => setTimeout(resolve2, time));
|
|
4741
4741
|
});
|
|
4742
|
-
const getCoords$
|
|
4742
|
+
const getCoords$2 = (elem) => {
|
|
4743
4743
|
let box2 = elem.getBoundingClientRect();
|
|
4744
4744
|
return {
|
|
4745
4745
|
top: box2.top + window.pageYOffset,
|
|
@@ -5776,13 +5776,13 @@ function getRoot$1(n) {
|
|
|
5776
5776
|
}
|
|
5777
5777
|
return node;
|
|
5778
5778
|
}
|
|
5779
|
-
function createConfig$2(
|
|
5779
|
+
function createConfig$2(target2 = {}, parent) {
|
|
5780
5780
|
let node = void 0;
|
|
5781
|
-
return new Proxy(
|
|
5781
|
+
return new Proxy(target2, {
|
|
5782
5782
|
get(...args) {
|
|
5783
5783
|
const prop = args[1];
|
|
5784
5784
|
if (prop === "_t")
|
|
5785
|
-
return
|
|
5785
|
+
return target2;
|
|
5786
5786
|
const localValue = Reflect.get(...args);
|
|
5787
5787
|
if (localValue !== void 0)
|
|
5788
5788
|
return localValue;
|
|
@@ -5791,8 +5791,8 @@ function createConfig$2(target = {}, parent) {
|
|
|
5791
5791
|
if (parentVal !== void 0)
|
|
5792
5792
|
return parentVal;
|
|
5793
5793
|
}
|
|
5794
|
-
if (
|
|
5795
|
-
const rootValue =
|
|
5794
|
+
if (target2.rootConfig && typeof prop === "string") {
|
|
5795
|
+
const rootValue = target2.rootConfig[prop];
|
|
5796
5796
|
if (rootValue !== void 0)
|
|
5797
5797
|
return rootValue;
|
|
5798
5798
|
}
|
|
@@ -5805,17 +5805,17 @@ function createConfig$2(target = {}, parent) {
|
|
|
5805
5805
|
const value = args[2];
|
|
5806
5806
|
if (prop === "_n") {
|
|
5807
5807
|
node = value;
|
|
5808
|
-
if (
|
|
5809
|
-
|
|
5808
|
+
if (target2.rootConfig)
|
|
5809
|
+
target2.rootConfig._add(node);
|
|
5810
5810
|
return true;
|
|
5811
5811
|
}
|
|
5812
5812
|
if (prop === "_rmn") {
|
|
5813
|
-
if (
|
|
5814
|
-
|
|
5813
|
+
if (target2.rootConfig)
|
|
5814
|
+
target2.rootConfig._rm(node);
|
|
5815
5815
|
node = void 0;
|
|
5816
5816
|
return true;
|
|
5817
5817
|
}
|
|
5818
|
-
if (!eq$1(
|
|
5818
|
+
if (!eq$1(target2[prop], value, false)) {
|
|
5819
5819
|
const didSet = Reflect.set(...args);
|
|
5820
5820
|
if (node) {
|
|
5821
5821
|
node.emit(`config:${prop}`, value, false);
|
|
@@ -5934,10 +5934,10 @@ function useSteps() {
|
|
|
5934
5934
|
}
|
|
5935
5935
|
if (el) {
|
|
5936
5936
|
var __tempEl__ = document.createElement("input");
|
|
5937
|
-
var
|
|
5937
|
+
var coords2 = getCoords$2(el);
|
|
5938
5938
|
__tempEl__.style.position = "absolute";
|
|
5939
|
-
__tempEl__.style.top =
|
|
5940
|
-
__tempEl__.style.left =
|
|
5939
|
+
__tempEl__.style.top = coords2.top + 7 + "px";
|
|
5940
|
+
__tempEl__.style.left = coords2.left + "px";
|
|
5941
5941
|
__tempEl__.style.height = 0;
|
|
5942
5942
|
__tempEl__.style.opacity = 0;
|
|
5943
5943
|
document.body.appendChild(__tempEl__);
|
|
@@ -6002,6 +6002,10 @@ function useSteps() {
|
|
|
6002
6002
|
})
|
|
6003
6003
|
);
|
|
6004
6004
|
});
|
|
6005
|
+
if (!node.context) {
|
|
6006
|
+
console.warn("No context found for node:", node);
|
|
6007
|
+
return false;
|
|
6008
|
+
}
|
|
6005
6009
|
if (!node.context.state.valid) {
|
|
6006
6010
|
return false;
|
|
6007
6011
|
}
|
|
@@ -6086,10 +6090,10 @@ function useSteps() {
|
|
|
6086
6090
|
return { stepPlugin: stepPlugin2, steps: steps2, stepHistory: stepHistory2, stepQueue: stepQueue2, enabledSteps: enabledSteps2, defaultOrder: defaultOrder2, activeStep: activeStep2, firstStep: firstStep2, lastStep: lastStep2, setStep: setStep2, setStepQueue, setNextStep: setNextStep2, setPreviousStep: setPreviousStep2 };
|
|
6087
6091
|
}
|
|
6088
6092
|
let { prepopPlugin } = usePrepop();
|
|
6089
|
-
let { stepPlugin, steps, stepHistory, stepQueue, enabledSteps, defaultOrder, activeStep, firstStep, lastStep, setStep, setNextStep, setPreviousStep } = useSteps();
|
|
6093
|
+
let { stepPlugin, steps: steps$1, stepHistory, stepQueue, enabledSteps, defaultOrder, activeStep, firstStep, lastStep, setStep, setNextStep, setPreviousStep } = useSteps();
|
|
6090
6094
|
const urlParams$2 = new URLSearchParams(window.location.search);
|
|
6091
6095
|
const dataDefaults = {
|
|
6092
|
-
steps,
|
|
6096
|
+
steps: steps$1,
|
|
6093
6097
|
activeStep,
|
|
6094
6098
|
stepHistory,
|
|
6095
6099
|
stepQueue,
|
|
@@ -6116,7 +6120,7 @@ const dataDefaults = {
|
|
|
6116
6120
|
return setStep({ nextStep, validate: validate2, autoFocus, preStep });
|
|
6117
6121
|
},
|
|
6118
6122
|
stepIsValid: (stepName) => {
|
|
6119
|
-
return steps[stepName].valid && steps[stepName].errorCount === 0;
|
|
6123
|
+
return steps$1[stepName].valid && steps$1[stepName].errorCount === 0;
|
|
6120
6124
|
},
|
|
6121
6125
|
stepIsEnabled: (stepName) => {
|
|
6122
6126
|
if (!enabledSteps().length) {
|
|
@@ -6880,8 +6884,8 @@ function createLedger() {
|
|
|
6880
6884
|
count: (...args) => createCounter(n, ledger, ...args),
|
|
6881
6885
|
init(node) {
|
|
6882
6886
|
n = node;
|
|
6883
|
-
node.on("message-added.deep", add(ledger, 1));
|
|
6884
|
-
node.on("message-removed.deep", add(ledger, -1));
|
|
6887
|
+
node.on("message-added.deep", add$1(ledger, 1));
|
|
6888
|
+
node.on("message-removed.deep", add$1(ledger, -1));
|
|
6885
6889
|
},
|
|
6886
6890
|
merge: (child) => merge(n, ledger, child),
|
|
6887
6891
|
settled(counterName) {
|
|
@@ -6934,7 +6938,7 @@ function count(counter, increment) {
|
|
|
6934
6938
|
counter.node.emit(`count:${counter.name}`, counter.count, false);
|
|
6935
6939
|
return counter;
|
|
6936
6940
|
}
|
|
6937
|
-
function add(ledger, delta) {
|
|
6941
|
+
function add$1(ledger, delta) {
|
|
6938
6942
|
return (e2) => {
|
|
6939
6943
|
for (const name in ledger) {
|
|
6940
6944
|
const counter = ledger[name];
|
|
@@ -7004,11 +7008,11 @@ function configChange(node, prop, value) {
|
|
|
7004
7008
|
}
|
|
7005
7009
|
function createConfig$1(options2 = {}) {
|
|
7006
7010
|
const nodes = /* @__PURE__ */ new Set();
|
|
7007
|
-
const
|
|
7011
|
+
const target2 = __spreadValues(__spreadValues({}, options2), {
|
|
7008
7012
|
_add: (node) => nodes.add(node),
|
|
7009
7013
|
_rm: (node) => nodes.delete(node)
|
|
7010
7014
|
});
|
|
7011
|
-
const rootConfig = new Proxy(
|
|
7015
|
+
const rootConfig = new Proxy(target2, {
|
|
7012
7016
|
set(t2, prop, value, r) {
|
|
7013
7017
|
if (typeof prop === "string") {
|
|
7014
7018
|
nodes.forEach((node) => configChange(node, prop, value));
|
|
@@ -7607,13 +7611,13 @@ function getRoot(n) {
|
|
|
7607
7611
|
}
|
|
7608
7612
|
return node;
|
|
7609
7613
|
}
|
|
7610
|
-
function createConfig(
|
|
7614
|
+
function createConfig(target2 = {}, parent) {
|
|
7611
7615
|
let node = void 0;
|
|
7612
|
-
return new Proxy(
|
|
7616
|
+
return new Proxy(target2, {
|
|
7613
7617
|
get(...args) {
|
|
7614
7618
|
const prop = args[1];
|
|
7615
7619
|
if (prop === "_t")
|
|
7616
|
-
return
|
|
7620
|
+
return target2;
|
|
7617
7621
|
const localValue = Reflect.get(...args);
|
|
7618
7622
|
if (localValue !== void 0)
|
|
7619
7623
|
return localValue;
|
|
@@ -7622,8 +7626,8 @@ function createConfig(target = {}, parent) {
|
|
|
7622
7626
|
if (parentVal !== void 0)
|
|
7623
7627
|
return parentVal;
|
|
7624
7628
|
}
|
|
7625
|
-
if (
|
|
7626
|
-
const rootValue =
|
|
7629
|
+
if (target2.rootConfig && typeof prop === "string") {
|
|
7630
|
+
const rootValue = target2.rootConfig[prop];
|
|
7627
7631
|
if (rootValue !== void 0)
|
|
7628
7632
|
return rootValue;
|
|
7629
7633
|
}
|
|
@@ -7636,17 +7640,17 @@ function createConfig(target = {}, parent) {
|
|
|
7636
7640
|
const value = args[2];
|
|
7637
7641
|
if (prop === "_n") {
|
|
7638
7642
|
node = value;
|
|
7639
|
-
if (
|
|
7640
|
-
|
|
7643
|
+
if (target2.rootConfig)
|
|
7644
|
+
target2.rootConfig._add(node);
|
|
7641
7645
|
return true;
|
|
7642
7646
|
}
|
|
7643
7647
|
if (prop === "_rmn") {
|
|
7644
|
-
if (
|
|
7645
|
-
|
|
7648
|
+
if (target2.rootConfig)
|
|
7649
|
+
target2.rootConfig._rm(node);
|
|
7646
7650
|
node = void 0;
|
|
7647
7651
|
return true;
|
|
7648
7652
|
}
|
|
7649
|
-
if (!eq(
|
|
7653
|
+
if (!eq(target2[prop], value, false)) {
|
|
7650
7654
|
const didSet = Reflect.set(...args);
|
|
7651
7655
|
if (node) {
|
|
7652
7656
|
node.emit(`config:${prop}`, value, false);
|
|
@@ -7721,7 +7725,7 @@ function createProps(initial) {
|
|
|
7721
7725
|
return node.config[prop];
|
|
7722
7726
|
return void 0;
|
|
7723
7727
|
},
|
|
7724
|
-
set(
|
|
7728
|
+
set(target2, property, originalValue, receiver) {
|
|
7725
7729
|
if (property === "_n") {
|
|
7726
7730
|
node = originalValue;
|
|
7727
7731
|
return true;
|
|
@@ -7735,7 +7739,7 @@ function createProps(initial) {
|
|
|
7735
7739
|
value: originalValue
|
|
7736
7740
|
});
|
|
7737
7741
|
if (!eq(props2[prop], value, false) || typeof value === "object") {
|
|
7738
|
-
const didSet = Reflect.set(
|
|
7742
|
+
const didSet = Reflect.set(target2, prop, value, receiver);
|
|
7739
7743
|
if (isEmitting) {
|
|
7740
7744
|
node.emit("prop", { prop, value });
|
|
7741
7745
|
if (typeof prop === "string")
|
|
@@ -8284,7 +8288,7 @@ function shouldSelect(valueA, valueB) {
|
|
|
8284
8288
|
return eq(valueA, valueB);
|
|
8285
8289
|
return false;
|
|
8286
8290
|
}
|
|
8287
|
-
function options(node) {
|
|
8291
|
+
function options$1(node) {
|
|
8288
8292
|
node.hook.prop((prop, next) => {
|
|
8289
8293
|
if (prop.prop === "options") {
|
|
8290
8294
|
if (typeof prop.value === "function") {
|
|
@@ -8919,8 +8923,8 @@ function deferChange(node, e2) {
|
|
|
8919
8923
|
});
|
|
8920
8924
|
}
|
|
8921
8925
|
function selectInput(node, e2) {
|
|
8922
|
-
const
|
|
8923
|
-
const value =
|
|
8926
|
+
const target2 = e2.target;
|
|
8927
|
+
const value = target2.hasAttribute("multiple") ? Array.from(target2.selectedOptions).map((o) => optionValue(node.props.options, o.value)) : optionValue(node.props.options, target2.value);
|
|
8924
8928
|
node.input(value);
|
|
8925
8929
|
}
|
|
8926
8930
|
function applyPlaceholder(options2, placeholder) {
|
|
@@ -9079,7 +9083,7 @@ const checkbox = {
|
|
|
9079
9083
|
family: "box",
|
|
9080
9084
|
props: ["options", "onValue", "offValue", "optionsLoader"],
|
|
9081
9085
|
features: [
|
|
9082
|
-
options,
|
|
9086
|
+
options$1,
|
|
9083
9087
|
checkboxes,
|
|
9084
9088
|
defaultIcon("decorator", "checkboxDecorator")
|
|
9085
9089
|
],
|
|
@@ -9154,7 +9158,7 @@ const radio = {
|
|
|
9154
9158
|
props: ["options", "onValue", "offValue", "optionsLoader"],
|
|
9155
9159
|
features: [
|
|
9156
9160
|
disables,
|
|
9157
|
-
options,
|
|
9161
|
+
options$1,
|
|
9158
9162
|
radios,
|
|
9159
9163
|
defaultIcon("decorator", "radioDecorator")
|
|
9160
9164
|
],
|
|
@@ -9164,7 +9168,7 @@ const select = {
|
|
|
9164
9168
|
schema: outer(wrapper(label("$label"), inner(icon("prefix"), prefix(), selectInput$1($if("$slots.default", () => "$slots.default", $if("$slots.option", optionSlot, option("$option.label")))), $if("$attrs.multiple !== undefined", () => "", icon("select")), suffix(), icon("suffix"))), help("$help"), messages$1(message$1("$message.value"))),
|
|
9165
9169
|
type: "input",
|
|
9166
9170
|
props: ["options", "placeholder", "optionsLoader"],
|
|
9167
|
-
features: [options, select$1, defaultIcon("select", "select")],
|
|
9171
|
+
features: [options$1, select$1, defaultIcon("select", "select")],
|
|
9168
9172
|
schemaMemoKey: "cb119h43krg"
|
|
9169
9173
|
};
|
|
9170
9174
|
const textarea = {
|
|
@@ -10455,7 +10459,7 @@ const memo = {};
|
|
|
10455
10459
|
const memoKeys = {};
|
|
10456
10460
|
let instanceKey;
|
|
10457
10461
|
const instanceScopes = /* @__PURE__ */ new WeakMap();
|
|
10458
|
-
const raw = "__raw__";
|
|
10462
|
+
const raw$1 = "__raw__";
|
|
10459
10463
|
const isClassProp = /[a-zA-Z0-9\-][cC]lass$/;
|
|
10460
10464
|
function getRef(token2, data) {
|
|
10461
10465
|
const value = ref(null);
|
|
@@ -10503,9 +10507,9 @@ function get(nodeRefs, id) {
|
|
|
10503
10507
|
nodeRefs[id] = ref(void 0);
|
|
10504
10508
|
if (nodeRefs[id].value === void 0) {
|
|
10505
10509
|
nodeRefs[id].value = null;
|
|
10506
|
-
const
|
|
10507
|
-
if (
|
|
10508
|
-
nodeRefs[id].value =
|
|
10510
|
+
const root2 = getNode$1(id);
|
|
10511
|
+
if (root2)
|
|
10512
|
+
nodeRefs[id].value = root2.context;
|
|
10509
10513
|
watchRegistry(id, ({ payload: node }) => {
|
|
10510
10514
|
nodeRefs[id].value = isNode(node) ? node.context : node;
|
|
10511
10515
|
});
|
|
@@ -10564,7 +10568,7 @@ function parseSchema(library, schema, memoKey) {
|
|
|
10564
10568
|
const value = unparsedAttrs[attr];
|
|
10565
10569
|
let getValue2;
|
|
10566
10570
|
const isStr = typeof value === "string";
|
|
10567
|
-
if (attr.startsWith(raw)) {
|
|
10571
|
+
if (attr.startsWith(raw$1)) {
|
|
10568
10572
|
attr = attr.substring(7);
|
|
10569
10573
|
getValue2 = () => value;
|
|
10570
10574
|
} else if (isStr && value.startsWith("$") && value.length > 1 && !(value.startsWith("$reset") && isClassProp.test(attr))) {
|
|
@@ -11384,10 +11388,10 @@ const vueBindings = function vueBindings2(node) {
|
|
|
11384
11388
|
const cachedClasses = reactive({});
|
|
11385
11389
|
const classes = new Proxy(cachedClasses, {
|
|
11386
11390
|
get(...args) {
|
|
11387
|
-
const [
|
|
11391
|
+
const [target2, property] = args;
|
|
11388
11392
|
let className = Reflect.get(...args);
|
|
11389
11393
|
if (!className && typeof property === "string") {
|
|
11390
|
-
if (!has(
|
|
11394
|
+
if (!has(target2, property) && !property.startsWith("__v")) {
|
|
11391
11395
|
const observedNode = createObserver(node);
|
|
11392
11396
|
observedNode.watch((node2) => {
|
|
11393
11397
|
const rootClasses = typeof node2.config.rootClasses === "function" ? node2.config.rootClasses(property, node2) : {};
|
|
@@ -11395,7 +11399,7 @@ const vueBindings = function vueBindings2(node) {
|
|
|
11395
11399
|
const classesPropClasses = createClasses(property, node2, node2.props[`_${property}Class`]);
|
|
11396
11400
|
const sectionPropClasses = createClasses(property, node2, node2.props[`${property}Class`]);
|
|
11397
11401
|
className = generateClassList(node2, property, rootClasses, globalConfigClasses, classesPropClasses, sectionPropClasses);
|
|
11398
|
-
|
|
11402
|
+
target2[property] = className !== null && className !== void 0 ? className : "";
|
|
11399
11403
|
});
|
|
11400
11404
|
}
|
|
11401
11405
|
}
|
|
@@ -11665,6 +11669,563 @@ defineComponent({
|
|
|
11665
11669
|
};
|
|
11666
11670
|
}
|
|
11667
11671
|
});
|
|
11672
|
+
const parents = /* @__PURE__ */ new Set();
|
|
11673
|
+
const coords = /* @__PURE__ */ new WeakMap();
|
|
11674
|
+
const siblings = /* @__PURE__ */ new WeakMap();
|
|
11675
|
+
const animations = /* @__PURE__ */ new WeakMap();
|
|
11676
|
+
const intersections = /* @__PURE__ */ new WeakMap();
|
|
11677
|
+
const options = /* @__PURE__ */ new WeakMap();
|
|
11678
|
+
const debounces = /* @__PURE__ */ new WeakMap();
|
|
11679
|
+
const enabled = /* @__PURE__ */ new WeakSet();
|
|
11680
|
+
let root;
|
|
11681
|
+
const TGT = "__aa_tgt";
|
|
11682
|
+
const DEL = "__aa_del";
|
|
11683
|
+
const handleMutations = (mutations) => {
|
|
11684
|
+
const elements = getElements(mutations);
|
|
11685
|
+
if (elements) {
|
|
11686
|
+
elements.forEach((el) => animate(el));
|
|
11687
|
+
}
|
|
11688
|
+
};
|
|
11689
|
+
const handleResizes = (entries) => {
|
|
11690
|
+
entries.forEach((entry) => {
|
|
11691
|
+
if (entry.target === root)
|
|
11692
|
+
updateAllPos();
|
|
11693
|
+
if (coords.has(entry.target))
|
|
11694
|
+
updatePos(entry.target);
|
|
11695
|
+
});
|
|
11696
|
+
};
|
|
11697
|
+
function observePosition(el) {
|
|
11698
|
+
const oldObserver = intersections.get(el);
|
|
11699
|
+
oldObserver === null || oldObserver === void 0 ? void 0 : oldObserver.disconnect();
|
|
11700
|
+
let rect = coords.get(el);
|
|
11701
|
+
let invocations = 0;
|
|
11702
|
+
const buffer = 5;
|
|
11703
|
+
if (!rect) {
|
|
11704
|
+
rect = getCoords$1(el);
|
|
11705
|
+
coords.set(el, rect);
|
|
11706
|
+
}
|
|
11707
|
+
const { offsetWidth, offsetHeight } = root;
|
|
11708
|
+
const rootMargins = [
|
|
11709
|
+
rect.top - buffer,
|
|
11710
|
+
offsetWidth - (rect.left + buffer + rect.width),
|
|
11711
|
+
offsetHeight - (rect.top + buffer + rect.height),
|
|
11712
|
+
rect.left - buffer
|
|
11713
|
+
];
|
|
11714
|
+
const rootMargin = rootMargins.map((px) => `${-1 * Math.floor(px)}px`).join(" ");
|
|
11715
|
+
const observer = new IntersectionObserver(() => {
|
|
11716
|
+
++invocations > 1 && updatePos(el);
|
|
11717
|
+
}, {
|
|
11718
|
+
root,
|
|
11719
|
+
threshold: 1,
|
|
11720
|
+
rootMargin
|
|
11721
|
+
});
|
|
11722
|
+
observer.observe(el);
|
|
11723
|
+
intersections.set(el, observer);
|
|
11724
|
+
}
|
|
11725
|
+
function updatePos(el) {
|
|
11726
|
+
clearTimeout(debounces.get(el));
|
|
11727
|
+
const optionsOrPlugin = getOptions(el);
|
|
11728
|
+
const delay = typeof optionsOrPlugin === "function" ? 500 : optionsOrPlugin.duration;
|
|
11729
|
+
debounces.set(el, setTimeout(() => __async(this, null, function* () {
|
|
11730
|
+
const currentAnimation = animations.get(el);
|
|
11731
|
+
try {
|
|
11732
|
+
yield currentAnimation === null || currentAnimation === void 0 ? void 0 : currentAnimation.finished;
|
|
11733
|
+
coords.set(el, getCoords$1(el));
|
|
11734
|
+
observePosition(el);
|
|
11735
|
+
} catch (e2) {
|
|
11736
|
+
}
|
|
11737
|
+
}), delay));
|
|
11738
|
+
}
|
|
11739
|
+
function updateAllPos() {
|
|
11740
|
+
clearTimeout(debounces.get(root));
|
|
11741
|
+
debounces.set(root, setTimeout(() => {
|
|
11742
|
+
parents.forEach((parent) => forEach(parent, (el) => lowPriority(() => updatePos(el))));
|
|
11743
|
+
}, 100));
|
|
11744
|
+
}
|
|
11745
|
+
function lowPriority(callback) {
|
|
11746
|
+
if (typeof requestIdleCallback === "function") {
|
|
11747
|
+
requestIdleCallback(() => callback());
|
|
11748
|
+
} else {
|
|
11749
|
+
requestAnimationFrame(() => callback());
|
|
11750
|
+
}
|
|
11751
|
+
}
|
|
11752
|
+
let resize;
|
|
11753
|
+
if (typeof window !== "undefined") {
|
|
11754
|
+
root = document.documentElement;
|
|
11755
|
+
new MutationObserver(handleMutations);
|
|
11756
|
+
resize = new ResizeObserver(handleResizes);
|
|
11757
|
+
resize.observe(root);
|
|
11758
|
+
}
|
|
11759
|
+
function getElements(mutations) {
|
|
11760
|
+
const observedNodes = mutations.reduce((nodes, mutation) => {
|
|
11761
|
+
return [
|
|
11762
|
+
...nodes,
|
|
11763
|
+
...Array.from(mutation.addedNodes),
|
|
11764
|
+
...Array.from(mutation.removedNodes)
|
|
11765
|
+
];
|
|
11766
|
+
}, []);
|
|
11767
|
+
const onlyCommentNodesObserved = observedNodes.every((node) => node.nodeName === "#comment");
|
|
11768
|
+
if (onlyCommentNodesObserved)
|
|
11769
|
+
return false;
|
|
11770
|
+
return mutations.reduce((elements, mutation) => {
|
|
11771
|
+
if (elements === false)
|
|
11772
|
+
return false;
|
|
11773
|
+
if (mutation.target instanceof Element) {
|
|
11774
|
+
target(mutation.target);
|
|
11775
|
+
if (!elements.has(mutation.target)) {
|
|
11776
|
+
elements.add(mutation.target);
|
|
11777
|
+
for (let i2 = 0; i2 < mutation.target.children.length; i2++) {
|
|
11778
|
+
const child = mutation.target.children.item(i2);
|
|
11779
|
+
if (!child)
|
|
11780
|
+
continue;
|
|
11781
|
+
if (DEL in child)
|
|
11782
|
+
return false;
|
|
11783
|
+
target(mutation.target, child);
|
|
11784
|
+
elements.add(child);
|
|
11785
|
+
}
|
|
11786
|
+
}
|
|
11787
|
+
if (mutation.removedNodes.length) {
|
|
11788
|
+
for (let i2 = 0; i2 < mutation.removedNodes.length; i2++) {
|
|
11789
|
+
const child = mutation.removedNodes[i2];
|
|
11790
|
+
if (DEL in child)
|
|
11791
|
+
return false;
|
|
11792
|
+
if (child instanceof Element) {
|
|
11793
|
+
elements.add(child);
|
|
11794
|
+
target(mutation.target, child);
|
|
11795
|
+
siblings.set(child, [
|
|
11796
|
+
mutation.previousSibling,
|
|
11797
|
+
mutation.nextSibling
|
|
11798
|
+
]);
|
|
11799
|
+
}
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
}
|
|
11803
|
+
return elements;
|
|
11804
|
+
}, /* @__PURE__ */ new Set());
|
|
11805
|
+
}
|
|
11806
|
+
function target(el, child) {
|
|
11807
|
+
if (!child && !(TGT in el))
|
|
11808
|
+
Object.defineProperty(el, TGT, { value: el });
|
|
11809
|
+
else if (child && !(TGT in child))
|
|
11810
|
+
Object.defineProperty(child, TGT, { value: el });
|
|
11811
|
+
}
|
|
11812
|
+
function animate(el) {
|
|
11813
|
+
var _a;
|
|
11814
|
+
const isMounted = el.isConnected;
|
|
11815
|
+
const preExisting = coords.has(el);
|
|
11816
|
+
if (isMounted && siblings.has(el))
|
|
11817
|
+
siblings.delete(el);
|
|
11818
|
+
if (animations.has(el)) {
|
|
11819
|
+
(_a = animations.get(el)) === null || _a === void 0 ? void 0 : _a.cancel();
|
|
11820
|
+
}
|
|
11821
|
+
if (preExisting && isMounted) {
|
|
11822
|
+
remain(el);
|
|
11823
|
+
} else if (preExisting && !isMounted) {
|
|
11824
|
+
remove(el);
|
|
11825
|
+
} else {
|
|
11826
|
+
add(el);
|
|
11827
|
+
}
|
|
11828
|
+
}
|
|
11829
|
+
function raw(str) {
|
|
11830
|
+
return Number(str.replace(/[^0-9.\-]/g, ""));
|
|
11831
|
+
}
|
|
11832
|
+
function getCoords$1(el) {
|
|
11833
|
+
const rect = el.getBoundingClientRect();
|
|
11834
|
+
return {
|
|
11835
|
+
top: rect.top + window.scrollY,
|
|
11836
|
+
left: rect.left + window.scrollX,
|
|
11837
|
+
width: rect.width,
|
|
11838
|
+
height: rect.height
|
|
11839
|
+
};
|
|
11840
|
+
}
|
|
11841
|
+
function getTransitionSizes(el, oldCoords, newCoords) {
|
|
11842
|
+
let widthFrom = oldCoords.width;
|
|
11843
|
+
let heightFrom = oldCoords.height;
|
|
11844
|
+
let widthTo = newCoords.width;
|
|
11845
|
+
let heightTo = newCoords.height;
|
|
11846
|
+
const styles = getComputedStyle(el);
|
|
11847
|
+
const sizing = styles.getPropertyValue("box-sizing");
|
|
11848
|
+
if (sizing === "content-box") {
|
|
11849
|
+
const paddingY = raw(styles.paddingTop) + raw(styles.paddingBottom) + raw(styles.borderTopWidth) + raw(styles.borderBottomWidth);
|
|
11850
|
+
const paddingX = raw(styles.paddingLeft) + raw(styles.paddingRight) + raw(styles.borderRightWidth) + raw(styles.borderLeftWidth);
|
|
11851
|
+
widthFrom -= paddingX;
|
|
11852
|
+
widthTo -= paddingX;
|
|
11853
|
+
heightFrom -= paddingY;
|
|
11854
|
+
heightTo -= paddingY;
|
|
11855
|
+
}
|
|
11856
|
+
return [widthFrom, widthTo, heightFrom, heightTo].map(Math.round);
|
|
11857
|
+
}
|
|
11858
|
+
function getOptions(el) {
|
|
11859
|
+
return TGT in el && options.has(el[TGT]) ? options.get(el[TGT]) : { duration: 250, easing: "ease-in-out" };
|
|
11860
|
+
}
|
|
11861
|
+
function getTarget(el) {
|
|
11862
|
+
if (TGT in el)
|
|
11863
|
+
return el[TGT];
|
|
11864
|
+
return void 0;
|
|
11865
|
+
}
|
|
11866
|
+
function isEnabled(el) {
|
|
11867
|
+
const target2 = getTarget(el);
|
|
11868
|
+
return target2 ? enabled.has(target2) : false;
|
|
11869
|
+
}
|
|
11870
|
+
function forEach(parent, ...callbacks) {
|
|
11871
|
+
callbacks.forEach((callback) => callback(parent, options.has(parent)));
|
|
11872
|
+
for (let i2 = 0; i2 < parent.children.length; i2++) {
|
|
11873
|
+
const child = parent.children.item(i2);
|
|
11874
|
+
if (child) {
|
|
11875
|
+
callbacks.forEach((callback) => callback(child, options.has(child)));
|
|
11876
|
+
}
|
|
11877
|
+
}
|
|
11878
|
+
}
|
|
11879
|
+
function remain(el) {
|
|
11880
|
+
const oldCoords = coords.get(el);
|
|
11881
|
+
const newCoords = getCoords$1(el);
|
|
11882
|
+
if (!isEnabled(el))
|
|
11883
|
+
return coords.set(el, newCoords);
|
|
11884
|
+
let animation;
|
|
11885
|
+
if (!oldCoords)
|
|
11886
|
+
return;
|
|
11887
|
+
const pluginOrOptions = getOptions(el);
|
|
11888
|
+
if (typeof pluginOrOptions !== "function") {
|
|
11889
|
+
const deltaX = oldCoords.left - newCoords.left;
|
|
11890
|
+
const deltaY = oldCoords.top - newCoords.top;
|
|
11891
|
+
const [widthFrom, widthTo, heightFrom, heightTo] = getTransitionSizes(el, oldCoords, newCoords);
|
|
11892
|
+
const start = {
|
|
11893
|
+
transform: `translate(${deltaX}px, ${deltaY}px)`
|
|
11894
|
+
};
|
|
11895
|
+
const end = {
|
|
11896
|
+
transform: `translate(0, 0)`
|
|
11897
|
+
};
|
|
11898
|
+
if (widthFrom !== widthTo) {
|
|
11899
|
+
start.width = `${widthFrom}px`;
|
|
11900
|
+
end.width = `${widthTo}px`;
|
|
11901
|
+
}
|
|
11902
|
+
if (heightFrom !== heightTo) {
|
|
11903
|
+
start.height = `${heightFrom}px`;
|
|
11904
|
+
end.height = `${heightTo}px`;
|
|
11905
|
+
}
|
|
11906
|
+
animation = el.animate([start, end], {
|
|
11907
|
+
duration: pluginOrOptions.duration,
|
|
11908
|
+
easing: pluginOrOptions.easing
|
|
11909
|
+
});
|
|
11910
|
+
} else {
|
|
11911
|
+
animation = new Animation(pluginOrOptions(el, "remain", oldCoords, newCoords));
|
|
11912
|
+
animation.play();
|
|
11913
|
+
}
|
|
11914
|
+
animations.set(el, animation);
|
|
11915
|
+
coords.set(el, newCoords);
|
|
11916
|
+
animation.addEventListener("finish", updatePos.bind(null, el));
|
|
11917
|
+
}
|
|
11918
|
+
function add(el) {
|
|
11919
|
+
const newCoords = getCoords$1(el);
|
|
11920
|
+
coords.set(el, newCoords);
|
|
11921
|
+
const pluginOrOptions = getOptions(el);
|
|
11922
|
+
if (!isEnabled(el))
|
|
11923
|
+
return;
|
|
11924
|
+
let animation;
|
|
11925
|
+
if (typeof pluginOrOptions !== "function") {
|
|
11926
|
+
animation = el.animate([
|
|
11927
|
+
{ transform: "scale(.98)", opacity: 0 },
|
|
11928
|
+
{ transform: "scale(0.98)", opacity: 0, offset: 0.5 },
|
|
11929
|
+
{ transform: "scale(1)", opacity: 1 }
|
|
11930
|
+
], {
|
|
11931
|
+
duration: pluginOrOptions.duration * 1.5,
|
|
11932
|
+
easing: "ease-in"
|
|
11933
|
+
});
|
|
11934
|
+
} else {
|
|
11935
|
+
animation = new Animation(pluginOrOptions(el, "add", newCoords));
|
|
11936
|
+
animation.play();
|
|
11937
|
+
}
|
|
11938
|
+
animations.set(el, animation);
|
|
11939
|
+
animation.addEventListener("finish", updatePos.bind(null, el));
|
|
11940
|
+
}
|
|
11941
|
+
function remove(el) {
|
|
11942
|
+
var _a;
|
|
11943
|
+
if (!siblings.has(el) || !coords.has(el))
|
|
11944
|
+
return;
|
|
11945
|
+
const [prev, next] = siblings.get(el);
|
|
11946
|
+
Object.defineProperty(el, DEL, { value: true });
|
|
11947
|
+
if (next && next.parentNode && next.parentNode instanceof Element) {
|
|
11948
|
+
next.parentNode.insertBefore(el, next);
|
|
11949
|
+
} else if (prev && prev.parentNode) {
|
|
11950
|
+
prev.parentNode.appendChild(el);
|
|
11951
|
+
} else {
|
|
11952
|
+
(_a = getTarget(el)) === null || _a === void 0 ? void 0 : _a.appendChild(el);
|
|
11953
|
+
}
|
|
11954
|
+
function cleanUp() {
|
|
11955
|
+
var _a2;
|
|
11956
|
+
el.remove();
|
|
11957
|
+
coords.delete(el);
|
|
11958
|
+
siblings.delete(el);
|
|
11959
|
+
animations.delete(el);
|
|
11960
|
+
(_a2 = intersections.get(el)) === null || _a2 === void 0 ? void 0 : _a2.disconnect();
|
|
11961
|
+
}
|
|
11962
|
+
if (!isEnabled(el))
|
|
11963
|
+
return cleanUp();
|
|
11964
|
+
const [top, left, width, height] = deletePosition(el);
|
|
11965
|
+
const optionsOrPlugin = getOptions(el);
|
|
11966
|
+
const oldCoords = coords.get(el);
|
|
11967
|
+
let animation;
|
|
11968
|
+
Object.assign(el.style, {
|
|
11969
|
+
position: "absolute",
|
|
11970
|
+
top: `${top}px`,
|
|
11971
|
+
left: `${left}px`,
|
|
11972
|
+
width: `${width}px`,
|
|
11973
|
+
height: `${height}px`,
|
|
11974
|
+
margin: 0,
|
|
11975
|
+
pointerEvents: "none",
|
|
11976
|
+
transformOrigin: "center",
|
|
11977
|
+
zIndex: 100
|
|
11978
|
+
});
|
|
11979
|
+
if (typeof optionsOrPlugin !== "function") {
|
|
11980
|
+
animation = el.animate([
|
|
11981
|
+
{
|
|
11982
|
+
transform: "scale(1)",
|
|
11983
|
+
opacity: 1
|
|
11984
|
+
},
|
|
11985
|
+
{
|
|
11986
|
+
transform: "scale(.98)",
|
|
11987
|
+
opacity: 0
|
|
11988
|
+
}
|
|
11989
|
+
], { duration: optionsOrPlugin.duration, easing: "ease-out" });
|
|
11990
|
+
} else {
|
|
11991
|
+
animation = new Animation(optionsOrPlugin(el, "remove", oldCoords));
|
|
11992
|
+
animation.play();
|
|
11993
|
+
}
|
|
11994
|
+
animations.set(el, animation);
|
|
11995
|
+
animation.addEventListener("finish", cleanUp);
|
|
11996
|
+
}
|
|
11997
|
+
function deletePosition(el) {
|
|
11998
|
+
const oldCoords = coords.get(el);
|
|
11999
|
+
const [width, , height] = getTransitionSizes(el, oldCoords, getCoords$1(el));
|
|
12000
|
+
let offsetParent = el.parentElement;
|
|
12001
|
+
while (offsetParent && (getComputedStyle(offsetParent).position === "static" || offsetParent instanceof HTMLBodyElement)) {
|
|
12002
|
+
offsetParent = offsetParent.parentElement;
|
|
12003
|
+
}
|
|
12004
|
+
if (!offsetParent)
|
|
12005
|
+
offsetParent = document.body;
|
|
12006
|
+
const parentStyles = getComputedStyle(offsetParent);
|
|
12007
|
+
const parentCoords = coords.get(offsetParent) || getCoords$1(offsetParent);
|
|
12008
|
+
const top = Math.round(oldCoords.top - parentCoords.top) - raw(parentStyles.borderTopWidth);
|
|
12009
|
+
const left = Math.round(oldCoords.left - parentCoords.left) - raw(parentStyles.borderLeftWidth);
|
|
12010
|
+
return [top, left, width, height];
|
|
12011
|
+
}
|
|
12012
|
+
const badge = createSection("badge", () => ({
|
|
12013
|
+
$el: "span",
|
|
12014
|
+
attrs: {
|
|
12015
|
+
role: "presentation"
|
|
12016
|
+
}
|
|
12017
|
+
}));
|
|
12018
|
+
const stepActions = createSection("stepActions", () => ({
|
|
12019
|
+
$el: "div"
|
|
12020
|
+
}));
|
|
12021
|
+
const stepInner = createSection("stepInner", "div");
|
|
12022
|
+
const stepNext = createSection("stepNext", () => ({
|
|
12023
|
+
$el: "div",
|
|
12024
|
+
if: "$isLastStep === false",
|
|
12025
|
+
children: [
|
|
12026
|
+
{
|
|
12027
|
+
$cmp: "FormKit",
|
|
12028
|
+
bind: "$nextAttrs",
|
|
12029
|
+
props: {
|
|
12030
|
+
type: "button",
|
|
12031
|
+
label: {
|
|
12032
|
+
if: "$nextLabel",
|
|
12033
|
+
then: "$nextLabel",
|
|
12034
|
+
else: "$ui.next.value"
|
|
12035
|
+
},
|
|
12036
|
+
"data-next": "$isLastStep === false",
|
|
12037
|
+
onClick: "$handlers.next"
|
|
12038
|
+
}
|
|
12039
|
+
}
|
|
12040
|
+
]
|
|
12041
|
+
}));
|
|
12042
|
+
const stepOuter = createSection("stepOuter", () => ({
|
|
12043
|
+
$el: "div",
|
|
12044
|
+
attrs: {
|
|
12045
|
+
key: "$id",
|
|
12046
|
+
"data-type": "step",
|
|
12047
|
+
"data-disabled": "$disabled || undefined",
|
|
12048
|
+
"data-complete": "$state.complete || undefined",
|
|
12049
|
+
"data-invalid": "$state.valid === false && $state.validationVisible || undefined",
|
|
12050
|
+
"data-errors": "$state.errors || undefined",
|
|
12051
|
+
"data-submitted": "$state.submitted || undefined",
|
|
12052
|
+
id: "$id",
|
|
12053
|
+
role: "tabpanel",
|
|
12054
|
+
"aria-labelledby": '$node.parent.props.id + "_tab_" + $stepIndex',
|
|
12055
|
+
class: "$classes.step",
|
|
12056
|
+
hidden: "$isActiveStep === false || undefined"
|
|
12057
|
+
}
|
|
12058
|
+
}));
|
|
12059
|
+
const stepPrevious = createSection("stepPrevious", () => ({
|
|
12060
|
+
$el: "div",
|
|
12061
|
+
if: "$isFirstStep === false",
|
|
12062
|
+
children: [
|
|
12063
|
+
{
|
|
12064
|
+
$cmp: "FormKit",
|
|
12065
|
+
bind: "$previousAttrs",
|
|
12066
|
+
props: {
|
|
12067
|
+
type: "button",
|
|
12068
|
+
label: {
|
|
12069
|
+
if: "$previousLabel",
|
|
12070
|
+
then: "$previousLabel",
|
|
12071
|
+
else: "$ui.prev.value"
|
|
12072
|
+
},
|
|
12073
|
+
"data-prev": "$isFirstStep === false",
|
|
12074
|
+
onClick: "$handlers.previous"
|
|
12075
|
+
}
|
|
12076
|
+
}
|
|
12077
|
+
]
|
|
12078
|
+
}));
|
|
12079
|
+
const steps = createSection("steps", () => ({
|
|
12080
|
+
$el: "div"
|
|
12081
|
+
}));
|
|
12082
|
+
const stepIcon = (sectionKey, el) => {
|
|
12083
|
+
return createSection(`${sectionKey}Icon`, () => {
|
|
12084
|
+
const rawIconProp = `_raw${sectionKey.charAt(0).toUpperCase()}${sectionKey.slice(1)}Icon`;
|
|
12085
|
+
return {
|
|
12086
|
+
if: `$step.${sectionKey}Icon && $step.${rawIconProp}`,
|
|
12087
|
+
then: {
|
|
12088
|
+
$el: `${el ? el : "span"}`,
|
|
12089
|
+
attrs: {
|
|
12090
|
+
class: `$classes.${sectionKey}Icon + " formkit-icon"`,
|
|
12091
|
+
innerHTML: `$step.${rawIconProp}`,
|
|
12092
|
+
role: "presentation",
|
|
12093
|
+
onClick: `$handlers.iconClick(${sectionKey})`
|
|
12094
|
+
}
|
|
12095
|
+
},
|
|
12096
|
+
else: {
|
|
12097
|
+
if: `$${sectionKey}Icon && $${rawIconProp}`,
|
|
12098
|
+
then: {
|
|
12099
|
+
$el: `${el ? el : "span"}`,
|
|
12100
|
+
attrs: {
|
|
12101
|
+
class: `$classes.${sectionKey}Icon + " formkit-icon"`,
|
|
12102
|
+
innerHTML: `$${rawIconProp}`,
|
|
12103
|
+
role: "presentation",
|
|
12104
|
+
onClick: `$handlers.iconClick(${sectionKey})`
|
|
12105
|
+
}
|
|
12106
|
+
}
|
|
12107
|
+
}
|
|
12108
|
+
};
|
|
12109
|
+
})();
|
|
12110
|
+
};
|
|
12111
|
+
const tab = createSection("tab", () => ({
|
|
12112
|
+
$el: "button",
|
|
12113
|
+
for: ["step", "index", "$steps"],
|
|
12114
|
+
attrs: {
|
|
12115
|
+
type: "button",
|
|
12116
|
+
onClick: "$step.makeActive",
|
|
12117
|
+
"data-active": "$step.isActiveStep",
|
|
12118
|
+
"data-valid": "$step.isValid",
|
|
12119
|
+
"data-visited": "$step.hasBeenVisited",
|
|
12120
|
+
role: "tab",
|
|
12121
|
+
id: '$id + "_tab_" + $index',
|
|
12122
|
+
"aria-selected": "$step.isActiveStep || false",
|
|
12123
|
+
"aria-controls": "$step.id",
|
|
12124
|
+
tabindex: {
|
|
12125
|
+
if: "$step.isActiveStep",
|
|
12126
|
+
then: "0",
|
|
12127
|
+
else: "-1"
|
|
12128
|
+
},
|
|
12129
|
+
style: {
|
|
12130
|
+
if: "$step.ordered",
|
|
12131
|
+
then: "",
|
|
12132
|
+
else: "display: none"
|
|
12133
|
+
}
|
|
12134
|
+
}
|
|
12135
|
+
}));
|
|
12136
|
+
const tabLabel = createSection("tabLabel", () => ({
|
|
12137
|
+
$el: "span"
|
|
12138
|
+
}));
|
|
12139
|
+
const tabs = createSection("tabs", () => ({
|
|
12140
|
+
$el: "div",
|
|
12141
|
+
attrs: {
|
|
12142
|
+
role: "tablist"
|
|
12143
|
+
}
|
|
12144
|
+
}));
|
|
12145
|
+
const multiStepOuter = createSection("multiStepOuter", () => ({
|
|
12146
|
+
$el: "div",
|
|
12147
|
+
attrs: {
|
|
12148
|
+
key: "$id",
|
|
12149
|
+
id: "$id",
|
|
12150
|
+
class: "$classes.outer",
|
|
12151
|
+
"data-family": "$family || undefined",
|
|
12152
|
+
"data-type": "$type",
|
|
12153
|
+
"data-multiple": '$attrs.multiple || ($type != "select" && $options != undefined) || undefined',
|
|
12154
|
+
"data-disabled": "$disabled || undefined",
|
|
12155
|
+
"data-complete": "$state.complete || undefined",
|
|
12156
|
+
"data-invalid": "$state.valid === false && $state.validationVisible || undefined",
|
|
12157
|
+
"data-errors": "$state.errors || undefined",
|
|
12158
|
+
"data-submitted": "$state.submitted || undefined"
|
|
12159
|
+
}
|
|
12160
|
+
}));
|
|
12161
|
+
({
|
|
12162
|
+
schema: multiStepOuter($extend(wrapper(tabs(tab($if('$tabStyle === "tab" || ($tabStyle === "progress" && $hideProgressLabels === false)', tabLabel("$step.stepName")), $if("($step.totalErrorCount > 0) && $step.showStepErrors", badge("$step.totalErrorCount")), $if("$step.isValid && $step.hasBeenVisited", badge(stepIcon("validStep"))))), steps("$slots.default")), {
|
|
12163
|
+
attrs: {
|
|
12164
|
+
"data-tab-style": "$tabStyle",
|
|
12165
|
+
"data-hide-labels": "$hideProgressLabels"
|
|
12166
|
+
}
|
|
12167
|
+
})),
|
|
12168
|
+
type: "group",
|
|
12169
|
+
family: "multi-step",
|
|
12170
|
+
props: [
|
|
12171
|
+
"allowIncomplete",
|
|
12172
|
+
"hideProgressLabels",
|
|
12173
|
+
"tabStyle",
|
|
12174
|
+
"beforeStepChange",
|
|
12175
|
+
"validStepIcon"
|
|
12176
|
+
],
|
|
12177
|
+
features: [defaultIcon("validStep", "check")]
|
|
12178
|
+
});
|
|
12179
|
+
({
|
|
12180
|
+
schema: stepOuter(stepInner("$slots.default"), stepActions(stepPrevious(), stepNext())),
|
|
12181
|
+
type: "group",
|
|
12182
|
+
family: "",
|
|
12183
|
+
props: [
|
|
12184
|
+
"previousLabel",
|
|
12185
|
+
"nextLabel",
|
|
12186
|
+
"beforeStepChange",
|
|
12187
|
+
"previousAttrs",
|
|
12188
|
+
"nextAttrs",
|
|
12189
|
+
"validStepIcon"
|
|
12190
|
+
],
|
|
12191
|
+
features: [localize$2("next"), localize$2("prev")]
|
|
12192
|
+
});
|
|
12193
|
+
function createLocalStoragePlugin(LocalStorageOptions) {
|
|
12194
|
+
const localStoragePlugin = (node) => {
|
|
12195
|
+
if (node.props.type !== "form")
|
|
12196
|
+
return;
|
|
12197
|
+
node.addProps(["useLocalStorage"]);
|
|
12198
|
+
node.on("created", () => {
|
|
12199
|
+
var _a, _b;
|
|
12200
|
+
const useLocalStorage = undefine(node.props.useLocalStorage);
|
|
12201
|
+
if (!useLocalStorage)
|
|
12202
|
+
return;
|
|
12203
|
+
const prefix2 = (_a = LocalStorageOptions === null || LocalStorageOptions === void 0 ? void 0 : LocalStorageOptions.prefix) !== null && _a !== void 0 ? _a : "formkit";
|
|
12204
|
+
const maxAge = (_b = LocalStorageOptions === null || LocalStorageOptions === void 0 ? void 0 : LocalStorageOptions.maxAge) !== null && _b !== void 0 ? _b : 36e5;
|
|
12205
|
+
const key = `${prefix2}-${node.name}`;
|
|
12206
|
+
const value = localStorage.getItem(key);
|
|
12207
|
+
if (value) {
|
|
12208
|
+
const localStorageValue = JSON.parse(value);
|
|
12209
|
+
if (localStorageValue.maxAge > Date.now()) {
|
|
12210
|
+
node.input(localStorageValue.data);
|
|
12211
|
+
} else {
|
|
12212
|
+
localStorage.removeItem(key);
|
|
12213
|
+
}
|
|
12214
|
+
}
|
|
12215
|
+
node.on("commit", ({ payload }) => {
|
|
12216
|
+
localStorage.setItem(key, JSON.stringify({
|
|
12217
|
+
maxAge: Date.now() + maxAge,
|
|
12218
|
+
data: payload
|
|
12219
|
+
}));
|
|
12220
|
+
});
|
|
12221
|
+
node.hook.submit((payload, next) => {
|
|
12222
|
+
localStorage.removeItem(key);
|
|
12223
|
+
return next(payload);
|
|
12224
|
+
});
|
|
12225
|
+
});
|
|
12226
|
+
};
|
|
12227
|
+
return localStoragePlugin;
|
|
12228
|
+
}
|
|
11668
12229
|
var createPlugin$2 = {};
|
|
11669
12230
|
var createPlugin$1 = {};
|
|
11670
12231
|
(function(exports) {
|
|
@@ -13907,16 +14468,16 @@ function cleanEscapedString$1(input2) {
|
|
|
13907
14468
|
}
|
|
13908
14469
|
return matched[1].replace(doubleQuoteRegExp$1, "'");
|
|
13909
14470
|
}
|
|
13910
|
-
function assign(
|
|
13911
|
-
if (
|
|
14471
|
+
function assign(target2, object) {
|
|
14472
|
+
if (target2 == null) {
|
|
13912
14473
|
throw new TypeError("assign requires that input parameter not be null or undefined");
|
|
13913
14474
|
}
|
|
13914
14475
|
for (var property in object) {
|
|
13915
14476
|
if (Object.prototype.hasOwnProperty.call(object, property)) {
|
|
13916
|
-
|
|
14477
|
+
target2[property] = object[property];
|
|
13917
14478
|
}
|
|
13918
14479
|
}
|
|
13919
|
-
return
|
|
14480
|
+
return target2;
|
|
13920
14481
|
}
|
|
13921
14482
|
function getDaysInMonth(dirtyDate) {
|
|
13922
14483
|
requiredArgs(1, arguments);
|
|
@@ -14030,14 +14591,14 @@ function _classCallCheck$w(instance, Constructor) {
|
|
|
14030
14591
|
throw new TypeError("Cannot call a class as a function");
|
|
14031
14592
|
}
|
|
14032
14593
|
}
|
|
14033
|
-
function _defineProperties$w(
|
|
14594
|
+
function _defineProperties$w(target2, props2) {
|
|
14034
14595
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14035
14596
|
var descriptor = props2[i2];
|
|
14036
14597
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14037
14598
|
descriptor.configurable = true;
|
|
14038
14599
|
if ("value" in descriptor)
|
|
14039
14600
|
descriptor.writable = true;
|
|
14040
|
-
Object.defineProperty(
|
|
14601
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14041
14602
|
}
|
|
14042
14603
|
}
|
|
14043
14604
|
function _createClass$w(Constructor, protoProps, staticProps) {
|
|
@@ -14131,14 +14692,14 @@ function _classCallCheck$v(instance, Constructor) {
|
|
|
14131
14692
|
throw new TypeError("Cannot call a class as a function");
|
|
14132
14693
|
}
|
|
14133
14694
|
}
|
|
14134
|
-
function _defineProperties$v(
|
|
14695
|
+
function _defineProperties$v(target2, props2) {
|
|
14135
14696
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14136
14697
|
var descriptor = props2[i2];
|
|
14137
14698
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14138
14699
|
descriptor.configurable = true;
|
|
14139
14700
|
if ("value" in descriptor)
|
|
14140
14701
|
descriptor.writable = true;
|
|
14141
|
-
Object.defineProperty(
|
|
14702
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14142
14703
|
}
|
|
14143
14704
|
}
|
|
14144
14705
|
function _createClass$v(Constructor, protoProps, staticProps) {
|
|
@@ -14190,14 +14751,14 @@ function _classCallCheck$u(instance, Constructor) {
|
|
|
14190
14751
|
throw new TypeError("Cannot call a class as a function");
|
|
14191
14752
|
}
|
|
14192
14753
|
}
|
|
14193
|
-
function _defineProperties$u(
|
|
14754
|
+
function _defineProperties$u(target2, props2) {
|
|
14194
14755
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14195
14756
|
var descriptor = props2[i2];
|
|
14196
14757
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14197
14758
|
descriptor.configurable = true;
|
|
14198
14759
|
if ("value" in descriptor)
|
|
14199
14760
|
descriptor.writable = true;
|
|
14200
|
-
Object.defineProperty(
|
|
14761
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14201
14762
|
}
|
|
14202
14763
|
}
|
|
14203
14764
|
function _createClass$u(Constructor, protoProps, staticProps) {
|
|
@@ -14478,14 +15039,14 @@ function _classCallCheck$t(instance, Constructor) {
|
|
|
14478
15039
|
throw new TypeError("Cannot call a class as a function");
|
|
14479
15040
|
}
|
|
14480
15041
|
}
|
|
14481
|
-
function _defineProperties$t(
|
|
15042
|
+
function _defineProperties$t(target2, props2) {
|
|
14482
15043
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14483
15044
|
var descriptor = props2[i2];
|
|
14484
15045
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14485
15046
|
descriptor.configurable = true;
|
|
14486
15047
|
if ("value" in descriptor)
|
|
14487
15048
|
descriptor.writable = true;
|
|
14488
|
-
Object.defineProperty(
|
|
15049
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14489
15050
|
}
|
|
14490
15051
|
}
|
|
14491
15052
|
function _createClass$t(Constructor, protoProps, staticProps) {
|
|
@@ -14639,14 +15200,14 @@ function _classCallCheck$s(instance, Constructor) {
|
|
|
14639
15200
|
throw new TypeError("Cannot call a class as a function");
|
|
14640
15201
|
}
|
|
14641
15202
|
}
|
|
14642
|
-
function _defineProperties$s(
|
|
15203
|
+
function _defineProperties$s(target2, props2) {
|
|
14643
15204
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14644
15205
|
var descriptor = props2[i2];
|
|
14645
15206
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14646
15207
|
descriptor.configurable = true;
|
|
14647
15208
|
if ("value" in descriptor)
|
|
14648
15209
|
descriptor.writable = true;
|
|
14649
|
-
Object.defineProperty(
|
|
15210
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14650
15211
|
}
|
|
14651
15212
|
}
|
|
14652
15213
|
function _createClass$s(Constructor, protoProps, staticProps) {
|
|
@@ -14800,14 +15361,14 @@ function _classCallCheck$r(instance, Constructor) {
|
|
|
14800
15361
|
throw new TypeError("Cannot call a class as a function");
|
|
14801
15362
|
}
|
|
14802
15363
|
}
|
|
14803
|
-
function _defineProperties$r(
|
|
15364
|
+
function _defineProperties$r(target2, props2) {
|
|
14804
15365
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14805
15366
|
var descriptor = props2[i2];
|
|
14806
15367
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14807
15368
|
descriptor.configurable = true;
|
|
14808
15369
|
if ("value" in descriptor)
|
|
14809
15370
|
descriptor.writable = true;
|
|
14810
|
-
Object.defineProperty(
|
|
15371
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14811
15372
|
}
|
|
14812
15373
|
}
|
|
14813
15374
|
function _createClass$r(Constructor, protoProps, staticProps) {
|
|
@@ -14937,14 +15498,14 @@ function _classCallCheck$q(instance, Constructor) {
|
|
|
14937
15498
|
throw new TypeError("Cannot call a class as a function");
|
|
14938
15499
|
}
|
|
14939
15500
|
}
|
|
14940
|
-
function _defineProperties$q(
|
|
15501
|
+
function _defineProperties$q(target2, props2) {
|
|
14941
15502
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
14942
15503
|
var descriptor = props2[i2];
|
|
14943
15504
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
14944
15505
|
descriptor.configurable = true;
|
|
14945
15506
|
if ("value" in descriptor)
|
|
14946
15507
|
descriptor.writable = true;
|
|
14947
|
-
Object.defineProperty(
|
|
15508
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
14948
15509
|
}
|
|
14949
15510
|
}
|
|
14950
15511
|
function _createClass$q(Constructor, protoProps, staticProps) {
|
|
@@ -15073,14 +15634,14 @@ function _classCallCheck$p(instance, Constructor) {
|
|
|
15073
15634
|
throw new TypeError("Cannot call a class as a function");
|
|
15074
15635
|
}
|
|
15075
15636
|
}
|
|
15076
|
-
function _defineProperties$p(
|
|
15637
|
+
function _defineProperties$p(target2, props2) {
|
|
15077
15638
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15078
15639
|
var descriptor = props2[i2];
|
|
15079
15640
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15080
15641
|
descriptor.configurable = true;
|
|
15081
15642
|
if ("value" in descriptor)
|
|
15082
15643
|
descriptor.writable = true;
|
|
15083
|
-
Object.defineProperty(
|
|
15644
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15084
15645
|
}
|
|
15085
15646
|
}
|
|
15086
15647
|
function _createClass$p(Constructor, protoProps, staticProps) {
|
|
@@ -15244,14 +15805,14 @@ function _classCallCheck$o(instance, Constructor) {
|
|
|
15244
15805
|
throw new TypeError("Cannot call a class as a function");
|
|
15245
15806
|
}
|
|
15246
15807
|
}
|
|
15247
|
-
function _defineProperties$o(
|
|
15808
|
+
function _defineProperties$o(target2, props2) {
|
|
15248
15809
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15249
15810
|
var descriptor = props2[i2];
|
|
15250
15811
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15251
15812
|
descriptor.configurable = true;
|
|
15252
15813
|
if ("value" in descriptor)
|
|
15253
15814
|
descriptor.writable = true;
|
|
15254
|
-
Object.defineProperty(
|
|
15815
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15255
15816
|
}
|
|
15256
15817
|
}
|
|
15257
15818
|
function _createClass$o(Constructor, protoProps, staticProps) {
|
|
@@ -15415,14 +15976,14 @@ function _classCallCheck$n(instance, Constructor) {
|
|
|
15415
15976
|
throw new TypeError("Cannot call a class as a function");
|
|
15416
15977
|
}
|
|
15417
15978
|
}
|
|
15418
|
-
function _defineProperties$n(
|
|
15979
|
+
function _defineProperties$n(target2, props2) {
|
|
15419
15980
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15420
15981
|
var descriptor = props2[i2];
|
|
15421
15982
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15422
15983
|
descriptor.configurable = true;
|
|
15423
15984
|
if ("value" in descriptor)
|
|
15424
15985
|
descriptor.writable = true;
|
|
15425
|
-
Object.defineProperty(
|
|
15986
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15426
15987
|
}
|
|
15427
15988
|
}
|
|
15428
15989
|
function _createClass$n(Constructor, protoProps, staticProps) {
|
|
@@ -15590,14 +16151,14 @@ function _classCallCheck$m(instance, Constructor) {
|
|
|
15590
16151
|
throw new TypeError("Cannot call a class as a function");
|
|
15591
16152
|
}
|
|
15592
16153
|
}
|
|
15593
|
-
function _defineProperties$m(
|
|
16154
|
+
function _defineProperties$m(target2, props2) {
|
|
15594
16155
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15595
16156
|
var descriptor = props2[i2];
|
|
15596
16157
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15597
16158
|
descriptor.configurable = true;
|
|
15598
16159
|
if ("value" in descriptor)
|
|
15599
16160
|
descriptor.writable = true;
|
|
15600
|
-
Object.defineProperty(
|
|
16161
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15601
16162
|
}
|
|
15602
16163
|
}
|
|
15603
16164
|
function _createClass$m(Constructor, protoProps, staticProps) {
|
|
@@ -15773,14 +16334,14 @@ function _classCallCheck$l(instance, Constructor) {
|
|
|
15773
16334
|
throw new TypeError("Cannot call a class as a function");
|
|
15774
16335
|
}
|
|
15775
16336
|
}
|
|
15776
|
-
function _defineProperties$l(
|
|
16337
|
+
function _defineProperties$l(target2, props2) {
|
|
15777
16338
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15778
16339
|
var descriptor = props2[i2];
|
|
15779
16340
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15780
16341
|
descriptor.configurable = true;
|
|
15781
16342
|
if ("value" in descriptor)
|
|
15782
16343
|
descriptor.writable = true;
|
|
15783
|
-
Object.defineProperty(
|
|
16344
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15784
16345
|
}
|
|
15785
16346
|
}
|
|
15786
16347
|
function _createClass$l(Constructor, protoProps, staticProps) {
|
|
@@ -15926,14 +16487,14 @@ function _classCallCheck$k(instance, Constructor) {
|
|
|
15926
16487
|
throw new TypeError("Cannot call a class as a function");
|
|
15927
16488
|
}
|
|
15928
16489
|
}
|
|
15929
|
-
function _defineProperties$k(
|
|
16490
|
+
function _defineProperties$k(target2, props2) {
|
|
15930
16491
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
15931
16492
|
var descriptor = props2[i2];
|
|
15932
16493
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
15933
16494
|
descriptor.configurable = true;
|
|
15934
16495
|
if ("value" in descriptor)
|
|
15935
16496
|
descriptor.writable = true;
|
|
15936
|
-
Object.defineProperty(
|
|
16497
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
15937
16498
|
}
|
|
15938
16499
|
}
|
|
15939
16500
|
function _createClass$k(Constructor, protoProps, staticProps) {
|
|
@@ -16071,14 +16632,14 @@ function _classCallCheck$j(instance, Constructor) {
|
|
|
16071
16632
|
throw new TypeError("Cannot call a class as a function");
|
|
16072
16633
|
}
|
|
16073
16634
|
}
|
|
16074
|
-
function _defineProperties$j(
|
|
16635
|
+
function _defineProperties$j(target2, props2) {
|
|
16075
16636
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16076
16637
|
var descriptor = props2[i2];
|
|
16077
16638
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16078
16639
|
descriptor.configurable = true;
|
|
16079
16640
|
if ("value" in descriptor)
|
|
16080
16641
|
descriptor.writable = true;
|
|
16081
|
-
Object.defineProperty(
|
|
16642
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16082
16643
|
}
|
|
16083
16644
|
}
|
|
16084
16645
|
function _createClass$j(Constructor, protoProps, staticProps) {
|
|
@@ -16228,14 +16789,14 @@ function _classCallCheck$i(instance, Constructor) {
|
|
|
16228
16789
|
throw new TypeError("Cannot call a class as a function");
|
|
16229
16790
|
}
|
|
16230
16791
|
}
|
|
16231
|
-
function _defineProperties$i(
|
|
16792
|
+
function _defineProperties$i(target2, props2) {
|
|
16232
16793
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16233
16794
|
var descriptor = props2[i2];
|
|
16234
16795
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16235
16796
|
descriptor.configurable = true;
|
|
16236
16797
|
if ("value" in descriptor)
|
|
16237
16798
|
descriptor.writable = true;
|
|
16238
|
-
Object.defineProperty(
|
|
16799
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16239
16800
|
}
|
|
16240
16801
|
}
|
|
16241
16802
|
function _createClass$i(Constructor, protoProps, staticProps) {
|
|
@@ -16400,14 +16961,14 @@ function _classCallCheck$h(instance, Constructor) {
|
|
|
16400
16961
|
throw new TypeError("Cannot call a class as a function");
|
|
16401
16962
|
}
|
|
16402
16963
|
}
|
|
16403
|
-
function _defineProperties$h(
|
|
16964
|
+
function _defineProperties$h(target2, props2) {
|
|
16404
16965
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16405
16966
|
var descriptor = props2[i2];
|
|
16406
16967
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16407
16968
|
descriptor.configurable = true;
|
|
16408
16969
|
if ("value" in descriptor)
|
|
16409
16970
|
descriptor.writable = true;
|
|
16410
|
-
Object.defineProperty(
|
|
16971
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16411
16972
|
}
|
|
16412
16973
|
}
|
|
16413
16974
|
function _createClass$h(Constructor, protoProps, staticProps) {
|
|
@@ -16580,14 +17141,14 @@ function _classCallCheck$g(instance, Constructor) {
|
|
|
16580
17141
|
throw new TypeError("Cannot call a class as a function");
|
|
16581
17142
|
}
|
|
16582
17143
|
}
|
|
16583
|
-
function _defineProperties$g(
|
|
17144
|
+
function _defineProperties$g(target2, props2) {
|
|
16584
17145
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16585
17146
|
var descriptor = props2[i2];
|
|
16586
17147
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16587
17148
|
descriptor.configurable = true;
|
|
16588
17149
|
if ("value" in descriptor)
|
|
16589
17150
|
descriptor.writable = true;
|
|
16590
|
-
Object.defineProperty(
|
|
17151
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16591
17152
|
}
|
|
16592
17153
|
}
|
|
16593
17154
|
function _createClass$g(Constructor, protoProps, staticProps) {
|
|
@@ -16769,14 +17330,14 @@ function _classCallCheck$f(instance, Constructor) {
|
|
|
16769
17330
|
throw new TypeError("Cannot call a class as a function");
|
|
16770
17331
|
}
|
|
16771
17332
|
}
|
|
16772
|
-
function _defineProperties$f(
|
|
17333
|
+
function _defineProperties$f(target2, props2) {
|
|
16773
17334
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16774
17335
|
var descriptor = props2[i2];
|
|
16775
17336
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16776
17337
|
descriptor.configurable = true;
|
|
16777
17338
|
if ("value" in descriptor)
|
|
16778
17339
|
descriptor.writable = true;
|
|
16779
|
-
Object.defineProperty(
|
|
17340
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16780
17341
|
}
|
|
16781
17342
|
}
|
|
16782
17343
|
function _createClass$f(Constructor, protoProps, staticProps) {
|
|
@@ -16973,14 +17534,14 @@ function _classCallCheck$e(instance, Constructor) {
|
|
|
16973
17534
|
throw new TypeError("Cannot call a class as a function");
|
|
16974
17535
|
}
|
|
16975
17536
|
}
|
|
16976
|
-
function _defineProperties$e(
|
|
17537
|
+
function _defineProperties$e(target2, props2) {
|
|
16977
17538
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
16978
17539
|
var descriptor = props2[i2];
|
|
16979
17540
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
16980
17541
|
descriptor.configurable = true;
|
|
16981
17542
|
if ("value" in descriptor)
|
|
16982
17543
|
descriptor.writable = true;
|
|
16983
|
-
Object.defineProperty(
|
|
17544
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
16984
17545
|
}
|
|
16985
17546
|
}
|
|
16986
17547
|
function _createClass$e(Constructor, protoProps, staticProps) {
|
|
@@ -17164,14 +17725,14 @@ function _classCallCheck$d(instance, Constructor) {
|
|
|
17164
17725
|
throw new TypeError("Cannot call a class as a function");
|
|
17165
17726
|
}
|
|
17166
17727
|
}
|
|
17167
|
-
function _defineProperties$d(
|
|
17728
|
+
function _defineProperties$d(target2, props2) {
|
|
17168
17729
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17169
17730
|
var descriptor = props2[i2];
|
|
17170
17731
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17171
17732
|
descriptor.configurable = true;
|
|
17172
17733
|
if ("value" in descriptor)
|
|
17173
17734
|
descriptor.writable = true;
|
|
17174
|
-
Object.defineProperty(
|
|
17735
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17175
17736
|
}
|
|
17176
17737
|
}
|
|
17177
17738
|
function _createClass$d(Constructor, protoProps, staticProps) {
|
|
@@ -17324,14 +17885,14 @@ function _classCallCheck$c(instance, Constructor) {
|
|
|
17324
17885
|
throw new TypeError("Cannot call a class as a function");
|
|
17325
17886
|
}
|
|
17326
17887
|
}
|
|
17327
|
-
function _defineProperties$c(
|
|
17888
|
+
function _defineProperties$c(target2, props2) {
|
|
17328
17889
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17329
17890
|
var descriptor = props2[i2];
|
|
17330
17891
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17331
17892
|
descriptor.configurable = true;
|
|
17332
17893
|
if ("value" in descriptor)
|
|
17333
17894
|
descriptor.writable = true;
|
|
17334
|
-
Object.defineProperty(
|
|
17895
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17335
17896
|
}
|
|
17336
17897
|
}
|
|
17337
17898
|
function _createClass$c(Constructor, protoProps, staticProps) {
|
|
@@ -17484,14 +18045,14 @@ function _classCallCheck$b(instance, Constructor) {
|
|
|
17484
18045
|
throw new TypeError("Cannot call a class as a function");
|
|
17485
18046
|
}
|
|
17486
18047
|
}
|
|
17487
|
-
function _defineProperties$b(
|
|
18048
|
+
function _defineProperties$b(target2, props2) {
|
|
17488
18049
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17489
18050
|
var descriptor = props2[i2];
|
|
17490
18051
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17491
18052
|
descriptor.configurable = true;
|
|
17492
18053
|
if ("value" in descriptor)
|
|
17493
18054
|
descriptor.writable = true;
|
|
17494
|
-
Object.defineProperty(
|
|
18055
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17495
18056
|
}
|
|
17496
18057
|
}
|
|
17497
18058
|
function _createClass$b(Constructor, protoProps, staticProps) {
|
|
@@ -17644,14 +18205,14 @@ function _classCallCheck$a(instance, Constructor) {
|
|
|
17644
18205
|
throw new TypeError("Cannot call a class as a function");
|
|
17645
18206
|
}
|
|
17646
18207
|
}
|
|
17647
|
-
function _defineProperties$a(
|
|
18208
|
+
function _defineProperties$a(target2, props2) {
|
|
17648
18209
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17649
18210
|
var descriptor = props2[i2];
|
|
17650
18211
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17651
18212
|
descriptor.configurable = true;
|
|
17652
18213
|
if ("value" in descriptor)
|
|
17653
18214
|
descriptor.writable = true;
|
|
17654
|
-
Object.defineProperty(
|
|
18215
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17655
18216
|
}
|
|
17656
18217
|
}
|
|
17657
18218
|
function _createClass$a(Constructor, protoProps, staticProps) {
|
|
@@ -17797,14 +18358,14 @@ function _classCallCheck$9(instance, Constructor) {
|
|
|
17797
18358
|
throw new TypeError("Cannot call a class as a function");
|
|
17798
18359
|
}
|
|
17799
18360
|
}
|
|
17800
|
-
function _defineProperties$9(
|
|
18361
|
+
function _defineProperties$9(target2, props2) {
|
|
17801
18362
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17802
18363
|
var descriptor = props2[i2];
|
|
17803
18364
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17804
18365
|
descriptor.configurable = true;
|
|
17805
18366
|
if ("value" in descriptor)
|
|
17806
18367
|
descriptor.writable = true;
|
|
17807
|
-
Object.defineProperty(
|
|
18368
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17808
18369
|
}
|
|
17809
18370
|
}
|
|
17810
18371
|
function _createClass$9(Constructor, protoProps, staticProps) {
|
|
@@ -17943,14 +18504,14 @@ function _classCallCheck$8(instance, Constructor) {
|
|
|
17943
18504
|
throw new TypeError("Cannot call a class as a function");
|
|
17944
18505
|
}
|
|
17945
18506
|
}
|
|
17946
|
-
function _defineProperties$8(
|
|
18507
|
+
function _defineProperties$8(target2, props2) {
|
|
17947
18508
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
17948
18509
|
var descriptor = props2[i2];
|
|
17949
18510
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
17950
18511
|
descriptor.configurable = true;
|
|
17951
18512
|
if ("value" in descriptor)
|
|
17952
18513
|
descriptor.writable = true;
|
|
17953
|
-
Object.defineProperty(
|
|
18514
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
17954
18515
|
}
|
|
17955
18516
|
}
|
|
17956
18517
|
function _createClass$8(Constructor, protoProps, staticProps) {
|
|
@@ -18094,14 +18655,14 @@ function _classCallCheck$7(instance, Constructor) {
|
|
|
18094
18655
|
throw new TypeError("Cannot call a class as a function");
|
|
18095
18656
|
}
|
|
18096
18657
|
}
|
|
18097
|
-
function _defineProperties$7(
|
|
18658
|
+
function _defineProperties$7(target2, props2) {
|
|
18098
18659
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18099
18660
|
var descriptor = props2[i2];
|
|
18100
18661
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18101
18662
|
descriptor.configurable = true;
|
|
18102
18663
|
if ("value" in descriptor)
|
|
18103
18664
|
descriptor.writable = true;
|
|
18104
|
-
Object.defineProperty(
|
|
18665
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18105
18666
|
}
|
|
18106
18667
|
}
|
|
18107
18668
|
function _createClass$7(Constructor, protoProps, staticProps) {
|
|
@@ -18241,14 +18802,14 @@ function _classCallCheck$6(instance, Constructor) {
|
|
|
18241
18802
|
throw new TypeError("Cannot call a class as a function");
|
|
18242
18803
|
}
|
|
18243
18804
|
}
|
|
18244
|
-
function _defineProperties$6(
|
|
18805
|
+
function _defineProperties$6(target2, props2) {
|
|
18245
18806
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18246
18807
|
var descriptor = props2[i2];
|
|
18247
18808
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18248
18809
|
descriptor.configurable = true;
|
|
18249
18810
|
if ("value" in descriptor)
|
|
18250
18811
|
descriptor.writable = true;
|
|
18251
|
-
Object.defineProperty(
|
|
18812
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18252
18813
|
}
|
|
18253
18814
|
}
|
|
18254
18815
|
function _createClass$6(Constructor, protoProps, staticProps) {
|
|
@@ -18387,14 +18948,14 @@ function _classCallCheck$5(instance, Constructor) {
|
|
|
18387
18948
|
throw new TypeError("Cannot call a class as a function");
|
|
18388
18949
|
}
|
|
18389
18950
|
}
|
|
18390
|
-
function _defineProperties$5(
|
|
18951
|
+
function _defineProperties$5(target2, props2) {
|
|
18391
18952
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18392
18953
|
var descriptor = props2[i2];
|
|
18393
18954
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18394
18955
|
descriptor.configurable = true;
|
|
18395
18956
|
if ("value" in descriptor)
|
|
18396
18957
|
descriptor.writable = true;
|
|
18397
|
-
Object.defineProperty(
|
|
18958
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18398
18959
|
}
|
|
18399
18960
|
}
|
|
18400
18961
|
function _createClass$5(Constructor, protoProps, staticProps) {
|
|
@@ -18533,14 +19094,14 @@ function _classCallCheck$4(instance, Constructor) {
|
|
|
18533
19094
|
throw new TypeError("Cannot call a class as a function");
|
|
18534
19095
|
}
|
|
18535
19096
|
}
|
|
18536
|
-
function _defineProperties$4(
|
|
19097
|
+
function _defineProperties$4(target2, props2) {
|
|
18537
19098
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18538
19099
|
var descriptor = props2[i2];
|
|
18539
19100
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18540
19101
|
descriptor.configurable = true;
|
|
18541
19102
|
if ("value" in descriptor)
|
|
18542
19103
|
descriptor.writable = true;
|
|
18543
|
-
Object.defineProperty(
|
|
19104
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18544
19105
|
}
|
|
18545
19106
|
}
|
|
18546
19107
|
function _createClass$4(Constructor, protoProps, staticProps) {
|
|
@@ -18668,14 +19229,14 @@ function _classCallCheck$3(instance, Constructor) {
|
|
|
18668
19229
|
throw new TypeError("Cannot call a class as a function");
|
|
18669
19230
|
}
|
|
18670
19231
|
}
|
|
18671
|
-
function _defineProperties$3(
|
|
19232
|
+
function _defineProperties$3(target2, props2) {
|
|
18672
19233
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18673
19234
|
var descriptor = props2[i2];
|
|
18674
19235
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18675
19236
|
descriptor.configurable = true;
|
|
18676
19237
|
if ("value" in descriptor)
|
|
18677
19238
|
descriptor.writable = true;
|
|
18678
|
-
Object.defineProperty(
|
|
19239
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18679
19240
|
}
|
|
18680
19241
|
}
|
|
18681
19242
|
function _createClass$3(Constructor, protoProps, staticProps) {
|
|
@@ -18814,14 +19375,14 @@ function _classCallCheck$2(instance, Constructor) {
|
|
|
18814
19375
|
throw new TypeError("Cannot call a class as a function");
|
|
18815
19376
|
}
|
|
18816
19377
|
}
|
|
18817
|
-
function _defineProperties$2(
|
|
19378
|
+
function _defineProperties$2(target2, props2) {
|
|
18818
19379
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18819
19380
|
var descriptor = props2[i2];
|
|
18820
19381
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18821
19382
|
descriptor.configurable = true;
|
|
18822
19383
|
if ("value" in descriptor)
|
|
18823
19384
|
descriptor.writable = true;
|
|
18824
|
-
Object.defineProperty(
|
|
19385
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18825
19386
|
}
|
|
18826
19387
|
}
|
|
18827
19388
|
function _createClass$2(Constructor, protoProps, staticProps) {
|
|
@@ -18960,14 +19521,14 @@ function _classCallCheck$1(instance, Constructor) {
|
|
|
18960
19521
|
throw new TypeError("Cannot call a class as a function");
|
|
18961
19522
|
}
|
|
18962
19523
|
}
|
|
18963
|
-
function _defineProperties$1(
|
|
19524
|
+
function _defineProperties$1(target2, props2) {
|
|
18964
19525
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
18965
19526
|
var descriptor = props2[i2];
|
|
18966
19527
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
18967
19528
|
descriptor.configurable = true;
|
|
18968
19529
|
if ("value" in descriptor)
|
|
18969
19530
|
descriptor.writable = true;
|
|
18970
|
-
Object.defineProperty(
|
|
19531
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
18971
19532
|
}
|
|
18972
19533
|
}
|
|
18973
19534
|
function _createClass$1(Constructor, protoProps, staticProps) {
|
|
@@ -19093,14 +19654,14 @@ function _classCallCheck(instance, Constructor) {
|
|
|
19093
19654
|
throw new TypeError("Cannot call a class as a function");
|
|
19094
19655
|
}
|
|
19095
19656
|
}
|
|
19096
|
-
function _defineProperties(
|
|
19657
|
+
function _defineProperties(target2, props2) {
|
|
19097
19658
|
for (var i2 = 0; i2 < props2.length; i2++) {
|
|
19098
19659
|
var descriptor = props2[i2];
|
|
19099
19660
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
19100
19661
|
descriptor.configurable = true;
|
|
19101
19662
|
if ("value" in descriptor)
|
|
19102
19663
|
descriptor.writable = true;
|
|
19103
|
-
Object.defineProperty(
|
|
19664
|
+
Object.defineProperty(target2, descriptor.key, descriptor);
|
|
19104
19665
|
}
|
|
19105
19666
|
}
|
|
19106
19667
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
@@ -19817,12 +20378,12 @@ var script$4 = defineComponent({
|
|
|
19817
20378
|
setup(props2, { emit: emit2 }) {
|
|
19818
20379
|
const from = computed(() => startOfDecade(props2.pageDate));
|
|
19819
20380
|
const to = computed(() => endOfDecade(props2.pageDate));
|
|
19820
|
-
const
|
|
20381
|
+
const isEnabled2 = (target2, lower, upper) => {
|
|
19821
20382
|
if (!lower && !upper)
|
|
19822
20383
|
return true;
|
|
19823
|
-
if (lower && getYear(
|
|
20384
|
+
if (lower && getYear(target2) < getYear(lower))
|
|
19824
20385
|
return false;
|
|
19825
|
-
if (upper && getYear(
|
|
20386
|
+
if (upper && getYear(target2) > getYear(upper))
|
|
19826
20387
|
return false;
|
|
19827
20388
|
return true;
|
|
19828
20389
|
};
|
|
@@ -19834,7 +20395,7 @@ var script$4 = defineComponent({
|
|
|
19834
20395
|
key: String(getYear(value)),
|
|
19835
20396
|
display: getYear(value),
|
|
19836
20397
|
selected: props2.selected && getYear(value) === getYear(props2.selected),
|
|
19837
|
-
disabled: !
|
|
20398
|
+
disabled: !isEnabled2(value, props2.lowerLimit, props2.upperLimit)
|
|
19838
20399
|
})));
|
|
19839
20400
|
const heading = computed(() => {
|
|
19840
20401
|
const start = getYear(from.value);
|
|
@@ -19916,12 +20477,12 @@ var script$3 = defineComponent({
|
|
|
19916
20477
|
const format2 = computed(() => formatWithOptions({
|
|
19917
20478
|
locale: props2.locale
|
|
19918
20479
|
})(props2.format));
|
|
19919
|
-
const
|
|
20480
|
+
const isEnabled2 = (target2, lower, upper) => {
|
|
19920
20481
|
if (!lower && !upper)
|
|
19921
20482
|
return true;
|
|
19922
|
-
if (lower && isBefore(
|
|
20483
|
+
if (lower && isBefore(target2, startOfMonth(lower)))
|
|
19923
20484
|
return false;
|
|
19924
|
-
if (upper && isAfter(
|
|
20485
|
+
if (upper && isAfter(target2, endOfMonth(upper)))
|
|
19925
20486
|
return false;
|
|
19926
20487
|
return true;
|
|
19927
20488
|
};
|
|
@@ -19933,7 +20494,7 @@ var script$3 = defineComponent({
|
|
|
19933
20494
|
display: format2.value(value),
|
|
19934
20495
|
key: format2.value(value),
|
|
19935
20496
|
selected: props2.selected && isSameMonth(props2.selected, value),
|
|
19936
|
-
disabled: !
|
|
20497
|
+
disabled: !isEnabled2(value, props2.lowerLimit, props2.upperLimit)
|
|
19937
20498
|
})));
|
|
19938
20499
|
const heading = computed(() => getYear(from.value));
|
|
19939
20500
|
const leftDisabled = computed(() => props2.lowerLimit && (isSameYear(props2.lowerLimit, props2.pageDate) || isBefore(props2.pageDate, props2.lowerLimit)));
|
|
@@ -20053,17 +20614,17 @@ var script$2 = defineComponent({
|
|
|
20053
20614
|
weekStartsOn: props2.weekStartsOn
|
|
20054
20615
|
})).map(dayFormat);
|
|
20055
20616
|
});
|
|
20056
|
-
const
|
|
20617
|
+
const isEnabled2 = (target2, lower, upper, disabledDates) => {
|
|
20057
20618
|
var _a, _b;
|
|
20058
|
-
if ((_a = disabledDates === null || disabledDates === void 0 ? void 0 : disabledDates.dates) === null || _a === void 0 ? void 0 : _a.some((date3) => isSameDay(
|
|
20619
|
+
if ((_a = disabledDates === null || disabledDates === void 0 ? void 0 : disabledDates.dates) === null || _a === void 0 ? void 0 : _a.some((date3) => isSameDay(target2, date3)))
|
|
20059
20620
|
return false;
|
|
20060
|
-
if ((_b = disabledDates === null || disabledDates === void 0 ? void 0 : disabledDates.predicate) === null || _b === void 0 ? void 0 : _b.call(disabledDates,
|
|
20621
|
+
if ((_b = disabledDates === null || disabledDates === void 0 ? void 0 : disabledDates.predicate) === null || _b === void 0 ? void 0 : _b.call(disabledDates, target2))
|
|
20061
20622
|
return false;
|
|
20062
20623
|
if (!lower && !upper)
|
|
20063
20624
|
return true;
|
|
20064
|
-
if (lower && isBefore(
|
|
20625
|
+
if (lower && isBefore(target2, startOfDay(lower)))
|
|
20065
20626
|
return false;
|
|
20066
|
-
if (upper && isAfter(
|
|
20627
|
+
if (upper && isAfter(target2, endOfDay(upper)))
|
|
20067
20628
|
return false;
|
|
20068
20629
|
return true;
|
|
20069
20630
|
};
|
|
@@ -20073,7 +20634,7 @@ var script$2 = defineComponent({
|
|
|
20073
20634
|
value,
|
|
20074
20635
|
display: dayFormat(value),
|
|
20075
20636
|
selected: props2.selected && isSameDay(props2.selected, value),
|
|
20076
|
-
disabled: !isWithinInterval(value, currentMonth.value) || !
|
|
20637
|
+
disabled: !isWithinInterval(value, currentMonth.value) || !isEnabled2(value, props2.lowerLimit, props2.upperLimit, props2.disabledDates),
|
|
20077
20638
|
key: format2.value("yyyy-MM-dd", value)
|
|
20078
20639
|
}));
|
|
20079
20640
|
});
|
|
@@ -20216,12 +20777,12 @@ var script$1 = defineComponent({
|
|
|
20216
20777
|
nextTick(scroll);
|
|
20217
20778
|
}
|
|
20218
20779
|
});
|
|
20219
|
-
const
|
|
20780
|
+
const isEnabled2 = (target2) => {
|
|
20220
20781
|
var _a, _b, _c, _d;
|
|
20221
|
-
if ((_b = (_a = props2.disabledTime) === null || _a === void 0 ? void 0 : _a.dates) === null || _b === void 0 ? void 0 : _b.some((date3) => isSameHour(
|
|
20782
|
+
if ((_b = (_a = props2.disabledTime) === null || _a === void 0 ? void 0 : _a.dates) === null || _b === void 0 ? void 0 : _b.some((date3) => isSameHour(target2, date3) && isSameMinute(target2, date3))) {
|
|
20222
20783
|
return false;
|
|
20223
20784
|
}
|
|
20224
|
-
if ((_d = (_c = props2.disabledTime) === null || _c === void 0 ? void 0 : _c.predicate) === null || _d === void 0 ? void 0 : _d.call(_c,
|
|
20785
|
+
if ((_d = (_c = props2.disabledTime) === null || _c === void 0 ? void 0 : _c.predicate) === null || _d === void 0 ? void 0 : _d.call(_c, target2))
|
|
20225
20786
|
return false;
|
|
20226
20787
|
return true;
|
|
20227
20788
|
};
|
|
@@ -20235,7 +20796,7 @@ var script$1 = defineComponent({
|
|
|
20235
20796
|
minutesList,
|
|
20236
20797
|
padStartZero,
|
|
20237
20798
|
selectMinutes,
|
|
20238
|
-
isEnabled,
|
|
20799
|
+
isEnabled: isEnabled2,
|
|
20239
20800
|
scroll
|
|
20240
20801
|
};
|
|
20241
20802
|
}
|
|
@@ -20662,14 +21223,6 @@ const init = () => {
|
|
|
20662
21223
|
data.fireStepEvent = data.fireStepEvent || fireStepEvent;
|
|
20663
21224
|
data.handleRedirect = data.handleRedirect || handleRedirect;
|
|
20664
21225
|
data.scrollAnchor = data.scrollAnchor || scrollAnchor;
|
|
20665
|
-
data.inList = (list2, item) => {
|
|
20666
|
-
if (!list2 || !item) {
|
|
20667
|
-
console.log("inList blank", list2, item);
|
|
20668
|
-
return false;
|
|
20669
|
-
}
|
|
20670
|
-
console.log("inList", list2, item, list2.includes(item));
|
|
20671
|
-
return list2.includes(item);
|
|
20672
|
-
};
|
|
20673
21226
|
data.getVal = (formNode, key) => {
|
|
20674
21227
|
if (!formNode || !key) {
|
|
20675
21228
|
return;
|
|
@@ -20689,20 +21242,20 @@ const init = () => {
|
|
|
20689
21242
|
}
|
|
20690
21243
|
}
|
|
20691
21244
|
};
|
|
20692
|
-
data.onInput = (callback) => (
|
|
21245
|
+
data.onInput = (callback) => (val, node) => __async(this, null, function* () {
|
|
20693
21246
|
const elem = document.getElementById(node.props.id);
|
|
20694
21247
|
if (elem && elem.offsetParent === null) {
|
|
20695
21248
|
return;
|
|
20696
21249
|
}
|
|
20697
21250
|
try {
|
|
21251
|
+
yield new Promise((r) => setTimeout(r, 50));
|
|
20698
21252
|
callback();
|
|
20699
|
-
e2.preventDefault();
|
|
20700
21253
|
} catch (err) {
|
|
20701
21254
|
const msg = "onInput failed: " + err.toString();
|
|
20702
21255
|
console.warn(msg);
|
|
20703
21256
|
rollbar("warning", msg);
|
|
20704
21257
|
}
|
|
20705
|
-
};
|
|
21258
|
+
});
|
|
20706
21259
|
const app = createApp(_sfc_main$1, { schema: schemaObj, data }).use(
|
|
20707
21260
|
plugin$1,
|
|
20708
21261
|
defaultConfig({
|
|
@@ -20714,7 +21267,13 @@ const init = () => {
|
|
|
20714
21267
|
},
|
|
20715
21268
|
config: {
|
|
20716
21269
|
classes
|
|
20717
|
-
}
|
|
21270
|
+
},
|
|
21271
|
+
plugins: [
|
|
21272
|
+
createLocalStoragePlugin({
|
|
21273
|
+
prefix: "formkit",
|
|
21274
|
+
maxAge: 24 * 36e5
|
|
21275
|
+
})
|
|
21276
|
+
]
|
|
20718
21277
|
})
|
|
20719
21278
|
);
|
|
20720
21279
|
app.mount("#" + form2.target);
|