@uniformdev/canvas 20.87.1-alpha.16.sha-e5d136cbc1 → 20.87.1-alpha.21.sha-87f3a20bce
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 +90 -3
- package/dist/index.d.ts +90 -3
- package/dist/index.esm.js +35 -0
- package/dist/index.js +37 -0
- package/dist/index.mjs +35 -0
- package/package.json +5 -5
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
|
/**
|
|
@@ -3634,6 +3639,12 @@ interface paths$l {
|
|
|
3634
3639
|
releaseId?: string;
|
|
3635
3640
|
/** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
|
3636
3641
|
state?: number;
|
|
3642
|
+
/**
|
|
3643
|
+
* Bypass the trash and permanently delete the entry.
|
|
3644
|
+
* Requires team admin rights.
|
|
3645
|
+
* Cannot be combined with releaseId.
|
|
3646
|
+
*/
|
|
3647
|
+
permanent?: boolean;
|
|
3637
3648
|
};
|
|
3638
3649
|
};
|
|
3639
3650
|
};
|
|
@@ -6310,6 +6321,11 @@ interface components$f {
|
|
|
6310
6321
|
|
|
6311
6322
|
*/
|
|
6312
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;
|
|
6313
6329
|
/** Configuration for providing a list of allowed values for this query string */
|
|
6314
6330
|
optionsSource?: {
|
|
6315
6331
|
/**
|
|
@@ -7466,6 +7482,12 @@ interface paths$d {
|
|
|
7466
7482
|
releaseId?: string;
|
|
7467
7483
|
/** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
|
7468
7484
|
state?: number;
|
|
7485
|
+
/**
|
|
7486
|
+
* Bypass the trash and permanently delete the composition.
|
|
7487
|
+
* Requires team admin rights.
|
|
7488
|
+
* Cannot be combined with releaseId.
|
|
7489
|
+
*/
|
|
7490
|
+
permanent?: boolean;
|
|
7469
7491
|
};
|
|
7470
7492
|
};
|
|
7471
7493
|
};
|
|
@@ -7737,6 +7759,11 @@ interface components$e {
|
|
|
7737
7759
|
|
|
7738
7760
|
*/
|
|
7739
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;
|
|
7740
7767
|
/** Configuration for providing a list of allowed values for this query string */
|
|
7741
7768
|
optionsSource?: {
|
|
7742
7769
|
/**
|
|
@@ -8867,6 +8894,11 @@ interface components$c {
|
|
|
8867
8894
|
|
|
8868
8895
|
*/
|
|
8869
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;
|
|
8870
8902
|
/** Configuration for providing a list of allowed values for this query string */
|
|
8871
8903
|
optionsSource?: {
|
|
8872
8904
|
/**
|
|
@@ -10363,6 +10395,11 @@ interface components$b {
|
|
|
10363
10395
|
|
|
10364
10396
|
*/
|
|
10365
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;
|
|
10366
10403
|
/** Configuration for providing a list of allowed values for this query string */
|
|
10367
10404
|
optionsSource?: {
|
|
10368
10405
|
/**
|
|
@@ -11078,6 +11115,16 @@ interface paths$a {
|
|
|
11078
11115
|
sort?: string[];
|
|
11079
11116
|
shared: boolean;
|
|
11080
11117
|
icon?: string;
|
|
11118
|
+
display?: {
|
|
11119
|
+
/** @enum {string} */
|
|
11120
|
+
layout?: "grid" | "list";
|
|
11121
|
+
list?: {
|
|
11122
|
+
visibility: {
|
|
11123
|
+
[key: string]: boolean;
|
|
11124
|
+
};
|
|
11125
|
+
order: string[];
|
|
11126
|
+
};
|
|
11127
|
+
};
|
|
11081
11128
|
id: string;
|
|
11082
11129
|
projectId: string;
|
|
11083
11130
|
/** @enum {string} */
|
|
@@ -11099,7 +11146,7 @@ interface paths$a {
|
|
|
11099
11146
|
500: components$a["responses"]["InternalServerError"];
|
|
11100
11147
|
};
|
|
11101
11148
|
};
|
|
11102
|
-
/** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `
|
|
11149
|
+
/** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `resourceType` is immutable after create. */
|
|
11103
11150
|
put: {
|
|
11104
11151
|
parameters: {
|
|
11105
11152
|
query?: never;
|
|
@@ -11122,6 +11169,16 @@ interface paths$a {
|
|
|
11122
11169
|
sort?: string[];
|
|
11123
11170
|
shared: boolean;
|
|
11124
11171
|
icon?: string;
|
|
11172
|
+
display?: {
|
|
11173
|
+
/** @enum {string} */
|
|
11174
|
+
layout?: "grid" | "list";
|
|
11175
|
+
list?: {
|
|
11176
|
+
visibility: {
|
|
11177
|
+
[key: string]: boolean;
|
|
11178
|
+
};
|
|
11179
|
+
order: string[];
|
|
11180
|
+
};
|
|
11181
|
+
};
|
|
11125
11182
|
id: string;
|
|
11126
11183
|
projectId: string;
|
|
11127
11184
|
/** @enum {string} */
|
|
@@ -11149,6 +11206,16 @@ interface paths$a {
|
|
|
11149
11206
|
sort?: string[];
|
|
11150
11207
|
shared: boolean;
|
|
11151
11208
|
icon?: string;
|
|
11209
|
+
display?: {
|
|
11210
|
+
/** @enum {string} */
|
|
11211
|
+
layout?: "grid" | "list";
|
|
11212
|
+
list?: {
|
|
11213
|
+
visibility: {
|
|
11214
|
+
[key: string]: boolean;
|
|
11215
|
+
};
|
|
11216
|
+
order: string[];
|
|
11217
|
+
};
|
|
11218
|
+
};
|
|
11152
11219
|
id: string;
|
|
11153
11220
|
projectId: string;
|
|
11154
11221
|
/** @enum {string} */
|
|
@@ -13108,6 +13175,11 @@ interface components$5 {
|
|
|
13108
13175
|
* NOTE: This is only required if the release content has an edition ID
|
|
13109
13176
|
*/
|
|
13110
13177
|
editionId?: string;
|
|
13178
|
+
/**
|
|
13179
|
+
* Bypass the trash and permanently delete the release content.
|
|
13180
|
+
* Requires team admin rights.
|
|
13181
|
+
*/
|
|
13182
|
+
permanent?: boolean;
|
|
13111
13183
|
/**
|
|
13112
13184
|
* Entity type (i.e. composition, entry, asset, ...).
|
|
13113
13185
|
* NOTE: New values may be added to this list without being considered a breaking API change.
|
|
@@ -14680,8 +14752,11 @@ declare function evaluateWalkTreePropertyCriteria({ rules, node, keepIndetermina
|
|
|
14680
14752
|
|
|
14681
14753
|
/** ID of the dynamic input visibility rule */
|
|
14682
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";
|
|
14683
14757
|
/**
|
|
14684
|
-
* 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.
|
|
14685
14760
|
*/
|
|
14686
14761
|
declare function createDynamicInputVisibilityRule(dynamicInputs: Record<string, string>): VisibilityRules;
|
|
14687
14762
|
|
|
@@ -14710,6 +14785,18 @@ declare const CANVAS_VIZ_QUIRKS_RULE = "$qk";
|
|
|
14710
14785
|
*/
|
|
14711
14786
|
declare function createQuirksVisibilityRule(quirks: Quirks): VisibilityRules;
|
|
14712
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
|
+
|
|
14713
14800
|
type CoreStringOperators = 'is' | 'has' | 'startswith' | 'endswith' | 'empty';
|
|
14714
14801
|
type NumericOperators = 'gt' | 'lt';
|
|
14715
14802
|
type StringOperators = CoreStringOperators | `!${CoreStringOperators}` | NumericOperators;
|
|
@@ -16270,4 +16357,4 @@ declare class WorkflowClient extends ApiClient {
|
|
|
16270
16357
|
|
|
16271
16358
|
declare const CanvasClientError: typeof ApiClientError;
|
|
16272
16359
|
|
|
16273
|
-
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
|
/**
|
|
@@ -3634,6 +3639,12 @@ interface paths$l {
|
|
|
3634
3639
|
releaseId?: string;
|
|
3635
3640
|
/** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
|
3636
3641
|
state?: number;
|
|
3642
|
+
/**
|
|
3643
|
+
* Bypass the trash and permanently delete the entry.
|
|
3644
|
+
* Requires team admin rights.
|
|
3645
|
+
* Cannot be combined with releaseId.
|
|
3646
|
+
*/
|
|
3647
|
+
permanent?: boolean;
|
|
3637
3648
|
};
|
|
3638
3649
|
};
|
|
3639
3650
|
};
|
|
@@ -6310,6 +6321,11 @@ interface components$f {
|
|
|
6310
6321
|
|
|
6311
6322
|
*/
|
|
6312
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;
|
|
6313
6329
|
/** Configuration for providing a list of allowed values for this query string */
|
|
6314
6330
|
optionsSource?: {
|
|
6315
6331
|
/**
|
|
@@ -7466,6 +7482,12 @@ interface paths$d {
|
|
|
7466
7482
|
releaseId?: string;
|
|
7467
7483
|
/** The state to delete (0 = draft, 64 = published [causes unpublishing], unspecified = all) */
|
|
7468
7484
|
state?: number;
|
|
7485
|
+
/**
|
|
7486
|
+
* Bypass the trash and permanently delete the composition.
|
|
7487
|
+
* Requires team admin rights.
|
|
7488
|
+
* Cannot be combined with releaseId.
|
|
7489
|
+
*/
|
|
7490
|
+
permanent?: boolean;
|
|
7469
7491
|
};
|
|
7470
7492
|
};
|
|
7471
7493
|
};
|
|
@@ -7737,6 +7759,11 @@ interface components$e {
|
|
|
7737
7759
|
|
|
7738
7760
|
*/
|
|
7739
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;
|
|
7740
7767
|
/** Configuration for providing a list of allowed values for this query string */
|
|
7741
7768
|
optionsSource?: {
|
|
7742
7769
|
/**
|
|
@@ -8867,6 +8894,11 @@ interface components$c {
|
|
|
8867
8894
|
|
|
8868
8895
|
*/
|
|
8869
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;
|
|
8870
8902
|
/** Configuration for providing a list of allowed values for this query string */
|
|
8871
8903
|
optionsSource?: {
|
|
8872
8904
|
/**
|
|
@@ -10363,6 +10395,11 @@ interface components$b {
|
|
|
10363
10395
|
|
|
10364
10396
|
*/
|
|
10365
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;
|
|
10366
10403
|
/** Configuration for providing a list of allowed values for this query string */
|
|
10367
10404
|
optionsSource?: {
|
|
10368
10405
|
/**
|
|
@@ -11078,6 +11115,16 @@ interface paths$a {
|
|
|
11078
11115
|
sort?: string[];
|
|
11079
11116
|
shared: boolean;
|
|
11080
11117
|
icon?: string;
|
|
11118
|
+
display?: {
|
|
11119
|
+
/** @enum {string} */
|
|
11120
|
+
layout?: "grid" | "list";
|
|
11121
|
+
list?: {
|
|
11122
|
+
visibility: {
|
|
11123
|
+
[key: string]: boolean;
|
|
11124
|
+
};
|
|
11125
|
+
order: string[];
|
|
11126
|
+
};
|
|
11127
|
+
};
|
|
11081
11128
|
id: string;
|
|
11082
11129
|
projectId: string;
|
|
11083
11130
|
/** @enum {string} */
|
|
@@ -11099,7 +11146,7 @@ interface paths$a {
|
|
|
11099
11146
|
500: components$a["responses"]["InternalServerError"];
|
|
11100
11147
|
};
|
|
11101
11148
|
};
|
|
11102
|
-
/** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `
|
|
11149
|
+
/** Create-or-replace a saved view by id. The caller mints the UUID. Omitted optional fields are cleared. `shared` may only be promoted (personal → shared); demotion returns 400. `resourceType` is immutable after create. */
|
|
11103
11150
|
put: {
|
|
11104
11151
|
parameters: {
|
|
11105
11152
|
query?: never;
|
|
@@ -11122,6 +11169,16 @@ interface paths$a {
|
|
|
11122
11169
|
sort?: string[];
|
|
11123
11170
|
shared: boolean;
|
|
11124
11171
|
icon?: string;
|
|
11172
|
+
display?: {
|
|
11173
|
+
/** @enum {string} */
|
|
11174
|
+
layout?: "grid" | "list";
|
|
11175
|
+
list?: {
|
|
11176
|
+
visibility: {
|
|
11177
|
+
[key: string]: boolean;
|
|
11178
|
+
};
|
|
11179
|
+
order: string[];
|
|
11180
|
+
};
|
|
11181
|
+
};
|
|
11125
11182
|
id: string;
|
|
11126
11183
|
projectId: string;
|
|
11127
11184
|
/** @enum {string} */
|
|
@@ -11149,6 +11206,16 @@ interface paths$a {
|
|
|
11149
11206
|
sort?: string[];
|
|
11150
11207
|
shared: boolean;
|
|
11151
11208
|
icon?: string;
|
|
11209
|
+
display?: {
|
|
11210
|
+
/** @enum {string} */
|
|
11211
|
+
layout?: "grid" | "list";
|
|
11212
|
+
list?: {
|
|
11213
|
+
visibility: {
|
|
11214
|
+
[key: string]: boolean;
|
|
11215
|
+
};
|
|
11216
|
+
order: string[];
|
|
11217
|
+
};
|
|
11218
|
+
};
|
|
11152
11219
|
id: string;
|
|
11153
11220
|
projectId: string;
|
|
11154
11221
|
/** @enum {string} */
|
|
@@ -13108,6 +13175,11 @@ interface components$5 {
|
|
|
13108
13175
|
* NOTE: This is only required if the release content has an edition ID
|
|
13109
13176
|
*/
|
|
13110
13177
|
editionId?: string;
|
|
13178
|
+
/**
|
|
13179
|
+
* Bypass the trash and permanently delete the release content.
|
|
13180
|
+
* Requires team admin rights.
|
|
13181
|
+
*/
|
|
13182
|
+
permanent?: boolean;
|
|
13111
13183
|
/**
|
|
13112
13184
|
* Entity type (i.e. composition, entry, asset, ...).
|
|
13113
13185
|
* NOTE: New values may be added to this list without being considered a breaking API change.
|
|
@@ -14680,8 +14752,11 @@ declare function evaluateWalkTreePropertyCriteria({ rules, node, keepIndetermina
|
|
|
14680
14752
|
|
|
14681
14753
|
/** ID of the dynamic input visibility rule */
|
|
14682
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";
|
|
14683
14757
|
/**
|
|
14684
|
-
* 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.
|
|
14685
14760
|
*/
|
|
14686
14761
|
declare function createDynamicInputVisibilityRule(dynamicInputs: Record<string, string>): VisibilityRules;
|
|
14687
14762
|
|
|
@@ -14710,6 +14785,18 @@ declare const CANVAS_VIZ_QUIRKS_RULE = "$qk";
|
|
|
14710
14785
|
*/
|
|
14711
14786
|
declare function createQuirksVisibilityRule(quirks: Quirks): VisibilityRules;
|
|
14712
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
|
+
|
|
14713
14800
|
type CoreStringOperators = 'is' | 'has' | 'startswith' | 'endswith' | 'empty';
|
|
14714
14801
|
type NumericOperators = 'gt' | 'lt';
|
|
14715
14802
|
type StringOperators = CoreStringOperators | `!${CoreStringOperators}` | NumericOperators;
|
|
@@ -16270,4 +16357,4 @@ declare class WorkflowClient extends ApiClient {
|
|
|
16270
16357
|
|
|
16271
16358
|
declare const CanvasClientError: typeof ApiClientError;
|
|
16272
16359
|
|
|
16273
|
-
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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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.87.1-alpha.
|
|
3
|
+
"version": "20.87.1-alpha.21.sha-87f3a20bce",
|
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@uniformdev/tsc7": "20.87.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@uniformdev/assets": "20.87.1-alpha.
|
|
41
|
-
"@uniformdev/context": "20.87.1-alpha.
|
|
42
|
-
"@uniformdev/richtext": "20.87.1-alpha.
|
|
40
|
+
"@uniformdev/assets": "20.87.1-alpha.21.sha-87f3a20bce",
|
|
41
|
+
"@uniformdev/context": "20.87.1-alpha.21.sha-87f3a20bce",
|
|
42
|
+
"@uniformdev/richtext": "20.87.1-alpha.21.sha-87f3a20bce",
|
|
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": "87f3a20bce509624416a7c8a1a49c0e15eb15f1f"
|
|
55
55
|
}
|