@uniformdev/canvas 19.35.3-alpha.82 → 19.36.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/index.d.mts CHANGED
@@ -181,7 +181,6 @@ interface components$4 {
181
181
  value: unknown;
182
182
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
183
183
  type: string;
184
- /** @deprecated */
185
184
  connectedData?: components$4["schemas"]["DataElementConnectionDefinition"];
186
185
  };
187
186
  /**
@@ -834,7 +833,6 @@ interface external$a {
834
833
  value: unknown;
835
834
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
836
835
  type: string;
837
- /** @deprecated */
838
836
  connectedData?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
839
837
  };
840
838
  /**
@@ -1488,7 +1486,6 @@ interface external$9 {
1488
1486
  value: unknown;
1489
1487
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
1490
1488
  type: string;
1491
- /** @deprecated */
1492
1489
  connectedData?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
1493
1490
  };
1494
1491
  /**
@@ -2138,7 +2135,6 @@ interface external$8 {
2138
2135
  value: unknown;
2139
2136
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
2140
2137
  type: string;
2141
- /** @deprecated */
2142
2138
  connectedData?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
2143
2139
  };
2144
2140
  /**
@@ -2731,7 +2727,6 @@ interface external$7 {
2731
2727
  value: unknown;
2732
2728
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
2733
2729
  type: string;
2734
- /** @deprecated */
2735
2730
  connectedData?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
2736
2731
  };
2737
2732
  /**
@@ -3359,7 +3354,6 @@ interface external$6 {
3359
3354
  value: unknown;
3360
3355
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
3361
3356
  type: string;
3362
- /** @deprecated */
3363
3357
  connectedData?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
3364
3358
  };
3365
3359
  /**
@@ -4402,7 +4396,6 @@ interface external$5 {
4402
4396
  value: unknown;
4403
4397
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
4404
4398
  type: string;
4405
- /** @deprecated */
4406
4399
  connectedData?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
4407
4400
  };
4408
4401
  /**
@@ -5246,7 +5239,6 @@ interface external$3 {
5246
5239
  value: unknown;
5247
5240
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
5248
5241
  type: string;
5249
- /** @deprecated */
5250
5242
  connectedData?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
5251
5243
  };
5252
5244
  /**
@@ -6746,7 +6738,6 @@ interface external$2 {
6746
6738
  value: unknown;
6747
6739
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
6748
6740
  type: string;
6749
- /** @deprecated */
6750
6741
  connectedData?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
6751
6742
  };
6752
6743
  /**
@@ -8584,7 +8575,7 @@ type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefine
8584
8575
  type LinkComponentParameterValue = LinkParamValue;
8585
8576
 
8586
8577
  type RichTextBuiltInFormat = 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript';
8587
- type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code' | 'variable';
8578
+ type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code';
8588
8579
  type RichTextParamConfiguration = {
8589
8580
  required?: boolean;
8590
8581
  formatting?: {
@@ -8886,12 +8877,6 @@ type SelectParameterMessage = {
8886
8877
  type: 'select-parameter';
8887
8878
  parameterId: string;
8888
8879
  componentId: string;
8889
- targetRect: {
8890
- height: number;
8891
- width: number;
8892
- x: number;
8893
- y: number;
8894
- };
8895
8880
  };
8896
8881
  type ReadyMessage = {
8897
8882
  type: 'ready';
@@ -9046,6 +9031,50 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
9046
9031
  getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
9047
9032
  }
9048
9033
 
9034
+ type BindVariablesResult<TValue> = {
9035
+ boundCount: number;
9036
+ result: TValue;
9037
+ errors?: string[];
9038
+ };
9039
+ type BindVariablesToObjectOptions<T> = {
9040
+ /** The object to bind variables to. Only strings or objects are bound. */
9041
+ value: T;
9042
+ } & Omit<BindVariablesOptions, 'value'>;
9043
+ /**
9044
+ * Binds composition variables to an object whose string keys may have variable expressions in them.
9045
+ * Binding is recursive.
9046
+ */
9047
+ declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
9048
+
9049
+ type BindVariablesOptions = {
9050
+ /** Current variable values table */
9051
+ variables: DataResourceVariables;
9052
+ /** String value to bind variables to */
9053
+ value: string;
9054
+ /**
9055
+ * Text prefix for any variable binding errors that might be returned
9056
+ * @default "Variable"
9057
+ */
9058
+ errorPrefix?: string;
9059
+ /**
9060
+ * Optionally provide overridden binding behaviour with a function.
9061
+ * Default behaviour:
9062
+ * - If variable is not defined, its expression is replaced by empty string and an error is returned
9063
+ * - If variable is defined, its expression is replaced by its value
9064
+ * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
9065
+ * @param variables The current variables table.
9066
+ * @param errors Errors array. Push to it to add errors to the result.
9067
+ * @returns New value for the variable reference expression, will replace the whole ${} in the result.
9068
+ */
9069
+ handleBinding?: (variableName: string, variables: DataResourceVariables, errors: string[]) => string;
9070
+ };
9071
+ /**
9072
+ * Binds variables to a string that could have variable values in it.
9073
+ * Variables are referenced in the string as ${variableName}.
9074
+ * Literal variable values are escaped with a backslash, e.g. \${literal}
9075
+ */
9076
+ declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<string>;
9077
+
9049
9078
  /** Public ID of Canvas personalization component type */
9050
9079
  declare const CANVAS_PERSONALIZE_TYPE = "$personalization";
9051
9080
  /** Public ID of Canvas A/B test component type */
@@ -9263,8 +9292,7 @@ type GetParameterAttributesProps = {
9263
9292
  /**
9264
9293
  * Returns the attributes needed to annotate a Uniform parameter for inline editing.
9265
9294
  * Supports only text parameters at the moment.
9266
- * @deprecated Unstable, and not ready for production usage.
9267
- **/
9295
+ */
9268
9296
  declare const getParameterAttributes: ({ id, component, placeholder, isMultiline, }: GetParameterAttributesProps) => Record<string, string | boolean | undefined>;
9269
9297
 
9270
9298
  declare const generateHash: ({ composition, secret, }: {
@@ -9287,63 +9315,6 @@ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | und
9287
9315
  */
9288
9316
  declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & TestVariant>;
9289
9317
 
9290
- type BindVariablesResult<TValue> = {
9291
- /** Number of dynamic expressions that attempted to be bound (regardless of the success of the binding) */
9292
- boundCount: number;
9293
- /** Result object after the binding */
9294
- result: TValue;
9295
- /** Any errors that occurred resolving bound values */
9296
- errors?: Array<string | Error>;
9297
- };
9298
- type BindVariablesToObjectOptions<T> = {
9299
- /** The object to bind variables to. Only strings or objects are bound. */
9300
- value: T;
9301
- } & Omit<BindVariablesOptions, 'value'>;
9302
- /**
9303
- * Binds composition variables to an object whose string keys may have variable expressions in them.
9304
- * Binding is recursive.
9305
- */
9306
- declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
9307
-
9308
- type BindVariablesOptions = {
9309
- /** Current variable values table */
9310
- variables: Record<string, unknown>;
9311
- /** String value to bind variables to */
9312
- value: string;
9313
- /**
9314
- * Text prefix for any variable binding errors that might be returned
9315
- * @default "Variable"
9316
- */
9317
- errorPrefix?: string;
9318
- /**
9319
- * Optionally provide overridden binding behaviour with a function.
9320
- * Default behaviour:
9321
- * - If variable is not defined, its expression is replaced by empty string and an error is returned
9322
- * - If variable is defined, its expression is replaced by its value
9323
- * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
9324
- * @param variables The current variables table.
9325
- * @param errors Errors array. Push to it to add errors to the result.
9326
- * @returns New value for the variable reference expression, will replace the whole ${} in the result. If non-string value is returned, then:
9327
- * - If the original string value contains ONLY the variable reference (i.e. "${foo}") then the value will be used literally, e.g. the property becomes an array, etc
9328
- * - If the original value contains other text, then the value will be string-interpolated as a fallback (i.e. [object Object], 'array,elements', etc)
9329
- */
9330
- handleBinding?: (variableName: string, variables: Record<string, unknown>, errors: Array<string | Error>) => unknown;
9331
- };
9332
- /**
9333
- * Binds variables to a string that could have variable values in it.
9334
- * Variables are referenced in the string as ${variableName}.
9335
- * Literal variable values are escaped with a backslash, e.g. \${literal}
9336
- */
9337
- declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<unknown>;
9338
-
9339
- declare function createVariableReference(variableName: string): string;
9340
-
9341
- /**
9342
- * Parses an expression that may contain Uniform variables and invokes a callback for each text or variable token found
9343
- * @returns the number of tokens found in the string (variable or text)
9344
- */
9345
- declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
9346
-
9347
9318
  declare const CanvasClientError: typeof ApiClientError;
9348
9319
 
9349
- export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
9320
+ export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
package/dist/index.d.ts CHANGED
@@ -181,7 +181,6 @@ interface components$4 {
181
181
  value: unknown;
182
182
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
183
183
  type: string;
184
- /** @deprecated */
185
184
  connectedData?: components$4["schemas"]["DataElementConnectionDefinition"];
186
185
  };
187
186
  /**
@@ -834,7 +833,6 @@ interface external$a {
834
833
  value: unknown;
835
834
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
836
835
  type: string;
837
- /** @deprecated */
838
836
  connectedData?: external$a["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
839
837
  };
840
838
  /**
@@ -1488,7 +1486,6 @@ interface external$9 {
1488
1486
  value: unknown;
1489
1487
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
1490
1488
  type: string;
1491
- /** @deprecated */
1492
1489
  connectedData?: external$9["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
1493
1490
  };
1494
1491
  /**
@@ -2138,7 +2135,6 @@ interface external$8 {
2138
2135
  value: unknown;
2139
2136
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
2140
2137
  type: string;
2141
- /** @deprecated */
2142
2138
  connectedData?: external$8["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
2143
2139
  };
2144
2140
  /**
@@ -2731,7 +2727,6 @@ interface external$7 {
2731
2727
  value: unknown;
2732
2728
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
2733
2729
  type: string;
2734
- /** @deprecated */
2735
2730
  connectedData?: external$7["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
2736
2731
  };
2737
2732
  /**
@@ -3359,7 +3354,6 @@ interface external$6 {
3359
3354
  value: unknown;
3360
3355
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
3361
3356
  type: string;
3362
- /** @deprecated */
3363
3357
  connectedData?: external$6["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
3364
3358
  };
3365
3359
  /**
@@ -4402,7 +4396,6 @@ interface external$5 {
4402
4396
  value: unknown;
4403
4397
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
4404
4398
  type: string;
4405
- /** @deprecated */
4406
4399
  connectedData?: external$5["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
4407
4400
  };
4408
4401
  /**
@@ -5246,7 +5239,6 @@ interface external$3 {
5246
5239
  value: unknown;
5247
5240
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
5248
5241
  type: string;
5249
- /** @deprecated */
5250
5242
  connectedData?: external$3["../../../lambda/functions/uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
5251
5243
  };
5252
5244
  /**
@@ -6746,7 +6738,6 @@ interface external$2 {
6746
6738
  value: unknown;
6747
6739
  /** @description The type of the parameter. Determines how it is displayed when editing, and tells the consumer how to process it. */
6748
6740
  type: string;
6749
- /** @deprecated */
6750
6741
  connectedData?: external$2["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["DataElementConnectionDefinition"];
6751
6742
  };
6752
6743
  /**
@@ -8584,7 +8575,7 @@ type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefine
8584
8575
  type LinkComponentParameterValue = LinkParamValue;
8585
8576
 
8586
8577
  type RichTextBuiltInFormat = 'code' | 'bold' | 'italic' | 'underline' | 'strikethrough' | 'superscript' | 'subscript';
8587
- type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code' | 'variable';
8578
+ type RichTextBuiltInElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'unorderedList' | 'orderedList' | 'link' | 'quote' | 'code';
8588
8579
  type RichTextParamConfiguration = {
8589
8580
  required?: boolean;
8590
8581
  formatting?: {
@@ -8886,12 +8877,6 @@ type SelectParameterMessage = {
8886
8877
  type: 'select-parameter';
8887
8878
  parameterId: string;
8888
8879
  componentId: string;
8889
- targetRect: {
8890
- height: number;
8891
- width: number;
8892
- x: number;
8893
- y: number;
8894
- };
8895
8880
  };
8896
8881
  type ReadyMessage = {
8897
8882
  type: 'ready';
@@ -9046,6 +9031,50 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
9046
9031
  getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
9047
9032
  }
9048
9033
 
9034
+ type BindVariablesResult<TValue> = {
9035
+ boundCount: number;
9036
+ result: TValue;
9037
+ errors?: string[];
9038
+ };
9039
+ type BindVariablesToObjectOptions<T> = {
9040
+ /** The object to bind variables to. Only strings or objects are bound. */
9041
+ value: T;
9042
+ } & Omit<BindVariablesOptions, 'value'>;
9043
+ /**
9044
+ * Binds composition variables to an object whose string keys may have variable expressions in them.
9045
+ * Binding is recursive.
9046
+ */
9047
+ declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
9048
+
9049
+ type BindVariablesOptions = {
9050
+ /** Current variable values table */
9051
+ variables: DataResourceVariables;
9052
+ /** String value to bind variables to */
9053
+ value: string;
9054
+ /**
9055
+ * Text prefix for any variable binding errors that might be returned
9056
+ * @default "Variable"
9057
+ */
9058
+ errorPrefix?: string;
9059
+ /**
9060
+ * Optionally provide overridden binding behaviour with a function.
9061
+ * Default behaviour:
9062
+ * - If variable is not defined, its expression is replaced by empty string and an error is returned
9063
+ * - If variable is defined, its expression is replaced by its value
9064
+ * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
9065
+ * @param variables The current variables table.
9066
+ * @param errors Errors array. Push to it to add errors to the result.
9067
+ * @returns New value for the variable reference expression, will replace the whole ${} in the result.
9068
+ */
9069
+ handleBinding?: (variableName: string, variables: DataResourceVariables, errors: string[]) => string;
9070
+ };
9071
+ /**
9072
+ * Binds variables to a string that could have variable values in it.
9073
+ * Variables are referenced in the string as ${variableName}.
9074
+ * Literal variable values are escaped with a backslash, e.g. \${literal}
9075
+ */
9076
+ declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<string>;
9077
+
9049
9078
  /** Public ID of Canvas personalization component type */
9050
9079
  declare const CANVAS_PERSONALIZE_TYPE = "$personalization";
9051
9080
  /** Public ID of Canvas A/B test component type */
@@ -9263,8 +9292,7 @@ type GetParameterAttributesProps = {
9263
9292
  /**
9264
9293
  * Returns the attributes needed to annotate a Uniform parameter for inline editing.
9265
9294
  * Supports only text parameters at the moment.
9266
- * @deprecated Unstable, and not ready for production usage.
9267
- **/
9295
+ */
9268
9296
  declare const getParameterAttributes: ({ id, component, placeholder, isMultiline, }: GetParameterAttributesProps) => Record<string, string | boolean | undefined>;
9269
9297
 
9270
9298
  declare const generateHash: ({ composition, secret, }: {
@@ -9287,63 +9315,6 @@ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | und
9287
9315
  */
9288
9316
  declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & TestVariant>;
9289
9317
 
9290
- type BindVariablesResult<TValue> = {
9291
- /** Number of dynamic expressions that attempted to be bound (regardless of the success of the binding) */
9292
- boundCount: number;
9293
- /** Result object after the binding */
9294
- result: TValue;
9295
- /** Any errors that occurred resolving bound values */
9296
- errors?: Array<string | Error>;
9297
- };
9298
- type BindVariablesToObjectOptions<T> = {
9299
- /** The object to bind variables to. Only strings or objects are bound. */
9300
- value: T;
9301
- } & Omit<BindVariablesOptions, 'value'>;
9302
- /**
9303
- * Binds composition variables to an object whose string keys may have variable expressions in them.
9304
- * Binding is recursive.
9305
- */
9306
- declare function bindVariablesToObject<T>(options: BindVariablesToObjectOptions<T>): BindVariablesResult<T>;
9307
-
9308
- type BindVariablesOptions = {
9309
- /** Current variable values table */
9310
- variables: Record<string, unknown>;
9311
- /** String value to bind variables to */
9312
- value: string;
9313
- /**
9314
- * Text prefix for any variable binding errors that might be returned
9315
- * @default "Variable"
9316
- */
9317
- errorPrefix?: string;
9318
- /**
9319
- * Optionally provide overridden binding behaviour with a function.
9320
- * Default behaviour:
9321
- * - If variable is not defined, its expression is replaced by empty string and an error is returned
9322
- * - If variable is defined, its expression is replaced by its value
9323
- * @param variableName The variable name referred to in the `value` string. This is the name inside the ${} expression.
9324
- * @param variables The current variables table.
9325
- * @param errors Errors array. Push to it to add errors to the result.
9326
- * @returns New value for the variable reference expression, will replace the whole ${} in the result. If non-string value is returned, then:
9327
- * - If the original string value contains ONLY the variable reference (i.e. "${foo}") then the value will be used literally, e.g. the property becomes an array, etc
9328
- * - If the original value contains other text, then the value will be string-interpolated as a fallback (i.e. [object Object], 'array,elements', etc)
9329
- */
9330
- handleBinding?: (variableName: string, variables: Record<string, unknown>, errors: Array<string | Error>) => unknown;
9331
- };
9332
- /**
9333
- * Binds variables to a string that could have variable values in it.
9334
- * Variables are referenced in the string as ${variableName}.
9335
- * Literal variable values are escaped with a backslash, e.g. \${literal}
9336
- */
9337
- declare function bindVariables({ variables, value, errorPrefix, handleBinding, }: BindVariablesOptions): BindVariablesResult<unknown>;
9338
-
9339
- declare function createVariableReference(variableName: string): string;
9340
-
9341
- /**
9342
- * Parses an expression that may contain Uniform variables and invokes a callback for each text or variable token found
9343
- * @returns the number of tokens found in the string (variable or text)
9344
- */
9345
- declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
9346
-
9347
9318
  declare const CanvasClientError: typeof ApiClientError;
9348
9319
 
9349
- export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, createVariableReference, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseVariableExpression, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
9320
+ export { ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, CategoriesDeleteParameters, CategoriesGetParameters, CategoriesGetResponse, CategoriesPutParameters, Category, CategoryClient, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, ContextualEditingComponentReference, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SelectParameterMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdateContextualEditingStateInternalMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, getParameterAttributes, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSelectParameterMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };