@salesforce/lds-ads-bridge 1.248.0 → 1.250.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.
@@ -16,12 +16,15 @@ var SnapshotState;
16
16
  const { create: create$1, entries, freeze: freeze$1, keys: keys$2, values } = Object;
17
17
  const { isArray: isArray$1 } = Array;
18
18
  const { parse: parse$1, stringify: stringify$1 } = JSON;
19
+ const WeakSetCtor = WeakSet;
19
20
 
21
+ const deeplyFrozen = new WeakSetCtor();
20
22
  function deepFreeze(value) {
21
- // No need to freeze primitives
22
- if (typeof value !== 'object' || value === null) {
23
+ // No need to freeze primitives or already frozen stuff
24
+ if (typeof value !== 'object' || value === null || deeplyFrozen.has(value)) {
23
25
  return;
24
26
  }
27
+ deeplyFrozen.add(value);
25
28
  if (isArray$1(value)) {
26
29
  for (let i = 0, len = value.length; i < len; i += 1) {
27
30
  deepFreeze(value[i]);
@@ -427,7 +430,7 @@ function createResourceParamsImpl(config, configMetadata) {
427
430
  }
428
431
  return resourceParams;
429
432
  }
430
- // engine version: 0.151.1-fc3a996e
433
+ // engine version: 0.152.2-f6f687b3
431
434
 
432
435
  /**
433
436
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -475,7 +478,7 @@ const callbacks$1 = [];
475
478
  function register(r) {
476
479
  callbacks$1.forEach((callback) => callback(r));
477
480
  }
478
- // version: 1.248.0-1f7f01112
481
+ // version: 1.250.0-9df9bc3d1
479
482
 
480
483
  /**
481
484
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -4916,8 +4919,8 @@ function toSortedStringArray(value) {
4916
4919
  return undefined;
4917
4920
  }
4918
4921
 
4919
- const VERSION$2o = "d1e589a127fb1060c89070cdb6f500b2";
4920
- function validate$1L(obj, path = 'RecordTypeInfoRepresentation') {
4922
+ const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
4923
+ function validate$1K(obj, path = 'RecordTypeInfoRepresentation') {
4921
4924
  const v_error = (() => {
4922
4925
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
4923
4926
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -4950,10 +4953,10 @@ function validate$1L(obj, path = 'RecordTypeInfoRepresentation') {
4950
4953
  })();
4951
4954
  return v_error === undefined ? null : v_error;
4952
4955
  }
4953
- const select$2$ = function RecordTypeInfoRepresentationSelect() {
4956
+ const select$2W = function RecordTypeInfoRepresentationSelect() {
4954
4957
  return {
4955
4958
  kind: 'Fragment',
4956
- version: VERSION$2o,
4959
+ version: VERSION$2j,
4957
4960
  private: [],
4958
4961
  selections: [
4959
4962
  {
@@ -4979,7 +4982,7 @@ const select$2$ = function RecordTypeInfoRepresentationSelect() {
4979
4982
  ]
4980
4983
  };
4981
4984
  };
4982
- function equals$16(existing, incoming) {
4985
+ function equals$14(existing, incoming) {
4983
4986
  const existing_available = existing.available;
4984
4987
  const incoming_available = incoming.available;
4985
4988
  if (!(existing_available === incoming_available)) {
@@ -5008,8 +5011,8 @@ function equals$16(existing, incoming) {
5008
5011
  return true;
5009
5012
  }
5010
5013
 
5011
- const VERSION$2n = "195d918987a35f45e1aa4dce9a11d8c5";
5012
- function validate$1K(obj, path = 'FieldValueRepresentation') {
5014
+ const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
5015
+ function validate$1J(obj, path = 'FieldValueRepresentation') {
5013
5016
  const v_error = (() => {
5014
5017
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5015
5018
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5100,10 +5103,10 @@ function validate$1K(obj, path = 'FieldValueRepresentation') {
5100
5103
  return v_error === undefined ? null : v_error;
5101
5104
  }
5102
5105
  const RepresentationType$Y = 'FieldValueRepresentation';
5103
- const select$2_ = function FieldValueRepresentationSelect() {
5106
+ const select$2V = function FieldValueRepresentationSelect() {
5104
5107
  return {
5105
5108
  kind: 'Fragment',
5106
- version: VERSION$2n,
5109
+ version: VERSION$2i,
5107
5110
  private: [],
5108
5111
  selections: [
5109
5112
  {
@@ -5114,12 +5117,12 @@ const select$2_ = function FieldValueRepresentationSelect() {
5114
5117
  name: 'value',
5115
5118
  kind: 'Link',
5116
5119
  nullable: true,
5117
- fragment: select$2Y()
5120
+ fragment: select$2T()
5118
5121
  }
5119
5122
  ]
5120
5123
  };
5121
5124
  };
5122
- function equals$15(existing, incoming) {
5125
+ function equals$13(existing, incoming) {
5123
5126
  const existing_displayValue = existing.displayValue;
5124
5127
  const incoming_displayValue = incoming.displayValue;
5125
5128
  if (!(existing_displayValue === incoming_displayValue)) {
@@ -5177,8 +5180,8 @@ const getTypeCacheKeys$1X = (rootKeySet, luvio, input, _fullPathFactory) => {
5177
5180
  };
5178
5181
 
5179
5182
  const TTL$D = 120000;
5180
- const VERSION$2m = "79cb5ac9f44542f683d00245fdfe500d";
5181
- function validate$1J(obj, path = 'RecordCollectionRepresentation') {
5183
+ const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
5184
+ function validate$1I(obj, path = 'RecordCollectionRepresentation') {
5182
5185
  const v_error = (() => {
5183
5186
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5184
5187
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5358,10 +5361,10 @@ function normalize$Q(input, existing, path, luvio, store, timestamp) {
5358
5361
  }
5359
5362
  return input;
5360
5363
  }
5361
- const select$2Z = function RecordCollectionRepresentationSelect() {
5364
+ const select$2U = function RecordCollectionRepresentationSelect() {
5362
5365
  return {
5363
5366
  kind: 'Fragment',
5364
- version: VERSION$2m,
5367
+ version: VERSION$2h,
5365
5368
  private: [],
5366
5369
  selections: [
5367
5370
  {
@@ -5396,12 +5399,12 @@ const select$2Z = function RecordCollectionRepresentationSelect() {
5396
5399
  name: 'records',
5397
5400
  kind: 'Link',
5398
5401
  plural: true,
5399
- fragment: select$2Y()
5402
+ fragment: select$2T()
5400
5403
  }
5401
5404
  ]
5402
5405
  };
5403
5406
  };
5404
- function equals$14(existing, incoming) {
5407
+ function equals$12(existing, incoming) {
5405
5408
  const existing_count = existing.count;
5406
5409
  const incoming_count = incoming.count;
5407
5410
  if (!(existing_count === incoming_count)) {
@@ -5451,14 +5454,14 @@ function equals$14(existing, incoming) {
5451
5454
  }
5452
5455
  const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
5453
5456
  if (process.env.NODE_ENV !== 'production') {
5454
- const validateError = validate$1J(input);
5457
+ const validateError = validate$1I(input);
5455
5458
  if (validateError !== null) {
5456
5459
  throw validateError;
5457
5460
  }
5458
5461
  }
5459
5462
  const key = path.fullPath;
5460
5463
  const ttlToUse = TTL$D;
5461
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$2m, RepresentationType$X, equals$14);
5464
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$2h, RepresentationType$X, equals$12);
5462
5465
  return createLink$1(key);
5463
5466
  };
5464
5467
  function getTypeCacheKeys$1W(rootKeySet, luvio, input, fullPathFactory) {
@@ -5486,8 +5489,8 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
5486
5489
  };
5487
5490
 
5488
5491
  const TTL$C = 30000;
5489
- const VERSION$2l = "98c5b18512e48ca8d28727549507e4ba";
5490
- function validate$1I(obj, path = 'RecordRepresentation') {
5492
+ const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
5493
+ function validate$1H(obj, path = 'RecordRepresentation') {
5491
5494
  const v_error = (() => {
5492
5495
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
5493
5496
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -5617,7 +5620,7 @@ function validate$1I(obj, path = 'RecordRepresentation') {
5617
5620
  const path_recordTypeInfo = path + '.recordTypeInfo';
5618
5621
  let obj_recordTypeInfo_union0 = null;
5619
5622
  const obj_recordTypeInfo_union0_error = (() => {
5620
- const referencepath_recordTypeInfoValidationError = validate$1L(obj_recordTypeInfo, path_recordTypeInfo);
5623
+ const referencepath_recordTypeInfoValidationError = validate$1K(obj_recordTypeInfo, path_recordTypeInfo);
5621
5624
  if (referencepath_recordTypeInfoValidationError !== null) {
5622
5625
  let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
5623
5626
  message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -5729,11 +5732,11 @@ function dynamicNormalize$5(ingestParams) {
5729
5732
  return input;
5730
5733
  };
5731
5734
  }
5732
- const select$2Y = function RecordRepresentationSelect() {
5733
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5735
+ const select$2T = function RecordRepresentationSelect() {
5736
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2W();
5734
5737
  return {
5735
5738
  kind: 'Fragment',
5736
- version: VERSION$2l,
5739
+ version: VERSION$2g,
5737
5740
  private: [
5738
5741
  'eTag',
5739
5742
  'weakEtag'
@@ -5747,13 +5750,13 @@ const select$2Y = function RecordRepresentationSelect() {
5747
5750
  name: 'childRelationships',
5748
5751
  kind: 'Link',
5749
5752
  map: true,
5750
- fragment: select$2Z()
5753
+ fragment: select$2U()
5751
5754
  },
5752
5755
  {
5753
5756
  name: 'fields',
5754
5757
  kind: 'Link',
5755
5758
  map: true,
5756
- fragment: select$2_()
5759
+ fragment: select$2V()
5757
5760
  },
5758
5761
  {
5759
5762
  name: 'id',
@@ -5789,18 +5792,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5789
5792
  name: 'childRelationships',
5790
5793
  kind: 'Link',
5791
5794
  map: true,
5792
- fragment: select$2Z()
5795
+ fragment: select$2U()
5793
5796
  } : params.childRelationships;
5794
5797
  const fieldsPathSelection = params.fields === undefined ? {
5795
5798
  name: 'fields',
5796
5799
  kind: 'Link',
5797
5800
  map: true,
5798
- fragment: select$2_()
5801
+ fragment: select$2V()
5799
5802
  } : params.fields;
5800
- const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2$();
5803
+ const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2W();
5801
5804
  return {
5802
5805
  kind: 'Fragment',
5803
- version: VERSION$2l,
5806
+ version: VERSION$2g,
5804
5807
  private: [
5805
5808
  'eTag',
5806
5809
  'weakEtag'
@@ -5841,7 +5844,7 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
5841
5844
  ]
5842
5845
  };
5843
5846
  };
5844
- function equals$13(existing, incoming) {
5847
+ function equals$11(existing, incoming) {
5845
5848
  const existing_weakEtag = existing.weakEtag;
5846
5849
  const incoming_weakEtag = incoming.weakEtag;
5847
5850
  if (!(existing_weakEtag === incoming_weakEtag)) {
@@ -5902,7 +5905,7 @@ function equals$13(existing, incoming) {
5902
5905
  if (!(existing_recordTypeInfo === incoming_recordTypeInfo
5903
5906
  || (existing_recordTypeInfo != null &&
5904
5907
  incoming_recordTypeInfo != null &&
5905
- equals$16(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
5908
+ equals$14(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
5906
5909
  return false;
5907
5910
  }
5908
5911
  const existing_systemModstamp = existing.systemModstamp;
@@ -7279,7 +7282,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7279
7282
  kind: 'Fragment',
7280
7283
  private: ['eTag', 'weakEtag'],
7281
7284
  selections: createRecordSelection(childFieldDefinition),
7282
- version: VERSION$2l,
7285
+ version: VERSION$2g,
7283
7286
  },
7284
7287
  };
7285
7288
  }
@@ -7289,7 +7292,7 @@ function createPathSelection(propertyName, fieldDefinition) {
7289
7292
  required: childFieldDefinition.optional === true ? false : undefined,
7290
7293
  fragment: {
7291
7294
  kind: 'Fragment',
7292
- version: VERSION$2n,
7295
+ version: VERSION$2i,
7293
7296
  private: [],
7294
7297
  selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
7295
7298
  },
@@ -7594,22 +7597,12 @@ function _markMissingPath(record, path) {
7594
7597
  const fieldValueRepresentation = record.object('fields');
7595
7598
  const fieldName = path.shift();
7596
7599
  if (fieldValueRepresentation.isUndefined(fieldName) === true) {
7597
- // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7598
- // an undefined/non-present __ref if isMissing is present
7599
- fieldValueRepresentation.write(fieldName, {
7600
- __ref: undefined,
7601
- isMissing: true,
7602
- });
7600
+ writeMissingFieldToStore(fieldValueRepresentation, fieldName);
7603
7601
  return;
7604
7602
  }
7605
7603
  const link = fieldValueRepresentation.link(fieldName);
7606
7604
  if (link.isPending()) {
7607
- // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7608
- // an undefined/non-present __ref if isMissing is present
7609
- fieldValueRepresentation.write(fieldName, {
7610
- __ref: undefined,
7611
- isMissing: true,
7612
- });
7605
+ writeMissingFieldToStore(fieldValueRepresentation, fieldName);
7613
7606
  }
7614
7607
  else if (path.length > 0 && link.isMissing() === false) {
7615
7608
  const fieldValue = link.follow();
@@ -7625,6 +7618,19 @@ function _markMissingPath(record, path) {
7625
7618
  }
7626
7619
  }
7627
7620
  }
7621
+ /**
7622
+ * Graph Node Directly modifies store entries, which is generally a non-starter.
7623
+ * Until we can refactor this mess, you need to use this function to safely mark the RecordRepresentation
7624
+ * as a seenId in the store when you perform this mutation.
7625
+ */
7626
+ function writeMissingFieldToStore(field, fieldName) {
7627
+ // TODO [W-6900046]: remove cast, make RecordRepresentationNormalized['fields'] accept
7628
+ // an undefined/non-present __ref if isMissing is present
7629
+ field.write(fieldName, {
7630
+ __ref: undefined,
7631
+ isMissing: true,
7632
+ });
7633
+ }
7628
7634
  /**
7629
7635
  * Tells you if an objectApiName is supported by UI API or not.
7630
7636
  * Note: Luvio does not currently support all the entities, the list is limited to UI API supported entities
@@ -7756,8 +7762,11 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
7756
7762
  return existing;
7757
7763
  }
7758
7764
  function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7759
- const incomingNode = luvio.wrapNormalizedGraphNode(incoming);
7760
- const existingNode = luvio.wrapNormalizedGraphNode(existing);
7765
+ const recordKey = keyBuilder$3b(luvio, {
7766
+ recordId: incoming.id,
7767
+ });
7768
+ const incomingNode = luvio.wrapNormalizedGraphNode(incoming, recordKey);
7769
+ const existingNode = luvio.wrapNormalizedGraphNode(existing, recordKey);
7761
7770
  const incomingTrackedFieldsTrieRoot = {
7762
7771
  name: incoming.apiName,
7763
7772
  children: {},
@@ -7766,9 +7775,6 @@ function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
7766
7775
  name: existing.apiName,
7767
7776
  children: {},
7768
7777
  };
7769
- const recordKey = keyBuilder$3b(luvio, {
7770
- recordId: incoming.id,
7771
- });
7772
7778
  const trackedFieldsConfig = {
7773
7779
  maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMergeConflict(),
7774
7780
  onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
@@ -7932,7 +7938,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
7932
7938
  function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7933
7939
  return (input, path, luvio, store, timestamp) => {
7934
7940
  if (process.env.NODE_ENV !== 'production') {
7935
- const validateError = validate$1K(input);
7941
+ const validateError = validate$1J(input);
7936
7942
  if (validateError !== null) {
7937
7943
  throw validateError;
7938
7944
  }
@@ -7947,7 +7953,7 @@ function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
7947
7953
  // read again after children ingested in case of a circular ref
7948
7954
  existingRecord = store.readEntry(key);
7949
7955
  incomingRecord = merge$2(existingRecord, incomingRecord, luvio, path);
7950
- if (existingRecord === undefined || equals$15(existingRecord, incomingRecord) === false) {
7956
+ if (existingRecord === undefined || equals$13(existingRecord, incomingRecord) === false) {
7951
7957
  luvio.storePublish(key, incomingRecord);
7952
7958
  }
7953
7959
  return createLink$1(key);
@@ -8025,7 +8031,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8025
8031
  const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
8026
8032
  return (input, path, luvio, store, timestamp) => {
8027
8033
  if (process.env.NODE_ENV !== 'production') {
8028
- const validateError = validate$1I(input);
8034
+ const validateError = validate$1H(input);
8029
8035
  if (validateError !== null) {
8030
8036
  throw validateError;
8031
8037
  }
@@ -8043,7 +8049,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8043
8049
  existingRecord = store.readEntry(key);
8044
8050
  incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
8045
8051
  if (existingRecord === undefined ||
8046
- equals$13(existingRecord, incomingRecord) === false ||
8052
+ equals$11(existingRecord, incomingRecord) === false ||
8047
8053
  // always publish if existing record has drafts
8048
8054
  existingRecord.drafts !==
8049
8055
  undefined) {
@@ -8053,7 +8059,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
8053
8059
  ttl: TTL$C,
8054
8060
  representationName: RepresentationType$W,
8055
8061
  namespace: keyPrefix,
8056
- version: VERSION$2l,
8062
+ version: VERSION$2g,
8057
8063
  });
8058
8064
  return createLink$1(key);
8059
8065
  };
@@ -8191,7 +8197,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
8191
8197
  kind: 'Fragment',
8192
8198
  private: ['eTag', 'weakEtag'],
8193
8199
  selections: buildSelectionFromFields(fields, optionalFields),
8194
- version: VERSION$2l,
8200
+ version: VERSION$2g,
8195
8201
  },
8196
8202
  variables: {},
8197
8203
  };
@@ -8276,7 +8282,7 @@ function isSingleBatchRecordResponse(response) {
8276
8282
  response.results.length === 1);
8277
8283
  }
8278
8284
 
8279
- const VERSION$2k = "98cce53b8d13b1883d001bbdaab24383";
8285
+ const VERSION$2f = "98cce53b8d13b1883d001bbdaab24383";
8280
8286
 
8281
8287
  const nonCachedErrors$8 = ObjectCreate$1(null);
8282
8288
  function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
@@ -8377,7 +8383,7 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
8377
8383
  node: {
8378
8384
  kind: 'Fragment',
8379
8385
  private: [],
8380
- version: VERSION$2k,
8386
+ version: VERSION$2f,
8381
8387
  },
8382
8388
  variables: {},
8383
8389
  });
@@ -8768,7 +8774,7 @@ function keyBuilder$2Y(luvio, config) {
8768
8774
  return keyPrefix + '::' + RepresentationType$R + ':' + config.apiName;
8769
8775
  }
8770
8776
 
8771
- var DiscriminatorValues$4;
8777
+ var DiscriminatorValues$5;
8772
8778
  (function (DiscriminatorValues) {
8773
8779
  DiscriminatorValues["EmptySpace"] = "EmptySpace";
8774
8780
  DiscriminatorValues["ReportChart"] = "ReportChart";
@@ -8776,7 +8782,7 @@ var DiscriminatorValues$4;
8776
8782
  DiscriminatorValues["Canvas"] = "Canvas";
8777
8783
  DiscriminatorValues["Field"] = "Field";
8778
8784
  DiscriminatorValues["CustomLink"] = "CustomLink";
8779
- })(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
8785
+ })(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
8780
8786
 
8781
8787
  var LayoutMode;
8782
8788
  (function (LayoutMode) {
@@ -8806,12 +8812,12 @@ ObjectCreate$1(null);
8806
8812
 
8807
8813
  ObjectCreate$1(null);
8808
8814
 
8809
- const VERSION$1O = "8d2032474fb4fabdf5cf4042be9042d9";
8810
- const select$1$ = function WorkStepPicklistValueAttributeRepresentationSelect() {
8811
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
8815
+ const VERSION$1J = "8d2032474fb4fabdf5cf4042be9042d9";
8816
+ const select$1W = function WorkStepPicklistValueAttributeRepresentationSelect() {
8817
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8812
8818
  return {
8813
8819
  kind: 'Fragment',
8814
- version: VERSION$1O,
8820
+ version: VERSION$1J,
8815
8821
  private: [],
8816
8822
  selections: [
8817
8823
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -8827,12 +8833,12 @@ const select$1$ = function WorkStepPicklistValueAttributeRepresentationSelect()
8827
8833
  };
8828
8834
  };
8829
8835
 
8830
- const VERSION$1N = "53893a219bc0888951863f2c44317cac";
8831
- const select$1_ = function LeadStatusPicklistValueAttributesRepresentationSelect() {
8832
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
8836
+ const VERSION$1I = "53893a219bc0888951863f2c44317cac";
8837
+ const select$1V = function LeadStatusPicklistValueAttributesRepresentationSelect() {
8838
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8833
8839
  return {
8834
8840
  kind: 'Fragment',
8835
- version: VERSION$1N,
8841
+ version: VERSION$1I,
8836
8842
  private: [],
8837
8843
  selections: [
8838
8844
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -8844,12 +8850,12 @@ const select$1_ = function LeadStatusPicklistValueAttributesRepresentationSelect
8844
8850
  };
8845
8851
  };
8846
8852
 
8847
- const VERSION$1M = "4818ec07c499784571c1012ead048c88";
8848
- const select$1Z = function CaseStatusPicklistValueAttributesRepresentationSelect() {
8849
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
8853
+ const VERSION$1H = "4818ec07c499784571c1012ead048c88";
8854
+ const select$1U = function CaseStatusPicklistValueAttributesRepresentationSelect() {
8855
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8850
8856
  return {
8851
8857
  kind: 'Fragment',
8852
- version: VERSION$1M,
8858
+ version: VERSION$1H,
8853
8859
  private: [],
8854
8860
  selections: [
8855
8861
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -8861,12 +8867,12 @@ const select$1Z = function CaseStatusPicklistValueAttributesRepresentationSelect
8861
8867
  };
8862
8868
  };
8863
8869
 
8864
- const VERSION$1L = "950a3a962acbd2b128f937d4c055a9d6";
8865
- const select$1Y = function OpportunityStagePicklistValueAttributesRepresentationSelect() {
8866
- const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1X();
8870
+ const VERSION$1G = "950a3a962acbd2b128f937d4c055a9d6";
8871
+ const select$1T = function OpportunityStagePicklistValueAttributesRepresentationSelect() {
8872
+ const { selections: AbstractPicklistValueAttributesRepresentationSelections } = select$1S();
8867
8873
  return {
8868
8874
  kind: 'Fragment',
8869
- version: VERSION$1L,
8875
+ version: VERSION$1G,
8870
8876
  private: [],
8871
8877
  selections: [
8872
8878
  ...AbstractPicklistValueAttributesRepresentationSelections,
@@ -8890,35 +8896,35 @@ const select$1Y = function OpportunityStagePicklistValueAttributesRepresentation
8890
8896
  };
8891
8897
  };
8892
8898
 
8893
- var DiscriminatorValues$3;
8899
+ var DiscriminatorValues$4;
8894
8900
  (function (DiscriminatorValues) {
8895
8901
  DiscriminatorValues["WorkStepStatus"] = "WorkStepStatus";
8896
8902
  DiscriminatorValues["LeadStatus"] = "LeadStatus";
8897
8903
  DiscriminatorValues["CaseStatus"] = "CaseStatus";
8898
8904
  DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
8899
- })(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
8900
- const VERSION$1K = "bd523b2343366edfc25a2dbee2c4e986";
8901
- const selectChildren$3 = function AbstractPicklistValueAttributesRepresentationSelectChildren() {
8902
- const workStepPicklistValueAttributeRepresentationSelections = select$1$();
8903
- const leadStatusPicklistValueAttributesRepresentationSelections = select$1_();
8904
- const caseStatusPicklistValueAttributesRepresentationSelections = select$1Z();
8905
- const opportunityStagePicklistValueAttributesRepresentationSelections = select$1Y();
8905
+ })(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
8906
+ const VERSION$1F = "bd523b2343366edfc25a2dbee2c4e986";
8907
+ const selectChildren$2 = function AbstractPicklistValueAttributesRepresentationSelectChildren() {
8908
+ const workStepPicklistValueAttributeRepresentationSelections = select$1W();
8909
+ const leadStatusPicklistValueAttributesRepresentationSelections = select$1V();
8910
+ const caseStatusPicklistValueAttributesRepresentationSelections = select$1U();
8911
+ const opportunityStagePicklistValueAttributesRepresentationSelections = select$1T();
8906
8912
  return {
8907
8913
  kind: 'Fragment',
8908
8914
  union: true,
8909
8915
  discriminator: 'picklistAtrributesValueType',
8910
8916
  unionSelections: {
8911
- [DiscriminatorValues$3.WorkStepStatus]: workStepPicklistValueAttributeRepresentationSelections,
8912
- [DiscriminatorValues$3.LeadStatus]: leadStatusPicklistValueAttributesRepresentationSelections,
8913
- [DiscriminatorValues$3.CaseStatus]: caseStatusPicklistValueAttributesRepresentationSelections,
8914
- [DiscriminatorValues$3.OpportunityStage]: opportunityStagePicklistValueAttributesRepresentationSelections
8917
+ [DiscriminatorValues$4.WorkStepStatus]: workStepPicklistValueAttributeRepresentationSelections,
8918
+ [DiscriminatorValues$4.LeadStatus]: leadStatusPicklistValueAttributesRepresentationSelections,
8919
+ [DiscriminatorValues$4.CaseStatus]: caseStatusPicklistValueAttributesRepresentationSelections,
8920
+ [DiscriminatorValues$4.OpportunityStage]: opportunityStagePicklistValueAttributesRepresentationSelections
8915
8921
  }
8916
8922
  };
8917
8923
  };
8918
- const select$1X = function AbstractPicklistValueAttributesRepresentationSelect() {
8924
+ const select$1S = function AbstractPicklistValueAttributesRepresentationSelect() {
8919
8925
  return {
8920
8926
  kind: 'Fragment',
8921
- version: VERSION$1K,
8927
+ version: VERSION$1F,
8922
8928
  private: [],
8923
8929
  selections: [
8924
8930
  {
@@ -8929,12 +8935,12 @@ const select$1X = function AbstractPicklistValueAttributesRepresentationSelect()
8929
8935
  };
8930
8936
  };
8931
8937
 
8932
- const VERSION$1J = "9e2a16a80378487f557124c771201cf9";
8933
- const select$1W = function PicklistValueRepresentationSelect() {
8934
- const AbstractPicklistValueAttributesRepresentation__unionSelections = selectChildren$3();
8938
+ const VERSION$1E = "9e2a16a80378487f557124c771201cf9";
8939
+ const select$1R = function PicklistValueRepresentationSelect() {
8940
+ const AbstractPicklistValueAttributesRepresentation__unionSelections = selectChildren$2();
8935
8941
  return {
8936
8942
  kind: 'Fragment',
8937
- version: VERSION$1J,
8943
+ version: VERSION$1E,
8938
8944
  private: [],
8939
8945
  selections: [
8940
8946
  {
@@ -8961,12 +8967,12 @@ const select$1W = function PicklistValueRepresentationSelect() {
8961
8967
  ]
8962
8968
  };
8963
8969
  };
8964
- const VERSION$1I = "0a361a49370acb4c6a31721a2057649a";
8965
- const select$1V = function PicklistValuesRepresentationSelect() {
8966
- const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$1W();
8970
+ const VERSION$1D = "0a361a49370acb4c6a31721a2057649a";
8971
+ const select$1Q = function PicklistValuesRepresentationSelect() {
8972
+ const { selections: PicklistValueRepresentation__selections, opaque: PicklistValueRepresentation__opaque, } = select$1R();
8967
8973
  return {
8968
8974
  kind: 'Fragment',
8969
- version: VERSION$1I,
8975
+ version: VERSION$1D,
8970
8976
  private: [
8971
8977
  'eTag'
8972
8978
  ],
@@ -8996,13 +9002,13 @@ const select$1V = function PicklistValuesRepresentationSelect() {
8996
9002
  };
8997
9003
  };
8998
9004
 
8999
- select$1V().selections;
9005
+ select$1Q().selections;
9000
9006
 
9001
- var DiscriminatorValues$2;
9007
+ var DiscriminatorValues$3;
9002
9008
  (function (DiscriminatorValues) {
9003
9009
  DiscriminatorValues["Photo"] = "Photo";
9004
9010
  DiscriminatorValues["Theme"] = "Theme";
9005
- })(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
9011
+ })(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
9006
9012
 
9007
9013
  ObjectCreate$1(null);
9008
9014
 
@@ -9012,10 +9018,16 @@ ObjectCreate$1(null);
9012
9018
 
9013
9019
  ObjectCreate$1(null);
9014
9020
 
9015
- var DiscriminatorValues;
9021
+ var DiscriminatorValues$1;
9016
9022
  (function (DiscriminatorValues) {
9017
- DiscriminatorValues["Select"] = "Select";
9018
9023
  DiscriminatorValues["Text"] = "Text";
9024
+ DiscriminatorValues["Select"] = "Select";
9025
+ })(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
9026
+
9027
+ var DiscriminatorValues;
9028
+ (function (DiscriminatorValues) {
9029
+ DiscriminatorValues["Field"] = "Field";
9030
+ DiscriminatorValues["DataCategory"] = "DataCategory";
9019
9031
  })(DiscriminatorValues || (DiscriminatorValues = {}));
9020
9032
 
9021
9033
  const API_NAMESPACE = 'UiApi';
package/dist/adsBridge.js CHANGED
@@ -372,4 +372,4 @@ function withAdsBridge(callback) {
372
372
  }
373
373
 
374
374
  export { instrument, withAdsBridge };
375
- // version: 1.248.0-1f7f01112
375
+ // version: 1.250.0-9df9bc3d1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-ads-bridge",
3
- "version": "1.248.0",
3
+ "version": "1.250.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Bridge to sync data between LDS and ADS",
6
6
  "main": "dist/adsBridge.js",