@smartbit4all/ng-client 4.5.43 → 4.5.44

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 (129) hide show
  1. package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
  2. package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  3. package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
  4. package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
  5. package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
  6. package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
  7. package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  8. package/esm2022/lib/smart-component-layout/api/model/layoutDefinitionDescriptor.mjs +1 -1
  9. package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  10. package/esm2022/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  11. package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  12. package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
  13. package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
  14. package/esm2022/lib/smart-diagram/api/api/api.mjs +1 -1
  15. package/esm2022/lib/smart-diagram/api/api/diagramService.service.mjs +1 -1
  16. package/esm2022/lib/smart-diagram/api/api.module.mjs +1 -1
  17. package/esm2022/lib/smart-diagram/api/configuration.mjs +1 -1
  18. package/esm2022/lib/smart-diagram/api/encoder.mjs +1 -1
  19. package/esm2022/lib/smart-diagram/api/index.mjs +1 -1
  20. package/esm2022/lib/smart-diagram/api/model/diagramColor.mjs +1 -1
  21. package/esm2022/lib/smart-diagram/api/model/diagramDataContainer.mjs +1 -1
  22. package/esm2022/lib/smart-diagram/api/model/diagramDataItem.mjs +1 -1
  23. package/esm2022/lib/smart-diagram/api/model/diagramDataSet.mjs +1 -1
  24. package/esm2022/lib/smart-diagram/api/model/diagramDescriptor.mjs +1 -1
  25. package/esm2022/lib/smart-diagram/api/model/diagramModel.mjs +1 -1
  26. package/esm2022/lib/smart-diagram/api/model/diagramShape.mjs +1 -1
  27. package/esm2022/lib/smart-diagram/api/model/drawTime.mjs +1 -1
  28. package/esm2022/lib/smart-diagram/api/model/labelText.mjs +1 -1
  29. package/esm2022/lib/smart-diagram/api/model/models.mjs +1 -1
  30. package/esm2022/lib/smart-diagram/api/param.mjs +1 -1
  31. package/esm2022/lib/smart-diagram/api/variables.mjs +1 -1
  32. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  33. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  34. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  35. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  36. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  37. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  38. package/esm2022/lib/smart-form/api/model/dateFieldProperties.mjs +1 -1
  39. package/esm2022/lib/smart-form/api/model/fileUploaderProperties.mjs +1 -1
  40. package/esm2022/lib/smart-form/api/model/imageProperties.mjs +1 -1
  41. package/esm2022/lib/smart-form/api/model/multiFileUploaderProperties.mjs +1 -1
  42. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  43. package/esm2022/lib/smart-form/api/model/recordingUploaderProperties.mjs +1 -1
  44. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  45. package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
  46. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  47. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  48. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  49. package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  50. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  51. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  52. package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
  53. package/esm2022/lib/smart-form/api/model/textBoxProperties.mjs +1 -1
  54. package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +1 -1
  55. package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  56. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  57. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  58. package/esm2022/lib/smart-map/api/api/api.mjs +1 -1
  59. package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
  60. package/esm2022/lib/smart-map/api/api.module.mjs +1 -1
  61. package/esm2022/lib/smart-map/api/configuration.mjs +1 -1
  62. package/esm2022/lib/smart-map/api/encoder.mjs +1 -1
  63. package/esm2022/lib/smart-map/api/index.mjs +1 -1
  64. package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +1 -1
  65. package/esm2022/lib/smart-map/api/model/gPSRoute.mjs +1 -1
  66. package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +1 -1
  67. package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.mjs +1 -1
  68. package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +1 -1
  69. package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +1 -1
  70. package/esm2022/lib/smart-map/api/model/geoMapEditingSession.mjs +1 -1
  71. package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +1 -1
  72. package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +1 -1
  73. package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +1 -1
  74. package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +1 -1
  75. package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +1 -1
  76. package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +1 -1
  77. package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +1 -1
  78. package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +1 -1
  79. package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +1 -1
  80. package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +1 -1
  81. package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +1 -1
  82. package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +1 -1
  83. package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +1 -1
  84. package/esm2022/lib/smart-map/api/model/models.mjs +1 -1
  85. package/esm2022/lib/smart-map/api/param.mjs +1 -1
  86. package/esm2022/lib/smart-map/api/variables.mjs +1 -1
  87. package/esm2022/lib/smart-tree/smarttree.component.mjs +3 -3
  88. package/esm2022/lib/view-context/api/api/view.service.mjs +85 -1
  89. package/esm2022/lib/view-context/api/model/menuTriggerType.mjs +17 -0
  90. package/esm2022/lib/view-context/api/model/models.mjs +4 -2
  91. package/esm2022/lib/view-context/api/model/shellProperty.mjs +13 -0
  92. package/esm2022/lib/view-context/api/model/smartLinkData.mjs +1 -1
  93. package/esm2022/lib/view-context/api/model/themeDefinition.mjs +1 -1
  94. package/esm2022/lib/view-context/api/model/themeShellDescriptor.mjs +2 -0
  95. package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
  96. package/esm2022/lib/view-context/api/model/uiActionDefinition.mjs +1 -1
  97. package/esm2022/lib/view-context/api/model/uiActionDefinitionEntry.mjs +1 -1
  98. package/esm2022/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  99. package/esm2022/lib/view-context/api/model/uiActionInputType.mjs +1 -1
  100. package/esm2022/lib/view-context/api/model/uiActionSchedule.mjs +1 -1
  101. package/esm2022/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
  102. package/esm2022/lib/view-context/api/model/viewEventHandler.mjs +1 -1
  103. package/esm2022/lib/view-context/projects.mjs +3 -2
  104. package/esm2022/lib/view-context/smart-ui-action/components/menu/click/menu.component.mjs +205 -0
  105. package/esm2022/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.mjs +205 -0
  106. package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +6 -5
  107. package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +18 -10
  108. package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +10 -8
  109. package/esm2022/lib/view-context/smart-view-context.module.mjs +9 -6
  110. package/fesm2022/smartbit4all-ng-client.mjs +338 -27
  111. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  112. package/lib/view-context/api/api/view.service.d.ts +37 -0
  113. package/lib/view-context/api/model/menuTriggerType.d.ts +15 -0
  114. package/lib/view-context/api/model/models.d.ts +3 -1
  115. package/lib/view-context/api/model/{shellProperties.d.ts → shellProperty.d.ts} +1 -1
  116. package/lib/view-context/api/model/themeDefinition.d.ts +3 -3
  117. package/lib/view-context/api/model/themeShellDescriptor.d.ts +17 -0
  118. package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -0
  119. package/lib/view-context/projects.d.ts +2 -1
  120. package/lib/view-context/smart-ui-action/components/menu/{menu.component.d.ts → click/menu.component.d.ts} +8 -7
  121. package/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.d.ts +43 -0
  122. package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +1 -0
  123. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +2 -1
  124. package/lib/view-context/smart-view-context.module.d.ts +56 -55
  125. package/package.json +1 -1
  126. package/smartbit4all-ng-client-4.5.44.tgz +0 -0
  127. package/esm2022/lib/view-context/api/model/shellProperties.mjs +0 -13
  128. package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.component.mjs +0 -199
  129. package/smartbit4all-ng-client-4.5.43.tgz +0 -0
@@ -6,6 +6,7 @@ import { MessageResult } from '../model/messageResult';
6
6
  import { PublishedViewData } from '../model/publishedViewData';
7
7
  import { ThemeDefinition } from '../model/themeDefinition';
8
8
  import { ThemeDescriptor } from '../model/themeDescriptor';
9
+ import { ThemeShellDescriptor } from '../model/themeShellDescriptor';
9
10
  import { UiActionRequest } from '../model/uiActionRequest';
10
11
  import { ViewConstraint } from '../model/viewConstraint';
11
12
  import { ViewContextChange } from '../model/viewContextChange';
@@ -99,6 +100,24 @@ export declare class ViewService {
99
100
  httpHeaderAccept?: 'application/octet-stream';
100
101
  context?: HttpContext;
101
102
  }): Observable<HttpEvent<Blob>>;
103
+ /**
104
+ * Get Android theme descriptor by name
105
+ * @param name
106
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
107
+ * @param reportProgress flag to report request and response progress.
108
+ */
109
+ getAndroidTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
110
+ httpHeaderAccept?: 'application/json';
111
+ context?: HttpContext;
112
+ }): Observable<ThemeShellDescriptor>;
113
+ getAndroidTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
114
+ httpHeaderAccept?: 'application/json';
115
+ context?: HttpContext;
116
+ }): Observable<HttpResponse<ThemeShellDescriptor>>;
117
+ getAndroidTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
118
+ httpHeaderAccept?: 'application/json';
119
+ context?: HttpContext;
120
+ }): Observable<HttpEvent<ThemeShellDescriptor>>;
102
121
  /**
103
122
  * Returns component\&#39;s model.
104
123
  * @param uuid Component\&#39;s unique identifier.
@@ -135,6 +154,24 @@ export declare class ViewService {
135
154
  httpHeaderAccept?: 'application/json';
136
155
  context?: HttpContext;
137
156
  }): Observable<HttpEvent<ViewContextChange>>;
157
+ /**
158
+ * Get iOS theme descriptor by name
159
+ * @param name
160
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
161
+ * @param reportProgress flag to report request and response progress.
162
+ */
163
+ getIosTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
164
+ httpHeaderAccept?: 'application/json';
165
+ context?: HttpContext;
166
+ }): Observable<ThemeShellDescriptor>;
167
+ getIosTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
168
+ httpHeaderAccept?: 'application/json';
169
+ context?: HttpContext;
170
+ }): Observable<HttpResponse<ThemeShellDescriptor>>;
171
+ getIosTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
172
+ httpHeaderAccept?: 'application/json';
173
+ context?: HttpContext;
174
+ }): Observable<HttpEvent<ThemeShellDescriptor>>;
138
175
  /**
139
176
  * Get Published View Data
140
177
  * @param channel Smartlink\&#39;s channel.
@@ -0,0 +1,15 @@
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 MenuTriggerType {
13
+ CLICK = "CLICK",
14
+ HOVER = "HOVER"
15
+ }
@@ -13,6 +13,7 @@ export * from './downloadedFile';
13
13
  export * from './iconPosition';
14
14
  export * from './imageResource';
15
15
  export * from './link';
16
+ export * from './menuTriggerType';
16
17
  export * from './messageData';
17
18
  export * from './messageOption';
18
19
  export * from './messageOptionType';
@@ -27,13 +28,14 @@ export * from './publishedViewData';
27
28
  export * from './serverRequestExecutionStat';
28
29
  export * from './serverRequestTrack';
29
30
  export * from './serverRequestType';
30
- export * from './shellProperties';
31
+ export * from './shellProperty';
31
32
  export * from './smartLinkData';
32
33
  export * from './smartLinkMigrationStatus';
33
34
  export * from './statisticRecord';
34
35
  export * from './style';
35
36
  export * from './themeDefinition';
36
37
  export * from './themeDescriptor';
38
+ export * from './themeShellDescriptor';
37
39
  export * from './uiAction';
38
40
  export * from './uiActionButtonDescriptor';
39
41
  export * from './uiActionButtonType';
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export interface ShellProperties {
12
+ export interface ShellProperty {
13
13
  propertyName?: string;
14
14
  propertyValue?: string;
15
15
  }
@@ -10,13 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BinaryContentData } from '../api-default/binaryContentData';
13
- import { ShellProperties } from './shellProperties';
13
+ import { ShellProperty } from './shellProperty';
14
14
  export interface ThemeDefinition {
15
15
  uri?: string;
16
16
  name?: string;
17
17
  appTitle?: string;
18
18
  css?: BinaryContentData;
19
19
  favicon?: BinaryContentData;
20
- iosProperties?: Array<ShellProperties>;
21
- androidProperties?: Array<ShellProperties>;
20
+ iosProperties?: Array<ShellProperty>;
21
+ androidProperties?: Array<ShellProperty>;
22
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
+ import { ShellProperty } from './shellProperty';
13
+ export interface ThemeShellDescriptor {
14
+ name?: string;
15
+ shellType?: string;
16
+ properties?: Array<ShellProperty>;
17
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { UiActionTooltip } from './uiActionTooltip';
13
13
  import { ImageResource } from './imageResource';
14
+ import { MenuTriggerType } from './menuTriggerType';
14
15
  import { IconPosition } from './iconPosition';
15
16
  import { BadgeDescriptor } from './badgeDescriptor';
16
17
  import { Style } from './style';
@@ -39,4 +40,5 @@ export interface UiActionDescriptor {
39
40
  upload?: UiActionUploadDescriptor;
40
41
  tooltip?: UiActionTooltip;
41
42
  style?: Style;
43
+ menuTriggerType?: MenuTriggerType;
42
44
  }
@@ -15,7 +15,8 @@ export * from './smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-
15
15
  export * from './smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component';
16
16
  export * from './utility/componentLibrary';
17
17
  export * from './smart-ui-action/ui-action-button/ui-action-button.component';
18
- export * from './smart-ui-action/components/menu/menu.component';
18
+ export * from './smart-ui-action/components/menu/click/menu.component';
19
+ export * from './smart-ui-action/components/menu/hover/hover-menu.component';
19
20
  export * from './smart-ui-action/components/upload-widget/upload-widget.component';
20
21
  export * from './smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component';
21
22
  export * from './smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component';
@@ -1,16 +1,16 @@
1
1
  import { EventEmitter, QueryList, SimpleChanges, TemplateRef, ViewContainerRef, AfterViewChecked } from '@angular/core';
2
- import { UiAction } from '../../../api';
3
- import { UiMenuService } from './menu.service';
4
- import { ComponentLibrary } from '../../../utility/componentLibrary';
5
2
  import { Overlay, OverlayPositionBuilder, OverlayRef } from '@angular/cdk/overlay';
3
+ import { UiAction } from '../../../../api';
4
+ import { UiMenuService } from '../menu.service';
5
+ import { ComponentLibrary } from '../../../../utility/componentLibrary';
6
6
  import * as i0 from "@angular/core";
7
- export declare class MenuComponent implements AfterViewChecked {
7
+ export declare class ClickMenuComponent implements AfterViewChecked {
8
8
  private menuService;
9
9
  private overlay;
10
10
  private viewContainerRef;
11
11
  private overlayPositionBuilder;
12
12
  compLib?: ComponentLibrary | undefined;
13
- submenuComponents: QueryList<MenuComponent>;
13
+ submenuComponents: QueryList<ClickMenuComponent>;
14
14
  menuTemplate: TemplateRef<any>;
15
15
  overlayRef: OverlayRef | null;
16
16
  triggerAction: UiAction;
@@ -37,6 +37,7 @@ export declare class MenuComponent implements AfterViewChecked {
37
37
  openMenu(event: MouseEvent): void;
38
38
  toggleMenu(event: MouseEvent): void;
39
39
  onSubmenuOpened(openedAction: UiAction): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, { optional: true; }]>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "ui-tiered-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
40
+ closeSiblingSubmenus(exceptAction: UiAction): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickMenuComponent, [null, null, null, null, { optional: true; }]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClickMenuComponent, "ui-tiered-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
42
43
  }
@@ -0,0 +1,43 @@
1
+ import { AfterViewChecked, EventEmitter, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import { Overlay, OverlayPositionBuilder, OverlayRef } from '@angular/cdk/overlay';
3
+ import { UiAction } from '../../../../api';
4
+ import { UiMenuService } from '../menu.service';
5
+ import { ComponentLibrary } from '../../../../utility/componentLibrary';
6
+ import * as i0 from "@angular/core";
7
+ export declare class HoverMenuComponent implements OnInit, AfterViewChecked, OnDestroy {
8
+ private menuService;
9
+ private overlay;
10
+ private viewContainerRef;
11
+ private overlayPositionBuilder;
12
+ compLib?: ComponentLibrary | undefined;
13
+ submenuComponents: QueryList<HoverMenuComponent>;
14
+ menuTemplate: TemplateRef<any>;
15
+ overlayRef: OverlayRef | null;
16
+ triggerAction: UiAction;
17
+ isSubmenu: boolean;
18
+ actionClick: EventEmitter<UiAction>;
19
+ submenuOpened: EventEmitter<UiAction>;
20
+ private destroy$;
21
+ icon: string;
22
+ submenuOpenMap: Map<UiAction, boolean>;
23
+ subActions: UiAction[];
24
+ private hasCheckedChildren;
25
+ constructor(menuService: UiMenuService, overlay: Overlay, viewContainerRef: ViewContainerRef, overlayPositionBuilder: OverlayPositionBuilder, compLib?: ComponentLibrary | undefined);
26
+ ngOnInit(): void;
27
+ ngAfterViewChecked(): void;
28
+ ngOnChanges(changes: SimpleChanges): void;
29
+ private hasSubActionsChanged;
30
+ ngOnDestroy(): void;
31
+ onActionClick(action: UiAction): void;
32
+ onMenuClick(event: Event): void;
33
+ onDocumentClick(event: Event): void;
34
+ get isOpen(): boolean;
35
+ closeMenu(): void;
36
+ refreshOverlay(): void;
37
+ openMenu(event: MouseEvent): void;
38
+ toggleMenu(event: MouseEvent): void;
39
+ onSubmenuOpened(openedAction: UiAction): void;
40
+ closeSiblingSubmenus(exceptAction: UiAction): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<HoverMenuComponent, [null, null, null, null, { optional: true; }]>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<HoverMenuComponent, "ui-hover-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
43
+ }
@@ -31,6 +31,7 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
31
31
  constructor(changeDetector: ChangeDetectorRef, compLib?: ComponentLibrary);
32
32
  ngOnInit(): void;
33
33
  ngOnChanges(changes: SimpleChanges): void;
34
+ private buildMainActionModel;
34
35
  ngOnDestroy(): void;
35
36
  onActionClicked(event: MouseEvent, model: UiActionModel): Promise<void>;
36
37
  onActionDoubleClicked(event: any): void;
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { TooltipPosition } from '@angular/material/tooltip';
3
- import { IconPosition, UiActionDescriptor, UiActionTooltipTooltipPositionEnum } from '../api';
3
+ import { IconPosition, MenuTriggerType, UiActionDescriptor, UiActionTooltipTooltipPositionEnum } from '../api';
4
4
  import { UiActionDescriptorService } from './ui-action.descriptor.service';
5
5
  import { UiActionModel } from './ui-action.model';
6
6
  import { UiActionService } from './ui-action.service';
@@ -15,6 +15,7 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
15
15
  containerRef: ElementRef;
16
16
  private _destroy$;
17
17
  componentLibrary: typeof ComponentLibrary;
18
+ triggerType: typeof MenuTriggerType;
18
19
  pressedButtonActive: boolean;
19
20
  uiActionModels?: UiActionModel[];
20
21
  uiActionDescriptorService?: UiActionDescriptorService;
@@ -23,62 +23,63 @@ import * as i21 from "../smart-form/widgets/components/smart-multi-file-editor/s
23
23
  import * as i22 from "../smart-form/widgets/components/smart-voice-recorder/smart-voice-recorder.component";
24
24
  import * as i23 from "../smart-form/highlightMacthingString-pipe";
25
25
  import * as i24 from "./smart-ui-action/ui-action-button/ui-action-button.component";
26
- import * as i25 from "./smart-ui-action/components/menu/menu.component";
27
- import * as i26 from "./smart-ui-action/components/upload-widget/upload-widget.component";
28
- import * as i27 from "./smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component";
29
- import * as i28 from "./smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component";
30
- import * as i29 from "./smart-ui-action/components/upload-widget/prime-file-uploader/prime-file-uploader.component";
31
- import * as i30 from "./smart-embedded-slot.directive";
32
- import * as i31 from "./smart-ui-action/components/theme-selector/theme-selector.component";
33
- import * as i32 from "@angular/common";
34
- import * as i33 from "@angular/common/http";
35
- import * as i34 from "@angular/material/core";
36
- import * as i35 from "@angular/material/button";
37
- import * as i36 from "primeng/button";
38
- import * as i37 from "@angular/material/icon";
39
- import * as i38 from "@angular/material/snack-bar";
40
- import * as i39 from "../smart-icon/smart-icon.module";
41
- import * as i40 from "@angular/material/tooltip";
42
- import * as i41 from "../shared/shared.module";
43
- import * as i42 from "primeng/api";
44
- import * as i43 from "@angular/platform-browser";
45
- import * as i44 from "@angular/material/chips";
46
- import * as i45 from "@angular/forms";
47
- import * as i46 from "@angular/material/form-field";
48
- import * as i47 from "@angular/material/checkbox";
49
- import * as i48 from "@angular/material/select";
50
- import * as i49 from "@angular/material/input";
51
- import * as i50 from "@angular/material/datepicker";
52
- import * as i51 from "@angular/material-moment-adapter";
53
- import * as i52 from "@angular/material/radio";
54
- import * as i53 from "@angular/material/slide-toggle";
55
- import * as i54 from "@angular/material/autocomplete";
56
- import * as i55 from "ngx-quill";
57
- import * as i56 from "@angular/cdk/drag-drop";
58
- import * as i57 from "@angular/youtube-player";
59
- import * as i58 from "primeng/inputtext";
60
- import * as i59 from "primeng/messages";
61
- import * as i60 from "primeng/overlaypanel";
62
- import * as i61 from "primeng/dropdown";
63
- import * as i62 from "primeng/multiselect";
64
- import * as i63 from "primeng/inputswitch";
65
- import * as i64 from "primeng/inputnumber";
66
- import * as i65 from "primeng/tooltip";
67
- import * as i66 from "primeng/inputtextarea";
68
- import * as i67 from "primeng/image";
69
- import * as i68 from "primeng/floatlabel";
70
- import * as i69 from "primeng/toast";
71
- import * as i70 from "primeng/dynamicdialog";
72
- import * as i71 from "primeng/fileupload";
73
- import * as i72 from "primeng/chips";
74
- import * as i73 from "primeng/calendar";
75
- import * as i74 from "primeng/checkbox";
76
- import * as i75 from "primeng/orderlist";
77
- import * as i76 from "primeng/inputmask";
78
- import * as i77 from "primeng/editor";
79
- import * as i78 from "@angular/material/menu";
26
+ import * as i25 from "./smart-ui-action/components/menu/click/menu.component";
27
+ import * as i26 from "./smart-ui-action/components/menu/hover/hover-menu.component";
28
+ import * as i27 from "./smart-ui-action/components/upload-widget/upload-widget.component";
29
+ import * as i28 from "./smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component";
30
+ import * as i29 from "./smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component";
31
+ import * as i30 from "./smart-ui-action/components/upload-widget/prime-file-uploader/prime-file-uploader.component";
32
+ import * as i31 from "./smart-embedded-slot.directive";
33
+ import * as i32 from "./smart-ui-action/components/theme-selector/theme-selector.component";
34
+ import * as i33 from "@angular/common";
35
+ import * as i34 from "@angular/common/http";
36
+ import * as i35 from "@angular/material/core";
37
+ import * as i36 from "@angular/material/button";
38
+ import * as i37 from "primeng/button";
39
+ import * as i38 from "@angular/material/icon";
40
+ import * as i39 from "@angular/material/snack-bar";
41
+ import * as i40 from "../smart-icon/smart-icon.module";
42
+ import * as i41 from "@angular/material/tooltip";
43
+ import * as i42 from "../shared/shared.module";
44
+ import * as i43 from "primeng/api";
45
+ import * as i44 from "@angular/platform-browser";
46
+ import * as i45 from "@angular/material/chips";
47
+ import * as i46 from "@angular/forms";
48
+ import * as i47 from "@angular/material/form-field";
49
+ import * as i48 from "@angular/material/checkbox";
50
+ import * as i49 from "@angular/material/select";
51
+ import * as i50 from "@angular/material/input";
52
+ import * as i51 from "@angular/material/datepicker";
53
+ import * as i52 from "@angular/material-moment-adapter";
54
+ import * as i53 from "@angular/material/radio";
55
+ import * as i54 from "@angular/material/slide-toggle";
56
+ import * as i55 from "@angular/material/autocomplete";
57
+ import * as i56 from "ngx-quill";
58
+ import * as i57 from "@angular/cdk/drag-drop";
59
+ import * as i58 from "@angular/youtube-player";
60
+ import * as i59 from "primeng/inputtext";
61
+ import * as i60 from "primeng/messages";
62
+ import * as i61 from "primeng/overlaypanel";
63
+ import * as i62 from "primeng/dropdown";
64
+ import * as i63 from "primeng/multiselect";
65
+ import * as i64 from "primeng/inputswitch";
66
+ import * as i65 from "primeng/inputnumber";
67
+ import * as i66 from "primeng/tooltip";
68
+ import * as i67 from "primeng/inputtextarea";
69
+ import * as i68 from "primeng/image";
70
+ import * as i69 from "primeng/floatlabel";
71
+ import * as i70 from "primeng/toast";
72
+ import * as i71 from "primeng/dynamicdialog";
73
+ import * as i72 from "primeng/fileupload";
74
+ import * as i73 from "primeng/chips";
75
+ import * as i74 from "primeng/calendar";
76
+ import * as i75 from "primeng/checkbox";
77
+ import * as i76 from "primeng/orderlist";
78
+ import * as i77 from "primeng/inputmask";
79
+ import * as i78 from "primeng/editor";
80
+ import * as i79 from "@angular/material/menu";
80
81
  export declare class SmartViewContextModule {
81
82
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
82
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.MenuComponent, typeof i26.UploadWidgetComponent, typeof i27.VoiceRecordWidgetComponent, typeof i28.PhotoCaptureWidgetComponent, typeof i29.PrimeFileUploaderComponent, typeof i30.SmartEmbeddedSlotDirective, typeof i31.ThemeSelectorComponent], [typeof i32.CommonModule, typeof i33.HttpClientModule, typeof i34.MatCommonModule, typeof i35.MatButtonModule, typeof i36.ButtonModule, typeof i37.MatIconModule, typeof i38.MatSnackBarModule, typeof i39.SmartIconModule, typeof i40.MatTooltipModule, typeof i41.SharedModule, typeof i42.SharedModule, typeof i43.BrowserModule, typeof i44.MatChipsModule, typeof i45.FormsModule, typeof i45.ReactiveFormsModule, typeof i46.MatFormFieldModule, typeof i47.MatCheckboxModule, typeof i48.MatSelectModule, typeof i49.MatInputModule, typeof i50.MatDatepickerModule, typeof i51.MatMomentDateModule, typeof i52.MatRadioModule, typeof i53.MatSlideToggleModule, typeof i54.MatAutocompleteModule, typeof i55.QuillModule, typeof i56.DragDropModule, typeof i57.YouTubePlayerModule, typeof i58.InputTextModule, typeof i59.MessagesModule, typeof i60.OverlayPanelModule, typeof i61.DropdownModule, typeof i62.MultiSelectModule, typeof i45.FormsModule, typeof i63.InputSwitchModule, typeof i64.InputNumberModule, typeof i65.TooltipModule, typeof i66.InputTextareaModule, typeof i67.ImageModule, typeof i68.FloatLabelModule, typeof i32.CommonModule, typeof i69.ToastModule, typeof i70.DynamicDialogModule, typeof i71.FileUploadModule, typeof i72.ChipsModule, typeof i73.CalendarModule, typeof i74.CheckboxModule, typeof i75.OrderListModule, typeof i76.InputMaskModule, typeof i77.EditorModule, typeof i78.MatMenuModule, typeof i39.SmartIconModule], [typeof i4.UiActionToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i10.SmartformComponent, typeof i12.SmartformwidgetComponent, typeof i11.UiActionDialogButtonComponent, typeof i13.SmartfileuploaderComponent, typeof i23.HighlightPipe, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i24.UiActionButtonComponent, typeof i25.MenuComponent, typeof i26.UploadWidgetComponent, typeof i27.VoiceRecordWidgetComponent, typeof i28.PhotoCaptureWidgetComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i30.SmartEmbeddedSlotDirective]>;
83
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i26.HoverMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i30.PrimeFileUploaderComponent, typeof i31.SmartEmbeddedSlotDirective, typeof i32.ThemeSelectorComponent], [typeof i33.CommonModule, typeof i34.HttpClientModule, typeof i35.MatCommonModule, typeof i36.MatButtonModule, typeof i37.ButtonModule, typeof i38.MatIconModule, typeof i39.MatSnackBarModule, typeof i40.SmartIconModule, typeof i41.MatTooltipModule, typeof i42.SharedModule, typeof i43.SharedModule, typeof i44.BrowserModule, typeof i45.MatChipsModule, typeof i46.FormsModule, typeof i46.ReactiveFormsModule, typeof i47.MatFormFieldModule, typeof i48.MatCheckboxModule, typeof i49.MatSelectModule, typeof i50.MatInputModule, typeof i51.MatDatepickerModule, typeof i52.MatMomentDateModule, typeof i53.MatRadioModule, typeof i54.MatSlideToggleModule, typeof i55.MatAutocompleteModule, typeof i56.QuillModule, typeof i57.DragDropModule, typeof i58.YouTubePlayerModule, typeof i59.InputTextModule, typeof i60.MessagesModule, typeof i61.OverlayPanelModule, typeof i62.DropdownModule, typeof i63.MultiSelectModule, typeof i46.FormsModule, typeof i64.InputSwitchModule, typeof i65.InputNumberModule, typeof i66.TooltipModule, typeof i67.InputTextareaModule, typeof i68.ImageModule, typeof i69.FloatLabelModule, typeof i33.CommonModule, typeof i70.ToastModule, typeof i71.DynamicDialogModule, typeof i72.FileUploadModule, typeof i73.ChipsModule, typeof i74.CalendarModule, typeof i75.CheckboxModule, typeof i76.OrderListModule, typeof i77.InputMaskModule, typeof i78.EditorModule, typeof i79.MatMenuModule, typeof i40.SmartIconModule], [typeof i4.UiActionToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i10.SmartformComponent, typeof i12.SmartformwidgetComponent, typeof i11.UiActionDialogButtonComponent, typeof i13.SmartfileuploaderComponent, typeof i23.HighlightPipe, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i31.SmartEmbeddedSlotDirective]>;
83
84
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartViewContextModule>;
84
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "4.5.43",
3
+ "version": "4.5.44",
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",
@@ -1,13 +0,0 @@
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 {};
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hlbGxQcm9wZXJ0aWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc21hcnQtbmctY2xpZW50L3NyYy9saWIvdmlldy1jb250ZXh0L2FwaS9tb2RlbC9zaGVsbFByb3BlcnRpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBWaWV3IEFQSVxyXG4gKiBWaWV3IEFQSVxyXG4gKlxyXG4gKiBUaGUgdmVyc2lvbiBvZiB0aGUgT3BlbkFQSSBkb2N1bWVudDogMS4wLjBcclxuICogQ29udGFjdDogaW5mb0BpdDRhbGwuaHVcclxuICpcclxuICogTk9URTogVGhpcyBjbGFzcyBpcyBhdXRvIGdlbmVyYXRlZCBieSBPcGVuQVBJIEdlbmVyYXRvciAoaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoKS5cclxuICogaHR0cHM6Ly9vcGVuYXBpLWdlbmVyYXRvci50ZWNoXHJcbiAqIERvIG5vdCBlZGl0IHRoZSBjbGFzcyBtYW51YWxseS5cclxuICovXHJcblxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBTaGVsbFByb3BlcnRpZXMgeyBcclxuICAgIHByb3BlcnR5TmFtZT86IHN0cmluZztcclxuICAgIHByb3BlcnR5VmFsdWU/OiBzdHJpbmc7XHJcbn1cclxuXHJcbiJdfQ==