@digipair/skill-web-pdf 0.112.3 → 0.114.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/{index.cjs.js → dist/index.cjs.js} +176 -244
- package/{index.esm.js → dist/index.esm.js} +175 -223
- package/{libs/skill-web-pdf → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-pdf → dist}/src/lib/input-pdf.element.d.ts +1 -0
- package/dist/src/lib/input-pdf.element.d.ts.map +1 -0
- package/dist/src/lib/skill-web-pdf.d.ts +2 -0
- package/dist/src/lib/skill-web-pdf.d.ts.map +1 -0
- package/package.json +26 -5
- package/index.d.ts +0 -1
- package/libs/skill-web-pdf/src/lib/skill-web-pdf.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
|
@@ -4,7 +4,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
4
4
|
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
}
|
|
7
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
|
7
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
8
8
|
var e = new Error(message);
|
|
9
9
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
10
10
|
};
|
|
@@ -29,7 +29,6 @@ function _defineProperties$3(target, props) {
|
|
|
29
29
|
}
|
|
30
30
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
31
31
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
32
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
33
32
|
return Constructor;
|
|
34
33
|
}
|
|
35
34
|
function _instanceof(left, right) {
|
|
@@ -39,11 +38,11 @@ function _instanceof(left, right) {
|
|
|
39
38
|
return left instanceof right;
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
|
-
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$
|
|
41
|
+
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;
|
|
43
42
|
var n$3 = /*#__PURE__*/ function() {
|
|
44
43
|
function n(t, e, o) {
|
|
45
44
|
_class_call_check$3(this, n);
|
|
46
|
-
if (this._$cssResult$ =
|
|
45
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
47
46
|
this.cssText = t, this.t = e;
|
|
48
47
|
}
|
|
49
48
|
_create_class$3(n, [
|
|
@@ -54,7 +53,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
54
53
|
var s = this.t;
|
|
55
54
|
if (e$2 && void 0 === t) {
|
|
56
55
|
var e1 = void 0 !== s && 1 === s.length;
|
|
57
|
-
e1 && (t = o$
|
|
56
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
|
58
57
|
}
|
|
59
58
|
return t;
|
|
60
59
|
}
|
|
@@ -68,20 +67,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
68
67
|
]);
|
|
69
68
|
return n;
|
|
70
69
|
}();
|
|
71
|
-
var r$
|
|
72
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
70
|
+
var r$4 = function(t) {
|
|
71
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
|
73
72
|
}, i$3 = function(t) {
|
|
74
73
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
75
74
|
e[_key - 1] = arguments[_key];
|
|
76
75
|
}
|
|
77
76
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
78
77
|
return e + function(t) {
|
|
79
|
-
if (
|
|
78
|
+
if (true === t._$cssResult$) return t.cssText;
|
|
80
79
|
if ("number" == typeof t) return t;
|
|
81
80
|
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.");
|
|
82
81
|
}(s) + t[o + 1];
|
|
83
82
|
}, t[0]);
|
|
84
|
-
return new n$3(o, t, s$
|
|
83
|
+
return new n$3(o, t, s$2);
|
|
85
84
|
}, S$1 = function(s, o) {
|
|
86
85
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
87
86
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -132,7 +131,7 @@ var r$5 = function(t) {
|
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
}
|
|
135
|
-
return r$
|
|
134
|
+
return r$4(e);
|
|
136
135
|
}(t) : t;
|
|
137
136
|
};
|
|
138
137
|
|
|
@@ -274,7 +273,7 @@ function _non_iterable_spread$1() {
|
|
|
274
273
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
275
274
|
}
|
|
276
275
|
function _possible_constructor_return$2(self, call) {
|
|
277
|
-
if (call && (_type_of$
|
|
276
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
|
278
277
|
return call;
|
|
279
278
|
}
|
|
280
279
|
return _assert_this_initialized$2(self);
|
|
@@ -292,7 +291,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
292
291
|
function _to_consumable_array$1(arr) {
|
|
293
292
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
294
293
|
}
|
|
295
|
-
function _type_of$
|
|
294
|
+
function _type_of$3(obj) {
|
|
296
295
|
"@swc/helpers - typeof";
|
|
297
296
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
298
297
|
}
|
|
@@ -454,7 +453,7 @@ var _Symbol, _a, _a1;
|
|
|
454
453
|
* @license
|
|
455
454
|
* Copyright 2017 Google LLC
|
|
456
455
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
457
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
456
|
+
*/ 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) {
|
|
458
457
|
return t;
|
|
459
458
|
}, u$1 = {
|
|
460
459
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -489,25 +488,26 @@ var _Symbol, _a, _a1;
|
|
|
489
488
|
}
|
|
490
489
|
}, f$1 = function(t, s) {
|
|
491
490
|
return !i$2(t, s);
|
|
492
|
-
},
|
|
493
|
-
attribute:
|
|
491
|
+
}, b = {
|
|
492
|
+
attribute: true,
|
|
494
493
|
type: String,
|
|
495
494
|
converter: u$1,
|
|
496
|
-
reflect:
|
|
495
|
+
reflect: false,
|
|
496
|
+
useDefault: false,
|
|
497
497
|
hasChanged: f$1
|
|
498
498
|
};
|
|
499
499
|
var _metadata, _litPropertyMetadata;
|
|
500
500
|
(_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;
|
|
501
|
-
var
|
|
502
|
-
_inherits$2(
|
|
503
|
-
var _super = _create_super$2(
|
|
504
|
-
function
|
|
505
|
-
_class_call_check$2(this,
|
|
501
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
502
|
+
_inherits$2(y, HTMLElement1);
|
|
503
|
+
var _super = _create_super$2(y);
|
|
504
|
+
function y() {
|
|
505
|
+
_class_call_check$2(this, y);
|
|
506
506
|
var _this;
|
|
507
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
507
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
|
508
508
|
return _possible_constructor_return$2(_this);
|
|
509
509
|
}
|
|
510
|
-
_create_class$2(
|
|
510
|
+
_create_class$2(y, [
|
|
511
511
|
{
|
|
512
512
|
key: "_$Ev",
|
|
513
513
|
value: function _$Ev() {
|
|
@@ -575,7 +575,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
575
575
|
value: function connectedCallback() {
|
|
576
576
|
var _this__$EO;
|
|
577
577
|
var _this_renderRoot;
|
|
578
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
578
|
+
(_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) {
|
|
579
579
|
var _t_hostConnected;
|
|
580
580
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
581
581
|
});
|
|
@@ -602,13 +602,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
|
-
key: "_$
|
|
606
|
-
value: function _$
|
|
605
|
+
key: "_$ET",
|
|
606
|
+
value: function _$ET(t, s) {
|
|
607
607
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
608
|
-
if (void 0 !== e &&
|
|
608
|
+
if (void 0 !== e && true === i.reflect) {
|
|
609
609
|
var _i_converter;
|
|
610
|
-
var
|
|
611
|
-
this._$Em = t, null ==
|
|
610
|
+
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);
|
|
611
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
},
|
|
@@ -617,11 +617,14 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
617
617
|
value: function _$AK(t, s) {
|
|
618
618
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
619
619
|
if (void 0 !== e && this._$Em !== e) {
|
|
620
|
-
var _t_converter;
|
|
621
|
-
var _$t = i.getPropertyOptions(e),
|
|
620
|
+
var _t_converter, _this__$Ej;
|
|
621
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
|
622
622
|
fromAttribute: _$t.converter
|
|
623
623
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
624
|
-
this._$Em = e
|
|
624
|
+
this._$Em = e;
|
|
625
|
+
var r = h.fromAttribute(s, _$t.type);
|
|
626
|
+
var _ref;
|
|
627
|
+
this[e] = (_ref = r !== null && r !== void 0 ? r : (_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(e)) !== null && _ref !== void 0 ? _ref : r, this._$Em = null;
|
|
625
628
|
}
|
|
626
629
|
}
|
|
627
630
|
},
|
|
@@ -629,30 +632,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
629
632
|
key: "requestUpdate",
|
|
630
633
|
value: function requestUpdate(t, s, i) {
|
|
631
634
|
if (void 0 !== t) {
|
|
635
|
+
var _this__$Ej;
|
|
636
|
+
var e = this.constructor, h = this[t];
|
|
632
637
|
var _i_hasChanged;
|
|
633
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
634
|
-
this.
|
|
638
|
+
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;
|
|
639
|
+
this.C(t, s, i);
|
|
635
640
|
}
|
|
636
|
-
|
|
641
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
637
642
|
}
|
|
638
643
|
},
|
|
639
644
|
{
|
|
640
|
-
key: "
|
|
641
|
-
value: function
|
|
642
|
-
var
|
|
643
|
-
|
|
645
|
+
key: "C",
|
|
646
|
+
value: function C(t, s, param, r) {
|
|
647
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
|
648
|
+
var _this__$Ej, _ref, _this__$Eq;
|
|
649
|
+
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));
|
|
644
650
|
}
|
|
645
651
|
},
|
|
646
652
|
{
|
|
647
|
-
key: "_$
|
|
648
|
-
value: function _$
|
|
653
|
+
key: "_$EP",
|
|
654
|
+
value: function _$EP() {
|
|
649
655
|
var _this = this;
|
|
650
656
|
return _async_to_generator(function() {
|
|
651
657
|
var t, _$t, _tmp;
|
|
652
658
|
return _ts_generator(this, function(_state) {
|
|
653
659
|
switch(_state.label){
|
|
654
660
|
case 0:
|
|
655
|
-
_this.isUpdatePending =
|
|
661
|
+
_this.isUpdatePending = true;
|
|
656
662
|
_state.label = 1;
|
|
657
663
|
case 1:
|
|
658
664
|
_state.trys.push([
|
|
@@ -742,7 +748,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
742
748
|
if (t1.size > 0) try {
|
|
743
749
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
744
750
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
745
|
-
|
|
751
|
+
var t2 = i.wrapped, e = this[_$s1];
|
|
752
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
746
753
|
}
|
|
747
754
|
} catch (err) {
|
|
748
755
|
_didIteratorError1 = true;
|
|
@@ -759,18 +766,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
759
766
|
}
|
|
760
767
|
}
|
|
761
768
|
}
|
|
762
|
-
var
|
|
769
|
+
var t3 = false;
|
|
763
770
|
var _$s2 = this._$AL;
|
|
764
771
|
try {
|
|
765
772
|
var _this__$EO;
|
|
766
|
-
|
|
773
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
767
774
|
var _t_hostUpdate;
|
|
768
775
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
769
|
-
}), this.update(_$s2)) : this._$
|
|
776
|
+
}), this.update(_$s2)) : this._$EM();
|
|
770
777
|
} catch (s) {
|
|
771
|
-
throw
|
|
778
|
+
throw t3 = false, this._$EM(), s;
|
|
772
779
|
}
|
|
773
|
-
|
|
780
|
+
t3 && this._$AE(_$s2);
|
|
774
781
|
}
|
|
775
782
|
},
|
|
776
783
|
{
|
|
@@ -784,13 +791,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
784
791
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
785
792
|
var _t_hostUpdated;
|
|
786
793
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
787
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
794
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
|
788
795
|
}
|
|
789
796
|
},
|
|
790
797
|
{
|
|
791
|
-
key: "_$
|
|
792
|
-
value: function _$
|
|
793
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
798
|
+
key: "_$EM",
|
|
799
|
+
value: function _$EM() {
|
|
800
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
|
794
801
|
}
|
|
795
802
|
},
|
|
796
803
|
{
|
|
@@ -808,16 +815,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
808
815
|
{
|
|
809
816
|
key: "shouldUpdate",
|
|
810
817
|
value: function shouldUpdate(t) {
|
|
811
|
-
return
|
|
818
|
+
return true;
|
|
812
819
|
}
|
|
813
820
|
},
|
|
814
821
|
{
|
|
815
822
|
key: "update",
|
|
816
823
|
value: function update(t) {
|
|
817
824
|
var _this = this;
|
|
818
|
-
this._$
|
|
819
|
-
return _this._$
|
|
820
|
-
})), this._$
|
|
825
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
|
826
|
+
return _this._$ET(t, _this[t]);
|
|
827
|
+
})), this._$EM();
|
|
821
828
|
}
|
|
822
829
|
},
|
|
823
830
|
{
|
|
@@ -845,35 +852,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
845
852
|
{
|
|
846
853
|
key: "createProperty",
|
|
847
854
|
value: function createProperty(t) {
|
|
848
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
849
|
-
if (s.state && (s.attribute =
|
|
850
|
-
var i = Symbol(),
|
|
851
|
-
void 0 !==
|
|
855
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
|
856
|
+
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) {
|
|
857
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
|
858
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
|
852
859
|
}
|
|
853
860
|
}
|
|
854
861
|
},
|
|
855
862
|
{
|
|
856
863
|
key: "getPropertyDescriptor",
|
|
857
864
|
value: function getPropertyDescriptor(t, s, i) {
|
|
858
|
-
var
|
|
859
|
-
var _ref = (
|
|
865
|
+
var _h;
|
|
866
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
|
860
867
|
get: function get() {
|
|
861
868
|
return this[s];
|
|
862
869
|
},
|
|
863
870
|
set: function set(t) {
|
|
864
871
|
this[s] = t;
|
|
865
872
|
}
|
|
866
|
-
}, e = _ref.get,
|
|
873
|
+
}, e = _ref.get, r = _ref.set;
|
|
867
874
|
return {
|
|
868
|
-
get:
|
|
869
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
870
|
-
},
|
|
875
|
+
get: e,
|
|
871
876
|
set: function set(s) {
|
|
872
|
-
var
|
|
873
|
-
|
|
877
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
|
878
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
|
874
879
|
},
|
|
875
|
-
configurable:
|
|
876
|
-
enumerable:
|
|
880
|
+
configurable: true,
|
|
881
|
+
enumerable: true
|
|
877
882
|
};
|
|
878
883
|
}
|
|
879
884
|
},
|
|
@@ -881,7 +886,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
881
886
|
key: "getPropertyOptions",
|
|
882
887
|
value: function getPropertyOptions(t) {
|
|
883
888
|
var _this_elementProperties_get;
|
|
884
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
889
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
|
|
885
890
|
}
|
|
886
891
|
},
|
|
887
892
|
{
|
|
@@ -896,8 +901,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
896
901
|
key: "finalize",
|
|
897
902
|
value: function finalize() {
|
|
898
903
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
899
|
-
if (this.finalized =
|
|
900
|
-
var t = this.properties, s = _to_consumable_array$1(
|
|
904
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
905
|
+
var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
|
|
901
906
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
902
907
|
try {
|
|
903
908
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1002,18 +1007,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1002
1007
|
key: "_$Eu",
|
|
1003
1008
|
value: function _$Eu(t, s) {
|
|
1004
1009
|
var i = s.attribute;
|
|
1005
|
-
return
|
|
1010
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1006
1011
|
}
|
|
1007
1012
|
}
|
|
1008
1013
|
]);
|
|
1009
|
-
return
|
|
1014
|
+
return y;
|
|
1010
1015
|
}(_wrap_native_super(HTMLElement));
|
|
1011
1016
|
var _reactiveElementVersions;
|
|
1012
|
-
|
|
1017
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
|
1013
1018
|
mode: "open"
|
|
1014
|
-
},
|
|
1015
|
-
ReactiveElement:
|
|
1016
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.
|
|
1019
|
+
}, 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({
|
|
1020
|
+
ReactiveElement: y$1
|
|
1021
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.1");
|
|
1017
1022
|
|
|
1018
1023
|
/**
|
|
1019
1024
|
* @license
|
|
@@ -1108,7 +1113,7 @@ function _non_iterable_spread() {
|
|
|
1108
1113
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1109
1114
|
}
|
|
1110
1115
|
function _possible_constructor_return$1(self, call) {
|
|
1111
|
-
if (call && (_type_of$
|
|
1116
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
1112
1117
|
return call;
|
|
1113
1118
|
}
|
|
1114
1119
|
return _assert_this_initialized$1(self);
|
|
@@ -1126,7 +1131,7 @@ function _sliced_to_array(arr, i) {
|
|
|
1126
1131
|
function _to_consumable_array(arr) {
|
|
1127
1132
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
1128
1133
|
}
|
|
1129
|
-
function _type_of$
|
|
1134
|
+
function _type_of$2(obj) {
|
|
1130
1135
|
"@swc/helpers - typeof";
|
|
1131
1136
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1132
1137
|
}
|
|
@@ -1163,17 +1168,17 @@ function _create_super$1(Derived) {
|
|
|
1163
1168
|
};
|
|
1164
1169
|
}
|
|
1165
1170
|
var _t;
|
|
1166
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1171
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
|
1167
1172
|
createHTML: function(t) {
|
|
1168
1173
|
return t;
|
|
1169
1174
|
}
|
|
1170
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1171
|
-
return r$
|
|
1175
|
+
}) : 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() {
|
|
1176
|
+
return r$2.createComment("");
|
|
1172
1177
|
}, c = function(t) {
|
|
1173
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1178
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
|
|
1174
1179
|
}, a = Array.isArray, u = function(t) {
|
|
1175
1180
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1176
|
-
}, d = "[
|
|
1181
|
+
}, 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) {
|
|
1177
1182
|
return function(i) {
|
|
1178
1183
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1179
1184
|
s[_key - 1] = arguments[_key];
|
|
@@ -1184,10 +1189,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
|
1184
1189
|
values: s
|
|
1185
1190
|
};
|
|
1186
1191
|
};
|
|
1187
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1192
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
|
1188
1193
|
function P(t, i) {
|
|
1189
1194
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1190
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
|
1195
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
|
1191
1196
|
}
|
|
1192
1197
|
var V = function(t, i) {
|
|
1193
1198
|
var s = t.length - 1, o = [];
|
|
@@ -1262,7 +1267,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1262
1267
|
r.append(t3[s2], l());
|
|
1263
1268
|
}
|
|
1264
1269
|
}
|
|
1265
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1270
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
|
1266
1271
|
type: 2,
|
|
1267
1272
|
index: c
|
|
1268
1273
|
});
|
|
@@ -1280,7 +1285,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1280
1285
|
{
|
|
1281
1286
|
key: "createElement",
|
|
1282
1287
|
value: function createElement(t, i) {
|
|
1283
|
-
var s = r$
|
|
1288
|
+
var s = r$2.createElement("template");
|
|
1284
1289
|
return s.innerHTML = t, s;
|
|
1285
1290
|
}
|
|
1286
1291
|
}
|
|
@@ -1295,7 +1300,7 @@ function S(t, i) {
|
|
|
1295
1300
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1296
1301
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1297
1302
|
var __$Co;
|
|
1298
|
-
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,
|
|
1303
|
+
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;
|
|
1299
1304
|
}
|
|
1300
1305
|
var M = /*#__PURE__*/ function() {
|
|
1301
1306
|
function M(t, i) {
|
|
@@ -1319,7 +1324,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1319
1324
|
key: "u",
|
|
1320
1325
|
value: function u(t) {
|
|
1321
1326
|
var _t_creationScope;
|
|
1322
|
-
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$
|
|
1327
|
+
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);
|
|
1323
1328
|
C.currentNode = e;
|
|
1324
1329
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1325
1330
|
for(; void 0 !== l;){
|
|
@@ -1329,7 +1334,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1329
1334
|
}
|
|
1330
1335
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1331
1336
|
}
|
|
1332
|
-
return C.currentNode = r$
|
|
1337
|
+
return C.currentNode = r$2, e;
|
|
1333
1338
|
}
|
|
1334
1339
|
},
|
|
1335
1340
|
{
|
|
@@ -1365,7 +1370,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1365
1370
|
function R(t, i, s, e) {
|
|
1366
1371
|
_class_call_check$1(this, R);
|
|
1367
1372
|
var _e_isConnected;
|
|
1368
|
-
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 :
|
|
1373
|
+
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;
|
|
1369
1374
|
}
|
|
1370
1375
|
_create_class$1(R, [
|
|
1371
1376
|
{
|
|
@@ -1418,7 +1423,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1418
1423
|
{
|
|
1419
1424
|
key: "_",
|
|
1420
1425
|
value: function _(t) {
|
|
1421
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1426
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
|
1422
1427
|
}
|
|
1423
1428
|
},
|
|
1424
1429
|
{
|
|
@@ -1474,7 +1479,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1474
1479
|
value: function _$AR() {
|
|
1475
1480
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1476
1481
|
var _this__$AP, _this;
|
|
1477
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1482
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t !== this._$AB;){
|
|
1478
1483
|
var i1 = t.nextSibling;
|
|
1479
1484
|
t.remove(), t = i1;
|
|
1480
1485
|
}
|
|
@@ -1513,7 +1518,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1513
1518
|
value: function _$AI(t) {
|
|
1514
1519
|
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;
|
|
1515
1520
|
var h = this.strings;
|
|
1516
|
-
var o =
|
|
1521
|
+
var o = false;
|
|
1517
1522
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1518
1523
|
else {
|
|
1519
1524
|
var e1 = t;
|
|
@@ -1628,7 +1633,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1628
1633
|
}();
|
|
1629
1634
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1630
1635
|
var _litHtmlVersions;
|
|
1631
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1636
|
+
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.1");
|
|
1632
1637
|
var B = function(t, i, s) {
|
|
1633
1638
|
var _s_renderBefore;
|
|
1634
1639
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1663,7 +1668,6 @@ function _defineProperties(target, props) {
|
|
|
1663
1668
|
}
|
|
1664
1669
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1665
1670
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1666
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1667
1671
|
return Constructor;
|
|
1668
1672
|
}
|
|
1669
1673
|
function _get(target, property, receiver) {
|
|
@@ -1702,7 +1706,7 @@ function _inherits(subClass, superClass) {
|
|
|
1702
1706
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1703
1707
|
}
|
|
1704
1708
|
function _possible_constructor_return(self, call) {
|
|
1705
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
1709
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
|
1706
1710
|
return call;
|
|
1707
1711
|
}
|
|
1708
1712
|
return _assert_this_initialized(self);
|
|
@@ -1721,7 +1725,7 @@ function _super_prop_base(object, property) {
|
|
|
1721
1725
|
}
|
|
1722
1726
|
return object;
|
|
1723
1727
|
}
|
|
1724
|
-
function _type_of(obj) {
|
|
1728
|
+
function _type_of$1(obj) {
|
|
1725
1729
|
"@swc/helpers - typeof";
|
|
1726
1730
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1727
1731
|
}
|
|
@@ -1749,17 +1753,18 @@ function _create_super(Derived) {
|
|
|
1749
1753
|
return _possible_constructor_return(this, result);
|
|
1750
1754
|
};
|
|
1751
1755
|
}
|
|
1752
|
-
var
|
|
1753
|
-
var
|
|
1756
|
+
var _s_litElementHydrateSupport;
|
|
1757
|
+
var _s;
|
|
1754
1758
|
/**
|
|
1755
1759
|
* @license
|
|
1756
1760
|
* Copyright 2017 Google LLC
|
|
1757
1761
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1758
|
-
*/ var
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1762
|
+
*/ var s = globalThis;
|
|
1763
|
+
var i = /*#__PURE__*/ function(t) {
|
|
1764
|
+
_inherits(i, t);
|
|
1765
|
+
var _super = _create_super(i);
|
|
1766
|
+
function i() {
|
|
1767
|
+
_class_call_check(this, i);
|
|
1763
1768
|
var _this;
|
|
1764
1769
|
_this = _super.call.apply(_super, [
|
|
1765
1770
|
this
|
|
@@ -1768,12 +1773,12 @@ var _globalThis1;
|
|
|
1768
1773
|
}, _this._$Do = void 0;
|
|
1769
1774
|
return _possible_constructor_return(_this);
|
|
1770
1775
|
}
|
|
1771
|
-
_create_class(
|
|
1776
|
+
_create_class(i, [
|
|
1772
1777
|
{
|
|
1773
1778
|
key: "createRenderRoot",
|
|
1774
1779
|
value: function createRenderRoot() {
|
|
1775
1780
|
var _this_renderOptions;
|
|
1776
|
-
var _$t = _get(_get_prototype_of(
|
|
1781
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
|
1777
1782
|
var _renderBefore;
|
|
1778
1783
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1779
1784
|
}
|
|
@@ -1781,22 +1786,22 @@ var _globalThis1;
|
|
|
1781
1786
|
{
|
|
1782
1787
|
key: "update",
|
|
1783
1788
|
value: function update(t) {
|
|
1784
|
-
var
|
|
1785
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1789
|
+
var r = this.render();
|
|
1790
|
+
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);
|
|
1786
1791
|
}
|
|
1787
1792
|
},
|
|
1788
1793
|
{
|
|
1789
1794
|
key: "connectedCallback",
|
|
1790
1795
|
value: function connectedCallback() {
|
|
1791
1796
|
var _this__$Do;
|
|
1792
|
-
_get(_get_prototype_of(
|
|
1797
|
+
_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);
|
|
1793
1798
|
}
|
|
1794
1799
|
},
|
|
1795
1800
|
{
|
|
1796
1801
|
key: "disconnectedCallback",
|
|
1797
1802
|
value: function disconnectedCallback() {
|
|
1798
1803
|
var _this__$Do;
|
|
1799
|
-
_get(_get_prototype_of(
|
|
1804
|
+
_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);
|
|
1800
1805
|
}
|
|
1801
1806
|
},
|
|
1802
1807
|
{
|
|
@@ -1806,17 +1811,17 @@ var _globalThis1;
|
|
|
1806
1811
|
}
|
|
1807
1812
|
}
|
|
1808
1813
|
]);
|
|
1809
|
-
return
|
|
1810
|
-
}(
|
|
1811
|
-
|
|
1812
|
-
LitElement:
|
|
1814
|
+
return i;
|
|
1815
|
+
}(y$1);
|
|
1816
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
|
1817
|
+
LitElement: i
|
|
1813
1818
|
});
|
|
1814
|
-
var
|
|
1815
|
-
|
|
1816
|
-
LitElement:
|
|
1819
|
+
var o$1 = s.litElementPolyfillSupport;
|
|
1820
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
|
1821
|
+
LitElement: i
|
|
1817
1822
|
});
|
|
1818
1823
|
var _litElementVersions;
|
|
1819
|
-
((_litElementVersions = (
|
|
1824
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.1");
|
|
1820
1825
|
|
|
1821
1826
|
/**
|
|
1822
1827
|
* @license
|
|
@@ -1830,73 +1835,25 @@ var _litElementVersions;
|
|
|
1830
1835
|
};
|
|
1831
1836
|
};
|
|
1832
1837
|
|
|
1833
|
-
function
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
value: value,
|
|
1837
|
-
enumerable: true,
|
|
1838
|
-
configurable: true,
|
|
1839
|
-
writable: true
|
|
1840
|
-
});
|
|
1841
|
-
} else {
|
|
1842
|
-
obj[key] = value;
|
|
1843
|
-
}
|
|
1844
|
-
return obj;
|
|
1845
|
-
}
|
|
1846
|
-
function _object_spread$1(target) {
|
|
1847
|
-
for(var i = 1; i < arguments.length; i++){
|
|
1848
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
1849
|
-
var ownKeys = Object.keys(source);
|
|
1850
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1851
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1852
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1853
|
-
}));
|
|
1854
|
-
}
|
|
1855
|
-
ownKeys.forEach(function(key) {
|
|
1856
|
-
_define_property$1(target, key, source[key]);
|
|
1857
|
-
});
|
|
1858
|
-
}
|
|
1859
|
-
return target;
|
|
1860
|
-
}
|
|
1861
|
-
function ownKeys$1(object, enumerableOnly) {
|
|
1862
|
-
var keys = Object.keys(object);
|
|
1863
|
-
if (Object.getOwnPropertySymbols) {
|
|
1864
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1865
|
-
if (enumerableOnly) {
|
|
1866
|
-
symbols = symbols.filter(function(sym) {
|
|
1867
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1868
|
-
});
|
|
1869
|
-
}
|
|
1870
|
-
keys.push.apply(keys, symbols);
|
|
1871
|
-
}
|
|
1872
|
-
return keys;
|
|
1873
|
-
}
|
|
1874
|
-
function _object_spread_props$1(target, source) {
|
|
1875
|
-
source = source != null ? source : {};
|
|
1876
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
1877
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1878
|
-
} else {
|
|
1879
|
-
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1880
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1881
|
-
});
|
|
1882
|
-
}
|
|
1883
|
-
return target;
|
|
1838
|
+
function _type_of(obj) {
|
|
1839
|
+
"@swc/helpers - typeof";
|
|
1840
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1884
1841
|
}
|
|
1885
1842
|
/**
|
|
1886
1843
|
* @license
|
|
1887
1844
|
* Copyright 2017 Google LLC
|
|
1888
1845
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1889
1846
|
*/ var o = {
|
|
1890
|
-
attribute:
|
|
1847
|
+
attribute: true,
|
|
1891
1848
|
type: String,
|
|
1892
1849
|
converter: u$1,
|
|
1893
|
-
reflect:
|
|
1850
|
+
reflect: false,
|
|
1894
1851
|
hasChanged: f$1
|
|
1895
1852
|
}, r$1 = function() {
|
|
1896
1853
|
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;
|
|
1897
1854
|
var n = r.kind, i = r.metadata;
|
|
1898
1855
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1899
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1856
|
+
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) {
|
|
1900
1857
|
var o1 = r.name;
|
|
1901
1858
|
return {
|
|
1902
1859
|
set: function set(r) {
|
|
@@ -1904,7 +1861,7 @@ function _object_spread_props$1(target, source) {
|
|
|
1904
1861
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1905
1862
|
},
|
|
1906
1863
|
init: function init(e) {
|
|
1907
|
-
return void 0 !== e && this.
|
|
1864
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
|
1908
1865
|
}
|
|
1909
1866
|
};
|
|
1910
1867
|
}
|
|
@@ -1919,11 +1876,9 @@ function _object_spread_props$1(target, source) {
|
|
|
1919
1876
|
};
|
|
1920
1877
|
function n(t) {
|
|
1921
1878
|
return function(e, o) {
|
|
1922
|
-
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1879
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of(o)) ? r$1(t, e, o) : function(t, e, o) {
|
|
1923
1880
|
var r = e.hasOwnProperty(o);
|
|
1924
|
-
return e.constructor.createProperty(o, r ?
|
|
1925
|
-
wrapped: !0
|
|
1926
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1881
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1927
1882
|
}(t, e, o);
|
|
1928
1883
|
};
|
|
1929
1884
|
}
|
|
@@ -1960,11 +1915,6 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1960
1915
|
var keys = Object.keys(object);
|
|
1961
1916
|
if (Object.getOwnPropertySymbols) {
|
|
1962
1917
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1963
|
-
if (enumerableOnly) {
|
|
1964
|
-
symbols = symbols.filter(function(sym) {
|
|
1965
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1966
|
-
});
|
|
1967
|
-
}
|
|
1968
1918
|
keys.push.apply(keys, symbols);
|
|
1969
1919
|
}
|
|
1970
1920
|
return keys;
|
|
@@ -1986,18 +1936,54 @@ function _object_spread_props(target, source) {
|
|
|
1986
1936
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1987
1937
|
*/ function r(r) {
|
|
1988
1938
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1989
|
-
state:
|
|
1990
|
-
attribute:
|
|
1939
|
+
state: true,
|
|
1940
|
+
attribute: false
|
|
1991
1941
|
}));
|
|
1992
1942
|
}
|
|
1993
1943
|
|
|
1994
|
-
class InputPdfElement extends
|
|
1944
|
+
class InputPdfElement extends i {
|
|
1995
1945
|
get content() {
|
|
1996
1946
|
return this._content;
|
|
1997
1947
|
}
|
|
1998
1948
|
get value() {
|
|
1999
1949
|
return 'NOEVAL:' + this._value;
|
|
2000
1950
|
}
|
|
1951
|
+
static{
|
|
1952
|
+
this.styles = i$3`
|
|
1953
|
+
.download {
|
|
1954
|
+
padding: 10px 15px;
|
|
1955
|
+
margin-bottom: 10px;
|
|
1956
|
+
line-height: 1.4;
|
|
1957
|
+
border: 1px solid var(--digipair-color-primary, #52dfdb);
|
|
1958
|
+
color: var(--digipair-color-primary, #52dfdb);
|
|
1959
|
+
align-self: flex-start;
|
|
1960
|
+
margin-right: auto;
|
|
1961
|
+
text-align: center;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
.download ui5-icon {
|
|
1965
|
+
color: var(--digipair-color-secondary, #52dfdb);
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
.download.unloaded ui5-icon {
|
|
1969
|
+
color: var(--digipair-color-primary, #52dfdb);
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
.download p {
|
|
1973
|
+
text-align: center;
|
|
1974
|
+
font-size: 12px;
|
|
1975
|
+
margin: 0;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
.download.unloaded {
|
|
1979
|
+
cursor: pointer;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
.download.loaded ui5-icon {
|
|
1983
|
+
float: left;
|
|
1984
|
+
}
|
|
1985
|
+
`;
|
|
1986
|
+
}
|
|
2001
1987
|
loadFile() {
|
|
2002
1988
|
const input = document.createElement('input');
|
|
2003
1989
|
input.type = 'file';
|
|
@@ -2065,40 +2051,6 @@ class InputPdfElement extends r$2 {
|
|
|
2065
2051
|
this._value = '';
|
|
2066
2052
|
}
|
|
2067
2053
|
}
|
|
2068
|
-
InputPdfElement.styles = i$3`
|
|
2069
|
-
.download {
|
|
2070
|
-
padding: 10px 15px;
|
|
2071
|
-
margin-bottom: 10px;
|
|
2072
|
-
line-height: 1.4;
|
|
2073
|
-
border: 1px solid var(--digipair-color-primary, #52dfdb);
|
|
2074
|
-
color: var(--digipair-color-primary, #52dfdb);
|
|
2075
|
-
align-self: flex-start;
|
|
2076
|
-
margin-right: auto;
|
|
2077
|
-
text-align: center;
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
.download ui5-icon {
|
|
2081
|
-
color: var(--digipair-color-secondary, #52dfdb);
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
.download.unloaded ui5-icon {
|
|
2085
|
-
color: var(--digipair-color-primary, #52dfdb);
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
.download p {
|
|
2089
|
-
text-align: center;
|
|
2090
|
-
font-size: 12px;
|
|
2091
|
-
margin: 0;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
.download.unloaded {
|
|
2095
|
-
cursor: pointer;
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
.download.loaded ui5-icon {
|
|
2099
|
-
float: left;
|
|
2100
|
-
}
|
|
2101
|
-
`;
|
|
2102
2054
|
__decorate([
|
|
2103
2055
|
n()
|
|
2104
2056
|
], InputPdfElement.prototype, "label", void 0);
|