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