@po-ui/ng-components 5.22.0 → 6.0.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/components.module.mjs +270 -0
- package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- package/{esm2015/lib/components/po-accordion/index.js → esm2020/lib/components/po-accordion/index.mjs} +0 -0
- package/{esm2015/lib/components/po-accordion/po-accordion-base.component.js → esm2020/lib/components/po-accordion/po-accordion-base.component.mjs} +0 -0
- package/esm2020/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.mjs +78 -0
- package/esm2020/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.mjs +44 -0
- package/esm2020/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.mjs +41 -0
- package/esm2020/lib/components/po-accordion/po-accordion.component.mjs +106 -0
- package/esm2020/lib/components/po-accordion/po-accordion.module.mjs +61 -0
- package/esm2020/lib/components/po-accordion/services/po-accordion.service.mjs +30 -0
- package/{esm2015/lib/components/po-avatar/index.js → esm2020/lib/components/po-avatar/index.mjs} +0 -0
- package/esm2020/lib/components/po-avatar/po-avatar-base.component.mjs +77 -0
- package/esm2020/lib/components/po-avatar/po-avatar.component.mjs +73 -0
- package/esm2020/lib/components/po-avatar/po-avatar.module.mjs +24 -0
- package/esm2020/lib/components/po-badge/po-badge-base.component.mjs +94 -0
- package/esm2020/lib/components/po-badge/po-badge.component.mjs +27 -0
- package/esm2020/lib/components/po-badge/po-badge.module.mjs +24 -0
- package/{esm2015/lib/components/po-breadcrumb/index.js → esm2020/lib/components/po-breadcrumb/index.mjs} +0 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-base.component.mjs +55 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-dropdown/po-breadcrumb-dropdown.component.mjs +40 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.mjs +113 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.mjs +49 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb-item/po-breadcrumb-item.component.mjs +109 -0
- package/{esm2015/lib/components/po-breadcrumb/po-breadcrumb-item.interface.js → esm2020/lib/components/po-breadcrumb/po-breadcrumb-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb.component.mjs +219 -0
- package/{esm2015/lib/components/po-breadcrumb/po-breadcrumb.interface.js → esm2020/lib/components/po-breadcrumb/po-breadcrumb.interface.mjs} +0 -0
- package/esm2020/lib/components/po-breadcrumb/po-breadcrumb.module.mjs +37 -0
- package/{esm2015/lib/components/po-button/index.js → esm2020/lib/components/po-button/index.mjs} +0 -0
- package/esm2020/lib/components/po-button/po-button-base.component.mjs +144 -0
- package/esm2020/lib/components/po-button/po-button.component.mjs +114 -0
- package/esm2020/lib/components/po-button/po-button.module.mjs +26 -0
- package/{esm2015/lib/components/po-button-group/index.js → esm2020/lib/components/po-button-group/index.mjs} +0 -0
- package/esm2020/lib/components/po-button-group/po-button-group-base.component.mjs +102 -0
- package/{esm2015/lib/components/po-button-group/po-button-group-item.interface.js → esm2020/lib/components/po-button-group/po-button-group-item.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-button-group/po-button-group-toggle.enum.js → esm2020/lib/components/po-button-group/po-button-group-toggle.enum.mjs} +0 -0
- package/esm2020/lib/components/po-button-group/po-button-group.component.mjs +62 -0
- package/esm2020/lib/components/po-button-group/po-button-group.module.mjs +26 -0
- package/{esm2015/lib/components/po-calendar/index.js → esm2020/lib/components/po-calendar/index.mjs} +0 -0
- package/esm2020/lib/components/po-calendar/po-calendar-base.component.mjs +183 -0
- package/esm2020/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.mjs +57 -0
- package/{esm2015/lib/components/po-calendar/po-calendar-mode.enum.js → esm2020/lib/components/po-calendar/po-calendar-mode.enum.mjs} +0 -0
- package/esm2020/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.mjs +469 -0
- package/esm2020/lib/components/po-calendar/po-calendar.component.mjs +257 -0
- package/esm2020/lib/components/po-calendar/po-calendar.module.mjs +25 -0
- package/esm2020/lib/components/po-calendar/services/po-calendar.lang.service.mjs +189 -0
- package/esm2020/lib/components/po-calendar/services/po-calendar.service.mjs +47 -0
- package/esm2020/lib/components/po-chart/directives/po-resize-observer.directive.mjs +46 -0
- package/esm2020/lib/components/po-chart/enums/po-chart-type.enum.mjs +38 -0
- package/{esm2015/lib/components/po-chart/helpers/po-chart-default-values.constant.js → esm2020/lib/components/po-chart/helpers/po-chart-default-values.constant.mjs} +0 -0
- package/esm2020/lib/components/po-chart/index.mjs +7 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-axis-options.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-axis-options.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-bar-coordinates.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-bar-coordinates.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-container-size.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-container-size.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-label-coordinates.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-label-coordinates.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-min-max-values.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-min-max-values.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-options.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-options.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-path-coordinates.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-path-coordinates.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-chart/interfaces/po-chart-points-coordinates.interface.js → esm2020/lib/components/po-chart/interfaces/po-chart-points-coordinates.interface.mjs} +0 -0
- package/esm2020/lib/components/po-chart/interfaces/po-chart-serie.interface.mjs +2 -0
- package/esm2020/lib/components/po-chart/po-chart-base.component.mjs +258 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.mjs +68 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.mjs +50 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.mjs +310 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-base.component.mjs +103 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.mjs +61 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.mjs +84 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.mjs +85 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.mjs +47 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.mjs +56 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.mjs +84 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.mjs +161 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.mjs +165 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.mjs +107 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-container.component.mjs +243 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.mjs +106 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.mjs +172 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.mjs +70 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.mjs +87 -0
- package/esm2020/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.mjs +128 -0
- package/esm2020/lib/components/po-chart/po-chart-legend/po-chart-legend.component.mjs +48 -0
- package/esm2020/lib/components/po-chart/po-chart-types/po-chart-dynamic-type.component.mjs +52 -0
- package/esm2020/lib/components/po-chart/po-chart.component.mjs +254 -0
- package/esm2020/lib/components/po-chart/po-chart.module.mjs +81 -0
- package/esm2020/lib/components/po-chart/services/po-chart-maths.service.mjs +136 -0
- package/esm2020/lib/components/po-chart/services/po-chart-svg-container.service.mjs +58 -0
- package/{esm2015/lib/components/po-container/index.js → esm2020/lib/components/po-container/index.mjs} +0 -0
- package/esm2020/lib/components/po-container/po-container-base.component.mjs +97 -0
- package/esm2020/lib/components/po-container/po-container.component.mjs +42 -0
- package/esm2020/lib/components/po-container/po-container.module.mjs +24 -0
- package/{esm2015/lib/components/po-disclaimer/index.js → esm2020/lib/components/po-disclaimer/index.mjs} +0 -0
- package/esm2020/lib/components/po-disclaimer/po-disclaimer-base.component.mjs +90 -0
- package/esm2020/lib/components/po-disclaimer/po-disclaimer.component.mjs +60 -0
- package/{esm2015/lib/components/po-disclaimer/po-disclaimer.interface.js → esm2020/lib/components/po-disclaimer/po-disclaimer.interface.mjs} +0 -0
- package/esm2020/lib/components/po-disclaimer/po-disclaimer.module.mjs +23 -0
- package/{esm2015/lib/components/po-disclaimer-group/index.js → esm2020/lib/components/po-disclaimer-group/index.mjs} +0 -0
- package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.mjs +206 -0
- package/{esm2015/lib/components/po-disclaimer-group/po-disclaimer-group-remove-action.interface.js → esm2020/lib/components/po-disclaimer-group/po-disclaimer-group-remove-action.interface.mjs} +0 -0
- package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-group.component.mjs +80 -0
- package/{esm2015/lib/components/po-disclaimer-group/po-disclaimer-group.interface.js → esm2020/lib/components/po-disclaimer-group/po-disclaimer-group.interface.mjs} +0 -0
- package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-group.module.mjs +26 -0
- package/esm2020/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.mjs +40 -0
- package/{esm2015/lib/components/po-divider/index.js → esm2020/lib/components/po-divider/index.mjs} +0 -0
- package/esm2020/lib/components/po-divider/po-divider-base.component.mjs +19 -0
- package/esm2020/lib/components/po-divider/po-divider.component.mjs +49 -0
- package/esm2020/lib/components/po-divider/po-divider.module.mjs +24 -0
- package/{esm2015/lib/components/po-dropdown/index.js → esm2020/lib/components/po-dropdown/index.mjs} +0 -0
- package/{esm2015/lib/components/po-dropdown/po-dropdown-action.interface.js → esm2020/lib/components/po-dropdown/po-dropdown-action.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dropdown/po-dropdown-base.component.mjs +78 -0
- package/esm2020/lib/components/po-dropdown/po-dropdown.component.mjs +130 -0
- package/esm2020/lib/components/po-dropdown/po-dropdown.module.mjs +24 -0
- package/{esm2015/lib/components/po-dynamic/index.js → esm2020/lib/components/po-dynamic/index.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-field-type.enum.js → esm2020/lib/components/po-dynamic/po-dynamic-field-type.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-field.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-field.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.mjs +121 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-field.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-field-internal.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-field-internal.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.mjs +221 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.mjs +350 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.mjs +32 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-operation/po-dynamic-form-operation.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-response.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-response.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-changed.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-changed.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-validation.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-field-validation.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.mjs +39 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.mjs +203 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.mjs +169 -0
- package/{esm2015/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-field.interface.js → esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-field.interface.mjs} +0 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.mjs +141 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.service.mjs +17 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic.module.mjs +53 -0
- package/esm2020/lib/components/po-dynamic/po-dynamic.util.mjs +18 -0
- package/esm2020/lib/components/po-field/index.mjs +53 -0
- package/esm2020/lib/components/po-field/po-checkbox/po-checkbox-base.component.mjs +109 -0
- package/esm2020/lib/components/po-field/po-checkbox/po-checkbox.component.mjs +118 -0
- package/{esm2015/lib/components/po-field/po-checkbox-group/interfaces/po-checkbox-group-option-view.interface.js → esm2020/lib/components/po-field/po-checkbox-group/interfaces/po-checkbox-group-option-view.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-checkbox-group/interfaces/po-checkbox-group-option.interface.js → esm2020/lib/components/po-field/po-checkbox-group/interfaces/po-checkbox-group-option.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.mjs +322 -0
- package/esm2020/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.mjs +150 -0
- package/esm2020/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.mjs +26 -0
- package/esm2020/lib/components/po-field/po-clean/index.mjs +2 -0
- package/esm2020/lib/components/po-field/po-clean/po-clean-base.component.mjs +49 -0
- package/esm2020/lib/components/po-field/po-clean/po-clean.component.mjs +45 -0
- package/esm2020/lib/components/po-field/po-clean/po-clean.module.mjs +24 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-combo-filter.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-combo-filter.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-combo-group.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-combo-group.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-combo-literals.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-combo-option-group.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-combo-option-group.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-combo-option.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-combo-option.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-combo/interfaces/po-response.interface.js → esm2020/lib/components/po-field/po-combo/interfaces/po-response.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-combo/po-combo-base.component.mjs +803 -0
- package/{esm2015/lib/components/po-field/po-combo/po-combo-filter-mode.enum.js → esm2020/lib/components/po-field/po-combo/po-combo-filter-mode.enum.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-combo/po-combo-filter.service.mjs +79 -0
- package/esm2020/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.mjs +82 -0
- package/esm2020/lib/components/po-field/po-combo/po-combo.component.mjs +746 -0
- package/{esm2015/lib/components/po-field/po-datepicker/enums/po-datepicker-iso-format.enum.js → esm2020/lib/components/po-field/po-datepicker/enums/po-datepicker-iso-format.enum.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker-base.component.mjs +428 -0
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker.component.mjs +439 -0
- package/esm2020/lib/components/po-field/po-datepicker/po-datepicker.module.mjs +28 -0
- package/{esm2015/lib/components/po-field/po-datepicker-range/interfaces/po-datepicker-range-literals.interface.js → esm2020/lib/components/po-field/po-datepicker-range/interfaces/po-datepicker-range-literals.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-datepicker-range/interfaces/po-datepicker-range.interface.js → esm2020/lib/components/po-field/po-datepicker-range/interfaces/po-datepicker-range.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.mjs +506 -0
- package/esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.mjs +528 -0
- package/{esm2015/lib/components/po-field/po-datepicker-range/po-datepicker-range.literals.js → esm2020/lib/components/po-field/po-datepicker-range/po-datepicker-range.literals.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-decimal/po-decimal.component.mjs +667 -0
- package/esm2020/lib/components/po-field/po-email/po-email.component.mjs +150 -0
- package/esm2020/lib/components/po-field/po-field-container/index.mjs +4 -0
- package/esm2020/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.mjs +47 -0
- package/{esm2015/lib/components/po-field/po-field-container/po-field-container-literals.js → esm2020/lib/components/po-field/po-field-container/po-field-container-literals.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-field-container/po-field-container.component.mjs +81 -0
- package/esm2020/lib/components/po-field/po-field-container/po-field-container.module.mjs +25 -0
- package/esm2020/lib/components/po-field/po-field-validate.model.mjs +74 -0
- package/esm2020/lib/components/po-field/po-field.model.mjs +90 -0
- package/esm2020/lib/components/po-field/po-field.module.mjs +268 -0
- package/esm2020/lib/components/po-field/po-input/po-input-base.component.mjs +397 -0
- package/esm2020/lib/components/po-field/po-input/po-input.component.mjs +111 -0
- package/{esm2015/lib/components/po-field/po-input/po-mask.js → esm2020/lib/components/po-field/po-input/po-mask.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-input-generic/po-input-generic.mjs +197 -0
- package/esm2020/lib/components/po-field/po-login/po-login.component.mjs +100 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-advanced-filter.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-column.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-column.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-filter.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-filter.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-filtered-items-params.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-filtered-items-params.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-literals.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-literals.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-lookup/interfaces/po-lookup-response-api.interface.js → esm2020/lib/components/po-field/po-lookup/interfaces/po-lookup-response-api.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-lookup/po-lookup-base.component.mjs +499 -0
- package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.mjs +384 -0
- package/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.mjs +225 -0
- package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +433 -0
- package/esm2020/lib/components/po-field/po-lookup/services/po-lookup-filter.service.mjs +59 -0
- package/esm2020/lib/components/po-field/po-lookup/services/po-lookup-modal.service.mjs +62 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-base.component.mjs +620 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.mjs +258 -0
- package/{esm2015/lib/components/po-field/po-multiselect/po-multiselect-filter-mode.enum.js → esm2020/lib/components/po-field/po-multiselect/po-multiselect-filter-mode.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-multiselect/po-multiselect-filter.interface.js → esm2020/lib/components/po-field/po-multiselect/po-multiselect-filter.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-filter.service.mjs +50 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-item/po-multiselect-item.component.mjs +54 -0
- package/{esm2015/lib/components/po-field/po-multiselect/po-multiselect-literals.interface.js → esm2020/lib/components/po-field/po-multiselect/po-multiselect-literals.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-multiselect/po-multiselect-option.interface.js → esm2020/lib/components/po-field/po-multiselect/po-multiselect-option.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.mjs +82 -0
- package/esm2020/lib/components/po-field/po-multiselect/po-multiselect.component.mjs +424 -0
- package/esm2020/lib/components/po-field/po-number/po-number-base.component.mjs +113 -0
- package/esm2020/lib/components/po-field/po-number/po-number.component.mjs +178 -0
- package/esm2020/lib/components/po-field/po-password/po-password.component.mjs +151 -0
- package/esm2020/lib/components/po-field/po-radio-group/po-radio-group-base.component.mjs +201 -0
- package/{esm2015/lib/components/po-field/po-radio-group/po-radio-group-option.interface.js → esm2020/lib/components/po-field/po-radio-group/po-radio-group-option.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-radio-group/po-radio-group.component.mjs +182 -0
- package/{esm2015/lib/components/po-field/po-rich-text/interfaces/po-rich-text-toolbar-button-group-item.interface.js → esm2020/lib/components/po-field/po-rich-text/interfaces/po-rich-text-toolbar-button-group-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-base.component.mjs +203 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.mjs +342 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.mjs +135 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.mjs +177 -0
- package/{esm2015/lib/components/po-field/po-rich-text/po-rich-text-literals.js → esm2020/lib/components/po-field/po-rich-text/po-rich-text-literals.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.mjs +254 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text.component.mjs +173 -0
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text.service.mjs +20 -0
- package/esm2020/lib/components/po-field/po-select/po-select-option-template/po-select-option-template.directive.mjs +60 -0
- package/{esm2015/lib/components/po-field/po-select/po-select-option.interface.js → esm2020/lib/components/po-field/po-select/po-select-option.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-select/po-select.component.mjs +513 -0
- package/{esm2015/lib/components/po-field/po-switch/po-switch-label-position.enum.js → esm2020/lib/components/po-field/po-switch/po-switch-label-position.enum.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-switch/po-switch.component.mjs +236 -0
- package/esm2020/lib/components/po-field/po-textarea/po-textarea-base.component.mjs +299 -0
- package/esm2020/lib/components/po-field/po-textarea/po-textarea.component.mjs +159 -0
- package/{esm2015/lib/components/po-field/po-upload/interfaces/po-upload-file-restriction.interface.js → esm2020/lib/components/po-field/po-upload/interfaces/po-upload-file-restriction.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-upload/interfaces/po-upload-literals.interface.js → esm2020/lib/components/po-field/po-upload/interfaces/po-upload-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-base.component.mjs +634 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-base.service.mjs +89 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.mjs +95 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.mjs +61 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.mjs +101 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.mjs +179 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.mjs +151 -0
- package/{esm2015/lib/components/po-field/po-upload/po-upload-file.js → esm2020/lib/components/po-field/po-upload/po-upload-file.mjs} +0 -0
- package/{esm2015/lib/components/po-field/po-upload/po-upload-status.enum.js → esm2020/lib/components/po-field/po-upload/po-upload-status.enum.mjs} +0 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload.component.mjs +445 -0
- package/esm2020/lib/components/po-field/po-upload/po-upload.service.mjs +11 -0
- package/esm2020/lib/components/po-field/po-url/po-url.component.mjs +141 -0
- package/{esm2015/lib/components/po-field/validators.js → esm2020/lib/components/po-field/validators.mjs} +0 -0
- package/{esm2015/lib/components/po-gauge/index.js → esm2020/lib/components/po-gauge/index.mjs} +0 -0
- package/{esm2015/lib/components/po-gauge/interfaces/po-gauge-coordinates.interface.js → esm2020/lib/components/po-gauge/interfaces/po-gauge-coordinates.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-gauge/interfaces/po-gauge-ranges.interface.js → esm2020/lib/components/po-gauge/interfaces/po-gauge-ranges.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-gauge/interfaces/po-gauge-svg-container.interface.js → esm2020/lib/components/po-gauge/interfaces/po-gauge-svg-container.interface.mjs} +0 -0
- package/esm2020/lib/components/po-gauge/po-gauge-base.component.mjs +154 -0
- package/{esm2015/lib/components/po-gauge/po-gauge-default-values.constant.js → esm2020/lib/components/po-gauge/po-gauge-default-values.constant.mjs} +0 -0
- package/esm2020/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.mjs +110 -0
- package/esm2020/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.mjs +70 -0
- package/esm2020/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.mjs +43 -0
- package/esm2020/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.mjs +66 -0
- package/esm2020/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.mjs +236 -0
- package/esm2020/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.mjs +28 -0
- package/esm2020/lib/components/po-gauge/po-gauge.component.mjs +109 -0
- package/esm2020/lib/components/po-gauge/po-gauge.module.mjs +44 -0
- package/{esm2015/lib/components/po-grid/index.js → esm2020/lib/components/po-grid/index.mjs} +0 -0
- package/esm2020/lib/components/po-grid/po-grid-cell/po-grid-cell.component.mjs +179 -0
- package/esm2020/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.mjs +40 -0
- package/esm2020/lib/components/po-grid/po-grid-head/po-grid-head.component.mjs +56 -0
- package/{esm2015/lib/components/po-grid/po-grid-row-actions.interface.js → esm2020/lib/components/po-grid/po-grid-row-actions.interface.mjs} +0 -0
- package/esm2020/lib/components/po-grid/po-grid.component.mjs +573 -0
- package/esm2020/lib/components/po-grid/po-grid.module.mjs +29 -0
- package/{esm2015/lib/components/po-icon/index.js → esm2020/lib/components/po-icon/index.mjs} +0 -0
- package/esm2020/lib/components/po-icon/po-icon.component.mjs +77 -0
- package/esm2020/lib/components/po-icon/po-icon.module.mjs +24 -0
- package/{esm2015/lib/components/po-info/index.js → esm2020/lib/components/po-info/index.mjs} +0 -0
- package/esm2020/lib/components/po-info/po-info-base.component.mjs +73 -0
- package/{esm2015/lib/components/po-info/po-info-orietation.enum.js → esm2020/lib/components/po-info/po-info-orietation.enum.mjs} +0 -0
- package/esm2020/lib/components/po-info/po-info.component.mjs +110 -0
- package/esm2020/lib/components/po-info/po-info.module.mjs +27 -0
- package/{esm2015/lib/components/po-list-view/index.js → esm2020/lib/components/po-list-view/index.mjs} +0 -0
- package/{esm2015/lib/components/po-list-view/interfaces/po-list-view-action.interface.js → esm2020/lib/components/po-list-view/interfaces/po-list-view-action.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-list-view/interfaces/po-list-view-literals.interface.js → esm2020/lib/components/po-list-view/interfaces/po-list-view-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-list-view/po-list-view-base.component.mjs +298 -0
- package/esm2020/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.mjs +102 -0
- package/esm2020/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.mjs +65 -0
- package/esm2020/lib/components/po-list-view/po-list-view.component.mjs +385 -0
- package/esm2020/lib/components/po-list-view/po-list-view.module.mjs +57 -0
- package/{esm2015/lib/components/po-loading/index.js → esm2020/lib/components/po-loading/index.mjs} +0 -0
- package/esm2020/lib/components/po-loading/po-loading-base.component.mjs +27 -0
- package/esm2020/lib/components/po-loading/po-loading-icon/po-loading-icon.component.mjs +51 -0
- package/{esm2015/lib/components/po-loading/po-loading-overlay/interfaces/po-loading-overlay-literals.interface.js → esm2020/lib/components/po-loading/po-loading-overlay/interfaces/po-loading-overlay-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.mjs +93 -0
- package/esm2020/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.mjs +47 -0
- package/esm2020/lib/components/po-loading/po-loading.component.mjs +36 -0
- package/esm2020/lib/components/po-loading/po-loading.module.mjs +28 -0
- package/{esm2015/lib/components/po-menu/index.js → esm2020/lib/components/po-menu/index.mjs} +0 -0
- package/esm2020/lib/components/po-menu/po-menu-base.component.mjs +312 -0
- package/{esm2015/lib/components/po-menu/po-menu-filter/po-menu-filter-literals.interface.js → esm2020/lib/components/po-menu/po-menu-filter/po-menu-filter-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu/po-menu-filter/po-menu-filter.component.mjs +85 -0
- package/{esm2015/lib/components/po-menu/po-menu-filter/po-menu-filter.interface.js → esm2020/lib/components/po-menu/po-menu-filter/po-menu-filter.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.mjs +52 -0
- package/{esm2015/lib/components/po-menu/po-menu-item/po-menu-item-badge.interface.js → esm2020/lib/components/po-menu/po-menu-item/po-menu-item-badge.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-menu/po-menu-item/po-menu-item-filtered.interface.js → esm2020/lib/components/po-menu/po-menu-item/po-menu-item-filtered.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu/po-menu-item/po-menu-item.component.mjs +362 -0
- package/{esm2015/lib/components/po-menu/po-menu-item.interface.js → esm2020/lib/components/po-menu/po-menu-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu/po-menu.component.mjs +611 -0
- package/esm2020/lib/components/po-menu/po-menu.module.mjs +32 -0
- package/esm2020/lib/components/po-menu/services/po-menu-global.service.mjs +34 -0
- package/esm2020/lib/components/po-menu/services/po-menu-items.service.mjs +38 -0
- package/esm2020/lib/components/po-menu/services/po-menu.service.mjs +38 -0
- package/{esm2015/lib/components/po-menu-panel/index.js → esm2020/lib/components/po-menu-panel/index.mjs} +0 -0
- package/esm2020/lib/components/po-menu-panel/po-menu-panel-base.component.mjs +81 -0
- package/{esm2015/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item-internal.interface.js → esm2020/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item-internal.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.mjs +120 -0
- package/{esm2015/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.interface.js → esm2020/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-menu-panel/po-menu-panel.component.mjs +171 -0
- package/esm2020/lib/components/po-menu-panel/po-menu-panel.module.mjs +30 -0
- package/esm2020/lib/components/po-menu-panel/services/po-menu-panel-items.service.mjs +38 -0
- package/{esm2015/lib/components/po-modal/index.js → esm2020/lib/components/po-modal/index.mjs} +0 -0
- package/{esm2015/lib/components/po-modal/po-modal-action.interface.js → esm2020/lib/components/po-modal/po-modal-action.interface.mjs} +0 -0
- package/esm2020/lib/components/po-modal/po-modal-base.component.mjs +133 -0
- package/esm2020/lib/components/po-modal/po-modal-footer/po-modal-footer.component.mjs +52 -0
- package/esm2020/lib/components/po-modal/po-modal.component.mjs +207 -0
- package/{esm2015/lib/components/po-modal/po-modal.literals.js → esm2020/lib/components/po-modal/po-modal.literals.mjs} +0 -0
- package/esm2020/lib/components/po-modal/po-modal.module.mjs +25 -0
- package/{esm2015/lib/components/po-navbar/index.js → esm2020/lib/components/po-navbar/index.mjs} +0 -0
- package/{esm2015/lib/components/po-navbar/interfaces/po-navbar-icon-action.interface.js → esm2020/lib/components/po-navbar/interfaces/po-navbar-icon-action.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-navbar/interfaces/po-navbar-item.interface.js → esm2020/lib/components/po-navbar/interfaces/po-navbar-item.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-navbar/interfaces/po-navbar-literals.interface.js → esm2020/lib/components/po-navbar/interfaces/po-navbar-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.mjs +56 -0
- package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.mjs +33 -0
- package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.mjs +36 -0
- package/esm2020/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.module.mjs +24 -0
- package/esm2020/lib/components/po-navbar/po-navbar-base.component.mjs +158 -0
- package/esm2020/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.mjs +34 -0
- package/esm2020/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.mjs +35 -0
- package/esm2020/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.module.mjs +21 -0
- package/esm2020/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.mjs +78 -0
- package/esm2020/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.mjs +86 -0
- package/esm2020/lib/components/po-navbar/po-navbar-items/po-navbar-items.module.mjs +21 -0
- package/esm2020/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.mjs +28 -0
- package/esm2020/lib/components/po-navbar/po-navbar.component.mjs +262 -0
- package/esm2020/lib/components/po-navbar/po-navbar.module.mjs +75 -0
- package/{esm2015/lib/components/po-page/index.js → esm2020/lib/components/po-page/index.mjs} +0 -0
- package/{esm2015/lib/components/po-page/po-page-action.interface.js → esm2020/lib/components/po-page/po-page-action.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-page/po-page-base.component.js → esm2020/lib/components/po-page/po-page-base.component.mjs} +0 -0
- package/{esm2015/lib/components/po-page/po-page-content/po-page-content-base.component.js → esm2020/lib/components/po-page/po-page-content/po-page-content-base.component.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-content/po-page-content.component.mjs +60 -0
- package/esm2020/lib/components/po-page/po-page-default/po-page-default-base.component.mjs +128 -0
- package/{esm2015/lib/components/po-page/po-page-default/po-page-default-literals.interface.js → esm2020/lib/components/po-page/po-page-default/po-page-default-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-default/po-page-default.component.mjs +165 -0
- package/{esm2015/lib/components/po-page/po-page-default/po-page-default.interface.js → esm2020/lib/components/po-page/po-page-default/po-page-default.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-detail/po-page-detail-base.component.mjs +162 -0
- package/{esm2015/lib/components/po-page/po-page-detail/po-page-detail-literals.interface.js → esm2020/lib/components/po-page/po-page-detail/po-page-detail-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-detail/po-page-detail.component.mjs +132 -0
- package/esm2020/lib/components/po-page/po-page-edit/po-page-edit-base.component.mjs +169 -0
- package/{esm2015/lib/components/po-page/po-page-edit/po-page-edit-literals.interface.js → esm2020/lib/components/po-page/po-page-edit/po-page-edit-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-edit/po-page-edit.component.mjs +135 -0
- package/{esm2015/lib/components/po-page/po-page-filter.interface.js → esm2020/lib/components/po-page/po-page-filter.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-header/po-page-header-base.component.mjs +31 -0
- package/esm2020/lib/components/po-page/po-page-header/po-page-header.component.mjs +51 -0
- package/esm2020/lib/components/po-page/po-page-list/po-page-list-base.component.mjs +158 -0
- package/{esm2015/lib/components/po-page/po-page-list/po-page-list-literals.interface.js → esm2020/lib/components/po-page/po-page-list/po-page-list-literals.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page-list/po-page-list.component.mjs +323 -0
- package/esm2020/lib/components/po-page/po-page-slide/po-page-slide-base.component.mjs +146 -0
- package/esm2020/lib/components/po-page/po-page-slide/po-page-slide.component.mjs +197 -0
- package/esm2020/lib/components/po-page/po-page.component.mjs +23 -0
- package/{esm2015/lib/components/po-page/po-page.interface.js → esm2020/lib/components/po-page/po-page.interface.mjs} +0 -0
- package/esm2020/lib/components/po-page/po-page.module.mjs +97 -0
- package/{esm2015/lib/components/po-popover/index.js → esm2020/lib/components/po-popover/index.mjs} +0 -0
- package/esm2020/lib/components/po-popover/po-popover-base.component.mjs +126 -0
- package/esm2020/lib/components/po-popover/po-popover.component.mjs +173 -0
- package/esm2020/lib/components/po-popover/po-popover.module.mjs +23 -0
- package/{esm2015/lib/components/po-popup/index.js → esm2020/lib/components/po-popup/index.mjs} +0 -0
- package/{esm2015/lib/components/po-popup/po-popup-action.interface.js → esm2020/lib/components/po-popup/po-popup-action.interface.mjs} +0 -0
- package/esm2020/lib/components/po-popup/po-popup-base.component.mjs +199 -0
- package/esm2020/lib/components/po-popup/po-popup.component.mjs +232 -0
- package/esm2020/lib/components/po-popup/po-popup.module.mjs +27 -0
- package/{esm2015/lib/components/po-progress/enums/po-progress-status.enum.js → esm2020/lib/components/po-progress/enums/po-progress-status.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-progress/index.js → esm2020/lib/components/po-progress/index.mjs} +0 -0
- package/esm2020/lib/components/po-progress/po-progress-bar/po-progress-bar.component.mjs +29 -0
- package/esm2020/lib/components/po-progress/po-progress-base.component.mjs +124 -0
- package/esm2020/lib/components/po-progress/po-progress.component.mjs +140 -0
- package/esm2020/lib/components/po-progress/po-progress.module.mjs +25 -0
- package/esm2020/lib/components/po-slide/directives/po-slide-content-template.directive.mjs +60 -0
- package/{esm2015/lib/components/po-slide/index.js → esm2020/lib/components/po-slide/index.mjs} +0 -0
- package/{esm2015/lib/components/po-slide/interfaces/po-slide-item.interface.js → esm2020/lib/components/po-slide/interfaces/po-slide-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-slide/po-slide-base.component.mjs +113 -0
- package/esm2020/lib/components/po-slide/po-slide-circles/po-slide-circles.component.mjs +52 -0
- package/esm2020/lib/components/po-slide/po-slide-control/po-slide-control.component.mjs +39 -0
- package/esm2020/lib/components/po-slide/po-slide-item/po-slide-item.component.mjs +152 -0
- package/esm2020/lib/components/po-slide/po-slide.component.mjs +330 -0
- package/esm2020/lib/components/po-slide/po-slide.module.mjs +68 -0
- package/{esm2015/lib/components/po-stepper/enums/po-stepper-orientation.enum.js → esm2020/lib/components/po-stepper/enums/po-stepper-orientation.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-stepper/enums/po-stepper-status.enum.js → esm2020/lib/components/po-stepper/enums/po-stepper-status.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-stepper/index.js → esm2020/lib/components/po-stepper/index.mjs} +0 -0
- package/esm2020/lib/components/po-stepper/po-step/po-step.component.mjs +84 -0
- package/esm2020/lib/components/po-stepper/po-stepper-base.component.mjs +159 -0
- package/esm2020/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.mjs +80 -0
- package/{esm2015/lib/components/po-stepper/po-stepper-item.interface.js → esm2020/lib/components/po-stepper/po-stepper-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.mjs +28 -0
- package/esm2020/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.mjs +165 -0
- package/esm2020/lib/components/po-stepper/po-stepper.component.mjs +256 -0
- package/esm2020/lib/components/po-stepper/po-stepper.module.mjs +37 -0
- package/{esm2015/lib/components/po-table/enums/po-table-column-sort-type.enum.js → esm2020/lib/components/po-table/enums/po-table-column-sort-type.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-table/enums/po-table-row-template-arrow-direction.enum.js → esm2020/lib/components/po-table/enums/po-table-row-template-arrow-direction.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-table/index.js → esm2020/lib/components/po-table/index.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-action.interface.js → esm2020/lib/components/po-table/interfaces/po-table-action.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-boolean.interface.js → esm2020/lib/components/po-table/interfaces/po-table-boolean.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-column-sort.interface.js → esm2020/lib/components/po-table/interfaces/po-table-column-sort.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/interfaces/po-table-column.interface.mjs +2 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-filter.interface.js → esm2020/lib/components/po-table/interfaces/po-table-filter.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-filtered-items-params.interface.js → esm2020/lib/components/po-table/interfaces/po-table-filtered-items-params.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-literals.interface.js → esm2020/lib/components/po-table/interfaces/po-table-literals.interface.mjs} +0 -0
- package/{esm2015/lib/components/po-table/interfaces/po-table-response-api.interface.js → esm2020/lib/components/po-table/interfaces/po-table-response-api.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-base.component.mjs +937 -0
- package/esm2020/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.mjs +83 -0
- package/esm2020/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.mjs +92 -0
- package/{esm2015/lib/components/po-table/po-table-column-icon/po-table-column-icon.interface.js → esm2020/lib/components/po-table/po-table-column-icon/po-table-column-icon.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-column-label/po-table-column-label.component.mjs +43 -0
- package/{esm2015/lib/components/po-table/po-table-column-label/po-table-column-label.interface.js → esm2020/lib/components/po-table/po-table-column-label/po-table-column-label.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-column-link/po-table-column-link.component.mjs +105 -0
- package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +317 -0
- package/esm2020/lib/components/po-table/po-table-column-template/po-table-column-template.directive.mjs +91 -0
- package/{esm2015/lib/components/po-table/po-table-detail/po-table-detail-column.interface.js → esm2020/lib/components/po-table/po-table-detail/po-table-detail-column.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-detail/po-table-detail.component.mjs +274 -0
- package/{esm2015/lib/components/po-table/po-table-detail/po-table-detail.interface.js → esm2020/lib/components/po-table/po-table-detail/po-table-detail.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-icon/po-table-icon.component.mjs +67 -0
- package/esm2020/lib/components/po-table/po-table-row-template/po-table-row-template.directive.mjs +131 -0
- package/esm2020/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.mjs +61 -0
- package/esm2020/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.mjs +49 -0
- package/{esm2015/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-column.interface.js → esm2020/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-column.interface.mjs} +0 -0
- package/esm2020/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.mjs +102 -0
- package/esm2020/lib/components/po-table/po-table.component.mjs +1437 -0
- package/esm2020/lib/components/po-table/po-table.module.mjs +122 -0
- package/esm2020/lib/components/po-table/services/po-table.service.mjs +37 -0
- package/{esm2015/lib/components/po-tabs/index.js → esm2020/lib/components/po-tabs/index.mjs} +0 -0
- package/esm2020/lib/components/po-tabs/po-tab/po-tab-base.component.mjs +93 -0
- package/esm2020/lib/components/po-tabs/po-tab/po-tab.component.mjs +29 -0
- package/{esm2015/lib/components/po-tabs/po-tab/po-tab.interface.js → esm2020/lib/components/po-tabs/po-tab/po-tab.interface.mjs} +0 -0
- package/esm2020/lib/components/po-tabs/po-tab-button/po-tab-button.component.mjs +101 -0
- package/esm2020/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.mjs +109 -0
- package/esm2020/lib/components/po-tabs/po-tabs-base.component.mjs +52 -0
- package/esm2020/lib/components/po-tabs/po-tabs.component.mjs +188 -0
- package/esm2020/lib/components/po-tabs/po-tabs.module.mjs +27 -0
- package/{esm2015/lib/components/po-tag/enums/po-tag-icon.enum.js → esm2020/lib/components/po-tag/enums/po-tag-icon.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-tag/enums/po-tag-orientation.enum.js → esm2020/lib/components/po-tag/enums/po-tag-orientation.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-tag/enums/po-tag-type.enum.js → esm2020/lib/components/po-tag/enums/po-tag-type.enum.mjs} +0 -0
- package/{esm2015/lib/components/po-tag/index.js → esm2020/lib/components/po-tag/index.mjs} +0 -0
- package/{esm2015/lib/components/po-tag/interfaces/po-tag-item.interface.js → esm2020/lib/components/po-tag/interfaces/po-tag-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-tag/po-tag-base.component.mjs +192 -0
- package/esm2020/lib/components/po-tag/po-tag.component.mjs +114 -0
- package/esm2020/lib/components/po-tag/po-tag.module.mjs +27 -0
- package/{esm2015/lib/components/po-toolbar/index.js → esm2020/lib/components/po-toolbar/index.mjs} +0 -0
- package/{esm2015/lib/components/po-toolbar/po-toolbar-action.interface.js → esm2020/lib/components/po-toolbar/po-toolbar-action.interface.mjs} +0 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.mjs +55 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar-base.component.mjs +60 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.mjs +66 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.mjs +78 -0
- package/{esm2015/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.interface.js → esm2020/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.interface.mjs} +0 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar.component.mjs +85 -0
- package/esm2020/lib/components/po-toolbar/po-toolbar.module.mjs +41 -0
- package/{esm2015/lib/components/po-tree-view/index.js → esm2020/lib/components/po-tree-view/index.mjs} +0 -0
- package/esm2020/lib/components/po-tree-view/po-tree-view-base.component.mjs +209 -0
- package/esm2020/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.mjs +106 -0
- package/{esm2015/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.interface.js → esm2020/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.interface.mjs} +0 -0
- package/esm2020/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.mjs +91 -0
- package/esm2020/lib/components/po-tree-view/po-tree-view.component.mjs +82 -0
- package/esm2020/lib/components/po-tree-view/po-tree-view.module.mjs +55 -0
- package/esm2020/lib/components/po-tree-view/services/po-tree-view.service.mjs +27 -0
- package/{esm2015/lib/components/po-widget/index.js → esm2020/lib/components/po-widget/index.mjs} +0 -0
- package/esm2020/lib/components/po-widget/po-widget-base.component.mjs +247 -0
- package/esm2020/lib/components/po-widget/po-widget.component.mjs +245 -0
- package/esm2020/lib/components/po-widget/po-widget.module.mjs +25 -0
- package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
- package/{esm2015/lib/decorators/input-boolean/input-boolean.decorator.js → esm2020/lib/decorators/input-boolean/input-boolean.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/input-required/input-required.decorator.js → esm2020/lib/decorators/input-required/input-required.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/property-decorator.interface.js → esm2020/lib/decorators/property-decorator.interface.mjs} +0 -0
- package/{esm2015/lib/decorators/utils-decorators.js → esm2020/lib/decorators/utils-decorators.mjs} +0 -0
- package/esm2020/lib/directives/directives.module.mjs +20 -0
- package/{esm2015/lib/directives/index.js → esm2020/lib/directives/index.mjs} +0 -0
- package/{esm2015/lib/directives/po-tooltip/index.js → esm2020/lib/directives/po-tooltip/index.mjs} +0 -0
- package/esm2020/lib/directives/po-tooltip/po-tooltip-base.directive.mjs +115 -0
- package/esm2020/lib/directives/po-tooltip/po-tooltip-control-position.service.mjs +11 -0
- package/esm2020/lib/directives/po-tooltip/po-tooltip.directive.mjs +151 -0
- package/esm2020/lib/directives/po-tooltip/po-tooltip.module.mjs +24 -0
- package/{esm2015/lib/enums/po-color-palette.enum.js → esm2020/lib/enums/po-color-palette.enum.mjs} +0 -0
- package/{esm2015/lib/enums/po-key-code.enum.js → esm2020/lib/enums/po-key-code.enum.mjs} +0 -0
- package/esm2020/lib/guards/guards.module.mjs +18 -0
- package/{esm2015/lib/guards/index.js → esm2020/lib/guards/index.mjs} +0 -0
- package/{esm2015/lib/index.js → esm2020/lib/index.mjs} +0 -0
- package/{esm2015/lib/interceptors/index.js → esm2020/lib/interceptors/index.mjs} +0 -0
- package/esm2020/lib/interceptors/interceptors.module.mjs +21 -0
- package/{esm2015/lib/interceptors/po-http-interceptor/index.js → esm2020/lib/interceptors/po-http-interceptor/index.mjs} +0 -0
- package/esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.mjs +252 -0
- package/{esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail-literals.interface.js → esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail-literals.interface.mjs} +0 -0
- package/esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.mjs +172 -0
- package/{esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.interface.js → esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.interface.mjs} +0 -0
- package/{esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor-literals.js → esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor-literals.mjs} +0 -0
- package/esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor.module.mjs +42 -0
- package/esm2020/lib/interceptors/po-http-interceptor/po-http-interceptor.service.mjs +26 -0
- package/{esm2015/lib/interceptors/po-http-request/index.js → esm2020/lib/interceptors/po-http-request/index.mjs} +0 -0
- package/esm2020/lib/interceptors/po-http-request/po-http-request-control-service.mjs +26 -0
- package/esm2020/lib/interceptors/po-http-request/po-http-request-interceptor.service.mjs +165 -0
- package/esm2020/lib/interceptors/po-http-request/po-http-request.module.mjs +39 -0
- package/{esm2015/lib/interfaces/index.js → esm2020/lib/interfaces/index.mjs} +0 -0
- package/{esm2015/lib/interfaces/po-http/po-response-api.interface.js → esm2020/lib/interfaces/po-http/po-response-api.interface.mjs} +0 -0
- package/{esm2015/lib/pipes/index.js → esm2020/lib/pipes/index.mjs} +0 -0
- package/esm2020/lib/pipes/pipes.module.mjs +20 -0
- package/{esm2015/lib/pipes/po-time/index.js → esm2020/lib/pipes/po-time/index.mjs} +0 -0
- package/esm2020/lib/pipes/po-time/po-time.module.mjs +25 -0
- package/esm2020/lib/pipes/po-time/po-time.pipe.mjs +59 -0
- package/esm2020/lib/po.module.mjs +62 -0
- package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- package/{esm2015/lib/services/po-active-overlay/index.js → esm2020/lib/services/po-active-overlay/index.mjs} +0 -0
- package/esm2020/lib/services/po-active-overlay/po-active-overlay.module.mjs +21 -0
- package/esm2020/lib/services/po-active-overlay/po-active-overlay.service.mjs +16 -0
- package/esm2020/lib/services/po-color/po-color.service.mjs +62 -0
- package/{esm2015/lib/services/po-color/po-colors.constant.js → esm2020/lib/services/po-color/po-colors.constant.mjs} +0 -0
- package/{esm2015/lib/services/po-color-palette/index.js → esm2020/lib/services/po-color-palette/index.mjs} +0 -0
- package/esm2020/lib/services/po-color-palette/po-color-palette.module.mjs +21 -0
- package/esm2020/lib/services/po-color-palette/po-color-palette.service.mjs +28 -0
- package/{esm2015/lib/services/po-component-injector/index.js → esm2020/lib/services/po-component-injector/index.mjs} +0 -0
- package/esm2020/lib/services/po-component-injector/po-component-injector.module.mjs +19 -0
- package/esm2020/lib/services/po-component-injector/po-component-injector.service.mjs +31 -0
- package/{esm2015/lib/services/po-control-position/index.js → esm2020/lib/services/po-control-position/index.mjs} +0 -0
- package/{esm2015/lib/services/po-control-position/po-control-position.constants.js → esm2020/lib/services/po-control-position/po-control-position.constants.mjs} +0 -0
- package/esm2020/lib/services/po-control-position/po-control-position.module.mjs +20 -0
- package/esm2020/lib/services/po-control-position/po-control-position.service.mjs +364 -0
- package/{esm2015/lib/services/po-date/index.js → esm2020/lib/services/po-date/index.mjs} +0 -0
- package/esm2020/lib/services/po-date/po-date.module.mjs +21 -0
- package/esm2020/lib/services/po-date/po-date.service.mjs +203 -0
- package/{esm2015/lib/services/po-dialog/index.js → esm2020/lib/services/po-dialog/index.mjs} +0 -0
- package/{esm2015/lib/services/po-dialog/interfaces/po-dialog-alert-literals.interface.js → esm2020/lib/services/po-dialog/interfaces/po-dialog-alert-literals.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-dialog/interfaces/po-dialog-confirm-literals.interface.js → esm2020/lib/services/po-dialog/interfaces/po-dialog-confirm-literals.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-dialog/interfaces/po-dialog.interface.js → esm2020/lib/services/po-dialog/interfaces/po-dialog.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-dialog/po-dialog-base.service.js → esm2020/lib/services/po-dialog/po-dialog-base.service.mjs} +0 -0
- package/esm2020/lib/services/po-dialog/po-dialog.component.mjs +132 -0
- package/{esm2015/lib/services/po-dialog/po-dialog.enum.js → esm2020/lib/services/po-dialog/po-dialog.enum.mjs} +0 -0
- package/esm2020/lib/services/po-dialog/po-dialog.module.mjs +21 -0
- package/esm2020/lib/services/po-dialog/po-dialog.service.mjs +42 -0
- package/{esm2015/lib/services/po-i18n/index.js → esm2020/lib/services/po-i18n/index.mjs} +0 -0
- package/{esm2015/lib/services/po-i18n/interfaces/po-i18n-config-default.interface.js → esm2020/lib/services/po-i18n/interfaces/po-i18n-config-default.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-i18n/interfaces/po-i18n-config.interface.js → esm2020/lib/services/po-i18n/interfaces/po-i18n-config.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-i18n/interfaces/po-i18n-literals.interface.js → esm2020/lib/services/po-i18n/interfaces/po-i18n-literals.interface.mjs} +0 -0
- package/{esm2015/lib/services/po-i18n/po-i18n-base.pipe.js → esm2020/lib/services/po-i18n/po-i18n-base.pipe.mjs} +0 -0
- package/esm2020/lib/services/po-i18n/po-i18n-base.service.mjs +439 -0
- package/{esm2015/lib/services/po-i18n/po-i18n-config-injection-token.js → esm2020/lib/services/po-i18n/po-i18n-config-injection-token.mjs} +0 -0
- package/esm2020/lib/services/po-i18n/po-i18n.module.mjs +194 -0
- package/esm2020/lib/services/po-i18n/po-i18n.pipe.mjs +25 -0
- package/esm2020/lib/services/po-i18n/po-i18n.service.mjs +19 -0
- package/{esm2015/lib/services/po-language/index.js → esm2020/lib/services/po-language/index.mjs} +0 -0
- package/esm2020/lib/services/po-language/po-language.constant.mjs +73 -0
- package/{esm2015/lib/services/po-language/po-language.interface.js → esm2020/lib/services/po-language/po-language.interface.mjs} +0 -0
- package/esm2020/lib/services/po-language/po-language.module.mjs +20 -0
- package/esm2020/lib/services/po-language/po-language.service.mjs +136 -0
- package/{esm2015/lib/services/po-notification/index.js → esm2020/lib/services/po-notification/index.mjs} +0 -0
- package/{esm2015/lib/services/po-notification/po-notification-base.service.js → esm2020/lib/services/po-notification/po-notification-base.service.mjs} +0 -0
- package/{esm2015/lib/services/po-notification/po-notification.interface.js → esm2020/lib/services/po-notification/po-notification.interface.mjs} +0 -0
- package/esm2020/lib/services/po-notification/po-notification.module.mjs +21 -0
- package/esm2020/lib/services/po-notification/po-notification.service.mjs +90 -0
- package/{esm2015/lib/services/po-notification/po-toaster/po-toaster-base.component.js → esm2020/lib/services/po-notification/po-toaster/po-toaster-base.component.mjs} +0 -0
- package/{esm2015/lib/services/po-notification/po-toaster/po-toaster-orientation.enum.js → esm2020/lib/services/po-notification/po-toaster/po-toaster-orientation.enum.mjs} +0 -0
- package/{esm2015/lib/services/po-notification/po-toaster/po-toaster-type.enum.js → esm2020/lib/services/po-notification/po-toaster/po-toaster-type.enum.mjs} +0 -0
- package/esm2020/lib/services/po-notification/po-toaster/po-toaster.component.mjs +168 -0
- package/{esm2015/lib/services/po-notification/po-toaster/po-toaster.interface.js → esm2020/lib/services/po-notification/po-toaster/po-toaster.interface.mjs} +0 -0
- package/esm2020/lib/services/services.module.mjs +75 -0
- package/esm2020/lib/utils/util.mjs +511 -0
- package/esm2020/po-ui-ng-components.mjs +5 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/po-ui-ng-components.mjs +47773 -0
- package/fesm2015/po-ui-ng-components.mjs.map +1 -0
- package/fesm2020/po-ui-ng-components.mjs +45083 -0
- package/fesm2020/po-ui-ng-components.mjs.map +1 -0
- package/lib/components/components.module.d.ts +40 -0
- package/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.d.ts +3 -0
- package/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.d.ts +3 -0
- package/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.d.ts +3 -0
- package/lib/components/po-accordion/po-accordion.component.d.ts +3 -0
- package/lib/components/po-accordion/po-accordion.module.d.ts +9 -0
- package/lib/components/po-accordion/services/po-accordion.service.d.ts +3 -0
- package/lib/components/po-avatar/po-avatar-base.component.d.ts +3 -0
- package/lib/components/po-avatar/po-avatar.component.d.ts +3 -0
- package/lib/components/po-avatar/po-avatar.module.d.ts +6 -0
- package/lib/components/po-badge/po-badge-base.component.d.ts +3 -0
- package/lib/components/po-badge/po-badge.component.d.ts +3 -0
- package/lib/components/po-badge/po-badge.module.d.ts +6 -0
- package/lib/components/po-breadcrumb/po-breadcrumb-base.component.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb-dropdown/po-breadcrumb-dropdown.component.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb-item/po-breadcrumb-item.component.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb.component.d.ts +3 -0
- package/lib/components/po-breadcrumb/po-breadcrumb.module.d.ts +10 -0
- package/lib/components/po-button/po-button-base.component.d.ts +3 -0
- package/lib/components/po-button/po-button.component.d.ts +3 -0
- package/lib/components/po-button/po-button.module.d.ts +8 -0
- package/lib/components/po-button-group/po-button-group-base.component.d.ts +3 -0
- package/lib/components/po-button-group/po-button-group.component.d.ts +3 -0
- package/lib/components/po-button-group/po-button-group.module.d.ts +8 -0
- package/lib/components/po-calendar/po-calendar-base.component.d.ts +3 -0
- package/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.d.ts +3 -0
- package/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.d.ts +3 -0
- package/lib/components/po-calendar/po-calendar.component.d.ts +3 -0
- package/lib/components/po-calendar/po-calendar.module.d.ts +8 -0
- package/lib/components/po-calendar/services/po-calendar.lang.service.d.ts +3 -0
- package/lib/components/po-calendar/services/po-calendar.service.d.ts +3 -0
- package/lib/components/po-chart/directives/po-resize-observer.directive.d.ts +3 -0
- package/lib/components/po-chart/enums/po-chart-type.enum.d.ts +0 -13
- package/lib/components/po-chart/index.d.ts +0 -1
- package/lib/components/po-chart/interfaces/po-chart-serie.interface.d.ts +0 -24
- package/lib/components/po-chart/po-chart-base.component.d.ts +8 -6
- package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-base.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-container.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-legend/po-chart-legend.component.d.ts +3 -0
- package/lib/components/po-chart/po-chart-types/po-chart-dynamic-type.component.d.ts +6 -5
- package/lib/components/po-chart/po-chart.component.d.ts +3 -1
- package/lib/components/po-chart/po-chart.module.d.ts +25 -0
- package/lib/components/po-chart/services/po-chart-maths.service.d.ts +3 -0
- package/lib/components/po-chart/services/po-chart-svg-container.service.d.ts +3 -0
- package/lib/components/po-container/po-container-base.component.d.ts +3 -0
- package/lib/components/po-container/po-container.component.d.ts +3 -0
- package/lib/components/po-container/po-container.module.d.ts +6 -0
- package/lib/components/po-disclaimer/po-disclaimer-base.component.d.ts +3 -0
- package/lib/components/po-disclaimer/po-disclaimer.component.d.ts +3 -0
- package/lib/components/po-disclaimer/po-disclaimer.module.d.ts +6 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.d.ts +3 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-group.component.d.ts +3 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-group.module.d.ts +8 -0
- package/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.d.ts +3 -0
- package/lib/components/po-divider/po-divider-base.component.d.ts +3 -0
- package/lib/components/po-divider/po-divider.component.d.ts +3 -0
- package/lib/components/po-divider/po-divider.module.d.ts +6 -0
- package/lib/components/po-dropdown/po-dropdown-base.component.d.ts +3 -0
- package/lib/components/po-dropdown/po-dropdown.component.d.ts +3 -0
- package/lib/components/po-dropdown/po-dropdown.module.d.ts +7 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.d.ts +4 -1
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.service.d.ts +3 -0
- package/lib/components/po-dynamic/po-dynamic.module.d.ts +14 -0
- package/lib/components/po-field/index.d.ts +2 -0
- package/lib/components/po-field/po-checkbox/po-checkbox-base.component.d.ts +3 -0
- package/lib/components/po-field/po-checkbox/po-checkbox.component.d.ts +3 -0
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.d.ts +11 -0
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.d.ts +3 -0
- package/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.d.ts +8 -0
- package/lib/components/po-field/po-clean/index.d.ts +1 -0
- package/lib/components/po-field/po-clean/po-clean-base.component.d.ts +3 -0
- package/lib/components/po-field/po-clean/po-clean.component.d.ts +3 -0
- package/lib/components/po-field/po-clean/po-clean.module.d.ts +6 -0
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +11 -0
- package/lib/components/po-field/po-combo/po-combo-filter.service.d.ts +3 -0
- package/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.d.ts +3 -0
- package/lib/components/po-field/po-combo/po-combo.component.d.ts +3 -0
- package/lib/components/po-field/po-datepicker/po-datepicker-base.component.d.ts +3 -0
- package/lib/components/po-field/po-datepicker/po-datepicker.component.d.ts +3 -0
- package/lib/components/po-field/po-datepicker/po-datepicker.module.d.ts +10 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.d.ts +3 -0
- package/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.d.ts +3 -0
- package/lib/components/po-field/po-decimal/po-decimal.component.d.ts +3 -0
- package/lib/components/po-field/po-email/po-email.component.d.ts +3 -0
- package/lib/components/po-field/po-field-container/index.d.ts +3 -0
- package/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.d.ts +3 -0
- package/lib/components/po-field/po-field-container/po-field-container.component.d.ts +3 -0
- package/lib/components/po-field/po-field-container/po-field-container.module.d.ts +7 -0
- package/lib/components/po-field/po-field-validate.model.d.ts +3 -0
- package/lib/components/po-field/po-field.model.d.ts +3 -0
- package/lib/components/po-field/po-field.module.d.ts +57 -0
- package/lib/components/po-field/po-input/po-input-base.component.d.ts +3 -0
- package/lib/components/po-field/po-input/po-input.component.d.ts +3 -0
- package/lib/components/po-field/po-input-generic/po-input-generic.d.ts +3 -0
- package/lib/components/po-field/po-login/po-login.component.d.ts +3 -0
- package/lib/components/po-field/po-lookup/po-lookup-base.component.d.ts +3 -0
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.d.ts +3 -0
- package/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.d.ts +3 -0
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -0
- package/lib/components/po-field/po-lookup/services/po-lookup-filter.service.d.ts +3 -0
- package/lib/components/po-field/po-lookup/services/po-lookup-modal.service.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-base.component.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-filter.service.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-item/po-multiselect-item.component.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.d.ts +3 -0
- package/lib/components/po-field/po-multiselect/po-multiselect.component.d.ts +3 -0
- package/lib/components/po-field/po-number/po-number-base.component.d.ts +3 -0
- package/lib/components/po-field/po-number/po-number.component.d.ts +3 -0
- package/lib/components/po-field/po-password/po-password.component.d.ts +3 -0
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +3 -0
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-base.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text.component.d.ts +3 -0
- package/lib/components/po-field/po-rich-text/po-rich-text.service.d.ts +3 -0
- package/lib/components/po-field/po-select/po-select-option-template/po-select-option-template.directive.d.ts +3 -0
- package/lib/components/po-field/po-select/po-select.component.d.ts +10 -0
- package/lib/components/po-field/po-switch/po-switch.component.d.ts +3 -0
- package/lib/components/po-field/po-textarea/po-textarea-base.component.d.ts +3 -0
- package/lib/components/po-field/po-textarea/po-textarea.component.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload-base.component.d.ts +11 -0
- package/lib/components/po-field/po-upload/po-upload-base.service.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.d.ts +3 -0
- 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 +3 -0
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +3 -0
- package/lib/components/po-field/po-upload/po-upload.service.d.ts +3 -0
- package/lib/components/po-field/po-url/po-url.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-base.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge.component.d.ts +3 -0
- package/lib/components/po-gauge/po-gauge.module.d.ts +13 -0
- package/lib/components/po-grid/po-grid-cell/po-grid-cell.component.d.ts +3 -0
- package/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.d.ts +3 -0
- package/lib/components/po-grid/po-grid-head/po-grid-head.component.d.ts +3 -0
- package/lib/components/po-grid/po-grid.component.d.ts +3 -0
- package/lib/components/po-grid/po-grid.module.d.ts +11 -0
- package/lib/components/po-icon/po-icon.component.d.ts +3 -0
- package/lib/components/po-icon/po-icon.module.d.ts +6 -0
- package/lib/components/po-info/po-info-base.component.d.ts +3 -0
- package/lib/components/po-info/po-info.component.d.ts +3 -0
- package/lib/components/po-info/po-info.module.d.ts +7 -0
- package/lib/components/po-list-view/po-list-view-base.component.d.ts +3 -0
- package/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.d.ts +3 -0
- package/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.d.ts +3 -0
- package/lib/components/po-list-view/po-list-view.component.d.ts +3 -0
- package/lib/components/po-list-view/po-list-view.module.d.ts +11 -0
- package/lib/components/po-loading/po-loading-base.component.d.ts +3 -0
- package/lib/components/po-loading/po-loading-icon/po-loading-icon.component.d.ts +3 -0
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.d.ts +3 -0
- package/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.d.ts +3 -0
- package/lib/components/po-loading/po-loading.component.d.ts +3 -0
- package/lib/components/po-loading/po-loading.module.d.ts +9 -0
- package/lib/components/po-menu/po-menu-base.component.d.ts +3 -0
- package/lib/components/po-menu/po-menu-filter/po-menu-filter.component.d.ts +3 -0
- package/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.d.ts +3 -0
- package/lib/components/po-menu/po-menu-item/po-menu-item.component.d.ts +3 -0
- package/lib/components/po-menu/po-menu.component.d.ts +3 -0
- package/lib/components/po-menu/po-menu.module.d.ts +14 -0
- package/lib/components/po-menu/services/po-menu-global.service.d.ts +3 -0
- package/lib/components/po-menu/services/po-menu-items.service.d.ts +3 -0
- package/lib/components/po-menu/services/po-menu.service.d.ts +3 -0
- package/lib/components/po-menu-panel/po-menu-panel-base.component.d.ts +3 -0
- package/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.d.ts +3 -0
- package/lib/components/po-menu-panel/po-menu-panel.component.d.ts +3 -0
- package/lib/components/po-menu-panel/po-menu-panel.module.d.ts +10 -0
- package/lib/components/po-menu-panel/services/po-menu-panel-items.service.d.ts +3 -0
- package/lib/components/po-modal/po-modal-base.component.d.ts +3 -0
- package/lib/components/po-modal/po-modal-footer/po-modal-footer.component.d.ts +3 -0
- package/lib/components/po-modal/po-modal.component.d.ts +3 -0
- package/lib/components/po-modal/po-modal.module.d.ts +8 -0
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.module.d.ts +11 -0
- package/lib/components/po-navbar/po-navbar-base.component.d.ts +3 -30
- package/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.module.d.ts +8 -0
- package/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar-items/po-navbar-items.module.d.ts +8 -0
- package/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar.component.d.ts +3 -0
- package/lib/components/po-navbar/po-navbar.module.d.ts +12 -0
- package/lib/components/po-page/po-page-content/po-page-content.component.d.ts +3 -0
- package/lib/components/po-page/po-page-default/po-page-default-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-default/po-page-default.component.d.ts +3 -0
- package/lib/components/po-page/po-page-detail/po-page-detail-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-detail/po-page-detail.component.d.ts +3 -0
- package/lib/components/po-page/po-page-edit/po-page-edit-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-edit/po-page-edit.component.d.ts +3 -0
- package/lib/components/po-page/po-page-header/po-page-header-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-header/po-page-header.component.d.ts +3 -0
- package/lib/components/po-page/po-page-list/po-page-list-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-list/po-page-list.component.d.ts +3 -0
- package/lib/components/po-page/po-page-slide/po-page-slide-base.component.d.ts +3 -0
- package/lib/components/po-page/po-page-slide/po-page-slide.component.d.ts +3 -0
- package/lib/components/po-page/po-page.component.d.ts +3 -0
- package/lib/components/po-page/po-page.module.d.ts +22 -0
- package/lib/components/po-popover/po-popover-base.component.d.ts +3 -0
- package/lib/components/po-popover/po-popover.component.d.ts +3 -0
- package/lib/components/po-popover/po-popover.module.d.ts +6 -0
- package/lib/components/po-popup/po-popup-base.component.d.ts +3 -0
- package/lib/components/po-popup/po-popup.component.d.ts +3 -0
- package/lib/components/po-popup/po-popup.module.d.ts +7 -0
- package/lib/components/po-progress/po-progress-bar/po-progress-bar.component.d.ts +3 -0
- package/lib/components/po-progress/po-progress-base.component.d.ts +3 -0
- package/lib/components/po-progress/po-progress.component.d.ts +3 -0
- package/lib/components/po-progress/po-progress.module.d.ts +7 -0
- package/lib/components/po-slide/directives/po-slide-content-template.directive.d.ts +3 -0
- package/lib/components/po-slide/po-slide-base.component.d.ts +3 -0
- package/lib/components/po-slide/po-slide-circles/po-slide-circles.component.d.ts +3 -0
- package/lib/components/po-slide/po-slide-control/po-slide-control.component.d.ts +3 -0
- package/lib/components/po-slide/po-slide-item/po-slide-item.component.d.ts +3 -0
- package/lib/components/po-slide/po-slide.component.d.ts +3 -0
- package/lib/components/po-slide/po-slide.module.d.ts +12 -0
- package/lib/components/po-stepper/po-step/po-step.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper-base.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper.component.d.ts +3 -0
- package/lib/components/po-stepper/po-stepper.module.d.ts +10 -0
- package/lib/components/po-table/interfaces/po-table-column.interface.d.ts +6 -1
- package/lib/components/po-table/po-table-base.component.d.ts +13 -0
- package/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.d.ts +3 -0
- package/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.d.ts +3 -0
- package/lib/components/po-table/po-table-column-label/po-table-column-label.component.d.ts +3 -0
- package/lib/components/po-table/po-table-column-link/po-table-column-link.component.d.ts +3 -0
- package/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.d.ts +3 -0
- package/lib/components/po-table/po-table-column-template/po-table-column-template.directive.d.ts +3 -0
- package/lib/components/po-table/po-table-detail/po-table-detail.component.d.ts +3 -0
- package/lib/components/po-table/po-table-icon/po-table-icon.component.d.ts +3 -0
- package/lib/components/po-table/po-table-row-template/po-table-row-template.directive.d.ts +3 -0
- package/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.d.ts +3 -0
- package/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.d.ts +3 -0
- package/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.d.ts +3 -0
- package/lib/components/po-table/po-table.component.d.ts +4 -0
- package/lib/components/po-table/po-table.module.d.ts +30 -0
- package/lib/components/po-table/services/po-table.service.d.ts +3 -0
- package/lib/components/po-tabs/po-tab/po-tab-base.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tab/po-tab.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tab-button/po-tab-button.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tabs-base.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tabs.component.d.ts +3 -0
- package/lib/components/po-tabs/po-tabs.module.d.ts +10 -0
- package/lib/components/po-tag/po-tag-base.component.d.ts +3 -0
- package/lib/components/po-tag/po-tag.component.d.ts +3 -0
- package/lib/components/po-tag/po-tag.module.d.ts +7 -0
- package/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.d.ts +3 -0
- package/lib/components/po-toolbar/po-toolbar-base.component.d.ts +3 -0
- package/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.d.ts +3 -0
- package/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.d.ts +3 -0
- package/lib/components/po-toolbar/po-toolbar.component.d.ts +3 -0
- package/lib/components/po-toolbar/po-toolbar.module.d.ts +12 -0
- package/lib/components/po-tree-view/po-tree-view-base.component.d.ts +3 -0
- package/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.d.ts +3 -0
- package/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.d.ts +3 -0
- package/lib/components/po-tree-view/po-tree-view.component.d.ts +3 -0
- package/lib/components/po-tree-view/po-tree-view.module.d.ts +11 -0
- package/lib/components/po-tree-view/services/po-tree-view.service.d.ts +3 -0
- package/lib/components/po-widget/po-widget-base.component.d.ts +3 -0
- package/lib/components/po-widget/po-widget.component.d.ts +3 -0
- package/lib/components/po-widget/po-widget.module.d.ts +7 -0
- package/lib/directives/directives.module.d.ts +5 -0
- package/lib/directives/po-tooltip/po-tooltip-base.directive.d.ts +3 -0
- package/lib/directives/po-tooltip/po-tooltip-control-position.service.d.ts +3 -0
- package/lib/directives/po-tooltip/po-tooltip.directive.d.ts +3 -0
- package/lib/directives/po-tooltip/po-tooltip.module.d.ts +6 -0
- package/lib/guards/guards.module.d.ts +4 -0
- package/lib/interceptors/interceptors.module.d.ts +6 -0
- package/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.d.ts +3 -0
- package/lib/interceptors/po-http-interceptor/po-http-interceptor.module.d.ts +10 -0
- package/lib/interceptors/po-http-interceptor/po-http-interceptor.service.d.ts +3 -0
- package/lib/interceptors/po-http-request/po-http-request-control-service.d.ts +3 -0
- package/lib/interceptors/po-http-request/po-http-request-interceptor.service.d.ts +3 -0
- package/lib/interceptors/po-http-request/po-http-request.module.d.ts +5 -0
- package/lib/pipes/pipes.module.d.ts +5 -0
- package/lib/pipes/po-time/po-time.module.d.ts +5 -0
- package/lib/pipes/po-time/po-time.pipe.d.ts +3 -0
- package/lib/po.module.d.ts +10 -0
- package/lib/services/po-active-overlay/po-active-overlay.module.d.ts +4 -0
- package/lib/services/po-active-overlay/po-active-overlay.service.d.ts +3 -0
- package/lib/services/po-color/po-color.service.d.ts +3 -0
- package/lib/services/po-color-palette/po-color-palette.module.d.ts +4 -0
- package/lib/services/po-color-palette/po-color-palette.service.d.ts +3 -0
- package/lib/services/po-component-injector/po-component-injector.module.d.ts +4 -0
- package/lib/services/po-component-injector/po-component-injector.service.d.ts +3 -0
- package/lib/services/po-control-position/po-control-position.module.d.ts +4 -0
- package/lib/services/po-control-position/po-control-position.service.d.ts +3 -0
- package/lib/services/po-date/po-date.module.d.ts +4 -0
- package/lib/services/po-date/po-date.service.d.ts +3 -0
- package/lib/services/po-dialog/po-dialog.component.d.ts +3 -0
- package/lib/services/po-dialog/po-dialog.module.d.ts +6 -0
- package/lib/services/po-dialog/po-dialog.service.d.ts +3 -0
- package/lib/services/po-i18n/po-i18n.module.d.ts +6 -0
- package/lib/services/po-i18n/po-i18n.pipe.d.ts +3 -0
- package/lib/services/po-i18n/po-i18n.service.d.ts +3 -0
- package/lib/services/po-language/po-language.module.d.ts +4 -0
- package/lib/services/po-language/po-language.service.d.ts +3 -0
- package/lib/services/po-notification/po-notification.module.d.ts +6 -0
- package/lib/services/po-notification/po-notification.service.d.ts +3 -0
- package/lib/services/po-notification/po-toaster/po-toaster.component.d.ts +3 -0
- package/lib/services/services.module.d.ts +13 -0
- package/package.json +32 -20
- package/po-ui-ng-components-6.0.0.tgz +0 -0
- package/po-ui-ng-components.d.ts +1 -201
- package/schematics/migrations.json +5 -0
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/index.spec.js +15 -16
- package/schematics/ng-add/index.spec.js.map +1 -1
- package/schematics/ng-add/setup-project.js +6 -6
- package/schematics/ng-add/setup-project.js.map +1 -1
- package/schematics/ng-generate/po-page-default/index.js +2 -2
- package/schematics/ng-generate/po-page-default/index.js.map +1 -1
- package/schematics/ng-generate/po-page-default/index.spec.js +13 -13
- package/schematics/ng-generate/po-page-default/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-detail/index.js +2 -2
- package/schematics/ng-generate/po-page-detail/index.js.map +1 -1
- package/schematics/ng-generate/po-page-detail/index.spec.js +13 -13
- package/schematics/ng-generate/po-page-detail/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-edit/index.js +2 -2
- package/schematics/ng-generate/po-page-edit/index.js.map +1 -1
- package/schematics/ng-generate/po-page-edit/index.spec.js +13 -13
- package/schematics/ng-generate/po-page-edit/index.spec.js.map +1 -1
- package/schematics/ng-generate/po-page-list/index.js +2 -2
- package/schematics/ng-generate/po-page-list/index.js.map +1 -1
- package/schematics/ng-generate/po-page-list/index.spec.js +13 -13
- package/schematics/ng-generate/po-page-list/index.spec.js.map +1 -1
- package/schematics/ng-generate/sidemenu/index.js +11 -11
- package/schematics/ng-generate/sidemenu/index.js.map +1 -1
- package/schematics/ng-generate/sidemenu/index.spec.js +5 -5
- package/schematics/ng-generate/sidemenu/index.spec.js.map +1 -1
- package/schematics/ng-update/v2/index.js +7 -7
- package/schematics/ng-update/v2/index.js.map +1 -1
- package/schematics/ng-update/v3/index.js +2 -2
- package/schematics/ng-update/v3/index.js.map +1 -1
- package/schematics/ng-update/v4/index.js +2 -2
- package/schematics/ng-update/v4/index.js.map +1 -1
- package/schematics/ng-update/v5/index.js +2 -2
- package/schematics/ng-update/v5/index.js.map +1 -1
- package/schematics/ng-update/v6/changes.d.ts +2 -0
- package/schematics/ng-update/v6/changes.js +14 -0
- package/schematics/ng-update/v6/changes.js.map +1 -0
- package/schematics/ng-update/v6/index.d.ts +1 -0
- package/schematics/ng-update/v6/index.js +16 -0
- package/schematics/ng-update/v6/index.js.map +1 -0
- package/bundles/po-ui-ng-components.umd.js +0 -39377
- package/bundles/po-ui-ng-components.umd.js.map +0 -1
- package/esm2015/lib/components/components.module.js +0 -122
- package/esm2015/lib/components/po-accordion/po-accordion-item/po-accordion-item.component.js +0 -66
- package/esm2015/lib/components/po-accordion/po-accordion-item-body/po-accordion-item-body.component.js +0 -23
- package/esm2015/lib/components/po-accordion/po-accordion-item-header/po-accordion-item-header.component.js +0 -24
- package/esm2015/lib/components/po-accordion/po-accordion.component.js +0 -70
- package/esm2015/lib/components/po-accordion/po-accordion.module.js +0 -52
- package/esm2015/lib/components/po-accordion/services/po-accordion.service.js +0 -27
- package/esm2015/lib/components/po-avatar/po-avatar-base.component.js +0 -68
- package/esm2015/lib/components/po-avatar/po-avatar.component.js +0 -42
- package/esm2015/lib/components/po-avatar/po-avatar.module.js +0 -18
- package/esm2015/lib/components/po-badge/po-badge-base.component.js +0 -89
- package/esm2015/lib/components/po-badge/po-badge.component.js +0 -16
- package/esm2015/lib/components/po-badge/po-badge.module.js +0 -18
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb-base.component.js +0 -48
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb-dropdown/po-breadcrumb-dropdown.component.js +0 -20
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.component.js +0 -77
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb-favorite/po-breadcrumb-favorite.service.js +0 -49
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb-item/po-breadcrumb-item.component.js +0 -27
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb.component.js +0 -159
- package/esm2015/lib/components/po-breadcrumb/po-breadcrumb.module.js +0 -28
- package/esm2015/lib/components/po-button/po-button-base.component.js +0 -127
- package/esm2015/lib/components/po-button/po-button.component.js +0 -69
- package/esm2015/lib/components/po-button/po-button.module.js +0 -20
- package/esm2015/lib/components/po-button-group/po-button-group-base.component.js +0 -95
- package/esm2015/lib/components/po-button-group/po-button-group.component.js +0 -43
- package/esm2015/lib/components/po-button-group/po-button-group.module.js +0 -20
- package/esm2015/lib/components/po-calendar/po-calendar-base.component.js +0 -176
- package/esm2015/lib/components/po-calendar/po-calendar-header/po-calendar-header.component.js +0 -24
- package/esm2015/lib/components/po-calendar/po-calendar-wrapper/po-calendar-wrapper.component.js +0 -251
- package/esm2015/lib/components/po-calendar/po-calendar.component.js +0 -199
- package/esm2015/lib/components/po-calendar/po-calendar.module.js +0 -19
- package/esm2015/lib/components/po-calendar/services/po-calendar.lang.service.js +0 -187
- package/esm2015/lib/components/po-calendar/services/po-calendar.service.js +0 -44
- package/esm2015/lib/components/po-chart/directives/po-resize-observer.directive.js +0 -44
- package/esm2015/lib/components/po-chart/enums/po-chart-type.enum.js +0 -51
- package/esm2015/lib/components/po-chart/index.js +0 -8
- package/esm2015/lib/components/po-chart/interfaces/po-chart-serie.interface.js +0 -2
- package/esm2015/lib/components/po-chart/po-chart-base.component.js +0 -244
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-label/po-chart-axis-label.component.js +0 -23
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis-path/po-chart-axis-path.component.js +0 -19
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-axis/po-chart-axis.component.js +0 -287
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-base.component.js +0 -94
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar-path/po-chart-bar-path.component.js +0 -33
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-bar.component.js +0 -58
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-bar/po-chart-column/po-chart-column.component.js +0 -59
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-label/po-chart-circular-label.component.js +0 -29
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-circular-path.component.js +0 -35
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular-path/po-chart-tooltip.directive.js +0 -76
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-circular.component.js +0 -142
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-donut/po-chart-donut.component.js +0 -115
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-circular/po-chart-pie/po-chart-pie.component.js +0 -57
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-container.component.js +0 -119
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-area/po-chart-area.component.js +0 -77
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line-base.component.js +0 -151
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-line.component.js +0 -41
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-path/po-chart-path.component.js +0 -65
- package/esm2015/lib/components/po-chart/po-chart-container/po-chart-line/po-chart-series-point/po-chart-series-point.component.js +0 -95
- package/esm2015/lib/components/po-chart/po-chart-legend/po-chart-legend.component.js +0 -21
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.constant.js +0 -11
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.js +0 -374
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-dynamic-type.component.js +0 -45
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge-series.interface.js +0 -2
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge-text-content/po-chart-gauge-text-content.component.js +0 -75
- package/esm2015/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge.component.js +0 -85
- package/esm2015/lib/components/po-chart/po-chart.component.js +0 -203
- package/esm2015/lib/components/po-chart/po-chart.module.js +0 -61
- package/esm2015/lib/components/po-chart/services/po-chart-maths.service.js +0 -135
- package/esm2015/lib/components/po-chart/services/po-chart-svg-container.service.js +0 -57
- package/esm2015/lib/components/po-container/po-container-base.component.js +0 -88
- package/esm2015/lib/components/po-container/po-container.component.js +0 -32
- package/esm2015/lib/components/po-container/po-container.module.js +0 -18
- package/esm2015/lib/components/po-disclaimer/po-disclaimer-base.component.js +0 -77
- package/esm2015/lib/components/po-disclaimer/po-disclaimer.component.js +0 -29
- package/esm2015/lib/components/po-disclaimer/po-disclaimer.module.js +0 -17
- package/esm2015/lib/components/po-disclaimer-group/po-disclaimer-group-base.component.js +0 -194
- package/esm2015/lib/components/po-disclaimer-group/po-disclaimer-group.component.js +0 -41
- package/esm2015/lib/components/po-disclaimer-group/po-disclaimer-group.module.js +0 -20
- package/esm2015/lib/components/po-disclaimer-group/po-disclaimer-remove/po-disclaimer-remove.component.js +0 -30
- package/esm2015/lib/components/po-divider/po-divider-base.component.js +0 -16
- package/esm2015/lib/components/po-divider/po-divider.component.js +0 -32
- package/esm2015/lib/components/po-divider/po-divider.module.js +0 -18
- package/esm2015/lib/components/po-dropdown/po-dropdown-base.component.js +0 -71
- package/esm2015/lib/components/po-dropdown/po-dropdown.component.js +0 -97
- package/esm2015/lib/components/po-dropdown/po-dropdown.module.js +0 -18
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-base.component.js +0 -104
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields-base.component.js +0 -200
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-fields/po-dynamic-form-fields.component.js +0 -129
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-load/po-dynamic-form-load.service.js +0 -32
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form-validation/po-dynamic-form-validation.service.js +0 -39
- package/esm2015/lib/components/po-dynamic/po-dynamic-form/po-dynamic-form.component.js +0 -167
- package/esm2015/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view-base.component.js +0 -163
- package/esm2015/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.component.js +0 -101
- package/esm2015/lib/components/po-dynamic/po-dynamic-view/po-dynamic-view.service.js +0 -17
- package/esm2015/lib/components/po-dynamic/po-dynamic.module.js +0 -35
- package/esm2015/lib/components/po-dynamic/po-dynamic.util.js +0 -18
- package/esm2015/lib/components/po-field/index.js +0 -51
- package/esm2015/lib/components/po-field/po-checkbox/po-checkbox-base.component.js +0 -98
- package/esm2015/lib/components/po-field/po-checkbox/po-checkbox.component.js +0 -94
- package/esm2015/lib/components/po-field/po-checkbox-group/po-checkbox-group-base.component.js +0 -289
- package/esm2015/lib/components/po-field/po-checkbox-group/po-checkbox-group.component.js +0 -98
- package/esm2015/lib/components/po-field/po-checkbox-group/po-checkbox-group.module.js +0 -20
- package/esm2015/lib/components/po-field/po-clean/po-clean-base.component.js +0 -42
- package/esm2015/lib/components/po-field/po-clean/po-clean.component.js +0 -33
- package/esm2015/lib/components/po-field/po-clean/po-clean.module.js +0 -18
- package/esm2015/lib/components/po-field/po-combo/po-combo-base.component.js +0 -741
- package/esm2015/lib/components/po-field/po-combo/po-combo-filter.service.js +0 -78
- package/esm2015/lib/components/po-field/po-combo/po-combo-option-template/po-combo-option-template.directive.js +0 -81
- package/esm2015/lib/components/po-field/po-combo/po-combo.component.js +0 -525
- package/esm2015/lib/components/po-field/po-datepicker/po-datepicker-base.component.js +0 -396
- package/esm2015/lib/components/po-field/po-datepicker/po-datepicker.component.js +0 -345
- package/esm2015/lib/components/po-field/po-datepicker/po-datepicker.module.js +0 -22
- package/esm2015/lib/components/po-field/po-datepicker-range/po-datepicker-range-base.component.js +0 -475
- package/esm2015/lib/components/po-field/po-datepicker-range/po-datepicker-range.component.js +0 -443
- package/esm2015/lib/components/po-field/po-decimal/po-decimal.component.js +0 -598
- package/esm2015/lib/components/po-field/po-email/po-email.component.js +0 -106
- package/esm2015/lib/components/po-field/po-field-container/po-field-container-bottom/po-field-container-bottom.component.js +0 -29
- package/esm2015/lib/components/po-field/po-field-container/po-field-container.component.js +0 -39
- package/esm2015/lib/components/po-field/po-field-container/po-field-container.module.js +0 -19
- package/esm2015/lib/components/po-field/po-field-validate.model.js +0 -69
- package/esm2015/lib/components/po-field/po-field.model.js +0 -78
- package/esm2015/lib/components/po-field/po-field.module.js +0 -156
- package/esm2015/lib/components/po-field/po-input/po-input-base.component.js +0 -357
- package/esm2015/lib/components/po-field/po-input/po-input.component.js +0 -56
- package/esm2015/lib/components/po-field/po-input-generic/po-input-generic.js +0 -187
- package/esm2015/lib/components/po-field/po-login/po-login.component.js +0 -65
- package/esm2015/lib/components/po-field/po-lookup/po-lookup-base.component.js +0 -451
- package/esm2015/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.js +0 -347
- package/esm2015/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal.component.js +0 -130
- package/esm2015/lib/components/po-field/po-lookup/po-lookup.component.js +0 -337
- package/esm2015/lib/components/po-field/po-lookup/services/po-lookup-filter.service.js +0 -59
- package/esm2015/lib/components/po-field/po-lookup/services/po-lookup-modal.service.js +0 -62
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect-base.component.js +0 -573
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect-dropdown/po-multiselect-dropdown.component.js +0 -139
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect-filter.service.js +0 -50
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect-item/po-multiselect-item.component.js +0 -33
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect-search/po-multiselect-search.component.js +0 -57
- package/esm2015/lib/components/po-field/po-multiselect/po-multiselect.component.js +0 -359
- package/esm2015/lib/components/po-field/po-number/po-number-base.component.js +0 -114
- package/esm2015/lib/components/po-field/po-number/po-number.component.js +0 -119
- package/esm2015/lib/components/po-field/po-password/po-password.component.js +0 -92
- package/esm2015/lib/components/po-field/po-radio-group/po-radio-group-base.component.js +0 -184
- package/esm2015/lib/components/po-field/po-radio-group/po-radio-group.component.js +0 -119
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text-base.component.js +0 -181
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text-body/po-rich-text-body.component.js +0 -312
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text-image-modal/po-rich-text-image-modal.component.js +0 -96
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text-link-modal/po-rich-text-link-modal.component.js +0 -140
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text-toolbar/po-rich-text-toolbar.component.js +0 -166
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text.component.js +0 -147
- package/esm2015/lib/components/po-field/po-rich-text/po-rich-text.service.js +0 -17
- package/esm2015/lib/components/po-field/po-select/po-select-option-template/po-select-option-template.directive.js +0 -59
- package/esm2015/lib/components/po-field/po-select/po-select.component.js +0 -359
- package/esm2015/lib/components/po-field/po-switch/po-switch.component.js +0 -190
- package/esm2015/lib/components/po-field/po-textarea/po-textarea-base.component.js +0 -269
- package/esm2015/lib/components/po-field/po-textarea/po-textarea.component.js +0 -130
- package/esm2015/lib/components/po-field/po-upload/po-upload-base.component.js +0 -573
- package/esm2015/lib/components/po-field/po-upload/po-upload-base.service.js +0 -88
- package/esm2015/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area/po-upload-drag-drop-area.component.js +0 -30
- package/esm2015/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component.js +0 -40
- package/esm2015/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.component.js +0 -60
- package/esm2015/lib/components/po-field/po-upload/po-upload-drag-drop/po-upload-drag-drop.directive.js +0 -165
- package/esm2015/lib/components/po-field/po-upload/po-upload-file-restrictions/po-upload-file-restrictions.component.js +0 -63
- package/esm2015/lib/components/po-field/po-upload/po-upload.component.js +0 -326
- package/esm2015/lib/components/po-field/po-upload/po-upload.service.js +0 -8
- package/esm2015/lib/components/po-field/po-url/po-url.component.js +0 -86
- package/esm2015/lib/components/po-gauge/po-gauge-base.component.js +0 -146
- package/esm2015/lib/components/po-gauge/po-gauge-description/po-gauge-description.component.js +0 -27
- package/esm2015/lib/components/po-gauge/po-gauge-legend/po-gauge-legend.component.js +0 -27
- package/esm2015/lib/components/po-gauge/po-gauge-svg/po-gauge-path/po-gauge-path.component.js +0 -20
- package/esm2015/lib/components/po-gauge/po-gauge-svg/po-gauge-pointer/po-gauge-pointer.component.js +0 -50
- package/esm2015/lib/components/po-gauge/po-gauge-svg/po-gauge-svg.component.js +0 -204
- package/esm2015/lib/components/po-gauge/po-gauge-title/po-gauge-title.component.js +0 -13
- package/esm2015/lib/components/po-gauge/po-gauge.component.js +0 -72
- package/esm2015/lib/components/po-gauge/po-gauge.module.js +0 -32
- package/esm2015/lib/components/po-grid/po-grid-cell/po-grid-cell.component.js +0 -111
- package/esm2015/lib/components/po-grid/po-grid-cell-action/po-grid-cell-action.component.js +0 -24
- package/esm2015/lib/components/po-grid/po-grid-head/po-grid-head.component.js +0 -30
- package/esm2015/lib/components/po-grid/po-grid.component.js +0 -314
- package/esm2015/lib/components/po-grid/po-grid.module.js +0 -23
- package/esm2015/lib/components/po-icon/po-icon.component.js +0 -62
- package/esm2015/lib/components/po-icon/po-icon.module.js +0 -18
- package/esm2015/lib/components/po-info/po-info-base.component.js +0 -62
- package/esm2015/lib/components/po-info/po-info.component.js +0 -36
- package/esm2015/lib/components/po-info/po-info.module.js +0 -21
- package/esm2015/lib/components/po-list-view/po-list-view-base.component.js +0 -274
- package/esm2015/lib/components/po-list-view/po-list-view-content-template/po-list-view-content-template.directive.js +0 -101
- package/esm2015/lib/components/po-list-view/po-list-view-detail-template/po-list-view-detail-template.directive.js +0 -64
- package/esm2015/lib/components/po-list-view/po-list-view.component.js +0 -128
- package/esm2015/lib/components/po-list-view/po-list-view.module.js +0 -51
- package/esm2015/lib/components/po-loading/po-loading-base.component.js +0 -24
- package/esm2015/lib/components/po-loading/po-loading-icon/po-loading-icon.component.js +0 -37
- package/esm2015/lib/components/po-loading/po-loading-overlay/po-loading-overlay-base.component.js +0 -91
- package/esm2015/lib/components/po-loading/po-loading-overlay/po-loading-overlay.component.js +0 -41
- package/esm2015/lib/components/po-loading/po-loading.component.js +0 -16
- package/esm2015/lib/components/po-loading/po-loading.module.js +0 -22
- package/esm2015/lib/components/po-menu/po-menu-base.component.js +0 -299
- package/esm2015/lib/components/po-menu/po-menu-filter/po-menu-filter.component.js +0 -40
- package/esm2015/lib/components/po-menu/po-menu-header-template/po-menu-header-template.directive.js +0 -51
- package/esm2015/lib/components/po-menu/po-menu-item/po-menu-item.component.js +0 -173
- package/esm2015/lib/components/po-menu/po-menu.component.js +0 -497
- package/esm2015/lib/components/po-menu/po-menu.module.js +0 -26
- package/esm2015/lib/components/po-menu/services/po-menu-global.service.js +0 -32
- package/esm2015/lib/components/po-menu/services/po-menu-items.service.js +0 -35
- package/esm2015/lib/components/po-menu/services/po-menu.service.js +0 -35
- package/esm2015/lib/components/po-menu-panel/po-menu-panel-base.component.js +0 -76
- package/esm2015/lib/components/po-menu-panel/po-menu-panel-item/po-menu-panel-item.component.js +0 -54
- package/esm2015/lib/components/po-menu-panel/po-menu-panel.component.js +0 -145
- package/esm2015/lib/components/po-menu-panel/po-menu-panel.module.js +0 -24
- package/esm2015/lib/components/po-menu-panel/services/po-menu-panel-items.service.js +0 -35
- package/esm2015/lib/components/po-modal/po-modal-base.component.js +0 -121
- package/esm2015/lib/components/po-modal/po-modal-footer/po-modal-footer.component.js +0 -43
- package/esm2015/lib/components/po-modal/po-modal.component.js +0 -114
- package/esm2015/lib/components/po-modal/po-modal.module.js +0 -19
- package/esm2015/lib/components/po-navbar/po-navbar-actions/po-navbar-action/po-navbar-action.component.js +0 -43
- package/esm2015/lib/components/po-navbar/po-navbar-actions/po-navbar-action-popup/po-navbar-action-popup.component.js +0 -18
- package/esm2015/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.component.js +0 -19
- package/esm2015/lib/components/po-navbar/po-navbar-actions/po-navbar-actions.module.js +0 -18
- package/esm2015/lib/components/po-navbar/po-navbar-base.component.js +0 -147
- package/esm2015/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation-icon/po-navbar-item-navigation-icon.component.js +0 -18
- package/esm2015/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.component.js +0 -18
- package/esm2015/lib/components/po-navbar/po-navbar-item-navigation/po-navbar-item-navigation.module.js +0 -15
- package/esm2015/lib/components/po-navbar/po-navbar-items/po-navbar-item/po-navbar-item.component.js +0 -30
- package/esm2015/lib/components/po-navbar/po-navbar-items/po-navbar-items.component.js +0 -53
- package/esm2015/lib/components/po-navbar/po-navbar-items/po-navbar-items.module.js +0 -15
- package/esm2015/lib/components/po-navbar/po-navbar-logo/po-navbar-logo.component.js +0 -13
- package/esm2015/lib/components/po-navbar/po-navbar.component.js +0 -213
- package/esm2015/lib/components/po-navbar/po-navbar.module.js +0 -57
- package/esm2015/lib/components/po-page/po-page-content/po-page-content.component.js +0 -54
- package/esm2015/lib/components/po-page/po-page-default/po-page-default-base.component.js +0 -111
- package/esm2015/lib/components/po-page/po-page-default/po-page-default.component.js +0 -98
- package/esm2015/lib/components/po-page/po-page-detail/po-page-detail-base.component.js +0 -141
- package/esm2015/lib/components/po-page/po-page-detail/po-page-detail.component.js +0 -62
- package/esm2015/lib/components/po-page/po-page-edit/po-page-edit-base.component.js +0 -146
- package/esm2015/lib/components/po-page/po-page-edit/po-page-edit.component.js +0 -65
- package/esm2015/lib/components/po-page/po-page-header/po-page-header-base.component.js +0 -26
- package/esm2015/lib/components/po-page/po-page-header/po-page-header.component.js +0 -15
- package/esm2015/lib/components/po-page/po-page-list/po-page-list-base.component.js +0 -137
- package/esm2015/lib/components/po-page/po-page-list/po-page-list.component.js +0 -188
- package/esm2015/lib/components/po-page/po-page-slide/po-page-slide-base.component.js +0 -135
- package/esm2015/lib/components/po-page/po-page-slide/po-page-slide.component.js +0 -121
- package/esm2015/lib/components/po-page/po-page.component.js +0 -16
- package/esm2015/lib/components/po-page/po-page.module.js +0 -60
- package/esm2015/lib/components/po-popover/po-popover-base.component.js +0 -113
- package/esm2015/lib/components/po-popover/po-popover.component.js +0 -138
- package/esm2015/lib/components/po-popover/po-popover.module.js +0 -17
- package/esm2015/lib/components/po-popup/po-popup-base.component.js +0 -186
- package/esm2015/lib/components/po-popup/po-popup.component.js +0 -169
- package/esm2015/lib/components/po-popup/po-popup.module.js +0 -21
- package/esm2015/lib/components/po-progress/po-progress-bar/po-progress-bar.component.js +0 -18
- package/esm2015/lib/components/po-progress/po-progress-base.component.js +0 -107
- package/esm2015/lib/components/po-progress/po-progress.component.js +0 -56
- package/esm2015/lib/components/po-progress/po-progress.module.js +0 -19
- package/esm2015/lib/components/po-slide/directives/po-slide-content-template.directive.js +0 -59
- package/esm2015/lib/components/po-slide/po-slide-base.component.js +0 -104
- package/esm2015/lib/components/po-slide/po-slide-circles/po-slide-circles.component.js +0 -26
- package/esm2015/lib/components/po-slide/po-slide-control/po-slide-control.component.js +0 -25
- package/esm2015/lib/components/po-slide/po-slide-item/po-slide-item.component.js +0 -37
- package/esm2015/lib/components/po-slide/po-slide.component.js +0 -256
- package/esm2015/lib/components/po-slide/po-slide.module.js +0 -58
- package/esm2015/lib/components/po-stepper/po-step/po-step.component.js +0 -78
- package/esm2015/lib/components/po-stepper/po-stepper-base.component.js +0 -144
- package/esm2015/lib/components/po-stepper/po-stepper-circle/po-stepper-circle.component.js +0 -47
- package/esm2015/lib/components/po-stepper/po-stepper-label/po-stepper-label.component.js +0 -20
- package/esm2015/lib/components/po-stepper/po-stepper-step/po-stepper-step.component.js +0 -116
- package/esm2015/lib/components/po-stepper/po-stepper.component.js +0 -219
- package/esm2015/lib/components/po-stepper/po-stepper.module.js +0 -27
- package/esm2015/lib/components/po-table/interfaces/po-table-column.interface.js +0 -2
- package/esm2015/lib/components/po-table/po-table-base.component.js +0 -860
- package/esm2015/lib/components/po-table/po-table-cell-template/po-table-cell-template.directive.js +0 -82
- package/esm2015/lib/components/po-table/po-table-column-icon/po-table-column-icon.component.js +0 -72
- package/esm2015/lib/components/po-table/po-table-column-label/po-table-column-label.component.js +0 -38
- package/esm2015/lib/components/po-table/po-table-column-link/po-table-column-link.component.js +0 -38
- package/esm2015/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.js +0 -250
- package/esm2015/lib/components/po-table/po-table-column-template/po-table-column-template.directive.js +0 -90
- package/esm2015/lib/components/po-table/po-table-detail/po-table-detail.component.js +0 -88
- package/esm2015/lib/components/po-table/po-table-icon/po-table-icon.component.js +0 -46
- package/esm2015/lib/components/po-table/po-table-row-template/po-table-row-template.directive.js +0 -128
- package/esm2015/lib/components/po-table/po-table-show-subtitle/po-table-show-subtitle.component.js +0 -21
- package/esm2015/lib/components/po-table/po-table-subtitle-circle/po-table-subtitle-circle.component.js +0 -41
- package/esm2015/lib/components/po-table/po-table-subtitle-footer/po-table-subtitle-footer.component.js +0 -70
- package/esm2015/lib/components/po-table/po-table.component.js +0 -542
- package/esm2015/lib/components/po-table/po-table.module.js +0 -75
- package/esm2015/lib/components/po-table/services/po-table.service.js +0 -38
- package/esm2015/lib/components/po-tabs/po-tab/po-tab-base.component.js +0 -82
- package/esm2015/lib/components/po-tabs/po-tab/po-tab.component.js +0 -27
- package/esm2015/lib/components/po-tabs/po-tab-button/po-tab-button.component.js +0 -75
- package/esm2015/lib/components/po-tabs/po-tab-dropdown/po-tab-dropdown.component.js +0 -44
- package/esm2015/lib/components/po-tabs/po-tabs-base.component.js +0 -49
- package/esm2015/lib/components/po-tabs/po-tabs.component.js +0 -126
- package/esm2015/lib/components/po-tabs/po-tabs.module.js +0 -21
- package/esm2015/lib/components/po-tag/po-tag-base.component.js +0 -175
- package/esm2015/lib/components/po-tag/po-tag.component.js +0 -71
- package/esm2015/lib/components/po-tag/po-tag.module.js +0 -21
- package/esm2015/lib/components/po-toolbar/po-toolbar-actions/po-toolbar-actions.component.js +0 -35
- package/esm2015/lib/components/po-toolbar/po-toolbar-base.component.js +0 -43
- package/esm2015/lib/components/po-toolbar/po-toolbar-notification/po-toolbar-notification.component.js +0 -39
- package/esm2015/lib/components/po-toolbar/po-toolbar-profile/po-toolbar-profile.component.js +0 -28
- package/esm2015/lib/components/po-toolbar/po-toolbar.component.js +0 -46
- package/esm2015/lib/components/po-toolbar/po-toolbar.module.js +0 -32
- package/esm2015/lib/components/po-tree-view/po-tree-view-base.component.js +0 -197
- package/esm2015/lib/components/po-tree-view/po-tree-view-item/po-tree-view-item.component.js +0 -58
- package/esm2015/lib/components/po-tree-view/po-tree-view-item-header/po-tree-view-item-header.component.js +0 -26
- package/esm2015/lib/components/po-tree-view/po-tree-view.component.js +0 -60
- package/esm2015/lib/components/po-tree-view/po-tree-view.module.js +0 -49
- package/esm2015/lib/components/po-tree-view/services/po-tree-view.service.js +0 -24
- package/esm2015/lib/components/po-widget/po-widget-base.component.js +0 -216
- package/esm2015/lib/components/po-widget/po-widget.component.js +0 -114
- package/esm2015/lib/components/po-widget/po-widget.module.js +0 -19
- package/esm2015/lib/directives/directives.module.js +0 -14
- package/esm2015/lib/directives/po-tooltip/po-tooltip-base.directive.js +0 -106
- package/esm2015/lib/directives/po-tooltip/po-tooltip-control-position.service.js +0 -8
- package/esm2015/lib/directives/po-tooltip/po-tooltip.directive.js +0 -147
- package/esm2015/lib/directives/po-tooltip/po-tooltip.module.js +0 -18
- package/esm2015/lib/guards/guards.module.js +0 -13
- package/esm2015/lib/interceptors/interceptors.module.js +0 -15
- package/esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor-base.service.js +0 -249
- package/esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor-detail/po-http-interceptor-detail.component.js +0 -83
- package/esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor.module.js +0 -28
- package/esm2015/lib/interceptors/po-http-interceptor/po-http-interceptor.service.js +0 -28
- package/esm2015/lib/interceptors/po-http-request/po-http-request-control-service.js +0 -23
- package/esm2015/lib/interceptors/po-http-request/po-http-request-interceptor.service.js +0 -169
- package/esm2015/lib/interceptors/po-http-request/po-http-request.module.js +0 -24
- package/esm2015/lib/pipes/pipes.module.js +0 -14
- package/esm2015/lib/pipes/po-time/po-time.module.js +0 -19
- package/esm2015/lib/pipes/po-time/po-time.pipe.js +0 -55
- package/esm2015/lib/po.module.js +0 -34
- package/esm2015/lib/services/po-active-overlay/po-active-overlay.module.js +0 -16
- package/esm2015/lib/services/po-active-overlay/po-active-overlay.service.js +0 -14
- package/esm2015/lib/services/po-color/po-color.service.js +0 -60
- package/esm2015/lib/services/po-color-palette/po-color-palette.module.js +0 -16
- package/esm2015/lib/services/po-color-palette/po-color-palette.service.js +0 -25
- package/esm2015/lib/services/po-component-injector/po-component-injector.module.js +0 -14
- package/esm2015/lib/services/po-component-injector/po-component-injector.service.js +0 -34
- package/esm2015/lib/services/po-control-position/po-control-position.module.js +0 -15
- package/esm2015/lib/services/po-control-position/po-control-position.service.js +0 -361
- package/esm2015/lib/services/po-date/po-date.module.js +0 -16
- package/esm2015/lib/services/po-date/po-date.service.js +0 -201
- package/esm2015/lib/services/po-dialog/po-dialog.component.js +0 -115
- package/esm2015/lib/services/po-dialog/po-dialog.module.js +0 -15
- package/esm2015/lib/services/po-dialog/po-dialog.service.js +0 -42
- package/esm2015/lib/services/po-i18n/po-i18n-base.service.js +0 -439
- package/esm2015/lib/services/po-i18n/po-i18n.module.js +0 -188
- package/esm2015/lib/services/po-i18n/po-i18n.pipe.js +0 -21
- package/esm2015/lib/services/po-i18n/po-i18n.service.js +0 -20
- package/esm2015/lib/services/po-language/po-language.constant.js +0 -75
- package/esm2015/lib/services/po-language/po-language.module.js +0 -15
- package/esm2015/lib/services/po-language/po-language.service.js +0 -136
- package/esm2015/lib/services/po-notification/po-notification.module.js +0 -15
- package/esm2015/lib/services/po-notification/po-notification.service.js +0 -92
- package/esm2015/lib/services/po-notification/po-toaster/po-toaster.component.js +0 -132
- package/esm2015/lib/services/services.module.js +0 -40
- package/esm2015/lib/utils/util.js +0 -508
- package/esm2015/po-ui-ng-components.js +0 -206
- package/fesm2015/po-ui-ng-components.js +0 -35500
- package/fesm2015/po-ui-ng-components.js.map +0 -1
- package/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.constant.d.ts +0 -7
- package/lib/components/po-chart/po-chart-types/po-chart-circular/po-chart-circular.d.ts +0 -55
- package/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge-series.interface.d.ts +0 -39
- package/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge-text-content/po-chart-gauge-text-content.component.d.ts +0 -24
- package/lib/components/po-chart/po-chart-types/po-chart-gauge/po-chart-gauge.component.d.ts +0 -20
- package/po-ui-ng-components-5.22.0.tgz +0 -0
- package/po-ui-ng-components.metadata.json +0 -1
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { Directive, EventEmitter, Input, Output, ViewChildren } from '@angular/core';
|
|
2
|
+
import { PoChartStartAngle, PoChartCompleteCircle, PoChartAngleStepInterval } from '../../helpers/po-chart-default-values.constant';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const _c0 = ["svgPaths"];
|
|
5
|
+
const _c1 = ["svgLabels"];
|
|
6
|
+
export class PoChartCircularComponent {
|
|
7
|
+
constructor(ngZone, changeDetector) {
|
|
8
|
+
this.ngZone = ngZone;
|
|
9
|
+
this.changeDetector = changeDetector;
|
|
10
|
+
this.circularClick = new EventEmitter();
|
|
11
|
+
this.circularHover = new EventEmitter();
|
|
12
|
+
this.canDisplayLabels = false;
|
|
13
|
+
this.seriesLabels = [];
|
|
14
|
+
this.showLabels = false;
|
|
15
|
+
}
|
|
16
|
+
set options(value) {
|
|
17
|
+
if (!isNaN(value?.innerRadius)) {
|
|
18
|
+
this._options = value;
|
|
19
|
+
this.innerRadius = Math.min(Math.max(this._options.innerRadius, 0), 100);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
get options() {
|
|
23
|
+
return this._options;
|
|
24
|
+
}
|
|
25
|
+
set series(value) {
|
|
26
|
+
this._series = value;
|
|
27
|
+
this.animate = true;
|
|
28
|
+
}
|
|
29
|
+
get series() {
|
|
30
|
+
return this._series;
|
|
31
|
+
}
|
|
32
|
+
onSerieClick(selectedItem) {
|
|
33
|
+
this.circularClick.emit(selectedItem);
|
|
34
|
+
}
|
|
35
|
+
onSerieHover(selectedItem) {
|
|
36
|
+
this.circularHover.emit(selectedItem);
|
|
37
|
+
}
|
|
38
|
+
calculateAngle(data, totalValue) {
|
|
39
|
+
return (data / totalValue) * (Math.PI * 2);
|
|
40
|
+
}
|
|
41
|
+
drawSeries(series = [], height) {
|
|
42
|
+
this.seriesList = [];
|
|
43
|
+
this.showLabels = false;
|
|
44
|
+
this.totalValue = this.calculateTotalValue(series);
|
|
45
|
+
if (this.totalValue && this.totalValue > 0) {
|
|
46
|
+
this.seriesList = this.validateSeries(series);
|
|
47
|
+
this.changeDetector.detectChanges();
|
|
48
|
+
if (this.seriesList.length && this.svgPaths) {
|
|
49
|
+
this.initDrawPaths(this.seriesList, this.totalValue, height);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
calculateTotalValue(series) {
|
|
54
|
+
return series.reduce((previousValue, serie) => {
|
|
55
|
+
const data = serie.data ? serie.data : serie.value;
|
|
56
|
+
return previousValue + (data > 0 ? data : 0);
|
|
57
|
+
}, 0);
|
|
58
|
+
}
|
|
59
|
+
calculateSerieCoordinates(series, totalValue, height) {
|
|
60
|
+
let startRadianAngle;
|
|
61
|
+
let endRadianAngle = PoChartStartAngle;
|
|
62
|
+
series.forEach((serie, index) => {
|
|
63
|
+
startRadianAngle = endRadianAngle;
|
|
64
|
+
endRadianAngle = startRadianAngle + this.calculateAngle(serie.data, totalValue) - PoChartCompleteCircle;
|
|
65
|
+
const coordinates = this.calculateCoordinates(height, startRadianAngle, endRadianAngle);
|
|
66
|
+
this.svgPaths.toArray()[index].applyCoordinates(coordinates);
|
|
67
|
+
this.showLabels = this.canDisplayLabels;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
calculateCoordinatesWithAnimation(series, totalValue, height, startRadianAngle, endRadianAngle, currentRadianAngle = 0, seriesIndex = 0) {
|
|
71
|
+
const finishedCurrentSerie = currentRadianAngle > endRadianAngle;
|
|
72
|
+
const finishedAllSeries = seriesIndex === series.length;
|
|
73
|
+
if (finishedAllSeries) {
|
|
74
|
+
this.animate = false;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (finishedCurrentSerie) {
|
|
78
|
+
this.setSerieLabelCoordinates(seriesIndex);
|
|
79
|
+
currentRadianAngle = 0;
|
|
80
|
+
seriesIndex++;
|
|
81
|
+
startRadianAngle = startRadianAngle + endRadianAngle;
|
|
82
|
+
endRadianAngle =
|
|
83
|
+
seriesIndex < series.length ? this.calculateAngle(series[seriesIndex].data, totalValue) : undefined;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
currentRadianAngle += PoChartAngleStepInterval;
|
|
87
|
+
const currentEndRadianAngle = this.calculateCurrentEndAngle(currentRadianAngle, startRadianAngle, endRadianAngle);
|
|
88
|
+
const coordinates = this.calculateCoordinates(height, startRadianAngle, currentEndRadianAngle);
|
|
89
|
+
this.svgPaths.toArray()[seriesIndex].applyCoordinates(coordinates);
|
|
90
|
+
}
|
|
91
|
+
window.requestAnimationFrame(this.calculateCoordinatesWithAnimation.bind(this, series, totalValue, height, startRadianAngle, endRadianAngle, currentRadianAngle, seriesIndex));
|
|
92
|
+
}
|
|
93
|
+
calculateCurrentEndAngle(currentRadianAngle, startRadianAngle, endRadianAngle) {
|
|
94
|
+
const isSerieDrawCompleted = startRadianAngle + currentRadianAngle > startRadianAngle + endRadianAngle;
|
|
95
|
+
return isSerieDrawCompleted
|
|
96
|
+
? startRadianAngle + endRadianAngle - PoChartCompleteCircle
|
|
97
|
+
: startRadianAngle + currentRadianAngle;
|
|
98
|
+
}
|
|
99
|
+
initDrawPaths(seriesList, totalValue, height) {
|
|
100
|
+
if (!this.animate) {
|
|
101
|
+
this.calculateSerieCoordinates(seriesList, totalValue, height);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
const startRadianAngle = PoChartStartAngle;
|
|
105
|
+
const endRadianAngle = this.calculateAngle(seriesList[0].data, totalValue);
|
|
106
|
+
this.ngZone.runOutsideAngular(() => this.calculateCoordinatesWithAnimation(seriesList, totalValue, height, startRadianAngle, endRadianAngle));
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
setSerieLabelCoordinates(index) {
|
|
110
|
+
if (this.svgLabels.toArray().length) {
|
|
111
|
+
this.svgLabels.toArray()[index].applyCoordinates(this.seriesLabels[index]);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
validateSeries(series) {
|
|
115
|
+
return series.reduce((seriesList, serie) => {
|
|
116
|
+
const data = serie.data ?? serie.value;
|
|
117
|
+
if (data && data > 0) {
|
|
118
|
+
const color = serie.color;
|
|
119
|
+
const label = serie.label;
|
|
120
|
+
const tooltip = serie.tooltip;
|
|
121
|
+
const tooltipLabel = this.getTooltipLabel(data, label, tooltip);
|
|
122
|
+
seriesList = [...seriesList, { data, color, label, tooltipLabel }];
|
|
123
|
+
}
|
|
124
|
+
return seriesList;
|
|
125
|
+
}, []);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
PoChartCircularComponent.ɵfac = function PoChartCircularComponent_Factory(t) { return new (t || PoChartCircularComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
129
|
+
PoChartCircularComponent.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoChartCircularComponent, viewQuery: function PoChartCircularComponent_Query(rf, ctx) { if (rf & 1) {
|
|
130
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
131
|
+
i0.ɵɵviewQuery(_c1, 5);
|
|
132
|
+
} if (rf & 2) {
|
|
133
|
+
let _t;
|
|
134
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgPaths = _t);
|
|
135
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.svgLabels = _t);
|
|
136
|
+
} }, inputs: { containerSize: ["p-container-size", "containerSize"], options: ["p-options", "options"], series: ["p-series", "series"] }, outputs: { circularClick: "p-circular-click", circularHover: "p-circular-hover" } });
|
|
137
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartCircularComponent, [{
|
|
138
|
+
type: Directive
|
|
139
|
+
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, { containerSize: [{
|
|
140
|
+
type: Input,
|
|
141
|
+
args: ['p-container-size']
|
|
142
|
+
}], circularClick: [{
|
|
143
|
+
type: Output,
|
|
144
|
+
args: ['p-circular-click']
|
|
145
|
+
}], circularHover: [{
|
|
146
|
+
type: Output,
|
|
147
|
+
args: ['p-circular-hover']
|
|
148
|
+
}], svgPaths: [{
|
|
149
|
+
type: ViewChildren,
|
|
150
|
+
args: ['svgPaths']
|
|
151
|
+
}], svgLabels: [{
|
|
152
|
+
type: ViewChildren,
|
|
153
|
+
args: ['svgLabels']
|
|
154
|
+
}], options: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: ['p-options']
|
|
157
|
+
}], series: [{
|
|
158
|
+
type: Input,
|
|
159
|
+
args: ['p-series']
|
|
160
|
+
}] }); })();
|
|
161
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tY2hhcnQtY2lyY3VsYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi9jb21wb25lbnRzL3BvLWNoYXJ0L3BvLWNoYXJ0LWNvbnRhaW5lci9wby1jaGFydC1jaXJjdWxhci9wby1jaGFydC1jaXJjdWxhci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFFTixZQUFZLEVBQ2IsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixxQkFBcUIsRUFDckIsd0JBQXdCLEVBQ3pCLE1BQU0sZ0RBQWdELENBQUM7Ozs7QUFXeEQsTUFBTSxPQUFnQix3QkFBd0I7SUE2QzVDLFlBQW9CLE1BQWMsRUFBVSxjQ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9IHNlcmllLnRvb2x0aXA7XG4gICAgICAgIGNvbnN0IHRvb2x0aXBMYWJlbCA9IHRoaXMuZ2V0VG9vbHRpcExhYmVsKGRhdGEsIGxhYmVsLCB0b29sdGlwKTtcblxuICAgICAgICBzZXJpZXNMaXN0ID0gWy4uLnNlcmllc0xpc3QsIHsgZGF0YSwgY29sb3IsIGxhYmVsLCB0b29sdGlwTGFiZWwgfV07XG4gICAgICB9XG5cbiAgICAgIHJldHVybiBzZXJpZXNMaXN0O1xuICAgIH0sIFtdKTtcbiAgfVxuXG4gIHByb3RlY3RlZCBhYnN0cmFjdCBjYWxjdWxhdGVDb29yZGluYXRlcyhoZWlnaHQsIHN0YXJ0UmFkaWFuQW5nbGUsIGN1cnJlbnRFbmRSYWRpYW5BbmdsZSk7XG4gIHByb3RlY3RlZCBhYnN0cmFjdCBnZXRUb29sdGlwTGFiZWwoZGF0YSwgbGFiZWwsIHRvb2x0aXApO1xufVxuIl19
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { convertNumberToDecimal } from '../../../../../utils/util';
|
|
3
|
+
import { PoDefaultColorsTextBlack } from '../../../../../services/po-color/po-colors.constant';
|
|
4
|
+
import { PoChartDonutDefaultThickness, PoChartStartAngle } from '../../../helpers/po-chart-default-values.constant';
|
|
5
|
+
import { PoChartCircularComponent } from '../po-chart-circular.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "../po-chart-circular-path/po-chart-circular-path.component";
|
|
9
|
+
import * as i3 from "../po-chart-circular-label/po-chart-circular-label.component";
|
|
10
|
+
const _c0 = ["po-chart-donut", ""];
|
|
11
|
+
function PoChartDonutComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
13
|
+
i0.ɵɵnamespaceSVG();
|
|
14
|
+
i0.ɵɵelementStart(0, "g");
|
|
15
|
+
i0.ɵɵelementStart(1, "g", 2, 3);
|
|
16
|
+
i0.ɵɵlistener("p-on-click", function PoChartDonutComponent__svg_g_1_Template__svg_g_p_on_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onSerieClick($event); })("p-on-hover", function PoChartDonutComponent__svg_g_1_Template__svg_g_p_on_hover_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.onSerieHover($event); });
|
|
17
|
+
i0.ɵɵelementEnd();
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
} if (rf & 2) {
|
|
20
|
+
const item_r2 = ctx.$implicit;
|
|
21
|
+
const i_r3 = ctx.index;
|
|
22
|
+
i0.ɵɵadvance(1);
|
|
23
|
+
i0.ɵɵproperty("p-serie", item_r2);
|
|
24
|
+
i0.ɵɵattribute("key", "po-chart-circular-path-" + i_r3);
|
|
25
|
+
} }
|
|
26
|
+
function PoChartDonutComponent__svg_g_2__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵnamespaceSVG();
|
|
28
|
+
i0.ɵɵelementStart(0, "g");
|
|
29
|
+
i0.ɵɵelement(1, "g", 4, 5);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const item_r9 = ctx.$implicit;
|
|
33
|
+
const i_r10 = ctx.index;
|
|
34
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
35
|
+
i0.ɵɵadvance(1);
|
|
36
|
+
i0.ɵɵproperty("p-serie", item_r9)("p-show-label", ctx_r8.showLabels);
|
|
37
|
+
i0.ɵɵattribute("key", "po-chart-circular-label-" + i_r10);
|
|
38
|
+
} }
|
|
39
|
+
function PoChartDonutComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵnamespaceSVG();
|
|
41
|
+
i0.ɵɵelementStart(0, "g");
|
|
42
|
+
i0.ɵɵtemplate(1, PoChartDonutComponent__svg_g_2__svg_g_1_Template, 3, 3, "g", 0);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
46
|
+
i0.ɵɵadvance(1);
|
|
47
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.seriesLabels);
|
|
48
|
+
} }
|
|
49
|
+
export class PoChartDonutComponent extends PoChartCircularComponent {
|
|
50
|
+
/* istanbul ignore next */
|
|
51
|
+
constructor(ngZone, changeDetector) {
|
|
52
|
+
super(ngZone, changeDetector);
|
|
53
|
+
this.poChartBlackColor = '#000000';
|
|
54
|
+
this.poChartWhiteColor = '#ffffff';
|
|
55
|
+
}
|
|
56
|
+
ngOnChanges(changes) {
|
|
57
|
+
if (changes.series || changes.containerSize || changes.options) {
|
|
58
|
+
this.drawSeries(this.series, this.containerSize.svgHeight);
|
|
59
|
+
this.applySeriesLabels(this.seriesList, this.containerSize.svgHeight);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
calculateCoordinates(height, startRadianAngle, endRadianAngle) {
|
|
63
|
+
const radius = height / 2;
|
|
64
|
+
const innerRadius = this.getInnerRadius(radius);
|
|
65
|
+
const sinAlpha = Math.sin(startRadianAngle);
|
|
66
|
+
const cosAlpha = Math.cos(startRadianAngle);
|
|
67
|
+
const sinBeta = Math.sin(endRadianAngle);
|
|
68
|
+
const cosBeta = Math.cos(endRadianAngle);
|
|
69
|
+
const startX = radius + cosAlpha * radius;
|
|
70
|
+
const startY = radius + sinAlpha * radius;
|
|
71
|
+
const endX = radius + cosBeta * radius;
|
|
72
|
+
const endY = radius + sinBeta * radius;
|
|
73
|
+
const startInnerX = radius + cosAlpha * innerRadius;
|
|
74
|
+
const startInnerY = radius + sinAlpha * innerRadius;
|
|
75
|
+
const endInnerX = radius + cosBeta * innerRadius;
|
|
76
|
+
const endInnerY = radius + sinBeta * innerRadius;
|
|
77
|
+
const largeArc = endRadianAngle - startRadianAngle > Math.PI;
|
|
78
|
+
this.verifyDisplayLabels(radius, innerRadius);
|
|
79
|
+
return [
|
|
80
|
+
'M',
|
|
81
|
+
startX,
|
|
82
|
+
startY,
|
|
83
|
+
'A',
|
|
84
|
+
radius,
|
|
85
|
+
radius,
|
|
86
|
+
0,
|
|
87
|
+
largeArc ? '1,1' : '0,1',
|
|
88
|
+
endX,
|
|
89
|
+
endY,
|
|
90
|
+
'L',
|
|
91
|
+
endInnerX,
|
|
92
|
+
endInnerY,
|
|
93
|
+
'A',
|
|
94
|
+
innerRadius,
|
|
95
|
+
innerRadius,
|
|
96
|
+
0,
|
|
97
|
+
largeArc ? '1,0' : '0,0',
|
|
98
|
+
startInnerX,
|
|
99
|
+
startInnerY,
|
|
100
|
+
'Z'
|
|
101
|
+
].join(' ');
|
|
102
|
+
}
|
|
103
|
+
getTooltipLabel(data, label, tooltipLabel) {
|
|
104
|
+
const dataLabel = label ? `${label}: ` : '';
|
|
105
|
+
const dataValue = this.getPercentValue(data, this.totalValue) + '%';
|
|
106
|
+
return tooltipLabel || `${dataLabel}${dataValue}`;
|
|
107
|
+
}
|
|
108
|
+
applySeriesLabels(seriesList, height) {
|
|
109
|
+
let startRadianAngle = PoChartStartAngle;
|
|
110
|
+
let endRadianAngle = PoChartStartAngle;
|
|
111
|
+
this.seriesLabels = seriesList.map(serie => {
|
|
112
|
+
startRadianAngle = endRadianAngle;
|
|
113
|
+
endRadianAngle = startRadianAngle + this.calculateAngle(serie.data, this.totalValue);
|
|
114
|
+
const label = this.getPercentValue(serie.data, this.totalValue) + '% ';
|
|
115
|
+
const color = this.getTextColor(serie.color);
|
|
116
|
+
const coordinates = this.calculateLabelCoordinates(height, startRadianAngle, endRadianAngle);
|
|
117
|
+
return { ...coordinates, label, color };
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
calculateLabelCoordinates(height, startRadianAngle, endRadianAngle) {
|
|
121
|
+
const radius = height / 2;
|
|
122
|
+
const innerRadius = this.getInnerRadius(radius);
|
|
123
|
+
const sliceCenterAngle = (startRadianAngle + endRadianAngle) / 2;
|
|
124
|
+
const labelRadius = innerRadius + (radius - innerRadius) / 2;
|
|
125
|
+
const xCoordinate = labelRadius * Math.cos(sliceCenterAngle) + radius;
|
|
126
|
+
const yCoordinate = labelRadius * Math.sin(sliceCenterAngle) + radius;
|
|
127
|
+
return { xCoordinate, yCoordinate };
|
|
128
|
+
}
|
|
129
|
+
getInnerRadius(radius) {
|
|
130
|
+
const defaultInnerRadius = radius - PoChartDonutDefaultThickness;
|
|
131
|
+
return this.innerRadius >= 0 ? (this.innerRadius / 100) * radius : defaultInnerRadius;
|
|
132
|
+
}
|
|
133
|
+
getPercentValue(value, totalValue) {
|
|
134
|
+
const percentValue = (value / totalValue) * 100;
|
|
135
|
+
const floatPercentValue = convertNumberToDecimal(percentValue, 2);
|
|
136
|
+
return String(floatPercentValue).replace('.', ',');
|
|
137
|
+
}
|
|
138
|
+
getTextColor(color) {
|
|
139
|
+
if (PoDefaultColorsTextBlack.includes(color)) {
|
|
140
|
+
return this.poChartBlackColor;
|
|
141
|
+
}
|
|
142
|
+
return this.poChartWhiteColor;
|
|
143
|
+
}
|
|
144
|
+
verifyDisplayLabels(radius, innerRadius) {
|
|
145
|
+
this.canDisplayLabels = radius - innerRadius >= radius - (radius - PoChartDonutDefaultThickness);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
PoChartDonutComponent.ɵfac = function PoChartDonutComponent_Factory(t) { return new (t || PoChartDonutComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
149
|
+
PoChartDonutComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartDonutComponent, selectors: [["", "po-chart-donut", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartDonutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
150
|
+
i0.ɵɵnamespaceSVG();
|
|
151
|
+
i0.ɵɵelementStart(0, "g");
|
|
152
|
+
i0.ɵɵtemplate(1, PoChartDonutComponent__svg_g_1_Template, 3, 2, "g", 0);
|
|
153
|
+
i0.ɵɵtemplate(2, PoChartDonutComponent__svg_g_2_Template, 2, 1, "g", 1);
|
|
154
|
+
i0.ɵɵelementEnd();
|
|
155
|
+
} if (rf & 2) {
|
|
156
|
+
i0.ɵɵadvance(1);
|
|
157
|
+
i0.ɵɵproperty("ngForOf", ctx.seriesList);
|
|
158
|
+
i0.ɵɵadvance(1);
|
|
159
|
+
i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
|
|
160
|
+
} }, directives: [i1.NgForOf, i1.NgIf, i2.PoChartCircularPathComponent, i3.PoChartCircularLabelComponent], encapsulation: 2 });
|
|
161
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartDonutComponent, [{
|
|
162
|
+
type: Component,
|
|
163
|
+
args: [{ selector: '[po-chart-donut]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
|
|
164
|
+
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
165
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tY2hhcnQtZG9udXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi9jb21wb25lbnRzL3BvLWNoYXJ0L3BvLWNoYXJ0LWNvbnRhaW5lci9wby1jaGFydC1jaXJjdWxhci9wby1jaGFydC1kb251dC9wby1jaGFydC1kb251dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL2NvbXBvbmVudHMvcG8tY2hhcnQvcG8tY2hhcnQtY29udGFpbmVyL3BvLWNoYXJ0LWNpcmN1bGFyL3BvLWNoYXJ0LWNpcmN1bGFyLmNvbXBvbmVudC5zdmciXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFxQixTQUFTLEVBQW9DLE1BQU0sZUFBZSxDQUFDO0FBRS9GLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ25FLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLHFEQUFxRCxDQUFDO0FBQy9GLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1EQUFtRCxDQUFDO0FBRXBILE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOzs7Ozs7Ozs7SUNKeEUseUJBQXNEO0lBQ3BELCtCQUlzQztJQURwQyxxTEFBYywyQkFBb0IsSUFBQyx3S0FDckIsMkJBQW9CLElBREM7SU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sgaVwiXG4gICAgICAgIFtwLXNlcmllXT1cIml0ZW1cIlxuICAgICAgICBbcC1zaG93LWxhYmVsXT1cInNob3dMYWJlbHNcIj5cbiAgICAgIDwvc3ZnOmc+XG4gICAgPC9zdmc6Zz5cbiAgPC9zdmc6Zz5cbjwvc3ZnOmc+XG5cbiJdfQ==
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { PoChartCircularComponent } from '../po-chart-circular.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../po-chart-circular-path/po-chart-circular-path.component";
|
|
6
|
+
import * as i3 from "../po-chart-circular-label/po-chart-circular-label.component";
|
|
7
|
+
const _c0 = ["po-chart-pie", ""];
|
|
8
|
+
function PoChartPieComponent__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
10
|
+
i0.ɵɵnamespaceSVG();
|
|
11
|
+
i0.ɵɵelementStart(0, "g");
|
|
12
|
+
i0.ɵɵelementStart(1, "g", 2, 3);
|
|
13
|
+
i0.ɵɵlistener("p-on-click", function PoChartPieComponent__svg_g_1_Template__svg_g_p_on_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return ctx_r5.onSerieClick($event); })("p-on-hover", function PoChartPieComponent__svg_g_1_Template__svg_g_p_on_hover_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r7 = i0.ɵɵnextContext(); return ctx_r7.onSerieHover($event); });
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
} if (rf & 2) {
|
|
17
|
+
const item_r2 = ctx.$implicit;
|
|
18
|
+
const i_r3 = ctx.index;
|
|
19
|
+
i0.ɵɵadvance(1);
|
|
20
|
+
i0.ɵɵproperty("p-serie", item_r2);
|
|
21
|
+
i0.ɵɵattribute("key", "po-chart-circular-path-" + i_r3);
|
|
22
|
+
} }
|
|
23
|
+
function PoChartPieComponent__svg_g_2__svg_g_1_Template(rf, ctx) { if (rf & 1) {
|
|
24
|
+
i0.ɵɵnamespaceSVG();
|
|
25
|
+
i0.ɵɵelementStart(0, "g");
|
|
26
|
+
i0.ɵɵelement(1, "g", 4, 5);
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
const item_r9 = ctx.$implicit;
|
|
30
|
+
const i_r10 = ctx.index;
|
|
31
|
+
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
32
|
+
i0.ɵɵadvance(1);
|
|
33
|
+
i0.ɵɵproperty("p-serie", item_r9)("p-show-label", ctx_r8.showLabels);
|
|
34
|
+
i0.ɵɵattribute("key", "po-chart-circular-label-" + i_r10);
|
|
35
|
+
} }
|
|
36
|
+
function PoChartPieComponent__svg_g_2_Template(rf, ctx) { if (rf & 1) {
|
|
37
|
+
i0.ɵɵnamespaceSVG();
|
|
38
|
+
i0.ɵɵelementStart(0, "g");
|
|
39
|
+
i0.ɵɵtemplate(1, PoChartPieComponent__svg_g_2__svg_g_1_Template, 3, 3, "g", 0);
|
|
40
|
+
i0.ɵɵelementEnd();
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
43
|
+
i0.ɵɵadvance(1);
|
|
44
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.seriesLabels);
|
|
45
|
+
} }
|
|
46
|
+
export class PoChartPieComponent extends PoChartCircularComponent {
|
|
47
|
+
/* istanbul ignore next */
|
|
48
|
+
constructor(ngZone, changeDetector) {
|
|
49
|
+
super(ngZone, changeDetector);
|
|
50
|
+
}
|
|
51
|
+
ngOnChanges(changes) {
|
|
52
|
+
if (changes.series || changes.containerSize) {
|
|
53
|
+
this.drawSeries(this.series, this.containerSize.svgHeight);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
calculateCoordinates(height, startRadianAngle, endRadianAngle) {
|
|
57
|
+
const radius = height / 2;
|
|
58
|
+
const sinAlpha = Math.sin(startRadianAngle);
|
|
59
|
+
const cosAlpha = Math.cos(startRadianAngle);
|
|
60
|
+
const sinBeta = Math.sin(endRadianAngle);
|
|
61
|
+
const cosBeta = Math.cos(endRadianAngle);
|
|
62
|
+
const startX = radius + cosAlpha * radius;
|
|
63
|
+
const startY = radius + sinAlpha * radius;
|
|
64
|
+
const endX = radius + cosBeta * radius;
|
|
65
|
+
const endY = radius + sinBeta * radius;
|
|
66
|
+
const largeArc = endRadianAngle - startRadianAngle > Math.PI;
|
|
67
|
+
return [
|
|
68
|
+
'M',
|
|
69
|
+
startX,
|
|
70
|
+
startY,
|
|
71
|
+
'A',
|
|
72
|
+
radius,
|
|
73
|
+
radius,
|
|
74
|
+
0,
|
|
75
|
+
largeArc ? '1,1' : '0,1',
|
|
76
|
+
endX,
|
|
77
|
+
endY,
|
|
78
|
+
'L',
|
|
79
|
+
radius,
|
|
80
|
+
radius,
|
|
81
|
+
'Z'
|
|
82
|
+
].join(' ');
|
|
83
|
+
}
|
|
84
|
+
getTooltipLabel(data, label, tooltipLabel) {
|
|
85
|
+
const dataLabel = label ? `${label}: ` : '';
|
|
86
|
+
const dataValue = data.toString();
|
|
87
|
+
return tooltipLabel || `${dataLabel}${dataValue}`;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
PoChartPieComponent.ɵfac = function PoChartPieComponent_Factory(t) { return new (t || PoChartPieComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
91
|
+
PoChartPieComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoChartPieComponent, selectors: [["", "po-chart-pie", ""]], features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature], attrs: _c0, decls: 3, vars: 2, consts: [[4, "ngFor", "ngForOf"], [4, "ngIf"], ["po-chart-circular-path", "", 3, "p-serie", "p-on-click", "p-on-hover"], ["svgPaths", ""], ["po-chart-circular-label", "", 3, "p-serie", "p-show-label"], ["svgLabels", ""]], template: function PoChartPieComponent_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
+
i0.ɵɵnamespaceSVG();
|
|
93
|
+
i0.ɵɵelementStart(0, "g");
|
|
94
|
+
i0.ɵɵtemplate(1, PoChartPieComponent__svg_g_1_Template, 3, 2, "g", 0);
|
|
95
|
+
i0.ɵɵtemplate(2, PoChartPieComponent__svg_g_2_Template, 2, 1, "g", 1);
|
|
96
|
+
i0.ɵɵelementEnd();
|
|
97
|
+
} if (rf & 2) {
|
|
98
|
+
i0.ɵɵadvance(1);
|
|
99
|
+
i0.ɵɵproperty("ngForOf", ctx.seriesList);
|
|
100
|
+
i0.ɵɵadvance(1);
|
|
101
|
+
i0.ɵɵproperty("ngIf", ctx.canDisplayLabels);
|
|
102
|
+
} }, directives: [i1.NgForOf, i1.NgIf, i2.PoChartCircularPathComponent, i3.PoChartCircularLabelComponent], encapsulation: 2 });
|
|
103
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoChartPieComponent, [{
|
|
104
|
+
type: Component,
|
|
105
|
+
args: [{ selector: '[po-chart-pie]', template: "<svg:g>\n <!-- SERIES PATHS -->\n <svg:g *ngFor=\"let item of seriesList; let i = index\">\n <svg:g #svgPaths po-chart-circular-path\n [attr.key]=\"'po-chart-circular-path-' + i\"\n [p-serie]=\"item\"\n (p-on-click)=\"onSerieClick($event)\"\n (p-on-hover)=\"onSerieHover($event)\">\n </svg:g>\n </svg:g>\n\n <!-- SERIES LABELS -->\n <svg:g *ngIf=\"canDisplayLabels\">\n <svg:g *ngFor=\"let item of seriesLabels; let i = index\">\n <svg:g #svgLabels po-chart-circular-label\n [attr.key]=\"'po-chart-circular-label-' + i\"\n [p-serie]=\"item\"\n [p-show-label]=\"showLabels\">\n </svg:g>\n </svg:g>\n </svg:g>\n</svg:g>\n\n" }]
|
|
106
|
+
}], function () { return [{ type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tY2hhcnQtcGllLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpL3NyYy9saWIvY29tcG9uZW50cy9wby1jaGFydC9wby1jaGFydC1jb250YWluZXIvcG8tY2hhcnQtY2lyY3VsYXIvcG8tY2hhcnQtcGllL3BvLWNoYXJ0LXBpZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL2NvbXBvbmVudHMvcG8tY2hhcnQvcG8tY2hhcnQtY29udGFpbmVyL3BvLWNoYXJ0LWNpcmN1bGFyL3BvLWNoYXJ0LWNpcmN1bGFyLmNvbXBvbmVudC5zdmciXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFxQixTQUFTLEVBQW9DLE1BQU0sZUFBZSxDQUFDO0FBRS9GLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOzs7Ozs7Ozs7SUNBeEUseUJBQXNEO0lBQ3BELCtCQUlzQztJQURwQyxtTEFBYywyQkFBb0IsSUFBQyxzS0FDckIsMkJBQW9CLElBREM7SUFFckMsaUJBQVE7SUFDVixpQkFBUTs7OztJQUpKLGVBQWdCO0lBQWhCLGlDQUFnQjtJQURoQix1REFBMEM7Ozs7SUFTNUMseUJBQXdEO0lBQ3RELDBCQUlRO0lBQ1YsaUJBQVE7Ozs7O0lBSEosZUFBZ0I7SUFBaEIsaUNBQWdCLG1DQUFBO0lBRGhCLHlEQUEyQzs7OztJQUhqRCx5QkFBZ0M7SUFDOUIsOEV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