@digipair/skill-web-editor 0.93.0 → 0.94.0-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} +1 -3
- package/{index.cjs2.js → dist/index.cjs2.js} +133 -180
- package/{index.esm2.js → dist/index.esm2.js} +133 -180
- package/{libs/skill-web-editor → dist}/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/blocks/json.d.ts +1 -0
- package/dist/src/lib/blocks/json.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/editor.element.d.ts +1 -0
- package/dist/src/lib/editor.element.d.ts.map +1 -0
- package/dist/src/lib/generator/blockly-to-json.d.ts +2 -0
- package/dist/src/lib/generator/blockly-to-json.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/generator/json-to-blockly.d.ts +1 -0
- package/dist/src/lib/generator/json-to-blockly.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/generator/pins-to-blockly.d.ts +1 -0
- package/dist/src/lib/generator/pins-to-blockly.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/schemas/web.fr.schema.d.ts +1 -0
- package/dist/src/lib/schemas/web.fr.schema.d.ts.map +1 -0
- package/{libs/skill-web-editor → dist}/src/lib/schemas/web.schema.d.ts +1 -0
- package/dist/src/lib/schemas/web.schema.d.ts.map +1 -0
- package/dist/src/lib/skill-web-editor.d.ts +2 -0
- package/dist/src/lib/skill-web-editor.d.ts.map +1 -0
- package/dist/src/lib/skill-web-editor.spec.d.ts +2 -0
- package/dist/src/lib/skill-web-editor.spec.d.ts.map +1 -0
- package/package.json +22 -6
- package/index.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/generator/blockly-to-json.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/skill-web-editor.d.ts +0 -1
- /package/{blockly-to-json.cjs.js → dist/blockly-to-json.cjs.js} +0 -0
- /package/{blockly-to-json.esm.js → dist/blockly-to-json.esm.js} +0 -0
- /package/{index.cjs.d.ts → dist/index.d.ts} +0 -0
- /package/{index.esm.js → dist/index.esm.js} +0 -0
- /package/{pins-to-blockly.cjs.js → dist/pins-to-blockly.cjs.js} +0 -0
- /package/{pins-to-blockly.esm.js → dist/pins-to-blockly.esm.js} +0 -0
- /package/{schema.fr.json → dist/schema.fr.json} +0 -0
- /package/{schema.json → dist/schema.json} +0 -0
@@ -20,7 +20,7 @@ function __decorate(decorators, target, key, desc) {
|
|
20
20
|
function __metadata(metadataKey, metadataValue) {
|
21
21
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
22
22
|
}
|
23
|
-
typeof SuppressedError === "function" ? SuppressedError : function
|
23
|
+
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
24
24
|
var e = new Error(message);
|
25
25
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
26
26
|
};
|
@@ -45,7 +45,6 @@ function _defineProperties$3(target, props) {
|
|
45
45
|
}
|
46
46
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
47
47
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
48
|
-
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
49
48
|
return Constructor;
|
50
49
|
}
|
51
50
|
function _instanceof(left, right) {
|
@@ -55,11 +54,11 @@ function _instanceof(left, right) {
|
|
55
54
|
return left instanceof right;
|
56
55
|
}
|
57
56
|
}
|
58
|
-
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$
|
57
|
+
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;
|
59
58
|
var n$3 = /*#__PURE__*/ function() {
|
60
59
|
function n(t, e, o) {
|
61
60
|
_class_call_check$3(this, n);
|
62
|
-
if (this._$cssResult$ =
|
61
|
+
if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
63
62
|
this.cssText = t, this.t = e;
|
64
63
|
}
|
65
64
|
_create_class$3(n, [
|
@@ -70,7 +69,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
70
69
|
var s = this.t;
|
71
70
|
if (e$2 && void 0 === t) {
|
72
71
|
var e1 = void 0 !== s && 1 === s.length;
|
73
|
-
e1 && (t = o$
|
72
|
+
e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
|
74
73
|
}
|
75
74
|
return t;
|
76
75
|
}
|
@@ -84,8 +83,8 @@ var n$3 = /*#__PURE__*/ function() {
|
|
84
83
|
]);
|
85
84
|
return n;
|
86
85
|
}();
|
87
|
-
var r$
|
88
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
86
|
+
var r$3 = function(t) {
|
87
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
|
89
88
|
}, S$1 = function(s, o) {
|
90
89
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
91
90
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
@@ -136,7 +135,7 @@ var r$4 = function(t) {
|
|
136
135
|
}
|
137
136
|
}
|
138
137
|
}
|
139
|
-
return r$
|
138
|
+
return r$3(e);
|
140
139
|
}(t) : t;
|
141
140
|
};
|
142
141
|
|
@@ -278,7 +277,7 @@ function _non_iterable_spread$1() {
|
|
278
277
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
279
278
|
}
|
280
279
|
function _possible_constructor_return$2(self, call) {
|
281
|
-
if (call && (_type_of$
|
280
|
+
if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
|
282
281
|
return call;
|
283
282
|
}
|
284
283
|
return _assert_this_initialized$2(self);
|
@@ -296,7 +295,7 @@ function _sliced_to_array$1(arr, i) {
|
|
296
295
|
function _to_consumable_array$1(arr) {
|
297
296
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
298
297
|
}
|
299
|
-
function _type_of$
|
298
|
+
function _type_of$3(obj) {
|
300
299
|
"@swc/helpers - typeof";
|
301
300
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
302
301
|
}
|
@@ -458,7 +457,7 @@ var _Symbol, _a, _a1;
|
|
458
457
|
* @license
|
459
458
|
* Copyright 2017 Google LLC
|
460
459
|
* SPDX-License-Identifier: BSD-3-Clause
|
461
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
460
|
+
*/ var i$2 = Object.is, e$1 = Object.defineProperty, h$1 = Object.getOwnPropertyDescriptor, r$2 = 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) {
|
462
461
|
return t;
|
463
462
|
}, u$1 = {
|
464
463
|
toAttribute: function toAttribute(t, s) {
|
@@ -493,25 +492,26 @@ var _Symbol, _a, _a1;
|
|
493
492
|
}
|
494
493
|
}, f$1 = function(t, s) {
|
495
494
|
return !i$2(t, s);
|
496
|
-
},
|
497
|
-
attribute:
|
495
|
+
}, b = {
|
496
|
+
attribute: true,
|
498
497
|
type: String,
|
499
498
|
converter: u$1,
|
500
|
-
reflect:
|
499
|
+
reflect: false,
|
500
|
+
useDefault: false,
|
501
501
|
hasChanged: f$1
|
502
502
|
};
|
503
503
|
var _metadata, _litPropertyMetadata;
|
504
504
|
(_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;
|
505
|
-
var
|
506
|
-
_inherits$2(
|
507
|
-
var _super = _create_super$2(
|
508
|
-
function
|
509
|
-
_class_call_check$2(this,
|
505
|
+
var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
506
|
+
_inherits$2(y, HTMLElement1);
|
507
|
+
var _super = _create_super$2(y);
|
508
|
+
function y() {
|
509
|
+
_class_call_check$2(this, y);
|
510
510
|
var _this;
|
511
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
511
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
|
512
512
|
return _possible_constructor_return$2(_this);
|
513
513
|
}
|
514
|
-
_create_class$2(
|
514
|
+
_create_class$2(y, [
|
515
515
|
{
|
516
516
|
key: "_$Ev",
|
517
517
|
value: function _$Ev() {
|
@@ -579,7 +579,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
579
579
|
value: function connectedCallback() {
|
580
580
|
var _this__$EO;
|
581
581
|
var _this_renderRoot;
|
582
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
582
|
+
(_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) {
|
583
583
|
var _t_hostConnected;
|
584
584
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
585
585
|
});
|
@@ -606,13 +606,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
606
606
|
}
|
607
607
|
},
|
608
608
|
{
|
609
|
-
key: "_$
|
610
|
-
value: function _$
|
609
|
+
key: "_$ET",
|
610
|
+
value: function _$ET(t, s) {
|
611
611
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
612
|
-
if (void 0 !== e &&
|
612
|
+
if (void 0 !== e && true === i.reflect) {
|
613
613
|
var _i_converter;
|
614
|
-
var
|
615
|
-
this._$Em = t, null ==
|
614
|
+
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);
|
615
|
+
this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
|
616
616
|
}
|
617
617
|
}
|
618
618
|
},
|
@@ -621,11 +621,12 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
621
621
|
value: function _$AK(t, s) {
|
622
622
|
var i = this.constructor, e = i._$Eh.get(t);
|
623
623
|
if (void 0 !== e && this._$Em !== e) {
|
624
|
-
var _t_converter;
|
625
|
-
var _$t = i.getPropertyOptions(e),
|
624
|
+
var _t_converter, _this__$Ej;
|
625
|
+
var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
|
626
626
|
fromAttribute: _$t.converter
|
627
627
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
628
|
-
|
628
|
+
var _h_fromAttribute, _ref;
|
629
|
+
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;
|
629
630
|
}
|
630
631
|
}
|
631
632
|
},
|
@@ -633,30 +634,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
633
634
|
key: "requestUpdate",
|
634
635
|
value: function requestUpdate(t, s, i) {
|
635
636
|
if (void 0 !== t) {
|
637
|
+
var _this__$Ej;
|
638
|
+
var e = this.constructor, h = this[t];
|
636
639
|
var _i_hasChanged;
|
637
|
-
if (i !== null && i !== void 0 ? i : i =
|
638
|
-
this.
|
640
|
+
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;
|
641
|
+
this.C(t, s, i);
|
639
642
|
}
|
640
|
-
|
643
|
+
false === this.isUpdatePending && (this._$ES = this._$EP());
|
641
644
|
}
|
642
645
|
},
|
643
646
|
{
|
644
|
-
key: "
|
645
|
-
value: function
|
646
|
-
var
|
647
|
-
|
647
|
+
key: "C",
|
648
|
+
value: function C(t, s, param, r) {
|
649
|
+
var i = param.useDefault, e = param.reflect, h = param.wrapped;
|
650
|
+
var _this__$Ej, _ref, _this__$Eq;
|
651
|
+
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));
|
648
652
|
}
|
649
653
|
},
|
650
654
|
{
|
651
|
-
key: "_$
|
652
|
-
value: function _$
|
655
|
+
key: "_$EP",
|
656
|
+
value: function _$EP() {
|
653
657
|
var _this = this;
|
654
658
|
return _async_to_generator(function() {
|
655
659
|
var t, _$t, _tmp;
|
656
660
|
return _ts_generator(this, function(_state) {
|
657
661
|
switch(_state.label){
|
658
662
|
case 0:
|
659
|
-
_this.isUpdatePending =
|
663
|
+
_this.isUpdatePending = true;
|
660
664
|
_state.label = 1;
|
661
665
|
case 1:
|
662
666
|
_state.trys.push([
|
@@ -746,7 +750,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
746
750
|
if (t1.size > 0) try {
|
747
751
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
748
752
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
749
|
-
|
753
|
+
var t2 = i.wrapped, e = this[_$s1];
|
754
|
+
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
750
755
|
}
|
751
756
|
} catch (err) {
|
752
757
|
_didIteratorError1 = true;
|
@@ -763,18 +768,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
763
768
|
}
|
764
769
|
}
|
765
770
|
}
|
766
|
-
var
|
771
|
+
var t3 = false;
|
767
772
|
var _$s2 = this._$AL;
|
768
773
|
try {
|
769
774
|
var _this__$EO;
|
770
|
-
|
775
|
+
t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
771
776
|
var _t_hostUpdate;
|
772
777
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
773
|
-
}), this.update(_$s2)) : this._$
|
778
|
+
}), this.update(_$s2)) : this._$EM();
|
774
779
|
} catch (s) {
|
775
|
-
throw
|
780
|
+
throw t3 = false, this._$EM(), s;
|
776
781
|
}
|
777
|
-
|
782
|
+
t3 && this._$AE(_$s2);
|
778
783
|
}
|
779
784
|
},
|
780
785
|
{
|
@@ -788,13 +793,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
788
793
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
789
794
|
var _t_hostUpdated;
|
790
795
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
791
|
-
}), this.hasUpdated || (this.hasUpdated =
|
796
|
+
}), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
|
792
797
|
}
|
793
798
|
},
|
794
799
|
{
|
795
|
-
key: "_$
|
796
|
-
value: function _$
|
797
|
-
this._$AL = new Map, this.isUpdatePending =
|
800
|
+
key: "_$EM",
|
801
|
+
value: function _$EM() {
|
802
|
+
this._$AL = new Map, this.isUpdatePending = false;
|
798
803
|
}
|
799
804
|
},
|
800
805
|
{
|
@@ -812,16 +817,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
812
817
|
{
|
813
818
|
key: "shouldUpdate",
|
814
819
|
value: function shouldUpdate(t) {
|
815
|
-
return
|
820
|
+
return true;
|
816
821
|
}
|
817
822
|
},
|
818
823
|
{
|
819
824
|
key: "update",
|
820
825
|
value: function update(t) {
|
821
826
|
var _this = this;
|
822
|
-
this._$
|
823
|
-
return _this._$
|
824
|
-
})), this._$
|
827
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
|
828
|
+
return _this._$ET(t, _this[t]);
|
829
|
+
})), this._$EM();
|
825
830
|
}
|
826
831
|
},
|
827
832
|
{
|
@@ -849,35 +854,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
849
854
|
{
|
850
855
|
key: "createProperty",
|
851
856
|
value: function createProperty(t) {
|
852
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
853
|
-
if (s.state && (s.attribute =
|
854
|
-
var i = Symbol(),
|
855
|
-
void 0 !==
|
857
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
|
858
|
+
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) {
|
859
|
+
var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
|
860
|
+
void 0 !== h && e$1(this.prototype, t, h);
|
856
861
|
}
|
857
862
|
}
|
858
863
|
},
|
859
864
|
{
|
860
865
|
key: "getPropertyDescriptor",
|
861
866
|
value: function getPropertyDescriptor(t, s, i) {
|
862
|
-
var
|
863
|
-
var _ref = (
|
867
|
+
var _h;
|
868
|
+
var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
|
864
869
|
get: function get() {
|
865
870
|
return this[s];
|
866
871
|
},
|
867
872
|
set: function set(t) {
|
868
873
|
this[s] = t;
|
869
874
|
}
|
870
|
-
}, e = _ref.get,
|
875
|
+
}, e = _ref.get, r = _ref.set;
|
871
876
|
return {
|
872
|
-
get:
|
873
|
-
return e === null || e === void 0 ? void 0 : e.call(this);
|
874
|
-
},
|
877
|
+
get: e,
|
875
878
|
set: function set(s) {
|
876
|
-
var
|
877
|
-
|
879
|
+
var h = e === null || e === void 0 ? void 0 : e.call(this);
|
880
|
+
r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
|
878
881
|
},
|
879
|
-
configurable:
|
880
|
-
enumerable:
|
882
|
+
configurable: true,
|
883
|
+
enumerable: true
|
881
884
|
};
|
882
885
|
}
|
883
886
|
},
|
@@ -885,7 +888,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
885
888
|
key: "getPropertyOptions",
|
886
889
|
value: function getPropertyOptions(t) {
|
887
890
|
var _this_elementProperties_get;
|
888
|
-
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 : b;
|
889
892
|
}
|
890
893
|
},
|
891
894
|
{
|
@@ -900,8 +903,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
900
903
|
key: "finalize",
|
901
904
|
value: function finalize() {
|
902
905
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
903
|
-
if (this.finalized =
|
904
|
-
var t = this.properties, s = _to_consumable_array$1(
|
906
|
+
if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
907
|
+
var t = this.properties, s = _to_consumable_array$1(r$2(t)).concat(_to_consumable_array$1(o$3(t)));
|
905
908
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
906
909
|
try {
|
907
910
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
@@ -1006,18 +1009,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
1006
1009
|
key: "_$Eu",
|
1007
1010
|
value: function _$Eu(t, s) {
|
1008
1011
|
var i = s.attribute;
|
1009
|
-
return
|
1012
|
+
return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
1010
1013
|
}
|
1011
1014
|
}
|
1012
1015
|
]);
|
1013
|
-
return
|
1016
|
+
return y;
|
1014
1017
|
}(_wrap_native_super(HTMLElement));
|
1015
1018
|
var _reactiveElementVersions;
|
1016
|
-
|
1019
|
+
y$1.elementStyles = [], y$1.shadowRootOptions = {
|
1017
1020
|
mode: "open"
|
1018
|
-
},
|
1019
|
-
ReactiveElement:
|
1020
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0
|
1021
|
+
}, 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({
|
1022
|
+
ReactiveElement: y$1
|
1023
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
|
1021
1024
|
|
1022
1025
|
/**
|
1023
1026
|
* @license
|
@@ -1112,7 +1115,7 @@ function _non_iterable_spread() {
|
|
1112
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.");
|
1113
1116
|
}
|
1114
1117
|
function _possible_constructor_return$1(self, call) {
|
1115
|
-
if (call && (_type_of$
|
1118
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
1116
1119
|
return call;
|
1117
1120
|
}
|
1118
1121
|
return _assert_this_initialized$1(self);
|
@@ -1130,7 +1133,7 @@ function _sliced_to_array(arr, i) {
|
|
1130
1133
|
function _to_consumable_array(arr) {
|
1131
1134
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
1132
1135
|
}
|
1133
|
-
function _type_of$
|
1136
|
+
function _type_of$2(obj) {
|
1134
1137
|
"@swc/helpers - typeof";
|
1135
1138
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1136
1139
|
}
|
@@ -1167,17 +1170,17 @@ function _create_super$1(Derived) {
|
|
1167
1170
|
};
|
1168
1171
|
}
|
1169
1172
|
var _t;
|
1170
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
1173
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
|
1171
1174
|
createHTML: function(t) {
|
1172
1175
|
return t;
|
1173
1176
|
}
|
1174
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
1175
|
-
return r$
|
1177
|
+
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$1 = document, l = function() {
|
1178
|
+
return r$1.createComment("");
|
1176
1179
|
}, c = function(t) {
|
1177
|
-
return null === t || "object" != typeof t && "function" != typeof t;
|
1180
|
+
return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
|
1178
1181
|
}, a = Array.isArray, u = function(t) {
|
1179
1182
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
1180
|
-
}, d = "[
|
1183
|
+
}, 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) {
|
1181
1184
|
return function(i) {
|
1182
1185
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
1183
1186
|
s[_key - 1] = arguments[_key];
|
@@ -1188,10 +1191,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
|
|
1188
1191
|
values: s
|
1189
1192
|
};
|
1190
1193
|
};
|
1191
|
-
}, 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$1.createTreeWalker(r$1, 129);
|
1192
1195
|
function P(t, i) {
|
1193
1196
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
1194
|
-
return void 0 !== s ? s.createHTML(i) : i;
|
1197
|
+
return void 0 !== s$1 ? s$1.createHTML(i) : i;
|
1195
1198
|
}
|
1196
1199
|
var V = function(t, i) {
|
1197
1200
|
var s = t.length - 1, o = [];
|
@@ -1266,7 +1269,7 @@ var N = /*#__PURE__*/ function() {
|
|
1266
1269
|
r.append(t3[s2], l());
|
1267
1270
|
}
|
1268
1271
|
}
|
1269
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
1272
|
+
} else if (8 === r.nodeType) if (r.data === o$2) d.push({
|
1270
1273
|
type: 2,
|
1271
1274
|
index: c
|
1272
1275
|
});
|
@@ -1284,7 +1287,7 @@ var N = /*#__PURE__*/ function() {
|
|
1284
1287
|
{
|
1285
1288
|
key: "createElement",
|
1286
1289
|
value: function createElement(t, i) {
|
1287
|
-
var s = r$
|
1290
|
+
var s = r$1.createElement("template");
|
1288
1291
|
return s.innerHTML = t, s;
|
1289
1292
|
}
|
1290
1293
|
}
|
@@ -1299,7 +1302,7 @@ function S(t, i) {
|
|
1299
1302
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
1300
1303
|
var o = c(i) ? void 0 : i._$litDirective$;
|
1301
1304
|
var __$Co;
|
1302
|
-
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, 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;
|
1303
1306
|
}
|
1304
1307
|
var M = /*#__PURE__*/ function() {
|
1305
1308
|
function M(t, i) {
|
@@ -1323,7 +1326,7 @@ var M = /*#__PURE__*/ function() {
|
|
1323
1326
|
key: "u",
|
1324
1327
|
value: function u(t) {
|
1325
1328
|
var _t_creationScope;
|
1326
|
-
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$1).importNode(i, true);
|
1327
1330
|
C.currentNode = e;
|
1328
1331
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
1329
1332
|
for(; void 0 !== l;){
|
@@ -1333,7 +1336,7 @@ var M = /*#__PURE__*/ function() {
|
|
1333
1336
|
}
|
1334
1337
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
1335
1338
|
}
|
1336
|
-
return C.currentNode = r$
|
1339
|
+
return C.currentNode = r$1, e;
|
1337
1340
|
}
|
1338
1341
|
},
|
1339
1342
|
{
|
@@ -1369,7 +1372,7 @@ var R = /*#__PURE__*/ function() {
|
|
1369
1372
|
function R(t, i, s, e) {
|
1370
1373
|
_class_call_check$1(this, R);
|
1371
1374
|
var _e_isConnected;
|
1372
|
-
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 : true;
|
1373
1376
|
}
|
1374
1377
|
_create_class$1(R, [
|
1375
1378
|
{
|
@@ -1422,7 +1425,7 @@ var R = /*#__PURE__*/ function() {
|
|
1422
1425
|
{
|
1423
1426
|
key: "_",
|
1424
1427
|
value: function _(t) {
|
1425
|
-
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$1.createTextNode(t)), this._$AH = t;
|
1426
1429
|
}
|
1427
1430
|
},
|
1428
1431
|
{
|
@@ -1478,7 +1481,7 @@ var R = /*#__PURE__*/ function() {
|
|
1478
1481
|
value: function _$AR() {
|
1479
1482
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
1480
1483
|
var _this__$AP, _this;
|
1481
|
-
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, false, true, i); t && t !== this._$AB;){
|
1482
1485
|
var i1 = t.nextSibling;
|
1483
1486
|
t.remove(), t = i1;
|
1484
1487
|
}
|
@@ -1517,7 +1520,7 @@ var k = /*#__PURE__*/ function() {
|
|
1517
1520
|
value: function _$AI(t) {
|
1518
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;
|
1519
1522
|
var h = this.strings;
|
1520
|
-
var o =
|
1523
|
+
var o = false;
|
1521
1524
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
1522
1525
|
else {
|
1523
1526
|
var e1 = t;
|
@@ -1632,7 +1635,7 @@ var z = /*#__PURE__*/ function() {
|
|
1632
1635
|
}();
|
1633
1636
|
var j = t$1.litHtmlPolyfillSupport;
|
1634
1637
|
var _litHtmlVersions;
|
1635
|
-
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.3.0");
|
1636
1639
|
var B = function(t, i, s) {
|
1637
1640
|
var _s_renderBefore;
|
1638
1641
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
@@ -1667,7 +1670,6 @@ function _defineProperties(target, props) {
|
|
1667
1670
|
}
|
1668
1671
|
function _create_class(Constructor, protoProps, staticProps) {
|
1669
1672
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
1670
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
1671
1673
|
return Constructor;
|
1672
1674
|
}
|
1673
1675
|
function _get(target, property, receiver) {
|
@@ -1706,7 +1708,7 @@ function _inherits(subClass, superClass) {
|
|
1706
1708
|
if (superClass) _set_prototype_of(subClass, superClass);
|
1707
1709
|
}
|
1708
1710
|
function _possible_constructor_return(self, call) {
|
1709
|
-
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
1711
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
1710
1712
|
return call;
|
1711
1713
|
}
|
1712
1714
|
return _assert_this_initialized(self);
|
@@ -1725,7 +1727,7 @@ function _super_prop_base(object, property) {
|
|
1725
1727
|
}
|
1726
1728
|
return object;
|
1727
1729
|
}
|
1728
|
-
function _type_of(obj) {
|
1730
|
+
function _type_of$1(obj) {
|
1729
1731
|
"@swc/helpers - typeof";
|
1730
1732
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1731
1733
|
}
|
@@ -1753,17 +1755,18 @@ function _create_super(Derived) {
|
|
1753
1755
|
return _possible_constructor_return(this, result);
|
1754
1756
|
};
|
1755
1757
|
}
|
1756
|
-
var
|
1757
|
-
var
|
1758
|
+
var _s_litElementHydrateSupport;
|
1759
|
+
var _s;
|
1758
1760
|
/**
|
1759
1761
|
* @license
|
1760
1762
|
* Copyright 2017 Google LLC
|
1761
1763
|
* SPDX-License-Identifier: BSD-3-Clause
|
1762
|
-
*/ var
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1764
|
+
*/ var s = globalThis;
|
1765
|
+
var i = /*#__PURE__*/ function(t) {
|
1766
|
+
_inherits(i, t);
|
1767
|
+
var _super = _create_super(i);
|
1768
|
+
function i() {
|
1769
|
+
_class_call_check(this, i);
|
1767
1770
|
var _this;
|
1768
1771
|
_this = _super.call.apply(_super, [
|
1769
1772
|
this
|
@@ -1772,12 +1775,12 @@ var _globalThis1;
|
|
1772
1775
|
}, _this._$Do = void 0;
|
1773
1776
|
return _possible_constructor_return(_this);
|
1774
1777
|
}
|
1775
|
-
_create_class(
|
1778
|
+
_create_class(i, [
|
1776
1779
|
{
|
1777
1780
|
key: "createRenderRoot",
|
1778
1781
|
value: function createRenderRoot() {
|
1779
1782
|
var _this_renderOptions;
|
1780
|
-
var _$t = _get(_get_prototype_of(
|
1783
|
+
var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
|
1781
1784
|
var _renderBefore;
|
1782
1785
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
1783
1786
|
}
|
@@ -1785,22 +1788,22 @@ var _globalThis1;
|
|
1785
1788
|
{
|
1786
1789
|
key: "update",
|
1787
1790
|
value: function update(t) {
|
1788
|
-
var
|
1789
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
1791
|
+
var r = this.render();
|
1792
|
+
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);
|
1790
1793
|
}
|
1791
1794
|
},
|
1792
1795
|
{
|
1793
1796
|
key: "connectedCallback",
|
1794
1797
|
value: function connectedCallback() {
|
1795
1798
|
var _this__$Do;
|
1796
|
-
_get(_get_prototype_of(
|
1799
|
+
_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);
|
1797
1800
|
}
|
1798
1801
|
},
|
1799
1802
|
{
|
1800
1803
|
key: "disconnectedCallback",
|
1801
1804
|
value: function disconnectedCallback() {
|
1802
1805
|
var _this__$Do;
|
1803
|
-
_get(_get_prototype_of(
|
1806
|
+
_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);
|
1804
1807
|
}
|
1805
1808
|
},
|
1806
1809
|
{
|
@@ -1810,17 +1813,17 @@ var _globalThis1;
|
|
1810
1813
|
}
|
1811
1814
|
}
|
1812
1815
|
]);
|
1813
|
-
return
|
1814
|
-
}(
|
1815
|
-
|
1816
|
-
LitElement:
|
1816
|
+
return i;
|
1817
|
+
}(y$1);
|
1818
|
+
i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
|
1819
|
+
LitElement: i
|
1817
1820
|
});
|
1818
|
-
var
|
1819
|
-
|
1820
|
-
LitElement:
|
1821
|
+
var o$1 = s.litElementPolyfillSupport;
|
1822
|
+
o$1 === null || o$1 === void 0 ? void 0 : o$1({
|
1823
|
+
LitElement: i
|
1821
1824
|
});
|
1822
1825
|
var _litElementVersions;
|
1823
|
-
((_litElementVersions = (
|
1826
|
+
((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
|
1824
1827
|
|
1825
1828
|
/**
|
1826
1829
|
* @license
|
@@ -1834,73 +1837,25 @@ var _litElementVersions;
|
|
1834
1837
|
};
|
1835
1838
|
};
|
1836
1839
|
|
1837
|
-
function
|
1838
|
-
|
1839
|
-
|
1840
|
-
value: value,
|
1841
|
-
enumerable: true,
|
1842
|
-
configurable: true,
|
1843
|
-
writable: true
|
1844
|
-
});
|
1845
|
-
} else {
|
1846
|
-
obj[key] = value;
|
1847
|
-
}
|
1848
|
-
return obj;
|
1849
|
-
}
|
1850
|
-
function _object_spread(target) {
|
1851
|
-
for(var i = 1; i < arguments.length; i++){
|
1852
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
1853
|
-
var ownKeys = Object.keys(source);
|
1854
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
1855
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
1856
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
1857
|
-
}));
|
1858
|
-
}
|
1859
|
-
ownKeys.forEach(function(key) {
|
1860
|
-
_define_property(target, key, source[key]);
|
1861
|
-
});
|
1862
|
-
}
|
1863
|
-
return target;
|
1864
|
-
}
|
1865
|
-
function ownKeys(object, enumerableOnly) {
|
1866
|
-
var keys = Object.keys(object);
|
1867
|
-
if (Object.getOwnPropertySymbols) {
|
1868
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
1869
|
-
if (enumerableOnly) {
|
1870
|
-
symbols = symbols.filter(function(sym) {
|
1871
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
1872
|
-
});
|
1873
|
-
}
|
1874
|
-
keys.push.apply(keys, symbols);
|
1875
|
-
}
|
1876
|
-
return keys;
|
1877
|
-
}
|
1878
|
-
function _object_spread_props(target, source) {
|
1879
|
-
source = source != null ? source : {};
|
1880
|
-
if (Object.getOwnPropertyDescriptors) {
|
1881
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
1882
|
-
} else {
|
1883
|
-
ownKeys(Object(source)).forEach(function(key) {
|
1884
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
1885
|
-
});
|
1886
|
-
}
|
1887
|
-
return target;
|
1840
|
+
function _type_of(obj) {
|
1841
|
+
"@swc/helpers - typeof";
|
1842
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1888
1843
|
}
|
1889
1844
|
/**
|
1890
1845
|
* @license
|
1891
1846
|
* Copyright 2017 Google LLC
|
1892
1847
|
* SPDX-License-Identifier: BSD-3-Clause
|
1893
1848
|
*/ var o = {
|
1894
|
-
attribute:
|
1849
|
+
attribute: true,
|
1895
1850
|
type: String,
|
1896
1851
|
converter: u$1,
|
1897
|
-
reflect:
|
1852
|
+
reflect: false,
|
1898
1853
|
hasChanged: f$1
|
1899
1854
|
}, r = function() {
|
1900
1855
|
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;
|
1901
1856
|
var n = r.kind, i = r.metadata;
|
1902
1857
|
var s = globalThis.litPropertyMetadata.get(i);
|
1903
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
1858
|
+
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) {
|
1904
1859
|
var o1 = r.name;
|
1905
1860
|
return {
|
1906
1861
|
set: function set(r) {
|
@@ -1908,7 +1863,7 @@ function _object_spread_props(target, source) {
|
|
1908
1863
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
1909
1864
|
},
|
1910
1865
|
init: function init(e) {
|
1911
|
-
return void 0 !== e && this.
|
1866
|
+
return void 0 !== e && this.C(o1, void 0, _$t, e), e;
|
1912
1867
|
}
|
1913
1868
|
};
|
1914
1869
|
}
|
@@ -1923,11 +1878,9 @@ function _object_spread_props(target, source) {
|
|
1923
1878
|
};
|
1924
1879
|
function n(t) {
|
1925
1880
|
return function(e, o) {
|
1926
|
-
return "object" == typeof o ? r(t, e, o) : function(t, e, o) {
|
1881
|
+
return "object" == (typeof o === "undefined" ? "undefined" : _type_of(o)) ? r(t, e, o) : function(t, e, o) {
|
1927
1882
|
var r = e.hasOwnProperty(o);
|
1928
|
-
return e.constructor.createProperty(o, r ?
|
1929
|
-
wrapped: !0
|
1930
|
-
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1883
|
+
return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1931
1884
|
}(t, e, o);
|
1932
1885
|
};
|
1933
1886
|
}
|
@@ -72359,7 +72312,7 @@ const schemas = {
|
|
72359
72312
|
};
|
72360
72313
|
|
72361
72314
|
let jsonGenerator, generateBlocklyBlockFromLibraries, generateToolboxFromLibraries, initializeMutator;
|
72362
|
-
class EditorElement extends
|
72315
|
+
class EditorElement extends i {
|
72363
72316
|
createRenderRoot() {
|
72364
72317
|
return this;
|
72365
72318
|
}
|