@digipair/skill-web-inputs 0.92.2 → 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
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
function __decorate(decorators, target, key, desc) {
|
|
6
4
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7
5
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -11,7 +9,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
11
9
|
function __metadata(metadataKey, metadataValue) {
|
|
12
10
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
13
11
|
}
|
|
14
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
|
12
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
15
13
|
var e = new Error(message);
|
|
16
14
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
17
15
|
};
|
|
@@ -36,7 +34,6 @@ function _defineProperties$3(target, props) {
|
|
|
36
34
|
}
|
|
37
35
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
38
36
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
39
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
40
37
|
return Constructor;
|
|
41
38
|
}
|
|
42
39
|
function _instanceof$2(left, right) {
|
|
@@ -46,11 +43,11 @@ function _instanceof$2(left, right) {
|
|
|
46
43
|
return left instanceof right;
|
|
47
44
|
}
|
|
48
45
|
}
|
|
49
|
-
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$
|
|
46
|
+
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;
|
|
50
47
|
var n$3 = /*#__PURE__*/ function() {
|
|
51
48
|
function n(t, e, o) {
|
|
52
49
|
_class_call_check$3(this, n);
|
|
53
|
-
if (this._$cssResult$ =
|
|
50
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
54
51
|
this.cssText = t, this.t = e;
|
|
55
52
|
}
|
|
56
53
|
_create_class$3(n, [
|
|
@@ -61,7 +58,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
61
58
|
var s = this.t;
|
|
62
59
|
if (e$2 && void 0 === t) {
|
|
63
60
|
var e1 = void 0 !== s && 1 === s.length;
|
|
64
|
-
e1 && (t = o$
|
|
61
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
|
65
62
|
}
|
|
66
63
|
return t;
|
|
67
64
|
}
|
|
@@ -75,20 +72,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
75
72
|
]);
|
|
76
73
|
return n;
|
|
77
74
|
}();
|
|
78
|
-
var r$
|
|
79
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
75
|
+
var r$4 = function(t) {
|
|
76
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
|
80
77
|
}, i$3 = function(t) {
|
|
81
78
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
82
79
|
e[_key - 1] = arguments[_key];
|
|
83
80
|
}
|
|
84
81
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
85
82
|
return e + function(t) {
|
|
86
|
-
if (
|
|
83
|
+
if (true === t._$cssResult$) return t.cssText;
|
|
87
84
|
if ("number" == typeof t) return t;
|
|
88
85
|
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.");
|
|
89
86
|
}(s) + t[o + 1];
|
|
90
87
|
}, t[0]);
|
|
91
|
-
return new n$3(o, t, s$
|
|
88
|
+
return new n$3(o, t, s$2);
|
|
92
89
|
}, S$1 = function(s, o) {
|
|
93
90
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
94
91
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -139,7 +136,7 @@ var r$5 = function(t) {
|
|
|
139
136
|
}
|
|
140
137
|
}
|
|
141
138
|
}
|
|
142
|
-
return r$
|
|
139
|
+
return r$4(e);
|
|
143
140
|
}(t) : t;
|
|
144
141
|
};
|
|
145
142
|
|
|
@@ -281,7 +278,7 @@ function _non_iterable_spread$9() {
|
|
|
281
278
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
282
279
|
}
|
|
283
280
|
function _possible_constructor_return$2(self, call) {
|
|
284
|
-
if (call && (_type_of$
|
|
281
|
+
if (call && (_type_of$5(call) === "object" || typeof call === "function")) {
|
|
285
282
|
return call;
|
|
286
283
|
}
|
|
287
284
|
return _assert_this_initialized$2(self);
|
|
@@ -299,7 +296,7 @@ function _sliced_to_array$2(arr, i) {
|
|
|
299
296
|
function _to_consumable_array$9(arr) {
|
|
300
297
|
return _array_without_holes$9(arr) || _iterable_to_array$9(arr) || _unsupported_iterable_to_array$a(arr) || _non_iterable_spread$9();
|
|
301
298
|
}
|
|
302
|
-
function _type_of$
|
|
299
|
+
function _type_of$5(obj) {
|
|
303
300
|
"@swc/helpers - typeof";
|
|
304
301
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
305
302
|
}
|
|
@@ -461,7 +458,7 @@ var _Symbol, _a, _a1;
|
|
|
461
458
|
* @license
|
|
462
459
|
* Copyright 2017 Google LLC
|
|
463
460
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
464
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
461
|
+
*/ 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) {
|
|
465
462
|
return t;
|
|
466
463
|
}, u$1 = {
|
|
467
464
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -496,25 +493,26 @@ var _Symbol, _a, _a1;
|
|
|
496
493
|
}
|
|
497
494
|
}, f$1 = function(t, s) {
|
|
498
495
|
return !i$2(t, s);
|
|
499
|
-
},
|
|
500
|
-
attribute:
|
|
496
|
+
}, b = {
|
|
497
|
+
attribute: true,
|
|
501
498
|
type: String,
|
|
502
499
|
converter: u$1,
|
|
503
|
-
reflect:
|
|
500
|
+
reflect: false,
|
|
501
|
+
useDefault: false,
|
|
504
502
|
hasChanged: f$1
|
|
505
503
|
};
|
|
506
504
|
var _metadata, _litPropertyMetadata;
|
|
507
505
|
(_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;
|
|
508
|
-
var
|
|
509
|
-
_inherits$2(
|
|
510
|
-
var _super = _create_super$2(
|
|
511
|
-
function
|
|
512
|
-
_class_call_check$2(this,
|
|
506
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
507
|
+
_inherits$2(y, HTMLElement1);
|
|
508
|
+
var _super = _create_super$2(y);
|
|
509
|
+
function y() {
|
|
510
|
+
_class_call_check$2(this, y);
|
|
513
511
|
var _this;
|
|
514
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
512
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
|
515
513
|
return _possible_constructor_return$2(_this);
|
|
516
514
|
}
|
|
517
|
-
_create_class$2(
|
|
515
|
+
_create_class$2(y, [
|
|
518
516
|
{
|
|
519
517
|
key: "_$Ev",
|
|
520
518
|
value: function _$Ev() {
|
|
@@ -582,7 +580,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
582
580
|
value: function connectedCallback() {
|
|
583
581
|
var _this__$EO;
|
|
584
582
|
var _this_renderRoot;
|
|
585
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
583
|
+
(_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) {
|
|
586
584
|
var _t_hostConnected;
|
|
587
585
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
588
586
|
});
|
|
@@ -609,13 +607,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
609
607
|
}
|
|
610
608
|
},
|
|
611
609
|
{
|
|
612
|
-
key: "_$
|
|
613
|
-
value: function _$
|
|
610
|
+
key: "_$ET",
|
|
611
|
+
value: function _$ET(t, s) {
|
|
614
612
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
615
|
-
if (void 0 !== e &&
|
|
613
|
+
if (void 0 !== e && true === i.reflect) {
|
|
616
614
|
var _i_converter;
|
|
617
|
-
var
|
|
618
|
-
this._$Em = t, null ==
|
|
615
|
+
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);
|
|
616
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
619
617
|
}
|
|
620
618
|
}
|
|
621
619
|
},
|
|
@@ -624,11 +622,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
624
622
|
value: function _$AK(t, s) {
|
|
625
623
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
626
624
|
if (void 0 !== e && this._$Em !== e) {
|
|
627
|
-
var _t_converter;
|
|
628
|
-
var _$t = i.getPropertyOptions(e),
|
|
625
|
+
var _t_converter, _this__$Ej;
|
|
626
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
|
629
627
|
fromAttribute: _$t.converter
|
|
630
628
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
631
|
-
|
|
629
|
+
var _h_fromAttribute, _ref;
|
|
630
|
+
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;
|
|
632
631
|
}
|
|
633
632
|
}
|
|
634
633
|
},
|
|
@@ -636,30 +635,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
636
635
|
key: "requestUpdate",
|
|
637
636
|
value: function requestUpdate(t, s, i) {
|
|
638
637
|
if (void 0 !== t) {
|
|
638
|
+
var _this__$Ej;
|
|
639
|
+
var e = this.constructor, h = this[t];
|
|
639
640
|
var _i_hasChanged;
|
|
640
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
641
|
-
this.
|
|
641
|
+
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;
|
|
642
|
+
this.C(t, s, i);
|
|
642
643
|
}
|
|
643
|
-
|
|
644
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
644
645
|
}
|
|
645
646
|
},
|
|
646
647
|
{
|
|
647
|
-
key: "
|
|
648
|
-
value: function
|
|
649
|
-
var
|
|
650
|
-
|
|
648
|
+
key: "C",
|
|
649
|
+
value: function C(t, s, param, r) {
|
|
650
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
|
651
|
+
var _this__$Ej, _ref, _this__$Eq;
|
|
652
|
+
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));
|
|
651
653
|
}
|
|
652
654
|
},
|
|
653
655
|
{
|
|
654
|
-
key: "_$
|
|
655
|
-
value: function _$
|
|
656
|
+
key: "_$EP",
|
|
657
|
+
value: function _$EP() {
|
|
656
658
|
var _this = this;
|
|
657
659
|
return _async_to_generator(function() {
|
|
658
660
|
var t, _$t, _tmp;
|
|
659
661
|
return _ts_generator$1(this, function(_state) {
|
|
660
662
|
switch(_state.label){
|
|
661
663
|
case 0:
|
|
662
|
-
_this.isUpdatePending =
|
|
664
|
+
_this.isUpdatePending = true;
|
|
663
665
|
_state.label = 1;
|
|
664
666
|
case 1:
|
|
665
667
|
_state.trys.push([
|
|
@@ -749,7 +751,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
749
751
|
if (t1.size > 0) try {
|
|
750
752
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
751
753
|
var _step_value1 = _sliced_to_array$2(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
752
|
-
|
|
754
|
+
var t2 = i.wrapped, e = this[_$s1];
|
|
755
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
753
756
|
}
|
|
754
757
|
} catch (err) {
|
|
755
758
|
_didIteratorError1 = true;
|
|
@@ -766,18 +769,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
766
769
|
}
|
|
767
770
|
}
|
|
768
771
|
}
|
|
769
|
-
var
|
|
772
|
+
var t3 = false;
|
|
770
773
|
var _$s2 = this._$AL;
|
|
771
774
|
try {
|
|
772
775
|
var _this__$EO;
|
|
773
|
-
|
|
776
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
774
777
|
var _t_hostUpdate;
|
|
775
778
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
776
|
-
}), this.update(_$s2)) : this._$
|
|
779
|
+
}), this.update(_$s2)) : this._$EM();
|
|
777
780
|
} catch (s) {
|
|
778
|
-
throw
|
|
781
|
+
throw t3 = false, this._$EM(), s;
|
|
779
782
|
}
|
|
780
|
-
|
|
783
|
+
t3 && this._$AE(_$s2);
|
|
781
784
|
}
|
|
782
785
|
},
|
|
783
786
|
{
|
|
@@ -791,13 +794,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
791
794
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
792
795
|
var _t_hostUpdated;
|
|
793
796
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
794
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
797
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
795
798
|
}
|
|
796
799
|
},
|
|
797
800
|
{
|
|
798
|
-
key: "_$
|
|
799
|
-
value: function _$
|
|
800
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
801
|
+
key: "_$EM",
|
|
802
|
+
value: function _$EM() {
|
|
803
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
|
801
804
|
}
|
|
802
805
|
},
|
|
803
806
|
{
|
|
@@ -815,16 +818,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
815
818
|
{
|
|
816
819
|
key: "shouldUpdate",
|
|
817
820
|
value: function shouldUpdate(t) {
|
|
818
|
-
return
|
|
821
|
+
return true;
|
|
819
822
|
}
|
|
820
823
|
},
|
|
821
824
|
{
|
|
822
825
|
key: "update",
|
|
823
826
|
value: function update(t) {
|
|
824
827
|
var _this = this;
|
|
825
|
-
this._$
|
|
826
|
-
return _this._$
|
|
827
|
-
})), this._$
|
|
828
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
|
829
|
+
return _this._$ET(t, _this[t]);
|
|
830
|
+
})), this._$EM();
|
|
828
831
|
}
|
|
829
832
|
},
|
|
830
833
|
{
|
|
@@ -852,35 +855,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
852
855
|
{
|
|
853
856
|
key: "createProperty",
|
|
854
857
|
value: function createProperty(t) {
|
|
855
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
856
|
-
if (s.state && (s.attribute =
|
|
857
|
-
var i = Symbol(),
|
|
858
|
-
void 0 !==
|
|
858
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
|
859
|
+
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) {
|
|
860
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
|
861
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
|
859
862
|
}
|
|
860
863
|
}
|
|
861
864
|
},
|
|
862
865
|
{
|
|
863
866
|
key: "getPropertyDescriptor",
|
|
864
867
|
value: function getPropertyDescriptor(t, s, i) {
|
|
865
|
-
var
|
|
866
|
-
var _ref = (
|
|
868
|
+
var _h;
|
|
869
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
|
867
870
|
get: function get() {
|
|
868
871
|
return this[s];
|
|
869
872
|
},
|
|
870
873
|
set: function set(t) {
|
|
871
874
|
this[s] = t;
|
|
872
875
|
}
|
|
873
|
-
}, e = _ref.get,
|
|
876
|
+
}, e = _ref.get, r = _ref.set;
|
|
874
877
|
return {
|
|
875
|
-
get:
|
|
876
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
877
|
-
},
|
|
878
|
+
get: e,
|
|
878
879
|
set: function set(s) {
|
|
879
|
-
var
|
|
880
|
-
|
|
880
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
|
881
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
|
881
882
|
},
|
|
882
|
-
configurable:
|
|
883
|
-
enumerable:
|
|
883
|
+
configurable: true,
|
|
884
|
+
enumerable: true
|
|
884
885
|
};
|
|
885
886
|
}
|
|
886
887
|
},
|
|
@@ -888,7 +889,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
888
889
|
key: "getPropertyOptions",
|
|
889
890
|
value: function getPropertyOptions(t) {
|
|
890
891
|
var _this_elementProperties_get;
|
|
891
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
892
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
|
892
893
|
}
|
|
893
894
|
},
|
|
894
895
|
{
|
|
@@ -903,8 +904,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
903
904
|
key: "finalize",
|
|
904
905
|
value: function finalize() {
|
|
905
906
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
906
|
-
if (this.finalized =
|
|
907
|
-
var t = this.properties, s = _to_consumable_array$9(
|
|
907
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
908
|
+
var t = this.properties, s = _to_consumable_array$9(r$3(t)).concat(_to_consumable_array$9(o$3(t)));
|
|
908
909
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
909
910
|
try {
|
|
910
911
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1009,18 +1010,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1009
1010
|
key: "_$Eu",
|
|
1010
1011
|
value: function _$Eu(t, s) {
|
|
1011
1012
|
var i = s.attribute;
|
|
1012
|
-
return
|
|
1013
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1013
1014
|
}
|
|
1014
1015
|
}
|
|
1015
1016
|
]);
|
|
1016
|
-
return
|
|
1017
|
+
return y;
|
|
1017
1018
|
}(_wrap_native_super(HTMLElement));
|
|
1018
1019
|
var _reactiveElementVersions;
|
|
1019
|
-
|
|
1020
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
|
1020
1021
|
mode: "open"
|
|
1021
|
-
},
|
|
1022
|
-
ReactiveElement:
|
|
1023
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
|
1022
|
+
}, 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({
|
|
1023
|
+
ReactiveElement: y$1
|
|
1024
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
|
1024
1025
|
|
|
1025
1026
|
/**
|
|
1026
1027
|
* @license
|
|
@@ -1115,7 +1116,7 @@ function _non_iterable_spread$8() {
|
|
|
1115
1116
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1116
1117
|
}
|
|
1117
1118
|
function _possible_constructor_return$1(self, call) {
|
|
1118
|
-
if (call && (_type_of$
|
|
1119
|
+
if (call && (_type_of$4(call) === "object" || typeof call === "function")) {
|
|
1119
1120
|
return call;
|
|
1120
1121
|
}
|
|
1121
1122
|
return _assert_this_initialized$1(self);
|
|
@@ -1133,7 +1134,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
1133
1134
|
function _to_consumable_array$8(arr) {
|
|
1134
1135
|
return _array_without_holes$8(arr) || _iterable_to_array$8(arr) || _unsupported_iterable_to_array$9(arr) || _non_iterable_spread$8();
|
|
1135
1136
|
}
|
|
1136
|
-
function _type_of$
|
|
1137
|
+
function _type_of$4(obj) {
|
|
1137
1138
|
"@swc/helpers - typeof";
|
|
1138
1139
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1139
1140
|
}
|
|
@@ -1170,17 +1171,17 @@ function _create_super$1(Derived) {
|
|
|
1170
1171
|
};
|
|
1171
1172
|
}
|
|
1172
1173
|
var _t;
|
|
1173
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1174
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
|
1174
1175
|
createHTML: function(t) {
|
|
1175
1176
|
return t;
|
|
1176
1177
|
}
|
|
1177
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1178
|
-
return r$
|
|
1178
|
+
}) : 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() {
|
|
1179
|
+
return r$2.createComment("");
|
|
1179
1180
|
}, c = function(t) {
|
|
1180
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1181
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$4(t)) && "function" != typeof t;
|
|
1181
1182
|
}, a = Array.isArray, u = function(t) {
|
|
1182
1183
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1183
|
-
}, d = "[
|
|
1184
|
+
}, 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) {
|
|
1184
1185
|
return function(i) {
|
|
1185
1186
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1186
1187
|
s[_key - 1] = arguments[_key];
|
|
@@ -1191,10 +1192,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
|
1191
1192
|
values: s
|
|
1192
1193
|
};
|
|
1193
1194
|
};
|
|
1194
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1195
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
|
1195
1196
|
function P(t, i) {
|
|
1196
1197
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1197
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
|
1198
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
|
1198
1199
|
}
|
|
1199
1200
|
var V = function(t, i) {
|
|
1200
1201
|
var s = t.length - 1, o = [];
|
|
@@ -1269,7 +1270,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1269
1270
|
r.append(t3[s2], l());
|
|
1270
1271
|
}
|
|
1271
1272
|
}
|
|
1272
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1273
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
|
1273
1274
|
type: 2,
|
|
1274
1275
|
index: c
|
|
1275
1276
|
});
|
|
@@ -1287,7 +1288,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1287
1288
|
{
|
|
1288
1289
|
key: "createElement",
|
|
1289
1290
|
value: function createElement(t, i) {
|
|
1290
|
-
var s = r$
|
|
1291
|
+
var s = r$2.createElement("template");
|
|
1291
1292
|
return s.innerHTML = t, s;
|
|
1292
1293
|
}
|
|
1293
1294
|
}
|
|
@@ -1302,7 +1303,7 @@ function S(t, i) {
|
|
|
1302
1303
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1303
1304
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1304
1305
|
var __$Co;
|
|
1305
|
-
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,
|
|
1306
|
+
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;
|
|
1306
1307
|
}
|
|
1307
1308
|
var M = /*#__PURE__*/ function() {
|
|
1308
1309
|
function M(t, i) {
|
|
@@ -1326,7 +1327,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1326
1327
|
key: "u",
|
|
1327
1328
|
value: function u(t) {
|
|
1328
1329
|
var _t_creationScope;
|
|
1329
|
-
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$
|
|
1330
|
+
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);
|
|
1330
1331
|
C.currentNode = e;
|
|
1331
1332
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1332
1333
|
for(; void 0 !== l;){
|
|
@@ -1336,7 +1337,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1336
1337
|
}
|
|
1337
1338
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1338
1339
|
}
|
|
1339
|
-
return C.currentNode = r$
|
|
1340
|
+
return C.currentNode = r$2, e;
|
|
1340
1341
|
}
|
|
1341
1342
|
},
|
|
1342
1343
|
{
|
|
@@ -1372,7 +1373,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1372
1373
|
function R(t, i, s, e) {
|
|
1373
1374
|
_class_call_check$1(this, R);
|
|
1374
1375
|
var _e_isConnected;
|
|
1375
|
-
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 :
|
|
1376
|
+
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;
|
|
1376
1377
|
}
|
|
1377
1378
|
_create_class$1(R, [
|
|
1378
1379
|
{
|
|
@@ -1425,7 +1426,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1425
1426
|
{
|
|
1426
1427
|
key: "_",
|
|
1427
1428
|
value: function _(t) {
|
|
1428
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1429
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
|
1429
1430
|
}
|
|
1430
1431
|
},
|
|
1431
1432
|
{
|
|
@@ -1481,7 +1482,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1481
1482
|
value: function _$AR() {
|
|
1482
1483
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1483
1484
|
var _this__$AP, _this;
|
|
1484
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1485
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
|
|
1485
1486
|
var i1 = t.nextSibling;
|
|
1486
1487
|
t.remove(), t = i1;
|
|
1487
1488
|
}
|
|
@@ -1520,7 +1521,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1520
1521
|
value: function _$AI(t) {
|
|
1521
1522
|
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;
|
|
1522
1523
|
var h = this.strings;
|
|
1523
|
-
var o =
|
|
1524
|
+
var o = false;
|
|
1524
1525
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1525
1526
|
else {
|
|
1526
1527
|
var e1 = t;
|
|
@@ -1635,7 +1636,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1635
1636
|
}();
|
|
1636
1637
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1637
1638
|
var _litHtmlVersions;
|
|
1638
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1639
|
+
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");
|
|
1639
1640
|
var B = function(t, i, s) {
|
|
1640
1641
|
var _s_renderBefore;
|
|
1641
1642
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1670,7 +1671,6 @@ function _defineProperties(target, props) {
|
|
|
1670
1671
|
}
|
|
1671
1672
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1672
1673
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1673
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1674
1674
|
return Constructor;
|
|
1675
1675
|
}
|
|
1676
1676
|
function _get(target, property, receiver) {
|
|
@@ -1709,7 +1709,7 @@ function _inherits(subClass, superClass) {
|
|
|
1709
1709
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1710
1710
|
}
|
|
1711
1711
|
function _possible_constructor_return(self, call) {
|
|
1712
|
-
if (call && (_type_of$
|
|
1712
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
1713
1713
|
return call;
|
|
1714
1714
|
}
|
|
1715
1715
|
return _assert_this_initialized(self);
|
|
@@ -1728,7 +1728,7 @@ function _super_prop_base(object, property) {
|
|
|
1728
1728
|
}
|
|
1729
1729
|
return object;
|
|
1730
1730
|
}
|
|
1731
|
-
function _type_of$
|
|
1731
|
+
function _type_of$3(obj) {
|
|
1732
1732
|
"@swc/helpers - typeof";
|
|
1733
1733
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1734
1734
|
}
|
|
@@ -1756,17 +1756,18 @@ function _create_super(Derived) {
|
|
|
1756
1756
|
return _possible_constructor_return(this, result);
|
|
1757
1757
|
};
|
|
1758
1758
|
}
|
|
1759
|
-
var
|
|
1760
|
-
var
|
|
1759
|
+
var _s_litElementHydrateSupport;
|
|
1760
|
+
var _s;
|
|
1761
1761
|
/**
|
|
1762
1762
|
* @license
|
|
1763
1763
|
* Copyright 2017 Google LLC
|
|
1764
1764
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1765
|
-
*/ var
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1765
|
+
*/ var s = globalThis;
|
|
1766
|
+
var i = /*#__PURE__*/ function(t) {
|
|
1767
|
+
_inherits(i, t);
|
|
1768
|
+
var _super = _create_super(i);
|
|
1769
|
+
function i() {
|
|
1770
|
+
_class_call_check(this, i);
|
|
1770
1771
|
var _this;
|
|
1771
1772
|
_this = _super.call.apply(_super, [
|
|
1772
1773
|
this
|
|
@@ -1775,12 +1776,12 @@ var _globalThis1;
|
|
|
1775
1776
|
}, _this._$Do = void 0;
|
|
1776
1777
|
return _possible_constructor_return(_this);
|
|
1777
1778
|
}
|
|
1778
|
-
_create_class(
|
|
1779
|
+
_create_class(i, [
|
|
1779
1780
|
{
|
|
1780
1781
|
key: "createRenderRoot",
|
|
1781
1782
|
value: function createRenderRoot() {
|
|
1782
1783
|
var _this_renderOptions;
|
|
1783
|
-
var _$t = _get(_get_prototype_of(
|
|
1784
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
|
1784
1785
|
var _renderBefore;
|
|
1785
1786
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1786
1787
|
}
|
|
@@ -1788,22 +1789,22 @@ var _globalThis1;
|
|
|
1788
1789
|
{
|
|
1789
1790
|
key: "update",
|
|
1790
1791
|
value: function update(t) {
|
|
1791
|
-
var
|
|
1792
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1792
|
+
var r = this.render();
|
|
1793
|
+
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);
|
|
1793
1794
|
}
|
|
1794
1795
|
},
|
|
1795
1796
|
{
|
|
1796
1797
|
key: "connectedCallback",
|
|
1797
1798
|
value: function connectedCallback() {
|
|
1798
1799
|
var _this__$Do;
|
|
1799
|
-
_get(_get_prototype_of(
|
|
1800
|
+
_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);
|
|
1800
1801
|
}
|
|
1801
1802
|
},
|
|
1802
1803
|
{
|
|
1803
1804
|
key: "disconnectedCallback",
|
|
1804
1805
|
value: function disconnectedCallback() {
|
|
1805
1806
|
var _this__$Do;
|
|
1806
|
-
_get(_get_prototype_of(
|
|
1807
|
+
_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);
|
|
1807
1808
|
}
|
|
1808
1809
|
},
|
|
1809
1810
|
{
|
|
@@ -1813,17 +1814,17 @@ var _globalThis1;
|
|
|
1813
1814
|
}
|
|
1814
1815
|
}
|
|
1815
1816
|
]);
|
|
1816
|
-
return
|
|
1817
|
-
}(
|
|
1818
|
-
|
|
1819
|
-
LitElement:
|
|
1817
|
+
return i;
|
|
1818
|
+
}(y$1);
|
|
1819
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
|
1820
|
+
LitElement: i
|
|
1820
1821
|
});
|
|
1821
|
-
var
|
|
1822
|
-
|
|
1823
|
-
LitElement:
|
|
1822
|
+
var o$1 = s.litElementPolyfillSupport;
|
|
1823
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
|
1824
|
+
LitElement: i
|
|
1824
1825
|
});
|
|
1825
1826
|
var _litElementVersions;
|
|
1826
|
-
((_litElementVersions = (
|
|
1827
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
|
1827
1828
|
|
|
1828
1829
|
/**
|
|
1829
1830
|
* @license
|
|
@@ -1837,73 +1838,25 @@ var _litElementVersions;
|
|
|
1837
1838
|
};
|
|
1838
1839
|
};
|
|
1839
1840
|
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
value: value,
|
|
1844
|
-
enumerable: true,
|
|
1845
|
-
configurable: true,
|
|
1846
|
-
writable: true
|
|
1847
|
-
});
|
|
1848
|
-
} else {
|
|
1849
|
-
obj[key] = value;
|
|
1850
|
-
}
|
|
1851
|
-
return obj;
|
|
1852
|
-
}
|
|
1853
|
-
function _object_spread$1(target) {
|
|
1854
|
-
for(var i = 1; i < arguments.length; i++){
|
|
1855
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
1856
|
-
var ownKeys = Object.keys(source);
|
|
1857
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1858
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1859
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1860
|
-
}));
|
|
1861
|
-
}
|
|
1862
|
-
ownKeys.forEach(function(key) {
|
|
1863
|
-
_define_property$2(target, key, source[key]);
|
|
1864
|
-
});
|
|
1865
|
-
}
|
|
1866
|
-
return target;
|
|
1867
|
-
}
|
|
1868
|
-
function ownKeys$1(object, enumerableOnly) {
|
|
1869
|
-
var keys = Object.keys(object);
|
|
1870
|
-
if (Object.getOwnPropertySymbols) {
|
|
1871
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1872
|
-
if (enumerableOnly) {
|
|
1873
|
-
symbols = symbols.filter(function(sym) {
|
|
1874
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1875
|
-
});
|
|
1876
|
-
}
|
|
1877
|
-
keys.push.apply(keys, symbols);
|
|
1878
|
-
}
|
|
1879
|
-
return keys;
|
|
1880
|
-
}
|
|
1881
|
-
function _object_spread_props$1(target, source) {
|
|
1882
|
-
source = source != null ? source : {};
|
|
1883
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
1884
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1885
|
-
} else {
|
|
1886
|
-
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1887
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1888
|
-
});
|
|
1889
|
-
}
|
|
1890
|
-
return target;
|
|
1841
|
+
function _type_of$2(obj) {
|
|
1842
|
+
"@swc/helpers - typeof";
|
|
1843
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1891
1844
|
}
|
|
1892
1845
|
/**
|
|
1893
1846
|
* @license
|
|
1894
1847
|
* Copyright 2017 Google LLC
|
|
1895
1848
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1896
1849
|
*/ var o = {
|
|
1897
|
-
attribute:
|
|
1850
|
+
attribute: true,
|
|
1898
1851
|
type: String,
|
|
1899
1852
|
converter: u$1,
|
|
1900
|
-
reflect:
|
|
1853
|
+
reflect: false,
|
|
1901
1854
|
hasChanged: f$1
|
|
1902
1855
|
}, r$1 = function() {
|
|
1903
1856
|
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;
|
|
1904
1857
|
var n = r.kind, i = r.metadata;
|
|
1905
1858
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1906
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1859
|
+
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) {
|
|
1907
1860
|
var o1 = r.name;
|
|
1908
1861
|
return {
|
|
1909
1862
|
set: function set(r) {
|
|
@@ -1911,7 +1864,7 @@ function _object_spread_props$1(target, source) {
|
|
|
1911
1864
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1912
1865
|
},
|
|
1913
1866
|
init: function init(e) {
|
|
1914
|
-
return void 0 !== e && this.
|
|
1867
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
|
1915
1868
|
}
|
|
1916
1869
|
};
|
|
1917
1870
|
}
|
|
@@ -1926,11 +1879,9 @@ function _object_spread_props$1(target, source) {
|
|
|
1926
1879
|
};
|
|
1927
1880
|
function n(t) {
|
|
1928
1881
|
return function(e, o) {
|
|
1929
|
-
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1882
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of$2(o)) ? r$1(t, e, o) : function(t, e, o) {
|
|
1930
1883
|
var r = e.hasOwnProperty(o);
|
|
1931
|
-
return e.constructor.createProperty(o, r ?
|
|
1932
|
-
wrapped: !0
|
|
1933
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1884
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1934
1885
|
}(t, e, o);
|
|
1935
1886
|
};
|
|
1936
1887
|
}
|
|
@@ -1967,11 +1918,6 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1967
1918
|
var keys = Object.keys(object);
|
|
1968
1919
|
if (Object.getOwnPropertySymbols) {
|
|
1969
1920
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1970
|
-
if (enumerableOnly) {
|
|
1971
|
-
symbols = symbols.filter(function(sym) {
|
|
1972
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1973
|
-
});
|
|
1974
|
-
}
|
|
1975
1921
|
keys.push.apply(keys, symbols);
|
|
1976
1922
|
}
|
|
1977
1923
|
return keys;
|
|
@@ -1993,12 +1939,12 @@ function _object_spread_props(target, source) {
|
|
|
1993
1939
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1994
1940
|
*/ function r(r) {
|
|
1995
1941
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1996
|
-
state:
|
|
1997
|
-
attribute:
|
|
1942
|
+
state: true,
|
|
1943
|
+
attribute: false
|
|
1998
1944
|
}));
|
|
1999
1945
|
}
|
|
2000
1946
|
|
|
2001
|
-
class InputFileElement extends
|
|
1947
|
+
class InputFileElement extends i {
|
|
2002
1948
|
get content() {
|
|
2003
1949
|
return this._content;
|
|
2004
1950
|
}
|
|
@@ -2110,7 +2056,7 @@ InputFileElement = __decorate([
|
|
|
2110
2056
|
t('digipair-input-file')
|
|
2111
2057
|
], InputFileElement);
|
|
2112
2058
|
|
|
2113
|
-
class InputJsonElement extends
|
|
2059
|
+
class InputJsonElement extends i {
|
|
2114
2060
|
get content() {
|
|
2115
2061
|
return this._content;
|
|
2116
2062
|
}
|
|
@@ -2222,7 +2168,7 @@ InputJsonElement = __decorate([
|
|
|
2222
2168
|
t('digipair-input-json')
|
|
2223
2169
|
], InputJsonElement);
|
|
2224
2170
|
|
|
2225
|
-
class InputTextElement extends
|
|
2171
|
+
class InputTextElement extends i {
|
|
2226
2172
|
get content() {
|
|
2227
2173
|
return this._content;
|
|
2228
2174
|
}
|
|
@@ -2334,7 +2280,7 @@ InputTextElement = __decorate([
|
|
|
2334
2280
|
t('digipair-input-text')
|
|
2335
2281
|
], InputTextElement);
|
|
2336
2282
|
|
|
2337
|
-
class DomAttributeElement extends
|
|
2283
|
+
class DomAttributeElement extends i {
|
|
2338
2284
|
get value() {
|
|
2339
2285
|
return this._value;
|
|
2340
2286
|
}
|
|
@@ -2386,8 +2332,12 @@ DomAttributeElement = __decorate([
|
|
|
2386
2332
|
|
|
2387
2333
|
/**
|
|
2388
2334
|
* Guard function that checks if provided `input` is an Element.
|
|
2389
|
-
*/ function
|
|
2390
|
-
|
|
2335
|
+
*/ function _type_of$1(obj) {
|
|
2336
|
+
"@swc/helpers - typeof";
|
|
2337
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
2338
|
+
}
|
|
2339
|
+
function isElement(input) {
|
|
2340
|
+
return (typeof input === "undefined" ? "undefined" : _type_of$1(input)) === "object" && input !== null && input.nodeType === Node.ELEMENT_NODE;
|
|
2391
2341
|
}
|
|
2392
2342
|
|
|
2393
2343
|
var OPERATOR = {
|
|
@@ -3690,7 +3640,7 @@ function getCssSelector(element, options = {}) {
|
|
|
3690
3640
|
return unescapeCSS(selector);
|
|
3691
3641
|
}
|
|
3692
3642
|
|
|
3693
|
-
class ElementElement extends
|
|
3643
|
+
class ElementElement extends i {
|
|
3694
3644
|
get content() {
|
|
3695
3645
|
return this._content;
|
|
3696
3646
|
}
|
|
@@ -3870,7 +3820,7 @@ ElementElement = __decorate([
|
|
|
3870
3820
|
t('digipair-input-element')
|
|
3871
3821
|
], ElementElement);
|
|
3872
3822
|
|
|
3873
|
-
class FetchElement extends
|
|
3823
|
+
class FetchElement extends i {
|
|
3874
3824
|
get value() {
|
|
3875
3825
|
return this._value;
|
|
3876
3826
|
}
|
|
@@ -3915,7 +3865,7 @@ FetchElement = __decorate([
|
|
|
3915
3865
|
t('digipair-input-fetch')
|
|
3916
3866
|
], FetchElement);
|
|
3917
3867
|
|
|
3918
|
-
class HiddenElement extends
|
|
3868
|
+
class HiddenElement extends i {
|
|
3919
3869
|
render() {
|
|
3920
3870
|
return x``;
|
|
3921
3871
|
}
|