@smartbit4all/ng-client 1.1.23 → 1.1.25

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 (259) 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 +161 -161
  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 +36 -36
  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 +205 -205
  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 +51 -51
  32. package/esm2020/lib/smart-client/projects.mjs +6 -6
  33. package/esm2020/lib/smart-client/smart-authentication.service.mjs +15 -15
  34. package/esm2020/lib/smart-client/smart-component-api-client.mjs +316 -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-client/smart.subject.mjs +21 -21
  38. package/esm2020/lib/smart-ng-client.module.mjs +20 -20
  39. package/esm2020/lib/smart-ng-client.service.mjs +19 -19
  40. package/esm2020/lib/view-context/api/api/api.mjs +4 -4
  41. package/esm2020/lib/view-context/api/api/view.service.mjs +701 -701
  42. package/esm2020/lib/view-context/api/api.module.mjs +40 -40
  43. package/esm2020/lib/view-context/api/configuration.mjs +91 -91
  44. package/esm2020/lib/view-context/api/encoder.mjs +19 -19
  45. package/esm2020/lib/view-context/api/index.mjs +7 -7
  46. package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -17
  47. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -2
  48. package/esm2020/lib/view-context/api/model/componentModel.mjs +2 -2
  49. package/esm2020/lib/view-context/api/model/componentModelChange.mjs +13 -13
  50. package/esm2020/lib/view-context/api/model/dataChange.mjs +2 -2
  51. package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +2 -2
  52. package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +17 -17
  53. package/esm2020/lib/view-context/api/model/messageData.mjs +2 -2
  54. package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -2
  55. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -17
  56. package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -2
  57. package/esm2020/lib/view-context/api/model/messageType.mjs +18 -18
  58. package/esm2020/lib/view-context/api/model/models.mjs +37 -37
  59. package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -2
  60. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -2
  61. package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -2
  62. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -13
  63. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -16
  64. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -21
  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 +18 -18
  69. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
  70. package/esm2020/lib/view-context/api/model/valueSet.mjs +2 -2
  71. package/esm2020/lib/view-context/api/model/view.mjs +2 -2
  72. package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -13
  73. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -2
  74. package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -2
  75. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +2 -2
  76. package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -2
  77. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -2
  78. package/esm2020/lib/view-context/api/model/viewData.mjs +2 -2
  79. package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +20 -20
  80. package/esm2020/lib/view-context/api/model/viewState.mjs +21 -21
  81. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -2
  82. package/esm2020/lib/view-context/api/model/viewType.mjs +17 -17
  83. package/esm2020/lib/view-context/api/param.mjs +2 -2
  84. package/esm2020/lib/view-context/api/variables.mjs +9 -9
  85. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -63
  86. package/esm2020/lib/view-context/projects.mjs +17 -17
  87. package/esm2020/lib/view-context/property-definition-data.mjs +2 -2
  88. package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -30
  89. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -53
  90. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +47 -47
  91. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +119 -119
  92. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +51 -51
  93. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +109 -109
  94. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +118 -118
  95. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -7
  96. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +149 -149
  97. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +29 -24
  98. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +69 -49
  99. package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +39 -39
  100. package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -2
  101. package/esm2020/lib/view-context/smart-view-context.module.mjs +84 -84
  102. package/esm2020/lib/view-context/smart-view-context.service.mjs +495 -477
  103. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -33
  104. package/esm2020/lib/view-context/value-api/api/api.mjs +4 -4
  105. package/esm2020/lib/view-context/value-api/api/value.service.mjs +138 -138
  106. package/esm2020/lib/view-context/value-api/api.module.mjs +40 -40
  107. package/esm2020/lib/view-context/value-api/configuration.mjs +91 -91
  108. package/esm2020/lib/view-context/value-api/encoder.mjs +19 -19
  109. package/esm2020/lib/view-context/value-api/index.mjs +7 -7
  110. package/esm2020/lib/view-context/value-api/model/models.mjs +9 -9
  111. package/esm2020/lib/view-context/value-api/model/value.mjs +13 -13
  112. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -13
  113. package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -2
  114. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +2 -2
  115. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
  116. package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +2 -2
  117. package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +2 -2
  118. package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
  119. package/esm2020/lib/view-context/value-api/param.mjs +2 -2
  120. package/esm2020/lib/view-context/value-api/variables.mjs +9 -9
  121. package/esm2020/projects.mjs +9 -9
  122. package/esm2020/smartbit4all-ng-client.mjs +4 -4
  123. package/fesm2015/smartbit4all-ng-client.mjs +4301 -4255
  124. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  125. package/fesm2020/smartbit4all-ng-client.mjs +4256 -4215
  126. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  127. package/lib/session/api/api/api.d.ts +3 -3
  128. package/lib/session/api/api/session.service.d.ts +107 -107
  129. package/lib/session/api/configuration.d.ts +104 -104
  130. package/lib/session/api/encoder.d.ts +11 -11
  131. package/lib/session/api/index.d.ts +2 -2
  132. package/lib/session/api/model/accountInfo.d.ts +22 -22
  133. package/lib/session/api/model/apiError.d.ts +15 -15
  134. package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
  135. package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
  136. package/lib/session/api/model/models.d.ts +8 -8
  137. package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
  138. package/lib/session/api/model/session.d.ts +32 -32
  139. package/lib/session/api/model/sessionInfoData.d.ts +22 -22
  140. package/lib/session/api/model/userActivityLog.d.ts +33 -33
  141. package/lib/session/api/param.d.ts +37 -37
  142. package/lib/session/api/variables.d.ts +8 -8
  143. package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
  144. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -28
  145. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -18
  146. package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -15
  147. package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -18
  148. package/lib/session/dev-tool/smart-dev-tool.service.d.ts +55 -55
  149. package/lib/session/projects.d.ts +8 -8
  150. package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
  151. package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
  152. package/lib/session/smart-session-handler.service.d.ts +11 -11
  153. package/lib/session/smart-session.module.d.ts +15 -15
  154. package/lib/session/smart-session.service.d.ts +50 -50
  155. package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
  156. package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
  157. package/lib/smart-client/projects.d.ts +5 -5
  158. package/lib/smart-client/smart-authentication.service.d.ts +12 -12
  159. package/lib/smart-client/smart-component-api-client.d.ts +71 -71
  160. package/lib/smart-client/smart.component.d.ts +11 -11
  161. package/lib/smart-client/smart.service.d.ts +11 -11
  162. package/lib/smart-client/smart.subject.d.ts +6 -6
  163. package/lib/smart-ng-client.module.d.ts +8 -8
  164. package/lib/smart-ng-client.service.d.ts +10 -10
  165. package/lib/view-context/api/api/api.d.ts +3 -3
  166. package/lib/view-context/api/api/view.service.d.ts +266 -266
  167. package/lib/view-context/api/api.module.d.ts +11 -11
  168. package/lib/view-context/api/configuration.d.ts +104 -104
  169. package/lib/view-context/api/encoder.d.ts +11 -11
  170. package/lib/view-context/api/index.d.ts +6 -6
  171. package/lib/view-context/api/model/closeResult.d.ts +17 -17
  172. package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
  173. package/lib/view-context/api/model/componentModel.d.ts +31 -31
  174. package/lib/view-context/api/model/componentModelChange.d.ts +29 -29
  175. package/lib/view-context/api/model/dataChange.d.ts +27 -27
  176. package/lib/view-context/api/model/dataChangeEvent.d.ts +33 -33
  177. package/lib/view-context/api/model/dataChangeKind.d.ts +20 -20
  178. package/lib/view-context/api/model/messageData.d.ts +29 -29
  179. package/lib/view-context/api/model/messageOption.d.ts +20 -20
  180. package/lib/view-context/api/model/messageOptionType.d.ts +17 -17
  181. package/lib/view-context/api/model/messageResult.d.ts +16 -16
  182. package/lib/view-context/api/model/messageType.d.ts +18 -18
  183. package/lib/view-context/api/model/models.d.ts +36 -36
  184. package/lib/view-context/api/model/openPendingData.d.ts +22 -22
  185. package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
  186. package/lib/view-context/api/model/uiAction.d.ts +29 -29
  187. package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
  188. package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -19
  189. package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -24
  190. package/lib/view-context/api/model/uiActionDescriptor.d.ts +34 -34
  191. package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
  192. package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -19
  193. package/lib/view-context/api/model/uiActionInputType.d.ts +18 -18
  194. package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
  195. package/lib/view-context/api/model/valueSet.d.ts +20 -20
  196. package/lib/view-context/api/model/view.d.ts +68 -68
  197. package/lib/view-context/api/model/viewApiError.d.ts +18 -18
  198. package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
  199. package/lib/view-context/api/model/viewContext.d.ts +22 -22
  200. package/lib/view-context/api/model/viewContextChange.d.ts +20 -20
  201. package/lib/view-context/api/model/viewContextData.d.ts +19 -19
  202. package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
  203. package/lib/view-context/api/model/viewData.d.ts +27 -27
  204. package/lib/view-context/api/model/viewEventHandler.d.ts +30 -30
  205. package/lib/view-context/api/model/viewState.d.ts +21 -21
  206. package/lib/view-context/api/model/viewStateUpdate.d.ts +24 -24
  207. package/lib/view-context/api/model/viewType.d.ts +17 -17
  208. package/lib/view-context/api/param.d.ts +37 -37
  209. package/lib/view-context/api/variables.d.ts +8 -8
  210. package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -17
  211. package/lib/view-context/projects.d.ts +13 -13
  212. package/lib/view-context/property-definition-data.d.ts +5 -5
  213. package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
  214. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
  215. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
  216. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
  217. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
  218. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +30 -30
  219. package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -21
  220. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +32 -32
  221. package/lib/view-context/smart-ui-action/ui-action.service.d.ts +31 -31
  222. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
  223. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +19 -19
  224. package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
  225. package/lib/view-context/smart-view-context.model.d.ts +30 -30
  226. package/lib/view-context/smart-view-context.module.d.ts +20 -20
  227. package/lib/view-context/smart-view-context.service.d.ts +99 -96
  228. package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
  229. package/lib/view-context/value-api/api/api.d.ts +3 -3
  230. package/lib/view-context/value-api/api/value.service.d.ts +35 -35
  231. package/lib/view-context/value-api/api.module.d.ts +11 -11
  232. package/lib/view-context/value-api/configuration.d.ts +104 -104
  233. package/lib/view-context/value-api/encoder.d.ts +11 -11
  234. package/lib/view-context/value-api/index.d.ts +6 -6
  235. package/lib/view-context/value-api/model/models.d.ts +8 -8
  236. package/lib/view-context/value-api/model/value.d.ts +29 -29
  237. package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
  238. package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
  239. package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +55 -55
  240. package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +23 -23
  241. package/lib/view-context/value-api/model/valueSetExpression.d.ts +20 -20
  242. package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
  243. package/lib/view-context/value-api/model/valueSetOperation.d.ts +18 -18
  244. package/lib/view-context/value-api/param.d.ts +37 -37
  245. package/lib/view-context/value-api/variables.d.ts +8 -8
  246. package/package.json +1 -1
  247. package/projects.d.ts +5 -5
  248. package/schematics/collection.json +11 -11
  249. package/schematics/smart-component/index.ts +26 -26
  250. package/schematics/smart-component/schema.json +20 -20
  251. package/schematics/smart-component/smart-component.schema.ts +4 -4
  252. package/schematics/smart-component/templates/__name@dasherize__.component.html.template +2 -2
  253. package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +26 -26
  254. package/smartbit4all-ng-client-1.1.25.tgz +0 -0
  255. package/smartbit4all-ng-client.d.ts +5 -5
  256. package/src/lib/session/api/README.md +226 -226
  257. package/src/lib/view-context/api/README.md +226 -226
  258. package/src/lib/view-context/value-api/README.md +226 -226
  259. package/smartbit4all-ng-client-1.1.23.tgz +0 -0
@@ -1,29 +1,29 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export interface Value {
13
- /**
14
- * The uri the object of the value can be accessed.
15
- */
16
- objectUri?: string;
17
- /**
18
- * The logical code of the selectable value.
19
- */
20
- code?: string;
21
- /**
22
- * The string value that can be shown on ui. It might be a label code or the exact label.
23
- */
24
- displayValue?: string;
25
- /**
26
- * The code of icon that can be associatied with the value. It may be a uri.
27
- */
28
- iconCode?: string;
29
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface Value {
13
+ /**
14
+ * The uri the object of the value can be accessed.
15
+ */
16
+ objectUri?: string;
17
+ /**
18
+ * The logical code of the selectable value.
19
+ */
20
+ code?: string;
21
+ /**
22
+ * The string value that can be shown on ui. It might be a label code or the exact label.
23
+ */
24
+ displayValue?: string;
25
+ /**
26
+ * The code of icon that can be associatied with the value. It may be a uri.
27
+ */
28
+ iconCode?: string;
29
+ }
@@ -1,41 +1,41 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { FilterExpressionBuilderModel } from '@smartbit4all/filter';
13
- import { PropertyDefinitionData } from '../../property-definition-data';
14
- /**
15
- * The instance of the ValueSetDefintion that conatins every information inline.
16
- */
17
- export interface ValueSetData {
18
- qualifiedName: string;
19
- /**
20
- * The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set.
21
- */
22
- keyProperty?: string;
23
- properties: Array<PropertyDefinitionData>;
24
- /**
25
- * Optional icon code for the given value set.
26
- */
27
- iconCode?: string;
28
- /**
29
- * If true then the value set is not defined and not accessible.
30
- */
31
- undefined?: boolean;
32
- /**
33
- * If true then the values doesn\'t contains the the whole values set or it migth be empty and we have to ask for filtered set of values using the filter fields available.
34
- */
35
- lazy?: boolean;
36
- values: Array<object>;
37
- /**
38
- * The filter expression model for the search from values.
39
- */
40
- filterModel?: FilterExpressionBuilderModel;
41
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FilterExpressionBuilderModel } from '@smartbit4all/filter';
13
+ import { PropertyDefinitionData } from '../../property-definition-data';
14
+ /**
15
+ * The instance of the ValueSetDefintion that conatins every information inline.
16
+ */
17
+ export interface ValueSetData {
18
+ qualifiedName: string;
19
+ /**
20
+ * The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set.
21
+ */
22
+ keyProperty?: string;
23
+ properties: Array<PropertyDefinitionData>;
24
+ /**
25
+ * Optional icon code for the given value set.
26
+ */
27
+ iconCode?: string;
28
+ /**
29
+ * If true then the value set is not defined and not accessible.
30
+ */
31
+ undefined?: boolean;
32
+ /**
33
+ * If true then the values doesn\'t contains the the whole values set or it migth be empty and we have to ask for filtered set of values using the filter fields available.
34
+ */
35
+ lazy?: boolean;
36
+ values: Array<object>;
37
+ /**
38
+ * The filter expression model for the search from values.
39
+ */
40
+ filterModel?: FilterExpressionBuilderModel;
41
+ }
@@ -1,16 +1,16 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ValueSetDefinitionData } from './valueSetDefinitionData';
13
- export interface ValueSetDefinition {
14
- uri: string;
15
- data: ValueSetDefinitionData;
16
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ValueSetDefinitionData } from './valueSetDefinitionData';
13
+ export interface ValueSetDefinition {
14
+ uri: string;
15
+ data: ValueSetDefinitionData;
16
+ }
@@ -1,55 +1,55 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ValueSetExpression } from './valueSetExpression';
13
- import { ValueSetDefinitionKind } from './valueSetDefinitionKind';
14
- export interface ValueSetDefinitionData {
15
- kind: ValueSetDefinitionKind;
16
- /**
17
- * The logical name of the given value set. In case of an enum it is the fully qualified name of the enum class.
18
- */
19
- qualifiedName: string;
20
- /**
21
- * The object definition of the value set.
22
- */
23
- objectDefinition?: string;
24
- /**
25
- * The fully qualified name of the type class.
26
- */
27
- typeClass?: string;
28
- /**
29
- * The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set. If it is not set then the default is the URI if it exists in the given object. Or it will be the code or id in this order.
30
- */
31
- keyProperty?: string;
32
- /**
33
- * The name of the storage schema. Necessary to access the objects or the container (list or map).
34
- */
35
- storageSchema?: string;
36
- /**
37
- * The name of the list or map that contains the object uri list. It must be a unique name inside the storageSchema.
38
- */
39
- containerName?: string;
40
- /**
41
- * Optional icon code for the given value set.
42
- */
43
- iconCode?: string;
44
- /**
45
- * The value list that contains the value objects.
46
- */
47
- inlineValues?: Array<object>;
48
- /**
49
- * The list of keys. If we have this
50
- */
51
- keys?: Array<object>;
52
- expression?: ValueSetExpression;
53
- }
54
- export declare namespace ValueSetDefinitionData {
55
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ValueSetExpression } from './valueSetExpression';
13
+ import { ValueSetDefinitionKind } from './valueSetDefinitionKind';
14
+ export interface ValueSetDefinitionData {
15
+ kind: ValueSetDefinitionKind;
16
+ /**
17
+ * The logical name of the given value set. In case of an enum it is the fully qualified name of the enum class.
18
+ */
19
+ qualifiedName: string;
20
+ /**
21
+ * The object definition of the value set.
22
+ */
23
+ objectDefinition?: string;
24
+ /**
25
+ * The fully qualified name of the type class.
26
+ */
27
+ typeClass?: string;
28
+ /**
29
+ * The name of the key property in the value. It will be the value that copied into the reference when a given item is selected from the value set. If it is not set then the default is the URI if it exists in the given object. Or it will be the code or id in this order.
30
+ */
31
+ keyProperty?: string;
32
+ /**
33
+ * The name of the storage schema. Necessary to access the objects or the container (list or map).
34
+ */
35
+ storageSchema?: string;
36
+ /**
37
+ * The name of the list or map that contains the object uri list. It must be a unique name inside the storageSchema.
38
+ */
39
+ containerName?: string;
40
+ /**
41
+ * Optional icon code for the given value set.
42
+ */
43
+ iconCode?: string;
44
+ /**
45
+ * The value list that contains the value objects.
46
+ */
47
+ inlineValues?: Array<object>;
48
+ /**
49
+ * The list of keys. If we have this
50
+ */
51
+ keys?: Array<object>;
52
+ expression?: ValueSetExpression;
53
+ }
54
+ export declare namespace ValueSetDefinitionData {
55
+ }
@@ -1,23 +1,23 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare type ValueSetDefinitionKind = 'ENUM' | 'INLINE' | 'LIST' | 'MAP' | 'ALLOF' | 'SETOF' | 'SEARCHINDEXBASED' | 'COMPOSITE' | 'UNDEFINED';
13
- export declare const ValueSetDefinitionKind: {
14
- Enum: ValueSetDefinitionKind;
15
- Inline: ValueSetDefinitionKind;
16
- List: ValueSetDefinitionKind;
17
- Map: ValueSetDefinitionKind;
18
- Allof: ValueSetDefinitionKind;
19
- Setof: ValueSetDefinitionKind;
20
- Searchindexbased: ValueSetDefinitionKind;
21
- Composite: ValueSetDefinitionKind;
22
- Undefined: ValueSetDefinitionKind;
23
- };
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare type ValueSetDefinitionKind = 'ENUM' | 'INLINE' | 'LIST' | 'MAP' | 'ALLOF' | 'SETOF' | 'SEARCHINDEXBASED' | 'COMPOSITE' | 'UNDEFINED';
13
+ export declare const ValueSetDefinitionKind: {
14
+ Enum: ValueSetDefinitionKind;
15
+ Inline: ValueSetDefinitionKind;
16
+ List: ValueSetDefinitionKind;
17
+ Map: ValueSetDefinitionKind;
18
+ Allof: ValueSetDefinitionKind;
19
+ Setof: ValueSetDefinitionKind;
20
+ Searchindexbased: ValueSetDefinitionKind;
21
+ Composite: ValueSetDefinitionKind;
22
+ Undefined: ValueSetDefinitionKind;
23
+ };
@@ -1,20 +1,20 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ValueSetOperand } from './valueSetOperand';
13
- import { ValueSetOperation } from './valueSetOperation';
14
- export interface ValueSetExpression {
15
- operation: ValueSetOperation;
16
- ignoreVersion: boolean;
17
- operands: Array<ValueSetOperand>;
18
- }
19
- export declare namespace ValueSetExpression {
20
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ValueSetOperand } from './valueSetOperand';
13
+ import { ValueSetOperation } from './valueSetOperation';
14
+ export interface ValueSetExpression {
15
+ operation: ValueSetOperation;
16
+ ignoreVersion: boolean;
17
+ operands: Array<ValueSetOperand>;
18
+ }
19
+ export declare namespace ValueSetExpression {
20
+ }
@@ -1,25 +1,25 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ValueSetExpression } from './valueSetExpression';
13
- import { ValueSetDefinitionData } from './valueSetDefinitionData';
14
- export interface ValueSetOperand {
15
- /**
16
- * The namespace of the referred value set.
17
- */
18
- namespace: string;
19
- /**
20
- * The name of the referred value set.
21
- */
22
- name: string;
23
- data?: ValueSetDefinitionData;
24
- expression?: ValueSetExpression;
25
- }
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ValueSetExpression } from './valueSetExpression';
13
+ import { ValueSetDefinitionData } from './valueSetDefinitionData';
14
+ export interface ValueSetOperand {
15
+ /**
16
+ * The namespace of the referred value set.
17
+ */
18
+ namespace: string;
19
+ /**
20
+ * The name of the referred value set.
21
+ */
22
+ name: string;
23
+ data?: ValueSetDefinitionData;
24
+ expression?: ValueSetExpression;
25
+ }
@@ -1,18 +1,18 @@
1
- /**
2
- * value api
3
- * value api
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare type ValueSetOperation = 'UNION' | 'INTERSECT' | 'DIF' | 'SYMMETRICDIF';
13
- export declare const ValueSetOperation: {
14
- Union: ValueSetOperation;
15
- Intersect: ValueSetOperation;
16
- Dif: ValueSetOperation;
17
- Symmetricdif: ValueSetOperation;
18
- };
1
+ /**
2
+ * value api
3
+ * value api
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare type ValueSetOperation = 'UNION' | 'INTERSECT' | 'DIF' | 'SYMMETRICDIF';
13
+ export declare const ValueSetOperation: {
14
+ Union: ValueSetOperation;
15
+ Intersect: ValueSetOperation;
16
+ Dif: ValueSetOperation;
17
+ Symmetricdif: ValueSetOperation;
18
+ };
@@ -1,37 +1,37 @@
1
- /**
2
- * Standard parameter styles defined by OpenAPI spec
3
- */
4
- export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
5
- /**
6
- * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
7
- */
8
- export declare type ParamStyle = StandardParamStyle | string;
9
- /**
10
- * Standard parameter locations defined by OpenAPI spec
11
- */
12
- export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
13
- /**
14
- * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
15
- */
16
- export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
17
- /**
18
- * Standard {@link DataType}s plus your own types/classes.
19
- */
20
- export declare type DataType = StandardDataType | string;
21
- /**
22
- * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
23
- */
24
- export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
25
- export declare type DataFormat = StandardDataFormat | string;
26
- /**
27
- * The parameter to encode.
28
- */
29
- export interface Param {
30
- name: string;
31
- value: unknown;
32
- in: ParamLocation;
33
- style: ParamStyle;
34
- explode: boolean;
35
- dataType: DataType;
36
- dataFormat: DataFormat | undefined;
37
- }
1
+ /**
2
+ * Standard parameter styles defined by OpenAPI spec
3
+ */
4
+ export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
5
+ /**
6
+ * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
7
+ */
8
+ export declare type ParamStyle = StandardParamStyle | string;
9
+ /**
10
+ * Standard parameter locations defined by OpenAPI spec
11
+ */
12
+ export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
13
+ /**
14
+ * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
15
+ */
16
+ export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
17
+ /**
18
+ * Standard {@link DataType}s plus your own types/classes.
19
+ */
20
+ export declare type DataType = StandardDataType | string;
21
+ /**
22
+ * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
23
+ */
24
+ export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
25
+ export declare type DataFormat = StandardDataFormat | string;
26
+ /**
27
+ * The parameter to encode.
28
+ */
29
+ export interface Param {
30
+ name: string;
31
+ value: unknown;
32
+ in: ParamLocation;
33
+ style: ParamStyle;
34
+ explode: boolean;
35
+ dataType: DataType;
36
+ dataFormat: DataFormat | undefined;
37
+ }
@@ -1,8 +1,8 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const BASE_PATH: InjectionToken<string>;
3
- export declare const COLLECTION_FORMATS: {
4
- csv: string;
5
- tsv: string;
6
- ssv: string;
7
- pipes: string;
8
- };
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const BASE_PATH: InjectionToken<string>;
3
+ export declare const COLLECTION_FORMATS: {
4
+ csv: string;
5
+ tsv: string;
6
+ ssv: string;
7
+ pipes: string;
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^13.2.0",
package/projects.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./lib/smart-ng-client.service";
2
- export * from "./lib/smart-ng-client.module";
3
- export * from "./lib/view-context/projects";
4
- export * from "./lib/session/projects";
5
- export * from "./lib/smart-client/projects";
1
+ export * from "./lib/smart-ng-client.service";
2
+ export * from "./lib/smart-ng-client.module";
3
+ export * from "./lib/view-context/projects";
4
+ export * from "./lib/session/projects";
5
+ export * from "./lib/smart-client/projects";
@@ -1,11 +1,11 @@
1
- {
2
- "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "smart-component": {
5
- "description": "This schematic generates a component that extends SmartComponent.",
6
- "factory": "./smart-component/index#smartComponentGenerator",
7
- "schema": "./smart-component/schema.json",
8
- "aliases": ["sc"]
9
- }
10
- }
11
- }
1
+ {
2
+ "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "schematics": {
4
+ "smart-component": {
5
+ "description": "This schematic generates a component that extends SmartComponent.",
6
+ "factory": "./smart-component/index#smartComponentGenerator",
7
+ "schema": "./smart-component/schema.json",
8
+ "aliases": ["sc"]
9
+ }
10
+ }
11
+ }
@@ -1,26 +1,26 @@
1
- import {
2
- Rule,
3
- apply,
4
- applyTemplates,
5
- chain,
6
- mergeWith,
7
- move,
8
- url,
9
- } from "@angular-devkit/schematics";
10
- import { SmartComponentSchema } from "./smart-component.schema";
11
- import { normalize, strings } from "@angular-devkit/core";
12
-
13
- export function smartComponentGenerator(options: SmartComponentSchema): Rule {
14
- return () => {
15
- const templateSource = apply(url("./templates"), [
16
- applyTemplates({
17
- classify: strings.classify,
18
- dasherize: strings.dasherize,
19
- name: options.name,
20
- }),
21
- move(normalize(`/${options.path}/${strings.dasherize(options.name)}`)),
22
- ]);
23
-
24
- return chain([mergeWith(templateSource)]);
25
- };
26
- }
1
+ import {
2
+ Rule,
3
+ apply,
4
+ applyTemplates,
5
+ chain,
6
+ mergeWith,
7
+ move,
8
+ url,
9
+ } from "@angular-devkit/schematics";
10
+ import { SmartComponentSchema } from "./smart-component.schema";
11
+ import { normalize, strings } from "@angular-devkit/core";
12
+
13
+ export function smartComponentGenerator(options: SmartComponentSchema): Rule {
14
+ return () => {
15
+ const templateSource = apply(url("./templates"), [
16
+ applyTemplates({
17
+ classify: strings.classify,
18
+ dasherize: strings.dasherize,
19
+ name: options.name,
20
+ }),
21
+ move(normalize(`/${options.path}/${strings.dasherize(options.name)}`)),
22
+ ]);
23
+
24
+ return chain([mergeWith(templateSource)]);
25
+ };
26
+ }