@po-ui/ng-components 21.7.0 → 21.8.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 +407 -165
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/po-accordion/po-accordion-base.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +3 -3
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +1 -1
- package/lib/components/po-accordion/po-accordion.component.d.ts +1 -1
- package/lib/components/po-accordion/services/po-accordion.service.d.ts +1 -1
- package/lib/components/po-badge/po-badge.component.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +2 -2
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +1 -1
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +2 -2
- package/lib/components/po-button/po-button-base.component.d.ts +0 -8
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +0 -2
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +2 -2
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +3 -3
- package/lib/components/po-calendar/po-calendar.component.d.ts +1 -1
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +7 -7
- package/lib/components/po-context-menu/index.d.ts +3 -0
- package/lib/components/po-context-menu/po-context-menu-base.component.d.ts +92 -0
- package/lib/components/po-context-menu/po-context-menu-item.interface.d.ts +15 -0
- package/lib/components/po-context-menu/po-context-menu.component.d.ts +51 -0
- package/lib/components/po-context-menu/po-context-menu.module.d.ts +7 -0
- package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.d.ts +1 -1
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +1 -1
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -3
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.d.ts +1 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +4 -4
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +5 -5
- package/lib/components/po-dynamic/po-dynamic-view/services/po-dynamic-view.service.d.ts +1 -1
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +0 -6
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +2 -2
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -7
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +0 -6
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -3
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +2 -8
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +6 -6
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +4 -4
- package/lib/components/po-field/po-email/po-email.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +1 -1
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +0 -2
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +0 -6
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +1 -1
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -3
- package/lib/components/po-field/po-lookup/services/po-lookup-filter.service.d.ts +1 -1
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +1 -7
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +1 -1
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +2 -2
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +5 -5
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +2 -2
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +1 -7
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +0 -6
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +2 -2
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +1 -1
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +2 -2
- package/lib/components/po-field/po-rich-text/po-rich-text.service.d.ts +1 -1
- package/lib/components/po-field/po-select/po-select.component.d.ts +1 -7
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +0 -7
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +0 -6
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +1 -7
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +1 -1
- 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 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +1 -1
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +2 -2
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +4 -4
- package/lib/components/po-field/po-url/po-url.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +1 -1
- package/lib/components/po-grid/po-grid.component.d.ts +3 -3
- package/lib/components/po-header/po-header-base.component.d.ts +31 -5
- package/lib/components/po-header/po-header-brand/po-header-brand.component.d.ts +3 -2
- package/lib/components/po-header/po-header-customer/po-header-customer.component.d.ts +1 -0
- package/lib/components/po-header/po-header-menu-item/po-header-menu-item.component.d.ts +3 -2
- package/lib/components/po-header/po-header-tools/po-header-tools.component.d.ts +3 -2
- package/lib/components/po-header/po-header.component.d.ts +4 -4
- package/lib/components/po-helper/po-helper-base.component.d.ts +0 -8
- package/lib/components/po-icon/po-icon.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +1 -1
- package/lib/components/po-list-view/po-list-view.component.d.ts +2 -2
- package/lib/components/po-listbox/po-item-list/po-item-list-base.component.d.ts +2 -2
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -1
- package/lib/components/po-listbox/po-search-list/po-search-list.component.d.ts +1 -1
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-base.component.d.ts +13 -1
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu.component.d.ts +5 -4
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +5 -5
- package/lib/components/po-menu/services/po-menu-items.service.d.ts +2 -2
- package/lib/components/po-menu/services/po-menu.service.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +1 -1
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +3 -3
- package/lib/components/po-menu-panel/services/po-menu-panel-items.service.d.ts +2 -2
- package/lib/components/po-modal/po-modal.component.d.ts +3 -3
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-base.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +1 -1
- package/lib/components/po-navbar/po-navbar.component.d.ts +7 -7
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +3 -3
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +1 -1
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +3 -3
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +4 -4
- package/lib/components/po-popover/po-popover-base.component.d.ts +0 -2
- package/lib/components/po-popover/po-popover.component.d.ts +2 -1
- package/lib/components/po-popup/po-popup.component.d.ts +4 -4
- package/lib/components/po-progress/po-progress.component.d.ts +2 -2
- package/lib/components/po-skeleton/po-skeleton-base.component.d.ts +0 -23
- package/lib/components/po-slide/po-slide.component.d.ts +4 -4
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +1 -1
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +3 -3
- package/lib/components/po-stepper/po-stepper.component.d.ts +1 -1
- package/lib/components/po-table/po-table-base.component.d.ts +3 -3
- package/lib/components/po-table/po-table-column-frozen/po-table-column-frozen.directive.d.ts +2 -2
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +1 -1
- package/lib/components/po-table/po-table-list-manager/po-table-list-manager.component.d.ts +2 -2
- package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts +1 -1
- package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +1 -1
- package/lib/components/po-table/po-table.component.d.ts +6 -6
- package/lib/components/po-table/services/po-table.service.d.ts +1 -1
- package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +11 -1
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tabs.component.d.ts +22 -2
- package/lib/components/po-tabs/po-tabs.service.d.ts +2 -2
- package/lib/components/po-tag/po-tag-base.component.d.ts +1 -1
- package/lib/components/po-tag/po-tag.component.d.ts +2 -2
- package/lib/components/po-toaster/po-toaster-base.component.d.ts +1 -1
- package/lib/components/po-toaster/po-toaster.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +1 -1
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +1 -1
- package/lib/components/po-tree-view/services/po-tree-view.service.d.ts +2 -2
- package/lib/components/po-widget/po-widget-base.component.d.ts +0 -4
- package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +4 -4
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.d.ts +3 -3
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.d.ts +3 -3
- package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +2 -2
- package/lib/services/po-component-injector/po-component-injector.service.d.ts +3 -3
- package/lib/services/po-control-position/po-control-position.service.d.ts +2 -2
- package/lib/services/po-dialog/po-dialog.component.d.ts +1 -1
- package/lib/services/po-dialog/po-dialog.service.d.ts +1 -1
- package/lib/services/po-i18n/po-i18n-base.service.d.ts +3 -3
- package/lib/services/po-media-query/po-media-query.service.d.ts +1 -1
- package/lib/services/po-notification/po-notification.service.d.ts +1 -1
- package/lib/services/po-theme/po-theme.service.d.ts +2 -2
- package/package.json +4 -4
- package/po-ui-ng-components-21.8.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/v20/index.js +2 -2
- package/schematics/ng-update/v21/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/types/po-ui-ng-components.d.ts +526 -400
- package/po-ui-ng-components-21.7.0.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, ViewChild, HostBinding, Injectable, EventEmitter, Output, ElementRef, SecurityContext, HostListener, inject, ChangeDetectorRef, ViewChildren, ContentChildren, InjectionToken, ViewContainerRef, Optional, Inject, input, forwardRef, Renderer2, IterableDiffers, ContentChild, Pipe, Injector, provideAppInitializer, computed } from '@angular/core';
|
|
2
|
+
import { Directive, Input, Component, ChangeDetectionStrategy, NgModule, TemplateRef, ViewChild, HostBinding, Injectable, EventEmitter, Output, ElementRef, SecurityContext, HostListener, inject, ChangeDetectorRef, ViewChildren, ContentChildren, InjectionToken, ViewContainerRef, Optional, Inject, input, forwardRef, Renderer2, IterableDiffers, ContentChild, model, output, signal, effect, Pipe, Injector, provideAppInitializer, computed } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule, CurrencyPipe, DecimalPipe, DOCUMENT, TitleCasePipe, DatePipe, NgOptimizedImage, Location } from '@angular/common';
|
|
5
5
|
import * as i2 from '@angular/platform-browser';
|
|
@@ -231,6 +231,8 @@ const AnimaliaIconDictionary = {
|
|
|
231
231
|
ICON_REFRESH: 'an an-arrow-clockwise',
|
|
232
232
|
ICON_SEARCH: 'an an-magnifying-glass',
|
|
233
233
|
ICON_SETTINGS: 'an an-gear-six',
|
|
234
|
+
ICON_SIDEBAR: 'an an-sidebar',
|
|
235
|
+
ICON_SIDEBAR_SIMPLES: 'an an-sidebar-simple',
|
|
234
236
|
ICON_SORT: 'an an-arrows-down-up',
|
|
235
237
|
ICON_SORT_ASC: 'an an-arrow-up',
|
|
236
238
|
ICON_SORT_ASCENDING: 'an an-sort-ascending',
|
|
@@ -5905,8 +5907,6 @@ class PoCheckboxBaseComponent {
|
|
|
5905
5907
|
*/
|
|
5906
5908
|
appendBox = false;
|
|
5907
5909
|
/**
|
|
5908
|
-
* @Input
|
|
5909
|
-
*
|
|
5910
5910
|
* @optional
|
|
5911
5911
|
*
|
|
5912
5912
|
* @description
|
|
@@ -6053,8 +6053,6 @@ class PoCheckboxBaseComponent {
|
|
|
6053
6053
|
return this._size ?? getDefaultSizeFn(PoCheckboxSize);
|
|
6054
6054
|
}
|
|
6055
6055
|
/**
|
|
6056
|
-
* @Input
|
|
6057
|
-
*
|
|
6058
6056
|
* @optional
|
|
6059
6057
|
*
|
|
6060
6058
|
* @description
|
|
@@ -6066,8 +6064,6 @@ class PoCheckboxBaseComponent {
|
|
|
6066
6064
|
*/
|
|
6067
6065
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
6068
6066
|
/**
|
|
6069
|
-
* @Input
|
|
6070
|
-
*
|
|
6071
6067
|
* @optional
|
|
6072
6068
|
*
|
|
6073
6069
|
* @description
|
|
@@ -6241,8 +6237,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
6241
6237
|
*/
|
|
6242
6238
|
class PoHelperBaseComponent {
|
|
6243
6239
|
/**
|
|
6244
|
-
* @Input
|
|
6245
|
-
*
|
|
6246
6240
|
* @optional
|
|
6247
6241
|
*
|
|
6248
6242
|
* @description
|
|
@@ -6266,8 +6260,6 @@ class PoHelperBaseComponent {
|
|
|
6266
6260
|
helper = input(undefined, { ...(ngDevMode ? { debugName: "helper" } : {}), alias: 'p-helper',
|
|
6267
6261
|
transform: this.transformHelper.bind(this) });
|
|
6268
6262
|
/**
|
|
6269
|
-
* @Input
|
|
6270
|
-
*
|
|
6271
6263
|
* @optional
|
|
6272
6264
|
*
|
|
6273
6265
|
* @description
|
|
@@ -6286,8 +6278,6 @@ class PoHelperBaseComponent {
|
|
|
6286
6278
|
return validateSizeFn(this.size(), PoFieldSize);
|
|
6287
6279
|
}
|
|
6288
6280
|
/**
|
|
6289
|
-
* @Input
|
|
6290
|
-
*
|
|
6291
6281
|
* @optional
|
|
6292
6282
|
*
|
|
6293
6283
|
* @description
|
|
@@ -6298,8 +6288,6 @@ class PoHelperBaseComponent {
|
|
|
6298
6288
|
*/
|
|
6299
6289
|
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), alias: 'p-disabled' });
|
|
6300
6290
|
/**
|
|
6301
|
-
* @Input
|
|
6302
|
-
*
|
|
6303
6291
|
* @optional
|
|
6304
6292
|
*
|
|
6305
6293
|
* @description
|
|
@@ -6476,8 +6464,6 @@ var PoButtonType;
|
|
|
6476
6464
|
*/
|
|
6477
6465
|
class PoButtonBaseComponent {
|
|
6478
6466
|
/**
|
|
6479
|
-
* @Input
|
|
6480
|
-
*
|
|
6481
6467
|
* @optional
|
|
6482
6468
|
*
|
|
6483
6469
|
* @description
|
|
@@ -6486,8 +6472,6 @@ class PoButtonBaseComponent {
|
|
|
6486
6472
|
*/
|
|
6487
6473
|
label = input(undefined, { ...(ngDevMode ? { debugName: "label" } : {}), alias: 'p-label' });
|
|
6488
6474
|
/**
|
|
6489
|
-
* @Input
|
|
6490
|
-
*
|
|
6491
6475
|
* @optional
|
|
6492
6476
|
*
|
|
6493
6477
|
* @description
|
|
@@ -6514,8 +6498,6 @@ class PoButtonBaseComponent {
|
|
|
6514
6498
|
*/
|
|
6515
6499
|
icon = input(undefined, { ...(ngDevMode ? { debugName: "icon" } : {}), alias: 'p-icon' });
|
|
6516
6500
|
/**
|
|
6517
|
-
* @Input
|
|
6518
|
-
*
|
|
6519
6501
|
* @optional
|
|
6520
6502
|
*
|
|
6521
6503
|
* @description
|
|
@@ -6601,8 +6583,6 @@ class PoButtonBaseComponent {
|
|
|
6601
6583
|
return this._disabled;
|
|
6602
6584
|
}
|
|
6603
6585
|
/**
|
|
6604
|
-
* @Input
|
|
6605
|
-
*
|
|
6606
6586
|
* @optional
|
|
6607
6587
|
*
|
|
6608
6588
|
* @description
|
|
@@ -6979,8 +6959,6 @@ class PoPopoverBaseComponent {
|
|
|
6979
6959
|
return this._trigger;
|
|
6980
6960
|
}
|
|
6981
6961
|
/**
|
|
6982
|
-
* @Input
|
|
6983
|
-
*
|
|
6984
6962
|
* @optional
|
|
6985
6963
|
*
|
|
6986
6964
|
* @description
|
|
@@ -7084,6 +7062,11 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
|
|
|
7084
7062
|
this.poControlPosition = poControlPosition;
|
|
7085
7063
|
this.cd = cd;
|
|
7086
7064
|
}
|
|
7065
|
+
onThemeChange() {
|
|
7066
|
+
requestAnimationFrame(() => {
|
|
7067
|
+
this.setPopoverPosition();
|
|
7068
|
+
});
|
|
7069
|
+
}
|
|
7087
7070
|
ngOnChanges(changes) {
|
|
7088
7071
|
if (changes['appendBox']) {
|
|
7089
7072
|
this.cd.detectChanges();
|
|
@@ -7362,7 +7345,7 @@ class PoPopoverComponent extends PoPopoverBaseComponent {
|
|
|
7362
7345
|
this.resizeObserver = null;
|
|
7363
7346
|
}
|
|
7364
7347
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoPopoverComponent, deps: [{ token: i0.Renderer2 }, { token: PoControlPositionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7365
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoPopoverComponent, isStandalone: false, selector: "po-popover", providers: [PoControlPositionService], viewQueries: [{ propertyName: "popoverElement", first: true, predicate: ["popoverElement"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (appendBox) {\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"target\"\n [cdkConnectedOverlayOpen]=\"true\"\n [cdkConnectedOverlayDisableClose]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"sharedPopoverContent\"></ng-container>\n </ng-template>\n} @else {\n <ng-container *ngTemplateOutlet=\"sharedPopoverContent\"></ng-container>\n}\n\n<ng-template #sharedPopoverContent>\n <div\n #popoverElement\n [hidden]=\"isHidden\"\n class=\"po-popover\"\n [style.width.px]=\"width ?? widthPopover\"\n [ngClass]=\"customClasses()\"\n >\n @if (!hideArrow) {\n <div class=\"po-popover-arrow po-arrow-{{ arrowDirection }}\"></div>\n }\n\n <div class=\"po-popover-content\">\n @if (title) {\n <span class=\"po-popover-title\">{{ title }}</span>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }] });
|
|
7348
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoPopoverComponent, isStandalone: false, selector: "po-popover", host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" } }, providers: [PoControlPositionService], viewQueries: [{ propertyName: "popoverElement", first: true, predicate: ["popoverElement"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (appendBox) {\n <ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"target\"\n [cdkConnectedOverlayOpen]=\"true\"\n [cdkConnectedOverlayDisableClose]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"sharedPopoverContent\"></ng-container>\n </ng-template>\n} @else {\n <ng-container *ngTemplateOutlet=\"sharedPopoverContent\"></ng-container>\n}\n\n<ng-template #sharedPopoverContent>\n <div\n #popoverElement\n [hidden]=\"isHidden\"\n class=\"po-popover\"\n [style.width.px]=\"width ?? widthPopover\"\n [ngClass]=\"customClasses()\"\n >\n @if (!hideArrow) {\n <div class=\"po-popover-arrow po-arrow-{{ arrowDirection }}\"></div>\n }\n\n <div class=\"po-popover-content\">\n @if (title) {\n <span class=\"po-popover-title\">{{ title }}</span>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayDisposeOnNavigation", "cdkConnectedOverlayUsePopover", "cdkConnectedOverlayMatchWidth", "cdkConnectedOverlay"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }] });
|
|
7366
7349
|
}
|
|
7367
7350
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoPopoverComponent, decorators: [{
|
|
7368
7351
|
type: Component,
|
|
@@ -7370,6 +7353,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
7370
7353
|
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: PoControlPositionService }, { type: i0.ChangeDetectorRef }], propDecorators: { popoverElement: [{
|
|
7371
7354
|
type: ViewChild,
|
|
7372
7355
|
args: ['popoverElement', { read: ElementRef, static: false }]
|
|
7356
|
+
}], onThemeChange: [{
|
|
7357
|
+
type: HostListener,
|
|
7358
|
+
args: ['window:PoUiThemeChange']
|
|
7373
7359
|
}] } });
|
|
7374
7360
|
|
|
7375
7361
|
/**
|
|
@@ -7885,8 +7871,6 @@ class PoFieldContainerComponent {
|
|
|
7885
7871
|
/** Define o tamanho do componente. */
|
|
7886
7872
|
size;
|
|
7887
7873
|
/**
|
|
7888
|
-
* @Input
|
|
7889
|
-
*
|
|
7890
7874
|
* Define se o título do campo será exibido de forma compacta.
|
|
7891
7875
|
*
|
|
7892
7876
|
* Quando habilitado (`true`), o modo compacto afeta o conjunto composto por:
|
|
@@ -9427,8 +9411,6 @@ const PO_TOGGLE_TYPE_DEFAULT = 'none';
|
|
|
9427
9411
|
*/
|
|
9428
9412
|
class PoButtonGroupBaseComponent {
|
|
9429
9413
|
/**
|
|
9430
|
-
* @Input
|
|
9431
|
-
*
|
|
9432
9414
|
* @description
|
|
9433
9415
|
*
|
|
9434
9416
|
* Lista de botões.
|
|
@@ -9897,8 +9879,6 @@ class PoComboBaseComponent {
|
|
|
9897
9879
|
*/
|
|
9898
9880
|
autoFocus = false;
|
|
9899
9881
|
/**
|
|
9900
|
-
* @Input
|
|
9901
|
-
*
|
|
9902
9882
|
* @optional
|
|
9903
9883
|
*
|
|
9904
9884
|
* @description
|
|
@@ -10178,8 +10158,6 @@ class PoComboBaseComponent {
|
|
|
10178
10158
|
*/
|
|
10179
10159
|
listboxControlPosition = poMultiselectContainerPositionDefault$1;
|
|
10180
10160
|
/**
|
|
10181
|
-
* @Input
|
|
10182
|
-
*
|
|
10183
10161
|
* @optional
|
|
10184
10162
|
*
|
|
10185
10163
|
* @description
|
|
@@ -10191,8 +10169,6 @@ class PoComboBaseComponent {
|
|
|
10191
10169
|
*/
|
|
10192
10170
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
10193
10171
|
/**
|
|
10194
|
-
* @Input
|
|
10195
|
-
*
|
|
10196
10172
|
* @optional
|
|
10197
10173
|
*
|
|
10198
10174
|
* @description
|
|
@@ -16360,6 +16336,264 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
16360
16336
|
}]
|
|
16361
16337
|
}] });
|
|
16362
16338
|
|
|
16339
|
+
/**
|
|
16340
|
+
* @description
|
|
16341
|
+
*
|
|
16342
|
+
* O componente `po-context-menu` é uma barra lateral de contexto (sidebar) para navegação interna entre contextos.
|
|
16343
|
+
* Inspirado visualmente no `po-menu`, porém independente e focado em navegação contextual.
|
|
16344
|
+
*
|
|
16345
|
+
* No caso de uso do componente `po-page-default` em conjunto, ambos devem estar no mesmo nível
|
|
16346
|
+
* e inseridos em uma div com a classe **po-context-menu-wrapper**.
|
|
16347
|
+
* Esta classe é responsável por fazer os cálculos necessários para o alinhamento dos componentes.
|
|
16348
|
+
*
|
|
16349
|
+
* O uso simultâneo dos componentes `po-menu` e `po-context-menu` não é recomendado.
|
|
16350
|
+
* Porém, se os mesmos forem necessários na mesma interface, certifique-se de que não permaneçam expandidos
|
|
16351
|
+
* simultaneamente para não comprometer a usabilidade.
|
|
16352
|
+
*
|
|
16353
|
+
* #### Tokens customizáveis
|
|
16354
|
+
*
|
|
16355
|
+
* É possível alterar o estilo do componente usando os seguintes tokens (CSS):
|
|
16356
|
+
*
|
|
16357
|
+
* > Para maiores informações, acesse o guia [Personalizando o Tema Padrão com Tokens CSS](https://po-ui.io/guides/theme-customization).
|
|
16358
|
+
*
|
|
16359
|
+
* | Propriedade | Descrição | Valor Padrão |
|
|
16360
|
+
* |----------------------------------------|--------------------------------------------------------------|-------------------------------------------------|
|
|
16361
|
+
* | **Default Values** | | |
|
|
16362
|
+
* | `--font-family` | Família tipográfica usada | `var(--font-family-theme)` |
|
|
16363
|
+
* | `--font-size` | Tamanho da fonte dos itens | `var(--font-size-default)` |
|
|
16364
|
+
* | `--font-size-context-title` | Tamanho da fonte do título de contexto | `var(--font-size-sm)` |
|
|
16365
|
+
* | `--font-size-title` | Tamanho da fonte do título principal | `var(--font-size-lg)` |
|
|
16366
|
+
* | `--line-height` | Altura da linha | `var(--line-height-md)` |
|
|
16367
|
+
* | `--border-radius` | Raio dos cantos dos itens | `var(--border-radius-md)` |
|
|
16368
|
+
* | `--border-color` | Cor da borda lateral direita do componente | `var(--color-neutral-light-20)` |
|
|
16369
|
+
* | `--background-color` | Cor de fundo do componente | `var(--color-neutral-light-05)` |
|
|
16370
|
+
* | `--color` | Cor do texto dos itens | `var(--color-action-default)` |
|
|
16371
|
+
* | `--color-context-title` | Cor do texto do título de contexto | `var(--color-neutral-mid-40)` |
|
|
16372
|
+
* | `--color-title` | Cor do texto do título principal | `var(--color-neutral-dark-80)` |
|
|
16373
|
+
* | `--font-weight` | Peso da fonte dos itens | `var(--font-weight-bold)` |
|
|
16374
|
+
* | `--font-weight-title` | Peso da fonte do título principal | `var(--font-weight-bold)` |
|
|
16375
|
+
* | `--outline-color-focused` | Cor do outline no estado de focus | `var(--color-action-focus)` |
|
|
16376
|
+
* | **Hover** | | |
|
|
16377
|
+
* | `--color-hover` | Cor do texto no estado hover | `var(--color-brand-01-darkest)` |
|
|
16378
|
+
* | `--background-color-hover` | Cor de fundo no estado hover | `var(--color-brand-01-lighter)` |
|
|
16379
|
+
* | **Pressed** | | |
|
|
16380
|
+
* | `--background-color-pressed` | Cor de fundo no estado pressed | `var(--color-brand-01-light)` |
|
|
16381
|
+
* | **Active (Selected)** | | |
|
|
16382
|
+
* | `--background-color-actived` | Cor de fundo do item selecionado | `var(--color-brand-01-lightest)` |
|
|
16383
|
+
* | `--color-actived` | Cor do texto do item selecionado | `var(--color-action-pressed)` |
|
|
16384
|
+
*
|
|
16385
|
+
*/
|
|
16386
|
+
class PoContextMenuBaseComponent {
|
|
16387
|
+
/**
|
|
16388
|
+
* Título do contexto superior
|
|
16389
|
+
*/
|
|
16390
|
+
contextTitle = input('', { ...(ngDevMode ? { debugName: "contextTitle" } : {}), alias: 'p-context-title' });
|
|
16391
|
+
/**
|
|
16392
|
+
* Título principal do menu
|
|
16393
|
+
*/
|
|
16394
|
+
title = input('', { ...(ngDevMode ? { debugName: "title" } : {}), alias: 'p-title' });
|
|
16395
|
+
/**
|
|
16396
|
+
* Lista de itens para renderização.
|
|
16397
|
+
*
|
|
16398
|
+
* > Ao receber os itens, o componente valida que apenas um item pode ter `selected: true`.
|
|
16399
|
+
* > Se mais de um item estiver com `selected: true`, apenas o primeiro será mantido como selecionado.
|
|
16400
|
+
*/
|
|
16401
|
+
items = input([], { ...(ngDevMode ? { debugName: "items" } : {}), alias: 'p-items' });
|
|
16402
|
+
/**
|
|
16403
|
+
* Define se o menu está aberto ou fechado.
|
|
16404
|
+
*
|
|
16405
|
+
* Suporta two-way binding:
|
|
16406
|
+
*
|
|
16407
|
+
* ```html
|
|
16408
|
+
* <po-context-menu
|
|
16409
|
+
* [(p-expanded)]="expanded"
|
|
16410
|
+
* />
|
|
16411
|
+
* ```
|
|
16412
|
+
*
|
|
16413
|
+
* ou
|
|
16414
|
+
*
|
|
16415
|
+
* ```html
|
|
16416
|
+
* <po-context-menu
|
|
16417
|
+
* [(p-expanded)]="expanded"
|
|
16418
|
+
* (p-expandedChange)="handlerExpanded($event)"
|
|
16419
|
+
* />
|
|
16420
|
+
* ```
|
|
16421
|
+
*
|
|
16422
|
+
* @default `true`
|
|
16423
|
+
*/
|
|
16424
|
+
expanded = model(true, { ...(ngDevMode ? { debugName: "expanded" } : {}), alias: 'p-expanded' });
|
|
16425
|
+
/**
|
|
16426
|
+
* Evento emitido ao selecionar um item. Emite o item selecionado.
|
|
16427
|
+
*/
|
|
16428
|
+
itemSelected = output({ alias: 'p-item-selected' });
|
|
16429
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16430
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: PoContextMenuBaseComponent, isStandalone: true, inputs: { contextTitle: { classPropertyName: "contextTitle", publicName: "p-context-title", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "p-title", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "p-items", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "p-expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "p-expandedChange", itemSelected: "p-item-selected" }, ngImport: i0 });
|
|
16431
|
+
}
|
|
16432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuBaseComponent, decorators: [{
|
|
16433
|
+
type: Directive
|
|
16434
|
+
}], propDecorators: { contextTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-context-title", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-title", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-items", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-expanded", required: false }] }, { type: i0.Output, args: ["p-expandedChange"] }], itemSelected: [{ type: i0.Output, args: ["p-item-selected"] }] } });
|
|
16435
|
+
|
|
16436
|
+
const poContextMenuLiteralsDefault = {
|
|
16437
|
+
en: {
|
|
16438
|
+
close: 'Close menu',
|
|
16439
|
+
open: 'Open menu'
|
|
16440
|
+
},
|
|
16441
|
+
es: {
|
|
16442
|
+
close: 'Cerrar menú',
|
|
16443
|
+
open: 'Abrir menú'
|
|
16444
|
+
},
|
|
16445
|
+
pt: {
|
|
16446
|
+
close: 'Fechar menu',
|
|
16447
|
+
open: 'Abrir menu'
|
|
16448
|
+
},
|
|
16449
|
+
ru: {
|
|
16450
|
+
close: 'Закрыть меню',
|
|
16451
|
+
open: 'Открыть меню'
|
|
16452
|
+
}
|
|
16453
|
+
};
|
|
16454
|
+
/**
|
|
16455
|
+
* @docsExtends PoContextMenuBaseComponent
|
|
16456
|
+
*
|
|
16457
|
+
* @example
|
|
16458
|
+
*
|
|
16459
|
+
* <example name="po-context-menu-basic" title="PO Context Menu Basic">
|
|
16460
|
+
* <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.html"> </file>
|
|
16461
|
+
* <file name="sample-po-context-menu-basic/sample-po-context-menu-basic.component.ts"> </file>
|
|
16462
|
+
* </example>
|
|
16463
|
+
*
|
|
16464
|
+
* <example name="po-context-menu-labs" title="PO Context Menu Labs">
|
|
16465
|
+
* <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.html"> </file>
|
|
16466
|
+
* <file name="sample-po-context-menu-labs/sample-po-context-menu-labs.component.ts"> </file>
|
|
16467
|
+
* </example>
|
|
16468
|
+
*
|
|
16469
|
+
* <example name="po-context-menu-user" title="PO Context - Cadastro de Usuário">
|
|
16470
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.html"> </file>
|
|
16471
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.ts"> </file>
|
|
16472
|
+
* <file name="sample-po-context-menu-user/sample-po-context-menu-user.component.css"> </file>
|
|
16473
|
+
* </example>
|
|
16474
|
+
*/
|
|
16475
|
+
class PoContextMenuComponent extends PoContextMenuBaseComponent {
|
|
16476
|
+
languageService = inject(PoLanguageService);
|
|
16477
|
+
literals;
|
|
16478
|
+
_items = signal([], ...(ngDevMode ? [{ debugName: "_items" }] : []));
|
|
16479
|
+
_titleTooltipCalculated = false;
|
|
16480
|
+
_contextTitleTooltipCalculated = false;
|
|
16481
|
+
titleTooltip = signal(null, ...(ngDevMode ? [{ debugName: "titleTooltip" }] : []));
|
|
16482
|
+
contextTitleTooltip = signal(null, ...(ngDevMode ? [{ debugName: "contextTitleTooltip" }] : []));
|
|
16483
|
+
constructor() {
|
|
16484
|
+
super();
|
|
16485
|
+
this.setLiterals();
|
|
16486
|
+
effect(() => {
|
|
16487
|
+
const currentItems = this.items();
|
|
16488
|
+
if (this.hasMultipleSelected(currentItems)) {
|
|
16489
|
+
this._items.set(this.sanitizeSelection(currentItems));
|
|
16490
|
+
}
|
|
16491
|
+
else {
|
|
16492
|
+
this._items.set(currentItems);
|
|
16493
|
+
}
|
|
16494
|
+
if (this.title() !== this.titleTooltip()) {
|
|
16495
|
+
this.titleTooltip.set(null);
|
|
16496
|
+
this._titleTooltipCalculated = false;
|
|
16497
|
+
}
|
|
16498
|
+
if (this.contextTitle() !== this.contextTitleTooltip()) {
|
|
16499
|
+
this.contextTitleTooltip.set(null);
|
|
16500
|
+
this._contextTitleTooltipCalculated = false;
|
|
16501
|
+
}
|
|
16502
|
+
});
|
|
16503
|
+
}
|
|
16504
|
+
toggleExpand() {
|
|
16505
|
+
this.expanded.update(v => !v);
|
|
16506
|
+
}
|
|
16507
|
+
selectItem(item) {
|
|
16508
|
+
let selectedItem;
|
|
16509
|
+
const updatedItems = this._items().map(i => {
|
|
16510
|
+
const updated = { ...i, selected: i === item };
|
|
16511
|
+
if (updated.selected) {
|
|
16512
|
+
selectedItem = updated;
|
|
16513
|
+
}
|
|
16514
|
+
return updated;
|
|
16515
|
+
});
|
|
16516
|
+
this._items.set(updatedItems);
|
|
16517
|
+
this.itemSelected.emit(selectedItem);
|
|
16518
|
+
if (item.action) {
|
|
16519
|
+
item.action(selectedItem);
|
|
16520
|
+
}
|
|
16521
|
+
}
|
|
16522
|
+
handlerItemTooltip(item, value) {
|
|
16523
|
+
if (item.tooltip) {
|
|
16524
|
+
return;
|
|
16525
|
+
}
|
|
16526
|
+
const label = value.firstElementChild;
|
|
16527
|
+
if (label.scrollHeight > label.offsetHeight) {
|
|
16528
|
+
this._items.update(items => items.map(i => (i === item ? { ...i, tooltip: item.label } : i)));
|
|
16529
|
+
}
|
|
16530
|
+
}
|
|
16531
|
+
handlerTitleTooltip(value) {
|
|
16532
|
+
if (this._titleTooltipCalculated) {
|
|
16533
|
+
return;
|
|
16534
|
+
}
|
|
16535
|
+
this.applyTooltipIfOverflows(value, this.title(), this.titleTooltip);
|
|
16536
|
+
this._titleTooltipCalculated = true;
|
|
16537
|
+
}
|
|
16538
|
+
handlerContextTitleTooltip(value) {
|
|
16539
|
+
if (this._contextTitleTooltipCalculated) {
|
|
16540
|
+
return;
|
|
16541
|
+
}
|
|
16542
|
+
this.applyTooltipIfOverflows(value, this.contextTitle(), this.contextTitleTooltip);
|
|
16543
|
+
this._contextTitleTooltipCalculated = true;
|
|
16544
|
+
}
|
|
16545
|
+
setLiterals() {
|
|
16546
|
+
this.literals = {
|
|
16547
|
+
...poContextMenuLiteralsDefault[this.languageService?.getLanguageDefault()],
|
|
16548
|
+
...poContextMenuLiteralsDefault[this.languageService?.getShortLanguage()]
|
|
16549
|
+
};
|
|
16550
|
+
}
|
|
16551
|
+
hasMultipleSelected(items) {
|
|
16552
|
+
let count = 0;
|
|
16553
|
+
for (const item of items) {
|
|
16554
|
+
if (item.selected && ++count > 1) {
|
|
16555
|
+
return true;
|
|
16556
|
+
}
|
|
16557
|
+
}
|
|
16558
|
+
return false;
|
|
16559
|
+
}
|
|
16560
|
+
sanitizeSelection(items) {
|
|
16561
|
+
const firstIndex = items.findIndex(i => i.selected);
|
|
16562
|
+
return items.map((item, index) => (item.selected && index !== firstIndex ? { ...item, selected: false } : item));
|
|
16563
|
+
}
|
|
16564
|
+
applyTooltipIfOverflows(element, textValue, storageSignal) {
|
|
16565
|
+
const hasOverflow = element.scrollHeight > element.offsetHeight;
|
|
16566
|
+
if (hasOverflow) {
|
|
16567
|
+
storageSignal.set(textValue);
|
|
16568
|
+
}
|
|
16569
|
+
}
|
|
16570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16571
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoContextMenuComponent, isStandalone: false, selector: "po-context-menu", usesInheritance: true, ngImport: i0, template: "<div class=\"po-context-menu\" [class.po-context-menu-collapsed]=\"!expanded()\">\n <div class=\"po-context-menu-header\">\n <button\n class=\"po-context-menu-toggle\"\n type=\"button\"\n [attr.aria-label]=\"expanded() ? literals.close : literals.open\"\n (click)=\"toggleExpand()\"\n >\n <po-icon [p-icon]=\"expanded() ? 'ICON_SIDEBAR' : 'ICON_SIDEBAR_SIMPLES'\" />\n </button>\n\n @if (expanded()) {\n <div class=\"po-context-menu-header-content\">\n @if (contextTitle()) {\n <span\n #contextTitleRef\n class=\"po-context-menu-context-title\"\n (mouseenter)=\"handlerContextTitleTooltip(contextTitleRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"contextTitleTooltip()\"\n >\n {{ contextTitle() }}\n </span>\n }\n @if (title()) {\n <span\n #titleRef\n class=\"po-context-menu-title\"\n (mouseenter)=\"handlerTitleTooltip(titleRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"titleTooltip()\"\n >\n {{ title() }}\n </span>\n }\n </div>\n }\n </div>\n\n @if (expanded()) {\n <nav class=\"po-context-menu-body\">\n <ul class=\"po-context-menu-list\" role=\"menu\">\n @for (item of _items(); track $index) {\n <li\n #itemRef\n class=\"po-context-menu-list-item\"\n role=\"menuitem\"\n tabindex=\"0\"\n [attr.aria-label]=\"item.label\"\n [class.po-context-menu-item-selected]=\"item.selected\"\n (click)=\"selectItem(item)\"\n (keydown.enter)=\"selectItem(item)\"\n (keydown.space)=\"selectItem(item)\"\n (mouseenter)=\"handlerItemTooltip(item, itemRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"item.tooltip\"\n >\n <span class=\"po-context-menu-item-label\">{{ item.label }}</span>\n </li>\n }\n </ul>\n </nav>\n }\n</div>\n", dependencies: [{ kind: "component", type: PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "directive", type: PoTooltipDirective, selector: "[p-tooltip]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
16572
|
+
}
|
|
16573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuComponent, decorators: [{
|
|
16574
|
+
type: Component,
|
|
16575
|
+
args: [{ selector: 'po-context-menu', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"po-context-menu\" [class.po-context-menu-collapsed]=\"!expanded()\">\n <div class=\"po-context-menu-header\">\n <button\n class=\"po-context-menu-toggle\"\n type=\"button\"\n [attr.aria-label]=\"expanded() ? literals.close : literals.open\"\n (click)=\"toggleExpand()\"\n >\n <po-icon [p-icon]=\"expanded() ? 'ICON_SIDEBAR' : 'ICON_SIDEBAR_SIMPLES'\" />\n </button>\n\n @if (expanded()) {\n <div class=\"po-context-menu-header-content\">\n @if (contextTitle()) {\n <span\n #contextTitleRef\n class=\"po-context-menu-context-title\"\n (mouseenter)=\"handlerContextTitleTooltip(contextTitleRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"contextTitleTooltip()\"\n >\n {{ contextTitle() }}\n </span>\n }\n @if (title()) {\n <span\n #titleRef\n class=\"po-context-menu-title\"\n (mouseenter)=\"handlerTitleTooltip(titleRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"titleTooltip()\"\n >\n {{ title() }}\n </span>\n }\n </div>\n }\n </div>\n\n @if (expanded()) {\n <nav class=\"po-context-menu-body\">\n <ul class=\"po-context-menu-list\" role=\"menu\">\n @for (item of _items(); track $index) {\n <li\n #itemRef\n class=\"po-context-menu-list-item\"\n role=\"menuitem\"\n tabindex=\"0\"\n [attr.aria-label]=\"item.label\"\n [class.po-context-menu-item-selected]=\"item.selected\"\n (click)=\"selectItem(item)\"\n (keydown.enter)=\"selectItem(item)\"\n (keydown.space)=\"selectItem(item)\"\n (mouseenter)=\"handlerItemTooltip(item, itemRef)\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"item.tooltip\"\n >\n <span class=\"po-context-menu-item-label\">{{ item.label }}</span>\n </li>\n }\n </ul>\n </nav>\n }\n</div>\n" }]
|
|
16576
|
+
}], ctorParameters: () => [] });
|
|
16577
|
+
|
|
16578
|
+
/**
|
|
16579
|
+
* @description
|
|
16580
|
+
*
|
|
16581
|
+
* Módulo do componente po-context-menu.
|
|
16582
|
+
*/
|
|
16583
|
+
class PoContextMenuModule {
|
|
16584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16585
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuModule, declarations: [PoContextMenuComponent], imports: [CommonModule, PoIconModule, PoTooltipModule], exports: [PoContextMenuComponent] });
|
|
16586
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuModule, imports: [CommonModule, PoIconModule, PoTooltipModule] });
|
|
16587
|
+
}
|
|
16588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoContextMenuModule, decorators: [{
|
|
16589
|
+
type: NgModule,
|
|
16590
|
+
args: [{
|
|
16591
|
+
imports: [CommonModule, PoIconModule, PoTooltipModule],
|
|
16592
|
+
declarations: [PoContextMenuComponent],
|
|
16593
|
+
exports: [PoContextMenuComponent]
|
|
16594
|
+
}]
|
|
16595
|
+
}] });
|
|
16596
|
+
|
|
16363
16597
|
const PoDisclaimerLiterals = {
|
|
16364
16598
|
en: {
|
|
16365
16599
|
remove: 'Remove'
|
|
@@ -17291,8 +17525,6 @@ class PoCheckboxGroupBaseComponent {
|
|
|
17291
17525
|
*/
|
|
17292
17526
|
autoFocus = false;
|
|
17293
17527
|
/**
|
|
17294
|
-
* @Input
|
|
17295
|
-
*
|
|
17296
17528
|
* @optional
|
|
17297
17529
|
*
|
|
17298
17530
|
* @description
|
|
@@ -17374,8 +17606,6 @@ class PoCheckboxGroupBaseComponent {
|
|
|
17374
17606
|
*/
|
|
17375
17607
|
errorLimit = false;
|
|
17376
17608
|
/**
|
|
17377
|
-
* @Input
|
|
17378
|
-
*
|
|
17379
17609
|
* @optional
|
|
17380
17610
|
*
|
|
17381
17611
|
* @description
|
|
@@ -17387,8 +17617,6 @@ class PoCheckboxGroupBaseComponent {
|
|
|
17387
17617
|
*/
|
|
17388
17618
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
17389
17619
|
/**
|
|
17390
|
-
* @Input
|
|
17391
|
-
*
|
|
17392
17620
|
* @optional
|
|
17393
17621
|
*
|
|
17394
17622
|
* @description
|
|
@@ -18077,8 +18305,6 @@ class PoRadioGroupBaseComponent {
|
|
|
18077
18305
|
*/
|
|
18078
18306
|
autoFocus = false;
|
|
18079
18307
|
/**
|
|
18080
|
-
* @Input
|
|
18081
|
-
*
|
|
18082
18308
|
* @optional
|
|
18083
18309
|
*
|
|
18084
18310
|
* @description
|
|
@@ -18156,8 +18382,6 @@ class PoRadioGroupBaseComponent {
|
|
|
18156
18382
|
*/
|
|
18157
18383
|
errorLimit = false;
|
|
18158
18384
|
/**
|
|
18159
|
-
* @Input
|
|
18160
|
-
*
|
|
18161
18385
|
* @optional
|
|
18162
18386
|
*
|
|
18163
18387
|
* @description
|
|
@@ -18169,8 +18393,6 @@ class PoRadioGroupBaseComponent {
|
|
|
18169
18393
|
*/
|
|
18170
18394
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
18171
18395
|
/**
|
|
18172
|
-
* @Input
|
|
18173
|
-
*
|
|
18174
18396
|
* @optional
|
|
18175
18397
|
*
|
|
18176
18398
|
* @description
|
|
@@ -19656,8 +19878,6 @@ class PoDatepickerBaseComponent {
|
|
|
19656
19878
|
*/
|
|
19657
19879
|
autoFocus = false;
|
|
19658
19880
|
/**
|
|
19659
|
-
* @Input
|
|
19660
|
-
*
|
|
19661
19881
|
* @optional
|
|
19662
19882
|
*
|
|
19663
19883
|
* @description
|
|
@@ -19791,8 +20011,6 @@ class PoDatepickerBaseComponent {
|
|
|
19791
20011
|
*/
|
|
19792
20012
|
keydown = new EventEmitter();
|
|
19793
20013
|
/**
|
|
19794
|
-
* @Input
|
|
19795
|
-
*
|
|
19796
20014
|
* @optional
|
|
19797
20015
|
*
|
|
19798
20016
|
* @description
|
|
@@ -19804,8 +20022,6 @@ class PoDatepickerBaseComponent {
|
|
|
19804
20022
|
*/
|
|
19805
20023
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
19806
20024
|
/**
|
|
19807
|
-
* @Input
|
|
19808
|
-
*
|
|
19809
20025
|
* @optional
|
|
19810
20026
|
*
|
|
19811
20027
|
* @description
|
|
@@ -25273,9 +25489,6 @@ class PoSwitchComponent extends PoFieldModel {
|
|
|
25273
25489
|
_initialSize = undefined;
|
|
25274
25490
|
statusChangesSubscription;
|
|
25275
25491
|
/**
|
|
25276
|
-
*
|
|
25277
|
-
* @Input
|
|
25278
|
-
*
|
|
25279
25492
|
* @optional
|
|
25280
25493
|
*
|
|
25281
25494
|
* @description
|
|
@@ -25453,8 +25666,6 @@ class PoSwitchComponent extends PoFieldModel {
|
|
|
25453
25666
|
return this._size ?? getDefaultSizeFn(PoFieldSize);
|
|
25454
25667
|
}
|
|
25455
25668
|
/**
|
|
25456
|
-
* @Input
|
|
25457
|
-
*
|
|
25458
25669
|
* @optional
|
|
25459
25670
|
*
|
|
25460
25671
|
* @description
|
|
@@ -25466,8 +25677,6 @@ class PoSwitchComponent extends PoFieldModel {
|
|
|
25466
25677
|
*/
|
|
25467
25678
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
25468
25679
|
/**
|
|
25469
|
-
* @Input
|
|
25470
|
-
*
|
|
25471
25680
|
* @optional
|
|
25472
25681
|
*
|
|
25473
25682
|
* @description
|
|
@@ -30875,8 +31084,6 @@ class PoDatepickerRangeBaseComponent {
|
|
|
30875
31084
|
*/
|
|
30876
31085
|
autoFocus = false;
|
|
30877
31086
|
/**
|
|
30878
|
-
* @Input
|
|
30879
|
-
*
|
|
30880
31087
|
* @optional
|
|
30881
31088
|
*
|
|
30882
31089
|
* @description
|
|
@@ -31004,8 +31211,6 @@ class PoDatepickerRangeBaseComponent {
|
|
|
31004
31211
|
*/
|
|
31005
31212
|
errorLimit = false;
|
|
31006
31213
|
/**
|
|
31007
|
-
* @Input
|
|
31008
|
-
*
|
|
31009
31214
|
* @optional
|
|
31010
31215
|
*
|
|
31011
31216
|
* @description
|
|
@@ -31017,8 +31222,6 @@ class PoDatepickerRangeBaseComponent {
|
|
|
31017
31222
|
*/
|
|
31018
31223
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
31019
31224
|
/**
|
|
31020
|
-
* @Input
|
|
31021
|
-
*
|
|
31022
31225
|
* @optional
|
|
31023
31226
|
*
|
|
31024
31227
|
* @description
|
|
@@ -32367,8 +32570,6 @@ class PoInputBaseComponent {
|
|
|
32367
32570
|
*/
|
|
32368
32571
|
autoFocus = false;
|
|
32369
32572
|
/**
|
|
32370
|
-
* @Input
|
|
32371
|
-
*
|
|
32372
32573
|
* @optional
|
|
32373
32574
|
*
|
|
32374
32575
|
* @description
|
|
@@ -32820,8 +33021,6 @@ class PoInputBaseComponent {
|
|
|
32820
33021
|
}
|
|
32821
33022
|
}
|
|
32822
33023
|
/**
|
|
32823
|
-
* @Input
|
|
32824
|
-
*
|
|
32825
33024
|
* @optional
|
|
32826
33025
|
*
|
|
32827
33026
|
* @description
|
|
@@ -32833,8 +33032,6 @@ class PoInputBaseComponent {
|
|
|
32833
33032
|
*/
|
|
32834
33033
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
32835
33034
|
/**
|
|
32836
|
-
* @Input
|
|
32837
|
-
*
|
|
32838
33035
|
* @optional
|
|
32839
33036
|
*
|
|
32840
33037
|
* @description
|
|
@@ -36327,8 +36524,6 @@ class PoLookupBaseComponent {
|
|
|
36327
36524
|
*/
|
|
36328
36525
|
virtualScroll = true;
|
|
36329
36526
|
/**
|
|
36330
|
-
* @Input
|
|
36331
|
-
*
|
|
36332
36527
|
* @optional
|
|
36333
36528
|
*
|
|
36334
36529
|
* @description
|
|
@@ -36340,8 +36535,6 @@ class PoLookupBaseComponent {
|
|
|
36340
36535
|
*/
|
|
36341
36536
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
36342
36537
|
/**
|
|
36343
|
-
* @Input
|
|
36344
|
-
*
|
|
36345
36538
|
* @optional
|
|
36346
36539
|
*
|
|
36347
36540
|
* @description
|
|
@@ -36354,8 +36547,6 @@ class PoLookupBaseComponent {
|
|
|
36354
36547
|
*/
|
|
36355
36548
|
labelTextWrap = input(false, { ...(ngDevMode ? { debugName: "labelTextWrap" } : {}), alias: 'p-label-text-wrap' });
|
|
36356
36549
|
/**
|
|
36357
|
-
* @Input
|
|
36358
|
-
*
|
|
36359
36550
|
* @optional
|
|
36360
36551
|
*
|
|
36361
36552
|
* @description
|
|
@@ -37631,8 +37822,6 @@ class PoMultiselectBaseComponent {
|
|
|
37631
37822
|
*/
|
|
37632
37823
|
autoFocus = false;
|
|
37633
37824
|
/**
|
|
37634
|
-
* @Input
|
|
37635
|
-
*
|
|
37636
37825
|
* @optional
|
|
37637
37826
|
*
|
|
37638
37827
|
* @description
|
|
@@ -37805,8 +37994,6 @@ class PoMultiselectBaseComponent {
|
|
|
37805
37994
|
*/
|
|
37806
37995
|
listboxControlPosition = poMultiselectContainerPositionDefault;
|
|
37807
37996
|
/**
|
|
37808
|
-
* @Input
|
|
37809
|
-
*
|
|
37810
37997
|
* @optional
|
|
37811
37998
|
*
|
|
37812
37999
|
* @description
|
|
@@ -37818,8 +38005,6 @@ class PoMultiselectBaseComponent {
|
|
|
37818
38005
|
*/
|
|
37819
38006
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
37820
38007
|
/**
|
|
37821
|
-
* @Input
|
|
37822
|
-
*
|
|
37823
38008
|
* @optional
|
|
37824
38009
|
*
|
|
37825
38010
|
* @description
|
|
@@ -40014,8 +40199,6 @@ class PoRichTextBaseComponent {
|
|
|
40014
40199
|
*/
|
|
40015
40200
|
label;
|
|
40016
40201
|
/**
|
|
40017
|
-
* @Input
|
|
40018
|
-
*
|
|
40019
40202
|
* @optional
|
|
40020
40203
|
*
|
|
40021
40204
|
* @description
|
|
@@ -40097,8 +40280,6 @@ class PoRichTextBaseComponent {
|
|
|
40097
40280
|
return this._hideToolbarActions;
|
|
40098
40281
|
}
|
|
40099
40282
|
/**
|
|
40100
|
-
* @Input
|
|
40101
|
-
*
|
|
40102
40283
|
* @optional
|
|
40103
40284
|
*
|
|
40104
40285
|
* @description
|
|
@@ -40110,8 +40291,6 @@ class PoRichTextBaseComponent {
|
|
|
40110
40291
|
*/
|
|
40111
40292
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
40112
40293
|
/**
|
|
40113
|
-
* @Input
|
|
40114
|
-
*
|
|
40115
40294
|
* @optional
|
|
40116
40295
|
*
|
|
40117
40296
|
* @description
|
|
@@ -41333,8 +41512,6 @@ class PoUploadBaseComponent {
|
|
|
41333
41512
|
/** Rótulo do campo. */
|
|
41334
41513
|
label;
|
|
41335
41514
|
/**
|
|
41336
|
-
* @Input
|
|
41337
|
-
*
|
|
41338
41515
|
* @optional
|
|
41339
41516
|
*
|
|
41340
41517
|
* @description
|
|
@@ -41445,8 +41622,6 @@ class PoUploadBaseComponent {
|
|
|
41445
41622
|
*/
|
|
41446
41623
|
requiredUrl = true;
|
|
41447
41624
|
/**
|
|
41448
|
-
* @Input
|
|
41449
|
-
*
|
|
41450
41625
|
* @optional
|
|
41451
41626
|
*
|
|
41452
41627
|
* @description
|
|
@@ -41458,8 +41633,6 @@ class PoUploadBaseComponent {
|
|
|
41458
41633
|
*/
|
|
41459
41634
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
41460
41635
|
/**
|
|
41461
|
-
* @Input
|
|
41462
|
-
*
|
|
41463
41636
|
* @optional
|
|
41464
41637
|
*
|
|
41465
41638
|
* @description
|
|
@@ -44269,8 +44442,6 @@ class PoSelectComponent extends PoFieldValidateModel {
|
|
|
44269
44442
|
*/
|
|
44270
44443
|
readonly = false;
|
|
44271
44444
|
/**
|
|
44272
|
-
* @Input
|
|
44273
|
-
*
|
|
44274
44445
|
* @optional
|
|
44275
44446
|
*
|
|
44276
44447
|
* @description
|
|
@@ -44469,8 +44640,6 @@ class PoSelectComponent extends PoFieldValidateModel {
|
|
|
44469
44640
|
return this._size ?? getDefaultSizeFn(PoFieldSize);
|
|
44470
44641
|
}
|
|
44471
44642
|
/**
|
|
44472
|
-
* @Input
|
|
44473
|
-
*
|
|
44474
44643
|
* @optional
|
|
44475
44644
|
*
|
|
44476
44645
|
* @description
|
|
@@ -44482,8 +44651,6 @@ class PoSelectComponent extends PoFieldValidateModel {
|
|
|
44482
44651
|
*/
|
|
44483
44652
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
44484
44653
|
/**
|
|
44485
|
-
* @Input
|
|
44486
|
-
*
|
|
44487
44654
|
* @optional
|
|
44488
44655
|
*
|
|
44489
44656
|
* @description
|
|
@@ -44868,8 +45035,6 @@ class PoTextareaBaseComponent {
|
|
|
44868
45035
|
*/
|
|
44869
45036
|
autoFocus = false;
|
|
44870
45037
|
/**
|
|
44871
|
-
* @Input
|
|
44872
|
-
*
|
|
44873
45038
|
* @optional
|
|
44874
45039
|
*
|
|
44875
45040
|
* @description
|
|
@@ -44951,8 +45116,6 @@ class PoTextareaBaseComponent {
|
|
|
44951
45116
|
*/
|
|
44952
45117
|
errorLimit = false;
|
|
44953
45118
|
/**
|
|
44954
|
-
* @Input
|
|
44955
|
-
*
|
|
44956
45119
|
* @optional
|
|
44957
45120
|
*
|
|
44958
45121
|
* @description
|
|
@@ -44964,8 +45127,6 @@ class PoTextareaBaseComponent {
|
|
|
44964
45127
|
*/
|
|
44965
45128
|
poHelperComponent = input(undefined, { ...(ngDevMode ? { debugName: "poHelperComponent" } : {}), alias: 'p-helper' });
|
|
44966
45129
|
/**
|
|
44967
|
-
* @Input
|
|
44968
|
-
*
|
|
44969
45130
|
* @optional
|
|
44970
45131
|
*
|
|
44971
45132
|
* @description
|
|
@@ -50923,6 +51084,18 @@ class PoMenuBaseComponent {
|
|
|
50923
51084
|
* @default `false`
|
|
50924
51085
|
*/
|
|
50925
51086
|
automaticToggle = false;
|
|
51087
|
+
/**
|
|
51088
|
+
* @optional
|
|
51089
|
+
*
|
|
51090
|
+
* @description
|
|
51091
|
+
*
|
|
51092
|
+
* Evento emitido toda vez que o estado do menu muda, enviando `true` quando expandido e `false` quando colapsado.
|
|
51093
|
+
*
|
|
51094
|
+
* ```html
|
|
51095
|
+
* <po-menu (p-toggle)="onMenuToggle($event)"></po-menu>
|
|
51096
|
+
* ```
|
|
51097
|
+
*/
|
|
51098
|
+
toggleChange = output({ alias: 'p-toggle' });
|
|
50926
51099
|
/**
|
|
50927
51100
|
* @optional
|
|
50928
51101
|
*
|
|
@@ -51261,14 +51434,14 @@ class PoMenuBaseComponent {
|
|
|
51261
51434
|
this._componentsSize = size;
|
|
51262
51435
|
}
|
|
51263
51436
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoMenuBaseComponent, deps: [{ token: PoMenuGlobalService }, { token: PoMenuService }, { token: PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
51264
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.9", type: PoMenuBaseComponent, isStandalone: true, inputs: { automaticToggle: ["p-automatic-toggle", "automaticToggle", convertToBoolean], collapsed: ["p-collapsed", "collapsed"], componentsSize: ["p-components-size", "componentsSize"], menus: ["p-menus", "menus"], filter: ["p-filter", "filter"], searchTreeItems: ["p-search-tree-items", "searchTreeItems"], service: ["p-service", "service"], params: ["p-params", "params"], logo: ["p-logo", "logo"], menuid: ["p-menu-id", "menuid"], logoAlt: ["p-logo-alt", "logoAlt"], shortLogo: ["p-short-logo", "shortLogo"], onlyMenuItem: ["p-only-menu-item", "onlyMenuItem"], logoLink: ["p-logo-link", "logoLink"] }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
51437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.9", type: PoMenuBaseComponent, isStandalone: true, inputs: { automaticToggle: ["p-automatic-toggle", "automaticToggle", convertToBoolean], collapsed: ["p-collapsed", "collapsed"], componentsSize: ["p-components-size", "componentsSize"], menus: ["p-menus", "menus"], filter: ["p-filter", "filter"], searchTreeItems: ["p-search-tree-items", "searchTreeItems"], service: ["p-service", "service"], params: ["p-params", "params"], logo: ["p-logo", "logo"], menuid: ["p-menu-id", "menuid"], logoAlt: ["p-logo-alt", "logoAlt"], shortLogo: ["p-short-logo", "shortLogo"], onlyMenuItem: ["p-only-menu-item", "onlyMenuItem"], logoLink: ["p-logo-link", "logoLink"] }, outputs: { toggleChange: "p-toggle" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
51265
51438
|
}
|
|
51266
51439
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoMenuBaseComponent, decorators: [{
|
|
51267
51440
|
type: Directive
|
|
51268
51441
|
}], ctorParameters: () => [{ type: PoMenuGlobalService }, { type: PoMenuService }, { type: PoLanguageService }], propDecorators: { automaticToggle: [{
|
|
51269
51442
|
type: Input,
|
|
51270
51443
|
args: [{ alias: 'p-automatic-toggle', transform: convertToBoolean }]
|
|
51271
|
-
}], collapsed: [{
|
|
51444
|
+
}], toggleChange: [{ type: i0.Output, args: ["p-toggle"] }], collapsed: [{
|
|
51272
51445
|
type: Input,
|
|
51273
51446
|
args: ['p-collapsed']
|
|
51274
51447
|
}], componentsSize: [{
|
|
@@ -51559,13 +51732,13 @@ class PoMenuComponent extends PoMenuBaseComponent {
|
|
|
51559
51732
|
}
|
|
51560
51733
|
onMouseEnter() {
|
|
51561
51734
|
if (this.collapsed && this.automaticToggle) {
|
|
51562
|
-
this.
|
|
51735
|
+
this.setCollapsed(false);
|
|
51563
51736
|
this.allowCollapseHover = true;
|
|
51564
51737
|
}
|
|
51565
51738
|
}
|
|
51566
51739
|
onMouseLeave() {
|
|
51567
51740
|
if (!this.collapsed && this.allowCollapseHover && this.automaticToggle) {
|
|
51568
|
-
this.
|
|
51741
|
+
this.setCollapsed(true);
|
|
51569
51742
|
}
|
|
51570
51743
|
}
|
|
51571
51744
|
checkingRouterChildrenFragments() {
|
|
@@ -51774,7 +51947,7 @@ class PoMenuComponent extends PoMenuBaseComponent {
|
|
|
51774
51947
|
this.groupedMenuItem['isOpened'] = !this.collapsed && this.allowCollapseMenu;
|
|
51775
51948
|
}
|
|
51776
51949
|
toggleMenuCollapse(collapsed = false) {
|
|
51777
|
-
this.collapsed
|
|
51950
|
+
this.setCollapsed(collapsed);
|
|
51778
51951
|
if (this.groupedMenuItem && this.activeMenuItem) {
|
|
51779
51952
|
this.groupedMenuItem =
|
|
51780
51953
|
this.getActiveMenuParent(this.menus, this.activeMenuItem, this.groupedMenuItem) || this.groupedMenuItem;
|
|
@@ -51810,6 +51983,10 @@ class PoMenuComponent extends PoMenuBaseComponent {
|
|
|
51810
51983
|
this.menuPrevious = this.stringify(this.menus);
|
|
51811
51984
|
this.validateMenus(this.menus);
|
|
51812
51985
|
}
|
|
51986
|
+
setCollapsed(value) {
|
|
51987
|
+
this.collapsed = value;
|
|
51988
|
+
this.toggleChange.emit(!value);
|
|
51989
|
+
}
|
|
51813
51990
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51814
51991
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoMenuComponent, isStandalone: false, selector: "po-menu", providers: [PoMenuItemsService, PoMenuService], queries: [{ propertyName: "menuHeaderTemplate", first: true, predicate: PoMenuHeaderTemplateDirective, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if (onlyMenuItem) {\n <ng-container *ngTemplateOutlet=\"menuItemsTemplate; context: { showFilter: true, showTemplate: true }\"></ng-container>\n} @else {\n @if (mobileOpened) {\n <div class=\"po-menu-overlay\" (click)=\"toggleMenuMobile()\"></div>\n }\n <div>\n <div class=\"po-menu-mobile po-clickable\" (click)=\"toggleMenuMobile()\">\n <po-icon p-icon=\"ICON_MENU\"></po-icon>\n </div>\n <div class=\"po-menu\" [attr.aria-expanded]=\"!collapsed\" [ngClass]=\"{ 'po-menu-animation': mobileOpened }\">\n <div class=\"po-menu-container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\">\n <div class=\"po-menu-header\">\n @if (logo || (shortLogo && enableCollapse)) {\n <div class=\"po-menu-header-container-logo\">\n <po-logo\n [p-class]=\"enableCollapse ? 'po-menu-short-logo' : 'po-menu-logo'\"\n [p-logo]=\"enableCollapse ? shortLogo || logo : logo\"\n [p-logo-alt]=\"logoAlt\"\n [p-link]=\"logoLink\"\n ></po-logo>\n </div>\n }\n @if (!enableCollapse && menuHeaderTemplate) {\n <div class=\"po-menu-header-template\">\n <ng-container *ngTemplateOutlet=\"menuCustomTemplate\"></ng-container>\n </div>\n }\n @if (filter) {\n <ng-container *ngTemplateOutlet=\"menuFilterTemplate\"></ng-container>\n }\n </div>\n <div class=\"po-menu-body\">\n <div class=\"po-menu-outer\">\n <div class=\"po-menu-inner\">\n <nav class=\"po-menu-nav\">\n <ng-container\n *ngTemplateOutlet=\"menuItemsTemplate; context: { showFilter: false, showTemplate: false }\"\n ></ng-container>\n </nav>\n </div>\n </div>\n </div>\n </div>\n @if (hasFooter) {\n <div class=\"po-menu-footer\">\n <button\n class=\"po-menu-collapse-button-icon\"\n type=\"button\"\n [attr.aria-label]=\"enableCollapseButton ? literals.close : literals.open\"\n (click)=\"toggle()\"\n >\n @if (enableCollapseButton) {\n <span aria-hidden=\"true\">{{ literals.close }}</span>\n }\n <po-icon [p-icon]=\"enableCollapse ? 'ICON_MENU_OPEN' : 'ICON_MENU_CLOSE'\"></po-icon>\n </button>\n </div>\n }\n </div>\n </div>\n}\n\n<ng-template #menuCustomTemplate>\n <ng-container *ngTemplateOutlet=\"menuHeaderTemplate.templateRef\"></ng-container>\n</ng-template>\n\n<ng-template #menuFilterTemplate>\n <po-menu-filter\n [p-enable-collapse]=\"enableCollapse\"\n [p-loading]=\"filterLoading\"\n [p-components-size]=\"componentsSize\"\n (p-filter)=\"debounceFilter($event)\"\n ></po-menu-filter>\n</ng-template>\n\n<ng-template #menuItemsTemplate let-showFilter=\"showFilter\" let-showTemplate=\"showTemplate\">\n @if (menuHeaderTemplate && showTemplate) {\n <ng-container *ngTemplateOutlet=\"menuCustomTemplate\"></ng-container>\n }\n\n @if (filter && showFilter) {\n <ng-container *ngTemplateOutlet=\"menuFilterTemplate\"></ng-container>\n }\n\n <ul class=\"po-menu-list\" role=\"menu\">\n @if (noData) {\n <li class=\"po-menu-list-item\" role=\"presentation\">\n <po-menu-item\n p-icon=\"ICON_INFO\"\n p-type=\"noData\"\n [p-level]=\"1\"\n [p-label]=\"literals.itemNotFound\"\n [p-short-label]=\"literals.itemNotFound\"\n ></po-menu-item>\n </li>\n }\n @for (menu of filteredItems; track menu; let menuIndex = $index) {\n <li\n class=\"po-menu-list-item\"\n role=\"presentation\"\n [attr.aria-level]=\"menu.level\"\n [class.po-menu-item-first]=\"menuIndex === 0\"\n >\n <po-menu-item\n [p-action]=\"menu.action\"\n [p-badge-alert]=\"menu.badgeAlert\"\n [p-badge-color]=\"menu.badge?.color\"\n [p-badge-value]=\"menu.badge?.value\"\n [p-collapsed-menu]=\"enableCollapse\"\n [p-icon]=\"allowIcons ? menu.icon : null\"\n [p-id]=\"menu.id\"\n [p-label]=\"menu.label\"\n [p-level]=\"menu.level\"\n [p-link]=\"menu.link\"\n [p-short-label]=\"menu.shortLabel\"\n [p-sub-items]=\"menu.subItems\"\n [p-type]=\"menu.type\"\n ></po-menu-item>\n </li>\n }\n </ul>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoLogoComponent, selector: "po-logo", inputs: ["p-class", "p-link", "p-logo", "p-logo-alt"] }, { kind: "component", type: PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "component", type: PoMenuFilterComponent, selector: "po-menu-filter", inputs: ["p-components-size", "p-loading", "p-enable-collapse"], outputs: ["p-filter"] }, { kind: "component", type: PoMenuItemComponent, selector: "po-menu-item", inputs: ["p-action", "p-badge-alert", "p-badge-color", "p-collapsed-menu", "p-icon", "p-id", "p-is-opened", "p-label", "p-level", "p-link", "p-short-label", "p-type", "p-badge-value", "p-is-selected", "p-is-sub-item", "p-sub-items"] }] });
|
|
51815
51992
|
}
|
|
@@ -54253,9 +54430,6 @@ var PoSkeletonVariant;
|
|
|
54253
54430
|
*/
|
|
54254
54431
|
class PoSkeletonBaseComponent {
|
|
54255
54432
|
/**
|
|
54256
|
-
*
|
|
54257
|
-
* @Input
|
|
54258
|
-
*
|
|
54259
54433
|
* @optional
|
|
54260
54434
|
*
|
|
54261
54435
|
* @description
|
|
@@ -54272,9 +54446,6 @@ class PoSkeletonBaseComponent {
|
|
|
54272
54446
|
*/
|
|
54273
54447
|
variant = input(PoSkeletonVariant.text, { ...(ngDevMode ? { debugName: "variant" } : {}), alias: 'p-variant' });
|
|
54274
54448
|
/**
|
|
54275
|
-
*
|
|
54276
|
-
* @Input
|
|
54277
|
-
*
|
|
54278
54449
|
* @optional
|
|
54279
54450
|
*
|
|
54280
54451
|
* @description
|
|
@@ -54290,9 +54461,6 @@ class PoSkeletonBaseComponent {
|
|
|
54290
54461
|
*/
|
|
54291
54462
|
type = input(PoSkeletonType.normal, { ...(ngDevMode ? { debugName: "type" } : {}), alias: 'p-type' });
|
|
54292
54463
|
/**
|
|
54293
|
-
*
|
|
54294
|
-
* @Input
|
|
54295
|
-
*
|
|
54296
54464
|
* @optional
|
|
54297
54465
|
*
|
|
54298
54466
|
* @description
|
|
@@ -54308,9 +54476,6 @@ class PoSkeletonBaseComponent {
|
|
|
54308
54476
|
*/
|
|
54309
54477
|
animation = input(PoSkeletonAnimation.shimmer, { ...(ngDevMode ? { debugName: "animation" } : {}), alias: 'p-animation' });
|
|
54310
54478
|
/**
|
|
54311
|
-
*
|
|
54312
|
-
* @Input
|
|
54313
|
-
*
|
|
54314
54479
|
* @optional
|
|
54315
54480
|
*
|
|
54316
54481
|
* @description
|
|
@@ -54331,9 +54496,6 @@ class PoSkeletonBaseComponent {
|
|
|
54331
54496
|
*/
|
|
54332
54497
|
size = input(PoSkeletonSize.md, { ...(ngDevMode ? { debugName: "size" } : {}), alias: 'p-size' });
|
|
54333
54498
|
/**
|
|
54334
|
-
*
|
|
54335
|
-
* @Input
|
|
54336
|
-
*
|
|
54337
54499
|
* @optional
|
|
54338
54500
|
*
|
|
54339
54501
|
* @description
|
|
@@ -54347,8 +54509,6 @@ class PoSkeletonBaseComponent {
|
|
|
54347
54509
|
*/
|
|
54348
54510
|
width = input('', { ...(ngDevMode ? { debugName: "width" } : {}), alias: 'p-width' });
|
|
54349
54511
|
/**
|
|
54350
|
-
* @Input
|
|
54351
|
-
*
|
|
54352
54512
|
* @optional
|
|
54353
54513
|
*
|
|
54354
54514
|
* @description
|
|
@@ -54360,9 +54520,6 @@ class PoSkeletonBaseComponent {
|
|
|
54360
54520
|
*/
|
|
54361
54521
|
height = input('', { ...(ngDevMode ? { debugName: "height" } : {}), alias: 'p-height' });
|
|
54362
54522
|
/**
|
|
54363
|
-
*
|
|
54364
|
-
* @Input
|
|
54365
|
-
*
|
|
54366
54523
|
* @optional
|
|
54367
54524
|
*
|
|
54368
54525
|
* @description
|
|
@@ -54374,9 +54531,6 @@ class PoSkeletonBaseComponent {
|
|
|
54374
54531
|
*/
|
|
54375
54532
|
borderRadius = input('', { ...(ngDevMode ? { debugName: "borderRadius" } : {}), alias: 'p-border-radius' });
|
|
54376
54533
|
/**
|
|
54377
|
-
*
|
|
54378
|
-
* @Input
|
|
54379
|
-
*
|
|
54380
54534
|
* @optional
|
|
54381
54535
|
*
|
|
54382
54536
|
* @description
|
|
@@ -56383,6 +56537,8 @@ class PoTabBaseComponent {
|
|
|
56383
56537
|
* @default `false`
|
|
56384
56538
|
*/
|
|
56385
56539
|
hideClose = false;
|
|
56540
|
+
/** ID da Tab */
|
|
56541
|
+
id = uuid();
|
|
56386
56542
|
/** Método disparado ao clicar na aba. */
|
|
56387
56543
|
click = new EventEmitter();
|
|
56388
56544
|
/**
|
|
@@ -56396,8 +56552,15 @@ class PoTabBaseComponent {
|
|
|
56396
56552
|
*
|
|
56397
56553
|
*/
|
|
56398
56554
|
closeTab = new EventEmitter();
|
|
56399
|
-
|
|
56400
|
-
|
|
56555
|
+
/**
|
|
56556
|
+
* @optional
|
|
56557
|
+
*
|
|
56558
|
+
* @description
|
|
56559
|
+
*
|
|
56560
|
+
* Evento emitido quando a aba é ativada.
|
|
56561
|
+
* Emite a instância do componente da aba que foi ativada.
|
|
56562
|
+
*/
|
|
56563
|
+
activatedTab = output({ alias: 'p-activated-tab' });
|
|
56401
56564
|
_active = false;
|
|
56402
56565
|
_disabled = false;
|
|
56403
56566
|
_hide = false;
|
|
@@ -56453,7 +56616,7 @@ class PoTabBaseComponent {
|
|
|
56453
56616
|
return this._hide;
|
|
56454
56617
|
}
|
|
56455
56618
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoTabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
56456
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.9", type: PoTabBaseComponent, isStandalone: true, inputs: { label: ["p-label", "label"], hideClose: ["p-hide-close", "hideClose", convertToBoolean], active: ["p-active", "active"], disabled: ["p-disabled", "disabled"], hide: ["p-hide", "hide"] }, outputs: { click: "p-click", closeTab: "p-close-tab" }, ngImport: i0 });
|
|
56619
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.9", type: PoTabBaseComponent, isStandalone: true, inputs: { label: ["p-label", "label"], hideClose: ["p-hide-close", "hideClose", convertToBoolean], id: "id", active: ["p-active", "active"], disabled: ["p-disabled", "disabled"], hide: ["p-hide", "hide"] }, outputs: { click: "p-click", closeTab: "p-close-tab", activatedTab: "p-activated-tab" }, ngImport: i0 });
|
|
56457
56620
|
}
|
|
56458
56621
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoTabBaseComponent, decorators: [{
|
|
56459
56622
|
type: Directive
|
|
@@ -56463,13 +56626,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
56463
56626
|
}], hideClose: [{
|
|
56464
56627
|
type: Input,
|
|
56465
56628
|
args: [{ alias: 'p-hide-close', transform: convertToBoolean }]
|
|
56629
|
+
}], id: [{
|
|
56630
|
+
type: Input,
|
|
56631
|
+
args: ['id']
|
|
56466
56632
|
}], click: [{
|
|
56467
56633
|
type: Output,
|
|
56468
56634
|
args: ['p-click']
|
|
56469
56635
|
}], closeTab: [{
|
|
56470
56636
|
type: Output,
|
|
56471
56637
|
args: ['p-close-tab']
|
|
56472
|
-
}], active: [{
|
|
56638
|
+
}], activatedTab: [{ type: i0.Output, args: ["p-activated-tab"] }], active: [{
|
|
56473
56639
|
type: Input,
|
|
56474
56640
|
args: ['p-active']
|
|
56475
56641
|
}], disabled: [{
|
|
@@ -56987,6 +57153,7 @@ class PoTabsComponent extends PoTabsBaseComponent {
|
|
|
56987
57153
|
// Função disparada quando alguma tab ficar ativa
|
|
56988
57154
|
onTabActive(tab) {
|
|
56989
57155
|
this.previousActiveTab = this.tabsChildren.find(tabChild => tabChild.active && tabChild.id !== tab.id);
|
|
57156
|
+
tab.activatedTab.emit(tab);
|
|
56990
57157
|
this.deactivateTab();
|
|
56991
57158
|
}
|
|
56992
57159
|
// funcao será disparada quando mudar o estado do poTab para desabilitado ou escondido.
|
|
@@ -57243,6 +57410,31 @@ class PoTabsComponent extends PoTabsBaseComponent {
|
|
|
57243
57410
|
this.setTabIndex(tabRemoveElements[0], 0);
|
|
57244
57411
|
}
|
|
57245
57412
|
}
|
|
57413
|
+
/**
|
|
57414
|
+
* Ativa a aba correspondente ao `id` informado.
|
|
57415
|
+
*
|
|
57416
|
+
* Para utilizá-la é necessário ter a instância do componente no DOM, podendo ser utilizado o ViewChild da seguinte forma:
|
|
57417
|
+
*
|
|
57418
|
+
* ```
|
|
57419
|
+
* import { PoTabsComponent } from '@po-ui/ng-components';
|
|
57420
|
+
*
|
|
57421
|
+
* ...
|
|
57422
|
+
*
|
|
57423
|
+
* @ViewChild('poTab', { static: true }) poTab: PoTabsComponent;
|
|
57424
|
+
*
|
|
57425
|
+
* focusOnTab() {
|
|
57426
|
+
* this.poTab.activateTab('meu-id-da-aba');
|
|
57427
|
+
* }
|
|
57428
|
+
* ```
|
|
57429
|
+
*
|
|
57430
|
+
* @param id Identificador único da aba a ser ativada.
|
|
57431
|
+
*/
|
|
57432
|
+
activateTab(id) {
|
|
57433
|
+
const tab = this.tabsChildrenArray.find(x => x.id === id);
|
|
57434
|
+
if (tab) {
|
|
57435
|
+
this.selectedTab(tab);
|
|
57436
|
+
}
|
|
57437
|
+
}
|
|
57246
57438
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57247
57439
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoTabsComponent, isStandalone: false, selector: "po-tabs", queries: [{ propertyName: "tabsChildren", predicate: PoTabComponent }], viewQueries: [{ propertyName: "tabDropdown", first: true, predicate: ["tabDropdown"], descendants: true, static: true }, { propertyName: "containerTabs", first: true, predicate: ["containerTabs"], descendants: true, read: ElementRef, static: true }, { propertyName: "tabButton", predicate: ["tabButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div class=\"po-tabs-container\">\n <div #containerTabs class=\"po-tabs-header\">\n <div class=\"po-tabs-button-wrapper\" role=\"tablist\">\n @for (tab of tabs; track trackByFn($index, tab)) {\n <po-tab-button\n #tabButton\n class=\"po-tab-button\"\n [p-active]=\"tab.active\"\n [p-disabled]=\"tab.disabled\"\n [p-hide]=\"tab.hide\"\n [p-id]=\"tab.id\"\n [hidden]=\"tab.hide\"\n [attr.disabled]=\"tab.disabled\"\n [p-label]=\"tab.label\"\n [id]=\"tab.id\"\n (keyup.enter)=\"closeListbox()\"\n (p-activated)=\"onTabActive(tab)\"\n (p-change-state)=\"onTabChangeState(tab)\"\n (p-click)=\"selectedTab(tab)\"\n >\n </po-tab-button>\n }\n\n @if (isShowTabDropdown) {\n <po-tab-dropdown\n #tabDropdown\n class=\"po-tab-dropdown\"\n [class.po-tab-dropdown-device]=\"!tabsDefault?.length\"\n [p-label]=\"literals.moreTabs\"\n [p-size]=\"size\"\n [p-tabs]=\"overflowedTabs\"\n (p-change-state)=\"onTabChangeState($event)\"\n (p-click)=\"onTabActiveByDropdown($event)\"\n >\n </po-tab-dropdown>\n }\n </div>\n </div>\n</div>\n<div class=\"po-tabs-content\">\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "component", type: PoTabButtonComponent, selector: "po-tab-button", inputs: ["p-disabled", "p-id", "p-label", "p-active", "p-hide"], outputs: ["p-activated", "p-change-state", "p-click"] }, { kind: "component", type: PoTabDropdownComponent, selector: "po-tab-dropdown", inputs: ["p-label", "p-tabs", "p-size"], outputs: ["p-activated", "p-change-state", "p-click"] }] });
|
|
57248
57440
|
}
|
|
@@ -58674,8 +58866,6 @@ class PoWidgetBaseComponent {
|
|
|
58674
58866
|
*/
|
|
58675
58867
|
tagIcon;
|
|
58676
58868
|
/**
|
|
58677
|
-
* @Input p-tag-position
|
|
58678
|
-
*
|
|
58679
58869
|
* @optional
|
|
58680
58870
|
*
|
|
58681
58871
|
* @description
|
|
@@ -58718,8 +58908,6 @@ class PoWidgetBaseComponent {
|
|
|
58718
58908
|
return this._size ?? getDefaultSizeFn(PoFieldSize);
|
|
58719
58909
|
}
|
|
58720
58910
|
/**
|
|
58721
|
-
* @Input p-avatar
|
|
58722
|
-
*
|
|
58723
58911
|
* @optional
|
|
58724
58912
|
*
|
|
58725
58913
|
* @description
|
|
@@ -59401,24 +59589,27 @@ const poNavbarLiteralsDefault = {
|
|
|
59401
59589
|
* | `--border-radius-bottom-left` | Valor do radius do lado esquerdo do header | `var(--border-radius-md)` |
|
|
59402
59590
|
* | `--border-radius-bottom-right` | Valor do radius do lado direito do header | `var(--border-radius-md)` |
|
|
59403
59591
|
* | `--base shadow` | Cor da sombra do header | `0 1px 8px rgba(0, 0, 0, 0.1)` |
|
|
59592
|
+
* | `--stroke-color` | Cor da borda inferior do header | `var(--color-brand-01-base)` |
|
|
59404
59593
|
* | **Sub-menu** | | |
|
|
59405
59594
|
* | `--border-radius` | Valor do radius dos itens do sub-menu | `var(--border-radius-md);` |
|
|
59406
59595
|
* | `--text-color-submenu` | Cor do texto dos itens do sub-menu | `var(--color-brand-01-base)` |
|
|
59407
59596
|
* | `--icon-color` | Cor do ícone do sub-menu com itens | `var(--color-brand-01-base)` |
|
|
59408
59597
|
* | `--border-color` | Cor da borda | `var(--color-transparent)` |
|
|
59409
59598
|
* | `--shadow` | Contém o valor da sombra do elemento | `var(--shadow-none)` |
|
|
59599
|
+
* | `--font-family-submenu` | Fonte do texto dos itens de sub-menu | `var(--font-family-theme)` |
|
|
59600
|
+
* | `--font-weight-submenu` | Peso da fonte do texto dos itens de sub-menu | `var(--font-weight-bold)` |
|
|
59410
59601
|
* | **Sub-menu - Hover** | | |
|
|
59411
59602
|
* | `--background-hover` | Cor de background dos itens do sub-menu no estado hover | `var(--color-brand-01-lighter)` |
|
|
59412
59603
|
* | `--icon-color-hover` | Cor do ícone dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
59413
|
-
* | `--text-color-hover` | Cor do
|
|
59604
|
+
* | `--text-color-hover` | Cor do texto dos itens de sub-menu no estado hover | `var(--color-brand-01-darkest)` |
|
|
59414
59605
|
* | **Sub-menu - pressed** | | |
|
|
59415
59606
|
* | `--background-pressed` | Cor de background dos itens do sub-menu no estado pressed | `var(--color-brand-01-light)` |
|
|
59416
59607
|
* | `--icon-color-pressed` | Cor do ícone dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
59417
|
-
* | `--text-color-pressed` | Cor do
|
|
59608
|
+
* | `--text-color-pressed` | Cor do texto dos itens de sub-menu no estado pressed | `var(--color-brand-01-darkest)` |
|
|
59418
59609
|
* | **Sub-menu - selected** | | |
|
|
59419
59610
|
* | `--background-selected` | Cor de background dos itens do sub-menu no estado selected | `var(--color-brand-01-light)` |
|
|
59420
59611
|
* | `--icon-color-selected` | Cor do ícone dos itens de sub-menu no estado selected | `var(--color-neutral-dark-95)` |
|
|
59421
|
-
* | `--text-color-selected` | Cor do
|
|
59612
|
+
* | `--text-color-selected` | Cor do texto dos itens de sub-menu no estado selected | `var(--color-brand-01-darkest)` |
|
|
59422
59613
|
* | **Customer** | | |
|
|
59423
59614
|
* | `--background-color-customer` | Cor do background da seção customer | `var(--color-neutral-light-00)` |
|
|
59424
59615
|
* | `--border-color` | Cor da borda da seção customer | `var(--color-neutral-light-10)` |
|
|
@@ -59426,9 +59617,9 @@ const poNavbarLiteralsDefault = {
|
|
|
59426
59617
|
* | `--border-width` | Largura da borda da seção customer | `var(--border-width-sm)` |
|
|
59427
59618
|
* | **Customer - hover** | | |
|
|
59428
59619
|
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
59429
|
-
* | `--background-color-customer-hover` | Cor do background da seção customer no estado hover | `var(--color-brand-01-lighter)` |
|
|
59430
59620
|
* | **Customer - pressed** | | |
|
|
59431
59621
|
* | `--background-color-customer-pressed` | Cor do background da seção customer no estado pressed | `var(--color-brand-01-light)` |
|
|
59622
|
+
* | `--border-width-pressed` | Largura da borda da seção customer no estado pressed | `var(--border-width-md)` |
|
|
59432
59623
|
*
|
|
59433
59624
|
*/
|
|
59434
59625
|
class PoHeaderBaseComponent {
|
|
@@ -59438,6 +59629,7 @@ class PoHeaderBaseComponent {
|
|
|
59438
59629
|
_brand;
|
|
59439
59630
|
_literals;
|
|
59440
59631
|
language = poLocaleDefault;
|
|
59632
|
+
themeChangeSignal = signal(0, ...(ngDevMode ? [{ debugName: "themeChangeSignal" }] : []));
|
|
59441
59633
|
/**
|
|
59442
59634
|
* @optional
|
|
59443
59635
|
*
|
|
@@ -59599,6 +59791,31 @@ class PoHeaderBaseComponent {
|
|
|
59599
59791
|
get literals() {
|
|
59600
59792
|
return this._literals || poNavbarLiteralsDefault[this.language];
|
|
59601
59793
|
}
|
|
59794
|
+
/**
|
|
59795
|
+
* @optional
|
|
59796
|
+
*
|
|
59797
|
+
* @Input
|
|
59798
|
+
*
|
|
59799
|
+
* @description
|
|
59800
|
+
*
|
|
59801
|
+
* Define o tamanho do componente:
|
|
59802
|
+
* - `small`: altura de 44px (disponível apenas para acessibilidade AA).
|
|
59803
|
+
* - `medium`: altura de 56px.
|
|
59804
|
+
*
|
|
59805
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
59806
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
59807
|
+
*
|
|
59808
|
+
* @default `medium`
|
|
59809
|
+
*/
|
|
59810
|
+
sizeInput = input('', { ...(ngDevMode ? { debugName: "sizeInput" } : {}), alias: 'p-size' });
|
|
59811
|
+
size = computed(() => {
|
|
59812
|
+
this.themeChangeSignal();
|
|
59813
|
+
const value = this.sizeInput();
|
|
59814
|
+
return value ? validateSizeFn(value, PoFieldSize) : getDefaultSizeFn(PoFieldSize);
|
|
59815
|
+
}, ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
59816
|
+
get hostSize() {
|
|
59817
|
+
return this.sizeInput() ? validateSizeFn(this.sizeInput(), PoFieldSize) : getDefaultSizeFn(PoFieldSize);
|
|
59818
|
+
}
|
|
59602
59819
|
/**
|
|
59603
59820
|
* @optional
|
|
59604
59821
|
*
|
|
@@ -59617,8 +59834,19 @@ class PoHeaderBaseComponent {
|
|
|
59617
59834
|
generateRandomId() {
|
|
59618
59835
|
return String(Math.floor(Math.random() * 9999 + 1));
|
|
59619
59836
|
}
|
|
59837
|
+
onThemeChange() {
|
|
59838
|
+
this.themeChangeSignal.update(v => v + 1);
|
|
59839
|
+
requestAnimationFrame(() => {
|
|
59840
|
+
try {
|
|
59841
|
+
this.updateMenu();
|
|
59842
|
+
}
|
|
59843
|
+
catch {
|
|
59844
|
+
console.error('updateMenu with errors. probably tried to execute before the component was rendered.');
|
|
59845
|
+
}
|
|
59846
|
+
});
|
|
59847
|
+
}
|
|
59620
59848
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderBaseComponent, deps: [{ token: PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
59621
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
59849
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.0.9", type: PoHeaderBaseComponent, isStandalone: true, inputs: { amountMore: { classPropertyName: "amountMore", publicName: "p-amount-more", isSignal: false, isRequired: false, transformFunction: null }, hideButtonMenu: { classPropertyName: "hideButtonMenu", publicName: "p-hide-button-menu", isSignal: false, isRequired: false, transformFunction: null }, filterMenu: { classPropertyName: "filterMenu", publicName: "p-filter-menu", isSignal: false, isRequired: false, transformFunction: convertToBoolean }, sideMenuOnlyAction: { classPropertyName: "sideMenuOnlyAction", publicName: "p-side-menu-only-action", isSignal: false, isRequired: false, transformFunction: null }, forceActionTools: { classPropertyName: "forceActionTools", publicName: "p-force-actions-tools", isSignal: false, isRequired: false, transformFunction: null }, notChangeContext: { classPropertyName: "notChangeContext", publicName: "p-not-change-context", isSignal: false, isRequired: false, transformFunction: null }, brand: { classPropertyName: "brand", publicName: "p-brand", isSignal: false, isRequired: false, transformFunction: null }, actionsTools: { classPropertyName: "actionsTools", publicName: "p-actions-tools", isSignal: false, isRequired: false, transformFunction: null }, headerUser: { classPropertyName: "headerUser", publicName: "p-header-user", isSignal: false, isRequired: false, transformFunction: null }, menuItems: { classPropertyName: "menuItems", publicName: "p-menu-items", isSignal: false, isRequired: false, transformFunction: null }, menuCollapse: { classPropertyName: "menuCollapse", publicName: "p-menus", isSignal: false, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "p-header-template", isSignal: false, isRequired: false, transformFunction: null }, literals: { classPropertyName: "literals", publicName: "p-literals", isSignal: false, isRequired: false, transformFunction: null }, sizeInput: { classPropertyName: "sizeInput", publicName: "p-size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { colapsedMenuEvent: "p-colapsed-menu" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-size": "this.hostSize" } }, ngImport: i0 });
|
|
59622
59850
|
}
|
|
59623
59851
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderBaseComponent, decorators: [{
|
|
59624
59852
|
type: Directive
|
|
@@ -59661,9 +59889,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
59661
59889
|
}], literals: [{
|
|
59662
59890
|
type: Input,
|
|
59663
59891
|
args: ['p-literals']
|
|
59892
|
+
}], sizeInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-size", required: false }] }], hostSize: [{
|
|
59893
|
+
type: HostBinding,
|
|
59894
|
+
args: ['attr.p-size']
|
|
59664
59895
|
}], colapsedMenuEvent: [{
|
|
59665
59896
|
type: Output,
|
|
59666
59897
|
args: ['p-colapsed-menu']
|
|
59898
|
+
}], onThemeChange: [{
|
|
59899
|
+
type: HostListener,
|
|
59900
|
+
args: ['window:PoUiThemeChange']
|
|
59667
59901
|
}] } });
|
|
59668
59902
|
|
|
59669
59903
|
class PoHeaderbrandComponent {
|
|
@@ -59680,6 +59914,7 @@ class PoHeaderbrandComponent {
|
|
|
59680
59914
|
// itens do menu caso não seja enviado um menu externo pelo usuário
|
|
59681
59915
|
menuCollapse = [];
|
|
59682
59916
|
externalMenu;
|
|
59917
|
+
size = input(undefined, { ...(ngDevMode ? { debugName: "size" } : {}), alias: 'p-size' });
|
|
59683
59918
|
constructor(cd, router) {
|
|
59684
59919
|
this.cd = cd;
|
|
59685
59920
|
this.router = router;
|
|
@@ -59716,11 +59951,11 @@ class PoHeaderbrandComponent {
|
|
|
59716
59951
|
return this.titleBrand?.nativeElement.offsetWidth >= 151;
|
|
59717
59952
|
}
|
|
59718
59953
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderbrandComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
59719
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderbrandComponent, isStandalone: false, selector: "po-header-brand", inputs: { brand:
|
|
59954
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderbrandComponent, isStandalone: false, selector: "po-header-brand", inputs: { brand: { classPropertyName: "brand", publicName: "p-brand", isSignal: false, isRequired: false, transformFunction: null }, hideButtonMenu: { classPropertyName: "hideButtonMenu", publicName: "p-hide-button-menu", isSignal: false, isRequired: false, transformFunction: null }, menuCollapse: { classPropertyName: "menuCollapse", publicName: "p-menus", isSignal: false, isRequired: false, transformFunction: null }, externalMenu: { classPropertyName: "externalMenu", publicName: "p-external", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "p-size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clickMenu: "p-click-menu" }, viewQueries: [{ propertyName: "targetRef", first: true, predicate: ["target"], descendants: true, read: ElementRef, static: true }, { propertyName: "titleBrand", first: true, predicate: ["titleBrand"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"po-header-nav-brand\">\n @if (externalMenu) {\n <po-button\n #target\n class=\"po-nav-header-medium\"\n [p-size]=\"size()\"\n p-icon=\"ICON_MENU\"\n p-kind=\"tertiary\"\n (p-click)=\"clickMenu.emit()\"\n >\n </po-button>\n } @else if (menuCollapse.length && !hideButtonMenu) {\n <po-button [p-size]=\"size()\" #target p-icon=\"ICON_MENU\" p-kind=\"tertiary\" (p-click)=\"clickMenu.emit()\"> </po-button>\n }\n\n @if (brand?.logo && !smallLogo) {\n <div class=\"po-header-nav-brand-logo\" (click)=\"onClickLogo()\">\n <img [src]=\"brand.logo\" alt=\"Logo\" />\n </div>\n }\n\n @if ((brand?.logo || brand?.smallLogo) && smallLogo) {\n <div class=\"po-header-nav-brand-logo-small\" (click)=\"onClickLogo()\">\n <img [src]=\"brand?.smallLogo || brand?.logo\" alt=\"Logo\" />\n </div>\n }\n <span #titleBrand [p-tooltip]=\"showTooltip ? brand?.title : ''\" class=\"po-header-nav-brand-text\">{{\n brand?.title\n }}</span>\n</div>\n", dependencies: [{ kind: "component", type: PoButtonComponent, selector: "po-button" }, { kind: "directive", type: PoTooltipDirective, selector: "[p-tooltip]" }] });
|
|
59720
59955
|
}
|
|
59721
59956
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderbrandComponent, decorators: [{
|
|
59722
59957
|
type: Component,
|
|
59723
|
-
args: [{ selector: 'po-header-brand', standalone: false, template: "<div class=\"po-header-nav-brand\">\n @if (externalMenu) {\n <po-button\n #target\n class=\"po-nav-header-medium\"\n p-size=\"
|
|
59958
|
+
args: [{ selector: 'po-header-brand', standalone: false, template: "<div class=\"po-header-nav-brand\">\n @if (externalMenu) {\n <po-button\n #target\n class=\"po-nav-header-medium\"\n [p-size]=\"size()\"\n p-icon=\"ICON_MENU\"\n p-kind=\"tertiary\"\n (p-click)=\"clickMenu.emit()\"\n >\n </po-button>\n } @else if (menuCollapse.length && !hideButtonMenu) {\n <po-button [p-size]=\"size()\" #target p-icon=\"ICON_MENU\" p-kind=\"tertiary\" (p-click)=\"clickMenu.emit()\"> </po-button>\n }\n\n @if (brand?.logo && !smallLogo) {\n <div class=\"po-header-nav-brand-logo\" (click)=\"onClickLogo()\">\n <img [src]=\"brand.logo\" alt=\"Logo\" />\n </div>\n }\n\n @if ((brand?.logo || brand?.smallLogo) && smallLogo) {\n <div class=\"po-header-nav-brand-logo-small\" (click)=\"onClickLogo()\">\n <img [src]=\"brand?.smallLogo || brand?.logo\" alt=\"Logo\" />\n </div>\n }\n <span #titleBrand [p-tooltip]=\"showTooltip ? brand?.title : ''\" class=\"po-header-nav-brand-text\">{{\n brand?.title\n }}</span>\n</div>\n" }]
|
|
59724
59959
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.Router }], propDecorators: { targetRef: [{
|
|
59725
59960
|
type: ViewChild,
|
|
59726
59961
|
args: ['target', { read: ElementRef, static: true }]
|
|
@@ -59742,7 +59977,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
59742
59977
|
}], externalMenu: [{
|
|
59743
59978
|
type: Input,
|
|
59744
59979
|
args: ['p-external']
|
|
59745
|
-
}] } });
|
|
59980
|
+
}], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-size", required: false }] }] } });
|
|
59746
59981
|
|
|
59747
59982
|
const poHeaderMoreLiteralsDefault = {
|
|
59748
59983
|
en: {
|
|
@@ -59772,6 +60007,7 @@ class PoHeaderMenuItemComponent {
|
|
|
59772
60007
|
item;
|
|
59773
60008
|
itemOverFlow;
|
|
59774
60009
|
overflowButton = false;
|
|
60010
|
+
size = input(undefined, { ...(ngDevMode ? { debugName: "size" } : {}), alias: 'p-size' });
|
|
59775
60011
|
itemClick = new EventEmitter();
|
|
59776
60012
|
constructor(cd, router, languageService) {
|
|
59777
60013
|
this.cd = cd;
|
|
@@ -59871,11 +60107,11 @@ class PoHeaderMenuItemComponent {
|
|
|
59871
60107
|
});
|
|
59872
60108
|
}
|
|
59873
60109
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderMenuItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.Router }, { token: PoLanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
59874
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderMenuItemComponent, isStandalone: false, selector: "po-header-menu-item", inputs: { item:
|
|
60110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderMenuItemComponent, isStandalone: false, selector: "po-header-menu-item", inputs: { item: { classPropertyName: "item", publicName: "p-item", isSignal: false, isRequired: false, transformFunction: null }, itemOverFlow: { classPropertyName: "itemOverFlow", publicName: "p-item-overflow", isSignal: false, isRequired: false, transformFunction: null }, overflowButton: { classPropertyName: "overflowButton", publicName: "p-button-overflow", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "p-size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "p-item-click" }, viewQueries: [{ propertyName: "buttonMoreElement", first: true, predicate: ["buttonMoreElement"], descendants: true, read: ElementRef }, { propertyName: "poPopupElement", first: true, predicate: PoPopupComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (overflowButton) {\n <li\n #buttonMoreElement\n #overflowButton\n class=\"po-header-nav-submenu-more\"\n tabindex=\"0\"\n (click)=\"openListButtonMore()\"\n (keydown)=\"onKeyDownButtonMore($event)\"\n >\n <div\n role=\"button\"\n [attr.aria-expanded]=\"poPopupElement?.showPopup\"\n class=\"po-header-nav-submenu-button-more\"\n [class.open]=\"poPopupElement?.showPopup\"\n >\n <span>{{ literals.more }}</span>\n <po-icon\n class=\"po-header-icon po-header-nav-submenu-more-icon\"\n [p-icon]=\"poPopupElement?.showPopup ? 'ICON_ARROW_UP' : 'ICON_ARROW_DOWN'\"\n ></po-icon>\n </div>\n </li>\n} @else {\n <li\n #menusubmenuitem\n tabindex=\"0\"\n [p-tooltip]=\"item?.label\"\n class=\"po-header-nav-submenu\"\n (click)=\"onAction(item)\"\n (keydown)=\"onKeyDownButtonList($event, item)\"\n [attr.aria-current]=\"selectedItem\"\n >\n <div\n class=\"po-header-nav-submenu-button\"\n [attr.aria-selected]=\"item?.$selected\"\n [class.submenu-item-selected]=\"selectedItem\"\n >\n <span>{{ item?.label }}</span>\n </div>\n </li>\n}\n\n@if (overflowButton) {\n <po-popup\n #popup\n [p-size]=\"size()\"\n [p-actions]=\"itemOverFlow\"\n [p-target]=\"buttonMoreElement\"\n [p-hide-arrow]=\"true\"\n (p-click-item)=\"onAction($event, false)\"\n (p-close)=\"onClosePopup()\"\n >\n </po-popup>\n}\n", dependencies: [{ kind: "component", type: PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "directive", type: PoTooltipDirective, selector: "[p-tooltip]" }, { kind: "component", type: PoPopupComponent, selector: "po-popup" }] });
|
|
59875
60111
|
}
|
|
59876
60112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderMenuItemComponent, decorators: [{
|
|
59877
60113
|
type: Component,
|
|
59878
|
-
args: [{ selector: 'po-header-menu-item', standalone: false, template: "@if (overflowButton) {\n <li\n #buttonMoreElement\n #overflowButton\n class=\"po-header-nav-submenu-more\"\n tabindex=\"0\"\n (click)=\"openListButtonMore()\"\n (keydown)=\"onKeyDownButtonMore($event)\"\n >\n <div\n role=\"button\"\n [attr.aria-expanded]=\"poPopupElement?.showPopup\"\n class=\"po-header-nav-submenu-button-more\"\n [class.open]=\"poPopupElement?.showPopup\"\n >\n <span>{{ literals.more }}</span>\n <po-icon\n class=\"po-header-icon po-header-nav-submenu-more-icon\"\n [p-icon]=\"poPopupElement?.showPopup ? 'ICON_ARROW_UP' : 'ICON_ARROW_DOWN'\"\n ></po-icon>\n </div>\n </li>\n} @else {\n <li\n #menusubmenuitem\n tabindex=\"0\"\n [p-tooltip]=\"item?.label\"\n class=\"po-header-nav-submenu\"\n (click)=\"onAction(item)\"\n (keydown)=\"onKeyDownButtonList($event, item)\"\n [attr.aria-current]=\"selectedItem\"\n >\n <div\n class=\"po-header-nav-submenu-button\"\n [attr.aria-selected]=\"item?.$selected\"\n [class.submenu-item-selected]=\"selectedItem\"\n >\n <span>{{ item?.label }}</span>\n </div>\n </li>\n}\n\n@if (overflowButton) {\n <po-popup\n #popup\n p-size=\"
|
|
60114
|
+
args: [{ selector: 'po-header-menu-item', standalone: false, template: "@if (overflowButton) {\n <li\n #buttonMoreElement\n #overflowButton\n class=\"po-header-nav-submenu-more\"\n tabindex=\"0\"\n (click)=\"openListButtonMore()\"\n (keydown)=\"onKeyDownButtonMore($event)\"\n >\n <div\n role=\"button\"\n [attr.aria-expanded]=\"poPopupElement?.showPopup\"\n class=\"po-header-nav-submenu-button-more\"\n [class.open]=\"poPopupElement?.showPopup\"\n >\n <span>{{ literals.more }}</span>\n <po-icon\n class=\"po-header-icon po-header-nav-submenu-more-icon\"\n [p-icon]=\"poPopupElement?.showPopup ? 'ICON_ARROW_UP' : 'ICON_ARROW_DOWN'\"\n ></po-icon>\n </div>\n </li>\n} @else {\n <li\n #menusubmenuitem\n tabindex=\"0\"\n [p-tooltip]=\"item?.label\"\n class=\"po-header-nav-submenu\"\n (click)=\"onAction(item)\"\n (keydown)=\"onKeyDownButtonList($event, item)\"\n [attr.aria-current]=\"selectedItem\"\n >\n <div\n class=\"po-header-nav-submenu-button\"\n [attr.aria-selected]=\"item?.$selected\"\n [class.submenu-item-selected]=\"selectedItem\"\n >\n <span>{{ item?.label }}</span>\n </div>\n </li>\n}\n\n@if (overflowButton) {\n <po-popup\n #popup\n [p-size]=\"size()\"\n [p-actions]=\"itemOverFlow\"\n [p-target]=\"buttonMoreElement\"\n [p-hide-arrow]=\"true\"\n (p-click-item)=\"onAction($event, false)\"\n (p-close)=\"onClosePopup()\"\n >\n </po-popup>\n}\n" }]
|
|
59879
60115
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.Router }, { type: PoLanguageService }], propDecorators: { buttonMoreElement: [{
|
|
59880
60116
|
type: ViewChild,
|
|
59881
60117
|
args: ['buttonMoreElement', { read: ElementRef }]
|
|
@@ -59891,7 +60127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
59891
60127
|
}], overflowButton: [{
|
|
59892
60128
|
type: Input,
|
|
59893
60129
|
args: ['p-button-overflow']
|
|
59894
|
-
}], itemClick: [{
|
|
60130
|
+
}], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-size", required: false }] }], itemClick: [{
|
|
59895
60131
|
type: Output,
|
|
59896
60132
|
args: ['p-item-click']
|
|
59897
60133
|
}] } });
|
|
@@ -59915,6 +60151,7 @@ class PoHeaderToolsComponent {
|
|
|
59915
60151
|
this.cd.detectChanges();
|
|
59916
60152
|
}
|
|
59917
60153
|
literals;
|
|
60154
|
+
size = input(undefined, { ...(ngDevMode ? { debugName: "size" } : {}), alias: 'p-size' });
|
|
59918
60155
|
get actionTools() {
|
|
59919
60156
|
return this._actionTools;
|
|
59920
60157
|
}
|
|
@@ -59973,11 +60210,11 @@ class PoHeaderToolsComponent {
|
|
|
59973
60210
|
}
|
|
59974
60211
|
}
|
|
59975
60212
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderToolsComponent, deps: [{ token: i1$1.Router }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
59976
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderToolsComponent, isStandalone: false, selector: "po-header-tools", inputs: { forceActionTools:
|
|
60213
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderToolsComponent, isStandalone: false, selector: "po-header-tools", inputs: { forceActionTools: { classPropertyName: "forceActionTools", publicName: "p-force-actions-tools", isSignal: false, isRequired: false, transformFunction: null }, actionTools: { classPropertyName: "actionTools", publicName: "p-actions-tools", isSignal: false, isRequired: false, transformFunction: null }, literals: { classPropertyName: "literals", publicName: "p-literals", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "p-size", isSignal: true, isRequired: false, transformFunction: null }, headerTemplate: { classPropertyName: "headerTemplate", publicName: "p-header-template", isSignal: false, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "buttonActionElements", predicate: ["buttonActionElement"], descendants: true, read: ElementRef }, { propertyName: "buttonActionComponents", predicate: ["buttonActionElement"], descendants: true }, { propertyName: "poPopupActions", predicate: ["poPopupAction"], descendants: true }, { propertyName: "poPopoverActions", predicate: ["poPopoverAction"], descendants: true }], ngImport: i0, template: "<div class=\"po-header-nav-tools\">\n @if (headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n }\n @for (action of actionTools; track action?.label; let i = $index) {\n <li [class.po-header-nav-item-small]=\"i !== actionTools.length - 1\">\n <po-button\n #buttonActionElement\n [p-tooltip]=\"action?.tooltip\"\n [p-icon]=\"action?.badge ? badge : action?.icon || 'an an-dots-nine'\"\n p-kind=\"tertiary\"\n (p-click)=\"onClickAction(i)\"\n [class.po-header-selected-tool]=\"checkSelected(i)\"\n [p-aria-expanded]=\"checkSelected(i)\"\n [p-aria-label]=\"getAriaLabel(action)\"\n [p-size]=\"size()\"\n >\n </po-button>\n\n <ng-template #badge>\n <i class=\"po-header-badge\" [class]=\"action?.icon || 'an an-bell'\">\n <po-badge class=\"po-header-status\" [p-value]=\"action?.badge\"></po-badge>\n </i>\n </ng-template>\n\n <po-popup\n #poPopupAction\n [p-actions]=\"action?.items\"\n [p-target]=\"buttonActionElements?.get(i)\"\n [p-hide-arrow]=\"true\"\n (p-close)=\"onClosePopup(i)\"\n [p-size]=\"size()\"\n >\n </po-popup>\n\n @if (action?.popover) {\n <po-popover\n #poPopoverAction\n p-position=\"bottom-right\"\n [p-width]=\"action.popover.width\"\n [p-target]=\"buttonActionElements?.get(i)\"\n [p-hide-arrow]=\"true\"\n [p-corner-aligned]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"action.popover?.content\"></ng-container>\n </po-popover>\n }\n </li>\n }\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoButtonComponent, selector: "po-button" }, { kind: "component", type: PoBadgeComponent, selector: "po-badge" }, { kind: "component", type: PoPopoverComponent, selector: "po-popover" }, { kind: "directive", type: PoTooltipDirective, selector: "[p-tooltip]" }, { kind: "component", type: PoPopupComponent, selector: "po-popup" }] });
|
|
59977
60214
|
}
|
|
59978
60215
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderToolsComponent, decorators: [{
|
|
59979
60216
|
type: Component,
|
|
59980
|
-
args: [{ selector: 'po-header-tools', standalone: false, template: "<div class=\"po-header-nav-tools\">\n @if (headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n }\n @for (action of actionTools; track action?.label; let i = $index) {\n <li [class.po-header-nav-item-small]=\"i !== actionTools.length - 1\">\n <po-button\n #buttonActionElement\n [p-tooltip]=\"action?.tooltip\"\n [p-icon]=\"action?.badge ? badge : action?.icon || 'an an-dots-nine'\"\n p-kind=\"tertiary\"\n (p-click)=\"onClickAction(i)\"\n [class.po-header-selected-tool]=\"checkSelected(i)\"\n [p-aria-expanded]=\"checkSelected(i)\"\n [p-aria-label]=\"getAriaLabel(action)\"\n p-size=\"
|
|
60217
|
+
args: [{ selector: 'po-header-tools', standalone: false, template: "<div class=\"po-header-nav-tools\">\n @if (headerTemplate) {\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n }\n @for (action of actionTools; track action?.label; let i = $index) {\n <li [class.po-header-nav-item-small]=\"i !== actionTools.length - 1\">\n <po-button\n #buttonActionElement\n [p-tooltip]=\"action?.tooltip\"\n [p-icon]=\"action?.badge ? badge : action?.icon || 'an an-dots-nine'\"\n p-kind=\"tertiary\"\n (p-click)=\"onClickAction(i)\"\n [class.po-header-selected-tool]=\"checkSelected(i)\"\n [p-aria-expanded]=\"checkSelected(i)\"\n [p-aria-label]=\"getAriaLabel(action)\"\n [p-size]=\"size()\"\n >\n </po-button>\n\n <ng-template #badge>\n <i class=\"po-header-badge\" [class]=\"action?.icon || 'an an-bell'\">\n <po-badge class=\"po-header-status\" [p-value]=\"action?.badge\"></po-badge>\n </i>\n </ng-template>\n\n <po-popup\n #poPopupAction\n [p-actions]=\"action?.items\"\n [p-target]=\"buttonActionElements?.get(i)\"\n [p-hide-arrow]=\"true\"\n (p-close)=\"onClosePopup(i)\"\n [p-size]=\"size()\"\n >\n </po-popup>\n\n @if (action?.popover) {\n <po-popover\n #poPopoverAction\n p-position=\"bottom-right\"\n [p-width]=\"action.popover.width\"\n [p-target]=\"buttonActionElements?.get(i)\"\n [p-hide-arrow]=\"true\"\n [p-corner-aligned]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"action.popover?.content\"></ng-container>\n </po-popover>\n }\n </li>\n }\n</div>\n" }]
|
|
59981
60218
|
}], ctorParameters: () => [{ type: i1$1.Router }, { type: i0.ChangeDetectorRef }], propDecorators: { buttonActionElements: [{
|
|
59982
60219
|
type: ViewChildren,
|
|
59983
60220
|
args: ['buttonActionElement', { read: ElementRef }]
|
|
@@ -59999,7 +60236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
59999
60236
|
}], literals: [{
|
|
60000
60237
|
type: Input,
|
|
60001
60238
|
args: ['p-literals']
|
|
60002
|
-
}], headerTemplate: [{
|
|
60239
|
+
}], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-size", required: false }] }], headerTemplate: [{
|
|
60003
60240
|
type: Input,
|
|
60004
60241
|
args: ['p-header-template']
|
|
60005
60242
|
}] } });
|
|
@@ -60023,6 +60260,7 @@ class PoHeaderCustomerComponent {
|
|
|
60023
60260
|
poPopupAction;
|
|
60024
60261
|
poPopoverAction;
|
|
60025
60262
|
headerUser;
|
|
60263
|
+
size = input(undefined, { ...(ngDevMode ? { debugName: "size" } : {}), alias: 'p-size' });
|
|
60026
60264
|
constructor(languageService) {
|
|
60027
60265
|
const language = languageService.getShortLanguage();
|
|
60028
60266
|
this.literals = {
|
|
@@ -60056,11 +60294,11 @@ class PoHeaderCustomerComponent {
|
|
|
60056
60294
|
}
|
|
60057
60295
|
}
|
|
60058
60296
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderCustomerComponent, deps: [{ token: PoLanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
60059
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderCustomerComponent, isStandalone: false, selector: "po-header-customer", inputs: { headerUser:
|
|
60297
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderCustomerComponent, isStandalone: false, selector: "po-header-customer", inputs: { headerUser: { classPropertyName: "headerUser", publicName: "p-header-user", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "p-size", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "poPopupAction", first: true, predicate: ["poPopupAction"], descendants: true }, { propertyName: "poPopoverAction", first: true, predicate: ["poPopoverAction"], descendants: true }], ngImport: i0, template: "<div class=\"po-header-nav-tools\" (click)=\"onClickUserSection()\" (keydown)=\"onKeyDownCustomer($event)\">\n <li\n #targetRef\n tabindex=\"0\"\n class=\"po-header-nav-customer-container\"\n (click)=\"onClickPopup()\"\n role=\"menu\"\n [attr.aria-label]=\"literals.labelUser\"\n >\n <div class=\"po-header-nav-customer-brand\">\n <img [src]=\"headerUser?.customerBrand\" alt=\"User\" />\n </div>\n\n <div class=\"po-header-nav-customer-divider\"></div>\n\n <div class=\"po-header-nav-customer-avatar-wrapper\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </div>\n </li>\n\n <li class=\"po-header-nav-customer-avatar-wrapper po-header-icon-small\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </li>\n</div>\n\n@if (headerUser?.items?.length) {\n <po-popup\n #poPopupAction\n [p-actions]=\"headerUser.items\"\n [p-target]=\"targetRef\"\n [p-hide-arrow]=\"true\"\n p-position=\"bottom-left\"\n [p-size]=\"size()\"\n >\n </po-popup>\n}\n\n@if (headerUser?.popover) {\n <po-popover\n #poPopoverAction\n p-position=\"bottom-right\"\n [p-width]=\"headerUser.popover.width\"\n [p-target]=\"targetRef\"\n [p-hide-arrow]=\"true\"\n [p-corner-aligned]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"headerUser.popover.content\"></ng-container>\n </po-popover>\n}\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoBadgeComponent, selector: "po-badge" }, { kind: "component", type: PoPopoverComponent, selector: "po-popover" }, { kind: "component", type: PoPopupComponent, selector: "po-popup" }] });
|
|
60060
60298
|
}
|
|
60061
60299
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderCustomerComponent, decorators: [{
|
|
60062
60300
|
type: Component,
|
|
60063
|
-
args: [{ selector: 'po-header-customer', standalone: false, template: "<div class=\"po-header-nav-tools\" (click)=\"onClickUserSection()\" (keydown)=\"onKeyDownCustomer($event)\">\n <li\n #targetRef\n tabindex=\"0\"\n class=\"po-header-nav-customer-container\"\n (click)=\"onClickPopup()\"\n role=\"menu\"\n [attr.aria-label]=\"literals.labelUser\"\n >\n <div class=\"po-header-nav-customer-brand\">\n <img [src]=\"headerUser?.customerBrand\" alt=\"User\" />\n </div>\n\n <div class=\"po-header-nav-customer-divider\"></div>\n\n <div class=\"po-header-nav-customer-avatar-wrapper\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </div>\n </li>\n\n <li class=\"po-header-nav-customer-avatar-wrapper po-header-icon-small\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </li>\n</div>\n\n@if (headerUser?.items?.length) {\n <po-popup\n #poPopupAction\n [p-actions]=\"headerUser.items\"\n [p-target]=\"targetRef\"\n [p-hide-arrow]=\"true\"\n p-position=\"bottom-left\"\n p-size=\"
|
|
60301
|
+
args: [{ selector: 'po-header-customer', standalone: false, template: "<div class=\"po-header-nav-tools\" (click)=\"onClickUserSection()\" (keydown)=\"onKeyDownCustomer($event)\">\n <li\n #targetRef\n tabindex=\"0\"\n class=\"po-header-nav-customer-container\"\n (click)=\"onClickPopup()\"\n role=\"menu\"\n [attr.aria-label]=\"literals.labelUser\"\n >\n <div class=\"po-header-nav-customer-brand\">\n <img [src]=\"headerUser?.customerBrand\" alt=\"User\" />\n </div>\n\n <div class=\"po-header-nav-customer-divider\"></div>\n\n <div class=\"po-header-nav-customer-avatar-wrapper\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </div>\n </li>\n\n <li class=\"po-header-nav-customer-avatar-wrapper po-header-icon-small\">\n <div class=\"po-header-nav-customer-avatar\">\n <img [src]=\"headerUser?.avatar\" alt=\"Avatar\" />\n </div>\n @if (headerUser?.status) {\n <po-badge class=\"po-header-nav-avatar-status\" p-size=\"small\" [p-status]=\"headerUser.status\"></po-badge>\n }\n </li>\n</div>\n\n@if (headerUser?.items?.length) {\n <po-popup\n #poPopupAction\n [p-actions]=\"headerUser.items\"\n [p-target]=\"targetRef\"\n [p-hide-arrow]=\"true\"\n p-position=\"bottom-left\"\n [p-size]=\"size()\"\n >\n </po-popup>\n}\n\n@if (headerUser?.popover) {\n <po-popover\n #poPopoverAction\n p-position=\"bottom-right\"\n [p-width]=\"headerUser.popover.width\"\n [p-target]=\"targetRef\"\n [p-hide-arrow]=\"true\"\n [p-corner-aligned]=\"true\"\n >\n <ng-container *ngTemplateOutlet=\"headerUser.popover.content\"></ng-container>\n </po-popover>\n}\n" }]
|
|
60064
60302
|
}], ctorParameters: () => [{ type: PoLanguageService }], propDecorators: { poPopupAction: [{
|
|
60065
60303
|
type: ViewChild,
|
|
60066
60304
|
args: ['poPopupAction']
|
|
@@ -60070,7 +60308,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImpor
|
|
|
60070
60308
|
}], headerUser: [{
|
|
60071
60309
|
type: Input,
|
|
60072
60310
|
args: ['p-header-user']
|
|
60073
|
-
}] } });
|
|
60311
|
+
}], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "p-size", required: false }] }] } });
|
|
60074
60312
|
|
|
60075
60313
|
/**
|
|
60076
60314
|
* @docsExtends PoHeaderBaseComponent
|
|
@@ -60371,11 +60609,11 @@ class PoHeaderComponent extends PoHeaderBaseComponent {
|
|
|
60371
60609
|
}
|
|
60372
60610
|
}
|
|
60373
60611
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: PoMenuGlobalService }, { token: PoLanguageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
60374
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderComponent, isStandalone: false, selector: "po-header", queries: [{ propertyName: "menuHeaderTemplate", first: true, predicate: PoMenuHeaderTemplateDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "buttonFirstAction", first: true, predicate: ["buttonFirstAction"], descendants: true, read: ElementRef }, { propertyName: "navElement", first: true, predicate: ["navElement"], descendants: true, read: ElementRef }, { propertyName: "menuWrapperBrand", first: true, predicate: ["menuWrapperBrand"], descendants: true }, { propertyName: "menuWrapperTools", first: true, predicate: ["menuWrapperTools"], descendants: true }, { propertyName: "overflowButton", first: true, predicate: ["overflowButton"], descendants: true, static: true }, { propertyName: "overflowButtonComponentEl", first: true, predicate: ["overflowButton"], descendants: true }, { propertyName: "menuComponent", first: true, predicate: PoMenuComponent, descendants: true }, { propertyName: "menuSubItems", predicate: ["menusubmenuitem"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<nav #navElement class=\"po-header-nav\">\n <div #menuWrapperBrand>\n <po-header-brand\n [p-brand]=\"brand\"\n (p-click-menu)=\"onClickMenu()\"\n [p-menus]=\"menuCollapseJoin\"\n [p-external]=\"applicationMenu\"\n [p-hide-button-menu]=\"hideButtonMenu\"\n ></po-header-brand>\n </div>\n\n <ul #menuWrapperItens class=\"po-header-nav-submenus-wrapper\">\n @for (item of visibleMenuItems; track item.id) {\n <po-header-menu-item
|
|
60612
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: PoHeaderComponent, isStandalone: false, selector: "po-header", queries: [{ propertyName: "menuHeaderTemplate", first: true, predicate: PoMenuHeaderTemplateDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "buttonFirstAction", first: true, predicate: ["buttonFirstAction"], descendants: true, read: ElementRef }, { propertyName: "navElement", first: true, predicate: ["navElement"], descendants: true, read: ElementRef }, { propertyName: "menuWrapperBrand", first: true, predicate: ["menuWrapperBrand"], descendants: true }, { propertyName: "menuWrapperTools", first: true, predicate: ["menuWrapperTools"], descendants: true }, { propertyName: "overflowButton", first: true, predicate: ["overflowButton"], descendants: true, static: true }, { propertyName: "overflowButtonComponentEl", first: true, predicate: ["overflowButton"], descendants: true }, { propertyName: "menuComponent", first: true, predicate: PoMenuComponent, descendants: true }, { propertyName: "menuSubItems", predicate: ["menusubmenuitem"], descendants: true, read: ElementRef }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<nav #navElement class=\"po-header-nav\">\n <div #menuWrapperBrand>\n <po-header-brand\n [p-brand]=\"brand\"\n (p-click-menu)=\"onClickMenu()\"\n [p-menus]=\"menuCollapseJoin\"\n [p-external]=\"applicationMenu\"\n [p-hide-button-menu]=\"hideButtonMenu\"\n [p-size]=\"size()\"\n ></po-header-brand>\n </div>\n\n <ul #menuWrapperItens class=\"po-header-nav-submenus-wrapper\">\n @for (item of visibleMenuItems; track item.id) {\n <po-header-menu-item\n #menusubmenuitem\n [p-item]=\"item\"\n (p-item-click)=\"onSelected($event)\"\n [p-size]=\"size()\"\n ></po-header-menu-item>\n }\n </ul>\n\n @if (showOverflow && overflowItems.length) {\n <po-header-menu-item\n #overflowButton\n #menusubmenuitem\n [p-button-overflow]=\"true\"\n [p-item-overflow]=\"overflowItems\"\n (p-item-click)=\"onSelected($event)\"\n [p-size]=\"size()\"\n ></po-header-menu-item>\n }\n\n <ul #menuWrapperTools class=\"po-header-tools-wrapper\">\n <po-header-tools\n [p-force-actions-tools]=\"forceActionTools\"\n [p-actions-tools]=\"actionsTools\"\n [p-header-template]=\"headerTemplate\"\n [p-literals]=\"literals\"\n [p-size]=\"size()\"\n ></po-header-tools>\n\n @if (headerUser?.customerBrand && headerUser?.avatar) {\n <po-header-customer [p-header-user]=\"headerUser\" [p-size]=\"size()\"></po-header-customer>\n }\n </ul>\n</nav>\n\n@if (!sideMenuOnlyAction && !applicationMenu && menuCollapseJoin.length) {\n <div class=\"po-header-overlay\" [class.show]=\"showMenu\" (click)=\"onCloseMenu()\"></div>\n\n <aside class=\"po-header-side-menu\" [class.open]=\"showMenu\">\n <div class=\"po-header-sidemenu-outer\">\n <po-menu\n [p-only-menu-item]=\"true\"\n [p-menus]=\"menuCollapseJoin\"\n [p-filter]=\"filterMenu\"\n p-menu-id=\"po-header-nav-bar\"\n >\n <div *p-menu-header-template>\n <ng-template *ngTemplateOutlet=\"menuHeaderTemplate?.templateRef\"></ng-template>\n </div>\n </po-menu>\n </div>\n </aside>\n}\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PoMenuComponent, selector: "po-menu" }, { kind: "directive", type: PoMenuHeaderTemplateDirective, selector: "[p-menu-header-template]" }, { kind: "component", type: PoHeaderbrandComponent, selector: "po-header-brand", inputs: ["p-brand", "p-hide-button-menu", "p-menus", "p-external", "p-size"], outputs: ["p-click-menu"] }, { kind: "component", type: PoHeaderMenuItemComponent, selector: "po-header-menu-item", inputs: ["p-item", "p-item-overflow", "p-button-overflow", "p-size"], outputs: ["p-item-click"] }, { kind: "component", type: PoHeaderToolsComponent, selector: "po-header-tools", inputs: ["p-force-actions-tools", "p-actions-tools", "p-literals", "p-size", "p-header-template"] }, { kind: "component", type: PoHeaderCustomerComponent, selector: "po-header-customer", inputs: ["p-header-user", "p-size"] }] });
|
|
60375
60613
|
}
|
|
60376
60614
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PoHeaderComponent, decorators: [{
|
|
60377
60615
|
type: Component,
|
|
60378
|
-
args: [{ selector: 'po-header', standalone: false, template: "<nav #navElement class=\"po-header-nav\">\n <div #menuWrapperBrand>\n <po-header-brand\n [p-brand]=\"brand\"\n (p-click-menu)=\"onClickMenu()\"\n [p-menus]=\"menuCollapseJoin\"\n [p-external]=\"applicationMenu\"\n [p-hide-button-menu]=\"hideButtonMenu\"\n ></po-header-brand>\n </div>\n\n <ul #menuWrapperItens class=\"po-header-nav-submenus-wrapper\">\n @for (item of visibleMenuItems; track item.id) {\n <po-header-menu-item
|
|
60616
|
+
args: [{ selector: 'po-header', standalone: false, template: "<nav #navElement class=\"po-header-nav\">\n <div #menuWrapperBrand>\n <po-header-brand\n [p-brand]=\"brand\"\n (p-click-menu)=\"onClickMenu()\"\n [p-menus]=\"menuCollapseJoin\"\n [p-external]=\"applicationMenu\"\n [p-hide-button-menu]=\"hideButtonMenu\"\n [p-size]=\"size()\"\n ></po-header-brand>\n </div>\n\n <ul #menuWrapperItens class=\"po-header-nav-submenus-wrapper\">\n @for (item of visibleMenuItems; track item.id) {\n <po-header-menu-item\n #menusubmenuitem\n [p-item]=\"item\"\n (p-item-click)=\"onSelected($event)\"\n [p-size]=\"size()\"\n ></po-header-menu-item>\n }\n </ul>\n\n @if (showOverflow && overflowItems.length) {\n <po-header-menu-item\n #overflowButton\n #menusubmenuitem\n [p-button-overflow]=\"true\"\n [p-item-overflow]=\"overflowItems\"\n (p-item-click)=\"onSelected($event)\"\n [p-size]=\"size()\"\n ></po-header-menu-item>\n }\n\n <ul #menuWrapperTools class=\"po-header-tools-wrapper\">\n <po-header-tools\n [p-force-actions-tools]=\"forceActionTools\"\n [p-actions-tools]=\"actionsTools\"\n [p-header-template]=\"headerTemplate\"\n [p-literals]=\"literals\"\n [p-size]=\"size()\"\n ></po-header-tools>\n\n @if (headerUser?.customerBrand && headerUser?.avatar) {\n <po-header-customer [p-header-user]=\"headerUser\" [p-size]=\"size()\"></po-header-customer>\n }\n </ul>\n</nav>\n\n@if (!sideMenuOnlyAction && !applicationMenu && menuCollapseJoin.length) {\n <div class=\"po-header-overlay\" [class.show]=\"showMenu\" (click)=\"onCloseMenu()\"></div>\n\n <aside class=\"po-header-side-menu\" [class.open]=\"showMenu\">\n <div class=\"po-header-sidemenu-outer\">\n <po-menu\n [p-only-menu-item]=\"true\"\n [p-menus]=\"menuCollapseJoin\"\n [p-filter]=\"filterMenu\"\n p-menu-id=\"po-header-nav-bar\"\n >\n <div *p-menu-header-template>\n <ng-template *ngTemplateOutlet=\"menuHeaderTemplate?.templateRef\"></ng-template>\n </div>\n </po-menu>\n </div>\n </aside>\n}\n" }]
|
|
60379
60617
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: PoMenuGlobalService }, { type: PoLanguageService }], propDecorators: { buttonFirstAction: [{
|
|
60380
60618
|
type: ViewChild,
|
|
60381
60619
|
args: ['buttonFirstAction', { read: ElementRef }]
|
|
@@ -60475,6 +60713,7 @@ const PO_MODULES = [
|
|
|
60475
60713
|
PoCalendarModule,
|
|
60476
60714
|
PoChartModule,
|
|
60477
60715
|
PoContainerModule,
|
|
60716
|
+
PoContextMenuModule,
|
|
60478
60717
|
PoDisclaimerGroupModule,
|
|
60479
60718
|
PoDisclaimerModule,
|
|
60480
60719
|
PoDividerModule,
|
|
@@ -60529,6 +60768,7 @@ class PoComponentsModule {
|
|
|
60529
60768
|
PoCalendarModule,
|
|
60530
60769
|
PoChartModule,
|
|
60531
60770
|
PoContainerModule,
|
|
60771
|
+
PoContextMenuModule,
|
|
60532
60772
|
PoDisclaimerGroupModule,
|
|
60533
60773
|
PoDisclaimerModule,
|
|
60534
60774
|
PoDividerModule,
|
|
@@ -60579,6 +60819,7 @@ class PoComponentsModule {
|
|
|
60579
60819
|
PoCalendarModule,
|
|
60580
60820
|
PoChartModule,
|
|
60581
60821
|
PoContainerModule,
|
|
60822
|
+
PoContextMenuModule,
|
|
60582
60823
|
PoDisclaimerGroupModule,
|
|
60583
60824
|
PoDisclaimerModule,
|
|
60584
60825
|
PoDividerModule,
|
|
@@ -60630,6 +60871,7 @@ class PoComponentsModule {
|
|
|
60630
60871
|
PoCalendarModule,
|
|
60631
60872
|
PoChartModule,
|
|
60632
60873
|
PoContainerModule,
|
|
60874
|
+
PoContextMenuModule,
|
|
60633
60875
|
PoDisclaimerGroupModule,
|
|
60634
60876
|
PoDisclaimerModule,
|
|
60635
60877
|
PoDividerModule,
|
|
@@ -61687,5 +61929,5 @@ function validateProperty(property, target) {
|
|
|
61687
61929
|
* Generated bundle index. Do not edit.
|
|
61688
61930
|
*/
|
|
61689
61931
|
|
|
61690
|
-
export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonKind, PoButtonModule, PoButtonSize, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartLabelFormat, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboModule, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoContextTabButtonComponent, PoContextTabsComponent, PoContextTabsModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHeaderComponent, PoHeaderModule, PoHelperComponent, PoHelperModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSkeletonAnimation, PoSkeletonComponent, PoSkeletonModule, PoSkeletonSize, PoSkeletonType, PoSkeletonVariant, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabButtonComponent, PoTabComponent, PoTabDropdownComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeA11yEnum, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, mergePoI18nConfigs, poBreadcrumbLiterals, poChartLiteralsDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poTabsLiterals, poThemeDefault, poThemeDefaultAA, poThemeDefaultAAA, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultBrandsDark, poThemeDefaultCategoricals, poThemeDefaultCategoricalsAA, poThemeDefaultCategoricalsDark, poThemeDefaultCategoricalsDarkAA, poThemeDefaultCategoricalsOverlayDark, poThemeDefaultCategoricalsOverlayDarkAA, poThemeDefaultDark, poThemeDefaultDarkValues, poThemeDefaultDarkValuesAA, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultLightValuesAA, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poThemeDefaultOverlayCategoricals, poThemeDefaultOverlayCategoricalsAA, poToasterLiterals, returnPoI18nService };
|
|
61932
|
+
export { AnimaliaIconDictionary, ForceBooleanComponentEnum, ForceOptionComponentEnum, I18N_CONFIG, InputBoolean, InputRequired, LOADING_ICON_COMPONENT, PO_CONTROL_POSITIONS, PoAccordionComponent, PoAccordionItemComponent, PoAccordionModule, PoActiveOverlayModule, PoActiveOverlayService, PoAvatarComponent, PoAvatarModule, PoBadgeComponent, PoBadgeModule, PoBreadcrumbComponent, PoBreadcrumbModule, PoButtonComponent, PoButtonGroupComponent, PoButtonGroupModule, PoButtonGroupToggle, PoButtonKind, PoButtonModule, PoButtonSize, PoButtonType, PoCalendarComponent, PoCalendarMode, PoCalendarModule, PoChartComponent, PoChartLabelFormat, PoChartModule, PoChartType, PoCheckboxComponent, PoCheckboxGroupComponent, PoCheckboxGroupModule, PoCheckboxModule, PoCheckboxSize, PoCleanComponent, PoCleanModule, PoColorPaletteModule, PoColorPaletteService, PoComboComponent, PoComboFilterMode, PoComboModule, PoComboOptionTemplateDirective, PoComponentInjectorModule, PoComponentInjectorService, PoComponentsModule, PoContainerComponent, PoContainerModule, PoContextMenuComponent, PoContextMenuModule, PoContextTabButtonComponent, PoContextTabsComponent, PoContextTabsModule, PoControlPositionModule, PoDateService, PoDateTimeModule, PoDatepickerComponent, PoDatepickerIsoFormat, PoDatepickerModule, PoDatepickerRangeComponent, PoDecimalComponent, PoDialogComponent, PoDialogModule, PoDialogService, PoDialogType, PoDirectivesModule, PoDisclaimerComponent, PoDisclaimerGroupComponent, PoDisclaimerGroupModule, PoDisclaimerModule, PoDividerComponent, PoDividerModule, PoDividerSize, PoDropdownComponent, PoDropdownModule, PoDynamicContainerComponent, PoDynamicFieldType, PoDynamicFormComponent, PoDynamicModule, PoDynamicSharedBase, PoDynamicViewComponent, PoEmailComponent, PoFieldContainerBottomComponent, PoFieldContainerComponent, PoFieldContainerModule, PoFieldModule, PoGaugeComponent, PoGaugeModule, PoGridComponent, PoGridModule, PoGuardsModule, PoHeaderComponent, PoHeaderModule, PoHelperComponent, PoHelperModule, PoHttpInterceptorModule, PoHttpInterceptorService, PoHttpRequestInterceptorService, PoHttpRequestModule, PoI18nModule, PoI18nPipe, PoI18nService, PoIconComponent, PoIconModule, PoImageComponent, PoImageModule, PoInfoComponent, PoInfoModule, PoInfoOrientation, PoInputComponent, PoInterceptorsModule, PoItemListComponent, PoLabelComponent, PoLabelModule, PoLanguageModule, PoLanguageService, PoLinkComponent, PoLinkModule, PoListBoxComponent, PoListBoxModule, PoListViewComponent, PoListViewContentTemplateDirective, PoListViewDetailTemplateDirective, PoListViewModule, PoLoadingComponent, PoLoadingIconComponent, PoLoadingModule, PoLoadingOverlayComponent, PoLoginComponent, PoLogoComponent, PoLogoModule, PoLookupComponent, PoLookupModalComponent, PoMask, PoMediaQueryModule, PoMediaQueryService, PoMenuComponent, PoMenuGlobalService, PoMenuHeaderTemplateDirective, PoMenuModule, PoMenuPanelComponent, PoMenuPanelModule, PoModalComponent, PoModalFooterComponent, PoModalModule, PoModule, PoMultiselectComponent, PoMultiselectFilterMode, PoMultiselectOptionTemplateDirective, PoNavbarComponent, PoNavbarModule, PoNotificationModule, PoNotificationService, PoNumberComponent, PoOverlayComponent, PoOverlayModule, PoPageDefaultComponent, PoPageDetailComponent, PoPageEditComponent, PoPageListComponent, PoPageModule, PoPageSlideComponent, PoPageSlideFooterComponent, PoPageSlideModule, PoPasswordComponent, PoPipesModule, PoPopoverComponent, PoPopoverModule, PoPopupComponent, PoPopupModule, PoProgressComponent, PoProgressModule, PoProgressSize, PoProgressStatus, PoRadioComponent, PoRadioGroupComponent, PoRadioGroupModule, PoRadioModule, PoRichTextComponent, PoRichTextToolbarActions, PoSearchComponent, PoSearchFilterMode, PoSearchListComponent, PoSearchModule, PoSelectComponent, PoServicesModule, PoSkeletonAnimation, PoSkeletonComponent, PoSkeletonModule, PoSkeletonSize, PoSkeletonType, PoSkeletonVariant, PoSlideComponent, PoSlideContentTemplateDirective, PoSlideModule, PoStepComponent, PoStepperComponent, PoStepperModule, PoStepperOrientation, PoStepperStatus, PoSwitchComponent, PoSwitchLabelPosition, PoSwitchModule, PoTabButtonComponent, PoTabComponent, PoTabDropdownComponent, PoTableCellTemplateDirective, PoTableColumnFrozenDirective, PoTableColumnSortType, PoTableColumnSpacing, PoTableColumnTemplateDirective, PoTableComponent, PoTableModule, PoTableRowTemplateArrowDirection, PoTableRowTemplateDirective, PoTabsComponent, PoTabsModule, PoTabsService, PoTagComponent, PoTagModule, PoTagOrientation, PoTagType, PoTextareaComponent, PoThemeA11yEnum, PoThemeModule, PoThemeService, PoThemeTypeEnum, PoTimeModule, PoTimePipe, PoToasterComponent, PoToasterMode, PoToasterModule, PoToasterOrientation, PoToasterType, PoToolbarComponent, PoToolbarModule, PoTooltipDirective, PoTooltipModule, PoTreeViewComponent, PoTreeViewModule, PoUploadComponent, PoUploadFile, PoUploadStatus, PoUrlComponent, PoWidgetComponent, PoWidgetModule, initializeLanguageDefault, mergePoI18nConfigs, poBreadcrumbLiterals, poChartLiteralsDefault, poDialogAlertLiteralsDefault, poDialogConfirmLiteralsDefault, poLanguageDefault, poLocaleDateSeparatorList, poLocaleDecimalSeparatorList, poLocaleDefault, poLocaleThousandSeparatorList, poLocales, poPageSlideLiteralsDefault, poTabsLiterals, poThemeDefault, poThemeDefaultAA, poThemeDefaultAAA, poThemeDefaultActions, poThemeDefaultActionsDark, poThemeDefaultBrands, poThemeDefaultBrandsDark, poThemeDefaultCategoricals, poThemeDefaultCategoricalsAA, poThemeDefaultCategoricalsDark, poThemeDefaultCategoricalsDarkAA, poThemeDefaultCategoricalsOverlayDark, poThemeDefaultCategoricalsOverlayDarkAA, poThemeDefaultDark, poThemeDefaultDarkValues, poThemeDefaultDarkValuesAA, poThemeDefaultFeedback, poThemeDefaultFeedbackDark, poThemeDefaultLight, poThemeDefaultLightValues, poThemeDefaultLightValuesAA, poThemeDefaultNeutrals, poThemeDefaultNeutralsDark, poThemeDefaultOverlayCategoricals, poThemeDefaultOverlayCategoricalsAA, poToasterLiterals, returnPoI18nService };
|
|
61691
61933
|
//# sourceMappingURL=po-ui-ng-components.mjs.map
|