@salesforce/lwc-adapters-uiapi 1.451.0-dev1 → 1.451.0-dev3

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 +1 -106
  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 = "9859bc4e735e831effdc3df4b3b3e415";
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,58 +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
- const obj_targetRecordTypeId = obj.targetRecordTypeId;
20234
- const path_targetRecordTypeId = path + '.targetRecordTypeId';
20235
- let obj_targetRecordTypeId_union0 = null;
20236
- const obj_targetRecordTypeId_union0_error = (() => {
20237
- if (typeof obj_targetRecordTypeId !== 'string') {
20238
- return new TypeError('Expected "string" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
20239
- }
20240
- })();
20241
- if (obj_targetRecordTypeId_union0_error != null) {
20242
- obj_targetRecordTypeId_union0 = obj_targetRecordTypeId_union0_error.message;
20243
- }
20244
- let obj_targetRecordTypeId_union1 = null;
20245
- const obj_targetRecordTypeId_union1_error = (() => {
20246
- if (obj_targetRecordTypeId !== null) {
20247
- return new TypeError('Expected "null" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
20248
- }
20249
- })();
20250
- if (obj_targetRecordTypeId_union1_error != null) {
20251
- obj_targetRecordTypeId_union1 = obj_targetRecordTypeId_union1_error.message;
20252
- }
20253
- if (obj_targetRecordTypeId_union0 && obj_targetRecordTypeId_union1) {
20254
- let message = 'Object doesn\'t match union (at "' + path_targetRecordTypeId + '")';
20255
- message += '\n' + obj_targetRecordTypeId_union0.split('\n').map((line) => '\t' + line).join('\n');
20256
- message += '\n' + obj_targetRecordTypeId_union1.split('\n').map((line) => '\t' + line).join('\n');
20257
- return new TypeError(message);
20258
- }
20259
20181
  const obj_targetUrl = obj.targetUrl;
20260
20182
  const path_targetUrl = path + '.targetUrl';
20261
20183
  let obj_targetUrl_union0 = null;
@@ -20349,10 +20271,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
20349
20271
  name: 'lwcComponent',
20350
20272
  kind: 'Scalar'
20351
20273
  },
20352
- {
20353
- name: 'pageDeveloperName',
20354
- kind: 'Scalar'
20355
- },
20356
20274
  {
20357
20275
  name: 'primaryColor',
20358
20276
  kind: 'Scalar'
@@ -20381,14 +20299,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
20381
20299
  name: 'targetObject',
20382
20300
  kind: 'Scalar'
20383
20301
  },
20384
- {
20385
- name: 'targetParentField',
20386
- kind: 'Scalar'
20387
- },
20388
- {
20389
- name: 'targetRecordTypeId',
20390
- kind: 'Scalar'
20391
- },
20392
20302
  {
20393
20303
  name: 'targetUrl',
20394
20304
  kind: 'Scalar'
@@ -20461,11 +20371,6 @@ function equals$W(existing, incoming) {
20461
20371
  if (!(existing_lwcComponent === incoming_lwcComponent)) {
20462
20372
  return false;
20463
20373
  }
20464
- const existing_pageDeveloperName = existing.pageDeveloperName;
20465
- const incoming_pageDeveloperName = incoming.pageDeveloperName;
20466
- if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
20467
- return false;
20468
- }
20469
20374
  const existing_primaryColor = existing.primaryColor;
20470
20375
  const incoming_primaryColor = incoming.primaryColor;
20471
20376
  if (!(existing_primaryColor === incoming_primaryColor)) {
@@ -20496,16 +20401,6 @@ function equals$W(existing, incoming) {
20496
20401
  if (!(existing_targetObject === incoming_targetObject)) {
20497
20402
  return false;
20498
20403
  }
20499
- const existing_targetParentField = existing.targetParentField;
20500
- const incoming_targetParentField = incoming.targetParentField;
20501
- if (!(existing_targetParentField === incoming_targetParentField)) {
20502
- return false;
20503
- }
20504
- const existing_targetRecordTypeId = existing.targetRecordTypeId;
20505
- const incoming_targetRecordTypeId = incoming.targetRecordTypeId;
20506
- if (!(existing_targetRecordTypeId === incoming_targetRecordTypeId)) {
20507
- return false;
20508
- }
20509
20404
  const existing_targetUrl = existing.targetUrl;
20510
20405
  const incoming_targetUrl = incoming.targetUrl;
20511
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.451.0-dev1",
3
+ "version": "1.451.0-dev3",
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.451.0-dev1"
34
+ "@salesforce/lds-adapters-uiapi": "^1.451.0-dev3"
35
35
  },
36
36
  "dependencies": {
37
37
  "@luvio/lwc-luvio": "0.161.0",
38
- "@salesforce/lds-default-luvio": "^1.451.0-dev1"
38
+ "@salesforce/lds-default-luvio": "^1.451.0-dev3"
39
39
  }
40
40
  }