@itwin/presentation-frontend 4.0.0-dev.44 → 4.0.0-dev.48

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.
Files changed (125) hide show
  1. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
  2. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js +47 -47
  3. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
  4. package/lib/cjs/presentation-frontend/Diagnostics.d.ts +14 -14
  5. package/lib/cjs/presentation-frontend/Diagnostics.js +61 -61
  6. package/lib/cjs/presentation-frontend/Diagnostics.js.map +1 -1
  7. package/lib/cjs/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
  8. package/lib/cjs/presentation-frontend/FrontendLoggerCategory.js +20 -20
  9. package/lib/cjs/presentation-frontend/FrontendLoggerCategory.js.map +1 -1
  10. package/lib/cjs/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
  11. package/lib/cjs/presentation-frontend/IpcRequestsHandler.js +41 -41
  12. package/lib/cjs/presentation-frontend/IpcRequestsHandler.js.map +1 -1
  13. package/lib/cjs/presentation-frontend/LocalizationHelper.d.ts +10 -10
  14. package/lib/cjs/presentation-frontend/LocalizationHelper.js +31 -31
  15. package/lib/cjs/presentation-frontend/LocalizationHelper.js.map +1 -1
  16. package/lib/cjs/presentation-frontend/Presentation.d.ts +73 -73
  17. package/lib/cjs/presentation-frontend/Presentation.js +159 -159
  18. package/lib/cjs/presentation-frontend/Presentation.js.map +1 -1
  19. package/lib/cjs/presentation-frontend/PresentationManager.d.ts +205 -205
  20. package/lib/cjs/presentation-frontend/PresentationManager.d.ts.map +1 -1
  21. package/lib/cjs/presentation-frontend/PresentationManager.js +438 -444
  22. package/lib/cjs/presentation-frontend/PresentationManager.js.map +1 -1
  23. package/lib/cjs/presentation-frontend/RulesetManager.d.ts +63 -63
  24. package/lib/cjs/presentation-frontend/RulesetManager.js +85 -85
  25. package/lib/cjs/presentation-frontend/RulesetManager.js.map +1 -1
  26. package/lib/cjs/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
  27. package/lib/cjs/presentation-frontend/RulesetVariablesManager.js +195 -195
  28. package/lib/cjs/presentation-frontend/RulesetVariablesManager.js.map +1 -1
  29. package/lib/cjs/presentation-frontend/StateTracker.d.ts +38 -38
  30. package/lib/cjs/presentation-frontend/StateTracker.js +128 -128
  31. package/lib/cjs/presentation-frontend/StateTracker.js.map +1 -1
  32. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
  33. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +525 -525
  34. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
  35. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
  36. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +290 -290
  37. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
  38. package/lib/cjs/presentation-frontend/selection/HiliteRules.json +172 -172
  39. package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
  40. package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js +97 -97
  41. package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js.map +1 -1
  42. package/lib/cjs/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
  43. package/lib/cjs/presentation-frontend/selection/ISelectionProvider.js +9 -9
  44. package/lib/cjs/presentation-frontend/selection/ISelectionProvider.js.map +1 -1
  45. package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
  46. package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js +33 -33
  47. package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js.map +1 -1
  48. package/lib/cjs/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
  49. package/lib/cjs/presentation-frontend/selection/SelectionHandler.js +108 -108
  50. package/lib/cjs/presentation-frontend/selection/SelectionHandler.js.map +1 -1
  51. package/lib/cjs/presentation-frontend/selection/SelectionHelper.d.ts +17 -17
  52. package/lib/cjs/presentation-frontend/selection/SelectionHelper.js +40 -40
  53. package/lib/cjs/presentation-frontend/selection/SelectionHelper.js.map +1 -1
  54. package/lib/cjs/presentation-frontend/selection/SelectionManager.d.ts +139 -139
  55. package/lib/cjs/presentation-frontend/selection/SelectionManager.js +414 -414
  56. package/lib/cjs/presentation-frontend/selection/SelectionManager.js.map +1 -1
  57. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
  58. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js +91 -91
  59. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
  60. package/lib/cjs/presentation-frontend.d.ts +34 -34
  61. package/lib/cjs/presentation-frontend.js +50 -50
  62. package/lib/cjs/presentation-frontend.js.map +1 -1
  63. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
  64. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js +43 -43
  65. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
  66. package/lib/esm/presentation-frontend/Diagnostics.d.ts +14 -14
  67. package/lib/esm/presentation-frontend/Diagnostics.js +56 -56
  68. package/lib/esm/presentation-frontend/Diagnostics.js.map +1 -1
  69. package/lib/esm/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
  70. package/lib/esm/presentation-frontend/FrontendLoggerCategory.js +17 -17
  71. package/lib/esm/presentation-frontend/FrontendLoggerCategory.js.map +1 -1
  72. package/lib/esm/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
  73. package/lib/esm/presentation-frontend/IpcRequestsHandler.js +37 -37
  74. package/lib/esm/presentation-frontend/IpcRequestsHandler.js.map +1 -1
  75. package/lib/esm/presentation-frontend/LocalizationHelper.d.ts +10 -10
  76. package/lib/esm/presentation-frontend/LocalizationHelper.js +27 -27
  77. package/lib/esm/presentation-frontend/LocalizationHelper.js.map +1 -1
  78. package/lib/esm/presentation-frontend/Presentation.d.ts +73 -73
  79. package/lib/esm/presentation-frontend/Presentation.js +155 -155
  80. package/lib/esm/presentation-frontend/Presentation.js.map +1 -1
  81. package/lib/esm/presentation-frontend/PresentationManager.d.ts +205 -205
  82. package/lib/esm/presentation-frontend/PresentationManager.d.ts.map +1 -1
  83. package/lib/esm/presentation-frontend/PresentationManager.js +433 -439
  84. package/lib/esm/presentation-frontend/PresentationManager.js.map +1 -1
  85. package/lib/esm/presentation-frontend/RulesetManager.d.ts +63 -63
  86. package/lib/esm/presentation-frontend/RulesetManager.js +81 -81
  87. package/lib/esm/presentation-frontend/RulesetManager.js.map +1 -1
  88. package/lib/esm/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
  89. package/lib/esm/presentation-frontend/RulesetVariablesManager.js +191 -191
  90. package/lib/esm/presentation-frontend/RulesetVariablesManager.js.map +1 -1
  91. package/lib/esm/presentation-frontend/StateTracker.d.ts +38 -38
  92. package/lib/esm/presentation-frontend/StateTracker.js +124 -124
  93. package/lib/esm/presentation-frontend/StateTracker.js.map +1 -1
  94. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
  95. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +519 -519
  96. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
  97. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
  98. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +282 -282
  99. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
  100. package/lib/esm/presentation-frontend/selection/HiliteRules.json +172 -172
  101. package/lib/esm/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
  102. package/lib/esm/presentation-frontend/selection/HiliteSetProvider.js +93 -93
  103. package/lib/esm/presentation-frontend/selection/HiliteSetProvider.js.map +1 -1
  104. package/lib/esm/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
  105. package/lib/esm/presentation-frontend/selection/ISelectionProvider.js +8 -8
  106. package/lib/esm/presentation-frontend/selection/ISelectionProvider.js.map +1 -1
  107. package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
  108. package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.js +29 -29
  109. package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.js.map +1 -1
  110. package/lib/esm/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
  111. package/lib/esm/presentation-frontend/selection/SelectionHandler.js +104 -104
  112. package/lib/esm/presentation-frontend/selection/SelectionHandler.js.map +1 -1
  113. package/lib/esm/presentation-frontend/selection/SelectionHelper.d.ts +17 -17
  114. package/lib/esm/presentation-frontend/selection/SelectionHelper.js +36 -36
  115. package/lib/esm/presentation-frontend/selection/SelectionHelper.js.map +1 -1
  116. package/lib/esm/presentation-frontend/selection/SelectionManager.d.ts +139 -139
  117. package/lib/esm/presentation-frontend/selection/SelectionManager.js +409 -409
  118. package/lib/esm/presentation-frontend/selection/SelectionManager.js.map +1 -1
  119. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
  120. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js +85 -85
  121. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
  122. package/lib/esm/presentation-frontend.d.ts +34 -34
  123. package/lib/esm/presentation-frontend.js +38 -38
  124. package/lib/esm/presentation-frontend.js.map +1 -1
  125. package/package.json +14 -14
@@ -1,206 +1,206 @@
1
- /** @packageDocumentation
2
- * @module Core
3
- */
4
- import { BeEvent, IDisposable } from "@itwin/core-bentley";
5
- import { IModelConnection } from "@itwin/core-frontend";
6
- import { UnitSystemKey } from "@itwin/core-quantity";
7
- import { ClientDiagnosticsAttribute, Content, ContentDescriptorRequestOptions, ContentInstanceKeysRequestOptions, ContentRequestOptions, ContentSourcesRequestOptions, ContentUpdateInfo, Descriptor, DescriptorOverrides, DisplayLabelRequestOptions, DisplayLabelsRequestOptions, DisplayValueGroup, DistinctValuesRequestOptions, ElementProperties, FilterByInstancePathsHierarchyRequestOptions, FilterByTextHierarchyRequestOptions, HierarchyLevelDescriptorRequestOptions, HierarchyRequestOptions, HierarchyUpdateInfo, InstanceKey, KeySet, LabelDefinition, Node, NodeKey, NodePathElement, Paged, PagedResponse, PageOptions, RpcRequestsHandler, RulesetVariable, SelectClassInfo, SingleElementPropertiesRequestOptions } from "@itwin/presentation-common";
8
- import { IpcRequestsHandler } from "./IpcRequestsHandler";
9
- import { RulesetManager } from "./RulesetManager";
10
- import { RulesetVariablesManager } from "./RulesetVariablesManager";
11
- import { StateTracker } from "./StateTracker";
12
- /**
13
- * Data structure that describes IModel hierarchy change event arguments.
14
- * @alpha
15
- */
16
- export interface IModelHierarchyChangeEventArgs {
17
- /** Id of ruleset that was used to create hierarchy. */
18
- rulesetId: string;
19
- /** Hierarchy changes info. */
20
- updateInfo: HierarchyUpdateInfo;
21
- /** Key of iModel that was used to create hierarchy. It matches [[IModelConnection.key]] property. */
22
- imodelKey: string;
23
- }
24
- /**
25
- * Data structure that describes iModel content change event arguments.
26
- * @alpha
27
- */
28
- export interface IModelContentChangeEventArgs {
29
- /** Id of ruleset that was used to create content. */
30
- rulesetId: string;
31
- /** Content changes info. */
32
- updateInfo: ContentUpdateInfo;
33
- /** Key of iModel that was used to create content. It matches [[IModelConnection.key]] property. */
34
- imodelKey: string;
35
- }
36
- /**
37
- * Properties used to configure [[PresentationManager]]
38
- * @public
39
- */
40
- export interface PresentationManagerProps {
41
- /**
42
- * Sets the active locale to use when localizing presentation-related
43
- * strings. It can later be changed through [[PresentationManager]].
44
- */
45
- activeLocale?: string;
46
- /**
47
- * Sets the active unit system to use for formatting property values with
48
- * units. The value can later be changed through [[PresentationManager.activeUnitSystem]] setter or
49
- * overriden for each request through request parameters. If not set, `IModelApp.quantityFormatter.activeUnitSystem`
50
- * is used by default.
51
- *
52
- * @deprecated in 4.0. Use [IModelApp.quantityFormatter]($core-frontend) to set the active unit system.
53
- */
54
- activeUnitSystem?: UnitSystemKey;
55
- /**
56
- * ID used to identify client that requests data. Generally, clients should
57
- * store this ID in their local storage so the ID can be reused across
58
- * sessions - this allows reusing some caches.
59
- *
60
- * Defaults to a unique GUID as a client id.
61
- */
62
- clientId?: string;
63
- /**
64
- * Timeout (in milliseconds) for how long we're going to wait for RPC request to be fulfilled before throwing
65
- * a timeout error.
66
- *
67
- * Defaults to 10 minutes.
68
- */
69
- requestTimeout?: number;
70
- /** @internal */
71
- rpcRequestsHandler?: RpcRequestsHandler;
72
- /** @internal */
73
- ipcRequestsHandler?: IpcRequestsHandler;
74
- /** @internal */
75
- stateTracker?: StateTracker;
76
- }
77
- /**
78
- * Frontend Presentation manager which basically just forwards all calls to
79
- * the backend implementation.
80
- *
81
- * @public
82
- */
83
- export declare class PresentationManager implements IDisposable {
84
- private _requestsHandler;
85
- private _rulesets;
86
- private _localizationHelper;
87
- private _explicitActiveUnitSystem;
88
- private _rulesetVars;
89
- private _clearEventListener?;
90
- private _connections;
91
- private _ipcRequestsHandler?;
92
- private _stateTracker?;
93
- /**
94
- * An event raised when hierarchies created using specific ruleset change
95
- * @alpha
96
- */
97
- onIModelHierarchyChanged: BeEvent<(args: IModelHierarchyChangeEventArgs) => void>;
98
- /**
99
- * An event raised when content created using specific ruleset changes
100
- * @alpha
101
- */
102
- onIModelContentChanged: BeEvent<(args: IModelContentChangeEventArgs) => void>;
103
- /**
104
- * Get / set active unit system used to format property values with units.
105
- *
106
- * @deprecated in 4.0. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
107
- * [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
108
- * is not set.
109
- */
110
- get activeUnitSystem(): UnitSystemKey;
111
- set activeUnitSystem(value: UnitSystemKey | undefined);
112
- private constructor();
113
- /** Get / set active locale used for localizing presentation data */
114
- get activeLocale(): string | undefined;
115
- set activeLocale(locale: string | undefined);
116
- dispose(): void;
117
- private onConnection;
118
- private initializeIModel;
119
- private onUpdate;
120
- /** @note This is only called in native apps after changes in iModels */
121
- private handleUpdateAsync;
122
- /**
123
- * Function that is called when a new IModelConnection is used to retrieve data.
124
- * @internal
125
- */
126
- onNewiModelConnection(_: IModelConnection): Promise<void>;
127
- /**
128
- * Create a new PresentationManager instance
129
- * @param props Optional properties used to configure the manager
130
- */
131
- static create(props?: PresentationManagerProps): PresentationManager;
132
- /** @internal */
133
- get rpcRequestsHandler(): RpcRequestsHandler;
134
- /** @internal */
135
- get ipcRequestsHandler(): IpcRequestsHandler | undefined;
136
- /** @internal */
137
- get stateTracker(): StateTracker | undefined;
138
- /**
139
- * Get rulesets manager
140
- */
141
- rulesets(): RulesetManager;
142
- /**
143
- * Get ruleset variables manager for specific ruleset
144
- * @param rulesetId Id of the ruleset to get the vars manager for
145
- */
146
- vars(rulesetId: string): RulesetVariablesManager;
147
- private toRpcTokenOptions;
148
- private addRulesetAndVariablesToOptions;
149
- /** Retrieves nodes */
150
- getNodes(requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<Node[]>;
151
- /** Retrieves nodes count. */
152
- getNodesCount(requestOptions: HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable> & ClientDiagnosticsAttribute): Promise<number>;
153
- /** Retrieves total nodes count and a single page of nodes. */
154
- getNodesAndCount(requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<{
155
- count: number;
156
- nodes: Node[];
157
- }>;
158
- /**
159
- * Retrieves hierarchy level descriptor.
160
- * @beta
161
- */
162
- getNodesDescriptor(requestOptions: HierarchyLevelDescriptorRequestOptions<IModelConnection, NodeKey, RulesetVariable> & ClientDiagnosticsAttribute): Promise<Descriptor | undefined>;
163
- /** Retrieves paths from root nodes to children nodes according to specified keys. Intersecting paths will be merged. */
164
- getNodePaths(requestOptions: FilterByInstancePathsHierarchyRequestOptions<IModelConnection, RulesetVariable> & ClientDiagnosticsAttribute): Promise<NodePathElement[]>;
165
- /** Retrieves paths from root nodes to nodes containing filter text in their label. */
166
- getFilteredNodePaths(requestOptions: FilterByTextHierarchyRequestOptions<IModelConnection, RulesetVariable> & ClientDiagnosticsAttribute): Promise<NodePathElement[]>;
167
- /**
168
- * Get information about the sources of content when building it for specific ECClasses. Sources involve classes of the primary select instance,
169
- * its related instances for loading related and navigation properties.
170
- * @public
171
- */
172
- getContentSources(requestOptions: ContentSourcesRequestOptions<IModelConnection> & ClientDiagnosticsAttribute): Promise<SelectClassInfo[]>;
173
- /** Retrieves the content descriptor which describes the content and can be used to customize it. */
174
- getContentDescriptor(requestOptions: ContentDescriptorRequestOptions<IModelConnection, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<Descriptor | undefined>;
175
- /** Retrieves overall content set size. */
176
- getContentSetSize(requestOptions: ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<number>;
177
- /** Retrieves content which consists of a content descriptor and a page of records. */
178
- getContent(requestOptions: Paged<ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<Content | undefined>;
179
- /** Retrieves content set size and content which consists of a content descriptor and a page of records. */
180
- getContentAndSize(requestOptions: Paged<ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<{
181
- content: Content;
182
- size: number;
183
- } | undefined>;
184
- /** Retrieves distinct values of specific field from the content. */
185
- getPagedDistinctValues(requestOptions: DistinctValuesRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<PagedResponse<DisplayValueGroup>>;
186
- /**
187
- * Retrieves property data in a simplified format for a single element specified by ID.
188
- * @public
189
- */
190
- getElementProperties(requestOptions: SingleElementPropertiesRequestOptions<IModelConnection> & ClientDiagnosticsAttribute): Promise<ElementProperties | undefined>;
191
- /**
192
- * Retrieves content item instance keys.
193
- * @public
194
- */
195
- getContentInstanceKeys(requestOptions: ContentInstanceKeysRequestOptions<IModelConnection, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<{
196
- total: number;
197
- items: () => AsyncGenerator<InstanceKey>;
198
- }>;
199
- /** Retrieves display label definition of specific item. */
200
- getDisplayLabelDefinition(requestOptions: DisplayLabelRequestOptions<IModelConnection, InstanceKey> & ClientDiagnosticsAttribute): Promise<LabelDefinition>;
201
- /** Retrieves display label definition of specific items. */
202
- getDisplayLabelDefinitions(requestOptions: DisplayLabelsRequestOptions<IModelConnection, InstanceKey> & ClientDiagnosticsAttribute): Promise<LabelDefinition[]>;
203
- }
204
- /** @internal */
205
- export declare const buildPagedArrayResponse: <TItem>(requestedPage: PageOptions | undefined, getter: (page: Required<PageOptions>, requestIndex: number) => Promise<PagedResponse<TItem>>) => Promise<PagedResponse<TItem>>;
1
+ /** @packageDocumentation
2
+ * @module Core
3
+ */
4
+ import { BeEvent, IDisposable } from "@itwin/core-bentley";
5
+ import { IModelConnection } from "@itwin/core-frontend";
6
+ import { UnitSystemKey } from "@itwin/core-quantity";
7
+ import { ClientDiagnosticsAttribute, Content, ContentDescriptorRequestOptions, ContentInstanceKeysRequestOptions, ContentRequestOptions, ContentSourcesRequestOptions, ContentUpdateInfo, Descriptor, DescriptorOverrides, DisplayLabelRequestOptions, DisplayLabelsRequestOptions, DisplayValueGroup, DistinctValuesRequestOptions, ElementProperties, FilterByInstancePathsHierarchyRequestOptions, FilterByTextHierarchyRequestOptions, HierarchyLevelDescriptorRequestOptions, HierarchyRequestOptions, HierarchyUpdateInfo, InstanceKey, KeySet, LabelDefinition, Node, NodeKey, NodePathElement, Paged, PagedResponse, PageOptions, RpcRequestsHandler, RulesetVariable, SelectClassInfo, SingleElementPropertiesRequestOptions } from "@itwin/presentation-common";
8
+ import { IpcRequestsHandler } from "./IpcRequestsHandler";
9
+ import { RulesetManager } from "./RulesetManager";
10
+ import { RulesetVariablesManager } from "./RulesetVariablesManager";
11
+ import { StateTracker } from "./StateTracker";
12
+ /**
13
+ * Data structure that describes IModel hierarchy change event arguments.
14
+ * @alpha
15
+ */
16
+ export interface IModelHierarchyChangeEventArgs {
17
+ /** Id of ruleset that was used to create hierarchy. */
18
+ rulesetId: string;
19
+ /** Hierarchy changes info. */
20
+ updateInfo: HierarchyUpdateInfo;
21
+ /** Key of iModel that was used to create hierarchy. It matches [[IModelConnection.key]] property. */
22
+ imodelKey: string;
23
+ }
24
+ /**
25
+ * Data structure that describes iModel content change event arguments.
26
+ * @alpha
27
+ */
28
+ export interface IModelContentChangeEventArgs {
29
+ /** Id of ruleset that was used to create content. */
30
+ rulesetId: string;
31
+ /** Content changes info. */
32
+ updateInfo: ContentUpdateInfo;
33
+ /** Key of iModel that was used to create content. It matches [[IModelConnection.key]] property. */
34
+ imodelKey: string;
35
+ }
36
+ /**
37
+ * Properties used to configure [[PresentationManager]]
38
+ * @public
39
+ */
40
+ export interface PresentationManagerProps {
41
+ /**
42
+ * Sets the active locale to use when localizing presentation-related
43
+ * strings. It can later be changed through [[PresentationManager]].
44
+ */
45
+ activeLocale?: string;
46
+ /**
47
+ * Sets the active unit system to use for formatting property values with
48
+ * units. The value can later be changed through [[PresentationManager.activeUnitSystem]] setter or
49
+ * overriden for each request through request parameters. If not set, `IModelApp.quantityFormatter.activeUnitSystem`
50
+ * is used by default.
51
+ *
52
+ * @deprecated in 4.0. Use [IModelApp.quantityFormatter]($core-frontend) to set the active unit system.
53
+ */
54
+ activeUnitSystem?: UnitSystemKey;
55
+ /**
56
+ * ID used to identify client that requests data. Generally, clients should
57
+ * store this ID in their local storage so the ID can be reused across
58
+ * sessions - this allows reusing some caches.
59
+ *
60
+ * Defaults to a unique GUID as a client id.
61
+ */
62
+ clientId?: string;
63
+ /**
64
+ * Timeout (in milliseconds) for how long we're going to wait for RPC request to be fulfilled before throwing
65
+ * a timeout error.
66
+ *
67
+ * Defaults to 10 minutes.
68
+ */
69
+ requestTimeout?: number;
70
+ /** @internal */
71
+ rpcRequestsHandler?: RpcRequestsHandler;
72
+ /** @internal */
73
+ ipcRequestsHandler?: IpcRequestsHandler;
74
+ /** @internal */
75
+ stateTracker?: StateTracker;
76
+ }
77
+ /**
78
+ * Frontend Presentation manager which basically just forwards all calls to
79
+ * the backend implementation.
80
+ *
81
+ * @public
82
+ */
83
+ export declare class PresentationManager implements IDisposable {
84
+ private _requestsHandler;
85
+ private _rulesets;
86
+ private _localizationHelper;
87
+ private _explicitActiveUnitSystem;
88
+ private _rulesetVars;
89
+ private _clearEventListener?;
90
+ private _connections;
91
+ private _ipcRequestsHandler?;
92
+ private _stateTracker?;
93
+ /**
94
+ * An event raised when hierarchies created using specific ruleset change
95
+ * @alpha
96
+ */
97
+ onIModelHierarchyChanged: BeEvent<(args: IModelHierarchyChangeEventArgs) => void>;
98
+ /**
99
+ * An event raised when content created using specific ruleset changes
100
+ * @alpha
101
+ */
102
+ onIModelContentChanged: BeEvent<(args: IModelContentChangeEventArgs) => void>;
103
+ /**
104
+ * Get / set active unit system used to format property values with units.
105
+ *
106
+ * @deprecated in 4.0. `IModelApp.quantityFormatter` should be used to get/set the active unit system. At the moment
107
+ * [[PresentationManager]] allows overriding it, but returns `IModelApp.quantityFormatter.activeUnitSystem` if override
108
+ * is not set.
109
+ */
110
+ get activeUnitSystem(): UnitSystemKey;
111
+ set activeUnitSystem(value: UnitSystemKey | undefined);
112
+ private constructor();
113
+ /** Get / set active locale used for localizing presentation data */
114
+ get activeLocale(): string | undefined;
115
+ set activeLocale(locale: string | undefined);
116
+ dispose(): void;
117
+ private onConnection;
118
+ private initializeIModel;
119
+ private onUpdate;
120
+ /** @note This is only called in native apps after changes in iModels */
121
+ private handleUpdateAsync;
122
+ /**
123
+ * Function that is called when a new IModelConnection is used to retrieve data.
124
+ * @internal
125
+ */
126
+ onNewiModelConnection(_: IModelConnection): Promise<void>;
127
+ /**
128
+ * Create a new PresentationManager instance
129
+ * @param props Optional properties used to configure the manager
130
+ */
131
+ static create(props?: PresentationManagerProps): PresentationManager;
132
+ /** @internal */
133
+ get rpcRequestsHandler(): RpcRequestsHandler;
134
+ /** @internal */
135
+ get ipcRequestsHandler(): IpcRequestsHandler | undefined;
136
+ /** @internal */
137
+ get stateTracker(): StateTracker | undefined;
138
+ /**
139
+ * Get rulesets manager
140
+ */
141
+ rulesets(): RulesetManager;
142
+ /**
143
+ * Get ruleset variables manager for specific ruleset
144
+ * @param rulesetId Id of the ruleset to get the vars manager for
145
+ */
146
+ vars(rulesetId: string): RulesetVariablesManager;
147
+ private toRpcTokenOptions;
148
+ private addRulesetAndVariablesToOptions;
149
+ /** Retrieves nodes */
150
+ getNodes(requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<Node[]>;
151
+ /** Retrieves nodes count. */
152
+ getNodesCount(requestOptions: HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable> & ClientDiagnosticsAttribute): Promise<number>;
153
+ /** Retrieves total nodes count and a single page of nodes. */
154
+ getNodesAndCount(requestOptions: Paged<HierarchyRequestOptions<IModelConnection, NodeKey, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<{
155
+ count: number;
156
+ nodes: Node[];
157
+ }>;
158
+ /**
159
+ * Retrieves hierarchy level descriptor.
160
+ * @beta
161
+ */
162
+ getNodesDescriptor(requestOptions: HierarchyLevelDescriptorRequestOptions<IModelConnection, NodeKey, RulesetVariable> & ClientDiagnosticsAttribute): Promise<Descriptor | undefined>;
163
+ /** Retrieves paths from root nodes to children nodes according to specified keys. Intersecting paths will be merged. */
164
+ getNodePaths(requestOptions: FilterByInstancePathsHierarchyRequestOptions<IModelConnection, RulesetVariable> & ClientDiagnosticsAttribute): Promise<NodePathElement[]>;
165
+ /** Retrieves paths from root nodes to nodes containing filter text in their label. */
166
+ getFilteredNodePaths(requestOptions: FilterByTextHierarchyRequestOptions<IModelConnection, RulesetVariable> & ClientDiagnosticsAttribute): Promise<NodePathElement[]>;
167
+ /**
168
+ * Get information about the sources of content when building it for specific ECClasses. Sources involve classes of the primary select instance,
169
+ * its related instances for loading related and navigation properties.
170
+ * @public
171
+ */
172
+ getContentSources(requestOptions: ContentSourcesRequestOptions<IModelConnection> & ClientDiagnosticsAttribute): Promise<SelectClassInfo[]>;
173
+ /** Retrieves the content descriptor which describes the content and can be used to customize it. */
174
+ getContentDescriptor(requestOptions: ContentDescriptorRequestOptions<IModelConnection, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<Descriptor | undefined>;
175
+ /** Retrieves overall content set size. */
176
+ getContentSetSize(requestOptions: ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<number>;
177
+ /** Retrieves content which consists of a content descriptor and a page of records. */
178
+ getContent(requestOptions: Paged<ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<Content | undefined>;
179
+ /** Retrieves content set size and content which consists of a content descriptor and a page of records. */
180
+ getContentAndSize(requestOptions: Paged<ContentRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable>> & ClientDiagnosticsAttribute): Promise<{
181
+ content: Content;
182
+ size: number;
183
+ } | undefined>;
184
+ /** Retrieves distinct values of specific field from the content. */
185
+ getPagedDistinctValues(requestOptions: DistinctValuesRequestOptions<IModelConnection, Descriptor | DescriptorOverrides, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<PagedResponse<DisplayValueGroup>>;
186
+ /**
187
+ * Retrieves property data in a simplified format for a single element specified by ID.
188
+ * @public
189
+ */
190
+ getElementProperties(requestOptions: SingleElementPropertiesRequestOptions<IModelConnection> & ClientDiagnosticsAttribute): Promise<ElementProperties | undefined>;
191
+ /**
192
+ * Retrieves content item instance keys.
193
+ * @public
194
+ */
195
+ getContentInstanceKeys(requestOptions: ContentInstanceKeysRequestOptions<IModelConnection, KeySet, RulesetVariable> & ClientDiagnosticsAttribute): Promise<{
196
+ total: number;
197
+ items: () => AsyncGenerator<InstanceKey>;
198
+ }>;
199
+ /** Retrieves display label definition of specific item. */
200
+ getDisplayLabelDefinition(requestOptions: DisplayLabelRequestOptions<IModelConnection, InstanceKey> & ClientDiagnosticsAttribute): Promise<LabelDefinition>;
201
+ /** Retrieves display label definition of specific items. */
202
+ getDisplayLabelDefinitions(requestOptions: DisplayLabelsRequestOptions<IModelConnection, InstanceKey> & ClientDiagnosticsAttribute): Promise<LabelDefinition[]>;
203
+ }
204
+ /** @internal */
205
+ export declare const buildPagedArrayResponse: <TItem>(requestedPage: PageOptions | undefined, getter: (page: Required<PageOptions>, requestIndex: number) => Promise<PagedResponse<TItem>>) => Promise<PagedResponse<TItem>>;
206
206
  //# sourceMappingURL=PresentationManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationManager.d.ts","sourceRoot":"","sources":["../../../src/presentation-frontend/PresentationManager.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAqB,WAAW,EAAuB,MAAM,qBAAqB,CAAC;AACnG,OAAO,EAAa,gBAAgB,EAAU,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,0BAA0B,EAAE,OAAO,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,qBAAqB,EAC9H,4BAA4B,EAAE,iBAAiB,EAAE,UAAU,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,2BAA2B,EACzI,iBAAiB,EAAE,4BAA4B,EAAE,iBAAiB,EAAE,4CAA4C,EAChH,mCAAmC,EAAE,sCAAsC,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,WAAW,EACtI,MAAM,EAAE,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