ngx-wapp-components 1.0.0 → 1.0.2

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 (100) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/button/w-button/w-button.component.mjs +65 -0
  3. package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +116 -0
  4. package/esm2020/lib/edit/w-edit-input-text/w-edit-input-text.component.mjs +63 -45
  5. package/esm2020/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.mjs +115 -0
  6. package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +100 -0
  7. package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +107 -0
  8. package/esm2020/lib/edit/w-edit-treeselect/w-edit-treeselect.component.mjs +93 -0
  9. package/esm2020/lib/icons/icons.mjs +109 -0
  10. package/esm2020/lib/icons/wapping-icons/wapp-icons.component.mjs +50 -0
  11. package/esm2020/lib/layout/w-body/w-body.component.mjs +11 -0
  12. package/esm2020/lib/layout/w-body-container/w-body-container.component.mjs +11 -0
  13. package/esm2020/lib/layout/w-container/w-container.component.mjs +19 -0
  14. package/esm2020/lib/layout/w-footer/w-footer.component.mjs +11 -0
  15. package/esm2020/lib/layout/w-header-panel/w-header-panel.component.mjs +11 -0
  16. package/esm2020/lib/layout/w-navbar/w-navbar.component.mjs +43 -0
  17. package/esm2020/lib/layout/w-panel/w-panel.component.mjs +25 -0
  18. package/esm2020/lib/layout/w-panel-title/w-panel-title.component.mjs +14 -0
  19. package/esm2020/lib/logos/logos.mjs +7 -0
  20. package/esm2020/lib/logos/wapping-logos/wapp-logos.component.mjs +50 -0
  21. package/esm2020/lib/misc/w-filter-panel/w-filter-panel.component.mjs +377 -0
  22. package/esm2020/lib/misc/w-filter-panel/w-list-field/w-list-field.component.mjs +82 -0
  23. package/esm2020/lib/search/w-input-search/w-input-search.component.mjs +106 -0
  24. package/esm2020/lib/shared/enums/enum.mjs +6 -0
  25. package/esm2020/lib/shared/models/custom-button-config.model.mjs +2 -0
  26. package/esm2020/lib/shared/models/enums.model.mjs +64 -0
  27. package/esm2020/lib/shared/models/filter-panel/field.model.mjs +2 -0
  28. package/esm2020/lib/shared/models/filter-panel/filter-field.models.mjs +2 -0
  29. package/esm2020/lib/shared/models/filter-panel/filter-panel-translations.model.mjs +2 -0
  30. package/esm2020/lib/shared/models/filter-panel/qb-filter-entity.model.mjs +2 -0
  31. package/esm2020/lib/shared/models/filter-panel/qb-operators.model.mjs +2 -0
  32. package/esm2020/lib/shared/models/filter-panel/qb-panel-filter.model.mjs +2 -0
  33. package/esm2020/lib/shared/models/filter-panel/qb-panel-to-fields.model.mjs +2 -0
  34. package/esm2020/lib/shared/models/filter-panel/query-results.model.mjs +8 -0
  35. package/esm2020/lib/shared/models/filter.model.mjs +2 -0
  36. package/esm2020/lib/shared/models/lazy-element-query-request.model.mjs +2 -0
  37. package/esm2020/lib/shared/models/wapp-table-lazy-loading.model.mjs +2 -0
  38. package/esm2020/lib/shared/models/wapp-table.model.mjs +2 -0
  39. package/esm2020/lib/shared/pipes/color-text.pipe.mjs +25 -0
  40. package/esm2020/lib/shared/service/api/api.service.mjs +52 -0
  41. package/esm2020/lib/shared/services/form-control.service.mjs +18 -0
  42. package/esm2020/lib/tables/w-table/w-table.component.mjs +196 -0
  43. package/esm2020/lib/tables/w-table-lazy/w-table-lazy.component.mjs +236 -0
  44. package/esm2020/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.mjs +17 -0
  45. package/esm2020/lib/w-clipboard/w-clipboard.component.mjs +39 -0
  46. package/esm2020/lib/wapp-components.component.mjs +9 -9
  47. package/esm2020/lib/wapp-components.module.mjs +257 -9
  48. package/esm2020/lib/wapp-components.service.mjs +1 -1
  49. package/esm2020/public-api.mjs +34 -1
  50. package/fesm2015/ngx-wapp-components.mjs +2360 -61
  51. package/fesm2015/ngx-wapp-components.mjs.map +1 -1
  52. package/fesm2020/ngx-wapp-components.mjs +2356 -59
  53. package/fesm2020/ngx-wapp-components.mjs.map +1 -1
  54. package/lib/button/w-button/w-button.component.d.ts +30 -0
  55. package/lib/edit/w-edit-input-number/w-edit-input-number.component.d.ts +33 -0
  56. package/lib/edit/w-edit-input-text/w-edit-input-text.component.d.ts +16 -16
  57. package/lib/edit/w-edit-input-textarea/w-edit-input-textarea.component.d.ts +33 -0
  58. package/lib/edit/w-edit-multiselect/w-edit-multiselect.component.d.ts +36 -0
  59. package/lib/edit/w-edit-select/w-edit-select.component.d.ts +37 -0
  60. package/lib/edit/w-edit-treeselect/w-edit-treeselect.component.d.ts +33 -0
  61. package/lib/icons/icons.d.ts +1 -0
  62. package/lib/icons/wapping-icons/wapp-icons.component.d.ts +13 -0
  63. package/lib/layout/w-body/w-body.component.d.ts +5 -0
  64. package/lib/layout/w-body-container/w-body-container.component.d.ts +5 -0
  65. package/lib/layout/w-container/w-container.component.d.ts +5 -0
  66. package/lib/layout/w-footer/w-footer.component.d.ts +5 -0
  67. package/lib/layout/w-header-panel/w-header-panel.component.d.ts +5 -0
  68. package/lib/layout/w-navbar/w-navbar.component.d.ts +16 -0
  69. package/lib/layout/w-panel/w-panel.component.d.ts +8 -0
  70. package/lib/layout/w-panel-title/w-panel-title.component.d.ts +6 -0
  71. package/lib/logos/logos.d.ts +1 -0
  72. package/lib/logos/wapping-logos/wapp-logos.component.d.ts +13 -0
  73. package/lib/misc/w-filter-panel/w-filter-panel.component.d.ts +63 -0
  74. package/lib/misc/w-filter-panel/w-list-field/w-list-field.component.d.ts +25 -0
  75. package/lib/search/w-input-search/w-input-search.component.d.ts +29 -0
  76. package/lib/shared/enums/enum.d.ts +4 -0
  77. package/lib/shared/models/custom-button-config.model.d.ts +4 -0
  78. package/lib/shared/models/enums.model.d.ts +58 -0
  79. package/lib/shared/models/filter-panel/field.model.d.ts +144 -0
  80. package/lib/shared/models/filter-panel/filter-field.models.d.ts +17 -0
  81. package/lib/shared/models/filter-panel/filter-panel-translations.model.d.ts +28 -0
  82. package/lib/shared/models/filter-panel/qb-filter-entity.model.d.ts +7 -0
  83. package/lib/shared/models/filter-panel/qb-operators.model.d.ts +4 -0
  84. package/lib/shared/models/filter-panel/qb-panel-filter.model.d.ts +13 -0
  85. package/lib/shared/models/filter-panel/qb-panel-to-fields.model.d.ts +11 -0
  86. package/lib/shared/models/filter-panel/query-results.model.d.ts +15 -0
  87. package/lib/shared/models/filter.model.d.ts +5 -0
  88. package/lib/shared/models/lazy-element-query-request.model.d.ts +8 -0
  89. package/lib/shared/models/wapp-table-lazy-loading.model.d.ts +42 -0
  90. package/lib/shared/models/wapp-table.model.d.ts +45 -0
  91. package/lib/shared/pipes/color-text.pipe.d.ts +7 -0
  92. package/lib/shared/service/api/api.service.d.ts +12 -0
  93. package/lib/shared/services/form-control.service.d.ts +8 -0
  94. package/lib/tables/w-table/w-table.component.d.ts +60 -0
  95. package/lib/tables/w-table-lazy/w-table-lazy.component.d.ts +58 -0
  96. package/lib/view/wapp-view-card-title-text/wapp-view-card-title-text.component.d.ts +9 -0
  97. package/lib/w-clipboard/w-clipboard.component.d.ts +12 -0
  98. package/lib/wapp-components.module.d.ts +54 -4
  99. package/package.json +3 -1
  100. package/public-api.d.ts +29 -0
@@ -0,0 +1,30 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ declare enum SizeType {
4
+ small = 0,
5
+ medium = 1,
6
+ large = 2
7
+ }
8
+ declare enum ButtonType {
9
+ primary = 0,
10
+ secondary = 1,
11
+ tertiary = 2
12
+ }
13
+ export declare class WButtonComponent implements OnInit {
14
+ type: string;
15
+ label: string;
16
+ size: string;
17
+ icon: string;
18
+ disabled: boolean;
19
+ onClick: EventEmitter<MouseEvent>;
20
+ sizeType: typeof SizeType;
21
+ buttonType: typeof ButtonType;
22
+ ngOnInit(): void;
23
+ onButtonClick(event: MouseEvent): void;
24
+ getIcon(): string;
25
+ getSizeName(value: number): string;
26
+ getButtonTypeName(value: number): string;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<WButtonComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<WButtonComponent, "w-button", never, { "type": "type"; "label": "label"; "size": "size"; "icon": "icon"; "disabled": "disabled"; }, { "onClick": "onClick"; }, never, never, false, never>;
29
+ }
30
+ export {};
@@ -0,0 +1,33 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { SizeType } from '../../shared/enums/enum';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WEditInputNumberComponent {
5
+ value: number;
6
+ label: string;
7
+ placeholder: string;
8
+ successMessage: string;
9
+ isRequired: boolean;
10
+ requiredErrorDescription: string;
11
+ isDisabled: boolean;
12
+ pattern: string;
13
+ patternErrorDescription: string;
14
+ minlength: number;
15
+ minlengthErrorDescription: string;
16
+ maxlength: number;
17
+ maxlengthErrorDescription: string;
18
+ autofocus: boolean;
19
+ size: string;
20
+ formControl: FormControl | null;
21
+ isTouched: boolean;
22
+ onChange: (_: number) => void;
23
+ onTouch: () => void;
24
+ writeValue(value: any): void;
25
+ registerOnChange(onChange: any): void;
26
+ registerOnTouched(onTouch: any): void;
27
+ onValueChanged(): void;
28
+ onInputBlur(event: Event): void;
29
+ getSizeName(value: number): string;
30
+ get sizeType(): typeof SizeType;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditInputNumberComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditInputNumberComponent, "w-edit-input-number", never, { "label": "label"; "placeholder": "placeholder"; "successMessage": "successMessage"; "isRequired": "isRequired"; "requiredErrorDescription": "requiredErrorDescription"; "isDisabled": "isDisabled"; "pattern": "pattern"; "patternErrorDescription": "patternErrorDescription"; "minlength": "minlength"; "minlengthErrorDescription": "minlengthErrorDescription"; "maxlength": "maxlength"; "maxlengthErrorDescription": "maxlengthErrorDescription"; "autofocus": "autofocus"; "size": "size"; "formControl": "formControl"; }, {}, never, never, false, never>;
33
+ }
@@ -1,15 +1,11 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { NgControl, FormControlName } from '@angular/forms';
1
+ import { FormControl } from '@angular/forms';
2
+ import { SizeType } from '../../shared/enums/enum';
3
3
  import * as i0 from "@angular/core";
4
- export declare class WEditInputTextComponent implements OnInit {
5
- ngControl: NgControl;
6
- private controlName;
4
+ export declare class WEditInputTextComponent {
7
5
  value: string;
8
- inputValue: string;
9
- onValueEvent: EventEmitter<string>;
10
6
  label: string;
11
7
  placeholder: string;
12
- helpDescription: string;
8
+ successMessage: string;
13
9
  isRequired: boolean;
14
10
  requiredErrorDescription: string;
15
11
  isDisabled: boolean;
@@ -20,16 +16,20 @@ export declare class WEditInputTextComponent implements OnInit {
20
16
  maxlength: number;
21
17
  maxlengthErrorDescription: string;
22
18
  autofocus: boolean;
23
- formControl: any;
19
+ inputIcon: string;
20
+ size: string;
21
+ formControl: FormControl | null;
24
22
  isTouched: boolean;
25
23
  onChange: (_: any) => void;
26
24
  onTouch: () => void;
27
- constructor(ngControl: NgControl, controlName: FormControlName);
28
- ngOnInit(): void;
29
25
  writeValue(value: any): void;
30
- registerOnChange(onChange: any): void;
31
- registerOnTouched(onTouch: any): void;
32
- onValue(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<WEditInputTextComponent, [{ optional: true; self: true; }, { optional: true; }]>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<WEditInputTextComponent, "lib-w-edit-input-text", never, { "inputValue": "inputValue"; "label": "label"; "placeholder": "placeholder"; "helpDescription": "helpDescription"; "isRequired": "isRequired"; "requiredErrorDescription": "requiredErrorDescription"; "isDisabled": "isDisabled"; "pattern": "pattern"; "patternErrorDescription": "patternErrorDescription"; "minlength": "minlength"; "minlengthErrorDescription": "minlengthErrorDescription"; "maxlength": "maxlength"; "maxlengthErrorDescription": "maxlengthErrorDescription"; "autofocus": "autofocus"; }, { "onValueEvent": "onValue"; }, never, never, false, never>;
26
+ registerOnChange(fn: any): void;
27
+ registerOnTouched(fn: any): void;
28
+ setDisabledState(isDisabled: boolean): void;
29
+ onValueChanged(): void;
30
+ onInputBlur(event: Event): void;
31
+ getSizeName(value: number): string;
32
+ get sizeType(): typeof SizeType;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditInputTextComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditInputTextComponent, "w-edit-input-text", never, { "label": "label"; "placeholder": "placeholder"; "successMessage": "successMessage"; "isRequired": "isRequired"; "requiredErrorDescription": "requiredErrorDescription"; "isDisabled": "disabled"; "pattern": "pattern"; "patternErrorDescription": "patternErrorDescription"; "minlength": "minlength"; "minlengthErrorDescription": "minlengthErrorDescription"; "maxlength": "maxlength"; "maxlengthErrorDescription": "maxlengthErrorDescription"; "autofocus": "autofocus"; "inputIcon": "inputIcon"; "size": "size"; "formControl": "formControl"; }, {}, never, never, false, never>;
35
35
  }
@@ -0,0 +1,33 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { SizeType } from '../../shared/enums/enum';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WEditInputTextareaComponent {
5
+ label: string;
6
+ placeholder: string;
7
+ rows: number;
8
+ minlength: number;
9
+ maxlength: number;
10
+ autoResize: boolean;
11
+ isRequired: boolean;
12
+ isDisabled: boolean;
13
+ successMessage: string;
14
+ requiredErrorDescription: string;
15
+ minlengthErrorDescription: string;
16
+ maxlengthErrorDescription: string;
17
+ size: string;
18
+ formControl: FormControl | null;
19
+ value: string;
20
+ isTouched: boolean;
21
+ onChange: (_: any) => void;
22
+ onTouch: () => void;
23
+ writeValue(value: any): void;
24
+ registerOnChange(onChange: any): void;
25
+ registerOnTouched(onTouch: any): void;
26
+ setDisabledState?(isDisabled: boolean): void;
27
+ onValueChanged(): void;
28
+ onInputBlur(event: Event): void;
29
+ getSizeName(value: number): string;
30
+ get sizeType(): typeof SizeType;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditInputTextareaComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditInputTextareaComponent, "w-edit-input-textarea", never, { "label": "label"; "placeholder": "placeholder"; "rows": "rows"; "minlength": "minlength"; "maxlength": "maxlength"; "autoResize": "autoResize"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; "successMessage": "successMessage"; "requiredErrorDescription": "requiredErrorDescription"; "minlengthErrorDescription": "minlengthErrorDescription"; "maxlengthErrorDescription": "maxlengthErrorDescription"; "size": "size"; "formControl": "formControl"; }, {}, never, never, false, never>;
33
+ }
@@ -0,0 +1,36 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import * as i0 from "@angular/core";
5
+ declare enum SizeType {
6
+ small = 0,
7
+ medium = 1,
8
+ large = 2
9
+ }
10
+ export declare class WEditMultiselectComponent implements OnInit, ControlValueAccessor {
11
+ label: string;
12
+ placeholder: string;
13
+ disabled: boolean;
14
+ size: string;
15
+ options: any;
16
+ optionLabel: string;
17
+ optionValue: string;
18
+ appendTo: string;
19
+ formControl: FormControl | null;
20
+ errorDescription: string;
21
+ sizeType: typeof SizeType;
22
+ onChange: any;
23
+ onTouch: any;
24
+ ngModelValue: any;
25
+ ngOnInit(): void;
26
+ writeValue(value: any): void;
27
+ registerOnChange(fn: any): void;
28
+ registerOnTouched(fn: any): void;
29
+ setDisabledState(isDisabled: boolean): void;
30
+ onOptionSelected(): void;
31
+ onInputBlur(event: Event): void;
32
+ getSizeName(value: number): string;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditMultiselectComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditMultiselectComponent, "w-edit-multiselect", never, { "label": "label"; "placeholder": "placeholder"; "disabled": "disabled"; "size": "size"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "appendTo": "appendTo"; "formControl": "formControl"; "errorDescription": "errorDescription"; }, {}, never, never, false, never>;
35
+ }
36
+ export {};
@@ -0,0 +1,37 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { AbstractControl, ControlValueAccessor, FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ declare enum SizeType {
5
+ small = 0,
6
+ medium = 1,
7
+ large = 2
8
+ }
9
+ export declare class WEditSelectComponent implements OnInit, ControlValueAccessor {
10
+ label: string;
11
+ placeholder: string;
12
+ disabled: boolean;
13
+ size: string;
14
+ options: any;
15
+ optionLabel: string;
16
+ optionValue: string;
17
+ appendTo: string;
18
+ formControl1: FormControl | null;
19
+ errorDescription: string;
20
+ onChangeEvent: EventEmitter<any>;
21
+ sizeType: typeof SizeType;
22
+ onChange: any;
23
+ onTouch: any;
24
+ ngModelValue: any;
25
+ ngOnInit(): void;
26
+ writeValue(value: any): void;
27
+ registerOnChange(fn: any): void;
28
+ registerOnTouched(fn: any): void;
29
+ setDisabledState(isDisabled: boolean): void;
30
+ onOptionSelected(): void;
31
+ getSizeName(value: number): string;
32
+ onInputBlur(event: Event): void;
33
+ convertToFormControl(absCtrl: AbstractControl | null): FormControl;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditSelectComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditSelectComponent, "w-edit-select", never, { "label": "label"; "placeholder": "placeholder"; "size": "size"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "appendTo": "appendTo"; "formControl1": "formControl"; "errorDescription": "errorDescription"; }, { "onChangeEvent": "onChange"; }, never, never, false, never>;
36
+ }
37
+ export {};
@@ -0,0 +1,33 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ControlValueAccessor, FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ declare enum SizeType {
5
+ small = 0,
6
+ medium = 1,
7
+ large = 2
8
+ }
9
+ export declare class WEditTreeselectComponent implements OnInit, ControlValueAccessor {
10
+ label: string;
11
+ placeholder: string;
12
+ disabled: boolean;
13
+ size: string;
14
+ options: any;
15
+ formControl: FormControl | null;
16
+ errorDescription: string;
17
+ filterBy: string;
18
+ sizeType: typeof SizeType;
19
+ onChange: any;
20
+ onTouch: any;
21
+ ngModelValue: any;
22
+ ngOnInit(): void;
23
+ writeValue(value: any): void;
24
+ registerOnChange(fn: any): void;
25
+ registerOnTouched(fn: any): void;
26
+ setDisabledState(isDisabled: boolean): void;
27
+ onOptionSelected(): void;
28
+ onInputBlur(event: Event): void;
29
+ getSizeName(value: number): string;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<WEditTreeselectComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<WEditTreeselectComponent, "w-edit-treeselect", never, { "label": "label"; "placeholder": "placeholder"; "disabled": "disabled"; "size": "size"; "options": "options"; "formControl": "formControl"; "errorDescription": "errorDescription"; "filterBy": "filterBy"; }, {}, never, never, false, never>;
32
+ }
33
+ export {};
@@ -0,0 +1 @@
1
+ export declare const wappingIcons: any;
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WappIconsComponent {
4
+ private element;
5
+ set name(iconName: string);
6
+ set width(width: number);
7
+ set height(height: number);
8
+ set color(fillColor: string);
9
+ private applyColorToPaths;
10
+ constructor(element: ElementRef);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<WappIconsComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<WappIconsComponent, "wapp-icons", never, { "name": "name"; "width": "width"; "height": "height"; "color": "color"; }, {}, never, ["*"], false, never>;
13
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WBodyComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<WBodyComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<WBodyComponent, "w-body", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WBodyContainerComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<WBodyContainerComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<WBodyContainerComponent, "w-body-container", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WContainerComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<WContainerComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<WContainerComponent, "w-container", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WFooterComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<WFooterComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<WFooterComponent, "w-footer", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WHeaderPanelComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<WHeaderPanelComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<WHeaderPanelComponent, "w-header-panel", never, {}, {}, never, [".main-actions", ".secondary-actions"], false, never>;
5
+ }
@@ -0,0 +1,16 @@
1
+ import { Router } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ interface Breadcrumb {
4
+ label: string;
5
+ url?: string;
6
+ }
7
+ export declare class WNavbarComponent {
8
+ private router;
9
+ private readonly _breadcrumbs$;
10
+ readonly breadcrumbs$: import("rxjs").Observable<Breadcrumb[]>;
11
+ constructor(router: Router);
12
+ private addBreadcrumb;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<WNavbarComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<WNavbarComponent, "w-navbar", never, {}, {}, never, never, false, never>;
15
+ }
16
+ export {};
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WPanelComponent {
3
+ width: any;
4
+ title: string;
5
+ activeGrid: boolean;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<WPanelComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<WPanelComponent, "w-panel", never, { "width": "width"; "title": "title"; "activeGrid": "activeGrid"; }, {}, never, ["*"], false, never>;
8
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class WPanelTitleComponent {
3
+ title: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<WPanelTitleComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<WPanelTitleComponent, "w-panel-title", never, { "title": "title"; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1 @@
1
+ export declare const wappingLogos: any;
@@ -0,0 +1,13 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WappLogosComponent {
4
+ private element;
5
+ set name(logoName: string);
6
+ set width(width: number);
7
+ set height(height: number);
8
+ set color(fillColor: string);
9
+ private applyColorToPaths;
10
+ constructor(element: ElementRef);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<WappLogosComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<WappLogosComponent, "wapp-logos", never, { "name": "name"; "width": "width"; "height": "height"; "color": "color"; }, {}, never, ["*"], false, never>;
13
+ }
@@ -0,0 +1,63 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormBuilder, FormControl } from '@angular/forms';
3
+ import { QBDataTypeEnum } from '../../shared/models/enums.model';
4
+ import { QbPanelFilter } from '../../shared/models/filter-panel/qb-panel-filter.model';
5
+ import { FieldMap, QueryBuilderConfig } from '../../shared/models/filter-panel/field.model';
6
+ import { FilterPanelTranslations } from '../../shared/models/filter-panel/filter-panel-translations.model';
7
+ import { QueryResultType, QueryResults } from '../../shared/models/filter-panel/query-results.model';
8
+ import { QbFilterEntity } from '../../shared/models/filter-panel/qb-filter-entity.model';
9
+ import { ApiService } from '../../shared/service/api/api.service';
10
+ import * as i0 from "@angular/core";
11
+ export declare class WFilterPanelComponent {
12
+ private formBuilder;
13
+ private apiService;
14
+ queryCtrl: FormControl;
15
+ advancedQueryCtrl: FormControl;
16
+ groupedQueryCtrl: FormControl;
17
+ persistValueOnFieldChange: boolean;
18
+ queryConfigReady: boolean;
19
+ isAdvancedSearch: boolean;
20
+ qbDataTypeEnum: typeof QBDataTypeEnum;
21
+ qbDataEnums: (string | QBDataTypeEnum)[];
22
+ basicQueryConfig: any;
23
+ advancedQueryConfig: any;
24
+ basicQuery: any;
25
+ groupedQuery: any;
26
+ advancedQuery: any;
27
+ filterPanelObject: QbPanelFilter;
28
+ entityConfigGrouped: QueryBuilderConfig;
29
+ entities: any[];
30
+ defaultValues: any[];
31
+ defaultOperators: any[];
32
+ authorizationApiUrl: string;
33
+ commonDataApiUrl: string;
34
+ token: string;
35
+ commonDataToken: string;
36
+ filterId: string;
37
+ dataIsLoadingSearchButton: boolean;
38
+ translationsObject: FilterPanelTranslations;
39
+ searchClicked: EventEmitter<QueryResults>;
40
+ clearClicked: EventEmitter<boolean>;
41
+ stateOptions: any[];
42
+ constructor(formBuilder: FormBuilder, apiService: ApiService);
43
+ ngOnInit(): void;
44
+ initQueryBuilderControls(): void;
45
+ updateSearchType(): void;
46
+ onSearchClicked(): void;
47
+ onClearClicked(): void;
48
+ handleEmptyFieldsQuery(queries: QueryResults): QueryResults;
49
+ getQueryType(): QueryResultType;
50
+ setEntity(queries: QueryResults): void;
51
+ getQueryBuilderFilterPanel(): void;
52
+ initQueryBuilder(filterEntities: QbFilterEntity[]): QueryBuilderConfig;
53
+ filterFieldsById(fieldsObj: any, idArray: number[]): any;
54
+ translateFields(fields: FieldMap): FieldMap;
55
+ moveElementToFirstPlace(array: any[], elementToFirstPlace: string): any[];
56
+ formatDefaultValue(value: any, type: QBDataTypeEnum): any;
57
+ getDataType(id: number): string;
58
+ deleteFieldsWithoutValue(json: any): any;
59
+ initializeOperators(json: any): any;
60
+ resetBasicQueryValues(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<WFilterPanelComponent, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<WFilterPanelComponent, "w-filter-panel", never, { "authorizationApiUrl": "apiUrl"; "commonDataApiUrl": "commonDataApiUrl"; "token": "token"; "commonDataToken": "commonDataToken"; "filterId": "filterId"; "dataIsLoadingSearchButton": "dataIsLoadingSearchButton"; "translationsObject": "translationsObject"; }, { "searchClicked": "searchClicked"; "clearClicked": "clearClicked"; }, never, never, false, never>;
63
+ }
@@ -0,0 +1,25 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from "@angular/core";
2
+ import { ControlValueAccessor } from "@angular/forms";
3
+ import { DataTypeEnum } from "../../../shared/models/enums.model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class WListFieldComponent implements OnInit, ControlValueAccessor, OnChanges {
6
+ optionsReceived: any;
7
+ options: any;
8
+ optionSelected: any;
9
+ operator: any;
10
+ placeholder: any;
11
+ onlyDropdown: boolean;
12
+ dataType: typeof DataTypeEnum;
13
+ private onChange;
14
+ private onTouched;
15
+ constructor();
16
+ ngOnInit(): void;
17
+ ngOnChanges(changes: SimpleChanges): void;
18
+ onOptionSelected(): void;
19
+ writeValue(value: any): void;
20
+ registerOnChange(fn: any): void;
21
+ registerOnTouched(fn: any): void;
22
+ getDataType(): DataTypeEnum.Single | DataTypeEnum.Multi;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<WListFieldComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WListFieldComponent, "w-list-field", never, { "optionsReceived": "options"; "operator": "operator"; "placeholder": "placeholder"; "onlyDropdown": "onlyDropdown"; }, {}, never, never, false, never>;
25
+ }
@@ -0,0 +1,29 @@
1
+ import { SizeType } from '../../shared/enums/enum';
2
+ import { FormControl } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WInputSearchComponent {
5
+ label: string;
6
+ placeholder: string;
7
+ isRequired: boolean;
8
+ isDisabled: boolean;
9
+ size: string;
10
+ items: any[];
11
+ formControl: FormControl | null;
12
+ selectedItem: any;
13
+ suggestions: any[];
14
+ value: any;
15
+ isTouched: boolean;
16
+ onChange: (_: any) => void;
17
+ onTouch: () => void;
18
+ writeValue(value: any): void;
19
+ registerOnChange(onChange: any): void;
20
+ registerOnTouched(onTouch: any): void;
21
+ setDisabledState?(isDisabled: boolean): void;
22
+ onValueChanged(): void;
23
+ onInputBlur(event: Event): void;
24
+ search(event: any): void;
25
+ getSizeName(value: number): string;
26
+ get sizeType(): typeof SizeType;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<WInputSearchComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<WInputSearchComponent, "w-input-search", never, { "label": "label"; "placeholder": "placeholder"; "isRequired": "isRequired"; "isDisabled": "isDisabled"; "size": "size"; "items": "items"; "formControl": "formControl"; }, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum SizeType {
2
+ small = 0,
3
+ medium = 1
4
+ }
@@ -0,0 +1,4 @@
1
+ export interface CustomButtonConfig {
2
+ hasCustomButton: boolean;
3
+ icon: string;
4
+ }
@@ -0,0 +1,58 @@
1
+ export declare enum TableColumnFilterTypes {
2
+ None = 0,
3
+ Text = 1,
4
+ Multiselect = 2,
5
+ Checkbox = 3,
6
+ Image = 4,
7
+ Boolean = 5,
8
+ Date = 6
9
+ }
10
+ export declare enum TableColumnTypes {
11
+ None = 0,
12
+ Text = 1,
13
+ Badge = 2,
14
+ Checkbox = 3,
15
+ Image = 4,
16
+ Boolean = 5,
17
+ Date = 6,
18
+ Currency = 7
19
+ }
20
+ export declare enum QBDataTypeEnum {
21
+ Boolean = 1,
22
+ Datetime = 2,
23
+ Decimal = 3,
24
+ List = 4,
25
+ Number = 5,
26
+ Text = 6,
27
+ Address = 7,
28
+ StoreList = 8,
29
+ ServiceList = 9,
30
+ ProductList = 10,
31
+ CategoryList = 11,
32
+ ProductTagList = 12,
33
+ SegmentList = 13,
34
+ GroupList = 14,
35
+ CustomerTagList = 15,
36
+ TypeEventActivityList = 16,
37
+ PaymentTypeList = 17,
38
+ SaleChannelList = 18,
39
+ CustomerChannelList = 19,
40
+ OperationTypeList = 20
41
+ }
42
+ export declare enum OperatorEnum {
43
+ Equals = "=",
44
+ NotEquals = "!=",
45
+ LessThan = "<",
46
+ LessThanEqual = "<=",
47
+ GreaterThan = ">",
48
+ GreaterThanEqual = ">=",
49
+ In = "in",
50
+ NotIn = "not in",
51
+ IsNull = "is null",
52
+ IsNotNull = "is not null"
53
+ }
54
+ export declare enum DataTypeEnum {
55
+ Single = 1,
56
+ Multi = 2,
57
+ Nullable = 3
58
+ }