@smartbit4all/ng-client 1.0.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 (202) hide show
  1. package/README.md +386 -0
  2. package/esm2020/lib/session/api/api/api.mjs +4 -0
  3. package/esm2020/lib/session/api/api/session.service.mjs +306 -0
  4. package/esm2020/lib/session/api/configuration.mjs +91 -0
  5. package/esm2020/lib/session/api/encoder.mjs +19 -0
  6. package/esm2020/lib/session/api/index.mjs +3 -0
  7. package/esm2020/lib/session/api/model/accountInfo.mjs +13 -0
  8. package/esm2020/lib/session/api/model/apiError.mjs +13 -0
  9. package/esm2020/lib/session/api/model/authenticationProviderData.mjs +13 -0
  10. package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +2 -0
  11. package/esm2020/lib/session/api/model/models.mjs +9 -0
  12. package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +13 -0
  13. package/esm2020/lib/session/api/model/session.mjs +2 -0
  14. package/esm2020/lib/session/api/model/sessionInfoData.mjs +2 -0
  15. package/esm2020/lib/session/api/model/userActivityLog.mjs +13 -0
  16. package/esm2020/lib/session/api/param.mjs +2 -0
  17. package/esm2020/lib/session/api/variables.mjs +9 -0
  18. package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +225 -0
  19. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +90 -0
  20. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +43 -0
  21. package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +40 -0
  22. package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +52 -0
  23. package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +161 -0
  24. package/esm2020/lib/session/projects.mjs +12 -0
  25. package/esm2020/lib/session/smart-error-catching.interceptor.mjs +71 -0
  26. package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +36 -0
  27. package/esm2020/lib/session/smart-session-handler.service.mjs +6 -0
  28. package/esm2020/lib/session/smart-session.module.mjs +74 -0
  29. package/esm2020/lib/session/smart-session.service.mjs +204 -0
  30. package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -0
  31. package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +51 -0
  32. package/esm2020/lib/smart-ng-client.module.mjs +20 -0
  33. package/esm2020/lib/smart-ng-client.service.mjs +19 -0
  34. package/esm2020/lib/view-context/api/api/api.mjs +4 -0
  35. package/esm2020/lib/view-context/api/api/view.service.mjs +401 -0
  36. package/esm2020/lib/view-context/api/api.module.mjs +40 -0
  37. package/esm2020/lib/view-context/api/configuration.mjs +91 -0
  38. package/esm2020/lib/view-context/api/encoder.mjs +19 -0
  39. package/esm2020/lib/view-context/api/index.mjs +7 -0
  40. package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -0
  41. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -0
  42. package/esm2020/lib/view-context/api/model/messageData.mjs +2 -0
  43. package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -0
  44. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -0
  45. package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -0
  46. package/esm2020/lib/view-context/api/model/messageType.mjs +18 -0
  47. package/esm2020/lib/view-context/api/model/models.mjs +29 -0
  48. package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -0
  49. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -0
  50. package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -0
  51. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -0
  52. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -0
  53. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -0
  54. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +2 -0
  55. package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +2 -0
  56. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +16 -0
  57. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +18 -0
  58. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -0
  59. package/esm2020/lib/view-context/api/model/view.mjs +2 -0
  60. package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -0
  61. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -0
  62. package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -0
  63. package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -0
  64. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -0
  65. package/esm2020/lib/view-context/api/model/viewData.mjs +2 -0
  66. package/esm2020/lib/view-context/api/model/viewState.mjs +21 -0
  67. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -0
  68. package/esm2020/lib/view-context/api/model/viewType.mjs +17 -0
  69. package/esm2020/lib/view-context/api/param.mjs +2 -0
  70. package/esm2020/lib/view-context/api/variables.mjs +9 -0
  71. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -0
  72. package/esm2020/lib/view-context/projects.mjs +17 -0
  73. package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -0
  74. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -0
  75. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +47 -0
  76. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +112 -0
  77. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +51 -0
  78. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +81 -0
  79. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +113 -0
  80. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -0
  81. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +149 -0
  82. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +24 -0
  83. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +44 -0
  84. package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +28 -0
  85. package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -0
  86. package/esm2020/lib/view-context/smart-view-context.module.mjs +84 -0
  87. package/esm2020/lib/view-context/smart-view-context.service.mjs +310 -0
  88. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -0
  89. package/esm2020/lib/view-context/value-api/api.module.mjs +40 -0
  90. package/esm2020/lib/view-context/value-api/configuration.mjs +91 -0
  91. package/esm2020/lib/view-context/value-api/index.mjs +6 -0
  92. package/esm2020/lib/view-context/value-api/model/models.mjs +2 -0
  93. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -0
  94. package/esm2020/lib/view-context/value-api/param.mjs +2 -0
  95. package/esm2020/lib/view-context/value-api/variables.mjs +9 -0
  96. package/esm2020/projects.mjs +8 -0
  97. package/esm2020/smartbit4all-ng-client.mjs +5 -0
  98. package/fesm2015/smartbit4all-ng-client.mjs +3418 -0
  99. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -0
  100. package/fesm2020/smartbit4all-ng-client.mjs +3423 -0
  101. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -0
  102. package/lib/session/api/api/api.d.ts +3 -0
  103. package/lib/session/api/api/session.service.d.ts +107 -0
  104. package/lib/session/api/configuration.d.ts +104 -0
  105. package/lib/session/api/encoder.d.ts +11 -0
  106. package/lib/session/api/index.d.ts +2 -0
  107. package/lib/session/api/model/accountInfo.d.ts +22 -0
  108. package/lib/session/api/model/apiError.d.ts +15 -0
  109. package/lib/session/api/model/authenticationProviderData.d.ts +17 -0
  110. package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -0
  111. package/lib/session/api/model/models.d.ts +8 -0
  112. package/lib/session/api/model/refreshSessionRequest.d.ts +14 -0
  113. package/lib/session/api/model/session.d.ts +32 -0
  114. package/lib/session/api/model/sessionInfoData.d.ts +22 -0
  115. package/lib/session/api/model/userActivityLog.d.ts +33 -0
  116. package/lib/session/api/param.d.ts +37 -0
  117. package/lib/session/api/variables.d.ts +8 -0
  118. package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -0
  119. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -0
  120. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -0
  121. package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -0
  122. package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -0
  123. package/lib/session/dev-tool/smart-dev-tool.service.d.ts +55 -0
  124. package/lib/session/projects.d.ts +8 -0
  125. package/lib/session/smart-error-catching.interceptor.d.ts +13 -0
  126. package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -0
  127. package/lib/session/smart-session-handler.service.d.ts +11 -0
  128. package/lib/session/smart-session.module.d.ts +15 -0
  129. package/lib/session/smart-session.service.d.ts +50 -0
  130. package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -0
  131. package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -0
  132. package/lib/smart-ng-client.module.d.ts +8 -0
  133. package/lib/smart-ng-client.service.d.ts +10 -0
  134. package/lib/view-context/api/api/api.d.ts +3 -0
  135. package/lib/view-context/api/api/view.service.d.ts +147 -0
  136. package/lib/view-context/api/api.module.d.ts +11 -0
  137. package/lib/view-context/api/configuration.d.ts +104 -0
  138. package/lib/view-context/api/encoder.d.ts +11 -0
  139. package/lib/view-context/api/index.d.ts +6 -0
  140. package/lib/view-context/api/model/closeResult.d.ts +17 -0
  141. package/lib/view-context/api/model/componentConstraint.d.ts +25 -0
  142. package/lib/view-context/api/model/messageData.d.ts +27 -0
  143. package/lib/view-context/api/model/messageOption.d.ts +18 -0
  144. package/lib/view-context/api/model/messageOptionType.d.ts +17 -0
  145. package/lib/view-context/api/model/messageResult.d.ts +16 -0
  146. package/lib/view-context/api/model/messageType.d.ts +18 -0
  147. package/lib/view-context/api/model/models.d.ts +28 -0
  148. package/lib/view-context/api/model/openPendingData.d.ts +22 -0
  149. package/lib/view-context/api/model/smartLinkData.d.ts +21 -0
  150. package/lib/view-context/api/model/uiAction.d.ts +26 -0
  151. package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -0
  152. package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -0
  153. package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -0
  154. package/lib/view-context/api/model/uiActionDescriptor.d.ts +32 -0
  155. package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +22 -0
  156. package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -0
  157. package/lib/view-context/api/model/uiActionInputType.d.ts +18 -0
  158. package/lib/view-context/api/model/uiActionRequest.d.ts +27 -0
  159. package/lib/view-context/api/model/view.d.ts +36 -0
  160. package/lib/view-context/api/model/viewApiError.d.ts +18 -0
  161. package/lib/view-context/api/model/viewConstraint.d.ts +18 -0
  162. package/lib/view-context/api/model/viewContext.d.ts +22 -0
  163. package/lib/view-context/api/model/viewContextData.d.ts +19 -0
  164. package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -0
  165. package/lib/view-context/api/model/viewData.d.ts +25 -0
  166. package/lib/view-context/api/model/viewState.d.ts +21 -0
  167. package/lib/view-context/api/model/viewStateUpdate.d.ts +22 -0
  168. package/lib/view-context/api/model/viewType.d.ts +17 -0
  169. package/lib/view-context/api/param.d.ts +37 -0
  170. package/lib/view-context/api/variables.d.ts +8 -0
  171. package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -0
  172. package/lib/view-context/projects.d.ts +13 -0
  173. package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -0
  174. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -0
  175. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -0
  176. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +28 -0
  177. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -0
  178. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +24 -0
  179. package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -0
  180. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +30 -0
  181. package/lib/view-context/smart-ui-action/ui-action.service.d.ts +21 -0
  182. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -0
  183. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +17 -0
  184. package/lib/view-context/smart-view-context.interceptor.d.ts +13 -0
  185. package/lib/view-context/smart-view-context.model.d.ts +30 -0
  186. package/lib/view-context/smart-view-context.module.d.ts +20 -0
  187. package/lib/view-context/smart-view-context.service.d.ts +60 -0
  188. package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -0
  189. package/lib/view-context/value-api/api.module.d.ts +11 -0
  190. package/lib/view-context/value-api/configuration.d.ts +104 -0
  191. package/lib/view-context/value-api/index.d.ts +5 -0
  192. package/lib/view-context/value-api/model/models.d.ts +1 -0
  193. package/lib/view-context/value-api/model/valueSetData.d.ts +39 -0
  194. package/lib/view-context/value-api/param.d.ts +37 -0
  195. package/lib/view-context/value-api/variables.d.ts +8 -0
  196. package/package.json +38 -0
  197. package/projects.d.ts +4 -0
  198. package/smartbit4all-ng-client-1.0.0.tgz +0 -0
  199. package/smartbit4all-ng-client.d.ts +5 -0
  200. package/src/lib/session/api/README.md +226 -0
  201. package/src/lib/view-context/api/README.md +226 -0
  202. package/src/lib/view-context/value-api/README.md +226 -0
@@ -0,0 +1,16 @@
1
+ /**
2
+ * View API
3
+ * View 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 { MessageOption } from './messageOption';
13
+ export interface MessageResult {
14
+ selectedOption: MessageOption;
15
+ additionalData?: object;
16
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * View API
3
+ * View 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 MessageType = 'info' | 'question' | 'warning' | 'error';
13
+ export declare const MessageType: {
14
+ Info: MessageType;
15
+ Question: MessageType;
16
+ Warning: MessageType;
17
+ Error: MessageType;
18
+ };
@@ -0,0 +1,28 @@
1
+ export * from './closeResult';
2
+ export * from './componentConstraint';
3
+ export * from './messageData';
4
+ export * from './messageOption';
5
+ export * from './messageOptionType';
6
+ export * from './messageResult';
7
+ export * from './messageType';
8
+ export * from './openPendingData';
9
+ export * from './smartLinkData';
10
+ export * from './uiAction';
11
+ export * from './uiActionButtonDescriptor';
12
+ export * from './uiActionButtonIconPos';
13
+ export * from './uiActionButtonType';
14
+ export * from './uiActionDescriptor';
15
+ export * from './uiActionDialogDescriptor';
16
+ export * from './uiActionFeedbackType';
17
+ export * from './uiActionInputType';
18
+ export * from './uiActionRequest';
19
+ export * from './view';
20
+ export * from './viewApiError';
21
+ export * from './viewConstraint';
22
+ export * from './viewContext';
23
+ export * from './viewContextData';
24
+ export * from './viewContextUpdate';
25
+ export * from './viewData';
26
+ export * from './viewState';
27
+ export * from './viewStateUpdate';
28
+ export * from './viewType';
@@ -0,0 +1,22 @@
1
+ /**
2
+ * View API
3
+ * View 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 { CloseResult } from './closeResult';
13
+ /**
14
+ * All information regarding opening a view.
15
+ */
16
+ export interface OpenPendingData {
17
+ viewToOpen?: string;
18
+ viewsToClose?: Array<string>;
19
+ results: {
20
+ [key: string]: CloseResult;
21
+ };
22
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * View API
3
+ * View 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 { View } from './view';
13
+ /**
14
+ * Represents a stored smartlink. Contains identifiers and a View, which will be opened, when this smartlink is clicked.
15
+ */
16
+ export interface SmartLinkData {
17
+ uri?: string;
18
+ uuid?: string;
19
+ view?: View;
20
+ url?: string;
21
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * View API
3
+ * View 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 { UiActionInputType } from './uiActionInputType';
13
+ export interface UiAction {
14
+ code?: string;
15
+ identifier?: string;
16
+ inputType?: UiActionInputType;
17
+ input2Type?: UiActionInputType;
18
+ submit?: boolean;
19
+ confirm?: boolean;
20
+ /**
21
+ * Additional parameters for executing the UI action.
22
+ */
23
+ params?: {
24
+ [key: string]: any;
25
+ };
26
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * View API
3
+ * View 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
+ /**
13
+ * Describes a button which is presented on the UiAction dialog.
14
+ */
15
+ export interface UiActionButtonDescriptor {
16
+ caption: string;
17
+ color: string;
18
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * View API
3
+ * View 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
+ /**
13
+ * Defines the position of an icon related to the button\'s label.
14
+ */
15
+ export declare type UiActionButtonIconPos = 'PRE' | 'POST';
16
+ export declare const UiActionButtonIconPos: {
17
+ Pre: UiActionButtonIconPos;
18
+ Post: UiActionButtonIconPos;
19
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * View API
3
+ * View 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
+ /**
13
+ * Defines the type of the button.
14
+ */
15
+ export declare type UiActionButtonType = 'NORMAL' | 'FLAT' | 'STROKED' | 'RAISED' | 'ICON' | 'MINI_FAB' | 'FAB';
16
+ export declare const UiActionButtonType: {
17
+ Normal: UiActionButtonType;
18
+ Flat: UiActionButtonType;
19
+ Stroked: UiActionButtonType;
20
+ Raised: UiActionButtonType;
21
+ Icon: UiActionButtonType;
22
+ MiniFab: UiActionButtonType;
23
+ Fab: UiActionButtonType;
24
+ };
@@ -0,0 +1,32 @@
1
+ /**
2
+ * View API
3
+ * View 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 { UiActionButtonIconPos } from './uiActionButtonIconPos';
13
+ import { UiActionFeedbackType } from './uiActionFeedbackType';
14
+ import { UiActionDialogDescriptor } from './uiActionDialogDescriptor';
15
+ import { UiActionButtonType } from './uiActionButtonType';
16
+ /**
17
+ * Describes the appearance (as a button) and the properties of the related dialogs of a UiAction.
18
+ */
19
+ export interface UiActionDescriptor {
20
+ title: string;
21
+ type: UiActionButtonType;
22
+ color: string;
23
+ icon?: string;
24
+ iconColor?: string;
25
+ iconPosition?: UiActionButtonIconPos;
26
+ dialog?: UiActionDialogDescriptor;
27
+ confirmDialog?: UiActionDialogDescriptor;
28
+ inputDialog?: UiActionDialogDescriptor;
29
+ input2Dialog?: UiActionDialogDescriptor;
30
+ feedbackType?: UiActionFeedbackType;
31
+ feedbackText?: string;
32
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * View API
3
+ * View 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 { UiActionButtonDescriptor } from './uiActionButtonDescriptor';
13
+ /**
14
+ * Describes the look of a dialog that is related to a specific UiAction.
15
+ */
16
+ export interface UiActionDialogDescriptor {
17
+ title: string;
18
+ placeholder?: string;
19
+ text?: string;
20
+ actionButton: UiActionButtonDescriptor;
21
+ cancelButton: UiActionButtonDescriptor;
22
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * View API
3
+ * View 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
+ /**
13
+ * Defines the possible feedback types which are shown if a UiAction was completed.
14
+ */
15
+ export declare type UiActionFeedbackType = 'NONE' | 'SNACKBAR';
16
+ export declare const UiActionFeedbackType: {
17
+ None: UiActionFeedbackType;
18
+ Snackbar: UiActionFeedbackType;
19
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * View API
3
+ * View 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 UiActionInputType = 'none' | 'textfield' | 'textarea' | 'user_select';
13
+ export declare const UiActionInputType: {
14
+ None: UiActionInputType;
15
+ Textfield: UiActionInputType;
16
+ Textarea: UiActionInputType;
17
+ UserSelect: UiActionInputType;
18
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * View API
3
+ * View 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 UiActionRequest {
13
+ /**
14
+ * Code of the executed UI action.
15
+ */
16
+ code: string;
17
+ /**
18
+ * Identifier of UI element, or UI action, where action is performed (for example treeNode\'s / listItem\'s identifier, etc.). Optional.
19
+ */
20
+ identifier?: string;
21
+ /**
22
+ * Additional parameters for executing the UI action.
23
+ */
24
+ params: {
25
+ [key: string]: any;
26
+ };
27
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * View API
3
+ * View 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 { ViewState } from './viewState';
13
+ import { ViewType } from './viewType';
14
+ import { ViewConstraint } from './viewConstraint';
15
+ export interface View {
16
+ /**
17
+ * Unique identifier of the View.
18
+ */
19
+ uuid: string;
20
+ viewName: string;
21
+ objectUri?: string;
22
+ branchUri?: string;
23
+ parameters: {
24
+ [key: string]: any;
25
+ };
26
+ state: ViewState;
27
+ type: ViewType;
28
+ containerUuid?: string;
29
+ model?: object;
30
+ constraint?: ViewConstraint;
31
+ closedChildrenViews: Array<View>;
32
+ downloadableItems: {
33
+ [key: string]: string;
34
+ };
35
+ keepModelOnImplicitClose?: boolean;
36
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * View API
3
+ * View 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
+ /**
13
+ * Generic API error object.
14
+ */
15
+ export interface ViewApiError {
16
+ code?: string;
17
+ message?: string;
18
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * View API
3
+ * View 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 { ComponentConstraint } from './componentConstraint';
13
+ /**
14
+ * The view constraint object encapsulate the constraints can be applied to any view genericly. It consists of compenet constraints and many more.
15
+ */
16
+ export interface ViewConstraint {
17
+ componentConstraints: Array<ComponentConstraint>;
18
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * View API
3
+ * View 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 { OpenPendingData } from './openPendingData';
13
+ import { View } from './view';
14
+ /**
15
+ * The same session can be valid / used in multiple UIs, this object represents a UI.
16
+ */
17
+ export interface ViewContext {
18
+ uri: string;
19
+ uuid?: string;
20
+ views: Array<View>;
21
+ openPendingData?: OpenPendingData;
22
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * View API
3
+ * View 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 { ViewData } from './viewData';
13
+ /**
14
+ * The same session can be valid / used in multiple UIs, this object represents a UI.
15
+ */
16
+ export interface ViewContextData {
17
+ uuid?: string;
18
+ views: Array<ViewData>;
19
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * View API
3
+ * View 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 { ViewStateUpdate } from './viewStateUpdate';
13
+ /**
14
+ * State update of a ViewContext.
15
+ */
16
+ export interface ViewContextUpdate {
17
+ /**
18
+ * ViewContext\'s unique identifier.
19
+ */
20
+ uuid?: string;
21
+ updates?: Array<ViewStateUpdate>;
22
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * View API
3
+ * View 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 { MessageData } from './messageData';
13
+ import { ViewState } from './viewState';
14
+ import { ViewType } from './viewType';
15
+ export interface ViewData {
16
+ /**
17
+ * Unique identifier of the View.
18
+ */
19
+ uuid: string;
20
+ viewName: string;
21
+ message?: MessageData;
22
+ state: ViewState;
23
+ type: ViewType;
24
+ containerUuid?: string;
25
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * View API
3
+ * View 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 ViewState = 'open_pending' | 'to_open' | 'opened' | 'close_pending' | 'close_approved' | 'to_close' | 'closed';
13
+ export declare const ViewState: {
14
+ OpenPending: ViewState;
15
+ ToOpen: ViewState;
16
+ Opened: ViewState;
17
+ ClosePending: ViewState;
18
+ CloseApproved: ViewState;
19
+ ToClose: ViewState;
20
+ Closed: ViewState;
21
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * View API
3
+ * View 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 { ViewState } from './viewState';
13
+ /**
14
+ * State update of a view.
15
+ */
16
+ export interface ViewStateUpdate {
17
+ /**
18
+ * ViewContext\'s unique identifier.
19
+ */
20
+ uuid?: string;
21
+ state?: ViewState;
22
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * View API
3
+ * View 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 ViewType = 'normal' | 'dialog' | 'embedded';
13
+ export declare const ViewType: {
14
+ Normal: ViewType;
15
+ Dialog: ViewType;
16
+ Embedded: ViewType;
17
+ };
@@ -0,0 +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
+ }
@@ -0,0 +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
+ };
@@ -0,0 +1,17 @@
1
+ import { OnDestroy, OnInit } from "@angular/core";
2
+ import { MessageData, MessageOption } from "../api";
3
+ import { SmartViewContextService } from "../smart-view-context.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class MessageDialogComponent implements OnInit, OnDestroy {
6
+ private viewContext;
7
+ messageData: MessageData;
8
+ constructor(viewContext: SmartViewContextService);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ getMessageData(): Promise<void>;
12
+ getColor(option: MessageOption): string;
13
+ getType(option: MessageOption): string;
14
+ onClick(selectedOption: MessageOption): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageDialogComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageDialogComponent, "app-message-dialog", never, {}, {}, never, never>;
17
+ }
@@ -0,0 +1,13 @@
1
+ export * from "./smart-view-context.service";
2
+ export * from "./smart-view-context.model";
3
+ export * from "./smart-view-context.module";
4
+ export * from "./smart-view-redirect/smart-view-redirect";
5
+ export * from "./api/index";
6
+ export * from "./smart-ui-action/ui-action-toolbar.component";
7
+ export * from "./smart-ui-action/ui-action.service";
8
+ export * from "./smart-ui-action/ui-action.model";
9
+ export * from "./smart-ui-action/ui-action.descriptor.service";
10
+ export * from "./smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service";
11
+ export * from "./smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component";
12
+ export * from "./smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service";
13
+ export * from "./smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component";
@@ -0,0 +1,13 @@
1
+ import { UiAction } from "../../../api";
2
+ import { SmartViewContextService } from "../../../smart-view-context.service";
3
+ import { UiActionDescriptorService } from "../../ui-action.descriptor.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class SuccessSnackBarComponent {
6
+ data: UiAction;
7
+ private viewContext;
8
+ private manager;
9
+ text?: string;
10
+ constructor(data: UiAction, viewContext: SmartViewContextService, manager: UiActionDescriptorService);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SuccessSnackBarComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<SuccessSnackBarComponent, "app-success-snack-bar", never, {}, {}, never, never>;
13
+ }