@tetacom/ng-components 1.0.21 → 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/dist/component/date-picker/date-picker/date-picker.component.d.ts +77 -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/dist/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +34 -0
- package/{component → dist/component}/property-grid/property-grid/property-grid.component.d.ts +0 -0
- package/dist/component/property-grid/property-grid.module.d.ts +23 -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/date-picker/date-picker/date-picker.component.d.ts +0 -73
- package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -32
- package/component/property-grid/property-grid.module.d.ts +0 -22
- package/component/table/contract/table-column.d.ts +0 -135
- 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 -268
- 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 -100
- package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +0 -59
- package/esm2020/component/property-grid/property-grid.module.mjs +0 -90
- 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 -42
- 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 -429
- package/esm2020/component/table/table/table.component.mjs +0 -425
- 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 -13315
- package/fesm2015/tetacom-ng-components.mjs.map +0 -1
- package/fesm2020/tetacom-ng-components.mjs +0 -13207
- package/fesm2020/tetacom-ng-components.mjs.map +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../service/table.service";
|
|
5
|
+
import * as i2 from "../../../checkbox/checkbox/checkbox.component";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
export class BooleanCellComponent extends CellComponentBase {
|
|
9
|
+
constructor(svc, cdr) {
|
|
10
|
+
super(svc, cdr);
|
|
11
|
+
this.svc = svc;
|
|
12
|
+
this.cdr = cdr;
|
|
13
|
+
}
|
|
14
|
+
setValue() {
|
|
15
|
+
this.valueChanged();
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
super.ngOnInit();
|
|
19
|
+
}
|
|
20
|
+
startEdit(initiator, type) {
|
|
21
|
+
if (initiator?.column.name === this.column.name) {
|
|
22
|
+
this.cdr.markForCheck();
|
|
23
|
+
setTimeout(() => {
|
|
24
|
+
this.input?.nativeElement.focus();
|
|
25
|
+
}, 0);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
stopEdit() {
|
|
29
|
+
this.cdr.markForCheck();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
BooleanCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: BooleanCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
BooleanCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: BooleanCellComponent, selector: "teta-boolean-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{ row.data[column.name] }}\n</span>\n<teta-checkbox\n #input\n *ngIf=\"edit\"\n [binary]=\"true\"\n [(ngModel)]=\"row.data[column.name]\"\n (blur)=\"setValue()\"\n></teta-checkbox>\n", styles: [""], components: [{ type: i2.CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "allowNull"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: BooleanCellComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'teta-boolean-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{ row.data[column.name] }}\n</span>\n<teta-checkbox\n #input\n *ngIf=\"edit\"\n [binary]=\"true\"\n [(ngModel)]=\"row.data[column.name]\"\n (blur)=\"setValue()\"\n></teta-checkbox>\n", styles: [""] }]
|
|
37
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], row: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], input: [{
|
|
42
|
+
type: ViewChild,
|
|
43
|
+
args: ['input', { static: false }]
|
|
44
|
+
}] } });
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9vbGVhbi1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9ib29sZWFuLWNlbGwvYm9vbGVhbi1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9ib29sZWFuLWNlbGwvYm9vbGVhbi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ICB9LCAwKTtcbiAgICB9XG4gIH1cblxuICBzdG9wRWRpdCgpOiB2b2lkIHtcbiAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgfVxufVxuIiwiPHNwYW4gW3N0eWxlLmRpc3BsYXldPVwiZWRpdCA/ICdub25lJyA6ICdibG9jaydcIiBjbGFzcz1cImNlbGwtdGV4dFwiPlxuICB7eyByb3cuZGF0YVtjb2x1bW4ubmFtZV0gfX1cbjwvc3Bhbj5cbjx0ZXRhLWNoZWNrYm94XG4gICNpbnB1dFxuICAqbmdJZj1cImVkaXRcIlxuICBbYmluYXJ5XT1cInRydWVcIlxuICBbKG5nTW9kZWwpXT1cInJvdy5kYXRhW2NvbHVtbi5uYW1lXVwiXG4gIChibHVyKT1cInNldFZhbHVlKClcIlxuPjwvdGV0YS1jaGVja2JveD5cbiJdfQ==
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../service/table.service";
|
|
5
|
+
import * as i2 from "../../../date-picker/date-picker/date-picker.component";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
export class DateCellComponent extends CellComponentBase {
|
|
9
|
+
constructor(svc, cdr) {
|
|
10
|
+
super(svc, cdr);
|
|
11
|
+
this.svc = svc;
|
|
12
|
+
this.cdr = cdr;
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
super.ngOnInit();
|
|
16
|
+
}
|
|
17
|
+
setValue(value) {
|
|
18
|
+
this.row.data[this.column.name] = value ? new Date(value) : value;
|
|
19
|
+
this.valueChanged();
|
|
20
|
+
this.cdr.detectChanges();
|
|
21
|
+
}
|
|
22
|
+
startEdit(initiator, type) {
|
|
23
|
+
if (initiator?.column.name === this.column.name) {
|
|
24
|
+
setTimeout(() => {
|
|
25
|
+
this.input?.focus();
|
|
26
|
+
this.cdr.markForCheck();
|
|
27
|
+
}, 0);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
stopEdit() {
|
|
31
|
+
this.cdr.markForCheck();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DateCellComponent, selector: "teta-date-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"false\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], components: [{ type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "showTime", "format"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "date": i3.DatePipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
args: [{ selector: 'teta-date-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"false\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""] }]
|
|
39
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], row: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], input: [{
|
|
44
|
+
type: ViewChild,
|
|
45
|
+
args: ['input', { static: false }]
|
|
46
|
+
}] } });
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kYXRlLWNlbGwvZGF0ZS1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kYXRlLWNlbGwvZGF0ZS1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULEtBQUssRUFFTCxTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIs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KTtcbiAgfVxuXG4gIHN0YXJ0RWRpdChpbml0aWF0b3I6IElDZWxsQ29vcmRpbmF0ZXM8VD4sIHR5cGU6ICdjZWxsJyB8ICdyb3cnKTogdm9pZCB7XG4gICAgaWYgKGluaXRpYXRvcj8uY29sdW1uLm5hbWUgPT09IHRoaXMuY29sdW1uLm5hbWUpIHtcbiAgICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICB0aGlzLmlucHV0Py5mb2N1cygpO1xuICAgICAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgICAgIH0sIDApO1xuICAgIH1cbiAgfVxuXG4gIHN0b3BFZGl0KCk6IHZvaWQge1xuICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICB9XG59XG4iLCI8c3BhbiBbc3R5bGUuZGlzcGxheV09XCJlZGl0ID8gJ25vbmUnIDogJ2Jsb2NrJ1wiIGNsYXNzPVwiY2VsbC10ZXh0XCI+XG4gIHt7cm93LmRhdGFbY29sdW1uLm5hbWVdIHwgZGF0ZSA6ICdkZC5NTS55eXl5J319XG48L3NwYW4+XG48dGV0YS1kYXRlLXBpY2tlciBjbGFzcz1cImRhdGVwaWNrZXItdGFibGVcIlxuICAgICAgICAgICAgICAgICAgI2lucHV0XG4gICAgICAgICAgICAgICAgICAqbmdJZj1cImVkaXRcIlxuICAgICAgICAgICAgICAgICAgW2FwcGVuZFRvQm9keV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgIFtzaG93VGltZV09XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJyb3cuZGF0YVtjb2x1bW4ubmFtZV1cIlxuICAgICAgICAgICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwic2V0VmFsdWUoJGV2ZW50KVwiXG4+PC90ZXRhLWRhdGUtcGlja2VyPlxuIl19
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../service/table.service";
|
|
5
|
+
import * as i2 from "../../../date-picker/date-picker/date-picker.component";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
export class DateTimeCellComponent extends CellComponentBase {
|
|
9
|
+
constructor(svc, cdr) {
|
|
10
|
+
super(svc, cdr);
|
|
11
|
+
this.svc = svc;
|
|
12
|
+
this.cdr = cdr;
|
|
13
|
+
}
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
super.ngOnInit();
|
|
16
|
+
}
|
|
17
|
+
setValue(value) {
|
|
18
|
+
this.row.data[this.column.name] = value;
|
|
19
|
+
this.valueChanged();
|
|
20
|
+
}
|
|
21
|
+
startEdit(initiator, type) {
|
|
22
|
+
if (initiator?.column.name === this.column.name) {
|
|
23
|
+
setTimeout(() => {
|
|
24
|
+
this.input.openPicker(true);
|
|
25
|
+
this.cdr.markForCheck();
|
|
26
|
+
}, 0);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
stopEdit() {
|
|
30
|
+
this.cdr.markForCheck();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateTimeCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DateTimeCellComponent, selector: "teta-date-time-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], components: [{ type: i2.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "showTime", "format"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "date": i3.DatePipe } });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DateTimeCellComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'teta-date-time-cell', template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""] }]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], row: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], input: [{
|
|
43
|
+
type: ViewChild,
|
|
44
|
+
args: ['input', { static: false }]
|
|
45
|
+
}] } });
|
|
46
|
+
//# sour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FbY29sdW1uLm5hbWVdXCJcbiAgICAgICAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInNldFZhbHVlKCRldmVudClcIlxuPjwvdGV0YS1kYXRlLXBpY2tlcj5cbiJdfQ==
|
package/dist/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
|
+
import { HeadCellComponentBase } from '../../base/head-cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../../../directive/hint/hint.directive";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
export class DefaultHeadCellComponent extends HeadCellComponentBase {
|
|
7
|
+
constructor(_cdr) {
|
|
8
|
+
super();
|
|
9
|
+
this._cdr = _cdr;
|
|
10
|
+
}
|
|
11
|
+
set column(val) {
|
|
12
|
+
this._column = val;
|
|
13
|
+
this._cdr.detectChanges();
|
|
14
|
+
}
|
|
15
|
+
get column() {
|
|
16
|
+
return this._column;
|
|
17
|
+
}
|
|
18
|
+
ngOnInit() { }
|
|
19
|
+
}
|
|
20
|
+
DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DefaultHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: DefaultHeadCellComponent, selector: "teta-default-head-cell", inputs: { column: "column" }, usesInheritance: true, ngImport: i0, template: "<div class=\"column column_auto align-center\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text align-center\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text align-center color-text-70\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0}\n"], directives: [{ type: i1.HintDirective, selector: "[tetaHint]", inputs: ["tetaHint", "align", "verticalAlign", "delay"] }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: DefaultHeadCellComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'teta-default-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"column column_auto align-center\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text align-center\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text align-center color-text-70\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0}\n"] }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1oZWFkLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L2RlZmF1bHQtaGVhZC1jZWxsL2RlZmF1bHQtaGVhZC1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kZWZhdWx0LWhlYWQtY2VsbC9kZWZhdWx0LWhlYWQtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxP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dj5cbiAgPGRpdiAqbmdJZj1cImNvbHVtbi51bml0XCIgY2xhc3M9XCJ0YWJsZS1oZWFkX19jZWxsX190ZXh0IGFsaWduLWNlbnRlciBjb2xvci10ZXh0LTcwXCIgc3R5bGU9XCJvdmVyZmxvdzogdmlzaWJsZTtcIj5cbiAgICBbe3tjb2x1bW4udW5pdH19XVxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
|
+
import { GroupRowComponentBase } from '../../base/group-row-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class GroupRowComponent extends GroupRowComponentBase {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
}
|
|
8
|
+
ngOnInit() { }
|
|
9
|
+
}
|
|
10
|
+
GroupRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: GroupRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
GroupRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: GroupRowComponent, selector: "teta-group-row", inputs: { row: "row", columns: "columns" }, usesInheritance: true, ngImport: i0, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: GroupRowComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'teta-group-row', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span>{{row.groupValue[row.level]}} ()</span>\n<!--<span>{{row.groupValue[row.level]}} ({{row.children.length}})</span>-->\n", styles: [""] }]
|
|
15
|
+
}], ctorParameters: function () { return []; }, propDecorators: { row: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], columns: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}] } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXAtcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9ncm91cC1yb3cvZ3JvdXAtcm93LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9ncm91cC1yb3cvZ3JvdXAtcm93LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssR0FFTixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQzs7QUFVNUUsTUFBTSxPQUFPLGlCQUNYLFNBQVEscUJBQXdCO0lBTWhDO1FBQ0UsS0FBSyxFQUFFLENBQUM7SUFDVixDQUFDO0lBRUQsUUFBUSxLQUFVLENBQUM7OzhHQVhSLGlCQUFpQjtrR0FBakIsaUJBQWlCLHlIQ2hCOUIsOEhBRUE7MkZEY2EsaUJBQWlCO2tCQU43QixTQUFTOytCQUNFLGdCQUFnQixtQkFHVCx1QkFBdUIsQ0FBQyxNQUFNOzBFQU10QyxHQUFHO3NCQUFYLEtBQUs7Z0JBQ0csT0FBTztzQkFBZixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksXG4gIENvbXBvbmVudCxcbiAgSW5wdXQsXG4gIE9uSW5pdCxcbn0gZnJvbS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y, Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import { VerticalAlign } from '../../../../common/enum/vertical-align.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../service/table.service";
|
|
6
|
+
import * as i2 from "../../../select/select/select.component";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
import * as i4 from "@angular/forms";
|
|
9
|
+
export class ListCellComponent extends CellComponentBase {
|
|
10
|
+
constructor(svc, cdr) {
|
|
11
|
+
super(svc, cdr);
|
|
12
|
+
this.svc = svc;
|
|
13
|
+
this.cdr = cdr;
|
|
14
|
+
this.filterOptions = [];
|
|
15
|
+
this.verticalAlign = VerticalAlign;
|
|
16
|
+
}
|
|
17
|
+
get value() {
|
|
18
|
+
return this.getValue();
|
|
19
|
+
}
|
|
20
|
+
setValue(value) {
|
|
21
|
+
this.row.data[this.column.name] = value;
|
|
22
|
+
this.valueChanged();
|
|
23
|
+
}
|
|
24
|
+
startEdit(initiator, type) {
|
|
25
|
+
if (initiator?.column.name === this.column.name) {
|
|
26
|
+
setTimeout(() => {
|
|
27
|
+
this.input?.focus();
|
|
28
|
+
this.cdr.markForCheck();
|
|
29
|
+
}, 0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
stopEdit() {
|
|
33
|
+
this.cdr.markForCheck();
|
|
34
|
+
}
|
|
35
|
+
ngOnInit() {
|
|
36
|
+
super.ngOnInit();
|
|
37
|
+
}
|
|
38
|
+
getValue() {
|
|
39
|
+
if (this.filterOptions === null ||
|
|
40
|
+
this.filterOptions === undefined ||
|
|
41
|
+
!(this.filterOptions instanceof Array)) {
|
|
42
|
+
return '';
|
|
43
|
+
}
|
|
44
|
+
const item = this.filterOptions.find((option) => option.id === this.row.data[this.column.name]);
|
|
45
|
+
if (item === null || item === undefined) {
|
|
46
|
+
return '';
|
|
47
|
+
}
|
|
48
|
+
return item.name;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
ListCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ListCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
ListCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ListCellComponent, selector: "teta-list-cell", inputs: { column: "column", row: "row", filterOptions: "filterOptions" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"filterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""], components: [{ type: i2.SelectComponent, selector: "teta-select", inputs: ["multiple", "options", "invalid", "align", "verticalAlign", "autoClose", "autoCloseIgnore", "disabled", "itemSize", "virtual", "icon", "placeholder", "appendToBody", "allowNull", "valueRef", "textRef", "searchRef"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ListCellComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'teta-list-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"filterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], row: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], filterOptions: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], input: [{
|
|
63
|
+
type: ViewChild,
|
|
64
|
+
args: ['input', { static: false }]
|
|
65
|
+
}] } });
|
|
66
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9saXN0LWNlbGwvbGlzdC1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9saXN0LWNlbGwvbGlzdC1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULEtBQUssRUFFTCxTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFJdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0NBQW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RpdFwiXG4gICAgICAgICAgICAgW2FsbG93TnVsbF09XCIhY29sdW1uLnJlcXVpcmVkXCJcbiAgICAgICAgICAgICBbdmVydGljYWxBbGlnbl09XCJ2ZXJ0aWNhbEFsaWduLmF1dG9cIlxuICAgICAgICAgICAgIFthcHBlbmRUb0JvZHldPVwidHJ1ZVwiXG4gICAgICAgICAgICAgW29wdGlvbnNdPVwiZmlsdGVyT3B0aW9uc1wiXG4gICAgICAgICAgICAgW3ZhbHVlUmVmXT1cIidpZCdcIlxuICAgICAgICAgICAgIFt0ZXh0UmVmXT1cIiduYW1lJ1wiXG4gICAgICAgICAgICAgW25nTW9kZWxdPVwicm93LmRhdGFbY29sdW1uLm5hbWVdXCJcbiAgICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJzZXRWYWx1ZSgkZXZlbnQpXCI+XG48L3RldGEtc2VsZWN0PlxuIl19
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../service/table.service";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../../../directive/only-number/only-number.directive";
|
|
8
|
+
import * as i5 from "../../../../pipe/number-pipe/number.pipe";
|
|
9
|
+
export class NumericCellComponent extends CellComponentBase {
|
|
10
|
+
constructor(svc, cdr) {
|
|
11
|
+
super(svc, cdr);
|
|
12
|
+
this.svc = svc;
|
|
13
|
+
this.cdr = cdr;
|
|
14
|
+
}
|
|
15
|
+
setValue() {
|
|
16
|
+
this.valueChanged();
|
|
17
|
+
}
|
|
18
|
+
ngOnInit() {
|
|
19
|
+
super.ngOnInit();
|
|
20
|
+
}
|
|
21
|
+
startEdit(initiator, type) {
|
|
22
|
+
if (initiator?.column.name === this.column.name) {
|
|
23
|
+
setTimeout(() => {
|
|
24
|
+
this.input?.nativeElement.focus();
|
|
25
|
+
this.cdr.markForCheck();
|
|
26
|
+
}, 0);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
stopEdit() {
|
|
30
|
+
this.cdr.markForCheck();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
NumericCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: NumericCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
NumericCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: NumericCellComponent, selector: "teta-numeric-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text cell-text_numeric\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n", styles: [":host{justify-content:end}\n"], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.OnlyNumberDirective, selector: "[tetaOnlyNumber]", inputs: ["tetaOnlyNumber", "allowDecimals", "allowSign", "decimalSeparator", "commaSeparator"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "tetaNumber": i5.NumberPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: NumericCellComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'teta-numeric-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text cell-text_numeric\">\n {{row.data[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event;\"/>\n", styles: [":host{justify-content:end}\n"] }]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], row: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], input: [{
|
|
43
|
+
type: ViewChild,
|
|
44
|
+
args: ['input', { static: false }]
|
|
45
|
+
}] } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtZXJpYy1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9udW1lcmljLWNlbGwvbnVtZXJpYy1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9udW1lcmljLWNlbGwvbnVtZXJpYy1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbX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B9XG5cbiAgc3RvcEVkaXQoKTogdm9pZCB7XG4gICAgdGhpcy5jZHIubWFya0ZvckNoZWNrKCk7XG4gIH1cbn1cbiIsIjxzcGFuIFtzdHlsZS5kaXNwbGF5XT1cImVkaXQgPyAnbm9uZScgOiAnYmxvY2snXCIgY2xhc3M9XCJjZWxsLXRleHQgY2VsbC10ZXh0X251bWVyaWNcIj5cbiAge3tyb3cuZGF0YVtjb2x1bW4ubmFtZV0gfCB0ZXRhTnVtYmVyIDogMn19XG48L3NwYW4+XG48aW5wdXQgI2lucHV0XG4gICAgICAgKm5nSWY9XCJlZGl0XCJcbiAgICAgICB0ZXRhT25seU51bWJlclxuICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICBjbGFzcz1cImlucHV0IHJvd19hdXRvIGJvcmRlci1yYWRpdXMtMFwiXG4gICAgICAgKGJsdXIpPVwic2V0VmFsdWUoKVwiXG4gICAgICAgW25nTW9kZWxdPVwicm93LmRhdGFbY29sdW1uLm5hbWVdXCJcbiAgICAgICAobmdNb2RlbENoYW5nZSk9XCJyb3cuZGF0YVtjb2x1bW4ubmFtZV09JGV2ZW50O1wiLz5cbiJdfQ==
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/core';
|
|
2
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../../service/table.service";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
export class StringCellComponent extends CellComponentBase {
|
|
8
|
+
constructor(svc, cdr) {
|
|
9
|
+
super(svc, cdr);
|
|
10
|
+
this.svc = svc;
|
|
11
|
+
this.cdr = cdr;
|
|
12
|
+
}
|
|
13
|
+
setValue() {
|
|
14
|
+
this.valueChanged();
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
super.ngOnInit();
|
|
18
|
+
}
|
|
19
|
+
startEdit(initiator, type) {
|
|
20
|
+
if (initiator?.column.name === this.column.name) {
|
|
21
|
+
this.cdr.markForCheck();
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
this.input.nativeElement.focus();
|
|
24
|
+
}, 0);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
stopEdit() {
|
|
28
|
+
this.cdr.markForCheck();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
StringCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: StringCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
+
StringCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: StringCellComponent, selector: "teta-string-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n", styles: [""], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: StringCellComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{ selector: 'teta-string-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\" class=\"cell-text\">\n {{row.data[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row.data[column.name]\"\n (ngModelChange)=\"row.data[column.name]=$event\"/>\n\n", styles: [""] }]
|
|
36
|
+
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
37
|
+
type: Input
|
|
38
|
+
}], row: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], input: [{
|
|
41
|
+
type: ViewChild,
|
|
42
|
+
args: ['input', { static: false }]
|
|
43
|
+
}] } });
|
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L3N0cmluZy1jZWxsL3N0cmluZy1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9zdHJpbmctY2VsbC9zdHJpbmctY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFFVCxLQUFLLEVBRUwsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxpQ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XRleHRcIj5cbiAge3tyb3cuZGF0YVtjb2x1bW4ubmFtZV19fVxuPC9zcGFuPlxuPGlucHV0ICNpbnB1dFxuICAgICAgICpuZ0lmPVwiZWRpdFwiXG4gICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgIGNsYXNzPVwiaW5wdXQgcm93X2F1dG8gYm9yZGVyLXJhZGl1cy0wXCJcbiAgICAgICAoYmx1cik9XCJzZXRWYWx1ZSgpXCJcbiAgICAgICBbbmdNb2RlbF09XCJyb3cuZGF0YVtjb2x1bW4ubmFtZV1cIlxuICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInJvdy5kYXRhW2NvbHVtbi5uYW1lXT0kZXZlbnRcIi8+XG5cbiJdfQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export var AggregationType;
|
|
2
|
+
(function (AggregationType) {
|
|
3
|
+
AggregationType[AggregationType["none"] = 0] = "none";
|
|
4
|
+
AggregationType[AggregationType["sum"] = 1] = "sum";
|
|
5
|
+
AggregationType[AggregationType["avg"] = 2] = "avg";
|
|
6
|
+
AggregationType[AggregationType["min"] = 3] = "min";
|
|
7
|
+
AggregationType[AggregationType["max"] = 4] = "max";
|
|
8
|
+
})(AggregationType || (AggregationType = {}));
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWdncmVnYXRpb24tdHlwZS5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9lbnVtL2FnZ3JlZ2F0aW9uLXR5cGUuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxlQU1YO0FBTkQsV0FBWSxlQUFlO0lBQ3pCLHFEQUFJLENBQUE7SUFDSixtREFBRyxDQUFBO0lBQ0gsbURBQUcsQ0FBQTtJQUNILG1EQUFHLENBQUE7SUFDSCxtREFBRyxDQUFBO0FBQ0wsQ0FBQyxFQU5XLGVBQWUsS0FBZixlQUFlLFFBTTFCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gQWdncmVnYXRpb25UeXBlIHtcbiAgbm9uZSxcbiAgc3VtLFxuICBhdmcsXG4gIG1pbixcbiAgbWF4LFxufVxuIl19
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var EditEvent;
|
|
2
|
+
(function (EditEvent) {
|
|
3
|
+
EditEvent[EditEvent["click"] = 0] = "click";
|
|
4
|
+
EditEvent[EditEvent["focus"] = 1] = "focus";
|
|
5
|
+
EditEvent[EditEvent["doubleClick"] = 2] = "doubleClick";
|
|
6
|
+
})(EditEvent || (EditEvent = {}));
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC1ldmVudC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9lbnVtL2VkaXQtZXZlbnQuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxTQUlYO0FBSkQsV0FBWSxTQUFTO0lBQ25CLDJDQUFLLENBQUE7SUFDTCwyQ0FBSyxDQUFBO0lBQ0wsdURBQVcsQ0FBQTtBQUNiLENBQUMsRUFKVyxTQUFTLEtBQVQsU0FBUyxRQUlwQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVkaXRFdmVudCB7XG4gIGNsaWNrLFxuICBmb2N1cyxcbiAgZG91YmxlQ2xpY2tcbn1cbiJdfQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var EditType;
|
|
2
|
+
(function (EditType) {
|
|
3
|
+
EditType[EditType["cell"] = 0] = "cell";
|
|
4
|
+
EditType[EditType["row"] = 1] = "row";
|
|
5
|
+
})(EditType || (EditType = {}));
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL2VudW0vZWRpdC10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksUUFHWDtBQUhELFdBQVksUUFBUTtJQUNsQix1Q0FBSSxDQUFBO0lBQ0oscUNBQUcsQ0FBQTtBQUNMLENBQUMsRUFIVyxRQUFRLEtBQVIsUUFBUSxRQUduQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVkaXRUeXBlIHtcbiAgY2VsbCxcbiAgcm93XG59XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './aggregation-type.enum';
|
|
2
|
+
export * from './edit-event.enum';
|
|
3
|
+
export * from './edit-type.enum';
|
|
4
|
+
export * from './select-type.enum';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZW51bS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FnZ3JlZ2F0aW9uLXR5cGUuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2VkaXQtZXZlbnQuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2VkaXQtdHlwZS5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vc2VsZWN0LXR5cGUuZW51bSc7XG4iXX0=
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var SelectType;
|
|
2
|
+
(function (SelectType) {
|
|
3
|
+
SelectType[SelectType["none"] = 0] = "none";
|
|
4
|
+
SelectType[SelectType["multiple"] = 1] = "multiple";
|
|
5
|
+
SelectType[SelectType["single"] = 2] = "single";
|
|
6
|
+
})(SelectType || (SelectType = {}));
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXR5cGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZW51bS9zZWxlY3QtdHlwZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFVBSVg7QUFKRCxXQUFZLFVBQVU7SUFDcEIsMkNBQUksQ0FBQTtJQUNKLG1EQUFRLENBQUE7SUFDUiwrQ0FBTSxDQUFBO0FBQ1IsQ0FBQyxFQUpXLFVBQVUsS0FBVixVQUFVLFFBSXJCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gU2VsZWN0VHlwZSB7XG4gIG5vbmUsXG4gIG11bHRpcGxlLFxuICBzaW5nbGVcbn1cbiJdfQ==
|