@uniformdev/canvas 20.85.0 → 20.86.1-alpha.1.sha-047a8346cd

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/index.esm.js CHANGED
@@ -225,6 +225,7 @@ var CANVAS_PERSONALIZE_TYPE = "$personalization";
225
225
  var CANVAS_TEST_TYPE = "$test";
226
226
  var CANVAS_LOCALIZATION_TYPE = "$localization";
227
227
  var CANVAS_SLOT_SECTION_TYPE = "$slotSection";
228
+ var CANVAS_LOOP_TYPE = "$loop";
228
229
  var CANVAS_INTENT_TAG_PARAM = "intentTag";
229
230
  var CANVAS_LOCALE_TAG_PARAM = "locale";
230
231
  var CANVAS_BLOCK_PARAM_TYPE = "$block";
@@ -232,6 +233,9 @@ var CANVAS_PERSONALIZE_SLOT = "pz";
232
233
  var CANVAS_TEST_SLOT = "test";
233
234
  var CANVAS_LOCALIZATION_SLOT = "localized";
234
235
  var CANVAS_SLOT_SECTION_SLOT = "$slotSectionItems";
236
+ var CANVAS_LOOP_SLOT = "body";
237
+ var CANVAS_LOOP_DATA_TYPE = "sys-reserved-loop";
238
+ var CANVAS_ALIAS_DATA_TYPE = "sys-reserved-alias";
235
239
  var CANVAS_SLOT_SECTION_NAME_PARAM = "name";
236
240
  var CANVAS_SLOT_SECTION_MIN_PARAM = "min";
237
241
  var CANVAS_SLOT_SECTION_MAX_PARAM = "max";
@@ -4059,11 +4063,236 @@ function handleRichTextNodeBinding(object, options) {
4059
4063
  return void 0;
4060
4064
  }
4061
4065
 
4066
+ // src/utils/wellKnownSystemComponentParameters.ts
4067
+ var wellKnownSystemComponentParameters = [
4068
+ {
4069
+ id: CANVAS_COMPONENT_DISPLAY_NAME_PARAM,
4070
+ name: "Display Name",
4071
+ type: "text"
4072
+ },
4073
+ {
4074
+ id: CANVAS_INTENT_TAG_PARAM,
4075
+ name: "Intent Tag",
4076
+ type: "intentTag"
4077
+ },
4078
+ {
4079
+ id: CANVAS_LOCALE_TAG_PARAM,
4080
+ name: "Locale Visibility",
4081
+ type: "localeSelect"
4082
+ },
4083
+ {
4084
+ id: CANVAS_PERSONALIZATION_PARAM,
4085
+ name: "Personalization Criteria",
4086
+ type: CANVAS_PERSONALIZATION_PARAM
4087
+ },
4088
+ {
4089
+ id: CANVAS_ENRICHMENT_TAG_PARAM,
4090
+ name: "Enrichment Tags",
4091
+ type: CANVAS_ENRICHMENT_TAG_PARAM,
4092
+ helpText: "Seeing this component will increase a visitor's score in these enrichments."
4093
+ },
4094
+ {
4095
+ id: CANVAS_TEST_VARIANT_PARAM,
4096
+ name: "A/B Test",
4097
+ type: "testVariant"
4098
+ },
4099
+ {
4100
+ id: CANVAS_VIZ_CONTROL_PARAM,
4101
+ name: "Visibility Control",
4102
+ type: CANVAS_VIZ_CONTROL_PARAM
4103
+ }
4104
+ ];
4105
+
4106
+ // src/utils/wellKnownSystemComponents.ts
4107
+ var wellKnownSystemComponents = [
4108
+ {
4109
+ id: CANVAS_PERSONALIZE_TYPE,
4110
+ name: "Personalization",
4111
+ icon: "track",
4112
+ titleParameter: CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
4113
+ description: "Contains components that will be shown to visitors based on configurable personalization criteria.",
4114
+ slots: [
4115
+ {
4116
+ id: CANVAS_PERSONALIZE_SLOT,
4117
+ inheritAllowedComponents: true,
4118
+ name: "Personalized Variations",
4119
+ allowedComponents: []
4120
+ }
4121
+ ],
4122
+ parameters: [
4123
+ {
4124
+ id: CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
4125
+ name: "Analytics tracking name",
4126
+ type: "text",
4127
+ typeConfig: {
4128
+ required: true,
4129
+ caption: "Will be sent to your analytics tool. We recommend not changing this once the composition is published."
4130
+ }
4131
+ },
4132
+ {
4133
+ id: CANVAS_PERSONALIZATION_ALGORITHM_PARAM,
4134
+ name: "Selection method",
4135
+ type: CANVAS_PERSONALIZATION_ALGORITHM_TYPE,
4136
+ typeConfig: {
4137
+ required: true
4138
+ }
4139
+ },
4140
+ {
4141
+ id: CANVAS_PERSONALIZATION_TAKE_PARAM,
4142
+ name: "Number of variations to select",
4143
+ type: "number",
4144
+ typeConfig: {
4145
+ regex: "^[0-9]+$",
4146
+ regexMessage: "Please enter a whole number",
4147
+ placeholder: "1"
4148
+ }
4149
+ },
4150
+ {
4151
+ id: CANVAS_HYPOTHESIS_PARAM,
4152
+ name: "Hypothesis",
4153
+ type: "richText",
4154
+ typeConfig: {
4155
+ formatting: {
4156
+ builtIn: ["bold", "italic", "underline"]
4157
+ },
4158
+ elements: {
4159
+ builtIn: ["unorderedList", "orderedList"]
4160
+ }
4161
+ },
4162
+ helpText: "Document the hypothesis or reasoning behind this personalization strategy.",
4163
+ guidance: "Document the hypothesis or reasoning behind this personalization strategy. Not localizable; do not pass a locale when editing."
4164
+ }
4165
+ ]
4166
+ },
4167
+ {
4168
+ id: CANVAS_TEST_TYPE,
4169
+ name: "A/B Test",
4170
+ icon: "style",
4171
+ titleParameter: "test",
4172
+ description: "Contains components that will be shown to visitors randomly based on a configurable traffic split.",
4173
+ slots: [
4174
+ {
4175
+ id: CANVAS_TEST_SLOT,
4176
+ inheritAllowedComponents: true,
4177
+ name: "Test Variations",
4178
+ allowedComponents: []
4179
+ }
4180
+ ],
4181
+ parameters: [
4182
+ {
4183
+ id: "test",
4184
+ name: "Test name",
4185
+ type: "testSelect"
4186
+ },
4187
+ {
4188
+ id: CANVAS_HYPOTHESIS_PARAM,
4189
+ name: "Hypothesis",
4190
+ type: "richText",
4191
+ typeConfig: {
4192
+ formatting: {
4193
+ builtIn: ["bold", "italic", "underline"]
4194
+ },
4195
+ elements: {
4196
+ builtIn: ["unorderedList", "orderedList"]
4197
+ }
4198
+ },
4199
+ helpText: "Document the hypothesis or expected outcome of this A/B test.",
4200
+ guidance: "Document the hypothesis or expected outcome of this A/B test. Not localizable; do not pass a locale when editing."
4201
+ }
4202
+ ]
4203
+ },
4204
+ {
4205
+ id: CANVAS_LOCALIZATION_TYPE,
4206
+ name: "Localization",
4207
+ icon: "globe-alt",
4208
+ description: "Contains components that will be shown based on visitor locale.",
4209
+ slots: [
4210
+ {
4211
+ id: CANVAS_LOCALIZATION_SLOT,
4212
+ inheritAllowedComponents: true,
4213
+ name: "Localized Variations",
4214
+ allowedComponents: []
4215
+ }
4216
+ ]
4217
+ },
4218
+ {
4219
+ id: CANVAS_LOOP_TYPE,
4220
+ name: "Loop",
4221
+ icon: "repeat",
4222
+ description: "Contains components that will be repeated for each item in a list (array) selected from a data resource.",
4223
+ slots: [
4224
+ {
4225
+ id: CANVAS_LOOP_SLOT,
4226
+ inheritAllowedComponents: true,
4227
+ name: "Body",
4228
+ minComponents: 1,
4229
+ allowedComponents: []
4230
+ }
4231
+ ]
4232
+ },
4233
+ {
4234
+ id: CANVAS_SLOT_SECTION_TYPE,
4235
+ name: "Slot Section",
4236
+ icon: "copy-all",
4237
+ titleParameter: CANVAS_SLOT_SECTION_NAME_PARAM,
4238
+ description: "When using this pattern, new components may be added at the location where this component is inserted.",
4239
+ slots: [
4240
+ {
4241
+ id: CANVAS_SLOT_SECTION_SLOT,
4242
+ inheritAllowedComponents: true,
4243
+ name: "Items",
4244
+ allowedComponents: []
4245
+ }
4246
+ ],
4247
+ parameters: [
4248
+ {
4249
+ id: CANVAS_SLOT_SECTION_NAME_PARAM,
4250
+ name: "Name",
4251
+ type: "text"
4252
+ },
4253
+ {
4254
+ id: CANVAS_SLOT_SECTION_MIN_PARAM,
4255
+ name: "Minimum",
4256
+ type: "text"
4257
+ },
4258
+ {
4259
+ id: CANVAS_SLOT_SECTION_MAX_PARAM,
4260
+ name: "Maximum",
4261
+ type: "text"
4262
+ },
4263
+ {
4264
+ id: CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM,
4265
+ name: "Group Type",
4266
+ type: "text"
4267
+ },
4268
+ {
4269
+ id: CANVAS_SLOT_SECTION_SPECIFIC_PARAM,
4270
+ name: "Specific",
4271
+ type: "array"
4272
+ }
4273
+ ]
4274
+ }
4275
+ ];
4276
+ var systemComponentsMetadata = {
4277
+ $personalization: void 0,
4278
+ $test: void 0,
4279
+ $localization: void 0,
4280
+ $loop: void 0,
4281
+ $slotSection: {
4282
+ isAutoAllowed: true,
4283
+ isOnlyAllowedInPatternEditor: true
4284
+ }
4285
+ };
4286
+ var getComponentMetadata = (type) => {
4287
+ const metadata = systemComponentsMetadata[type];
4288
+ return metadata;
4289
+ };
4290
+
4062
4291
  // src/index.ts
4063
4292
  import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
4064
4293
 
4065
4294
  // src/.version.ts
4066
- var version = "20.85.0";
4295
+ var version = "20.86.0";
4067
4296
 
4068
4297
  // src/WorkflowClient.ts
4069
4298
  import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
@@ -4121,6 +4350,7 @@ export {
4121
4350
  ApiClientError5 as ApiClientError,
4122
4351
  BatchEntry,
4123
4352
  BlockFormatError,
4353
+ CANVAS_ALIAS_DATA_TYPE,
4124
4354
  CANVAS_BLOCK_PARAM_TYPE,
4125
4355
  CANVAS_COMPONENT_DISPLAY_NAME_PARAM,
4126
4356
  CANVAS_CONTEXTUAL_EDITING_PARAM,
@@ -4133,6 +4363,9 @@ export {
4133
4363
  CANVAS_LOCALE_TAG_PARAM,
4134
4364
  CANVAS_LOCALIZATION_SLOT,
4135
4365
  CANVAS_LOCALIZATION_TYPE,
4366
+ CANVAS_LOOP_DATA_TYPE,
4367
+ CANVAS_LOOP_SLOT,
4368
+ CANVAS_LOOP_TYPE,
4136
4369
  CANVAS_PERSONALIZATION_ALGORITHM_PARAM,
4137
4370
  CANVAS_PERSONALIZATION_ALGORITHM_TYPE,
4138
4371
  CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
@@ -4236,6 +4469,7 @@ export {
4236
4469
  generateHash,
4237
4470
  getBlockValue,
4238
4471
  getComponentJsonPointer,
4472
+ getComponentMetadata,
4239
4473
  getComponentPath,
4240
4474
  getDataSourceVariantFromRouteGetParams,
4241
4475
  getEffectivePropertyValue,
@@ -4287,7 +4521,10 @@ export {
4287
4521
  parseVariableExpression,
4288
4522
  projectionToQuery,
4289
4523
  queryToProjection,
4524
+ systemComponentsMetadata,
4290
4525
  version,
4291
4526
  walkNodeTree,
4292
- walkPropertyValues
4527
+ walkPropertyValues,
4528
+ wellKnownSystemComponentParameters,
4529
+ wellKnownSystemComponents
4293
4530
  };
package/dist/index.js CHANGED
@@ -48,6 +48,7 @@ __export(index_exports, {
48
48
  ApiClientError: () => import_api27.ApiClientError,
49
49
  BatchEntry: () => BatchEntry,
50
50
  BlockFormatError: () => BlockFormatError,
51
+ CANVAS_ALIAS_DATA_TYPE: () => CANVAS_ALIAS_DATA_TYPE,
51
52
  CANVAS_BLOCK_PARAM_TYPE: () => CANVAS_BLOCK_PARAM_TYPE,
52
53
  CANVAS_COMPONENT_DISPLAY_NAME_PARAM: () => CANVAS_COMPONENT_DISPLAY_NAME_PARAM,
53
54
  CANVAS_CONTEXTUAL_EDITING_PARAM: () => CANVAS_CONTEXTUAL_EDITING_PARAM,
@@ -60,6 +61,9 @@ __export(index_exports, {
60
61
  CANVAS_LOCALE_TAG_PARAM: () => CANVAS_LOCALE_TAG_PARAM,
61
62
  CANVAS_LOCALIZATION_SLOT: () => CANVAS_LOCALIZATION_SLOT,
62
63
  CANVAS_LOCALIZATION_TYPE: () => CANVAS_LOCALIZATION_TYPE,
64
+ CANVAS_LOOP_DATA_TYPE: () => CANVAS_LOOP_DATA_TYPE,
65
+ CANVAS_LOOP_SLOT: () => CANVAS_LOOP_SLOT,
66
+ CANVAS_LOOP_TYPE: () => CANVAS_LOOP_TYPE,
63
67
  CANVAS_PERSONALIZATION_ALGORITHM_PARAM: () => CANVAS_PERSONALIZATION_ALGORITHM_PARAM,
64
68
  CANVAS_PERSONALIZATION_ALGORITHM_TYPE: () => CANVAS_PERSONALIZATION_ALGORITHM_TYPE,
65
69
  CANVAS_PERSONALIZATION_EVENT_NAME_PARAM: () => CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
@@ -163,6 +167,7 @@ __export(index_exports, {
163
167
  generateHash: () => generateHash,
164
168
  getBlockValue: () => getBlockValue,
165
169
  getComponentJsonPointer: () => getComponentJsonPointer,
170
+ getComponentMetadata: () => getComponentMetadata,
166
171
  getComponentPath: () => getComponentPath,
167
172
  getDataSourceVariantFromRouteGetParams: () => getDataSourceVariantFromRouteGetParams,
168
173
  getEffectivePropertyValue: () => getEffectivePropertyValue,
@@ -214,9 +219,12 @@ __export(index_exports, {
214
219
  parseVariableExpression: () => parseVariableExpression,
215
220
  projectionToQuery: () => projectionToQuery,
216
221
  queryToProjection: () => queryToProjection,
222
+ systemComponentsMetadata: () => systemComponentsMetadata,
217
223
  version: () => version,
218
224
  walkNodeTree: () => walkNodeTree,
219
- walkPropertyValues: () => walkPropertyValues
225
+ walkPropertyValues: () => walkPropertyValues,
226
+ wellKnownSystemComponentParameters: () => wellKnownSystemComponentParameters,
227
+ wellKnownSystemComponents: () => wellKnownSystemComponents
220
228
  });
221
229
  module.exports = __toCommonJS(index_exports);
222
230
 
@@ -440,6 +448,7 @@ var CANVAS_PERSONALIZE_TYPE = "$personalization";
440
448
  var CANVAS_TEST_TYPE = "$test";
441
449
  var CANVAS_LOCALIZATION_TYPE = "$localization";
442
450
  var CANVAS_SLOT_SECTION_TYPE = "$slotSection";
451
+ var CANVAS_LOOP_TYPE = "$loop";
443
452
  var CANVAS_INTENT_TAG_PARAM = "intentTag";
444
453
  var CANVAS_LOCALE_TAG_PARAM = "locale";
445
454
  var CANVAS_BLOCK_PARAM_TYPE = "$block";
@@ -447,6 +456,9 @@ var CANVAS_PERSONALIZE_SLOT = "pz";
447
456
  var CANVAS_TEST_SLOT = "test";
448
457
  var CANVAS_LOCALIZATION_SLOT = "localized";
449
458
  var CANVAS_SLOT_SECTION_SLOT = "$slotSectionItems";
459
+ var CANVAS_LOOP_SLOT = "body";
460
+ var CANVAS_LOOP_DATA_TYPE = "sys-reserved-loop";
461
+ var CANVAS_ALIAS_DATA_TYPE = "sys-reserved-alias";
450
462
  var CANVAS_SLOT_SECTION_NAME_PARAM = "name";
451
463
  var CANVAS_SLOT_SECTION_MIN_PARAM = "min";
452
464
  var CANVAS_SLOT_SECTION_MAX_PARAM = "max";
@@ -4274,11 +4286,236 @@ function handleRichTextNodeBinding(object, options) {
4274
4286
  return void 0;
4275
4287
  }
4276
4288
 
4289
+ // src/utils/wellKnownSystemComponentParameters.ts
4290
+ var wellKnownSystemComponentParameters = [
4291
+ {
4292
+ id: CANVAS_COMPONENT_DISPLAY_NAME_PARAM,
4293
+ name: "Display Name",
4294
+ type: "text"
4295
+ },
4296
+ {
4297
+ id: CANVAS_INTENT_TAG_PARAM,
4298
+ name: "Intent Tag",
4299
+ type: "intentTag"
4300
+ },
4301
+ {
4302
+ id: CANVAS_LOCALE_TAG_PARAM,
4303
+ name: "Locale Visibility",
4304
+ type: "localeSelect"
4305
+ },
4306
+ {
4307
+ id: CANVAS_PERSONALIZATION_PARAM,
4308
+ name: "Personalization Criteria",
4309
+ type: CANVAS_PERSONALIZATION_PARAM
4310
+ },
4311
+ {
4312
+ id: CANVAS_ENRICHMENT_TAG_PARAM,
4313
+ name: "Enrichment Tags",
4314
+ type: CANVAS_ENRICHMENT_TAG_PARAM,
4315
+ helpText: "Seeing this component will increase a visitor's score in these enrichments."
4316
+ },
4317
+ {
4318
+ id: CANVAS_TEST_VARIANT_PARAM,
4319
+ name: "A/B Test",
4320
+ type: "testVariant"
4321
+ },
4322
+ {
4323
+ id: CANVAS_VIZ_CONTROL_PARAM,
4324
+ name: "Visibility Control",
4325
+ type: CANVAS_VIZ_CONTROL_PARAM
4326
+ }
4327
+ ];
4328
+
4329
+ // src/utils/wellKnownSystemComponents.ts
4330
+ var wellKnownSystemComponents = [
4331
+ {
4332
+ id: CANVAS_PERSONALIZE_TYPE,
4333
+ name: "Personalization",
4334
+ icon: "track",
4335
+ titleParameter: CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
4336
+ description: "Contains components that will be shown to visitors based on configurable personalization criteria.",
4337
+ slots: [
4338
+ {
4339
+ id: CANVAS_PERSONALIZE_SLOT,
4340
+ inheritAllowedComponents: true,
4341
+ name: "Personalized Variations",
4342
+ allowedComponents: []
4343
+ }
4344
+ ],
4345
+ parameters: [
4346
+ {
4347
+ id: CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
4348
+ name: "Analytics tracking name",
4349
+ type: "text",
4350
+ typeConfig: {
4351
+ required: true,
4352
+ caption: "Will be sent to your analytics tool. We recommend not changing this once the composition is published."
4353
+ }
4354
+ },
4355
+ {
4356
+ id: CANVAS_PERSONALIZATION_ALGORITHM_PARAM,
4357
+ name: "Selection method",
4358
+ type: CANVAS_PERSONALIZATION_ALGORITHM_TYPE,
4359
+ typeConfig: {
4360
+ required: true
4361
+ }
4362
+ },
4363
+ {
4364
+ id: CANVAS_PERSONALIZATION_TAKE_PARAM,
4365
+ name: "Number of variations to select",
4366
+ type: "number",
4367
+ typeConfig: {
4368
+ regex: "^[0-9]+$",
4369
+ regexMessage: "Please enter a whole number",
4370
+ placeholder: "1"
4371
+ }
4372
+ },
4373
+ {
4374
+ id: CANVAS_HYPOTHESIS_PARAM,
4375
+ name: "Hypothesis",
4376
+ type: "richText",
4377
+ typeConfig: {
4378
+ formatting: {
4379
+ builtIn: ["bold", "italic", "underline"]
4380
+ },
4381
+ elements: {
4382
+ builtIn: ["unorderedList", "orderedList"]
4383
+ }
4384
+ },
4385
+ helpText: "Document the hypothesis or reasoning behind this personalization strategy.",
4386
+ guidance: "Document the hypothesis or reasoning behind this personalization strategy. Not localizable; do not pass a locale when editing."
4387
+ }
4388
+ ]
4389
+ },
4390
+ {
4391
+ id: CANVAS_TEST_TYPE,
4392
+ name: "A/B Test",
4393
+ icon: "style",
4394
+ titleParameter: "test",
4395
+ description: "Contains components that will be shown to visitors randomly based on a configurable traffic split.",
4396
+ slots: [
4397
+ {
4398
+ id: CANVAS_TEST_SLOT,
4399
+ inheritAllowedComponents: true,
4400
+ name: "Test Variations",
4401
+ allowedComponents: []
4402
+ }
4403
+ ],
4404
+ parameters: [
4405
+ {
4406
+ id: "test",
4407
+ name: "Test name",
4408
+ type: "testSelect"
4409
+ },
4410
+ {
4411
+ id: CANVAS_HYPOTHESIS_PARAM,
4412
+ name: "Hypothesis",
4413
+ type: "richText",
4414
+ typeConfig: {
4415
+ formatting: {
4416
+ builtIn: ["bold", "italic", "underline"]
4417
+ },
4418
+ elements: {
4419
+ builtIn: ["unorderedList", "orderedList"]
4420
+ }
4421
+ },
4422
+ helpText: "Document the hypothesis or expected outcome of this A/B test.",
4423
+ guidance: "Document the hypothesis or expected outcome of this A/B test. Not localizable; do not pass a locale when editing."
4424
+ }
4425
+ ]
4426
+ },
4427
+ {
4428
+ id: CANVAS_LOCALIZATION_TYPE,
4429
+ name: "Localization",
4430
+ icon: "globe-alt",
4431
+ description: "Contains components that will be shown based on visitor locale.",
4432
+ slots: [
4433
+ {
4434
+ id: CANVAS_LOCALIZATION_SLOT,
4435
+ inheritAllowedComponents: true,
4436
+ name: "Localized Variations",
4437
+ allowedComponents: []
4438
+ }
4439
+ ]
4440
+ },
4441
+ {
4442
+ id: CANVAS_LOOP_TYPE,
4443
+ name: "Loop",
4444
+ icon: "repeat",
4445
+ description: "Contains components that will be repeated for each item in a list (array) selected from a data resource.",
4446
+ slots: [
4447
+ {
4448
+ id: CANVAS_LOOP_SLOT,
4449
+ inheritAllowedComponents: true,
4450
+ name: "Body",
4451
+ minComponents: 1,
4452
+ allowedComponents: []
4453
+ }
4454
+ ]
4455
+ },
4456
+ {
4457
+ id: CANVAS_SLOT_SECTION_TYPE,
4458
+ name: "Slot Section",
4459
+ icon: "copy-all",
4460
+ titleParameter: CANVAS_SLOT_SECTION_NAME_PARAM,
4461
+ description: "When using this pattern, new components may be added at the location where this component is inserted.",
4462
+ slots: [
4463
+ {
4464
+ id: CANVAS_SLOT_SECTION_SLOT,
4465
+ inheritAllowedComponents: true,
4466
+ name: "Items",
4467
+ allowedComponents: []
4468
+ }
4469
+ ],
4470
+ parameters: [
4471
+ {
4472
+ id: CANVAS_SLOT_SECTION_NAME_PARAM,
4473
+ name: "Name",
4474
+ type: "text"
4475
+ },
4476
+ {
4477
+ id: CANVAS_SLOT_SECTION_MIN_PARAM,
4478
+ name: "Minimum",
4479
+ type: "text"
4480
+ },
4481
+ {
4482
+ id: CANVAS_SLOT_SECTION_MAX_PARAM,
4483
+ name: "Maximum",
4484
+ type: "text"
4485
+ },
4486
+ {
4487
+ id: CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM,
4488
+ name: "Group Type",
4489
+ type: "text"
4490
+ },
4491
+ {
4492
+ id: CANVAS_SLOT_SECTION_SPECIFIC_PARAM,
4493
+ name: "Specific",
4494
+ type: "array"
4495
+ }
4496
+ ]
4497
+ }
4498
+ ];
4499
+ var systemComponentsMetadata = {
4500
+ $personalization: void 0,
4501
+ $test: void 0,
4502
+ $localization: void 0,
4503
+ $loop: void 0,
4504
+ $slotSection: {
4505
+ isAutoAllowed: true,
4506
+ isOnlyAllowedInPatternEditor: true
4507
+ }
4508
+ };
4509
+ var getComponentMetadata = (type) => {
4510
+ const metadata = systemComponentsMetadata[type];
4511
+ return metadata;
4512
+ };
4513
+
4277
4514
  // src/index.ts
4278
4515
  var import_api27 = require("@uniformdev/context/api");
4279
4516
 
4280
4517
  // src/.version.ts
4281
- var version = "20.85.0";
4518
+ var version = "20.86.0";
4282
4519
 
4283
4520
  // src/WorkflowClient.ts
4284
4521
  var import_api26 = require("@uniformdev/context/api");
@@ -4337,6 +4574,7 @@ var CanvasClientError = import_api27.ApiClientError;
4337
4574
  ApiClientError,
4338
4575
  BatchEntry,
4339
4576
  BlockFormatError,
4577
+ CANVAS_ALIAS_DATA_TYPE,
4340
4578
  CANVAS_BLOCK_PARAM_TYPE,
4341
4579
  CANVAS_COMPONENT_DISPLAY_NAME_PARAM,
4342
4580
  CANVAS_CONTEXTUAL_EDITING_PARAM,
@@ -4349,6 +4587,9 @@ var CanvasClientError = import_api27.ApiClientError;
4349
4587
  CANVAS_LOCALE_TAG_PARAM,
4350
4588
  CANVAS_LOCALIZATION_SLOT,
4351
4589
  CANVAS_LOCALIZATION_TYPE,
4590
+ CANVAS_LOOP_DATA_TYPE,
4591
+ CANVAS_LOOP_SLOT,
4592
+ CANVAS_LOOP_TYPE,
4352
4593
  CANVAS_PERSONALIZATION_ALGORITHM_PARAM,
4353
4594
  CANVAS_PERSONALIZATION_ALGORITHM_TYPE,
4354
4595
  CANVAS_PERSONALIZATION_EVENT_NAME_PARAM,
@@ -4452,6 +4693,7 @@ var CanvasClientError = import_api27.ApiClientError;
4452
4693
  generateHash,
4453
4694
  getBlockValue,
4454
4695
  getComponentJsonPointer,
4696
+ getComponentMetadata,
4455
4697
  getComponentPath,
4456
4698
  getDataSourceVariantFromRouteGetParams,
4457
4699
  getEffectivePropertyValue,
@@ -4503,7 +4745,10 @@ var CanvasClientError = import_api27.ApiClientError;
4503
4745
  parseVariableExpression,
4504
4746
  projectionToQuery,
4505
4747
  queryToProjection,
4748
+ systemComponentsMetadata,
4506
4749
  version,
4507
4750
  walkNodeTree,
4508
- walkPropertyValues
4751
+ walkPropertyValues,
4752
+ wellKnownSystemComponentParameters,
4753
+ wellKnownSystemComponents
4509
4754
  });