@pinnacle0/web-ui 0.3.71 → 0.3.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinnacle0/web-ui",
3
- "version": "0.3.71",
3
+ "version": "0.3.72",
4
4
  "author": "Pinnacle",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
@@ -0,0 +1,3 @@
1
+ export declare class PolyfillUtil {
2
+ static ResizeObserver(): Promise<void>;
3
+ }
@@ -34,20 +34,27 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
34
34
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
35
  }
36
36
  };
37
- (function () { return __awaiter(void 0, void 0, void 0, function () {
38
- var module_1;
39
- return __generator(this, function (_a) {
40
- switch (_a.label) {
41
- case 0:
42
- if (!("ResizeObserver" in window === false)) return [3 /*break*/, 2];
43
- return [4 /*yield*/, import("@juggle/resize-observer")];
44
- case 1:
45
- module_1 = _a.sent();
46
- window.ResizeObserver = module_1.ResizeObserver;
47
- _a.label = 2;
48
- case 2: return [2 /*return*/];
49
- }
50
- });
51
- }); })();
52
- export {};
53
- //# sourceMappingURL=ResizeObserverPolyfill.js.map
37
+ var PolyfillUtil = /** @class */ (function () {
38
+ function PolyfillUtil() {
39
+ }
40
+ PolyfillUtil.ResizeObserver = function () {
41
+ return __awaiter(this, void 0, void 0, function () {
42
+ var module_1;
43
+ return __generator(this, function (_a) {
44
+ switch (_a.label) {
45
+ case 0:
46
+ if (!("ResizeObserver" in window === false)) return [3 /*break*/, 2];
47
+ return [4 /*yield*/, import("@juggle/resize-observer")];
48
+ case 1:
49
+ module_1 = _a.sent();
50
+ window.ResizeObserver = module_1.ResizeObserver;
51
+ _a.label = 2;
52
+ case 2: return [2 /*return*/];
53
+ }
54
+ });
55
+ });
56
+ };
57
+ return PolyfillUtil;
58
+ }());
59
+ export { PolyfillUtil };
60
+ //# sourceMappingURL=PolyfillUtil.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PolyfillUtil.js","sourceRoot":"","sources":["../../src/util/PolyfillUtil.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;IAAA;IAQA,CAAC;IAPgB,2BAAc,GAA3B;;;;;;6BACQ,CAAA,gBAAgB,IAAI,MAAM,KAAK,KAAK,CAAA,EAApC,wBAAoC;wBAErB,qBAAM,MAAM,CAAC,yBAAyB,CAAC,EAAA;;wBAAhD,WAAS,SAAuC;wBACtD,MAAM,CAAC,cAAc,GAAG,QAAM,CAAC,cAAc,CAAC;;;;;;KAErD;IACL,mBAAC;AAAD,CAAC,AARD,IAQC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResizeObserverPolyfill.js","sourceRoot":"","sources":["../../src/core/ResizeObserverPolyfill.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,CAAC;;;;;qBACO,CAAA,gBAAgB,IAAI,MAAM,KAAK,KAAK,CAAA,EAApC,wBAAoC;gBAErB,qBAAM,MAAM,CAAC,yBAAyB,CAAC,EAAA;;gBAAhD,WAAS,SAAuC;gBACtD,MAAM,CAAC,cAAc,GAAG,QAAM,CAAC,cAAc,CAAC;;;;;KAErD,CAAC,EAAE,CAAC"}