@itwin/presentation-backend 4.0.0-dev.8 → 4.0.0-dev.80

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 (59) hide show
  1. package/CHANGELOG.md +47 -1
  2. package/lib/cjs/assets/supplemental-presentation-rules/BisCore.PresentationRuleSet.json +5 -3
  3. package/lib/cjs/presentation-backend/BackendLoggerCategory.d.ts +41 -41
  4. package/lib/cjs/presentation-backend/BackendLoggerCategory.js +50 -50
  5. package/lib/cjs/presentation-backend/Constants.d.ts +8 -8
  6. package/lib/cjs/presentation-backend/Constants.js +40 -36
  7. package/lib/cjs/presentation-backend/Constants.js.map +1 -1
  8. package/lib/cjs/presentation-backend/ElementPropertiesHelper.d.ts +11 -11
  9. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js +260 -262
  10. package/lib/cjs/presentation-backend/ElementPropertiesHelper.js.map +1 -1
  11. package/lib/cjs/presentation-backend/NativePlatform.d.ts +87 -87
  12. package/lib/cjs/presentation-backend/NativePlatform.d.ts.map +1 -1
  13. package/lib/cjs/presentation-backend/NativePlatform.js +140 -140
  14. package/lib/cjs/presentation-backend/NativePlatform.js.map +1 -1
  15. package/lib/cjs/presentation-backend/Presentation.d.ts +106 -106
  16. package/lib/cjs/presentation-backend/Presentation.d.ts.map +1 -1
  17. package/lib/cjs/presentation-backend/Presentation.js +148 -150
  18. package/lib/cjs/presentation-backend/Presentation.js.map +1 -1
  19. package/lib/cjs/presentation-backend/PresentationIpcHandler.d.ts +12 -12
  20. package/lib/cjs/presentation-backend/PresentationIpcHandler.js +41 -41
  21. package/lib/cjs/presentation-backend/PresentationManager.d.ts +456 -445
  22. package/lib/cjs/presentation-backend/PresentationManager.d.ts.map +1 -1
  23. package/lib/cjs/presentation-backend/PresentationManager.js +309 -311
  24. package/lib/cjs/presentation-backend/PresentationManager.js.map +1 -1
  25. package/lib/cjs/presentation-backend/PresentationManagerDetail.d.ts +61 -61
  26. package/lib/cjs/presentation-backend/PresentationManagerDetail.js +430 -430
  27. package/lib/cjs/presentation-backend/PresentationManagerDetail.js.map +1 -1
  28. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts +62 -62
  29. package/lib/cjs/presentation-backend/PresentationRpcImpl.d.ts.map +1 -1
  30. package/lib/cjs/presentation-backend/PresentationRpcImpl.js +388 -388
  31. package/lib/cjs/presentation-backend/PresentationRpcImpl.js.map +1 -1
  32. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts +102 -102
  33. package/lib/cjs/presentation-backend/RulesetEmbedder.d.ts.map +1 -1
  34. package/lib/cjs/presentation-backend/RulesetEmbedder.js +284 -279
  35. package/lib/cjs/presentation-backend/RulesetEmbedder.js.map +1 -1
  36. package/lib/cjs/presentation-backend/RulesetManager.d.ts +53 -53
  37. package/lib/cjs/presentation-backend/RulesetManager.js +73 -73
  38. package/lib/cjs/presentation-backend/RulesetVariablesManager.d.ts +140 -140
  39. package/lib/cjs/presentation-backend/RulesetVariablesManager.js +129 -129
  40. package/lib/cjs/presentation-backend/SelectionScopesHelper.d.ts +28 -28
  41. package/lib/cjs/presentation-backend/SelectionScopesHelper.js +210 -213
  42. package/lib/cjs/presentation-backend/SelectionScopesHelper.js.map +1 -1
  43. package/lib/cjs/presentation-backend/TemporaryStorage.d.ts +123 -123
  44. package/lib/cjs/presentation-backend/TemporaryStorage.js +151 -151
  45. package/lib/cjs/presentation-backend/UpdatesTracker.d.ts +27 -27
  46. package/lib/cjs/presentation-backend/UpdatesTracker.js +54 -54
  47. package/lib/cjs/presentation-backend/Utils.d.ts +49 -49
  48. package/lib/cjs/presentation-backend/Utils.d.ts.map +1 -1
  49. package/lib/cjs/presentation-backend/Utils.js +107 -106
  50. package/lib/cjs/presentation-backend/Utils.js.map +1 -1
  51. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.d.ts +16 -16
  52. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js +55 -51
  53. package/lib/cjs/presentation-backend/domain/PresentationRulesDomain.js.map +1 -1
  54. package/lib/cjs/presentation-backend/domain/RulesetElements.d.ts +21 -21
  55. package/lib/cjs/presentation-backend/domain/RulesetElements.js +38 -38
  56. package/lib/cjs/presentation-backend.d.ts +19 -19
  57. package/lib/cjs/presentation-backend.js +39 -35
  58. package/lib/cjs/presentation-backend.js.map +1 -1
  59. package/package.json +18 -18
package/CHANGELOG.md CHANGED
@@ -1,6 +1,52 @@
1
1
  # Change Log - @itwin/presentation-backend
2
2
 
3
- This log was last generated on Thu, 26 Jan 2023 22:53:28 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 12 Apr 2023 13:12:42 GMT and should not be manually modified.
4
+
5
+ ## 3.7.2
6
+ Wed, 12 Apr 2023 13:12:42 GMT
7
+
8
+ ### Updates
9
+
10
+ - Fix `BisCore` supplemental rules for related `bis.ExternalSource` properties
11
+
12
+ ## 3.7.1
13
+ Mon, 03 Apr 2023 15:15:37 GMT
14
+
15
+ _Version update only_
16
+
17
+ ## 3.7.0
18
+ Wed, 29 Mar 2023 15:02:27 GMT
19
+
20
+ _Version update only_
21
+
22
+ ## 3.6.3
23
+ Mon, 27 Mar 2023 16:26:47 GMT
24
+
25
+ _Version update only_
26
+
27
+ ## 3.6.2
28
+ Fri, 17 Mar 2023 17:52:32 GMT
29
+
30
+ _Version update only_
31
+
32
+ ## 3.6.1
33
+ Fri, 24 Feb 2023 22:00:48 GMT
34
+
35
+ _Version update only_
36
+
37
+ ## 3.6.0
38
+ Wed, 08 Feb 2023 14:58:40 GMT
39
+
40
+ ### Updates
41
+
42
+ - API promotions
43
+ - Add APIs to get hierarchy level descriptor
44
+ - Introduce unfilterable nodes and hierarchy levels
45
+
46
+ ## 3.5.6
47
+ Fri, 24 Feb 2023 16:02:47 GMT
48
+
49
+ _Version update only_
4
50
 
5
51
  ## 3.5.5
6
52
  Thu, 26 Jan 2023 22:53:28 GMT
@@ -496,7 +496,8 @@
496
496
  "categoryId": "source_information",
497
497
  "labelOverride": "Path"
498
498
  }
499
- ]
499
+ ],
500
+ "skipIfDuplicate": true
500
501
  },
501
502
  {
502
503
  "relationshipMeaning": "SameInstance",
@@ -540,7 +541,8 @@
540
541
  "categoryId": "secondary_sources",
541
542
  "labelOverride": "Path"
542
543
  }
543
- ]
544
+ ],
545
+ "skipIfDuplicate": true
544
546
  }
545
547
  ],
546
548
  "skipIfDuplicate": true
@@ -759,4 +761,4 @@
759
761
  ]
760
762
  }
761
763
  ]
762
- }
764
+ }
@@ -1,42 +1,42 @@
1
- /** @packageDocumentation
2
- * @module Logging
3
- */
4
- /**
5
- * Logger categories used by this package
6
- * @note All logger categories in this package start with the `presentation-backend` prefix.
7
- * @see [Logger]($bentley)
8
- * @public
9
- */
10
- export declare enum PresentationBackendLoggerCategory {
11
- Package = "presentation-backend",
12
- /** The logger category used by the [[PresentationManager]] class and other related classes. */
13
- PresentationManager = "presentation-backend.PresentationManager",
14
- /** The logger category used by Presentation RPC implementation. */
15
- Rpc = "presentation-backend.Rpc",
16
- /** The logger category used by Presentation IPC implementation. */
17
- Ipc = "presentation-backend.Ipc"
18
- }
19
- /**
20
- * Logger categories used by this package
21
- * @note Logger categories used by the [[PresentationManager]] native addon.
22
- * @see [Logger]($bentley)
23
- * @public
24
- */
25
- export declare enum PresentationBackendNativeLoggerCategory {
26
- ECObjects = "ECObjects",
27
- ECObjects_ECExpressions = "ECObjects.ECExpressions",
28
- ECObjects_ECExpressions_Parse = "ECObjects.ECExpressions.Parse",
29
- ECObjects_ECExpressions_Evaluate = "ECObjects.ECExpressions.Evaluate",
30
- ECPresentation = "ECPresentation",
31
- ECPresentation_Connections = "ECPresentation.Connections",
32
- ECPresentation_Localization = "ECPresentation.Localization",
33
- ECPresentation_RulesEngine = "ECPresentation.RulesEngine",
34
- ECPresentation_RulesEngine_Content = "ECPresentation.RulesEngine.Content",
35
- ECPresentation_RulesEngine_Localization = "ECPresentation.RulesEngine.Localization",
36
- ECPresentation_RulesEngine_Navigation = "ECPresentation.RulesEngine.Navigation",
37
- ECPresentation_RulesEngine_Navigation_Cache = "ECPresentation.RulesEngine.Navigation.Cache",
38
- ECPresentation_RulesEngine_Threads = "ECPresentation.RulesEngine.Threads",
39
- ECPresentation_RulesEngine_Update = "ECPresentation.RulesEngine.Update",
40
- ECPresentation_RulesEngine_RulesetVariables = "ECPresentation.RulesEngine.RulesetVariables"
41
- }
1
+ /** @packageDocumentation
2
+ * @module Logging
3
+ */
4
+ /**
5
+ * Logger categories used by this package
6
+ * @note All logger categories in this package start with the `presentation-backend` prefix.
7
+ * @see [Logger]($bentley)
8
+ * @public
9
+ */
10
+ export declare enum PresentationBackendLoggerCategory {
11
+ Package = "presentation-backend",
12
+ /** The logger category used by the [[PresentationManager]] class and other related classes. */
13
+ PresentationManager = "presentation-backend.PresentationManager",
14
+ /** The logger category used by Presentation RPC implementation. */
15
+ Rpc = "presentation-backend.Rpc",
16
+ /** The logger category used by Presentation IPC implementation. */
17
+ Ipc = "presentation-backend.Ipc"
18
+ }
19
+ /**
20
+ * Logger categories used by this package
21
+ * @note Logger categories used by the [[PresentationManager]] native addon.
22
+ * @see [Logger]($bentley)
23
+ * @public
24
+ */
25
+ export declare enum PresentationBackendNativeLoggerCategory {
26
+ ECObjects = "ECObjects",
27
+ ECObjects_ECExpressions = "ECObjects.ECExpressions",
28
+ ECObjects_ECExpressions_Parse = "ECObjects.ECExpressions.Parse",
29
+ ECObjects_ECExpressions_Evaluate = "ECObjects.ECExpressions.Evaluate",
30
+ ECPresentation = "ECPresentation",
31
+ ECPresentation_Connections = "ECPresentation.Connections",
32
+ ECPresentation_Localization = "ECPresentation.Localization",
33
+ ECPresentation_RulesEngine = "ECPresentation.RulesEngine",
34
+ ECPresentation_RulesEngine_Content = "ECPresentation.RulesEngine.Content",
35
+ ECPresentation_RulesEngine_Localization = "ECPresentation.RulesEngine.Localization",
36
+ ECPresentation_RulesEngine_Navigation = "ECPresentation.RulesEngine.Navigation",
37
+ ECPresentation_RulesEngine_Navigation_Cache = "ECPresentation.RulesEngine.Navigation.Cache",
38
+ ECPresentation_RulesEngine_Threads = "ECPresentation.RulesEngine.Threads",
39
+ ECPresentation_RulesEngine_Update = "ECPresentation.RulesEngine.Update",
40
+ ECPresentation_RulesEngine_RulesetVariables = "ECPresentation.RulesEngine.RulesetVariables"
41
+ }
42
42
  //# sourceMappingURL=BackendLoggerCategory.d.ts.map
@@ -1,51 +1,51 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Logging
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.PresentationBackendNativeLoggerCategory = exports.PresentationBackendLoggerCategory = void 0;
11
- /**
12
- * Logger categories used by this package
13
- * @note All logger categories in this package start with the `presentation-backend` prefix.
14
- * @see [Logger]($bentley)
15
- * @public
16
- */
17
- var PresentationBackendLoggerCategory;
18
- (function (PresentationBackendLoggerCategory) {
19
- PresentationBackendLoggerCategory["Package"] = "presentation-backend";
20
- /** The logger category used by the [[PresentationManager]] class and other related classes. */
21
- PresentationBackendLoggerCategory["PresentationManager"] = "presentation-backend.PresentationManager";
22
- /** The logger category used by Presentation RPC implementation. */
23
- PresentationBackendLoggerCategory["Rpc"] = "presentation-backend.Rpc";
24
- /** The logger category used by Presentation IPC implementation. */
25
- PresentationBackendLoggerCategory["Ipc"] = "presentation-backend.Ipc";
26
- })(PresentationBackendLoggerCategory = exports.PresentationBackendLoggerCategory || (exports.PresentationBackendLoggerCategory = {}));
27
- /**
28
- * Logger categories used by this package
29
- * @note Logger categories used by the [[PresentationManager]] native addon.
30
- * @see [Logger]($bentley)
31
- * @public
32
- */
33
- var PresentationBackendNativeLoggerCategory;
34
- (function (PresentationBackendNativeLoggerCategory) {
35
- PresentationBackendNativeLoggerCategory["ECObjects"] = "ECObjects";
36
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions"] = "ECObjects.ECExpressions";
37
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Parse"] = "ECObjects.ECExpressions.Parse";
38
- PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Evaluate"] = "ECObjects.ECExpressions.Evaluate";
39
- PresentationBackendNativeLoggerCategory["ECPresentation"] = "ECPresentation";
40
- PresentationBackendNativeLoggerCategory["ECPresentation_Connections"] = "ECPresentation.Connections";
41
- PresentationBackendNativeLoggerCategory["ECPresentation_Localization"] = "ECPresentation.Localization";
42
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine"] = "ECPresentation.RulesEngine";
43
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Content"] = "ECPresentation.RulesEngine.Content";
44
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Localization"] = "ECPresentation.RulesEngine.Localization";
45
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation"] = "ECPresentation.RulesEngine.Navigation";
46
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation_Cache"] = "ECPresentation.RulesEngine.Navigation.Cache";
47
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Threads"] = "ECPresentation.RulesEngine.Threads";
48
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Update"] = "ECPresentation.RulesEngine.Update";
49
- PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_RulesetVariables"] = "ECPresentation.RulesEngine.RulesetVariables";
50
- })(PresentationBackendNativeLoggerCategory = exports.PresentationBackendNativeLoggerCategory || (exports.PresentationBackendNativeLoggerCategory = {}));
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Logging
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.PresentationBackendNativeLoggerCategory = exports.PresentationBackendLoggerCategory = void 0;
11
+ /**
12
+ * Logger categories used by this package
13
+ * @note All logger categories in this package start with the `presentation-backend` prefix.
14
+ * @see [Logger]($bentley)
15
+ * @public
16
+ */
17
+ var PresentationBackendLoggerCategory;
18
+ (function (PresentationBackendLoggerCategory) {
19
+ PresentationBackendLoggerCategory["Package"] = "presentation-backend";
20
+ /** The logger category used by the [[PresentationManager]] class and other related classes. */
21
+ PresentationBackendLoggerCategory["PresentationManager"] = "presentation-backend.PresentationManager";
22
+ /** The logger category used by Presentation RPC implementation. */
23
+ PresentationBackendLoggerCategory["Rpc"] = "presentation-backend.Rpc";
24
+ /** The logger category used by Presentation IPC implementation. */
25
+ PresentationBackendLoggerCategory["Ipc"] = "presentation-backend.Ipc";
26
+ })(PresentationBackendLoggerCategory = exports.PresentationBackendLoggerCategory || (exports.PresentationBackendLoggerCategory = {}));
27
+ /**
28
+ * Logger categories used by this package
29
+ * @note Logger categories used by the [[PresentationManager]] native addon.
30
+ * @see [Logger]($bentley)
31
+ * @public
32
+ */
33
+ var PresentationBackendNativeLoggerCategory;
34
+ (function (PresentationBackendNativeLoggerCategory) {
35
+ PresentationBackendNativeLoggerCategory["ECObjects"] = "ECObjects";
36
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions"] = "ECObjects.ECExpressions";
37
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Parse"] = "ECObjects.ECExpressions.Parse";
38
+ PresentationBackendNativeLoggerCategory["ECObjects_ECExpressions_Evaluate"] = "ECObjects.ECExpressions.Evaluate";
39
+ PresentationBackendNativeLoggerCategory["ECPresentation"] = "ECPresentation";
40
+ PresentationBackendNativeLoggerCategory["ECPresentation_Connections"] = "ECPresentation.Connections";
41
+ PresentationBackendNativeLoggerCategory["ECPresentation_Localization"] = "ECPresentation.Localization";
42
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine"] = "ECPresentation.RulesEngine";
43
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Content"] = "ECPresentation.RulesEngine.Content";
44
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Localization"] = "ECPresentation.RulesEngine.Localization";
45
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation"] = "ECPresentation.RulesEngine.Navigation";
46
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Navigation_Cache"] = "ECPresentation.RulesEngine.Navigation.Cache";
47
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Threads"] = "ECPresentation.RulesEngine.Threads";
48
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_Update"] = "ECPresentation.RulesEngine.Update";
49
+ PresentationBackendNativeLoggerCategory["ECPresentation_RulesEngine_RulesetVariables"] = "ECPresentation.RulesEngine.RulesetVariables";
50
+ })(PresentationBackendNativeLoggerCategory = exports.PresentationBackendNativeLoggerCategory || (exports.PresentationBackendNativeLoggerCategory = {}));
51
51
  //# sourceMappingURL=BackendLoggerCategory.js.map
@@ -1,9 +1,9 @@
1
- /** @packageDocumentation
2
- * @module Core
3
- */
4
- /**
5
- * Path to presentation-backend assets root directory.
6
- * @internal
7
- */
8
- export declare const PRESENTATION_BACKEND_ASSETS_ROOT: string;
1
+ /** @packageDocumentation
2
+ * @module Core
3
+ */
4
+ /**
5
+ * Path to presentation-backend assets root directory.
6
+ * @internal
7
+ */
8
+ export declare const PRESENTATION_BACKEND_ASSETS_ROOT: string;
9
9
  //# sourceMappingURL=Constants.d.ts.map
@@ -1,37 +1,41 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- /** @packageDocumentation
7
- * @module Core
8
- */
9
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.PRESENTATION_BACKEND_ASSETS_ROOT = void 0;
30
- const path = __importStar(require("path"));
31
- /**
32
- * Path to presentation-backend assets root directory.
33
- * @internal
34
- */
35
- // istanbul ignore next
36
- exports.PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf("presentation-backend")) ? path.join(__dirname, "../assets") : path.join(__dirname, "assets");
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ /** @packageDocumentation
7
+ * @module Core
8
+ */
9
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ var desc = Object.getOwnPropertyDescriptor(m, k);
12
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
13
+ desc = { enumerable: true, get: function() { return m[k]; } };
14
+ }
15
+ Object.defineProperty(o, k2, desc);
16
+ }) : (function(o, m, k, k2) {
17
+ if (k2 === undefined) k2 = k;
18
+ o[k2] = m[k];
19
+ }));
20
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
22
+ }) : function(o, v) {
23
+ o["default"] = v;
24
+ });
25
+ var __importStar = (this && this.__importStar) || function (mod) {
26
+ if (mod && mod.__esModule) return mod;
27
+ var result = {};
28
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
+ __setModuleDefault(result, mod);
30
+ return result;
31
+ };
32
+ Object.defineProperty(exports, "__esModule", { value: true });
33
+ exports.PRESENTATION_BACKEND_ASSETS_ROOT = void 0;
34
+ const path = __importStar(require("path"));
35
+ /**
36
+ * Path to presentation-backend assets root directory.
37
+ * @internal
38
+ */
39
+ // istanbul ignore next
40
+ exports.PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf("presentation-backend")) ? path.join(__dirname, "../assets") : path.join(__dirname, "assets");
37
41
  //# sourceMappingURL=Constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;;;;;;;;;;;;;;;;;AAEH,2CAA6B;AAE7B;;;GAGG;AACH,uBAAuB;AACV,QAAA,gCAAgC,GAAG,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,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/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport * as path from \"path\";\r\n\r\n/**\r\n * Path to presentation-backend assets root directory.\r\n * @internal\r\n */\r\n// istanbul ignore next\r\nexport const PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf(\"presentation-backend\")) ? path.join(__dirname, \"../assets\") : path.join(__dirname, \"assets\");\r\n"]}
1
+ {"version":3,"file":"Constants.js","sourceRoot":"","sources":["../../../src/presentation-backend/Constants.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2CAA6B;AAE7B;;;GAGG;AACH,uBAAuB;AACV,QAAA,gCAAgC,GAAG,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,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/** @packageDocumentation\r\n * @module Core\r\n */\r\n\r\nimport * as path from \"path\";\r\n\r\n/**\r\n * Path to presentation-backend assets root directory.\r\n * @internal\r\n */\r\n// istanbul ignore next\r\nexport const PRESENTATION_BACKEND_ASSETS_ROOT = (-1 !== __dirname.indexOf(\"presentation-backend\")) ? path.join(__dirname, \"../assets\") : path.join(__dirname, \"assets\");\r\n"]}
@@ -1,12 +1,12 @@
1
- /** @packageDocumentation
2
- * @module Core
3
- */
4
- import { IModelDb } from "@itwin/core-backend";
5
- import { Content, ElementProperties } from "@itwin/presentation-common";
6
- /** @internal */
7
- export declare const buildElementsProperties: (content: Content | undefined) => ElementProperties[];
8
- /** @internal */
9
- export declare function getElementsCount(db: IModelDb, classNames?: string[]): number;
10
- /** @internal */
11
- export declare function iterateElementIds(db: IModelDb, classNames?: string[], limit?: number): Generator<Map<string, string[]>, void, unknown>;
1
+ /** @packageDocumentation
2
+ * @module Core
3
+ */
4
+ import { IModelDb } from "@itwin/core-backend";
5
+ import { Content, ElementProperties } from "@itwin/presentation-common";
6
+ /** @internal */
7
+ export declare const buildElementsProperties: (content: Content | undefined) => ElementProperties[];
8
+ /** @internal */
9
+ export declare function getElementsCount(db: IModelDb, classNames?: string[]): number;
10
+ /** @internal */
11
+ export declare function iterateElementIds(db: IModelDb, classNames?: string[], limit?: number): Generator<Map<string, string[]>, void, unknown>;
12
12
  //# sourceMappingURL=ElementPropertiesHelper.d.ts.map