@smartbit4all/ng-client 3.2.48 → 3.3.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 (181) hide show
  1. package/esm2020/lib/session/api/api/session.service.mjs +1 -1
  2. package/esm2020/lib/session/api/configuration.mjs +2 -2
  3. package/esm2020/lib/session/api/encoder.mjs +1 -1
  4. package/esm2020/lib/session/api/model/accountInfo.mjs +1 -1
  5. package/esm2020/lib/session/api/model/apiError.mjs +1 -1
  6. package/esm2020/lib/session/api/model/authenticationProviderData.mjs +1 -1
  7. package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
  8. package/esm2020/lib/session/api/model/models.mjs +1 -1
  9. package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +1 -1
  10. package/esm2020/lib/session/api/model/session.mjs +1 -1
  11. package/esm2020/lib/session/api/model/sessionInfoData.mjs +1 -1
  12. package/esm2020/lib/session/api/model/userActivityLog.mjs +1 -1
  13. package/esm2020/lib/session/api/param.mjs +1 -1
  14. package/esm2020/lib/session/api/variables.mjs +1 -1
  15. package/esm2020/lib/smart-client/smart-component-api-client.mjs +29 -4
  16. package/esm2020/lib/smart-component-layout/api/api/api.mjs +1 -1
  17. package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  18. package/esm2020/lib/smart-component-layout/api/api.module.mjs +1 -1
  19. package/esm2020/lib/smart-component-layout/api/configuration.mjs +1 -1
  20. package/esm2020/lib/smart-component-layout/api/encoder.mjs +1 -1
  21. package/esm2020/lib/smart-component-layout/api/index.mjs +1 -1
  22. package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +7 -6
  23. package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +7 -6
  24. package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +6 -5
  25. package/esm2020/lib/smart-component-layout/api/model/models.mjs +1 -1
  26. package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  27. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  28. package/esm2020/lib/smart-component-layout/api/param.mjs +1 -1
  29. package/esm2020/lib/smart-component-layout/api/variables.mjs +1 -1
  30. package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +8 -8
  31. package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  32. package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
  33. package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
  34. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +6 -5
  35. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  36. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  37. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +8 -9
  38. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  39. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +7 -8
  40. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  41. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +9 -8
  42. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  43. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  44. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  45. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +15 -14
  46. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  47. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  48. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +21 -20
  49. package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
  50. package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
  51. package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +5 -3
  52. package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +7 -7
  53. package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
  54. package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +7 -8
  55. package/esm2020/lib/smart-form/api/model/smartFormWidgetDirection.mjs +6 -5
  56. package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +2 -2
  57. package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  58. package/esm2020/lib/smart-form/api/model/smartWidgetHint.mjs +7 -8
  59. package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +2 -1
  60. package/esm2020/lib/smart-form/services/smartform.service.mjs +4 -4
  61. package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +5 -5
  62. package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +5 -5
  63. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +6 -5
  64. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  65. package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +9 -10
  66. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +7 -6
  67. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +6 -5
  68. package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +8 -9
  69. package/esm2020/lib/smart-grid/smart-grid.component.mjs +7 -7
  70. package/esm2020/lib/view-context/api/model/closeResult.mjs +7 -6
  71. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  72. package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
  73. package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
  74. package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +10 -6
  75. package/esm2020/lib/view-context/api/model/iconPosition.mjs +20 -0
  76. package/esm2020/lib/view-context/api/model/imageResource.mjs +8 -9
  77. package/esm2020/lib/view-context/api/model/link.mjs +9 -10
  78. package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
  79. package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
  80. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +7 -6
  81. package/esm2020/lib/view-context/api/model/messageType.mjs +8 -7
  82. package/esm2020/lib/view-context/api/model/models.mjs +3 -2
  83. package/esm2020/lib/view-context/api/model/style.mjs +13 -0
  84. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  85. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +16 -12
  86. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  87. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +9 -5
  88. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +10 -9
  89. package/esm2020/lib/view-context/api/model/uiActionTooltip.mjs +11 -12
  90. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  91. package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
  92. package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +7 -9
  93. package/esm2020/lib/view-context/api/model/viewState.mjs +11 -10
  94. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
  95. package/esm2020/lib/view-context/api/model/viewType.mjs +7 -6
  96. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +17 -17
  97. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +2 -2
  98. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +15 -15
  99. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +5 -5
  100. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +12 -12
  101. package/esm2020/lib/view-context/smart-view-context.service.mjs +13 -13
  102. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
  103. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
  104. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +13 -12
  105. package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
  106. package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +8 -7
  107. package/fesm2015/smartbit4all-ng-client.mjs +321 -258
  108. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  109. package/fesm2020/smartbit4all-ng-client.mjs +332 -258
  110. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  111. package/lib/smart-client/smart-component-api-client.d.ts +5 -2
  112. package/lib/smart-component-layout/api/model/componentType.d.ts +5 -6
  113. package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +5 -6
  114. package/lib/smart-component-layout/api/model/layoutDirection.d.ts +4 -5
  115. package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +1 -2
  116. package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +2 -2
  117. package/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.d.ts +4 -5
  118. package/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.d.ts +5 -8
  119. package/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.d.ts +4 -7
  120. package/lib/smart-filter-editor/api/model/filterExpressionData.d.ts +0 -2
  121. package/lib/smart-filter-editor/api/model/filterExpressionDataType.d.ts +7 -8
  122. package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +0 -2
  123. package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +13 -14
  124. package/lib/smart-filter-editor/api/model/filterExpressionOperandData.d.ts +0 -2
  125. package/lib/smart-filter-editor/api/model/filterExpressionOperation.d.ts +19 -20
  126. package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.d.ts +1 -0
  127. package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +2 -5
  128. package/lib/smart-form/api/model/selectionDefinition.d.ts +4 -7
  129. package/lib/smart-form/api/model/smartFormWidgetDirection.d.ts +4 -5
  130. package/lib/smart-form/api/model/smartFormWidgetType.d.ts +2 -2
  131. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +5 -2
  132. package/lib/smart-form/api/model/smartWidgetHint.d.ts +4 -7
  133. package/lib/smart-form/smartform.component.d.ts +1 -4
  134. package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +2 -5
  135. package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +2 -5
  136. package/lib/smart-grid/api/grid-api/model/gridColumnContentType.d.ts +4 -5
  137. package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +0 -2
  138. package/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.d.ts +6 -9
  139. package/lib/smart-grid/api/grid-api/model/gridSelectionMode.d.ts +5 -6
  140. package/lib/smart-grid/api/grid-api/model/gridSelectionType.d.ts +4 -5
  141. package/lib/smart-grid/api/grid-api/model/gridViewDescriptor.d.ts +5 -8
  142. package/lib/view-context/api/model/closeResult.d.ts +5 -6
  143. package/lib/view-context/api/model/componentModel.d.ts +2 -0
  144. package/lib/view-context/api/model/dataChange.d.ts +0 -2
  145. package/lib/view-context/api/model/dataChangeEvent.d.ts +0 -2
  146. package/lib/view-context/api/model/dataChangeKind.d.ts +5 -6
  147. package/lib/view-context/api/model/{uiActionButtonIconPos.d.ts → iconPosition.d.ts} +4 -5
  148. package/lib/view-context/api/model/imageResource.d.ts +5 -8
  149. package/lib/view-context/api/model/link.d.ts +6 -9
  150. package/lib/view-context/api/model/messageData.d.ts +0 -2
  151. package/lib/view-context/api/model/messageOption.d.ts +0 -2
  152. package/lib/view-context/api/model/messageOptionType.d.ts +5 -6
  153. package/lib/view-context/api/model/messageType.d.ts +6 -7
  154. package/lib/view-context/api/model/models.d.ts +2 -1
  155. package/lib/view-context/api/model/style.d.ts +21 -0
  156. package/lib/view-context/api/model/uiAction.d.ts +0 -2
  157. package/lib/view-context/api/model/uiActionButtonType.d.ts +11 -12
  158. package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -4
  159. package/lib/view-context/api/model/uiActionFeedbackType.d.ts +4 -5
  160. package/lib/view-context/api/model/uiActionInputType.d.ts +8 -9
  161. package/lib/view-context/api/model/uiActionTooltip.d.ts +8 -11
  162. package/lib/view-context/api/model/view.d.ts +2 -2
  163. package/lib/view-context/api/model/viewData.d.ts +0 -2
  164. package/lib/view-context/api/model/viewEventHandler.d.ts +9 -9
  165. package/lib/view-context/api/model/viewState.d.ts +9 -10
  166. package/lib/view-context/api/model/viewStateUpdate.d.ts +0 -2
  167. package/lib/view-context/api/model/viewType.d.ts +5 -6
  168. package/lib/view-context/message-dialog/message-dialog.component.d.ts +3 -3
  169. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +3 -4
  170. package/lib/view-context/value-api/model/valueSetData.d.ts +1 -1
  171. package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +0 -2
  172. package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +11 -12
  173. package/lib/view-context/value-api/model/valueSetExpression.d.ts +0 -2
  174. package/lib/view-context/value-api/model/valueSetOperation.d.ts +6 -7
  175. package/package.json +1 -1
  176. package/smartbit4all-ng-client-3.3.0.tgz +0 -0
  177. package/src/lib/session/api/README.md +226 -226
  178. package/src/lib/smart-component-layout/api/README.md +226 -226
  179. package/src/lib/smart-filter-editor/api/README.md +226 -226
  180. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +0 -16
  181. package/smartbit4all-ng-client-3.2.48.tgz +0 -0
@@ -1,4 +1,4 @@
1
- import { Injector, QueryList } from '@angular/core';
1
+ import { ElementRef, Injector, QueryList, Renderer2 } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
4
  import { ComponentModel, ExecuteUiActionOptions, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
@@ -12,6 +12,8 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
12
12
  protected auth: SmartAuthenticationServiceInterface;
13
13
  protected pageName?: string | undefined;
14
14
  protected _componentName?: string | undefined;
15
+ protected element?: ElementRef<any> | undefined;
16
+ protected renderer?: Renderer2 | undefined;
15
17
  protected _destroy$: Subject<void>;
16
18
  private detectChange;
17
19
  private _uuid?;
@@ -37,7 +39,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
37
39
  widgets: WidgetMap<SmartGridComponent | SmarttreeGenericService | undefined>;
38
40
  formWidgets: WidgetMap<SmartformComponent | undefined>;
39
41
  useQueryLists: boolean;
40
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string | undefined, _componentName?: string | undefined);
42
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName?: string | undefined, _componentName?: string | undefined, element?: ElementRef<any> | undefined, renderer?: Renderer2 | undefined);
41
43
  _ngOnInit(): void;
42
44
  _ngOnDestroy(): void;
43
45
  _ngAfterViewInit(): void;
@@ -49,6 +51,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
49
51
  protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
50
52
  protected getWidgets(): WidgetMap<SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
51
53
  initComponentByModel(): void;
54
+ protected initStyle(): void;
52
55
  protected getAllSmartFormComponents(): SmartformComponent[];
53
56
  protected getAllSmartGridComponents(): SmartGridComponent[];
54
57
  protected getAllSmartTreeComponents(): SmarttreeGenericService[];
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type ComponentType = 'container' | 'form' | 'widget';
13
- export declare const ComponentType: {
14
- Container: ComponentType;
15
- Form: ComponentType;
16
- Widget: ComponentType;
17
- };
12
+ export declare enum ComponentType {
13
+ CONTAINER = "container",
14
+ FORM = "form",
15
+ WIDGET = "widget"
16
+ }
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type ComponentWidgetType = 'grid' | 'filter' | 'tree';
13
- export declare const ComponentWidgetType: {
14
- Grid: ComponentWidgetType;
15
- Filter: ComponentWidgetType;
16
- Tree: ComponentWidgetType;
17
- };
12
+ export declare enum ComponentWidgetType {
13
+ GRID = "grid",
14
+ FILTER = "filter",
15
+ TREE = "tree"
16
+ }
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type LayoutDirection = 'horizontal' | 'vertical';
13
- export declare const LayoutDirection: {
14
- Horizontal: LayoutDirection;
15
- Vertical: LayoutDirection;
16
- };
12
+ export declare enum LayoutDirection {
13
+ HORIZONTAL = "horizontal",
14
+ VERTICAL = "vertical"
15
+ }
@@ -9,10 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SmartWidgetDefinition } from '../../../smart-form/projects';
13
12
  import { ComponentType } from './componentType';
14
13
  import { LayoutDirection } from './layoutDirection';
15
14
  import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
15
+ import { SmartWidgetDefinition } from '../../../smart-form/projects';
16
16
  export interface SmartComponentLayoutDefinition {
17
17
  type: ComponentType;
18
18
  expandable?: boolean;
@@ -26,4 +26,3 @@ export interface SmartComponentLayoutDefinition {
26
26
  widget?: SmartComponentWidgetDefinition;
27
27
  form?: Array<SmartWidgetDefinition>;
28
28
  }
29
- export declare namespace SmartComponentLayoutDefinition { }
@@ -9,8 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { FilterExpressionFieldList, SmartFilterType } from '../../../smart-filter/projects';
13
12
  import { ComponentWidgetType } from './componentWidgetType';
13
+ import { FilterExpressionFieldList } from '../../../smart-filter/projects';
14
+ import { SmartFilterType } from '../../../smart-filter/projects';
14
15
  export interface SmartComponentWidgetDefinition {
15
16
  type: ComponentWidgetType;
16
17
  gridIdentifier?: string;
@@ -18,4 +19,3 @@ export interface SmartComponentWidgetDefinition {
18
19
  filterExpressionFieldList?: FilterExpressionFieldList;
19
20
  filterType?: SmartFilterType;
20
21
  }
21
- export declare namespace SmartComponentWidgetDefinition { }
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type FilterExpressionBoolOperator = 'AND' | 'OR';
13
- export declare const FilterExpressionBoolOperator: {
14
- And: FilterExpressionBoolOperator;
15
- Or: FilterExpressionBoolOperator;
16
- };
12
+ export declare enum FilterExpressionBoolOperator {
13
+ AND = "AND",
14
+ OR = "OR"
15
+ }
@@ -21,7 +21,7 @@ export interface FilterExpressionBuilderGroup {
21
21
  /**
22
22
  * Defines if the given groups is just a visual sugar to group somehow the available filter fields or it is definetely a bracket or exists.
23
23
  */
24
- builderGroupKind?: FilterExpressionBuilderGroup.BuilderGroupKindEnum;
24
+ builderGroupKind?: FilterExpressionBuilderGroupBuilderGroupKindEnum;
25
25
  fields?: Array<FilterExpressionBuilderField>;
26
26
  /**
27
27
  * The unique identifier of the root list in the workplace.
@@ -29,11 +29,8 @@ export interface FilterExpressionBuilderGroup {
29
29
  rootListId?: string;
30
30
  subGroups?: Array<FilterExpressionBuilderGroup>;
31
31
  }
32
- export declare namespace FilterExpressionBuilderGroup {
33
- type BuilderGroupKindEnum = 'DIPLAY' | 'BRACKET' | 'EXIST';
34
- const BuilderGroupKindEnum: {
35
- Diplay: BuilderGroupKindEnum;
36
- Bracket: BuilderGroupKindEnum;
37
- Exist: BuilderGroupKindEnum;
38
- };
32
+ export declare enum FilterExpressionBuilderGroupBuilderGroupKindEnum {
33
+ DIPLAY = "DIPLAY",
34
+ BRACKET = "BRACKET",
35
+ EXIST = "EXIST"
39
36
  }
@@ -30,12 +30,9 @@ export interface FilterExpressionBuilderUiModel {
30
30
  groupFilterAction?: UiAction;
31
31
  viewUuid?: string;
32
32
  config?: FilterExpressionBuilderApiConfig;
33
- type?: FilterExpressionBuilderUiModel.TypeEnum;
33
+ type?: FilterExpressionBuilderUiModelTypeEnum;
34
34
  }
35
- export declare namespace FilterExpressionBuilderUiModel {
36
- type TypeEnum = 'SIMPLE' | 'COMPLEX';
37
- const TypeEnum: {
38
- Simple: TypeEnum;
39
- Complex: TypeEnum;
40
- };
35
+ export declare enum FilterExpressionBuilderUiModelTypeEnum {
36
+ SIMPLE = "SIMPLE",
37
+ COMPLEX = "COMPLEX"
41
38
  }
@@ -25,5 +25,3 @@ export interface FilterExpressionData {
25
25
  boolOperator?: FilterExpressionBoolOperator;
26
26
  subExpression?: FilterExpressionList;
27
27
  }
28
- export declare namespace FilterExpressionData {
29
- }
@@ -9,11 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type FilterExpressionDataType = 'STRING' | 'NUMBER' | 'DATE' | 'DATE_TIME' | 'BOOLEAN';
13
- export declare const FilterExpressionDataType: {
14
- String: FilterExpressionDataType;
15
- Number: FilterExpressionDataType;
16
- Date: FilterExpressionDataType;
17
- DateTime: FilterExpressionDataType;
18
- Boolean: FilterExpressionDataType;
19
- };
12
+ export declare enum FilterExpressionDataType {
13
+ STRING = "STRING",
14
+ NUMBER = "NUMBER",
15
+ DATE = "DATE",
16
+ DATE_TIME = "DATE_TIME",
17
+ BOOLEAN = "BOOLEAN"
18
+ }
@@ -35,5 +35,3 @@ export interface FilterExpressionField {
35
35
  widgetType?: FilterExpressionFieldWidgetType;
36
36
  subFieldList?: FilterExpressionFieldList;
37
37
  }
38
- export declare namespace FilterExpressionField {
39
- }
@@ -9,17 +9,16 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type FilterExpressionFieldWidgetType = 'TEXT_FIELD' | 'TEXT_FIELD_CHIPS' | 'TEXT_BOX' | 'SELECT' | 'SELECT_MULTIPLE' | 'DATE' | 'TIME' | 'DATE_TIME' | 'CHECK_BOX' | 'RADIO_BUTTON' | 'RANGE';
13
- export declare const FilterExpressionFieldWidgetType: {
14
- TextField: FilterExpressionFieldWidgetType;
15
- TextFieldChips: FilterExpressionFieldWidgetType;
16
- TextBox: FilterExpressionFieldWidgetType;
17
- Select: FilterExpressionFieldWidgetType;
18
- SelectMultiple: FilterExpressionFieldWidgetType;
19
- Date: FilterExpressionFieldWidgetType;
20
- Time: FilterExpressionFieldWidgetType;
21
- DateTime: FilterExpressionFieldWidgetType;
22
- CheckBox: FilterExpressionFieldWidgetType;
23
- RadioButton: FilterExpressionFieldWidgetType;
24
- Range: FilterExpressionFieldWidgetType;
25
- };
12
+ export declare enum FilterExpressionFieldWidgetType {
13
+ TEXT_FIELD = "TEXT_FIELD",
14
+ TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
15
+ TEXT_BOX = "TEXT_BOX",
16
+ SELECT = "SELECT",
17
+ SELECT_MULTIPLE = "SELECT_MULTIPLE",
18
+ DATE = "DATE",
19
+ TIME = "TIME",
20
+ DATE_TIME = "DATE_TIME",
21
+ CHECK_BOX = "CHECK_BOX",
22
+ RADIO_BUTTON = "RADIO_BUTTON",
23
+ RANGE = "RANGE"
24
+ }
@@ -22,5 +22,3 @@ export interface FilterExpressionOperandData {
22
22
  selectedValues: Array<string>;
23
23
  type?: FilterExpressionDataType;
24
24
  }
25
- export declare namespace FilterExpressionOperandData {
26
- }
@@ -9,23 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type FilterExpressionOperation = 'EXPRESSION' | 'EQUAL' | 'NOT_EQUAL' | 'LESS' | 'LESS_OR_EQUAL' | 'GREATER' | 'GREATER_OR_EQUAL' | 'LIKE' | 'NOT_LIKE' | 'BETWEEN' | 'NOT_BETWEEN' | 'IS_EMPTY' | 'IS_NOT_EMPTY' | 'EXISTS' | 'NOT_EXISTS' | 'IN' | 'NOT_IN';
13
- export declare const FilterExpressionOperation: {
14
- Expression: FilterExpressionOperation;
15
- Equal: FilterExpressionOperation;
16
- NotEqual: FilterExpressionOperation;
17
- Less: FilterExpressionOperation;
18
- LessOrEqual: FilterExpressionOperation;
19
- Greater: FilterExpressionOperation;
20
- GreaterOrEqual: FilterExpressionOperation;
21
- Like: FilterExpressionOperation;
22
- NotLike: FilterExpressionOperation;
23
- Between: FilterExpressionOperation;
24
- NotBetween: FilterExpressionOperation;
25
- IsEmpty: FilterExpressionOperation;
26
- IsNotEmpty: FilterExpressionOperation;
27
- Exists: FilterExpressionOperation;
28
- NotExists: FilterExpressionOperation;
29
- In: FilterExpressionOperation;
30
- NotIn: FilterExpressionOperation;
31
- };
12
+ export declare enum FilterExpressionOperation {
13
+ EXPRESSION = "EXPRESSION",
14
+ EQUAL = "EQUAL",
15
+ NOT_EQUAL = "NOT_EQUAL",
16
+ LESS = "LESS",
17
+ LESS_OR_EQUAL = "LESS_OR_EQUAL",
18
+ GREATER = "GREATER",
19
+ GREATER_OR_EQUAL = "GREATER_OR_EQUAL",
20
+ LIKE = "LIKE",
21
+ NOT_LIKE = "NOT_LIKE",
22
+ BETWEEN = "BETWEEN",
23
+ NOT_BETWEEN = "NOT_BETWEEN",
24
+ IS_EMPTY = "IS_EMPTY",
25
+ IS_NOT_EMPTY = "IS_NOT_EMPTY",
26
+ EXISTS = "EXISTS",
27
+ NOT_EXISTS = "NOT_EXISTS",
28
+ IN = "IN",
29
+ NOT_IN = "NOT_IN"
30
+ }
@@ -8,6 +8,7 @@ export declare class SmartFilterExpressionItemComponent implements OnInit {
8
8
  hasNext: boolean;
9
9
  service: ISmartFilterEditorService;
10
10
  isSelected: boolean;
11
+ boolOperatorType: typeof FilterExpressionBoolOperator;
11
12
  constructor();
12
13
  ngOnInit(): void;
13
14
  setOperatorTo(event: any, operationType: FilterExpressionBoolOperator): void;
@@ -3,7 +3,7 @@ import { SmartformLayoutDefinitionService } from '../../smart-form/services/smar
3
3
  import { SmartformComponent } from '../../smart-form/smartform.component';
4
4
  import { SmartForm } from '../../smart-form/smartform.model';
5
5
  import { UiActionModel } from '../../view-context/smart-ui-action/ui-action.model';
6
- import { FilterExpressionBuilderUiModel } from '../api/model/filterExpressionBuilderUiModel';
6
+ import { FilterExpressionBuilderUiModelTypeEnum } from '../api/model/filterExpressionBuilderUiModel';
7
7
  import { ISmartFilterEditorService } from '../smart-filter-editor.service';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class SmartFilterEditorContentComponent implements OnInit, OnDestroy, AfterViewInit {
@@ -16,10 +16,7 @@ export declare class SmartFilterEditorContentComponent implements OnInit, OnDest
16
16
  smartForm?: SmartForm;
17
17
  simpleFilterFormChildren?: QueryList<SmartformComponent>;
18
18
  simpleFilterForm?: SmartForm;
19
- type: {
20
- Simple: FilterExpressionBuilderUiModel.TypeEnum;
21
- Complex: FilterExpressionBuilderUiModel.TypeEnum;
22
- };
19
+ type: typeof FilterExpressionBuilderUiModelTypeEnum;
23
20
  constructor(layoutService: SmartformLayoutDefinitionService);
24
21
  ngAfterViewInit(): void;
25
22
  private subsrcibeSimpleFormChildrenEvents;
@@ -21,7 +21,7 @@ export interface SelectionDefinition {
21
21
  /**
22
22
  * Defines how the selection should work: for properties or the whole selected Object.
23
23
  */
24
- type: SelectionDefinition.TypeEnum;
24
+ type: SelectionDefinitionTypeEnum;
25
25
  /**
26
26
  * Specifies which property from ValueSetData.values as Object should be used in selection widget.
27
27
  */
@@ -35,10 +35,7 @@ export interface SelectionDefinition {
35
35
  */
36
36
  emptyLabel?: string;
37
37
  }
38
- export declare namespace SelectionDefinition {
39
- type TypeEnum = 'PROPERTY' | 'OBJECT';
40
- const TypeEnum: {
41
- Property: TypeEnum;
42
- Object: TypeEnum;
43
- };
38
+ export declare enum SelectionDefinitionTypeEnum {
39
+ PROPERTY = "PROPERTY",
40
+ OBJECT = "OBJECT"
44
41
  }
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type SmartFormWidgetDirection = "COL" | "ROW";
13
- export declare const SmartFormWidgetDirection: {
14
- COL: SmartFormWidgetDirection;
15
- ROW: SmartFormWidgetDirection;
16
- };
12
+ export declare enum SmartFormWidgetDirection {
13
+ COL = "COL",
14
+ ROW = "ROW"
15
+ }
@@ -37,6 +37,6 @@ export declare enum SmartFormWidgetType {
37
37
  RICH_TEXT = "RICH_TEXT",
38
38
  SORTABLE = "SORTABLE",
39
39
  MATRIX = "MATRIX",
40
- YOUTUBE_PLAYER = "YOUTUBE_PLAYER",
41
- MONTH_PICKER = "MONTH_PICKER"
40
+ MONTH_PICKER = "MONTH_PICKER",
41
+ YOUTUBE_PLAYER = "YOUTUBE_PLAYER"
42
42
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { SelectionDefinition } from './selectionDefinition';
13
+ import { IconPosition } from '../../../view-context/api/model/iconPosition';
13
14
  import { SmartFormWidgetDirection } from './smartFormWidgetDirection';
14
15
  import { SmartWidgetHint } from './smartWidgetHint';
15
16
  import { SmartFormWidgetType } from './smartFormWidgetType';
@@ -52,6 +53,10 @@ export interface SmartWidgetDefinition {
52
53
  * Material theme class of the icon
53
54
  */
54
55
  iconColor?: string;
56
+ /**
57
+ * Position of the icon (pre/post)
58
+ */
59
+ iconPosition?: IconPosition;
55
60
  /**
56
61
  * Defines if the label appears above the widget or not
57
62
  */
@@ -76,5 +81,3 @@ export interface SmartWidgetDefinition {
76
81
  hint?: SmartWidgetHint;
77
82
  widgetDescription?: string;
78
83
  }
79
- export declare namespace SmartWidgetDefinition {
80
- }
@@ -11,12 +11,9 @@
11
11
  */
12
12
  export interface SmartWidgetHint {
13
13
  text?: string;
14
- position?: SmartWidgetHint.PositionEnum;
14
+ position?: SmartWidgetHintPositionEnum;
15
15
  }
16
- export declare namespace SmartWidgetHint {
17
- type PositionEnum = 'UNDER_LABEL' | 'UNDER_INPUT';
18
- const PositionEnum: {
19
- Label: PositionEnum;
20
- Input: PositionEnum;
21
- };
16
+ export declare enum SmartWidgetHintPositionEnum {
17
+ LABEL = "UNDER_LABEL",
18
+ INPUT = "UNDER_INPUT"
22
19
  }
@@ -15,10 +15,7 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
15
15
  originalWidgets: SmartFormWidget<any>[];
16
16
  sophisticatedValueChange: Subject<SophisticatedValueChange>;
17
17
  form: FormGroup;
18
- direction: {
19
- COL: SmartFormWidgetDirection;
20
- ROW: SmartFormWidgetDirection;
21
- };
18
+ direction: typeof SmartFormWidgetDirection;
22
19
  constructor(service: SmartFormService);
23
20
  ngOnChanges(changes: SimpleChanges): void;
24
21
  ngOnInit(): void;
@@ -3,7 +3,7 @@ import { FormControl } from '@angular/forms';
3
3
  import { Moment } from 'moment';
4
4
  import { SmartMonthPicker } from '../../../smartform.form-model';
5
5
  import { MatDatepicker } from '@angular/material/datepicker';
6
- import { SmartWidgetHint } from '../../../api';
6
+ import { SmartWidgetHintPositionEnum } from '../../../api';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const YEARH_MONTH_FORMAT: {
9
9
  parse: {
@@ -20,10 +20,7 @@ export declare class SmartMonthPickerComponent implements OnInit {
20
20
  widgetInstance: SmartMonthPicker;
21
21
  valueChange: EventEmitter<any>;
22
22
  date: FormControl;
23
- SmartWidgetHintPosition: {
24
- Label: SmartWidgetHint.PositionEnum;
25
- Input: SmartWidgetHint.PositionEnum;
26
- };
23
+ SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
27
24
  ngOnInit(): void;
28
25
  chosenMonthHandler(moment: Moment, datepicker: MatDatepicker<Moment>): void;
29
26
  handleChange(event: any): void;
@@ -4,7 +4,7 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
4
  import { MatChipInputEvent } from '@angular/material/chips';
5
5
  import { Observable, Subject } from 'rxjs';
6
6
  import { ComponentFactoryService } from '../../../component-factory-service/projects';
7
- import { SmartFormWidgetType, SmartWidgetHint } from '../../api/model/models';
7
+ import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from '../../api/model/models';
8
8
  import { SmartFormService } from '../../services/smartform.service';
9
9
  import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
10
10
  import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
@@ -35,10 +35,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
35
35
  filteredOptions?: Observable<SmartItem<any>[]>;
36
36
  isEnterPressed: boolean;
37
37
  isDatePickerRequired: boolean;
38
- SmartWidgetHintPosition: {
39
- Label: SmartWidgetHint.PositionEnum;
40
- Input: SmartWidgetHint.PositionEnum;
41
- };
38
+ SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
42
39
  constructor(service: SmartFormService, cfService: ComponentFactoryService);
43
40
  ngOnInit(): void;
44
41
  parseYoutubeUrl(url: string): string | false;
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type GridColumnContentType = 'text' | 'html';
13
- export declare const GridColumnContentType: {
14
- Text: GridColumnContentType;
15
- Html: GridColumnContentType;
16
- };
12
+ export declare enum GridColumnContentType {
13
+ TEXT = "text",
14
+ HTML = "html"
15
+ }
@@ -18,5 +18,3 @@ export interface GridColumnMeta {
18
18
  alwaysShow?: boolean;
19
19
  contentType?: GridColumnContentType;
20
20
  }
21
- export declare namespace GridColumnMeta {
22
- }
@@ -30,14 +30,11 @@ export interface GridDataAccessConfig {
30
30
  */
31
31
  parentIdProperty?: string;
32
32
  apiClass?: string;
33
- kind?: GridDataAccessConfig.KindEnum;
33
+ kind?: GridDataAccessConfigKindEnum;
34
34
  }
35
- export declare namespace GridDataAccessConfig {
36
- type KindEnum = 'TABLEDATA' | 'OBJECTLIST' | 'APIBASED' | 'INVOCATIONS';
37
- const KindEnum: {
38
- Tabledata: KindEnum;
39
- Objectlist: KindEnum;
40
- Apibased: KindEnum;
41
- Invocations: KindEnum;
42
- };
35
+ export declare enum GridDataAccessConfigKindEnum {
36
+ TABLEDATA = "TABLEDATA",
37
+ OBJECTLIST = "OBJECTLIST",
38
+ APIBASED = "APIBASED",
39
+ INVOCATIONS = "INVOCATIONS"
43
40
  }
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type GridSelectionMode = 'none' | 'single' | 'multiple';
13
- export declare const GridSelectionMode: {
14
- None: GridSelectionMode;
15
- Single: GridSelectionMode;
16
- Multiple: GridSelectionMode;
17
- };
12
+ export declare enum GridSelectionMode {
13
+ NONE = "none",
14
+ SINGLE = "single",
15
+ MULTIPLE = "multiple"
16
+ }
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type GridSelectionType = 'row' | 'checkbox';
13
- export declare const GridSelectionType: {
14
- Row: GridSelectionType;
15
- Checkbox: GridSelectionType;
16
- };
12
+ export declare enum GridSelectionType {
13
+ ROW = "row",
14
+ CHECKBOX = "checkbox"
15
+ }
@@ -18,7 +18,7 @@ import { GridColumnMeta } from './gridColumnMeta';
18
18
  export interface GridViewDescriptor {
19
19
  label?: string;
20
20
  icon?: string;
21
- kind?: GridViewDescriptor.KindEnum;
21
+ kind?: GridViewDescriptorKindEnum;
22
22
  /**
23
23
  * In the table the columns are the columns of the table. In the tree the columns can be used to append the title of a tree node.
24
24
  */
@@ -30,11 +30,8 @@ export interface GridViewDescriptor {
30
30
  highlightProperty?: string;
31
31
  highlightClass?: string;
32
32
  }
33
- export declare namespace GridViewDescriptor {
34
- type KindEnum = 'TABLE' | 'EXPANDABLECARDS1' | 'TREE';
35
- const KindEnum: {
36
- Table: KindEnum;
37
- Expandablecards1: KindEnum;
38
- Tree: KindEnum;
39
- };
33
+ export declare enum GridViewDescriptorKindEnum {
34
+ TABLE = "TABLE",
35
+ EXPANDABLECARDS1 = "EXPANDABLECARDS1",
36
+ TREE = "TREE"
40
37
  }
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare type CloseResult = 'approved' | 'pending' | 'rejected';
13
- export declare const CloseResult: {
14
- Approved: CloseResult;
15
- Pending: CloseResult;
16
- Rejected: CloseResult;
17
- };
12
+ export declare enum CloseResult {
13
+ APPROVED = "approved",
14
+ PENDING = "pending",
15
+ REJECTED = "rejected"
16
+ }
@@ -12,6 +12,7 @@
12
12
  import { SmartLayoutDefinition } from '../../../smart-form/api';
13
13
  import { ComponentConstraint } from './componentConstraint';
14
14
  import { SmartComponentLayoutDefinition } from '../../../smart-component-layout/api';
15
+ import { Style } from './style';
15
16
  import { UiAction } from './uiAction';
16
17
  import { ValueSet } from './valueSet';
17
18
  /**
@@ -36,4 +37,5 @@ export interface ComponentModel {
36
37
  * List of widgets (widgetIds).
37
38
  */
38
39
  widgets?: Array<string>;
40
+ style?: Style;
39
41
  }
@@ -23,5 +23,3 @@ export interface DataChange {
23
23
  [key: string]: any;
24
24
  };
25
25
  }
26
- export declare namespace DataChange {
27
- }
@@ -29,5 +29,3 @@ export interface DataChangeEvent {
29
29
  [key: string]: any;
30
30
  };
31
31
  }
32
- export declare namespace DataChangeEvent {
33
- }
@@ -12,9 +12,8 @@
12
12
  /**
13
13
  * Defines the kind of the source of this event..
14
14
  */
15
- export declare type DataChangeKind = 'WIDGET' | 'SELECTION' | 'LOOKUP';
16
- export declare const DataChangeKind: {
17
- Widget: DataChangeKind;
18
- Selection: DataChangeKind;
19
- Lookup: DataChangeKind;
20
- };
15
+ export declare enum DataChangeKind {
16
+ WIDGET = "WIDGET",
17
+ SELECTION = "SELECTION",
18
+ LOOKUP = "LOOKUP"
19
+ }