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