canvas-editor-engine 2.0.19 → 2.0.21
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.mjs +27 -15
- package/dist/utils/reflect.d.ts +1 -0
- package/dist/web-component.d.ts +0 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -44,6 +44,22 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
|
|
|
44
44
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
var reflect = function() {
|
|
48
|
+
if (window.Reflect === undefined || window.customElements === undefined || window.customElements.polyfillWrapFlushCallback) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
var BuiltInHTMLElement = HTMLElement;
|
|
52
|
+
var wrapperForTheName = {
|
|
53
|
+
HTMLElement: function HTMLElement() {
|
|
54
|
+
return Reflect.construct(BuiltInHTMLElement, [], this.constructor);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
window.HTMLElement = wrapperForTheName["HTMLElement"];
|
|
58
|
+
HTMLElement.prototype = BuiltInHTMLElement.prototype;
|
|
59
|
+
HTMLElement.prototype.constructor = HTMLElement;
|
|
60
|
+
Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);
|
|
61
|
+
};
|
|
62
|
+
|
|
47
63
|
var ConfigFabric = function() {
|
|
48
64
|
function ConfigFabric() {}
|
|
49
65
|
return ConfigFabric;
|
|
@@ -113,6 +129,8 @@ var AppConfig = function(_super) {
|
|
|
113
129
|
} ];
|
|
114
130
|
})();
|
|
115
131
|
|
|
132
|
+
reflect();
|
|
133
|
+
|
|
116
134
|
var ComponentService = function() {
|
|
117
135
|
function ComponentService() {}
|
|
118
136
|
ComponentService.getTemplate = function(template, wrapOptions) {
|
|
@@ -841,6 +859,8 @@ var CropService = function() {
|
|
|
841
859
|
return CropService;
|
|
842
860
|
}();
|
|
843
861
|
|
|
862
|
+
reflect();
|
|
863
|
+
|
|
844
864
|
var ExcretionsComponent = function(_super) {
|
|
845
865
|
__extends(ExcretionsComponent, _super);
|
|
846
866
|
function ExcretionsComponent() {
|
|
@@ -1225,6 +1245,8 @@ var EventService = function() {
|
|
|
1225
1245
|
return EventService;
|
|
1226
1246
|
}();
|
|
1227
1247
|
|
|
1248
|
+
reflect();
|
|
1249
|
+
|
|
1228
1250
|
var LoadingComponent = function(_super) {
|
|
1229
1251
|
__extends(LoadingComponent, _super);
|
|
1230
1252
|
function LoadingComponent() {
|
|
@@ -1282,6 +1304,8 @@ var LoadingComponent = function(_super) {
|
|
|
1282
1304
|
return LoadingComponent;
|
|
1283
1305
|
}(ComponentService);
|
|
1284
1306
|
|
|
1307
|
+
reflect();
|
|
1308
|
+
|
|
1285
1309
|
var PipetteComponent = function(_super) {
|
|
1286
1310
|
__extends(PipetteComponent, _super);
|
|
1287
1311
|
function PipetteComponent() {
|
|
@@ -1423,6 +1447,8 @@ var SlotComponent = function(_super) {
|
|
|
1423
1447
|
return SlotComponent;
|
|
1424
1448
|
}(ComponentService);
|
|
1425
1449
|
|
|
1450
|
+
reflect();
|
|
1451
|
+
|
|
1426
1452
|
var WebComponentWrapper = function() {
|
|
1427
1453
|
function WebComponentWrapper() {
|
|
1428
1454
|
var base = document.createElement("div");
|
|
@@ -2111,21 +2137,7 @@ var PullProjectService = function() {
|
|
|
2111
2137
|
return PullProjectService;
|
|
2112
2138
|
}();
|
|
2113
2139
|
|
|
2114
|
-
(
|
|
2115
|
-
if (window.Reflect === undefined || window.customElements === undefined || window.customElements.polyfillWrapFlushCallback) {
|
|
2116
|
-
return;
|
|
2117
|
-
}
|
|
2118
|
-
var BuiltInHTMLElement = HTMLElement;
|
|
2119
|
-
var wrapperForTheName = {
|
|
2120
|
-
HTMLElement: function HTMLElement() {
|
|
2121
|
-
return Reflect.construct(BuiltInHTMLElement, [], this.constructor);
|
|
2122
|
-
}
|
|
2123
|
-
};
|
|
2124
|
-
window.HTMLElement = wrapperForTheName["HTMLElement"];
|
|
2125
|
-
HTMLElement.prototype = BuiltInHTMLElement.prototype;
|
|
2126
|
-
HTMLElement.prototype.constructor = HTMLElement;
|
|
2127
|
-
Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);
|
|
2128
|
-
})();
|
|
2140
|
+
reflect();
|
|
2129
2141
|
|
|
2130
2142
|
var CanvasEditorEngine = function() {
|
|
2131
2143
|
function CanvasEditorEngine(webComponentTagName) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const reflect: () => void;
|
package/dist/web-component.d.ts
CHANGED