@salesforce/lwc-adapters-uiapi 1.437.0 → 1.438.1

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.
Files changed (2) hide show
  1. package/dist/main.js +71 -1
  2. 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 = "3f49d751896cf66e6e29788d8880e2cc";
19880
+ const VERSION$2N = "885c858e27ff690e5f69edc41d68c32b";
19881
19881
  function validate$1A(obj, path = 'PlatformActionRepresentation') {
19882
19882
  const v_error = (() => {
19883
19883
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -20017,6 +20017,32 @@ 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
+ }
20020
20046
  const obj_primaryColor = obj.primaryColor;
20021
20047
  const path_primaryColor = path + '.primaryColor';
20022
20048
  let obj_primaryColor_union0 = null;
@@ -20178,6 +20204,32 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
20178
20204
  message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
20179
20205
  return new TypeError(message);
20180
20206
  }
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
+ }
20181
20233
  const obj_targetUrl = obj.targetUrl;
20182
20234
  const path_targetUrl = path + '.targetUrl';
20183
20235
  let obj_targetUrl_union0 = null;
@@ -20271,6 +20323,10 @@ const select$3q = function PlatformActionRepresentationSelect() {
20271
20323
  name: 'lwcComponent',
20272
20324
  kind: 'Scalar'
20273
20325
  },
20326
+ {
20327
+ name: 'pageDeveloperName',
20328
+ kind: 'Scalar'
20329
+ },
20274
20330
  {
20275
20331
  name: 'primaryColor',
20276
20332
  kind: 'Scalar'
@@ -20299,6 +20355,10 @@ const select$3q = function PlatformActionRepresentationSelect() {
20299
20355
  name: 'targetObject',
20300
20356
  kind: 'Scalar'
20301
20357
  },
20358
+ {
20359
+ name: 'targetParentField',
20360
+ kind: 'Scalar'
20361
+ },
20302
20362
  {
20303
20363
  name: 'targetUrl',
20304
20364
  kind: 'Scalar'
@@ -20371,6 +20431,11 @@ function equals$W(existing, incoming) {
20371
20431
  if (!(existing_lwcComponent === incoming_lwcComponent)) {
20372
20432
  return false;
20373
20433
  }
20434
+ const existing_pageDeveloperName = existing.pageDeveloperName;
20435
+ const incoming_pageDeveloperName = incoming.pageDeveloperName;
20436
+ if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
20437
+ return false;
20438
+ }
20374
20439
  const existing_primaryColor = existing.primaryColor;
20375
20440
  const incoming_primaryColor = incoming.primaryColor;
20376
20441
  if (!(existing_primaryColor === incoming_primaryColor)) {
@@ -20401,6 +20466,11 @@ function equals$W(existing, incoming) {
20401
20466
  if (!(existing_targetObject === incoming_targetObject)) {
20402
20467
  return false;
20403
20468
  }
20469
+ const existing_targetParentField = existing.targetParentField;
20470
+ const incoming_targetParentField = incoming.targetParentField;
20471
+ if (!(existing_targetParentField === incoming_targetParentField)) {
20472
+ return false;
20473
+ }
20404
20474
  const existing_targetUrl = existing.targetUrl;
20405
20475
  const incoming_targetUrl = incoming.targetUrl;
20406
20476
  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.437.0",
3
+ "version": "1.438.1",
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.437.0"
34
+ "@salesforce/lds-adapters-uiapi": "^1.438.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "@luvio/lwc-luvio": "0.160.5",
38
- "@salesforce/lds-default-luvio": "^1.437.0"
38
+ "@salesforce/lds-default-luvio": "^1.438.1"
39
39
  }
40
40
  }