@smartbit4all/ng-client 3.3.152 → 3.3.153

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 (28) hide show
  1. package/esm2020/lib/smart-client/smart-component-api-client.mjs +8 -1
  2. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  3. package/esm2020/lib/view-context/api/model/models.mjs +5 -1
  4. package/esm2020/lib/view-context/api/model/serverRequestExecutionStat.mjs +2 -0
  5. package/esm2020/lib/view-context/api/model/serverRequestTrack.mjs +2 -0
  6. package/esm2020/lib/view-context/api/model/serverRequestType.mjs +24 -0
  7. package/esm2020/lib/view-context/api/model/statisticRecord.mjs +13 -0
  8. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  9. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  10. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  11. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  12. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  13. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  14. package/fesm2015/smartbit4all-ng-client.mjs +34 -3
  15. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  16. package/fesm2020/smartbit4all-ng-client.mjs +44 -1
  17. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  18. package/lib/view-context/api/model/componentModel.d.ts +1 -0
  19. package/lib/view-context/api/model/models.d.ts +4 -0
  20. package/lib/view-context/api/model/serverRequestExecutionStat.d.ts +40 -0
  21. package/lib/view-context/api/model/serverRequestTrack.d.ts +60 -0
  22. package/lib/view-context/api/model/serverRequestType.d.ts +22 -0
  23. package/lib/view-context/api/model/statisticRecord.d.ts +36 -0
  24. package/lib/view-context/api/model/view.d.ts +1 -0
  25. package/lib/view-context/api/model/viewContext.d.ts +2 -0
  26. package/package.json +1 -1
  27. package/smartbit4all-ng-client-3.3.153.tgz +0 -0
  28. package/smartbit4all-ng-client-3.3.152.tgz +0 -0
@@ -38,4 +38,5 @@ export interface ComponentModel {
38
38
  */
39
39
  widgets?: Array<string>;
40
40
  style?: Style;
41
+ parentStyle?: Style;
41
42
  }
@@ -16,7 +16,11 @@ export * from './messageResult';
16
16
  export * from './messageTextType';
17
17
  export * from './messageType';
18
18
  export * from './openPendingData';
19
+ export * from './serverRequestExecutionStat';
20
+ export * from './serverRequestTrack';
21
+ export * from './serverRequestType';
19
22
  export * from './smartLinkData';
23
+ export * from './statisticRecord';
20
24
  export * from './style';
21
25
  export * from './uiAction';
22
26
  export * from './uiActionButtonDescriptor';
@@ -0,0 +1,40 @@
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 { ServerRequestType } from './serverRequestType';
13
+ import { StatisticRecord } from './statisticRecord';
14
+ /**
15
+ * The server request execution statistic is an object for the actuator infrastructure. It is initiated for every view-widget-action and contains the minimum, average and maximum execution times. It collects from the server start.
16
+ */
17
+ export interface ServerRequestExecutionStat {
18
+ /**
19
+ * The identifier of the statistical entry. The view - widget - action format.
20
+ */
21
+ id?: string;
22
+ /**
23
+ * The name of the view the request is performed on.
24
+ */
25
+ viewName?: string;
26
+ /**
27
+ * The identifier of the widget if it is a widget action perform.
28
+ */
29
+ widgetId?: string;
30
+ /**
31
+ * The identifier of the action performed.
32
+ */
33
+ actionCode?: string;
34
+ fullStat?: StatisticRecord;
35
+ writeCount?: StatisticRecord;
36
+ writeStat?: StatisticRecord;
37
+ readCount?: StatisticRecord;
38
+ readStat?: StatisticRecord;
39
+ type?: ServerRequestType;
40
+ }
@@ -0,0 +1,60 @@
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 { ServerRequestType } from './serverRequestType';
13
+ import { UiActionRequest } from './uiActionRequest';
14
+ /**
15
+ * The server request track is an object encapsulates the UiRequest and other parameters of the perform actions. It stands for normal and widget actions also.
16
+ */
17
+ export interface ServerRequestTrack {
18
+ /**
19
+ * The name of the view the request is performed on.
20
+ */
21
+ viewName: string;
22
+ /**
23
+ * The UUID of the view the request is performed on.
24
+ */
25
+ viewUuid: string;
26
+ /**
27
+ * The identifier of the widget if it is a widget action perform.
28
+ */
29
+ widgetId?: string;
30
+ /**
31
+ * The identifier of the widget node if it is a widget action perform.
32
+ */
33
+ nodeId?: string;
34
+ /**
35
+ * The start of the service.
36
+ */
37
+ startTime: string;
38
+ /**
39
+ * The end of the service.
40
+ */
41
+ endTime?: string;
42
+ /**
43
+ * The number of executed reads.
44
+ */
45
+ readCount?: number;
46
+ /**
47
+ * The summarized execution time of the reads.
48
+ */
49
+ readTime?: number;
50
+ /**
51
+ * The number of executed writes.
52
+ */
53
+ writeCount?: number;
54
+ /**
55
+ * The summarized execution time of the writes.
56
+ */
57
+ writeTime?: number;
58
+ request: UiActionRequest;
59
+ type: ServerRequestType;
60
+ }
@@ -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
+ export declare enum ServerRequestType {
13
+ ACTION = "ACTION",
14
+ WIDGET_ACTION = "WIDGET_ACTION",
15
+ CREATE_VIEW_CONTEXT = "CREATE_VIEW_CONTEXT",
16
+ UPDATE_VIEW_CONTEXT = "UPDATE_VIEW_CONTEXT",
17
+ GET_VIEW_CONTEXT = "GET_VIEW_CONTEXT",
18
+ HANDLE_MESSAGE_RESULT = "HANDLE_MESSAGE_RESULT",
19
+ SHOW_SMARTLINK = "SHOW_SMARTLINK",
20
+ DOWNLOAD = "DOWNLOAD",
21
+ GET_COMPONENT_MODEL = "GET_COMPONENT_MODEL"
22
+ }
@@ -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
+ /**
13
+ * The generic execution statistic is an object for the actuator infrastructure. It could be initiated for many purposes and contains the count, the minimum, average and maximum execution times.
14
+ */
15
+ export interface StatisticRecord {
16
+ /**
17
+ * The minimum execution time of the given action in millisec.
18
+ */
19
+ min?: number;
20
+ /**
21
+ * The average execution time of the given action in millisec.
22
+ */
23
+ avg?: number;
24
+ /**
25
+ * The average execution time of the given action in millisec.
26
+ */
27
+ max?: number;
28
+ /**
29
+ * The number of executed requests.
30
+ */
31
+ counter?: number;
32
+ /**
33
+ * The summarized execution time of the request.
34
+ */
35
+ sum?: number;
36
+ }
@@ -75,4 +75,5 @@ export interface View {
75
75
  [key: string]: SmartComponentLayoutDefinition;
76
76
  };
77
77
  style?: Style;
78
+ parentStyle?: Style;
78
79
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ServerRequestTrack } from './serverRequestTrack';
12
13
  import { DownloadedFile } from './downloadedFile';
13
14
  import { OpenPendingData } from './openPendingData';
14
15
  import { View } from './view';
@@ -23,4 +24,5 @@ export interface ViewContext {
23
24
  links: Array<Link>;
24
25
  downloads: Array<DownloadedFile>;
25
26
  openPendingData?: OpenPendingData;
27
+ currentRequest?: ServerRequestTrack;
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.3.152",
3
+ "version": "3.3.153",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file