@po-ui/ng-components 6.11.0 → 6.13.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 +27 -7
- package/esm2020/lib/components/po-button/po-button.component.mjs +4 -4
- package/esm2020/lib/components/po-field/index.mjs +3 -1
- package/esm2020/lib/components/po-field/po-checkbox/po-checkbox.module.mjs +20 -0
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker-base.component.mjs +8 -3
- package/esm2020/lib/components/po-field/po-field.module.mjs +22 -15
- package/esm2020/lib/components/po-field/po-radio/po-radio-base.component.mjs +104 -0
- package/esm2020/lib/components/po-field/po-radio/po-radio-size.enum.mjs +6 -0
- package/esm2020/lib/components/po-field/po-radio/po-radio.component.mjs +100 -0
- package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +77 -82
- package/esm2020/lib/components/po-list-view/po-list-view.module.mjs +6 -4
- package/esm2020/lib/components/po-menu/po-menu-base.component.mjs +46 -6
- package/esm2020/lib/components/po-menu/po-menu.component.mjs +5 -5
- package/esm2020/lib/components/po-table/po-table-base.component.mjs +6 -2
- package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +96 -25
- package/esm2020/lib/components/po-table/po-table-detail/po-table-detail.component.mjs +40 -40
- package/esm2020/lib/components/po-table/po-table.component.mjs +620 -596
- package/esm2020/lib/components/po-table/po-table.module.mjs +12 -4
- package/esm2020/lib/services/po-notification/po-notification-base.service.mjs +6 -4
- package/esm2020/lib/services/po-notification/po-notification.interface.mjs +1 -1
- package/esm2020/lib/services/po-notification/po-notification.module.mjs +6 -4
- package/esm2020/lib/services/po-notification/po-notification.service.mjs +3 -2
- package/esm2020/lib/services/po-notification/po-toaster/po-toaster.component.mjs +49 -32
- package/esm2020/lib/services/po-notification/po-toaster/po-toaster.literals.mjs +15 -0
- package/esm2020/lib/utils/util.mjs +9 -1
- package/fesm2015/po-ui-ng-components.mjs +1697 -1271
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +1672 -1255
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-button/po-button-base.component.d.ts +16 -6
- package/lib/components/po-field/index.d.ts +2 -0
- package/lib/components/po-field/po-checkbox/po-checkbox.module.d.ts +9 -0
- package/lib/components/po-field/po-field.module.d.ts +35 -34
- package/lib/components/po-field/po-radio/po-radio-base.component.d.ts +58 -0
- package/lib/components/po-field/po-radio/po-radio-size.enum.d.ts +4 -0
- package/lib/components/po-field/po-radio/po-radio.component.d.ts +38 -0
- package/lib/components/po-list-view/po-list-view.module.d.ts +6 -4
- package/lib/components/po-menu/po-menu-base.component.d.ts +19 -1
- package/lib/components/po-table/po-table-base.component.d.ts +2 -0
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +16 -1
- package/lib/components/po-table/po-table.component.d.ts +6 -0
- package/lib/components/po-table/po-table.module.d.ts +14 -12
- package/lib/services/po-notification/po-notification-base.service.d.ts +4 -2
- package/lib/services/po-notification/po-notification.interface.d.ts +5 -1
- package/lib/services/po-notification/po-notification.module.d.ts +3 -1
- package/lib/services/po-notification/po-toaster/po-toaster.component.d.ts +5 -1
- package/lib/services/po-notification/po-toaster/po-toaster.literals.d.ts +14 -0
- package/lib/utils/util.d.ts +1 -0
- package/package.json +6 -4
- package/po-ui-ng-components-6.13.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.spec.js +5 -5
- package/schematics/ng-generate/po-page-default/index.spec.js +12 -12
- package/schematics/ng-generate/po-page-detail/index.spec.js +12 -12
- package/schematics/ng-generate/po-page-edit/index.spec.js +12 -12
- package/schematics/ng-generate/po-page-list/index.spec.js +12 -12
- package/schematics/ng-generate/sidemenu/index.spec.js +4 -4
- 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.11.0.tgz +0 -0
|
@@ -5,14 +5,13 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*
|
|
6
6
|
* O `po-button` permite que o usuário execute ações predefinidas pelo desenvolvedor.
|
|
7
7
|
*
|
|
8
|
-
* Através dos tipos, é possível identificar a importância de cada ação
|
|
9
|
-
* ação irreversível (`danger`), como a exclusão de um registro.
|
|
8
|
+
* Através dos tipos, é possível identificar a importância de cada ação.
|
|
10
9
|
*
|
|
11
10
|
* #### Boas práticas
|
|
12
11
|
*
|
|
13
12
|
* - Evite `labels` extensos que quebram o layout do `po-button`, use `labels` diretos, curtos e intuitivos.
|
|
14
13
|
* - Utilize apenas um `po-button` configurado como `primary` por página.
|
|
15
|
-
* - Para ações irreversíveis use sempre
|
|
14
|
+
* - Para ações irreversíveis use sempre a propriedade `p-danger`.
|
|
16
15
|
*/
|
|
17
16
|
export declare class PoButtonBaseComponent {
|
|
18
17
|
/**
|
|
@@ -66,6 +65,7 @@ export declare class PoButtonBaseComponent {
|
|
|
66
65
|
icon?: string | TemplateRef<void>;
|
|
67
66
|
/** Ação que será executada quando o usuário clicar sobre o `po-button`. */
|
|
68
67
|
click: EventEmitter<null>;
|
|
68
|
+
private _danger?;
|
|
69
69
|
private _disabled?;
|
|
70
70
|
private _loading?;
|
|
71
71
|
private _small?;
|
|
@@ -100,6 +100,7 @@ export declare class PoButtonBaseComponent {
|
|
|
100
100
|
* @optional
|
|
101
101
|
*
|
|
102
102
|
* @description
|
|
103
|
+
*
|
|
103
104
|
* **Deprecated 15.x.x**. Utilizar `p-kind` no lugar.
|
|
104
105
|
*
|
|
105
106
|
* Define o estilo do `po-button`.
|
|
@@ -107,7 +108,7 @@ export declare class PoButtonBaseComponent {
|
|
|
107
108
|
* Valore válidos:
|
|
108
109
|
* - `default`: **Deprecated 15.x.x**. Utilizar `p-kind="secondary"`.
|
|
109
110
|
* - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
|
|
110
|
-
* - `danger`:
|
|
111
|
+
* - `danger`: **Deprecated 15.x.x**. Utilizar `p-danger`.
|
|
111
112
|
* - `link`: **Deprecated 15.x.x**. Utilizar `p-kind="tertiary"`.
|
|
112
113
|
*
|
|
113
114
|
* @default `secondary`
|
|
@@ -115,7 +116,17 @@ export declare class PoButtonBaseComponent {
|
|
|
115
116
|
set type(value: string);
|
|
116
117
|
get type(): string;
|
|
117
118
|
/**
|
|
119
|
+
* @optional
|
|
120
|
+
*
|
|
121
|
+
* @description
|
|
118
122
|
*
|
|
123
|
+
* Deve ser usado em ações irreversíveis que o usuário precisa ter cuidado ao executá-la, como a exclusão de um registro.
|
|
124
|
+
*
|
|
125
|
+
* > A propriedade `p-kind="tertiary"` será inativada ao utilizar esta propriedade.
|
|
126
|
+
*/
|
|
127
|
+
set danger(value: boolean);
|
|
128
|
+
get danger(): boolean;
|
|
129
|
+
/**
|
|
119
130
|
* @optional
|
|
120
131
|
*
|
|
121
132
|
* @description
|
|
@@ -125,7 +136,6 @@ export declare class PoButtonBaseComponent {
|
|
|
125
136
|
* Valore válidos:
|
|
126
137
|
* - `primary`: deixa o `po-button` com destaque, deve ser usado para ações primárias.
|
|
127
138
|
* - `secondary`: estilo padrão do `po-button`.
|
|
128
|
-
* - `danger`: deve ser usado para ações que o usuário precisa ter cuidado ao executa-lá.
|
|
129
139
|
* - `tertiary`: o `po-button` é exibido sem cor do fundo, recebendo menos destaque entre as ações.
|
|
130
140
|
*
|
|
131
141
|
* @default `secondary`
|
|
@@ -144,5 +154,5 @@ export declare class PoButtonBaseComponent {
|
|
|
144
154
|
set disabled(value: boolean);
|
|
145
155
|
get disabled(): boolean;
|
|
146
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoButtonBaseComponent, never>;
|
|
147
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonBaseComponent, never, never, { "autoFocus": "p-auto-focus"; "label": "p-label"; "icon": "p-icon"; "loading": "p-loading"; "small": "p-small"; "type": "p-type"; "kind": "p-kind"; "disabled": "p-disabled"; }, { "click": "p-click"; }, never>;
|
|
157
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoButtonBaseComponent, never, never, { "autoFocus": "p-auto-focus"; "label": "p-label"; "icon": "p-icon"; "loading": "p-loading"; "small": "p-small"; "type": "p-type"; "danger": "p-danger"; "kind": "p-kind"; "disabled": "p-disabled"; }, { "click": "p-click"; }, never>;
|
|
148
158
|
}
|
|
@@ -45,8 +45,10 @@ export * from './po-upload/interfaces/po-upload-file-restriction.interface';
|
|
|
45
45
|
export * from './po-upload/interfaces/po-upload-literals.interface';
|
|
46
46
|
export * from './po-upload/po-upload.component';
|
|
47
47
|
export * from './po-url/po-url.component';
|
|
48
|
+
export * from './po-radio/po-radio.component';
|
|
48
49
|
export * from './po-checkbox-group/po-checkbox-group.module';
|
|
49
50
|
export * from './po-datepicker/po-datepicker.module';
|
|
51
|
+
export * from './po-checkbox/po-checkbox.module';
|
|
50
52
|
export * from './po-field.module';
|
|
51
53
|
export * from './po-field-container/index';
|
|
52
54
|
export * from './po-clean/index';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./po-checkbox.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class PoCheckboxModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoCheckboxModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoCheckboxModule, [typeof i1.PoCheckboxComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.PoCheckboxComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PoCheckboxModule>;
|
|
9
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./po-
|
|
3
|
-
import * as i2 from "./po-combo/po-combo.
|
|
4
|
-
import * as i3 from "./po-
|
|
5
|
-
import * as i4 from "./po-
|
|
6
|
-
import * as i5 from "./po-
|
|
7
|
-
import * as i6 from "./po-
|
|
8
|
-
import * as i7 from "./po-
|
|
9
|
-
import * as i8 from "./po-
|
|
10
|
-
import * as i9 from "./po-lookup/po-lookup.component";
|
|
11
|
-
import * as i10 from "./po-
|
|
12
|
-
import * as i11 from "./po-multiselect/po-multiselect.component";
|
|
13
|
-
import * as i12 from "./po-multiselect/po-multiselect-
|
|
14
|
-
import * as i13 from "./po-multiselect/po-multiselect-
|
|
15
|
-
import * as i14 from "./po-
|
|
16
|
-
import * as i15 from "./po-
|
|
17
|
-
import * as i16 from "./po-
|
|
18
|
-
import * as i17 from "./po-
|
|
19
|
-
import * as i18 from "./po-rich-text/po-rich-text
|
|
20
|
-
import * as i19 from "./po-rich-text/po-rich-text.component";
|
|
21
|
-
import * as i20 from "./po-rich-text/po-rich-text-
|
|
22
|
-
import * as i21 from "./po-rich-text/po-rich-text-
|
|
23
|
-
import * as i22 from "./po-
|
|
24
|
-
import * as i23 from "./po-select/po-select.
|
|
25
|
-
import * as i24 from "./po-
|
|
26
|
-
import * as i25 from "./po-
|
|
27
|
-
import * as i26 from "./po-
|
|
28
|
-
import * as i27 from "./po-upload/po-upload.component";
|
|
29
|
-
import * as i28 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop.
|
|
30
|
-
import * as i29 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop.
|
|
31
|
-
import * as i30 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop-area
|
|
32
|
-
import * as i31 from "./po-upload/po-upload-
|
|
33
|
-
import * as i32 from "./po-
|
|
34
|
-
import * as i33 from "./po-
|
|
2
|
+
import * as i1 from "./po-combo/po-combo.component";
|
|
3
|
+
import * as i2 from "./po-combo/po-combo-option-template/po-combo-option-template.directive";
|
|
4
|
+
import * as i3 from "./po-decimal/po-decimal.component";
|
|
5
|
+
import * as i4 from "./po-datepicker-range/po-datepicker-range.component";
|
|
6
|
+
import * as i5 from "./po-email/po-email.component";
|
|
7
|
+
import * as i6 from "./po-input/po-input.component";
|
|
8
|
+
import * as i7 from "./po-login/po-login.component";
|
|
9
|
+
import * as i8 from "./po-lookup/po-lookup.component";
|
|
10
|
+
import * as i9 from "./po-lookup/po-lookup-modal/po-lookup-modal.component";
|
|
11
|
+
import * as i10 from "./po-multiselect/po-multiselect.component";
|
|
12
|
+
import * as i11 from "./po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component";
|
|
13
|
+
import * as i12 from "./po-multiselect/po-multiselect-item/po-multiselect-item.component";
|
|
14
|
+
import * as i13 from "./po-multiselect/po-multiselect-search/po-multiselect-search.component";
|
|
15
|
+
import * as i14 from "./po-number/po-number.component";
|
|
16
|
+
import * as i15 from "./po-password/po-password.component";
|
|
17
|
+
import * as i16 from "./po-radio-group/po-radio-group.component";
|
|
18
|
+
import * as i17 from "./po-rich-text/po-rich-text-body/po-rich-text-body.component";
|
|
19
|
+
import * as i18 from "./po-rich-text/po-rich-text.component";
|
|
20
|
+
import * as i19 from "./po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component";
|
|
21
|
+
import * as i20 from "./po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component";
|
|
22
|
+
import * as i21 from "./po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component";
|
|
23
|
+
import * as i22 from "./po-select/po-select.component";
|
|
24
|
+
import * as i23 from "./po-select/po-select-option-template/po-select-option-template.directive";
|
|
25
|
+
import * as i24 from "./po-switch/po-switch.component";
|
|
26
|
+
import * as i25 from "./po-textarea/po-textarea.component";
|
|
27
|
+
import * as i26 from "./po-upload/po-upload.component";
|
|
28
|
+
import * as i27 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop.component";
|
|
29
|
+
import * as i28 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop.directive";
|
|
30
|
+
import * as i29 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component";
|
|
31
|
+
import * as i30 from "./po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component";
|
|
32
|
+
import * as i31 from "./po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component";
|
|
33
|
+
import * as i32 from "./po-url/po-url.component";
|
|
34
|
+
import * as i33 from "./po-radio/po-radio.component";
|
|
35
35
|
import * as i34 from "@angular/common";
|
|
36
36
|
import * as i35 from "@angular/forms";
|
|
37
37
|
import * as i36 from "@angular/common/http";
|
|
@@ -52,6 +52,7 @@ import * as i50 from "../../services/services.module";
|
|
|
52
52
|
import * as i51 from "../po-table/po-table.module";
|
|
53
53
|
import * as i52 from "../../directives/po-tooltip/po-tooltip.module";
|
|
54
54
|
import * as i53 from "../po-icon/po-icon.module";
|
|
55
|
+
import * as i54 from "./po-checkbox/po-checkbox.module";
|
|
55
56
|
/**
|
|
56
57
|
* @description
|
|
57
58
|
*
|
|
@@ -64,6 +65,6 @@ import * as i53 from "../po-icon/po-icon.module";
|
|
|
64
65
|
*/
|
|
65
66
|
export declare class PoFieldModule {
|
|
66
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoFieldModule, never>;
|
|
67
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoFieldModule, [typeof i1.
|
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoFieldModule, [typeof i1.PoComboComponent, typeof i2.PoComboOptionTemplateDirective, typeof i3.PoDecimalComponent, typeof i4.PoDatepickerRangeComponent, typeof i5.PoEmailComponent, typeof i6.PoInputComponent, typeof i7.PoLoginComponent, typeof i8.PoLookupComponent, typeof i9.PoLookupModalComponent, typeof i10.PoMultiselectComponent, typeof i11.PoMultiselectDropdownComponent, typeof i12.PoMultiselectItemComponent, typeof i13.PoMultiselectSearchComponent, typeof i14.PoNumberComponent, typeof i15.PoPasswordComponent, typeof i16.PoRadioGroupComponent, typeof i17.PoRichTextBodyComponent, typeof i18.PoRichTextComponent, typeof i19.PoRichTextImageModalComponent, typeof i20.PoRichTextLinkModalComponent, typeof i21.PoRichTextToolbarComponent, typeof i22.PoSelectComponent, typeof i23.PoSelectOptionTemplateDirective, typeof i24.PoSwitchComponent, typeof i25.PoTextareaComponent, typeof i26.PoUploadComponent, typeof i27.PoUploadDragDropComponent, typeof i28.PoUploadDragDropDirective, typeof i29.PoUploadDragDropAreaOverlayComponent, typeof i30.PoUploadDragDropAreaComponent, typeof i31.PoUploadFileRestrictionsComponent, typeof i32.PoUrlComponent, typeof i33.PoRadioComponent], [typeof i34.CommonModule, typeof i35.FormsModule, typeof i36.HttpClientModule, typeof i37.PoButtonGroupModule, typeof i38.PoButtonModule, typeof i39.PoCleanModule, typeof i40.PoCalendarModule, typeof i41.PoCheckboxGroupModule, typeof i42.PoContainerModule, typeof i43.PoDatepickerModule, typeof i44.PoDisclaimerGroupModule, typeof i45.PoDisclaimerModule, typeof i46.PoFieldContainerModule, typeof i47.PoLoadingModule, typeof i48.PoModalModule, typeof i49.PoProgressModule, typeof i50.PoServicesModule, typeof i51.PoTableModule, typeof i52.PoTooltipModule, typeof i53.PoIconModule, typeof i54.PoCheckboxModule], [typeof i41.PoCheckboxGroupModule, typeof i39.PoCleanModule, typeof i43.PoDatepickerModule, typeof i1.PoComboComponent, typeof i2.PoComboOptionTemplateDirective, typeof i3.PoDecimalComponent, typeof i4.PoDatepickerRangeComponent, typeof i5.PoEmailComponent, typeof i46.PoFieldContainerModule, typeof i6.PoInputComponent, typeof i7.PoLoginComponent, typeof i8.PoLookupComponent, typeof i9.PoLookupModalComponent, typeof i10.PoMultiselectComponent, typeof i14.PoNumberComponent, typeof i15.PoPasswordComponent, typeof i16.PoRadioGroupComponent, typeof i18.PoRichTextComponent, typeof i22.PoSelectComponent, typeof i23.PoSelectOptionTemplateDirective, typeof i24.PoSwitchComponent, typeof i25.PoTextareaComponent, typeof i26.PoUploadComponent, typeof i32.PoUrlComponent, typeof i33.PoRadioComponent, typeof i54.PoCheckboxModule]>;
|
|
68
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoFieldModule>;
|
|
69
70
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @docsPrivate
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
*
|
|
9
|
+
* O componente `po-radio` é um componente interno e deve ser utilizado em conjunto com o componente `po-radio-group`.
|
|
10
|
+
*/
|
|
11
|
+
export declare abstract class PoRadioBaseComponent implements ControlValueAccessor {
|
|
12
|
+
/** Define o nome do *radio*. */
|
|
13
|
+
name: string;
|
|
14
|
+
/** Texto de exibição do *radio* */
|
|
15
|
+
label?: string;
|
|
16
|
+
/** Define o status do *radio* */
|
|
17
|
+
radioValue: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @optional
|
|
20
|
+
*
|
|
21
|
+
* @description
|
|
22
|
+
*
|
|
23
|
+
* Define o estado do *radio* como desabilitado;
|
|
24
|
+
*
|
|
25
|
+
* @default `false`
|
|
26
|
+
*/
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @optional
|
|
30
|
+
*
|
|
31
|
+
* @description
|
|
32
|
+
*
|
|
33
|
+
* Evento disparado quando o valor do *radio* for alterado.
|
|
34
|
+
*/
|
|
35
|
+
change: EventEmitter<any>;
|
|
36
|
+
id: string;
|
|
37
|
+
propagateChange: any;
|
|
38
|
+
onTouched: any;
|
|
39
|
+
private _size;
|
|
40
|
+
/**
|
|
41
|
+
* @optional
|
|
42
|
+
*
|
|
43
|
+
* @description
|
|
44
|
+
*
|
|
45
|
+
* Define o tamanho do *radio*
|
|
46
|
+
* @default `medium`
|
|
47
|
+
*/
|
|
48
|
+
set size(value: string);
|
|
49
|
+
get size(): string;
|
|
50
|
+
changeValue(): void;
|
|
51
|
+
checkOption(value: boolean): void;
|
|
52
|
+
registerOnChange(fn: any): void;
|
|
53
|
+
registerOnTouched(fn: any): void;
|
|
54
|
+
writeValue(value: any): void;
|
|
55
|
+
protected abstract changeModelValue(value: boolean | null): any;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoRadioBaseComponent, never>;
|
|
57
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoRadioBaseComponent, never, never, { "name": "name"; "label": "p-label"; "radioValue": "p-checked"; "disabled": "p-disabled"; "size": "p-size"; }, { "change": "p-change"; }, never>;
|
|
58
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { PoRadioBaseComponent } from './po-radio-base.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @docsPrivate
|
|
6
|
+
*
|
|
7
|
+
* @docsExtends PoRadioBaseComponent
|
|
8
|
+
*/
|
|
9
|
+
export declare class PoRadioComponent extends PoRadioBaseComponent {
|
|
10
|
+
private changeDetector;
|
|
11
|
+
radioLabel: ElementRef;
|
|
12
|
+
constructor(changeDetector: ChangeDetectorRef);
|
|
13
|
+
/**
|
|
14
|
+
* Função que atribui foco ao *radio*.
|
|
15
|
+
*
|
|
16
|
+
* Para utilizá-la é necessário capturar a referência do componente no DOM através do `ViewChild`, como por exemplo:
|
|
17
|
+
*
|
|
18
|
+
* ```
|
|
19
|
+
* import { ViewChild } from '@angular/core';
|
|
20
|
+
* import { PoRadioComponent } from '@po-ui/ng-components';
|
|
21
|
+
*
|
|
22
|
+
* ...
|
|
23
|
+
*
|
|
24
|
+
* @ViewChild(PoRadioComponent, { static: true }) radio: PoRadioComponent;
|
|
25
|
+
*
|
|
26
|
+
* focusRadio() {
|
|
27
|
+
* this.radio.focus();
|
|
28
|
+
* }
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
focus(): void;
|
|
33
|
+
onBlur(): void;
|
|
34
|
+
onKeyDown(event: KeyboardEvent, value: boolean): void;
|
|
35
|
+
protected changeModelValue(value: boolean | string): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoRadioComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoRadioComponent, "po-radio", never, {}, {}, never, never>;
|
|
38
|
+
}
|
|
@@ -3,9 +3,11 @@ import * as i1 from "./po-list-view.component";
|
|
|
3
3
|
import * as i2 from "./po-list-view-content-template/po-list-view-content-template.directive";
|
|
4
4
|
import * as i3 from "./po-list-view-detail-template/po-list-view-detail-template.directive";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@angular/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "../po-
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@angular/router";
|
|
8
|
+
import * as i7 from "../po-button/po-button.module";
|
|
9
|
+
import * as i8 from "../po-popup/po-popup.module";
|
|
10
|
+
import * as i9 from "../po-field/po-checkbox/po-checkbox.module";
|
|
9
11
|
/**
|
|
10
12
|
* @description
|
|
11
13
|
*
|
|
@@ -39,6 +41,6 @@ import * as i7 from "../po-popup/po-popup.module";
|
|
|
39
41
|
*/
|
|
40
42
|
export declare class PoListViewModule {
|
|
41
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoListViewModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoListViewModule, [typeof i1.PoListViewComponent, typeof i2.PoListViewContentTemplateDirective, typeof i3.PoListViewDetailTemplateDirective], [typeof i4.CommonModule, typeof i5.
|
|
44
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoListViewModule, [typeof i1.PoListViewComponent, typeof i2.PoListViewContentTemplateDirective, typeof i3.PoListViewDetailTemplateDirective], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.RouterModule, typeof i7.PoButtonModule, typeof i8.PoPopupModule, typeof i9.PoCheckboxModule], [typeof i1.PoListViewComponent, typeof i2.PoListViewContentTemplateDirective, typeof i3.PoListViewDetailTemplateDirective]>;
|
|
43
45
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoListViewModule>;
|
|
44
46
|
}
|
|
@@ -8,20 +8,25 @@ export declare const poMenuLiteralsDefault: {
|
|
|
8
8
|
en: {
|
|
9
9
|
itemNotFound: string;
|
|
10
10
|
emptyLabelError: string;
|
|
11
|
+
logomarcaHome: string;
|
|
11
12
|
};
|
|
12
13
|
es: {
|
|
13
14
|
itemNotFound: string;
|
|
14
15
|
emptyLabelError: string;
|
|
16
|
+
logomarcaHome: string;
|
|
15
17
|
};
|
|
16
18
|
pt: {
|
|
17
19
|
itemNotFound: string;
|
|
18
20
|
emptyLabelError: string;
|
|
21
|
+
logomarcaHome: string;
|
|
19
22
|
};
|
|
20
23
|
ru: {
|
|
21
24
|
itemNotFound: string;
|
|
22
25
|
emptyLabelError: string;
|
|
26
|
+
logomarcaHome: string;
|
|
23
27
|
};
|
|
24
28
|
};
|
|
29
|
+
export declare const MAX_LENGHT: number;
|
|
25
30
|
/**
|
|
26
31
|
* @description
|
|
27
32
|
*
|
|
@@ -43,6 +48,7 @@ export declare abstract class PoMenuBaseComponent {
|
|
|
43
48
|
private _filter;
|
|
44
49
|
private _level;
|
|
45
50
|
private _logo;
|
|
51
|
+
private _logoAlt;
|
|
46
52
|
private _maxLevel;
|
|
47
53
|
private _menus;
|
|
48
54
|
private _params;
|
|
@@ -151,6 +157,17 @@ export declare abstract class PoMenuBaseComponent {
|
|
|
151
157
|
*/
|
|
152
158
|
set logo(value: any);
|
|
153
159
|
get logo(): any;
|
|
160
|
+
/**
|
|
161
|
+
* @optional
|
|
162
|
+
*
|
|
163
|
+
* @description
|
|
164
|
+
*
|
|
165
|
+
* Texto alternativo para o logo.
|
|
166
|
+
*
|
|
167
|
+
* > Caso esta propriedade seja indefinida ou inválida o texto padrão será "Logomarca home".
|
|
168
|
+
*/
|
|
169
|
+
set logoAlt(value: string);
|
|
170
|
+
get logoAlt(): string;
|
|
154
171
|
/**
|
|
155
172
|
* @optional
|
|
156
173
|
*
|
|
@@ -177,9 +194,10 @@ export declare abstract class PoMenuBaseComponent {
|
|
|
177
194
|
private removeBadgeAlert;
|
|
178
195
|
private setMenuBadgeAlert;
|
|
179
196
|
private validateMenu;
|
|
197
|
+
private maxLength;
|
|
180
198
|
protected abstract checkActiveMenuByUrl(urlRouter: any): any;
|
|
181
199
|
protected abstract checkingRouterChildrenFragments(): any;
|
|
182
200
|
protected abstract validateCollapseClass(): any;
|
|
183
201
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoMenuBaseComponent, never>;
|
|
184
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "collapsed": "p-collapsed"; "menus": "p-menus"; "filter": "p-filter"; "service": "p-service"; "params": "p-params"; "logo": "p-logo"; "shortLogo": "p-short-logo"; }, {}, never>;
|
|
202
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoMenuBaseComponent, never, never, { "collapsed": "p-collapsed"; "menus": "p-menus"; "filter": "p-filter"; "service": "p-service"; "params": "p-params"; "logo": "p-logo"; "logoAlt": "p-logo-alt"; "shortLogo": "p-short-logo"; }, {}, never>;
|
|
185
203
|
}
|
|
@@ -313,6 +313,8 @@ export declare abstract class PoTableBaseComponent implements OnChanges, OnDestr
|
|
|
313
313
|
* @description
|
|
314
314
|
*
|
|
315
315
|
* Define a altura da tabela em *pixels* e fixa o cabeçalho.
|
|
316
|
+
*
|
|
317
|
+
* Ao utilizar essa propriedade será inserido o `virtual-scroll` na tabela melhorando a performance.
|
|
316
318
|
*/
|
|
317
319
|
set height(height: number);
|
|
318
320
|
get height(): number;
|
package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts
CHANGED
|
@@ -8,20 +8,29 @@ export declare const poTableColumnManagerLiteralsDefault: {
|
|
|
8
8
|
en: {
|
|
9
9
|
columnsManager: string;
|
|
10
10
|
restoreDefault: string;
|
|
11
|
+
up: string;
|
|
12
|
+
down: string;
|
|
11
13
|
};
|
|
12
14
|
es: {
|
|
13
15
|
columnsManager: string;
|
|
14
16
|
restoreDefault: string;
|
|
17
|
+
up: string;
|
|
18
|
+
down: string;
|
|
15
19
|
};
|
|
16
20
|
pt: {
|
|
17
21
|
columnsManager: string;
|
|
18
22
|
restoreDefault: string;
|
|
23
|
+
up: string;
|
|
24
|
+
down: string;
|
|
19
25
|
};
|
|
20
26
|
ru: {
|
|
21
27
|
columnsManager: string;
|
|
22
28
|
restoreDefault: string;
|
|
29
|
+
up: string;
|
|
30
|
+
down: string;
|
|
23
31
|
};
|
|
24
32
|
};
|
|
33
|
+
declare type Direction = 'up' | 'down';
|
|
25
34
|
export declare class PoTableColumnManagerComponent implements OnChanges, OnDestroy {
|
|
26
35
|
private renderer;
|
|
27
36
|
popover: PoPopoverComponent;
|
|
@@ -35,11 +44,13 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
35
44
|
literals: any;
|
|
36
45
|
columnsOptions: Array<PoCheckboxGroupOption>;
|
|
37
46
|
visibleColumns: Array<string>;
|
|
47
|
+
columnUpdate: any;
|
|
38
48
|
private _maxColumns;
|
|
39
49
|
private defaultColumns;
|
|
40
50
|
private resizeListener;
|
|
41
51
|
private restoreDefaultEvent;
|
|
42
52
|
private lastEmittedValue;
|
|
53
|
+
private minColumns;
|
|
43
54
|
set maxColumns(value: number);
|
|
44
55
|
get maxColumns(): number;
|
|
45
56
|
constructor(renderer: Renderer2, languageService: PoLanguageService);
|
|
@@ -47,12 +58,14 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
47
58
|
ngOnDestroy(): void;
|
|
48
59
|
checkChanges(event?: Array<string>, emit?: boolean): void;
|
|
49
60
|
restore(): void;
|
|
61
|
+
changePosition(option: any, direction: Direction): void;
|
|
62
|
+
verifyArrowDisabled(option: any, direction: Direction): boolean;
|
|
63
|
+
private changePositionColumn;
|
|
50
64
|
private verifyToEmitChange;
|
|
51
65
|
private emitChangesToSelectedColumns;
|
|
52
66
|
private allowsChangeVisibleColumns;
|
|
53
67
|
private verifyToEmitVisibleColumns;
|
|
54
68
|
private verifyRestoreValues;
|
|
55
|
-
private emitChangeOnRestore;
|
|
56
69
|
private allowsChangeSelectedColumns;
|
|
57
70
|
private verifyOnClose;
|
|
58
71
|
private emitVisibleColumns;
|
|
@@ -70,6 +83,7 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
70
83
|
private initializeListeners;
|
|
71
84
|
private isDisableColumn;
|
|
72
85
|
private mapTableColumnsToCheckboxOptions;
|
|
86
|
+
private disabledLastColumn;
|
|
73
87
|
private onChangeColumns;
|
|
74
88
|
private updateValues;
|
|
75
89
|
private removeListeners;
|
|
@@ -77,3 +91,4 @@ export declare class PoTableColumnManagerComponent implements OnChanges, OnDestr
|
|
|
77
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableColumnManagerComponent, never>;
|
|
78
92
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableColumnManagerComponent, "po-table-column-manager", never, { "columns": "p-columns"; "target": "p-target"; "colunsDefault": "p-columns-default"; "lastVisibleColumnsSelected": "p-last-visible-columns-selected"; "maxColumns": "p-max-columns"; }, { "visibleColumnsChange": "p-visible-columns-change"; "changeVisibleColumns": "p-change-visible-columns"; "initialColumns": "p-initial-columns"; }, never, never>;
|
|
79
93
|
}
|
|
94
|
+
export {};
|
|
@@ -72,6 +72,9 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
72
72
|
tableWrapperElement: any;
|
|
73
73
|
poTableTbody: any;
|
|
74
74
|
poTableThead: any;
|
|
75
|
+
poTableTbodyVirtual: any;
|
|
76
|
+
columnManager: any;
|
|
77
|
+
columnActionLeft: any;
|
|
75
78
|
actionsIconElement: QueryList<any>;
|
|
76
79
|
actionsElement: QueryList<any>;
|
|
77
80
|
headersTable: QueryList<any>;
|
|
@@ -79,6 +82,7 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
79
82
|
popupTarget: any;
|
|
80
83
|
tableOpacity: number;
|
|
81
84
|
tooltipText: string;
|
|
85
|
+
itemSize: number;
|
|
82
86
|
lastVisibleColumnsSelected: Array<PoTableColumn>;
|
|
83
87
|
private _columnManagerTarget;
|
|
84
88
|
private differ;
|
|
@@ -215,6 +219,8 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
215
219
|
}): void;
|
|
216
220
|
getTemplate(column: PoTableColumn): TemplateRef<any>;
|
|
217
221
|
syncronizeHorizontalScroll(): void;
|
|
222
|
+
getWidthColumnManager(): any;
|
|
223
|
+
getColumnWidthActionsLeft(): any;
|
|
218
224
|
protected calculateHeightTableContainer(height: any): void;
|
|
219
225
|
protected calculateWidthHeaders(): void;
|
|
220
226
|
protected checkInfiniteScroll(): void;
|
|
@@ -14,23 +14,25 @@ import * as i12 from "./po-table-cell-template/po-table-cell-template.directive"
|
|
|
14
14
|
import * as i13 from "./po-table-column-template/po-table-column-template.directive";
|
|
15
15
|
import * as i14 from "@angular/common";
|
|
16
16
|
import * as i15 from "@angular/forms";
|
|
17
|
-
import * as i16 from "@angular/
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "../po-
|
|
20
|
-
import * as i19 from "../po-
|
|
21
|
-
import * as i20 from "../po-
|
|
22
|
-
import * as i21 from "../po-
|
|
23
|
-
import * as i22 from "../po-
|
|
24
|
-
import * as i23 from "../po-
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "../../
|
|
27
|
-
import * as i26 from "
|
|
17
|
+
import * as i16 from "@angular/cdk/scrolling";
|
|
18
|
+
import * as i17 from "@angular/router";
|
|
19
|
+
import * as i18 from "../po-button/po-button.module";
|
|
20
|
+
import * as i19 from "../po-field/po-checkbox-group/po-checkbox-group.module";
|
|
21
|
+
import * as i20 from "../po-container/po-container.module";
|
|
22
|
+
import * as i21 from "../po-loading/po-loading.module";
|
|
23
|
+
import * as i22 from "../po-modal/po-modal.module";
|
|
24
|
+
import * as i23 from "../po-popover/po-popover.module";
|
|
25
|
+
import * as i24 from "../po-popup/po-popup.module";
|
|
26
|
+
import * as i25 from "../../pipes/po-time/po-time.module";
|
|
27
|
+
import * as i26 from "../../directives/po-tooltip/po-tooltip.module";
|
|
28
|
+
import * as i27 from "../po-icon/po-icon.module";
|
|
29
|
+
import * as i28 from "../po-field/po-checkbox/po-checkbox.module";
|
|
28
30
|
/**
|
|
29
31
|
* @description
|
|
30
32
|
* Módulo do componente po-table
|
|
31
33
|
*/
|
|
32
34
|
export declare class PoTableModule {
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoTableModule, [typeof i1.PoTableComponent, typeof i2.PoTableColumnIconComponent, typeof i3.PoTableColumnLabelComponent, typeof i4.PoTableColumnLinkComponent, typeof i5.PoTableColumnManagerComponent, typeof i6.PoTableDetailComponent, typeof i7.PoTableIconComponent, typeof i8.PoTableRowTemplateDirective, typeof i9.PoTableShowSubtitleComponent, typeof i10.PoTableSubtitleCircleComponent, typeof i11.PoTableSubtitleFooterComponent, typeof i12.PoTableCellTemplateDirective, typeof i13.PoTableColumnTemplateDirective], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i16.
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoTableModule, [typeof i1.PoTableComponent, typeof i2.PoTableColumnIconComponent, typeof i3.PoTableColumnLabelComponent, typeof i4.PoTableColumnLinkComponent, typeof i5.PoTableColumnManagerComponent, typeof i6.PoTableDetailComponent, typeof i7.PoTableIconComponent, typeof i8.PoTableRowTemplateDirective, typeof i9.PoTableShowSubtitleComponent, typeof i10.PoTableSubtitleCircleComponent, typeof i11.PoTableSubtitleFooterComponent, typeof i12.PoTableCellTemplateDirective, typeof i13.PoTableColumnTemplateDirective], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i16.ScrollingModule, typeof i17.RouterModule, typeof i18.PoButtonModule, typeof i19.PoCheckboxGroupModule, typeof i20.PoContainerModule, typeof i21.PoLoadingModule, typeof i22.PoModalModule, typeof i23.PoPopoverModule, typeof i24.PoPopupModule, typeof i25.PoTimeModule, typeof i26.PoTooltipModule, typeof i27.PoIconModule, typeof i28.PoCheckboxModule], [typeof i1.PoTableComponent, typeof i8.PoTableRowTemplateDirective, typeof i12.PoTableCellTemplateDirective, typeof i13.PoTableColumnTemplateDirective]>;
|
|
35
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoTableModule>;
|
|
36
38
|
}
|
|
@@ -14,9 +14,11 @@ import { PoToaster } from './po-toaster/po-toaster.interface';
|
|
|
14
14
|
* Cada um destes métodos recebe como parâmetro o objeto `PoNotification` que contém os dados da mensagem e o
|
|
15
15
|
* objeto ViewContainerRef que é a representação do container do componente onde será criada a notificação.
|
|
16
16
|
*
|
|
17
|
-
* Estas notificações serão exibidas durante
|
|
17
|
+
* Estas notificações serão exibidas durante 9 segundos por padrão, podendo ser alterada conforme necessidade.
|
|
18
18
|
* Após este tempo a mesma é removida automaticamente.
|
|
19
19
|
*
|
|
20
|
+
* Notificações com ação ou notificações de `erro` permanecerão em tela até o usuário fecha-lá ou clicar na ação.
|
|
21
|
+
*
|
|
20
22
|
* O serviço possui um limite de até 5 notificações por vez, a partir do sexto a primeira notificação será removida dando lugar a nova.
|
|
21
23
|
*
|
|
22
24
|
*/
|
|
@@ -51,7 +53,7 @@ export declare abstract class PoNotificationBaseService {
|
|
|
51
53
|
/**
|
|
52
54
|
* Define em milissegundos a duração padrão para as notificações.
|
|
53
55
|
*
|
|
54
|
-
* > Padrão
|
|
56
|
+
* > Padrão 9 segundos.
|
|
55
57
|
*
|
|
56
58
|
* @param {number} defaultDuration Duração em milisegundos
|
|
57
59
|
*/
|
|
@@ -28,6 +28,10 @@ export interface PoNotification {
|
|
|
28
28
|
* @default `Bottom`
|
|
29
29
|
*/
|
|
30
30
|
orientation?: PoToasterOrientation;
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Define em milissegundos o tempo de duração que a notificação ficará disponível em tela. O padrão é 9000 milissegundos.
|
|
33
|
+
*
|
|
34
|
+
* > Caso a notificação tenha uma ação ou seja uma notificação de `erro`, a propriedade será ignorada.
|
|
35
|
+
*/
|
|
32
36
|
duration?: number;
|
|
33
37
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./po-toaster/po-toaster.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../components/po-button/po-button.module";
|
|
5
|
+
import * as i4 from "../../components/po-icon/po-icon.module";
|
|
4
6
|
export declare class PoNotificationModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoNotificationModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoNotificationModule, [typeof i1.PoToasterComponent], [typeof i2.CommonModule], never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoNotificationModule, [typeof i1.PoToasterComponent], [typeof i2.CommonModule, typeof i3.PoButtonModule, typeof i4.PoIconModule], never>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoNotificationModule>;
|
|
8
10
|
}
|
|
@@ -2,6 +2,7 @@ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Renderer2 } fr
|
|
|
2
2
|
import { PoLanguageService } from '../../po-language/po-language.service';
|
|
3
3
|
import { PoToasterBaseComponent } from './po-toaster-base.component';
|
|
4
4
|
import { PoToaster } from './po-toaster.interface';
|
|
5
|
+
import { PoButtonComponent } from '../../../components/po-button/po-button.component';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* @docsPrivate
|
|
@@ -13,13 +14,16 @@ export declare class PoToasterComponent extends PoToasterBaseComponent implement
|
|
|
13
14
|
private elementeRef?;
|
|
14
15
|
private renderer?;
|
|
15
16
|
toaster: ElementRef;
|
|
17
|
+
buttonClose: PoButtonComponent;
|
|
16
18
|
alive: boolean;
|
|
19
|
+
language: string;
|
|
20
|
+
literals: any;
|
|
17
21
|
private icon;
|
|
18
22
|
private margin;
|
|
19
23
|
private observableOnClose;
|
|
20
24
|
private toasterPosition;
|
|
21
25
|
private toasterType;
|
|
22
|
-
constructor(
|
|
26
|
+
constructor(poLanguageService: PoLanguageService, changeDetector: ChangeDetectorRef, elementeRef?: ElementRef, renderer?: Renderer2);
|
|
23
27
|
ngOnDestroy(): void;
|
|
24
28
|
ngAfterViewInit(): void;
|
|
25
29
|
changePosition(position: number): void;
|
package/lib/utils/util.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare function isTypeof(object: any, type: any): boolean;
|
|
|
54
54
|
*/
|
|
55
55
|
export declare function callFunction(fn: any, context: any, param?: any): void;
|
|
56
56
|
export declare function convertIsoToDate(value: string, start: boolean, end: boolean): Date;
|
|
57
|
+
export declare function convertIsoToDateNoTimezone(value: string): Date;
|
|
57
58
|
export declare function convertDateToISODate(date: Date): string;
|
|
58
59
|
export declare function convertDateToISOExtended(date: Date, time?: string): string;
|
|
59
60
|
/**
|