@pilotdev/pilot-web-sdk 26.8.0 → 26.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. package/.eslintrc.json +31 -0
  2. package/extensions.config.schema.json +132 -171
  3. package/ng-package.json +10 -0
  4. package/package.json +4 -17
  5. package/src/lib/base/disposable.ts +14 -0
  6. package/{lib/base/index.d.ts → src/lib/base/index.ts} +2 -2
  7. package/src/lib/base/initializable.ts +16 -0
  8. package/src/lib/commands/command-builder.ts +19 -0
  9. package/src/lib/commands/index.ts +1 -0
  10. package/src/lib/contexts/bim-element-panel-context.ts +22 -0
  11. package/src/lib/contexts/bim-right-panel-context.ts +22 -0
  12. package/src/lib/contexts/context.ts +38 -0
  13. package/src/lib/contexts/dialog-context.ts +10 -0
  14. package/src/lib/contexts/document-annotations-list-context.ts +21 -0
  15. package/{lib/contexts/index.d.ts → src/lib/contexts/index.ts} +1 -1
  16. package/src/lib/contexts/object-card-context.ts +81 -0
  17. package/src/lib/contexts/page-context.ts +1 -0
  18. package/src/lib/contexts/render-context.ts +28 -0
  19. package/src/lib/contexts/settings-feature-context.ts +26 -0
  20. package/src/lib/data/access.ts +40 -0
  21. package/src/lib/data/annotations.ts +160 -0
  22. package/src/lib/data/attribute.ts +33 -0
  23. package/src/lib/data/bim-features/bim-compare-diff.ts +16 -0
  24. package/src/lib/data/bim-features/bim-search-set.ts +16 -0
  25. package/src/lib/data/cades-type.ts +11 -0
  26. package/src/lib/data/certificate.ts +34 -0
  27. package/src/lib/data/data-object.ts +83 -0
  28. package/src/lib/data/expected-error.ts +10 -0
  29. package/src/lib/data/file.ts +33 -0
  30. package/src/lib/data/files-snapshot.ts +9 -0
  31. package/src/lib/data/organisation-unit.ts +22 -0
  32. package/src/lib/data/person.ts +17 -0
  33. package/src/lib/data/relation.ts +9 -0
  34. package/{lib/data/signature-custom-state.d.ts → src/lib/data/signature-custom-state.ts} +4 -4
  35. package/{lib/data/signature-verification-result.d.ts → src/lib/data/signature-verification-result.ts} +13 -9
  36. package/src/lib/data/signature-verification-status.ts +10 -0
  37. package/src/lib/data/subscription-type.ts +5 -0
  38. package/src/lib/data/theme.ts +9 -0
  39. package/src/lib/data/user-state-machine.ts +11 -0
  40. package/src/lib/data/user-state.ts +21 -0
  41. package/src/lib/icrypto-provider.ts +106 -0
  42. package/src/lib/idata.plugin.ts +10 -0
  43. package/src/lib/injectable/bim-features/bim-compare-diff-service.ts +5 -0
  44. package/{lib/injectable/bim-features/bim-features.d.ts → src/lib/injectable/bim-features/bim-features.ts} +8 -6
  45. package/src/lib/injectable/bim-features/bim-search-set-service.ts +44 -0
  46. package/{lib/injectable/bim-features/index.d.ts → src/lib/injectable/bim-features/index.ts} +3 -3
  47. package/{lib/injectable/command-builder-provider.d.ts → src/lib/injectable/command-builder-provider.ts} +7 -6
  48. package/{lib/injectable/dialog-service.d.ts → src/lib/injectable/dialog-service.ts} +2 -1
  49. package/src/lib/injectable/injection-source.ts +66 -0
  50. package/src/lib/injectable/ipersonal-settings.ts +53 -0
  51. package/{lib/injectable/modifier-provider.d.ts → src/lib/injectable/modifier-provider.ts} +6 -5
  52. package/src/lib/injectable/objects-repository.ts +88 -0
  53. package/src/lib/injectable/progress-service.ts +20 -0
  54. package/src/lib/injectable/render-context-provider.ts +11 -0
  55. package/src/lib/injectable/repository-events.ts +33 -0
  56. package/{lib/injectable/theme-service.d.ts → src/lib/injectable/theme-service.ts} +4 -3
  57. package/src/lib/menu/checkable-menu.builder.ts +15 -0
  58. package/{lib/menu/index.d.ts → src/lib/menu/index.ts} +2 -1
  59. package/src/lib/menu/menu-item.builder.ts +45 -0
  60. package/src/lib/menu/menu.builder.ts +79 -0
  61. package/src/lib/menu/menu.ts +26 -0
  62. package/src/lib/modifier/attribute-modifier.ts +9 -0
  63. package/{lib/modifier/index.d.ts → src/lib/modifier/index.ts} +1 -1
  64. package/src/lib/modifier/modifier.ts +31 -0
  65. package/src/lib/modifier/object-builder.ts +143 -0
  66. package/src/lib/modifier/signature-modifier.ts +99 -0
  67. package/src/lib/object-card/attribute-value-changed-event-args.ts +25 -0
  68. package/{lib/object-card/index.d.ts → src/lib/object-card/index.ts} +2 -2
  69. package/src/lib/object-card/object-card-handler.ts +36 -0
  70. package/src/lib/openspace/openspace-view.ts +32 -0
  71. package/{lib/page-navigation/index.d.ts → src/lib/page-navigation/index.ts} +4 -4
  72. package/src/lib/page-navigation/page-navigation-section-element.builder.ts +45 -0
  73. package/src/lib/page-navigation/page-navigation-section.builder.ts +53 -0
  74. package/src/lib/page-navigation/page-navigation.builder.ts +45 -0
  75. package/src/lib/page-navigation/page-navigation.ts +17 -0
  76. package/src/lib/personal-settings/isettings-feature.ts +43 -0
  77. package/src/lib/personal-settings/isettings-value-provider.ts +28 -0
  78. package/src/lib/personal-settings/system-settings-keys.ts +101 -0
  79. package/src/lib/tabs/tab-item.builder.ts +37 -0
  80. package/src/lib/tabs/tabs.builder.ts +45 -0
  81. package/src/lib/tabs/tabs.ts +17 -0
  82. package/{lib/toolbar/index.d.ts → src/lib/toolbar/index.ts} +2 -1
  83. package/src/lib/toolbar/toolbar-item-submenu.handler.ts +12 -0
  84. package/src/lib/toolbar/toolbar-item.builder.ts +45 -0
  85. package/src/lib/toolbar/toolbar-menu-item.builder.ts +16 -0
  86. package/src/lib/toolbar/toolbar-toggle-item.builder.ts +15 -0
  87. package/src/lib/toolbar/toolbar.builder.ts +104 -0
  88. package/src/lib/toolbar/toolbar.ts +33 -0
  89. package/src/lib/tools/attribute-permission.info.ts +54 -0
  90. package/src/lib/tools/guid.ts +63 -0
  91. package/src/lib/tools/index.ts +3 -0
  92. package/src/lib/tools/utils.ts +8 -0
  93. package/{public-api.d.ts → src/public-api.ts} +3 -0
  94. package/src/typegen.ts +149 -0
  95. package/tsconfig.lib.json +15 -0
  96. package/tsconfig.lib.prod.json +10 -0
  97. package/esm2022/lib/base/disposable.mjs +0 -14
  98. package/esm2022/lib/base/index.mjs +0 -3
  99. package/esm2022/lib/base/initializable.mjs +0 -14
  100. package/esm2022/lib/commands/command-builder.mjs +0 -2
  101. package/esm2022/lib/commands/index.mjs +0 -2
  102. package/esm2022/lib/contexts/bim-element-panel-context.mjs +0 -16
  103. package/esm2022/lib/contexts/bim-right-panel-context.mjs +0 -16
  104. package/esm2022/lib/contexts/context.mjs +0 -32
  105. package/esm2022/lib/contexts/dialog-context.mjs +0 -10
  106. package/esm2022/lib/contexts/document-annotations-list-context.mjs +0 -16
  107. package/esm2022/lib/contexts/index.mjs +0 -10
  108. package/esm2022/lib/contexts/object-card-context.mjs +0 -63
  109. package/esm2022/lib/contexts/page-context.mjs +0 -3
  110. package/esm2022/lib/contexts/render-context.mjs +0 -24
  111. package/esm2022/lib/contexts/settings-feature-context.mjs +0 -21
  112. package/esm2022/lib/data/access.mjs +0 -26
  113. package/esm2022/lib/data/annotations.mjs +0 -34
  114. package/esm2022/lib/data/attribute.mjs +0 -17
  115. package/esm2022/lib/data/bim-features/bim-compare-diff.mjs +0 -9
  116. package/esm2022/lib/data/bim-features/bim-search-set.mjs +0 -2
  117. package/esm2022/lib/data/bim-features/index.mjs +0 -3
  118. package/esm2022/lib/data/cades-type.mjs +0 -13
  119. package/esm2022/lib/data/certificate.mjs +0 -2
  120. package/esm2022/lib/data/data-object.mjs +0 -19
  121. package/esm2022/lib/data/expected-error.mjs +0 -9
  122. package/esm2022/lib/data/file.mjs +0 -2
  123. package/esm2022/lib/data/files-snapshot.mjs +0 -2
  124. package/esm2022/lib/data/index.mjs +0 -21
  125. package/esm2022/lib/data/organisation-unit.mjs +0 -7
  126. package/esm2022/lib/data/person.mjs +0 -2
  127. package/esm2022/lib/data/relation.mjs +0 -2
  128. package/esm2022/lib/data/signature-custom-state.mjs +0 -2
  129. package/esm2022/lib/data/signature-verification-result.mjs +0 -2
  130. package/esm2022/lib/data/signature-verification-status.mjs +0 -11
  131. package/esm2022/lib/data/subscription-type.mjs +0 -6
  132. package/esm2022/lib/data/theme.mjs +0 -6
  133. package/esm2022/lib/data/user-state-machine.mjs +0 -2
  134. package/esm2022/lib/data/user-state.mjs +0 -12
  135. package/esm2022/lib/icrypto-provider.mjs +0 -96
  136. package/esm2022/lib/idata.plugin.mjs +0 -11
  137. package/esm2022/lib/injectable/bim-features/bim-compare-diff-service.mjs +0 -2
  138. package/esm2022/lib/injectable/bim-features/bim-features.mjs +0 -2
  139. package/esm2022/lib/injectable/bim-features/bim-search-set-service.mjs +0 -2
  140. package/esm2022/lib/injectable/bim-features/index.mjs +0 -4
  141. package/esm2022/lib/injectable/command-builder-provider.mjs +0 -2
  142. package/esm2022/lib/injectable/dialog-service.mjs +0 -2
  143. package/esm2022/lib/injectable/index.mjs +0 -12
  144. package/esm2022/lib/injectable/injection-source.mjs +0 -55
  145. package/esm2022/lib/injectable/ipersonal-settings.mjs +0 -2
  146. package/esm2022/lib/injectable/modifier-provider.mjs +0 -2
  147. package/esm2022/lib/injectable/objects-repository.mjs +0 -2
  148. package/esm2022/lib/injectable/progress-service.mjs +0 -8
  149. package/esm2022/lib/injectable/render-context-provider.mjs +0 -2
  150. package/esm2022/lib/injectable/repository-events.mjs +0 -2
  151. package/esm2022/lib/injectable/theme-service.mjs +0 -2
  152. package/esm2022/lib/menu/checkable-menu.builder.mjs +0 -14
  153. package/esm2022/lib/menu/index.mjs +0 -5
  154. package/esm2022/lib/menu/menu-item.builder.mjs +0 -39
  155. package/esm2022/lib/menu/menu.builder.mjs +0 -68
  156. package/esm2022/lib/menu/menu.mjs +0 -23
  157. package/esm2022/lib/modifier/attribute-modifier.mjs +0 -2
  158. package/esm2022/lib/modifier/index.mjs +0 -5
  159. package/esm2022/lib/modifier/modifier.mjs +0 -2
  160. package/esm2022/lib/modifier/object-builder.mjs +0 -2
  161. package/esm2022/lib/modifier/signature-modifier.mjs +0 -2
  162. package/esm2022/lib/object-card/attribute-value-changed-event-args.mjs +0 -20
  163. package/esm2022/lib/object-card/index.mjs +0 -3
  164. package/esm2022/lib/object-card/object-card-handler.mjs +0 -30
  165. package/esm2022/lib/openspace/index.mjs +0 -2
  166. package/esm2022/lib/openspace/openspace-view.mjs +0 -29
  167. package/esm2022/lib/page-navigation/index.mjs +0 -5
  168. package/esm2022/lib/page-navigation/page-navigation-section-element.builder.mjs +0 -42
  169. package/esm2022/lib/page-navigation/page-navigation-section.builder.mjs +0 -47
  170. package/esm2022/lib/page-navigation/page-navigation.builder.mjs +0 -40
  171. package/esm2022/lib/page-navigation/page-navigation.mjs +0 -15
  172. package/esm2022/lib/personal-settings/index.mjs +0 -4
  173. package/esm2022/lib/personal-settings/isettings-feature.mjs +0 -42
  174. package/esm2022/lib/personal-settings/isettings-value-provider.mjs +0 -27
  175. package/esm2022/lib/personal-settings/system-settings-keys.mjs +0 -83
  176. package/esm2022/lib/tabs/index.mjs +0 -4
  177. package/esm2022/lib/tabs/tab-item.builder.mjs +0 -35
  178. package/esm2022/lib/tabs/tabs.builder.mjs +0 -40
  179. package/esm2022/lib/tabs/tabs.mjs +0 -15
  180. package/esm2022/lib/toolbar/index.mjs +0 -7
  181. package/esm2022/lib/toolbar/toolbar-item-submenu.handler.mjs +0 -11
  182. package/esm2022/lib/toolbar/toolbar-item.builder.mjs +0 -41
  183. package/esm2022/lib/toolbar/toolbar-menu-item.builder.mjs +0 -15
  184. package/esm2022/lib/toolbar/toolbar-toggle-item.builder.mjs +0 -14
  185. package/esm2022/lib/toolbar/toolbar.builder.mjs +0 -88
  186. package/esm2022/lib/toolbar/toolbar.mjs +0 -28
  187. package/esm2022/lib/tools/attribute-permission.info.mjs +0 -45
  188. package/esm2022/lib/tools/guid.mjs +0 -53
  189. package/esm2022/lib/tools/index.mjs +0 -4
  190. package/esm2022/lib/tools/utils.mjs +0 -8
  191. package/esm2022/pilotdev-pilot-web-sdk.mjs +0 -5
  192. package/esm2022/public-api.mjs +0 -20
  193. package/fesm2022/pilotdev-pilot-web-sdk.mjs +0 -1487
  194. package/fesm2022/pilotdev-pilot-web-sdk.mjs.map +0 -1
  195. package/index.d.ts +0 -5
  196. package/lib/base/disposable.d.ts +0 -7
  197. package/lib/base/initializable.d.ts +0 -8
  198. package/lib/commands/command-builder.d.ts +0 -15
  199. package/lib/commands/index.d.ts +0 -1
  200. package/lib/contexts/bim-element-panel-context.d.ts +0 -8
  201. package/lib/contexts/bim-right-panel-context.d.ts +0 -8
  202. package/lib/contexts/context.d.ts +0 -22
  203. package/lib/contexts/dialog-context.d.ts +0 -5
  204. package/lib/contexts/document-annotations-list-context.d.ts +0 -12
  205. package/lib/contexts/object-card-context.d.ts +0 -41
  206. package/lib/contexts/page-context.d.ts +0 -2
  207. package/lib/contexts/render-context.d.ts +0 -17
  208. package/lib/contexts/settings-feature-context.d.ts +0 -11
  209. package/lib/data/access.d.ts +0 -35
  210. package/lib/data/annotations.d.ts +0 -113
  211. package/lib/data/attribute.d.ts +0 -30
  212. package/lib/data/bim-features/bim-compare-diff.d.ts +0 -15
  213. package/lib/data/bim-features/bim-search-set.d.ts +0 -13
  214. package/lib/data/cades-type.d.ts +0 -11
  215. package/lib/data/certificate.d.ts +0 -29
  216. package/lib/data/data-object.d.ts +0 -77
  217. package/lib/data/expected-error.d.ts +0 -5
  218. package/lib/data/file.d.ts +0 -30
  219. package/lib/data/files-snapshot.d.ts +0 -8
  220. package/lib/data/organisation-unit.d.ts +0 -20
  221. package/lib/data/person.d.ts +0 -17
  222. package/lib/data/relation.d.ts +0 -8
  223. package/lib/data/signature-verification-status.d.ts +0 -9
  224. package/lib/data/subscription-type.d.ts +0 -4
  225. package/lib/data/theme.d.ts +0 -7
  226. package/lib/data/user-state-machine.d.ts +0 -10
  227. package/lib/data/user-state.d.ts +0 -20
  228. package/lib/icrypto-provider.d.ts +0 -82
  229. package/lib/idata.plugin.d.ts +0 -6
  230. package/lib/injectable/bim-features/bim-compare-diff-service.d.ts +0 -4
  231. package/lib/injectable/bim-features/bim-search-set-service.d.ts +0 -39
  232. package/lib/injectable/injection-source.d.ts +0 -26
  233. package/lib/injectable/ipersonal-settings.d.ts +0 -48
  234. package/lib/injectable/objects-repository.d.ts +0 -87
  235. package/lib/injectable/progress-service.d.ts +0 -18
  236. package/lib/injectable/render-context-provider.d.ts +0 -10
  237. package/lib/injectable/repository-events.d.ts +0 -31
  238. package/lib/menu/checkable-menu.builder.d.ts +0 -11
  239. package/lib/menu/menu-item.builder.d.ts +0 -27
  240. package/lib/menu/menu.builder.d.ts +0 -49
  241. package/lib/menu/menu.d.ts +0 -20
  242. package/lib/modifier/attribute-modifier.d.ts +0 -9
  243. package/lib/modifier/modifier.d.ts +0 -30
  244. package/lib/modifier/object-builder.d.ts +0 -140
  245. package/lib/modifier/signature-modifier.d.ts +0 -87
  246. package/lib/object-card/attribute-value-changed-event-args.d.ts +0 -10
  247. package/lib/object-card/object-card-handler.d.ts +0 -25
  248. package/lib/openspace/openspace-view.d.ts +0 -20
  249. package/lib/page-navigation/page-navigation-section-element.builder.d.ts +0 -29
  250. package/lib/page-navigation/page-navigation-section.builder.d.ts +0 -33
  251. package/lib/page-navigation/page-navigation.builder.d.ts +0 -28
  252. package/lib/page-navigation/page-navigation.d.ts +0 -9
  253. package/lib/personal-settings/isettings-feature.d.ts +0 -31
  254. package/lib/personal-settings/isettings-value-provider.d.ts +0 -17
  255. package/lib/personal-settings/system-settings-keys.d.ts +0 -82
  256. package/lib/tabs/tab-item.builder.d.ts +0 -24
  257. package/lib/tabs/tabs.builder.d.ts +0 -28
  258. package/lib/tabs/tabs.d.ts +0 -14
  259. package/lib/toolbar/toolbar-item-submenu.handler.d.ts +0 -9
  260. package/lib/toolbar/toolbar-item.builder.d.ts +0 -28
  261. package/lib/toolbar/toolbar-menu-item.builder.d.ts +0 -13
  262. package/lib/toolbar/toolbar-toggle-item.builder.d.ts +0 -11
  263. package/lib/toolbar/toolbar.builder.d.ts +0 -65
  264. package/lib/toolbar/toolbar.d.ts +0 -21
  265. package/lib/tools/attribute-permission.info.d.ts +0 -9
  266. package/lib/tools/guid.d.ts +0 -7
  267. package/lib/tools/index.d.ts +0 -3
  268. package/lib/tools/utils.d.ts +0 -3
  269. /package/{lib/data/bim-features/index.d.ts → src/lib/data/bim-features/index.ts} +0 -0
  270. /package/{lib/data/index.d.ts → src/lib/data/index.ts} +0 -0
  271. /package/{lib/injectable/index.d.ts → src/lib/injectable/index.ts} +0 -0
  272. /package/{lib/openspace/index.d.ts → src/lib/openspace/index.ts} +0 -0
  273. /package/{lib/personal-settings/index.d.ts → src/lib/personal-settings/index.ts} +0 -0
  274. /package/{lib/tabs/index.d.ts → src/lib/tabs/index.ts} +0 -0
@@ -1,1487 +0,0 @@
1
- import { BehaviorSubject } from 'rxjs';
2
-
3
- class IDisposable {
4
- constructor() {
5
- if (this.constructor == IDisposable) {
6
- throw new Error("Abstract classes can't be instantiated.");
7
- }
8
- }
9
- /**
10
- * The method is called just before class is disposed
11
- */
12
- dispose() {
13
- throw new Error("Method 'dispose()' must be implemented.");
14
- }
15
- }
16
-
17
- class IInitializable {
18
- constructor() {
19
- if (this.constructor == IInitializable) {
20
- throw new Error("Abstract classes can't be instantiated.");
21
- }
22
- }
23
- /**
24
- * The method is called after field injection is complete.
25
- */
26
- initialize(injectionSource) {
27
- throw new Error("Method 'initialize(injectionSource: InjectionSource)' must be implemented.");
28
- }
29
- }
30
-
31
- /**
32
- * @exposedInterface
33
- */
34
- class IDataPlugin {
35
- constructor() {
36
- if (this.constructor == IDataPlugin) {
37
- throw new Error("Abstract classes can't be instantiated.");
38
- }
39
- }
40
- }
41
-
42
- /**
43
- * Represents a cryptographic provider interface for signing, verifying, and retrieving certificates.
44
- * @exposedInterface
45
- */
46
- class ICryptoProvider {
47
- constructor() {
48
- if (this.constructor == ICryptoProvider) {
49
- throw new Error("Abstract classes can't be instantiated.");
50
- }
51
- }
52
- /**
53
- * Signs a file with a digital signature using the provided certificate.
54
- *
55
- * @param documentId The documentId, represented as string.
56
- * @param actualFile The actualFile for additional information, represented as an IFile.
57
- * @param arrayBuffer The file to be signed, represented as an ArrayBuffer.
58
- * @param certificate The digital certificate to use for signing, represented as an ArrayBuffer.
59
- * @param signatureRequestIds An array of IDs for the signature requests.
60
- * @returns An observable that resolves to the digital signature as a string.
61
- */
62
- sign(documentId, actualFile, arrayBuffer, certificate, signatureRequestIds) {
63
- throw new Error("Method 'sign(document: IDataObject, file: ArrayBuffer, certificate: ICertificate, signatureRequestIds: string[])' must be implemented.");
64
- }
65
- /**
66
- * Verifies the digital signature of a file.
67
- *
68
- * @param file - The file data to be verified. This should be the raw binary data of the file.
69
- * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.
70
- * @param signatureRequest - Description of signature's request.
71
- * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.
72
- *
73
- * @example
74
- const fileData = new ArrayBuffer(1024);
75
- const signatureData = new ArrayBuffer(256);
76
- verify(fileData, signatureData, signatureRequest).subscribe(result => {
77
- if (result.verificationStatus === F.Valid) {
78
- console.log("Signature is valid");
79
- } else {
80
- console.log(`Signature is invalid: ${result.error}`);
81
- }
82
- });
83
- */
84
- verify(file, sign, signatureRequest) {
85
- throw new Error("Method 'verify(file: ArrayBuffer, sign: ArrayBuffer, signatureType: SignatureType)' must be implemented.");
86
- }
87
- /**
88
- * Verifies the digital signature that being imported.
89
- *
90
- * @param file - The file data to be verified. This should be the raw binary data of the file.
91
- * @param sign - The digital signature to be verified against the file. This should be the raw binary data of the signature.
92
- * @returns - An observable that emits the result of the verification process. The result will indicate whether the signature is valid, and may include additional information such as error messages.
93
- *
94
- * @example
95
- const fileData = new ArrayBuffer(1024);
96
- const signatureData = new ArrayBuffer(256);
97
- verifyImportedSignature(fileData, signatureData).subscribe(result => {
98
- if (result.verificationStatus === F.Valid) {
99
- console.log("Signature is valid");
100
- } else {
101
- console.log(`Signature is invalid: ${result.error}`);
102
- }
103
- });
104
- */
105
- verifyImportedSignature(file, sign) {
106
- throw new Error("Method 'verifyImportedSignature(file: ArrayBuffer, sign: ArrayBuffer)' must be implemented.");
107
- }
108
- /**
109
- * Retrieves a list of digital certificates.
110
- *
111
- * @returns An observable that resolves to an array of ICertificate objects.
112
- */
113
- getCertificates() {
114
- throw new Error("Method 'getCertificates()' must be implemented.");
115
- }
116
- /** Determines whether the cryptoprovider can process the specified algorithm(s).
117
- *
118
- * @param publicKeyOid public key's oid used to create digital signature.
119
- * @returns {boolean} True if the cryptoprovider can process the algorithm(s), false otherwise.
120
- *
121
- * @example
122
- * // When the client tries to determine if this provider can process algorithm
123
- * const can = canProcessAlgorithms("1.2.840.113549.1.1.1");
124
- */
125
- canProcessAlgorithms(publicKeyOid) {
126
- throw new Error("Method 'canProcessAlgorithms(publicKeyOid: string)' must be implemented.");
127
- }
128
- /** Determines whether the cryptoprovider can process signature. The method is needed when the signature is being imported and the signature algorithm is unknown.
129
- *
130
- * @param signatureFile signature file.
131
- * @returns {boolean} True if the cryptoprovider can process the signature, false otherwise.
132
- */
133
- canProcessSignature(signatureFile) {
134
- throw new Error("Method 'canProcessSignature(signatureFile: ArrayBuffer)' must be implemented.");
135
- }
136
- }
137
-
138
- class InjectionSource {
139
- _modifierProvider;
140
- _objectsRepository;
141
- _renderContextProvider;
142
- _repositoryEvents;
143
- _progressService;
144
- _themeService;
145
- _commandBuilderProvider;
146
- _personalSettings;
147
- _dialogService;
148
- _bimFeatures;
149
- constructor(_modifierProvider, _objectsRepository, _renderContextProvider, _repositoryEvents, _progressService, _themeService, _commandBuilderProvider, _personalSettings, _dialogService, _bimFeatures) {
150
- this._modifierProvider = _modifierProvider;
151
- this._objectsRepository = _objectsRepository;
152
- this._renderContextProvider = _renderContextProvider;
153
- this._repositoryEvents = _repositoryEvents;
154
- this._progressService = _progressService;
155
- this._themeService = _themeService;
156
- this._commandBuilderProvider = _commandBuilderProvider;
157
- this._personalSettings = _personalSettings;
158
- this._dialogService = _dialogService;
159
- this._bimFeatures = _bimFeatures;
160
- }
161
- get modifierProvider() {
162
- return this._modifierProvider;
163
- }
164
- get objectsRepository() {
165
- return this._objectsRepository;
166
- }
167
- get renderContextProvider() {
168
- return this._renderContextProvider;
169
- }
170
- get repositoryEvents() {
171
- return this._repositoryEvents;
172
- }
173
- get progressService() {
174
- return this._progressService;
175
- }
176
- get themeService() {
177
- return this._themeService;
178
- }
179
- get personalSettings() {
180
- return this._personalSettings;
181
- }
182
- get commandBuilderProvider() {
183
- return this._commandBuilderProvider;
184
- }
185
- get dialogService() {
186
- return this._dialogService;
187
- }
188
- get bimFeatures() {
189
- return this._bimFeatures;
190
- }
191
- }
192
-
193
- var ProgressBarMode;
194
- (function (ProgressBarMode) {
195
- ProgressBarMode[ProgressBarMode["Determinate"] = 0] = "Determinate";
196
- ProgressBarMode[ProgressBarMode["Indeterminate"] = 1] = "Indeterminate";
197
- ProgressBarMode[ProgressBarMode["Buffer"] = 2] = "Buffer";
198
- ProgressBarMode[ProgressBarMode["Query"] = 3] = "Query";
199
- })(ProgressBarMode || (ProgressBarMode = {}));
200
-
201
- /**
202
- * Interface that allows to add new items to the toolbar
203
- * @exposedInterface
204
- */
205
- class IToolbar {
206
- constructor() {
207
- if (this.constructor == (IToolbar)) {
208
- throw new Error("Abstract classes can't be instantiated.");
209
- }
210
- }
211
- /**
212
- * The method is called just before the toolbar is created
213
- * @param builder - the toolbar builder object of associated toolbar
214
- * @param context - context
215
- */
216
- build(builder, context) {
217
- throw new Error("Method 'build(builder: IToolbarBuilder, context: TToolbarContext)' must be implemented.");
218
- }
219
- /**
220
- *
221
- * @param name
222
- * @param context
223
- */
224
- onToolbarItemClick(name, context) {
225
- throw new Error("Method 'onToolbarItemClick(name: string, context: TToolbarContext)' must be implemented.");
226
- }
227
- }
228
-
229
- /**
230
- * Represents a toolbar button and enables to set parametres to it
231
- */
232
- class IToolbarButtonItemBuilder {
233
- constructor() {
234
- if (this.constructor == IToolbarButtonItemBuilder) {
235
- throw new Error("Abstract classes can't be instantiated.");
236
- }
237
- }
238
- /**
239
- * Item's name to be displayed
240
- * @param header - value
241
- * @returns instance of IToolbarButtonItemBuilder
242
- */
243
- withHeader(header) {
244
- throw new Error("Method 'withHeader(header: string)' must be implemented.");
245
- }
246
- /**
247
- * Item's icon in SVG format
248
- * @param name - icon name
249
- * @param svg - url icon or base64 string
250
- */
251
- withIcon(name, svg) {
252
- throw new Error("Method 'withIcon(name: string, svg: string)' must be implemented.");
253
- }
254
- /**
255
- * Enabled the item
256
- * @param value - value
257
- */
258
- withIsEnabled(value) {
259
- throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
260
- }
261
- /**
262
- * Item's hint
263
- * @param hint - value
264
- */
265
- withHint(hint) {
266
- throw new Error("Method 'withHint(hint: string)' must be implemented.");
267
- }
268
- }
269
-
270
- class IToolbarItemSubmenuHandler {
271
- /**
272
- * Build a submenu
273
- * @param builder - toolbar builder
274
- * @returns
275
- */
276
- onSubmenuRequested(builder) {
277
- throw new Error("Method 'onSubmenuRequested(builder: IToolbarBuilder)' must be implemented.");
278
- }
279
- }
280
-
281
- /**
282
- * Represents a toolbar menu button and enables to set parametres to it
283
- */
284
- class IToolbarMenuButtonItemBuilder extends IToolbarButtonItemBuilder {
285
- /**
286
- * Build a dropdown menu
287
- * @param itemSubmenuHandler - toolbar submenu handler
288
- * @returns The toolbar button menu builder
289
- */
290
- withMenu(itemSubmenuHandler) {
291
- throw new Error("Method 'withMenu(itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.");
292
- }
293
- }
294
-
295
- /**
296
- * Represents a toolbar toggle button and enables to set parametres to it
297
- */
298
- class IToolbarToggleButtonItemBuilder extends IToolbarButtonItemBuilder {
299
- /**
300
- *
301
- * @param value
302
- */
303
- withIsChecked(value) {
304
- throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
305
- }
306
- }
307
-
308
- class IToolbarBuilder {
309
- constructor() {
310
- if (this.constructor == IToolbarBuilder) {
311
- throw new Error("Abstract classes can't be instantiated.");
312
- }
313
- }
314
- /**
315
- * Adds a new separator to the associated toolbar
316
- * @param index - The index to put the new item at
317
- */
318
- addSeparator(index) {
319
- throw new Error("Method 'addSeparator(index: number)' must be implemented.");
320
- }
321
- /**
322
- * Adds a new button to the associated toolbar
323
- * @param name - Internal item's name
324
- * @param index - The index to put the new item at
325
- */
326
- addButtonItem(name, index) {
327
- throw new Error("Method 'addButtonItem(name: string, index: number)' must be implemented.");
328
- }
329
- /**
330
- * Adds a new menu button to the associated toolbar
331
- * @param name - Internal item's name
332
- * @param index - The index to put the new item at
333
- */
334
- addMenuButtonItem(name, index) {
335
- throw new Error("Method 'addMenuButtonItem(name: string, index: number)' must be implemented.");
336
- }
337
- /**
338
- * Adds a new toggle button to the associated toolbar
339
- * @param name - Internal item's name
340
- * @param index - The index to put the new item at
341
- */
342
- addToggleButtonItem(name, index) {
343
- throw new Error("Method 'addToggleButtonItem(name: string, index: number)' must be implemented.");
344
- }
345
- /**
346
- * Replaces the item from the associated toolbar on button
347
- * @param name - The name of toolbar button to replace
348
- */
349
- replaceButtonItem(name) {
350
- throw new Error("Method 'replaceButtonItem(name: string)' must be implemented.");
351
- }
352
- /**
353
- * Replace the item from the associated toolbar on menu button
354
- * @param name - The name of toolbar menu button to replace
355
- */
356
- replaceMenuButtonItem(name) {
357
- throw new Error("Method 'replaceMenuButtonItem(name: string)' must be implemented.");
358
- }
359
- /**
360
- * Enables to set parametres to menu button item submenu
361
- * @param name - Item's internal name
362
- * @param itemSubmenuHandler - The toolbar button menu builder
363
- */
364
- handleMenuButtonItemSubmenu(name, itemSubmenuHandler) {
365
- throw new Error("Method 'handleMenuButtonItemSubmenu(name: string, itemSubmenuHandler: IToolbarItemSubmenuHandler)' must be implemented.");
366
- }
367
- /**
368
- * Replaces the item from the associated toolbar on toggle button
369
- * @param name - The name of toolbar toggle button to replace
370
- */
371
- replaceToggleButtonItem(name) {
372
- throw new Error("Method 'replaceToggleButtonItem(name: string)' must be implemented.");
373
- }
374
- /**
375
- * Gets the list of existing item names of associated toolbar
376
- * @returns - Existing toolbar item names
377
- */
378
- get itemNames() {
379
- throw new Error("Getter 'itemNames()' must be implemented.");
380
- }
381
- /**
382
- * Gets count of toolbar items
383
- */
384
- get count() {
385
- throw new Error("Getter 'count()' must be implemented.");
386
- }
387
- /**
388
- * Removes specified item
389
- * @param itemName - Item's internal name
390
- */
391
- removeItem(itemName) {
392
- throw new Error("Method 'removeItem(name: string)' must be implemented.");
393
- }
394
- }
395
-
396
- class AttributeValueChangedEventArgs {
397
- _oldValue;
398
- _newValue;
399
- _context;
400
- constructor(oldValue, newValue, context) {
401
- this._oldValue = oldValue;
402
- this._newValue = newValue;
403
- this._context = context;
404
- }
405
- get oldValue() {
406
- return this._oldValue;
407
- }
408
- get newValue() {
409
- return this._newValue;
410
- }
411
- get context() {
412
- return this._context;
413
- }
414
- }
415
-
416
- /**
417
- * Enables support for handling changing object attributes in object card
418
- * @exposedInterface
419
- */
420
- class IObjectCardHandler {
421
- constructor() {
422
- if (this.constructor == IObjectCardHandler) {
423
- throw new Error("Abstract classes can't be instantiated.");
424
- }
425
- }
426
- /**
427
- * Handle show object card
428
- *
429
- * @param modifier - Attribute modifier
430
- * @param context - Context
431
- */
432
- handle(modifier, context) {
433
- throw new Error("Method 'handle(modifier: IAttributeModifier, context: ObjectCardContext)' must be implemented.");
434
- }
435
- /**
436
- * The method called when attribute value has changed
437
- * @param sender - Changed attribute
438
- * @param args - Attribute change event args
439
- * @param modifier - Attribute modifier
440
- */
441
- onValueChanged(sender, args, modifier) {
442
- throw new Error("Method 'onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier)' must be implemented.");
443
- }
444
- }
445
-
446
- /**
447
- * Class that allows to declare the view for the openspace container
448
- * @exposedInterface
449
- */
450
- class IOpenspaceView {
451
- constructor() {
452
- if (this.constructor == (IOpenspaceView)) {
453
- throw new Error("Abstract classes can't be instantiated.");
454
- }
455
- }
456
- /**
457
- * The method is called to match this View to the corresponding openspace container
458
- *
459
- * Should be identical with corresponding container's `withViewId(id: string)`
460
- * @returns {string}
461
- */
462
- getViewId() {
463
- throw new Error("Method 'getViewId()' must be implemented.");
464
- }
465
- /**
466
- * The method is called just before the openspace container's view is shown
467
- * @param context - context
468
- */
469
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
470
- getView(context) {
471
- throw new Error("Method 'getView(context: TOpenspaceViewContext)' must be implemented.");
472
- }
473
- }
474
-
475
- /**
476
- * Represents a builder for navigation window section's element
477
- */
478
- class IPageNavigationSectionElementBuilder {
479
- constructor() {
480
- if (this.constructor == IPageNavigationSectionElementBuilder) {
481
- throw new Error("Abstract classes can't be instantiated.");
482
- }
483
- }
484
- /**
485
- * Element's title to be displayed
486
- * @param title value
487
- */
488
- withTitle(title) {
489
- throw new Error("Method 'withTitle(title: string)' must be implemented.");
490
- }
491
- /**
492
- * Element's title to be displayed
493
- * @param description value
494
- */
495
- withDescription(description) {
496
- throw new Error("Method 'withDescription(description: string)' must be implemented.");
497
- }
498
- /**
499
- * Element's icon
500
- * @param name Icon name
501
- * @param iconSvg Url of icon or base64 string
502
- */
503
- withIcon(name, iconSvg) {
504
- throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
505
- }
506
- /**
507
- * Element's view id
508
- *
509
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
510
- * @param value - View Id
511
- */
512
- withViewId(value) {
513
- throw new Error("Method 'withViewId(value: string)' must be implemented.");
514
- }
515
- }
516
-
517
- /**
518
- * Represents a builder for the navigation window's section
519
- */
520
- class IPageNavigationSectionBuilder {
521
- constructor() {
522
- if (this.constructor == IPageNavigationSectionBuilder) {
523
- throw new Error("Abstract classes can't be instantiated.");
524
- }
525
- }
526
- /**
527
- * Section's title to be displayed
528
- * @param title value
529
- */
530
- withTitle(title) {
531
- throw new Error("Method 'withTitle(title: string)' must be implemented.");
532
- }
533
- /**
534
- * Gets the list of existing element ids of the section
535
- * @returns Existing element ids
536
- */
537
- get elementIds() {
538
- throw new Error("Getter 'elementIds()' must be implemented.");
539
- }
540
- /**
541
- * Gets count of section's elements
542
- */
543
- get count() {
544
- throw new Error("Getter 'count()' must be implemented.");
545
- }
546
- /**
547
- * Adds a new element to the section
548
- * @param id Element's internal id
549
- * @param index The index to put the new element at
550
- */
551
- addElement(id, index) {
552
- throw new Error("Method 'addElement(id: string, index: number)' must be implemented.");
553
- }
554
- /**
555
- * Replaces the element of the section
556
- * If element does not exist - creates it
557
- * @param id Elements's internal id
558
- */
559
- replaceElement(id) {
560
- throw new Error("Method 'replaceElement(id: string)' must be implemented.");
561
- }
562
- }
563
-
564
- /**
565
- * Represents a builder for navigation window
566
- */
567
- class IPageNavigationBuilder {
568
- constructor() {
569
- if (this.constructor == IPageNavigationBuilder) {
570
- throw new Error("Abstract classes can't be instantiated.");
571
- }
572
- }
573
- /**
574
- * Gets the list of existing section ids of the navigation window
575
- * @returns Existing section ids
576
- */
577
- get sectionIds() {
578
- throw new Error("Getter 'sectionIds()' must be implemented.");
579
- }
580
- /**
581
- * Gets count of navigation window's elements
582
- */
583
- get count() {
584
- throw new Error("Getter 'count()' must be implemented.");
585
- }
586
- /**
587
- * Adds a new section to the navigation window
588
- * @param id Sections's internal id
589
- * @param index The index to put the new section at
590
- */
591
- addSection(id, index) {
592
- throw new Error("Method 'addElement(id: string, index: number)' must be implemented.");
593
- }
594
- /**
595
- * Replaces the section of the navigation window
596
- * If element does not exist - creates it
597
- * @param id Elements's internal id
598
- */
599
- replaceSection(id) {
600
- throw new Error("Method 'replaceElement(id: string)' must be implemented.");
601
- }
602
- }
603
-
604
- /**
605
- * Interface that allows to add new sections and elements to navigation window
606
- * @exposedInterface
607
- */
608
- class IPageNavigation {
609
- constructor() {
610
- if (this.constructor == IPageNavigation) {
611
- throw new Error("Abstract classes can't be instantiated.");
612
- }
613
- }
614
- build(builder) {
615
- throw new Error("Method 'build(builder: IOpenspaceBuilder)' must be implemented.");
616
- }
617
- }
618
-
619
- /**
620
- * Interface that allows to add new items to the tabs
621
- * @exposedInterface
622
- */
623
- class ITabs {
624
- /**
625
- * The method is called just before the tabs are shown
626
- * @param builder The tab group builder object of associated tab group
627
- * @param context Context
628
- */
629
- build(builder, context) {
630
- throw new Error("Method 'build(builder: IMenuBuilder, context: TTabsContext)' must be implemented.");
631
- }
632
- }
633
-
634
- /**
635
- * Represents a builder for tab groups
636
- */
637
- class ITabsBuilder {
638
- constructor() {
639
- if (this.constructor == ITabsBuilder) {
640
- throw new Error("Abstract classes can't be instantiated.");
641
- }
642
- }
643
- /**
644
- * Gets the list of existing items of a tab group
645
- * @returns Existing menu item names
646
- */
647
- get itemNames() {
648
- throw new Error("Getter 'itemNames()' must be implemented.");
649
- }
650
- /**
651
- * Gets count of tab group items
652
- */
653
- get count() {
654
- throw new Error("Getter 'count()' must be implemented.");
655
- }
656
- /**
657
- * Adds a new item to the associated tab group
658
- * @param id Item's internal id
659
- * @param index The index to put the new item at
660
- */
661
- addItem(id, index) {
662
- throw new Error("Method 'addItem(id: string, index: number)' must be implemented.");
663
- }
664
- /**
665
- * Replaces the item for the tab group.
666
- * If Item does not exist - creates it.
667
- * @param id Item's internal id
668
- */
669
- replaceItem(id) {
670
- throw new Error("Method 'replaceItem(id: string)' must be implemented.");
671
- }
672
- }
673
-
674
- /**
675
- * Enables to set parameters to the tab-group's item
676
- */
677
- class ITabItemBuilder {
678
- constructor() {
679
- if (this.constructor == ITabItemBuilder) {
680
- throw new Error("Abstract classes can't be instantiated.");
681
- }
682
- }
683
- /**
684
- * Item's title to be displayed
685
- * @param title value
686
- */
687
- withTitle(title) {
688
- throw new Error("Method 'withTitle(title: string)' must be implemented.");
689
- }
690
- /**
691
- * Item's icon
692
- * @param name Icon name
693
- * @param iconSvg Url of icon or base64 string
694
- */
695
- withIcon(name, iconSvg) {
696
- throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
697
- }
698
- /**
699
- * Item's view id
700
- *
701
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
702
- * @param value - View Id
703
- */
704
- withViewId(value) {
705
- throw new Error("Method 'withViewId(value: string)' must be implemented.");
706
- }
707
- }
708
-
709
- /**
710
- * Interface that allows to add new items to the menu and context menus
711
- * @exposedInterface
712
- */
713
- class IMenu {
714
- /**
715
- * The method is called just before the menu is shown
716
- * @param builder The menu builder object of associated menu
717
- * @param context Context
718
- */
719
- build(builder, context) {
720
- throw new Error("Method 'build(builder: IMenuBuilder, context: TMenuContext)' must be implemented.");
721
- }
722
- /**
723
- *
724
- * @param name
725
- * @param context
726
- */
727
- onMenuItemClick(name, context) {
728
- throw new Error("Method 'onMenuItemClick(name: string, context: TMenuContext)' must be implemented.");
729
- }
730
- }
731
-
732
- /**
733
- * Represents a menu item and enables to set parametres to it
734
- */
735
- class IMenuItemBuilder {
736
- constructor() {
737
- if (this.constructor == IMenuItemBuilder) {
738
- throw new Error("Abstract classes can't be instantiated.");
739
- }
740
- }
741
- /**
742
- * Item's name to be displayed
743
- * @param header value
744
- */
745
- withHeader(header) {
746
- throw new Error("Method 'withHeader(header: string)' must be implemented.");
747
- }
748
- /**
749
- * Item's icon
750
- * @param name Icon name
751
- * @param iconSvg Url of icon or base64 string
752
- */
753
- withIcon(name, iconSvg) {
754
- throw new Error("Method 'withIcon(name: string, iconSvg: string)' must be implemented.");
755
- }
756
- /**
757
- * Enabled the item
758
- * @param value value
759
- */
760
- withIsEnabled(value) {
761
- throw new Error("Method 'withIsEnabled(value: boolean)' must be implemented.");
762
- }
763
- /**
764
- * Item's submenu
765
- */
766
- withSubmenu() {
767
- throw new Error("Method 'withSubmenu()' must be implemented.");
768
- }
769
- }
770
-
771
- /**
772
- *
773
- */
774
- class ICheckableMenuItemBuilder extends IMenuItemBuilder {
775
- /**
776
- *
777
- * @param value
778
- */
779
- withIsChecked(value) {
780
- throw new Error("Method 'withIsChecked(value: boolean)' must be implemented.");
781
- }
782
- }
783
-
784
- /**
785
- * Represents a menu and enables to add new items to it
786
- */
787
- class IMenuBuilder {
788
- constructor() {
789
- if (this.constructor == IMenuBuilder) {
790
- throw new Error("Abstract classes can't be instantiated.");
791
- }
792
- }
793
- /**
794
- * Gets the list of existing items of associated menu or subitems of an item
795
- * @returns Existing menu item names
796
- */
797
- get itemNames() {
798
- throw new Error("Getter 'itemNames()' must be implemented.");
799
- }
800
- /**
801
- * Gets count of menu items
802
- */
803
- get count() {
804
- throw new Error("Getter 'count()' must be implemented.");
805
- }
806
- /**
807
- * Adds a new separator to the associated menu
808
- * @param index The index to put the new item at
809
- */
810
- addSeparator(index) {
811
- throw new Error("Method 'addSeparator(index: number)' must be implemented.");
812
- }
813
- /**
814
- * Adds a new item to the associated menu
815
- * @param name Item's internal name
816
- * @param index The index to put the new item at
817
- */
818
- addItem(name, index) {
819
- throw new Error("Method 'addItem(name: string, index: number)' must be implemented.");
820
- }
821
- /**
822
- * Adds a new checkable item to the associated menu
823
- * @param name Item's internal name
824
- * @param index The index to put the new item at
825
- */
826
- addCheckableItem(name, index) {
827
- throw new Error("Method 'addCheckableItem(name: string, index: number)' must be implemented.");
828
- }
829
- /**
830
- * Replaces the item to the associated menu
831
- * @param name Item's internal name
832
- */
833
- replaceItem(name) {
834
- throw new Error("Method 'replaceItem(name: string)' must be implemented.");
835
- }
836
- /**
837
- * Removes the item with the specified name
838
- * @param name Item's internal name
839
- */
840
- removeItem(name) {
841
- throw new Error("Method 'removeItem(name: string)' must be implemented.");
842
- }
843
- /**
844
- * Gets the item
845
- * @param name Item's internal name
846
- */
847
- getItem(name) {
848
- throw new Error("Method 'getItem(name: string)' must be implemented.");
849
- }
850
- }
851
-
852
- /// <reference types="@pilotdev/pilot-web-3d" />
853
- class BimElementPanelContext {
854
- _modelId;
855
- _viewer;
856
- constructor(modelId, viewer) {
857
- this._modelId = modelId;
858
- this._viewer = viewer;
859
- }
860
- get modelId() {
861
- return this._modelId;
862
- }
863
- get viewer() {
864
- return this._viewer;
865
- }
866
- }
867
-
868
- /// <reference types="@pilotdev/pilot-web-3d" />
869
- class BimRightPanelContext {
870
- _modelId;
871
- _viewer;
872
- constructor(modelId, viewer) {
873
- this._modelId = modelId;
874
- this._viewer = viewer;
875
- }
876
- get modelId() {
877
- return this._modelId;
878
- }
879
- get viewer() {
880
- return this._viewer;
881
- }
882
- }
883
-
884
- /**
885
- * Contex for objects view
886
- */
887
- class ObjectsViewContext {
888
- _selectedObjects;
889
- _shortcuts;
890
- _context;
891
- constructor(selectedObjects, context, shortcuts) {
892
- this._selectedObjects = selectedObjects;
893
- this._context = context;
894
- this._shortcuts = shortcuts ?? [];
895
- }
896
- /**
897
- *
898
- */
899
- get selectedObjects() {
900
- return this._selectedObjects;
901
- }
902
- /**
903
- *
904
- */
905
- get contextObject() {
906
- return this._context;
907
- }
908
- /**
909
- *
910
- */
911
- get shortcuts() {
912
- return this._shortcuts;
913
- }
914
- }
915
-
916
- /**
917
- * Context for document annotations list
918
- */
919
- class DocumentAnnotationsListContext {
920
- _selectedAnnotations;
921
- constructor(selectedAnnotations) {
922
- this._selectedAnnotations = selectedAnnotations;
923
- }
924
- /**
925
- *
926
- */
927
- get selectedAnnotations() {
928
- return this._selectedAnnotations;
929
- }
930
- }
931
-
932
- class ObjectCardContext {
933
- _currentObjectId;
934
- _displayAttributes;
935
- _attributesValues;
936
- _type;
937
- _editedObject;
938
- _parentId;
939
- _isReadOnly;
940
- constructor(currentObjectId, displayAttributes, attributesValues, type, editedObject, parentId, isReadOnly) {
941
- this._currentObjectId = currentObjectId;
942
- this._displayAttributes = displayAttributes;
943
- this._attributesValues = attributesValues;
944
- this._type = type;
945
- this._editedObject = editedObject;
946
- this._parentId = parentId;
947
- this._isReadOnly = isReadOnly;
948
- }
949
- /**
950
- * Current object id for which the card is shown.
951
- *
952
- * It's an existing object id or a generated id that will be assigned to a new object.
953
- */
954
- get currentObjectId() {
955
- return this._currentObjectId;
956
- }
957
- /**
958
- * List of all visible attributes in object's card
959
- */
960
- get displayAttributes() {
961
- return this._displayAttributes;
962
- }
963
- /**
964
- * The set of current attributes values
965
- */
966
- get attributesValues() {
967
- return this._attributesValues;
968
- }
969
- /**
970
- * Type of current object
971
- */
972
- get type() {
973
- return this._type;
974
- }
975
- /**
976
- * Current object the card is shown for. Null if card is shown to create a new object
977
- */
978
- get editedObject() {
979
- return this._editedObject;
980
- }
981
- /**
982
- * ParentId of the current object
983
- */
984
- get parentId() {
985
- return this._parentId;
986
- }
987
- /**
988
- * True if the card is shown in read only mode and not available for modification
989
- */
990
- get isReadOnly() {
991
- return this._isReadOnly;
992
- }
993
- }
994
-
995
- class PageContext {
996
- }
997
-
998
- /**
999
- * Context for document render
1000
- */
1001
- class RenderContext {
1002
- _dataObject;
1003
- _selectedVersion;
1004
- constructor(dataObject, selectedVersion) {
1005
- this._dataObject = dataObject;
1006
- this._selectedVersion = selectedVersion;
1007
- }
1008
- /**
1009
- * Target object
1010
- */
1011
- get dataObject() {
1012
- return this._dataObject;
1013
- }
1014
- /**
1015
- * Selected version time
1016
- */
1017
- get selectedVersion() {
1018
- return this._selectedVersion;
1019
- }
1020
- }
1021
-
1022
- class DialogContext {
1023
- _data;
1024
- constructor(_data) {
1025
- this._data = _data;
1026
- }
1027
- get data() {
1028
- return this._data;
1029
- }
1030
- }
1031
-
1032
- class SettingsFeatureContext {
1033
- _valueProvider;
1034
- _isValidSubject = new BehaviorSubject(true);
1035
- constructor(_valueProvider) {
1036
- this._valueProvider = _valueProvider;
1037
- }
1038
- get valueProvider() {
1039
- return this._valueProvider;
1040
- }
1041
- set isValid(state) {
1042
- this._isValidSubject.next(state);
1043
- }
1044
- get isValid() {
1045
- return this._isValidSubject.value;
1046
- }
1047
- get isValidSubscription() {
1048
- return this._isValidSubject.asObservable();
1049
- }
1050
- }
1051
-
1052
- function objectToMap(objectMap) {
1053
- const map = new Map();
1054
- Object.keys(objectMap).forEach(key => {
1055
- map.set(key, objectMap[key]);
1056
- });
1057
- return map;
1058
- }
1059
-
1060
- class AttributePermissionInfo {
1061
- ATTRIBUTE_NAME_MARKER = '&';
1062
- orgUnits;
1063
- orgUnitAttributes;
1064
- constructor(editableForPositionsSource) {
1065
- this.orgUnits = new Array();
1066
- this.orgUnitAttributes = new Array();
1067
- if (!editableForPositionsSource)
1068
- return;
1069
- editableForPositionsSource.forEach(str => {
1070
- if (str.length > 0 && str[0] === this.ATTRIBUTE_NAME_MARKER) {
1071
- this.orgUnitAttributes.push(str.substring(1));
1072
- }
1073
- else {
1074
- const num = Number(str);
1075
- if (!isNaN(num))
1076
- this.orgUnits.push(num);
1077
- }
1078
- });
1079
- }
1080
- extractAllOrgUnits(obj) {
1081
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1082
- const attrMap = objectToMap(obj.attributes);
1083
- return this.extractAllOrgUnitsByAttributes(attrMap);
1084
- }
1085
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1086
- extractAllOrgUnitsByAttributes(attributes) {
1087
- const result = new Array();
1088
- if (!this.orgUnitAttributes || !attributes)
1089
- return result;
1090
- this.orgUnitAttributes.forEach(permissionAttributeName => {
1091
- if (attributes.has(permissionAttributeName)) {
1092
- const value = attributes.get(permissionAttributeName);
1093
- if (value && Array.isArray(value)) {
1094
- value.forEach(intValue => {
1095
- result.push(intValue);
1096
- });
1097
- }
1098
- }
1099
- });
1100
- return result;
1101
- }
1102
- }
1103
-
1104
- const byteToHex = Array();
1105
- for (let i = 0; i < 256; ++i) {
1106
- byteToHex.push((i + 0x100).toString(16).slice(1));
1107
- }
1108
- class Guid {
1109
- static regex = "(?:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})";
1110
- static EMPTY = "00000000-0000-0000-0000-000000000000";
1111
- static newGuid() {
1112
- if (window.isSecureContext) {
1113
- // If crypto.getRandomValues is available try to use it.
1114
- return window.crypto.randomUUID();
1115
- }
1116
- // Fall back to Math.random if a higher quality random number generator is not available.
1117
- const uuid = new Array(16);
1118
- var d = new Date().getTime();
1119
- for (var i = 0; i < 16; i++) {
1120
- var r = ((d + Math.random() * 256) % 256) | 0;
1121
- d = Math.trunc(d / 256);
1122
- uuid[i] = r;
1123
- }
1124
- // Makes uuid compliant to RFC-4122
1125
- uuid[6] = (uuid[6] & 0x0F) | 0x40; // uuid version
1126
- uuid[8] = (uuid[8] & 0x3F) | 0x80; // uuid variant
1127
- return this.stringify(uuid);
1128
- }
1129
- static isGuid(str) {
1130
- const regex = new RegExp(this.regex);
1131
- return regex.test(str) && str.length === 36;
1132
- }
1133
- static stringify(arr) {
1134
- return (byteToHex[arr[0]] +
1135
- byteToHex[arr[1]] +
1136
- byteToHex[arr[2]] +
1137
- byteToHex[arr[3]] +
1138
- '-' +
1139
- byteToHex[arr[4]] +
1140
- byteToHex[arr[5]] +
1141
- '-' +
1142
- byteToHex[arr[6]] +
1143
- byteToHex[arr[7]] +
1144
- '-' +
1145
- byteToHex[arr[8]] +
1146
- byteToHex[arr[9]] +
1147
- '-' +
1148
- byteToHex[arr[10]] +
1149
- byteToHex[arr[11]] +
1150
- byteToHex[arr[12]] +
1151
- byteToHex[arr[13]] +
1152
- byteToHex[arr[14]] +
1153
- byteToHex[arr[15]]).toLowerCase();
1154
- }
1155
- }
1156
-
1157
- var AccessLevel;
1158
- (function (AccessLevel) {
1159
- AccessLevel[AccessLevel["None"] = 0] = "None";
1160
- AccessLevel[AccessLevel["Create"] = 1] = "Create";
1161
- AccessLevel[AccessLevel["Edit"] = 2] = "Edit";
1162
- AccessLevel[AccessLevel["View"] = 4] = "View";
1163
- AccessLevel[AccessLevel["Freeze"] = 8] = "Freeze";
1164
- AccessLevel[AccessLevel["Agreement"] = 16] = "Agreement";
1165
- AccessLevel[AccessLevel["Share"] = 32] = "Share";
1166
- AccessLevel[AccessLevel["ViewCreate"] = 5] = "ViewCreate";
1167
- AccessLevel[AccessLevel["ViewEdit"] = 7] = "ViewEdit";
1168
- AccessLevel[AccessLevel["ViewEditAgrement"] = 23] = "ViewEditAgrement";
1169
- AccessLevel[AccessLevel["Full"] = 63] = "Full";
1170
- })(AccessLevel || (AccessLevel = {}));
1171
- var AccessType;
1172
- (function (AccessType) {
1173
- AccessType[AccessType["Allow"] = 0] = "Allow";
1174
- AccessType[AccessType["Deny"] = 1] = "Deny";
1175
- })(AccessType || (AccessType = {}));
1176
- var AccessInheritance;
1177
- (function (AccessInheritance) {
1178
- AccessInheritance[AccessInheritance["None"] = 0] = "None";
1179
- AccessInheritance[AccessInheritance["InheritUntilSecret"] = 1] = "InheritUntilSecret";
1180
- AccessInheritance[AccessInheritance["InheritWholeSubtree"] = 2] = "InheritWholeSubtree";
1181
- })(AccessInheritance || (AccessInheritance = {}));
1182
-
1183
- var MarkupLineStyle;
1184
- (function (MarkupLineStyle) {
1185
- MarkupLineStyle[MarkupLineStyle["Solid"] = 0] = "Solid";
1186
- MarkupLineStyle[MarkupLineStyle["Dashed"] = 1] = "Dashed";
1187
- MarkupLineStyle[MarkupLineStyle["Beveled"] = 2] = "Beveled";
1188
- MarkupLineStyle[MarkupLineStyle["Inset"] = 3] = "Inset";
1189
- MarkupLineStyle[MarkupLineStyle["Underline"] = 4] = "Underline";
1190
- })(MarkupLineStyle || (MarkupLineStyle = {}));
1191
- var BorderEffect;
1192
- (function (BorderEffect) {
1193
- BorderEffect[BorderEffect["None"] = 0] = "None";
1194
- BorderEffect[BorderEffect["Cloud"] = 1] = "Cloud";
1195
- })(BorderEffect || (BorderEffect = {}));
1196
- var MarkupTextDecorationKind;
1197
- (function (MarkupTextDecorationKind) {
1198
- MarkupTextDecorationKind[MarkupTextDecorationKind["Highlight"] = 0] = "Highlight";
1199
- MarkupTextDecorationKind[MarkupTextDecorationKind["Underline"] = 1] = "Underline";
1200
- MarkupTextDecorationKind[MarkupTextDecorationKind["Squiggly"] = 2] = "Squiggly";
1201
- MarkupTextDecorationKind[MarkupTextDecorationKind["StrikeOut"] = 3] = "StrikeOut";
1202
- })(MarkupTextDecorationKind || (MarkupTextDecorationKind = {}));
1203
- var MarkupLineEndings;
1204
- (function (MarkupLineEndings) {
1205
- MarkupLineEndings[MarkupLineEndings["None"] = 0] = "None";
1206
- MarkupLineEndings[MarkupLineEndings["Square"] = 1] = "Square";
1207
- MarkupLineEndings[MarkupLineEndings["Circle"] = 2] = "Circle";
1208
- MarkupLineEndings[MarkupLineEndings["Diamond"] = 3] = "Diamond";
1209
- MarkupLineEndings[MarkupLineEndings["OpenArrow"] = 4] = "OpenArrow";
1210
- MarkupLineEndings[MarkupLineEndings["ClosedArrow"] = 5] = "ClosedArrow";
1211
- // Butt = 6,
1212
- // ReverseOpenArrow = 7,
1213
- // ReverseClosedArrow = 8,
1214
- // Slash = 9
1215
- })(MarkupLineEndings || (MarkupLineEndings = {}));
1216
-
1217
- var AttributeType;
1218
- (function (AttributeType) {
1219
- AttributeType[AttributeType["Integer"] = 0] = "Integer";
1220
- AttributeType[AttributeType["Double"] = 1] = "Double";
1221
- AttributeType[AttributeType["DateTime"] = 2] = "DateTime";
1222
- AttributeType[AttributeType["String"] = 3] = "String";
1223
- AttributeType[AttributeType["Decimal"] = 4] = "Decimal";
1224
- AttributeType[AttributeType["Numerator"] = 5] = "Numerator";
1225
- AttributeType[AttributeType["Array"] = 6] = "Array";
1226
- AttributeType[AttributeType["UserState"] = 7] = "UserState";
1227
- AttributeType[AttributeType["OrgUnit"] = 8] = "OrgUnit";
1228
- AttributeType[AttributeType["ElementBook"] = 9] = "ElementBook";
1229
- AttributeType[AttributeType["Inherited"] = 10] = "Inherited";
1230
- AttributeType[AttributeType["Boolean"] = 11] = "Boolean";
1231
- AttributeType[AttributeType["ByteArray"] = 12] = "ByteArray";
1232
- })(AttributeType || (AttributeType = {}));
1233
-
1234
- class ExpectedError extends Error {
1235
- isSilent;
1236
- isExpected = true;
1237
- constructor(message, isSilent = false) {
1238
- super(message);
1239
- this.isSilent = isSilent;
1240
- }
1241
- }
1242
-
1243
- var RelationType;
1244
- (function (RelationType) {
1245
- RelationType[RelationType["SourceFiles"] = 1] = "SourceFiles";
1246
- RelationType[RelationType["TaskInitiatorAttachments"] = 2] = "TaskInitiatorAttachments";
1247
- RelationType[RelationType["TaskExecutorAttachments"] = 3] = "TaskExecutorAttachments";
1248
- RelationType[RelationType["MessageAttachments"] = 4] = "MessageAttachments";
1249
- RelationType[RelationType["Custom"] = 5] = "Custom";
1250
- RelationType[RelationType["TaskAttachments"] = 6] = "TaskAttachments";
1251
- })(RelationType || (RelationType = {}));
1252
- var ObjectState;
1253
- (function (ObjectState) {
1254
- ObjectState[ObjectState["Alive"] = 0] = "Alive";
1255
- ObjectState[ObjectState["InRecycleBin"] = 1] = "InRecycleBin";
1256
- ObjectState[ObjectState["DeletedPermanently"] = 2] = "DeletedPermanently";
1257
- ObjectState[ObjectState["Frozen"] = 3] = "Frozen";
1258
- ObjectState[ObjectState["LockRequested"] = 4] = "LockRequested";
1259
- ObjectState[ObjectState["LockAccepted"] = 5] = "LockAccepted";
1260
- })(ObjectState || (ObjectState = {}));
1261
-
1262
- var OrgUnitKind;
1263
- (function (OrgUnitKind) {
1264
- OrgUnitKind[OrgUnitKind["Department"] = 0] = "Department";
1265
- OrgUnitKind[OrgUnitKind["Position"] = 1] = "Position";
1266
- OrgUnitKind[OrgUnitKind["Group"] = 2] = "Group";
1267
- })(OrgUnitKind || (OrgUnitKind = {}));
1268
-
1269
- var CadesType;
1270
- (function (CadesType) {
1271
- CadesType[CadesType["Unknown"] = 0] = "Unknown";
1272
- CadesType[CadesType["NotCades"] = 1] = "NotCades";
1273
- CadesType[CadesType["CadesBes"] = 2] = "CadesBes";
1274
- CadesType[CadesType["CadesEpes"] = 3] = "CadesEpes";
1275
- CadesType[CadesType["CadesT"] = 4] = "CadesT";
1276
- CadesType[CadesType["CadesC"] = 5] = "CadesC";
1277
- CadesType[CadesType["CadesXLongType1"] = 6] = "CadesXLongType1";
1278
- CadesType[CadesType["CadesXLongType2"] = 7] = "CadesXLongType2";
1279
- CadesType[CadesType["CadesA"] = 8] = "CadesA";
1280
- })(CadesType || (CadesType = {}));
1281
-
1282
- var SignatureVerificationStatus;
1283
- (function (SignatureVerificationStatus) {
1284
- SignatureVerificationStatus[SignatureVerificationStatus["Unknown"] = 0] = "Unknown";
1285
- SignatureVerificationStatus[SignatureVerificationStatus["Valid"] = 1] = "Valid";
1286
- SignatureVerificationStatus[SignatureVerificationStatus["ValidWithWarnings"] = 2] = "ValidWithWarnings";
1287
- SignatureVerificationStatus[SignatureVerificationStatus["CannotBeChecked"] = 3] = "CannotBeChecked";
1288
- SignatureVerificationStatus[SignatureVerificationStatus["Duplicate"] = 4] = "Duplicate";
1289
- SignatureVerificationStatus[SignatureVerificationStatus["Invalid"] = 5] = "Invalid";
1290
- SignatureVerificationStatus[SignatureVerificationStatus["Error"] = 6] = "Error";
1291
- })(SignatureVerificationStatus || (SignatureVerificationStatus = {}));
1292
-
1293
- var SubscriptionType;
1294
- (function (SubscriptionType) {
1295
- SubscriptionType[SubscriptionType["Shallow"] = 0] = "Shallow";
1296
- SubscriptionType[SubscriptionType["Deep"] = 1] = "Deep";
1297
- })(SubscriptionType || (SubscriptionType = {}));
1298
-
1299
- var Theme;
1300
- (function (Theme) {
1301
- Theme[Theme["Light"] = 0] = "Light";
1302
- Theme[Theme["Dark"] = 1] = "Dark";
1303
- })(Theme || (Theme = {}));
1304
-
1305
- var CompareResultType;
1306
- (function (CompareResultType) {
1307
- CompareResultType["Added"] = "added";
1308
- CompareResultType["Modified"] = "modified";
1309
- CompareResultType["AttributesModified"] = "attributesModified";
1310
- CompareResultType["Deleted"] = "deleted";
1311
- CompareResultType["Unchanged"] = "unchanged";
1312
- })(CompareResultType || (CompareResultType = {}));
1313
-
1314
- var UserStateColors;
1315
- (function (UserStateColors) {
1316
- UserStateColors[UserStateColors["None"] = 0] = "None";
1317
- UserStateColors[UserStateColors["Color1"] = 1] = "Color1";
1318
- UserStateColors[UserStateColors["Color2"] = 2] = "Color2";
1319
- UserStateColors[UserStateColors["Color3"] = 3] = "Color3";
1320
- UserStateColors[UserStateColors["Color4"] = 4] = "Color4";
1321
- UserStateColors[UserStateColors["Color5"] = 5] = "Color5";
1322
- UserStateColors[UserStateColors["Color6"] = 6] = "Color6";
1323
- UserStateColors[UserStateColors["Color7"] = 7] = "Color7";
1324
- })(UserStateColors || (UserStateColors = {}));
1325
-
1326
- /**
1327
- * Extension interface that enables you to register the view on settings dialog
1328
- * @interface ISettingsFeature
1329
- * @exposedInterface
1330
- */
1331
- class ISettingsFeature {
1332
- constructor() {
1333
- if (this.constructor == ISettingsFeature) {
1334
- throw new Error("Abstract classes can't be instantiated.");
1335
- }
1336
- }
1337
- /**
1338
- * Gets the unique id of the settings item
1339
- * @readonly
1340
- * @type {string}
1341
- * @memberof ISettingsFeature
1342
- */
1343
- get key() {
1344
- throw new Error("Getter 'key()' must be implemented.");
1345
- }
1346
- /**
1347
- * Gets the display title of the settings item
1348
- * @readonly
1349
- * @type {string}
1350
- * @memberof ISettingsFeature
1351
- */
1352
- get title() {
1353
- throw new Error("Getter 'title()' must be implemented.");
1354
- }
1355
- /**
1356
- * Gets the value editor view id for the settings feature item
1357
- *
1358
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
1359
- * @readonly
1360
- * @type {string}
1361
- * @memberof ISettingsFeature
1362
- */
1363
- get editorViewId() {
1364
- throw new Error("Getter 'editorViewId()' must be implemented.");
1365
- }
1366
- }
1367
-
1368
- /**
1369
- * Interface for a personal setting value provider
1370
- * @interface ISettingValueProvider
1371
- */
1372
- class ISettingValueProvider {
1373
- constructor() {
1374
- if (this.constructor == ISettingValueProvider) {
1375
- throw new Error("Abstract classes can't be instantiated.");
1376
- }
1377
- }
1378
- /**
1379
- * Gets the current setting value.
1380
- * @returns {string} The current setting value.
1381
- */
1382
- getValue() {
1383
- throw new Error("Method 'getValue()' must be implemented.");
1384
- }
1385
- /**
1386
- * Sets the setting value.
1387
- * @param {string} value - The new setting value.
1388
- */
1389
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
1390
- setValue(value) {
1391
- throw new Error("Method 'setValue(value: string)' must be implemented.");
1392
- }
1393
- }
1394
-
1395
- class SystemSettingsKeys {
1396
- /**
1397
- * Get's favorites feature key
1398
- */
1399
- static favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
1400
- /**
1401
- * Get's pilot storage drive letter feature key
1402
- */
1403
- static pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
1404
- /**
1405
- * Get's agreement roles feature key
1406
- */
1407
- static agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
1408
- /**
1409
- * Get's tasks filters feature key
1410
- */
1411
- static tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
1412
- /**
1413
- * Get's tasks groupings feature key
1414
- */
1415
- static tasksGroupingsFeatureKey = "TasksGroupings-B66B65E3-8B6D-4468-BF07-869B03E7D62B";
1416
- /**
1417
- * Get's annotation filter feature key
1418
- */
1419
- static annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
1420
- /**
1421
- * Get's annotation filter feature key
1422
- */
1423
- static personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
1424
- /**
1425
- * Get's mounted on Pilot-Storage items feature key
1426
- */
1427
- static mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
1428
- /**
1429
- * Get's Pilot-Storage work folders feature key
1430
- */
1431
- static workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
1432
- /**
1433
- * Get's selection path of the DocumentsExplorer
1434
- */
1435
- static tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
1436
- /**
1437
- * Get's auto blocking file extensions feature key
1438
- */
1439
- static autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
1440
- /**
1441
- * Get's auto commiting file extensions feature key
1442
- */
1443
- static autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
1444
- /**
1445
- * Get's auto updating files feature key
1446
- */
1447
- static autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
1448
- /**
1449
- * Get's auto publishing settings feature key
1450
- */
1451
- static autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
1452
- /**
1453
- * Get's eml attributes dictionary feature key
1454
- */
1455
- static emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
1456
- /**
1457
- * Get's documents autofill feature key
1458
- */
1459
- static docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
1460
- /**
1461
- * User-defined temp files regex masks
1462
- */
1463
- static tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
1464
- /**
1465
- * User-defined Export/Import settings
1466
- */
1467
- static exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
1468
- /**
1469
- * User-defined digital signature title
1470
- */
1471
- static digitalSignatureTitleFeatureKey = "DigitalSignatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
1472
- /**
1473
- * Enhanced signature service settings
1474
- */
1475
- static advancedSignatureFeatureKey = "AdvancedSignatureFeatureKey-D267127C-DCED-4DEC-B1A8-6E7A919E383D";
1476
- }
1477
-
1478
- /*
1479
- * Public API Surface of pilot-web-sdk
1480
- */
1481
-
1482
- /**
1483
- * Generated bundle index. Do not edit.
1484
- */
1485
-
1486
- export { AccessInheritance, AccessLevel, AccessType, AttributePermissionInfo, AttributeType, AttributeValueChangedEventArgs, BimElementPanelContext, BimRightPanelContext, BorderEffect, CadesType, CompareResultType, DialogContext, DocumentAnnotationsListContext, ExpectedError, Guid, ICheckableMenuItemBuilder, ICryptoProvider, IDataPlugin, IDisposable, IInitializable, IMenu, IMenuBuilder, IMenuItemBuilder, IObjectCardHandler, IOpenspaceView, IPageNavigation, IPageNavigationBuilder, IPageNavigationSectionBuilder, IPageNavigationSectionElementBuilder, ISettingValueProvider, ISettingsFeature, ITabItemBuilder, ITabs, ITabsBuilder, IToolbar, IToolbarBuilder, IToolbarButtonItemBuilder, IToolbarItemSubmenuHandler, IToolbarMenuButtonItemBuilder, IToolbarToggleButtonItemBuilder, InjectionSource, MarkupLineEndings, MarkupLineStyle, MarkupTextDecorationKind, ObjectCardContext, ObjectState, ObjectsViewContext, OrgUnitKind, PageContext, ProgressBarMode, RelationType, RenderContext, SettingsFeatureContext, SignatureVerificationStatus, SubscriptionType, SystemSettingsKeys, Theme, UserStateColors, objectToMap };
1487
- //# sourceMappingURL=pilotdev-pilot-web-sdk.mjs.map