@po-ui/ng-components 19.23.0 → 19.25.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-po-chart-modal-table.component-mSWyBcer.mjs → po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs} +3 -4
- package/fesm2022/po-ui-ng-components-po-chart-modal-table.component-CaO2fPeS.mjs.map +1 -0
- package/fesm2022/po-ui-ng-components.mjs +38380 -36819
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/components.module.d.ts +15 -13
- package/lib/components/index.d.ts +2 -0
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +1 -2
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -2
- package/lib/components/po-accordion/po-accordion.component.d.ts +1 -3
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +1 -3
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +0 -2
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
- package/lib/components/po-button/po-button-base.component.d.ts +14 -8
- package/lib/components/po-button/po-button.component.d.ts +0 -3
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +9 -6
- package/lib/components/po-button-group/po-button-group.component.d.ts +0 -4
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +0 -4
- package/lib/components/po-calendar/po-calendar.component.d.ts +2 -4
- package/lib/components/po-chart/po-chart.component.d.ts +3 -6
- package/lib/components/po-context-tabs/index.d.ts +3 -0
- package/lib/components/po-context-tabs/po-context-tab-button/po-context-tab-button.component.d.ts +26 -0
- package/lib/components/po-context-tabs/po-context-tabs.component.d.ts +81 -0
- package/lib/components/po-context-tabs/po-context-tabs.module.d.ts +16 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +2 -4
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +0 -3
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +1 -4
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +0 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +2 -7
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +1 -2
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +1 -2
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +1 -3
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +1 -6
- package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -2
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -3
- package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +3 -7
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -3
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +1 -4
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -3
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -2
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -8
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +1 -3
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +2 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +1 -3
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +2 -8
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +2 -5
- package/lib/components/po-field/po-email/po-email.component.d.ts +2 -4
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +1 -2
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +1 -3
- package/lib/components/po-field/po-input/po-input.component.d.ts +2 -4
- package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +1 -3
- package/lib/components/po-field/po-login/po-login.component.d.ts +1 -4
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +1 -3
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +2 -3
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +2 -7
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +0 -2
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -3
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -2
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +0 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +2 -6
- package/lib/components/po-field/po-number/po-number-base.component.d.ts +1 -3
- package/lib/components/po-field/po-number/po-number.component.d.ts +1 -4
- package/lib/components/po-field/po-password/po-password.component.d.ts +1 -4
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +1 -4
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +0 -3
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +2 -4
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +1 -3
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +0 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -2
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -5
- package/lib/components/po-field/po-select/po-select.component.d.ts +3 -7
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +1 -4
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +1 -3
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +2 -4
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +1 -3
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +0 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.d.ts +1 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.d.ts +1 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -2
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +0 -3
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -3
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +2 -8
- package/lib/components/po-field/po-url/po-url.component.d.ts +2 -4
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -2
- package/lib/components/po-grid/po-grid.component.d.ts +2 -2
- package/lib/components/po-header/index.d.ts +7 -0
- package/lib/components/po-header/interfaces/po-header-action-tool.interface.d.ts +138 -0
- package/lib/components/po-header/interfaces/po-header-actions.interface.d.ts +49 -0
- package/lib/components/po-header/interfaces/po-header-brand.interface.d.ts +59 -0
- package/lib/components/po-header/interfaces/po-header-literals.interface.d.ts +13 -0
- package/lib/components/po-header/interfaces/po-header-user.interface.d.ts +74 -0
- package/lib/components/po-header/po-header-base.component.d.ts +266 -0
- package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +27 -0
- package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +32 -0
- package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +50 -0
- package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +31 -0
- package/lib/components/po-header/po-header.component.d.ts +83 -0
- package/lib/components/po-header/po-header.module.d.ts +27 -0
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -3
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -5
- package/lib/components/po-listbox/po-item-list/po-item-list.component.d.ts +1 -2
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +3 -4
- package/lib/components/po-listbox/po-listbox.component.d.ts +3 -7
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -2
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +1 -2
- package/lib/components/po-menu/po-menu-base.component.d.ts +6 -4
- package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +0 -2
- package/lib/components/po-menu/po-menu-item.interface.d.ts +3 -0
- package/lib/components/po-menu/po-menu.component.d.ts +5 -10
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +6 -0
- package/lib/components/po-menu/services/po-menu.service.d.ts +0 -2
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +0 -2
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +1 -5
- package/lib/components/po-modal/po-modal-base.component.d.ts +1 -3
- package/lib/components/po-modal/po-modal.component.d.ts +1 -5
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -3
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +0 -2
- package/lib/components/po-navbar/po-navbar.component.d.ts +2 -5
- package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +1 -1
- package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +2 -6
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +1 -3
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +2 -6
- package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +0 -3
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +1 -5
- package/lib/components/po-popover/po-popover.component.d.ts +5 -2
- package/lib/components/po-popup/po-popup-base.component.d.ts +2 -4
- package/lib/components/po-popup/po-popup.component.d.ts +2 -6
- package/lib/components/po-progress/po-progress-base.component.d.ts +0 -3
- package/lib/components/po-progress/po-progress.component.d.ts +0 -3
- package/lib/components/po-search/enums/po-search-filter-mode.enum.d.ts +1 -1
- package/lib/components/po-search/index.d.ts +1 -1
- package/lib/components/po-search/interfaces/po-search-filter-select.interface.d.ts +1 -5
- package/lib/components/po-search/interfaces/po-search-locate-summary.interface.d.ts +13 -0
- package/lib/components/po-search/literals/po-search-literals-default.d.ts +1 -1
- package/lib/components/po-search/literals/po-search-literals.interface.d.ts +43 -0
- package/lib/components/po-search/po-search-base.component.d.ts +172 -79
- package/lib/components/po-search/po-search.component.d.ts +27 -9
- package/lib/components/po-slide/po-slide.component.d.ts +0 -2
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -2
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +1 -2
- package/lib/components/po-stepper/po-stepper.component.d.ts +1 -2
- package/lib/components/po-table/po-table-base.component.d.ts +1 -3
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +1 -3
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -3
- package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -4
- package/lib/components/po-table/po-table.component.d.ts +2 -4
- package/lib/components/po-tabs/index.d.ts +2 -0
- package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +28 -2
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +3 -3
- package/lib/components/po-tabs/po-tab/po-tab.interface.d.ts +23 -0
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -2
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +0 -1
- package/lib/components/po-tabs/po-tabs-base.component.d.ts +1 -19
- package/lib/components/po-tabs/po-tabs.component.d.ts +26 -9
- package/lib/components/po-tabs/po-tabs.module.d.ts +1 -1
- package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
- package/lib/components/po-tag/po-tag.component.d.ts +1 -2
- package/lib/components/po-toaster/po-toaster-base.component.d.ts +0 -3
- package/lib/components/po-toaster/po-toaster.component.d.ts +3 -6
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -2
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -3
- package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +0 -3
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +0 -2
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +0 -4
- package/lib/components/po-widget/po-widget-base.component.d.ts +0 -3
- package/lib/components/po-widget/po-widget.component.d.ts +3 -3
- package/lib/services/po-dialog/po-dialog.component.d.ts +1 -3
- package/lib/services/po-notification/po-notification-base.service.d.ts +0 -3
- package/lib/services/po-notification/po-notification.service.d.ts +1 -3
- package/lib/utils/util.d.ts +25 -0
- package/package.json +4 -4
- package/po-ui-ng-components-19.25.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/fesm2022/po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs.map +0 -1
- package/lib/components/po-search/literals/po-search-literals.d.ts +0 -32
- package/po-ui-ng-components-19.23.0.tgz +0 -0
package/lib/utils/util.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PoThemeService } from '../services/po-theme/po-theme.service';
|
|
2
|
+
import { PoThemeA11yEnum } from '../services/po-theme/enum/po-theme-a11y.enum';
|
|
2
3
|
/**
|
|
3
4
|
* Converte e formata os bytes em formato mais legível para o usuário.
|
|
4
5
|
*
|
|
@@ -16,9 +17,15 @@ export declare function formatBytes(bytes: number, decimals?: number): string;
|
|
|
16
17
|
*/
|
|
17
18
|
export declare function getBrowserLanguage(): string;
|
|
18
19
|
/**
|
|
20
|
+
* @deprecated use getDefaultSizeFn
|
|
21
|
+
*
|
|
19
22
|
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
20
23
|
*/
|
|
21
24
|
export declare function getDefaultSize<T>(poThemeService: PoThemeService, sizeEnum: T): T[keyof T];
|
|
25
|
+
/**
|
|
26
|
+
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getDefaultSizeFn<T>(sizeEnum: T): T[keyof T];
|
|
22
29
|
/**
|
|
23
30
|
* Retorna o idioma do navegador, com somente as duas primeiras letras. Por exemplo: "pt" ou "es".
|
|
24
31
|
*
|
|
@@ -244,6 +251,24 @@ export declare function replaceFormatSeparator(format: string, separator: string
|
|
|
244
251
|
*/
|
|
245
252
|
export declare function sortArrayOfObjects(items: any, key: any, isAscendingOrder: any): any;
|
|
246
253
|
/**
|
|
254
|
+
* @deprecated use validateSizeFn
|
|
255
|
+
*
|
|
247
256
|
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
248
257
|
*/
|
|
249
258
|
export declare function validateSize<T>(value: string, poThemeService: PoThemeService, sizeEnum: T): T[keyof T];
|
|
259
|
+
/**
|
|
260
|
+
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
261
|
+
*/
|
|
262
|
+
export declare function validateSizeFn<T>(value: string, sizeEnum: T): T[keyof T];
|
|
263
|
+
/**
|
|
264
|
+
* Retorna a preferência global de tamanho dos componentes.
|
|
265
|
+
*
|
|
266
|
+
* @returns `'small'` ou `'medium'`.
|
|
267
|
+
*/
|
|
268
|
+
export declare function getA11yDefaultSize(): string;
|
|
269
|
+
/**
|
|
270
|
+
* Retorna o nível de acessibilidade configurado no tema.
|
|
271
|
+
* Se não estiver configurado, retorna `AAA` como padrão.
|
|
272
|
+
* @returns {PoThemeA11yEnum} O nível de acessibilidade, que pode ser `AA` ou `AAA`.
|
|
273
|
+
*/
|
|
274
|
+
export declare function getA11yLevel(): PoThemeA11yEnum;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.25.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.25.0",
|
|
26
|
+
"@po-ui/ng-schematics": "19.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.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.25.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"po-ui-ng-components-po-chart-modal-table.component-mSWyBcer.mjs","sources":["../../../projects/ui/src/lib/components/po-chart/po-chart-modal-table/po-chart-modal-table.component.ts"],"sourcesContent":["import { Component, Input, ViewChild } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { PoModalComponent, PoModalModule } from '../../po-modal';\nimport { PoTableModule } from '../../po-table';\n\n@Component({\n standalone: true,\n imports: [CommonModule, PoModalModule, PoTableModule],\n selector: 'po-chart-modal-table',\n template: `\n <po-modal #modalComponent [p-click-out]=\"true\" [p-title]=\"title\" [p-primary-action]=\"actionModal\">\n <po-table [p-hide-columns-manager]=\"true\" [p-items]=\"itemsTable\" [p-columns]=\"columnsTable\"></po-table>\n </po-modal>\n `\n})\nexport class PoChartModalTableComponent {\n @ViewChild('modalComponent', { static: true }) modalComponent: PoModalComponent;\n\n @Input() title: string;\n @Input() itemsTable: Array<any>;\n @Input() columnsTable: Array<any>;\n @Input() actionModal: any;\n}\n"],"names":["i1.PoModalComponent","i2.PoTableComponent"],"mappings":";;;;;MAea,0BAA0B,CAAA;AACU,IAAA,cAAc;AAEpD,IAAA,KAAK;AACL,IAAA,UAAU;AACV,IAAA,YAAY;AACZ,IAAA,WAAW;uGANT,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,0BAA0B,EAN3B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,UAAA,EAAA,YAAA,EAAA,YAAA,EAAA,cAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EANS,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,aAAa,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,gBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,CAAA,EAAA,CAAA;;2FAQzC,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAVtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,CAAC;AACrD,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE;;;;AAIT,EAAA;AACF,iBAAA;8BAEgD,cAAc,EAAA,CAAA;sBAA5D,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;gBAEpC,KAAK,EAAA,CAAA;sBAAb;gBACQ,UAAU,EAAA,CAAA;sBAAlB;gBACQ,YAAY,EAAA,CAAA;sBAApB;gBACQ,WAAW,EAAA,CAAA;sBAAnB;;;;;"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface PoSearchLiterals {
|
|
2
|
-
/**
|
|
3
|
-
* @usedBy PoSearchComponent
|
|
4
|
-
*
|
|
5
|
-
* @optional
|
|
6
|
-
*
|
|
7
|
-
* @description
|
|
8
|
-
*
|
|
9
|
-
* search: Texto exibido no *placeholder* do filtro do componente `po-search`.
|
|
10
|
-
*/
|
|
11
|
-
search?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @usedBy PoSearchComponent
|
|
14
|
-
*
|
|
15
|
-
* @optional
|
|
16
|
-
*
|
|
17
|
-
* @description
|
|
18
|
-
*
|
|
19
|
-
* search: Texto usado no leitor de tela para acessibilidade.
|
|
20
|
-
*/
|
|
21
|
-
clean?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @usedBy PoSearchComponent
|
|
24
|
-
*
|
|
25
|
-
* @optional
|
|
26
|
-
*
|
|
27
|
-
* @description
|
|
28
|
-
*
|
|
29
|
-
* search: Texto usado no dropdown, para demarcar todos os tipos de filtro.
|
|
30
|
-
*/
|
|
31
|
-
all?: string;
|
|
32
|
-
}
|
|
Binary file
|