@uniformdev/canvas 19.19.0 → 19.21.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.ts +36 -19
- package/dist/index.esm.js +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -112,6 +112,8 @@ interface components$4 {
|
|
112
112
|
/**
|
113
113
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
114
114
|
* The parameter type must support being used as a title parameter for this to work.
|
115
|
+
*
|
116
|
+
* @default null
|
115
117
|
*/
|
116
118
|
titleParameter?: string | null;
|
117
119
|
/**
|
@@ -197,7 +199,8 @@ interface components$4 {
|
|
197
199
|
/**
|
198
200
|
* @description Unique identifier of the component within the composition.
|
199
201
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
200
|
-
* This is not
|
202
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
203
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
201
204
|
*/
|
202
205
|
_id?: string;
|
203
206
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -723,6 +726,8 @@ interface external$9 {
|
|
723
726
|
/**
|
724
727
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
725
728
|
* The parameter type must support being used as a title parameter for this to work.
|
729
|
+
*
|
730
|
+
* @default null
|
726
731
|
*/
|
727
732
|
titleParameter?: string | null;
|
728
733
|
/**
|
@@ -808,7 +813,8 @@ interface external$9 {
|
|
808
813
|
/**
|
809
814
|
* @description Unique identifier of the component within the composition.
|
810
815
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
811
|
-
* This is not
|
816
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
817
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
812
818
|
*/
|
813
819
|
_id?: string;
|
814
820
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -1345,6 +1351,8 @@ interface external$8 {
|
|
1345
1351
|
/**
|
1346
1352
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
1347
1353
|
* The parameter type must support being used as a title parameter for this to work.
|
1354
|
+
*
|
1355
|
+
* @default null
|
1348
1356
|
*/
|
1349
1357
|
titleParameter?: string | null;
|
1350
1358
|
/**
|
@@ -1430,7 +1438,8 @@ interface external$8 {
|
|
1430
1438
|
/**
|
1431
1439
|
* @description Unique identifier of the component within the composition.
|
1432
1440
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
1433
|
-
* This is not
|
1441
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
1442
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
1434
1443
|
*/
|
1435
1444
|
_id?: string;
|
1436
1445
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -1898,6 +1907,8 @@ interface external$7 {
|
|
1898
1907
|
/**
|
1899
1908
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
1900
1909
|
* The parameter type must support being used as a title parameter for this to work.
|
1910
|
+
*
|
1911
|
+
* @default null
|
1901
1912
|
*/
|
1902
1913
|
titleParameter?: string | null;
|
1903
1914
|
/**
|
@@ -1983,7 +1994,8 @@ interface external$7 {
|
|
1983
1994
|
/**
|
1984
1995
|
* @description Unique identifier of the component within the composition.
|
1985
1996
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
1986
|
-
* This is not
|
1997
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
1998
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
1987
1999
|
*/
|
1988
2000
|
_id?: string;
|
1989
2001
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -2486,6 +2498,8 @@ interface external$6 {
|
|
2486
2498
|
/**
|
2487
2499
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
2488
2500
|
* The parameter type must support being used as a title parameter for this to work.
|
2501
|
+
*
|
2502
|
+
* @default null
|
2489
2503
|
*/
|
2490
2504
|
titleParameter?: string | null;
|
2491
2505
|
/**
|
@@ -2571,7 +2585,8 @@ interface external$6 {
|
|
2571
2585
|
/**
|
2572
2586
|
* @description Unique identifier of the component within the composition.
|
2573
2587
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
2574
|
-
* This is not
|
2588
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
2589
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
2575
2590
|
*/
|
2576
2591
|
_id?: string;
|
2577
2592
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -3460,6 +3475,8 @@ interface external$5 {
|
|
3460
3475
|
/**
|
3461
3476
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
3462
3477
|
* The parameter type must support being used as a title parameter for this to work.
|
3478
|
+
*
|
3479
|
+
* @default null
|
3463
3480
|
*/
|
3464
3481
|
titleParameter?: string | null;
|
3465
3482
|
/**
|
@@ -3545,7 +3562,8 @@ interface external$5 {
|
|
3545
3562
|
/**
|
3546
3563
|
* @description Unique identifier of the component within the composition.
|
3547
3564
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
3548
|
-
* This is not
|
3565
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
3566
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
3549
3567
|
*/
|
3550
3568
|
_id?: string;
|
3551
3569
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -4259,6 +4277,8 @@ interface external$3 {
|
|
4259
4277
|
/**
|
4260
4278
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
4261
4279
|
* The parameter type must support being used as a title parameter for this to work.
|
4280
|
+
*
|
4281
|
+
* @default null
|
4262
4282
|
*/
|
4263
4283
|
titleParameter?: string | null;
|
4264
4284
|
/**
|
@@ -4344,7 +4364,8 @@ interface external$3 {
|
|
4344
4364
|
/**
|
4345
4365
|
* @description Unique identifier of the component within the composition.
|
4346
4366
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
4347
|
-
* This is not
|
4367
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
4368
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
4348
4369
|
*/
|
4349
4370
|
_id?: string;
|
4350
4371
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -5674,6 +5695,8 @@ interface external$2 {
|
|
5674
5695
|
/**
|
5675
5696
|
* @description The public ID of the parameter whose value should be used to create a display title for this component in the UI.
|
5676
5697
|
* The parameter type must support being used as a title parameter for this to work.
|
5698
|
+
*
|
5699
|
+
* @default null
|
5677
5700
|
*/
|
5678
5701
|
titleParameter?: string | null;
|
5679
5702
|
/**
|
@@ -5759,7 +5782,8 @@ interface external$2 {
|
|
5759
5782
|
/**
|
5760
5783
|
* @description Unique identifier of the component within the composition.
|
5761
5784
|
* No assumptions should be made about the format of this value other than "it will be unique."
|
5762
|
-
* This is not
|
5785
|
+
* This is not returned in GET replies unless specifically requested via `withComponentIDs` API parameter.
|
5786
|
+
* When updating or creating a composition, if you do not specify an _id for each component, one will be created and stored for you.
|
5763
5787
|
*/
|
5764
5788
|
_id?: string;
|
5765
5789
|
/** @description Indicates this component instance should be sourced from a pattern library pattern. */
|
@@ -6772,7 +6796,7 @@ type DataResolutionParameters = {
|
|
6772
6796
|
diagnostics?: boolean;
|
6773
6797
|
};
|
6774
6798
|
/** Types of issue that can occur when fetching composition data */
|
6775
|
-
type CompositionIssue = CompositionPatternIssue | DataResourceIssue | DataElementBindingIssue |
|
6799
|
+
type CompositionIssue = CompositionPatternIssue | DataResourceIssue | DataElementBindingIssue | DynamicInputIssue | DataResolutionConfigIssue;
|
6776
6800
|
type CompositionIssueCore = components$1['schemas']['CompositionIssue'];
|
6777
6801
|
/** An error that occured resolving a pattern that is referenced on the composition */
|
6778
6802
|
type CompositionPatternIssue = CompositionIssueCore & {
|
@@ -6795,20 +6819,14 @@ type DataResourceIssue = CompositionIssueCore & {
|
|
6795
6819
|
* An issue that occurred while binding dynamic inputs to composition data resources,
|
6796
6820
|
* specifically when an expected dynamic input did not have a value.
|
6797
6821
|
*/
|
6798
|
-
type
|
6822
|
+
type DynamicInputIssue = CompositionIssueCore & {
|
6799
6823
|
type: 'input';
|
6800
|
-
inputName: string;
|
6801
6824
|
};
|
6802
6825
|
/** Error in data resolution configuration (internal error) */
|
6803
6826
|
type DataResolutionConfigIssue = {
|
6804
6827
|
message: string;
|
6805
6828
|
type: 'config';
|
6806
6829
|
};
|
6807
|
-
/** Error in applying component overrides */
|
6808
|
-
type OverrideIssue = CompositionIssueCore & {
|
6809
|
-
message: string;
|
6810
|
-
type: 'override';
|
6811
|
-
};
|
6812
6830
|
/** Diagnostics about edge request processing */
|
6813
6831
|
type CompositionDiagnostics = components$1['schemas']['CompositionDiagnostics'];
|
6814
6832
|
/** Diagnostic data about the load performance of attached composition datas */
|
@@ -7910,7 +7928,7 @@ type ResolvedRouteGetResponse = RouteGetResponseNotFound | RouteGetResponseRedir
|
|
7910
7928
|
* Resolves a route using Uniform Project Map and Uniform Redirects,
|
7911
7929
|
* returning a composition, redirection, or not found result.
|
7912
7930
|
*/
|
7913
|
-
declare class
|
7931
|
+
declare class RouteClient extends ApiClient<RouteClientOptions> {
|
7914
7932
|
private edgeApiHost;
|
7915
7933
|
constructor(options: RouteClientOptions);
|
7916
7934
|
/** Fetches lists of Canvas compositions, optionally by type */
|
@@ -7925,7 +7943,6 @@ type BindVariablesResult<TValue> = {
|
|
7925
7943
|
type BindVariablesToObjectOptions<T> = {
|
7926
7944
|
/** The object to bind variables to. Only strings or objects are bound. */
|
7927
7945
|
value: T;
|
7928
|
-
recursivePath?: string;
|
7929
7946
|
} & Omit<BindVariablesOptions, 'value'>;
|
7930
7947
|
/**
|
7931
7948
|
* Binds composition variables to an object whose string keys may have variable expressions in them.
|
@@ -8176,4 +8193,4 @@ declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined):
|
|
8176
8193
|
|
8177
8194
|
declare const CanvasClientError: typeof ApiClientError;
|
8178
8195
|
|
8179
|
-
export { AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions,
|
8196
|
+
export { AddComponentMessage, BatchEnhancer, BatchEntry, BatchInvalidationPayload, BindVariablesOptions, BindVariablesResult, BindVariablesToObjectOptions, CANVAS_DRAFT_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CanvasClient, CanvasClientError, CanvasDefinitions, Channel, ChannelMessage, ChannelSubscription, ChildEnhancerBuilder, ComponentDefinition, ComponentDefinitionDeleteParameters, ComponentDefinitionGetParameters, ComponentDefinitionGetResponse, ComponentDefinitionParameter, ComponentDefinitionPermission, ComponentDefinitionPutParameters, ComponentDefinitionSlot, ComponentDefinitionSlugSettings, ComponentDefinitionVariant, ComponentEnhancer, ComponentEnhancerFunction, ComponentEnhancerOptions, ComponentInstance, ComponentInstanceHistoryEntry, ComponentInstanceHistoryGetParameters, ComponentInstanceHistoryGetResponse, ComponentLocationReference, ComponentOverridability, ComponentOverride, ComponentOverrides, ComponentParameter, ComponentParameterContextualEditing, ComponentParameterEnhancer, ComponentParameterEnhancerFunction, ComponentParameterEnhancerOptions, CompositionDataDiagnostic, CompositionDeleteParameters, CompositionDiagnostics, CompositionGetByIdParameters, CompositionGetByNodeIdParameters, CompositionGetByNodePathParameters, CompositionGetBySlugParameters, CompositionGetListResponse, CompositionGetOrderBy, CompositionGetParameters, CompositionGetResponse, CompositionGetValidResponses, CompositionIssue, CompositionPatternIssue, CompositionPutParameters, CompositionRelationshipsClientOptions, CompositionRelationshipsDDefinitionGetResponse, CompositionRelationshipsDefinitionApi, CompositionRelationshipsDefinitionGetParameters, CompositionResolvedGetResponse, CompositionUIStatus, DataElementBindingIssue, DataElementConnectionDefinition, DataResolutionConfigIssue, DataResolutionOption, DataResolutionOptionNegative, DataResolutionOptionPositive, DataResolutionParameters, DataResourceDefinition, DataResourceDefinitions, DataResourceIssue, DataResourceVariables, DataSource, DataSourceClient, DataSourceDeleteParameters, DataSourceGetParameters, DataSourceGetResponse, DataSourcePutParameters, DataSourcesGetParameters, DataSourcesGetResponse, DataType, DataTypeClient, DataTypeDeleteParameters, DataTypeGetParameters, DataTypeGetResponse, DataTypePutParameters, DataVariableDefinition, DismissPlaceholderMessage, DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS, EDGE_MAX_CACHE_TTL, EDGE_MAX_L2_CACHE_TTL_IN_HOURS, EDGE_MIN_CACHE_TTL, EDGE_MIN_L2_CACHE_TTL_IN_HOURS, EMPTY_COMPOSITION, EnhancerBuilder, EnhancerContext, EnhancerError, EventNames, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, InvalidationPayload, InvalidationResult, LimitPolicy, LinkComponentParameterValue, LinkParamConfiguration, LinkParamValue, LinkParameterType, LinkTypeConfiguration, MessageHandler, MoveComponentMessage, NonProjectMapLinkParamValue, OverrideOptions, PLACEHOLDER_ID, PreviewEventBus, PreviewPanelSettings, ProjectMapLinkComponentParameterValue, ProjectMapLinkParamValue, ReadyMessage, ReportRenderedCompositionsMessage, ResolvedRouteGetResponse, RichTextBuiltInElement, RichTextBuiltInFormat, RichTextParamConfiguration, RichTextParamValue, RootComponentInstance, RouteClient, RouteDynamicInputs, RouteGetParameters, RouteGetResponse, RouteGetResponseComposition, RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, SelectComponentMessage, SpecificProjectMap, SubscribeToCompositionOptions, TriggerCompositionActionMessage, UncachedCanvasClient, UniqueBatchEntries, UnsubscribeCallback, UpdateComponentParameterMessage, UpdateCompositionInternalMessage, UpdateCompositionMessage, UpdatePreviewSettingsMessage, UsageTrackingApi, UsageTrackingGetParameters, UsageTrackingGetResponse, UsageTrackingPostParameters, UsageTrackingPostResponse, WalkComponentTreeActions, bindVariables, bindVariablesToObject, compose, createBatchEnhancer, createCanvasChannel, createEventBus, createLimitPolicy, createUniformApiEnhancer, enhance, extractLocales, generateHash, getChannelName, getComponentJsonPointer, getComponentPath, isAddComponentMessage, isDismissPlaceholderMessage, isMovingComponentMessage, isReadyMessage, isReportRenderedCompositionsMessage, isSelectComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, subscribeToComposition, unstable_CompositionRelationshipClient, walkComponentTree };
|
package/dist/index.esm.js
CHANGED
@@ -1557,7 +1557,7 @@ function subscribeToComposition({
|
|
1557
1557
|
// src/RouteClient.ts
|
1558
1558
|
import { ApiClient as ApiClient5 } from "@uniformdev/context/api";
|
1559
1559
|
var ROUTE_URL = "/api/v1/route";
|
1560
|
-
var
|
1560
|
+
var RouteClient = class extends ApiClient5 {
|
1561
1561
|
constructor(options) {
|
1562
1562
|
var _a;
|
1563
1563
|
if (!options.limitPolicy) {
|
@@ -1631,7 +1631,7 @@ function bindVariablesToObjectRecursive({
|
|
1631
1631
|
}
|
1632
1632
|
return;
|
1633
1633
|
}
|
1634
|
-
const childBind =
|
1634
|
+
const childBind = bindVariablesToObjectRecursive({
|
1635
1635
|
...bindVariablesOptions,
|
1636
1636
|
value: oldValue,
|
1637
1637
|
recursivePath: currentObjectPath
|
@@ -1746,6 +1746,7 @@ export {
|
|
1746
1746
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
1747
1747
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
1748
1748
|
PLACEHOLDER_ID,
|
1749
|
+
RouteClient,
|
1749
1750
|
UncachedCanvasClient,
|
1750
1751
|
UniqueBatchEntries,
|
1751
1752
|
bindVariables,
|
@@ -1780,6 +1781,5 @@ export {
|
|
1780
1781
|
nullLimitPolicy,
|
1781
1782
|
subscribeToComposition,
|
1782
1783
|
unstable_CompositionRelationshipClient,
|
1783
|
-
unstable_RouteClient,
|
1784
1784
|
walkComponentTree
|
1785
1785
|
};
|
package/dist/index.js
CHANGED
@@ -309,6 +309,7 @@ __export(src_exports, {
|
|
309
309
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM: () => IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
310
310
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE: () => IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
311
311
|
PLACEHOLDER_ID: () => PLACEHOLDER_ID,
|
312
|
+
RouteClient: () => RouteClient,
|
312
313
|
UncachedCanvasClient: () => UncachedCanvasClient,
|
313
314
|
UniqueBatchEntries: () => UniqueBatchEntries,
|
314
315
|
bindVariables: () => bindVariables,
|
@@ -343,7 +344,6 @@ __export(src_exports, {
|
|
343
344
|
nullLimitPolicy: () => nullLimitPolicy,
|
344
345
|
subscribeToComposition: () => subscribeToComposition,
|
345
346
|
unstable_CompositionRelationshipClient: () => unstable_CompositionRelationshipClient,
|
346
|
-
unstable_RouteClient: () => unstable_RouteClient,
|
347
347
|
walkComponentTree: () => walkComponentTree
|
348
348
|
});
|
349
349
|
module.exports = __toCommonJS(src_exports);
|
@@ -1640,7 +1640,7 @@ function subscribeToComposition({
|
|
1640
1640
|
// src/RouteClient.ts
|
1641
1641
|
var import_api5 = require("@uniformdev/context/api");
|
1642
1642
|
var ROUTE_URL = "/api/v1/route";
|
1643
|
-
var
|
1643
|
+
var RouteClient = class extends import_api5.ApiClient {
|
1644
1644
|
constructor(options) {
|
1645
1645
|
var _a;
|
1646
1646
|
if (!options.limitPolicy) {
|
@@ -1714,7 +1714,7 @@ function bindVariablesToObjectRecursive({
|
|
1714
1714
|
}
|
1715
1715
|
return;
|
1716
1716
|
}
|
1717
|
-
const childBind =
|
1717
|
+
const childBind = bindVariablesToObjectRecursive({
|
1718
1718
|
...bindVariablesOptions,
|
1719
1719
|
value: oldValue,
|
1720
1720
|
recursivePath: currentObjectPath
|
@@ -1830,6 +1830,7 @@ var CanvasClientError = import_api6.ApiClientError;
|
|
1830
1830
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
1831
1831
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
1832
1832
|
PLACEHOLDER_ID,
|
1833
|
+
RouteClient,
|
1833
1834
|
UncachedCanvasClient,
|
1834
1835
|
UniqueBatchEntries,
|
1835
1836
|
bindVariables,
|
@@ -1864,6 +1865,5 @@ var CanvasClientError = import_api6.ApiClientError;
|
|
1864
1865
|
nullLimitPolicy,
|
1865
1866
|
subscribeToComposition,
|
1866
1867
|
unstable_CompositionRelationshipClient,
|
1867
|
-
unstable_RouteClient,
|
1868
1868
|
walkComponentTree
|
1869
1869
|
});
|
package/dist/index.mjs
CHANGED
@@ -1557,7 +1557,7 @@ function subscribeToComposition({
|
|
1557
1557
|
// src/RouteClient.ts
|
1558
1558
|
import { ApiClient as ApiClient5 } from "@uniformdev/context/api";
|
1559
1559
|
var ROUTE_URL = "/api/v1/route";
|
1560
|
-
var
|
1560
|
+
var RouteClient = class extends ApiClient5 {
|
1561
1561
|
constructor(options) {
|
1562
1562
|
var _a;
|
1563
1563
|
if (!options.limitPolicy) {
|
@@ -1631,7 +1631,7 @@ function bindVariablesToObjectRecursive({
|
|
1631
1631
|
}
|
1632
1632
|
return;
|
1633
1633
|
}
|
1634
|
-
const childBind =
|
1634
|
+
const childBind = bindVariablesToObjectRecursive({
|
1635
1635
|
...bindVariablesOptions,
|
1636
1636
|
value: oldValue,
|
1637
1637
|
recursivePath: currentObjectPath
|
@@ -1746,6 +1746,7 @@ export {
|
|
1746
1746
|
IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
|
1747
1747
|
IS_RENDERED_BY_UNIFORM_ATTRIBUTE,
|
1748
1748
|
PLACEHOLDER_ID,
|
1749
|
+
RouteClient,
|
1749
1750
|
UncachedCanvasClient,
|
1750
1751
|
UniqueBatchEntries,
|
1751
1752
|
bindVariables,
|
@@ -1780,6 +1781,5 @@ export {
|
|
1780
1781
|
nullLimitPolicy,
|
1781
1782
|
subscribeToComposition,
|
1782
1783
|
unstable_CompositionRelationshipClient,
|
1783
|
-
unstable_RouteClient,
|
1784
1784
|
walkComponentTree
|
1785
1785
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/canvas",
|
3
|
-
"version": "19.
|
3
|
+
"version": "19.21.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",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"pusher-js": "8.0.1"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@uniformdev/context": "19.
|
41
|
+
"@uniformdev/context": "19.21.0",
|
42
42
|
"immer": "9.0.21"
|
43
43
|
},
|
44
44
|
"files": [
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"publishConfig": {
|
48
48
|
"access": "public"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "3db4c0f1c775a5cf9677c6df294322cfbf79611e"
|
51
51
|
}
|