@itwin/presentation-common 5.5.0-dev.11 → 5.5.0-dev.13
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/lib/cjs/presentation-common.d.ts +12 -6
- package/lib/cjs/presentation-common.d.ts.map +1 -1
- package/lib/cjs/presentation-common.js +8 -3
- package/lib/cjs/presentation-common.js.map +1 -1
- package/lib/esm/presentation-common.d.ts +12 -6
- package/lib/esm/presentation-common.d.ts.map +1 -1
- package/lib/esm/presentation-common.js +6 -1
- package/lib/esm/presentation-common.js.map +1 -1
- package/package.json +11 -11
|
@@ -9,14 +9,17 @@ export { ClassId, InstanceId, InstanceKey, ClassInfo, CompressedClassInfoJSON, E
|
|
|
9
9
|
export { PresentationStatus, PresentationError } from "./presentation-common/Error.js";
|
|
10
10
|
export { Key, Keys, KeySetJSON, KeySet } from "./presentation-common/KeySet.js";
|
|
11
11
|
export { LabelCompositeValue, LabelRawValue, LabelDefinition } from "./presentation-common/LabelDefinition.js";
|
|
12
|
-
export { RequestOptions, RequestOptionsWithRuleset,
|
|
12
|
+
export { RequestOptions, RequestOptionsWithRuleset, ContentSourcesRequestOptions, ContentDescriptorRequestOptions, ContentRequestOptions, DistinctValuesRequestOptions, SingleElementPropertiesRequestOptions, MultiElementPropertiesByClassRequestOptions, MultiElementPropertiesByIdsRequestOptions, MultiElementPropertiesRequestOptions, ContentInstanceKeysRequestOptions, DisplayLabelRequestOptions, DisplayLabelsRequestOptions, PageOptions, Paged, Prioritized, WithCancelEvent, } from "./presentation-common/PresentationManagerOptions.js";
|
|
13
|
+
export { HierarchyRequestOptions, HierarchyLevelDescriptorRequestOptions, FilterByInstancePathsHierarchyRequestOptions, FilterByTextHierarchyRequestOptions, ElementPropertiesRequestOptions, SelectionScopeRequestOptions, ComputeSelectionRequestOptions, HierarchyCompareOptions, } from "./presentation-common/PresentationManagerOptions.js";
|
|
14
|
+
export { HierarchyUpdateInfo, PartialHierarchyModification, NodeInsertionInfo, NodeDeletionInfo, NodeUpdateInfo, HierarchyCompareInfo, } from "./presentation-common/Update.js";
|
|
15
|
+
export { UnitSystemFormat, FormatsMap } from "./presentation-common/KoqPropertyValueFormatter.js";
|
|
13
16
|
export { RegisteredRuleset } from "./presentation-common/RegisteredRuleset.js";
|
|
14
17
|
export { VariableValueTypes, VariableValue, VariableValueJSON, BooleanRulesetVariable, StringRulesetVariable, IntRulesetVariable, IntsRulesetVariable, Id64RulesetVariable, Id64sRulesetVariable, RulesetVariable, Id64sRulesetVariableJSON, RulesetVariableJSON, } from "./presentation-common/RulesetVariables.js";
|
|
15
18
|
export { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from "./presentation-common/RulesetsFactory.js";
|
|
16
|
-
export { UPDATE_FULL, UpdateInfo,
|
|
19
|
+
export { UPDATE_FULL, UpdateInfo, ContentUpdateInfo, } from "./presentation-common/Update.js";
|
|
17
20
|
export { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from "./presentation-common/Utils.js";
|
|
18
21
|
export { InstanceFilterDefinition, InstanceFilterRelatedInstanceDefinition, InstanceFilterRelatedInstancePath, InstanceFilterRelatedInstanceTargetAlias, InstanceFilterRelatedInstanceRelationshipAlias, } from "./presentation-common/InstanceFilterDefinition.js";
|
|
19
|
-
export {
|
|
22
|
+
export { FormatOptions, KoqPropertyValueFormatter } from "./presentation-common/KoqPropertyValueFormatter.js";
|
|
20
23
|
/**
|
|
21
24
|
* @module RPC
|
|
22
25
|
*
|
|
@@ -24,7 +27,8 @@ export { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter
|
|
|
24
27
|
* Types used for RPC communication between frontend and backend. Generally should
|
|
25
28
|
* only be used internally by presentation packages.
|
|
26
29
|
*/
|
|
27
|
-
export { PresentationRpcRequestOptions, PresentationRpcResponseData, RpcDiagnosticsOptions, PresentationRpcResponse,
|
|
30
|
+
export { PresentationRpcRequestOptions, PresentationRpcResponseData, RpcDiagnosticsOptions, PresentationRpcResponse, ContentSourcesRpcRequestOptions, ContentSourcesRpcResult, ContentDescriptorRpcRequestOptions, ContentRpcRequestOptions, SingleElementPropertiesRpcRequestOptions, DistinctValuesRpcRequestOptions, ContentInstanceKeysRpcRequestOptions, DisplayLabelRpcRequestOptions, DisplayLabelsRpcRequestOptions, PresentationRpcInterface, } from "./presentation-common/PresentationRpcInterface.js";
|
|
31
|
+
export { HierarchyRpcRequestOptions, HierarchyLevelDescriptorRpcRequestOptions, FilterByInstancePathsHierarchyRpcRequestOptions, FilterByTextHierarchyRpcRequestOptions, SelectionScopeRpcRequestOptions, ComputeSelectionRpcRequestOptions, } from "./presentation-common/PresentationRpcInterface.js";
|
|
28
32
|
/**
|
|
29
33
|
* @module UnifiedSelection
|
|
30
34
|
*
|
|
@@ -49,7 +53,8 @@ export { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from "
|
|
|
49
53
|
export { RendererDescription } from "./presentation-common/content/Renderer.js";
|
|
50
54
|
export { PropertyValueFormat, PrimitiveTypeDescription, ArrayTypeDescription, StructFieldMemberDescription, StructTypeDescription, TypeDescription, } from "./presentation-common/content/TypeDescription.js";
|
|
51
55
|
export { Value, ValuesMap, ValuesArray, DisplayValue, DisplayValuesMap, DisplayValuesArray, NestedContentValue, NavigationPropertyValue, DisplayValueGroup, } from "./presentation-common/content/Value.js";
|
|
52
|
-
export { FieldHierarchy, StartContentProps, ProcessFieldHierarchiesProps, StartItemProps, StartCategoryProps, StartFieldProps, StartStructProps, StartArrayProps, ProcessMergedValueProps, ProcessPrimitiveValueProps, IContentVisitor, traverseFieldHierarchy,
|
|
56
|
+
export { FieldHierarchy, StartContentProps, ProcessFieldHierarchiesProps, StartItemProps, StartCategoryProps, StartFieldProps, StartStructProps, StartArrayProps, ProcessMergedValueProps, ProcessPrimitiveValueProps, IContentVisitor, traverseFieldHierarchy, createContentTraverser, createFieldHierarchies, addFieldHierarchy, combineFieldNames, parseCombinedFieldNames, } from "./presentation-common/content/ContentTraverser.js";
|
|
57
|
+
export { traverseContent, traverseContentItem, } from "./presentation-common/content/ContentTraverser.js";
|
|
53
58
|
export { createContentFormatter } from "./presentation-common/content/PropertyValueFormatter.js";
|
|
54
59
|
export { ElementProperties, ElementPropertiesCategoryItem, ElementPropertiesPrimitivePropertyItem, ElementPropertiesPrimitiveArrayPropertyItem, ElementPropertiesStructArrayPropertyItem, ElementPropertiesArrayPropertyItem, ElementPropertiesStructPropertyItem, ElementPropertiesPropertyValueType, ElementPropertiesPropertyItem, ElementPropertiesItem, } from "./presentation-common/ElementProperties.js";
|
|
55
60
|
/**
|
|
@@ -58,8 +63,9 @@ export { ElementProperties, ElementPropertiesCategoryItem, ElementPropertiesPrim
|
|
|
58
63
|
* @docs-group-description Hierarchies
|
|
59
64
|
* Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).
|
|
60
65
|
*/
|
|
66
|
+
export { PresentationQuery, IdBinding, IdSetBinding, ECValueBinding, ECValueSetBinding, PresentationQueryBinding, } from "./presentation-common/hierarchy/Key.js";
|
|
61
67
|
export { HierarchyLevel } from "./presentation-common/hierarchy/HierarchyLevel.js";
|
|
62
|
-
export { StandardNodeTypes, NodeKey, NodeKeyPath, BaseNodeKey, ECInstancesNodeKey, GroupingNodeKey, ECClassGroupingNodeKey, ECPropertyGroupingNodeKey, LabelGroupingNodeKey,
|
|
68
|
+
export { StandardNodeTypes, NodeKey, NodeKeyPath, BaseNodeKey, ECInstancesNodeKey, GroupingNodeKey, ECClassGroupingNodeKey, ECPropertyGroupingNodeKey, LabelGroupingNodeKey, } from "./presentation-common/hierarchy/Key.js";
|
|
63
69
|
export { Node, PartialNode } from "./presentation-common/hierarchy/Node.js";
|
|
64
70
|
export { NodePathElement, NodePathFilteringData } from "./presentation-common/hierarchy/NodePathElement.js";
|
|
65
71
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,6BAA6B,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,wCAAwC,EACxC,4CAA4C,EAC5C,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC/G,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,iBAAiB,EACjB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,uFAAuF,CAAC;AACtG,cAAc,6EAA6E,CAAC;AAC5F,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,2EAA2E,CAAC;AAC1F,cAAc,wEAAwE,CAAC;AACvF,cAAc,oFAAoF,CAAC;AACnG,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,iFAAiF,CAAC;AAChG,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,sDAAsD,CAAC;AACrE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC"}
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.StandardNodeTypes = exports.createContentFormatter = exports.
|
|
17
|
+
exports.StandardNodeTypes = exports.createContentFormatter = exports.traverseContentItem = exports.traverseContent = exports.parseCombinedFieldNames = exports.combineFieldNames = exports.addFieldHierarchy = exports.createFieldHierarchies = exports.createContentTraverser = exports.traverseFieldHierarchy = exports.DisplayValue = exports.Value = exports.PropertyValueFormat = exports.Property = exports.Item = exports.FieldDescriptor = exports.FieldDescriptorType = exports.NestedContentField = exports.StructPropertiesField = exports.ArrayPropertiesField = exports.PropertiesField = exports.Field = exports.DefaultContentDisplayTypes = exports.Descriptor = exports.SortDirection = exports.ContentFlags = exports.SelectClassInfo = exports.Content = exports.CategoryDescription = exports.PresentationRpcInterface = exports.KoqPropertyValueFormatter = exports.getInstancesCount = exports.DEFAULT_KEYS_BATCH_SIZE = exports.UPDATE_FULL = exports.RulesetsFactory = exports.RulesetVariable = exports.VariableValueTypes = exports.RegisteredRuleset = exports.LabelDefinition = exports.KeySet = exports.Key = exports.PresentationError = exports.PresentationStatus = exports.RelationshipPath = exports.RelatedClassInfoWithOptionalRelationship = exports.RelatedClassInfo = exports.PropertyInfo = exports.NavigationPropertyInfo = exports.InstanceKey = exports.DiagnosticsLogEntry = void 0;
|
|
18
18
|
exports.NodeKey = void 0;
|
|
19
19
|
/*---------------------------------------------------------------------------------------------
|
|
20
20
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
@@ -43,6 +43,7 @@ Object.defineProperty(exports, "Key", { enumerable: true, get: function () { ret
|
|
|
43
43
|
Object.defineProperty(exports, "KeySet", { enumerable: true, get: function () { return KeySet_js_1.KeySet; } });
|
|
44
44
|
var LabelDefinition_js_1 = require("./presentation-common/LabelDefinition.js");
|
|
45
45
|
Object.defineProperty(exports, "LabelDefinition", { enumerable: true, get: function () { return LabelDefinition_js_1.LabelDefinition; } });
|
|
46
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
46
47
|
var RegisteredRuleset_js_1 = require("./presentation-common/RegisteredRuleset.js");
|
|
47
48
|
Object.defineProperty(exports, "RegisteredRuleset", { enumerable: true, get: function () { return RegisteredRuleset_js_1.RegisteredRuleset; } });
|
|
48
49
|
var RulesetVariables_js_1 = require("./presentation-common/RulesetVariables.js");
|
|
@@ -102,18 +103,22 @@ Object.defineProperty(exports, "Value", { enumerable: true, get: function () { r
|
|
|
102
103
|
Object.defineProperty(exports, "DisplayValue", { enumerable: true, get: function () { return Value_js_1.DisplayValue; } });
|
|
103
104
|
var ContentTraverser_js_1 = require("./presentation-common/content/ContentTraverser.js");
|
|
104
105
|
Object.defineProperty(exports, "traverseFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseFieldHierarchy; } });
|
|
105
|
-
Object.defineProperty(exports, "traverseContent", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContent; } });
|
|
106
|
-
Object.defineProperty(exports, "traverseContentItem", { enumerable: true, get: function () { return ContentTraverser_js_1.traverseContentItem; } });
|
|
107
106
|
Object.defineProperty(exports, "createContentTraverser", { enumerable: true, get: function () { return ContentTraverser_js_1.createContentTraverser; } });
|
|
108
107
|
Object.defineProperty(exports, "createFieldHierarchies", { enumerable: true, get: function () { return ContentTraverser_js_1.createFieldHierarchies; } });
|
|
109
108
|
Object.defineProperty(exports, "addFieldHierarchy", { enumerable: true, get: function () { return ContentTraverser_js_1.addFieldHierarchy; } });
|
|
110
109
|
Object.defineProperty(exports, "combineFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.combineFieldNames; } });
|
|
111
110
|
Object.defineProperty(exports, "parseCombinedFieldNames", { enumerable: true, get: function () { return ContentTraverser_js_1.parseCombinedFieldNames; } });
|
|
111
|
+
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
112
|
+
var ContentTraverser_js_2 = require("./presentation-common/content/ContentTraverser.js");
|
|
113
|
+
Object.defineProperty(exports, "traverseContent", { enumerable: true, get: function () { return ContentTraverser_js_2.traverseContent; } });
|
|
114
|
+
Object.defineProperty(exports, "traverseContentItem", { enumerable: true, get: function () { return ContentTraverser_js_2.traverseContentItem; } });
|
|
115
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
112
116
|
var PropertyValueFormatter_js_1 = require("./presentation-common/content/PropertyValueFormatter.js");
|
|
113
117
|
Object.defineProperty(exports, "createContentFormatter", { enumerable: true, get: function () { return PropertyValueFormatter_js_1.createContentFormatter; } });
|
|
114
118
|
var Key_js_1 = require("./presentation-common/hierarchy/Key.js");
|
|
115
119
|
Object.defineProperty(exports, "StandardNodeTypes", { enumerable: true, get: function () { return Key_js_1.StandardNodeTypes; } });
|
|
116
120
|
Object.defineProperty(exports, "NodeKey", { enumerable: true, get: function () { return Key_js_1.NodeKey; } });
|
|
121
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
117
122
|
/**
|
|
118
123
|
* @module PresentationRules
|
|
119
124
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,uEAW8C;AAD5C,qHAAA,mBAAmB,OAAA;AAErB,qDAyBqC;AAtBnC,oGAAA,WAAW,OAAA;AAMX,+GAAA,sBAAsB,OAAA;AAEtB,qGAAA,YAAY,OAAA;AAMZ,yGAAA,gBAAgB,OAAA;AAEhB,iIAAA,wCAAwC,OAAA;AAExC,yGAAA,gBAAgB,OAAA;AAKlB,2DAAuF;AAA9E,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAC9C,6DAAgF;AAAvE,gGAAA,GAAG,OAAA;AAAoB,mGAAA,MAAM,OAAA;AACtC,+EAA+G;AAAlE,qHAAA,eAAe,OAAA;AA4B5D,mFAA+E;AAAtE,yHAAA,iBAAiB,OAAA;AAC1B,iFAamD;AAZjD,yHAAA,kBAAkB,OAAA;AASlB,sHAAA,eAAe,OAAA;AAIjB,+EAAgI;AAAvH,qHAAA,eAAe,OAAA;AACxB,6DAUyC;AATvC,wGAAA,WAAW,OAAA;AAUb,2DAAwJ;AAA/I,mHAAA,uBAAuB,OAAA;AAA8D,6GAAA,iBAAiB,OAAA;AAQ/G,mGAA4I;AAAtF,yIAAA,yBAAyB,OAAA;AAE/E;;;;;;GAMG;AACH,iGAqB2D;AADzD,uIAAA,wBAAwB,OAAA;AAW1B;;;;;GAKG;AACH,yEAAyG;AAAhG,kHAAA,mBAAmB,OAAA;AAC5B,uEAAgF;AAA1D,qGAAA,OAAO,OAAA;AAC7B,6EAUqD;AATnD,gHAAA,eAAe,OAAA;AAEf,6GAAA,YAAY,OAAA;AACZ,8GAAA,aAAa,OAAA;AAKb,2GAAA,UAAU,OAAA;AAEZ,iFAA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G,qFAAmE;AACnE,8FAA4E;AAC5E,uFAAqE;AACrE,+FAA6E;AAC7E,sEAAoD;AACpD,yEAAuD;AACvD,sFAAoE;AACpE,2EAAyD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n HierarchyUpdateInfo,\r\n ContentUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n traverseContent,\r\n traverseContentItem,\r\n createContentTraverser,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\nexport { createContentFormatter } from \"./presentation-common/content/PropertyValueFormatter.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
|
|
1
|
+
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,uEAW8C;AAD5C,qHAAA,mBAAmB,OAAA;AAErB,qDAyBqC;AAtBnC,oGAAA,WAAW,OAAA;AAMX,+GAAA,sBAAsB,OAAA;AAEtB,qGAAA,YAAY,OAAA;AAMZ,yGAAA,gBAAgB,OAAA;AAEhB,iIAAA,wCAAwC,OAAA;AAExC,yGAAA,gBAAgB,OAAA;AAKlB,2DAAuF;AAA9E,8GAAA,kBAAkB,OAAA;AAAE,6GAAA,iBAAiB,OAAA;AAC9C,6DAAgF;AAAvE,gGAAA,GAAG,OAAA;AAAoB,mGAAA,MAAM,OAAA;AACtC,+EAA+G;AAAlE,qHAAA,eAAe,OAAA;AAwC5D,oDAAoD;AACpD,mFAA+E;AAAtE,yHAAA,iBAAiB,OAAA;AAC1B,iFAamD;AAZjD,yHAAA,kBAAkB,OAAA;AASlB,sHAAA,eAAe,OAAA;AAIjB,+EAAgI;AAAvH,qHAAA,eAAe,OAAA;AACxB,6DAIyC;AAHvC,wGAAA,WAAW,OAAA;AAIb,2DAAwJ;AAA/I,mHAAA,uBAAuB,OAAA;AAA8D,6GAAA,iBAAiB,OAAA;AAQ/G,mGAA8G;AAAtF,yIAAA,yBAAyB,OAAA;AAEjD;;;;;;GAMG;AACH,i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2E;AAC3E,6GAA2F;AAC3F,wFAAsE;AACtE,wFAAsE;AACtE,iGAA+E;AAC/E,gGAA8E;AAC9E,4FAA0E;AAC1E,qGAAmF;AACnF,2FAAyE;AACzE,wHAAsG;AACtG,8GAA4F;AAC5F,qFAAmE;AACnE,8FAA4E;AAC5E,+FAA6E;AAC7E,4GAA0F;AAC1F,yGAAuF;AACvF,qHAAmG;AACnG,mGAAiF;AACjF,iHAA+F;AAC/F,gHAA8F;AAC9F,+GAA6F;AAC7F,kHAAgG;AAChG,qFAAmE;AACnE,8FAA4E;AAC5E,uFAAqE;AACrE,+FAA6E;AAC7E,sEAAoD;AACpD,yEAAuD;AACvD,sFAAoE;AACpE,2EAAyD","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport {\r\n HierarchyUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { UnitSystemFormat, FormatsMap } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n ContentUpdateInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\n/* eslint-disable-next-line @typescript-eslint/no-deprecated */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n createContentTraverser,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n traverseContent,\r\n traverseContentItem,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\nexport { createContentFormatter } from \"./presentation-common/content/PropertyValueFormatter.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport {\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
|
|
@@ -9,14 +9,17 @@ export { ClassId, InstanceId, InstanceKey, ClassInfo, CompressedClassInfoJSON, E
|
|
|
9
9
|
export { PresentationStatus, PresentationError } from "./presentation-common/Error.js";
|
|
10
10
|
export { Key, Keys, KeySetJSON, KeySet } from "./presentation-common/KeySet.js";
|
|
11
11
|
export { LabelCompositeValue, LabelRawValue, LabelDefinition } from "./presentation-common/LabelDefinition.js";
|
|
12
|
-
export { RequestOptions, RequestOptionsWithRuleset,
|
|
12
|
+
export { RequestOptions, RequestOptionsWithRuleset, ContentSourcesRequestOptions, ContentDescriptorRequestOptions, ContentRequestOptions, DistinctValuesRequestOptions, SingleElementPropertiesRequestOptions, MultiElementPropertiesByClassRequestOptions, MultiElementPropertiesByIdsRequestOptions, MultiElementPropertiesRequestOptions, ContentInstanceKeysRequestOptions, DisplayLabelRequestOptions, DisplayLabelsRequestOptions, PageOptions, Paged, Prioritized, WithCancelEvent, } from "./presentation-common/PresentationManagerOptions.js";
|
|
13
|
+
export { HierarchyRequestOptions, HierarchyLevelDescriptorRequestOptions, FilterByInstancePathsHierarchyRequestOptions, FilterByTextHierarchyRequestOptions, ElementPropertiesRequestOptions, SelectionScopeRequestOptions, ComputeSelectionRequestOptions, HierarchyCompareOptions, } from "./presentation-common/PresentationManagerOptions.js";
|
|
14
|
+
export { HierarchyUpdateInfo, PartialHierarchyModification, NodeInsertionInfo, NodeDeletionInfo, NodeUpdateInfo, HierarchyCompareInfo, } from "./presentation-common/Update.js";
|
|
15
|
+
export { UnitSystemFormat, FormatsMap } from "./presentation-common/KoqPropertyValueFormatter.js";
|
|
13
16
|
export { RegisteredRuleset } from "./presentation-common/RegisteredRuleset.js";
|
|
14
17
|
export { VariableValueTypes, VariableValue, VariableValueJSON, BooleanRulesetVariable, StringRulesetVariable, IntRulesetVariable, IntsRulesetVariable, Id64RulesetVariable, Id64sRulesetVariable, RulesetVariable, Id64sRulesetVariableJSON, RulesetVariableJSON, } from "./presentation-common/RulesetVariables.js";
|
|
15
18
|
export { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from "./presentation-common/RulesetsFactory.js";
|
|
16
|
-
export { UPDATE_FULL, UpdateInfo,
|
|
19
|
+
export { UPDATE_FULL, UpdateInfo, ContentUpdateInfo, } from "./presentation-common/Update.js";
|
|
17
20
|
export { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from "./presentation-common/Utils.js";
|
|
18
21
|
export { InstanceFilterDefinition, InstanceFilterRelatedInstanceDefinition, InstanceFilterRelatedInstancePath, InstanceFilterRelatedInstanceTargetAlias, InstanceFilterRelatedInstanceRelationshipAlias, } from "./presentation-common/InstanceFilterDefinition.js";
|
|
19
|
-
export {
|
|
22
|
+
export { FormatOptions, KoqPropertyValueFormatter } from "./presentation-common/KoqPropertyValueFormatter.js";
|
|
20
23
|
/**
|
|
21
24
|
* @module RPC
|
|
22
25
|
*
|
|
@@ -24,7 +27,8 @@ export { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter
|
|
|
24
27
|
* Types used for RPC communication between frontend and backend. Generally should
|
|
25
28
|
* only be used internally by presentation packages.
|
|
26
29
|
*/
|
|
27
|
-
export { PresentationRpcRequestOptions, PresentationRpcResponseData, RpcDiagnosticsOptions, PresentationRpcResponse,
|
|
30
|
+
export { PresentationRpcRequestOptions, PresentationRpcResponseData, RpcDiagnosticsOptions, PresentationRpcResponse, ContentSourcesRpcRequestOptions, ContentSourcesRpcResult, ContentDescriptorRpcRequestOptions, ContentRpcRequestOptions, SingleElementPropertiesRpcRequestOptions, DistinctValuesRpcRequestOptions, ContentInstanceKeysRpcRequestOptions, DisplayLabelRpcRequestOptions, DisplayLabelsRpcRequestOptions, PresentationRpcInterface, } from "./presentation-common/PresentationRpcInterface.js";
|
|
31
|
+
export { HierarchyRpcRequestOptions, HierarchyLevelDescriptorRpcRequestOptions, FilterByInstancePathsHierarchyRpcRequestOptions, FilterByTextHierarchyRpcRequestOptions, SelectionScopeRpcRequestOptions, ComputeSelectionRpcRequestOptions, } from "./presentation-common/PresentationRpcInterface.js";
|
|
28
32
|
/**
|
|
29
33
|
* @module UnifiedSelection
|
|
30
34
|
*
|
|
@@ -49,7 +53,8 @@ export { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from "
|
|
|
49
53
|
export { RendererDescription } from "./presentation-common/content/Renderer.js";
|
|
50
54
|
export { PropertyValueFormat, PrimitiveTypeDescription, ArrayTypeDescription, StructFieldMemberDescription, StructTypeDescription, TypeDescription, } from "./presentation-common/content/TypeDescription.js";
|
|
51
55
|
export { Value, ValuesMap, ValuesArray, DisplayValue, DisplayValuesMap, DisplayValuesArray, NestedContentValue, NavigationPropertyValue, DisplayValueGroup, } from "./presentation-common/content/Value.js";
|
|
52
|
-
export { FieldHierarchy, StartContentProps, ProcessFieldHierarchiesProps, StartItemProps, StartCategoryProps, StartFieldProps, StartStructProps, StartArrayProps, ProcessMergedValueProps, ProcessPrimitiveValueProps, IContentVisitor, traverseFieldHierarchy,
|
|
56
|
+
export { FieldHierarchy, StartContentProps, ProcessFieldHierarchiesProps, StartItemProps, StartCategoryProps, StartFieldProps, StartStructProps, StartArrayProps, ProcessMergedValueProps, ProcessPrimitiveValueProps, IContentVisitor, traverseFieldHierarchy, createContentTraverser, createFieldHierarchies, addFieldHierarchy, combineFieldNames, parseCombinedFieldNames, } from "./presentation-common/content/ContentTraverser.js";
|
|
57
|
+
export { traverseContent, traverseContentItem, } from "./presentation-common/content/ContentTraverser.js";
|
|
53
58
|
export { createContentFormatter } from "./presentation-common/content/PropertyValueFormatter.js";
|
|
54
59
|
export { ElementProperties, ElementPropertiesCategoryItem, ElementPropertiesPrimitivePropertyItem, ElementPropertiesPrimitiveArrayPropertyItem, ElementPropertiesStructArrayPropertyItem, ElementPropertiesArrayPropertyItem, ElementPropertiesStructPropertyItem, ElementPropertiesPropertyValueType, ElementPropertiesPropertyItem, ElementPropertiesItem, } from "./presentation-common/ElementProperties.js";
|
|
55
60
|
/**
|
|
@@ -58,8 +63,9 @@ export { ElementProperties, ElementPropertiesCategoryItem, ElementPropertiesPrim
|
|
|
58
63
|
* @docs-group-description Hierarchies
|
|
59
64
|
* Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).
|
|
60
65
|
*/
|
|
66
|
+
export { PresentationQuery, IdBinding, IdSetBinding, ECValueBinding, ECValueSetBinding, PresentationQueryBinding, } from "./presentation-common/hierarchy/Key.js";
|
|
61
67
|
export { HierarchyLevel } from "./presentation-common/hierarchy/HierarchyLevel.js";
|
|
62
|
-
export { StandardNodeTypes, NodeKey, NodeKeyPath, BaseNodeKey, ECInstancesNodeKey, GroupingNodeKey, ECClassGroupingNodeKey, ECPropertyGroupingNodeKey, LabelGroupingNodeKey,
|
|
68
|
+
export { StandardNodeTypes, NodeKey, NodeKeyPath, BaseNodeKey, ECInstancesNodeKey, GroupingNodeKey, ECClassGroupingNodeKey, ECPropertyGroupingNodeKey, LabelGroupingNodeKey, } from "./presentation-common/hierarchy/Key.js";
|
|
63
69
|
export { Node, PartialNode } from "./presentation-common/hierarchy/Node.js";
|
|
64
70
|
export { NodePathElement, NodePathFilteringData } from "./presentation-common/hierarchy/NodePathElement.js";
|
|
65
71
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,6BAA6B,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,wCAAwC,EACxC,4CAA4C,EAC5C,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAC/G,OAAO,EACL,cAAc,EACd,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"presentation-common.d.ts","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,OAAO,EACL,yBAAyB,EACzB,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,OAAO,EACP,UAAU,EACV,WAAW,EACX,SAAS,EACT,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,sBAAsB,EACtB,0BAA0B,EAC1B,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,6BAA6B,EAC7B,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,wCAAwC,EACxC,4CAA4C,EAC5C,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,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C5E,cAAc,sDAAsD,CAAC;AACrE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC"}
|
|
@@ -13,6 +13,7 @@ export { InstanceKey, NavigationPropertyInfo, PropertyInfo, RelatedClassInfo, Re
|
|
|
13
13
|
export { PresentationStatus, PresentationError } from "./presentation-common/Error.js";
|
|
14
14
|
export { Key, KeySet } from "./presentation-common/KeySet.js";
|
|
15
15
|
export { LabelDefinition } from "./presentation-common/LabelDefinition.js";
|
|
16
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
16
17
|
export { RegisteredRuleset } from "./presentation-common/RegisteredRuleset.js";
|
|
17
18
|
export { VariableValueTypes, RulesetVariable, } from "./presentation-common/RulesetVariables.js";
|
|
18
19
|
export { RulesetsFactory } from "./presentation-common/RulesetsFactory.js";
|
|
@@ -42,9 +43,13 @@ export { Item } from "./presentation-common/content/Item.js";
|
|
|
42
43
|
export { Property } from "./presentation-common/content/Property.js";
|
|
43
44
|
export { PropertyValueFormat, } from "./presentation-common/content/TypeDescription.js";
|
|
44
45
|
export { Value, DisplayValue, } from "./presentation-common/content/Value.js";
|
|
45
|
-
export { traverseFieldHierarchy,
|
|
46
|
+
export { traverseFieldHierarchy, createContentTraverser, createFieldHierarchies, addFieldHierarchy, combineFieldNames, parseCombinedFieldNames, } from "./presentation-common/content/ContentTraverser.js";
|
|
47
|
+
/* eslint-disable @typescript-eslint/no-deprecated */
|
|
48
|
+
export { traverseContent, traverseContentItem, } from "./presentation-common/content/ContentTraverser.js";
|
|
49
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
46
50
|
export { createContentFormatter } from "./presentation-common/content/PropertyValueFormatter.js";
|
|
47
51
|
export { StandardNodeTypes, NodeKey, } from "./presentation-common/hierarchy/Key.js";
|
|
52
|
+
/* eslint-enable @typescript-eslint/no-deprecated */
|
|
48
53
|
/**
|
|
49
54
|
* @module PresentationRules
|
|
50
55
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,OAAO,EAUL,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAGL,WAAW,EAMX,sBAAsB,EAEtB,YAAY,EAMZ,gBAAgB,EAEhB,wCAAwC,EAExC,gBAAgB,GAIjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,GAAG,EAAoB,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAsC,eAAe,EAAE,MAAM,0CAA0C,CAAC;AA4B/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EACL,kBAAkB,EASlB,eAAe,GAGhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,eAAe,EAAuD,MAAM,0CAA0C,CAAC;AAChI,OAAO,EACL,WAAW,GASZ,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAA8D,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAQxJ,OAAO,EAA+C,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAE5I;;;;;;GAMG;AACH,OAAO,EAoBL,wBAAwB,GACzB,MAAM,mDAAmD,CAAC;AAU3D;;;;;GAKG;AACH,OAAO,EAAE,mBAAmB,EAA2B,MAAM,2CAA2C,CAAC;AACzG,OAAO,EAAe,OAAO,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EACL,eAAe,EAEf,YAAY,EACZ,aAAa,EAKb,UAAU,GACX,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAE3F,OAAO,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AC;AACvF,cAAc,oFAAoF,CAAC;AACnG,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,iFAAiF,CAAC;AAChG,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,sDAAsD,CAAC;AACrE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n HierarchyUpdateInfo,\r\n ContentUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { UnitSystemFormat, FormatsMap, FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n traverseContent,\r\n traverseContentItem,\r\n createContentTraverser,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\nexport { createContentFormatter } from \"./presentation-common/content/PropertyValueFormatter.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
|
|
1
|
+
{"version":3,"file":"presentation-common.js","sourceRoot":"","sources":["../../src/presentation-common.ts"],"names":[],"mappings":"AAAA;;;gGAGgG;AAChG;;;;;GAKG;AACH,OAAO,EAUL,mBAAmB,GACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAGL,WAAW,EAMX,sBAAsB,EAEtB,YAAY,EAMZ,gBAAgB,EAEhB,wCAAwC,EAExC,gBAAgB,GAIjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,GAAG,EAAoB,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAsC,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAwC/G,oDAAoD;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EACL,kBAAkB,EASlB,eAAe,GAGhB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,eA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hD,oDAAoD;AAEpD;;;;;GAKG;AACH,kFAAkF;AAClF,cAAc,wDAAwD,CAAC;AACvE,cAAc,iEAAiE,CAAC;AAChF,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,sFAAsF,CAAC;AACrG,cAAc,yDAAyD,CAAC;AACxE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4EAA4E,CAAC;AAC3F,cAAc,uDAAuD,CAAC;AACtE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,+DAA+D,CAAC;AAC9E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,oEAAoE,CAAC;AACnF,cAAc,0DAA0D,CAAC;AACzE,cAAc,uFAAuF,CAAC;AACtG,cAAc,6EAA6E,CAAC;AAC5F,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,2EAA2E,CAAC;AAC1F,cAAc,wEAAwE,CAAC;AACvF,cAAc,oFAAoF,CAAC;AACnG,cAAc,kEAAkE,CAAC;AACjF,cAAc,gFAAgF,CAAC;AAC/F,cAAc,+EAA+E,CAAC;AAC9F,cAAc,8EAA8E,CAAC;AAC7F,cAAc,iFAAiF,CAAC;AAChG,cAAc,oDAAoD,CAAC;AACnE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,sDAAsD,CAAC;AACrE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,qDAAqD,CAAC;AACpE,cAAc,0CAA0C,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n * See LICENSE.md in the project root for license terms and full copyright notice.\r\n *--------------------------------------------------------------------------------------------*/\r\n/**\r\n * @module Core\r\n *\r\n * @docs-group-description Core\r\n * Common types used all across Presentation packages.\r\n */\r\nexport {\r\n DiagnosticsLoggerSeverity,\r\n Diagnostics,\r\n ClientDiagnostics,\r\n DiagnosticsOptions,\r\n ClientDiagnosticsHandler,\r\n ClientDiagnosticsOptions,\r\n ClientDiagnosticsAttribute,\r\n DiagnosticsLogMessage,\r\n DiagnosticsScopeLogs,\r\n DiagnosticsLogEntry,\r\n} from \"./presentation-common/Diagnostics.js\";\r\nexport {\r\n ClassId,\r\n InstanceId,\r\n InstanceKey,\r\n ClassInfo,\r\n CompressedClassInfoJSON,\r\n EnumerationChoice,\r\n EnumerationInfo,\r\n KindOfQuantityInfo,\r\n NavigationPropertyInfo,\r\n NavigationPropertyInfoJSON,\r\n PropertyInfo,\r\n PropertyValueConstraints,\r\n StringPropertyValueConstraints,\r\n NumericPropertyValueConstraints,\r\n ArrayPropertyValueConstraints,\r\n PropertyInfoJSON,\r\n RelatedClassInfo,\r\n RelatedClassInfoJSON,\r\n RelatedClassInfoWithOptionalRelationship,\r\n RelatedClassInfoWithOptionalRelationshipJSON,\r\n RelationshipPath,\r\n RelationshipPathJSON,\r\n StrippedRelatedClassInfo,\r\n StrippedRelationshipPath,\r\n} from \"./presentation-common/EC.js\";\r\nexport { PresentationStatus, PresentationError } from \"./presentation-common/Error.js\";\r\nexport { Key, Keys, KeySetJSON, KeySet } from \"./presentation-common/KeySet.js\";\r\nexport { LabelCompositeValue, LabelRawValue, LabelDefinition } from \"./presentation-common/LabelDefinition.js\";\r\nexport {\r\n RequestOptions,\r\n RequestOptionsWithRuleset,\r\n ContentSourcesRequestOptions,\r\n ContentDescriptorRequestOptions,\r\n ContentRequestOptions,\r\n DistinctValuesRequestOptions,\r\n SingleElementPropertiesRequestOptions,\r\n MultiElementPropertiesByClassRequestOptions,\r\n MultiElementPropertiesByIdsRequestOptions,\r\n MultiElementPropertiesRequestOptions,\r\n ContentInstanceKeysRequestOptions,\r\n DisplayLabelRequestOptions,\r\n DisplayLabelsRequestOptions,\r\n PageOptions,\r\n Paged,\r\n Prioritized,\r\n WithCancelEvent,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n HierarchyRequestOptions,\r\n HierarchyLevelDescriptorRequestOptions,\r\n FilterByInstancePathsHierarchyRequestOptions,\r\n FilterByTextHierarchyRequestOptions,\r\n ElementPropertiesRequestOptions,\r\n SelectionScopeRequestOptions,\r\n ComputeSelectionRequestOptions,\r\n HierarchyCompareOptions,\r\n} from \"./presentation-common/PresentationManagerOptions.js\";\r\nexport {\r\n HierarchyUpdateInfo,\r\n PartialHierarchyModification,\r\n NodeInsertionInfo,\r\n NodeDeletionInfo,\r\n NodeUpdateInfo,\r\n HierarchyCompareInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { UnitSystemFormat, FormatsMap } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\nexport { RegisteredRuleset } from \"./presentation-common/RegisteredRuleset.js\";\r\nexport {\r\n VariableValueTypes,\r\n VariableValue,\r\n VariableValueJSON,\r\n BooleanRulesetVariable,\r\n StringRulesetVariable,\r\n IntRulesetVariable,\r\n IntsRulesetVariable,\r\n Id64RulesetVariable,\r\n Id64sRulesetVariable,\r\n RulesetVariable,\r\n Id64sRulesetVariableJSON,\r\n RulesetVariableJSON,\r\n} from \"./presentation-common/RulesetVariables.js\";\r\nexport { RulesetsFactory, ComputeDisplayValueCallback, PrimitivePropertyValue } from \"./presentation-common/RulesetsFactory.js\";\r\nexport {\r\n UPDATE_FULL,\r\n UpdateInfo,\r\n ContentUpdateInfo,\r\n} from \"./presentation-common/Update.js\";\r\nexport { DEFAULT_KEYS_BATCH_SIZE, Omit, PagedResponse, PartialBy, Subtract, ValuesDictionary, getInstancesCount } from \"./presentation-common/Utils.js\";\r\nexport {\r\n InstanceFilterDefinition,\r\n InstanceFilterRelatedInstanceDefinition,\r\n InstanceFilterRelatedInstancePath,\r\n InstanceFilterRelatedInstanceTargetAlias,\r\n InstanceFilterRelatedInstanceRelationshipAlias,\r\n} from \"./presentation-common/InstanceFilterDefinition.js\";\r\nexport { FormatOptions, KoqPropertyValueFormatter } from \"./presentation-common/KoqPropertyValueFormatter.js\";\r\n\r\n/**\r\n * @module RPC\r\n *\r\n * @docs-group-description RPC\r\n * Types used for RPC communication between frontend and backend. Generally should\r\n * only be used internally by presentation packages.\r\n */\r\nexport {\r\n PresentationRpcRequestOptions,\r\n PresentationRpcResponseData,\r\n RpcDiagnosticsOptions,\r\n PresentationRpcResponse,\r\n ContentSourcesRpcRequestOptions,\r\n ContentSourcesRpcResult,\r\n ContentDescriptorRpcRequestOptions,\r\n ContentRpcRequestOptions,\r\n SingleElementPropertiesRpcRequestOptions,\r\n DistinctValuesRpcRequestOptions,\r\n ContentInstanceKeysRpcRequestOptions,\r\n DisplayLabelRpcRequestOptions,\r\n DisplayLabelsRpcRequestOptions,\r\n PresentationRpcInterface,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n HierarchyRpcRequestOptions,\r\n HierarchyLevelDescriptorRpcRequestOptions,\r\n FilterByInstancePathsHierarchyRpcRequestOptions,\r\n FilterByTextHierarchyRpcRequestOptions,\r\n SelectionScopeRpcRequestOptions,\r\n ComputeSelectionRpcRequestOptions,\r\n} from \"./presentation-common/PresentationRpcInterface.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\n\r\n/**\r\n * @module UnifiedSelection\r\n *\r\n * @docs-group-description UnifiedSelection\r\n * Types related to [unified selection]($docs/presentation/unified-selection/index.md).\r\n */\r\n/* eslint-disable-next-line @typescript-eslint/no-deprecated */\r\nexport { SelectionScope, ElementSelectionScopeProps, SelectionScopeProps } from \"./presentation-common/selection/SelectionScope.js\";\r\n\r\n/**\r\n * @module Content\r\n *\r\n * @docs-group-description Content\r\n * Types related to presentation [content]($docs/presentation/content/index.md).\r\n */\r\nexport { CategoryDescription, CategoryDescriptionJSON } from \"./presentation-common/content/Category.js\";\r\nexport { ContentJSON, Content } from \"./presentation-common/content/Content.js\";\r\nexport {\r\n SelectClassInfo,\r\n SelectClassInfoJSON,\r\n ContentFlags,\r\n SortDirection,\r\n SelectionInfo,\r\n DescriptorJSON,\r\n DescriptorOverrides,\r\n DescriptorSource,\r\n Descriptor,\r\n} from \"./presentation-common/content/Descriptor.js\";\r\nexport { DefaultContentDisplayTypes } from \"./presentation-common/content/DisplayTypes.js\";\r\nexport { EditorDescription } from \"./presentation-common/content/Editor.js\";\r\nexport {\r\n PropertiesFieldJSON,\r\n ArrayPropertiesFieldJSON,\r\n StructPropertiesFieldJSON,\r\n NestedContentFieldJSON,\r\n FieldJSON,\r\n Field,\r\n PropertiesField,\r\n ArrayPropertiesField,\r\n StructPropertiesField,\r\n NestedContentField,\r\n FieldDescriptorType,\r\n FieldDescriptor,\r\n NamedFieldDescriptor,\r\n PropertiesFieldDescriptor,\r\n} from \"./presentation-common/content/Fields.js\";\r\nexport { ItemJSON, Item } from \"./presentation-common/content/Item.js\";\r\nexport { PropertyAccessor, PropertyAccessorPath, Property, PropertyJSON } from \"./presentation-common/content/Property.js\";\r\nexport { RendererDescription } from \"./presentation-common/content/Renderer.js\";\r\nexport {\r\n PropertyValueFormat,\r\n PrimitiveTypeDescription,\r\n ArrayTypeDescription,\r\n StructFieldMemberDescription,\r\n StructTypeDescription,\r\n TypeDescription,\r\n} from \"./presentation-common/content/TypeDescription.js\";\r\nexport {\r\n Value,\r\n ValuesMap,\r\n ValuesArray,\r\n DisplayValue,\r\n DisplayValuesMap,\r\n DisplayValuesArray,\r\n NestedContentValue,\r\n NavigationPropertyValue,\r\n DisplayValueGroup,\r\n} from \"./presentation-common/content/Value.js\";\r\nexport {\r\n FieldHierarchy,\r\n StartContentProps,\r\n ProcessFieldHierarchiesProps,\r\n StartItemProps,\r\n StartCategoryProps,\r\n StartFieldProps,\r\n StartStructProps,\r\n StartArrayProps,\r\n ProcessMergedValueProps,\r\n ProcessPrimitiveValueProps,\r\n IContentVisitor,\r\n traverseFieldHierarchy,\r\n createContentTraverser,\r\n createFieldHierarchies,\r\n addFieldHierarchy,\r\n combineFieldNames,\r\n parseCombinedFieldNames,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport {\r\n traverseContent,\r\n traverseContentItem,\r\n} from \"./presentation-common/content/ContentTraverser.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\nexport { createContentFormatter } from \"./presentation-common/content/PropertyValueFormatter.js\";\r\nexport {\r\n ElementProperties,\r\n ElementPropertiesCategoryItem,\r\n ElementPropertiesPrimitivePropertyItem,\r\n ElementPropertiesPrimitiveArrayPropertyItem,\r\n ElementPropertiesStructArrayPropertyItem,\r\n ElementPropertiesArrayPropertyItem,\r\n ElementPropertiesStructPropertyItem,\r\n ElementPropertiesPropertyValueType,\r\n ElementPropertiesPropertyItem,\r\n ElementPropertiesItem,\r\n} from \"./presentation-common/ElementProperties.js\";\r\n\r\n/**\r\n * @module Hierarchies\r\n *\r\n * @docs-group-description Hierarchies\r\n * Types related to presentation [hierarchies]($docs/presentation/hierarchies/index.md).\r\n */\r\nexport {\r\n PresentationQuery,\r\n IdBinding,\r\n IdSetBinding,\r\n ECValueBinding,\r\n ECValueSetBinding,\r\n PresentationQueryBinding,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\n/* eslint-disable @typescript-eslint/no-deprecated */\r\nexport { HierarchyLevel } from \"./presentation-common/hierarchy/HierarchyLevel.js\";\r\nexport {\r\n StandardNodeTypes,\r\n NodeKey,\r\n NodeKeyPath,\r\n BaseNodeKey,\r\n ECInstancesNodeKey,\r\n GroupingNodeKey,\r\n ECClassGroupingNodeKey,\r\n ECPropertyGroupingNodeKey,\r\n LabelGroupingNodeKey,\r\n} from \"./presentation-common/hierarchy/Key.js\";\r\nexport { Node, PartialNode } from \"./presentation-common/hierarchy/Node.js\";\r\nexport { NodePathElement, NodePathFilteringData } from \"./presentation-common/hierarchy/NodePathElement.js\";\r\n/* eslint-enable @typescript-eslint/no-deprecated */\r\n\r\n/**\r\n * @module PresentationRules\r\n *\r\n * @docs-group-description PresentationRules\r\n * Types for defining the presentation ruleset.\r\n */\r\n// note: everything under `rules/` is public, so no need to name each exported api\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/ChildNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomNodeSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/CustomQueryInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/InstanceNodesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NavigationRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/NodeArtifactsRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RelatedInstanceNodesSpecification.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/RootNodeRule.js\";\r\nexport * from \"./presentation-common/rules/hierarchy/SubCondition.js\";\r\nexport * from \"./presentation-common/rules/customization/CustomizationRule.js\";\r\nexport * from \"./presentation-common/rules/customization/ExtendedDataRule.js\";\r\nexport * from \"./presentation-common/rules/customization/GroupingRule.js\";\r\nexport * from \"./presentation-common/rules/customization/InstanceLabelOverride.js\";\r\nexport * from \"./presentation-common/rules/customization/SortingRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentInstancesOfSpecificClassesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRelatedInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/ContentRule.js\";\r\nexport * from \"./presentation-common/rules/content/ContentSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/PropertySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/SelectedNodeInstancesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/DefaultPropertyCategoryOverride.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CalculatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/ContentModifier.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyCategorySpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/PropertyEditorsSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/CustomRendererSpecification.js\";\r\nexport * from \"./presentation-common/rules/content/modifiers/RelatedPropertiesSpecification.js\";\r\nexport * from \"./presentation-common/rules/ClassSpecifications.js\";\r\nexport * from \"./presentation-common/rules/RelatedInstanceSpecification.js\";\r\nexport * from \"./presentation-common/rules/RelationshipDirection.js\";\r\nexport * from \"./presentation-common/rules/RelationshipPathSpecification.js\";\r\nexport * from \"./presentation-common/rules/Rule.js\";\r\nexport * from \"./presentation-common/rules/Ruleset.js\";\r\nexport * from \"./presentation-common/rules/SchemasSpecification.js\";\r\nexport * from \"./presentation-common/rules/Variables.js\";\r\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/presentation-common",
|
|
3
|
-
"version": "5.5.0-dev.
|
|
3
|
+
"version": "5.5.0-dev.13",
|
|
4
4
|
"description": "Common pieces for iModel.js presentation packages",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@itwin/presentation-shared": "^1.2.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@itwin/core-bentley": "5.5.0-dev.
|
|
50
|
-
"@itwin/core-
|
|
51
|
-
"@itwin/
|
|
52
|
-
"@itwin/
|
|
49
|
+
"@itwin/core-bentley": "5.5.0-dev.13",
|
|
50
|
+
"@itwin/core-quantity": "5.5.0-dev.13",
|
|
51
|
+
"@itwin/core-common": "5.5.0-dev.13",
|
|
52
|
+
"@itwin/ecschema-metadata": "5.5.0-dev.13"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@itwin/eslint-plugin": "5.2.2-dev.2",
|
|
@@ -81,12 +81,12 @@
|
|
|
81
81
|
"typescript": "~5.6.2",
|
|
82
82
|
"typescript-json-schema": "^0.55.0",
|
|
83
83
|
"yargs": "^17.4.0",
|
|
84
|
-
"@itwin/build-tools": "5.5.0-dev.
|
|
85
|
-
"@itwin/core-bentley": "5.5.0-dev.
|
|
86
|
-
"
|
|
87
|
-
"@itwin/core-quantity": "5.5.0-dev.
|
|
88
|
-
"@itwin/
|
|
89
|
-
"
|
|
84
|
+
"@itwin/build-tools": "5.5.0-dev.13",
|
|
85
|
+
"@itwin/core-bentley": "5.5.0-dev.13",
|
|
86
|
+
"@itwin/core-common": "5.5.0-dev.13",
|
|
87
|
+
"@itwin/core-quantity": "5.5.0-dev.13",
|
|
88
|
+
"@itwin/ecschema-metadata": "5.5.0-dev.13",
|
|
89
|
+
"internal-tools": "3.0.0-dev.69"
|
|
90
90
|
},
|
|
91
91
|
"scripts": {
|
|
92
92
|
"build": "npm run -s ruleset-json-schema && npm run -s build:assets && npm run -s build:public && npm run -s build:cjs && npm run -s build:esm",
|