@smartbit4all/ng-client 1.1.29 → 1.1.31

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 (267) hide show
  1. package/README.md +386 -386
  2. package/esm2020/lib/session/api/api/api.mjs +4 -4
  3. package/esm2020/lib/session/api/api/session.service.mjs +306 -306
  4. package/esm2020/lib/session/api/configuration.mjs +91 -91
  5. package/esm2020/lib/session/api/encoder.mjs +19 -19
  6. package/esm2020/lib/session/api/index.mjs +3 -3
  7. package/esm2020/lib/session/api/model/accountInfo.mjs +13 -13
  8. package/esm2020/lib/session/api/model/apiError.mjs +13 -13
  9. package/esm2020/lib/session/api/model/authenticationProviderData.mjs +13 -13
  10. package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +2 -2
  11. package/esm2020/lib/session/api/model/models.mjs +9 -9
  12. package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +13 -13
  13. package/esm2020/lib/session/api/model/session.mjs +2 -2
  14. package/esm2020/lib/session/api/model/sessionInfoData.mjs +2 -2
  15. package/esm2020/lib/session/api/model/userActivityLog.mjs +13 -13
  16. package/esm2020/lib/session/api/param.mjs +2 -2
  17. package/esm2020/lib/session/api/variables.mjs +9 -9
  18. package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +225 -225
  19. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +90 -90
  20. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +43 -43
  21. package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +40 -40
  22. package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +52 -52
  23. package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +165 -165
  24. package/esm2020/lib/session/projects.mjs +12 -12
  25. package/esm2020/lib/session/smart-error-catching.interceptor.mjs +71 -71
  26. package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +46 -39
  27. package/esm2020/lib/session/smart-session-handler.service.mjs +6 -6
  28. package/esm2020/lib/session/smart-session.module.mjs +74 -74
  29. package/esm2020/lib/session/smart-session.service.mjs +225 -225
  30. package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
  31. package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +52 -52
  32. package/esm2020/lib/smart-client/projects.mjs +5 -5
  33. package/esm2020/lib/smart-client/smart-authentication.service.mjs +21 -21
  34. package/esm2020/lib/smart-client/smart-component-api-client.mjs +330 -316
  35. package/esm2020/lib/smart-client/smart.component.mjs +30 -30
  36. package/esm2020/lib/smart-client/smart.service.mjs +30 -30
  37. package/esm2020/lib/smart-ng-client.module.mjs +20 -20
  38. package/esm2020/lib/smart-ng-client.service.mjs +19 -19
  39. package/esm2020/lib/view-context/api/api/api.mjs +4 -4
  40. package/esm2020/lib/view-context/api/api/view.service.mjs +859 -701
  41. package/esm2020/lib/view-context/api/api.module.mjs +40 -40
  42. package/esm2020/lib/view-context/api/configuration.mjs +91 -91
  43. package/esm2020/lib/view-context/api/encoder.mjs +19 -19
  44. package/esm2020/lib/view-context/api/index.mjs +7 -7
  45. package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -17
  46. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -2
  47. package/esm2020/lib/view-context/api/model/componentModel.mjs +2 -2
  48. package/esm2020/lib/view-context/api/model/componentModelChange.mjs +13 -13
  49. package/esm2020/lib/view-context/api/model/dataChange.mjs +2 -2
  50. package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +2 -2
  51. package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +17 -17
  52. package/esm2020/lib/view-context/api/model/messageData.mjs +2 -2
  53. package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -2
  54. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -17
  55. package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -2
  56. package/esm2020/lib/view-context/api/model/messageType.mjs +18 -18
  57. package/esm2020/lib/view-context/api/model/models.mjs +40 -37
  58. package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -2
  59. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -2
  60. package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -2
  61. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -13
  62. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -16
  63. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -21
  64. package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +13 -0
  65. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +2 -2
  66. package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +2 -2
  67. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +16 -16
  68. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +20 -18
  69. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
  70. package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +13 -0
  71. package/esm2020/lib/view-context/api/model/uploadedFile.mjs +13 -0
  72. package/esm2020/lib/view-context/api/model/valueSet.mjs +2 -2
  73. package/esm2020/lib/view-context/api/model/view.mjs +2 -2
  74. package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -13
  75. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -2
  76. package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -2
  77. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +2 -2
  78. package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -2
  79. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -2
  80. package/esm2020/lib/view-context/api/model/viewData.mjs +2 -2
  81. package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +20 -20
  82. package/esm2020/lib/view-context/api/model/viewState.mjs +21 -21
  83. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -2
  84. package/esm2020/lib/view-context/api/model/viewType.mjs +17 -17
  85. package/esm2020/lib/view-context/api/param.mjs +2 -2
  86. package/esm2020/lib/view-context/api/variables.mjs +9 -9
  87. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -63
  88. package/esm2020/lib/view-context/projects.mjs +17 -17
  89. package/esm2020/lib/view-context/property-definition-data.mjs +2 -2
  90. package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -30
  91. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -53
  92. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +48 -48
  93. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +68 -0
  94. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +53 -0
  95. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +119 -119
  96. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +52 -52
  97. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +109 -109
  98. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +119 -119
  99. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -7
  100. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +182 -155
  101. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +29 -29
  102. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +69 -69
  103. package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +39 -39
  104. package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -2
  105. package/esm2020/lib/view-context/smart-view-context.module.mjs +87 -84
  106. package/esm2020/lib/view-context/smart-view-context.service.mjs +536 -510
  107. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -33
  108. package/esm2020/lib/view-context/value-api/api/api.mjs +4 -4
  109. package/esm2020/lib/view-context/value-api/api/value.service.mjs +138 -138
  110. package/esm2020/lib/view-context/value-api/api.module.mjs +40 -40
  111. package/esm2020/lib/view-context/value-api/configuration.mjs +91 -91
  112. package/esm2020/lib/view-context/value-api/encoder.mjs +19 -19
  113. package/esm2020/lib/view-context/value-api/index.mjs +7 -7
  114. package/esm2020/lib/view-context/value-api/model/models.mjs +9 -9
  115. package/esm2020/lib/view-context/value-api/model/value.mjs +13 -13
  116. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -13
  117. package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -2
  118. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +2 -2
  119. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
  120. package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +2 -2
  121. package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +2 -2
  122. package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
  123. package/esm2020/lib/view-context/value-api/param.mjs +2 -2
  124. package/esm2020/lib/view-context/value-api/variables.mjs +9 -9
  125. package/esm2020/projects.mjs +9 -9
  126. package/esm2020/smartbit4all-ng-client.mjs +4 -4
  127. package/fesm2015/smartbit4all-ng-client.mjs +4688 -4336
  128. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  129. package/fesm2020/smartbit4all-ng-client.mjs +4668 -4291
  130. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  131. package/lib/session/api/api/api.d.ts +3 -3
  132. package/lib/session/api/api/session.service.d.ts +107 -107
  133. package/lib/session/api/configuration.d.ts +104 -104
  134. package/lib/session/api/encoder.d.ts +11 -11
  135. package/lib/session/api/index.d.ts +2 -2
  136. package/lib/session/api/model/accountInfo.d.ts +22 -22
  137. package/lib/session/api/model/apiError.d.ts +15 -15
  138. package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
  139. package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
  140. package/lib/session/api/model/models.d.ts +8 -8
  141. package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
  142. package/lib/session/api/model/session.d.ts +32 -32
  143. package/lib/session/api/model/sessionInfoData.d.ts +22 -22
  144. package/lib/session/api/model/userActivityLog.d.ts +33 -33
  145. package/lib/session/api/param.d.ts +37 -37
  146. package/lib/session/api/variables.d.ts +8 -8
  147. package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
  148. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -28
  149. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -18
  150. package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -15
  151. package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -18
  152. package/lib/session/dev-tool/smart-dev-tool.service.d.ts +57 -57
  153. package/lib/session/projects.d.ts +8 -8
  154. package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
  155. package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
  156. package/lib/session/smart-session-handler.service.d.ts +11 -11
  157. package/lib/session/smart-session.module.d.ts +15 -15
  158. package/lib/session/smart-session.service.d.ts +54 -54
  159. package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
  160. package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
  161. package/lib/smart-client/projects.d.ts +4 -4
  162. package/lib/smart-client/smart-authentication.service.d.ts +15 -15
  163. package/lib/smart-client/smart-component-api-client.d.ts +71 -71
  164. package/lib/smart-client/smart.component.d.ts +11 -11
  165. package/lib/smart-client/smart.service.d.ts +11 -11
  166. package/lib/smart-ng-client.module.d.ts +8 -8
  167. package/lib/smart-ng-client.service.d.ts +10 -10
  168. package/lib/view-context/api/api/api.d.ts +3 -3
  169. package/lib/view-context/api/api/view.service.d.ts +313 -266
  170. package/lib/view-context/api/api.module.d.ts +11 -11
  171. package/lib/view-context/api/configuration.d.ts +104 -104
  172. package/lib/view-context/api/encoder.d.ts +11 -11
  173. package/lib/view-context/api/index.d.ts +6 -6
  174. package/lib/view-context/api/model/closeResult.d.ts +17 -17
  175. package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
  176. package/lib/view-context/api/model/componentModel.d.ts +35 -31
  177. package/lib/view-context/api/model/componentModelChange.d.ts +29 -29
  178. package/lib/view-context/api/model/dataChange.d.ts +27 -27
  179. package/lib/view-context/api/model/dataChangeEvent.d.ts +33 -33
  180. package/lib/view-context/api/model/dataChangeKind.d.ts +20 -20
  181. package/lib/view-context/api/model/messageData.d.ts +29 -29
  182. package/lib/view-context/api/model/messageOption.d.ts +20 -20
  183. package/lib/view-context/api/model/messageOptionType.d.ts +17 -17
  184. package/lib/view-context/api/model/messageResult.d.ts +16 -16
  185. package/lib/view-context/api/model/messageType.d.ts +18 -18
  186. package/lib/view-context/api/model/models.d.ts +39 -36
  187. package/lib/view-context/api/model/openPendingData.d.ts +22 -22
  188. package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
  189. package/lib/view-context/api/model/uiAction.d.ts +29 -29
  190. package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
  191. package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -19
  192. package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -24
  193. package/lib/view-context/api/model/uiActionConstraint.d.ts +22 -0
  194. package/lib/view-context/api/model/uiActionDescriptor.d.ts +36 -34
  195. package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
  196. package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -19
  197. package/lib/view-context/api/model/uiActionInputType.d.ts +20 -18
  198. package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
  199. package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +23 -0
  200. package/lib/view-context/api/model/uploadedFile.d.ts +19 -0
  201. package/lib/view-context/api/model/valueSet.d.ts +20 -20
  202. package/lib/view-context/api/model/view.d.ts +68 -68
  203. package/lib/view-context/api/model/viewApiError.d.ts +18 -18
  204. package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
  205. package/lib/view-context/api/model/viewContext.d.ts +22 -22
  206. package/lib/view-context/api/model/viewContextChange.d.ts +20 -20
  207. package/lib/view-context/api/model/viewContextData.d.ts +19 -19
  208. package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
  209. package/lib/view-context/api/model/viewData.d.ts +27 -27
  210. package/lib/view-context/api/model/viewEventHandler.d.ts +30 -30
  211. package/lib/view-context/api/model/viewState.d.ts +21 -21
  212. package/lib/view-context/api/model/viewStateUpdate.d.ts +24 -24
  213. package/lib/view-context/api/model/viewType.d.ts +17 -17
  214. package/lib/view-context/api/param.d.ts +37 -37
  215. package/lib/view-context/api/variables.d.ts +8 -8
  216. package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -17
  217. package/lib/view-context/projects.d.ts +13 -13
  218. package/lib/view-context/property-definition-data.d.ts +5 -5
  219. package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
  220. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
  221. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
  222. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +30 -0
  223. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +22 -0
  224. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
  225. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
  226. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +30 -30
  227. package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -21
  228. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +32 -32
  229. package/lib/view-context/smart-ui-action/ui-action.service.d.ts +37 -34
  230. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
  231. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +19 -19
  232. package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
  233. package/lib/view-context/smart-view-context.model.d.ts +30 -30
  234. package/lib/view-context/smart-view-context.module.d.ts +21 -20
  235. package/lib/view-context/smart-view-context.service.d.ts +106 -102
  236. package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
  237. package/lib/view-context/value-api/api/api.d.ts +3 -3
  238. package/lib/view-context/value-api/api/value.service.d.ts +35 -35
  239. package/lib/view-context/value-api/api.module.d.ts +11 -11
  240. package/lib/view-context/value-api/configuration.d.ts +104 -104
  241. package/lib/view-context/value-api/encoder.d.ts +11 -11
  242. package/lib/view-context/value-api/index.d.ts +6 -6
  243. package/lib/view-context/value-api/model/models.d.ts +8 -8
  244. package/lib/view-context/value-api/model/value.d.ts +29 -29
  245. package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
  246. package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
  247. package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +55 -55
  248. package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +23 -23
  249. package/lib/view-context/value-api/model/valueSetExpression.d.ts +20 -20
  250. package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
  251. package/lib/view-context/value-api/model/valueSetOperation.d.ts +18 -18
  252. package/lib/view-context/value-api/param.d.ts +37 -37
  253. package/lib/view-context/value-api/variables.d.ts +8 -8
  254. package/package.json +1 -1
  255. package/projects.d.ts +5 -5
  256. package/schematics/collection.json +11 -11
  257. package/schematics/smart-component/index.ts +26 -26
  258. package/schematics/smart-component/schema.json +20 -20
  259. package/schematics/smart-component/smart-component.schema.ts +4 -4
  260. package/schematics/smart-component/templates/__name@dasherize__.component.html.template +2 -2
  261. package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +26 -26
  262. package/smartbit4all-ng-client-1.1.31.tgz +0 -0
  263. package/smartbit4all-ng-client.d.ts +5 -5
  264. package/src/lib/session/api/README.md +226 -226
  265. package/src/lib/view-context/api/README.md +226 -226
  266. package/src/lib/view-context/value-api/README.md +226 -226
  267. package/smartbit4all-ng-client-1.1.29.tgz +0 -0
@@ -1,71 +1,71 @@
1
- import { Injector } from '@angular/core';
2
- import { GridOptions, SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
3
- import { SmarttreeGenericService } from '@smartbit4all/tree';
4
- import { Subject } from 'rxjs';
5
- import { ComponentModel, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction } from '../view-context/projects';
6
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
7
- import { SmartForm, SmartformComponent } from '@smartbit4all/form';
8
- export declare abstract class SmartComponentApiClient<T> implements UseUiAction {
9
- protected inject: Injector;
10
- protected auth: SmartAuthenticationServiceInterface;
11
- protected pageName: string;
12
- protected _destroy$: Subject<void>;
13
- protected sendDataChanges: boolean;
14
- private detectChange;
15
- private _uuid?;
16
- get uuid(): string | undefined;
17
- set uuid(uuid: string | undefined);
18
- private _model;
19
- get model(): ComponentModel | undefined;
20
- set model(model: ComponentModel | undefined);
21
- private _data?;
22
- get data(): T | undefined;
23
- set data(model: T | undefined);
24
- uiActionModels: UiActionModel[];
25
- dataChanged: Subject<void>;
26
- submit: Subject<void>;
27
- reSubscribeToChange: Subject<void>;
28
- smartGrid?: SmartGrid;
29
- protected viewContext: SmartViewContextService;
30
- protected uiActionService: UiActionService;
31
- protected uiActionDescriptorService: UiActionDescriptorService;
32
- private _smartTreeService?;
33
- get smartTreeService(): SmarttreeGenericService | undefined;
34
- set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
35
- widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
36
- formWidgets: WidgetMap<SmartformComponent | undefined>;
37
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
38
- _ngOnInit(): void;
39
- _ngOnDestroy(): void;
40
- initComponentByModel(): void;
41
- initData(): void;
42
- initActions(): void;
43
- run(): void;
44
- load(): Promise<void>;
45
- getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
46
- getModel(): T | undefined;
47
- performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
48
- handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
49
- addGrid(smartGrid: SmartGrid, options: GridOptions, useAsDefaultGrid?: boolean, componentReference?: SmartGridComponent): SmartGrid;
50
- addForm(smartFormId: string, smartForm: SmartForm, componentReference?: SmartformComponent): SmartForm;
51
- setUpDefaultTree(treeId: string): void;
52
- createTreeService(treeId: string): SmarttreeGenericService;
53
- private handleValueChanges;
54
- private handleChanges;
55
- private handleChangeWidgets;
56
- private setValueDeeply;
57
- private handleDataChange;
58
- private handleLayoutChange;
59
- private handleValueSetChange;
60
- private handleActionChange;
61
- private handleConstraintChange;
62
- }
63
- export declare class WidgetMap<T> {
64
- private _widgets;
65
- get widgets(): Map<string, T>;
66
- set widgets(widgets: Map<string, T>);
67
- addWidget(key: string, reference: T, isForm?: boolean): void;
68
- removeWidget(key: string): void;
69
- clearWidgets(): void;
70
- get(key: string): T | undefined;
71
- }
1
+ import { Injector } from '@angular/core';
2
+ import { GridOptions, SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
3
+ import { SmarttreeGenericService } from '@smartbit4all/tree';
4
+ import { Subject } from 'rxjs';
5
+ import { ComponentModel, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction } from '../view-context/projects';
6
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
7
+ import { SmartForm, SmartformComponent } from '@smartbit4all/form';
8
+ export declare abstract class SmartComponentApiClient<T> implements UseUiAction {
9
+ protected inject: Injector;
10
+ protected auth: SmartAuthenticationServiceInterface;
11
+ protected pageName: string;
12
+ protected _destroy$: Subject<void>;
13
+ protected sendDataChanges: boolean;
14
+ private detectChange;
15
+ private _uuid?;
16
+ get uuid(): string | undefined;
17
+ set uuid(uuid: string | undefined);
18
+ private _model;
19
+ get model(): ComponentModel | undefined;
20
+ set model(model: ComponentModel | undefined);
21
+ private _data?;
22
+ get data(): T | undefined;
23
+ set data(model: T | undefined);
24
+ uiActionModels: UiActionModel[];
25
+ dataChanged: Subject<void>;
26
+ submit: Subject<void>;
27
+ reSubscribeToChange: Subject<void>;
28
+ smartGrid?: SmartGrid;
29
+ protected viewContext: SmartViewContextService;
30
+ protected uiActionService: UiActionService;
31
+ protected uiActionDescriptorService: UiActionDescriptorService;
32
+ private _smartTreeService?;
33
+ get smartTreeService(): SmarttreeGenericService | undefined;
34
+ set smartTreeService(smartTreeService: SmarttreeGenericService | undefined);
35
+ widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
36
+ formWidgets: WidgetMap<SmartformComponent | undefined>;
37
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
38
+ _ngOnInit(): void;
39
+ _ngOnDestroy(): void;
40
+ initComponentByModel(): void;
41
+ initData(): void;
42
+ initActions(): void;
43
+ run(): void;
44
+ load(): Promise<void>;
45
+ getAdditionalParams(uiAction: UiAction): UiActionAdditionalParams;
46
+ getModel(): T | undefined;
47
+ performUiActionRequest(uiActionRequest: UiActionRequest, widgetId?: string, nodeId?: string): Promise<any>;
48
+ handleSpecificDemandsAsynchronously(uiAction: UiAction, uiActionRequest: UiActionRequest): Promise<UiActionSpecificDemandResponse>;
49
+ addGrid(smartGrid: SmartGrid, options: GridOptions, useAsDefaultGrid?: boolean, componentReference?: SmartGridComponent): SmartGrid;
50
+ addForm(smartFormId: string, smartForm: SmartForm, componentReference?: SmartformComponent): SmartForm;
51
+ setUpDefaultTree(treeId: string): void;
52
+ createTreeService(treeId: string): SmarttreeGenericService;
53
+ private handleValueChanges;
54
+ private handleChanges;
55
+ private handleChangeWidgets;
56
+ private setValueDeeply;
57
+ private handleDataChange;
58
+ private handleLayoutChange;
59
+ private handleValueSetChange;
60
+ private handleActionChange;
61
+ private handleConstraintChange;
62
+ }
63
+ export declare class WidgetMap<T> {
64
+ private _widgets;
65
+ get widgets(): Map<string, T>;
66
+ set widgets(widgets: Map<string, T>);
67
+ addWidget(key: string, reference: T, isForm?: boolean): void;
68
+ removeWidget(key: string): void;
69
+ clearWidgets(): void;
70
+ get(key: string): T | undefined;
71
+ }
@@ -1,11 +1,11 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
- import { SmartComponentApiClient } from './smart-component-api-client';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
11
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
+ import { SmartComponentApiClient } from './smart-component-api-client';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
+ ngOnInit(): void;
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
11
+ }
@@ -1,11 +1,11 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
- import { SmartComponentApiClient } from './smart-component-api-client';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
11
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
+ import { SmartComponentApiClient } from './smart-component-api-client';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
+ ngOnInit(): void;
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
11
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./session/smart-session.module";
3
- import * as i2 from "./view-context/smart-view-context.module";
4
- export declare class SmartNgClientModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, never, [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule], [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./session/smart-session.module";
3
+ import * as i2 from "./view-context/smart-view-context.module";
4
+ export declare class SmartNgClientModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, never, [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule], [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
8
+ }
@@ -1,10 +1,10 @@
1
- import { SmartSessionService } from "./session/smart-session.service";
2
- import { SmartViewContextService } from "./view-context/smart-view-context.service";
3
- import * as i0 from "@angular/core";
4
- export declare class SmartNgClientService {
5
- private session;
6
- private viewContext;
7
- constructor(session: SmartSessionService, viewContext: SmartViewContextService);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<SmartNgClientService>;
10
- }
1
+ import { SmartSessionService } from "./session/smart-session.service";
2
+ import { SmartViewContextService } from "./view-context/smart-view-context.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SmartNgClientService {
5
+ private session;
6
+ private viewContext;
7
+ constructor(session: SmartSessionService, viewContext: SmartViewContextService);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<SmartNgClientService>;
10
+ }
@@ -1,3 +1,3 @@
1
- export * from './view.service';
2
- import { ViewService } from './view.service';
3
- export declare const APIS: (typeof ViewService)[];
1
+ export * from './view.service';
2
+ import { ViewService } from './view.service';
3
+ export declare const APIS: (typeof ViewService)[];