@uniformdev/canvas 19.214.0 → 19.214.1-alpha.17

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
@@ -2,7 +2,6 @@ import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@unifor
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
3
  import { AssetGetResponseSingle, AssetDefinitionType } from '@uniformdev/assets';
4
4
  import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@uniformdev/context';
5
- import Pusher from 'pusher-js';
6
5
  import { Options as Options$1 } from 'p-retry';
7
6
  import { Options } from 'p-throttle';
8
7
  import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1, ParameterRichTextValue } from '@uniformdev/richtext';
@@ -9421,8 +9420,6 @@ type HistoryApi = paths$8['/api/v1/canvas-history'];
9421
9420
  type CompositionGetParameters = Omit<Api['get']['parameters']['query'], 'type'> & {
9422
9421
  type?: string | string[];
9423
9422
  };
9424
- /** @deprecated - ordering now possible with any arbitrary string locator */
9425
- type CompositionGetOrderBy = 'updated_at_DESC' | 'updated_at_ASC' | 'created_at_DESC' | 'created_at_ASC' | 'name_DESC' | 'name_ASC' | 'slug_DESC' | 'slug_ASC';
9426
9423
  /** The GET response from /api/v1/canvas when `component` or `slug` params are specified */
9427
9424
  type CompositionGetResponse = Components['CompositionApiResponse'];
9428
9425
  /** The GET response from /api/v1/canvas-history (history for one composition) */
@@ -9592,16 +9589,12 @@ type DataResolutionParameters = {
9592
9589
  };
9593
9590
  /** Types of issue that can occur when fetching composition data */
9594
9591
  type DataResolutionIssue = PatternIssue | DataResourceIssue | MaxDepthExceededIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
9595
- /** @deprecated use DataResolutionIssue instead */
9596
- type CompositionIssue = DataResolutionIssue;
9597
9592
  type DataResolutionIssueCore = components$8['schemas']['DataResolutionIssue'];
9598
9593
  /** An error that occured resolving a pattern that is referenced on the composition */
9599
9594
  type PatternIssue = DataResolutionIssueCore & {
9600
9595
  type: 'pattern';
9601
9596
  code: NonNullable<ComponentInstance['_patternError']>;
9602
9597
  };
9603
- /** @deprecated use PatternIssue instead */
9604
- type CompositionPatternIssue = PatternIssue;
9605
9598
  /** An error while binding a dynamic token from a data resource to a component parameter (i.e. a missing property in the data resource) */
9606
9599
  type DataElementBindingIssue = DataResolutionIssueCore & {
9607
9600
  type: 'binding';
@@ -9648,12 +9641,8 @@ type DataResolutionConfigIssue = {
9648
9641
  /** Diagnostics about edge request processing */
9649
9642
  type EdgehancersDiagnostics = components$8['schemas']['EdgehancersDiagnostics'];
9650
9643
  type EdgehancersWholeResponseCacheDiagnostics = components$8['schemas']['EdgehancersResolutionInfo']['wholeResponseCacheDiagnostics'];
9651
- /** @deprecated use EdgehancersDiagnostics instead */
9652
- type CompositionDiagnostics = EdgehancersDiagnostics;
9653
9644
  /** Diagnostic data about the load performance of attached composition datas */
9654
9645
  type DataDiagnostic = components$8['schemas']['DataDiagnostic'];
9655
- /** @deprecated use DataDiagnostic instead */
9656
- type CompositionDataDiagnostic = DataDiagnostic;
9657
9646
  /** Response as it comes from uniform.global/api/v1/composition */
9658
9647
  type CompositionResolvedGetResponse = components$8['schemas']['CompositionResolvedGetResponse'];
9659
9648
  type CompositionResolvedListResponse = components$8['schemas']['CompositionResolvedListResponse'];
@@ -10002,14 +9991,6 @@ type NonProjectMapLinkParamValue = {
10002
9991
  path: string;
10003
9992
  };
10004
9993
  type LinkParamValue = ProjectMapLinkParamValue | NonProjectMapLinkParamValue | undefined;
10005
- /**
10006
- * @deprecated Use ProjectMapLinkParamValue | undefined instead
10007
- */
10008
- type ProjectMapLinkComponentParameterValue = ProjectMapLinkParamValue | undefined;
10009
- /**
10010
- * @deprecated Use LinkParamValue instead
10011
- */
10012
- type LinkComponentParameterValue = LinkParamValue;
10013
9994
 
10014
9995
  type RichTextBuiltInFormat = RichTextBuiltInFormat$1;
10015
9996
  type RichTextBuiltInElement = RichTextBuiltInElement$1;
@@ -11755,12 +11736,10 @@ declare function enhance<TContext extends EnhancerContext = EnhancerContext>({ c
11755
11736
  }): Promise<void>;
11756
11737
 
11757
11738
  /** Ancestor location that is in a slot on a component */
11758
- type ComponentLocationReferenceV2 = {
11739
+ type ComponentLocationReference = {
11759
11740
  type: 'slot';
11760
11741
  node: ComponentInstance;
11761
11742
  parentSlot: string;
11762
- /** @deprecated invoke parentSlotIndexFn instead, this property may be unreliable with some bundlers. This will be removed in the next major. */
11763
- parentSlotIndex: number;
11764
11743
  parentSlotIndexFn: () => number;
11765
11744
  };
11766
11745
  /** Ancestor location that is in a block on a parameter or field */
@@ -11768,8 +11747,6 @@ type BlockLocationReference = {
11768
11747
  type: 'block';
11769
11748
  node: EntryData;
11770
11749
  fieldName: string;
11771
- /** @deprecated invoke blockIndexFn instead, this property may be unreliable with some bundlers. This will be removed in the next major. */
11772
- blockIndex: number;
11773
11750
  blockIndexFn: () => number;
11774
11751
  };
11775
11752
  /** Ancestor location that is the root of a composition or entry */
@@ -11781,7 +11758,7 @@ type RootEntryReference = {
11781
11758
  type: 'root';
11782
11759
  node: EntryData;
11783
11760
  };
11784
- type NodeLocationReference = ComponentLocationReferenceV2 | BlockLocationReference | RootLocationReference | RootEntryReference;
11761
+ type NodeLocationReference = ComponentLocationReference | BlockLocationReference | RootLocationReference | RootEntryReference;
11785
11762
  type WalkNodeTreeActions<TContext, TNodeType> = {
11786
11763
  /** Replaces the node being visited with a new object */
11787
11764
  replace: (replacement: TNodeType) => void;
@@ -11863,61 +11840,20 @@ interface FindInNodeTreeReference {
11863
11840
  */
11864
11841
  declare function findParameterInNodeTree(data: ComponentInstance | EntryData | Array<NodeLocationReference>, predicate: (parameter: ComponentParameter, parameterKey: string, node: ComponentInstance | EntryData | Array<NodeLocationReference>) => boolean): FindInNodeTreeReference[];
11865
11842
 
11866
- /** @deprecated use walkNodeTree */
11867
- type ComponentLocationReference = {
11868
- component: ComponentInstance;
11869
- parentSlot?: string;
11870
- parentSlotIndex?: number;
11871
- };
11872
- /** @deprecated use walkNodeTree and check for type = slot */
11873
- type WalkComponentTreeActions<TContext> = {
11874
- /** Replaces the component being visited with a new object */
11875
- replaceComponent: (replacementComponent: ComponentInstance) => void;
11876
- /** Removes the component being visited from the composition */
11877
- removeComponent: () => void;
11878
- /** Inserts a new component immediately after the current component in its parent slot */
11879
- insertAfter: (components: ComponentInstance | ComponentInstance[]) => void;
11880
- /** Aborts visitation of components that are in child slots of the current component */
11881
- stopProcessingDescendants: () => void;
11882
- /**
11883
- * Set a new traversal context for descendants of this node.
11884
- * If this is not called, `context` will automatically pass through.
11885
- */
11886
- setDescendantsContext: (context: TContext) => void;
11887
- setChildContext: (child: ComponentInstance, context: TContext) => void;
11888
- };
11889
- /**
11890
- * Walks a composition's component tree, visiting each component instance depth-first, in order.
11891
- * @deprecated use walkNodeTree
11892
- */
11893
- declare function walkComponentTree<TContext = unknown>(component: ComponentInstance, visitor: (component: ComponentInstance, ancestorsAndSelf: Array<ComponentLocationReference>, actions: WalkComponentTreeActions<TContext>,
11894
- /** Traversal context for this node */
11895
- currentContext: TContext | undefined) => void, initialContext?: TContext): void;
11896
-
11897
11843
  /** Returns the JSON pointer of a component based on its location */
11898
- declare function getComponentJsonPointer(ancestorsAndSelf: Array<NodeLocationReference | ComponentLocationReference>): string;
11899
- declare function getNounForLocation(parentLocation: NodeLocationReference | ComponentLocationReference | undefined): "parameters" | "fields";
11844
+ declare function getComponentJsonPointer(ancestorsAndSelf: Array<NodeLocationReference>): string;
11845
+ declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "parameters" | "fields";
11900
11846
  declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "parameters" | "fields";
11901
11847
 
11902
- declare function getComponentPath(ancestorsAndSelf: Array<ComponentLocationReference | NodeLocationReference>): string;
11848
+ declare function getComponentPath(ancestorsAndSelf: Array<NodeLocationReference>): string;
11903
11849
 
11904
11850
  declare function extractLocales({ component }: {
11905
11851
  component: ComponentInstance;
11906
11852
  }): Record<string, ComponentInstance[]>;
11907
- type LocalizeModernOptions = {
11853
+ type LocalizeOptions = {
11908
11854
  nodes: RootComponentInstance | EntryData;
11909
11855
  locale: string | undefined;
11910
11856
  };
11911
- /** @deprecated use modern options type (nodes property). This overload is incompatible with parameter level localization. */
11912
- type LocalizeDeprecatedOptions = {
11913
- composition: ComponentInstance;
11914
- locale: string | ((options: {
11915
- component: Readonly<ComponentInstance>;
11916
- locales: Readonly<Record<string, ComponentInstance[]>>;
11917
- }) => string | undefined);
11918
- };
11919
- /** @deprecated use LocalizeModernOptions overload instead */
11920
- declare function localize(options: LocalizeDeprecatedOptions): void;
11921
11857
  /**
11922
11858
  * Localizes a composition or entry that may contain:
11923
11859
  * * Structural localization with localization components (locale specific layout)
@@ -11932,7 +11868,7 @@ declare function localize(options: LocalizeDeprecatedOptions): void;
11932
11868
  * NOTE: this function is only necessary when content has been fetched in more than one locale from the Uniform API.
11933
11869
  * If a locale was provided to the Uniform API, the content will already be localized in the desired locale.
11934
11870
  */
11935
- declare function localize(options: LocalizeModernOptions): void;
11871
+ declare function localize(options: LocalizeOptions): void;
11936
11872
 
11937
11873
  /**
11938
11874
  * Given a batch of enhancements containing potentially duplicate entries (i.e. several components referencing the same thing),
@@ -11953,19 +11889,10 @@ declare class UniqueBatchEntries<TArgs, TResult> {
11953
11889
 
11954
11890
  declare const CANVAS_VIZ_CONTROL_PARAM = "$viz";
11955
11891
 
11956
- /**
11957
- * @deprecated beta functionality subject to change
11958
- */
11959
11892
  type VisibilityRules = {
11960
11893
  [rule: string]: VisibilityRule;
11961
11894
  };
11962
- /**
11963
- * @deprecated beta functionality subject to change
11964
- */
11965
11895
  type VisibilityRule = (criteria: VisibilityCriteria) => VisibilityCriteriaEvaluationResult;
11966
- /**
11967
- * @deprecated beta functionality subject to change
11968
- */
11969
11896
  type VisibilityParameterValue = {
11970
11897
  /**
11971
11898
  * Overrides any criteria value and hides the component explicitly
@@ -11975,23 +11902,12 @@ type VisibilityParameterValue = {
11975
11902
  /** Criteria for the visibility of the component. If these evaluate to false, the component is hidden. */
11976
11903
  criteria?: VisibilityCriteriaGroup;
11977
11904
  };
11978
- /**
11979
- * @deprecated beta functionality subject to change
11980
- */
11981
11905
  type VisibilityCriteriaGroup = components$m['schemas']['VisibilityCriteriaGroup'];
11982
- /**
11983
- * @deprecated beta functionality subject to change
11984
- */
11985
11906
  type VisibilityCriteria = components$m['schemas']['VisibilityCriteria'];
11986
- /**
11987
- * @deprecated beta functionality subject to change
11988
- */
11989
11907
  type ComponentParameterConditionalValue<TValue = unknown> = Omit<components$m['schemas']['ComponentParameterConditionalValue'], 'value'> & {
11990
11908
  value: TValue;
11991
11909
  };
11992
11910
  /**
11993
- * @deprecated beta functionality subject to change
11994
- *
11995
11911
  * true: criteria group is true
11996
11912
  * false: criteria group is false
11997
11913
  * null: criteria group has clauses which are indeterminate with the current rule-set
@@ -12012,7 +11928,7 @@ type EvaluateCriteriaGroupOptions = {
12012
11928
  criteriaGroup: VisibilityCriteriaGroup;
12013
11929
  };
12014
11930
  /**
12015
- * @deprecated beta functionality subject to change
11931
+ * Evaluates the visibility of a criteria group.
12016
11932
  */
12017
11933
  declare function evaluateVisibilityCriteriaGroup(options: EvaluateCriteriaGroupOptions): VisibilityCriteriaEvaluationResult;
12018
11934
 
@@ -12021,8 +11937,7 @@ interface EvaluateNodeVisibilityParameterOptions extends Omit<EvaluateCriteriaGr
12021
11937
  parameter: VisibilityParameterValue | undefined;
12022
11938
  }
12023
11939
  /**
12024
- *
12025
- * @deprecated beta functionality subject to change
11940
+ * Evaluates the visibility of a node based on the visibility criteria in the parameter.
12026
11941
  */
12027
11942
  declare function evaluateNodeVisibilityParameter({ parameter, ...evaluateGroupOptions }: EvaluateNodeVisibilityParameterOptions): VisibilityCriteriaEvaluationResult;
12028
11943
 
@@ -12060,8 +11975,6 @@ type PropertyCriteriaMatch = {
12060
11975
  *
12061
11976
  * NOTE: function mutates the conditionalValues input parameter when `simplifyCriteria` is passed for max performance.
12062
11977
  * If you want immutability, wrap it in immer.
12063
- *
12064
- * @deprecated beta functionality subject to change
12065
11978
  */
12066
11979
  declare function evaluatePropertyCriteria({ baseValue, conditionalValues, keepIndeterminate, ...evaluateGroupOptions }: EvaluatePropertyCriteriaOptions): PropertyCriteriaMatch;
12067
11980
 
@@ -12084,8 +11997,6 @@ interface EvaluateNodeTreeVisibilityOptions extends Pick<EvaluateNodeVisibilityO
12084
11997
  * Function to call to evaluate visibility rules when traversing the node tree with walkNodeTree.
12085
11998
  *
12086
11999
  * If the function returns false, that means the current node is removed and you should stop any other code handling.
12087
- *
12088
- * @deprecated beta functionality subject to change
12089
12000
  */
12090
12001
  declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, context, }: EvaluateNodeTreeVisibilityOptions): boolean | undefined;
12091
12002
 
@@ -12101,44 +12012,38 @@ interface EvaluateWalkTreePropertyCriteriaOptions extends Pick<EvaluatePropertyC
12101
12012
  * Automatically also evaluates localizable conditional values.
12102
12013
  *
12103
12014
  * NOTE: this function may mutate its input object for maximum performance.
12104
- *
12105
- * @deprecated beta functionality subject to change
12106
12015
  */
12107
12016
  declare function evaluateWalkTreePropertyCriteria({ rules, node, keepIndeterminate, }: EvaluateWalkTreePropertyCriteriaOptions): void;
12108
12017
 
12109
- /**
12110
- * @deprecated beta functionality subject to change
12111
- */
12018
+ /** ID of the dynamic input visibility rule */
12112
12019
  declare const CANVAS_VIZ_DI_RULE = "$di";
12113
12020
  /**
12114
- * @deprecated beta functionality subject to change
12021
+ * Creates a visibility rule that evaluates based on the value of a dynamic input.
12115
12022
  */
12116
12023
  declare function createDynamicInputVisibilityRule(dynamicInputs: Record<string, string>): VisibilityRules;
12117
12024
 
12118
12025
  /**
12119
- * @deprecated beta functionality subject to change
12026
+ * ID of the dynamic token visibility rule
12120
12027
  */
12121
12028
  declare const CANVAS_VIZ_DYNAMIC_TOKEN_RULE = "$dt";
12122
12029
  /**
12123
- * @deprecated beta functionality subject to change
12030
+ * Creates a visibility rule that evaluates based on the value of a dynamic token.
12124
12031
  */
12125
12032
  declare function createDynamicTokenVisibilityRule(): VisibilityRules;
12126
12033
 
12127
- /**
12128
- * @deprecated beta functionality subject to change
12129
- */
12034
+ /** ID of the locale visibility rule */
12130
12035
  declare const CANVAS_VIZ_LOCALE_RULE = "$locale";
12131
12036
  /**
12132
- * @deprecated beta functionality subject to change
12037
+ * Creates a visibility rule that evaluates based on the current locale.
12133
12038
  */
12134
12039
  declare function createLocaleVisibilityRule(currentLocale: string | undefined): VisibilityRules;
12135
12040
 
12136
12041
  /**
12137
- * @deprecated beta functionality subject to change
12042
+ * ID of the quirks visibility rule
12138
12043
  */
12139
12044
  declare const CANVAS_VIZ_QUIRKS_RULE = "$qk";
12140
12045
  /**
12141
- * @deprecated beta functionality subject to change
12046
+ * Creates a visibility rule that evaluates based on the visitor's quirks.
12142
12047
  */
12143
12048
  declare function createQuirksVisibilityRule(quirks: Quirks): VisibilityRules;
12144
12049
 
@@ -12359,47 +12264,6 @@ declare const createCanvasChannel: ({ listenTo, broadcastTo, }: {
12359
12264
  broadcastTo: Window[];
12360
12265
  }) => Channel;
12361
12266
 
12362
- /**
12363
- * Pusher-js is large (80k) and not tree shakable so it is always bundled if directly referenced,
12364
- * when it's only needed during preview mode. To avoid bundling it for all, we use an old-school
12365
- * write-a-script-tag hack to load it in a poor man's approximation of a dynamic import ;)
12366
- */
12367
- type ChannelSubscription = {
12368
- addEventHandler: (eventName: string, handler: (data: unknown) => void) => () => void;
12369
- unsubscribe: () => void;
12370
- };
12371
- type PreviewEventBus = {
12372
- subscribe: (channel: string) => ChannelSubscription;
12373
- };
12374
- declare global {
12375
- interface Window {
12376
- Pusher?: typeof Pusher;
12377
- __UNIFORM_EVENT_BUS__?: PreviewEventBus;
12378
- }
12379
- }
12380
- /**
12381
- * Creates an event bus client to receive updates from Canvas
12382
- * IMPORTANT: in a server-side context this will always return undefined
12383
- * IMPORTANT: in a browser context this is cached in window and does not create multiple instances
12384
- */
12385
- declare function createEventBus(): Promise<PreviewEventBus | undefined>;
12386
-
12387
- type EventNames = 'updated';
12388
-
12389
- declare function getChannelName(projectId: string, compositionId: string, state: number): string;
12390
-
12391
- type SubscribeToCompositionOptions = {
12392
- projectId: string;
12393
- compositionId: string;
12394
- compositionState: number;
12395
- callback: (data: unknown) => void;
12396
- eventBus: PreviewEventBus;
12397
- event: EventNames;
12398
- };
12399
- type UnsubscribeCallback = () => void;
12400
- /** Subscribes to a composition event */
12401
- declare function subscribeToComposition({ projectId, compositionId, compositionState, eventBus: { subscribe }, callback, event, }: SubscribeToCompositionOptions): UnsubscribeCallback;
12402
-
12403
12267
  /**
12404
12268
  * API client to work with Uniform Project Preview entities
12405
12269
  *
@@ -12867,18 +12731,6 @@ interface FlattenValuesOptions {
12867
12731
  */
12868
12732
  levels?: number;
12869
12733
  }
12870
- /**
12871
- * @deprecated do not use, will be removed in a future version
12872
- */
12873
- declare function getPropertyValue<TValue, T extends ComponentParameter<TValue>>(parameter: T): TValue;
12874
- /**
12875
- * @deprecated do not use, will be removed in a future version
12876
- */
12877
- declare function getPropertyValue(parameter: null): null;
12878
- /**
12879
- * @deprecated do not use, will be removed in a future version
12880
- */
12881
- declare function getPropertyValue(parameter: undefined): undefined;
12882
12734
  /**
12883
12735
  * Get the localized values of a component parameter
12884
12736
  * or a field attached to an Entry, Block or Asset.
@@ -12978,4 +12830,4 @@ declare class WorkflowClient extends ApiClient {
12978
12830
 
12979
12831
  declare const CanvasClientError: typeof ApiClientError;
12980
12832
 
12981
- export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type AssetParamValue, type AssetParamValueItem, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_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_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, type ChannelSubscription, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentLocationReferenceV2, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDataDiagnostic, type CompositionDeleteParameters, type CompositionDiagnostics, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetOrderBy, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionIssue, type CompositionPatternIssue, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type EventNames, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type LimitPolicy, type LinkComponentParameterValue, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeDeprecatedOptions, type LocalizeModernOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type NodeLocationReference, type NonProjectMapLinkParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type PatternIssue, PreviewClient, type PreviewEventBus, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type ProjectMapLinkComponentParameterValue, type ProjectMapLinkParamValue, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PutContentTypeBody, type PutEntryBody, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, type SelectComponentMessage, type SelectParameterMessage, type SpecificProjectMap, type StringOperators, type SubscribeToCompositionOptions, type SuggestComponentMessage, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, type UnsubscribeCallback, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkComponentTreeActions, type WalkNodeTreeActions, type WalkNodeTreeOptions, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createEventBus, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getChannelName, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, getPropertyValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, subscribeToComposition, walkComponentTree, walkNodeTree };
12833
+ export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type AssetParamValue, type AssetParamValueItem, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_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_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDeleteParameters, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type NodeLocationReference, type NonProjectMapLinkParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type PatternIssue, PreviewClient, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type ProjectMapLinkParamValue, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PutContentTypeBody, type PutEntryBody, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, type SelectComponentMessage, type SelectParameterMessage, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, walkNodeTree };