@lwc/ssr-runtime 8.2.0 → 8.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +286 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +261 -21
- package/dist/index.js.map +1 -1
- package/dist/lightning-element.d.ts +2 -3
- package/dist/mutation-tracker.d.ts +5 -2
- package/dist/stubs.d.ts +78 -0
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
@@ -106,6 +106,13 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
106
106
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
107
107
|
}
|
108
108
|
|
109
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
110
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
111
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
112
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
113
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
114
|
+
}
|
115
|
+
|
109
116
|
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
110
117
|
var e = new Error(message);
|
111
118
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
@@ -117,20 +124,30 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
117
124
|
* SPDX-License-Identifier: MIT
|
118
125
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
119
126
|
*/
|
127
|
+
var _MutationTracker_enabledSet, _MutationTracker_mutationMap;
|
120
128
|
class MutationTracker {
|
121
129
|
constructor() {
|
122
|
-
this
|
130
|
+
_MutationTracker_enabledSet.set(this, new WeakSet());
|
131
|
+
_MutationTracker_mutationMap.set(this, new WeakMap());
|
123
132
|
}
|
124
133
|
add(instance, attrName) {
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
134
|
+
if (__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").has(instance)) {
|
135
|
+
let mutatedAttrs = __classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").get(instance);
|
136
|
+
if (!mutatedAttrs) {
|
137
|
+
mutatedAttrs = new Set();
|
138
|
+
__classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").set(instance, mutatedAttrs);
|
139
|
+
}
|
140
|
+
mutatedAttrs.add(attrName.toLowerCase());
|
129
141
|
}
|
130
|
-
|
142
|
+
}
|
143
|
+
enable(instance) {
|
144
|
+
__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").add(instance);
|
145
|
+
}
|
146
|
+
disable(instance) {
|
147
|
+
__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").delete(instance);
|
131
148
|
}
|
132
149
|
renderMutatedAttrs(instance) {
|
133
|
-
const mutatedAttrs = this.
|
150
|
+
const mutatedAttrs = __classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").get(instance);
|
134
151
|
if (mutatedAttrs) {
|
135
152
|
return ` data-lwc-host-mutated="${[...mutatedAttrs].sort().join(' ')}"`;
|
136
153
|
}
|
@@ -139,6 +156,7 @@ class MutationTracker {
|
|
139
156
|
}
|
140
157
|
}
|
141
158
|
}
|
159
|
+
_MutationTracker_enabledSet = new WeakMap(), _MutationTracker_mutationMap = new WeakMap();
|
142
160
|
const mutationTracker = new MutationTracker();
|
143
161
|
|
144
162
|
/*
|
@@ -147,19 +165,20 @@ const mutationTracker = new MutationTracker();
|
|
147
165
|
* SPDX-License-Identifier: MIT
|
148
166
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
149
167
|
*/
|
150
|
-
var _LightningElement_instances, _LightningElement_setAttribute;
|
168
|
+
var _LightningElement_instances, _LightningElement_attrs, _LightningElement_classList, _LightningElement_setAttribute;
|
169
|
+
const SYMBOL__SET_INTERNALS = Symbol('set-internals');
|
151
170
|
class LightningElement {
|
152
171
|
constructor(propsAvailableAtConstruction) {
|
153
172
|
_LightningElement_instances.add(this);
|
154
173
|
this.isConnected = false;
|
155
174
|
this.className = '';
|
156
|
-
this
|
175
|
+
_LightningElement_attrs.set(this, void 0);
|
176
|
+
_LightningElement_classList.set(this, null);
|
157
177
|
Object.assign(this, propsAvailableAtConstruction);
|
158
178
|
}
|
159
|
-
|
160
|
-
__internal__setState(props, reflectedProps, attrs) {
|
179
|
+
[(_LightningElement_attrs = new WeakMap(), _LightningElement_classList = new WeakMap(), _LightningElement_instances = new WeakSet(), SYMBOL__SET_INTERNALS)](props, reflectedProps, attrs) {
|
161
180
|
Object.assign(this, props);
|
162
|
-
this
|
181
|
+
__classPrivateFieldSet(this, _LightningElement_attrs, attrs, "f");
|
163
182
|
// Whenever a reflected prop changes, we'll update the original props object
|
164
183
|
// that was passed in. That'll be referenced when the attrs are rendered later.
|
165
184
|
for (const reflectedPropName of reflectedProps) {
|
@@ -186,22 +205,22 @@ class LightningElement {
|
|
186
205
|
});
|
187
206
|
}
|
188
207
|
get classList() {
|
189
|
-
if (this
|
190
|
-
return this
|
208
|
+
if (__classPrivateFieldGet(this, _LightningElement_classList, "f")) {
|
209
|
+
return __classPrivateFieldGet(this, _LightningElement_classList, "f");
|
191
210
|
}
|
192
|
-
return (this
|
211
|
+
return (__classPrivateFieldSet(this, _LightningElement_classList, new ClassList(this), "f"));
|
193
212
|
}
|
194
213
|
setAttribute(attrName, attrValue) {
|
195
214
|
__classPrivateFieldGet(this, _LightningElement_instances, "m", _LightningElement_setAttribute).call(this, attrName, String(attrValue));
|
196
215
|
}
|
197
216
|
getAttribute(attrName) {
|
198
217
|
if (this.hasAttribute(attrName)) {
|
199
|
-
return this
|
218
|
+
return __classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName];
|
200
219
|
}
|
201
220
|
return null;
|
202
221
|
}
|
203
222
|
hasAttribute(attrName) {
|
204
|
-
return typeof attrName === 'string' && typeof this
|
223
|
+
return typeof attrName === 'string' && typeof __classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName] === 'string';
|
205
224
|
}
|
206
225
|
removeAttribute(attrName) {
|
207
226
|
if (this.hasAttribute(attrName)) {
|
@@ -290,8 +309,8 @@ class LightningElement {
|
|
290
309
|
throw new Error('Method "setAttributeNS" not implemented.');
|
291
310
|
}
|
292
311
|
}
|
293
|
-
|
294
|
-
this
|
312
|
+
_LightningElement_setAttribute = function _LightningElement_setAttribute(attrName, attrValue) {
|
313
|
+
__classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName] = attrValue;
|
295
314
|
mutationTracker.add(this, attrName);
|
296
315
|
};
|
297
316
|
|
@@ -330,6 +349,227 @@ async function serverSideRenderComponent(tagName, compiledGenerateMarkup, props)
|
|
330
349
|
return markup;
|
331
350
|
}
|
332
351
|
|
352
|
+
/*
|
353
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
354
|
+
* All rights reserved.
|
355
|
+
* SPDX-License-Identifier: MIT
|
356
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
357
|
+
*/
|
358
|
+
// Stubs for all the un-implemented exports from @lwc/engine-server
|
359
|
+
function api(..._) {
|
360
|
+
throw new Error('@api cannot be used in SSR context.');
|
361
|
+
}
|
362
|
+
function createContextProvider(..._) {
|
363
|
+
throw new Error('createContextProvider cannot be used in SSR context.');
|
364
|
+
}
|
365
|
+
function createElement(..._) {
|
366
|
+
throw new Error('createElement cannot be used in SSR context.');
|
367
|
+
}
|
368
|
+
function freezeTemplate(..._) {
|
369
|
+
throw new Error('freezeTemplate cannot be used in SSR context.');
|
370
|
+
}
|
371
|
+
function getComponentDef(..._) {
|
372
|
+
throw new Error('getComponentDef cannot be used in SSR context.');
|
373
|
+
}
|
374
|
+
function isComponentConstructor(..._) {
|
375
|
+
throw new Error('isComponentConstructor cannot be used in SSR context.');
|
376
|
+
}
|
377
|
+
function parseFragment(..._) {
|
378
|
+
throw new Error('parseFragment cannot be used in SSR context.');
|
379
|
+
}
|
380
|
+
function parseSVGFragment(..._) {
|
381
|
+
throw new Error('parseSVGFragment cannot be used in SSR context.');
|
382
|
+
}
|
383
|
+
function readonly(..._) {
|
384
|
+
throw new Error('readonly cannot be used in SSR context.');
|
385
|
+
}
|
386
|
+
function registerComponent(..._) {
|
387
|
+
throw new Error('registerComponent cannot be used in SSR context.');
|
388
|
+
}
|
389
|
+
function registerDecorators(..._) {
|
390
|
+
throw new Error('registerDecorators cannot be used in SSR context.');
|
391
|
+
}
|
392
|
+
function registerTemplate(..._) {
|
393
|
+
throw new Error('registerTemplate cannot be used in SSR context.');
|
394
|
+
}
|
395
|
+
function sanitizeAttribute(..._) {
|
396
|
+
throw new Error('sanitizeAttribute cannot be used in SSR context.');
|
397
|
+
}
|
398
|
+
function setFeatureFlag(..._) {
|
399
|
+
throw new Error('setFeatureFlag cannot be used in SSR context.');
|
400
|
+
}
|
401
|
+
function setFeatureFlagForTest(..._) {
|
402
|
+
throw new Error('setFeatureFlagForTest cannot be used in SSR context.');
|
403
|
+
}
|
404
|
+
function setHooks(..._) {
|
405
|
+
throw new Error('setHooks cannot be used in SSR context.');
|
406
|
+
}
|
407
|
+
function swapComponent(..._) {
|
408
|
+
throw new Error('swapComponent cannot be used in SSR context.');
|
409
|
+
}
|
410
|
+
function swapStyle(..._) {
|
411
|
+
throw new Error('swapStyle cannot be used in SSR context.');
|
412
|
+
}
|
413
|
+
function swapTemplate(..._) {
|
414
|
+
throw new Error('swapTemplate cannot be used in SSR context.');
|
415
|
+
}
|
416
|
+
function track(..._) {
|
417
|
+
throw new Error('@track cannot be used in SSR context.');
|
418
|
+
}
|
419
|
+
function unwrap(..._) {
|
420
|
+
throw new Error('unwrap cannot be used in SSR context.');
|
421
|
+
}
|
422
|
+
function wire(..._) {
|
423
|
+
throw new Error('@wire cannot be used in SSR context.');
|
424
|
+
}
|
425
|
+
const renderer = {
|
426
|
+
isSyntheticShadowDefined: false,
|
427
|
+
insert(..._) {
|
428
|
+
throw new Error('renderer.insert cannot be used in SSR context.');
|
429
|
+
},
|
430
|
+
remove(..._) {
|
431
|
+
throw new Error('renderer.remove cannot be used in SSR context.');
|
432
|
+
},
|
433
|
+
cloneNode(..._) {
|
434
|
+
throw new Error('renderer.cloneNode cannot be used in SSR context.');
|
435
|
+
},
|
436
|
+
createFragment(..._) {
|
437
|
+
throw new Error('renderer.createFragment cannot be used in SSR context.');
|
438
|
+
},
|
439
|
+
createElement(..._) {
|
440
|
+
throw new Error('renderer.createElement cannot be used in SSR context.');
|
441
|
+
},
|
442
|
+
createText(..._) {
|
443
|
+
throw new Error('renderer.createText cannot be used in SSR context.');
|
444
|
+
},
|
445
|
+
createComment(..._) {
|
446
|
+
throw new Error('renderer.createComment cannot be used in SSR context.');
|
447
|
+
},
|
448
|
+
createCustomElement(..._) {
|
449
|
+
throw new Error('renderer.createCustomElement cannot be used in SSR context.');
|
450
|
+
},
|
451
|
+
nextSibling(..._) {
|
452
|
+
throw new Error('renderer.nextSibling cannot be used in SSR context.');
|
453
|
+
},
|
454
|
+
previousSibling(..._) {
|
455
|
+
throw new Error('renderer.previousSibling cannot be used in SSR context.');
|
456
|
+
},
|
457
|
+
attachShadow(..._) {
|
458
|
+
throw new Error('renderer.attachShadow cannot be used in SSR context.');
|
459
|
+
},
|
460
|
+
getProperty(..._) {
|
461
|
+
throw new Error('renderer.getProperty cannot be used in SSR context.');
|
462
|
+
},
|
463
|
+
setProperty(..._) {
|
464
|
+
throw new Error('renderer.setProperty cannot be used in SSR context.');
|
465
|
+
},
|
466
|
+
setText(..._) {
|
467
|
+
throw new Error('renderer.setText cannot be used in SSR context.');
|
468
|
+
},
|
469
|
+
getAttribute(..._) {
|
470
|
+
throw new Error('renderer.getAttribute cannot be used in SSR context.');
|
471
|
+
},
|
472
|
+
setAttribute(..._) {
|
473
|
+
throw new Error('renderer.setAttribute cannot be used in SSR context.');
|
474
|
+
},
|
475
|
+
removeAttribute(..._) {
|
476
|
+
throw new Error('renderer.removeAttribute cannot be used in SSR context.');
|
477
|
+
},
|
478
|
+
addEventListener(..._) {
|
479
|
+
throw new Error('renderer.addEventListener cannot be used in SSR context.');
|
480
|
+
},
|
481
|
+
removeEventListener(..._) {
|
482
|
+
throw new Error('renderer.removeEventListener cannot be used in SSR context.');
|
483
|
+
},
|
484
|
+
dispatchEvent(..._) {
|
485
|
+
throw new Error('renderer.dispatchEvent cannot be used in SSR context.');
|
486
|
+
},
|
487
|
+
getClassList(..._) {
|
488
|
+
throw new Error('renderer.getClassList cannot be used in SSR context.');
|
489
|
+
},
|
490
|
+
setCSSStyleProperty(..._) {
|
491
|
+
throw new Error('renderer.setCSSStyleProperty cannot be used in SSR context.');
|
492
|
+
},
|
493
|
+
getBoundingClientRect(..._) {
|
494
|
+
throw new Error('renderer.getBoundingClientRect cannot be used in SSR context.');
|
495
|
+
},
|
496
|
+
querySelector(..._) {
|
497
|
+
throw new Error('renderer.querySelector cannot be used in SSR context.');
|
498
|
+
},
|
499
|
+
querySelectorAll(..._) {
|
500
|
+
throw new Error('renderer.querySelectorAll cannot be used in SSR context.');
|
501
|
+
},
|
502
|
+
getElementsByTagName(..._) {
|
503
|
+
throw new Error('renderer.getElementsByTagName cannot be used in SSR context.');
|
504
|
+
},
|
505
|
+
getElementsByClassName(..._) {
|
506
|
+
throw new Error('renderer.getElementsByClassName cannot be used in SSR context.');
|
507
|
+
},
|
508
|
+
getChildren(..._) {
|
509
|
+
throw new Error('renderer.getChildren cannot be used in SSR context.');
|
510
|
+
},
|
511
|
+
getChildNodes(..._) {
|
512
|
+
throw new Error('renderer.getChildNodes cannot be used in SSR context.');
|
513
|
+
},
|
514
|
+
getFirstChild(..._) {
|
515
|
+
throw new Error('renderer.getFirstChild cannot be used in SSR context.');
|
516
|
+
},
|
517
|
+
getFirstElementChild(..._) {
|
518
|
+
throw new Error('renderer.getFirstElementChild cannot be used in SSR context.');
|
519
|
+
},
|
520
|
+
getLastChild(..._) {
|
521
|
+
throw new Error('renderer.getLastChild cannot be used in SSR context.');
|
522
|
+
},
|
523
|
+
getLastElementChild(..._) {
|
524
|
+
throw new Error('renderer.getLastElementChild cannot be used in SSR context.');
|
525
|
+
},
|
526
|
+
getTagName(..._) {
|
527
|
+
throw new Error('renderer.getTagName cannot be used in SSR context.');
|
528
|
+
},
|
529
|
+
getStyle(..._) {
|
530
|
+
throw new Error('renderer.getStyle cannot be used in SSR context.');
|
531
|
+
},
|
532
|
+
isConnected(..._) {
|
533
|
+
throw new Error('renderer.isConnected cannot be used in SSR context.');
|
534
|
+
},
|
535
|
+
insertStylesheet(..._) {
|
536
|
+
throw new Error('renderer.insertStylesheet cannot be used in SSR context.');
|
537
|
+
},
|
538
|
+
assertInstanceOfHTMLElement(..._) {
|
539
|
+
throw new Error('renderer.assertInstanceOfHTMLElement cannot be used in SSR context.');
|
540
|
+
},
|
541
|
+
ownerDocument(..._) {
|
542
|
+
throw new Error('renderer.ownerDocument cannot be used in SSR context.');
|
543
|
+
},
|
544
|
+
registerContextConsumer(..._) {
|
545
|
+
throw new Error('renderer.registerContextConsumer cannot be used in SSR context.');
|
546
|
+
},
|
547
|
+
attachInternals(..._) {
|
548
|
+
throw new Error('renderer.attachInternals cannot be used in SSR context.');
|
549
|
+
},
|
550
|
+
defineCustomElement(..._) {
|
551
|
+
throw new Error('renderer.defineCustomElement cannot be used in SSR context.');
|
552
|
+
},
|
553
|
+
getParentNode(..._) {
|
554
|
+
throw new Error('renderer.getParentNode cannot be used in SSR context.');
|
555
|
+
},
|
556
|
+
startTrackingMutations(..._) {
|
557
|
+
throw new Error('renderer.startTrackingMutations cannot be used in SSR context.');
|
558
|
+
},
|
559
|
+
stopTrackingMutations(..._) {
|
560
|
+
throw new Error('renderer.stopTrackingMutations cannot be used in SSR context.');
|
561
|
+
},
|
562
|
+
};
|
563
|
+
/**
|
564
|
+
* The hot API is used to orchestrate hot swapping in client rendered components.
|
565
|
+
* It doesn't do anything on the server side, however, you may import it.
|
566
|
+
*
|
567
|
+
* The whole point of defining this and exporting it is so that you can import it in isomorphic code without
|
568
|
+
* an error being thrown by the import itself.
|
569
|
+
*/
|
570
|
+
// A real stub, not a "not implemented" one! 😯
|
571
|
+
const hot = undefined;
|
572
|
+
|
333
573
|
/*
|
334
574
|
* Copyright (c) 2024, salesforce.com, inc.
|
335
575
|
* All rights reserved.
|
@@ -417,12 +657,37 @@ function validateStyleTextContents(contents) {
|
|
417
657
|
|
418
658
|
exports.ClassList = ClassList;
|
419
659
|
exports.LightningElement = LightningElement;
|
420
|
-
exports.
|
660
|
+
exports.SYMBOL__SET_INTERNALS = SYMBOL__SET_INTERNALS;
|
661
|
+
exports.api = api;
|
662
|
+
exports.createContextProvider = createContextProvider;
|
663
|
+
exports.createElement = createElement;
|
421
664
|
exports.fallbackTmpl = fallbackTmpl;
|
665
|
+
exports.freezeTemplate = freezeTemplate;
|
666
|
+
exports.getComponentDef = getComponentDef;
|
667
|
+
exports.hot = hot;
|
668
|
+
exports.isComponentConstructor = isComponentConstructor;
|
669
|
+
exports.mutationTracker = mutationTracker;
|
670
|
+
exports.parseFragment = parseFragment;
|
671
|
+
exports.parseSVGFragment = parseSVGFragment;
|
672
|
+
exports.readonly = readonly;
|
673
|
+
exports.registerComponent = registerComponent;
|
674
|
+
exports.registerDecorators = registerDecorators;
|
675
|
+
exports.registerTemplate = registerTemplate;
|
422
676
|
exports.renderAttrs = renderAttrs;
|
423
677
|
exports.renderComponent = serverSideRenderComponent;
|
678
|
+
exports.renderer = renderer;
|
679
|
+
exports.sanitizeAttribute = sanitizeAttribute;
|
424
680
|
exports.serverSideRenderComponent = serverSideRenderComponent;
|
681
|
+
exports.setFeatureFlag = setFeatureFlag;
|
682
|
+
exports.setFeatureFlagForTest = setFeatureFlagForTest;
|
683
|
+
exports.setHooks = setHooks;
|
684
|
+
exports.swapComponent = swapComponent;
|
685
|
+
exports.swapStyle = swapStyle;
|
686
|
+
exports.swapTemplate = swapTemplate;
|
425
687
|
exports.toIteratorDirective = toIteratorDirective;
|
688
|
+
exports.track = track;
|
689
|
+
exports.unwrap = unwrap;
|
426
690
|
exports.validateStyleTextContents = validateStyleTextContents;
|
427
|
-
|
691
|
+
exports.wire = wire;
|
692
|
+
/** version: 8.3.0 */
|
428
693
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.cjs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../src/class-list.ts","../../../../node_modules/tslib/tslib.es6.js","../src/mutation-tracker.ts","../src/lightning-element.ts","../src/render.ts","../src/to-iterator-directive.ts","../src/validate-style-text-contents.ts"],"sourcesContent":[null,"/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n",null,null,null,null,null],"names":["htmlPropertyToAttribute"],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AAIH,MAAM,WAAW,GAAG,MAAM,CAAC;MAqBd,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAY,EAAoB,EAAA;AAC5B,QAAA,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KAChB;IAED,GAAG,CAAC,GAAG,aAAuB,EAAA;AAC1B,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC;AACpC,QAAA,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC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C3B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC;AAEzC,IAAA,OAAO,IAAI,KAAK,KAAK,EAAE;;AAEnB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;AACvB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,KAAK,CAAC;QAE1B,MAAM;YACF,KAAK;YACL,KAAK;YACL,KAAK,EAAE,KAAK,KAAK,CAAC;YAClB,IAAI;SACP,CAAC;QAEF,KAAK,IAAI,CAAC,CAAC;AACX,QAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;KACtB;AACL;;AC5CA;;;;;AAKG;AAEH;;;;;;;;;;;;;;AAcG;AACH,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;AAmBG;AACG,SAAU,yBAAyB,CAAC,QAAgB,EAAA;AACtD,IAAA,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACtC,QAAA,MAAM,IAAI,KAAK,CACX,gFAAgF,CACnF,CAAC;KACL;AACL;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../src/class-list.ts","../../../../node_modules/tslib/tslib.es6.js","../src/mutation-tracker.ts","../src/lightning-element.ts","../src/render.ts","../src/stubs.ts","../src/to-iterator-directive.ts","../src/validate-style-text-contents.ts"],"sourcesContent":[null,"/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n",null,null,null,null,null,null],"names":["htmlPropertyToAttribute"],"mappings":";;;;;;;;;AAAA;;;;;AAKG;AAIH,MAAM,WAAW,GAAG,MAAM,CAAC;MAqBd,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAY,EAAoB,EAAA;AAC5B,QAAA,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KAChB;IAED,GAAG,CAAC,GAAG,aAAuB,EAAA;AAC1B,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC;AACpC,QAAA,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAClE,QAAA,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE;AACtC,YAAA,GAAG,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;SACzB;AACD,QAAA,IAAI,CAAC,EAAE,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E,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC;AAEzC,IAAA,OAAO,IAAI,KAAK,KAAK,EAAE;;AAEnB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;AACvB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,KAAK,CAAC;QAE1B,MAAM;YACF,KAAK;YACL,KAAK;YACL,KAAK,EAAE,KAAK,KAAK,CAAC;YAClB,IAAI;SACP,CAAC;QAEF,KAAK,IAAI,CAAC,CAAC;AACX,QAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;KACtB;AACL;;AC5CA;;;;;AAKG;AAEH;;;;;;;;;;;;;;AAcG;AACH,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;AAmBG;AACG,SAAU,yBAAyB,CAAC,QAAgB,EAAA;AACtD,IAAA,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACtC,QAAA,MAAM,IAAI,KAAK,CACX,gFAAgF,CACnF,CAAC;KACL;AACL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
export { ClassList } from './class-list';
|
2
|
-
export { LightningElement, LightningElementConstructor } from './lightning-element';
|
3
|
-
export {
|
2
|
+
export { LightningElement, LightningElementConstructor, SYMBOL__SET_INTERNALS, } from './lightning-element';
|
3
|
+
export { mutationTracker } from './mutation-tracker';
|
4
4
|
export { fallbackTmpl, GenerateMarkupFn, renderAttrs, serverSideRenderComponent, serverSideRenderComponent as renderComponent, } from './render';
|
5
|
+
export * from './stubs';
|
5
6
|
export { toIteratorDirective } from './to-iterator-directive';
|
6
7
|
export { validateStyleTextContents } from './validate-style-text-contents';
|
package/dist/index.js
CHANGED
@@ -102,6 +102,13 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
102
102
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
103
103
|
}
|
104
104
|
|
105
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
106
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
107
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
108
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
109
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
110
|
+
}
|
111
|
+
|
105
112
|
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
106
113
|
var e = new Error(message);
|
107
114
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
@@ -113,20 +120,30 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
113
120
|
* SPDX-License-Identifier: MIT
|
114
121
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
115
122
|
*/
|
123
|
+
var _MutationTracker_enabledSet, _MutationTracker_mutationMap;
|
116
124
|
class MutationTracker {
|
117
125
|
constructor() {
|
118
|
-
this
|
126
|
+
_MutationTracker_enabledSet.set(this, new WeakSet());
|
127
|
+
_MutationTracker_mutationMap.set(this, new WeakMap());
|
119
128
|
}
|
120
129
|
add(instance, attrName) {
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
130
|
+
if (__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").has(instance)) {
|
131
|
+
let mutatedAttrs = __classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").get(instance);
|
132
|
+
if (!mutatedAttrs) {
|
133
|
+
mutatedAttrs = new Set();
|
134
|
+
__classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").set(instance, mutatedAttrs);
|
135
|
+
}
|
136
|
+
mutatedAttrs.add(attrName.toLowerCase());
|
125
137
|
}
|
126
|
-
|
138
|
+
}
|
139
|
+
enable(instance) {
|
140
|
+
__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").add(instance);
|
141
|
+
}
|
142
|
+
disable(instance) {
|
143
|
+
__classPrivateFieldGet(this, _MutationTracker_enabledSet, "f").delete(instance);
|
127
144
|
}
|
128
145
|
renderMutatedAttrs(instance) {
|
129
|
-
const mutatedAttrs = this.
|
146
|
+
const mutatedAttrs = __classPrivateFieldGet(this, _MutationTracker_mutationMap, "f").get(instance);
|
130
147
|
if (mutatedAttrs) {
|
131
148
|
return ` data-lwc-host-mutated="${[...mutatedAttrs].sort().join(' ')}"`;
|
132
149
|
}
|
@@ -135,6 +152,7 @@ class MutationTracker {
|
|
135
152
|
}
|
136
153
|
}
|
137
154
|
}
|
155
|
+
_MutationTracker_enabledSet = new WeakMap(), _MutationTracker_mutationMap = new WeakMap();
|
138
156
|
const mutationTracker = new MutationTracker();
|
139
157
|
|
140
158
|
/*
|
@@ -143,19 +161,20 @@ const mutationTracker = new MutationTracker();
|
|
143
161
|
* SPDX-License-Identifier: MIT
|
144
162
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
145
163
|
*/
|
146
|
-
var _LightningElement_instances, _LightningElement_setAttribute;
|
164
|
+
var _LightningElement_instances, _LightningElement_attrs, _LightningElement_classList, _LightningElement_setAttribute;
|
165
|
+
const SYMBOL__SET_INTERNALS = Symbol('set-internals');
|
147
166
|
class LightningElement {
|
148
167
|
constructor(propsAvailableAtConstruction) {
|
149
168
|
_LightningElement_instances.add(this);
|
150
169
|
this.isConnected = false;
|
151
170
|
this.className = '';
|
152
|
-
this
|
171
|
+
_LightningElement_attrs.set(this, void 0);
|
172
|
+
_LightningElement_classList.set(this, null);
|
153
173
|
Object.assign(this, propsAvailableAtConstruction);
|
154
174
|
}
|
155
|
-
|
156
|
-
__internal__setState(props, reflectedProps, attrs) {
|
175
|
+
[(_LightningElement_attrs = new WeakMap(), _LightningElement_classList = new WeakMap(), _LightningElement_instances = new WeakSet(), SYMBOL__SET_INTERNALS)](props, reflectedProps, attrs) {
|
157
176
|
Object.assign(this, props);
|
158
|
-
this
|
177
|
+
__classPrivateFieldSet(this, _LightningElement_attrs, attrs, "f");
|
159
178
|
// Whenever a reflected prop changes, we'll update the original props object
|
160
179
|
// that was passed in. That'll be referenced when the attrs are rendered later.
|
161
180
|
for (const reflectedPropName of reflectedProps) {
|
@@ -182,22 +201,22 @@ class LightningElement {
|
|
182
201
|
});
|
183
202
|
}
|
184
203
|
get classList() {
|
185
|
-
if (this
|
186
|
-
return this
|
204
|
+
if (__classPrivateFieldGet(this, _LightningElement_classList, "f")) {
|
205
|
+
return __classPrivateFieldGet(this, _LightningElement_classList, "f");
|
187
206
|
}
|
188
|
-
return (this
|
207
|
+
return (__classPrivateFieldSet(this, _LightningElement_classList, new ClassList(this), "f"));
|
189
208
|
}
|
190
209
|
setAttribute(attrName, attrValue) {
|
191
210
|
__classPrivateFieldGet(this, _LightningElement_instances, "m", _LightningElement_setAttribute).call(this, attrName, String(attrValue));
|
192
211
|
}
|
193
212
|
getAttribute(attrName) {
|
194
213
|
if (this.hasAttribute(attrName)) {
|
195
|
-
return this
|
214
|
+
return __classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName];
|
196
215
|
}
|
197
216
|
return null;
|
198
217
|
}
|
199
218
|
hasAttribute(attrName) {
|
200
|
-
return typeof attrName === 'string' && typeof this
|
219
|
+
return typeof attrName === 'string' && typeof __classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName] === 'string';
|
201
220
|
}
|
202
221
|
removeAttribute(attrName) {
|
203
222
|
if (this.hasAttribute(attrName)) {
|
@@ -286,8 +305,8 @@ class LightningElement {
|
|
286
305
|
throw new Error('Method "setAttributeNS" not implemented.');
|
287
306
|
}
|
288
307
|
}
|
289
|
-
|
290
|
-
this
|
308
|
+
_LightningElement_setAttribute = function _LightningElement_setAttribute(attrName, attrValue) {
|
309
|
+
__classPrivateFieldGet(this, _LightningElement_attrs, "f")[attrName] = attrValue;
|
291
310
|
mutationTracker.add(this, attrName);
|
292
311
|
};
|
293
312
|
|
@@ -326,6 +345,227 @@ async function serverSideRenderComponent(tagName, compiledGenerateMarkup, props)
|
|
326
345
|
return markup;
|
327
346
|
}
|
328
347
|
|
348
|
+
/*
|
349
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
350
|
+
* All rights reserved.
|
351
|
+
* SPDX-License-Identifier: MIT
|
352
|
+
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
353
|
+
*/
|
354
|
+
// Stubs for all the un-implemented exports from @lwc/engine-server
|
355
|
+
function api(..._) {
|
356
|
+
throw new Error('@api cannot be used in SSR context.');
|
357
|
+
}
|
358
|
+
function createContextProvider(..._) {
|
359
|
+
throw new Error('createContextProvider cannot be used in SSR context.');
|
360
|
+
}
|
361
|
+
function createElement(..._) {
|
362
|
+
throw new Error('createElement cannot be used in SSR context.');
|
363
|
+
}
|
364
|
+
function freezeTemplate(..._) {
|
365
|
+
throw new Error('freezeTemplate cannot be used in SSR context.');
|
366
|
+
}
|
367
|
+
function getComponentDef(..._) {
|
368
|
+
throw new Error('getComponentDef cannot be used in SSR context.');
|
369
|
+
}
|
370
|
+
function isComponentConstructor(..._) {
|
371
|
+
throw new Error('isComponentConstructor cannot be used in SSR context.');
|
372
|
+
}
|
373
|
+
function parseFragment(..._) {
|
374
|
+
throw new Error('parseFragment cannot be used in SSR context.');
|
375
|
+
}
|
376
|
+
function parseSVGFragment(..._) {
|
377
|
+
throw new Error('parseSVGFragment cannot be used in SSR context.');
|
378
|
+
}
|
379
|
+
function readonly(..._) {
|
380
|
+
throw new Error('readonly cannot be used in SSR context.');
|
381
|
+
}
|
382
|
+
function registerComponent(..._) {
|
383
|
+
throw new Error('registerComponent cannot be used in SSR context.');
|
384
|
+
}
|
385
|
+
function registerDecorators(..._) {
|
386
|
+
throw new Error('registerDecorators cannot be used in SSR context.');
|
387
|
+
}
|
388
|
+
function registerTemplate(..._) {
|
389
|
+
throw new Error('registerTemplate cannot be used in SSR context.');
|
390
|
+
}
|
391
|
+
function sanitizeAttribute(..._) {
|
392
|
+
throw new Error('sanitizeAttribute cannot be used in SSR context.');
|
393
|
+
}
|
394
|
+
function setFeatureFlag(..._) {
|
395
|
+
throw new Error('setFeatureFlag cannot be used in SSR context.');
|
396
|
+
}
|
397
|
+
function setFeatureFlagForTest(..._) {
|
398
|
+
throw new Error('setFeatureFlagForTest cannot be used in SSR context.');
|
399
|
+
}
|
400
|
+
function setHooks(..._) {
|
401
|
+
throw new Error('setHooks cannot be used in SSR context.');
|
402
|
+
}
|
403
|
+
function swapComponent(..._) {
|
404
|
+
throw new Error('swapComponent cannot be used in SSR context.');
|
405
|
+
}
|
406
|
+
function swapStyle(..._) {
|
407
|
+
throw new Error('swapStyle cannot be used in SSR context.');
|
408
|
+
}
|
409
|
+
function swapTemplate(..._) {
|
410
|
+
throw new Error('swapTemplate cannot be used in SSR context.');
|
411
|
+
}
|
412
|
+
function track(..._) {
|
413
|
+
throw new Error('@track cannot be used in SSR context.');
|
414
|
+
}
|
415
|
+
function unwrap(..._) {
|
416
|
+
throw new Error('unwrap cannot be used in SSR context.');
|
417
|
+
}
|
418
|
+
function wire(..._) {
|
419
|
+
throw new Error('@wire cannot be used in SSR context.');
|
420
|
+
}
|
421
|
+
const renderer = {
|
422
|
+
isSyntheticShadowDefined: false,
|
423
|
+
insert(..._) {
|
424
|
+
throw new Error('renderer.insert cannot be used in SSR context.');
|
425
|
+
},
|
426
|
+
remove(..._) {
|
427
|
+
throw new Error('renderer.remove cannot be used in SSR context.');
|
428
|
+
},
|
429
|
+
cloneNode(..._) {
|
430
|
+
throw new Error('renderer.cloneNode cannot be used in SSR context.');
|
431
|
+
},
|
432
|
+
createFragment(..._) {
|
433
|
+
throw new Error('renderer.createFragment cannot be used in SSR context.');
|
434
|
+
},
|
435
|
+
createElement(..._) {
|
436
|
+
throw new Error('renderer.createElement cannot be used in SSR context.');
|
437
|
+
},
|
438
|
+
createText(..._) {
|
439
|
+
throw new Error('renderer.createText cannot be used in SSR context.');
|
440
|
+
},
|
441
|
+
createComment(..._) {
|
442
|
+
throw new Error('renderer.createComment cannot be used in SSR context.');
|
443
|
+
},
|
444
|
+
createCustomElement(..._) {
|
445
|
+
throw new Error('renderer.createCustomElement cannot be used in SSR context.');
|
446
|
+
},
|
447
|
+
nextSibling(..._) {
|
448
|
+
throw new Error('renderer.nextSibling cannot be used in SSR context.');
|
449
|
+
},
|
450
|
+
previousSibling(..._) {
|
451
|
+
throw new Error('renderer.previousSibling cannot be used in SSR context.');
|
452
|
+
},
|
453
|
+
attachShadow(..._) {
|
454
|
+
throw new Error('renderer.attachShadow cannot be used in SSR context.');
|
455
|
+
},
|
456
|
+
getProperty(..._) {
|
457
|
+
throw new Error('renderer.getProperty cannot be used in SSR context.');
|
458
|
+
},
|
459
|
+
setProperty(..._) {
|
460
|
+
throw new Error('renderer.setProperty cannot be used in SSR context.');
|
461
|
+
},
|
462
|
+
setText(..._) {
|
463
|
+
throw new Error('renderer.setText cannot be used in SSR context.');
|
464
|
+
},
|
465
|
+
getAttribute(..._) {
|
466
|
+
throw new Error('renderer.getAttribute cannot be used in SSR context.');
|
467
|
+
},
|
468
|
+
setAttribute(..._) {
|
469
|
+
throw new Error('renderer.setAttribute cannot be used in SSR context.');
|
470
|
+
},
|
471
|
+
removeAttribute(..._) {
|
472
|
+
throw new Error('renderer.removeAttribute cannot be used in SSR context.');
|
473
|
+
},
|
474
|
+
addEventListener(..._) {
|
475
|
+
throw new Error('renderer.addEventListener cannot be used in SSR context.');
|
476
|
+
},
|
477
|
+
removeEventListener(..._) {
|
478
|
+
throw new Error('renderer.removeEventListener cannot be used in SSR context.');
|
479
|
+
},
|
480
|
+
dispatchEvent(..._) {
|
481
|
+
throw new Error('renderer.dispatchEvent cannot be used in SSR context.');
|
482
|
+
},
|
483
|
+
getClassList(..._) {
|
484
|
+
throw new Error('renderer.getClassList cannot be used in SSR context.');
|
485
|
+
},
|
486
|
+
setCSSStyleProperty(..._) {
|
487
|
+
throw new Error('renderer.setCSSStyleProperty cannot be used in SSR context.');
|
488
|
+
},
|
489
|
+
getBoundingClientRect(..._) {
|
490
|
+
throw new Error('renderer.getBoundingClientRect cannot be used in SSR context.');
|
491
|
+
},
|
492
|
+
querySelector(..._) {
|
493
|
+
throw new Error('renderer.querySelector cannot be used in SSR context.');
|
494
|
+
},
|
495
|
+
querySelectorAll(..._) {
|
496
|
+
throw new Error('renderer.querySelectorAll cannot be used in SSR context.');
|
497
|
+
},
|
498
|
+
getElementsByTagName(..._) {
|
499
|
+
throw new Error('renderer.getElementsByTagName cannot be used in SSR context.');
|
500
|
+
},
|
501
|
+
getElementsByClassName(..._) {
|
502
|
+
throw new Error('renderer.getElementsByClassName cannot be used in SSR context.');
|
503
|
+
},
|
504
|
+
getChildren(..._) {
|
505
|
+
throw new Error('renderer.getChildren cannot be used in SSR context.');
|
506
|
+
},
|
507
|
+
getChildNodes(..._) {
|
508
|
+
throw new Error('renderer.getChildNodes cannot be used in SSR context.');
|
509
|
+
},
|
510
|
+
getFirstChild(..._) {
|
511
|
+
throw new Error('renderer.getFirstChild cannot be used in SSR context.');
|
512
|
+
},
|
513
|
+
getFirstElementChild(..._) {
|
514
|
+
throw new Error('renderer.getFirstElementChild cannot be used in SSR context.');
|
515
|
+
},
|
516
|
+
getLastChild(..._) {
|
517
|
+
throw new Error('renderer.getLastChild cannot be used in SSR context.');
|
518
|
+
},
|
519
|
+
getLastElementChild(..._) {
|
520
|
+
throw new Error('renderer.getLastElementChild cannot be used in SSR context.');
|
521
|
+
},
|
522
|
+
getTagName(..._) {
|
523
|
+
throw new Error('renderer.getTagName cannot be used in SSR context.');
|
524
|
+
},
|
525
|
+
getStyle(..._) {
|
526
|
+
throw new Error('renderer.getStyle cannot be used in SSR context.');
|
527
|
+
},
|
528
|
+
isConnected(..._) {
|
529
|
+
throw new Error('renderer.isConnected cannot be used in SSR context.');
|
530
|
+
},
|
531
|
+
insertStylesheet(..._) {
|
532
|
+
throw new Error('renderer.insertStylesheet cannot be used in SSR context.');
|
533
|
+
},
|
534
|
+
assertInstanceOfHTMLElement(..._) {
|
535
|
+
throw new Error('renderer.assertInstanceOfHTMLElement cannot be used in SSR context.');
|
536
|
+
},
|
537
|
+
ownerDocument(..._) {
|
538
|
+
throw new Error('renderer.ownerDocument cannot be used in SSR context.');
|
539
|
+
},
|
540
|
+
registerContextConsumer(..._) {
|
541
|
+
throw new Error('renderer.registerContextConsumer cannot be used in SSR context.');
|
542
|
+
},
|
543
|
+
attachInternals(..._) {
|
544
|
+
throw new Error('renderer.attachInternals cannot be used in SSR context.');
|
545
|
+
},
|
546
|
+
defineCustomElement(..._) {
|
547
|
+
throw new Error('renderer.defineCustomElement cannot be used in SSR context.');
|
548
|
+
},
|
549
|
+
getParentNode(..._) {
|
550
|
+
throw new Error('renderer.getParentNode cannot be used in SSR context.');
|
551
|
+
},
|
552
|
+
startTrackingMutations(..._) {
|
553
|
+
throw new Error('renderer.startTrackingMutations cannot be used in SSR context.');
|
554
|
+
},
|
555
|
+
stopTrackingMutations(..._) {
|
556
|
+
throw new Error('renderer.stopTrackingMutations cannot be used in SSR context.');
|
557
|
+
},
|
558
|
+
};
|
559
|
+
/**
|
560
|
+
* The hot API is used to orchestrate hot swapping in client rendered components.
|
561
|
+
* It doesn't do anything on the server side, however, you may import it.
|
562
|
+
*
|
563
|
+
* The whole point of defining this and exporting it is so that you can import it in isomorphic code without
|
564
|
+
* an error being thrown by the import itself.
|
565
|
+
*/
|
566
|
+
// A real stub, not a "not implemented" one! 😯
|
567
|
+
const hot = undefined;
|
568
|
+
|
329
569
|
/*
|
330
570
|
* Copyright (c) 2024, salesforce.com, inc.
|
331
571
|
* All rights reserved.
|
@@ -411,6 +651,6 @@ function validateStyleTextContents(contents) {
|
|
411
651
|
}
|
412
652
|
}
|
413
653
|
|
414
|
-
export { ClassList, LightningElement,
|
415
|
-
/** version: 8.
|
654
|
+
export { ClassList, LightningElement, SYMBOL__SET_INTERNALS, api, createContextProvider, createElement, fallbackTmpl, freezeTemplate, getComponentDef, hot, isComponentConstructor, mutationTracker, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, renderAttrs, serverSideRenderComponent as renderComponent, renderer, sanitizeAttribute, serverSideRenderComponent, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, toIteratorDirective, track, unwrap, validateStyleTextContents, wire };
|
655
|
+
/** version: 8.3.0 */
|
416
656
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/class-list.ts","../../../../node_modules/tslib/tslib.es6.js","../src/mutation-tracker.ts","../src/lightning-element.ts","../src/render.ts","../src/to-iterator-directive.ts","../src/validate-style-text-contents.ts"],"sourcesContent":[null,"/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n};\r\n",null,null,null,null,null],"names":[],"mappings":";;;;;AAAA;;;;;AAKG;AAIH,MAAM,WAAW,GAAG,MAAM,CAAC;MAqBd,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAY,EAAoB,EAAA;AAC5B,QAAA,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KAChB;IAED,GA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3F,CAAC;KACL;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;AAC7C,IAAA,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC;AAEzC,IAAA,OAAO,IAAI,KAAK,KAAK,EAAE;;AAEnB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;AACvB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,KAAK,CAAC;QAE1B,MAAM;YACF,KAAK;YACL,KAAK;YACL,KAAK,EAAE,KAAK,KAAK,CAAC;YAClB,IAAI;SACP,CAAC;QAEF,KAAK,IAAI,CAAC,CAAC;AACX,QAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;KACtB;AACL;;AC5CA;;;;;AAKG;AAEH;;;;;;;;;;;;;;AAcG;AACH,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;AAmBG;AACG,SAAU,yBAAyB,CAAC,QAAgB,EAAA;AACtD,IAAA,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACtC,QAAA,MAAM,IAAI,KAAK,CACX,gFAAgF,CACnF,CAAC;KACL;AACL;;;;;;;","x_google_ignoreList":[1]}
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/class-list.ts","../../../../node_modules/tslib/tslib.es6.js","../src/mutation-tracker.ts","../src/lightning-element.ts","../src/render.ts","../src/stubs.ts","../src/to-iterator-directive.ts","../src/validate-style-text-contents.ts"],"sourcesContent":[null,"/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n 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;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n};\r\n\r\nexport function __runInitializers(thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n};\r\n\r\nexport function __propKey(x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n};\r\n\r\nexport function __setFunctionName(f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n};\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n\r\nexport function __addDisposableResource(env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n\r\n}\r\n\r\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\r\n\r\nexport function __disposeResources(env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n}\r\n\r\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n}\r\n\r\nexport default {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __createBinding: __createBinding,\r\n __exportStar: __exportStar,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n};\r\n",null,null,null,null,null,null],"names":[],"mappings":";;;;;AAAA;;;;;AAKG;AAIH,MAAM,WAAW,GAAG,MAAM,CAAC;MAqBd,SAAS,CAAA;AAGlB,IAAA,WAAA,CAAY,EAAoB,EAAA;AAC5B,QAAA,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KAChB;IAED,GAAG,CAAC,GAAG,aAAuB,EAAA;AAC1B,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC;AACpC,QAAA,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,SAAS,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;AAClE,QAAA,KAAK,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AAA,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;IAC3B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,GAAG,IAAI,CAAC;AAEzC,IAAA,OAAO,IAAI,KAAK,KAAK,EAAE;;AAEnB,QAAA,IAAI,GAAG,QAAQ,CAAC,IAAI,EAAE,CAAC;AACvB,QAAA,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,KAAK,CAAC;QAE1B,MAAM;YACF,KAAK;YACL,KAAK;YACL,KAAK,EAAE,KAAK,KAAK,CAAC;YAClB,IAAI;SACP,CAAC;QAEF,KAAK,IAAI,CAAC,CAAC;AACX,QAAA,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;KACtB;AACL;;AC5CA;;;;;AAKG;AAEH;;;;;;;;;;;;;;AAcG;AACH,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;AAmBG;AACG,SAAU,yBAAyB,CAAC,QAAgB,EAAA;AACtD,IAAA,IAAI,qBAAqB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACtC,QAAA,MAAM,IAAI,KAAK,CACX,gFAAgF,CACnF,CAAC;KACL;AACL;;;;;;;","x_google_ignoreList":[1]}
|
@@ -8,16 +8,15 @@ export type LightningElementConstructor = typeof LightningElement;
|
|
8
8
|
interface PropsAvailableAtConstruction {
|
9
9
|
tagName: string;
|
10
10
|
}
|
11
|
+
export declare const SYMBOL__SET_INTERNALS: unique symbol;
|
11
12
|
export declare class LightningElement implements PropsAvailableAtConstruction {
|
12
13
|
#private;
|
13
14
|
static renderMode?: 'light' | 'shadow';
|
14
15
|
isConnected: boolean;
|
15
16
|
className: string;
|
16
|
-
private __attrs;
|
17
|
-
private __classList;
|
18
17
|
tagName: string;
|
19
18
|
constructor(propsAvailableAtConstruction: PropsAvailableAtConstruction & Record<string, unknown>);
|
20
|
-
|
19
|
+
[SYMBOL__SET_INTERNALS](props: Record<string, any>, reflectedProps: string[], attrs: Record<string, any>): void;
|
21
20
|
get classList(): ClassList;
|
22
21
|
setAttribute(attrName: string, attrValue: unknown): void;
|
23
22
|
getAttribute(attrName: unknown): string | null;
|
@@ -1,7 +1,10 @@
|
|
1
1
|
import { LightningElement } from './lightning-element';
|
2
|
-
|
3
|
-
|
2
|
+
declare class MutationTracker {
|
3
|
+
#private;
|
4
4
|
add(instance: LightningElement, attrName: string): void;
|
5
|
+
enable(instance: LightningElement): void;
|
6
|
+
disable(instance: LightningElement): void;
|
5
7
|
renderMutatedAttrs(instance: LightningElement): string;
|
6
8
|
}
|
7
9
|
export declare const mutationTracker: MutationTracker;
|
10
|
+
export {};
|
package/dist/stubs.d.ts
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
export declare function api(..._: unknown[]): never;
|
2
|
+
export declare function createContextProvider(..._: unknown[]): never;
|
3
|
+
export declare function createElement(..._: unknown[]): never;
|
4
|
+
export declare function freezeTemplate(..._: unknown[]): never;
|
5
|
+
export declare function getComponentDef(..._: unknown[]): never;
|
6
|
+
export declare function isComponentConstructor(..._: unknown[]): never;
|
7
|
+
export declare function parseFragment(..._: unknown[]): never;
|
8
|
+
export declare function parseSVGFragment(..._: unknown[]): never;
|
9
|
+
export declare function readonly(..._: unknown[]): never;
|
10
|
+
export declare function registerComponent(..._: unknown[]): never;
|
11
|
+
export declare function registerDecorators(..._: unknown[]): never;
|
12
|
+
export declare function registerTemplate(..._: unknown[]): never;
|
13
|
+
export declare function sanitizeAttribute(..._: unknown[]): never;
|
14
|
+
export declare function setFeatureFlag(..._: unknown[]): never;
|
15
|
+
export declare function setFeatureFlagForTest(..._: unknown[]): never;
|
16
|
+
export declare function setHooks(..._: unknown[]): never;
|
17
|
+
export declare function swapComponent(..._: unknown[]): never;
|
18
|
+
export declare function swapStyle(..._: unknown[]): never;
|
19
|
+
export declare function swapTemplate(..._: unknown[]): never;
|
20
|
+
export declare function track(..._: unknown[]): never;
|
21
|
+
export declare function unwrap(..._: unknown[]): never;
|
22
|
+
export declare function wire(..._: unknown[]): never;
|
23
|
+
export declare const renderer: {
|
24
|
+
isSyntheticShadowDefined: boolean;
|
25
|
+
insert(..._: unknown[]): never;
|
26
|
+
remove(..._: unknown[]): never;
|
27
|
+
cloneNode(..._: unknown[]): never;
|
28
|
+
createFragment(..._: unknown[]): never;
|
29
|
+
createElement(..._: unknown[]): never;
|
30
|
+
createText(..._: unknown[]): never;
|
31
|
+
createComment(..._: unknown[]): never;
|
32
|
+
createCustomElement(..._: unknown[]): never;
|
33
|
+
nextSibling(..._: unknown[]): never;
|
34
|
+
previousSibling(..._: unknown[]): never;
|
35
|
+
attachShadow(..._: unknown[]): never;
|
36
|
+
getProperty(..._: unknown[]): never;
|
37
|
+
setProperty(..._: unknown[]): never;
|
38
|
+
setText(..._: unknown[]): never;
|
39
|
+
getAttribute(..._: unknown[]): never;
|
40
|
+
setAttribute(..._: unknown[]): never;
|
41
|
+
removeAttribute(..._: unknown[]): never;
|
42
|
+
addEventListener(..._: unknown[]): never;
|
43
|
+
removeEventListener(..._: unknown[]): never;
|
44
|
+
dispatchEvent(..._: unknown[]): never;
|
45
|
+
getClassList(..._: unknown[]): never;
|
46
|
+
setCSSStyleProperty(..._: unknown[]): never;
|
47
|
+
getBoundingClientRect(..._: unknown[]): never;
|
48
|
+
querySelector(..._: unknown[]): never;
|
49
|
+
querySelectorAll(..._: unknown[]): never;
|
50
|
+
getElementsByTagName(..._: unknown[]): never;
|
51
|
+
getElementsByClassName(..._: unknown[]): never;
|
52
|
+
getChildren(..._: unknown[]): never;
|
53
|
+
getChildNodes(..._: unknown[]): never;
|
54
|
+
getFirstChild(..._: unknown[]): never;
|
55
|
+
getFirstElementChild(..._: unknown[]): never;
|
56
|
+
getLastChild(..._: unknown[]): never;
|
57
|
+
getLastElementChild(..._: unknown[]): never;
|
58
|
+
getTagName(..._: unknown[]): never;
|
59
|
+
getStyle(..._: unknown[]): never;
|
60
|
+
isConnected(..._: unknown[]): never;
|
61
|
+
insertStylesheet(..._: unknown[]): never;
|
62
|
+
assertInstanceOfHTMLElement(..._: unknown[]): never;
|
63
|
+
ownerDocument(..._: unknown[]): never;
|
64
|
+
registerContextConsumer(..._: unknown[]): never;
|
65
|
+
attachInternals(..._: unknown[]): never;
|
66
|
+
defineCustomElement(..._: unknown[]): never;
|
67
|
+
getParentNode(..._: unknown[]): never;
|
68
|
+
startTrackingMutations(..._: unknown[]): never;
|
69
|
+
stopTrackingMutations(..._: unknown[]): never;
|
70
|
+
};
|
71
|
+
/**
|
72
|
+
* The hot API is used to orchestrate hot swapping in client rendered components.
|
73
|
+
* It doesn't do anything on the server side, however, you may import it.
|
74
|
+
*
|
75
|
+
* The whole point of defining this and exporting it is so that you can import it in isomorphic code without
|
76
|
+
* an error being thrown by the import itself.
|
77
|
+
*/
|
78
|
+
export declare const hot: undefined;
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
5
5
|
],
|
6
6
|
"name": "@lwc/ssr-runtime",
|
7
|
-
"version": "8.
|
7
|
+
"version": "8.3.0",
|
8
8
|
"description": "Runtime complement to @lwc/ssr-compiler",
|
9
9
|
"keywords": [
|
10
10
|
"lwc",
|
@@ -44,6 +44,6 @@
|
|
44
44
|
}
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
|
-
"@lwc/shared": "8.
|
47
|
+
"@lwc/shared": "8.3.0"
|
48
48
|
}
|
49
49
|
}
|