lwc 2.30.0 → 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine-dom/esm/es2017/engine-dom.js +89 -42
- package/dist/engine-dom/iife/es2017/engine-dom.js +89 -44
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +83 -42
- package/dist/engine-dom/iife/es5/engine-dom.js +108 -63
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +102 -61
- package/dist/engine-dom/umd/es2017/engine-dom.js +89 -44
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +83 -42
- package/dist/engine-dom/umd/es5/engine-dom.js +108 -63
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +102 -61
- package/dist/engine-server/commonjs/es2017/engine-server.js +16 -16
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +16 -14
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js +2 -4
- package/dist/wire-service/iife/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -4
- package/dist/wire-service/iife/es5/wire-service.js +2 -4
- package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -4
- package/dist/wire-service/umd/es2017/wire-service.js +2 -4
- package/dist/wire-service/umd/es2017/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -4
- package/dist/wire-service/umd/es5/wire-service.js +2 -4
- package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -4
- package/package.json +7 -7
|
@@ -432,9 +432,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
432
432
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
433
433
|
*/
|
|
434
434
|
// Increment whenever the LWC template compiler changes
|
|
435
|
-
const LWC_VERSION = "2.30.
|
|
435
|
+
const LWC_VERSION = "2.30.2";
|
|
436
436
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
437
|
-
/** version: 2.30.
|
|
437
|
+
/** version: 2.30.2 */
|
|
438
438
|
|
|
439
439
|
/*
|
|
440
440
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
546
546
|
setFeatureFlag(name, value);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
/** version: 2.30.
|
|
549
|
+
/** version: 2.30.2 */
|
|
550
550
|
|
|
551
551
|
/* proxy-compat-disable */
|
|
552
552
|
|
|
@@ -3813,16 +3813,16 @@ function mountCustomElement(vnode, parent, anchor, renderer) {
|
|
|
3813
3813
|
// the custom element from the registry is expecting an upgrade callback
|
|
3814
3814
|
vm = createViewModelHook(elm, vnode, renderer);
|
|
3815
3815
|
};
|
|
3816
|
-
|
|
3817
|
-
|
|
3816
|
+
let connectedCallback;
|
|
3817
|
+
let disconnectedCallback;
|
|
3818
|
+
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3819
|
+
connectedCallback = elm => {
|
|
3818
3820
|
connectRootElement(elm);
|
|
3819
|
-
}
|
|
3820
|
-
|
|
3821
|
-
const disconnectedCallback = elm => {
|
|
3822
|
-
if (lwcRuntimeFlags.ENABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE) {
|
|
3821
|
+
};
|
|
3822
|
+
disconnectedCallback = elm => {
|
|
3823
3823
|
disconnectRootElement(elm);
|
|
3824
|
-
}
|
|
3825
|
-
}
|
|
3824
|
+
};
|
|
3825
|
+
}
|
|
3826
3826
|
// Should never get a tag with upper case letter at this point; the compiler
|
|
3827
3827
|
// should produce only tags with lowercase letters. However, the Java
|
|
3828
3828
|
// compiler may generate tagnames with uppercase letters so - for backwards
|
|
@@ -5895,7 +5895,9 @@ function installWireAdapters(vm) {
|
|
|
5895
5895
|
wire
|
|
5896
5896
|
}
|
|
5897
5897
|
} = vm;
|
|
5898
|
-
|
|
5898
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
5899
|
+
vm.debugInfo[WIRE_DEBUG_ENTRY] = create(null);
|
|
5900
|
+
}
|
|
5899
5901
|
const wiredConnecting = context.wiredConnecting = [];
|
|
5900
5902
|
const wiredDisconnecting = context.wiredDisconnecting = [];
|
|
5901
5903
|
for (const fieldNameOrMethod in wire) {
|
|
@@ -6120,7 +6122,7 @@ function freezeTemplate(tmpl) {
|
|
|
6120
6122
|
});
|
|
6121
6123
|
}
|
|
6122
6124
|
}
|
|
6123
|
-
/* version: 2.30.
|
|
6125
|
+
/* version: 2.30.2 */
|
|
6124
6126
|
|
|
6125
6127
|
/*
|
|
6126
6128
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6591,6 +6593,6 @@ function renderComponent(tagName, Ctor, props = {}) {
|
|
|
6591
6593
|
*/
|
|
6592
6594
|
freeze(LightningElement);
|
|
6593
6595
|
seal(LightningElement.prototype);
|
|
6594
|
-
/* version: 2.30.
|
|
6596
|
+
/* version: 2.30.2 */
|
|
6595
6597
|
|
|
6596
6598
|
export { LightningElement, api$1 as api, createContextProvider, freezeTemplate, getComponentDef, isComponentConstructor, parseFragment, parseFragment as parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, renderComponent, renderer, sanitizeAttribute, setFeatureFlag, setFeatureFlagForTest, setHooks, track, unwrap, wire };
|
|
@@ -148,7 +148,7 @@ const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
|
148
148
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
149
149
|
// we can't use typeof since it will fail when transpiling.
|
|
150
150
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
151
|
-
/** version: 2.30.
|
|
151
|
+
/** version: 2.30.2 */
|
|
152
152
|
|
|
153
153
|
/*
|
|
154
154
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -462,7 +462,7 @@ if (!_globalThis.lwcRuntimeFlags) {
|
|
|
462
462
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
463
463
|
}
|
|
464
464
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
465
|
-
/** version: 2.30.
|
|
465
|
+
/** version: 2.30.2 */
|
|
466
466
|
|
|
467
467
|
/*
|
|
468
468
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4946,4 +4946,4 @@ if (process.env.NODE_ENV !== 'production' && typeof __karma__ !== 'undefined') {
|
|
|
4946
4946
|
}));
|
|
4947
4947
|
});
|
|
4948
4948
|
}
|
|
4949
|
-
/** version: 2.30.
|
|
4949
|
+
/** version: 2.30.2 */
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
152
152
|
// we can't use typeof since it will fail when transpiling.
|
|
153
153
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
154
|
-
/** version: 2.30.
|
|
154
|
+
/** version: 2.30.2 */
|
|
155
155
|
|
|
156
156
|
/*
|
|
157
157
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
466
466
|
}
|
|
467
467
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
468
|
-
/** version: 2.30.
|
|
468
|
+
/** version: 2.30.2 */
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
471
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4949,6 +4949,6 @@
|
|
|
4949
4949
|
}));
|
|
4950
4950
|
});
|
|
4951
4951
|
}
|
|
4952
|
-
/** version: 2.30.
|
|
4952
|
+
/** version: 2.30.2 */
|
|
4953
4953
|
|
|
4954
4954
|
})();
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
88
88
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
89
89
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
90
|
-
/** version: 2.30.
|
|
90
|
+
/** version: 2.30.2 */
|
|
91
91
|
|
|
92
92
|
/*
|
|
93
93
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
402
402
|
}
|
|
403
403
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
404
|
-
/** version: 2.30.
|
|
404
|
+
/** version: 2.30.2 */
|
|
405
405
|
|
|
406
406
|
/*
|
|
407
407
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4753,6 +4753,6 @@
|
|
|
4753
4753
|
},
|
|
4754
4754
|
configurable: true,
|
|
4755
4755
|
});
|
|
4756
|
-
/** version: 2.30.
|
|
4756
|
+
/** version: 2.30.2 */
|
|
4757
4757
|
|
|
4758
4758
|
})();
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
175
175
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
176
176
|
}();
|
|
177
|
-
/** version: 2.30.
|
|
177
|
+
/** version: 2.30.2 */
|
|
178
178
|
|
|
179
179
|
/*
|
|
180
180
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
});
|
|
492
492
|
}
|
|
493
493
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
494
|
-
/** version: 2.30.
|
|
494
|
+
/** version: 2.30.2 */
|
|
495
495
|
|
|
496
496
|
/*
|
|
497
497
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4945,6 +4945,6 @@
|
|
|
4945
4945
|
}));
|
|
4946
4946
|
});
|
|
4947
4947
|
}
|
|
4948
|
-
/** version: 2.30.
|
|
4948
|
+
/** version: 2.30.2 */
|
|
4949
4949
|
|
|
4950
4950
|
})();
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
109
109
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
110
110
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
111
|
-
/** version: 2.30.
|
|
111
|
+
/** version: 2.30.2 */
|
|
112
112
|
|
|
113
113
|
/*
|
|
114
114
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
426
|
-
/** version: 2.30.
|
|
426
|
+
/** version: 2.30.2 */
|
|
427
427
|
|
|
428
428
|
/*
|
|
429
429
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4745,6 +4745,6 @@
|
|
|
4745
4745
|
},
|
|
4746
4746
|
configurable: true
|
|
4747
4747
|
});
|
|
4748
|
-
/** version: 2.30.
|
|
4748
|
+
/** version: 2.30.2 */
|
|
4749
4749
|
|
|
4750
4750
|
})();
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
// We use this to detect symbol support in order to avoid the expensive symbol polyfill. Note that
|
|
154
154
|
// we can't use typeof since it will fail when transpiling.
|
|
155
155
|
const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === 'Symbol(x)')();
|
|
156
|
-
/** version: 2.30.
|
|
156
|
+
/** version: 2.30.2 */
|
|
157
157
|
|
|
158
158
|
/*
|
|
159
159
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
468
468
|
}
|
|
469
469
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
470
|
-
/** version: 2.30.
|
|
470
|
+
/** version: 2.30.2 */
|
|
471
471
|
|
|
472
472
|
/*
|
|
473
473
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4951,6 +4951,6 @@
|
|
|
4951
4951
|
}));
|
|
4952
4952
|
});
|
|
4953
4953
|
}
|
|
4954
|
-
/** version: 2.30.
|
|
4954
|
+
/** version: 2.30.2 */
|
|
4955
4955
|
|
|
4956
4956
|
}));
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
const KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
90
90
|
const KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
91
91
|
const KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
92
|
-
/** version: 2.30.
|
|
92
|
+
/** version: 2.30.2 */
|
|
93
93
|
|
|
94
94
|
/*
|
|
95
95
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
Object.defineProperty(_globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
404
404
|
}
|
|
405
405
|
const lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
406
|
-
/** version: 2.30.
|
|
406
|
+
/** version: 2.30.2 */
|
|
407
407
|
|
|
408
408
|
/*
|
|
409
409
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4755,6 +4755,6 @@
|
|
|
4755
4755
|
},
|
|
4756
4756
|
configurable: true,
|
|
4757
4757
|
});
|
|
4758
|
-
/** version: 2.30.
|
|
4758
|
+
/** version: 2.30.2 */
|
|
4759
4759
|
|
|
4760
4760
|
}));
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
var hasNativeSymbolSupport = /*@__PURE__*/function () {
|
|
177
177
|
return Symbol('x').toString() === 'Symbol(x)';
|
|
178
178
|
}();
|
|
179
|
-
/** version: 2.30.
|
|
179
|
+
/** version: 2.30.2 */
|
|
180
180
|
|
|
181
181
|
/*
|
|
182
182
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
495
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
496
|
-
/** version: 2.30.
|
|
496
|
+
/** version: 2.30.2 */
|
|
497
497
|
|
|
498
498
|
/*
|
|
499
499
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4947,6 +4947,6 @@
|
|
|
4947
4947
|
}));
|
|
4948
4948
|
});
|
|
4949
4949
|
}
|
|
4950
|
-
/** version: 2.30.
|
|
4950
|
+
/** version: 2.30.2 */
|
|
4951
4951
|
|
|
4952
4952
|
}));
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
var KEY__SHADOW_TOKEN = '$shadowToken$';
|
|
111
111
|
var KEY__SHADOW_TOKEN_PRIVATE = '$$ShadowTokenKey$$';
|
|
112
112
|
var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
|
|
113
|
-
/** version: 2.30.
|
|
113
|
+
/** version: 2.30.2 */
|
|
114
114
|
|
|
115
115
|
/*
|
|
116
116
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
var lwcRuntimeFlags = _globalThis.lwcRuntimeFlags;
|
|
428
|
-
/** version: 2.30.
|
|
428
|
+
/** version: 2.30.2 */
|
|
429
429
|
|
|
430
430
|
/*
|
|
431
431
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -4747,6 +4747,6 @@
|
|
|
4747
4747
|
},
|
|
4748
4748
|
configurable: true
|
|
4749
4749
|
});
|
|
4750
|
-
/** version: 2.30.
|
|
4750
|
+
/** version: 2.30.2 */
|
|
4751
4751
|
|
|
4752
4752
|
}));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
function isUndefined(obj) {
|
|
8
8
|
return obj === undefined;
|
|
9
9
|
}
|
|
10
|
-
/** version: 2.30.
|
|
10
|
+
/** version: 2.30.2 */
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
13
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -181,6 +181,6 @@ class LegacyWireAdapterBridge {
|
|
|
181
181
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
/** version: 2.30.
|
|
184
|
+
/** version: 2.30.2 */
|
|
185
185
|
|
|
186
186
|
export { ValueChangedEvent, register, registerWireService };
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.30.
|
|
13
|
+
/** version: 2.30.2 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,14 +184,12 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.30.
|
|
187
|
+
/** version: 2.30.2 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
191
191
|
exports.registerWireService = registerWireService;
|
|
192
192
|
|
|
193
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
194
|
-
|
|
195
193
|
return exports;
|
|
196
194
|
|
|
197
195
|
})({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var WireService=function(e){"use strict";function t(e){return void 0===e}class n{constructor(e){this.type="ValueChangedEvent",this.value=e}}const{freeze:i,defineProperty:r,isExtensible:s}=Object;const{forEach:c,splice:a,indexOf:o}=Array.prototype,l="connect",d="disconnect",h="config";function u(e,t){const n=o.call(e,t);n>-1&&a.call(e,n,1)}class f{constructor(e){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(e,t)=>{switch(e){case l:this.connecting.push(t);break;case d:this.disconnecting.push(t);break;case h:this.configuring.push(t),void 0!==this.currentConfig&&t.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${e}.`)}},removeEventListener:(e,t)=>{switch(e){case l:u(this.connecting,t);break;case d:u(this.disconnecting,t);break;case h:u(this.configuring,t);break;default:throw new Error(`Invalid event type ${e}.`)}},dispatchEvent:e=>{if(!(e instanceof n)){if("wirecontextevent"===e.type)return this.wiredElementHost.dispatchEvent(e);throw new Error(`Invalid event type ${e.type}.`)}{const t=e.value;this.callback(t)}return!1}}}update(e){var n,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,n){return 0===n.length||n.some((n=>!t(e[n])))}(e,this.dynamicParamsNames)))&&((t(this.currentConfig)||(n=e,i=this.currentConfig,this.dynamicParamsNames.some((e=>n[e]!==i[e]))))&&(this.currentConfig=e,c.call(this.configuring,(t=>{t.call(void 0,e)}))))}connect(){c.call(this.connecting,(e=>e.call(void 0)))}disconnect(){c.call(this.disconnecting,(e=>e.call(void 0)))}}return e.ValueChangedEvent=n,e.register=function(e,t){if(null==e||!s(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");const n=class extends f{constructor(e){super(e),t(this.eventTarget)}};i(n),i(n.prototype),r(e,"adapter",{writable:!1,configurable:!1,value:n})},e.registerWireService=function(){},
|
|
1
|
+
var WireService=function(e){"use strict";function t(e){return void 0===e}class n{constructor(e){this.type="ValueChangedEvent",this.value=e}}const{freeze:i,defineProperty:r,isExtensible:s}=Object;const{forEach:c,splice:a,indexOf:o}=Array.prototype,l="connect",d="disconnect",h="config";function u(e,t){const n=o.call(e,t);n>-1&&a.call(e,n,1)}class f{constructor(e){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(e,t)=>{switch(e){case l:this.connecting.push(t);break;case d:this.disconnecting.push(t);break;case h:this.configuring.push(t),void 0!==this.currentConfig&&t.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${e}.`)}},removeEventListener:(e,t)=>{switch(e){case l:u(this.connecting,t);break;case d:u(this.disconnecting,t);break;case h:u(this.configuring,t);break;default:throw new Error(`Invalid event type ${e}.`)}},dispatchEvent:e=>{if(!(e instanceof n)){if("wirecontextevent"===e.type)return this.wiredElementHost.dispatchEvent(e);throw new Error(`Invalid event type ${e.type}.`)}{const t=e.value;this.callback(t)}return!1}}}update(e){var n,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,n){return 0===n.length||n.some((n=>!t(e[n])))}(e,this.dynamicParamsNames)))&&((t(this.currentConfig)||(n=e,i=this.currentConfig,this.dynamicParamsNames.some((e=>n[e]!==i[e]))))&&(this.currentConfig=e,c.call(this.configuring,(t=>{t.call(void 0,e)}))))}connect(){c.call(this.connecting,(e=>e.call(void 0)))}disconnect(){c.call(this.disconnecting,(e=>e.call(void 0)))}}return e.ValueChangedEvent=n,e.register=function(e,t){if(null==e||!s(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");const n=class extends f{constructor(e){super(e),t(this.eventTarget)}};i(n),i(n.prototype),r(e,"adapter",{writable:!1,configurable:!1,value:n})},e.registerWireService=function(){},e}({});
|
|
@@ -10,7 +10,7 @@ var WireService = (function (exports) {
|
|
|
10
10
|
function isUndefined(obj) {
|
|
11
11
|
return obj === undefined;
|
|
12
12
|
}
|
|
13
|
-
/** version: 2.30.
|
|
13
|
+
/** version: 2.30.2 */
|
|
14
14
|
|
|
15
15
|
/*
|
|
16
16
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -184,14 +184,12 @@ var WireService = (function (exports) {
|
|
|
184
184
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
/** version: 2.30.
|
|
187
|
+
/** version: 2.30.2 */
|
|
188
188
|
|
|
189
189
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
190
190
|
exports.register = register;
|
|
191
191
|
exports.registerWireService = registerWireService;
|
|
192
192
|
|
|
193
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
194
|
-
|
|
195
193
|
return exports;
|
|
196
194
|
|
|
197
195
|
})({});
|
|
@@ -21,7 +21,7 @@ var WireService = (function (exports) {
|
|
|
21
21
|
function isUndefined(obj) {
|
|
22
22
|
return obj === undefined;
|
|
23
23
|
}
|
|
24
|
-
/** version: 2.30.
|
|
24
|
+
/** version: 2.30.2 */
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -225,14 +225,12 @@ var WireService = (function (exports) {
|
|
|
225
225
|
}]);
|
|
226
226
|
return LegacyWireAdapterBridge;
|
|
227
227
|
}();
|
|
228
|
-
/** version: 2.30.
|
|
228
|
+
/** version: 2.30.2 */
|
|
229
229
|
|
|
230
230
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
231
231
|
exports.register = register;
|
|
232
232
|
exports.registerWireService = registerWireService;
|
|
233
233
|
|
|
234
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
235
|
-
|
|
236
234
|
return exports;
|
|
237
235
|
|
|
238
236
|
})({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var WireService=function(
|
|
1
|
+
var WireService=function(t){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},n(t,e)}function r(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=i(t);if(e){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function i(t){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},i(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t){return void 0===t}var s=a((function t(e){u(this,t),this.type="ValueChangedEvent",this.value=e})),l=Object.freeze,p=Object.defineProperty,y=Object.isExtensible;var d=Array.prototype,h=d.forEach,v=d.splice,b=d.indexOf,g="connect",m="disconnect",w="config";function E(t,e){var n=b.call(t,e);n>-1&&v.call(t,n,1)}var O=function(){function t(e){var n=this;u(this,t),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(t,e){switch(t){case g:n.connecting.push(e);break;case m:n.disconnecting.push(e);break;case w:n.configuring.push(e),void 0!==n.currentConfig&&e.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(t,"."))}},removeEventListener:function(t,e){switch(t){case g:E(n.connecting,e);break;case m:E(n.disconnecting,e);break;case w:E(n.configuring,e);break;default:throw new Error("Invalid event type ".concat(t,"."))}},dispatchEvent:function(t){if(!(t instanceof s)){if("wirecontextevent"===t.type)return n.wiredElementHost.dispatchEvent(t);throw new Error("Invalid event type ".concat(t.type,"."))}var e=t.value;return n.callback(e),!1}}}return a(t,[{key:"update",value:function(t){var e,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(t){return 0===Object.keys(t).length}(t)||function(t,e){return 0===e.length||e.some((function(e){return!f(t[e])}))}(t,this.dynamicParamsNames)))&&((f(this.currentConfig)||(e=t,n=this.currentConfig,this.dynamicParamsNames.some((function(t){return e[t]!==n[t]}))))&&(this.currentConfig=t,h.call(this.configuring,(function(e){e.call(void 0,t)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(t){return t.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(t){return t.call(void 0)}))}}]),t}();return t.ValueChangedEvent=s,t.register=function(t,e){if(null==t||!y(t))throw new TypeError("adapter id must be extensible");if("function"!=typeof e)throw new TypeError("adapter factory must be a callable");if("adapter"in t)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)}(i,t);var o=r(i);function i(t){var n;return u(this,i),n=o.call(this,t),e(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(t,"adapter",{writable:!1,configurable:!1,value:o})},t.registerWireService=function(){},t}({});
|
|
@@ -21,7 +21,7 @@ var WireService = (function (exports) {
|
|
|
21
21
|
function isUndefined(obj) {
|
|
22
22
|
return obj === undefined;
|
|
23
23
|
}
|
|
24
|
-
/** version: 2.30.
|
|
24
|
+
/** version: 2.30.2 */
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -225,14 +225,12 @@ var WireService = (function (exports) {
|
|
|
225
225
|
}]);
|
|
226
226
|
return LegacyWireAdapterBridge;
|
|
227
227
|
}();
|
|
228
|
-
/** version: 2.30.
|
|
228
|
+
/** version: 2.30.2 */
|
|
229
229
|
|
|
230
230
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
231
231
|
exports.register = register;
|
|
232
232
|
exports.registerWireService = registerWireService;
|
|
233
233
|
|
|
234
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
235
|
-
|
|
236
234
|
return exports;
|
|
237
235
|
|
|
238
236
|
})({});
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
function isUndefined(obj) {
|
|
14
14
|
return obj === undefined;
|
|
15
15
|
}
|
|
16
|
-
/** version: 2.30.
|
|
16
|
+
/** version: 2.30.2 */
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
19
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -187,12 +187,10 @@
|
|
|
187
187
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
/** version: 2.30.
|
|
190
|
+
/** version: 2.30.2 */
|
|
191
191
|
|
|
192
192
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
193
193
|
exports.register = register;
|
|
194
194
|
exports.registerWireService = registerWireService;
|
|
195
195
|
|
|
196
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
197
|
-
|
|
198
196
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return void 0===e}class n{constructor(e){this.type="ValueChangedEvent",this.value=e}}const{freeze:i,defineProperty:r,isExtensible:s}=Object;const{forEach:c,splice:a,indexOf:o}=Array.prototype,d="connect",l="disconnect",h="config";function u(e,t){const n=o.call(e,t);n>-1&&a.call(e,n,1)}class f{constructor(e){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(e,t)=>{switch(e){case d:this.connecting.push(t);break;case l:this.disconnecting.push(t);break;case h:this.configuring.push(t),void 0!==this.currentConfig&&t.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${e}.`)}},removeEventListener:(e,t)=>{switch(e){case d:u(this.connecting,t);break;case l:u(this.disconnecting,t);break;case h:u(this.configuring,t);break;default:throw new Error(`Invalid event type ${e}.`)}},dispatchEvent:e=>{if(!(e instanceof n)){if("wirecontextevent"===e.type)return this.wiredElementHost.dispatchEvent(e);throw new Error(`Invalid event type ${e.type}.`)}{const t=e.value;this.callback(t)}return!1}}}update(e){var n,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,n){return 0===n.length||n.some((n=>!t(e[n])))}(e,this.dynamicParamsNames)))&&((t(this.currentConfig)||(n=e,i=this.currentConfig,this.dynamicParamsNames.some((e=>n[e]!==i[e]))))&&(this.currentConfig=e,c.call(this.configuring,(t=>{t.call(void 0,e)}))))}connect(){c.call(this.connecting,(e=>e.call(void 0)))}disconnect(){c.call(this.disconnecting,(e=>e.call(void 0)))}}e.ValueChangedEvent=n,e.register=function(e,t){if(null==e||!s(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");const n=class extends f{constructor(e){super(e),t(this.eventTarget)}};i(n),i(n.prototype),r(e,"adapter",{writable:!1,configurable:!1,value:n})},e.registerWireService=function(){}
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return void 0===e}class n{constructor(e){this.type="ValueChangedEvent",this.value=e}}const{freeze:i,defineProperty:r,isExtensible:s}=Object;const{forEach:c,splice:a,indexOf:o}=Array.prototype,d="connect",l="disconnect",h="config";function u(e,t){const n=o.call(e,t);n>-1&&a.call(e,n,1)}class f{constructor(e){this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=e,this.wiredElementHost=e.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=e.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:(e,t)=>{switch(e){case d:this.connecting.push(t);break;case l:this.disconnecting.push(t);break;case h:this.configuring.push(t),void 0!==this.currentConfig&&t.call(void 0,this.currentConfig);break;default:throw new Error(`Invalid event type ${e}.`)}},removeEventListener:(e,t)=>{switch(e){case d:u(this.connecting,t);break;case l:u(this.disconnecting,t);break;case h:u(this.configuring,t);break;default:throw new Error(`Invalid event type ${e}.`)}},dispatchEvent:e=>{if(!(e instanceof n)){if("wirecontextevent"===e.type)return this.wiredElementHost.dispatchEvent(e);throw new Error(`Invalid event type ${e.type}.`)}{const t=e.value;this.callback(t)}return!1}}}update(e){var n,i;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,n){return 0===n.length||n.some((n=>!t(e[n])))}(e,this.dynamicParamsNames)))&&((t(this.currentConfig)||(n=e,i=this.currentConfig,this.dynamicParamsNames.some((e=>n[e]!==i[e]))))&&(this.currentConfig=e,c.call(this.configuring,(t=>{t.call(void 0,e)}))))}connect(){c.call(this.connecting,(e=>e.call(void 0)))}disconnect(){c.call(this.disconnecting,(e=>e.call(void 0)))}}e.ValueChangedEvent=n,e.register=function(e,t){if(null==e||!s(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");const n=class extends f{constructor(e){super(e),t(this.eventTarget)}};i(n),i(n.prototype),r(e,"adapter",{writable:!1,configurable:!1,value:n})},e.registerWireService=function(){}}));
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
function isUndefined(obj) {
|
|
14
14
|
return obj === undefined;
|
|
15
15
|
}
|
|
16
|
-
/** version: 2.30.
|
|
16
|
+
/** version: 2.30.2 */
|
|
17
17
|
|
|
18
18
|
/*
|
|
19
19
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -187,12 +187,10 @@
|
|
|
187
187
|
forEach.call(this.disconnecting, (listener) => listener.call(undefined));
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
/** version: 2.30.
|
|
190
|
+
/** version: 2.30.2 */
|
|
191
191
|
|
|
192
192
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
193
193
|
exports.register = register;
|
|
194
194
|
exports.registerWireService = registerWireService;
|
|
195
195
|
|
|
196
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
197
|
-
|
|
198
196
|
}));
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
function isUndefined(obj) {
|
|
25
25
|
return obj === undefined;
|
|
26
26
|
}
|
|
27
|
-
/** version: 2.30.
|
|
27
|
+
/** version: 2.30.2 */
|
|
28
28
|
|
|
29
29
|
/*
|
|
30
30
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -228,12 +228,10 @@
|
|
|
228
228
|
}]);
|
|
229
229
|
return LegacyWireAdapterBridge;
|
|
230
230
|
}();
|
|
231
|
-
/** version: 2.30.
|
|
231
|
+
/** version: 2.30.2 */
|
|
232
232
|
|
|
233
233
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
234
234
|
exports.register = register;
|
|
235
235
|
exports.registerWireService = registerWireService;
|
|
236
236
|
|
|
237
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
238
|
-
|
|
239
237
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){return void 0===e}var s=a((function e(t){u(this,e),this.type="ValueChangedEvent",this.value=t})),l=Object.freeze,p=Object.defineProperty,d=Object.isExtensible;var y=Array.prototype,h=y.forEach,b=y.splice,v=y.indexOf,g="connect",m="disconnect",w="config";function E(e,t){var n=v.call(e,t);n>-1&&b.call(e,n,1)}var O=function(){function e(t){var n=this;u(this,e),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=t,this.wiredElementHost=t.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=t.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(e,t){switch(e){case g:n.connecting.push(t);break;case m:n.disconnecting.push(t);break;case w:n.configuring.push(t),void 0!==n.currentConfig&&t.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(e,"."))}},removeEventListener:function(e,t){switch(e){case g:E(n.connecting,t);break;case m:E(n.disconnecting,t);break;case w:E(n.configuring,t);break;default:throw new Error("Invalid event type ".concat(e,"."))}},dispatchEvent:function(e){if(!(e instanceof s)){if("wirecontextevent"===e.type)return n.wiredElementHost.dispatchEvent(e);throw new Error("Invalid event type ".concat(e.type,"."))}var t=e.value;return n.callback(t),!1}}}return a(e,[{key:"update",value:function(e){var t,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,t){return 0===t.length||t.some((function(t){return!f(e[t])}))}(e,this.dynamicParamsNames)))&&((f(this.currentConfig)||(t=e,n=this.currentConfig,this.dynamicParamsNames.some((function(e){return t[e]!==n[e]}))))&&(this.currentConfig=e,h.call(this.configuring,(function(t){t.call(void 0,e)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(e){return e.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(e){return e.call(void 0)}))}}]),e}();e.ValueChangedEvent=s,e.register=function(e,t){if(null==e||!d(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(i,e);var o=r(i);function i(e){var n;return u(this,i),n=o.call(this,e),t(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(e,"adapter",{writable:!1,configurable:!1,value:o})},e.registerWireService=function(){}
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).WireService={})}(this,(function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var c=i(this).constructor;n=Reflect.construct(r,arguments,c)}else n=r.apply(this,arguments);return o(this,n)}}function o(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e){return void 0===e}var s=a((function e(t){u(this,e),this.type="ValueChangedEvent",this.value=t})),l=Object.freeze,p=Object.defineProperty,d=Object.isExtensible;var y=Array.prototype,h=y.forEach,b=y.splice,v=y.indexOf,g="connect",m="disconnect",w="config";function E(e,t){var n=v.call(e,t);n>-1&&b.call(e,n,1)}var O=function(){function e(t){var n=this;u(this,e),this.connecting=[],this.disconnecting=[],this.configuring=[],this.isFirstUpdate=!0,this.callback=t,this.wiredElementHost=t.$$DeprecatedWiredElementHostKey$$,this.dynamicParamsNames=t.$$DeprecatedWiredParamsMetaKey$$,this.eventTarget={addEventListener:function(e,t){switch(e){case g:n.connecting.push(t);break;case m:n.disconnecting.push(t);break;case w:n.configuring.push(t),void 0!==n.currentConfig&&t.call(void 0,n.currentConfig);break;default:throw new Error("Invalid event type ".concat(e,"."))}},removeEventListener:function(e,t){switch(e){case g:E(n.connecting,t);break;case m:E(n.disconnecting,t);break;case w:E(n.configuring,t);break;default:throw new Error("Invalid event type ".concat(e,"."))}},dispatchEvent:function(e){if(!(e instanceof s)){if("wirecontextevent"===e.type)return n.wiredElementHost.dispatchEvent(e);throw new Error("Invalid event type ".concat(e.type,"."))}var t=e.value;return n.callback(t),!1}}}return a(e,[{key:"update",value:function(e){var t,n;(!this.isFirstUpdate||(this.isFirstUpdate=!1,function(e){return 0===Object.keys(e).length}(e)||function(e,t){return 0===t.length||t.some((function(t){return!f(e[t])}))}(e,this.dynamicParamsNames)))&&((f(this.currentConfig)||(t=e,n=this.currentConfig,this.dynamicParamsNames.some((function(e){return t[e]!==n[e]}))))&&(this.currentConfig=e,h.call(this.configuring,(function(t){t.call(void 0,e)}))))}},{key:"connect",value:function(){h.call(this.connecting,(function(e){return e.call(void 0)}))}},{key:"disconnect",value:function(){h.call(this.disconnecting,(function(e){return e.call(void 0)}))}}]),e}();e.ValueChangedEvent=s,e.register=function(e,t){if(null==e||!d(e))throw new TypeError("adapter id must be extensible");if("function"!=typeof t)throw new TypeError("adapter factory must be a callable");if("adapter"in e)throw new TypeError("adapter id is already associated to an adapter factory");var o=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(i,e);var o=r(i);function i(e){var n;return u(this,i),n=o.call(this,e),t(n.eventTarget),n}return a(i)}(O);l(o),l(o.prototype),p(e,"adapter",{writable:!1,configurable:!1,value:o})},e.registerWireService=function(){}}));
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
function isUndefined(obj) {
|
|
25
25
|
return obj === undefined;
|
|
26
26
|
}
|
|
27
|
-
/** version: 2.30.
|
|
27
|
+
/** version: 2.30.2 */
|
|
28
28
|
|
|
29
29
|
/*
|
|
30
30
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -228,12 +228,10 @@
|
|
|
228
228
|
}]);
|
|
229
229
|
return LegacyWireAdapterBridge;
|
|
230
230
|
}();
|
|
231
|
-
/** version: 2.30.
|
|
231
|
+
/** version: 2.30.2 */
|
|
232
232
|
|
|
233
233
|
exports.ValueChangedEvent = ValueChangedEvent;
|
|
234
234
|
exports.register = register;
|
|
235
235
|
exports.registerWireService = registerWireService;
|
|
236
236
|
|
|
237
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
238
|
-
|
|
239
237
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lwc",
|
|
3
|
-
"version": "2.30.
|
|
3
|
+
"version": "2.30.2",
|
|
4
4
|
"description": "Lightning Web Components (LWC)",
|
|
5
5
|
"homepage": "https://lwc.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lwc/compiler": "2.30.
|
|
45
|
-
"@lwc/engine-dom": "2.30.
|
|
46
|
-
"@lwc/engine-server": "2.30.
|
|
47
|
-
"@lwc/features": "2.30.
|
|
48
|
-
"@lwc/synthetic-shadow": "2.30.
|
|
49
|
-
"@lwc/wire-service": "2.30.
|
|
44
|
+
"@lwc/compiler": "2.30.2",
|
|
45
|
+
"@lwc/engine-dom": "2.30.2",
|
|
46
|
+
"@lwc/engine-server": "2.30.2",
|
|
47
|
+
"@lwc/features": "2.30.2",
|
|
48
|
+
"@lwc/synthetic-shadow": "2.30.2",
|
|
49
|
+
"@lwc/wire-service": "2.30.2"
|
|
50
50
|
},
|
|
51
51
|
"nx": {
|
|
52
52
|
"targets": {
|