@smartbit4all/ng-client 4.2.161 → 4.2.163

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.
@@ -251,7 +251,7 @@ export declare class ViewService {
251
251
  /**
252
252
  * Show Published View
253
253
  * @param channel Smartlink\'s channel.
254
- * @param uuid Smartlink\'s unique identifier
254
+ * @param uuid Smartlink\'s unique identifier. Not a UUID anymore.
255
255
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
256
256
  * @param reportProgress flag to report request and response progress.
257
257
  */
@@ -34,11 +34,13 @@ export * from './uiAction';
34
34
  export * from './uiActionButtonDescriptor';
35
35
  export * from './uiActionButtonType';
36
36
  export * from './uiActionConstraint';
37
+ export * from './uiActionDefinition';
37
38
  export * from './uiActionDescriptor';
38
39
  export * from './uiActionDialogDescriptor';
39
40
  export * from './uiActionFeedbackType';
40
41
  export * from './uiActionInputType';
41
42
  export * from './uiActionRequest';
43
+ export * from './uiActionSchedule';
42
44
  export * from './uiActionTooltip';
43
45
  export * from './uiActionUploadDescriptor';
44
46
  export * from './uploadWidgetType';
@@ -15,6 +15,9 @@ import { View } from './view';
15
15
  */
16
16
  export interface SmartLinkData {
17
17
  uri?: string;
18
+ /**
19
+ * The unique identifier of this instance inside its channel. This may be an arbitrary URL-safe text, for automatically generated instances, its format is a valid UUID. The name of the property is preserved for backwards compatibility reasons, even though it is no longer guaranteed to hold an actual UUID.
20
+ */
18
21
  uuid?: string;
19
22
  view?: View;
20
23
  url?: string;
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { UiActionInputType } from './uiActionInputType';
13
+ import { UiActionSchedule } from './uiActionSchedule';
13
14
  import { UiActionDescriptor } from './uiActionDescriptor';
14
15
  import { BackgroundProcessInfo } from './backgroundProcessInfo';
15
16
  export interface UiAction {
@@ -47,4 +48,5 @@ export interface UiAction {
47
48
  */
48
49
  disabled?: boolean;
49
50
  backgroundProcess?: BackgroundProcessInfo;
51
+ schedule?: UiActionSchedule;
50
52
  }
@@ -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
+ import { InvocationRequest } from '../api-default/invocationRequest';
13
+ import { UiAction } from './uiAction';
14
+ export interface UiActionDefinition {
15
+ action?: UiAction;
16
+ invocationRequest?: InvocationRequest;
17
+ }
@@ -0,0 +1,14 @@
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 UiActionSchedule {
13
+ intervalSeconds?: number;
14
+ }
@@ -30,6 +30,7 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
30
30
  private scrollSpeed;
31
31
  private scrollDelay;
32
32
  private scrollHoldDelay;
33
+ private schedules;
33
34
  constructor(service: UiActionService, inject: Injector, changeDetector: ChangeDetectorRef, compLib: ComponentLibrary);
34
35
  ngOnInit(): void;
35
36
  ngAfterViewInit(): void;
@@ -38,7 +39,10 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
38
39
  ngOnDestroy(): void;
39
40
  private subscribeToLanguageChange;
40
41
  setUp(): Promise<void>;
42
+ clearSchedule(): void;
43
+ scheduleActions(uiActionModels: UiActionModel[]): void;
41
44
  trackByFn(idx: number, m: UiActionModel): string | number;
45
+ fireAction(uiActionModel: UiActionModel): Promise<void>;
42
46
  onActionClicked(event: any, uiActionModel: UiActionModel): Promise<void>;
43
47
  onActionDoubleClicked(event: any, uiActionModel: UiActionModel): void;
44
48
  getbtnClass(uiActionModel: UiActionModel): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.2.161",
3
+ "version": "4.2.163",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
6
6
  "@angular/common": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
Binary file