@everymatrix/casino-engagement-suite-modal 1.56.0 → 1.56.3
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/casino-engagement-suite-modal/casino-engagement-suite-modal.esm.js +1 -1
- package/dist/casino-engagement-suite-modal/p-85dea1f3.entry.js +1 -0
- package/dist/casino-engagement-suite-modal/p-b82db066.js +2 -0
- package/dist/cjs/casino-engagement-suite-modal.cjs.entry.js +11 -15
- package/dist/cjs/casino-engagement-suite-modal.cjs.js +2 -2
- package/dist/cjs/{index-f0bdc19e.js → index-0d730cd7.js} +65 -200
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.js +10 -32
- package/dist/esm/casino-engagement-suite-modal.entry.js +11 -15
- package/dist/esm/casino-engagement-suite-modal.js +3 -3
- package/dist/esm/{index-118cee90.js → index-2faffb64.js} +65 -200
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.dev.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/casino-engagement-suite-modal/p-6b988108.js +0 -2
- package/dist/casino-engagement-suite-modal/p-c66da26c.entry.js +0 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/packages/stencil/casino-engagement-suite-modal/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-modal/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
package/dist/collection/components/casino-engagement-suite-modal/casino-engagement-suite-modal.js
CHANGED
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class CasinoEngagementSuiteModal {
|
|
3
3
|
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Client custom styling via string
|
|
6
|
-
*/
|
|
7
|
-
this.clientStyling = '';
|
|
8
|
-
/**
|
|
9
|
-
* Client custom styling via url
|
|
10
|
-
*/
|
|
11
|
-
this.clientStylingUrl = '';
|
|
12
|
-
this.device = 'Mobile';
|
|
13
|
-
/**
|
|
14
|
-
* Show win animation
|
|
15
|
-
*/
|
|
16
|
-
this.showAnimation = false;
|
|
17
|
-
this.limitStylingAppends = false;
|
|
18
4
|
this.handleCloseClick = () => {
|
|
19
5
|
if (this.isLoading)
|
|
20
6
|
return;
|
|
@@ -38,6 +24,16 @@ export class CasinoEngagementSuiteModal {
|
|
|
38
24
|
console.log('Error ', err);
|
|
39
25
|
});
|
|
40
26
|
};
|
|
27
|
+
this.clientStyling = '';
|
|
28
|
+
this.clientStylingUrl = '';
|
|
29
|
+
this.isOpen = undefined;
|
|
30
|
+
this.isLoading = undefined;
|
|
31
|
+
this.header = undefined;
|
|
32
|
+
this.contentIcon = undefined;
|
|
33
|
+
this.modalType = undefined;
|
|
34
|
+
this.device = 'Mobile';
|
|
35
|
+
this.showAnimation = false;
|
|
36
|
+
this.limitStylingAppends = false;
|
|
41
37
|
}
|
|
42
38
|
componentDidRender() {
|
|
43
39
|
if (!this.limitStylingAppends && this.host) {
|
|
@@ -81,8 +77,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
81
77
|
"tags": [],
|
|
82
78
|
"text": "Client custom styling via string"
|
|
83
79
|
},
|
|
84
|
-
"getter": false,
|
|
85
|
-
"setter": false,
|
|
86
80
|
"attribute": "client-styling",
|
|
87
81
|
"reflect": true,
|
|
88
82
|
"defaultValue": "''"
|
|
@@ -101,8 +95,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
101
95
|
"tags": [],
|
|
102
96
|
"text": "Client custom styling via url"
|
|
103
97
|
},
|
|
104
|
-
"getter": false,
|
|
105
|
-
"setter": false,
|
|
106
98
|
"attribute": "client-styling-url",
|
|
107
99
|
"reflect": true,
|
|
108
100
|
"defaultValue": "''"
|
|
@@ -121,8 +113,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
121
113
|
"tags": [],
|
|
122
114
|
"text": ""
|
|
123
115
|
},
|
|
124
|
-
"getter": false,
|
|
125
|
-
"setter": false,
|
|
126
116
|
"attribute": "is-open",
|
|
127
117
|
"reflect": false
|
|
128
118
|
},
|
|
@@ -140,8 +130,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
140
130
|
"tags": [],
|
|
141
131
|
"text": ""
|
|
142
132
|
},
|
|
143
|
-
"getter": false,
|
|
144
|
-
"setter": false,
|
|
145
133
|
"attribute": "is-loading",
|
|
146
134
|
"reflect": false
|
|
147
135
|
},
|
|
@@ -159,8 +147,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
159
147
|
"tags": [],
|
|
160
148
|
"text": ""
|
|
161
149
|
},
|
|
162
|
-
"getter": false,
|
|
163
|
-
"setter": false,
|
|
164
150
|
"attribute": "header",
|
|
165
151
|
"reflect": false
|
|
166
152
|
},
|
|
@@ -178,8 +164,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
178
164
|
"tags": [],
|
|
179
165
|
"text": ""
|
|
180
166
|
},
|
|
181
|
-
"getter": false,
|
|
182
|
-
"setter": false,
|
|
183
167
|
"attribute": "content-icon",
|
|
184
168
|
"reflect": false
|
|
185
169
|
},
|
|
@@ -197,8 +181,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
197
181
|
"tags": [],
|
|
198
182
|
"text": ""
|
|
199
183
|
},
|
|
200
|
-
"getter": false,
|
|
201
|
-
"setter": false,
|
|
202
184
|
"attribute": "modal-type",
|
|
203
185
|
"reflect": false
|
|
204
186
|
},
|
|
@@ -216,8 +198,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
216
198
|
"tags": [],
|
|
217
199
|
"text": ""
|
|
218
200
|
},
|
|
219
|
-
"getter": false,
|
|
220
|
-
"setter": false,
|
|
221
201
|
"attribute": "device",
|
|
222
202
|
"reflect": false,
|
|
223
203
|
"defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"
|
|
@@ -236,8 +216,6 @@ export class CasinoEngagementSuiteModal {
|
|
|
236
216
|
"tags": [],
|
|
237
217
|
"text": "Show win animation"
|
|
238
218
|
},
|
|
239
|
-
"getter": false,
|
|
240
|
-
"setter": false,
|
|
241
219
|
"attribute": "show-animation",
|
|
242
220
|
"reflect": false,
|
|
243
221
|
"defaultValue": "false"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-2faffb64.js';
|
|
2
2
|
|
|
3
3
|
const casinoEngagementSuiteModalCss = ":host{display:block;font-family:inherit}*{box-sizing:border-box;margin:0;padding:0}button{border:none;background:none;cursor:pointer;touch-action:manipulation}button:focus{outline:none}.EngagementSuiteIconButton{width:24px;height:24px}.EngagementSuiteIconButton.Close{background:center/100% url(https://static.everymatrix.com/gic/img/engagement-suite/close.svg) no-repeat}.ModalOverlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center;z-index:1}.ModalOverlay.Open{display:flex}.IconCloseContainer{width:100%;display:flex;justify-content:end}.ModalBodyWrapper{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.ModalBodyWrapper::-webkit-scrollbar{width:3px;background:none}.ModalBodyWrapper::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 4px);background-color:var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3))}.ModalContent{display:flex;flex-direction:column;align-items:center;font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);position:relative;color:var(--emw--color-typography, #FFFFFF);background-color:var(--emw--color-background, #1E1638);padding:24px;border-radius:var(--emw--border-radius-large, 8px);width:450px;max-width:100%;text-align:center;max-height:90dvh}.GradientBorder::before{content:\"\";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:var(--emw--border-radius-large, 9px);background:linear-gradient(143.2deg, #FF9401 -0.41%, #FFD32D 45.61%, #FF9401 82.77%);z-index:-1}.ModalHeader h1{font-weight:var(--emw--font-weight-semibold, 600);font-size:var(--emw--font-size-large-plus, 24px);padding:0 16px;margin-bottom:16px}.ModalIcon{width:44px;height:44px;border-radius:50%;background-size:cover;margin:12px 0}.ModalBody{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 400);color:var(--emw--color-secondary, #BBB9C3);padding:0 16px}.ModalFooter{margin-top:40px;margin-bottom:28px;padding:0 16px;width:100%}@keyframes rotate{100%{transform:rotate(1turn)}}.ModalOverlay .ModalWinAnimation{display:none}.ModalOverlay.ShowAnimation .ModalWinAnimation{display:block;position:absolute;width:100%;height:100%;inset:0;background:center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/light.svg) no-repeat, center/550px url(https://static.everymatrix.com/gic/img/engagement-suite/win.svg) no-repeat;animation:6s rotate linear infinite}.ModalOverlay.Mobile .EngagementSuiteIconButton{width:16px;height:16px}.ModalOverlay.Mobile .ModalBody{font-size:var(--emw--font-size-small, 14px)}.ModalOverlay.Mobile .ModalContent{width:318px;padding:12px}.ModalOverlay.Mobile .ModalHeader h1{font-size:var(--emw--font-size-large, 20px);padding:0 60px}.ModalOverlay.Mobile.ShowAnimation .ModalWinAnimation{background-size:400px}";
|
|
4
4
|
const CasinoEngagementSuiteModalStyle0 = casinoEngagementSuiteModalCss;
|
|
@@ -7,20 +7,6 @@ const CasinoEngagementSuiteModal = class {
|
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.closeModal = createEvent(this, "closeModal", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Client custom styling via string
|
|
12
|
-
*/
|
|
13
|
-
this.clientStyling = '';
|
|
14
|
-
/**
|
|
15
|
-
* Client custom styling via url
|
|
16
|
-
*/
|
|
17
|
-
this.clientStylingUrl = '';
|
|
18
|
-
this.device = 'Mobile';
|
|
19
|
-
/**
|
|
20
|
-
* Show win animation
|
|
21
|
-
*/
|
|
22
|
-
this.showAnimation = false;
|
|
23
|
-
this.limitStylingAppends = false;
|
|
24
10
|
this.handleCloseClick = () => {
|
|
25
11
|
if (this.isLoading)
|
|
26
12
|
return;
|
|
@@ -44,6 +30,16 @@ const CasinoEngagementSuiteModal = class {
|
|
|
44
30
|
console.log('Error ', err);
|
|
45
31
|
});
|
|
46
32
|
};
|
|
33
|
+
this.clientStyling = '';
|
|
34
|
+
this.clientStylingUrl = '';
|
|
35
|
+
this.isOpen = undefined;
|
|
36
|
+
this.isLoading = undefined;
|
|
37
|
+
this.header = undefined;
|
|
38
|
+
this.contentIcon = undefined;
|
|
39
|
+
this.modalType = undefined;
|
|
40
|
+
this.device = 'Mobile';
|
|
41
|
+
this.showAnimation = false;
|
|
42
|
+
this.limitStylingAppends = false;
|
|
47
43
|
}
|
|
48
44
|
componentDidRender() {
|
|
49
45
|
if (!this.limitStylingAppends && this.host) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-2faffb64.js';
|
|
2
|
+
export { s as setNonce } from './index-2faffb64.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'casino-engagement-suite-modal';
|
|
2
|
-
const BUILD = /* casino-engagement-suite-modal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false,
|
|
2
|
+
const BUILD = /* casino-engagement-suite-modal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
// src/client/client-host-ref.ts
|
|
14
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
15
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
16
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
17
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
18
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
19
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
20
16
|
const hostRef = {
|
|
21
17
|
$flags$: 0,
|
|
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
28
24
|
hostElement["s-p"] = [];
|
|
29
25
|
hostElement["s-rc"] = [];
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
33
28
|
};
|
|
34
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
35
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
66
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
67
62
|
/* webpackMode: "lazy" */
|
|
68
63
|
`./${bundleId}.entry.js${""}`
|
|
69
|
-
).then(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
cmpModules.set(bundleId, importedModule);
|
|
73
|
-
}
|
|
74
|
-
return importedModule[exportName];
|
|
75
|
-
},
|
|
76
|
-
(e) => {
|
|
77
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
78
67
|
}
|
|
79
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
80
70
|
};
|
|
81
71
|
|
|
82
72
|
// src/client/client-style.ts
|
|
83
73
|
var styles = /* @__PURE__ */ new Map();
|
|
84
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
85
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
86
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
87
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -139,6 +128,12 @@ var flush = () => {
|
|
|
139
128
|
};
|
|
140
129
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
141
130
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
131
|
+
|
|
132
|
+
// src/utils/constants.ts
|
|
133
|
+
var EMPTY_OBJ = {};
|
|
134
|
+
|
|
135
|
+
// src/utils/helpers.ts
|
|
136
|
+
var isDef = (v) => v != null;
|
|
142
137
|
var isComplexType = (o) => {
|
|
143
138
|
o = typeof o;
|
|
144
139
|
return o === "object" || o === "function";
|
|
@@ -339,40 +334,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
339
334
|
}
|
|
340
335
|
if (!appliedStyles.has(scopeId2)) {
|
|
341
336
|
{
|
|
342
|
-
styleElm =
|
|
337
|
+
styleElm = doc.createElement("style");
|
|
343
338
|
styleElm.innerHTML = style;
|
|
344
339
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
345
340
|
if (nonce != null) {
|
|
346
341
|
styleElm.setAttribute("nonce", nonce);
|
|
347
342
|
}
|
|
348
|
-
|
|
349
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
350
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
351
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
352
|
-
styleContainerNode.insertBefore(
|
|
353
|
-
styleElm,
|
|
354
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
355
|
-
);
|
|
356
|
-
} else if ("host" in styleContainerNode) {
|
|
357
|
-
if (supportsConstructableStylesheets) {
|
|
358
|
-
const stylesheet = new CSSStyleSheet();
|
|
359
|
-
stylesheet.replaceSync(style);
|
|
360
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
361
|
-
} else {
|
|
362
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
363
|
-
if (existingStyleContainer) {
|
|
364
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
365
|
-
} else {
|
|
366
|
-
styleContainerNode.prepend(styleElm);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
} else {
|
|
370
|
-
styleContainerNode.append(styleElm);
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
374
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
375
|
-
}
|
|
343
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
376
344
|
}
|
|
377
345
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
378
346
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -395,25 +363,23 @@ var attachStyles = (hostRef) => {
|
|
|
395
363
|
const scopeId2 = addStyle(
|
|
396
364
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
397
365
|
cmpMeta);
|
|
398
|
-
if (
|
|
366
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
399
367
|
elm["s-sc"] = scopeId2;
|
|
400
368
|
elm.classList.add(scopeId2 + "-h");
|
|
401
369
|
}
|
|
402
370
|
endAttachStyles();
|
|
403
371
|
};
|
|
404
372
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
405
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
373
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
406
374
|
if (oldValue !== newValue) {
|
|
407
375
|
let isProp = isMemberInElement(elm, memberName);
|
|
408
376
|
let ln = memberName.toLowerCase();
|
|
409
377
|
if (memberName === "class") {
|
|
410
378
|
const classList = elm.classList;
|
|
411
379
|
const oldClasses = parseClassList(oldValue);
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
416
|
-
}
|
|
380
|
+
const newClasses = parseClassList(newValue);
|
|
381
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
382
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
417
383
|
} else if (memberName === "style") {
|
|
418
384
|
{
|
|
419
385
|
for (const prop in oldValue) {
|
|
@@ -462,13 +428,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
462
428
|
if (memberName === "list") {
|
|
463
429
|
isProp = false;
|
|
464
430
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
465
|
-
|
|
466
|
-
elm[memberName] = n;
|
|
467
|
-
} else {
|
|
468
|
-
elm.setAttribute(memberName, n);
|
|
469
|
-
}
|
|
431
|
+
elm[memberName] = n;
|
|
470
432
|
}
|
|
471
|
-
} else
|
|
433
|
+
} else {
|
|
472
434
|
elm[memberName] = newValue;
|
|
473
435
|
}
|
|
474
436
|
} catch (e) {
|
|
@@ -490,44 +452,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
490
452
|
}
|
|
491
453
|
};
|
|
492
454
|
var parseClassListRegex = /\s/;
|
|
493
|
-
var parseClassList = (value) =>
|
|
494
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
495
|
-
value = value.baseVal;
|
|
496
|
-
}
|
|
497
|
-
if (!value || typeof value !== "string") {
|
|
498
|
-
return [];
|
|
499
|
-
}
|
|
500
|
-
return value.split(parseClassListRegex);
|
|
501
|
-
};
|
|
455
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
502
456
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
503
457
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
504
458
|
|
|
505
459
|
// src/runtime/vdom/update-element.ts
|
|
506
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
460
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
507
461
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
508
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
509
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
462
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
463
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
510
464
|
{
|
|
511
465
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
512
466
|
if (!(memberName in newVnodeAttrs)) {
|
|
513
|
-
setAccessor(
|
|
514
|
-
elm,
|
|
515
|
-
memberName,
|
|
516
|
-
oldVnodeAttrs[memberName],
|
|
517
|
-
void 0,
|
|
518
|
-
isSvgMode2,
|
|
519
|
-
newVnode.$flags$);
|
|
467
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
520
468
|
}
|
|
521
469
|
}
|
|
522
470
|
}
|
|
523
471
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
524
|
-
setAccessor(
|
|
525
|
-
elm,
|
|
526
|
-
memberName,
|
|
527
|
-
oldVnodeAttrs[memberName],
|
|
528
|
-
newVnodeAttrs[memberName],
|
|
529
|
-
isSvgMode2,
|
|
530
|
-
newVnode.$flags$);
|
|
472
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
531
473
|
}
|
|
532
474
|
};
|
|
533
475
|
function sortedAttrNames(attrNames) {
|
|
@@ -539,10 +481,13 @@ function sortedAttrNames(attrNames) {
|
|
|
539
481
|
attrNames
|
|
540
482
|
);
|
|
541
483
|
}
|
|
484
|
+
|
|
485
|
+
// src/runtime/vdom/vdom-render.ts
|
|
486
|
+
var scopeId;
|
|
542
487
|
var hostTagName;
|
|
543
488
|
var useNativeShadowDom = false;
|
|
544
489
|
var isSvgMode = false;
|
|
545
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
490
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
546
491
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
547
492
|
let i2 = 0;
|
|
548
493
|
let elm;
|
|
@@ -556,6 +501,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
556
501
|
{
|
|
557
502
|
updateElement(null, newVNode2, isSvgMode);
|
|
558
503
|
}
|
|
504
|
+
if (isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
505
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
506
|
+
}
|
|
559
507
|
if (newVNode2.$children$) {
|
|
560
508
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
561
509
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -684,9 +632,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
684
632
|
if (!isInitialRender) {
|
|
685
633
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
686
634
|
}
|
|
687
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
688
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
689
|
-
}
|
|
690
635
|
return true;
|
|
691
636
|
}
|
|
692
637
|
return false;
|
|
@@ -710,10 +655,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
710
655
|
elm.textContent = "";
|
|
711
656
|
}
|
|
712
657
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
713
|
-
} else if (
|
|
714
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
715
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
716
|
-
) {
|
|
658
|
+
} else if (oldChildren !== null) {
|
|
717
659
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
718
660
|
}
|
|
719
661
|
} else if (oldVNode.$text$ !== text) {
|
|
@@ -721,9 +663,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
721
663
|
}
|
|
722
664
|
};
|
|
723
665
|
var insertBefore = (parent, newNode, reference) => {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
}
|
|
666
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
667
|
+
return inserted;
|
|
727
668
|
};
|
|
728
669
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
729
670
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -748,21 +689,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
748
689
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
749
690
|
hostRef.$vnode$ = rootVnode;
|
|
750
691
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
751
|
-
|
|
692
|
+
{
|
|
693
|
+
scopeId = hostElm["s-sc"];
|
|
694
|
+
}
|
|
695
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
752
696
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
753
697
|
};
|
|
754
698
|
|
|
755
699
|
// src/runtime/update-component.ts
|
|
756
700
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
757
701
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
758
|
-
|
|
759
|
-
new Promise(
|
|
760
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
761
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
762
|
-
r();
|
|
763
|
-
}
|
|
764
|
-
)
|
|
765
|
-
);
|
|
702
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
766
703
|
}
|
|
767
704
|
};
|
|
768
705
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -853,7 +790,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
853
790
|
const instance = hostRef.$lazyInstance$ ;
|
|
854
791
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
855
792
|
{
|
|
856
|
-
safeCall(instance, "componentDidRender"
|
|
793
|
+
safeCall(instance, "componentDidRender");
|
|
857
794
|
}
|
|
858
795
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
859
796
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -882,14 +819,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
882
819
|
}
|
|
883
820
|
};
|
|
884
821
|
var appDidLoad = (who) => {
|
|
822
|
+
{
|
|
823
|
+
addHydratedFlag(doc.documentElement);
|
|
824
|
+
}
|
|
885
825
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
886
826
|
};
|
|
887
|
-
var safeCall = (instance, method, arg
|
|
827
|
+
var safeCall = (instance, method, arg) => {
|
|
888
828
|
if (instance && instance[method]) {
|
|
889
829
|
try {
|
|
890
830
|
return instance[method](arg);
|
|
891
831
|
} catch (e) {
|
|
892
|
-
consoleError(e
|
|
832
|
+
consoleError(e);
|
|
893
833
|
}
|
|
894
834
|
}
|
|
895
835
|
return void 0;
|
|
@@ -932,68 +872,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
932
872
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
933
873
|
members.map(([memberName, [memberFlags]]) => {
|
|
934
874
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
935
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
936
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
937
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
938
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
939
|
-
Object.defineProperty(prototype, memberName, {
|
|
940
|
-
get() {
|
|
941
|
-
{
|
|
942
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
943
|
-
return getValue(this, memberName);
|
|
944
|
-
}
|
|
945
|
-
const ref = getHostRef(this);
|
|
946
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
947
|
-
if (!instance) return;
|
|
948
|
-
return instance[memberName];
|
|
949
|
-
}
|
|
950
|
-
},
|
|
951
|
-
configurable: true,
|
|
952
|
-
enumerable: true
|
|
953
|
-
});
|
|
954
|
-
}
|
|
955
875
|
Object.defineProperty(prototype, memberName, {
|
|
876
|
+
get() {
|
|
877
|
+
return getValue(this, memberName);
|
|
878
|
+
},
|
|
956
879
|
set(newValue) {
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
962
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
963
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
964
|
-
}
|
|
965
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
966
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
967
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
968
|
-
return;
|
|
969
|
-
}
|
|
970
|
-
{
|
|
971
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
972
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
973
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
974
|
-
ref.$onReadyPromise$.then(() => {
|
|
975
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
976
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
977
|
-
}
|
|
978
|
-
});
|
|
979
|
-
}
|
|
980
|
-
return;
|
|
981
|
-
}
|
|
982
|
-
const setterSetVal = () => {
|
|
983
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
984
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
985
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
986
|
-
}
|
|
987
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
988
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
989
|
-
};
|
|
990
|
-
if (ref.$lazyInstance$) {
|
|
991
|
-
setterSetVal();
|
|
992
|
-
} else {
|
|
993
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
}
|
|
880
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
881
|
+
},
|
|
882
|
+
configurable: true,
|
|
883
|
+
enumerable: true
|
|
997
884
|
});
|
|
998
885
|
}
|
|
999
886
|
});
|
|
@@ -1003,11 +890,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1003
890
|
plt.jmp(() => {
|
|
1004
891
|
var _a2;
|
|
1005
892
|
const propName = attrNameToPropName.get(attrName);
|
|
1006
|
-
if (this.hasOwnProperty(propName)
|
|
893
|
+
if (this.hasOwnProperty(propName)) {
|
|
1007
894
|
newValue = this[propName];
|
|
1008
895
|
delete this[propName];
|
|
1009
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1010
|
-
this[propName] == newValue) {
|
|
896
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1011
897
|
return;
|
|
1012
898
|
} else if (propName == null) {
|
|
1013
899
|
const hostRef = getHostRef(this);
|
|
@@ -1023,11 +909,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1023
909
|
}
|
|
1024
910
|
return;
|
|
1025
911
|
}
|
|
1026
|
-
|
|
1027
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1028
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1029
|
-
this[propName] = newValue;
|
|
1030
|
-
}
|
|
912
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1031
913
|
});
|
|
1032
914
|
};
|
|
1033
915
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1056,7 +938,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1056
938
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1057
939
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1058
940
|
if (bundleId) {
|
|
1059
|
-
const CstrImport = loadModule(cmpMeta
|
|
941
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1060
942
|
if (CstrImport && "then" in CstrImport) {
|
|
1061
943
|
const endLoad = uniqueTime();
|
|
1062
944
|
Cstr = await CstrImport;
|
|
@@ -1078,7 +960,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1078
960
|
try {
|
|
1079
961
|
new Cstr(hostRef);
|
|
1080
962
|
} catch (e) {
|
|
1081
|
-
consoleError(e
|
|
963
|
+
consoleError(e);
|
|
1082
964
|
}
|
|
1083
965
|
{
|
|
1084
966
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1110,7 +992,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1110
992
|
schedule();
|
|
1111
993
|
}
|
|
1112
994
|
};
|
|
1113
|
-
var fireConnectedCallback = (instance
|
|
995
|
+
var fireConnectedCallback = (instance) => {
|
|
1114
996
|
};
|
|
1115
997
|
|
|
1116
998
|
// src/runtime/connected-callback.ts
|
|
@@ -1150,7 +1032,7 @@ var connectedCallback = (elm) => {
|
|
|
1150
1032
|
endConnected();
|
|
1151
1033
|
}
|
|
1152
1034
|
};
|
|
1153
|
-
var disconnectInstance = (instance
|
|
1035
|
+
var disconnectInstance = (instance) => {
|
|
1154
1036
|
};
|
|
1155
1037
|
var disconnectedCallback = async (elm) => {
|
|
1156
1038
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1159,12 +1041,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1159
1041
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1160
1042
|
}
|
|
1161
1043
|
}
|
|
1162
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1163
|
-
rootAppliedStyles.delete(elm);
|
|
1164
|
-
}
|
|
1165
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1166
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1167
|
-
}
|
|
1168
1044
|
};
|
|
1169
1045
|
|
|
1170
1046
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1241,17 +1117,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1241
1117
|
}
|
|
1242
1118
|
disconnectedCallback() {
|
|
1243
1119
|
plt.jmp(() => disconnectedCallback(this));
|
|
1244
|
-
plt.raf(() => {
|
|
1245
|
-
var _a3;
|
|
1246
|
-
const hostRef = getHostRef(this);
|
|
1247
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1248
|
-
if (i2 > -1) {
|
|
1249
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1250
|
-
}
|
|
1251
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1252
|
-
delete hostRef.$vnode$.$elm$;
|
|
1253
|
-
}
|
|
1254
|
-
});
|
|
1255
1120
|
}
|
|
1256
1121
|
componentOnReady() {
|
|
1257
1122
|
return getHostRef(this).$onReadyPromise$;
|