@uniformdev/canvas 20.87.1-alpha.20.sha-e5c7a15309 → 20.88.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 +43 -3
- package/dist/index.d.ts +43 -3
- package/dist/index.esm.js +36 -1
- package/dist/index.js +38 -1
- package/dist/index.mjs +36 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -1166,6 +1166,11 @@ interface components$r {
|
|
|
1166
1166
|
|
|
1167
1167
|
*/
|
|
1168
1168
|
editorVisibility?: "opt-in";
|
|
1169
|
+
/**
|
|
1170
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
1171
|
+
* can match its individual items.
|
|
1172
|
+
*/
|
|
1173
|
+
multiple?: boolean;
|
|
1169
1174
|
/** Configuration for providing a list of allowed values for this query string */
|
|
1170
1175
|
optionsSource?: {
|
|
1171
1176
|
/**
|
|
@@ -6316,6 +6321,11 @@ interface components$f {
|
|
|
6316
6321
|
|
|
6317
6322
|
*/
|
|
6318
6323
|
editorVisibility?: "opt-in";
|
|
6324
|
+
/**
|
|
6325
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
6326
|
+
* can match its individual items.
|
|
6327
|
+
*/
|
|
6328
|
+
multiple?: boolean;
|
|
6319
6329
|
/** Configuration for providing a list of allowed values for this query string */
|
|
6320
6330
|
optionsSource?: {
|
|
6321
6331
|
/**
|
|
@@ -7749,6 +7759,11 @@ interface components$e {
|
|
|
7749
7759
|
|
|
7750
7760
|
*/
|
|
7751
7761
|
editorVisibility?: "opt-in";
|
|
7762
|
+
/**
|
|
7763
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
7764
|
+
* can match its individual items.
|
|
7765
|
+
*/
|
|
7766
|
+
multiple?: boolean;
|
|
7752
7767
|
/** Configuration for providing a list of allowed values for this query string */
|
|
7753
7768
|
optionsSource?: {
|
|
7754
7769
|
/**
|
|
@@ -8879,6 +8894,11 @@ interface components$c {
|
|
|
8879
8894
|
|
|
8880
8895
|
*/
|
|
8881
8896
|
editorVisibility?: "opt-in";
|
|
8897
|
+
/**
|
|
8898
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
8899
|
+
* can match its individual items.
|
|
8900
|
+
*/
|
|
8901
|
+
multiple?: boolean;
|
|
8882
8902
|
/** Configuration for providing a list of allowed values for this query string */
|
|
8883
8903
|
optionsSource?: {
|
|
8884
8904
|
/**
|
|
@@ -10375,6 +10395,11 @@ interface components$b {
|
|
|
10375
10395
|
|
|
10376
10396
|
*/
|
|
10377
10397
|
editorVisibility?: "opt-in";
|
|
10398
|
+
/**
|
|
10399
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
10400
|
+
* can match its individual items.
|
|
10401
|
+
*/
|
|
10402
|
+
multiple?: boolean;
|
|
10378
10403
|
/** Configuration for providing a list of allowed values for this query string */
|
|
10379
10404
|
optionsSource?: {
|
|
10380
10405
|
/**
|
|
@@ -14727,8 +14752,11 @@ declare function evaluateWalkTreePropertyCriteria({ rules, node, keepIndetermina
|
|
|
14727
14752
|
|
|
14728
14753
|
/** ID of the dynamic input visibility rule */
|
|
14729
14754
|
declare const CANVAS_VIZ_DI_RULE = "$di";
|
|
14755
|
+
/** ID of the dynamic input list visibility rule, which matches the items of a comma-separated dynamic input value */
|
|
14756
|
+
declare const CANVAS_VIZ_DI_LIST_RULE = "$dil";
|
|
14730
14757
|
/**
|
|
14731
|
-
* Creates
|
|
14758
|
+
* Creates visibility rules that evaluate based on the value of a dynamic input.
|
|
14759
|
+
* The `$dil` rule reads the value as a comma-separated list and matches its items.
|
|
14732
14760
|
*/
|
|
14733
14761
|
declare function createDynamicInputVisibilityRule(dynamicInputs: Record<string, string>): VisibilityRules;
|
|
14734
14762
|
|
|
@@ -14757,6 +14785,18 @@ declare const CANVAS_VIZ_QUIRKS_RULE = "$qk";
|
|
|
14757
14785
|
*/
|
|
14758
14786
|
declare function createQuirksVisibilityRule(quirks: Quirks): VisibilityRules;
|
|
14759
14787
|
|
|
14788
|
+
type CoreListOperators = 'is' | 'empty';
|
|
14789
|
+
/**
|
|
14790
|
+
* Operators that match the items of a list.
|
|
14791
|
+
* `is` and `!is` with an array value mean "is any of" and "is none of".
|
|
14792
|
+
*/
|
|
14793
|
+
type ListOperators = CoreListOperators | `!${CoreListOperators}` | 'all';
|
|
14794
|
+
/**
|
|
14795
|
+
* Splits a comma-separated value into its items.
|
|
14796
|
+
* Items are trimmed, and empty items are dropped.
|
|
14797
|
+
*/
|
|
14798
|
+
declare function splitListValue(value: string): string[];
|
|
14799
|
+
|
|
14760
14800
|
type CoreStringOperators = 'is' | 'has' | 'startswith' | 'endswith' | 'empty';
|
|
14761
14801
|
type NumericOperators = 'gt' | 'lt';
|
|
14762
14802
|
type StringOperators = CoreStringOperators | `!${CoreStringOperators}` | NumericOperators;
|
|
@@ -16294,7 +16334,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
16294
16334
|
*/
|
|
16295
16335
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
16296
16336
|
|
|
16297
|
-
declare const version = "20.
|
|
16337
|
+
declare const version = "20.88.0";
|
|
16298
16338
|
|
|
16299
16339
|
/** API client to enable managing workflow definitions */
|
|
16300
16340
|
declare class WorkflowClient extends ApiClient {
|
|
@@ -16317,4 +16357,4 @@ declare class WorkflowClient extends ApiClient {
|
|
|
16317
16357
|
|
|
16318
16358
|
declare const CanvasClientError: typeof ApiClientError;
|
|
16319
16359
|
|
|
16320
|
-
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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, 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, ComponentDefinitionClient, 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, CompositionDeliveryClient, type CompositionDeliveryListQuery, type CompositionDeliveryReadOptions, type CompositionDeliverySelector, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionListQuery, CompositionManagementClient, type CompositionManagementListQuery, type CompositionManagementReadOptions, type CompositionManagementSelector, type CompositionPutParameters, type CompositionReadOptions, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, type CompositionWriteSelector, ContentClient, type ContentType, ContentTypeClient, type ContentTypeField, type ContentTypePreviewConfiguration, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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, EntryDeliveryClient, type EntryDeliveryListQuery, type EntryDeliveryReadOptions, type EntryFilters, type EntryList, type EntryListQuery, EntryManagementClient, type EntryManagementListQuery, type EntryManagementReadOptions, type EntryReadOptions, type EntrySelector, type EntryWriteSelector, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type FieldTypesProjection, type FieldsProjection, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type ListEditions, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type ManagementEditionsOverride, type ManagementFormat, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type Projection, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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 RequestPageHtmlMessage, 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, SELECT_QUERY_PREFIX, type SaveOptions, type SaveResult, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SerializedCustomView, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type View, type ViewDelete, type ViewPut, type ViewsQuery, type ViewsResponse, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, version, walkNodeTree, walkPropertyValues };
|
|
16360
|
+
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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_LIST_RULE, 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, ComponentDefinitionClient, 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, CompositionDeliveryClient, type CompositionDeliveryListQuery, type CompositionDeliveryReadOptions, type CompositionDeliverySelector, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionListQuery, CompositionManagementClient, type CompositionManagementListQuery, type CompositionManagementReadOptions, type CompositionManagementSelector, type CompositionPutParameters, type CompositionReadOptions, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, type CompositionWriteSelector, ContentClient, type ContentType, ContentTypeClient, type ContentTypeField, type ContentTypePreviewConfiguration, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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, EntryDeliveryClient, type EntryDeliveryListQuery, type EntryDeliveryReadOptions, type EntryFilters, type EntryList, type EntryListQuery, EntryManagementClient, type EntryManagementListQuery, type EntryManagementReadOptions, type EntryReadOptions, type EntrySelector, type EntryWriteSelector, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type FieldTypesProjection, type FieldsProjection, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type ListEditions, type ListOperators, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type ManagementEditionsOverride, type ManagementFormat, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type Projection, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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 RequestPageHtmlMessage, 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, SELECT_QUERY_PREFIX, type SaveOptions, type SaveResult, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SerializedCustomView, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type View, type ViewDelete, type ViewPut, type ViewsQuery, type ViewsResponse, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, splitListValue, version, walkNodeTree, walkPropertyValues };
|
package/dist/index.d.ts
CHANGED
|
@@ -1166,6 +1166,11 @@ interface components$r {
|
|
|
1166
1166
|
|
|
1167
1167
|
*/
|
|
1168
1168
|
editorVisibility?: "opt-in";
|
|
1169
|
+
/**
|
|
1170
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
1171
|
+
* can match its individual items.
|
|
1172
|
+
*/
|
|
1173
|
+
multiple?: boolean;
|
|
1169
1174
|
/** Configuration for providing a list of allowed values for this query string */
|
|
1170
1175
|
optionsSource?: {
|
|
1171
1176
|
/**
|
|
@@ -6316,6 +6321,11 @@ interface components$f {
|
|
|
6316
6321
|
|
|
6317
6322
|
*/
|
|
6318
6323
|
editorVisibility?: "opt-in";
|
|
6324
|
+
/**
|
|
6325
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
6326
|
+
* can match its individual items.
|
|
6327
|
+
*/
|
|
6328
|
+
multiple?: boolean;
|
|
6319
6329
|
/** Configuration for providing a list of allowed values for this query string */
|
|
6320
6330
|
optionsSource?: {
|
|
6321
6331
|
/**
|
|
@@ -7749,6 +7759,11 @@ interface components$e {
|
|
|
7749
7759
|
|
|
7750
7760
|
*/
|
|
7751
7761
|
editorVisibility?: "opt-in";
|
|
7762
|
+
/**
|
|
7763
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
7764
|
+
* can match its individual items.
|
|
7765
|
+
*/
|
|
7766
|
+
multiple?: boolean;
|
|
7752
7767
|
/** Configuration for providing a list of allowed values for this query string */
|
|
7753
7768
|
optionsSource?: {
|
|
7754
7769
|
/**
|
|
@@ -8879,6 +8894,11 @@ interface components$c {
|
|
|
8879
8894
|
|
|
8880
8895
|
*/
|
|
8881
8896
|
editorVisibility?: "opt-in";
|
|
8897
|
+
/**
|
|
8898
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
8899
|
+
* can match its individual items.
|
|
8900
|
+
*/
|
|
8901
|
+
multiple?: boolean;
|
|
8882
8902
|
/** Configuration for providing a list of allowed values for this query string */
|
|
8883
8903
|
optionsSource?: {
|
|
8884
8904
|
/**
|
|
@@ -10375,6 +10395,11 @@ interface components$b {
|
|
|
10375
10395
|
|
|
10376
10396
|
*/
|
|
10377
10397
|
editorVisibility?: "opt-in";
|
|
10398
|
+
/**
|
|
10399
|
+
* When true, the value is a comma-separated list. Visibility rules and conditional values
|
|
10400
|
+
* can match its individual items.
|
|
10401
|
+
*/
|
|
10402
|
+
multiple?: boolean;
|
|
10378
10403
|
/** Configuration for providing a list of allowed values for this query string */
|
|
10379
10404
|
optionsSource?: {
|
|
10380
10405
|
/**
|
|
@@ -14727,8 +14752,11 @@ declare function evaluateWalkTreePropertyCriteria({ rules, node, keepIndetermina
|
|
|
14727
14752
|
|
|
14728
14753
|
/** ID of the dynamic input visibility rule */
|
|
14729
14754
|
declare const CANVAS_VIZ_DI_RULE = "$di";
|
|
14755
|
+
/** ID of the dynamic input list visibility rule, which matches the items of a comma-separated dynamic input value */
|
|
14756
|
+
declare const CANVAS_VIZ_DI_LIST_RULE = "$dil";
|
|
14730
14757
|
/**
|
|
14731
|
-
* Creates
|
|
14758
|
+
* Creates visibility rules that evaluate based on the value of a dynamic input.
|
|
14759
|
+
* The `$dil` rule reads the value as a comma-separated list and matches its items.
|
|
14732
14760
|
*/
|
|
14733
14761
|
declare function createDynamicInputVisibilityRule(dynamicInputs: Record<string, string>): VisibilityRules;
|
|
14734
14762
|
|
|
@@ -14757,6 +14785,18 @@ declare const CANVAS_VIZ_QUIRKS_RULE = "$qk";
|
|
|
14757
14785
|
*/
|
|
14758
14786
|
declare function createQuirksVisibilityRule(quirks: Quirks): VisibilityRules;
|
|
14759
14787
|
|
|
14788
|
+
type CoreListOperators = 'is' | 'empty';
|
|
14789
|
+
/**
|
|
14790
|
+
* Operators that match the items of a list.
|
|
14791
|
+
* `is` and `!is` with an array value mean "is any of" and "is none of".
|
|
14792
|
+
*/
|
|
14793
|
+
type ListOperators = CoreListOperators | `!${CoreListOperators}` | 'all';
|
|
14794
|
+
/**
|
|
14795
|
+
* Splits a comma-separated value into its items.
|
|
14796
|
+
* Items are trimmed, and empty items are dropped.
|
|
14797
|
+
*/
|
|
14798
|
+
declare function splitListValue(value: string): string[];
|
|
14799
|
+
|
|
14760
14800
|
type CoreStringOperators = 'is' | 'has' | 'startswith' | 'endswith' | 'empty';
|
|
14761
14801
|
type NumericOperators = 'gt' | 'lt';
|
|
14762
14802
|
type StringOperators = CoreStringOperators | `!${CoreStringOperators}` | NumericOperators;
|
|
@@ -16294,7 +16334,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
16294
16334
|
*/
|
|
16295
16335
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
16296
16336
|
|
|
16297
|
-
declare const version = "20.
|
|
16337
|
+
declare const version = "20.88.0";
|
|
16298
16338
|
|
|
16299
16339
|
/** API client to enable managing workflow definitions */
|
|
16300
16340
|
declare class WorkflowClient extends ApiClient {
|
|
@@ -16317,4 +16357,4 @@ declare class WorkflowClient extends ApiClient {
|
|
|
16317
16357
|
|
|
16318
16358
|
declare const CanvasClientError: typeof ApiClientError;
|
|
16319
16359
|
|
|
16320
|
-
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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, 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, ComponentDefinitionClient, 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, CompositionDeliveryClient, type CompositionDeliveryListQuery, type CompositionDeliveryReadOptions, type CompositionDeliverySelector, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionListQuery, CompositionManagementClient, type CompositionManagementListQuery, type CompositionManagementReadOptions, type CompositionManagementSelector, type CompositionPutParameters, type CompositionReadOptions, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, type CompositionWriteSelector, ContentClient, type ContentType, ContentTypeClient, type ContentTypeField, type ContentTypePreviewConfiguration, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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, EntryDeliveryClient, type EntryDeliveryListQuery, type EntryDeliveryReadOptions, type EntryFilters, type EntryList, type EntryListQuery, EntryManagementClient, type EntryManagementListQuery, type EntryManagementReadOptions, type EntryReadOptions, type EntrySelector, type EntryWriteSelector, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type FieldTypesProjection, type FieldsProjection, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type ListEditions, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type ManagementEditionsOverride, type ManagementFormat, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type Projection, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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 RequestPageHtmlMessage, 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, SELECT_QUERY_PREFIX, type SaveOptions, type SaveResult, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SerializedCustomView, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type View, type ViewDelete, type ViewPut, type ViewsQuery, type ViewsResponse, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, version, walkNodeTree, walkPropertyValues };
|
|
16360
|
+
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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_LIST_RULE, 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, ComponentDefinitionClient, 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, CompositionDeliveryClient, type CompositionDeliveryListQuery, type CompositionDeliveryReadOptions, type CompositionDeliverySelector, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionListQuery, CompositionManagementClient, type CompositionManagementListQuery, type CompositionManagementReadOptions, type CompositionManagementSelector, type CompositionPutParameters, type CompositionReadOptions, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, type CompositionWriteSelector, ContentClient, type ContentType, ContentTypeClient, type ContentTypeField, type ContentTypePreviewConfiguration, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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, EntryDeliveryClient, type EntryDeliveryListQuery, type EntryDeliveryReadOptions, type EntryFilters, type EntryList, type EntryListQuery, EntryManagementClient, type EntryManagementListQuery, type EntryManagementReadOptions, type EntryReadOptions, type EntrySelector, type EntryWriteSelector, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type FieldTypesProjection, type FieldsProjection, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type ListEditions, type ListOperators, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type ManagementEditionsOverride, type ManagementFormat, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type Projection, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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 RequestPageHtmlMessage, 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, SELECT_QUERY_PREFIX, type SaveOptions, type SaveResult, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SerializedCustomView, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type View, type ViewDelete, type ViewPut, type ViewsQuery, type ViewsResponse, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, splitListValue, version, walkNodeTree, walkPropertyValues };
|
package/dist/index.esm.js
CHANGED
|
@@ -2294,6 +2294,33 @@ function evaluateWalkTreePropertyCriteria({
|
|
|
2294
2294
|
});
|
|
2295
2295
|
}
|
|
2296
2296
|
|
|
2297
|
+
// src/enhancement/visibility/rules/evaluateListMatch.ts
|
|
2298
|
+
function splitListValue(value) {
|
|
2299
|
+
return value.split(",").map((item) => item.trim()).filter((item) => item !== "");
|
|
2300
|
+
}
|
|
2301
|
+
function evaluateListMatch(criteria, matchValue) {
|
|
2302
|
+
const { op, value } = criteria;
|
|
2303
|
+
const items = splitListValue(matchValue);
|
|
2304
|
+
switch (op) {
|
|
2305
|
+
case "is":
|
|
2306
|
+
case "!is": {
|
|
2307
|
+
const result = Array.isArray(value) ? value.some((criterion) => items.includes(criterion)) : items.includes(value);
|
|
2308
|
+
return op === "!is" ? !result : result;
|
|
2309
|
+
}
|
|
2310
|
+
case "all":
|
|
2311
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
2312
|
+
return null;
|
|
2313
|
+
}
|
|
2314
|
+
return value.every((criterion) => items.includes(criterion));
|
|
2315
|
+
case "empty":
|
|
2316
|
+
return items.length === 0;
|
|
2317
|
+
case "!empty":
|
|
2318
|
+
return items.length > 0;
|
|
2319
|
+
default:
|
|
2320
|
+
return null;
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2297
2324
|
// src/enhancement/visibility/rules/evaluateStringMatch.ts
|
|
2298
2325
|
var isEvaluator = (criteria, matchValue) => {
|
|
2299
2326
|
if (Array.isArray(criteria)) {
|
|
@@ -2384,12 +2411,18 @@ var dynamicInputVisibilityOperators = /* @__PURE__ */ new Set([
|
|
|
2384
2411
|
"!empty"
|
|
2385
2412
|
]);
|
|
2386
2413
|
var CANVAS_VIZ_DI_RULE = "$di";
|
|
2414
|
+
var CANVAS_VIZ_DI_LIST_RULE = "$dil";
|
|
2387
2415
|
function createDynamicInputVisibilityRule(dynamicInputs) {
|
|
2388
2416
|
return {
|
|
2389
2417
|
[CANVAS_VIZ_DI_RULE]: (criterion) => {
|
|
2390
2418
|
const { source } = criterion;
|
|
2391
2419
|
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2392
2420
|
return evaluateStringMatch(criterion, diValue != null ? diValue : "", dynamicInputVisibilityOperators);
|
|
2421
|
+
},
|
|
2422
|
+
[CANVAS_VIZ_DI_LIST_RULE]: (criterion) => {
|
|
2423
|
+
const { source } = criterion;
|
|
2424
|
+
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2425
|
+
return evaluateListMatch(criterion, diValue != null ? diValue : "");
|
|
2393
2426
|
}
|
|
2394
2427
|
};
|
|
2395
2428
|
}
|
|
@@ -4063,7 +4096,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4063
4096
|
import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
|
|
4064
4097
|
|
|
4065
4098
|
// src/.version.ts
|
|
4066
|
-
var version = "20.
|
|
4099
|
+
var version = "20.88.0";
|
|
4067
4100
|
|
|
4068
4101
|
// src/WorkflowClient.ts
|
|
4069
4102
|
import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
|
|
@@ -4152,6 +4185,7 @@ export {
|
|
|
4152
4185
|
CANVAS_TEST_TYPE,
|
|
4153
4186
|
CANVAS_TEST_VARIANT_PARAM,
|
|
4154
4187
|
CANVAS_VIZ_CONTROL_PARAM,
|
|
4188
|
+
CANVAS_VIZ_DI_LIST_RULE,
|
|
4155
4189
|
CANVAS_VIZ_DI_RULE,
|
|
4156
4190
|
CANVAS_VIZ_DYNAMIC_TOKEN_RULE,
|
|
4157
4191
|
CANVAS_VIZ_LOCALE_RULE,
|
|
@@ -4287,6 +4321,7 @@ export {
|
|
|
4287
4321
|
parseVariableExpression,
|
|
4288
4322
|
projectionToQuery,
|
|
4289
4323
|
queryToProjection,
|
|
4324
|
+
splitListValue,
|
|
4290
4325
|
version,
|
|
4291
4326
|
walkNodeTree,
|
|
4292
4327
|
walkPropertyValues
|
package/dist/index.js
CHANGED
|
@@ -79,6 +79,7 @@ __export(index_exports, {
|
|
|
79
79
|
CANVAS_TEST_TYPE: () => CANVAS_TEST_TYPE,
|
|
80
80
|
CANVAS_TEST_VARIANT_PARAM: () => CANVAS_TEST_VARIANT_PARAM,
|
|
81
81
|
CANVAS_VIZ_CONTROL_PARAM: () => CANVAS_VIZ_CONTROL_PARAM,
|
|
82
|
+
CANVAS_VIZ_DI_LIST_RULE: () => CANVAS_VIZ_DI_LIST_RULE,
|
|
82
83
|
CANVAS_VIZ_DI_RULE: () => CANVAS_VIZ_DI_RULE,
|
|
83
84
|
CANVAS_VIZ_DYNAMIC_TOKEN_RULE: () => CANVAS_VIZ_DYNAMIC_TOKEN_RULE,
|
|
84
85
|
CANVAS_VIZ_LOCALE_RULE: () => CANVAS_VIZ_LOCALE_RULE,
|
|
@@ -214,6 +215,7 @@ __export(index_exports, {
|
|
|
214
215
|
parseVariableExpression: () => parseVariableExpression,
|
|
215
216
|
projectionToQuery: () => projectionToQuery,
|
|
216
217
|
queryToProjection: () => queryToProjection,
|
|
218
|
+
splitListValue: () => splitListValue,
|
|
217
219
|
version: () => version,
|
|
218
220
|
walkNodeTree: () => walkNodeTree,
|
|
219
221
|
walkPropertyValues: () => walkPropertyValues
|
|
@@ -2509,6 +2511,33 @@ function evaluateWalkTreePropertyCriteria({
|
|
|
2509
2511
|
});
|
|
2510
2512
|
}
|
|
2511
2513
|
|
|
2514
|
+
// src/enhancement/visibility/rules/evaluateListMatch.ts
|
|
2515
|
+
function splitListValue(value) {
|
|
2516
|
+
return value.split(",").map((item) => item.trim()).filter((item) => item !== "");
|
|
2517
|
+
}
|
|
2518
|
+
function evaluateListMatch(criteria, matchValue) {
|
|
2519
|
+
const { op, value } = criteria;
|
|
2520
|
+
const items = splitListValue(matchValue);
|
|
2521
|
+
switch (op) {
|
|
2522
|
+
case "is":
|
|
2523
|
+
case "!is": {
|
|
2524
|
+
const result = Array.isArray(value) ? value.some((criterion) => items.includes(criterion)) : items.includes(value);
|
|
2525
|
+
return op === "!is" ? !result : result;
|
|
2526
|
+
}
|
|
2527
|
+
case "all":
|
|
2528
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
2529
|
+
return null;
|
|
2530
|
+
}
|
|
2531
|
+
return value.every((criterion) => items.includes(criterion));
|
|
2532
|
+
case "empty":
|
|
2533
|
+
return items.length === 0;
|
|
2534
|
+
case "!empty":
|
|
2535
|
+
return items.length > 0;
|
|
2536
|
+
default:
|
|
2537
|
+
return null;
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2512
2541
|
// src/enhancement/visibility/rules/evaluateStringMatch.ts
|
|
2513
2542
|
var isEvaluator = (criteria, matchValue) => {
|
|
2514
2543
|
if (Array.isArray(criteria)) {
|
|
@@ -2599,12 +2628,18 @@ var dynamicInputVisibilityOperators = /* @__PURE__ */ new Set([
|
|
|
2599
2628
|
"!empty"
|
|
2600
2629
|
]);
|
|
2601
2630
|
var CANVAS_VIZ_DI_RULE = "$di";
|
|
2631
|
+
var CANVAS_VIZ_DI_LIST_RULE = "$dil";
|
|
2602
2632
|
function createDynamicInputVisibilityRule(dynamicInputs) {
|
|
2603
2633
|
return {
|
|
2604
2634
|
[CANVAS_VIZ_DI_RULE]: (criterion) => {
|
|
2605
2635
|
const { source } = criterion;
|
|
2606
2636
|
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2607
2637
|
return evaluateStringMatch(criterion, diValue != null ? diValue : "", dynamicInputVisibilityOperators);
|
|
2638
|
+
},
|
|
2639
|
+
[CANVAS_VIZ_DI_LIST_RULE]: (criterion) => {
|
|
2640
|
+
const { source } = criterion;
|
|
2641
|
+
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2642
|
+
return evaluateListMatch(criterion, diValue != null ? diValue : "");
|
|
2608
2643
|
}
|
|
2609
2644
|
};
|
|
2610
2645
|
}
|
|
@@ -4278,7 +4313,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4278
4313
|
var import_api27 = require("@uniformdev/context/api");
|
|
4279
4314
|
|
|
4280
4315
|
// src/.version.ts
|
|
4281
|
-
var version = "20.
|
|
4316
|
+
var version = "20.88.0";
|
|
4282
4317
|
|
|
4283
4318
|
// src/WorkflowClient.ts
|
|
4284
4319
|
var import_api26 = require("@uniformdev/context/api");
|
|
@@ -4368,6 +4403,7 @@ var CanvasClientError = import_api27.ApiClientError;
|
|
|
4368
4403
|
CANVAS_TEST_TYPE,
|
|
4369
4404
|
CANVAS_TEST_VARIANT_PARAM,
|
|
4370
4405
|
CANVAS_VIZ_CONTROL_PARAM,
|
|
4406
|
+
CANVAS_VIZ_DI_LIST_RULE,
|
|
4371
4407
|
CANVAS_VIZ_DI_RULE,
|
|
4372
4408
|
CANVAS_VIZ_DYNAMIC_TOKEN_RULE,
|
|
4373
4409
|
CANVAS_VIZ_LOCALE_RULE,
|
|
@@ -4503,6 +4539,7 @@ var CanvasClientError = import_api27.ApiClientError;
|
|
|
4503
4539
|
parseVariableExpression,
|
|
4504
4540
|
projectionToQuery,
|
|
4505
4541
|
queryToProjection,
|
|
4542
|
+
splitListValue,
|
|
4506
4543
|
version,
|
|
4507
4544
|
walkNodeTree,
|
|
4508
4545
|
walkPropertyValues
|
package/dist/index.mjs
CHANGED
|
@@ -2294,6 +2294,33 @@ function evaluateWalkTreePropertyCriteria({
|
|
|
2294
2294
|
});
|
|
2295
2295
|
}
|
|
2296
2296
|
|
|
2297
|
+
// src/enhancement/visibility/rules/evaluateListMatch.ts
|
|
2298
|
+
function splitListValue(value) {
|
|
2299
|
+
return value.split(",").map((item) => item.trim()).filter((item) => item !== "");
|
|
2300
|
+
}
|
|
2301
|
+
function evaluateListMatch(criteria, matchValue) {
|
|
2302
|
+
const { op, value } = criteria;
|
|
2303
|
+
const items = splitListValue(matchValue);
|
|
2304
|
+
switch (op) {
|
|
2305
|
+
case "is":
|
|
2306
|
+
case "!is": {
|
|
2307
|
+
const result = Array.isArray(value) ? value.some((criterion) => items.includes(criterion)) : items.includes(value);
|
|
2308
|
+
return op === "!is" ? !result : result;
|
|
2309
|
+
}
|
|
2310
|
+
case "all":
|
|
2311
|
+
if (!Array.isArray(value) || value.length === 0) {
|
|
2312
|
+
return null;
|
|
2313
|
+
}
|
|
2314
|
+
return value.every((criterion) => items.includes(criterion));
|
|
2315
|
+
case "empty":
|
|
2316
|
+
return items.length === 0;
|
|
2317
|
+
case "!empty":
|
|
2318
|
+
return items.length > 0;
|
|
2319
|
+
default:
|
|
2320
|
+
return null;
|
|
2321
|
+
}
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2297
2324
|
// src/enhancement/visibility/rules/evaluateStringMatch.ts
|
|
2298
2325
|
var isEvaluator = (criteria, matchValue) => {
|
|
2299
2326
|
if (Array.isArray(criteria)) {
|
|
@@ -2384,12 +2411,18 @@ var dynamicInputVisibilityOperators = /* @__PURE__ */ new Set([
|
|
|
2384
2411
|
"!empty"
|
|
2385
2412
|
]);
|
|
2386
2413
|
var CANVAS_VIZ_DI_RULE = "$di";
|
|
2414
|
+
var CANVAS_VIZ_DI_LIST_RULE = "$dil";
|
|
2387
2415
|
function createDynamicInputVisibilityRule(dynamicInputs) {
|
|
2388
2416
|
return {
|
|
2389
2417
|
[CANVAS_VIZ_DI_RULE]: (criterion) => {
|
|
2390
2418
|
const { source } = criterion;
|
|
2391
2419
|
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2392
2420
|
return evaluateStringMatch(criterion, diValue != null ? diValue : "", dynamicInputVisibilityOperators);
|
|
2421
|
+
},
|
|
2422
|
+
[CANVAS_VIZ_DI_LIST_RULE]: (criterion) => {
|
|
2423
|
+
const { source } = criterion;
|
|
2424
|
+
const diValue = source ? dynamicInputs[source] : void 0;
|
|
2425
|
+
return evaluateListMatch(criterion, diValue != null ? diValue : "");
|
|
2393
2426
|
}
|
|
2394
2427
|
};
|
|
2395
2428
|
}
|
|
@@ -4063,7 +4096,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
4063
4096
|
import { ApiClientError as ApiClientError5 } from "@uniformdev/context/api";
|
|
4064
4097
|
|
|
4065
4098
|
// src/.version.ts
|
|
4066
|
-
var version = "20.
|
|
4099
|
+
var version = "20.88.0";
|
|
4067
4100
|
|
|
4068
4101
|
// src/WorkflowClient.ts
|
|
4069
4102
|
import { ApiClient as ApiClient18 } from "@uniformdev/context/api";
|
|
@@ -4152,6 +4185,7 @@ export {
|
|
|
4152
4185
|
CANVAS_TEST_TYPE,
|
|
4153
4186
|
CANVAS_TEST_VARIANT_PARAM,
|
|
4154
4187
|
CANVAS_VIZ_CONTROL_PARAM,
|
|
4188
|
+
CANVAS_VIZ_DI_LIST_RULE,
|
|
4155
4189
|
CANVAS_VIZ_DI_RULE,
|
|
4156
4190
|
CANVAS_VIZ_DYNAMIC_TOKEN_RULE,
|
|
4157
4191
|
CANVAS_VIZ_LOCALE_RULE,
|
|
@@ -4287,6 +4321,7 @@ export {
|
|
|
4287
4321
|
parseVariableExpression,
|
|
4288
4322
|
projectionToQuery,
|
|
4289
4323
|
queryToProjection,
|
|
4324
|
+
splitListValue,
|
|
4290
4325
|
version,
|
|
4291
4326
|
walkNodeTree,
|
|
4292
4327
|
walkPropertyValues
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.88.0",
|
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/retry": "0.12.5",
|
|
37
|
-
"@uniformdev/tsc7": "20.
|
|
37
|
+
"@uniformdev/tsc7": "20.88.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@uniformdev/assets": "20.
|
|
41
|
-
"@uniformdev/context": "20.
|
|
42
|
-
"@uniformdev/richtext": "20.
|
|
40
|
+
"@uniformdev/assets": "20.88.0",
|
|
41
|
+
"@uniformdev/context": "20.88.0",
|
|
42
|
+
"@uniformdev/richtext": "20.88.0",
|
|
43
43
|
"immer": "10.2.0",
|
|
44
44
|
"p-limit": "6.2.0",
|
|
45
45
|
"p-retry": "6.2.1",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d1271e6f263e8d77734ef3ebe3864968a6184433"
|
|
55
55
|
}
|