@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,49 +0,0 @@
1
- import { ICheckableMenuItemBuilder } from "./checkable-menu.builder";
2
- import { IMenuItemBuilder } from "./menu-item.builder";
3
- /**
4
- * Represents a menu and enables to add new items to it
5
- */
6
- export declare abstract class IMenuBuilder {
7
- constructor();
8
- /**
9
- * Gets the list of existing items of associated menu or subitems of an item
10
- * @returns Existing menu item names
11
- */
12
- get itemNames(): string[];
13
- /**
14
- * Gets count of menu items
15
- */
16
- get count(): number;
17
- /**
18
- * Adds a new separator to the associated menu
19
- * @param index The index to put the new item at
20
- */
21
- addSeparator(index: number): void;
22
- /**
23
- * Adds a new item to the associated menu
24
- * @param name Item's internal name
25
- * @param index The index to put the new item at
26
- */
27
- addItem(name: string, index: number): IMenuItemBuilder;
28
- /**
29
- * Adds a new checkable item to the associated menu
30
- * @param name Item's internal name
31
- * @param index The index to put the new item at
32
- */
33
- addCheckableItem(name: string, index: number): ICheckableMenuItemBuilder;
34
- /**
35
- * Replaces the item to the associated menu
36
- * @param name Item's internal name
37
- */
38
- replaceItem(name: string): IMenuItemBuilder;
39
- /**
40
- * Removes the item with the specified name
41
- * @param name Item's internal name
42
- */
43
- removeItem(name: string): void;
44
- /**
45
- * Gets the item
46
- * @param name Item's internal name
47
- */
48
- getItem(name: string): IMenuBuilder;
49
- }
@@ -1,20 +0,0 @@
1
- import { DocumentAnnotationsListContext, ObjectsViewContext } from "../contexts";
2
- import { IMenuBuilder } from "./menu.builder";
3
- /**
4
- * Interface that allows to add new items to the menu and context menus
5
- * @exposedInterface
6
- */
7
- export declare abstract class IMenu<TMenuContext extends ObjectsViewContext | DocumentAnnotationsListContext> {
8
- /**
9
- * The method is called just before the menu is shown
10
- * @param builder The menu builder object of associated menu
11
- * @param context Context
12
- */
13
- build(builder: IMenuBuilder, context: TMenuContext): void;
14
- /**
15
- *
16
- * @param name
17
- * @param context
18
- */
19
- onMenuItemClick(name: string, context: TMenuContext): void;
20
- }
@@ -1,9 +0,0 @@
1
- export interface IAttributeModifier {
2
- /**
3
- * Sets new value for attribute
4
- *
5
- * @param name - Attribute name
6
- * @param value - New value
7
- */
8
- setValue(name: string, value: unknown): void;
9
- }
@@ -1,30 +0,0 @@
1
- import { Observable } from "rxjs/internal/Observable";
2
- import { IDataObject } from "../data";
3
- import { IObjectBuilder } from "./object-builder";
4
- /**
5
- * Creates, modifies and deletes objects
6
- */
7
- export interface IModifier {
8
- /**
9
- * Creates a new object
10
- *
11
- * @param id New object id
12
- * @param parentId Parent id
13
- * @param typeId Creating object's type id
14
- * @return Fluent interface that enables you to modify created object
15
- */
16
- create(id: string, parentId: string, typeId: number): IObjectBuilder;
17
- /**
18
- * Edits existing object
19
- *
20
- * @param id Id of object to modify
21
- * @returns Fluent interface that enables you to modify created object
22
- */
23
- edit(id: string): IObjectBuilder;
24
- /**
25
- * Applies all the changes have been made in modifier
26
- *
27
- * @returns Created and edited objects wrapped in cold Observable
28
- */
29
- apply(): Observable<IDataObject[]>;
30
- }
@@ -1,140 +0,0 @@
1
- import { AttributeType } from "../data/attribute";
2
- import { IAnnotationContainer, IMarkup } from "../data/annotations";
3
- import { IAccessRecord } from "../data/access";
4
- import { IRelation } from "../data/relation";
5
- import { ISignatureModifier } from "./signature-modifier";
6
- /**
7
- * Fluent interface that enables you to modify the associated object
8
- */
9
- export interface IObjectBuilder {
10
- /**
11
- * Sets the string attribute value
12
- *
13
- * @param name Attribute name
14
- * @param value Attribute value
15
- * @returns Self
16
- */
17
- setAttribute(name: string, value: any, type: AttributeType): IObjectBuilder;
18
- /**
19
- * Adds access record to an object
20
- *
21
- * @param record Access record
22
- * @returns Self
23
- */
24
- setAccess(record: IAccessRecord): IObjectBuilder;
25
- /**
26
- * Removes access record
27
- *
28
- * @param record Access record
29
- * @returns Self
30
- */
31
- removeAccess(record: IAccessRecord): IObjectBuilder;
32
- /**
33
- * Adds a relation
34
- *
35
- * @param relation Relation
36
- * @returns Self
37
- */
38
- addRelation(relation: IRelation): IObjectBuilder;
39
- /**
40
- * Removes relation
41
- *
42
- * @param relationId Relation id
43
- * @returns Self
44
- */
45
- removeRelation(relationId: string): IObjectBuilder;
46
- /**
47
- * Sets new type. It is recommended to use this method only for recovering permanently deleted objects. In other cases, this can lead to system malfunction.
48
- *
49
- * @param typeId Type id
50
- * @returns Self
51
- */
52
- setTypeId(typeId: number): IObjectBuilder;
53
- /**
54
- * Sets new parent
55
- *
56
- * @param parentId Parent id
57
- * @returns Self
58
- */
59
- setParentId(parentId: string): IObjectBuilder;
60
- /**
61
- * Adds file snapshot
62
- *
63
- * @param reason Reason
64
- * @returns Self
65
- */
66
- createSnapshot(reason: string): IObjectBuilder;
67
- /**
68
- * Makes file snapshot actual
69
- *
70
- * @param version Version of file snapshot to make actual
71
- * @param reason Reason
72
- * @returns Self
73
- */
74
- createSnapshotFrom(version: string, reason: string): IObjectBuilder;
75
- /**
76
- * Adds a new file to the associated object
77
- *
78
- * @param file File identificator
79
- * @param file File interface
80
- * @param creationTime File creation time
81
- * @param lastAccessTime File last access time
82
- * @param lastWriteTime File last write time
83
- * @returns Fluent interface that enables you to modify the associated object
84
- */
85
- addFile(fileId: string, file: File, creationTime: Date, lastAccessTime: Date, lastWriteTime: Date): IObjectBuilder;
86
- /**
87
- * Removes file from actual file snapshot by identifier
88
- * @param fileId file identificator
89
- * @returns Fluent interface that enables you to modify the associated object
90
- */
91
- removeFile(fileId: string): IObjectBuilder;
92
- /**
93
- * Sets permanently deleted flag
94
- *
95
- * @param isDeleted Value
96
- * @returns Self
97
- */
98
- setIsDeleted(isDeleted: boolean): IObjectBuilder;
99
- /**
100
- * Set flag in recycle bin
101
- *
102
- * @param isInRecycleBin Value
103
- * @returns Self
104
- */
105
- setIsInRecycleBin(isInRecycleBin: boolean): IObjectBuilder;
106
- /**
107
- * Sets frozen flag
108
- *
109
- * @param isFreezed Value
110
- * @returns Self
111
- */
112
- setIsFreezed(isFreezed: boolean): IObjectBuilder;
113
- /**
114
- * Sets object's secret info
115
- *
116
- * @param isSecret Value
117
- * @returns Self
118
- */
119
- setIsSecret(isSecret: boolean): IObjectBuilder;
120
- /**
121
- * Adds or changes a annotation
122
- *
123
- * @param container Annotation container
124
- * @param attrbutes Annotation attributes
125
- * @returns Self
126
- */
127
- addAnnotationContainer(container: IAnnotationContainer, attrbutes: any): IObjectBuilder;
128
- /**
129
- *
130
- * @param markups
131
- */
132
- addMarkups(markups: IMarkup[]): IObjectBuilder;
133
- /**
134
- * Sets new signature requests to the selected file
135
- *
136
- * @param fileId file id
137
- * @returns Fluent interface that enables you to modify the signatures of the filtered files
138
- */
139
- setSignatures(fileId: string): ISignatureModifier;
140
- }
@@ -1,87 +0,0 @@
1
- import { ISignatureRequest, CadesType } from "../data";
2
- /**
3
- * Interface for modifying digital signature requests.
4
- */
5
- export interface ISignatureModifier {
6
- /**
7
- * Creates a new signature request with the given ID.
8
- *
9
- * @param signatureRequestId - The ID of the signature request to create.
10
- * @returns An instance of ISignatureBuilder for further configuration.
11
- */
12
- create(signatureRequestId: string): ISignatureBuilder;
13
- /**
14
- * Edits an existing signature request with the given ID.
15
- *
16
- * @param signatureRequest - The signature request to edit.
17
- * @returns An instance of ISignatureBuilder for further configuration.
18
- */
19
- edit(signatureRequest: ISignatureRequest): ISignatureBuilder;
20
- /**
21
- * Removes an existing signature request with the given ID.
22
- *
23
- * @param signatureRequestId - The ID of the signature request to remove.
24
- */
25
- remove(signatureRequestId: string): void;
26
- }
27
- /**
28
- * Interface for building digital signature requests.
29
- */
30
- export interface ISignatureBuilder {
31
- /**
32
- * Sets the position ID for the signature.
33
- *
34
- * @param positionId - The ID of the person position associated with the request.
35
- * @returns This instance of ISignatureBuilder for method chaining.
36
- */
37
- withPositionId(positionId: number): ISignatureBuilder;
38
- /**
39
- * Sets the role for the signature.
40
- *
41
- * @param role - The role associated with the signature.
42
- * @returns This instance of ISignatureBuilder for method chaining.
43
- */
44
- withRole(role: string): ISignatureBuilder;
45
- /**
46
- * Sets the flag sign for the signature.
47
- *
48
- * @param sign - The sign associated with the signature.
49
- * @returns This instance of ISignatureBuilder for method chaining.
50
- */
51
- withSign(sign: string): ISignatureBuilder;
52
- /**
53
- * Sets the request signer for the signature.
54
- *
55
- * @param requestSigner - The request signer associated with the signature.
56
- * @returns This instance of ISignatureBuilder for method chaining.
57
- */
58
- withRequestSigner(requestSigner: string): ISignatureBuilder;
59
- /**
60
- * Sets the object ID for the signature.
61
- *
62
- * @param objectId - The ID of the object associated with the signature.
63
- * @returns This instance of ISignatureBuilder for method chaining.
64
- */
65
- withObjectId(objectId: string): ISignatureBuilder;
66
- /**
67
- * Set certificate's public key oid for the signature.
68
- *
69
- * @param publicKeyOid - certificate's public key oid.
70
- * @returns This instance of ISignatureBuilder for method chaining.
71
- */
72
- withPublicKeyOid(publicKeyOid: string): ISignatureBuilder;
73
- /**
74
- * Set cades type of last signature.
75
- *
76
- * @param cadesType - cades type.
77
- * @returns This instance of ISignatureBuilder for method chaining.
78
- */
79
- withLastSignCadesType(cadesType: CadesType): ISignatureBuilder;
80
- /**
81
- * Set requirement property for advancement of the signature.
82
- *
83
- * @param needAdvancement - signature needs advancement.
84
- * @returns This instance of ISignatureBuilder for method chaining.
85
- */
86
- withIsAdvancementRequired(needAdvancement: boolean): ISignatureBuilder;
87
- }
@@ -1,10 +0,0 @@
1
- import { ObjectCardContext } from "../contexts/object-card-context";
2
- export declare class AttributeValueChangedEventArgs {
3
- private readonly _oldValue;
4
- private readonly _newValue;
5
- private readonly _context;
6
- constructor(oldValue: unknown, newValue: unknown, context: ObjectCardContext);
7
- get oldValue(): unknown;
8
- get newValue(): unknown;
9
- get context(): ObjectCardContext;
10
- }
@@ -1,25 +0,0 @@
1
- import { ObjectCardContext } from "../contexts/object-card-context";
2
- import { IAttribute } from "../data";
3
- import { IAttributeModifier } from "../modifier/attribute-modifier";
4
- import { AttributeValueChangedEventArgs } from "./attribute-value-changed-event-args";
5
- /**
6
- * Enables support for handling changing object attributes in object card
7
- * @exposedInterface
8
- */
9
- export declare abstract class IObjectCardHandler {
10
- constructor();
11
- /**
12
- * Handle show object card
13
- *
14
- * @param modifier - Attribute modifier
15
- * @param context - Context
16
- */
17
- handle(modifier: IAttributeModifier, context: ObjectCardContext): void;
18
- /**
19
- * The method called when attribute value has changed
20
- * @param sender - Changed attribute
21
- * @param args - Attribute change event args
22
- * @param modifier - Attribute modifier
23
- */
24
- onValueChanged(sender: IAttribute, args: AttributeValueChangedEventArgs, modifier: IAttributeModifier): void;
25
- }
@@ -1,20 +0,0 @@
1
- import { BimElementPanelContext, BimRightPanelContext, DialogContext, ObjectsViewContext, PageContext, SettingsFeatureContext } from "../contexts";
2
- /**
3
- * Class that allows to declare the view for the openspace container
4
- * @exposedInterface
5
- */
6
- export declare abstract class IOpenspaceView<TOpenspaceViewContext extends BimElementPanelContext | BimRightPanelContext | ObjectsViewContext | PageContext | SettingsFeatureContext | DialogContext> {
7
- constructor();
8
- /**
9
- * The method is called to match this View to the corresponding openspace container
10
- *
11
- * Should be identical with corresponding container's `withViewId(id: string)`
12
- * @returns {string}
13
- */
14
- getViewId(): string;
15
- /**
16
- * The method is called just before the openspace container's view is shown
17
- * @param context - context
18
- */
19
- getView(context: TOpenspaceViewContext): HTMLElement | undefined;
20
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Represents a builder for navigation window section's element
3
- */
4
- export declare abstract class IPageNavigationSectionElementBuilder {
5
- constructor();
6
- /**
7
- * Element's title to be displayed
8
- * @param title value
9
- */
10
- withTitle(title: string): IPageNavigationSectionElementBuilder;
11
- /**
12
- * Element's title to be displayed
13
- * @param description value
14
- */
15
- withDescription(description: string): IPageNavigationSectionElementBuilder;
16
- /**
17
- * Element's icon
18
- * @param name Icon name
19
- * @param iconSvg Url of icon or base64 string
20
- */
21
- withIcon(name: string, iconSvg: string): IPageNavigationSectionElementBuilder;
22
- /**
23
- * Element's view id
24
- *
25
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
26
- * @param value - View Id
27
- */
28
- withViewId(value: string): IPageNavigationSectionElementBuilder;
29
- }
@@ -1,33 +0,0 @@
1
- import { IPageNavigationSectionElementBuilder } from './page-navigation-section-element.builder';
2
- /**
3
- * Represents a builder for the navigation window's section
4
- */
5
- export declare abstract class IPageNavigationSectionBuilder {
6
- constructor();
7
- /**
8
- * Section's title to be displayed
9
- * @param title value
10
- */
11
- withTitle(title: string): IPageNavigationSectionBuilder;
12
- /**
13
- * Gets the list of existing element ids of the section
14
- * @returns Existing element ids
15
- */
16
- get elementIds(): string[];
17
- /**
18
- * Gets count of section's elements
19
- */
20
- get count(): number;
21
- /**
22
- * Adds a new element to the section
23
- * @param id Element's internal id
24
- * @param index The index to put the new element at
25
- */
26
- addElement(id: string, index: number): IPageNavigationSectionElementBuilder;
27
- /**
28
- * Replaces the element of the section
29
- * If element does not exist - creates it
30
- * @param id Elements's internal id
31
- */
32
- replaceElement(id: string): IPageNavigationSectionElementBuilder;
33
- }
@@ -1,28 +0,0 @@
1
- import { IPageNavigationSectionBuilder } from './page-navigation-section.builder';
2
- /**
3
- * Represents a builder for navigation window
4
- */
5
- export declare abstract class IPageNavigationBuilder {
6
- constructor();
7
- /**
8
- * Gets the list of existing section ids of the navigation window
9
- * @returns Existing section ids
10
- */
11
- get sectionIds(): string[];
12
- /**
13
- * Gets count of navigation window's elements
14
- */
15
- get count(): number;
16
- /**
17
- * Adds a new section to the navigation window
18
- * @param id Sections's internal id
19
- * @param index The index to put the new section at
20
- */
21
- addSection(id: string, index: number): IPageNavigationSectionBuilder;
22
- /**
23
- * Replaces the section of the navigation window
24
- * If element does not exist - creates it
25
- * @param id Elements's internal id
26
- */
27
- replaceSection(id: string): IPageNavigationSectionBuilder;
28
- }
@@ -1,9 +0,0 @@
1
- import { IPageNavigationBuilder } from './page-navigation.builder';
2
- /**
3
- * Interface that allows to add new sections and elements to navigation window
4
- * @exposedInterface
5
- */
6
- export declare abstract class IPageNavigation {
7
- constructor();
8
- build(builder: IPageNavigationBuilder): void;
9
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * Extension interface that enables you to register the view on settings dialog
3
- * @interface ISettingsFeature
4
- * @exposedInterface
5
- */
6
- export declare abstract class ISettingsFeature {
7
- constructor();
8
- /**
9
- * Gets the unique id of the settings item
10
- * @readonly
11
- * @type {string}
12
- * @memberof ISettingsFeature
13
- */
14
- get key(): string;
15
- /**
16
- * Gets the display title of the settings item
17
- * @readonly
18
- * @type {string}
19
- * @memberof ISettingsFeature
20
- */
21
- get title(): string;
22
- /**
23
- * Gets the value editor view id for the settings feature item
24
- *
25
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
26
- * @readonly
27
- * @type {string}
28
- * @memberof ISettingsFeature
29
- */
30
- get editorViewId(): string;
31
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Interface for a personal setting value provider
3
- * @interface ISettingValueProvider
4
- */
5
- export declare abstract class ISettingValueProvider {
6
- constructor();
7
- /**
8
- * Gets the current setting value.
9
- * @returns {string} The current setting value.
10
- */
11
- getValue(): string;
12
- /**
13
- * Sets the setting value.
14
- * @param {string} value - The new setting value.
15
- */
16
- setValue(value: string): void;
17
- }
@@ -1,82 +0,0 @@
1
- export declare class SystemSettingsKeys {
2
- /**
3
- * Get's favorites feature key
4
- */
5
- static readonly favoritesFeatureKey = "Favorites-880e609e-54f9-4463-9c5e-f2b742a944dc";
6
- /**
7
- * Get's pilot storage drive letter feature key
8
- */
9
- static readonly pilotStorageDriveLetter = "PilotStorageDriveLetter-880e609e-54f9-4463-9c5e-f2b742a944dc";
10
- /**
11
- * Get's agreement roles feature key
12
- */
13
- static readonly agreementRolesFeatureKey = "AgreementRoles-0a782ccd-adb3-484f-8fb2-a6c58fc5a61d";
14
- /**
15
- * Get's tasks filters feature key
16
- */
17
- static readonly tasksFiltersFeatureKey = "TasksFilters-deab09c1-2276-457b-a59b-5682baec43c7";
18
- /**
19
- * Get's tasks groupings feature key
20
- */
21
- static readonly tasksGroupingsFeatureKey = "TasksGroupings-B66B65E3-8B6D-4468-BF07-869B03E7D62B";
22
- /**
23
- * Get's annotation filter feature key
24
- */
25
- static readonly annotationFilterFeatureKey = "AnnotationFilter-F151E782-6CEB-44AF-ADF1-AFB0A0FAB95E";
26
- /**
27
- * Get's annotation filter feature key
28
- */
29
- static readonly personalAnnotationFilterFeatureKey = "PersonalAnnotationFilter-9382f499-c1b9-433f-95bb-d83195d52121";
30
- /**
31
- * Get's mounted on Pilot-Storage items feature key
32
- */
33
- static readonly mountedItemsList = "MountedItems-29eff31a-8bd2-40a2-bdac-c020db132c8b";
34
- /**
35
- * Get's Pilot-Storage work folders feature key
36
- */
37
- static readonly workfoldersList = "Workfolders-C4A424C8-AE20-4277-9CA5-94629CEB1B86";
38
- /**
39
- * Get's selection path of the DocumentsExplorer
40
- */
41
- static readonly tabsState = "TabsState-9b9e6a36-013a-423c-9599-c6edc32a5b4f";
42
- /**
43
- * Get's auto blocking file extensions feature key
44
- */
45
- static readonly autoBlockingFileExtensionsFeatureKey = "AutoBlockingFileExtensions-1bb027f4-7dd0-4aec-8c0d-cffe63bfcbb3";
46
- /**
47
- * Get's auto commiting file extensions feature key
48
- */
49
- static readonly autoCommitingFileExtensionsFeatureKey = " AutoCommitingFileExtensions-2d0de5a1-f6c1-426e-b3e6-610dfb4b2666";
50
- /**
51
- * Get's auto updating files feature key
52
- */
53
- static readonly autoUpdatingFilesFeatureKey = "AutoUpdatingFileExtensions-6FB5DE6C-96B2-4F84-8650-7A2EB102EAC5";
54
- /**
55
- * Get's auto publishing settings feature key
56
- */
57
- static readonly autoPublishingExtensionsFeatureKey = "AutoPublishingExtensions-F6FF1869-DBC2-4253-A5AA-7B225D69E416";
58
- /**
59
- * Get's eml attributes dictionary feature key
60
- */
61
- static readonly emlAttributesDictionaryKeyFeatureKey = "EmlAttributesDictionary-354AB75D-A421-4836-A343-16FEC3014A4F";
62
- /**
63
- * Get's documents autofill feature key
64
- */
65
- static readonly docsAutoFillFeatureKey = "DocsAutoFillFeatureKey-d19b557b-2109-4221-8970-794372039186";
66
- /**
67
- * User-defined temp files regex masks
68
- */
69
- static readonly tempFileMasksFeatureKey = "TempFileMasksFeatureKey-388BD8A4-E7C0-48DD-B235-8C05030CFCF3";
70
- /**
71
- * User-defined Export/Import settings
72
- */
73
- static readonly exportImportFeatureKey = "ExportImportFeatureKey-4697EA6F-E018-4989-929D-992D1176CC3C";
74
- /**
75
- * User-defined digital signature title
76
- */
77
- static readonly digitalSignatureTitleFeatureKey = "DigitalSignatureTitleFeatureKey-481EFA14-B116-434A-BAD6-F90DB883DEC9";
78
- /**
79
- * Enhanced signature service settings
80
- */
81
- static readonly advancedSignatureFeatureKey = "AdvancedSignatureFeatureKey-D267127C-DCED-4DEC-B1A8-6E7A919E383D";
82
- }
@@ -1,24 +0,0 @@
1
- /**
2
- * Enables to set parameters to the tab-group's item
3
- */
4
- export declare abstract class ITabItemBuilder {
5
- constructor();
6
- /**
7
- * Item's title to be displayed
8
- * @param title value
9
- */
10
- withTitle(title: string): ITabItemBuilder;
11
- /**
12
- * Item's icon
13
- * @param name Icon name
14
- * @param iconSvg Url of icon or base64 string
15
- */
16
- withIcon(name: string, iconSvg: string): ITabItemBuilder;
17
- /**
18
- * Item's view id
19
- *
20
- * Is matched with corresponding IOpenspaceView's `getViewId(): string`
21
- * @param value - View Id
22
- */
23
- withViewId(value: string): ITabItemBuilder;
24
- }