@smartbit4all/ng-client 3.3.48 → 3.3.50

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 (48) hide show
  1. package/esm2020/lib/smart-client/smart-component-api-client.mjs +5 -1
  2. package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +2 -1
  3. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  4. package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +13 -1
  5. package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +32 -6
  6. package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +6 -2
  7. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +6 -5
  8. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
  9. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +8 -9
  10. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
  11. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
  12. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +9 -8
  13. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
  14. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
  15. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +15 -14
  16. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
  17. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
  18. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +21 -20
  19. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +7 -8
  20. package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +11 -10
  21. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOrderBy.mjs +19 -0
  22. package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +8 -8
  23. package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
  24. package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
  25. package/esm2020/lib/smart-grid/smart-grid.component.mjs +2 -2
  26. package/fesm2015/smartbit4all-ng-client.mjs +664 -596
  27. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  28. package/fesm2020/smartbit4all-ng-client.mjs +1702 -1635
  29. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  30. package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +2 -1
  31. package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +1 -2
  32. package/lib/smart-component-layout/smart-component-layout-utility.d.ts +2 -0
  33. package/lib/smart-component-layout/smart-component-layout.component.d.ts +6 -0
  34. package/lib/smart-component-layout/smart-component-layout.module.d.ts +2 -1
  35. package/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.d.ts +4 -5
  36. package/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.d.ts +5 -8
  37. package/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.d.ts +6 -0
  38. package/lib/smart-filter/api/filter/model/filterExpressionDataType.d.ts +7 -8
  39. package/lib/smart-filter/api/filter/model/filterExpressionField.d.ts +3 -0
  40. package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +13 -14
  41. package/lib/smart-filter/api/filter/model/filterExpressionOperation.d.ts +19 -20
  42. package/lib/smart-filter/api/filter/model/filterExpressionOrderBy.d.ts +4 -7
  43. package/lib/smart-filter-editor/api/model/filterExpressionOrderBy.d.ts +28 -0
  44. package/lib/smart-grid/api/grid-api/model/gridUpdateData.d.ts +1 -1
  45. package/lib/smart-grid/api/grid-api/model/gridView.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/smartbit4all-ng-client-3.3.50.tgz +0 -0
  48. package/smartbit4all-ng-client-3.3.48.tgz +0 -0
@@ -12,5 +12,6 @@
12
12
  export declare enum ComponentWidgetType {
13
13
  GRID = "grid",
14
14
  FILTER = "filter",
15
- TREE = "tree"
15
+ TREE = "tree",
16
+ TOOLBAR = "toolbar"
16
17
  }
@@ -14,8 +14,7 @@ import { FilterExpressionFieldList } from '../../../smart-filter/projects';
14
14
  import { SmartFilterType } from '../../../smart-filter/projects';
15
15
  export interface SmartComponentWidgetDefinition {
16
16
  type: ComponentWidgetType;
17
- gridIdentifier?: string;
18
- treeIdentifier?: string;
17
+ identifier?: string;
19
18
  filterExpressionFieldList?: FilterExpressionFieldList;
20
19
  filterType?: SmartFilterType;
21
20
  }
@@ -1,6 +1,7 @@
1
1
  import { SmartformComponent } from '../smart-form/projects';
2
2
  import { SmartGridComponent } from '../smart-grid/projects';
3
3
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
+ import { UiActionToolbarComponent } from '../view-context/projects';
4
5
  import { SmartComponentLayoutDefinition } from './api';
5
6
  import { SmartComponentLayoutComponent } from './smart-component-layout.component';
6
7
  export declare class SmartComponentLayoutUtility {
@@ -8,4 +9,5 @@ export declare class SmartComponentLayoutUtility {
8
9
  static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
9
10
  static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
10
11
  static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
12
+ static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
11
13
  }
@@ -6,6 +6,7 @@ import { SmartFilter, SmartFilterComponent } from '../smart-filter/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
7
  import { ExpandableSection } from '../smart-expandable-section/projects';
8
8
  import { Subject } from 'rxjs';
9
+ import { UiActionToolbarComponent } from '../view-context/projects';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
11
12
  private layoutService;
@@ -21,6 +22,9 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
21
22
  smartFilterList: QueryList<SmartFilterComponent>;
22
23
  smartFilterComponent?: SmartFilterComponent;
23
24
  smartFilter?: SmartFilter;
25
+ toolbarList: QueryList<UiActionToolbarComponent>;
26
+ toolbar?: UiActionToolbarComponent;
27
+ toolbarId?: string;
24
28
  parent?: any;
25
29
  treeService?: SmarttreeGenericService;
26
30
  expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
@@ -39,9 +43,11 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
39
43
  constructGrid(): void;
40
44
  setGridComponent(comp: SmartGridComponent): void;
41
45
  bindGrid(): void;
46
+ setToolbarComponent(comp: UiActionToolbarComponent): void;
42
47
  constructFilter(): void;
43
48
  bindFilter(): void;
44
49
  constructTree(): void;
50
+ constructToolbar(): void;
45
51
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
46
52
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
47
53
  }
@@ -6,8 +6,9 @@ import * as i4 from "../smart-form/smartform.module";
6
6
  import * as i5 from "../smart-grid/smart-grid.module";
7
7
  import * as i6 from "../smart-expandable-section/smart-expandable-section.module";
8
8
  import * as i7 from "../smart-tree/smarttree.module";
9
+ import * as i8 from "../view-context/smart-view-context.module";
9
10
  export declare class SmartComponentLayoutModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartformModule, typeof i5.SmartGridModule, typeof i6.SmartExpandableSectionModule, typeof i7.SmarttreeModule], [typeof i1.SmartComponentLayoutComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartformModule, typeof i5.SmartGridModule, typeof i6.SmartExpandableSectionModule, typeof i7.SmarttreeModule, typeof i8.SmartViewContextModule], [typeof i1.SmartComponentLayoutComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
13
14
  }
@@ -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
  }
@@ -10,12 +10,18 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { FilterExpressionBuilderGroup } from './filterExpressionBuilderGroup';
13
+ import { FilterExpressionList } from './filterExpressionList';
13
14
  import { FilterExpressionFieldList } from './filterExpressionFieldList';
14
15
  /**
15
16
  * The filter field model data contains a list of groups that form a tree structure for the available filter fields. It contains the groups of available fields and the workplace root list that conatins the already added filters. On the builder side we refer the unique identifiers of the field lists and fields.
16
17
  */
17
18
  export interface FilterExpressionBuilderModel {
18
19
  label?: string;
20
+ /**
21
+ * This is the group of filter expressions that can be involved to the workplace. This is a tree structure.
22
+ */
19
23
  groups?: Array<FilterExpressionBuilderGroup>;
24
+ exceptionalGroup?: FilterExpressionBuilderGroup;
20
25
  workplaceList?: FilterExpressionFieldList;
26
+ defaultFilters?: FilterExpressionList;
21
27
  }
@@ -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
+ }
@@ -27,6 +27,9 @@ export interface FilterExpressionField {
27
27
  label1: string;
28
28
  label2?: string;
29
29
  label3?: string;
30
+ placeholder1?: string;
31
+ placeholder2?: string;
32
+ placeholder3?: string;
30
33
  icon?: string;
31
34
  expressionData?: FilterExpressionData;
32
35
  possibleOperations?: Array<FilterExpressionOperation>;
@@ -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
+ }
@@ -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
+ }
@@ -17,12 +17,9 @@ export interface FilterExpressionOrderBy {
17
17
  * The property name of the order by column.
18
18
  */
19
19
  propertyName?: string;
20
- order?: FilterExpressionOrderBy.OrderEnum;
20
+ order?: FilterExpressionOrderByOrderEnum;
21
21
  }
22
- export declare namespace FilterExpressionOrderBy {
23
- type OrderEnum = 'ASC' | 'DESC';
24
- const OrderEnum: {
25
- Asc: OrderEnum;
26
- Desc: OrderEnum;
27
- };
22
+ export declare enum FilterExpressionOrderByOrderEnum {
23
+ ASC = "ASC",
24
+ DESC = "DESC"
28
25
  }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Filter API 2
3
+ * Filter API 2
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 order by object..
14
+ */
15
+ export interface FilterExpressionOrderBy {
16
+ /**
17
+ * The property name of the order by column.
18
+ */
19
+ propertyName?: string;
20
+ order?: FilterExpressionOrderBy.OrderEnum;
21
+ }
22
+ export declare namespace FilterExpressionOrderBy {
23
+ type OrderEnum = 'ASC' | 'DESC';
24
+ const OrderEnum: {
25
+ Asc: OrderEnum;
26
+ Desc: OrderEnum;
27
+ };
28
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { FilterExpressionOrderBy } from '../../../../smart-filter/projects';
12
+ import { FilterExpressionOrderBy } from '../../../../smart-filter-editor/api/model/filterExpressionOrderBy';
13
13
  /**
14
14
  * Update request for grid\'s current view\'s behaviour.
15
15
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { GridViewDescriptor } from './gridViewDescriptor';
13
- import { FilterExpressionOrderBy } from '../../../../smart-filter/projects';
13
+ import { FilterExpressionOrderBy } from '../../../../smart-filter-editor/api/model/filterExpressionOrderBy';
14
14
  /**
15
15
  * The configuration of the grid view. It can be a simple table grid but a complex card representation also. A model has one or more view option to render the content.
16
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.3.48",
3
+ "version": "3.3.50",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file