@po-ui/ng-components 19.25.0 → 19.26.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.
- package/fesm2022/po-ui-ng-components.mjs +232 -39
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-listbox/interfaces/po-listbox-literals.interface.d.ts +1 -0
- package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -1
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +6 -1
- package/lib/components/po-listbox/po-listbox.component.d.ts +2 -1
- package/lib/components/po-search/literals/po-search-literals-default.d.ts +6 -0
- package/lib/components/po-search/literals/po-search-literals.interface.d.ts +8 -0
- package/lib/components/po-search/po-search-base.component.d.ts +31 -2
- package/lib/components/po-search/po-search.component.d.ts +16 -5
- package/package.json +4 -4
- package/po-ui-ng-components-19.26.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-19.25.0.tgz +0 -0
|
@@ -104,9 +104,10 @@ export declare class PoItemListBaseComponent {
|
|
|
104
104
|
activatedTab: EventEmitter<any>;
|
|
105
105
|
set activeTabs(value: boolean);
|
|
106
106
|
get activeTabs(): boolean;
|
|
107
|
+
keysLabel?: Array<string>;
|
|
107
108
|
protected emitActiveTabs(tab: any): void;
|
|
108
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoItemListBaseComponent, never>;
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoItemListBaseComponent, never, never, { "type": { "alias": "p-type"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; }; "item": { "alias": "p-item"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "selected": { "alias": "p-selected"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "checkboxValue": { "alias": "p-checkbox-value"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "templateContext": { "alias": "p-template-context"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "tabHide": { "alias": "p-tab-hide"; "required": false; }; "activeTabs": { "alias": "p-active-tabs"; "required": false; }; }, { "clickItem": "p-click-item"; "checkboxItem": "p-selectcheckbox-item"; "comboItem": "p-selectcombo-item"; "tabsItem": "p-emit-item-tabs"; "activatedTab": "p-activated-tabs"; }, never, never, true, never>;
|
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoItemListBaseComponent, never, never, { "type": { "alias": "p-type"; "required": false; }; "visible": { "alias": "p-visible"; "required": false; }; "item": { "alias": "p-item"; "required": false; }; "label": { "alias": "p-label"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "danger": { "alias": "p-danger"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "selected": { "alias": "p-selected"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "checkboxValue": { "alias": "p-checkbox-value"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "templateContext": { "alias": "p-template-context"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "tabHide": { "alias": "p-tab-hide"; "required": false; }; "activeTabs": { "alias": "p-active-tabs"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; }, { "clickItem": "p-click-item"; "checkboxItem": "p-selectcheckbox-item"; "comboItem": "p-selectcombo-item"; "tabsItem": "p-emit-item-tabs"; "activatedTab": "p-activated-tabs"; }, never, never, true, never>;
|
|
110
111
|
static ngAcceptInputType_danger: any;
|
|
111
112
|
static ngAcceptInputType_selected: any;
|
|
112
113
|
static ngAcceptInputType_separator: any;
|
|
@@ -66,13 +66,18 @@ export declare class PoListBoxBaseComponent {
|
|
|
66
66
|
compareCache: boolean;
|
|
67
67
|
comboService: any;
|
|
68
68
|
containerWidth: number;
|
|
69
|
+
keysLabel: Array<string>;
|
|
70
|
+
footerActionListbox: boolean;
|
|
71
|
+
placeholderListbox: string;
|
|
72
|
+
separator: boolean;
|
|
69
73
|
activatedTab: EventEmitter<any>;
|
|
70
74
|
clickTab: EventEmitter<any>;
|
|
71
75
|
changeStateTabs: EventEmitter<any>;
|
|
72
76
|
clickItem: EventEmitter<any>;
|
|
77
|
+
footerActionListboxEvent: EventEmitter<any>;
|
|
73
78
|
constructor(languageService: PoLanguageService);
|
|
74
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxBaseComponent, never>;
|
|
75
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "visible": { "alias": "p-visible"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; }, { "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "changeSearch": "p-change-search"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; "clickItem": "p-click-item"; }, never, never, true, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoListBoxBaseComponent, never, never, { "visible": { "alias": "p-visible"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "isTabs": { "alias": "p-is-tabs"; "required": false; }; "param": { "alias": "p-param"; "required": false; }; "checkboxAllValue": { "alias": "p-checkboxAllValue"; "required": false; }; "selectedOptions": { "alias": "p-selected-options"; "required": false; }; "selectedOption": { "alias": "p-selected-option"; "required": false; }; "fieldValue": { "alias": "p-field-value"; "required": false; }; "fieldLabel": { "alias": "p-field-label"; "required": false; }; "literalSearch": { "alias": "p-literal-search"; "required": false; }; "fieldValueSearch": { "alias": "p-field-value-search"; "required": false; }; "hideSearch": { "alias": "p-hide-search"; "required": false; }; "hideSelectAll": { "alias": "p-hide-select-all"; "required": false; }; "multiselectTemplate": { "alias": "p-multiselect-template"; "required": false; }; "template": { "alias": "p-template"; "required": false; }; "placeholderSearch": { "alias": "p-placeholder-search"; "required": false; }; "searchValue": { "alias": "p-search-value"; "required": false; }; "isServerSearching": { "alias": "p-is-searching"; "required": false; }; "infiniteLoading": { "alias": "p-infinite-loading"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "cache": { "alias": "p-cache"; "required": false; }; "infiniteScrollDistance": { "alias": "p-infinite-scroll-distance"; "required": false; }; "filterMode": { "alias": "p-filter-mode"; "required": false; }; "isFiltering": { "alias": "p-filtering"; "required": false; }; "shouldMarkLetters": { "alias": "p-should-mark-letter"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "compareCache": { "alias": "p-compare-cache"; "required": false; }; "comboService": { "alias": "p-combo-service"; "required": false; }; "containerWidth": { "alias": "p-container-width"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; "footerActionListbox": { "alias": "p-footer-action-listbox"; "required": false; }; "placeholderListbox": { "alias": "p-placeholder-listbox"; "required": false; }; "separator": { "alias": "p-separator"; "required": false; }; }, { "selectItem": "p-select-item"; "closeEvent": "p-close"; "change": "p-change"; "selectCombo": "p-selectcombo-item"; "changeAll": "p-change-all"; "UpdateInfiniteScroll": "p-update-infinite-scroll"; "changeSearch": "p-change-search"; "activatedTab": "p-activated-tabs"; "clickTab": "p-click-tabs"; "changeStateTabs": "p-change-state-tabs"; "clickItem": "p-click-item"; "footerActionListboxEvent": "p-footer-action-listbox-event"; }, never, never, true, never>;
|
|
76
81
|
static ngAcceptInputType_visible: any;
|
|
77
82
|
static ngAcceptInputType_isTabs: any;
|
|
78
83
|
static ngAcceptInputType_isServerSearching: any;
|
|
@@ -43,13 +43,14 @@ export declare class PoListBoxComponent extends PoListBoxBaseComponent implement
|
|
|
43
43
|
protected getSizeLoading(): "xs" | "sm" | "md";
|
|
44
44
|
protected getTextLoading(): "" | " ";
|
|
45
45
|
private hasInfiniteScroll;
|
|
46
|
-
checkTemplate(): number;
|
|
46
|
+
checkTemplate(): number | true;
|
|
47
47
|
private includeInfiniteScroll;
|
|
48
48
|
protected returnBooleanValue(itemListAction: any, property: string): any;
|
|
49
49
|
private setListBoxMaxHeight;
|
|
50
50
|
private openUrl;
|
|
51
51
|
onClickTabs(tab: any): void;
|
|
52
52
|
formatItemList(item: any): string;
|
|
53
|
+
handleFooterActionListbox(): void;
|
|
53
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListBoxComponent, never>;
|
|
54
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoListBoxComponent, "po-listbox", never, {}, {}, never, ["[p-popup-header-template]"], false, never>;
|
|
55
56
|
}
|
|
@@ -40,4 +40,12 @@ export interface PoSearchLiterals {
|
|
|
40
40
|
* > Exibido apenas quando a propriedade `p-filter-locate` estiver habilitada.
|
|
41
41
|
*/
|
|
42
42
|
result?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Texto exibido na ação do rodapé da lista de resultados.
|
|
45
|
+
*/
|
|
46
|
+
footerActionListbox?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Texto exibido como *placeholder* na lista de resultados.
|
|
49
|
+
*/
|
|
50
|
+
placeholderListbox?: string;
|
|
43
51
|
}
|
|
@@ -5,7 +5,7 @@ import { PoSearchFilterSelect } from './interfaces/po-search-filter-select.inter
|
|
|
5
5
|
import { PoSearchLiterals } from './literals/po-search-literals.interface';
|
|
6
6
|
import { PoSearchLocateSummary } from './interfaces/po-search-locate-summary.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export type searchMode = 'action' | 'trigger' | 'locate';
|
|
8
|
+
export type searchMode = 'action' | 'trigger' | 'locate' | 'execute';
|
|
9
9
|
/**
|
|
10
10
|
* @description
|
|
11
11
|
*
|
|
@@ -81,6 +81,7 @@ export declare class PoSearchBaseComponent {
|
|
|
81
81
|
protected language: string;
|
|
82
82
|
private _filterSelect?;
|
|
83
83
|
private _size?;
|
|
84
|
+
private _keysLabel?;
|
|
84
85
|
/**
|
|
85
86
|
* @optional
|
|
86
87
|
*
|
|
@@ -240,6 +241,8 @@ export declare class PoSearchBaseComponent {
|
|
|
240
241
|
* - `action`: Realiza a busca a cada caractere digitado.
|
|
241
242
|
* - `trigger`: Realiza a busca ao pressionar `enter` ou clicar no ícone de busca.
|
|
242
243
|
* - `locate`: Modo manual. Exibe botões e contador, mas não executa buscas — controle é do desenvolvedor.
|
|
244
|
+
* - `execute`: Executa uma ação ou realiza um redirecionamento ao selecionar um item no `listbox`.
|
|
245
|
+
* Para este tipo, é necessário informar as propriedades `action` ou `url` nos itens definidos em `p-items`.
|
|
243
246
|
*
|
|
244
247
|
* @default `action`
|
|
245
248
|
*/
|
|
@@ -273,6 +276,23 @@ export declare class PoSearchBaseComponent {
|
|
|
273
276
|
*/
|
|
274
277
|
set size(value: string);
|
|
275
278
|
get size(): string;
|
|
279
|
+
/**
|
|
280
|
+
* @optional
|
|
281
|
+
*
|
|
282
|
+
* @description
|
|
283
|
+
*
|
|
284
|
+
* Define os nomes das propriedades do objeto que serão exibidos como rótulos (labels) no `listbox` quando a propriedade
|
|
285
|
+
* `p-show-listbox` estiver habilitada.
|
|
286
|
+
*
|
|
287
|
+
* Deve ser informado um array de strings contendo até **3 propriedades**.
|
|
288
|
+
*
|
|
289
|
+
* Exemplo de uso:
|
|
290
|
+
* ```ts
|
|
291
|
+
* keysLabel: Array<string> = ['nome', 'email', 'country'];
|
|
292
|
+
* ```
|
|
293
|
+
*/
|
|
294
|
+
set keysLabel(value: Array<string>);
|
|
295
|
+
get keysLabel(): Array<string>;
|
|
276
296
|
/**
|
|
277
297
|
* @optional
|
|
278
298
|
*
|
|
@@ -339,10 +359,19 @@ export declare class PoSearchBaseComponent {
|
|
|
339
359
|
* > Compatível com a propriedade `p-search-type` do tipo `locate`.
|
|
340
360
|
*/
|
|
341
361
|
locatePrevious: EventEmitter<void>;
|
|
362
|
+
/**
|
|
363
|
+
* @optional
|
|
364
|
+
*
|
|
365
|
+
* @description
|
|
366
|
+
*
|
|
367
|
+
* Evento disparado ao clicar no botão de ação exibido no rodapé do `listbox`.
|
|
368
|
+
* O texto exibido pode ser configurado por meio do literal `footerActionListbox`.
|
|
369
|
+
*/
|
|
370
|
+
footerAction: EventEmitter<any>;
|
|
342
371
|
constructor(languageService: PoLanguageService);
|
|
343
372
|
ensureFilterSelectOption(values: any): any[];
|
|
344
373
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchBaseComponent, never>;
|
|
345
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "filterSelect": { "alias": "p-filter-select"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "locateSummary": { "alias": "p-locate-summary"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "showListbox": { "alias": "p-show-listbox"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; }, { "blur": "p-blur"; "changeModel": "p-change-model"; "filter": "p-filter"; "filteredItemsChange": "p-filtered-items-change"; "listboxOnClick": "p-listbox-onclick"; "locateNext": "p-locate-next"; "locatePrevious": "p-locate-previous"; }, never, never, true, never>;
|
|
374
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoSearchBaseComponent, never, never, { "ariaLabel": { "alias": "p-aria-label"; "required": false; }; "disabled": { "alias": "p-disabled"; "required": false; }; "filterKeys": { "alias": "p-filter-keys"; "required": false; }; "filterSelect": { "alias": "p-filter-select"; "required": false; }; "filterType": { "alias": "p-filter-type"; "required": false; }; "icon": { "alias": "p-icon"; "required": false; }; "items": { "alias": "p-items"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "locateSummary": { "alias": "p-locate-summary"; "required": false; }; "type": { "alias": "p-search-type"; "required": false; }; "showListbox": { "alias": "p-show-listbox"; "required": false; }; "size": { "alias": "p-size"; "required": false; }; "keysLabel": { "alias": "p-keys-label"; "required": false; }; }, { "blur": "p-blur"; "changeModel": "p-change-model"; "filter": "p-filter"; "filteredItemsChange": "p-filtered-items-change"; "listboxOnClick": "p-listbox-onclick"; "locateNext": "p-locate-next"; "locatePrevious": "p-locate-previous"; "footerAction": "p-footer-action-listbox"; }, never, never, true, never>;
|
|
346
375
|
static ngAcceptInputType_disabled: any;
|
|
347
376
|
static ngAcceptInputType_showListbox: any;
|
|
348
377
|
}
|
|
@@ -40,6 +40,11 @@ import * as i0 from "@angular/core";
|
|
|
40
40
|
* <file name="sample-po-search-filter-select/sample-po-search-filter-select.component.ts"> </file>
|
|
41
41
|
* </example>
|
|
42
42
|
*
|
|
43
|
+
* <example name="po-search-execute" title="PO Search Form Fields with Execute">
|
|
44
|
+
* <file name="sample-po-search-execute/sample-po-search-execute.component.html"> </file>
|
|
45
|
+
* <file name="sample-po-search-execute/sample-po-search-execute.component.ts"> </file>
|
|
46
|
+
* </example>
|
|
47
|
+
*
|
|
43
48
|
* <example name="po-search-fields-locate" title="PO Search Form Fields with Locate">
|
|
44
49
|
* <file name="sample-po-search-fields-locate/sample-po-search-fields-locate.component.html"> </file>
|
|
45
50
|
* <file name="sample-po-search-fields-locate/sample-po-search-fields-locate.component.ts"> </file>
|
|
@@ -76,9 +81,15 @@ export declare class PoSearchComponent extends PoSearchBaseComponent implements
|
|
|
76
81
|
searchFilter: {};
|
|
77
82
|
searchFilterSelectLabel: string;
|
|
78
83
|
searchFilterSelectActions: Array<PoDropdownAction>;
|
|
84
|
+
idSearchButtonClean: string;
|
|
85
|
+
protected showFooterActionListbox: boolean;
|
|
86
|
+
protected showSeparator: boolean;
|
|
87
|
+
protected placeholderListbox: string | null;
|
|
88
|
+
protected modelSelected: string;
|
|
79
89
|
constructor();
|
|
80
90
|
ngOnInit(): void;
|
|
81
91
|
ngOnChanges(changes: SimpleChanges): void;
|
|
92
|
+
private configureSearchModeExecute;
|
|
82
93
|
ngOnDestroy(): void;
|
|
83
94
|
clearSearch(): void;
|
|
84
95
|
onCleanKeydown(event: KeyboardEvent): void;
|
|
@@ -87,17 +98,14 @@ export declare class PoSearchComponent extends PoSearchBaseComponent implements
|
|
|
87
98
|
private updateFilteredItems;
|
|
88
99
|
private getFilteredItems;
|
|
89
100
|
private itemMatchesFilter;
|
|
90
|
-
getListboxFilteredItems(searchText:
|
|
91
|
-
label: string;
|
|
92
|
-
value: string;
|
|
93
|
-
}[];
|
|
101
|
+
getListboxFilteredItems(searchText: string): any[];
|
|
94
102
|
private filterValue;
|
|
95
103
|
get listboxItems(): {
|
|
96
104
|
label: string;
|
|
97
105
|
value: string;
|
|
98
106
|
}[];
|
|
99
107
|
onCloseListbox(): void;
|
|
100
|
-
onListboxClick(option: PoSearchOption, event?: any): void;
|
|
108
|
+
onListboxClick(option: PoSearchOption | any, event?: any): void;
|
|
101
109
|
onBlur(): void;
|
|
102
110
|
onFocus(): void;
|
|
103
111
|
onInputHandler(value: string): void;
|
|
@@ -117,6 +125,9 @@ export declare class PoSearchComponent extends PoSearchBaseComponent implements
|
|
|
117
125
|
createDropdownFilterSelect(): void;
|
|
118
126
|
isSelected(filterOption: PoSearchFilterSelect): boolean;
|
|
119
127
|
changeFilterSelect(filterOption: PoSearchFilterSelect): void;
|
|
128
|
+
handlerFooterActionListbox(): void;
|
|
129
|
+
private openListboxFooterAction;
|
|
130
|
+
private handlerPlaceholderListbox;
|
|
120
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoSearchComponent, never>;
|
|
121
132
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoSearchComponent, "po-search", never, {}, {}, never, never, false, never>;
|
|
122
133
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.26.0",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~19.0.3",
|
|
25
|
-
"@po-ui/style": "19.
|
|
26
|
-
"@po-ui/ng-schematics": "19.
|
|
25
|
+
"@po-ui/style": "19.26.0",
|
|
26
|
+
"@po-ui/ng-schematics": "19.26.0",
|
|
27
27
|
"echarts": "^5.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@angular/platform-browser-dynamic": "^19",
|
|
39
39
|
"@angular/router": "^19",
|
|
40
40
|
"@angular-devkit/schematics": "^19",
|
|
41
|
-
"@po-ui/style": "19.
|
|
41
|
+
"@po-ui/style": "19.26.0",
|
|
42
42
|
"rxjs": "~7.8.1",
|
|
43
43
|
"zone.js": "~0.15.0"
|
|
44
44
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.26.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -11,7 +11,7 @@ const changes_1 = require("./changes");
|
|
|
11
11
|
const httpClientModuleName = 'HttpClientModule';
|
|
12
12
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
13
13
|
function default_1() {
|
|
14
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
15
15
|
}
|
|
16
16
|
function postUpdate() {
|
|
17
17
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -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('19.
|
|
13
|
+
updatePackageJson('19.26.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)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -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 default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -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 default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
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)('19.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.26.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|