@po-ui/ng-components 5.22.1 → 6.1.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 +394 -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 +437 -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 +184 -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 +450 -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 +47794 -0
- package/fesm2015/po-ui-ng-components.mjs.map +1 -0
- package/fesm2020/po-ui-ng-components.mjs +45104 -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 +6 -2
- 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 +6 -2
- 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 +6 -2
- 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 +36 -21
- package/po-ui-ng-components-6.1.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 -39380
- 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 -576
- 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 -35503
- 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.1.tgz +0 -0
- package/po-ui-ng-components.metadata.json +0 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { HttpEventType, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common/http";
|
|
5
|
+
export class PoUploadBaseService {
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
this.formField = 'files';
|
|
9
|
+
this.requests = [];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Método responsável por enviar os arquivos ao servidor, conforme o parâmetro URL.
|
|
13
|
+
*
|
|
14
|
+
* @param url URL da requisição a ser efetuada.
|
|
15
|
+
* @param files Arquivos a serem enviados.
|
|
16
|
+
* @param tOnUpload Função a ser executada quando o arquivo for enviado ao servidor.
|
|
17
|
+
* @param uploadCallback Função que será executada enquanto os arquivos estiverem sendo enviados.
|
|
18
|
+
* @param successCallback Função a ser executada quando a requisição for efetuada com sucesso.
|
|
19
|
+
* @param errorCallback Função a ser executada quando a requisição foi efetuada com sucesso.
|
|
20
|
+
*/
|
|
21
|
+
upload(url, files, headers, tOnUpload, uploadCallback, successCallback, errorCallback) {
|
|
22
|
+
const filesLength = files.length;
|
|
23
|
+
const uploadEvent = {
|
|
24
|
+
data: {},
|
|
25
|
+
file: null
|
|
26
|
+
};
|
|
27
|
+
for (let i = 0; i < filesLength; i++) {
|
|
28
|
+
const formData = new FormData();
|
|
29
|
+
const file = files[i];
|
|
30
|
+
const fileName = file.rawFile.name;
|
|
31
|
+
formData.append(this.formField, file.rawFile, fileName);
|
|
32
|
+
// Função upload, onde o desenvolvedor pode enviar dados para a requisição.
|
|
33
|
+
if (tOnUpload) {
|
|
34
|
+
uploadEvent['file'] = file;
|
|
35
|
+
tOnUpload.emit(uploadEvent);
|
|
36
|
+
formData.append('data', JSON.stringify(uploadEvent.data));
|
|
37
|
+
}
|
|
38
|
+
this.sendFile(url, file, headers, formData, uploadCallback, successCallback, errorCallback);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
sendFile(url, file, headers, formData, uploadCallback, successCallback, errorCallback) {
|
|
42
|
+
const request = this.getRequest(url, headers, formData).subscribe(event => {
|
|
43
|
+
if (event.type === HttpEventType.UploadProgress) {
|
|
44
|
+
this.addRequest(file, request);
|
|
45
|
+
const percentDone = Math.round((100 * event.loaded) / event.total);
|
|
46
|
+
uploadCallback(file, percentDone);
|
|
47
|
+
}
|
|
48
|
+
else if (event instanceof HttpResponse) {
|
|
49
|
+
// Sucesso, arquivos enviados.
|
|
50
|
+
successCallback(file, event);
|
|
51
|
+
}
|
|
52
|
+
}, (err) => {
|
|
53
|
+
errorCallback(file, err);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
getRequest(url, headers, formData) {
|
|
57
|
+
const httpHeaders = new HttpHeaders(headers);
|
|
58
|
+
const req = new HttpRequest('POST', url, formData, {
|
|
59
|
+
reportProgress: true,
|
|
60
|
+
headers: httpHeaders
|
|
61
|
+
});
|
|
62
|
+
return this.http.request(req);
|
|
63
|
+
}
|
|
64
|
+
stopRequestByFile(file, callback) {
|
|
65
|
+
const requestObj = this.requests.find(req => req.file.uid === file.uid);
|
|
66
|
+
if (requestObj) {
|
|
67
|
+
const request = requestObj.request;
|
|
68
|
+
request.unsubscribe();
|
|
69
|
+
this.removeRequest(requestObj);
|
|
70
|
+
callback();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
removeRequest(requestObj) {
|
|
74
|
+
const index = this.requests.indexOf(requestObj);
|
|
75
|
+
this.requests.splice(index, 1);
|
|
76
|
+
}
|
|
77
|
+
addRequest(file, request) {
|
|
78
|
+
const hasRequest = this.requests.some(req => req.file.uid === file.uid);
|
|
79
|
+
if (!hasRequest) {
|
|
80
|
+
this.requests.push({ file, request });
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
PoUploadBaseService.ɵfac = function PoUploadBaseService_Factory(t) { return new (t || PoUploadBaseService)(i0.ɵɵinject(i1.HttpClient)); };
|
|
85
|
+
PoUploadBaseService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PoUploadBaseService, factory: PoUploadBaseService.ɵfac });
|
|
86
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadBaseService, [{
|
|
87
|
+
type: Injectable
|
|
88
|
+
}], function () { return [{ type: i1.HttpClient }]; }, null); })();
|
|
89
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tdXBsb2FkLWJhc2Uuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpL3NyYy9saWIvY29tcG9uZW50cy9wby1maWVsZC9wby11cGxvYWQvcG8tdXBsb2FkLWJhc2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFnQixNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBRUwsYUFBYSxFQUViLFdBQVcsRUFDWCxZQUFZLEVBQ1osV0FBVyxFQUNaLE1BQU0sc0JBQXNCLENBQUM7OztBQU85QixNQUFNLE9BQU8sbUJBQW1CO0lBSTlCLFlBQW9CLElBQWdCO1FBQWhCLFNBQUksR0FBSixJQUFJLENBQVk7UUFIcEMsY0FBUyxHQUFXLE9BQU8sQ0FBQztRQUM1QixhQUFRLEdBQWUsRUFBRSxDQUFDO0lBRWEsQ0FBQztJQUV4Qzs7Ozs7Ozs7O09BU0c7SUFDSSxNQUFNLENBQ1gsR0FBVyxFQUNYLEtBQTBCLEVBQzFCLE9BQW1ELEVBQ25ELF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YocmVxdWVzdE9iaik7XG4gICAgdGhpcy5yZXF1ZXN0cy5zcGxpY2UoaW5kZXgsIDEpO1xuICB9XG5cbiAgcHVibGljIGFkZFJlcXVlc3QoZmlsZTogUG9VcGxvYWRGaWxlLCByZXF1ZXN0OiBTdWJzY3JpcHRpb24pIHtcbiAgICBjb25zdCBoYXNSZXF1ZXN0ID0gdGhpcy5yZXF1ZXN0cy5zb21lKHJlcSA9PiByZXEuZmlsZS51aWQgPT09IGZpbGUudWlkKTtcblxuICAgIGlmICghaGFzUmVxdWVzdCkge1xuICAgICAgdGhpcy5yZXF1ZXN0cy5wdXNoKHsgZmlsZSwgcmVxdWVzdCB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
const _c0 = ["selectFilesLink"];
|
|
5
|
+
function PoUploadDragDropAreaComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
+
i0.ɵɵelementContainer(0);
|
|
7
|
+
} }
|
|
8
|
+
function PoUploadDragDropAreaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
9
|
+
i0.ɵɵelement(0, "span", 5);
|
|
10
|
+
i0.ɵɵelementStart(1, "div", 6);
|
|
11
|
+
i0.ɵɵtext(2);
|
|
12
|
+
i0.ɵɵelementEnd();
|
|
13
|
+
} if (rf & 2) {
|
|
14
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
15
|
+
i0.ɵɵadvance(2);
|
|
16
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r2.directoryCompatible ? ctx_r2.literals == null ? null : ctx_r2.literals.dropFoldersHere : ctx_r2.literals == null ? null : ctx_r2.literals.dropFilesHere, " ");
|
|
17
|
+
} }
|
|
18
|
+
const _c1 = function (a0) { return { "po-clickable": a0 }; };
|
|
19
|
+
function PoUploadDragDropAreaComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelement(0, "span", 7);
|
|
22
|
+
i0.ɵɵelementStart(1, "div", 8);
|
|
23
|
+
i0.ɵɵtext(2);
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(3, "button", 9, 10);
|
|
26
|
+
i0.ɵɵlistener("click", function PoUploadDragDropAreaComponent_ng_template_5_Template_button_click_3_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.selectFiles.emit(); });
|
|
27
|
+
i0.ɵɵtext(5);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
} if (rf & 2) {
|
|
30
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
31
|
+
i0.ɵɵadvance(2);
|
|
32
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.dragFoldersHere : ctx_r4.literals == null ? null : ctx_r4.literals.dragFilesHere, " ");
|
|
33
|
+
i0.ɵɵadvance(1);
|
|
34
|
+
i0.ɵɵproperty("disabled", ctx_r4.disabled)("ngClass", i0.ɵɵpureFunction1(4, _c1, !ctx_r4.disabled));
|
|
35
|
+
i0.ɵɵadvance(2);
|
|
36
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r4.directoryCompatible ? ctx_r4.literals == null ? null : ctx_r4.literals.selectFolderOnComputer : ctx_r4.literals == null ? null : ctx_r4.literals.selectFilesOnComputer, " ");
|
|
37
|
+
} }
|
|
38
|
+
const _c2 = function (a0) { return { "po-upload-drag-drop-area-disabled": a0 }; };
|
|
39
|
+
export class PoUploadDragDropAreaComponent {
|
|
40
|
+
constructor(elementRef) {
|
|
41
|
+
this.elementRef = elementRef;
|
|
42
|
+
this.selectFiles = new EventEmitter();
|
|
43
|
+
}
|
|
44
|
+
focus() {
|
|
45
|
+
this.selectFilesLinkElement.nativeElement.focus();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
PoUploadDragDropAreaComponent.ɵfac = function PoUploadDragDropAreaComponent_Factory(t) { return new (t || PoUploadDragDropAreaComponent)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
49
|
+
PoUploadDragDropAreaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaComponent, selectors: [["po-upload-drag-drop-area"]], viewQuery: function PoUploadDragDropAreaComponent_Query(rf, ctx) { if (rf & 1) {
|
|
50
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
let _t;
|
|
53
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectFilesLinkElement = _t.first);
|
|
54
|
+
} }, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], height: ["p-height", "height"], literals: ["p-literals", "literals"], overlay: ["p-overlay", "overlay"] }, outputs: { selectFiles: "p-select-files" }, decls: 7, vars: 8, consts: [[1, "po-upload-drag-drop-area", 3, "ngClass"], [1, "po-upload-drag-drop-area-container"], [4, "ngIf", "ngIfThen", "ngIfElse"], ["overlayTemplate", ""], ["defaultTemplate", ""], [1, "po-upload-drag-drop-area-overlay-icon", "po-icon", "po-icon-upload-cloud"], [1, "po-upload-drag-drop-area-overlay-label"], [1, "po-upload-drag-drop-area-icon", "po-icon", "po-icon-upload-cloud"], [1, "po-upload-drag-drop-area-label"], [1, "po-upload-drag-drop-area-select-files", 3, "disabled", "ngClass", "click"], ["selectFilesLink", ""]], template: function PoUploadDragDropAreaComponent_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
56
|
+
i0.ɵɵelementStart(1, "div", 1);
|
|
57
|
+
i0.ɵɵtemplate(2, PoUploadDragDropAreaComponent_ng_container_2_Template, 1, 0, "ng-container", 2);
|
|
58
|
+
i0.ɵɵelementEnd();
|
|
59
|
+
i0.ɵɵelementEnd();
|
|
60
|
+
i0.ɵɵtemplate(3, PoUploadDragDropAreaComponent_ng_template_3_Template, 3, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
61
|
+
i0.ɵɵtemplate(5, PoUploadDragDropAreaComponent_ng_template_5_Template, 6, 6, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
62
|
+
} if (rf & 2) {
|
|
63
|
+
const _r1 = i0.ɵɵreference(4);
|
|
64
|
+
const _r3 = i0.ɵɵreference(6);
|
|
65
|
+
i0.ɵɵstyleProp("height", ctx.height, "px");
|
|
66
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c2, ctx.disabled));
|
|
67
|
+
i0.ɵɵadvance(2);
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.overlay && !ctx.disabled)("ngIfThen", _r1)("ngIfElse", _r3);
|
|
69
|
+
} }, directives: [i1.NgClass, i1.NgIf], encapsulation: 2, changeDetection: 0 });
|
|
70
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaComponent, [{
|
|
71
|
+
type: Component,
|
|
72
|
+
args: [{ selector: 'po-upload-drag-drop-area', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"po-upload-drag-drop-area\"\n [ngClass]=\"{ 'po-upload-drag-drop-area-disabled': disabled }\"\n [style.height.px]=\"height\"\n>\n <div class=\"po-upload-drag-drop-area-container\">\n <ng-container *ngIf=\"overlay && !disabled; then overlayTemplate; else defaultTemplate\"> </ng-container>\n </div>\n</div>\n\n<ng-template #overlayTemplate>\n <span class=\"po-upload-drag-drop-area-overlay-icon po-icon po-icon-upload-cloud\"></span>\n\n <div class=\"po-upload-drag-drop-area-overlay-label\">\n {{ directoryCompatible ? literals?.dropFoldersHere : literals?.dropFilesHere }}\n </div>\n</ng-template>\n\n<ng-template #defaultTemplate>\n <span class=\"po-upload-drag-drop-area-icon po-icon po-icon-upload-cloud\"></span>\n\n <div class=\"po-upload-drag-drop-area-label\">\n {{ directoryCompatible ? literals?.dragFoldersHere : literals?.dragFilesHere }}\n </div>\n\n <button\n #selectFilesLink\n class=\"po-upload-drag-drop-area-select-files\"\n [disabled]=\"disabled\"\n [ngClass]=\"{ 'po-clickable': !disabled }\"\n (click)=\"selectFiles.emit()\"\n >\n {{ directoryCompatible ? literals?.selectFolderOnComputer : literals?.selectFilesOnComputer }}\n </button>\n</ng-template>\n" }]
|
|
73
|
+
}], function () { return [{ type: i0.ElementRef }]; }, { directoryCompatible: [{
|
|
74
|
+
type: Input,
|
|
75
|
+
args: ['p-directory-compatible']
|
|
76
|
+
}], disabled: [{
|
|
77
|
+
type: Input,
|
|
78
|
+
args: ['p-disabled']
|
|
79
|
+
}], height: [{
|
|
80
|
+
type: Input,
|
|
81
|
+
args: ['p-height']
|
|
82
|
+
}], literals: [{
|
|
83
|
+
type: Input,
|
|
84
|
+
args: ['p-literals']
|
|
85
|
+
}], overlay: [{
|
|
86
|
+
type: Input,
|
|
87
|
+
args: ['p-overlay']
|
|
88
|
+
}], selectFiles: [{
|
|
89
|
+
type: Output,
|
|
90
|
+
args: ['p-select-files']
|
|
91
|
+
}], selectFilesLinkElement: [{
|
|
92
|
+
type: ViewChild,
|
|
93
|
+
args: ['selectFilesLink']
|
|
94
|
+
}] }); })();
|
|
95
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tdXBsb2FkLWRyYWctZHJvcC1hcmVhLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpL3NyYy9saWIvY29tcG9uZW50cy9wby1maWVsZC9wby11cGxvYWQvcG8tdXBs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L2Rpdj5cblxuICA8YnV0dG9uXG4gICAgI3NlbGVjdEZpbGVzTGlua1xuICAgIGNsYXNzPVwicG8tdXBsb2FkLWRyYWctZHJvcC1hcmVhLXNlbGVjdC1maWxlc1wiXG4gICAgW2Rpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICBbbmdDbGFzc109XCJ7ICdwby1jbGlja2FibGUnOiAhZGlzYWJsZWQgfVwiXG4gICAgKGNsaWNrKT1cInNlbGVjdEZpbGVzLmVtaXQoKVwiXG4gID5cbiAgICB7eyBkaXJlY3RvcnlDb21wYXRpYmxlID8gbGl0ZXJhbHM/LnNlbGVjdEZvbGRlck9uQ29tcHV0ZXIgOiBsaXRlcmFscz8uc2VsZWN0RmlsZXNPbkNvbXB1dGVyIH19XG4gIDwvYnV0dG9uPlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../po-upload-drag-drop-area/po-upload-drag-drop-area.component";
|
|
4
|
+
const _c0 = ["DragDropAreaFixed"];
|
|
5
|
+
export class PoUploadDragDropAreaOverlayComponent {
|
|
6
|
+
constructor(renderer) {
|
|
7
|
+
this.renderer = renderer;
|
|
8
|
+
this.areaElement = new EventEmitter();
|
|
9
|
+
}
|
|
10
|
+
ngAfterViewInit() {
|
|
11
|
+
if (this.target) {
|
|
12
|
+
this.setPosition(this.target);
|
|
13
|
+
}
|
|
14
|
+
this.areaElement.emit(this.DragDropAreaFixed.nativeElement);
|
|
15
|
+
}
|
|
16
|
+
setPosition(targetElement) {
|
|
17
|
+
const boundingClientRect = targetElement.nativeElement.getBoundingClientRect();
|
|
18
|
+
const clientRectKeys = ['bottom', 'left', 'height', 'right', 'top', 'width'];
|
|
19
|
+
clientRectKeys.forEach(clientRectKey => {
|
|
20
|
+
const clientRectValue = boundingClientRect[clientRectKey];
|
|
21
|
+
this.renderer.setStyle(this.DragDropAreaFixed.nativeElement, clientRectKey, `${clientRectValue}px`);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
PoUploadDragDropAreaOverlayComponent.ɵfac = function PoUploadDragDropAreaOverlayComponent_Factory(t) { return new (t || PoUploadDragDropAreaOverlayComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
26
|
+
PoUploadDragDropAreaOverlayComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropAreaOverlayComponent, selectors: [["po-upload-drag-drop-area-overlay"]], viewQuery: function PoUploadDragDropAreaOverlayComponent_Query(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵviewQuery(_c0, 7, ElementRef);
|
|
28
|
+
} if (rf & 2) {
|
|
29
|
+
let _t;
|
|
30
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.DragDropAreaFixed = _t.first);
|
|
31
|
+
} }, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], target: ["p-target", "target"] }, outputs: { areaElement: "p-area-element" }, decls: 3, vars: 4, consts: [[1, "po-overlay-fixed"], [1, "po-upload-drag-drop-area-overlay", 3, "p-directory-compatible", "p-disabled", "p-literals", "p-overlay"], ["DragDropAreaFixed", ""]], template: function PoUploadDragDropAreaOverlayComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
33
|
+
i0.ɵɵelement(1, "po-upload-drag-drop-area", 1, 2);
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
i0.ɵɵadvance(1);
|
|
37
|
+
i0.ɵɵproperty("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-literals", ctx.literals)("p-overlay", true);
|
|
38
|
+
} }, directives: [i1.PoUploadDragDropAreaComponent], encapsulation: 2, changeDetection: 0 });
|
|
39
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropAreaOverlayComponent, [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'po-upload-drag-drop-area-overlay', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"po-overlay-fixed\">\n <po-upload-drag-drop-area\n #DragDropAreaFixed\n class=\"po-upload-drag-drop-area-overlay\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-overlay]=\"true\"\n >\n </po-upload-drag-drop-area>\n</div>\n" }]
|
|
42
|
+
}], function () { return [{ type: i0.Renderer2 }]; }, { DragDropAreaFixed: [{
|
|
43
|
+
type: ViewChild,
|
|
44
|
+
args: ['DragDropAreaFixed', { read: ElementRef, static: true }]
|
|
45
|
+
}], directoryCompatible: [{
|
|
46
|
+
type: Input,
|
|
47
|
+
args: ['p-directory-compatible']
|
|
48
|
+
}], disabled: [{
|
|
49
|
+
type: Input,
|
|
50
|
+
args: ['p-disabled']
|
|
51
|
+
}], literals: [{
|
|
52
|
+
type: Input,
|
|
53
|
+
args: ['p-literals']
|
|
54
|
+
}], target: [{
|
|
55
|
+
type: Input,
|
|
56
|
+
args: ['p-target']
|
|
57
|
+
}], areaElement: [{
|
|
58
|
+
type: Output,
|
|
59
|
+
args: ['p-area-element']
|
|
60
|
+
}] }); })();
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tdXBsb2FkLWRyYWctZHJvcC1hcmVhLW92ZXJsYXkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkvc3JjL2xpYi9jb21wb25lbnRzL3BvLWZpZW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xufVxuIiwiPGRpdiBjbGFzcz1cInBvLW92ZXJsYXktZml4ZWRcIj5cbiAgPHBvLXVwbG9hZC1kcmFnLWRyb3AtYXJlYVxuICAgICNEcmFnRHJvcEFyZWFGaXhlZFxuICAgIGNsYXNzPVwicG8tdXBsb2FkLWRyYWctZHJvcC1hcmVhLW92ZXJsYXlcIlxuICAgIFtwLWRpcmVjdG9yeS1jb21wYXRpYmxlXT1cImRpcmVjdG9yeUNvbXBhdGlibGVcIlxuICAgIFtwLWRpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgICBbcC1saXRlcmFsc109XCJsaXRlcmFsc1wiXG4gICAgW3Atb3ZlcmxheV09XCJ0cnVlXCJcbiAgPlxuICA8L3BvLXVwbG9hZC1kcmFnLWRyb3AtYXJlYT5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { convertToInt } from '../../../../utils/util';
|
|
3
|
+
import { PoUploadDragDropAreaComponent } from './po-upload-drag-drop-area/po-upload-drag-drop-area.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "./po-upload-drag-drop-area/po-upload-drag-drop-area.component";
|
|
7
|
+
import * as i3 from "./po-upload-drag-drop.directive";
|
|
8
|
+
import * as i4 from "./po-upload-drag-drop-area-overlay/po-upload-drag-drop-area-overlay.component";
|
|
9
|
+
const _c0 = ["dragDropOverlay"];
|
|
10
|
+
function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template(rf, ctx) { if (rf & 1) {
|
|
11
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
12
|
+
i0.ɵɵelementStart(0, "po-upload-drag-drop-area-overlay", 2, 3);
|
|
13
|
+
i0.ɵɵlistener("p-area-element", function PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template_po_upload_drag_drop_area_overlay_p_area_element_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.onAreaElement($event); });
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
} if (rf & 2) {
|
|
16
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
17
|
+
i0.ɵɵproperty("p-directory-compatible", ctx_r0.directoryCompatible)("p-disabled", ctx_r0.disabled)("p-literals", ctx_r0.literals)("p-target", ctx_r0.dragDropAreaComponent.elementRef);
|
|
18
|
+
} }
|
|
19
|
+
const PoUploadDragDropHeightDefault = 320;
|
|
20
|
+
const PoUploadDragDropHeightMin = 160;
|
|
21
|
+
export class PoUploadDragDropComponent {
|
|
22
|
+
constructor(changeDetector) {
|
|
23
|
+
this.changeDetector = changeDetector;
|
|
24
|
+
this.fileChange = new EventEmitter();
|
|
25
|
+
this.selectFiles = new EventEmitter();
|
|
26
|
+
this.isDragOver = false;
|
|
27
|
+
this._dragDropHeight = PoUploadDragDropHeightDefault;
|
|
28
|
+
}
|
|
29
|
+
set dragDropHeight(value) {
|
|
30
|
+
const dragDropHeight = convertToInt(value, PoUploadDragDropHeightDefault);
|
|
31
|
+
this._dragDropHeight = dragDropHeight < PoUploadDragDropHeightMin ? PoUploadDragDropHeightMin : dragDropHeight;
|
|
32
|
+
}
|
|
33
|
+
get dragDropHeight() {
|
|
34
|
+
return this._dragDropHeight;
|
|
35
|
+
}
|
|
36
|
+
focus() {
|
|
37
|
+
this.dragDropAreaComponent.focus();
|
|
38
|
+
}
|
|
39
|
+
onAreaElement(element) {
|
|
40
|
+
this.areaElement = element;
|
|
41
|
+
// necessário para não ocorrer o erro HasBeenChecked
|
|
42
|
+
this.changeDetector.detectChanges();
|
|
43
|
+
}
|
|
44
|
+
onDragLeave() {
|
|
45
|
+
this.isDragOver = false;
|
|
46
|
+
}
|
|
47
|
+
onDragOver() {
|
|
48
|
+
this.isDragOver = true;
|
|
49
|
+
}
|
|
50
|
+
onFileChange(files) {
|
|
51
|
+
this.isDragOver = false;
|
|
52
|
+
this.fileChange.emit(files);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
PoUploadDragDropComponent.ɵfac = function PoUploadDragDropComponent_Factory(t) { return new (t || PoUploadDragDropComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
56
|
+
PoUploadDragDropComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PoUploadDragDropComponent, selectors: [["po-upload-drag-drop"]], viewQuery: function PoUploadDragDropComponent_Query(rf, ctx) { if (rf & 1) {
|
|
57
|
+
i0.ɵɵviewQuery(_c0, 5, ElementRef);
|
|
58
|
+
i0.ɵɵviewQuery(PoUploadDragDropAreaComponent, 7);
|
|
59
|
+
} if (rf & 2) {
|
|
60
|
+
let _t;
|
|
61
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dragDropOverlayElement = _t.first);
|
|
62
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dragDropAreaComponent = _t.first);
|
|
63
|
+
} }, inputs: { directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"], dragDropHeight: ["p-drag-drop-height", "dragDropHeight"] }, outputs: { fileChange: "p-file-change", selectFiles: "p-select-files" }, decls: 2, vars: 7, consts: [[3, "p-directory-compatible", "p-disabled", "p-literals", "p-target", "p-area-element", 4, "ngIf"], ["p-upload-drag-drop", "", 3, "p-area-element", "p-directory-compatible", "p-disabled", "p-height", "p-literals", "p-overlay", "p-drag-leave", "p-drag-over", "p-file-change", "p-select-files"], [3, "p-directory-compatible", "p-disabled", "p-literals", "p-target", "p-area-element"], ["dragDropOverlay", ""]], template: function PoUploadDragDropComponent_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
+
i0.ɵɵtemplate(0, PoUploadDragDropComponent_po_upload_drag_drop_area_overlay_0_Template, 2, 4, "po-upload-drag-drop-area-overlay", 0);
|
|
65
|
+
i0.ɵɵelementStart(1, "po-upload-drag-drop-area", 1);
|
|
66
|
+
i0.ɵɵlistener("p-drag-leave", function PoUploadDragDropComponent_Template_po_upload_drag_drop_area_p_drag_leave_1_listener() { return ctx.onDragLeave(); })("p-drag-over", function PoUploadDragDropComponent_Template_po_upload_drag_drop_area_p_drag_over_1_listener() { return ctx.onDragOver(); })("p-file-change", function PoUploadDragDropComponent_Template_po_upload_drag_drop_area_p_file_change_1_listener($event) { return ctx.onFileChange($event); })("p-select-files", function PoUploadDragDropComponent_Template_po_upload_drag_drop_area_p_select_files_1_listener() { return ctx.selectFiles.emit(); });
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
} if (rf & 2) {
|
|
69
|
+
i0.ɵɵproperty("ngIf", ctx.isDragOver);
|
|
70
|
+
i0.ɵɵadvance(1);
|
|
71
|
+
i0.ɵɵproperty("p-area-element", ctx.areaElement)("p-directory-compatible", ctx.directoryCompatible)("p-disabled", ctx.disabled)("p-height", ctx.dragDropHeight)("p-literals", ctx.literals)("p-overlay", false);
|
|
72
|
+
} }, directives: [i1.NgIf, i2.PoUploadDragDropAreaComponent, i3.PoUploadDragDropDirective, i4.PoUploadDragDropAreaOverlayComponent], encapsulation: 2, changeDetection: 0 });
|
|
73
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropComponent, [{
|
|
74
|
+
type: Component,
|
|
75
|
+
args: [{ selector: 'po-upload-drag-drop', changeDetection: ChangeDetectionStrategy.OnPush, template: "<po-upload-drag-drop-area-overlay\n #dragDropOverlay\n *ngIf=\"isDragOver\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-literals]=\"literals\"\n [p-target]=\"dragDropAreaComponent.elementRef\"\n (p-area-element)=\"onAreaElement($event)\"\n>\n</po-upload-drag-drop-area-overlay>\n\n<po-upload-drag-drop-area\n p-upload-drag-drop\n [p-area-element]=\"areaElement\"\n [p-directory-compatible]=\"directoryCompatible\"\n [p-disabled]=\"disabled\"\n [p-height]=\"dragDropHeight\"\n [p-literals]=\"literals\"\n [p-overlay]=\"false\"\n (p-drag-leave)=\"onDragLeave()\"\n (p-drag-over)=\"onDragOver()\"\n (p-file-change)=\"onFileChange($event)\"\n (p-select-files)=\"selectFiles.emit()\"\n>\n</po-upload-drag-drop-area>\n" }]
|
|
76
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { dragDropOverlayElement: [{
|
|
77
|
+
type: ViewChild,
|
|
78
|
+
args: ['dragDropOverlay', { read: ElementRef }]
|
|
79
|
+
}], dragDropAreaComponent: [{
|
|
80
|
+
type: ViewChild,
|
|
81
|
+
args: [PoUploadDragDropAreaComponent, { static: true }]
|
|
82
|
+
}], directoryCompatible: [{
|
|
83
|
+
type: Input,
|
|
84
|
+
args: ['p-directory-compatible']
|
|
85
|
+
}], disabled: [{
|
|
86
|
+
type: Input,
|
|
87
|
+
args: ['p-disabled']
|
|
88
|
+
}], literals: [{
|
|
89
|
+
type: Input,
|
|
90
|
+
args: ['p-literals']
|
|
91
|
+
}], fileChange: [{
|
|
92
|
+
type: Output,
|
|
93
|
+
args: ['p-file-change']
|
|
94
|
+
}], selectFiles: [{
|
|
95
|
+
type: Output,
|
|
96
|
+
args: ['p-select-files']
|
|
97
|
+
}], dragDropHeight: [{
|
|
98
|
+
type: Input,
|
|
99
|
+
args: ['p-drag-drop-height']
|
|
100
|
+
}] }); })();
|
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tdXBsb2FkLWRyYWctZHJvcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL2NvbXBvbmVudHMvcG8tZmllbGQvcG8tdXBsb2FkL3BvLXVwbG9hZC1kcmFnLWRy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N0b3J5Q29tcGF0aWJsZVwiXG4gIFtwLWRpc2FibGVkXT1cImRpc2FibGVkXCJcbiAgW3AtaGVpZ2h0XT1cImRyYWdEcm9wSGVpZ2h0XCJcbiAgW3AtbGl0ZXJhbHNdPVwibGl0ZXJhbHNcIlxuICBbcC1vdmVybGF5XT1cImZhbHNlXCJcbiAgKHAtZHJhZy1sZWF2ZSk9XCJvbkRyYWdMZWF2ZSgpXCJcbiAgKHAtZHJhZy1vdmVyKT1cIm9uRHJhZ092ZXIoKVwiXG4gIChwLWZpbGUtY2hhbmdlKT1cIm9uRmlsZUNoYW5nZSgkZXZlbnQpXCJcbiAgKHAtc2VsZWN0LWZpbGVzKT1cInNlbGVjdEZpbGVzLmVtaXQoKVwiXG4+XG48L3BvLXVwbG9hZC1kcmFnLWRyb3AtYXJlYT5cbiJdfQ==
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { Directive, EventEmitter, HostListener, Input, Output } from '@angular/core';
|
|
2
|
+
import { PoI18nPipe } from '../../../../services/po-i18n/po-i18n.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../../services/po-i18n/po-i18n.pipe";
|
|
5
|
+
import * as i2 from "../../../../services/po-notification/po-notification.service";
|
|
6
|
+
export class PoUploadDragDropDirective {
|
|
7
|
+
constructor(i18nPipe, notification) {
|
|
8
|
+
this.i18nPipe = i18nPipe;
|
|
9
|
+
this.notification = notification;
|
|
10
|
+
this.dragLeave = new EventEmitter();
|
|
11
|
+
this.dragOver = new EventEmitter();
|
|
12
|
+
this.fileChange = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
onDragLeave(event) {
|
|
15
|
+
event.preventDefault();
|
|
16
|
+
event.stopPropagation();
|
|
17
|
+
this.timeout = setTimeout(() => this.dragLeave.emit(), 30);
|
|
18
|
+
}
|
|
19
|
+
onDragOver(event) {
|
|
20
|
+
event.preventDefault();
|
|
21
|
+
event.stopPropagation();
|
|
22
|
+
clearTimeout(this.timeout);
|
|
23
|
+
if (!this.disabled) {
|
|
24
|
+
this.dragOver.emit();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
onDrop(event) {
|
|
28
|
+
event.preventDefault();
|
|
29
|
+
event.stopPropagation();
|
|
30
|
+
this.getFilesFromDataTransferItems(event);
|
|
31
|
+
this.dragLeave.emit();
|
|
32
|
+
}
|
|
33
|
+
getFilesFromDataTransferItems(event) {
|
|
34
|
+
if (!this.disabled) {
|
|
35
|
+
this.invalidFileType = 0;
|
|
36
|
+
if (this.directoryCompatible) {
|
|
37
|
+
this.getOnlyDirectories(event.dataTransfer.items).then(() => {
|
|
38
|
+
this.sendFiles(event, this.files);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const files = this.getOnlyFiles(event.dataTransfer);
|
|
43
|
+
this.sendFiles(event, files);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// analisa as entradas recursivamente
|
|
48
|
+
async getFilesFromEntry(entry) {
|
|
49
|
+
if (entry.isFile) {
|
|
50
|
+
const file = await this.readFile(entry);
|
|
51
|
+
return [file];
|
|
52
|
+
}
|
|
53
|
+
else if (entry.isDirectory) {
|
|
54
|
+
return await this.readDirectory(entry);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
async getOnlyDirectories(dataTransferItems) {
|
|
58
|
+
const entries = [];
|
|
59
|
+
// lista todas as entradas antes de analisá-las
|
|
60
|
+
for (const item of dataTransferItems) {
|
|
61
|
+
entries.push(item.webkitGetAsEntry());
|
|
62
|
+
}
|
|
63
|
+
this.files = [];
|
|
64
|
+
for (const entry of entries) {
|
|
65
|
+
if (entry.isFile) {
|
|
66
|
+
this.invalidFileType++;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const newFiles = await this.getFilesFromEntry(entry);
|
|
70
|
+
this.files = this.files.concat(newFiles);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
// return only files. If it is a directory, invalidFileType counts.
|
|
75
|
+
getOnlyFiles(dataTransfer) {
|
|
76
|
+
const fileList = Array.from(dataTransfer.files);
|
|
77
|
+
const entriesFiles = Array.from(dataTransfer.items).map(item => item.webkitGetAsEntry());
|
|
78
|
+
return fileList.reduce((newFiles, file) => {
|
|
79
|
+
const entryFile = entriesFiles.find(entry => entry.name === file.name);
|
|
80
|
+
if (entryFile.isFile) {
|
|
81
|
+
return newFiles.concat(file);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
this.invalidFileType++;
|
|
85
|
+
}
|
|
86
|
+
return newFiles;
|
|
87
|
+
}, []);
|
|
88
|
+
}
|
|
89
|
+
readFile(entry) {
|
|
90
|
+
return new Promise(resolve => {
|
|
91
|
+
entry.file(file => {
|
|
92
|
+
resolve(file);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
async readDirectory(entry) {
|
|
97
|
+
const dirReader = entry.createReader();
|
|
98
|
+
let files = [];
|
|
99
|
+
const newFiles = await this.readDirectoryEntries(dirReader);
|
|
100
|
+
files = files.concat(newFiles);
|
|
101
|
+
return files;
|
|
102
|
+
}
|
|
103
|
+
readDirectoryEntries(dirReader) {
|
|
104
|
+
return new Promise(resolve => {
|
|
105
|
+
dirReader.readEntries(async (entries) => {
|
|
106
|
+
let files = [];
|
|
107
|
+
for (const entry of entries) {
|
|
108
|
+
const itemFiles = await this.getFilesFromEntry(entry);
|
|
109
|
+
files = files.concat(itemFiles);
|
|
110
|
+
}
|
|
111
|
+
resolve(files);
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
sendFeedback(invalidFiles) {
|
|
116
|
+
if (invalidFiles) {
|
|
117
|
+
this.setPipeArguments('invalidFileType', invalidFiles);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
sendFiles(event, files) {
|
|
121
|
+
if (this.areaElement.contains(event.target)) {
|
|
122
|
+
if (files.length > 0) {
|
|
123
|
+
this.fileChange.emit(files);
|
|
124
|
+
}
|
|
125
|
+
this.sendFeedback(this.invalidFileType);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
const invalidDropAreaArg = this.directoryCompatible ? this.literals.folders : this.literals.files;
|
|
129
|
+
this.setPipeArguments('invalidDropArea', invalidDropAreaArg);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
// método responsável por setar os argumentos do i18nPipe.
|
|
133
|
+
setPipeArguments(literalAttributes, args) {
|
|
134
|
+
const pipeArguments = this.i18nPipe.transform(this.literals[literalAttributes], args);
|
|
135
|
+
this.notification.information(pipeArguments);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
PoUploadDragDropDirective.ɵfac = function PoUploadDragDropDirective_Factory(t) { return new (t || PoUploadDragDropDirective)(i0.ɵɵdirectiveInject(i1.PoI18nPipe), i0.ɵɵdirectiveInject(i2.PoNotificationService)); };
|
|
139
|
+
PoUploadDragDropDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PoUploadDragDropDirective, selectors: [["", "p-upload-drag-drop", ""]], hostBindings: function PoUploadDragDropDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
140
|
+
i0.ɵɵlistener("dragleave", function PoUploadDragDropDirective_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); }, false, i0.ɵɵresolveDocument)("dragover", function PoUploadDragDropDirective_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); }, false, i0.ɵɵresolveDocument)("drop", function PoUploadDragDropDirective_drop_HostBindingHandler($event) { return ctx.onDrop($event); }, false, i0.ɵɵresolveDocument);
|
|
141
|
+
} }, inputs: { areaElement: ["p-area-element", "areaElement"], directoryCompatible: ["p-directory-compatible", "directoryCompatible"], disabled: ["p-disabled", "disabled"], literals: ["p-literals", "literals"] }, outputs: { dragLeave: "p-drag-leave", dragOver: "p-drag-over", fileChange: "p-file-change" }, features: [i0.ɵɵProvidersFeature([PoI18nPipe])] });
|
|
142
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PoUploadDragDropDirective, [{
|
|
143
|
+
type: Directive,
|
|
144
|
+
args: [{
|
|
145
|
+
selector: '[p-upload-drag-drop]',
|
|
146
|
+
providers: [PoI18nPipe]
|
|
147
|
+
}]
|
|
148
|
+
}], function () { return [{ type: i1.PoI18nPipe }, { type: i2.PoNotificationService }]; }, { areaElement: [{
|
|
149
|
+
type: Input,
|
|
150
|
+
args: ['p-area-element']
|
|
151
|
+
}], directoryCompatible: [{
|
|
152
|
+
type: Input,
|
|
153
|
+
args: ['p-directory-compatible']
|
|
154
|
+
}], disabled: [{
|
|
155
|
+
type: Input,
|
|
156
|
+
args: ['p-disabled']
|
|
157
|
+
}], literals: [{
|
|
158
|
+
type: Input,
|
|
159
|
+
args: ['p-literals']
|
|
160
|
+
}], dragLeave: [{
|
|
161
|
+
type: Output,
|
|
162
|
+
args: ['p-drag-leave']
|
|
163
|
+
}], dragOver: [{
|
|
164
|
+
type: Output,
|
|
165
|
+
args: ['p-drag-over']
|
|
166
|
+
}], fileChange: [{
|
|
167
|
+
type: Output,
|
|
168
|
+
args: ['p-file-change']
|
|
169
|
+
}], onDragLeave: [{
|
|
170
|
+
type: HostListener,
|
|
171
|
+
args: ['document:dragleave', ['$event']]
|
|
172
|
+
}], onDragOver: [{
|
|
173
|
+
type: HostListener,
|
|
174
|
+
args: ['document:dragover', ['$event']]
|
|
175
|
+
}], onDrop: [{
|
|
176
|
+
type: HostListener,
|
|
177
|
+
args: ['document:drop', ['$event']]
|
|
178
|
+
}] }); })();
|
|
179
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG8tdXBsb2FkLWRyYWctZHJvcC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS9zcmMvbGliL2Nv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