@po-ui/ng-components 6.3.0 → 6.4.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/esm2020/lib/components/po-button/po-button-base.component.mjs +5 -1
- package/esm2020/lib/components/po-popup/po-popup-action.interface.mjs +1 -1
- package/esm2020/lib/components/po-popup/po-popup.component.mjs +4 -3
- package/fesm2015/po-ui-ng-components.mjs +7 -2
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +7 -2
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-button/po-button-base.component.d.ts +4 -0
- package/lib/components/po-popup/po-popup-action.interface.d.ts +8 -1
- package/package.json +4 -4
- package/po-ui-ng-components-6.4.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.spec.js +1 -1
- package/schematics/ng-add/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-default/index.spec.js +1 -1
- package/schematics/ng-generate/po-page-default/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-detail/index.spec.js +1 -1
- package/schematics/ng-generate/po-page-detail/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-edit/index.spec.js +1 -1
- package/schematics/ng-generate/po-page-edit/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-list/index.spec.js +1 -1
- package/schematics/ng-generate/po-page-list/index.spec.js.map +1 -1
- package/schematics/ng-generate/sidemenu/index.spec.js +1 -1
- package/schematics/ng-generate/sidemenu/index.spec.js.map +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-6.3.0.tgz +0 -0
|
@@ -2342,10 +2342,14 @@ const PO_BUTTON_TYPE_DEFAULT = 'default';
|
|
|
2342
2342
|
class PoButtonBaseComponent {
|
|
2343
2343
|
constructor() {
|
|
2344
2344
|
/**
|
|
2345
|
+
* @deprecated 14.x.x
|
|
2346
|
+
*
|
|
2345
2347
|
* @optional
|
|
2346
2348
|
*
|
|
2347
2349
|
* @description
|
|
2348
2350
|
*
|
|
2351
|
+
* **Deprecated 14.x.x**.
|
|
2352
|
+
*
|
|
2349
2353
|
* Aplica foco no elemento ao ser iniciado.
|
|
2350
2354
|
* > Caso mais de um elemento seja configurado com essa propriedade,
|
|
2351
2355
|
* o último elemento declarado com ela terá o foco.
|
|
@@ -8920,8 +8924,9 @@ function PoPopupComponent_div_0_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
8920
8924
|
i0.ɵɵelementContainerEnd();
|
|
8921
8925
|
} if (rf & 2) {
|
|
8922
8926
|
const action_r4 = ctx.$implicit;
|
|
8927
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
8923
8928
|
i0.ɵɵadvance(1);
|
|
8924
|
-
i0.ɵɵproperty("ngIf", action_r4
|
|
8929
|
+
i0.ɵɵproperty("ngIf", ctx_r3.returnBooleanValue(action_r4, "visible") !== false);
|
|
8925
8930
|
} }
|
|
8926
8931
|
function PoPopupComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
8927
8932
|
i0.ɵɵelementStart(0, "div", 1, 2);
|
|
@@ -9100,7 +9105,7 @@ PoPopupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoPopupCom
|
|
|
9100
9105
|
} }, directives: [i1.NgIf, i1.NgForOf, PoIconComponent], encapsulation: 2 });
|
|
9101
9106
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoPopupComponent, [{
|
|
9102
9107
|
type: Component,
|
|
9103
|
-
args: [{ selector: 'po-popup', providers: [PoControlPositionService], template: "<div #popupRef class=\"po-popup\" *ngIf=\"showPopup\">\n <div *ngIf=\"!hideArrow\" class=\"po-popup-arrow po-arrow-{{ arrowDirection }}\"></div>\n\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <div class=\"po-popup-container\">\n <ng-container *ngFor=\"let action of actions; let actionIndex = index\">\n <div\n *ngIf=\"action
|
|
9108
|
+
args: [{ selector: 'po-popup', providers: [PoControlPositionService], template: "<div #popupRef class=\"po-popup\" *ngIf=\"showPopup\">\n <div *ngIf=\"!hideArrow\" class=\"po-popup-arrow po-arrow-{{ arrowDirection }}\"></div>\n\n <ng-content select=\"[p-popup-header-template]\"></ng-content>\n\n <div class=\"po-popup-container\">\n <ng-container *ngFor=\"let action of actions; let actionIndex = index\">\n <div\n *ngIf=\"returnBooleanValue(action, 'visible') !== false\"\n [class.po-popup-item-default]=\"action.type !== 'danger'\"\n [class.po-popup-item-danger]=\"action.type === 'danger'\"\n [class.po-popup-item-disabled]=\"returnBooleanValue(action, 'disabled')\"\n [class.po-popup-item-separator]=\"action.separator && actionIndex !== 0\"\n [class.po-popup-item-selected]=\"action.selected\"\n (click)=\"onActionClick(action)\"\n >\n <po-icon *ngIf=\"action.icon\" class=\"po-popup-icon-item po-icon\" [p-icon]=\"action.icon\"></po-icon>\n {{ action.label }}\n </div>\n </ng-container>\n </div>\n</div>\n" }]
|
|
9104
9109
|
}], function () { return [{ type: i0.ViewContainerRef }, { type: i0.Renderer2 }, { type: i2.Router }, { type: PoControlPositionService }, { type: i0.ChangeDetectorRef }]; }, { popupRef: [{
|
|
9105
9110
|
type: ViewChild,
|
|
9106
9111
|
args: ['popupRef', { read: ElementRef }]
|