@salesforce/lwc-adapters-uiapi 1.438.1 → 1.440.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 +1 -71
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -19877,7 +19877,7 @@ function coerceFormFactor(form) {
|
|
|
19877
19877
|
return undefined;
|
|
19878
19878
|
}
|
|
19879
19879
|
|
|
19880
|
-
const VERSION$2N = "
|
|
19880
|
+
const VERSION$2N = "3f49d751896cf66e6e29788d8880e2cc";
|
|
19881
19881
|
function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
19882
19882
|
const v_error = (() => {
|
|
19883
19883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -20017,32 +20017,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
20017
20017
|
message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20018
20018
|
return new TypeError(message);
|
|
20019
20019
|
}
|
|
20020
|
-
const obj_pageDeveloperName = obj.pageDeveloperName;
|
|
20021
|
-
const path_pageDeveloperName = path + '.pageDeveloperName';
|
|
20022
|
-
let obj_pageDeveloperName_union0 = null;
|
|
20023
|
-
const obj_pageDeveloperName_union0_error = (() => {
|
|
20024
|
-
if (typeof obj_pageDeveloperName !== 'string') {
|
|
20025
|
-
return new TypeError('Expected "string" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
20026
|
-
}
|
|
20027
|
-
})();
|
|
20028
|
-
if (obj_pageDeveloperName_union0_error != null) {
|
|
20029
|
-
obj_pageDeveloperName_union0 = obj_pageDeveloperName_union0_error.message;
|
|
20030
|
-
}
|
|
20031
|
-
let obj_pageDeveloperName_union1 = null;
|
|
20032
|
-
const obj_pageDeveloperName_union1_error = (() => {
|
|
20033
|
-
if (obj_pageDeveloperName !== null) {
|
|
20034
|
-
return new TypeError('Expected "null" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
|
|
20035
|
-
}
|
|
20036
|
-
})();
|
|
20037
|
-
if (obj_pageDeveloperName_union1_error != null) {
|
|
20038
|
-
obj_pageDeveloperName_union1 = obj_pageDeveloperName_union1_error.message;
|
|
20039
|
-
}
|
|
20040
|
-
if (obj_pageDeveloperName_union0 && obj_pageDeveloperName_union1) {
|
|
20041
|
-
let message = 'Object doesn\'t match union (at "' + path_pageDeveloperName + '")';
|
|
20042
|
-
message += '\n' + obj_pageDeveloperName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
20043
|
-
message += '\n' + obj_pageDeveloperName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20044
|
-
return new TypeError(message);
|
|
20045
|
-
}
|
|
20046
20020
|
const obj_primaryColor = obj.primaryColor;
|
|
20047
20021
|
const path_primaryColor = path + '.primaryColor';
|
|
20048
20022
|
let obj_primaryColor_union0 = null;
|
|
@@ -20204,32 +20178,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
20204
20178
|
message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20205
20179
|
return new TypeError(message);
|
|
20206
20180
|
}
|
|
20207
|
-
const obj_targetParentField = obj.targetParentField;
|
|
20208
|
-
const path_targetParentField = path + '.targetParentField';
|
|
20209
|
-
let obj_targetParentField_union0 = null;
|
|
20210
|
-
const obj_targetParentField_union0_error = (() => {
|
|
20211
|
-
if (typeof obj_targetParentField !== 'string') {
|
|
20212
|
-
return new TypeError('Expected "string" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
20213
|
-
}
|
|
20214
|
-
})();
|
|
20215
|
-
if (obj_targetParentField_union0_error != null) {
|
|
20216
|
-
obj_targetParentField_union0 = obj_targetParentField_union0_error.message;
|
|
20217
|
-
}
|
|
20218
|
-
let obj_targetParentField_union1 = null;
|
|
20219
|
-
const obj_targetParentField_union1_error = (() => {
|
|
20220
|
-
if (obj_targetParentField !== null) {
|
|
20221
|
-
return new TypeError('Expected "null" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
|
|
20222
|
-
}
|
|
20223
|
-
})();
|
|
20224
|
-
if (obj_targetParentField_union1_error != null) {
|
|
20225
|
-
obj_targetParentField_union1 = obj_targetParentField_union1_error.message;
|
|
20226
|
-
}
|
|
20227
|
-
if (obj_targetParentField_union0 && obj_targetParentField_union1) {
|
|
20228
|
-
let message = 'Object doesn\'t match union (at "' + path_targetParentField + '")';
|
|
20229
|
-
message += '\n' + obj_targetParentField_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
20230
|
-
message += '\n' + obj_targetParentField_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20231
|
-
return new TypeError(message);
|
|
20232
|
-
}
|
|
20233
20181
|
const obj_targetUrl = obj.targetUrl;
|
|
20234
20182
|
const path_targetUrl = path + '.targetUrl';
|
|
20235
20183
|
let obj_targetUrl_union0 = null;
|
|
@@ -20323,10 +20271,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
20323
20271
|
name: 'lwcComponent',
|
|
20324
20272
|
kind: 'Scalar'
|
|
20325
20273
|
},
|
|
20326
|
-
{
|
|
20327
|
-
name: 'pageDeveloperName',
|
|
20328
|
-
kind: 'Scalar'
|
|
20329
|
-
},
|
|
20330
20274
|
{
|
|
20331
20275
|
name: 'primaryColor',
|
|
20332
20276
|
kind: 'Scalar'
|
|
@@ -20355,10 +20299,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
20355
20299
|
name: 'targetObject',
|
|
20356
20300
|
kind: 'Scalar'
|
|
20357
20301
|
},
|
|
20358
|
-
{
|
|
20359
|
-
name: 'targetParentField',
|
|
20360
|
-
kind: 'Scalar'
|
|
20361
|
-
},
|
|
20362
20302
|
{
|
|
20363
20303
|
name: 'targetUrl',
|
|
20364
20304
|
kind: 'Scalar'
|
|
@@ -20431,11 +20371,6 @@ function equals$W(existing, incoming) {
|
|
|
20431
20371
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
20432
20372
|
return false;
|
|
20433
20373
|
}
|
|
20434
|
-
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
20435
|
-
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
20436
|
-
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
20437
|
-
return false;
|
|
20438
|
-
}
|
|
20439
20374
|
const existing_primaryColor = existing.primaryColor;
|
|
20440
20375
|
const incoming_primaryColor = incoming.primaryColor;
|
|
20441
20376
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -20466,11 +20401,6 @@ function equals$W(existing, incoming) {
|
|
|
20466
20401
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
20467
20402
|
return false;
|
|
20468
20403
|
}
|
|
20469
|
-
const existing_targetParentField = existing.targetParentField;
|
|
20470
|
-
const incoming_targetParentField = incoming.targetParentField;
|
|
20471
|
-
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
20472
|
-
return false;
|
|
20473
|
-
}
|
|
20474
20404
|
const existing_targetUrl = existing.targetUrl;
|
|
20475
20405
|
const incoming_targetUrl = incoming.targetUrl;
|
|
20476
20406
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.440.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.440.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.160.5",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.440.0"
|
|
39
39
|
}
|
|
40
40
|
}
|