@tetacom/ng-components 1.0.24 → 1.0.25
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/.browserslistrc +16 -0
- package/dist/README.md +24 -0
- package/dist/assets/color-icons.svg +339 -0
- package/dist/assets/icons.svg +669 -0
- package/dist/assets/intersect.svg +3 -0
- package/dist/assets/lithotype-icons.svg +429 -0
- package/{common → dist/common}/contract/auto-close-ignore-case.d.ts +0 -0
- package/{common → dist/common}/contract/constructor-type.d.ts +0 -0
- package/{common → dist/common}/contract/dynamic-data.d.ts +0 -0
- package/{common → dist/common}/contract/i-dictionary.d.ts +0 -0
- package/{common → dist/common}/contract/i-id-name.d.ts +0 -0
- package/{common → dist/common}/contract/i-rect.d.ts +0 -0
- package/{common → dist/common}/contract/i-tree-data.d.ts +0 -0
- package/{common → dist/common}/contract/public-api.d.ts +0 -0
- package/{common → dist/common}/contract/teta-content-ref.d.ts +0 -0
- package/{common → dist/common}/enum/align.enum.d.ts +0 -0
- package/{common → dist/common}/enum/public-api.d.ts +0 -0
- package/{common → dist/common}/enum/teta-size.enum.d.ts +0 -0
- package/{common → dist/common}/enum/vertical-align.enum.d.ts +0 -0
- package/{common → dist/common}/public-api.d.ts +0 -0
- package/{common → dist/common}/service/click.service.d.ts +0 -0
- package/{common → dist/common}/service/dynamic-component.service.d.ts +0 -0
- package/{common → dist/common}/service/overlay-container.service.d.ts +0 -0
- package/{common → dist/common}/service/public-api.d.ts +0 -0
- package/{common → dist/common}/util/array-util.d.ts +0 -0
- package/{common → dist/common}/util/dom-util.d.ts +0 -0
- package/{common → dist/common}/util/position-util.d.ts +0 -0
- package/{common → dist/common}/util/public-api.d.ts +0 -0
- package/{component → dist/component}/accordion/accordion/accordion.component.d.ts +0 -0
- package/{component → dist/component}/accordion/accordion-content.directive.d.ts +0 -0
- package/{component → dist/component}/accordion/accordion-head/accordion-head.component.d.ts +0 -0
- package/{component → dist/component}/accordion/accordion-item/accordion-item.component.d.ts +0 -0
- package/{component → dist/component}/accordion/accordion.module.d.ts +0 -0
- package/{component → dist/component}/accordion/public-api.d.ts +0 -0
- package/{component → dist/component}/button/button/button.component.d.ts +0 -0
- package/{component → dist/component}/button/button.module.d.ts +0 -0
- package/{component → dist/component}/button/public-api.d.ts +0 -0
- package/{component → dist/component}/chart/chart/chart.component.d.ts +0 -0
- package/{component → dist/component}/chart/chart.module.d.ts +0 -0
- package/dist/component/chart/core/axis-creator.d.ts +29 -0
- package/{component → dist/component}/chart/core/chart.d.ts +0 -0
- package/{component → dist/component}/chart/core/public-api.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/area-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/bar-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/contour-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/default-drawer-mapping.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/line-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/pie-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/public-api.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/scatter-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/drawer/spline-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/legend-drawer/default-drawer-legend-mapping.d.ts +0 -0
- package/{component → dist/component}/chart/legend-drawer/gradient-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/legend-drawer/swatch-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/model/annotation.d.ts +0 -0
- package/{component → dist/component}/chart/model/axis-options.d.ts +0 -0
- package/{component → dist/component}/chart/model/chart-bounds.d.ts +0 -0
- package/{component → dist/component}/chart/model/chart-options.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/axis-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/dispatch-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/drag-point-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/legend-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/public-api.d.ts +0 -0
- package/dist/component/chart/model/enum/scale-type.d.ts +7 -0
- package/{component → dist/component}/chart/model/enum/scale.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/series-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/enum/zoom-type.d.ts +0 -0
- package/{component → dist/component}/chart/model/i-drag-event.d.ts +0 -0
- package/{component → dist/component}/chart/model/i-drawer-legend.d.ts +0 -0
- package/{component → dist/component}/chart/model/i-drawer.d.ts +0 -0
- package/{component → dist/component}/chart/model/i-zoom-event.d.ts +0 -0
- package/{component → dist/component}/chart/model/plot-band.d.ts +0 -0
- package/{component → dist/component}/chart/model/plot-line.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/bar-point.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/base-point.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/contour-point.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/marker-options.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/public-api.d.ts +0 -0
- package/{component → dist/component}/chart/model/point/scatter-point.d.ts +0 -0
- package/{component → dist/component}/chart/model/public-api.d.ts +0 -0
- package/dist/component/chart/model/series.d.ts +62 -0
- package/{component → dist/component}/chart/model/tooltip-options.d.ts +0 -0
- package/{component → dist/component}/chart/public-api.d.ts +0 -0
- package/{component → dist/component}/chart-3d/chart-3d.module.d.ts +0 -0
- package/{component → dist/component}/chart-3d/chart3d/chart3d.component.d.ts +0 -0
- package/{component → dist/component}/chart-3d/model/base-3d-point.d.ts +0 -0
- package/{component → dist/component}/chart-3d/model/chart-3d-options.d.ts +0 -0
- package/{component → dist/component}/chart-3d/model/public-api.d.ts +0 -0
- package/{component → dist/component}/chart-3d/model/series-3d.d.ts +0 -0
- package/{component → dist/component}/chart-3d/public-api.d.ts +0 -0
- package/{component → dist/component}/checkbox/checkbox/checkbox.component.d.ts +0 -0
- package/{component → dist/component}/checkbox/checkbox.module.d.ts +0 -0
- package/{component → dist/component}/checkbox/public-api.d.ts +0 -0
- package/{component → dist/component}/date-picker/date-picker/date-picker.component.d.ts +0 -0
- package/{component → dist/component}/date-picker/date-picker.module.d.ts +0 -0
- package/{component → dist/component}/date-picker/day-select/day-select.component.d.ts +0 -0
- package/{component → dist/component}/date-picker/model/date-period.d.ts +0 -0
- package/{component → dist/component}/date-picker/model/date-picker-mode.enum.d.ts +0 -0
- package/{component → dist/component}/date-picker/model/day-model.d.ts +0 -0
- package/{component → dist/component}/date-picker/model/picker-locale-model.d.ts +0 -0
- package/{component → dist/component}/date-picker/month-picker/month-picker.component.d.ts +0 -0
- package/{component → dist/component}/date-picker/month-select/month-select.component.d.ts +0 -0
- package/{component → dist/component}/date-picker/public-api.d.ts +0 -0
- package/{component → dist/component}/date-picker/service/picker-locale.service.d.ts +0 -0
- package/{component → dist/component}/date-picker/service/picker-touch.service.d.ts +0 -0
- package/{component → dist/component}/date-picker/time-part-control/time-part-control.component.d.ts +0 -0
- package/{component → dist/component}/date-picker/util/date-picker-util.d.ts +0 -0
- package/{component → dist/component}/date-picker/year-select/year-select.component.d.ts +0 -0
- package/{component → dist/component}/delimiter/delimiter/delimiter.component.d.ts +0 -0
- package/{component → dist/component}/delimiter/delimiter.module.d.ts +0 -0
- package/{component → dist/component}/delimiter/public-api.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown/dropdown.component.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown-base.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown-content.directive.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown-head.directive.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown.directive.d.ts +0 -0
- package/{component → dist/component}/dropdown/dropdown.module.d.ts +0 -0
- package/{component → dist/component}/dropdown/public-api.d.ts +0 -0
- package/{component → dist/component}/dynamic-component/dynamic-component.module.d.ts +0 -0
- package/{component → dist/component}/dynamic-component/popup-content/popup-content.component.d.ts +0 -0
- package/{component → dist/component}/dynamic-component/public-api.d.ts +0 -0
- package/{component → dist/component}/expand-panel/expand-panel/expand-panel.component.d.ts +0 -0
- package/{component → dist/component}/expand-panel/expand-panel-content.directive.d.ts +0 -0
- package/{component → dist/component}/expand-panel/expand-panel-head.directive.d.ts +0 -0
- package/{component → dist/component}/expand-panel/expand-panel.module.d.ts +0 -0
- package/{component → dist/component}/expand-panel/public-api.d.ts +0 -0
- package/{component → dist/component}/file-upload/file-item/file-item.component.d.ts +0 -0
- package/{component → dist/component}/file-upload/file-upload-area/file-upload-area.component.d.ts +0 -0
- package/{component → dist/component}/file-upload/file-upload.module.d.ts +0 -0
- package/{component → dist/component}/file-upload/public-api.d.ts +0 -0
- package/{component → dist/component}/filter/base/filter-base.d.ts +0 -0
- package/{component → dist/component}/filter/base/filter-component-base.d.ts +0 -0
- package/{component → dist/component}/filter/boolean-filter/boolean-filter.component.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/boolean-filter.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/date-filter-value.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/date-filter.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/filter-component-map.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/filter-item.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/filter-state.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/i-filter.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/list-filter.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/numeric-filter-value.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/numeric-filter.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/sort-param.d.ts +0 -0
- package/{component → dist/component}/filter/contarct/string-filter.d.ts +0 -0
- package/{component → dist/component}/filter/date-filter/date-filter.component.d.ts +0 -0
- package/{component → dist/component}/filter/enum/filter-type.enum.d.ts +0 -0
- package/{component → dist/component}/filter/enum/list-filter-type.enum.d.ts +0 -0
- package/{component → dist/component}/filter/enum/string-filter-type.enum.d.ts +0 -0
- package/{component → dist/component}/filter/filter-host/filter-host.component.d.ts +0 -0
- package/{component → dist/component}/filter/filter-panel/filter-panel.component.d.ts +0 -0
- package/{component → dist/component}/filter/filter.module.d.ts +0 -0
- package/{component → dist/component}/filter/list-filter/list-filter.component.d.ts +0 -0
- package/{component → dist/component}/filter/numeric-filter/numeric-filter.component.d.ts +0 -0
- package/{component → dist/component}/filter/public-api.d.ts +0 -0
- package/{component → dist/component}/filter/string-filter/string-filter.component.d.ts +0 -0
- package/{component → dist/component}/icon/icon/icon.component.d.ts +0 -0
- package/{component → dist/component}/icon/icon-sprite.directive.d.ts +0 -0
- package/{component → dist/component}/icon/icon.module.d.ts +0 -0
- package/{component → dist/component}/icon/icon.service.d.ts +0 -0
- package/{component → dist/component}/icon/public-api.d.ts +0 -0
- package/{component → dist/component}/input/form-group-title/form-group-title.component.d.ts +0 -0
- package/{component → dist/component}/input/input/input.component.d.ts +0 -0
- package/{component → dist/component}/input/input.module.d.ts +0 -0
- package/{component → dist/component}/input/public-api.d.ts +0 -0
- package/{component → dist/component}/input/text-field/text-field.component.d.ts +0 -0
- package/{component → dist/component}/message/message/message.component.d.ts +0 -0
- package/{component → dist/component}/message/message-host/message-host.component.d.ts +0 -0
- package/{component → dist/component}/message/message.module.d.ts +0 -0
- package/{component → dist/component}/message/message.service.d.ts +0 -0
- package/{component → dist/component}/message/model/message.d.ts +0 -0
- package/{component → dist/component}/message/public-api.d.ts +0 -0
- package/{component → dist/component}/modal/dialog/dialog.component.d.ts +0 -0
- package/{component → dist/component}/modal/dialog.service.d.ts +0 -0
- package/{component → dist/component}/modal/modal-container/modal-container.component.d.ts +0 -0
- package/{component → dist/component}/modal/modal.module.d.ts +0 -0
- package/{component → dist/component}/modal/modal.service.d.ts +0 -0
- package/{component → dist/component}/modal/model/current-modal.d.ts +0 -0
- package/{component → dist/component}/modal/model/i-modal-config.d.ts +0 -0
- package/{component → dist/component}/modal/model/i-modal-result.d.ts +0 -0
- package/{component → dist/component}/modal/model/modal-close-reason.enum.d.ts +0 -0
- package/{component → dist/component}/modal/model/modal-instance.d.ts +0 -0
- package/{component → dist/component}/modal/public-api.d.ts +0 -0
- package/{component → dist/component}/pager/model/pager-state.d.ts +0 -0
- package/{component → dist/component}/pager/pager/pager.component.d.ts +0 -0
- package/{component → dist/component}/pager/pager.module.d.ts +0 -0
- package/{component → dist/component}/pager/public-api.d.ts +0 -0
- package/{component → dist/component}/pager/util/pager-util.d.ts +0 -0
- package/{component → dist/component}/panel/panel/panel.component.d.ts +0 -0
- package/{component → dist/component}/panel/panel.module.d.ts +0 -0
- package/{component → dist/component}/panel/public-api.d.ts +0 -0
- package/{component → dist/component}/progress-bar/progress-bar/progress-bar.component.d.ts +0 -0
- package/{component → dist/component}/progress-bar/progress-bar.module.d.ts +0 -0
- package/{component → dist/component}/progress-bar/public-api.d.ts +0 -0
- package/{component → dist/component}/property-grid/default/date-item-default/date-item-default.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/default/list-item-default/list-item-default.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/default/numeric-item-default/numeric-item-default.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/default/string-item-default/string-item-default.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/property-grid/property-grid.component.d.ts +0 -0
- package/{component → dist/component}/property-grid/property-grid.module.d.ts +0 -0
- package/{component → dist/component}/property-grid/public-api.d.ts +0 -0
- package/{component → dist/component}/public-api.d.ts +0 -0
- package/{component → dist/component}/radio/public-api.d.ts +0 -0
- package/{component → dist/component}/radio/radio/radio.component.d.ts +0 -0
- package/{component → dist/component}/radio/radio-button/radio-button.component.d.ts +0 -0
- package/{component → dist/component}/radio/radio.module.d.ts +0 -0
- package/{component → dist/component}/resize-panel/public-api.d.ts +0 -0
- package/{component → dist/component}/resize-panel/resize-panel/resize-panel.component.d.ts +0 -0
- package/{component → dist/component}/resize-panel/resize-panel.module.d.ts +0 -0
- package/{component → dist/component}/select/public-api.d.ts +0 -0
- package/{component → dist/component}/select/select/select.component.d.ts +0 -0
- package/{component → dist/component}/select/select-option.directive.d.ts +0 -0
- package/{component → dist/component}/select/select-value.directive.d.ts +0 -0
- package/{component → dist/component}/select/select.module.d.ts +0 -0
- package/{component → dist/component}/sidebar/public-api.d.ts +0 -0
- package/{component → dist/component}/sidebar/sidebar/sidebar.component.d.ts +0 -0
- package/{component → dist/component}/sidebar/sidebar-position.enum.d.ts +0 -0
- package/{component → dist/component}/sidebar/sidebar.module.d.ts +0 -0
- package/{component → dist/component}/switch/public-api.d.ts +0 -0
- package/{component → dist/component}/switch/switch/switch.component.d.ts +0 -0
- package/{component → dist/component}/switch/switch-button/switch-button.component.d.ts +0 -0
- package/{component → dist/component}/switch/switch.module.d.ts +0 -0
- package/{component → dist/component}/switch/switch.service.d.ts +0 -0
- package/{component → dist/component}/table/base/cell-component-base.d.ts +0 -0
- package/{component → dist/component}/table/base/detail-component-base.d.ts +0 -0
- package/{component → dist/component}/table/base/group-row-component-base.d.ts +0 -0
- package/{component → dist/component}/table/base/head-cell-component-base.d.ts +0 -0
- package/{component → dist/component}/table/cell/cell.component.d.ts +0 -0
- package/{component → dist/component}/table/cell-host/cell-host.component.d.ts +0 -0
- package/{component → dist/component}/table/contract/cell-components-map.d.ts +0 -0
- package/{component → dist/component}/table/contract/column-reorder-event.d.ts +0 -0
- package/{component → dist/component}/table/contract/column-resize-event.d.ts +0 -0
- package/{component → dist/component}/table/contract/i-cell-coordinates.d.ts +0 -0
- package/{component → dist/component}/table/contract/i-cell-event.d.ts +0 -0
- package/{component → dist/component}/table/contract/i-cell-value.d.ts +0 -0
- package/{component → dist/component}/table/contract/public-api.d.ts +0 -0
- package/{component → dist/component}/table/contract/sort-event.d.ts +0 -0
- package/{component → dist/component}/table/contract/table-column-store.d.ts +0 -0
- package/dist/component/table/contract/table-column.d.ts +142 -0
- package/{component → dist/component}/table/contract/table-context-menu-config.d.ts +0 -0
- package/{component → dist/component}/table/contract/table-row.d.ts +0 -0
- package/{component → dist/component}/table/default/boolean-cell/boolean-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/date-cell/date-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/date-time-cell/date-time-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/default-head-cell/default-head-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/group-row/group-row.component.d.ts +0 -0
- package/{component → dist/component}/table/default/list-cell/list-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/numeric-cell/numeric-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/default/string-cell/string-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/enum/aggregation-type.enum.d.ts +0 -0
- package/{component → dist/component}/table/enum/edit-event.enum.d.ts +0 -0
- package/{component → dist/component}/table/enum/edit-type.enum.d.ts +0 -0
- package/{component → dist/component}/table/enum/public-api.d.ts +0 -0
- package/{component → dist/component}/table/enum/select-type.enum.d.ts +0 -0
- package/{component → dist/component}/table/head-cell/head-cell.component.d.ts +0 -0
- package/dist/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +59 -0
- package/{component → dist/component}/table/head-cell-host/head-cell-host.component.d.ts +0 -0
- package/{component → dist/component}/table/public-api.d.ts +0 -0
- package/{component → dist/component}/table/selection-cell/selection-cell.component.d.ts +0 -0
- package/{component → dist/component}/table/selection-head-cell/selection-head-cell.component.d.ts +0 -0
- package/dist/component/table/service/table.service.d.ts +118 -0
- package/dist/component/table/table/table.component.d.ts +98 -0
- package/{component → dist/component}/table/table-body/table-body.component.d.ts +0 -0
- package/{component → dist/component}/table/table-head/table-head.component.d.ts +0 -0
- package/{component → dist/component}/table/table-head-group/table-head-group.component.d.ts +0 -0
- package/{component → dist/component}/table/table.module.d.ts +0 -0
- package/{component → dist/component}/table/util/public-api.d.ts +0 -0
- package/{component → dist/component}/table/util/state-util.d.ts +0 -0
- package/{component → dist/component}/table/util/table-util.d.ts +0 -0
- package/{component → dist/component}/tabs/public-api.d.ts +0 -0
- package/{component → dist/component}/tabs/tab/tab.component.d.ts +0 -0
- package/{component → dist/component}/tabs/tab-content.directive.d.ts +0 -0
- package/{component → dist/component}/tabs/tab-title.directive.d.ts +0 -0
- package/{component → dist/component}/tabs/tabs/tabs.component.d.ts +0 -0
- package/{component → dist/component}/tabs/tabs.module.d.ts +0 -0
- package/{component → dist/component}/theme-switch/public-api.d.ts +0 -0
- package/{component → dist/component}/theme-switch/theme-switch/theme-switch.component.d.ts +0 -0
- package/{component → dist/component}/theme-switch/theme-switch.module.d.ts +0 -0
- package/{component → dist/component}/theme-switch/theme-switch.service.d.ts +0 -0
- package/{component → dist/component}/toggle/public-api.d.ts +0 -0
- package/{component → dist/component}/toggle/toggle/toggle.component.d.ts +0 -0
- package/{component → dist/component}/toggle/toggle.module.d.ts +0 -0
- package/{component → dist/component}/toolbar/public-api.d.ts +0 -0
- package/{component → dist/component}/toolbar/toolbar/toolbar.component.d.ts +0 -0
- package/{component → dist/component}/toolbar/toolbar.module.d.ts +0 -0
- package/{component → dist/component}/tree/public-api.d.ts +0 -0
- package/{component → dist/component}/tree/tree/tree.component.d.ts +0 -0
- package/{component → dist/component}/tree/tree-item/tree-item.component.d.ts +0 -0
- package/{component → dist/component}/tree/tree-item-toggle/tree-item-toggle.component.d.ts +0 -0
- package/{component → dist/component}/tree/tree.module.d.ts +0 -0
- package/{component → dist/component}/tree/tree.service.d.ts +0 -0
- package/{directive → dist/directive}/click-outside/click-outside.directive.d.ts +0 -0
- package/{directive → dist/directive}/click-outside/click-outside.module.d.ts +0 -0
- package/{directive → dist/directive}/click-outside/public-api.d.ts +0 -0
- package/{directive → dist/directive}/context-menu/context-menu.directive.d.ts +0 -0
- package/{directive → dist/directive}/context-menu/context-menu.module.d.ts +0 -0
- package/{directive → dist/directive}/context-menu/public-api.d.ts +0 -0
- package/{directive → dist/directive}/disable-control/disable-control.directive.d.ts +0 -0
- package/{directive → dist/directive}/disable-control/disable-control.module.d.ts +0 -0
- package/{directive → dist/directive}/disable-control/public-api.d.ts +0 -0
- package/{directive → dist/directive}/drag-sort/drag-sort-container.directive.d.ts +0 -0
- package/{directive → dist/directive}/drag-sort/drag-sort-event.d.ts +0 -0
- package/{directive → dist/directive}/drag-sort/drag-sort-item.directive.d.ts +0 -0
- package/{directive → dist/directive}/drag-sort/drag-sort.module.d.ts +0 -0
- package/{directive → dist/directive}/drag-sort/public-api.d.ts +0 -0
- package/{directive → dist/directive}/dynamic-content-base.directive.d.ts +0 -0
- package/{directive → dist/directive}/highlight/highlight.directive.d.ts +0 -0
- package/{directive → dist/directive}/highlight/highlight.module.d.ts +0 -0
- package/{directive → dist/directive}/highlight/public-api.d.ts +0 -0
- package/{directive → dist/directive}/hint/hint.directive.d.ts +0 -0
- package/{directive → dist/directive}/hint/hint.module.d.ts +0 -0
- package/{directive → dist/directive}/hint/public-api.d.ts +0 -0
- package/{directive → dist/directive}/loader/loader.directive.d.ts +0 -0
- package/{directive → dist/directive}/loader/loader.module.d.ts +0 -0
- package/{directive → dist/directive}/loader/public-api.d.ts +0 -0
- package/{directive → dist/directive}/no-autofill/no-autofill.directive.d.ts +0 -0
- package/{directive → dist/directive}/no-autofill/no-autofill.module.d.ts +0 -0
- package/{directive → dist/directive}/no-autofill/public-api.d.ts +0 -0
- package/{directive → dist/directive}/only-number/only-number.directive.d.ts +0 -0
- package/{directive → dist/directive}/only-number/only-number.module.d.ts +0 -0
- package/{directive → dist/directive}/only-number/public-api.d.ts +0 -0
- package/{directive → dist/directive}/public-api.d.ts +0 -0
- package/{directive → dist/directive}/resize-drag/public-api.d.ts +0 -0
- package/{directive → dist/directive}/resize-drag/resize-drag.directive.d.ts +0 -0
- package/{directive → dist/directive}/resize-drag/resize-drag.module.d.ts +0 -0
- package/{directive → dist/directive}/teta-template/public-api.d.ts +0 -0
- package/{directive → dist/directive}/teta-template/teta-template.directive.d.ts +0 -0
- package/{directive → dist/directive}/teta-template/teta-template.module.d.ts +0 -0
- package/{directive → dist/directive}/tooltip/public-api.d.ts +0 -0
- package/{directive → dist/directive}/tooltip/tooltip.directive.d.ts +0 -0
- package/{directive → dist/directive}/tooltip/tooltip.module.d.ts +0 -0
- package/dist/esm2020/common/contract/auto-close-ignore-case.mjs +2 -0
- package/dist/esm2020/common/contract/constructor-type.mjs +2 -0
- package/dist/esm2020/common/contract/dynamic-data.mjs +10 -0
- package/dist/esm2020/common/contract/i-dictionary.mjs +2 -0
- package/dist/esm2020/common/contract/i-id-name.mjs +2 -0
- package/dist/esm2020/common/contract/i-rect.mjs +2 -0
- package/dist/esm2020/common/contract/i-tree-data.mjs +2 -0
- package/dist/esm2020/common/contract/public-api.mjs +9 -0
- package/dist/esm2020/common/contract/teta-content-ref.mjs +8 -0
- package/dist/esm2020/common/enum/align.enum.mjs +10 -0
- package/dist/esm2020/common/enum/public-api.mjs +4 -0
- package/dist/esm2020/common/enum/teta-size.enum.mjs +9 -0
- package/dist/esm2020/common/enum/vertical-align.enum.mjs +8 -0
- package/dist/esm2020/common/public-api.mjs +5 -0
- package/dist/esm2020/common/service/click.service.mjs +23 -0
- package/dist/esm2020/common/service/dynamic-component.service.mjs +93 -0
- package/dist/esm2020/common/service/overlay-container.service.mjs +41 -0
- package/dist/esm2020/common/service/public-api.mjs +4 -0
- package/dist/esm2020/common/util/array-util.mjs +119 -0
- package/dist/esm2020/common/util/dom-util.mjs +16 -0
- package/dist/esm2020/common/util/position-util.mjs +96 -0
- package/dist/esm2020/common/util/public-api.mjs +4 -0
- package/dist/esm2020/component/accordion/accordion/accordion.component.mjs +18 -0
- package/dist/esm2020/component/accordion/accordion-content.directive.mjs +16 -0
- package/dist/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +52 -0
- package/dist/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +43 -0
- package/dist/esm2020/component/accordion/accordion.module.mjs +29 -0
- package/dist/esm2020/component/accordion/public-api.mjs +6 -0
- package/dist/esm2020/component/button/button/button.component.mjs +40 -0
- package/dist/esm2020/component/button/button.module.mjs +24 -0
- package/dist/esm2020/component/button/public-api.mjs +3 -0
- package/dist/esm2020/component/chart/chart/chart.component.mjs +164 -0
- package/dist/esm2020/component/chart/chart.module.mjs +18 -0
- package/dist/esm2020/component/chart/core/axis-creator.mjs +82 -0
- package/dist/esm2020/component/chart/core/chart.mjs +1339 -0
- package/dist/esm2020/component/chart/core/public-api.mjs +3 -0
- package/dist/esm2020/component/chart/drawer/area-drawer.mjs +20 -0
- package/dist/esm2020/component/chart/drawer/bar-drawer.mjs +23 -0
- package/dist/esm2020/component/chart/drawer/contour-drawer.mjs +29 -0
- package/dist/esm2020/component/chart/drawer/default-drawer-mapping.mjs +17 -0
- package/dist/esm2020/component/chart/drawer/line-drawer.mjs +152 -0
- package/dist/esm2020/component/chart/drawer/pie-drawer.mjs +4 -0
- package/dist/esm2020/component/chart/drawer/public-api.mjs +7 -0
- package/dist/esm2020/component/chart/drawer/scatter-drawer.mjs +93 -0
- package/dist/esm2020/component/chart/drawer/spline-drawer.mjs +23 -0
- package/dist/esm2020/component/chart/legend-drawer/default-drawer-legend-mapping.mjs +7 -0
- package/dist/esm2020/component/chart/legend-drawer/gradient-drawer.mjs +45 -0
- package/dist/esm2020/component/chart/legend-drawer/swatch-drawer.mjs +62 -0
- package/dist/esm2020/component/chart/model/annotation.mjs +30 -0
- package/dist/esm2020/component/chart/model/axis-options.mjs +26 -0
- package/dist/esm2020/component/chart/model/chart-bounds.mjs +13 -0
- package/dist/esm2020/component/chart/model/chart-options.mjs +37 -0
- package/dist/esm2020/component/chart/model/enum/axis-type.mjs +6 -0
- package/dist/esm2020/component/chart/model/enum/dispatch-type.mjs +6 -0
- package/dist/esm2020/component/chart/model/enum/drag-point-type.mjs +7 -0
- package/dist/esm2020/component/chart/model/enum/legend-type.mjs +6 -0
- package/dist/esm2020/component/chart/model/enum/public-api.mjs +8 -0
- package/dist/esm2020/component/chart/model/enum/scale-type.mjs +9 -0
- package/dist/esm2020/component/chart/model/enum/scale.mjs +7 -0
- package/dist/esm2020/component/chart/model/enum/series-type.mjs +12 -0
- package/dist/esm2020/component/chart/model/enum/zoom-type.mjs +7 -0
- package/dist/esm2020/component/chart/model/i-drag-event.mjs +2 -0
- package/dist/esm2020/component/chart/model/i-drawer-legend.mjs +2 -0
- package/dist/esm2020/component/chart/model/i-drawer.mjs +2 -0
- package/dist/esm2020/component/chart/model/i-zoom-event.mjs +2 -0
- package/dist/esm2020/component/chart/model/plot-band.mjs +18 -0
- package/dist/esm2020/component/chart/model/plot-line.mjs +13 -0
- package/dist/esm2020/component/chart/model/point/bar-point.mjs +2 -0
- package/dist/esm2020/component/chart/model/point/base-point.mjs +2 -0
- package/dist/esm2020/component/chart/model/point/contour-point.mjs +2 -0
- package/dist/esm2020/component/chart/model/point/marker-options.mjs +2 -0
- package/dist/esm2020/component/chart/model/point/public-api.mjs +4 -0
- package/dist/esm2020/component/chart/model/point/scatter-point.mjs +2 -0
- package/dist/esm2020/component/chart/model/public-api.mjs +16 -0
- package/dist/esm2020/component/chart/model/series.mjs +27 -0
- package/dist/esm2020/component/chart/model/tooltip-options.mjs +19 -0
- package/dist/esm2020/component/chart/public-api.mjs +6 -0
- package/dist/esm2020/component/chart-3d/chart-3d.module.mjs +18 -0
- package/dist/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +232 -0
- package/dist/esm2020/component/chart-3d/model/base-3d-point.mjs +2 -0
- package/dist/esm2020/component/chart-3d/model/chart-3d-options.mjs +7 -0
- package/dist/esm2020/component/chart-3d/model/public-api.mjs +3 -0
- package/dist/esm2020/component/chart-3d/model/series-3d.mjs +7 -0
- package/dist/esm2020/component/chart-3d/public-api.mjs +4 -0
- package/dist/esm2020/component/checkbox/checkbox/checkbox.component.mjs +134 -0
- package/dist/esm2020/component/checkbox/checkbox.module.mjs +28 -0
- package/dist/esm2020/component/checkbox/public-api.mjs +3 -0
- package/dist/esm2020/component/date-picker/date-picker/date-picker.component.mjs +279 -0
- package/dist/esm2020/component/date-picker/date-picker.module.mjs +67 -0
- package/dist/esm2020/component/date-picker/day-select/day-select.component.mjs +166 -0
- package/dist/esm2020/component/date-picker/model/date-period.mjs +7 -0
- package/dist/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +7 -0
- package/dist/esm2020/component/date-picker/model/day-model.mjs +13 -0
- package/dist/esm2020/component/date-picker/model/picker-locale-model.mjs +13 -0
- package/dist/esm2020/component/date-picker/month-picker/month-picker.component.mjs +250 -0
- package/dist/esm2020/component/date-picker/month-select/month-select.component.mjs +147 -0
- package/dist/esm2020/component/date-picker/public-api.mjs +6 -0
- package/dist/esm2020/component/date-picker/service/picker-locale.service.mjs +30 -0
- package/dist/esm2020/component/date-picker/service/picker-touch.service.mjs +34 -0
- package/dist/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +73 -0
- package/dist/esm2020/component/date-picker/util/date-picker-util.mjs +142 -0
- package/dist/esm2020/component/date-picker/year-select/year-select.component.mjs +189 -0
- package/dist/esm2020/component/delimiter/delimiter/delimiter.component.mjs +63 -0
- package/dist/esm2020/component/delimiter/delimiter.module.mjs +22 -0
- package/dist/esm2020/component/delimiter/public-api.mjs +3 -0
- package/dist/esm2020/component/dropdown/dropdown/dropdown.component.mjs +29 -0
- package/dist/esm2020/component/dropdown/dropdown-base.mjs +204 -0
- package/dist/esm2020/component/dropdown/dropdown-content.directive.mjs +17 -0
- package/dist/esm2020/component/dropdown/dropdown-head.directive.mjs +18 -0
- package/dist/esm2020/component/dropdown/dropdown.directive.mjs +37 -0
- package/dist/esm2020/component/dropdown/dropdown.module.mjs +41 -0
- package/dist/esm2020/component/dropdown/public-api.mjs +6 -0
- package/dist/esm2020/component/dynamic-component/dynamic-component.module.mjs +22 -0
- package/dist/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +59 -0
- package/dist/esm2020/component/dynamic-component/public-api.mjs +3 -0
- package/dist/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +65 -0
- package/dist/esm2020/component/expand-panel/expand-panel-content.directive.mjs +16 -0
- package/dist/esm2020/component/expand-panel/expand-panel-head.directive.mjs +16 -0
- package/dist/esm2020/component/expand-panel/expand-panel.module.mjs +52 -0
- package/dist/esm2020/component/expand-panel/public-api.mjs +5 -0
- package/dist/esm2020/component/file-upload/file-item/file-item.component.mjs +13 -0
- package/dist/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +77 -0
- package/dist/esm2020/component/file-upload/file-upload.module.mjs +21 -0
- package/dist/esm2020/component/file-upload/public-api.mjs +4 -0
- package/dist/esm2020/component/filter/base/filter-base.mjs +9 -0
- package/dist/esm2020/component/filter/base/filter-component-base.mjs +3 -0
- package/dist/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +53 -0
- package/dist/esm2020/component/filter/contarct/boolean-filter.mjs +10 -0
- package/dist/esm2020/component/filter/contarct/date-filter-value.mjs +9 -0
- package/dist/esm2020/component/filter/contarct/date-filter.mjs +11 -0
- package/dist/esm2020/component/filter/contarct/filter-component-map.mjs +17 -0
- package/dist/esm2020/component/filter/contarct/filter-item.mjs +33 -0
- package/dist/esm2020/component/filter/contarct/filter-state.mjs +145 -0
- package/dist/esm2020/component/filter/contarct/i-filter.mjs +2 -0
- package/dist/esm2020/component/filter/contarct/list-filter.mjs +12 -0
- package/dist/esm2020/component/filter/contarct/numeric-filter-value.mjs +10 -0
- package/dist/esm2020/component/filter/contarct/numeric-filter.mjs +11 -0
- package/dist/esm2020/component/filter/contarct/sort-param.mjs +13 -0
- package/dist/esm2020/component/filter/contarct/string-filter.mjs +12 -0
- package/dist/esm2020/component/filter/date-filter/date-filter.component.mjs +54 -0
- package/dist/esm2020/component/filter/enum/filter-type.enum.mjs +10 -0
- package/dist/esm2020/component/filter/enum/list-filter-type.enum.mjs +6 -0
- package/dist/esm2020/component/filter/enum/string-filter-type.enum.mjs +20 -0
- package/dist/esm2020/component/filter/filter-host/filter-host.component.mjs +73 -0
- package/dist/esm2020/component/filter/filter-panel/filter-panel.component.mjs +13 -0
- package/dist/esm2020/component/filter/filter.module.mjs +80 -0
- package/dist/esm2020/component/filter/list-filter/list-filter.component.mjs +86 -0
- package/dist/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +53 -0
- package/dist/esm2020/component/filter/public-api.mjs +25 -0
- package/dist/esm2020/component/filter/string-filter/string-filter.component.mjs +54 -0
- package/dist/esm2020/component/icon/icon/icon.component.mjs +37 -0
- package/dist/esm2020/component/icon/icon-sprite.directive.mjs +32 -0
- package/dist/esm2020/component/icon/icon.module.mjs +35 -0
- package/dist/esm2020/component/icon/icon.service.mjs +59 -0
- package/dist/esm2020/component/icon/public-api.mjs +5 -0
- package/dist/esm2020/component/input/form-group-title/form-group-title.component.mjs +18 -0
- package/dist/esm2020/component/input/input/input.component.mjs +31 -0
- package/dist/esm2020/component/input/input.module.mjs +23 -0
- package/dist/esm2020/component/input/public-api.mjs +5 -0
- package/dist/esm2020/component/input/text-field/text-field.component.mjs +94 -0
- package/dist/esm2020/component/message/message/message.component.mjs +74 -0
- package/dist/esm2020/component/message/message-host/message-host.component.mjs +88 -0
- package/dist/esm2020/component/message/message.module.mjs +31 -0
- package/dist/esm2020/component/message/message.service.mjs +35 -0
- package/dist/esm2020/component/message/model/message.mjs +21 -0
- package/dist/esm2020/component/message/public-api.mjs +6 -0
- package/dist/esm2020/component/modal/dialog/dialog.component.mjs +44 -0
- package/dist/esm2020/component/modal/dialog.service.mjs +39 -0
- package/dist/esm2020/component/modal/modal-container/modal-container.component.mjs +84 -0
- package/dist/esm2020/component/modal/modal.module.mjs +52 -0
- package/dist/esm2020/component/modal/modal.service.mjs +121 -0
- package/dist/esm2020/component/modal/model/current-modal.mjs +3 -0
- package/dist/esm2020/component/modal/model/i-modal-config.mjs +2 -0
- package/dist/esm2020/component/modal/model/i-modal-result.mjs +2 -0
- package/dist/esm2020/component/modal/model/modal-close-reason.enum.mjs +8 -0
- package/dist/esm2020/component/modal/model/modal-instance.mjs +32 -0
- package/dist/esm2020/component/modal/public-api.mjs +11 -0
- package/dist/esm2020/component/pager/model/pager-state.mjs +50 -0
- package/dist/esm2020/component/pager/pager/pager.component.mjs +13 -0
- package/dist/esm2020/component/pager/pager.module.mjs +26 -0
- package/dist/esm2020/component/pager/public-api.mjs +5 -0
- package/dist/esm2020/component/pager/util/pager-util.mjs +6 -0
- package/dist/esm2020/component/panel/panel/panel.component.mjs +51 -0
- package/dist/esm2020/component/panel/panel.module.mjs +22 -0
- package/dist/esm2020/component/panel/public-api.mjs +3 -0
- package/dist/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +131 -0
- package/dist/esm2020/component/progress-bar/progress-bar.module.mjs +22 -0
- package/dist/esm2020/component/progress-bar/public-api.mjs +3 -0
- package/dist/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +13 -0
- package/dist/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +13 -0
- package/dist/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +13 -0
- package/dist/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +13 -0
- package/dist/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +34 -0
- package/dist/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +103 -0
- package/dist/esm2020/component/property-grid/property-grid/property-grid.component.mjs +59 -0
- package/dist/esm2020/component/property-grid/property-grid.module.mjs +94 -0
- package/dist/esm2020/component/property-grid/public-api.mjs +3 -0
- package/dist/esm2020/component/public-api.mjs +61 -0
- package/dist/esm2020/component/radio/public-api.mjs +4 -0
- package/dist/esm2020/component/radio/radio/radio.component.mjs +245 -0
- package/dist/esm2020/component/radio/radio-button/radio-button.component.mjs +63 -0
- package/dist/esm2020/component/radio/radio.module.mjs +20 -0
- package/dist/esm2020/component/resize-panel/public-api.mjs +3 -0
- package/dist/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +162 -0
- package/dist/esm2020/component/resize-panel/resize-panel.module.mjs +20 -0
- package/dist/esm2020/component/select/public-api.mjs +5 -0
- package/dist/esm2020/component/select/select/select.component.mjs +234 -0
- package/dist/esm2020/component/select/select-option.directive.mjs +16 -0
- package/dist/esm2020/component/select/select-value.directive.mjs +16 -0
- package/dist/esm2020/component/select/select.module.mjs +48 -0
- package/dist/esm2020/component/sidebar/public-api.mjs +4 -0
- package/dist/esm2020/component/sidebar/sidebar/sidebar.component.mjs +54 -0
- package/dist/esm2020/component/sidebar/sidebar-position.enum.mjs +8 -0
- package/dist/esm2020/component/sidebar/sidebar.module.mjs +30 -0
- package/dist/esm2020/component/switch/public-api.mjs +4 -0
- package/dist/esm2020/component/switch/switch/switch.component.mjs +52 -0
- package/dist/esm2020/component/switch/switch-button/switch-button.component.mjs +47 -0
- package/dist/esm2020/component/switch/switch.module.mjs +23 -0
- package/dist/esm2020/component/switch/switch.service.mjs +21 -0
- package/dist/esm2020/component/table/base/cell-component-base.mjs +103 -0
- package/dist/esm2020/component/table/base/detail-component-base.mjs +3 -0
- package/dist/esm2020/component/table/base/group-row-component-base.mjs +3 -0
- package/dist/esm2020/component/table/base/head-cell-component-base.mjs +17 -0
- package/dist/esm2020/component/table/cell/cell.component.mjs +33 -0
- package/dist/esm2020/component/table/cell-host/cell-host.component.mjs +50 -0
- package/dist/esm2020/component/table/contract/cell-components-map.mjs +17 -0
- package/dist/esm2020/component/table/contract/column-reorder-event.mjs +7 -0
- package/dist/esm2020/component/table/contract/column-resize-event.mjs +7 -0
- package/dist/esm2020/component/table/contract/i-cell-coordinates.mjs +2 -0
- package/dist/esm2020/component/table/contract/i-cell-event.mjs +2 -0
- package/dist/esm2020/component/table/contract/i-cell-value.mjs +2 -0
- package/dist/esm2020/component/table/contract/public-api.mjs +12 -0
- package/dist/esm2020/component/table/contract/sort-event.mjs +7 -0
- package/dist/esm2020/component/table/contract/table-column-store.mjs +12 -0
- package/dist/esm2020/component/table/contract/table-column.mjs +43 -0
- package/dist/esm2020/component/table/contract/table-context-menu-config.mjs +17 -0
- package/dist/esm2020/component/table/contract/table-row.mjs +40 -0
- package/dist/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +45 -0
- package/dist/esm2020/component/table/default/date-cell/date-cell.component.mjs +47 -0
- package/dist/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +46 -0
- package/dist/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +28 -0
- package/dist/esm2020/component/table/default/group-row/group-row.component.mjs +20 -0
- package/dist/esm2020/component/table/default/list-cell/list-cell.component.mjs +66 -0
- package/dist/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +46 -0
- package/dist/esm2020/component/table/default/string-cell/string-cell.component.mjs +44 -0
- package/dist/esm2020/component/table/enum/aggregation-type.enum.mjs +9 -0
- package/dist/esm2020/component/table/enum/edit-event.enum.mjs +7 -0
- package/dist/esm2020/component/table/enum/edit-type.enum.mjs +6 -0
- package/dist/esm2020/component/table/enum/public-api.mjs +5 -0
- package/dist/esm2020/component/table/enum/select-type.enum.mjs +7 -0
- package/dist/esm2020/component/table/head-cell/head-cell.component.mjs +136 -0
- package/dist/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +198 -0
- package/dist/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +36 -0
- package/dist/esm2020/component/table/public-api.mjs +43 -0
- package/dist/esm2020/component/table/selection-cell/selection-cell.component.mjs +46 -0
- package/dist/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +45 -0
- package/dist/esm2020/component/table/service/table.service.mjs +434 -0
- package/dist/esm2020/component/table/table/table.component.mjs +422 -0
- package/dist/esm2020/component/table/table-body/table-body.component.mjs +240 -0
- package/dist/esm2020/component/table/table-head/table-head.component.mjs +98 -0
- package/dist/esm2020/component/table/table-head-group/table-head-group.component.mjs +59 -0
- package/dist/esm2020/component/table/table.module.mjs +176 -0
- package/dist/esm2020/component/table/util/public-api.mjs +3 -0
- package/dist/esm2020/component/table/util/state-util.mjs +139 -0
- package/dist/esm2020/component/table/util/table-util.mjs +131 -0
- package/dist/esm2020/component/tabs/public-api.mjs +12 -0
- package/dist/esm2020/component/tabs/tab/tab.component.mjs +42 -0
- package/dist/esm2020/component/tabs/tab-content.directive.mjs +16 -0
- package/dist/esm2020/component/tabs/tab-title.directive.mjs +16 -0
- package/dist/esm2020/component/tabs/tabs/tabs.component.mjs +70 -0
- package/dist/esm2020/component/tabs/tabs.module.mjs +41 -0
- package/dist/esm2020/component/theme-switch/public-api.mjs +4 -0
- package/dist/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +28 -0
- package/dist/esm2020/component/theme-switch/theme-switch.module.mjs +30 -0
- package/dist/esm2020/component/theme-switch/theme-switch.service.mjs +34 -0
- package/dist/esm2020/component/toggle/public-api.mjs +3 -0
- package/dist/esm2020/component/toggle/toggle/toggle.component.mjs +79 -0
- package/dist/esm2020/component/toggle/toggle.module.mjs +19 -0
- package/dist/esm2020/component/toolbar/public-api.mjs +6 -0
- package/dist/esm2020/component/toolbar/toolbar/toolbar.component.mjs +26 -0
- package/dist/esm2020/component/toolbar/toolbar.module.mjs +22 -0
- package/dist/esm2020/component/tree/public-api.mjs +5 -0
- package/dist/esm2020/component/tree/tree/tree.component.mjs +76 -0
- package/dist/esm2020/component/tree/tree-item/tree-item.component.mjs +80 -0
- package/dist/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +28 -0
- package/dist/esm2020/component/tree/tree.module.mjs +22 -0
- package/dist/esm2020/component/tree/tree.service.mjs +35 -0
- package/dist/esm2020/directive/click-outside/click-outside.directive.mjs +60 -0
- package/dist/esm2020/directive/click-outside/click-outside.module.mjs +22 -0
- package/dist/esm2020/directive/click-outside/public-api.mjs +3 -0
- package/dist/esm2020/directive/context-menu/context-menu.directive.mjs +94 -0
- package/dist/esm2020/directive/context-menu/context-menu.module.mjs +26 -0
- package/dist/esm2020/directive/context-menu/public-api.mjs +3 -0
- package/dist/esm2020/directive/disable-control/disable-control.directive.mjs +29 -0
- package/dist/esm2020/directive/disable-control/disable-control.module.mjs +24 -0
- package/dist/esm2020/directive/disable-control/public-api.mjs +3 -0
- package/dist/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +64 -0
- package/dist/esm2020/directive/drag-sort/drag-sort-event.mjs +2 -0
- package/dist/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +115 -0
- package/dist/esm2020/directive/drag-sort/drag-sort.module.mjs +19 -0
- package/dist/esm2020/directive/drag-sort/public-api.mjs +5 -0
- package/dist/esm2020/directive/dynamic-content-base.directive.mjs +81 -0
- package/dist/esm2020/directive/highlight/highlight.directive.mjs +72 -0
- package/dist/esm2020/directive/highlight/highlight.module.mjs +22 -0
- package/dist/esm2020/directive/highlight/public-api.mjs +3 -0
- package/dist/esm2020/directive/hint/hint.directive.mjs +97 -0
- package/dist/esm2020/directive/hint/hint.module.mjs +26 -0
- package/dist/esm2020/directive/hint/public-api.mjs +3 -0
- package/dist/esm2020/directive/loader/loader.directive.mjs +63 -0
- package/dist/esm2020/directive/loader/loader.module.mjs +22 -0
- package/dist/esm2020/directive/loader/public-api.mjs +3 -0
- package/dist/esm2020/directive/no-autofill/no-autofill.directive.mjs +30 -0
- package/dist/esm2020/directive/no-autofill/no-autofill.module.mjs +18 -0
- package/dist/esm2020/directive/no-autofill/public-api.mjs +3 -0
- package/dist/esm2020/directive/only-number/only-number.directive.mjs +175 -0
- package/dist/esm2020/directive/only-number/only-number.module.mjs +18 -0
- package/dist/esm2020/directive/only-number/public-api.mjs +3 -0
- package/dist/esm2020/directive/public-api.mjs +15 -0
- package/dist/esm2020/directive/resize-drag/public-api.mjs +3 -0
- package/dist/esm2020/directive/resize-drag/resize-drag.directive.mjs +71 -0
- package/dist/esm2020/directive/resize-drag/resize-drag.module.mjs +18 -0
- package/dist/esm2020/directive/teta-template/public-api.mjs +3 -0
- package/dist/esm2020/directive/teta-template/teta-template.directive.mjs +22 -0
- package/dist/esm2020/directive/teta-template/teta-template.module.mjs +26 -0
- package/dist/esm2020/directive/tooltip/public-api.mjs +3 -0
- package/dist/esm2020/directive/tooltip/tooltip.directive.mjs +76 -0
- package/dist/esm2020/directive/tooltip/tooltip.module.mjs +20 -0
- package/dist/esm2020/pipe/number-pipe/number-pipe.module.mjs +24 -0
- package/dist/esm2020/pipe/number-pipe/number.pipe.mjs +24 -0
- package/dist/esm2020/pipe/number-pipe/public-api.mjs +3 -0
- package/dist/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +18 -0
- package/dist/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +21 -0
- package/dist/esm2020/pipe/public-api.mjs +2 -0
- package/dist/esm2020/pipe/util/number-helper.mjs +25 -0
- package/dist/esm2020/public-api.mjs +21 -0
- package/dist/esm2020/tetacom-ng-components.mjs +5 -0
- package/dist/esm2020/util/date-util.mjs +195 -0
- package/dist/esm2020/util/forms-util.mjs +61 -0
- package/dist/esm2020/util/public-api.mjs +4 -0
- package/dist/esm2020/util/string-util.mjs +7 -0
- package/dist/fesm2015/tetacom-ng-components.mjs +13342 -0
- package/dist/fesm2015/tetacom-ng-components.mjs.map +1 -0
- package/dist/fesm2020/tetacom-ng-components.mjs +13234 -0
- package/dist/fesm2020/tetacom-ng-components.mjs.map +1 -0
- package/dist/package.json +35 -0
- package/{pipe → dist/pipe}/number-pipe/number-pipe.module.d.ts +0 -0
- package/{pipe → dist/pipe}/number-pipe/number.pipe.d.ts +0 -0
- package/{pipe → dist/pipe}/number-pipe/public-api.d.ts +0 -0
- package/{pipe → dist/pipe}/prepend-zero/prepend-zero.module.d.ts +0 -0
- package/{pipe → dist/pipe}/prepend-zero/prepend-zero.pipe.d.ts +0 -0
- package/{pipe → dist/pipe}/public-api.d.ts +0 -0
- package/{pipe → dist/pipe}/util/number-helper.d.ts +0 -0
- package/{public-api.d.ts → dist/public-api.d.ts} +0 -0
- package/dist/style/accordion.scss +47 -0
- package/dist/style/assembly-library.scss +36 -0
- package/dist/style/assembly-presets.scss +5 -0
- package/dist/style/assembly.scss +4 -0
- package/dist/style/border.scss +24 -0
- package/dist/style/button.scss +43 -0
- package/dist/style/checkbox.scss +31 -0
- package/dist/style/chips.scss +23 -0
- package/dist/style/color.scss +42 -0
- package/dist/style/common.scss +1 -0
- package/dist/style/datepicker.scss +106 -0
- package/dist/style/drag.scss +40 -0
- package/dist/style/dropdown.scss +30 -0
- package/dist/style/font.scss +7 -0
- package/dist/style/hint.scss +13 -0
- package/dist/style/icon.scss +12 -0
- package/dist/style/input.scss +162 -0
- package/dist/style/layout.scss +109 -0
- package/dist/style/library.scss +208 -0
- package/dist/style/list.scss +70 -0
- package/dist/style/loader.scss +40 -0
- package/dist/style/message.scss +51 -0
- package/dist/style/modal.scss +29 -0
- package/dist/style/navigation.scss +26 -0
- package/dist/style/presets/color-presets.scss +151 -0
- package/dist/style/presets/font-presets.scss +132 -0
- package/dist/style/presets/layout-presets.scss +1 -0
- package/dist/style/presets/shadow-presets.scss +16 -0
- package/dist/style/presets/spacing-presets.scss +2 -0
- package/dist/style/progress.scss +28 -0
- package/dist/style/radio.scss +56 -0
- package/dist/style/reset.scss +35 -0
- package/dist/style/resize-panel.scss +58 -0
- package/dist/style/scroll.scss +60 -0
- package/dist/style/select.scss +108 -0
- package/dist/style/shadow.scss +23 -0
- package/dist/style/sidebar.scss +40 -0
- package/dist/style/sizing.scss +12 -0
- package/dist/style/spacing.scss +45 -0
- package/dist/style/switch.scss +36 -0
- package/dist/style/table.scss +226 -0
- package/dist/style/tabs.scss +64 -0
- package/dist/style/toggle.scss +70 -0
- package/dist/style/toolbar.scss +23 -0
- package/dist/style/tooltip.scss +60 -0
- package/dist/style/tree.scss +60 -0
- package/dist/style/util/button-util.scss +58 -0
- package/dist/style/util/color-util.scss +3 -0
- package/dist/style/util/font-util.scss +11 -0
- package/dist/style/util/scroll-util.scss +4 -0
- package/dist/style/util/shadow-util.scss +3 -0
- package/{tetacom-ng-components.d.ts → dist/tetacom-ng-components.d.ts} +0 -0
- package/{util → dist/util}/date-util.d.ts +0 -0
- package/{util → dist/util}/forms-util.d.ts +0 -0
- package/{util → dist/util}/public-api.d.ts +0 -0
- package/{util → dist/util}/string-util.d.ts +0 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +11 -0
- package/package.json +2 -22
- package/src/Introduction.stories.mdx +178 -0
- package/src/common/contract/auto-close-ignore-case.ts +1 -0
- package/src/common/contract/constructor-type.ts +1 -0
- package/src/common/contract/dynamic-data.ts +11 -0
- package/src/common/contract/i-dictionary.ts +3 -0
- package/src/common/contract/i-id-name.ts +6 -0
- package/src/common/contract/i-rect.ts +8 -0
- package/src/common/contract/i-tree-data.ts +4 -0
- package/src/common/contract/public-api.ts +8 -0
- package/src/common/contract/teta-content-ref.ts +6 -0
- package/src/common/enum/align.enum.ts +8 -0
- package/src/common/enum/public-api.ts +3 -0
- package/src/common/enum/teta-size.enum.ts +7 -0
- package/src/common/enum/vertical-align.enum.ts +6 -0
- package/src/common/public-api.ts +4 -0
- package/src/common/service/click.service.spec.ts +16 -0
- package/src/common/service/click.service.ts +16 -0
- package/src/common/service/dynamic-component.service.spec.ts +16 -0
- package/src/common/service/dynamic-component.service.ts +134 -0
- package/src/common/service/overlay-container.service.spec.ts +16 -0
- package/src/common/service/overlay-container.service.ts +37 -0
- package/src/common/service/public-api.ts +3 -0
- package/src/common/util/array-util.ts +140 -0
- package/src/common/util/dom-util.ts +16 -0
- package/src/common/util/position-util.ts +112 -0
- package/src/common/util/public-api.ts +3 -0
- package/src/component/accordion/Accordion.stories.ts +49 -0
- package/src/component/accordion/accordion/accordion.component.html +1 -0
- package/src/component/accordion/accordion/accordion.component.scss +0 -0
- package/src/component/accordion/accordion/accordion.component.spec.ts +25 -0
- package/src/component/accordion/accordion/accordion.component.ts +20 -0
- package/src/component/accordion/accordion-content.directive.spec.ts +8 -0
- package/src/component/accordion/accordion-content.directive.ts +9 -0
- package/src/component/accordion/accordion-head/accordion-head.component.html +6 -0
- package/src/component/accordion/accordion-head/accordion-head.component.scss +0 -0
- package/src/component/accordion/accordion-head/accordion-head.component.spec.ts +25 -0
- package/src/component/accordion/accordion-head/accordion-head.component.ts +54 -0
- package/src/component/accordion/accordion-item/accordion-item.component.html +4 -0
- package/src/component/accordion/accordion-item/accordion-item.component.scss +0 -0
- package/src/component/accordion/accordion-item/accordion-item.component.spec.ts +25 -0
- package/src/component/accordion/accordion-item/accordion-item.component.ts +48 -0
- package/src/component/accordion/accordion.module.ts +18 -0
- package/src/component/accordion/public-api.ts +5 -0
- package/src/component/button/Button.stories.ts +61 -0
- package/src/component/button/button/button.component.html +1 -0
- package/src/component/button/button/button.component.scss +0 -0
- package/src/component/button/button/button.component.spec.ts +25 -0
- package/src/component/button/button/button.component.ts +42 -0
- package/src/component/button/button.module.ts +16 -0
- package/src/component/button/public-api.ts +2 -0
- package/src/component/chart/Chart.stories.ts +97 -0
- package/src/component/chart/chart/chart.component.html +9 -0
- package/src/component/chart/chart/chart.component.scss +70 -0
- package/src/component/chart/chart/chart.component.spec.ts +25 -0
- package/src/component/chart/chart/chart.component.ts +241 -0
- package/src/component/chart/chart-data.ts +653 -0
- package/src/component/chart/chart.module.ts +10 -0
- package/src/component/chart/color-list.ts +22 -0
- package/src/component/chart/core/axis-creator.ts +130 -0
- package/src/component/chart/core/chart.ts +1831 -0
- package/src/component/chart/core/public-api.ts +2 -0
- package/src/component/chart/drawer/area-drawer.ts +30 -0
- package/src/component/chart/drawer/bar-drawer.ts +36 -0
- package/src/component/chart/drawer/contour-drawer.ts +47 -0
- package/src/component/chart/drawer/default-drawer-mapping.ts +19 -0
- package/src/component/chart/drawer/line-drawer.ts +203 -0
- package/src/component/chart/drawer/pie-drawer.ts +13 -0
- package/src/component/chart/drawer/public-api.ts +6 -0
- package/src/component/chart/drawer/scatter-drawer.ts +138 -0
- package/src/component/chart/drawer/spline-drawer.ts +33 -0
- package/src/component/chart/legend-drawer/default-drawer-legend-mapping.ts +8 -0
- package/src/component/chart/legend-drawer/gradient-drawer.ts +65 -0
- package/src/component/chart/legend-drawer/swatch-drawer.ts +81 -0
- package/src/component/chart/model/annotation.ts +96 -0
- package/src/component/chart/model/axis-options.ts +65 -0
- package/src/component/chart/model/chart-bounds.ts +18 -0
- package/src/component/chart/model/chart-options.ts +79 -0
- package/src/component/chart/model/enum/axis-type.ts +4 -0
- package/src/component/chart/model/enum/dispatch-type.ts +4 -0
- package/src/component/chart/model/enum/drag-point-type.ts +5 -0
- package/src/component/chart/model/enum/legend-type.ts +4 -0
- package/src/component/chart/model/enum/public-api.ts +7 -0
- package/src/component/chart/model/enum/scale-type.ts +7 -0
- package/src/component/chart/model/enum/scale.ts +5 -0
- package/src/component/chart/model/enum/series-type.ts +10 -0
- package/src/component/chart/model/enum/zoom-type.ts +5 -0
- package/src/component/chart/model/i-drag-event.ts +5 -0
- package/src/component/chart/model/i-drawer-legend.ts +14 -0
- package/src/component/chart/model/i-drawer.ts +19 -0
- package/src/component/chart/model/i-zoom-event.ts +9 -0
- package/src/component/chart/model/plot-band.ts +43 -0
- package/src/component/chart/model/plot-line.ts +30 -0
- package/src/component/chart/model/point/bar-point.ts +7 -0
- package/src/component/chart/model/point/base-point.ts +10 -0
- package/src/component/chart/model/point/contour-point.ts +5 -0
- package/src/component/chart/model/point/marker-options.ts +12 -0
- package/src/component/chart/model/point/public-api.ts +3 -0
- package/src/component/chart/model/point/scatter-point.ts +6 -0
- package/src/component/chart/model/public-api.ts +16 -0
- package/src/component/chart/model/series.ts +85 -0
- package/src/component/chart/model/tooltip-options.ts +35 -0
- package/src/component/chart/public-api.ts +6 -0
- package/src/component/chart-3d/chart-3d.module.ts +10 -0
- package/src/component/chart-3d/chart3d/chart3d.component.html +1 -0
- package/src/component/chart-3d/chart3d/chart3d.component.scss +5 -0
- package/src/component/chart-3d/chart3d/chart3d.component.spec.ts +25 -0
- package/src/component/chart-3d/chart3d/chart3d.component.ts +336 -0
- package/src/component/chart-3d/model/base-3d-point.ts +5 -0
- package/src/component/chart-3d/model/chart-3d-options.ts +15 -0
- package/src/component/chart-3d/model/public-api.ts +2 -0
- package/src/component/chart-3d/model/series-3d.ts +11 -0
- package/src/component/chart-3d/public-api.ts +3 -0
- package/src/component/checkbox/Checkbox.mdx +18 -0
- package/src/component/checkbox/Checkbox.stories.ts +92 -0
- package/src/component/checkbox/checkbox/checkbox.component.html +6 -0
- package/src/component/checkbox/checkbox/checkbox.component.scss +0 -0
- package/src/component/checkbox/checkbox/checkbox.component.spec.ts +25 -0
- package/src/component/checkbox/checkbox/checkbox.component.ts +149 -0
- package/src/component/checkbox/checkbox.module.ts +17 -0
- package/src/component/checkbox/public-api.ts +2 -0
- package/src/component/date-picker/DatePicker.stories.ts +51 -0
- package/src/component/date-picker/MonthPicker.stories.ts +32 -0
- package/src/component/date-picker/date-picker/date-picker.component.html +91 -0
- package/src/component/date-picker/date-picker/date-picker.component.scss +0 -0
- package/src/component/date-picker/date-picker/date-picker.component.spec.ts +25 -0
- package/src/component/date-picker/date-picker/date-picker.component.ts +305 -0
- package/src/component/date-picker/date-picker.module.ts +38 -0
- package/src/component/date-picker/day-select/day-select.component.html +23 -0
- package/src/component/date-picker/day-select/day-select.component.scss +0 -0
- package/src/component/date-picker/day-select/day-select.component.spec.ts +25 -0
- package/src/component/date-picker/day-select/day-select.component.ts +216 -0
- package/src/component/date-picker/model/date-period.ts +9 -0
- package/src/component/date-picker/model/date-picker-mode.enum.ts +5 -0
- package/src/component/date-picker/model/day-model.ts +26 -0
- package/src/component/date-picker/model/picker-locale-model.ts +26 -0
- package/src/component/date-picker/month-picker/month-picker.component.html +64 -0
- package/src/component/date-picker/month-picker/month-picker.component.scss +0 -0
- package/src/component/date-picker/month-picker/month-picker.component.spec.ts +25 -0
- package/src/component/date-picker/month-picker/month-picker.component.ts +278 -0
- package/src/component/date-picker/month-select/month-select.component.html +15 -0
- package/src/component/date-picker/month-select/month-select.component.scss +3 -0
- package/src/component/date-picker/month-select/month-select.component.spec.ts +25 -0
- package/src/component/date-picker/month-select/month-select.component.ts +193 -0
- package/src/component/date-picker/public-api.ts +5 -0
- package/src/component/date-picker/service/picker-locale.service.spec.ts +14 -0
- package/src/component/date-picker/service/picker-locale.service.ts +27 -0
- package/src/component/date-picker/service/picker-touch.service.spec.ts +16 -0
- package/src/component/date-picker/service/picker-touch.service.ts +38 -0
- package/src/component/date-picker/time-part-control/time-part-control.component.html +9 -0
- package/src/component/date-picker/time-part-control/time-part-control.component.scss +4 -0
- package/src/component/date-picker/time-part-control/time-part-control.component.spec.ts +25 -0
- package/src/component/date-picker/time-part-control/time-part-control.component.ts +86 -0
- package/src/component/date-picker/util/date-picker-util.spec.ts +7 -0
- package/src/component/date-picker/util/date-picker-util.ts +227 -0
- package/src/component/date-picker/year-select/year-select.component.html +11 -0
- package/src/component/date-picker/year-select/year-select.component.scss +3 -0
- package/src/component/date-picker/year-select/year-select.component.spec.ts +25 -0
- package/src/component/date-picker/year-select/year-select.component.ts +229 -0
- package/src/component/delimiter/Delimiter.stories.ts +54 -0
- package/src/component/delimiter/delimiter/delimiter.component.html +0 -0
- package/src/component/delimiter/delimiter/delimiter.component.scss +3 -0
- package/src/component/delimiter/delimiter/delimiter.component.spec.ts +25 -0
- package/src/component/delimiter/delimiter/delimiter.component.ts +56 -0
- package/src/component/delimiter/delimiter.module.ts +13 -0
- package/src/component/delimiter/public-api.ts +2 -0
- package/src/component/dropdown/Dropdown.stories.ts +167 -0
- package/src/component/dropdown/dropdown/dropdown.component.html +1 -0
- package/src/component/dropdown/dropdown/dropdown.component.scss +0 -0
- package/src/component/dropdown/dropdown/dropdown.component.spec.ts +25 -0
- package/src/component/dropdown/dropdown/dropdown.component.ts +41 -0
- package/src/component/dropdown/dropdown-base.spec.ts +7 -0
- package/src/component/dropdown/dropdown-base.ts +225 -0
- package/src/component/dropdown/dropdown-content.directive.spec.ts +8 -0
- package/src/component/dropdown/dropdown-content.directive.ts +12 -0
- package/src/component/dropdown/dropdown-head.directive.spec.ts +8 -0
- package/src/component/dropdown/dropdown-head.directive.ts +9 -0
- package/src/component/dropdown/dropdown.directive.spec.ts +8 -0
- package/src/component/dropdown/dropdown.directive.ts +39 -0
- package/src/component/dropdown/dropdown.module.ts +26 -0
- package/src/component/dropdown/public-api.ts +5 -0
- package/src/component/dynamic-component/dynamic-component.module.ts +13 -0
- package/src/component/dynamic-component/popup-content/popup-content.component.html +1 -0
- package/src/component/dynamic-component/popup-content/popup-content.component.scss +0 -0
- package/src/component/dynamic-component/popup-content/popup-content.component.spec.ts +25 -0
- package/src/component/dynamic-component/popup-content/popup-content.component.ts +56 -0
- package/src/component/dynamic-component/public-api.ts +2 -0
- package/src/component/expand-panel/ExpandPanel.stories.ts +22 -0
- package/src/component/expand-panel/expand-panel/expand-panel.component.html +36 -0
- package/src/component/expand-panel/expand-panel/expand-panel.component.scss +9 -0
- package/src/component/expand-panel/expand-panel/expand-panel.component.spec.ts +25 -0
- package/src/component/expand-panel/expand-panel/expand-panel.component.ts +65 -0
- package/src/component/expand-panel/expand-panel-content.directive.spec.ts +8 -0
- package/src/component/expand-panel/expand-panel-content.directive.ts +8 -0
- package/src/component/expand-panel/expand-panel-head.directive.spec.ts +8 -0
- package/src/component/expand-panel/expand-panel-head.directive.ts +8 -0
- package/src/component/expand-panel/expand-panel.module.ts +30 -0
- package/src/component/expand-panel/public-api.ts +4 -0
- package/src/component/file-upload/File.stories.ts +36 -0
- package/src/component/file-upload/file-item/file-item.component.html +1 -0
- package/src/component/file-upload/file-item/file-item.component.scss +0 -0
- package/src/component/file-upload/file-item/file-item.component.spec.ts +25 -0
- package/src/component/file-upload/file-item/file-item.component.ts +12 -0
- package/src/component/file-upload/file-upload-area/file-upload-area.component.html +16 -0
- package/src/component/file-upload/file-upload-area/file-upload-area.component.scss +3 -0
- package/src/component/file-upload/file-upload-area/file-upload-area.component.spec.ts +25 -0
- package/src/component/file-upload/file-upload-area/file-upload-area.component.ts +75 -0
- package/src/component/file-upload/file-upload.module.ts +13 -0
- package/src/component/file-upload/public-api.ts +3 -0
- package/src/component/filter/base/filter-base.spec.ts +7 -0
- package/src/component/filter/base/filter-base.ts +17 -0
- package/src/component/filter/base/filter-component-base.spec.ts +7 -0
- package/src/component/filter/base/filter-component-base.ts +13 -0
- package/src/component/filter/boolean-filter/boolean-filter.component.html +7 -0
- package/src/component/filter/boolean-filter/boolean-filter.component.scss +0 -0
- package/src/component/filter/boolean-filter/boolean-filter.component.spec.ts +25 -0
- package/src/component/filter/boolean-filter/boolean-filter.component.ts +71 -0
- package/src/component/filter/contarct/boolean-filter.ts +12 -0
- package/src/component/filter/contarct/date-filter-value.ts +20 -0
- package/src/component/filter/contarct/date-filter.ts +17 -0
- package/src/component/filter/contarct/filter-component-map.ts +24 -0
- package/src/component/filter/contarct/filter-item.ts +95 -0
- package/src/component/filter/contarct/filter-state.ts +172 -0
- package/src/component/filter/contarct/i-filter.ts +5 -0
- package/src/component/filter/contarct/list-filter.ts +20 -0
- package/src/component/filter/contarct/numeric-filter-value.ts +26 -0
- package/src/component/filter/contarct/numeric-filter.ts +20 -0
- package/src/component/filter/contarct/sort-param.ts +29 -0
- package/src/component/filter/contarct/string-filter.ts +21 -0
- package/src/component/filter/date-filter/date-filter.component.html +14 -0
- package/src/component/filter/date-filter/date-filter.component.scss +0 -0
- package/src/component/filter/date-filter/date-filter.component.spec.ts +25 -0
- package/src/component/filter/date-filter/date-filter.component.ts +68 -0
- package/src/component/filter/enum/filter-type.enum.ts +8 -0
- package/src/component/filter/enum/list-filter-type.enum.ts +4 -0
- package/src/component/filter/enum/string-filter-type.enum.ts +18 -0
- package/src/component/filter/filter-host/filter-host.component.html +1 -0
- package/src/component/filter/filter-host/filter-host.component.scss +0 -0
- package/src/component/filter/filter-host/filter-host.component.spec.ts +25 -0
- package/src/component/filter/filter-host/filter-host.component.ts +90 -0
- package/src/component/filter/filter-panel/filter-panel.component.html +1 -0
- package/src/component/filter/filter-panel/filter-panel.component.scss +0 -0
- package/src/component/filter/filter-panel/filter-panel.component.spec.ts +25 -0
- package/src/component/filter/filter-panel/filter-panel.component.ts +13 -0
- package/src/component/filter/filter.module.ts +46 -0
- package/src/component/filter/list-filter/list-filter.component.html +21 -0
- package/src/component/filter/list-filter/list-filter.component.scss +7 -0
- package/src/component/filter/list-filter/list-filter.component.spec.ts +25 -0
- package/src/component/filter/list-filter/list-filter.component.ts +109 -0
- package/src/component/filter/numeric-filter/numeric-filter.component.html +14 -0
- package/src/component/filter/numeric-filter/numeric-filter.component.scss +0 -0
- package/src/component/filter/numeric-filter/numeric-filter.component.spec.ts +25 -0
- package/src/component/filter/numeric-filter/numeric-filter.component.ts +72 -0
- package/src/component/filter/public-api.ts +27 -0
- package/src/component/filter/string-filter/string-filter.component.html +6 -0
- package/src/component/filter/string-filter/string-filter.component.scss +0 -0
- package/src/component/filter/string-filter/string-filter.component.spec.ts +25 -0
- package/src/component/filter/string-filter/string-filter.component.ts +73 -0
- package/src/component/icon/Icon.stories.ts +46 -0
- package/src/component/icon/icon/icon.component.html +3 -0
- package/src/component/icon/icon/icon.component.scss +0 -0
- package/src/component/icon/icon/icon.component.spec.ts +25 -0
- package/src/component/icon/icon/icon.component.ts +39 -0
- package/src/component/icon/icon-sprite.directive.spec.ts +8 -0
- package/src/component/icon/icon-sprite.directive.ts +24 -0
- package/src/component/icon/icon.module.ts +23 -0
- package/src/component/icon/icon.service.spec.ts +16 -0
- package/src/component/icon/icon.service.ts +57 -0
- package/src/component/icon/icons-list.ts +173 -0
- package/src/component/icon/public-api.ts +4 -0
- package/src/component/input/Input.stories.ts +142 -0
- package/src/component/input/form-group-title/form-group-title.component.html +4 -0
- package/src/component/input/form-group-title/form-group-title.component.scss +0 -0
- package/src/component/input/form-group-title/form-group-title.component.spec.ts +25 -0
- package/src/component/input/form-group-title/form-group-title.component.ts +20 -0
- package/src/component/input/input/input.component.html +12 -0
- package/src/component/input/input/input.component.scss +6 -0
- package/src/component/input/input/input.component.spec.ts +25 -0
- package/src/component/input/input/input.component.ts +33 -0
- package/src/component/input/input.module.ts +15 -0
- package/src/component/input/public-api.ts +4 -0
- package/src/component/input/sample-input/sample-input/sample-input.component.html +28 -0
- package/src/component/input/sample-input/sample-input/sample-input.component.scss +25 -0
- package/src/component/input/sample-input/sample-input/sample-input.component.spec.ts +25 -0
- package/src/component/input/sample-input/sample-input/sample-input.component.ts +38 -0
- package/src/component/input/sample-input/sample-input.module.ts +22 -0
- package/src/component/input/text-field/text-field.component.html +19 -0
- package/src/component/input/text-field/text-field.component.scss +0 -0
- package/src/component/input/text-field/text-field.component.spec.ts +25 -0
- package/src/component/input/text-field/text-field.component.ts +84 -0
- package/src/component/list/List.stories.ts +56 -0
- package/src/component/list/list.module.ts +12 -0
- package/src/component/message/Message.stories.ts +20 -0
- package/src/component/message/message/message.component.html +18 -0
- package/src/component/message/message/message.component.scss +0 -0
- package/src/component/message/message/message.component.spec.ts +25 -0
- package/src/component/message/message/message.component.ts +80 -0
- package/src/component/message/message-host/message-host.component.html +6 -0
- package/src/component/message/message-host/message-host.component.scss +0 -0
- package/src/component/message/message-host/message-host.component.spec.ts +25 -0
- package/src/component/message/message-host/message-host.component.ts +94 -0
- package/src/component/message/message-samples/message-sample/message-sample.component.html +31 -0
- package/src/component/message/message-samples/message-sample/message-sample.component.scss +0 -0
- package/src/component/message/message-samples/message-sample/message-sample.component.spec.ts +25 -0
- package/src/component/message/message-samples/message-sample/message-sample.component.ts +40 -0
- package/src/component/message/message-samples/message-samples.module.ts +19 -0
- package/src/component/message/message.module.ts +18 -0
- package/src/component/message/message.service.spec.ts +16 -0
- package/src/component/message/message.service.ts +38 -0
- package/src/component/message/model/message.spec.ts +7 -0
- package/src/component/message/model/message.ts +38 -0
- package/src/component/message/public-api.ts +5 -0
- package/src/component/modal/Modal.stories.ts +43 -0
- package/src/component/modal/dialog/dialog.component.html +20 -0
- package/src/component/modal/dialog/dialog.component.scss +5 -0
- package/src/component/modal/dialog/dialog.component.spec.ts +25 -0
- package/src/component/modal/dialog/dialog.component.ts +33 -0
- package/src/component/modal/dialog.service.spec.ts +16 -0
- package/src/component/modal/dialog.service.ts +59 -0
- package/src/component/modal/modal-container/modal-container.component.html +3 -0
- package/src/component/modal/modal-container/modal-container.component.scss +0 -0
- package/src/component/modal/modal-container/modal-container.component.spec.ts +25 -0
- package/src/component/modal/modal-container/modal-container.component.ts +76 -0
- package/src/component/modal/modal-samples/alert-sample/alert-sample.component.html +13 -0
- package/src/component/modal/modal-samples/alert-sample/alert-sample.component.scss +0 -0
- package/src/component/modal/modal-samples/alert-sample/alert-sample.component.spec.ts +25 -0
- package/src/component/modal/modal-samples/alert-sample/alert-sample.component.ts +31 -0
- package/src/component/modal/modal-samples/modal-example/modal-example.component.html +24 -0
- package/src/component/modal/modal-samples/modal-example/modal-example.component.scss +0 -0
- package/src/component/modal/modal-samples/modal-example/modal-example.component.spec.ts +25 -0
- package/src/component/modal/modal-samples/modal-example/modal-example.component.ts +18 -0
- package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.html +3 -0
- package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.scss +0 -0
- package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.spec.ts +25 -0
- package/src/component/modal/modal-samples/modal-from-component/modal-from-component.component.ts +31 -0
- package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.html +31 -0
- package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.scss +0 -0
- package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.spec.ts +25 -0
- package/src/component/modal/modal-samples/modal-from-template/modal-from-template.component.ts +34 -0
- package/src/component/modal/modal-samples/modal-samples.module.ts +43 -0
- package/src/component/modal/modal.module.ts +28 -0
- package/src/component/modal/modal.service.spec.ts +16 -0
- package/src/component/modal/modal.service.ts +153 -0
- package/src/component/modal/model/current-modal.ts +5 -0
- package/src/component/modal/model/i-modal-config.ts +12 -0
- package/src/component/modal/model/i-modal-result.ts +13 -0
- package/src/component/modal/model/modal-close-reason.enum.ts +6 -0
- package/src/component/modal/model/modal-instance.ts +44 -0
- package/src/component/modal/public-api.ts +11 -0
- package/src/component/pager/Pager.stories.ts +19 -0
- package/src/component/pager/model/pager-state.spec.ts +7 -0
- package/src/component/pager/model/pager-state.ts +80 -0
- package/src/component/pager/pager/pager.component.html +1 -0
- package/src/component/pager/pager/pager.component.scss +0 -0
- package/src/component/pager/pager/pager.component.spec.ts +25 -0
- package/src/component/pager/pager/pager.component.ts +13 -0
- package/src/component/pager/pager.module.ts +15 -0
- package/src/component/pager/public-api.ts +4 -0
- package/src/component/pager/util/pager-util.spec.ts +7 -0
- package/src/component/pager/util/pager-util.ts +7 -0
- package/src/component/panel/panel/panel.component.html +1 -0
- package/src/component/panel/panel/panel.component.scss +0 -0
- package/src/component/panel/panel/panel.component.spec.ts +25 -0
- package/src/component/panel/panel/panel.component.ts +42 -0
- package/src/component/panel/panel.module.ts +13 -0
- package/src/component/panel/public-api.ts +2 -0
- package/src/component/progress-bar/ProgressBar.stories.ts +29 -0
- package/src/component/progress-bar/progress-bar/progress-bar.component.html +7 -0
- package/src/component/progress-bar/progress-bar/progress-bar.component.scss +0 -0
- package/src/component/progress-bar/progress-bar/progress-bar.component.spec.ts +25 -0
- package/src/component/progress-bar/progress-bar/progress-bar.component.ts +158 -0
- package/src/component/progress-bar/progress-bar.module.ts +13 -0
- package/src/component/progress-bar/public-api.ts +2 -0
- package/src/component/property-grid/PropertyGrid.stories.ts +110 -0
- package/src/component/property-grid/default/date-item-default/date-item-default.component.html +1 -0
- package/src/component/property-grid/default/date-item-default/date-item-default.component.scss +0 -0
- package/src/component/property-grid/default/date-item-default/date-item-default.component.spec.ts +25 -0
- package/src/component/property-grid/default/date-item-default/date-item-default.component.ts +13 -0
- package/src/component/property-grid/default/list-item-default/list-item-default.component.html +1 -0
- package/src/component/property-grid/default/list-item-default/list-item-default.component.scss +0 -0
- package/src/component/property-grid/default/list-item-default/list-item-default.component.spec.ts +25 -0
- package/src/component/property-grid/default/list-item-default/list-item-default.component.ts +13 -0
- package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.html +1 -0
- package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.scss +0 -0
- package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.spec.ts +25 -0
- package/src/component/property-grid/default/numeric-item-default/numeric-item-default.component.ts +13 -0
- package/src/component/property-grid/default/string-item-default/string-item-default.component.html +1 -0
- package/src/component/property-grid/default/string-item-default/string-item-default.component.scss +0 -0
- package/src/component/property-grid/default/string-item-default/string-item-default.component.spec.ts +25 -0
- package/src/component/property-grid/default/string-item-default/string-item-default.component.ts +13 -0
- package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.html +20 -0
- package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.scss +0 -0
- package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.spec.ts +25 -0
- package/src/component/property-grid/property-grid/property-grid-group/property-grid-group.component.ts +31 -0
- package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.html +39 -0
- package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.scss +0 -0
- package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.spec.ts +24 -0
- package/src/component/property-grid/property-grid/property-grid-item/property-grid-item.component.ts +122 -0
- package/src/component/property-grid/property-grid/property-grid.component.html +18 -0
- package/src/component/property-grid/property-grid/property-grid.component.scss +3 -0
- package/src/component/property-grid/property-grid/property-grid.component.spec.ts +25 -0
- package/src/component/property-grid/property-grid/property-grid.component.ts +62 -0
- package/src/component/property-grid/property-grid.module.ts +53 -0
- package/src/component/property-grid/public-api.ts +2 -0
- package/src/component/public-api.ts +89 -0
- package/src/component/radio/Radio.stories.ts +28 -0
- package/src/component/radio/public-api.ts +3 -0
- package/src/component/radio/radio/radio.component.html +1 -0
- package/src/component/radio/radio/radio.component.scss +0 -0
- package/src/component/radio/radio/radio.component.spec.ts +26 -0
- package/src/component/radio/radio/radio.component.ts +264 -0
- package/src/component/radio/radio-button/radio-button.component.html +4 -0
- package/src/component/radio/radio-button/radio-button.component.scss +0 -0
- package/src/component/radio/radio-button/radio-button.component.spec.ts +26 -0
- package/src/component/radio/radio-button/radio-button.component.ts +71 -0
- package/src/component/radio/radio.module.ts +12 -0
- package/src/component/resize-panel/Resize.stories.ts +83 -0
- package/src/component/resize-panel/public-api.ts +2 -0
- package/src/component/resize-panel/resize-panel/resize-panel.component.html +9 -0
- package/src/component/resize-panel/resize-panel/resize-panel.component.scss +0 -0
- package/src/component/resize-panel/resize-panel/resize-panel.component.spec.ts +25 -0
- package/src/component/resize-panel/resize-panel/resize-panel.component.ts +210 -0
- package/src/component/resize-panel/resize-panel.module.ts +12 -0
- package/src/component/select/Select.stories.ts +254 -0
- package/src/component/select/public-api.ts +4 -0
- package/src/component/select/select/select.component.html +92 -0
- package/src/component/select/select/select.component.scss +0 -0
- package/src/component/select/select/select.component.spec.ts +25 -0
- package/src/component/select/select/select.component.ts +222 -0
- package/src/component/select/select-option.directive.spec.ts +8 -0
- package/src/component/select/select-option.directive.ts +9 -0
- package/src/component/select/select-value.directive.spec.ts +8 -0
- package/src/component/select/select-value.directive.ts +9 -0
- package/src/component/select/select.module.ts +26 -0
- package/src/component/sidebar/Sidebar.stories.ts +61 -0
- package/src/component/sidebar/public-api.ts +3 -0
- package/src/component/sidebar/sidebar/sidebar.component.html +14 -0
- package/src/component/sidebar/sidebar/sidebar.component.scss +0 -0
- package/src/component/sidebar/sidebar/sidebar.component.spec.ts +25 -0
- package/src/component/sidebar/sidebar/sidebar.component.ts +47 -0
- package/src/component/sidebar/sidebar-position.enum.ts +6 -0
- package/src/component/sidebar/sidebar.module.ts +16 -0
- package/src/component/switch/Switch.stories.ts +37 -0
- package/src/component/switch/public-api.ts +3 -0
- package/src/component/switch/switch/switch.component.html +1 -0
- package/src/component/switch/switch/switch.component.scss +0 -0
- package/src/component/switch/switch/switch.component.spec.ts +25 -0
- package/src/component/switch/switch/switch.component.ts +70 -0
- package/src/component/switch/switch-button/switch-button.component.html +1 -0
- package/src/component/switch/switch-button/switch-button.component.scss +0 -0
- package/src/component/switch/switch-button/switch-button.component.spec.ts +25 -0
- package/src/component/switch/switch-button/switch-button.component.ts +55 -0
- package/src/component/switch/switch.module.ts +15 -0
- package/src/component/switch/switch.service.spec.ts +16 -0
- package/src/component/switch/switch.service.ts +18 -0
- package/src/component/table/Table.stories.ts +102 -0
- package/src/component/table/base/cell-component-base.ts +146 -0
- package/src/component/table/base/detail-component-base.ts +13 -0
- package/src/component/table/base/group-row-component-base.ts +13 -0
- package/src/component/table/base/head-cell-component-base.ts +12 -0
- package/src/component/table/cell/cell.component.html +4 -0
- package/src/component/table/cell/cell.component.scss +0 -0
- package/src/component/table/cell/cell.component.spec.ts +25 -0
- package/src/component/table/cell/cell.component.ts +37 -0
- package/src/component/table/cell-host/cell-host.component.html +1 -0
- package/src/component/table/cell-host/cell-host.component.scss +0 -0
- package/src/component/table/cell-host/cell-host.component.spec.ts +25 -0
- package/src/component/table/cell-host/cell-host.component.ts +67 -0
- package/src/component/table/contract/cell-components-map.ts +24 -0
- package/src/component/table/contract/column-reorder-event.ts +11 -0
- package/src/component/table/contract/column-resize-event.ts +11 -0
- package/src/component/table/contract/i-cell-coordinates.ts +8 -0
- package/src/component/table/contract/i-cell-event.ts +5 -0
- package/src/component/table/contract/i-cell-value.ts +6 -0
- package/src/component/table/contract/public-api.ts +11 -0
- package/src/component/table/contract/sort-event.ts +11 -0
- package/src/component/table/contract/table-column-store.ts +24 -0
- package/src/component/table/contract/table-column.ts +172 -0
- package/src/component/table/contract/table-context-menu-config.ts +23 -0
- package/src/component/table/contract/table-row.ts +51 -0
- package/src/component/table/default/boolean-cell/boolean-cell.component.html +10 -0
- package/src/component/table/default/boolean-cell/boolean-cell.component.scss +0 -0
- package/src/component/table/default/boolean-cell/boolean-cell.component.spec.ts +25 -0
- package/src/component/table/default/boolean-cell/boolean-cell.component.ts +54 -0
- package/src/component/table/default/date-cell/date-cell.component.html +11 -0
- package/src/component/table/default/date-cell/date-cell.component.scss +0 -0
- package/src/component/table/default/date-cell/date-cell.component.spec.ts +25 -0
- package/src/component/table/default/date-cell/date-cell.component.ts +59 -0
- package/src/component/table/default/date-time-cell/date-time-cell.component.html +10 -0
- package/src/component/table/default/date-time-cell/date-time-cell.component.scss +0 -0
- package/src/component/table/default/date-time-cell/date-time-cell.component.spec.ts +25 -0
- package/src/component/table/default/date-time-cell/date-time-cell.component.ts +56 -0
- package/src/component/table/default/default-head-cell/default-head-cell.component.html +8 -0
- package/src/component/table/default/default-head-cell/default-head-cell.component.scss +6 -0
- package/src/component/table/default/default-head-cell/default-head-cell.component.spec.ts +25 -0
- package/src/component/table/default/default-head-cell/default-head-cell.component.ts +38 -0
- package/src/component/table/default/group-row/group-row.component.html +2 -0
- package/src/component/table/default/group-row/group-row.component.scss +0 -0
- package/src/component/table/default/group-row/group-row.component.spec.ts +25 -0
- package/src/component/table/default/group-row/group-row.component.ts +29 -0
- package/src/component/table/default/list-cell/list-cell.component.html +15 -0
- package/src/component/table/default/list-cell/list-cell.component.scss +0 -0
- package/src/component/table/default/list-cell/list-cell.component.spec.ts +25 -0
- package/src/component/table/default/list-cell/list-cell.component.ts +85 -0
- package/src/component/table/default/numeric-cell/numeric-cell.component.html +11 -0
- package/src/component/table/default/numeric-cell/numeric-cell.component.scss +3 -0
- package/src/component/table/default/numeric-cell/numeric-cell.component.spec.ts +25 -0
- package/src/component/table/default/numeric-cell/numeric-cell.component.ts +57 -0
- package/src/component/table/default/string-cell/string-cell.component.html +11 -0
- package/src/component/table/default/string-cell/string-cell.component.scss +0 -0
- package/src/component/table/default/string-cell/string-cell.component.spec.ts +25 -0
- package/src/component/table/default/string-cell/string-cell.component.ts +54 -0
- package/src/component/table/enum/aggregation-type.enum.ts +7 -0
- package/src/component/table/enum/edit-event.enum.ts +5 -0
- package/src/component/table/enum/edit-type.enum.ts +4 -0
- package/src/component/table/enum/public-api.ts +4 -0
- package/src/component/table/enum/select-type.enum.ts +5 -0
- package/src/component/table/head-cell/head-cell.component.html +45 -0
- package/src/component/table/head-cell/head-cell.component.scss +16 -0
- package/src/component/table/head-cell/head-cell.component.spec.ts +25 -0
- package/src/component/table/head-cell/head-cell.component.ts +150 -0
- package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.html +145 -0
- package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.scss +6 -0
- package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.spec.ts +25 -0
- package/src/component/table/head-cell-dropdown/head-cell-dropdown.component.ts +240 -0
- package/src/component/table/head-cell-host/head-cell-host.component.html +1 -0
- package/src/component/table/head-cell-host/head-cell-host.component.scss +3 -0
- package/src/component/table/head-cell-host/head-cell-host.component.spec.ts +25 -0
- package/src/component/table/head-cell-host/head-cell-host.component.ts +50 -0
- package/src/component/table/public-api.ts +48 -0
- package/src/component/table/selection-cell/selection-cell.component.html +4 -0
- package/src/component/table/selection-cell/selection-cell.component.scss +5 -0
- package/src/component/table/selection-cell/selection-cell.component.spec.ts +25 -0
- package/src/component/table/selection-cell/selection-cell.component.ts +50 -0
- package/src/component/table/selection-head-cell/selection-head-cell.component.html +5 -0
- package/src/component/table/selection-head-cell/selection-head-cell.component.scss +5 -0
- package/src/component/table/selection-head-cell/selection-head-cell.component.spec.ts +25 -0
- package/src/component/table/selection-head-cell/selection-head-cell.component.ts +49 -0
- package/src/component/table/service/table.service.spec.ts +16 -0
- package/src/component/table/service/table.service.ts +570 -0
- package/src/component/table/table/table.component.html +68 -0
- package/src/component/table/table/table.component.scss +0 -0
- package/src/component/table/table/table.component.spec.ts +25 -0
- package/src/component/table/table/table.component.ts +444 -0
- package/src/component/table/table-body/table-body.component.html +121 -0
- package/src/component/table/table-body/table-body.component.scss +0 -0
- package/src/component/table/table-body/table-body.component.spec.ts +25 -0
- package/src/component/table/table-body/table-body.component.ts +280 -0
- package/src/component/table/table-demo/table-demo/table-demo.component.html +28 -0
- package/src/component/table/table-demo/table-demo/table-demo.component.scss +6 -0
- package/src/component/table/table-demo/table-demo/table-demo.component.spec.ts +25 -0
- package/src/component/table/table-demo/table-demo/table-demo.component.ts +136 -0
- package/src/component/table/table-demo/table-demo.module.ts +23 -0
- package/src/component/table/table-head/table-head.component.html +21 -0
- package/src/component/table/table-head/table-head.component.scss +0 -0
- package/src/component/table/table-head/table-head.component.spec.ts +25 -0
- package/src/component/table/table-head/table-head.component.ts +118 -0
- package/src/component/table/table-head-group/table-head-group.component.html +24 -0
- package/src/component/table/table-head-group/table-head-group.component.scss +0 -0
- package/src/component/table/table-head-group/table-head-group.component.spec.ts +25 -0
- package/src/component/table/table-head-group/table-head-group.component.ts +73 -0
- package/src/component/table/table.module.ts +100 -0
- package/src/component/table/util/public-api.ts +2 -0
- package/src/component/table/util/state-util.spec.ts +7 -0
- package/src/component/table/util/state-util.ts +182 -0
- package/src/component/table/util/table-util.spec.ts +7 -0
- package/src/component/table/util/table-util.ts +150 -0
- package/src/component/tabs/Tabs.stories.ts +55 -0
- package/src/component/tabs/public-api.ts +13 -0
- package/src/component/tabs/tab/tab.component.html +1 -0
- package/src/component/tabs/tab/tab.component.scss +0 -0
- package/src/component/tabs/tab/tab.component.spec.ts +25 -0
- package/src/component/tabs/tab/tab.component.ts +46 -0
- package/src/component/tabs/tab-content.directive.spec.ts +8 -0
- package/src/component/tabs/tab-content.directive.ts +9 -0
- package/src/component/tabs/tab-title.directive.spec.ts +8 -0
- package/src/component/tabs/tab-title.directive.ts +9 -0
- package/src/component/tabs/tabs/tabs.component.html +24 -0
- package/src/component/tabs/tabs/tabs.component.scss +0 -0
- package/src/component/tabs/tabs/tabs.component.spec.ts +25 -0
- package/src/component/tabs/tabs/tabs.component.ts +85 -0
- package/src/component/tabs/tabs.module.ts +26 -0
- package/src/component/theme-switch/public-api.ts +3 -0
- package/src/component/theme-switch/theme-switch/theme-switch.component.html +3 -0
- package/src/component/theme-switch/theme-switch/theme-switch.component.scss +4 -0
- package/src/component/theme-switch/theme-switch/theme-switch.component.spec.ts +25 -0
- package/src/component/theme-switch/theme-switch/theme-switch.component.ts +31 -0
- package/src/component/theme-switch/theme-switch.module.ts +17 -0
- package/src/component/theme-switch/theme-switch.service.spec.ts +16 -0
- package/src/component/theme-switch/theme-switch.service.ts +34 -0
- package/src/component/toggle/Toggle.stories.ts +34 -0
- package/src/component/toggle/public-api.ts +2 -0
- package/src/component/toggle/toggle/toggle.component.html +6 -0
- package/src/component/toggle/toggle/toggle.component.scss +0 -0
- package/src/component/toggle/toggle/toggle.component.spec.ts +25 -0
- package/src/component/toggle/toggle/toggle.component.ts +95 -0
- package/src/component/toggle/toggle.module.ts +11 -0
- package/src/component/toolbar/Toolbar.stories.ts +110 -0
- package/src/component/toolbar/public-api.ts +6 -0
- package/src/component/toolbar/toolbar/toolbar.component.html +1 -0
- package/src/component/toolbar/toolbar/toolbar.component.scss +0 -0
- package/src/component/toolbar/toolbar/toolbar.component.spec.ts +25 -0
- package/src/component/toolbar/toolbar/toolbar.component.ts +29 -0
- package/src/component/toolbar/toolbar.module.ts +13 -0
- package/src/component/tree/Tree.stories.ts +93 -0
- package/src/component/tree/public-api.ts +4 -0
- package/src/component/tree/tree/tree.component.html +8 -0
- package/src/component/tree/tree/tree.component.scss +0 -0
- package/src/component/tree/tree/tree.component.spec.ts +25 -0
- package/src/component/tree/tree/tree.component.ts +92 -0
- package/src/component/tree/tree-item/tree-item.component.html +12 -0
- package/src/component/tree/tree-item/tree-item.component.scss +0 -0
- package/src/component/tree/tree-item/tree-item.component.spec.ts +25 -0
- package/src/component/tree/tree-item/tree-item.component.ts +84 -0
- package/src/component/tree/tree-item-toggle/tree-item-toggle.component.html +2 -0
- package/src/component/tree/tree-item-toggle/tree-item-toggle.component.scss +4 -0
- package/src/component/tree/tree-item-toggle/tree-item-toggle.component.spec.ts +25 -0
- package/src/component/tree/tree-item-toggle/tree-item-toggle.component.ts +37 -0
- package/src/component/tree/tree.module.ts +14 -0
- package/src/component/tree/tree.service.spec.ts +16 -0
- package/src/component/tree/tree.service.ts +41 -0
- package/src/directive/click-outside/click-outside.directive.spec.ts +8 -0
- package/src/directive/click-outside/click-outside.directive.ts +64 -0
- package/src/directive/click-outside/click-outside.module.ts +13 -0
- package/src/directive/click-outside/public-api.ts +2 -0
- package/src/directive/context-menu/ContextMenu.stories.ts +65 -0
- package/src/directive/context-menu/context-menu.directive.spec.ts +8 -0
- package/src/directive/context-menu/context-menu.directive.ts +136 -0
- package/src/directive/context-menu/context-menu.module.ts +15 -0
- package/src/directive/context-menu/public-api.ts +2 -0
- package/src/directive/disable-control/disable-control.directive.spec.ts +8 -0
- package/src/directive/disable-control/disable-control.directive.ts +20 -0
- package/src/directive/disable-control/disable-control.module.ts +16 -0
- package/src/directive/disable-control/public-api.ts +2 -0
- package/src/directive/drag-sort/DragSort.stories.ts +60 -0
- package/src/directive/drag-sort/drag-sort-container.directive.spec.ts +8 -0
- package/src/directive/drag-sort/drag-sort-container.directive.ts +71 -0
- package/src/directive/drag-sort/drag-sort-event.spec.ts +7 -0
- package/src/directive/drag-sort/drag-sort-event.ts +7 -0
- package/src/directive/drag-sort/drag-sort-item.directive.spec.ts +8 -0
- package/src/directive/drag-sort/drag-sort-item.directive.ts +119 -0
- package/src/directive/drag-sort/drag-sort.module.ts +11 -0
- package/src/directive/drag-sort/public-api.ts +4 -0
- package/src/directive/dynamic-content-base.directive.ts +113 -0
- package/src/directive/highlight/highlight.directive.spec.ts +8 -0
- package/src/directive/highlight/highlight.directive.ts +68 -0
- package/src/directive/highlight/highlight.module.ts +13 -0
- package/src/directive/highlight/public-api.ts +2 -0
- package/src/directive/hint/Hint.stories.ts +111 -0
- package/src/directive/hint/hint.directive.spec.ts +8 -0
- package/src/directive/hint/hint.directive.ts +117 -0
- package/src/directive/hint/hint.module.ts +15 -0
- package/src/directive/hint/public-api.ts +2 -0
- package/src/directive/loader/Loader.stories.ts +21 -0
- package/src/directive/loader/loader.directive.spec.ts +8 -0
- package/src/directive/loader/loader.directive.ts +80 -0
- package/src/directive/loader/loader.module.ts +13 -0
- package/src/directive/loader/public-api.ts +2 -0
- package/src/directive/no-autofill/no-autofill.directive.spec.ts +8 -0
- package/src/directive/no-autofill/no-autofill.directive.ts +28 -0
- package/src/directive/no-autofill/no-autofill.module.ts +10 -0
- package/src/directive/no-autofill/public-api.ts +2 -0
- package/src/directive/only-number/OnlyNumber.stories.ts +29 -0
- package/src/directive/only-number/only-number.directive.spec.ts +8 -0
- package/src/directive/only-number/only-number.directive.ts +174 -0
- package/src/directive/only-number/only-number.module.ts +10 -0
- package/src/directive/only-number/public-api.ts +2 -0
- package/src/directive/public-api.ts +14 -0
- package/src/directive/resize-drag/public-api.ts +2 -0
- package/src/directive/resize-drag/resize-drag.directive.spec.ts +8 -0
- package/src/directive/resize-drag/resize-drag.directive.ts +62 -0
- package/src/directive/resize-drag/resize-drag.module.ts +10 -0
- package/src/directive/teta-template/public-api.ts +2 -0
- package/src/directive/teta-template/teta-template.directive.spec.ts +8 -0
- package/src/directive/teta-template/teta-template.directive.ts +15 -0
- package/src/directive/teta-template/teta-template.module.ts +18 -0
- package/src/directive/tooltip/Tooltip.stories.ts +96 -0
- package/src/directive/tooltip/public-api.ts +2 -0
- package/src/directive/tooltip/tooltip.directive.spec.ts +8 -0
- package/src/directive/tooltip/tooltip.directive.ts +116 -0
- package/src/directive/tooltip/tooltip.module.ts +12 -0
- package/src/pipe/number-pipe/number-pipe.module.ts +15 -0
- package/src/pipe/number-pipe/number.pipe.spec.ts +8 -0
- package/src/pipe/number-pipe/number.pipe.ts +26 -0
- package/src/pipe/number-pipe/public-api.ts +2 -0
- package/src/pipe/prepend-zero/prepend-zero.module.ts +10 -0
- package/src/pipe/prepend-zero/prepend-zero.pipe.spec.ts +8 -0
- package/src/pipe/prepend-zero/prepend-zero.pipe.ts +15 -0
- package/src/pipe/prepend-zero/public-api.ts +2 -0
- package/src/pipe/public-api.ts +1 -0
- package/src/pipe/util/number-helper.ts +37 -0
- package/src/public-api.ts +25 -0
- package/src/test.ts +26 -0
- package/src/util/date-util.ts +247 -0
- package/src/util/forms-util.ts +83 -0
- package/src/util/public-api.ts +3 -0
- package/src/util/string-util.ts +5 -0
- package/style/tabs.scss +1 -1
- package/tsconfig.lib.json +18 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/component/chart/core/axis-creator.d.ts +0 -28
- package/component/chart/model/enum/scale-type.d.ts +0 -6
- package/component/chart/model/series.d.ts +0 -62
- package/component/table/contract/table-column.d.ts +0 -141
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +0 -58
- package/component/table/service/table.service.d.ts +0 -119
- package/component/table/table/table.component.d.ts +0 -99
- package/esm2020/common/contract/auto-close-ignore-case.mjs +0 -2
- package/esm2020/common/contract/constructor-type.mjs +0 -2
- package/esm2020/common/contract/dynamic-data.mjs +0 -10
- package/esm2020/common/contract/i-dictionary.mjs +0 -2
- package/esm2020/common/contract/i-id-name.mjs +0 -2
- package/esm2020/common/contract/i-rect.mjs +0 -2
- package/esm2020/common/contract/i-tree-data.mjs +0 -2
- package/esm2020/common/contract/public-api.mjs +0 -9
- package/esm2020/common/contract/teta-content-ref.mjs +0 -8
- package/esm2020/common/enum/align.enum.mjs +0 -10
- package/esm2020/common/enum/public-api.mjs +0 -4
- package/esm2020/common/enum/teta-size.enum.mjs +0 -9
- package/esm2020/common/enum/vertical-align.enum.mjs +0 -8
- package/esm2020/common/public-api.mjs +0 -5
- package/esm2020/common/service/click.service.mjs +0 -23
- package/esm2020/common/service/dynamic-component.service.mjs +0 -93
- package/esm2020/common/service/overlay-container.service.mjs +0 -41
- package/esm2020/common/service/public-api.mjs +0 -4
- package/esm2020/common/util/array-util.mjs +0 -119
- package/esm2020/common/util/dom-util.mjs +0 -16
- package/esm2020/common/util/position-util.mjs +0 -96
- package/esm2020/common/util/public-api.mjs +0 -4
- package/esm2020/component/accordion/accordion/accordion.component.mjs +0 -18
- package/esm2020/component/accordion/accordion-content.directive.mjs +0 -16
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +0 -52
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +0 -43
- package/esm2020/component/accordion/accordion.module.mjs +0 -29
- package/esm2020/component/accordion/public-api.mjs +0 -6
- package/esm2020/component/button/button/button.component.mjs +0 -40
- package/esm2020/component/button/button.module.mjs +0 -24
- package/esm2020/component/button/public-api.mjs +0 -3
- package/esm2020/component/chart/chart/chart.component.mjs +0 -164
- package/esm2020/component/chart/chart.module.mjs +0 -18
- package/esm2020/component/chart/core/axis-creator.mjs +0 -82
- package/esm2020/component/chart/core/chart.mjs +0 -1339
- package/esm2020/component/chart/core/public-api.mjs +0 -3
- package/esm2020/component/chart/drawer/area-drawer.mjs +0 -20
- package/esm2020/component/chart/drawer/bar-drawer.mjs +0 -23
- package/esm2020/component/chart/drawer/contour-drawer.mjs +0 -29
- package/esm2020/component/chart/drawer/default-drawer-mapping.mjs +0 -17
- package/esm2020/component/chart/drawer/line-drawer.mjs +0 -152
- package/esm2020/component/chart/drawer/pie-drawer.mjs +0 -4
- package/esm2020/component/chart/drawer/public-api.mjs +0 -7
- package/esm2020/component/chart/drawer/scatter-drawer.mjs +0 -93
- package/esm2020/component/chart/drawer/spline-drawer.mjs +0 -23
- package/esm2020/component/chart/legend-drawer/default-drawer-legend-mapping.mjs +0 -7
- package/esm2020/component/chart/legend-drawer/gradient-drawer.mjs +0 -45
- package/esm2020/component/chart/legend-drawer/swatch-drawer.mjs +0 -62
- package/esm2020/component/chart/model/annotation.mjs +0 -30
- package/esm2020/component/chart/model/axis-options.mjs +0 -26
- package/esm2020/component/chart/model/chart-bounds.mjs +0 -13
- package/esm2020/component/chart/model/chart-options.mjs +0 -37
- package/esm2020/component/chart/model/enum/axis-type.mjs +0 -6
- package/esm2020/component/chart/model/enum/dispatch-type.mjs +0 -6
- package/esm2020/component/chart/model/enum/drag-point-type.mjs +0 -7
- package/esm2020/component/chart/model/enum/legend-type.mjs +0 -6
- package/esm2020/component/chart/model/enum/public-api.mjs +0 -8
- package/esm2020/component/chart/model/enum/scale-type.mjs +0 -8
- package/esm2020/component/chart/model/enum/scale.mjs +0 -7
- package/esm2020/component/chart/model/enum/series-type.mjs +0 -12
- package/esm2020/component/chart/model/enum/zoom-type.mjs +0 -7
- package/esm2020/component/chart/model/i-drag-event.mjs +0 -2
- package/esm2020/component/chart/model/i-drawer-legend.mjs +0 -2
- package/esm2020/component/chart/model/i-drawer.mjs +0 -2
- package/esm2020/component/chart/model/i-zoom-event.mjs +0 -2
- package/esm2020/component/chart/model/plot-band.mjs +0 -18
- package/esm2020/component/chart/model/plot-line.mjs +0 -13
- package/esm2020/component/chart/model/point/bar-point.mjs +0 -2
- package/esm2020/component/chart/model/point/base-point.mjs +0 -2
- package/esm2020/component/chart/model/point/contour-point.mjs +0 -2
- package/esm2020/component/chart/model/point/marker-options.mjs +0 -2
- package/esm2020/component/chart/model/point/public-api.mjs +0 -4
- package/esm2020/component/chart/model/point/scatter-point.mjs +0 -2
- package/esm2020/component/chart/model/public-api.mjs +0 -16
- package/esm2020/component/chart/model/series.mjs +0 -27
- package/esm2020/component/chart/model/tooltip-options.mjs +0 -19
- package/esm2020/component/chart/public-api.mjs +0 -6
- package/esm2020/component/chart-3d/chart-3d.module.mjs +0 -18
- package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +0 -232
- package/esm2020/component/chart-3d/model/base-3d-point.mjs +0 -2
- package/esm2020/component/chart-3d/model/chart-3d-options.mjs +0 -7
- package/esm2020/component/chart-3d/model/public-api.mjs +0 -3
- package/esm2020/component/chart-3d/model/series-3d.mjs +0 -7
- package/esm2020/component/chart-3d/public-api.mjs +0 -4
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +0 -134
- package/esm2020/component/checkbox/checkbox.module.mjs +0 -28
- package/esm2020/component/checkbox/public-api.mjs +0 -3
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +0 -279
- package/esm2020/component/date-picker/date-picker.module.mjs +0 -67
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +0 -166
- package/esm2020/component/date-picker/model/date-period.mjs +0 -7
- package/esm2020/component/date-picker/model/date-picker-mode.enum.mjs +0 -7
- package/esm2020/component/date-picker/model/day-model.mjs +0 -13
- package/esm2020/component/date-picker/model/picker-locale-model.mjs +0 -13
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +0 -250
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +0 -147
- package/esm2020/component/date-picker/public-api.mjs +0 -6
- package/esm2020/component/date-picker/service/picker-locale.service.mjs +0 -30
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +0 -34
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +0 -73
- package/esm2020/component/date-picker/util/date-picker-util.mjs +0 -142
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +0 -189
- package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +0 -63
- package/esm2020/component/delimiter/delimiter.module.mjs +0 -22
- package/esm2020/component/delimiter/public-api.mjs +0 -3
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +0 -29
- package/esm2020/component/dropdown/dropdown-base.mjs +0 -204
- package/esm2020/component/dropdown/dropdown-content.directive.mjs +0 -17
- package/esm2020/component/dropdown/dropdown-head.directive.mjs +0 -18
- package/esm2020/component/dropdown/dropdown.directive.mjs +0 -37
- package/esm2020/component/dropdown/dropdown.module.mjs +0 -41
- package/esm2020/component/dropdown/public-api.mjs +0 -6
- package/esm2020/component/dynamic-component/dynamic-component.module.mjs +0 -22
- package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +0 -59
- package/esm2020/component/dynamic-component/public-api.mjs +0 -3
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +0 -65
- package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +0 -16
- package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +0 -16
- package/esm2020/component/expand-panel/expand-panel.module.mjs +0 -52
- package/esm2020/component/expand-panel/public-api.mjs +0 -5
- package/esm2020/component/file-upload/file-item/file-item.component.mjs +0 -13
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +0 -77
- package/esm2020/component/file-upload/file-upload.module.mjs +0 -21
- package/esm2020/component/file-upload/public-api.mjs +0 -4
- package/esm2020/component/filter/base/filter-base.mjs +0 -9
- package/esm2020/component/filter/base/filter-component-base.mjs +0 -3
- package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +0 -53
- package/esm2020/component/filter/contarct/boolean-filter.mjs +0 -10
- package/esm2020/component/filter/contarct/date-filter-value.mjs +0 -9
- package/esm2020/component/filter/contarct/date-filter.mjs +0 -11
- package/esm2020/component/filter/contarct/filter-component-map.mjs +0 -17
- package/esm2020/component/filter/contarct/filter-item.mjs +0 -33
- package/esm2020/component/filter/contarct/filter-state.mjs +0 -145
- package/esm2020/component/filter/contarct/i-filter.mjs +0 -2
- package/esm2020/component/filter/contarct/list-filter.mjs +0 -12
- package/esm2020/component/filter/contarct/numeric-filter-value.mjs +0 -10
- package/esm2020/component/filter/contarct/numeric-filter.mjs +0 -11
- package/esm2020/component/filter/contarct/sort-param.mjs +0 -13
- package/esm2020/component/filter/contarct/string-filter.mjs +0 -12
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +0 -54
- package/esm2020/component/filter/enum/filter-type.enum.mjs +0 -10
- package/esm2020/component/filter/enum/list-filter-type.enum.mjs +0 -6
- package/esm2020/component/filter/enum/string-filter-type.enum.mjs +0 -20
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +0 -73
- package/esm2020/component/filter/filter-panel/filter-panel.component.mjs +0 -13
- package/esm2020/component/filter/filter.module.mjs +0 -80
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +0 -86
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +0 -53
- package/esm2020/component/filter/public-api.mjs +0 -25
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +0 -54
- package/esm2020/component/icon/icon/icon.component.mjs +0 -37
- package/esm2020/component/icon/icon-sprite.directive.mjs +0 -32
- package/esm2020/component/icon/icon.module.mjs +0 -35
- package/esm2020/component/icon/icon.service.mjs +0 -59
- package/esm2020/component/icon/public-api.mjs +0 -5
- package/esm2020/component/input/form-group-title/form-group-title.component.mjs +0 -18
- package/esm2020/component/input/input/input.component.mjs +0 -31
- package/esm2020/component/input/input.module.mjs +0 -23
- package/esm2020/component/input/public-api.mjs +0 -5
- package/esm2020/component/input/text-field/text-field.component.mjs +0 -94
- package/esm2020/component/message/message/message.component.mjs +0 -74
- package/esm2020/component/message/message-host/message-host.component.mjs +0 -88
- package/esm2020/component/message/message.module.mjs +0 -31
- package/esm2020/component/message/message.service.mjs +0 -35
- package/esm2020/component/message/model/message.mjs +0 -21
- package/esm2020/component/message/public-api.mjs +0 -6
- package/esm2020/component/modal/dialog/dialog.component.mjs +0 -44
- package/esm2020/component/modal/dialog.service.mjs +0 -39
- package/esm2020/component/modal/modal-container/modal-container.component.mjs +0 -84
- package/esm2020/component/modal/modal.module.mjs +0 -52
- package/esm2020/component/modal/modal.service.mjs +0 -121
- package/esm2020/component/modal/model/current-modal.mjs +0 -3
- package/esm2020/component/modal/model/i-modal-config.mjs +0 -2
- package/esm2020/component/modal/model/i-modal-result.mjs +0 -2
- package/esm2020/component/modal/model/modal-close-reason.enum.mjs +0 -8
- package/esm2020/component/modal/model/modal-instance.mjs +0 -32
- package/esm2020/component/modal/public-api.mjs +0 -11
- package/esm2020/component/pager/model/pager-state.mjs +0 -50
- package/esm2020/component/pager/pager/pager.component.mjs +0 -13
- package/esm2020/component/pager/pager.module.mjs +0 -26
- package/esm2020/component/pager/public-api.mjs +0 -5
- package/esm2020/component/pager/util/pager-util.mjs +0 -6
- package/esm2020/component/panel/panel/panel.component.mjs +0 -51
- package/esm2020/component/panel/panel.module.mjs +0 -22
- package/esm2020/component/panel/public-api.mjs +0 -3
- package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +0 -131
- package/esm2020/component/progress-bar/progress-bar.module.mjs +0 -22
- package/esm2020/component/progress-bar/public-api.mjs +0 -3
- package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +0 -13
- package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +0 -13
- package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +0 -13
- package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +0 -13
- package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +0 -34
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +0 -103
- package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +0 -59
- package/esm2020/component/property-grid/property-grid.module.mjs +0 -94
- package/esm2020/component/property-grid/public-api.mjs +0 -3
- package/esm2020/component/public-api.mjs +0 -61
- package/esm2020/component/radio/public-api.mjs +0 -4
- package/esm2020/component/radio/radio/radio.component.mjs +0 -245
- package/esm2020/component/radio/radio-button/radio-button.component.mjs +0 -63
- package/esm2020/component/radio/radio.module.mjs +0 -20
- package/esm2020/component/resize-panel/public-api.mjs +0 -3
- package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +0 -162
- package/esm2020/component/resize-panel/resize-panel.module.mjs +0 -20
- package/esm2020/component/select/public-api.mjs +0 -5
- package/esm2020/component/select/select/select.component.mjs +0 -234
- package/esm2020/component/select/select-option.directive.mjs +0 -16
- package/esm2020/component/select/select-value.directive.mjs +0 -16
- package/esm2020/component/select/select.module.mjs +0 -48
- package/esm2020/component/sidebar/public-api.mjs +0 -4
- package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +0 -54
- package/esm2020/component/sidebar/sidebar-position.enum.mjs +0 -8
- package/esm2020/component/sidebar/sidebar.module.mjs +0 -30
- package/esm2020/component/switch/public-api.mjs +0 -4
- package/esm2020/component/switch/switch/switch.component.mjs +0 -52
- package/esm2020/component/switch/switch-button/switch-button.component.mjs +0 -47
- package/esm2020/component/switch/switch.module.mjs +0 -23
- package/esm2020/component/switch/switch.service.mjs +0 -21
- package/esm2020/component/table/base/cell-component-base.mjs +0 -94
- package/esm2020/component/table/base/detail-component-base.mjs +0 -3
- package/esm2020/component/table/base/group-row-component-base.mjs +0 -3
- package/esm2020/component/table/base/head-cell-component-base.mjs +0 -17
- package/esm2020/component/table/cell/cell.component.mjs +0 -33
- package/esm2020/component/table/cell-host/cell-host.component.mjs +0 -50
- package/esm2020/component/table/contract/cell-components-map.mjs +0 -17
- package/esm2020/component/table/contract/column-reorder-event.mjs +0 -7
- package/esm2020/component/table/contract/column-resize-event.mjs +0 -7
- package/esm2020/component/table/contract/i-cell-coordinates.mjs +0 -2
- package/esm2020/component/table/contract/i-cell-event.mjs +0 -2
- package/esm2020/component/table/contract/i-cell-value.mjs +0 -2
- package/esm2020/component/table/contract/public-api.mjs +0 -12
- package/esm2020/component/table/contract/sort-event.mjs +0 -7
- package/esm2020/component/table/contract/table-column-store.mjs +0 -12
- package/esm2020/component/table/contract/table-column.mjs +0 -43
- package/esm2020/component/table/contract/table-context-menu-config.mjs +0 -17
- package/esm2020/component/table/contract/table-row.mjs +0 -40
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +0 -45
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +0 -47
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +0 -46
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +0 -28
- package/esm2020/component/table/default/group-row/group-row.component.mjs +0 -20
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +0 -66
- package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +0 -46
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +0 -44
- package/esm2020/component/table/enum/aggregation-type.enum.mjs +0 -9
- package/esm2020/component/table/enum/edit-event.enum.mjs +0 -7
- package/esm2020/component/table/enum/edit-type.enum.mjs +0 -6
- package/esm2020/component/table/enum/public-api.mjs +0 -5
- package/esm2020/component/table/enum/select-type.enum.mjs +0 -7
- package/esm2020/component/table/head-cell/head-cell.component.mjs +0 -136
- package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +0 -198
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +0 -36
- package/esm2020/component/table/public-api.mjs +0 -43
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +0 -46
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +0 -45
- package/esm2020/component/table/service/table.service.mjs +0 -433
- package/esm2020/component/table/table/table.component.mjs +0 -427
- package/esm2020/component/table/table-body/table-body.component.mjs +0 -240
- package/esm2020/component/table/table-head/table-head.component.mjs +0 -98
- package/esm2020/component/table/table-head-group/table-head-group.component.mjs +0 -59
- package/esm2020/component/table/table.module.mjs +0 -176
- package/esm2020/component/table/util/public-api.mjs +0 -3
- package/esm2020/component/table/util/state-util.mjs +0 -139
- package/esm2020/component/table/util/table-util.mjs +0 -131
- package/esm2020/component/tabs/public-api.mjs +0 -12
- package/esm2020/component/tabs/tab/tab.component.mjs +0 -42
- package/esm2020/component/tabs/tab-content.directive.mjs +0 -16
- package/esm2020/component/tabs/tab-title.directive.mjs +0 -16
- package/esm2020/component/tabs/tabs/tabs.component.mjs +0 -70
- package/esm2020/component/tabs/tabs.module.mjs +0 -41
- package/esm2020/component/theme-switch/public-api.mjs +0 -4
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +0 -28
- package/esm2020/component/theme-switch/theme-switch.module.mjs +0 -30
- package/esm2020/component/theme-switch/theme-switch.service.mjs +0 -34
- package/esm2020/component/toggle/public-api.mjs +0 -3
- package/esm2020/component/toggle/toggle/toggle.component.mjs +0 -79
- package/esm2020/component/toggle/toggle.module.mjs +0 -19
- package/esm2020/component/toolbar/public-api.mjs +0 -6
- package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +0 -26
- package/esm2020/component/toolbar/toolbar.module.mjs +0 -22
- package/esm2020/component/tree/public-api.mjs +0 -5
- package/esm2020/component/tree/tree/tree.component.mjs +0 -76
- package/esm2020/component/tree/tree-item/tree-item.component.mjs +0 -80
- package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +0 -28
- package/esm2020/component/tree/tree.module.mjs +0 -22
- package/esm2020/component/tree/tree.service.mjs +0 -35
- package/esm2020/directive/click-outside/click-outside.directive.mjs +0 -60
- package/esm2020/directive/click-outside/click-outside.module.mjs +0 -22
- package/esm2020/directive/click-outside/public-api.mjs +0 -3
- package/esm2020/directive/context-menu/context-menu.directive.mjs +0 -94
- package/esm2020/directive/context-menu/context-menu.module.mjs +0 -26
- package/esm2020/directive/context-menu/public-api.mjs +0 -3
- package/esm2020/directive/disable-control/disable-control.directive.mjs +0 -29
- package/esm2020/directive/disable-control/disable-control.module.mjs +0 -24
- package/esm2020/directive/disable-control/public-api.mjs +0 -3
- package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +0 -64
- package/esm2020/directive/drag-sort/drag-sort-event.mjs +0 -2
- package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +0 -115
- package/esm2020/directive/drag-sort/drag-sort.module.mjs +0 -19
- package/esm2020/directive/drag-sort/public-api.mjs +0 -5
- package/esm2020/directive/dynamic-content-base.directive.mjs +0 -81
- package/esm2020/directive/highlight/highlight.directive.mjs +0 -72
- package/esm2020/directive/highlight/highlight.module.mjs +0 -22
- package/esm2020/directive/highlight/public-api.mjs +0 -3
- package/esm2020/directive/hint/hint.directive.mjs +0 -97
- package/esm2020/directive/hint/hint.module.mjs +0 -26
- package/esm2020/directive/hint/public-api.mjs +0 -3
- package/esm2020/directive/loader/loader.directive.mjs +0 -63
- package/esm2020/directive/loader/loader.module.mjs +0 -22
- package/esm2020/directive/loader/public-api.mjs +0 -3
- package/esm2020/directive/no-autofill/no-autofill.directive.mjs +0 -30
- package/esm2020/directive/no-autofill/no-autofill.module.mjs +0 -18
- package/esm2020/directive/no-autofill/public-api.mjs +0 -3
- package/esm2020/directive/only-number/only-number.directive.mjs +0 -175
- package/esm2020/directive/only-number/only-number.module.mjs +0 -18
- package/esm2020/directive/only-number/public-api.mjs +0 -3
- package/esm2020/directive/public-api.mjs +0 -15
- package/esm2020/directive/resize-drag/public-api.mjs +0 -3
- package/esm2020/directive/resize-drag/resize-drag.directive.mjs +0 -71
- package/esm2020/directive/resize-drag/resize-drag.module.mjs +0 -18
- package/esm2020/directive/teta-template/public-api.mjs +0 -3
- package/esm2020/directive/teta-template/teta-template.directive.mjs +0 -22
- package/esm2020/directive/teta-template/teta-template.module.mjs +0 -26
- package/esm2020/directive/tooltip/public-api.mjs +0 -3
- package/esm2020/directive/tooltip/tooltip.directive.mjs +0 -76
- package/esm2020/directive/tooltip/tooltip.module.mjs +0 -20
- package/esm2020/pipe/number-pipe/number-pipe.module.mjs +0 -24
- package/esm2020/pipe/number-pipe/number.pipe.mjs +0 -24
- package/esm2020/pipe/number-pipe/public-api.mjs +0 -3
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +0 -18
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +0 -21
- package/esm2020/pipe/public-api.mjs +0 -2
- package/esm2020/pipe/util/number-helper.mjs +0 -25
- package/esm2020/public-api.mjs +0 -21
- package/esm2020/tetacom-ng-components.mjs +0 -5
- package/esm2020/util/date-util.mjs +0 -195
- package/esm2020/util/forms-util.mjs +0 -61
- package/esm2020/util/public-api.mjs +0 -4
- package/esm2020/util/string-util.mjs +0 -7
- package/fesm2015/tetacom-ng-components.mjs +0 -13336
- package/fesm2015/tetacom-ng-components.mjs.map +0 -1
- package/fesm2020/tetacom-ng-components.mjs +0 -13228
- package/fesm2020/tetacom-ng-components.mjs.map +0 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { MessageHostComponent } from './message-host/message-host.component';
|
|
4
|
+
import { MessageComponent } from './message/message.component';
|
|
5
|
+
import { IconModule } from '../icon/icon.module';
|
|
6
|
+
import { ButtonModule } from '../button/button.module';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class MessageModule {
|
|
9
|
+
}
|
|
10
|
+
MessageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
MessageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageModule, declarations: [MessageHostComponent, MessageComponent], imports: [CommonModule,
|
|
12
|
+
IconModule,
|
|
13
|
+
ButtonModule], exports: [MessageHostComponent, MessageComponent] });
|
|
14
|
+
MessageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageModule, imports: [[
|
|
15
|
+
CommonModule,
|
|
16
|
+
IconModule,
|
|
17
|
+
ButtonModule
|
|
18
|
+
]] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageModule, decorators: [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
declarations: [MessageHostComponent, MessageComponent],
|
|
23
|
+
exports: [MessageHostComponent, MessageComponent],
|
|
24
|
+
imports: [
|
|
25
|
+
CommonModule,
|
|
26
|
+
IconModule,
|
|
27
|
+
ButtonModule
|
|
28
|
+
]
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21lc3NhZ2UvbWVzc2FnZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFDM0U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V0dG9uTW9kdWxlfSBmcm9tICcuLi9idXR0b24vYnV0dG9uLm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW01lc3NhZ2VIb3N0Q29tcG9uZW50LCBNZXNzYWdlQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW01lc3NhZ2VIb3N0Q29tcG9uZW50LCBNZXNzYWdlQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBJY29uTW9kdWxlLFxuICAgIEJ1dHRvbk1vZHVsZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIE1lc3NhZ2VNb2R1bGUge1xufVxuIl19
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class MessageService {
|
|
5
|
+
constructor() {
|
|
6
|
+
this._message = new Subject();
|
|
7
|
+
this._clear = new Subject();
|
|
8
|
+
this.message = this._message.asObservable();
|
|
9
|
+
this.clear = this._clear.asObservable();
|
|
10
|
+
}
|
|
11
|
+
add(message) {
|
|
12
|
+
if (message) {
|
|
13
|
+
this._message.next(message);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
addMultiple(messages) {
|
|
17
|
+
if (messages && messages.length) {
|
|
18
|
+
messages.forEach((n) => {
|
|
19
|
+
this._message.next(n);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
clearMessages(name) {
|
|
24
|
+
this._clear.next(name);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageService, providedIn: 'root' });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: MessageService, decorators: [{
|
|
30
|
+
type: Injectable,
|
|
31
|
+
args: [{
|
|
32
|
+
providedIn: 'root'
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: function () { return []; } });
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9tZXNzYWdlL21lc3NhZ2Uuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBYSxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7O0FBTXpDLE1BQU0sT0FBTyxjQUFjO0lBUXpCO1FBSlEsYUFBUSxHQUFHLElBQUksT0FBTyxFQUFXLENBQUM7UUFDbEMsV0FBTSxHQUFHLElBQUksT0FBTyxFQUFVLENBQUM7UUFJckMsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLFlBQVksRUFBRSxDQUFDO1FBQzVDLElBQUksQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQyxZQUFZLEVBQUUsQ0FBQztJQUMxQyxDQUFDO0lBRUQsR0FBRyxDQUFDLE9BQWdCO1FBQ2xCLElBQUksT0FBTyxFQUFFO1lBQ1gsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7U0FDN0I7SUFDSCxDQUFDO0lBRUQsV0FBVyxDQUFDLFFBQW1CO1FBQzdCLElBQUksUUFBUSxJQUFJLFFBQVEsQ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aGlzLl9jbGVhci5hc09ic2VydmFibGUoKTtcbiAgfVxuXG4gIGFkZChtZXNzYWdlOiBNZXNzYWdlKSB7XG4gICAgaWYgKG1lc3NhZ2UpIHtcbiAgICAgIHRoaXMuX21lc3NhZ2UubmV4dChtZXNzYWdlKTtcbiAgICB9XG4gIH1cblxuICBhZGRNdWx0aXBsZShtZXNzYWdlczogTWVzc2FnZVtdKSB7XG4gICAgaWYgKG1lc3NhZ2VzICYmIG1lc3NhZ2VzLmxlbmd0aCkge1xuICAgICAgbWVzc2FnZXMuZm9yRWFjaCgobikgPT4ge1xuICAgICAgICB0aGlzLl9tZXNzYWdlLm5leHQobik7XG4gICAgICB9KTtcbiAgICB9XG4gIH1cblxuICBjbGVhck1lc3NhZ2VzKG5hbWU6IHN0cmluZykge1xuICAgIHRoaXMuX2NsZWFyLm5leHQobmFtZSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export class Message {
|
|
2
|
+
constructor(options) {
|
|
3
|
+
this.duration = 10000;
|
|
4
|
+
this.palette = 'primary';
|
|
5
|
+
if (options) {
|
|
6
|
+
this.name = options.name;
|
|
7
|
+
this.title = options.title;
|
|
8
|
+
this.text = options.text;
|
|
9
|
+
this.infinite = options.infinite || false;
|
|
10
|
+
this.className = options.className;
|
|
11
|
+
if (options.palette) {
|
|
12
|
+
this.palette = options.palette;
|
|
13
|
+
}
|
|
14
|
+
this.template = options.template;
|
|
15
|
+
if (options.duration && options.duration > 0) {
|
|
16
|
+
this.duration = options.duration;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvbWVzc2FnZS9tb2RlbC9tZXNzYWdlLnR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wKSB7XG4gICAgICAgIHRoaXMuZHVyYXRpb24gPSBvcHRpb25zLmR1cmF0aW9uO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './message.module';
|
|
2
|
+
export * from './message.service';
|
|
3
|
+
export * from './message/message.component';
|
|
4
|
+
export * from './message-host/message-host.component';
|
|
5
|
+
export * from './model/message';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvbWVzc2FnZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9tZXNzYWdlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9tZXNzYWdlL21lc3NhZ2UuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbWVzc2FnZS1ob3N0L21lc3NhZ2UtaG9zdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2RlbC9tZXNzYWdlJztcbiJdfQ==
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ModalCloseReason } from '../model/modal-close-reason.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../model/current-modal";
|
|
5
|
+
import * as i2 from "../../../common/contract/dynamic-data";
|
|
6
|
+
import * as i3 from "../../toolbar/toolbar/toolbar.component";
|
|
7
|
+
import * as i4 from "../../button/button/button.component";
|
|
8
|
+
import * as i5 from "../../icon/icon/icon.component";
|
|
9
|
+
import * as i6 from "@angular/common";
|
|
10
|
+
import * as i7 from "@ngneat/transloco";
|
|
11
|
+
export class DialogComponent {
|
|
12
|
+
constructor(modal, data) {
|
|
13
|
+
this.modal = modal;
|
|
14
|
+
this.data = data;
|
|
15
|
+
}
|
|
16
|
+
cancel() {
|
|
17
|
+
this.modal.close({
|
|
18
|
+
reason: ModalCloseReason.exit,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
ok() {
|
|
22
|
+
this.modal.close({
|
|
23
|
+
reason: ModalCloseReason.resolve,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
ngOnInit() { }
|
|
27
|
+
}
|
|
28
|
+
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DialogComponent, deps: [{ token: i1.CurrentModal }, { token: i2.DynamicData }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DialogComponent, selector: "teta-dialog", inputs: { message: "message", buttonText: "buttonText", buttonIcon: "buttonIcon", buttonPalette: "buttonPalette", showCancelButton: "showCancelButton" }, ngImport: i0, template: "<div class=\"padding-2 font-body-2\">\n {{message | transloco}}\n</div>\n<teta-toolbar class=\"justify-content-end\">\n <button teta-button\n *ngIf=\"showCancelButton\"\n (click)=\"cancel()\"\n [palette]=\"'text'\"\n [view]=\"'ghost'\">\n {{'common.cancel' | transloco}}\n </button>\n\n <button teta-button\n (click)=\"ok()\"\n [square]=\"!buttonText?.length\"\n [palette]=\"buttonPalette\">\n <teta-icon *ngIf=\"buttonIcon\" [name]=\"buttonIcon\"></teta-icon>\n <ng-container *ngIf=\"buttonText?.length > 0\">{{buttonText | transloco}}</ng-container>\n </button>\n</teta-toolbar>\n", styles: [":host{display:flex;flex-direction:column;width:240px}\n"], components: [{ type: i3.ToolbarComponent, selector: "teta-toolbar", inputs: ["palette", "class"] }, { type: i4.ButtonComponent, selector: "button[teta-button], teta-button", inputs: ["palette", "class", "view", "square"] }, { type: i5.IconComponent, selector: "teta-icon", inputs: ["name", "size", "palette", "class"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "transloco": i7.TranslocoPipe } });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DialogComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'teta-dialog', template: "<div class=\"padding-2 font-body-2\">\n {{message | transloco}}\n</div>\n<teta-toolbar class=\"justify-content-end\">\n <button teta-button\n *ngIf=\"showCancelButton\"\n (click)=\"cancel()\"\n [palette]=\"'text'\"\n [view]=\"'ghost'\">\n {{'common.cancel' | transloco}}\n </button>\n\n <button teta-button\n (click)=\"ok()\"\n [square]=\"!buttonText?.length\"\n [palette]=\"buttonPalette\">\n <teta-icon *ngIf=\"buttonIcon\" [name]=\"buttonIcon\"></teta-icon>\n <ng-container *ngIf=\"buttonText?.length > 0\">{{buttonText | transloco}}</ng-container>\n </button>\n</teta-toolbar>\n", styles: [":host{display:flex;flex-direction:column;width:240px}\n"] }]
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i1.CurrentModal }, { type: i2.DynamicData }]; }, propDecorators: { message: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], buttonText: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], buttonIcon: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], buttonPalette: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], showCancelButton: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMapping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S10b29sYmFyPlxuIl19
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { DialogComponent } from './dialog/dialog.component';
|
|
3
|
+
import { map } from 'rxjs/operators';
|
|
4
|
+
import { ModalCloseReason } from './model/modal-close-reason.enum';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./modal.service";
|
|
7
|
+
export class DialogService {
|
|
8
|
+
constructor(_modal) {
|
|
9
|
+
this._modal = _modal;
|
|
10
|
+
}
|
|
11
|
+
alert(message) {
|
|
12
|
+
this.createDialog(message, 'common.ok', null, 'primary', false);
|
|
13
|
+
}
|
|
14
|
+
confirm(message, buttonText = 'common.ok', buttonIcon = null, buttonPalette = 'primary') {
|
|
15
|
+
return this.createDialog(message, buttonText, buttonIcon, buttonPalette, true).pipe(map((result) => result.reason === ModalCloseReason.resolve));
|
|
16
|
+
}
|
|
17
|
+
createDialog(message, buttonText = 'common.ok', buttonIcon = null, buttonPalette = 'primary', showCancelButton = true) {
|
|
18
|
+
const dialog = this._modal.create(DialogComponent, {
|
|
19
|
+
message,
|
|
20
|
+
buttonText,
|
|
21
|
+
buttonIcon,
|
|
22
|
+
buttonPalette,
|
|
23
|
+
showCancelButton,
|
|
24
|
+
}, {
|
|
25
|
+
esc: true,
|
|
26
|
+
backdrop: true,
|
|
27
|
+
});
|
|
28
|
+
return dialog.onClose;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
DialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DialogService, deps: [{ token: i1.ModalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
+
DialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DialogService, decorators: [{
|
|
34
|
+
type: Injectable,
|
|
35
|
+
args: [{
|
|
36
|
+
providedIn: 'root',
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i1.ModalService }]; } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21vZGFsL2RpYWxvZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQzs7O0FBS25FLE1BQU0sT0FBTyxhQUFhO0lBQ3hCLFlBQW9CLE1BQW9CO1FBQXBCLFdBQU0sR0FBTixNQUFNLENBQWM7SUFBRyxDQUFDO0lBRTVDLEtBQUssQ0FBQyxPQUFlO1FBQ25CLElBQUksQ0FBQyxZQUFZLENBQUMsT0FBTyxFQUFFLFdBQVcsRUFBRSxJQUFJLEVBQUUsU0FBUyxFQUFFLEtBQUssQ0FBQyxDQUFDO0lBQ2xFLENBQUM7SUFFRCxPQUFPLENBQ0wsT0FBZSxFQUNmLGFBQXFCLFdBQVcsRUFDaEMsYUFBcUIsSUFBSSxFQUN6QixnQkFBd0IsU0FBUztRQUVqQyxPQUFPLElBQUksQ0FBQyxZQUFZLENBQ3RCLE9BQU8sRUFDUCxVQUFVLEVBQ1YsVUFBVSxFQUNWLGFBQWEsRUFDYixJQUFJLENBQ0wsQ0FBQyxJQUFJLENB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V0dG9uSWNvbjogc3RyaW5nID0gbnVsbCxcbiAgICBidXR0b25QYWxldHRlOiBzdHJpbmcgPSAncHJpbWFyeScsXG4gICAgc2hvd0NhbmNlbEJ1dHRvbjogYm9vbGVhbiA9IHRydWVcbiAgKTogT2JzZXJ2YWJsZTxJTW9kYWxSZXN1bHQ+IHtcbiAgICBjb25zdCBkaWFsb2cgPSB0aGlzLl9tb2RhbC5jcmVhdGUoXG4gICAgICBEaWFsb2dDb21wb25lbnQsXG4gICAgICB7XG4gICAgICAgIG1lc3NhZ2UsXG4gICAgICAgIGJ1dHRvblRleHQsXG4gICAgICAgIGJ1dHRvbkljb24sXG4gICAgICAgIGJ1dHRvblBhbGV0dGUsXG4gICAgICAgIHNob3dDYW5jZWxCdXR0b24sXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBlc2M6IHRydWUsXG4gICAgICAgIGJhY2tkcm9wOiB0cnVlLFxuICAgICAgfVxuICAgICk7XG4gICAgcmV0dXJuIGRpYWxvZy5vbkNsb3NlO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, HostListener, Input, Output, } from '@angular/core';
|
|
2
|
+
import { ModalCloseReason } from '../model/modal-close-reason.enum';
|
|
3
|
+
import { animate, style, transition, trigger } from '@angular/animations';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class ModalContainerComponent {
|
|
6
|
+
constructor(elRef$) {
|
|
7
|
+
this.elRef$ = elRef$;
|
|
8
|
+
this.closeEvent = new EventEmitter();
|
|
9
|
+
this.tabindex = -1;
|
|
10
|
+
this.dialog = true;
|
|
11
|
+
}
|
|
12
|
+
get classList() {
|
|
13
|
+
const classList = ['modal__window'];
|
|
14
|
+
if (this.config) {
|
|
15
|
+
if (this.config && this.config.class) {
|
|
16
|
+
classList.push(...this.config.class);
|
|
17
|
+
}
|
|
18
|
+
if (this.config.backdrop) {
|
|
19
|
+
classList.push('modal__backdrop');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return classList.join(' ');
|
|
23
|
+
}
|
|
24
|
+
keyup(event) {
|
|
25
|
+
if (this.config && this.config.esc && !event.defaultPrevented) {
|
|
26
|
+
const key = event.key || event.keyCode;
|
|
27
|
+
if (key === 'Escape' || key === 'Esc' || key === 27) {
|
|
28
|
+
this.closeEvent.emit({
|
|
29
|
+
reason: ModalCloseReason.esc,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
click(event) {
|
|
35
|
+
if (this.config.closeOnBackdropClick === true &&
|
|
36
|
+
this.elRef$.nativeElement === event.target) {
|
|
37
|
+
this.closeEvent.emit({
|
|
38
|
+
reason: ModalCloseReason.backdrop,
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
ModalContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
ModalContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ModalContainerComponent, selector: "teta-modal-container", inputs: { config: "config" }, outputs: { closeEvent: "closeEvent" }, host: { listeners: { "keyup": "keyup($event)", "click": "click($event)" }, properties: { "attr.tabindex": "this.tabindex", "@dialog": "this.dialog", "class": "this.classList" } }, ngImport: i0, template: "<div class=\"modal__container\" [class.modal__container_resize]=\"config?.resizable\">\n <ng-content></ng-content>\n</div>\n", styles: [""], animations: [
|
|
45
|
+
trigger('dialog', [
|
|
46
|
+
transition('void => *', [
|
|
47
|
+
style({ opacity: '0' }),
|
|
48
|
+
animate(150, style({ opacity: '1' })),
|
|
49
|
+
]),
|
|
50
|
+
transition('* => void', [animate(150, style({ opacity: '0' }))]),
|
|
51
|
+
]),
|
|
52
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalContainerComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'teta-modal-container', animations: [
|
|
56
|
+
trigger('dialog', [
|
|
57
|
+
transition('void => *', [
|
|
58
|
+
style({ opacity: '0' }),
|
|
59
|
+
animate(150, style({ opacity: '1' })),
|
|
60
|
+
]),
|
|
61
|
+
transition('* => void', [animate(150, style({ opacity: '0' }))]),
|
|
62
|
+
]),
|
|
63
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"modal__container\" [class.modal__container_resize]=\"config?.resizable\">\n <ng-content></ng-content>\n</div>\n", styles: [""] }]
|
|
64
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { config: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], closeEvent: [{
|
|
67
|
+
type: Output
|
|
68
|
+
}], tabindex: [{
|
|
69
|
+
type: HostBinding,
|
|
70
|
+
args: ['attr.tabindex']
|
|
71
|
+
}], dialog: [{
|
|
72
|
+
type: HostBinding,
|
|
73
|
+
args: ['@dialog']
|
|
74
|
+
}], classList: [{
|
|
75
|
+
type: HostBinding,
|
|
76
|
+
args: ['class']
|
|
77
|
+
}], keyup: [{
|
|
78
|
+
type: HostListener,
|
|
79
|
+
args: ['keyup', ['$event']]
|
|
80
|
+
}], click: [{
|
|
81
|
+
type: HostListener,
|
|
82
|
+
args: ['click', ['$event']]
|
|
83
|
+
}] } });
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvbW9kYWwvbW9kYWwtY29udGFpbmVyL21vZGFsLWN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0 +1,52 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { ModalContainerComponent } from './modal-container/modal-container.component';
|
|
4
|
+
import { DialogComponent } from './dialog/dialog.component';
|
|
5
|
+
import { ToolbarModule } from '../toolbar/toolbar.module';
|
|
6
|
+
import { ButtonModule } from '../button/button.module';
|
|
7
|
+
import { TRANSLOCO_SCOPE, TranslocoModule } from '@ngneat/transloco';
|
|
8
|
+
import { IconModule } from '../icon/icon.module';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class ModalModule {
|
|
11
|
+
}
|
|
12
|
+
ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalModule, declarations: [ModalContainerComponent, DialogComponent], imports: [CommonModule,
|
|
14
|
+
ToolbarModule,
|
|
15
|
+
ButtonModule,
|
|
16
|
+
TranslocoModule,
|
|
17
|
+
IconModule], exports: [ModalContainerComponent, DialogComponent] });
|
|
18
|
+
ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalModule, providers: [
|
|
19
|
+
{
|
|
20
|
+
provide: TRANSLOCO_SCOPE,
|
|
21
|
+
useValue: { scope: 'common', alias: 'common' },
|
|
22
|
+
multi: true,
|
|
23
|
+
},
|
|
24
|
+
], imports: [[
|
|
25
|
+
CommonModule,
|
|
26
|
+
ToolbarModule,
|
|
27
|
+
ButtonModule,
|
|
28
|
+
TranslocoModule,
|
|
29
|
+
IconModule,
|
|
30
|
+
]] });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalModule, decorators: [{
|
|
32
|
+
type: NgModule,
|
|
33
|
+
args: [{
|
|
34
|
+
declarations: [ModalContainerComponent, DialogComponent],
|
|
35
|
+
exports: [ModalContainerComponent, DialogComponent],
|
|
36
|
+
imports: [
|
|
37
|
+
CommonModule,
|
|
38
|
+
ToolbarModule,
|
|
39
|
+
ButtonModule,
|
|
40
|
+
TranslocoModule,
|
|
41
|
+
IconModule,
|
|
42
|
+
],
|
|
43
|
+
providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: TRANSLOCO_SCOPE,
|
|
46
|
+
useValue: { scope: 'common', alias: 'common' },
|
|
47
|
+
multi: true,
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
}]
|
|
51
|
+
}] });
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC9tb2RhbC9tb2RhbC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDdEYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxlQUFlLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0scUJBQXFC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QgY2xhc3MgTW9kYWxNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Inject, Injectable, Injector, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ModalInstance } from './model/modal-instance';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { ModalCloseReason } from './model/modal-close-reason.enum';
|
|
5
|
+
import { CurrentModal } from './model/current-modal';
|
|
6
|
+
import { DynamicData } from '../../common/contract/dynamic-data';
|
|
7
|
+
import { ModalContainerComponent } from './modal-container/modal-container.component';
|
|
8
|
+
import { DOCUMENT } from '@angular/common';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "../../common/service/dynamic-component.service";
|
|
11
|
+
export class ModalService {
|
|
12
|
+
constructor(_document, _injector, _factory) {
|
|
13
|
+
this._document = _document;
|
|
14
|
+
this._injector = _injector;
|
|
15
|
+
this._factory = _factory;
|
|
16
|
+
this._stack = [];
|
|
17
|
+
this._modalChanged = new Subject();
|
|
18
|
+
this.unregister = (instance) => {
|
|
19
|
+
const index = this._stack.indexOf(instance);
|
|
20
|
+
if (index > -1) {
|
|
21
|
+
this._stack.splice(index, 1);
|
|
22
|
+
this._modalChanged.next();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
this._container = this._document.body;
|
|
26
|
+
this._modalChanged.subscribe(() => {
|
|
27
|
+
if (this._stack && this._stack.length > 0) {
|
|
28
|
+
this.focus(this._stack[this._stack.length - 1]);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
closeAll() {
|
|
33
|
+
if (this._stack && this._stack.length > 0) {
|
|
34
|
+
this._stack.forEach((instance) => {
|
|
35
|
+
instance.close({
|
|
36
|
+
reason: ModalCloseReason.exit,
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
create(content, data, config, injector) {
|
|
42
|
+
if (content === null || content === undefined) {
|
|
43
|
+
throw new Error('Specify template or component to render');
|
|
44
|
+
}
|
|
45
|
+
if (config === null || config === undefined) {
|
|
46
|
+
config = Object.assign({
|
|
47
|
+
backdrop: true,
|
|
48
|
+
class: [],
|
|
49
|
+
esc: true,
|
|
50
|
+
}, config);
|
|
51
|
+
}
|
|
52
|
+
if (injector === null || injector === undefined) {
|
|
53
|
+
injector = this._injector;
|
|
54
|
+
}
|
|
55
|
+
const currentModal = new CurrentModal();
|
|
56
|
+
const modalData = new DynamicData(data);
|
|
57
|
+
injector = this.getInjector(currentModal, modalData, injector);
|
|
58
|
+
const contentInstance = this._factory.createContent(content, injector, this.getContext(content, modalData, currentModal));
|
|
59
|
+
const window = this._factory.createComponent(ModalContainerComponent, contentInstance, injector, this._container);
|
|
60
|
+
window.instance.config = config;
|
|
61
|
+
const instance = new ModalInstance(window, contentInstance);
|
|
62
|
+
currentModal.close = instance.close;
|
|
63
|
+
this.register(instance);
|
|
64
|
+
return instance;
|
|
65
|
+
}
|
|
66
|
+
getContext(content, context, currentModal) {
|
|
67
|
+
if (content instanceof TemplateRef) {
|
|
68
|
+
return {
|
|
69
|
+
$implicit: {
|
|
70
|
+
modal: currentModal,
|
|
71
|
+
data: context,
|
|
72
|
+
},
|
|
73
|
+
modal: currentModal,
|
|
74
|
+
data: context,
|
|
75
|
+
close: (result) => {
|
|
76
|
+
currentModal.close(result);
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return context;
|
|
81
|
+
}
|
|
82
|
+
getInjector(currentModal, data, parent) {
|
|
83
|
+
return Injector.create({
|
|
84
|
+
providers: [
|
|
85
|
+
{
|
|
86
|
+
provide: CurrentModal,
|
|
87
|
+
useValue: currentModal,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
provide: DynamicData,
|
|
91
|
+
useValue: data,
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
parent,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
register(instance) {
|
|
98
|
+
this._stack.push(instance);
|
|
99
|
+
this._modalChanged.next();
|
|
100
|
+
instance.onClose.subscribe(() => this.unregister(instance));
|
|
101
|
+
}
|
|
102
|
+
focus(instance) {
|
|
103
|
+
if (instance && instance.window && instance.window.location.nativeElement) {
|
|
104
|
+
setTimeout(() => {
|
|
105
|
+
instance.window.location.nativeElement.focus();
|
|
106
|
+
}, 0);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalService, deps: [{ token: DOCUMENT }, { token: i0.Injector }, { token: i1.DynamicComponentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
111
|
+
ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalService, providedIn: 'root' });
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ModalService, decorators: [{
|
|
113
|
+
type: Injectable,
|
|
114
|
+
args: [{
|
|
115
|
+
providedIn: 'root',
|
|
116
|
+
}]
|
|
117
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
118
|
+
type: Inject,
|
|
119
|
+
args: [DOCUMENT]
|
|
120
|
+
}] }, { type: i0.Injector }, { type: i1.DynamicComponentService }]; } });
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvbW9kYWwvbW9kYWwuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsV0FBVyxFQUFRLE1BQU0sZUFBZSx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AgICBjb250ZW50OiBzdHJpbmcgfCBUZW1wbGF0ZVJlZjxhbnk+IHwgVHlwZTxhbnk+LFxuICAgIGNvbnRleHQ6IGFueSxcbiAgICBjdXJyZW50TW9kYWw6IEN1cnJlbnRNb2RhbFxuICApOiBhbnkge1xuICAgIGlmIChjb250ZW50IGluc3RhbmNlb2YgVGVtcGxhdGVSZWYpIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgICRpbXBsaWNpdDoge1xuICAgICAgICAgIG1vZGFsOiBjdXJyZW50TW9kYWwsXG4gICAgICAgICAgZGF0YTogY29udGV4dCxcbiAgICAgICAgfSxcbiAgICAgICAgbW9kYWw6IGN1cnJlbnRNb2RhbCxcbiAgICAgICAgZGF0YTogY29udGV4dCxcbiAgICAgICAgY2xvc2U6IChyZXN1bHQ6IElNb2RhbFJlc3VsdCk6IHZvaWQgPT4ge1xuICAgICAgICAgIGN1cnJlbnRNb2RhbC5jbG9zZShyZXN1bHQpO1xuICAgICAgICB9LFxuICAgICAgfTtcbiAgICB9XG4gICAgcmV0dXJuIGNvbnRleHQ7XG4gIH1cblxuICBwcml2YXRlIGdldEluamVjdG9yKFxuICAgIGN1cnJlbnRNb2RhbDogQ3VycmVudE1vZGFsLFxuICAgIGRhdGE6IER5bmFtaWNEYXRhLFxuICAgIHBhcmVudDogSW5qZWN0b3JcbiAgKTogSW5qZWN0b3Ige1xuICAgIHJldHVybiBJbmplY3Rvci5jcmVhdGUoe1xuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBDdXJyZW50TW9kYWwsXG4gICAgICAgICAgdXNlVmFsdWU6IGN1cnJlbnRNb2RhbCxcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IER5bmFtaWNEYXRhLFxuICAgICAgICAgIHVzZVZhbHVlOiBkYXRhLFxuICAgICAgICB9LFxuICAgICAgXSxcbiAgICAgIHBhcmVudCxcbiAgICB9KTtcbiA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3NyYy9jb21wb25lbnQvbW9kYWwvbW9kZWwvY3VycmVudC1tb2RhbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sWUFBWTtDQUV4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7SU1vZGFsUmVzdWx0fSBmcm9tICcuL2ktbW9kYWwtcmVzdWx0JztcblxuZXhwb3J0IGNsYXNzIEN1cnJlbnRNb2RhbCB7XG4gIGNsb3NlOiAocmVzdWx0PzogSU1vZGFsUmVzdWx0KSA9PiB2b2lkO1xufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tb2RhbC1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21vZGFsL21vZGVsL2ktbW9kYWwtY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSU1vZGFsQ29uZmlnIHtcbiAgYmFja2Ryb3A/OiBib29sZWFuO1xuICBjbG9zZU9uQmFja2Ryb3BDbGljaz86IGJvb2xlYW47XG4gIHJlc2l6YWJsZT86IGJvb2xlYW47XG4gIGRyYWdnYWJsZT86IGJvb2xlYW47XG4gIGNsYXNzPzogc3RyaW5nW107XG4gIGVzYz86IGJvb2xlYW47XG4gIGJlZm9yZUNsb3NlPzogT2JzZXJ2YWJsZTxhbnk+O1xuICBiZWZvcmVPcGVuPzogT2JzZXJ2YWJsZTxhbnk+O1xufVxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tb2RhbC1yZXN1bHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21vZGFsL21vZGVsL2ktbW9kYWwtcmVzdWx0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge01vZGFsQ2xvc2VSZWFzb259IGZyb20gJy4vbW9kYWwtY2xvc2UtcmVhc29uLmVudW0nO1xuXG5leHBvcnQgaW50ZXJmYWNlIElNb2RhbFJlc3VsdCB7XG4gIC8qKlxuICAgKiDQm9GO0LHRi9C1INC00YDRg9Cz0LjQtSDQtNCw0L3QvdGL0LUg0LrQvtGC0L7RgNGL0LUg0L/QvtC70YzQt9C+0LLQsNGC0LXQu9GMINC20LXQu9Cw0LXRgiDQstC10YDQvdGD0YLRjCDQv9GA0Lgg0LfQsNC60YDRi9GC0LjQuCDQvtC60L3QsFxuICAgKi9cbiAgW2tleTogc3RyaW5nXTogYW55O1xuXG4gIC8qKlxuICAgKiDQn9GA0LjRh9C40L3QsCDQt9Cw0LrRgNGL0YLQuNGPINC+0LrQvdCwXG4gICAqL1xuICByZWFzb246IE1vZGFsQ2xvc2VSZWFzb247XG59XG4iXX0=
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var ModalCloseReason;
|
|
2
|
+
(function (ModalCloseReason) {
|
|
3
|
+
ModalCloseReason[ModalCloseReason["resolve"] = 0] = "resolve";
|
|
4
|
+
ModalCloseReason[ModalCloseReason["exit"] = 1] = "exit";
|
|
5
|
+
ModalCloseReason[ModalCloseReason["backdrop"] = 2] = "backdrop";
|
|
6
|
+
ModalCloseReason[ModalCloseReason["esc"] = 3] = "esc";
|
|
7
|
+
})(ModalCloseReason || (ModalCloseReason = {}));
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY2xvc2UtcmVhc29uLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21vZGFsL21vZGVsL21vZGFsLWNsb3NlLXJlYXNvbi5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQUtYO0FBTEQsV0FBWSxnQkFBZ0I7SUFDMUIsNkRBQU8sQ0FBQTtJQUNQLHVEQUFJLENBQUE7SUFDSiwrREFBUSxDQUFBO0lBQ1IscURBQUcsQ0FBQTtBQUNMLENBQUMsRUFMVyxnQkFBZ0IsS0FBaEIsZ0JBQWdCLFFBSzNCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gTW9kYWxDbG9zZVJlYXNvbiB7XG4gIHJlc29sdmUsXG4gIGV4aXQsXG4gIGJhY2tkcm9wLFxuICBlc2MsXG59XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
export class ModalInstance {
|
|
3
|
+
constructor(_window, _content) {
|
|
4
|
+
this._window = _window;
|
|
5
|
+
this._content = _content;
|
|
6
|
+
this._onClose = new Subject();
|
|
7
|
+
this.close = (event) => {
|
|
8
|
+
this._onClose.next(event);
|
|
9
|
+
this._onClose.complete();
|
|
10
|
+
this.destroy();
|
|
11
|
+
};
|
|
12
|
+
this.onClose = this._onClose.asObservable();
|
|
13
|
+
if (this._window && this._window.instance) {
|
|
14
|
+
this._window.instance.closeEvent.subscribe((event) => {
|
|
15
|
+
this.close(event);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
get window() {
|
|
20
|
+
return this._window;
|
|
21
|
+
}
|
|
22
|
+
get component() {
|
|
23
|
+
return this._content.componentRef ? this._content.componentRef : null;
|
|
24
|
+
}
|
|
25
|
+
destroy() {
|
|
26
|
+
this._window.destroy();
|
|
27
|
+
if (this._content && this._content.viewRef) {
|
|
28
|
+
this._content.viewRef.destroy();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtaW5zdGFuY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L21vZGFsL21vZGVsL21vZGFsLWluc3RhbmNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBYyxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFNM0MsTUFBTSxPQUFPLGFBQWE7SUFJeEIsWUFDVSxPQUE4QyxFQUM5QyxRQUF3QjtRQUR4QixZQUFPLEdBQVAsT0FBTyxDQUF1QztRQUM5QyxhQUFRLEdBQVIsUUFBUSxDQUFnQjtRQUoxQixhQUFRLEdBQTBCLElBQUksT0FBTyxFQUFnQixDQUFDO1FBc0J0RSxVQUFLLEdBQUcsQ0FBQyxLQUFvQixFQUFFLEVBQUU7WUFDL0IsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7WUFDMUIsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLEVBQUUsQ0FBQztZQUN6QixJQUFJLENBQUMsT0FBTyxFQUFFLENBQUM7UUFDakIsQ0FBQyxDQUFDO1FBcEJBLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxZQUFZLEVBQUUsQ0FBQztRQUM1QyxJQUFJLElBQUksQ0FBQyxPQUFPLElBQUksSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLEVBQUU7WUFDekMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQyxDQUFDLEtBQ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B9O1xuXG4gIHByaXZhdGUgZGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLl93aW5kb3cuZGVzdHJveSgpO1xuXG4gICAgaWYgKHRoaXMuX2NvbnRlbnQgJiYgdGhpcy5fY29udGVudC52aWV3UmVmKSB7XG4gICAgICB0aGlzLl9jb250ZW50LnZpZXdSZWYuZGVzdHJveSgpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './modal.module';
|
|
2
|
+
export * from './modal.service';
|
|
3
|
+
export * from './dialog.service';
|
|
4
|
+
export * from './dialog/dialog.component';
|
|
5
|
+
export * from './modal-container/modal-container.component';
|
|
6
|
+
export * from './model/current-modal';
|
|
7
|
+
export * from './model/i-modal-result';
|
|
8
|
+
export * from './model/modal-close-reason.enum';
|
|
9
|
+
export * from './model/i-modal-config';
|
|
10
|
+
export * from './model/modal-instance';
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvbW9kYWwvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsNkNBQTZDLENBQUM7QUFFNUQsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9tb2R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