@po-ui/ng-components 19.12.0 → 19.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/fesm2022/po-ui-ng-components.mjs +26713 -25113
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/components.module.d.ts +42 -41
- package/lib/components/index.d.ts +1 -0
- package/lib/components/po-accordion/po-accordion.component.d.ts +0 -2
- package/lib/components/po-avatar/po-avatar.component.d.ts +0 -2
- package/lib/components/po-badge/po-badge-base.component.d.ts +12 -12
- package/lib/components/po-button/po-button-base.component.d.ts +1 -1
- package/lib/components/po-button/po-button.component.d.ts +1 -5
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +1 -1
- package/lib/components/po-button-group/po-button-group.component.d.ts +1 -1
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +27 -27
- package/lib/components/po-chart/index.d.ts +1 -0
- package/lib/components/po-chart/interfaces/po-chart-axis-options.interface.d.ts +7 -0
- package/lib/components/po-chart/interfaces/po-chart-header-options.interface.d.ts +51 -0
- package/lib/components/po-chart/interfaces/po-chart-literals-default.interface.d.ts +7 -0
- package/lib/components/po-chart/interfaces/po-chart-literals.interface.d.ts +43 -0
- package/lib/components/po-chart/interfaces/po-chart-options.interface.d.ts +29 -2
- package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +17 -19
- package/lib/components/po-chart/po-chart-switch.component.d.ts +22 -0
- package/lib/components/po-chart/po-chart.component.d.ts +1 -1
- package/lib/components/po-chart/po-chart.module.d.ts +4 -3
- package/lib/components/po-chart-new/index.d.ts +2 -0
- package/lib/components/po-chart-new/po-chart-grid-utils.d.ts +23 -0
- package/lib/components/po-chart-new/po-chart-new-base.component.d.ts +210 -0
- package/lib/components/po-chart-new/po-chart-new.component.d.ts +86 -0
- package/lib/components/po-chart-new/po-chart-new.module.d.ts +18 -0
- package/lib/components/po-container/po-container-base.component.d.ts +2 -2
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +1 -1
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +1 -3
- package/lib/components/po-dynamic/po-dynamic-field.interface.d.ts +4 -4
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-field.interface.d.ts +12 -12
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +0 -2
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +9 -9
- package/lib/components/po-field/po-email/po-email.component.d.ts +0 -2
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +23 -16
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +2 -2
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +8 -6
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +0 -2
- package/lib/components/po-field/po-select/po-select.component.d.ts +0 -2
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +1 -3
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +7 -7
- 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 +1 -1
- package/lib/components/po-listbox/po-listbox-base.component.d.ts +1 -1
- package/lib/components/po-listbox/po-listbox.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu-base.component.d.ts +1 -1
- package/lib/components/po-menu/po-menu.component.d.ts +5 -5
- package/lib/components/po-modal/po-modal-base.component.d.ts +1 -1
- package/lib/components/po-modal/po-modal.component.d.ts +1 -1
- package/lib/components/po-popup/po-popup-base.component.d.ts +1 -1
- package/lib/components/po-popup/po-popup.component.d.ts +1 -1
- package/lib/components/po-progress/po-progress-base.component.d.ts +1 -1
- package/lib/components/po-progress/po-progress.component.d.ts +1 -1
- package/lib/components/po-search/po-search-base.component.d.ts +1 -1
- package/lib/components/po-search/po-search.component.d.ts +1 -1
- package/lib/components/po-slide/po-slide-base.component.d.ts +9 -9
- package/lib/components/po-table/enums/po-table-spacing.enum.d.ts +7 -5
- package/lib/components/po-table/interfaces/po-table-column.interface.d.ts +7 -8
- package/lib/components/po-table/po-table-base.component.d.ts +17 -12
- package/lib/components/po-table/po-table-column-label/po-table-column-label.interface.d.ts +12 -12
- package/lib/components/po-table/po-table-detail/po-table-detail-column.interface.d.ts +5 -6
- package/lib/components/po-table/po-table.component.d.ts +3 -3
- package/lib/components/po-tabs/po-tabs-base.component.d.ts +1 -1
- package/lib/components/po-tabs/po-tabs.component.d.ts +1 -1
- package/lib/components/po-tag/po-tag-base.component.d.ts +24 -24
- 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-tree-view/po-tree-view-base.component.d.ts +1 -1
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +1 -1
- package/lib/directives/po-tooltip/po-tooltip-base.directive.d.ts +32 -1
- package/lib/services/po-color/index.d.ts +2 -0
- package/lib/services/po-color/po-color.module.d.ts +11 -0
- package/lib/services/po-color/po-color.service.d.ts +5 -1
- package/lib/services/po-theme/helpers/types/po-theme-dark-defaults.constant.d.ts +20 -2
- package/lib/services/po-theme/helpers/types/po-theme-light-defaults.constant.d.ts +4 -2
- package/lib/services/po-theme/interfaces/po-theme-color.interface.d.ts +36 -0
- package/lib/services/po-theme/po-theme.service.d.ts +1 -0
- package/lib/utils/util.d.ts +1 -1
- package/package.json +5 -4
- package/po-ui-ng-components-19.13.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-19.12.0.tgz +0 -0
|
@@ -6,48 +6,49 @@ import * as i4 from "./po-button/po-button.module";
|
|
|
6
6
|
import * as i5 from "./po-button-group/po-button-group.module";
|
|
7
7
|
import * as i6 from "./po-calendar/po-calendar.module";
|
|
8
8
|
import * as i7 from "./po-chart/po-chart.module";
|
|
9
|
-
import * as i8 from "./po-
|
|
10
|
-
import * as i9 from "./po-
|
|
11
|
-
import * as i10 from "./po-disclaimer/po-disclaimer.module";
|
|
12
|
-
import * as i11 from "./po-
|
|
13
|
-
import * as i12 from "./po-
|
|
14
|
-
import * as i13 from "./po-
|
|
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-
|
|
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 "./po-menu
|
|
26
|
-
import * as i25 from "./po-
|
|
27
|
-
import * as i26 from "./po-
|
|
28
|
-
import * as i27 from "./po-
|
|
29
|
-
import * as i28 from "./po-
|
|
30
|
-
import * as i29 from "./po-
|
|
31
|
-
import * as i30 from "./po-
|
|
32
|
-
import * as i31 from "./po-
|
|
33
|
-
import * as i32 from "./po-
|
|
34
|
-
import * as i33 from "./po-
|
|
35
|
-
import * as i34 from "./po-
|
|
36
|
-
import * as i35 from "./po-
|
|
37
|
-
import * as i36 from "./po-
|
|
38
|
-
import * as i37 from "./po-
|
|
39
|
-
import * as i38 from "./po-
|
|
40
|
-
import * as i39 from "./po-
|
|
41
|
-
import * as i40 from "./po-
|
|
42
|
-
import * as i41 from "./po-
|
|
43
|
-
import * as i42 from "./po-
|
|
44
|
-
import * as i43 from "./po-
|
|
45
|
-
import * as i44 from "./po-
|
|
46
|
-
import * as i45 from "./po-
|
|
47
|
-
import * as i46 from "./po-
|
|
48
|
-
import * as i47 from "./po-
|
|
9
|
+
import * as i8 from "./po-chart-new/po-chart-new.module";
|
|
10
|
+
import * as i9 from "./po-container/po-container.module";
|
|
11
|
+
import * as i10 from "./po-disclaimer-group/po-disclaimer-group.module";
|
|
12
|
+
import * as i11 from "./po-disclaimer/po-disclaimer.module";
|
|
13
|
+
import * as i12 from "./po-divider/po-divider.module";
|
|
14
|
+
import * as i13 from "./po-dropdown/po-dropdown.module";
|
|
15
|
+
import * as i14 from "./po-dynamic/po-dynamic.module";
|
|
16
|
+
import * as i15 from "./po-field/po-field.module";
|
|
17
|
+
import * as i16 from "./po-gauge/po-gauge.module";
|
|
18
|
+
import * as i17 from "./po-grid/po-grid.module";
|
|
19
|
+
import * as i18 from "./po-icon/po-icon.module";
|
|
20
|
+
import * as i19 from "./po-info/po-info.module";
|
|
21
|
+
import * as i20 from "./po-list-view/po-list-view.module";
|
|
22
|
+
import * as i21 from "./po-listbox/po-listbox.module";
|
|
23
|
+
import * as i22 from "./po-loading/po-loading.module";
|
|
24
|
+
import * as i23 from "./po-logo/po-logo.module";
|
|
25
|
+
import * as i24 from "./po-menu/po-menu.module";
|
|
26
|
+
import * as i25 from "./po-menu-panel/po-menu-panel.module";
|
|
27
|
+
import * as i26 from "./po-modal/po-modal.module";
|
|
28
|
+
import * as i27 from "./po-navbar/po-navbar.module";
|
|
29
|
+
import * as i28 from "./po-overlay/po-overlay.module";
|
|
30
|
+
import * as i29 from "./po-page/po-page.module";
|
|
31
|
+
import * as i30 from "./po-popover/po-popover.module";
|
|
32
|
+
import * as i31 from "./po-popup/po-popup.module";
|
|
33
|
+
import * as i32 from "./po-progress/po-progress.module";
|
|
34
|
+
import * as i33 from "./po-slide/po-slide.module";
|
|
35
|
+
import * as i34 from "./po-stepper/po-stepper.module";
|
|
36
|
+
import * as i35 from "./po-table/po-table.module";
|
|
37
|
+
import * as i36 from "./po-tabs/po-tabs.module";
|
|
38
|
+
import * as i37 from "./po-tag/po-tag.module";
|
|
39
|
+
import * as i38 from "./po-toolbar/po-toolbar.module";
|
|
40
|
+
import * as i39 from "./po-tree-view/po-tree-view.module";
|
|
41
|
+
import * as i40 from "./po-widget/po-widget.module";
|
|
42
|
+
import * as i41 from "./po-link/po-link.module";
|
|
43
|
+
import * as i42 from "./po-label/po-label.module";
|
|
44
|
+
import * as i43 from "./po-image/po-image.module";
|
|
45
|
+
import * as i44 from "./po-page/po-page-slide/po-page-slide.module";
|
|
46
|
+
import * as i45 from "./po-field/po-switch/po-switch.module";
|
|
47
|
+
import * as i46 from "./po-search/po-search.module";
|
|
48
|
+
import * as i47 from "./po-badge/po-badge.module";
|
|
49
|
+
import * as i48 from "./po-toaster/po-toaster.module";
|
|
49
50
|
export declare class PoComponentsModule {
|
|
50
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoComponentsModule, never>;
|
|
51
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.
|
|
52
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoComponentsModule, never, [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoChartNewModule, typeof i9.PoContainerModule, typeof i10.PoDisclaimerGroupModule, typeof i11.PoDisclaimerModule, typeof i12.PoDividerModule, typeof i13.PoDropdownModule, typeof i14.PoDynamicModule, typeof i15.PoFieldModule, typeof i16.PoGaugeModule, typeof i17.PoGridModule, typeof i18.PoIconModule, typeof i19.PoInfoModule, typeof i20.PoListViewModule, typeof i21.PoListBoxModule, typeof i22.PoLoadingModule, typeof i23.PoLogoModule, typeof i24.PoMenuModule, typeof i25.PoMenuPanelModule, typeof i26.PoModalModule, typeof i27.PoNavbarModule, typeof i28.PoOverlayModule, typeof i29.PoPageModule, typeof i30.PoPopoverModule, typeof i31.PoPopupModule, typeof i32.PoProgressModule, typeof i33.PoSlideModule, typeof i34.PoStepperModule, typeof i35.PoTableModule, typeof i36.PoTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule], [typeof i1.PoAccordionModule, typeof i2.PoAvatarModule, typeof i3.PoBreadcrumbModule, typeof i4.PoButtonModule, typeof i5.PoButtonGroupModule, typeof i6.PoCalendarModule, typeof i7.PoChartModule, typeof i8.PoChartNewModule, typeof i9.PoContainerModule, typeof i10.PoDisclaimerGroupModule, typeof i11.PoDisclaimerModule, typeof i12.PoDividerModule, typeof i13.PoDropdownModule, typeof i14.PoDynamicModule, typeof i15.PoFieldModule, typeof i16.PoGaugeModule, typeof i17.PoGridModule, typeof i18.PoIconModule, typeof i19.PoInfoModule, typeof i20.PoListViewModule, typeof i21.PoListBoxModule, typeof i22.PoLoadingModule, typeof i23.PoLogoModule, typeof i24.PoMenuModule, typeof i25.PoMenuPanelModule, typeof i26.PoModalModule, typeof i27.PoNavbarModule, typeof i28.PoOverlayModule, typeof i29.PoPageModule, typeof i30.PoPopoverModule, typeof i31.PoPopupModule, typeof i32.PoProgressModule, typeof i33.PoSlideModule, typeof i34.PoStepperModule, typeof i35.PoTableModule, typeof i36.PoTabsModule, typeof i37.PoTagModule, typeof i38.PoToolbarModule, typeof i39.PoTreeViewModule, typeof i40.PoWidgetModule, typeof i41.PoLinkModule, typeof i42.PoLabelModule, typeof i43.PoImageModule, typeof i44.PoPageSlideModule, typeof i45.PoSwitchModule, typeof i46.PoSearchModule, typeof i47.PoBadgeModule, typeof i48.PoToasterModule]>;
|
|
52
53
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoComponentsModule>;
|
|
53
54
|
}
|
|
@@ -7,6 +7,7 @@ export * from './po-button-group/index';
|
|
|
7
7
|
export * from './po-button/index';
|
|
8
8
|
export * from './po-calendar/index';
|
|
9
9
|
export * from './po-chart/index';
|
|
10
|
+
export * from './po-chart-new/index';
|
|
10
11
|
export * from './po-container/index';
|
|
11
12
|
export * from './po-disclaimer-group/index';
|
|
12
13
|
export * from './po-disclaimer/index';
|
|
@@ -13,8 +13,6 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* <example name="po-accordion-basic" title="PO Accordion Basic" >
|
|
14
14
|
* <file name="sample-po-accordion-basic/sample-po-accordion-basic.component.html"> </file>
|
|
15
15
|
* <file name="sample-po-accordion-basic/sample-po-accordion-basic.component.ts"> </file>
|
|
16
|
-
* <file name="sample-po-accordion-basic/sample-po-accordion-basic.component.e2e-spec.ts"> </file>
|
|
17
|
-
* <file name="sample-po-accordion-basic/sample-po-accordion-basic.component.po.ts"> </file>
|
|
18
16
|
* </example>
|
|
19
17
|
*
|
|
20
18
|
* <example name="po-accordion-labs" title="PO Accordion Labs" >
|
|
@@ -9,8 +9,6 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* <example name="po-avatar-basic" title="PO Avatar Basic" >
|
|
10
10
|
* <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.html"> </file>
|
|
11
11
|
* <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.ts"> </file>
|
|
12
|
-
* <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.e2e-spec.ts"> </file>
|
|
13
|
-
* <file name="sample-po-avatar-basic/sample-po-avatar-basic.component.po.ts"> </file>
|
|
14
12
|
* </example>
|
|
15
13
|
*
|
|
16
14
|
* <example name="po-avatar-labs" title="PO Avatar Labs" >
|
|
@@ -33,18 +33,18 @@ export declare class PoBadgeBaseComponent {
|
|
|
33
33
|
* - O nome da cor, por exemplo `blue`;
|
|
34
34
|
* - Usando uma das cores do tema do PO:
|
|
35
35
|
* Valores válidos:
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
36
|
+
* - <span class="dot po-color-01"></span> `color-01`
|
|
37
|
+
* - <span class="dot po-color-02"></span> `color-02`
|
|
38
|
+
* - <span class="dot po-color-03"></span> `color-03`
|
|
39
|
+
* - <span class="dot po-color-04"></span> `color-04`
|
|
40
|
+
* - <span class="dot po-color-05"></span> `color-05`
|
|
41
|
+
* - <span class="dot po-color-06"></span> `color-06`
|
|
42
|
+
* - <span class="dot po-color-07"></span> `color-07`
|
|
43
|
+
* - <span class="dot po-color-08"></span> `color-08`
|
|
44
|
+
* - <span class="dot po-color-09"></span> `color-09`
|
|
45
|
+
* - <span class="dot po-color-10"></span> `color-10`
|
|
46
|
+
* - <span class="dot po-color-11"></span> `color-11`
|
|
47
|
+
* - <span class="dot po-color-12"></span> `color-12`
|
|
48
48
|
*
|
|
49
49
|
* @default `color-07`
|
|
50
50
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services';
|
|
2
|
+
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
3
|
import { PoButtonType } from './enums/po-button-type.enum';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services';
|
|
2
|
+
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
3
|
import { PoButtonBaseComponent } from './po-button-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -10,15 +10,11 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* <example name="po-button-basic" title="PO Button Basic">
|
|
11
11
|
* <file name="sample-po-button-basic/sample-po-button-basic.component.html"> </file>
|
|
12
12
|
* <file name="sample-po-button-basic/sample-po-button-basic.component.ts"> </file>
|
|
13
|
-
* <file name="sample-po-button-basic/sample-po-button-basic.component.e2e-spec.ts"> </file>
|
|
14
|
-
* <file name="sample-po-button-basic/sample-po-button-basic.component.po.ts"> </file>
|
|
15
13
|
* </example>
|
|
16
14
|
*
|
|
17
15
|
* <example name="po-button-labs" title="PO Button Labs">
|
|
18
16
|
* <file name="sample-po-button-labs/sample-po-button-labs.component.html"> </file>
|
|
19
17
|
* <file name="sample-po-button-labs/sample-po-button-labs.component.ts"> </file>
|
|
20
|
-
* <file name="sample-po-button-labs/sample-po-button-labs.component.e2e-spec.ts"> </file>
|
|
21
|
-
* <file name="sample-po-button-labs/sample-po-button-labs.component.po.ts"> </file>
|
|
22
18
|
* </example>
|
|
23
19
|
*
|
|
24
20
|
* <example name="po-button-social-network" title="PO Button Social Network">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { PoThemeService } from '../../services';
|
|
2
|
+
import { PoThemeService } from '../../services/po-theme/po-theme.service';
|
|
3
3
|
import { PoButtonGroupBaseComponent } from './po-button-group-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -12,19 +12,19 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* Este componente pode receber os seguintes formatos de data:
|
|
13
13
|
*
|
|
14
14
|
* - **Data e hora combinados (E8601DZw): yyyy-mm-ddThh:mm:ss+|-hh:mm**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* ```
|
|
16
|
+
* this.date = '2017-11-28T00:00:00-02:00';
|
|
17
|
+
* ```
|
|
18
18
|
*
|
|
19
19
|
* - **Data (E8601DAw.): yyyy-mm-dd**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
20
|
+
* ```
|
|
21
|
+
* this.date = '2017-11-28';
|
|
22
|
+
* ```
|
|
23
23
|
*
|
|
24
24
|
* - **JavaScript Date Object:**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* ```
|
|
26
|
+
* this.date = new Date(2017, 10, 28);
|
|
27
|
+
* ```
|
|
28
28
|
*
|
|
29
29
|
* > Independentemente do formato utilizado, o componente trata o valor do *model* internamente com o
|
|
30
30
|
* formato **Data (E8601DAw.): yyyy-mm-dd**.
|
|
@@ -74,19 +74,19 @@ export declare class PoCalendarBaseComponent {
|
|
|
74
74
|
* Pode receber os seguintes formatos de data:
|
|
75
75
|
*
|
|
76
76
|
* - **Data e hora combinados (E8601DZw): yyyy-mm-ddThh:mm:ss+|-hh:mm**
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
77
|
+
* ```
|
|
78
|
+
* this.date = '2017-11-28T00:00:00-02:00';
|
|
79
|
+
* ```
|
|
80
80
|
*
|
|
81
81
|
* - **Data (E8601DAw.): yyyy-mm-dd**
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
82
|
+
* ```
|
|
83
|
+
* this.date = '2017-11-28';
|
|
84
|
+
* ```
|
|
85
85
|
*
|
|
86
86
|
* - **JavaScript Date Object:**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
87
|
+
* ```
|
|
88
|
+
* this.date = new Date(2017, 10, 28);
|
|
89
|
+
* ```
|
|
90
90
|
*/
|
|
91
91
|
set maxDate(maxDate: any);
|
|
92
92
|
get maxDate(): any;
|
|
@@ -100,19 +100,19 @@ export declare class PoCalendarBaseComponent {
|
|
|
100
100
|
* Pode receber os seguintes formatos de data:
|
|
101
101
|
*
|
|
102
102
|
* - **Data e hora combinados (E8601DZw): yyyy-mm-ddThh:mm:ss+|-hh:mm**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
103
|
+
* ```
|
|
104
|
+
* this.date = '2017-11-28T00:00:00-02:00';
|
|
105
|
+
* ```
|
|
106
106
|
*
|
|
107
107
|
* - **Data (E8601DAw.): yyyy-mm-dd**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
108
|
+
* ```
|
|
109
|
+
* this.date = '2017-11-28';
|
|
110
|
+
* ```
|
|
111
111
|
*
|
|
112
112
|
* - **JavaScript Date Object:**
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
113
|
+
* ```
|
|
114
|
+
* this.date = new Date(2017, 10, 28);
|
|
115
|
+
* ```
|
|
116
116
|
*/
|
|
117
117
|
set minDate(minDate: any);
|
|
118
118
|
get minDate(): any;
|
|
@@ -43,4 +43,11 @@ export interface PoChartAxisOptions {
|
|
|
43
43
|
* Define o tipo do label e a formatação exibida no eixo de valor.
|
|
44
44
|
*/
|
|
45
45
|
labelType?: PoChartLabelFormat;
|
|
46
|
+
paddingBottom?: number;
|
|
47
|
+
paddingLeft?: number;
|
|
48
|
+
paddingRight?: number;
|
|
49
|
+
rotateLegend?: number;
|
|
50
|
+
showXAxis?: boolean;
|
|
51
|
+
showYAxis?: boolean;
|
|
52
|
+
showAxisDetails?: boolean;
|
|
46
53
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @docsPrivate
|
|
3
|
+
*
|
|
4
|
+
* @usedBy PoChartComponent
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
*
|
|
8
|
+
* *Interface* para configuração das ações disponíveis no cabeçalho.
|
|
9
|
+
*/
|
|
10
|
+
export interface PoChartHeaderOptions {
|
|
11
|
+
/**
|
|
12
|
+
* @optional
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
*
|
|
16
|
+
* Define se o botão responsável por expandir o gráfico deve ser ocultado.
|
|
17
|
+
*
|
|
18
|
+
* @default `false`
|
|
19
|
+
*/
|
|
20
|
+
hideExpand?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @optional
|
|
23
|
+
*
|
|
24
|
+
* @description
|
|
25
|
+
*
|
|
26
|
+
* Define se o botão responsável por exibir os detalhes do gráfico em formato de tabela deve ser ocultado.
|
|
27
|
+
*
|
|
28
|
+
* @default `false`
|
|
29
|
+
*/
|
|
30
|
+
hideTableDetails?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @optional
|
|
33
|
+
*
|
|
34
|
+
* @description
|
|
35
|
+
*
|
|
36
|
+
* Define se a opção de exportação do gráfico em formato CSV deve ser ocultada.
|
|
37
|
+
*
|
|
38
|
+
* @default `false`
|
|
39
|
+
*/
|
|
40
|
+
hideExportCsv?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @optional
|
|
43
|
+
*
|
|
44
|
+
* @description
|
|
45
|
+
*
|
|
46
|
+
* Define se a opção de exportação do gráfico nos formatos JPG e PNG deve ser ocultada.
|
|
47
|
+
*
|
|
48
|
+
* @default `false`
|
|
49
|
+
*/
|
|
50
|
+
hideExportImage?: boolean;
|
|
51
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @docsPrivate
|
|
3
|
+
*
|
|
4
|
+
* @usedBy PoChartComponent
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
*
|
|
8
|
+
* Interface para definição dos literais usadas no `po-chart`.
|
|
9
|
+
*/
|
|
10
|
+
export interface PoChartLiterals {
|
|
11
|
+
/**
|
|
12
|
+
* @optional
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
*
|
|
16
|
+
* Texto exibido para a ação de download de dados em formato CSV.
|
|
17
|
+
*/
|
|
18
|
+
downloadCSV?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @optional
|
|
21
|
+
*
|
|
22
|
+
* @description
|
|
23
|
+
*
|
|
24
|
+
* Texto do botão para exportar o gráfico em CSV.
|
|
25
|
+
*/
|
|
26
|
+
exportCSV?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @optional
|
|
29
|
+
*
|
|
30
|
+
* @description
|
|
31
|
+
*
|
|
32
|
+
* Texto do botão para exportar o gráfico como imagem JPG.
|
|
33
|
+
*/
|
|
34
|
+
exportJPG?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @optional
|
|
37
|
+
*
|
|
38
|
+
* @description
|
|
39
|
+
*
|
|
40
|
+
* Texto do botão para exportar o gráfico como imagem PNG.
|
|
41
|
+
*/
|
|
42
|
+
exportPNG?: string;
|
|
43
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PoChartAxisOptions } from './po-chart-axis-options.interface';
|
|
2
|
+
import { PoChartHeaderOptions } from './po-chart-header-options.interface';
|
|
2
3
|
/**
|
|
3
4
|
* @usedBy PoChartComponent
|
|
4
5
|
*
|
|
@@ -7,14 +8,40 @@ import { PoChartAxisOptions } from './po-chart-axis-options.interface';
|
|
|
7
8
|
* *Interface* para configurações dos elementos do gráfico.
|
|
8
9
|
*/
|
|
9
10
|
export interface PoChartOptions {
|
|
10
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* @optional
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
*
|
|
16
|
+
* Define um objeto do tipo `PoChartAxisOptions` para configuração dos eixos.
|
|
17
|
+
*/
|
|
11
18
|
axis?: PoChartAxisOptions;
|
|
19
|
+
header?: PoChartHeaderOptions;
|
|
20
|
+
dataZoom?: boolean;
|
|
21
|
+
fillPoints?: boolean;
|
|
22
|
+
firstColumnName?: string;
|
|
12
23
|
/**
|
|
24
|
+
* @optional
|
|
25
|
+
*
|
|
26
|
+
* @description
|
|
27
|
+
*
|
|
13
28
|
* Define o diâmetro, em valor percentual entre `0` e `100`, da área central para gráficos do tipo `donut`.
|
|
14
29
|
* Se passado um percentual que torne a espessura do gráfico menor do que `40px`,
|
|
15
30
|
* os textos internos do gráficos serão ocultados para que não haja quebra de layout.
|
|
16
31
|
*/
|
|
17
32
|
innerRadius?: number;
|
|
18
|
-
|
|
33
|
+
borderRadius?: number;
|
|
34
|
+
textCenterGraph?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @optional
|
|
37
|
+
*
|
|
38
|
+
* @description
|
|
39
|
+
*
|
|
40
|
+
* Define a exibição da legenda do gráfico. Valor padrão é `true`
|
|
41
|
+
*/
|
|
19
42
|
legend?: boolean;
|
|
43
|
+
legendPosition?: 'left' | 'center' | 'right';
|
|
44
|
+
legendVerticalPosition?: 'top' | 'bottom';
|
|
45
|
+
bottomDataZoom?: boolean | number;
|
|
46
|
+
rendererOption?: 'canvas' | 'svg';
|
|
20
47
|
}
|
|
@@ -11,25 +11,23 @@ export interface PoChartSerie {
|
|
|
11
11
|
* @description
|
|
12
12
|
*
|
|
13
13
|
* Determina a cor da série. As maneiras de customizar o *preset* padrão de cores são:
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
14
|
+
* * Hexadeximal, por exemplo `#c64840`;
|
|
15
|
+
* * RGB, como `rgb(0, 0, 165)`
|
|
16
|
+
* * O nome da cor, por exemplo `blue`;
|
|
17
|
+
* * Usando uma das cores do tema do PO:
|
|
18
|
+
* Valores válidos:
|
|
19
|
+
* - <span class="dot po-color-01"></span> `color-01`
|
|
20
|
+
* - <span class="dot po-color-02"></span> `color-02`
|
|
21
|
+
* - <span class="dot po-color-03"></span> `color-03`
|
|
22
|
+
* - <span class="dot po-color-04"></span> `color-04`
|
|
23
|
+
* - <span class="dot po-color-05"></span> `color-05`
|
|
24
|
+
* - <span class="dot po-color-06"></span> `color-06`
|
|
25
|
+
* - <span class="dot po-color-07"></span> `color-07`
|
|
26
|
+
* - <span class="dot po-color-08"></span> `color-08`
|
|
27
|
+
* - <span class="dot po-color-09"></span> `color-09`
|
|
28
|
+
* - <span class="dot po-color-10"></span> `color-10`
|
|
29
|
+
* - <span class="dot po-color-11"></span> `color-11`
|
|
30
|
+
* - <span class="dot po-color-12"></span> `color-12`
|
|
33
31
|
* - A partir da 13° série o valor da cor será preta caso não seja enviada uma cor customizada.
|
|
34
32
|
*/
|
|
35
33
|
color?: string;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ComponentRef, EventEmitter, OnChanges, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PoChartSwitchComponent implements OnInit, OnChanges {
|
|
4
|
+
private readonly changeDetector;
|
|
5
|
+
container: ViewContainerRef;
|
|
6
|
+
title: any;
|
|
7
|
+
options: any;
|
|
8
|
+
type: any;
|
|
9
|
+
series: any;
|
|
10
|
+
categories: any;
|
|
11
|
+
height: any;
|
|
12
|
+
dataLabel: any;
|
|
13
|
+
customActions: any;
|
|
14
|
+
seriesHover: EventEmitter<any>;
|
|
15
|
+
seriesClick: EventEmitter<any>;
|
|
16
|
+
componentRef: ComponentRef<any>;
|
|
17
|
+
constructor(changeDetector: ChangeDetectorRef);
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoChartSwitchComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoChartSwitchComponent, "po-chart", never, { "title": { "alias": "p-title"; "required": false; }; "options": { "alias": "p-options"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; "series": { "alias": "p-series"; "required": false; }; "categories": { "alias": "p-categories"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "dataLabel": { "alias": "p-data-label"; "required": false; }; "customActions": { "alias": "p-custom-actions"; "required": false; }; }, { "seriesHover": "p-series-hover"; "seriesClick": "p-series-click"; }, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -70,5 +70,5 @@ export declare class PoChartComponent extends PoChartBaseComponent implements Af
|
|
|
70
70
|
private setHoverSubscribe;
|
|
71
71
|
private setResizeListenerSubscribe;
|
|
72
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoChartComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoChartComponent, "po-chart", never, {}, {}, never, never, false, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoChartComponent, "po-chart-old", never, {}, {}, never, never, false, never>;
|
|
74
74
|
}
|
|
@@ -18,8 +18,9 @@ import * as i16 from "./po-chart-container/po-chart-circular/po-chart-circular-p
|
|
|
18
18
|
import * as i17 from "./po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component";
|
|
19
19
|
import * as i18 from "./po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive";
|
|
20
20
|
import * as i19 from "./directives/po-resize-observer.directive";
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "
|
|
21
|
+
import * as i20 from "./po-chart-switch.component";
|
|
22
|
+
import * as i21 from "@angular/common";
|
|
23
|
+
import * as i22 from "../../directives/po-tooltip/po-tooltip.module";
|
|
23
24
|
/**
|
|
24
25
|
* @description
|
|
25
26
|
*
|
|
@@ -27,6 +28,6 @@ import * as i21 from "../../directives/po-tooltip/po-tooltip.module";
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class PoChartModule {
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoChartModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PoChartModule, [typeof i1.PoChartAreaComponent, typeof i2.PoChartAxisComponent, typeof i3.PoChartAxisPathComponent, typeof i4.PoChartAxisLabelComponent, typeof i5.PoChartComponent, typeof i6.PoChartContainerComponent, typeof i7.PoChartLegendComponent, typeof i8.PoChartLineComponent, typeof i9.PoChartPathComponent, typeof i10.PoChartPieComponent, typeof i11.PoChartDonutComponent, typeof i12.PoChartSeriesPointComponent, typeof i13.PoChartBarComponent, typeof i14.PoChartColumnComponent, typeof i15.PoChartBarPathComponent, typeof i16.PoChartCircularPathComponent, typeof i17.PoChartCircularLabelComponent, typeof i18.PoChartTooltipDirective, typeof i19.PoResizeObserverDirective], [typeof
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PoChartModule, [typeof i1.PoChartAreaComponent, typeof i2.PoChartAxisComponent, typeof i3.PoChartAxisPathComponent, typeof i4.PoChartAxisLabelComponent, typeof i5.PoChartComponent, typeof i6.PoChartContainerComponent, typeof i7.PoChartLegendComponent, typeof i8.PoChartLineComponent, typeof i9.PoChartPathComponent, typeof i10.PoChartPieComponent, typeof i11.PoChartDonutComponent, typeof i12.PoChartSeriesPointComponent, typeof i13.PoChartBarComponent, typeof i14.PoChartColumnComponent, typeof i15.PoChartBarPathComponent, typeof i16.PoChartCircularPathComponent, typeof i17.PoChartCircularLabelComponent, typeof i18.PoChartTooltipDirective, typeof i19.PoResizeObserverDirective, typeof i20.PoChartSwitchComponent], [typeof i21.CommonModule, typeof i22.PoTooltipModule], [typeof i5.PoChartComponent, typeof i20.PoChartSwitchComponent]>;
|
|
31
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<PoChartModule>;
|
|
32
33
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PoChartNewComponent } from './po-chart-new.component';
|
|
2
|
+
import { PoChartType } from '../po-chart/enums/po-chart-type.enum';
|
|
3
|
+
export declare class PoChartGridUtils {
|
|
4
|
+
private readonly component;
|
|
5
|
+
private isTypeDonut;
|
|
6
|
+
constructor(component: PoChartNewComponent);
|
|
7
|
+
setGridOption(options: any): void;
|
|
8
|
+
setOptionsAxis(options: any): void;
|
|
9
|
+
setOptionDataZoom(options: any): void;
|
|
10
|
+
setShowAxisDetails(options: any): void;
|
|
11
|
+
setSerieTypeLine(serie: any, tokenBorderWidthMd: number, color: string): void;
|
|
12
|
+
setSerieTypeArea(serie: any, index: number): void;
|
|
13
|
+
setSerieTypeBarColumn(serie: any, color: string): void;
|
|
14
|
+
setSerieTypeDonutPie(serie: any, color: string): void;
|
|
15
|
+
setListTypeDonutPie(type: PoChartType): void;
|
|
16
|
+
private getAdjustedRadius;
|
|
17
|
+
private normalizeToPercentage;
|
|
18
|
+
resolvePx(size: string, selector?: string): number;
|
|
19
|
+
private getPaddingBottomGrid;
|
|
20
|
+
private hasTopLegendOrNoZoom;
|
|
21
|
+
private hasBottomLegendWithZoom;
|
|
22
|
+
private getPaddingTopGrid;
|
|
23
|
+
}
|