@po-ui/ng-components 17.5.0 → 17.7.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 (42) hide show
  1. package/esm2022/lib/components/po-dynamic/index.mjs +3 -1
  2. package/esm2022/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.mjs +56 -0
  3. package/esm2022/lib/components/po-dynamic/po-dynamic-field.interface.mjs +1 -1
  4. package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.mjs +8 -5
  5. package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.mjs +221 -196
  6. package/esm2022/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.mjs +9 -2
  7. package/esm2022/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.mjs +17 -6
  8. package/esm2022/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.mjs +68 -39
  9. package/esm2022/lib/components/po-dynamic/po-dynamic.module.mjs +20 -7
  10. package/esm2022/lib/components/po-dynamic/shared/po-dynamic-shared-base.mjs +41 -0
  11. package/esm2022/lib/components/po-search/interfaces/po-search-option.interface.mjs +2 -0
  12. package/esm2022/lib/components/po-search/po-search-base.component.mjs +27 -2
  13. package/esm2022/lib/components/po-search/po-search.component.mjs +264 -48
  14. package/esm2022/lib/components/po-search/po-search.module.mjs +25 -4
  15. package/fesm2022/po-ui-ng-components.mjs +994 -564
  16. package/fesm2022/po-ui-ng-components.mjs.map +1 -1
  17. package/lib/components/po-dynamic/index.d.ts +2 -0
  18. package/lib/components/po-dynamic/po-dynamic-container/po-dynamic-container.component.d.ts +8 -0
  19. package/lib/components/po-dynamic/po-dynamic-field.interface.d.ts +7 -0
  20. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +2 -3
  21. package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +7 -0
  22. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -3
  23. package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +5 -0
  24. package/lib/components/po-dynamic/po-dynamic.module.d.ts +11 -9
  25. package/lib/components/po-dynamic/shared/po-dynamic-shared-base.d.ts +18 -0
  26. package/lib/components/po-search/interfaces/po-search-option.interface.d.ts +21 -0
  27. package/lib/components/po-search/po-search-base.component.d.ts +20 -1
  28. package/lib/components/po-search/po-search.component.d.ts +53 -4
  29. package/lib/components/po-search/po-search.module.d.ts +2 -1
  30. package/package.json +4 -4
  31. package/po-ui-ng-components-17.7.0.tgz +0 -0
  32. package/schematics/ng-add/index.js +1 -1
  33. package/schematics/ng-update/v14/index.js +1 -1
  34. package/schematics/ng-update/v15/index.js +1 -1
  35. package/schematics/ng-update/v16/index.js +1 -1
  36. package/schematics/ng-update/v17/index.js +1 -1
  37. package/schematics/ng-update/v2/index.js +1 -1
  38. package/schematics/ng-update/v3/index.js +1 -1
  39. package/schematics/ng-update/v4/index.js +1 -1
  40. package/schematics/ng-update/v5/index.js +1 -1
  41. package/schematics/ng-update/v6/index.js +1 -1
  42. package/po-ui-ng-components-17.5.0.tgz +0 -0
@@ -1,5 +1,6 @@
1
1
  export * from './po-dynamic-field-type.enum';
2
2
  export * from './po-dynamic-field-force-component.enum';
3
+ export * from './shared/po-dynamic-shared-base';
3
4
  export * from './po-dynamic-form/po-dynamic-form-field.interface';
4
5
  export * from './po-dynamic-view/interfaces/po-dynamic-view-request.interface';
5
6
  export * from './po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface';
@@ -9,4 +10,5 @@ export * from './po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-vali
9
10
  export * from './po-dynamic-form/po-dynamic-form.component';
10
11
  export * from './po-dynamic-view/po-dynamic-view-field.interface';
11
12
  export * from './po-dynamic-view/po-dynamic-view.component';
13
+ export * from './po-dynamic-container/po-dynamic-container.component';
12
14
  export * from './po-dynamic.module';
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PoDynamicContainerComponent {
4
+ content: TemplateRef<any> | any;
5
+ fields: Array<any>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicContainerComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoDynamicContainerComponent, "po-dynamic-container", never, { "content": { "alias": "p-content"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; }, {}, never, never, false, never>;
8
+ }
@@ -172,4 +172,11 @@ export interface PoDynamicField {
172
172
  * @default `string`
173
173
  */
174
174
  type?: string | PoDynamicFieldType;
175
+ /**
176
+ * Exibirá um container para todos os campos abaixo dessa propriedade.
177
+ * Esta propriedade configura o layout dos componentes dynamic-view e dynamic-edit, deixando todos os items dentro de containers
178
+ *
179
+ * Está propriedade é do tipo string, o valor que será titulo do contianer
180
+ * */
181
+ container?: string;
175
182
  }
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { TitleCasePipe } from '@angular/common';
3
3
  import { PoDynamicFormField } from '../po-dynamic-form-field.interface';
4
- import { PoDynamicFormFieldInternal } from './po-dynamic-form-field-internal.interface';
4
+ import { PoDynamicSharedBase } from '../../shared/po-dynamic-shared-base';
5
5
  import * as i0 from "@angular/core";
6
- export declare class PoDynamicFormFieldsBaseComponent {
6
+ export declare class PoDynamicFormFieldsBaseComponent extends PoDynamicSharedBase {
7
7
  private titleCasePipe;
8
8
  autoFocus?: string;
9
9
  disabledForm: boolean;
@@ -12,7 +12,6 @@ export declare class PoDynamicFormFieldsBaseComponent {
12
12
  fieldsChange: EventEmitter<any>;
13
13
  objectValue: EventEmitter<any>;
14
14
  validateOnInput: boolean;
15
- visibleFields: Array<PoDynamicFormFieldInternal>;
16
15
  private _fields;
17
16
  private _validateFields;
18
17
  private _value?;
@@ -21,6 +21,13 @@ import * as i0 from "@angular/core";
21
21
  * <file name="sample-po-dynamic-form-register/sample-po-dynamic-form-register.component.ts"> </file>
22
22
  * <file name="sample-po-dynamic-form-register/sample-po-dynamic-form-register.service.ts"> </file>
23
23
  * </example>
24
+ *
25
+ * <example name="po-dynamic-form-container" title="PO Dynamic Form - Container">
26
+ * <file name="sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.html"> </file>
27
+ * <file name="sample-po-dynamic-form-container/sample-po-dynamic-form-container.component.ts"> </file>
28
+ * <file name="sample-po-dynamic-form-container/sample-po-dynamic-form-container.service.ts"> </file>
29
+ * </example>
30
+ *
24
31
  */
25
32
  export declare class PoDynamicFormComponent extends PoDynamicFormBaseComponent implements OnInit, OnDestroy {
26
33
  private changes;
@@ -4,6 +4,7 @@ import { PoDynamicViewField } from './po-dynamic-view-field.interface';
4
4
  import { PoDynamicViewService } from './services/po-dynamic-view.service';
5
5
  import { PoComboFilterService } from '../../po-field/po-combo/po-combo-filter.service';
6
6
  import { PoMultiselectFilterService } from '../../po-field/po-multiselect/po-multiselect-filter.service';
7
+ import { PoDynamicSharedBase } from '../shared/po-dynamic-shared-base';
7
8
  import * as i0 from "@angular/core";
8
9
  /**
9
10
  *
@@ -14,7 +15,7 @@ import * as i0 from "@angular/core";
14
15
  * > Por padrão esse componente cria `po-info` para exibição, é possível criar `po-tag` passando a propriedade { tag: true }.
15
16
  *
16
17
  */
17
- export declare class PoDynamicViewBaseComponent {
18
+ export declare class PoDynamicViewBaseComponent extends PoDynamicSharedBase {
18
19
  private currencyPipe;
19
20
  private datePipe;
20
21
  private decimalPipe;
@@ -57,7 +58,6 @@ export declare class PoDynamicViewBaseComponent {
57
58
  *
58
59
  */
59
60
  load: string | Function;
60
- visibleFields: any[];
61
61
  service: any;
62
62
  private _fields;
63
63
  private _showAllValue;
@@ -108,7 +108,8 @@ export declare class PoDynamicViewBaseComponent {
108
108
  set value(value: object);
109
109
  get value(): object;
110
110
  constructor(currencyPipe: CurrencyPipe, datePipe: DatePipe, decimalPipe: DecimalPipe, timePipe: PoTimePipe, titleCasePipe: TitleCasePipe, dynamicViewService: PoDynamicViewService, comboFilterService: PoComboFilterService, multiselectFilterService: PoMultiselectFilterService);
111
- protected getFieldOrder(field: PoDynamicViewField, index: number): any;
111
+ protected getFieldOrderRetroactive(position: number, index?: number): number;
112
+ protected getFieldOrder(field: PoDynamicViewField, index: number): number;
112
113
  protected getConfiguredFields(useSearchService?: boolean): any[];
113
114
  protected getMergedFields(): any[];
114
115
  protected getValueFields(): {
@@ -155,6 +156,7 @@ export declare class PoDynamicViewBaseComponent {
155
156
  visible?: boolean;
156
157
  divider?: string;
157
158
  type?: string;
159
+ container?: string;
158
160
  value: any;
159
161
  cssClass: string;
160
162
  }[];
@@ -26,6 +26,11 @@ import * as i0 from "@angular/core";
26
26
  * <file name="sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.component.ts"> </file>
27
27
  * <file name="sample-po-dynamic-view-employee-on-load/sample-po-dynamic-view-employee-on-load.service.ts"> </file>
28
28
  * </example>
29
+ *
30
+ * <example name="po-dynamic-view-container" title="PO Dynamic View - Employee on load">
31
+ * <file name="sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.html"> </file>
32
+ * <file name="sample-po-dynamic-view-container/sample-po-dynamic-view-container.component.ts"> </file>
33
+ * </example>
29
34
  */
30
35
  export declare class PoDynamicViewComponent extends PoDynamicViewBaseComponent implements OnChanges, OnInit {
31
36
  initChanges: any;
@@ -2,16 +2,18 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./po-dynamic-form/po-dynamic-form.component";
3
3
  import * as i2 from "./po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component";
4
4
  import * as i3 from "./po-dynamic-view/po-dynamic-view.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "../po-divider/po-divider.module";
8
- import * as i7 from "../po-info/po-info.module";
9
- import * as i8 from "../po-field/po-field.module";
10
- import * as i9 from "../po-tag/po-tag.module";
11
- import * as i10 from "../../pipes/po-time/po-time.module";
12
- import * as i11 from "../po-image/po-image.module";
5
+ import * as i4 from "./po-dynamic-container/po-dynamic-container.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "../po-divider/po-divider.module";
9
+ import * as i8 from "../po-info/po-info.module";
10
+ import * as i9 from "../po-field/po-field.module";
11
+ import * as i10 from "../po-tag/po-tag.module";
12
+ import * as i11 from "../../pipes/po-time/po-time.module";
13
+ import * as i12 from "../po-image/po-image.module";
14
+ import * as i13 from "../po-container/po-container.module";
13
15
  export declare class PoDynamicModule {
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoDynamicModule, [typeof i1.PoDynamicFormComponent, typeof i2.PoDynamicFormFieldsComponent, typeof i3.PoDynamicViewComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.PoDividerModule, typeof i7.PoInfoModule, typeof i8.PoFieldModule, typeof i9.PoTagModule, typeof i10.PoTimeModule, typeof i11.PoImageModule], [typeof i1.PoDynamicFormComponent, typeof i3.PoDynamicViewComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoDynamicModule, [typeof i1.PoDynamicFormComponent, typeof i2.PoDynamicFormFieldsComponent, typeof i3.PoDynamicViewComponent, typeof i4.PoDynamicContainerComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PoDividerModule, typeof i8.PoInfoModule, typeof i9.PoFieldModule, typeof i10.PoTagModule, typeof i11.PoTimeModule, typeof i12.PoImageModule, typeof i13.PoContainerModule], [typeof i1.PoDynamicFormComponent, typeof i3.PoDynamicViewComponent, typeof i4.PoDynamicContainerComponent]>;
16
18
  static ɵinj: i0.ɵɵInjectorDeclaration<PoDynamicModule>;
17
19
  }
@@ -0,0 +1,18 @@
1
+ import { PoDynamicFormField } from '../po-dynamic-form/po-dynamic-form-field.interface';
2
+ import { PoDynamicViewField } from '../po-dynamic-view/po-dynamic-view-field.interface';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * @usedBy PoDynamicViewComponent, PoDynamicFormComponent
6
+ * @description
7
+ * Componente para listar dados compartilhados entre o dynamic-view e o dynamic-form
8
+ */
9
+ export declare class PoDynamicSharedBase {
10
+ visibleFields: Array<any>;
11
+ containerFields: any[];
12
+ hasContainers: boolean;
13
+ ensureFieldHasContainer(fields: Array<PoDynamicViewField> | Array<PoDynamicFormField>): void;
14
+ setContainerFields(): void;
15
+ private groupFieldsIntoContainers;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoDynamicSharedBase, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoDynamicSharedBase, never, never, {}, {}, never, never, false, never>;
18
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @usedBy PoSearchComponent
3
+ *
4
+ * @description
5
+ *
6
+ * Interface que define as opções que serão exibidas na lista ao procurar do `po-search`.
7
+ */
8
+ export interface PoSearchOption {
9
+ /**
10
+ * @optional
11
+ *
12
+ * @description
13
+ *
14
+ * Descrição exibida nas opções da lista.
15
+ *
16
+ * > Caso não seja definida será assumido o valor definido na propriedade `value`.
17
+ */
18
+ label?: string;
19
+ /** Valor do objeto que será atribuído ao *model*. */
20
+ value: string | number;
21
+ }
@@ -163,6 +163,17 @@ export declare class PoSearchBaseComponent {
163
163
  * @default `startsWith`
164
164
  */
165
165
  filterType: PoSearchFilterMode;
166
+ /**
167
+ * @optional
168
+ *
169
+ * @description
170
+ *
171
+ * Exibe uma lista (auto-complete) com as opções definidas no `p-filter-keys` enquanto realiza uma busca,
172
+ * respeitando o `p-filter-type` como modo de pesquisa.
173
+ *
174
+ * @default `false`
175
+ */
176
+ showListbox: boolean;
166
177
  /**
167
178
  * @optional
168
179
  *
@@ -187,8 +198,16 @@ export declare class PoSearchBaseComponent {
187
198
  * Pode ser informada uma função que será disparada quando houver alterações nos filtros.
188
199
  */
189
200
  filter: EventEmitter<any>;
201
+ /**
202
+ * @optional
203
+ *
204
+ * @description
205
+ *
206
+ * Pode ser informada uma função que será disparada quando houver click no listbox.
207
+ */
208
+ listboxOnClick: EventEmitter<any>;
190
209
  constructor(languageService: PoLanguageService);
191
210
  static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchBaseComponent, never>;
192
- static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "disabled": { "alias": "p-disabled"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; }, { "changeModel": "p-change-model"; "filteredItemsChange": "p-filtered-items-change"; "filter": "p-filter"; }, never, never, false, never>;
211
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "disabled": { "alias": "p-disabled"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "showListbox": { "alias": "p-show-listbox"; "required": false; }; }, { "changeModel": "p-change-model"; "filteredItemsChange": "p-filtered-items-change"; "filter": "p-filter"; "listboxOnClick": "p-listbox-onclick"; }, never, never, false, never>;
193
212
  static ngAcceptInputType_disabled: any;
194
213
  }
@@ -1,6 +1,9 @@
1
- import { ElementRef, OnInit, Renderer2 } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { PoControlPositionService } from '../../services/po-control-position/po-control-position.service';
2
3
  import { PoLanguageService } from '../../services/po-language/po-language.service';
4
+ import { PoSearchOption } from './interfaces/po-search-option.interface';
3
5
  import { PoSearchBaseComponent } from './po-search-base.component';
6
+ import { PoListBoxComponent } from '../po-listbox';
4
7
  import * as i0 from "@angular/core";
5
8
  /**
6
9
  * @docsExtends PoSearchBaseComponent
@@ -24,16 +27,62 @@ import * as i0 from "@angular/core";
24
27
  * <file name="sample-po-search-find-people/sample-po-search-find-people.service.ts"> </file>
25
28
  * </example>
26
29
  *
30
+ * <example name="po-search-listbox" title="PO Search With Listbox">
31
+ * <file name="sample-po-search-listbox/sample-po-search-listbox.component.html"> </file>
32
+ * <file name="sample-po-search-listbox/sample-po-search-listbox.component.ts"> </file>
33
+ * <file name="sample-po-search-listbox/sample-po-search-listbox.service.ts"> </file>
34
+ * </example>
35
+ *
27
36
  */
28
- export declare class PoSearchComponent extends PoSearchBaseComponent implements OnInit {
37
+ export declare class PoSearchComponent extends PoSearchBaseComponent implements OnInit, OnDestroy {
29
38
  languageService: PoLanguageService;
30
39
  private renderer;
40
+ private changeDetector;
41
+ private controlPosition;
42
+ private clickoutListener;
43
+ private eventResizeListener;
31
44
  poSearchInput: ElementRef;
45
+ poListboxContainerElement: ElementRef;
46
+ poListboxElement: ElementRef;
47
+ poListbox: PoListBoxComponent;
48
+ listboxFilteredItems: Array<any>;
32
49
  filteredItems: Array<any>;
33
- constructor(languageService: PoLanguageService, renderer: Renderer2);
50
+ listboxOpen: boolean;
51
+ shouldMarkLetters: boolean;
52
+ isFiltering: boolean;
53
+ listboxItemclicked: boolean;
54
+ constructor(languageService: PoLanguageService, renderer: Renderer2, changeDetector: ChangeDetectorRef, controlPosition: PoControlPositionService);
34
55
  ngOnInit(): void;
56
+ ngOnDestroy(): void;
35
57
  clearSearch(): void;
36
- onSearchChange(searchText: string, activated: boolean): void;
58
+ onSearchChange(searchText: string, activated: boolean, buttonClick?: boolean): void;
59
+ private updateFilteredItems;
60
+ private getFilteredItems;
61
+ private itemMatchesFilter;
62
+ getListboxFilteredItems(searchText: any): {
63
+ label: string;
64
+ value: string;
65
+ }[];
66
+ private filterValue;
67
+ get listboxItems(): {
68
+ label: string;
69
+ value: string;
70
+ }[];
71
+ onCloseListbox(): void;
72
+ onListboxClick(option: PoSearchOption, event?: any): void;
73
+ onBlur(): void;
74
+ onKeyDown(event?: any): void;
75
+ private focusItem;
76
+ private setContainerPosition;
77
+ private adjustContainerPosition;
78
+ controlListboxVisibility(toOpen: boolean): void;
79
+ private openListbox;
80
+ closeListbox(): void;
81
+ clickedOutsideInput(event: MouseEvent): void;
82
+ private initializeListeners;
83
+ private removeListeners;
84
+ private onScroll;
85
+ getInputValue(): any;
37
86
  static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchComponent, never>;
38
87
  static ɵcmp: i0.ɵɵComponentDeclaration<PoSearchComponent, "po-search", never, {}, {}, never, never, false, never>;
39
88
  }
@@ -6,6 +6,7 @@ import * as i4 from "../po-icon/po-icon.module";
6
6
  import * as i5 from "../po-loading/po-loading.module";
7
7
  import * as i6 from "../po-accordion/po-accordion.module";
8
8
  import * as i7 from "@angular/forms";
9
+ import * as i8 from "../po-listbox/po-listbox.module";
9
10
  /**
10
11
  * @description
11
12
  *
@@ -13,6 +14,6 @@ import * as i7 from "@angular/forms";
13
14
  */
14
15
  export declare class PoSearchModule {
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<PoSearchModule, [typeof i1.PoSearchComponent], [typeof i2.CommonModule, typeof i3.PoCleanModule, typeof i4.PoIconModule, typeof i5.PoLoadingModule, typeof i6.PoAccordionModule, typeof i7.FormsModule], [typeof i1.PoSearchComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PoSearchModule, [typeof i1.PoSearchComponent], [typeof i2.CommonModule, typeof i3.PoCleanModule, typeof i4.PoIconModule, typeof i5.PoLoadingModule, typeof i6.PoAccordionModule, typeof i7.FormsModule, typeof i8.PoListBoxModule], [typeof i1.PoSearchComponent]>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<PoSearchModule>;
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@po-ui/ng-components",
3
- "version": "17.5.0",
3
+ "version": "17.7.0",
4
4
  "description": "PO UI - Components",
5
5
  "author": "PO UI",
6
6
  "license": "MIT",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@angular/cdk": "~17.0.1",
24
- "@po-ui/style": "17.5.0",
25
- "@po-ui/ng-schematics": "17.5.0",
24
+ "@po-ui/style": "17.7.0",
25
+ "@po-ui/ng-schematics": "17.7.0",
26
26
  "tslib": "^2.6.2"
27
27
  },
28
28
  "peerDependencies": {
@@ -36,7 +36,7 @@
36
36
  "@angular/platform-browser-dynamic": "^17",
37
37
  "@angular/router": "^17",
38
38
  "@angular-devkit/schematics": "^17",
39
- "@po-ui/style": "17.5.0",
39
+ "@po-ui/style": "17.7.0",
40
40
  "rxjs": "~7.8.1",
41
41
  "zone.js": "~0.14.4"
42
42
  },
Binary file
@@ -18,7 +18,7 @@ function default_1(options) {
18
18
  exports.default = default_1;
19
19
  function addPoPackageAndInstall() {
20
20
  return (tree, context) => {
21
- (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.5.0');
21
+ (0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '17.7.0');
22
22
  // install packages
23
23
  context.addTask(new tasks_1.NodePackageInstallTask());
24
24
  };
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -10,7 +10,7 @@ const changes_1 = require("./changes");
10
10
  const httpClientModuleName = 'HttpClientModule';
11
11
  const httpClientModuleSourcePath = '@angular/common/http';
12
12
  function default_1() {
13
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
13
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
14
14
  }
15
15
  exports.default = default_1;
16
16
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
10
10
  const changes_1 = require("./changes");
11
11
  function updateToV2() {
12
12
  return (0, schematics_1.chain)([
13
- updatePackageJson('17.5.0', changes_1.dependeciesChanges),
13
+ updatePackageJson('17.7.0', changes_1.dependeciesChanges),
14
14
  (0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
15
15
  (0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
16
16
  createUpgradeRule(),
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
7
7
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
8
8
  const changes_1 = require("./changes");
9
9
  function updateToV3() {
10
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
11
11
  }
12
12
  exports.updateToV3 = updateToV3;
13
13
  function postUpdate() {
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
10
  }
11
11
  exports.default = default_1;
12
12
  function postUpdate() {
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
6
6
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
7
7
  const changes_1 = require("./changes");
8
8
  function default_1() {
9
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
9
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
10
10
  }
11
11
  exports.default = default_1;
12
12
  function postUpdate() {
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
5
5
  const package_config_1 = require("@po-ui/ng-schematics/package-config");
6
6
  const changes_1 = require("./changes");
7
7
  function default_1() {
8
- return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.5.0', changes_1.updateDepedenciesVersion), postUpdate()]);
8
+ return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('17.7.0', changes_1.updateDepedenciesVersion), postUpdate()]);
9
9
  }
10
10
  exports.default = default_1;
11
11
  function postUpdate() {
Binary file