@digipair/skill-web-inputs 0.94.0-8 → 0.95.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/index.cjs.js → index.cjs.js} +199 -149
- package/index.d.ts +1 -0
- package/{dist/index.esm.js → index.esm.js} +197 -149
- package/{dist → libs/skill-web-inputs}/src/index.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-dom-attribute.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-element.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-fetch.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-file.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-hidden.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-json.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/input-text.element.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/skill-web-inputs.d.ts +0 -1
- package/{dist → libs/skill-web-inputs}/src/lib/tools/css-selector.d.ts +0 -1
- package/package.json +6 -22
- package/README.md +0 -7
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/input-dom-attribute.element.d.ts.map +0 -1
- package/dist/src/lib/input-element.element.d.ts.map +0 -1
- package/dist/src/lib/input-fetch.element.d.ts.map +0 -1
- package/dist/src/lib/input-file.element.d.ts.map +0 -1
- package/dist/src/lib/input-hidden.element.d.ts.map +0 -1
- package/dist/src/lib/input-json.element.d.ts.map +0 -1
- package/dist/src/lib/input-text.element.d.ts.map +0 -1
- package/dist/src/lib/skill-web-inputs.d.ts.map +0 -1
- package/dist/src/lib/skill-web-inputs.spec.d.ts +0 -2
- package/dist/src/lib/skill-web-inputs.spec.d.ts.map +0 -1
- package/dist/src/lib/tools/css-selector.d.ts.map +0 -1
- /package/{dist/index.d.ts → index.cjs.d.ts} +0 -0
- /package/{dist/schema.fr.json → schema.fr.json} +0 -0
- /package/{dist/schema.json → schema.json} +0 -0
|
@@ -7,7 +7,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
7
7
|
function __metadata(metadataKey, metadataValue) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
9
9
|
}
|
|
10
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
10
|
+
typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
|
|
11
11
|
var e = new Error(message);
|
|
12
12
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
13
13
|
};
|
|
@@ -32,6 +32,7 @@ function _defineProperties$3(target, props) {
|
|
|
32
32
|
}
|
|
33
33
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
34
34
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
35
|
+
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
35
36
|
return Constructor;
|
|
36
37
|
}
|
|
37
38
|
function _instanceof$2(left, right) {
|
|
@@ -41,11 +42,11 @@ function _instanceof$2(left, right) {
|
|
|
41
42
|
return left instanceof right;
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$
|
|
45
|
+
var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$3 = new WeakMap;
|
|
45
46
|
var n$3 = /*#__PURE__*/ function() {
|
|
46
47
|
function n(t, e, o) {
|
|
47
48
|
_class_call_check$3(this, n);
|
|
48
|
-
if (this._$cssResult$ =
|
|
49
|
+
if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
49
50
|
this.cssText = t, this.t = e;
|
|
50
51
|
}
|
|
51
52
|
_create_class$3(n, [
|
|
@@ -56,7 +57,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
56
57
|
var s = this.t;
|
|
57
58
|
if (e$2 && void 0 === t) {
|
|
58
59
|
var e1 = void 0 !== s && 1 === s.length;
|
|
59
|
-
e1 && (t = o$
|
|
60
|
+
e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
|
|
60
61
|
}
|
|
61
62
|
return t;
|
|
62
63
|
}
|
|
@@ -70,20 +71,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
70
71
|
]);
|
|
71
72
|
return n;
|
|
72
73
|
}();
|
|
73
|
-
var r$
|
|
74
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
74
|
+
var r$5 = function(t) {
|
|
75
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
|
|
75
76
|
}, i$3 = function(t) {
|
|
76
77
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
77
78
|
e[_key - 1] = arguments[_key];
|
|
78
79
|
}
|
|
79
80
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
80
81
|
return e + function(t) {
|
|
81
|
-
if (
|
|
82
|
+
if (!0 === t._$cssResult$) return t.cssText;
|
|
82
83
|
if ("number" == typeof t) return t;
|
|
83
84
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
84
85
|
}(s) + t[o + 1];
|
|
85
86
|
}, t[0]);
|
|
86
|
-
return new n$3(o, t, s$
|
|
87
|
+
return new n$3(o, t, s$1);
|
|
87
88
|
}, S$1 = function(s, o) {
|
|
88
89
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
89
90
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -134,7 +135,7 @@ var r$4 = function(t) {
|
|
|
134
135
|
}
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
|
-
return r$
|
|
138
|
+
return r$5(e);
|
|
138
139
|
}(t) : t;
|
|
139
140
|
};
|
|
140
141
|
|
|
@@ -276,7 +277,7 @@ function _non_iterable_spread$9() {
|
|
|
276
277
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
277
278
|
}
|
|
278
279
|
function _possible_constructor_return$2(self, call) {
|
|
279
|
-
if (call && (_type_of$
|
|
280
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
280
281
|
return call;
|
|
281
282
|
}
|
|
282
283
|
return _assert_this_initialized$2(self);
|
|
@@ -294,7 +295,7 @@ function _sliced_to_array$2(arr, i) {
|
|
|
294
295
|
function _to_consumable_array$9(arr) {
|
|
295
296
|
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$9();
|
|
296
297
|
}
|
|
297
|
-
function _type_of$
|
|
298
|
+
function _type_of$3(obj) {
|
|
298
299
|
"@swc/helpers - typeof";
|
|
299
300
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
300
301
|
}
|
|
@@ -456,7 +457,7 @@ var _Symbol, _a, _a1;
|
|
|
456
457
|
* @license
|
|
457
458
|
* Copyright 2017 Google LLC
|
|
458
459
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
459
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
460
|
+
*/ var i$2 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
|
|
460
461
|
return t;
|
|
461
462
|
}, u$1 = {
|
|
462
463
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -491,26 +492,25 @@ var _Symbol, _a, _a1;
|
|
|
491
492
|
}
|
|
492
493
|
}, f$1 = function(t, s) {
|
|
493
494
|
return !i$2(t, s);
|
|
494
|
-
},
|
|
495
|
-
attribute:
|
|
495
|
+
}, y$1 = {
|
|
496
|
+
attribute: !0,
|
|
496
497
|
type: String,
|
|
497
498
|
converter: u$1,
|
|
498
|
-
reflect:
|
|
499
|
-
useDefault: false,
|
|
499
|
+
reflect: !1,
|
|
500
500
|
hasChanged: f$1
|
|
501
501
|
};
|
|
502
502
|
var _metadata, _litPropertyMetadata;
|
|
503
503
|
(_metadata = (_Symbol = Symbol).metadata) !== null && _metadata !== void 0 ? _metadata : _Symbol.metadata = Symbol("metadata"), (_litPropertyMetadata = (_a = a$1).litPropertyMetadata) !== null && _litPropertyMetadata !== void 0 ? _litPropertyMetadata : _a.litPropertyMetadata = new WeakMap;
|
|
504
|
-
var
|
|
505
|
-
_inherits$2(
|
|
506
|
-
var _super = _create_super$2(
|
|
507
|
-
function
|
|
508
|
-
_class_call_check$2(this,
|
|
504
|
+
var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
505
|
+
_inherits$2(b, HTMLElement1);
|
|
506
|
+
var _super = _create_super$2(b);
|
|
507
|
+
function b() {
|
|
508
|
+
_class_call_check$2(this, b);
|
|
509
509
|
var _this;
|
|
510
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
510
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
511
511
|
return _possible_constructor_return$2(_this);
|
|
512
512
|
}
|
|
513
|
-
_create_class$2(
|
|
513
|
+
_create_class$2(b, [
|
|
514
514
|
{
|
|
515
515
|
key: "_$Ev",
|
|
516
516
|
value: function _$Ev() {
|
|
@@ -578,7 +578,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
578
578
|
value: function connectedCallback() {
|
|
579
579
|
var _this__$EO;
|
|
580
580
|
var _this_renderRoot;
|
|
581
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
581
|
+
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(!0), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
582
582
|
var _t_hostConnected;
|
|
583
583
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
584
584
|
});
|
|
@@ -605,13 +605,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
|
-
key: "_$
|
|
609
|
-
value: function _$
|
|
608
|
+
key: "_$EC",
|
|
609
|
+
value: function _$EC(t, s) {
|
|
610
610
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
611
|
-
if (void 0 !== e &&
|
|
611
|
+
if (void 0 !== e && !0 === i.reflect) {
|
|
612
612
|
var _i_converter;
|
|
613
|
-
var
|
|
614
|
-
this._$Em = t, null ==
|
|
613
|
+
var r = (void 0 !== ((_i_converter = i.converter) === null || _i_converter === void 0 ? void 0 : _i_converter.toAttribute) ? i.converter : u$1).toAttribute(s, i.type);
|
|
614
|
+
this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
},
|
|
@@ -620,12 +620,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
620
620
|
value: function _$AK(t, s) {
|
|
621
621
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
622
622
|
if (void 0 !== e && this._$Em !== e) {
|
|
623
|
-
var _t_converter
|
|
624
|
-
var _$t = i.getPropertyOptions(e),
|
|
623
|
+
var _t_converter;
|
|
624
|
+
var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
|
|
625
625
|
fromAttribute: _$t.converter
|
|
626
626
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
627
|
-
|
|
628
|
-
this._$Em = e, this[e] = (_ref = (_h_fromAttribute = h.fromAttribute(s, _$t.type)) !== null && _h_fromAttribute !== void 0 ? _h_fromAttribute : (_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(e)) !== null && _ref !== void 0 ? _ref : null, this._$Em = null;
|
|
627
|
+
this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
|
|
629
628
|
}
|
|
630
629
|
}
|
|
631
630
|
},
|
|
@@ -633,33 +632,30 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
633
632
|
key: "requestUpdate",
|
|
634
633
|
value: function requestUpdate(t, s, i) {
|
|
635
634
|
if (void 0 !== t) {
|
|
636
|
-
var _this__$Ej;
|
|
637
|
-
var e = this.constructor, h = this[t];
|
|
638
635
|
var _i_hasChanged;
|
|
639
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
640
|
-
this.
|
|
636
|
+
if (i !== null && i !== void 0 ? i : i = this.constructor.getPropertyOptions(t), !((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(this[t], s)) return;
|
|
637
|
+
this.P(t, s, i);
|
|
641
638
|
}
|
|
642
|
-
|
|
639
|
+
!1 === this.isUpdatePending && (this._$ES = this._$ET());
|
|
643
640
|
}
|
|
644
641
|
},
|
|
645
642
|
{
|
|
646
|
-
key: "
|
|
647
|
-
value: function
|
|
648
|
-
var
|
|
649
|
-
|
|
650
|
-
i && !((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Map).has(t) && (this._$Ej.set(t, (_ref = r !== null && r !== void 0 ? r : s) !== null && _ref !== void 0 ? _ref : this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && ((_this__$Eq = this._$Eq) !== null && _this__$Eq !== void 0 ? _this__$Eq : this._$Eq = new Set).add(t));
|
|
643
|
+
key: "P",
|
|
644
|
+
value: function P(t, s, i) {
|
|
645
|
+
var _this__$Ej;
|
|
646
|
+
this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && ((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Set).add(t);
|
|
651
647
|
}
|
|
652
648
|
},
|
|
653
649
|
{
|
|
654
|
-
key: "_$
|
|
655
|
-
value: function _$
|
|
650
|
+
key: "_$ET",
|
|
651
|
+
value: function _$ET() {
|
|
656
652
|
var _this = this;
|
|
657
653
|
return _async_to_generator(function() {
|
|
658
654
|
var t, _$t, _tmp;
|
|
659
655
|
return _ts_generator$1(this, function(_state) {
|
|
660
656
|
switch(_state.label){
|
|
661
657
|
case 0:
|
|
662
|
-
_this.isUpdatePending =
|
|
658
|
+
_this.isUpdatePending = !0;
|
|
663
659
|
_state.label = 1;
|
|
664
660
|
case 1:
|
|
665
661
|
_state.trys.push([
|
|
@@ -749,8 +745,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
749
745
|
if (t1.size > 0) try {
|
|
750
746
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
751
747
|
var _step_value1 = _sliced_to_array$2(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
752
|
-
|
|
753
|
-
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
748
|
+
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
|
754
749
|
}
|
|
755
750
|
} catch (err) {
|
|
756
751
|
_didIteratorError1 = true;
|
|
@@ -767,18 +762,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
767
762
|
}
|
|
768
763
|
}
|
|
769
764
|
}
|
|
770
|
-
var
|
|
765
|
+
var t2 = !1;
|
|
771
766
|
var _$s2 = this._$AL;
|
|
772
767
|
try {
|
|
773
768
|
var _this__$EO;
|
|
774
|
-
|
|
769
|
+
t2 = this.shouldUpdate(_$s2), t2 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
775
770
|
var _t_hostUpdate;
|
|
776
771
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
777
|
-
}), this.update(_$s2)) : this._$
|
|
772
|
+
}), this.update(_$s2)) : this._$EU();
|
|
778
773
|
} catch (s) {
|
|
779
|
-
throw
|
|
774
|
+
throw t2 = !1, this._$EU(), s;
|
|
780
775
|
}
|
|
781
|
-
|
|
776
|
+
t2 && this._$AE(_$s2);
|
|
782
777
|
}
|
|
783
778
|
},
|
|
784
779
|
{
|
|
@@ -792,13 +787,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
792
787
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
793
788
|
var _t_hostUpdated;
|
|
794
789
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
795
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
790
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
796
791
|
}
|
|
797
792
|
},
|
|
798
793
|
{
|
|
799
|
-
key: "_$
|
|
800
|
-
value: function _$
|
|
801
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
794
|
+
key: "_$EU",
|
|
795
|
+
value: function _$EU() {
|
|
796
|
+
this._$AL = new Map, this.isUpdatePending = !1;
|
|
802
797
|
}
|
|
803
798
|
},
|
|
804
799
|
{
|
|
@@ -816,16 +811,16 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
816
811
|
{
|
|
817
812
|
key: "shouldUpdate",
|
|
818
813
|
value: function shouldUpdate(t) {
|
|
819
|
-
return
|
|
814
|
+
return !0;
|
|
820
815
|
}
|
|
821
816
|
},
|
|
822
817
|
{
|
|
823
818
|
key: "update",
|
|
824
819
|
value: function update(t) {
|
|
825
820
|
var _this = this;
|
|
826
|
-
this._$
|
|
827
|
-
return _this._$
|
|
828
|
-
})), this._$
|
|
821
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
|
|
822
|
+
return _this._$EC(t, _this[t]);
|
|
823
|
+
})), this._$EU();
|
|
829
824
|
}
|
|
830
825
|
},
|
|
831
826
|
{
|
|
@@ -853,33 +848,35 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
853
848
|
{
|
|
854
849
|
key: "createProperty",
|
|
855
850
|
value: function createProperty(t) {
|
|
856
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
857
|
-
if (s.state && (s.attribute =
|
|
858
|
-
var i = Symbol(),
|
|
859
|
-
void 0 !==
|
|
851
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y$1;
|
|
852
|
+
if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
853
|
+
var i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
|
854
|
+
void 0 !== r && e$1(this.prototype, t, r);
|
|
860
855
|
}
|
|
861
856
|
}
|
|
862
857
|
},
|
|
863
858
|
{
|
|
864
859
|
key: "getPropertyDescriptor",
|
|
865
860
|
value: function getPropertyDescriptor(t, s, i) {
|
|
866
|
-
var
|
|
867
|
-
var _ref = (
|
|
861
|
+
var _r;
|
|
862
|
+
var _ref = (_r = r$4(this.prototype, t)) !== null && _r !== void 0 ? _r : {
|
|
868
863
|
get: function get() {
|
|
869
864
|
return this[s];
|
|
870
865
|
},
|
|
871
866
|
set: function set(t) {
|
|
872
867
|
this[s] = t;
|
|
873
868
|
}
|
|
874
|
-
}, e = _ref.get,
|
|
869
|
+
}, e = _ref.get, h = _ref.set;
|
|
875
870
|
return {
|
|
876
|
-
get:
|
|
871
|
+
get: function get() {
|
|
872
|
+
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
873
|
+
},
|
|
877
874
|
set: function set(s) {
|
|
878
|
-
var
|
|
879
|
-
|
|
875
|
+
var r = e === null || e === void 0 ? void 0 : e.call(this);
|
|
876
|
+
h.call(this, s), this.requestUpdate(t, r, i);
|
|
880
877
|
},
|
|
881
|
-
configurable:
|
|
882
|
-
enumerable:
|
|
878
|
+
configurable: !0,
|
|
879
|
+
enumerable: !0
|
|
883
880
|
};
|
|
884
881
|
}
|
|
885
882
|
},
|
|
@@ -887,7 +884,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
887
884
|
key: "getPropertyOptions",
|
|
888
885
|
value: function getPropertyOptions(t) {
|
|
889
886
|
var _this_elementProperties_get;
|
|
890
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
887
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
|
|
891
888
|
}
|
|
892
889
|
},
|
|
893
890
|
{
|
|
@@ -902,8 +899,8 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
902
899
|
key: "finalize",
|
|
903
900
|
value: function finalize() {
|
|
904
901
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
905
|
-
if (this.finalized =
|
|
906
|
-
var t = this.properties, s = _to_consumable_array$9(
|
|
902
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
903
|
+
var t = this.properties, s = _to_consumable_array$9(h$1(t)).concat(_to_consumable_array$9(o$2(t)));
|
|
907
904
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
908
905
|
try {
|
|
909
906
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1008,18 +1005,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1008
1005
|
key: "_$Eu",
|
|
1009
1006
|
value: function _$Eu(t, s) {
|
|
1010
1007
|
var i = s.attribute;
|
|
1011
|
-
return
|
|
1008
|
+
return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1012
1009
|
}
|
|
1013
1010
|
}
|
|
1014
1011
|
]);
|
|
1015
|
-
return
|
|
1012
|
+
return b;
|
|
1016
1013
|
}(_wrap_native_super(HTMLElement));
|
|
1017
1014
|
var _reactiveElementVersions;
|
|
1018
|
-
|
|
1015
|
+
b.elementStyles = [], b.shadowRootOptions = {
|
|
1019
1016
|
mode: "open"
|
|
1020
|
-
},
|
|
1021
|
-
ReactiveElement:
|
|
1022
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.
|
|
1017
|
+
}, b[d$1("elementProperties")] = new Map, b[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
|
|
1018
|
+
ReactiveElement: b
|
|
1019
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0.4");
|
|
1023
1020
|
|
|
1024
1021
|
/**
|
|
1025
1022
|
* @license
|
|
@@ -1114,7 +1111,7 @@ function _non_iterable_spread$8() {
|
|
|
1114
1111
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1115
1112
|
}
|
|
1116
1113
|
function _possible_constructor_return$1(self, call) {
|
|
1117
|
-
if (call && (_type_of$
|
|
1114
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
1118
1115
|
return call;
|
|
1119
1116
|
}
|
|
1120
1117
|
return _assert_this_initialized$1(self);
|
|
@@ -1132,7 +1129,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
1132
1129
|
function _to_consumable_array$8(arr) {
|
|
1133
1130
|
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$8();
|
|
1134
1131
|
}
|
|
1135
|
-
function _type_of$
|
|
1132
|
+
function _type_of$2(obj) {
|
|
1136
1133
|
"@swc/helpers - typeof";
|
|
1137
1134
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1138
1135
|
}
|
|
@@ -1169,17 +1166,17 @@ function _create_super$1(Derived) {
|
|
|
1169
1166
|
};
|
|
1170
1167
|
}
|
|
1171
1168
|
var _t;
|
|
1172
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s
|
|
1169
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1173
1170
|
createHTML: function(t) {
|
|
1174
1171
|
return t;
|
|
1175
1172
|
}
|
|
1176
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1177
|
-
return r$
|
|
1173
|
+
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$1 = "?" + h, n$1 = "<".concat(o$1, ">"), r$3 = document, l = function() {
|
|
1174
|
+
return r$3.createComment("");
|
|
1178
1175
|
}, c = function(t) {
|
|
1179
|
-
return null === t || "object" !=
|
|
1176
|
+
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1180
1177
|
}, a = Array.isArray, u = function(t) {
|
|
1181
1178
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1182
|
-
}, d = "[
|
|
1179
|
+
}, d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(">|".concat(d, "(?:([^\\s\"'>=/]+)(").concat(d, "*=").concat(d, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = function(t) {
|
|
1183
1180
|
return function(i) {
|
|
1184
1181
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1185
1182
|
s[_key - 1] = arguments[_key];
|
|
@@ -1190,10 +1187,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
|
|
|
1190
1187
|
values: s
|
|
1191
1188
|
};
|
|
1192
1189
|
};
|
|
1193
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1190
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
|
|
1194
1191
|
function P(t, i) {
|
|
1195
1192
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1196
|
-
return void 0 !== s
|
|
1193
|
+
return void 0 !== s ? s.createHTML(i) : i;
|
|
1197
1194
|
}
|
|
1198
1195
|
var V = function(t, i) {
|
|
1199
1196
|
var s = t.length - 1, o = [];
|
|
@@ -1268,7 +1265,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1268
1265
|
r.append(t3[s2], l());
|
|
1269
1266
|
}
|
|
1270
1267
|
}
|
|
1271
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1268
|
+
} else if (8 === r.nodeType) if (r.data === o$1) d.push({
|
|
1272
1269
|
type: 2,
|
|
1273
1270
|
index: c
|
|
1274
1271
|
});
|
|
@@ -1286,7 +1283,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1286
1283
|
{
|
|
1287
1284
|
key: "createElement",
|
|
1288
1285
|
value: function createElement(t, i) {
|
|
1289
|
-
var s = r$
|
|
1286
|
+
var s = r$3.createElement("template");
|
|
1290
1287
|
return s.innerHTML = t, s;
|
|
1291
1288
|
}
|
|
1292
1289
|
}
|
|
@@ -1301,7 +1298,7 @@ function S(t, i) {
|
|
|
1301
1298
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1302
1299
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1303
1300
|
var __$Co;
|
|
1304
|
-
return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h,
|
|
1301
|
+
return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
|
|
1305
1302
|
}
|
|
1306
1303
|
var M = /*#__PURE__*/ function() {
|
|
1307
1304
|
function M(t, i) {
|
|
@@ -1325,7 +1322,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1325
1322
|
key: "u",
|
|
1326
1323
|
value: function u(t) {
|
|
1327
1324
|
var _t_creationScope;
|
|
1328
|
-
var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$
|
|
1325
|
+
var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$3).importNode(i, !0);
|
|
1329
1326
|
C.currentNode = e;
|
|
1330
1327
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1331
1328
|
for(; void 0 !== l;){
|
|
@@ -1335,7 +1332,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1335
1332
|
}
|
|
1336
1333
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1337
1334
|
}
|
|
1338
|
-
return C.currentNode = r$
|
|
1335
|
+
return C.currentNode = r$3, e;
|
|
1339
1336
|
}
|
|
1340
1337
|
},
|
|
1341
1338
|
{
|
|
@@ -1371,7 +1368,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1371
1368
|
function R(t, i, s, e) {
|
|
1372
1369
|
_class_call_check$1(this, R);
|
|
1373
1370
|
var _e_isConnected;
|
|
1374
|
-
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected :
|
|
1371
|
+
this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
|
|
1375
1372
|
}
|
|
1376
1373
|
_create_class$1(R, [
|
|
1377
1374
|
{
|
|
@@ -1424,7 +1421,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1424
1421
|
{
|
|
1425
1422
|
key: "_",
|
|
1426
1423
|
value: function _(t) {
|
|
1427
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1424
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
|
|
1428
1425
|
}
|
|
1429
1426
|
},
|
|
1430
1427
|
{
|
|
@@ -1480,7 +1477,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1480
1477
|
value: function _$AR() {
|
|
1481
1478
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1482
1479
|
var _this__$AP, _this;
|
|
1483
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1480
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, !1, !0, i); t && t !== this._$AB;){
|
|
1484
1481
|
var i1 = t.nextSibling;
|
|
1485
1482
|
t.remove(), t = i1;
|
|
1486
1483
|
}
|
|
@@ -1519,7 +1516,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1519
1516
|
value: function _$AI(t) {
|
|
1520
1517
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
|
|
1521
1518
|
var h = this.strings;
|
|
1522
|
-
var o =
|
|
1519
|
+
var o = !1;
|
|
1523
1520
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1524
1521
|
else {
|
|
1525
1522
|
var e1 = t;
|
|
@@ -1634,7 +1631,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1634
1631
|
}();
|
|
1635
1632
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1636
1633
|
var _litHtmlVersions;
|
|
1637
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1634
|
+
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.2.1");
|
|
1638
1635
|
var B = function(t, i, s) {
|
|
1639
1636
|
var _s_renderBefore;
|
|
1640
1637
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1669,6 +1666,7 @@ function _defineProperties(target, props) {
|
|
|
1669
1666
|
}
|
|
1670
1667
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1671
1668
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1669
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1672
1670
|
return Constructor;
|
|
1673
1671
|
}
|
|
1674
1672
|
function _get(target, property, receiver) {
|
|
@@ -1707,7 +1705,7 @@ function _inherits(subClass, superClass) {
|
|
|
1707
1705
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1708
1706
|
}
|
|
1709
1707
|
function _possible_constructor_return(self, call) {
|
|
1710
|
-
if (call && (_type_of$
|
|
1708
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
|
1711
1709
|
return call;
|
|
1712
1710
|
}
|
|
1713
1711
|
return _assert_this_initialized(self);
|
|
@@ -1726,7 +1724,7 @@ function _super_prop_base(object, property) {
|
|
|
1726
1724
|
}
|
|
1727
1725
|
return object;
|
|
1728
1726
|
}
|
|
1729
|
-
function _type_of$
|
|
1727
|
+
function _type_of$1(obj) {
|
|
1730
1728
|
"@swc/helpers - typeof";
|
|
1731
1729
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1732
1730
|
}
|
|
@@ -1754,18 +1752,17 @@ function _create_super(Derived) {
|
|
|
1754
1752
|
return _possible_constructor_return(this, result);
|
|
1755
1753
|
};
|
|
1756
1754
|
}
|
|
1757
|
-
var
|
|
1758
|
-
var
|
|
1755
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
1756
|
+
var _globalThis1;
|
|
1759
1757
|
/**
|
|
1760
1758
|
* @license
|
|
1761
1759
|
* Copyright 2017 Google LLC
|
|
1762
1760
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1763
|
-
*/ var
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
_class_call_check(this, i);
|
|
1761
|
+
*/ var r$2 = /*#__PURE__*/ function(t) {
|
|
1762
|
+
_inherits(r, t);
|
|
1763
|
+
var _super = _create_super(r);
|
|
1764
|
+
function r() {
|
|
1765
|
+
_class_call_check(this, r);
|
|
1769
1766
|
var _this;
|
|
1770
1767
|
_this = _super.call.apply(_super, [
|
|
1771
1768
|
this
|
|
@@ -1774,12 +1771,12 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1774
1771
|
}, _this._$Do = void 0;
|
|
1775
1772
|
return _possible_constructor_return(_this);
|
|
1776
1773
|
}
|
|
1777
|
-
_create_class(
|
|
1774
|
+
_create_class(r, [
|
|
1778
1775
|
{
|
|
1779
1776
|
key: "createRenderRoot",
|
|
1780
1777
|
value: function createRenderRoot() {
|
|
1781
1778
|
var _this_renderOptions;
|
|
1782
|
-
var _$t = _get(_get_prototype_of(
|
|
1779
|
+
var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
|
|
1783
1780
|
var _renderBefore;
|
|
1784
1781
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1785
1782
|
}
|
|
@@ -1787,22 +1784,22 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1787
1784
|
{
|
|
1788
1785
|
key: "update",
|
|
1789
1786
|
value: function update(t) {
|
|
1790
|
-
var
|
|
1791
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1787
|
+
var s = this.render();
|
|
1788
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
|
|
1792
1789
|
}
|
|
1793
1790
|
},
|
|
1794
1791
|
{
|
|
1795
1792
|
key: "connectedCallback",
|
|
1796
1793
|
value: function connectedCallback() {
|
|
1797
1794
|
var _this__$Do;
|
|
1798
|
-
_get(_get_prototype_of(
|
|
1795
|
+
_get(_get_prototype_of(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
|
|
1799
1796
|
}
|
|
1800
1797
|
},
|
|
1801
1798
|
{
|
|
1802
1799
|
key: "disconnectedCallback",
|
|
1803
1800
|
value: function disconnectedCallback() {
|
|
1804
1801
|
var _this__$Do;
|
|
1805
|
-
_get(_get_prototype_of(
|
|
1802
|
+
_get(_get_prototype_of(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
|
|
1806
1803
|
}
|
|
1807
1804
|
},
|
|
1808
1805
|
{
|
|
@@ -1812,17 +1809,17 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1812
1809
|
}
|
|
1813
1810
|
}
|
|
1814
1811
|
]);
|
|
1815
|
-
return
|
|
1816
|
-
}(
|
|
1817
|
-
|
|
1818
|
-
LitElement:
|
|
1812
|
+
return r;
|
|
1813
|
+
}(b);
|
|
1814
|
+
r$2._$litElement$ = !0, r$2["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
|
1815
|
+
LitElement: r$2
|
|
1819
1816
|
});
|
|
1820
|
-
var
|
|
1821
|
-
|
|
1822
|
-
LitElement:
|
|
1817
|
+
var i = globalThis.litElementPolyfillSupport;
|
|
1818
|
+
i === null || i === void 0 ? void 0 : i({
|
|
1819
|
+
LitElement: r$2
|
|
1823
1820
|
});
|
|
1824
1821
|
var _litElementVersions;
|
|
1825
|
-
((_litElementVersions = (
|
|
1822
|
+
((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
|
|
1826
1823
|
|
|
1827
1824
|
/**
|
|
1828
1825
|
* @license
|
|
@@ -1836,25 +1833,73 @@ var _litElementVersions;
|
|
|
1836
1833
|
};
|
|
1837
1834
|
};
|
|
1838
1835
|
|
|
1839
|
-
function
|
|
1840
|
-
|
|
1841
|
-
|
|
1836
|
+
function _define_property$2(obj, key, value) {
|
|
1837
|
+
if (key in obj) {
|
|
1838
|
+
Object.defineProperty(obj, key, {
|
|
1839
|
+
value: value,
|
|
1840
|
+
enumerable: true,
|
|
1841
|
+
configurable: true,
|
|
1842
|
+
writable: true
|
|
1843
|
+
});
|
|
1844
|
+
} else {
|
|
1845
|
+
obj[key] = value;
|
|
1846
|
+
}
|
|
1847
|
+
return obj;
|
|
1848
|
+
}
|
|
1849
|
+
function _object_spread$1(target) {
|
|
1850
|
+
for(var i = 1; i < arguments.length; i++){
|
|
1851
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
1852
|
+
var ownKeys = Object.keys(source);
|
|
1853
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1854
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1855
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1856
|
+
}));
|
|
1857
|
+
}
|
|
1858
|
+
ownKeys.forEach(function(key) {
|
|
1859
|
+
_define_property$2(target, key, source[key]);
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1862
|
+
return target;
|
|
1863
|
+
}
|
|
1864
|
+
function ownKeys$1(object, enumerableOnly) {
|
|
1865
|
+
var keys = Object.keys(object);
|
|
1866
|
+
if (Object.getOwnPropertySymbols) {
|
|
1867
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
1868
|
+
if (enumerableOnly) {
|
|
1869
|
+
symbols = symbols.filter(function(sym) {
|
|
1870
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1871
|
+
});
|
|
1872
|
+
}
|
|
1873
|
+
keys.push.apply(keys, symbols);
|
|
1874
|
+
}
|
|
1875
|
+
return keys;
|
|
1876
|
+
}
|
|
1877
|
+
function _object_spread_props$1(target, source) {
|
|
1878
|
+
source = source != null ? source : {};
|
|
1879
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
1880
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1881
|
+
} else {
|
|
1882
|
+
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1883
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1884
|
+
});
|
|
1885
|
+
}
|
|
1886
|
+
return target;
|
|
1842
1887
|
}
|
|
1843
1888
|
/**
|
|
1844
1889
|
* @license
|
|
1845
1890
|
* Copyright 2017 Google LLC
|
|
1846
1891
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1847
1892
|
*/ var o = {
|
|
1848
|
-
attribute:
|
|
1893
|
+
attribute: !0,
|
|
1849
1894
|
type: String,
|
|
1850
1895
|
converter: u$1,
|
|
1851
|
-
reflect:
|
|
1896
|
+
reflect: !1,
|
|
1852
1897
|
hasChanged: f$1
|
|
1853
1898
|
}, r$1 = function() {
|
|
1854
1899
|
var _$t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : o, _$e = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0;
|
|
1855
1900
|
var n = r.kind, i = r.metadata;
|
|
1856
1901
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1857
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map),
|
|
1902
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1858
1903
|
var o1 = r.name;
|
|
1859
1904
|
return {
|
|
1860
1905
|
set: function set(r) {
|
|
@@ -1862,7 +1907,7 @@ function _type_of$2(obj) {
|
|
|
1862
1907
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1863
1908
|
},
|
|
1864
1909
|
init: function init(e) {
|
|
1865
|
-
return void 0 !== e && this.
|
|
1910
|
+
return void 0 !== e && this.P(o1, void 0, _$t), e;
|
|
1866
1911
|
}
|
|
1867
1912
|
};
|
|
1868
1913
|
}
|
|
@@ -1877,9 +1922,11 @@ function _type_of$2(obj) {
|
|
|
1877
1922
|
};
|
|
1878
1923
|
function n(t) {
|
|
1879
1924
|
return function(e, o) {
|
|
1880
|
-
return "object" ==
|
|
1925
|
+
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1881
1926
|
var r = e.hasOwnProperty(o);
|
|
1882
|
-
return e.constructor.createProperty(o,
|
|
1927
|
+
return e.constructor.createProperty(o, r ? _object_spread_props$1(_object_spread$1({}, t), {
|
|
1928
|
+
wrapped: !0
|
|
1929
|
+
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1883
1930
|
}(t, e, o);
|
|
1884
1931
|
};
|
|
1885
1932
|
}
|
|
@@ -1916,6 +1963,11 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1916
1963
|
var keys = Object.keys(object);
|
|
1917
1964
|
if (Object.getOwnPropertySymbols) {
|
|
1918
1965
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1966
|
+
if (enumerableOnly) {
|
|
1967
|
+
symbols = symbols.filter(function(sym) {
|
|
1968
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1969
|
+
});
|
|
1970
|
+
}
|
|
1919
1971
|
keys.push.apply(keys, symbols);
|
|
1920
1972
|
}
|
|
1921
1973
|
return keys;
|
|
@@ -1937,12 +1989,12 @@ function _object_spread_props(target, source) {
|
|
|
1937
1989
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1938
1990
|
*/ function r(r) {
|
|
1939
1991
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1940
|
-
state:
|
|
1941
|
-
attribute:
|
|
1992
|
+
state: !0,
|
|
1993
|
+
attribute: !1
|
|
1942
1994
|
}));
|
|
1943
1995
|
}
|
|
1944
1996
|
|
|
1945
|
-
class InputFileElement extends
|
|
1997
|
+
class InputFileElement extends r$2 {
|
|
1946
1998
|
get content() {
|
|
1947
1999
|
return this._content;
|
|
1948
2000
|
}
|
|
@@ -2054,7 +2106,7 @@ InputFileElement = __decorate([
|
|
|
2054
2106
|
t('digipair-input-file')
|
|
2055
2107
|
], InputFileElement);
|
|
2056
2108
|
|
|
2057
|
-
class InputJsonElement extends
|
|
2109
|
+
class InputJsonElement extends r$2 {
|
|
2058
2110
|
get content() {
|
|
2059
2111
|
return this._content;
|
|
2060
2112
|
}
|
|
@@ -2166,7 +2218,7 @@ InputJsonElement = __decorate([
|
|
|
2166
2218
|
t('digipair-input-json')
|
|
2167
2219
|
], InputJsonElement);
|
|
2168
2220
|
|
|
2169
|
-
class InputTextElement extends
|
|
2221
|
+
class InputTextElement extends r$2 {
|
|
2170
2222
|
get content() {
|
|
2171
2223
|
return this._content;
|
|
2172
2224
|
}
|
|
@@ -2278,7 +2330,7 @@ InputTextElement = __decorate([
|
|
|
2278
2330
|
t('digipair-input-text')
|
|
2279
2331
|
], InputTextElement);
|
|
2280
2332
|
|
|
2281
|
-
class DomAttributeElement extends
|
|
2333
|
+
class DomAttributeElement extends r$2 {
|
|
2282
2334
|
get value() {
|
|
2283
2335
|
return this._value;
|
|
2284
2336
|
}
|
|
@@ -2330,12 +2382,8 @@ DomAttributeElement = __decorate([
|
|
|
2330
2382
|
|
|
2331
2383
|
/**
|
|
2332
2384
|
* Guard function that checks if provided `input` is an Element.
|
|
2333
|
-
*/ function
|
|
2334
|
-
"
|
|
2335
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2336
|
-
}
|
|
2337
|
-
function isElement(input) {
|
|
2338
|
-
return (typeof input === "undefined" ? "undefined" : _type_of$1(input)) === "object" && input !== null && input.nodeType === Node.ELEMENT_NODE;
|
|
2385
|
+
*/ function isElement(input) {
|
|
2386
|
+
return typeof input === "object" && input !== null && input.nodeType === Node.ELEMENT_NODE;
|
|
2339
2387
|
}
|
|
2340
2388
|
|
|
2341
2389
|
var OPERATOR = {
|
|
@@ -3638,7 +3686,7 @@ function getCssSelector(element, options = {}) {
|
|
|
3638
3686
|
return unescapeCSS(selector);
|
|
3639
3687
|
}
|
|
3640
3688
|
|
|
3641
|
-
class ElementElement extends
|
|
3689
|
+
class ElementElement extends r$2 {
|
|
3642
3690
|
get content() {
|
|
3643
3691
|
return this._content;
|
|
3644
3692
|
}
|
|
@@ -3818,7 +3866,7 @@ ElementElement = __decorate([
|
|
|
3818
3866
|
t('digipair-input-element')
|
|
3819
3867
|
], ElementElement);
|
|
3820
3868
|
|
|
3821
|
-
class FetchElement extends
|
|
3869
|
+
class FetchElement extends r$2 {
|
|
3822
3870
|
get value() {
|
|
3823
3871
|
return this._value;
|
|
3824
3872
|
}
|
|
@@ -3863,7 +3911,7 @@ FetchElement = __decorate([
|
|
|
3863
3911
|
t('digipair-input-fetch')
|
|
3864
3912
|
], FetchElement);
|
|
3865
3913
|
|
|
3866
|
-
class HiddenElement extends
|
|
3914
|
+
class HiddenElement extends r$2 {
|
|
3867
3915
|
render() {
|
|
3868
3916
|
return x``;
|
|
3869
3917
|
}
|