@itwin/presentation-frontend 4.0.0-dev.7 → 4.0.0-dev.72

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 (113) hide show
  1. package/CHANGELOG.md +45 -1
  2. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
  3. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js +47 -47
  4. package/lib/cjs/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
  5. package/lib/cjs/presentation-frontend/Diagnostics.d.ts +14 -14
  6. package/lib/cjs/presentation-frontend/Diagnostics.js +61 -61
  7. package/lib/cjs/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
  8. package/lib/cjs/presentation-frontend/FrontendLoggerCategory.js +20 -20
  9. package/lib/cjs/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
  10. package/lib/cjs/presentation-frontend/IpcRequestsHandler.js +41 -41
  11. package/lib/cjs/presentation-frontend/LocalizationHelper.d.ts +10 -10
  12. package/lib/cjs/presentation-frontend/LocalizationHelper.js +31 -31
  13. package/lib/cjs/presentation-frontend/LocalizationHelper.js.map +1 -1
  14. package/lib/cjs/presentation-frontend/Presentation.d.ts +73 -75
  15. package/lib/cjs/presentation-frontend/Presentation.d.ts.map +1 -1
  16. package/lib/cjs/presentation-frontend/Presentation.js +159 -162
  17. package/lib/cjs/presentation-frontend/Presentation.js.map +1 -1
  18. package/lib/cjs/presentation-frontend/PresentationManager.d.ts +205 -186
  19. package/lib/cjs/presentation-frontend/PresentationManager.d.ts.map +1 -1
  20. package/lib/cjs/presentation-frontend/PresentationManager.js +438 -436
  21. package/lib/cjs/presentation-frontend/PresentationManager.js.map +1 -1
  22. package/lib/cjs/presentation-frontend/RulesetManager.d.ts +63 -63
  23. package/lib/cjs/presentation-frontend/RulesetManager.js +85 -85
  24. package/lib/cjs/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
  25. package/lib/cjs/presentation-frontend/RulesetVariablesManager.js +195 -195
  26. package/lib/cjs/presentation-frontend/RulesetVariablesManager.js.map +1 -1
  27. package/lib/cjs/presentation-frontend/StateTracker.d.ts +38 -38
  28. package/lib/cjs/presentation-frontend/StateTracker.js +128 -129
  29. package/lib/cjs/presentation-frontend/StateTracker.js.map +1 -1
  30. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
  31. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts.map +1 -1
  32. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +519 -518
  33. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
  34. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
  35. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +290 -293
  36. package/lib/cjs/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
  37. package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
  38. package/lib/cjs/presentation-frontend/selection/HiliteSetProvider.js +97 -97
  39. package/lib/cjs/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
  40. package/lib/cjs/presentation-frontend/selection/ISelectionProvider.js +9 -9
  41. package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
  42. package/lib/cjs/presentation-frontend/selection/SelectionChangeEvent.js +33 -33
  43. package/lib/cjs/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
  44. package/lib/cjs/presentation-frontend/selection/SelectionHandler.js +108 -108
  45. package/lib/cjs/presentation-frontend/selection/SelectionHelper.d.ts +17 -14
  46. package/lib/cjs/presentation-frontend/selection/SelectionHelper.d.ts.map +1 -1
  47. package/lib/cjs/presentation-frontend/selection/SelectionHelper.js +40 -37
  48. package/lib/cjs/presentation-frontend/selection/SelectionHelper.js.map +1 -1
  49. package/lib/cjs/presentation-frontend/selection/SelectionManager.d.ts +139 -139
  50. package/lib/cjs/presentation-frontend/selection/SelectionManager.js +414 -414
  51. package/lib/cjs/presentation-frontend/selection/SelectionManager.js.map +1 -1
  52. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
  53. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js +91 -91
  54. package/lib/cjs/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
  55. package/lib/cjs/presentation-frontend.d.ts +34 -34
  56. package/lib/cjs/presentation-frontend.js +54 -50
  57. package/lib/cjs/presentation-frontend.js.map +1 -1
  58. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.d.ts +29 -29
  59. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js +43 -43
  60. package/lib/esm/presentation-frontend/ConnectivityInformationProvider.js.map +1 -1
  61. package/lib/esm/presentation-frontend/Diagnostics.d.ts +14 -14
  62. package/lib/esm/presentation-frontend/Diagnostics.js +56 -56
  63. package/lib/esm/presentation-frontend/FrontendLoggerCategory.d.ts +12 -12
  64. package/lib/esm/presentation-frontend/FrontendLoggerCategory.js +17 -17
  65. package/lib/esm/presentation-frontend/IpcRequestsHandler.d.ts +10 -10
  66. package/lib/esm/presentation-frontend/IpcRequestsHandler.js +37 -37
  67. package/lib/esm/presentation-frontend/LocalizationHelper.d.ts +10 -10
  68. package/lib/esm/presentation-frontend/LocalizationHelper.js +27 -27
  69. package/lib/esm/presentation-frontend/LocalizationHelper.js.map +1 -1
  70. package/lib/esm/presentation-frontend/Presentation.d.ts +73 -75
  71. package/lib/esm/presentation-frontend/Presentation.d.ts.map +1 -1
  72. package/lib/esm/presentation-frontend/Presentation.js +155 -158
  73. package/lib/esm/presentation-frontend/Presentation.js.map +1 -1
  74. package/lib/esm/presentation-frontend/PresentationManager.d.ts +205 -186
  75. package/lib/esm/presentation-frontend/PresentationManager.d.ts.map +1 -1
  76. package/lib/esm/presentation-frontend/PresentationManager.js +433 -431
  77. package/lib/esm/presentation-frontend/PresentationManager.js.map +1 -1
  78. package/lib/esm/presentation-frontend/RulesetManager.d.ts +63 -63
  79. package/lib/esm/presentation-frontend/RulesetManager.js +81 -81
  80. package/lib/esm/presentation-frontend/RulesetVariablesManager.d.ts +143 -143
  81. package/lib/esm/presentation-frontend/RulesetVariablesManager.js +191 -191
  82. package/lib/esm/presentation-frontend/RulesetVariablesManager.js.map +1 -1
  83. package/lib/esm/presentation-frontend/StateTracker.d.ts +38 -38
  84. package/lib/esm/presentation-frontend/StateTracker.js +124 -125
  85. package/lib/esm/presentation-frontend/StateTracker.js.map +1 -1
  86. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts +132 -132
  87. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.d.ts.map +1 -1
  88. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js +514 -512
  89. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesManager.js.map +1 -1
  90. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.d.ts +111 -111
  91. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js +282 -285
  92. package/lib/esm/presentation-frontend/favorite-properties/FavoritePropertiesStorage.js.map +1 -1
  93. package/lib/esm/presentation-frontend/selection/HiliteSetProvider.d.ts +52 -52
  94. package/lib/esm/presentation-frontend/selection/HiliteSetProvider.js +93 -93
  95. package/lib/esm/presentation-frontend/selection/ISelectionProvider.d.ts +19 -19
  96. package/lib/esm/presentation-frontend/selection/ISelectionProvider.js +8 -8
  97. package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.d.ts +52 -52
  98. package/lib/esm/presentation-frontend/selection/SelectionChangeEvent.js +29 -29
  99. package/lib/esm/presentation-frontend/selection/SelectionHandler.d.ts +103 -103
  100. package/lib/esm/presentation-frontend/selection/SelectionHandler.js +104 -104
  101. package/lib/esm/presentation-frontend/selection/SelectionHelper.d.ts +17 -14
  102. package/lib/esm/presentation-frontend/selection/SelectionHelper.d.ts.map +1 -1
  103. package/lib/esm/presentation-frontend/selection/SelectionHelper.js +36 -33
  104. package/lib/esm/presentation-frontend/selection/SelectionHelper.js.map +1 -1
  105. package/lib/esm/presentation-frontend/selection/SelectionManager.d.ts +139 -139
  106. package/lib/esm/presentation-frontend/selection/SelectionManager.js +409 -409
  107. package/lib/esm/presentation-frontend/selection/SelectionManager.js.map +1 -1
  108. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.d.ts +59 -59
  109. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js +85 -85
  110. package/lib/esm/presentation-frontend/selection/SelectionScopesManager.js.map +1 -1
  111. package/lib/esm/presentation-frontend.d.ts +34 -34
  112. package/lib/esm/presentation-frontend.js +38 -38
  113. package/package.json +20 -20
@@ -1,39 +1,39 @@
1
- /*---------------------------------------------------------------------------------------------
2
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
- * See LICENSE.md in the project root for license terms and full copyright notice.
4
- *--------------------------------------------------------------------------------------------*/
5
- /**
6
- * @module Core
7
- *
8
- * @docs-group-description Core
9
- * Common types used for retrieving presentation data from iModels.
10
- */
11
- export * from "./presentation-frontend/Presentation";
12
- export * from "./presentation-frontend/PresentationManager";
13
- export * from "./presentation-frontend/RulesetManager";
14
- export * from "./presentation-frontend/RulesetVariablesManager";
15
- export * from "./presentation-frontend/favorite-properties/FavoritePropertiesManager";
16
- export * from "./presentation-frontend/favorite-properties/FavoritePropertiesStorage";
17
- export * from "./presentation-frontend/StateTracker";
18
- export * from "./presentation-frontend/Diagnostics";
19
- /**
20
- * @module Logging
21
- *
22
- * @docs-group-description Logging
23
- * Types related to logging in this package.
24
- */
25
- export * from "./presentation-frontend/FrontendLoggerCategory";
26
- /**
27
- * @module UnifiedSelection
28
- *
29
- * @docs-group-description UnifiedSelection
30
- * Types related to [unified selection]($docs/presentation/unified-selection/index.md).
31
- */
32
- export * from "./presentation-frontend/selection/SelectionChangeEvent";
33
- export * from "./presentation-frontend/selection/ISelectionProvider";
34
- export * from "./presentation-frontend/selection/SelectionManager";
35
- export * from "./presentation-frontend/selection/SelectionScopesManager";
36
- export * from "./presentation-frontend/selection/SelectionHandler";
37
- export * from "./presentation-frontend/selection/HiliteSetProvider";
38
- export * from "./presentation-frontend/selection/SelectionHelper";
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
3
+ * See LICENSE.md in the project root for license terms and full copyright notice.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * @module Core
7
+ *
8
+ * @docs-group-description Core
9
+ * Common types used for retrieving presentation data from iModels.
10
+ */
11
+ export * from "./presentation-frontend/Presentation";
12
+ export * from "./presentation-frontend/PresentationManager";
13
+ export * from "./presentation-frontend/RulesetManager";
14
+ export * from "./presentation-frontend/RulesetVariablesManager";
15
+ export * from "./presentation-frontend/favorite-properties/FavoritePropertiesManager";
16
+ export * from "./presentation-frontend/favorite-properties/FavoritePropertiesStorage";
17
+ export * from "./presentation-frontend/StateTracker";
18
+ export * from "./presentation-frontend/Diagnostics";
19
+ /**
20
+ * @module Logging
21
+ *
22
+ * @docs-group-description Logging
23
+ * Types related to logging in this package.
24
+ */
25
+ export * from "./presentation-frontend/FrontendLoggerCategory";
26
+ /**
27
+ * @module UnifiedSelection
28
+ *
29
+ * @docs-group-description UnifiedSelection
30
+ * Types related to [unified selection]($docs/presentation/unified-selection/index.md).
31
+ */
32
+ export * from "./presentation-frontend/selection/SelectionChangeEvent";
33
+ export * from "./presentation-frontend/selection/ISelectionProvider";
34
+ export * from "./presentation-frontend/selection/SelectionManager";
35
+ export * from "./presentation-frontend/selection/SelectionScopesManager";
36
+ export * from "./presentation-frontend/selection/SelectionHandler";
37
+ export * from "./presentation-frontend/selection/HiliteSetProvider";
38
+ export * from "./presentation-frontend/selection/SelectionHelper";
39
39
  //# sourceMappingURL=presentation-frontend.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/presentation-frontend",
3
- "version": "4.0.0-dev.7",
3
+ "version": "4.0.0-dev.72",
4
4
  "description": "Frontend of iModel.js Presentation library",
5
5
  "main": "lib/cjs/presentation-frontend.js",
6
6
  "module": "lib/esm/presentation-frontend.js",
@@ -8,7 +8,8 @@
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/iTwin/itwinjs-core/tree/master/presentation/frontend"
11
+ "url": "https://github.com/iTwin/itwinjs-core.git",
12
+ "directory": "presentation/frontend"
12
13
  },
13
14
  "keywords": [
14
15
  "Bentley",
@@ -22,28 +23,28 @@
22
23
  "url": "http://www.bentley.com"
23
24
  },
24
25
  "peerDependencies": {
25
- "@itwin/core-bentley": "^4.0.0-dev.7",
26
- "@itwin/core-common": "^4.0.0-dev.7",
27
- "@itwin/core-frontend": "^4.0.0-dev.7",
28
- "@itwin/core-quantity": "^4.0.0-dev.7",
29
- "@itwin/presentation-common": "^4.0.0-dev.7"
26
+ "@itwin/core-bentley": "^4.0.0-dev.72",
27
+ "@itwin/core-common": "^4.0.0-dev.72",
28
+ "@itwin/core-frontend": "^4.0.0-dev.72",
29
+ "@itwin/core-quantity": "^4.0.0-dev.72",
30
+ "@itwin/presentation-common": "^4.0.0-dev.72"
30
31
  },
31
32
  "devDependencies": {
32
- "@itwin/build-tools": "4.0.0-dev.7",
33
- "@itwin/core-bentley": "4.0.0-dev.7",
34
- "@itwin/core-common": "4.0.0-dev.7",
35
- "@itwin/core-frontend": "4.0.0-dev.7",
36
- "@itwin/core-i18n": "4.0.0-dev.7",
37
- "@itwin/core-quantity": "4.0.0-dev.7",
38
- "@itwin/eslint-plugin": "4.0.0-dev.7",
39
- "@itwin/presentation-common": "4.0.0-dev.7",
33
+ "@itwin/build-tools": "4.0.0-dev.72",
34
+ "@itwin/core-bentley": "4.0.0-dev.72",
35
+ "@itwin/core-common": "4.0.0-dev.72",
36
+ "@itwin/core-frontend": "4.0.0-dev.72",
37
+ "@itwin/core-i18n": "4.0.0-dev.72",
38
+ "@itwin/core-quantity": "4.0.0-dev.72",
39
+ "@itwin/eslint-plugin": "^4.0.0-dev.33",
40
+ "@itwin/presentation-common": "4.0.0-dev.72",
40
41
  "@types/chai": "4.3.1",
41
42
  "@types/chai-as-promised": "^7",
42
43
  "@types/chai-jest-snapshot": "^1.3.0",
43
44
  "@types/deep-equal": "^1",
44
45
  "@types/faker": "^4.1.0",
45
46
  "@types/mocha": "^8.2.2",
46
- "@types/node": "18.11.5",
47
+ "@types/node": "^18.11.5",
47
48
  "@types/sinon": "^9.0.0",
48
49
  "@types/sinon-chai": "^3.2.0",
49
50
  "chai": "^4.1.2",
@@ -52,7 +53,7 @@
52
53
  "cpx2": "^3.0.0",
53
54
  "cross-env": "^5.1.4",
54
55
  "deep-equal": "^1",
55
- "eslint": "^7.11.0",
56
+ "eslint": "^8.36.0",
56
57
  "faker": "^4.1.0",
57
58
  "jsdom": "^19.0.0",
58
59
  "jsdom-global": "3.0.2",
@@ -63,7 +64,7 @@
63
64
  "sinon-chai": "^3.2.0",
64
65
  "source-map-support": "^0.5.6",
65
66
  "typemoq": "^2.1.0",
66
- "typescript": "~4.4.0"
67
+ "typescript": "~5.0.2"
67
68
  },
68
69
  "nyc": {
69
70
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
@@ -75,8 +76,7 @@
75
76
  "extends": "plugin:@itwin/itwinjs-recommended"
76
77
  },
77
78
  "scripts": {
78
- "build": "npm run -s build:cjs",
79
- "build:ci": "npm run -s build && npm run -s build:esm",
79
+ "build": "npm run -s build:cjs && npm run -s build:esm",
80
80
  "build:cjs": "npm run -s copy:cjs && tsc -p tsconfig.cjs.json",
81
81
  "build:esm": "npm run -s copy:esm && tsc -p tsconfig.esm.json",
82
82
  "copy:cjs": "cpx \"./src/**/*.json\" ./lib/cjs",