@salesforce/lwc-adapters-uiapi 1.159.0 → 1.160.0
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/main.js +31 -10
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -364,7 +364,7 @@ var FragmentReadResultState;
|
|
|
364
364
|
({
|
|
365
365
|
state: FragmentReadResultState.Missing,
|
|
366
366
|
});
|
|
367
|
-
// engine version: 0.143.
|
|
367
|
+
// engine version: 0.143.6-adb8408d
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -15198,7 +15198,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
15198
15198
|
return snapshot.state === 'Error';
|
|
15199
15199
|
}
|
|
15200
15200
|
|
|
15201
|
-
const VERSION$28 = "
|
|
15201
|
+
const VERSION$28 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
15202
15202
|
function validate$1t(obj, path = 'ListViewSummaryRepresentation') {
|
|
15203
15203
|
const v_error = (() => {
|
|
15204
15204
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -15211,8 +15211,29 @@ function validate$1t(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
15211
15211
|
}
|
|
15212
15212
|
const obj_id = obj.id;
|
|
15213
15213
|
const path_id = path + '.id';
|
|
15214
|
-
|
|
15215
|
-
|
|
15214
|
+
let obj_id_union0 = null;
|
|
15215
|
+
const obj_id_union0_error = (() => {
|
|
15216
|
+
if (typeof obj_id !== 'string') {
|
|
15217
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
15218
|
+
}
|
|
15219
|
+
})();
|
|
15220
|
+
if (obj_id_union0_error != null) {
|
|
15221
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
15222
|
+
}
|
|
15223
|
+
let obj_id_union1 = null;
|
|
15224
|
+
const obj_id_union1_error = (() => {
|
|
15225
|
+
if (obj_id !== null) {
|
|
15226
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
15227
|
+
}
|
|
15228
|
+
})();
|
|
15229
|
+
if (obj_id_union1_error != null) {
|
|
15230
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
15231
|
+
}
|
|
15232
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
15233
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
15234
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
15235
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
15236
|
+
return new TypeError(message);
|
|
15216
15237
|
}
|
|
15217
15238
|
const obj_label = obj.label;
|
|
15218
15239
|
const path_label = path + '.label';
|
|
@@ -15229,7 +15250,7 @@ function validate$1t(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
15229
15250
|
}
|
|
15230
15251
|
const RepresentationType$P = 'ListViewSummaryRepresentation';
|
|
15231
15252
|
function keyBuilder$2T(luvio, config) {
|
|
15232
|
-
return keyPrefix + '::' + RepresentationType$P + ':' + config.id;
|
|
15253
|
+
return keyPrefix + '::' + RepresentationType$P + ':' + (config.id === null ? '' : config.id);
|
|
15233
15254
|
}
|
|
15234
15255
|
function keyBuilderFromType$u(luvio, object) {
|
|
15235
15256
|
const keyParams = {
|
|
@@ -15271,11 +15292,6 @@ function equals$T(existing, incoming) {
|
|
|
15271
15292
|
if (!(existing_apiName === incoming_apiName)) {
|
|
15272
15293
|
return false;
|
|
15273
15294
|
}
|
|
15274
|
-
const existing_id = existing.id;
|
|
15275
|
-
const incoming_id = incoming.id;
|
|
15276
|
-
if (!(existing_id === incoming_id)) {
|
|
15277
|
-
return false;
|
|
15278
|
-
}
|
|
15279
15295
|
const existing_label = existing.label;
|
|
15280
15296
|
const incoming_label = incoming.label;
|
|
15281
15297
|
if (!(existing_label === incoming_label)) {
|
|
@@ -15286,6 +15302,11 @@ function equals$T(existing, incoming) {
|
|
|
15286
15302
|
if (!(existing_listUiUrl === incoming_listUiUrl)) {
|
|
15287
15303
|
return false;
|
|
15288
15304
|
}
|
|
15305
|
+
const existing_id = existing.id;
|
|
15306
|
+
const incoming_id = incoming.id;
|
|
15307
|
+
if (!(existing_id === incoming_id)) {
|
|
15308
|
+
return false;
|
|
15309
|
+
}
|
|
15289
15310
|
return true;
|
|
15290
15311
|
}
|
|
15291
15312
|
const ingest$1L = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.160.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@salesforce/lds-adapters-uiapi": "*"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@luvio/lwc-luvio": "0.143.
|
|
37
|
+
"@luvio/lwc-luvio": "0.143.6",
|
|
38
38
|
"@salesforce/lds-default-luvio": "*"
|
|
39
39
|
}
|
|
40
40
|
}
|