@tetacom/ng-components 1.7.1 → 1.7.3
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/.eslintrc.json +1 -1
- package/docs/accordionDocs.mdx +1 -1
- package/docs/avatarDocs.mdx +1 -1
- package/docs/badgeDocs.mdx +1 -1
- package/docs/buttonDocs.mdx +1 -1
- package/docs/checkboxDocs.mdx +1 -1
- package/docs/chipDocs.mdx +1 -1
- package/docs/datePickerDocs.mdx +1 -1
- package/docs/dateRangeDocs.mdx +1 -1
- package/docs/delimiterDocs.mdx +1 -1
- package/docs/dropdownDocs.mdx +1 -1
- package/docs/expandCardlDocs.mdx +1 -1
- package/docs/expandPanelDocs.mdx +1 -1
- package/docs/fileAreaDocs.mdx +1 -1
- package/docs/iconDocs.mdx +1 -1
- package/docs/inputDocs.mdx +1 -1
- package/docs/listDocs.mdx +1 -1
- package/docs/messageDocs.mdx +1 -1
- package/docs/modalDocs.mdx +1 -1
- package/docs/progressBarDocs.mdx +1 -1
- package/docs/propertyGridDocs.mdx +1 -1
- package/docs/radioDocs.mdx +1 -1
- package/docs/resizePanelDocs.mdx +1 -1
- package/docs/selectDocs.mdx +1 -1
- package/docs/stepperDocs.mdx +1 -1
- package/docs/switchDocs.mdx +1 -1
- package/docs/tableDocs.mdx +1 -1
- package/docs/tabsDocs.mdx +1 -1
- package/docs/tagDocs.mdx +1 -1
- package/docs/toggleDocs.mdx +1 -1
- package/docs/toolbarDocs.mdx +1 -1
- package/docs/treeDocs.mdx +1 -1
- package/fesm2022/tetacom-ng-components.mjs +869 -932
- package/fesm2022/tetacom-ng-components.mjs.map +1 -1
- package/package.json +7 -6
- package/types/tetacom-ng-components.d.ts +3600 -0
- package/common/contract/auto-close-ignore-case.d.ts +0 -1
- package/common/contract/constructor-type.d.ts +0 -1
- package/common/contract/dynamic-data.d.ts +0 -6
- package/common/contract/i-dictionary.d.ts +0 -3
- package/common/contract/i-id-name.d.ts +0 -6
- package/common/contract/i-id.d.ts +0 -3
- package/common/contract/i-rect.d.ts +0 -8
- package/common/contract/i-tree-data.d.ts +0 -4
- package/common/contract/public-api.d.ts +0 -9
- package/common/contract/teta-content-ref.d.ts +0 -7
- package/common/enum/align.enum.d.ts +0 -11
- package/common/enum/public-api.d.ts +0 -3
- package/common/enum/teta-size.enum.d.ts +0 -7
- package/common/enum/vertical-align.enum.d.ts +0 -9
- package/common/model/public-api.d.ts +0 -1
- package/common/model/view-type.model.d.ts +0 -1
- package/common/public-api.d.ts +0 -5
- package/common/service/click.service.d.ts +0 -10
- package/common/service/dynamic-component.service.d.ts +0 -21
- package/common/service/overlay-container.service.d.ts +0 -14
- package/common/service/public-api.d.ts +0 -3
- package/common/util/array-util.d.ts +0 -9
- package/common/util/dom-util.d.ts +0 -5
- package/common/util/position-util.d.ts +0 -9
- package/common/util/public-api.d.ts +0 -3
- package/component/accordion/accordion/accordion.component.d.ts +0 -6
- package/component/accordion/accordion-content.directive.d.ts +0 -8
- package/component/accordion/accordion-head/accordion-head.component.d.ts +0 -15
- package/component/accordion/accordion-item/accordion-item.component.d.ts +0 -21
- package/component/accordion/public-api.d.ts +0 -4
- package/component/autocomplete/autocomplete/autocomplete.component.d.ts +0 -8
- package/component/autocomplete/public-api.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +0 -17
- package/component/avatar/model/avatar-color.enum.d.ts +0 -20
- package/component/avatar/public-api.d.ts +0 -1
- package/component/button/button/button.component.d.ts +0 -15
- package/component/button/public-api.d.ts +0 -1
- package/component/chart-3d/chart3d/chart3d.component.d.ts +0 -61
- package/component/chart-3d/model/base-3d-point.d.ts +0 -6
- package/component/chart-3d/model/chart-3d-options.d.ts +0 -11
- package/component/chart-3d/model/chart3d-tooltip.d.ts +0 -22
- package/component/chart-3d/model/public-api.d.ts +0 -2
- package/component/chart-3d/model/series-3d.d.ts +0 -11
- package/component/chart-3d/public-api.d.ts +0 -2
- package/component/chart-3d/services/chart3d-tooltip.service.d.ts +0 -15
- package/component/checkbox/checkbox/checkbox.component.d.ts +0 -47
- package/component/checkbox/public-api.d.ts +0 -1
- package/component/date-picker/base-calendar.d.ts +0 -50
- package/component/date-picker/base-picker.d.ts +0 -62
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +0 -21
- package/component/date-picker/date-picker/date-picker.component.d.ts +0 -61
- package/component/date-picker/date-range/date-range.component.d.ts +0 -51
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +0 -40
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +0 -9
- package/component/date-picker/day-picker/day-picker.component.d.ts +0 -32
- package/component/date-picker/model/date-period.d.ts +0 -5
- package/component/date-picker/model/date-picker-mode.enum.d.ts +0 -5
- package/component/date-picker/model/day-model.d.ts +0 -16
- package/component/date-picker/model/from-to.model.d.ts +0 -4
- package/component/date-picker/model/min-max-date.model.d.ts +0 -4
- package/component/date-picker/model/public-api.d.ts +0 -5
- package/component/date-picker/month-picker/month-picker.component.d.ts +0 -19
- package/component/date-picker/public-api.d.ts +0 -5
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +0 -11
- package/component/date-picker/year-picker/year-picker.component.d.ts +0 -23
- package/component/delimiter/delimiter/delimiter.component.d.ts +0 -19
- package/component/delimiter/public-api.d.ts +0 -1
- package/component/divider/divider/divider.component.d.ts +0 -10
- package/component/divider/public-api.d.ts +0 -1
- package/component/dropdown/dropdown/dropdown.component.d.ts +0 -15
- package/component/dropdown/dropdown-base.d.ts +0 -45
- package/component/dropdown/dropdown-content.directive.d.ts +0 -9
- package/component/dropdown/dropdown-head.directive.d.ts +0 -8
- package/component/dropdown/dropdown.directive.d.ts +0 -16
- package/component/dropdown/public-api.d.ts +0 -4
- package/component/dynamic-component/popup-content/popup-content.component.d.ts +0 -13
- package/component/dynamic-component/public-api.d.ts +0 -1
- package/component/expand-card/expand-card/expand-card.component.d.ts +0 -13
- package/component/expand-card/expand-item/expand-item.component.d.ts +0 -9
- package/component/expand-card/public-api.d.ts +0 -2
- package/component/expand-panel/expand-panel/expand-panel.component.d.ts +0 -21
- package/component/expand-panel/expand-panel-content.directive.d.ts +0 -8
- package/component/expand-panel/expand-panel-head.directive.d.ts +0 -8
- package/component/expand-panel/public-api.d.ts +0 -3
- package/component/file-upload/file-item/file-item.component.d.ts +0 -8
- package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +0 -22
- package/component/file-upload/public-api.d.ts +0 -2
- package/component/filter/base/filter-base.d.ts +0 -10
- package/component/filter/base/filter-component-base.d.ts +0 -12
- package/component/filter/boolean-filter/boolean-filter.component.d.ts +0 -30
- package/component/filter/contarct/boolean-filter.d.ts +0 -8
- package/component/filter/contarct/date-filter-value.d.ts +0 -14
- package/component/filter/contarct/date-filter.d.ts +0 -9
- package/component/filter/contarct/filter-component-map.d.ts +0 -3
- package/component/filter/contarct/filter-item.d.ts +0 -78
- package/component/filter/contarct/filter-state.d.ts +0 -30
- package/component/filter/contarct/i-filter.d.ts +0 -5
- package/component/filter/contarct/list-filter.d.ts +0 -11
- package/component/filter/contarct/numeric-filter-value.d.ts +0 -19
- package/component/filter/contarct/numeric-filter.d.ts +0 -11
- package/component/filter/contarct/sort-param.d.ts +0 -22
- package/component/filter/contarct/string-filter.d.ts +0 -11
- package/component/filter/date-filter/date-filter.component.d.ts +0 -30
- package/component/filter/enum/filter-type.enum.d.ts +0 -9
- package/component/filter/enum/list-filter-type.enum.d.ts +0 -4
- package/component/filter/enum/string-filter-type.enum.d.ts +0 -18
- package/component/filter/filter-host/filter-host.component.d.ts +0 -26
- package/component/filter/list-filter/list-filter.component.d.ts +0 -36
- package/component/filter/numeric-filter/numeric-filter.component.d.ts +0 -30
- package/component/filter/public-api.d.ts +0 -22
- package/component/filter/string-filter/string-filter.component.d.ts +0 -30
- package/component/icon/icon/icon.component.d.ts +0 -12
- package/component/icon/icon-file/icon-file.component.d.ts +0 -12
- package/component/icon/icon-sprite.directive.d.ts +0 -12
- package/component/icon/icon.service.d.ts +0 -19
- package/component/icon/public-api.d.ts +0 -4
- package/component/input/color-input/color-input.component.d.ts +0 -22
- package/component/input/form-group-title/form-group-title.component.d.ts +0 -9
- package/component/input/input/input.component.d.ts +0 -14
- package/component/input/public-api.d.ts +0 -5
- package/component/input/text-field/text-field.component.d.ts +0 -28
- package/component/message/message/message.component.d.ts +0 -19
- package/component/message/message-host/message-host.component.d.ts +0 -25
- package/component/message/message.service.d.ts +0 -15
- package/component/message/model/message.d.ts +0 -24
- package/component/message/public-api.d.ts +0 -4
- package/component/modal/dialog/dialog.component.d.ts +0 -21
- package/component/modal/dialog.service.d.ts +0 -13
- package/component/modal/modal-container/modal-container.component.d.ts +0 -17
- package/component/modal/modal.module.d.ts +0 -10
- package/component/modal/modal.service.d.ts +0 -23
- package/component/modal/model/current-modal.d.ts +0 -4
- package/component/modal/model/dialog-data.d.ts +0 -11
- package/component/modal/model/i-modal-config.d.ts +0 -11
- package/component/modal/model/i-modal-result.d.ts +0 -12
- package/component/modal/model/modal-close-reason.enum.d.ts +0 -6
- package/component/modal/model/modal-instance.d.ts +0 -16
- package/component/modal/public-api.d.ts +0 -10
- package/component/pager/model/pager-state.d.ts +0 -40
- package/component/pager/pager/pager.component.d.ts +0 -8
- package/component/pager/public-api.d.ts +0 -3
- package/component/pager/util/pager-util.d.ts +0 -4
- package/component/panel/panel/panel.component.d.ts +0 -12
- package/component/panel/public-api.d.ts +0 -1
- package/component/progress-bar/progress-bar/progress-bar.component.d.ts +0 -46
- package/component/progress-bar/public-api.d.ts +0 -1
- package/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +0 -17
- package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +0 -37
- package/component/property-grid/property-grid/property-grid-item-description.directive.d.ts +0 -9
- package/component/property-grid/property-grid/property-grid.component.d.ts +0 -25
- package/component/property-grid/public-api.d.ts +0 -3
- package/component/public-api.d.ts +0 -36
- package/component/radio/public-api.d.ts +0 -2
- package/component/radio/radio/radio.component.d.ts +0 -45
- package/component/radio/radio-button/radio-button.component.d.ts +0 -20
- package/component/resize-panel/public-api.d.ts +0 -1
- package/component/resize-panel/resize-panel/resize-panel.component.d.ts +0 -37
- package/component/select/public-api.d.ts +0 -3
- package/component/select/select/select.component.d.ts +0 -72
- package/component/select/select-option.directive.d.ts +0 -8
- package/component/select/select-value.directive.d.ts +0 -8
- package/component/sidebar/public-api.d.ts +0 -2
- package/component/sidebar/sidebar/sidebar.component.d.ts +0 -17
- package/component/sidebar/sidebar-position.enum.d.ts +0 -6
- package/component/stepper/public-api.d.ts +0 -1
- package/component/stepper/stepper/stepper.component.d.ts +0 -10
- package/component/switch/public-api.d.ts +0 -2
- package/component/switch/switch/switch.component.d.ts +0 -25
- package/component/switch/switch-button/switch-button.component.d.ts +0 -18
- package/component/switch/switch.service.d.ts +0 -10
- package/component/table/base/cell-component-base.d.ts +0 -42
- package/component/table/base/detail-component-base.d.ts +0 -11
- package/component/table/base/head-cell-component-base.d.ts +0 -9
- package/component/table/cell/cell.component.d.ts +0 -14
- package/component/table/cell-host/cell-host.component.d.ts +0 -20
- package/component/table/contract/cell-components-map.d.ts +0 -3
- package/component/table/contract/column-reorder-event.d.ts +0 -6
- package/component/table/contract/column-resize-event.d.ts +0 -6
- package/component/table/contract/head-dropdown-tab.d.ts +0 -13
- package/component/table/contract/i-cell-coordinates.d.ts +0 -4
- package/component/table/contract/i-cell-event.d.ts +0 -4
- package/component/table/contract/i-cell-instance.d.ts +0 -16
- package/component/table/contract/i-cell-value.d.ts +0 -4
- package/component/table/contract/public-api.d.ts +0 -12
- package/component/table/contract/sort-event.d.ts +0 -6
- package/component/table/contract/table-column-store.d.ts +0 -15
- package/component/table/contract/table-column.d.ts +0 -141
- package/component/table/contract/table-row.d.ts +0 -8
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +0 -16
- package/component/table/default/color-cell/color-cell.component.d.ts +0 -20
- package/component/table/default/date-cell/date-cell.component.d.ts +0 -18
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +0 -18
- package/component/table/default/default-head-cell/default-head-cell.component.d.ts +0 -20
- package/component/table/default/list-cell/list-cell.component.d.ts +0 -23
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +0 -16
- package/component/table/default/string-cell/string-cell.component.d.ts +0 -18
- package/component/table/enum/aggregation-type.enum.d.ts +0 -7
- package/component/table/enum/edit-event.enum.d.ts +0 -5
- package/component/table/enum/edit-type.enum.d.ts +0 -5
- package/component/table/enum/public-api.d.ts +0 -4
- package/component/table/enum/select-type.enum.d.ts +0 -5
- package/component/table/head-cell/head-cell.component.d.ts +0 -52
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +0 -25
- package/component/table/head-cell-host/head-cell-host.component.d.ts +0 -21
- package/component/table/public-api.d.ts +0 -42
- package/component/table/selection-cell/selection-cell.component.d.ts +0 -15
- package/component/table/selection-head-cell/selection-head-cell.component.d.ts +0 -16
- package/component/table/service/table.service.d.ts +0 -140
- package/component/table/table/table.component.d.ts +0 -87
- package/component/table/table-body/table-body.component.d.ts +0 -67
- package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +0 -31
- package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +0 -42
- package/component/table/table-head/table-head.component.d.ts +0 -31
- package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +0 -44
- package/component/table/table-head-group/table-head-group.component.d.ts +0 -24
- package/component/table/table-row/table-row.component.d.ts +0 -14
- package/component/table/util/color-util.d.ts +0 -3
- package/component/table/util/public-api.d.ts +0 -3
- package/component/table/util/state-util.d.ts +0 -17
- package/component/table/util/table-util.d.ts +0 -20
- package/component/tabs/public-api.d.ts +0 -10
- package/component/tabs/tab/tab.component.d.ts +0 -23
- package/component/tabs/tab-content.directive.d.ts +0 -8
- package/component/tabs/tab-title.directive.d.ts +0 -8
- package/component/tabs/tabs/tabs.component.d.ts +0 -43
- package/component/theme-switch/public-api.d.ts +0 -2
- package/component/theme-switch/theme-switch/theme-switch.component.d.ts +0 -16
- package/component/theme-switch/theme-switch.service.d.ts +0 -12
- package/component/toggle/public-api.d.ts +0 -1
- package/component/toggle/toggle/toggle.component.d.ts +0 -32
- package/component/toolbar/public-api.d.ts +0 -4
- package/component/toolbar/toolbar/toolbar.component.d.ts +0 -10
- package/component/tree/public-api.d.ts +0 -3
- package/component/tree/tree/tree.component.d.ts +0 -38
- package/component/tree/tree-item/tree-item.component.d.ts +0 -25
- package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +0 -13
- package/component/tree/tree.service.d.ts +0 -17
- package/directive/auto-position/auto-position.directive.d.ts +0 -18
- package/directive/auto-position/public-api.d.ts +0 -1
- package/directive/click-outside/click-outside.directive.d.ts +0 -18
- package/directive/click-outside/public-api.d.ts +0 -1
- package/directive/context-menu/context-menu.directive.d.ts +0 -34
- package/directive/context-menu/public-api.d.ts +0 -1
- package/directive/disable-control/disable-control.directive.d.ts +0 -13
- package/directive/disable-control/public-api.d.ts +0 -1
- package/directive/drag-drop/drag-container.directive.d.ts +0 -32
- package/directive/drag-drop/drag-drop.service.d.ts +0 -40
- package/directive/drag-drop/drag-placeholder.directive.d.ts +0 -6
- package/directive/drag-drop/drag-preview.directive.d.ts +0 -8
- package/directive/drag-drop/drag.directive.d.ts +0 -33
- package/directive/drag-drop/model/drag-container-instance.d.ts +0 -11
- package/directive/drag-drop/model/drag-instance.d.ts +0 -9
- package/directive/drag-drop/model/drag-process.d.ts +0 -4
- package/directive/drag-drop/model/drag-selection.d.ts +0 -6
- package/directive/drag-drop/model/drop-event.d.ts +0 -8
- package/directive/drag-drop/model/drop-target.d.ts +0 -3
- package/directive/drag-drop/model/point.d.ts +0 -4
- package/directive/drag-drop/model/public-api.d.ts +0 -7
- package/directive/drag-drop/public-api.d.ts +0 -6
- package/directive/drag-sort/drag-sort-container.directive.d.ts +0 -16
- package/directive/drag-sort/drag-sort-event.d.ts +0 -7
- package/directive/drag-sort/drag-sort-item.directive.d.ts +0 -30
- package/directive/drag-sort/public-api.d.ts +0 -3
- package/directive/dynamic-content-base.directive.d.ts +0 -33
- package/directive/full-screen/full-screen-toggle.directive.d.ts +0 -7
- package/directive/full-screen/full-screen.directive.d.ts +0 -12
- package/directive/full-screen/full-screen.service.d.ts +0 -9
- package/directive/highlight/highlight.directive.d.ts +0 -12
- package/directive/highlight/public-api.d.ts +0 -1
- package/directive/hint/hint.directive.d.ts +0 -36
- package/directive/hint/public-api.d.ts +0 -1
- package/directive/let/let.directive.d.ts +0 -18
- package/directive/let/public-api.d.ts +0 -1
- package/directive/loader/loader.directive.d.ts +0 -24
- package/directive/loader/public-api.d.ts +0 -1
- package/directive/no-autofill/no-autofill.directive.d.ts +0 -10
- package/directive/no-autofill/public-api.d.ts +0 -1
- package/directive/only-number/only-number.directive.d.ts +0 -28
- package/directive/only-number/public-api.d.ts +0 -1
- package/directive/public-api.d.ts +0 -21
- package/directive/resize-drag/public-api.d.ts +0 -1
- package/directive/resize-drag/resize-drag.directive.d.ts +0 -20
- package/directive/scroll-into-view/public-api.d.ts +0 -1
- package/directive/scroll-into-view/scroll-into-view.directive.d.ts +0 -13
- package/directive/scrollable/public-api.d.ts +0 -2
- package/directive/scrollable/scrollable/scrollable.component.d.ts +0 -34
- package/directive/scrollable/scrollable.directive.d.ts +0 -6
- package/directive/teta-template/public-api.d.ts +0 -1
- package/directive/teta-template/teta-template.directive.d.ts +0 -10
- package/directive/tooltip/public-api.d.ts +0 -1
- package/directive/tooltip/tooltip.directive.d.ts +0 -31
- package/index.d.ts +0 -19
- package/locale/en.d.ts +0 -2
- package/locale/public-api.d.ts +0 -4
- package/locale/ru.d.ts +0 -2
- package/locale/teta-config.service.d.ts +0 -11
- package/locale/teta-localisation.d.ts +0 -36
- package/observable/animation-frame.d.ts +0 -4
- package/observable/public-api.d.ts +0 -2
- package/observable/zone-observable.d.ts +0 -5
- package/pipe/date-pipe/public-api.d.ts +0 -1
- package/pipe/date-pipe/teta-date.pipe.d.ts +0 -11
- package/pipe/number-pipe/number.pipe.d.ts +0 -7
- package/pipe/number-pipe/public-api.d.ts +0 -1
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +0 -7
- package/pipe/prepend-zero/public-api.d.ts +0 -1
- package/pipe/public-api.d.ts +0 -4
- package/pipe/util/number-helper.d.ts +0 -3
- package/util/bool-or-func.d.ts +0 -1
- package/util/date-util.d.ts +0 -43
- package/util/export-dom-image.d.ts +0 -12
- package/util/forms-util.d.ts +0 -15
- package/util/is-function.d.ts +0 -1
- package/util/public-api.d.ts +0 -6
- package/util/string-util.d.ts +0 -4
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
3
|
-
import { IIdName } from '../../../common/contract/i-id-name';
|
|
4
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
5
|
-
import { ColumnResizeEvent } from '../contract/column-resize-event';
|
|
6
|
-
import { ICellCoordinates } from '../contract/i-cell-coordinates';
|
|
7
|
-
import { ICellEvent } from '../contract/i-cell-event';
|
|
8
|
-
import { ICellInstance, ICellInstanceValue } from '../contract/i-cell-instance';
|
|
9
|
-
import { ICellValue } from '../contract/i-cell-value';
|
|
10
|
-
import { SortEvent } from '../contract/sort-event';
|
|
11
|
-
import { TableColumn } from '../contract/table-column';
|
|
12
|
-
import { TableColumnStore } from '../contract/table-column-store';
|
|
13
|
-
import { TableRow } from '../contract/table-row';
|
|
14
|
-
import { EditEvent } from '../enum/edit-event.enum';
|
|
15
|
-
import { EditType } from '../enum/edit-type.enum';
|
|
16
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
17
|
-
import * as i0 from "@angular/core";
|
|
18
|
-
export declare class TableService<T> {
|
|
19
|
-
columns: Observable<TableColumn[]>;
|
|
20
|
-
displayData: Observable<TableRow<T>[]>;
|
|
21
|
-
dict: Observable<IDictionary<IIdName<any>[]>>;
|
|
22
|
-
filterOptions: Observable<IDictionary<IIdName<any>[]>>;
|
|
23
|
-
state: Observable<FilterState>;
|
|
24
|
-
selectType: SelectType;
|
|
25
|
-
editRowStart: Observable<ICellEvent | null>;
|
|
26
|
-
editRowStop: Observable<ICellCoordinates | null>;
|
|
27
|
-
editCellStart: Observable<ICellEvent | null>;
|
|
28
|
-
editCellStop: Observable<ICellCoordinates | null>;
|
|
29
|
-
valueChanged: Observable<ICellCoordinates | null>;
|
|
30
|
-
valueSet: Observable<ICellValue>;
|
|
31
|
-
stateChanged: Observable<FilterState>;
|
|
32
|
-
filterClear: Observable<TableColumn>;
|
|
33
|
-
selectedRows: Observable<T[]>;
|
|
34
|
-
activeRow: Observable<T | null>;
|
|
35
|
-
hiddenColumns: Observable<string[]>;
|
|
36
|
-
scrollIndex: Observable<number>;
|
|
37
|
-
editType: EditType;
|
|
38
|
-
editEvent: EditEvent;
|
|
39
|
-
rowEditable?: boolean | ((row: T) => boolean);
|
|
40
|
-
trackRow: (index: number, row: T) => any;
|
|
41
|
-
get dragSource(): TableColumn;
|
|
42
|
-
private initialColumnsHash;
|
|
43
|
-
private initialColumns;
|
|
44
|
-
private displayColumns;
|
|
45
|
-
private _columns;
|
|
46
|
-
private _hiddenColumns;
|
|
47
|
-
private _displayData;
|
|
48
|
-
private _dict;
|
|
49
|
-
private _filterOptions;
|
|
50
|
-
private _state;
|
|
51
|
-
private _cookieName?;
|
|
52
|
-
private _hiddenCookieName?;
|
|
53
|
-
private _columnsCookieName?;
|
|
54
|
-
private _editRowStart;
|
|
55
|
-
private _editRowStop;
|
|
56
|
-
private _editCellStart;
|
|
57
|
-
private _editCellStop;
|
|
58
|
-
private _valueChanged;
|
|
59
|
-
private _valueSet;
|
|
60
|
-
private _stateChanged;
|
|
61
|
-
private _filterClear;
|
|
62
|
-
private _dragSource?;
|
|
63
|
-
private _selectedRows;
|
|
64
|
-
private _activeRow;
|
|
65
|
-
private _scrollIndex;
|
|
66
|
-
private _currentEditCell?;
|
|
67
|
-
get currentEditCell(): ICellCoordinates;
|
|
68
|
-
constructor();
|
|
69
|
-
setData(data: T[]): void;
|
|
70
|
-
setDict(dict: IDictionary<IIdName<any>[]>): void;
|
|
71
|
-
setFilterOptions(filterOptions: IDictionary<IIdName<any>[]>): void;
|
|
72
|
-
setColumns(columns: TableColumn[]): void;
|
|
73
|
-
restoreDefaultColumns(): void;
|
|
74
|
-
updateColumns(columns: TableColumn[]): void;
|
|
75
|
-
saveColumnsState(): void;
|
|
76
|
-
clearColumnsState(): void;
|
|
77
|
-
setDisplayColumns(columns: TableColumn[]): void;
|
|
78
|
-
restoreColumns(): TableColumn[];
|
|
79
|
-
restoreColumnsState(columns: TableColumnStore[]): TableColumn[];
|
|
80
|
-
setState(state: FilterState): void;
|
|
81
|
-
setCookieName(name: string): void;
|
|
82
|
-
restoreState(): void;
|
|
83
|
-
saveHiddenColumns(hiddenColumns: string[]): void;
|
|
84
|
-
restoreHiddenColumns(): void;
|
|
85
|
-
sortAsc(sortEvent: SortEvent): void;
|
|
86
|
-
sortDesc(sortEvent: SortEvent): void;
|
|
87
|
-
clearSort(column: TableColumn): void;
|
|
88
|
-
clearAllSort(): void;
|
|
89
|
-
clearFilter(column: TableColumn): void;
|
|
90
|
-
clearAllFilters(): void;
|
|
91
|
-
pinColumn(column: TableColumn): void;
|
|
92
|
-
dragStart(column: TableColumn): void;
|
|
93
|
-
lockPreviousColumns(column: TableColumn, element: HTMLElement): void;
|
|
94
|
-
resizeColumn(event: ColumnResizeEvent): void;
|
|
95
|
-
autosizeColumn(column: TableColumn, target: HTMLElement): void;
|
|
96
|
-
autosizeAllColumns(target: HTMLElement): void;
|
|
97
|
-
reorderColumn(column: TableColumn, insertBefore: boolean): void;
|
|
98
|
-
getColumnParent(column: TableColumn): TableColumn;
|
|
99
|
-
startEditRow(cellEvent: ICellEvent): void;
|
|
100
|
-
startEditCell(cellEvent: ICellEvent): void;
|
|
101
|
-
setActiveRow(row: T): void;
|
|
102
|
-
selectRows(rows: T[]): void;
|
|
103
|
-
selectOrDeselectRow(row: T): void;
|
|
104
|
-
selectRange(row: T): void;
|
|
105
|
-
selectRow(row: T): void;
|
|
106
|
-
deselectRow(row: T): void;
|
|
107
|
-
selectAll(): void;
|
|
108
|
-
deselectAll(): void;
|
|
109
|
-
allRowsSelected(): boolean | null;
|
|
110
|
-
setHiddenColumns(value: string[]): void;
|
|
111
|
-
columnIsHidden(column: TableColumn): boolean;
|
|
112
|
-
changeValue(coordinates: ICellCoordinates): void;
|
|
113
|
-
setValue(cellValue: ICellValue): void;
|
|
114
|
-
setValue(cellValue: ICellInstanceValue<T>): void;
|
|
115
|
-
getRowByIndex(rowIndex?: number): TableRow<T> | undefined;
|
|
116
|
-
getRowIndex(row: T): number;
|
|
117
|
-
getEventCell(event: Event): HTMLElement | null;
|
|
118
|
-
getEventRow(event: Event): HTMLElement | null;
|
|
119
|
-
getNextEditableCell(coords: ICellCoordinates): ICellCoordinates | null;
|
|
120
|
-
getPreviousEditableCell(coords: ICellCoordinates): ICellCoordinates | null;
|
|
121
|
-
getNextCell(coords: ICellCoordinates): ICellCoordinates | null;
|
|
122
|
-
getPreviousCell(coords: ICellCoordinates): ICellCoordinates | null;
|
|
123
|
-
getNextRowCell(coords: ICellCoordinates): ICellCoordinates | null;
|
|
124
|
-
getPreviousRowCell(coords: ICellCoordinates): {
|
|
125
|
-
column: any;
|
|
126
|
-
row: number;
|
|
127
|
-
};
|
|
128
|
-
getColumnByName(columnName: string): any;
|
|
129
|
-
scrollToIndex(index: number): void;
|
|
130
|
-
getVisibleColumns(): any[];
|
|
131
|
-
getCellInstance(coords: ICellCoordinates): ICellInstance<T> | null;
|
|
132
|
-
private getFlatColumns;
|
|
133
|
-
private findParent;
|
|
134
|
-
private findParentColumn;
|
|
135
|
-
getTableElement(element: HTMLElement): Element;
|
|
136
|
-
private setColumnAutoWidth;
|
|
137
|
-
private clearValue;
|
|
138
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableService<any>, never>;
|
|
139
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TableService<any>>;
|
|
140
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
3
|
-
import { IIdName } from '../../../common/contract/i-id-name';
|
|
4
|
-
import { Align } from '../../../common/enum/align.enum';
|
|
5
|
-
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
6
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
7
|
-
import { DetailComponentBase } from '../base/detail-component-base';
|
|
8
|
-
import { ICellInstance, ICellInstanceEvent } from '../contract/i-cell-instance';
|
|
9
|
-
import { TableColumn } from '../contract/table-column';
|
|
10
|
-
import { TableRow } from '../contract/table-row';
|
|
11
|
-
import { EditEvent } from '../enum/edit-event.enum';
|
|
12
|
-
import { EditType } from '../enum/edit-type.enum';
|
|
13
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
14
|
-
import { TableService } from '../service/table.service';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
17
|
-
private _svc;
|
|
18
|
-
private _elementRef;
|
|
19
|
-
data: T[];
|
|
20
|
-
columns: TableColumn[];
|
|
21
|
-
dict: IDictionary<IIdName<any>[]>;
|
|
22
|
-
filterOptions: IDictionary<IIdName<any>[]>;
|
|
23
|
-
set state(state: FilterState);
|
|
24
|
-
cookieName: string;
|
|
25
|
-
virtual: boolean;
|
|
26
|
-
detailComponent: Type<DetailComponentBase<T>>;
|
|
27
|
-
activeRow: T;
|
|
28
|
-
selectedRows: T[];
|
|
29
|
-
selectType: SelectType;
|
|
30
|
-
aggregate: boolean;
|
|
31
|
-
trackRow: (index: number, row: T) => any;
|
|
32
|
-
trackColumns: (index: number, column: TableColumn) => any;
|
|
33
|
-
editType: EditType;
|
|
34
|
-
editEvent: EditEvent;
|
|
35
|
-
rowEditable: boolean | ((row: T) => boolean);
|
|
36
|
-
rowClass: (row: T, index?: number) => string;
|
|
37
|
-
set scrollToIndex(index: number);
|
|
38
|
-
showHeadCellMenu: boolean;
|
|
39
|
-
contextMenu: TemplateRef<any>;
|
|
40
|
-
contextMenuOpen: boolean;
|
|
41
|
-
contextMenuOpenChange: EventEmitter<boolean>;
|
|
42
|
-
stateChange: EventEmitter<FilterState>;
|
|
43
|
-
bodyLeft: EventEmitter<T>;
|
|
44
|
-
activeRowChange: EventEmitter<T>;
|
|
45
|
-
selectedRowsChange: EventEmitter<T[]>;
|
|
46
|
-
cellClick: EventEmitter<ICellInstanceEvent<T>>;
|
|
47
|
-
cellDoubleClick: EventEmitter<ICellInstanceEvent<T>>;
|
|
48
|
-
cellFocus: EventEmitter<ICellInstanceEvent<T>>;
|
|
49
|
-
cellKeyDown: EventEmitter<ICellInstanceEvent<T>>;
|
|
50
|
-
rowLeft: EventEmitter<T>;
|
|
51
|
-
rowEditStart: EventEmitter<ICellInstance<T>>;
|
|
52
|
-
rowEditEnd: EventEmitter<TableRow<T>>;
|
|
53
|
-
cellEditStart: EventEmitter<ICellInstance<T>>;
|
|
54
|
-
cellEditEnd: EventEmitter<ICellInstance<T>>;
|
|
55
|
-
valueChange: EventEmitter<ICellInstance<T>>;
|
|
56
|
-
tableService: EventEmitter<TableService<T>>;
|
|
57
|
-
menu: ElementRef;
|
|
58
|
-
private readonly tableClass;
|
|
59
|
-
rowHeight: import("@angular/core").InputSignal<number>;
|
|
60
|
-
selectedRowsList: T[];
|
|
61
|
-
contextMenuRow: T;
|
|
62
|
-
verticalAlign: typeof VerticalAlign;
|
|
63
|
-
align: typeof Align;
|
|
64
|
-
private _alive;
|
|
65
|
-
private _headElement;
|
|
66
|
-
private _state;
|
|
67
|
-
constructor(_svc: TableService<T>, _elementRef: ElementRef);
|
|
68
|
-
handleClickOutsideAnyRow(event: MouseEvent): void;
|
|
69
|
-
focusIn(event: FocusEvent): void;
|
|
70
|
-
dblclick(event: MouseEvent): void;
|
|
71
|
-
keydown(event: KeyboardEvent): void;
|
|
72
|
-
mousedown(event: MouseEvent): void;
|
|
73
|
-
ngOnInit(): void;
|
|
74
|
-
ngAfterViewInit(): void;
|
|
75
|
-
ngOnDestroy(): void;
|
|
76
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
77
|
-
setContextMenuOpen(value: boolean): void;
|
|
78
|
-
setContextMenuRow(event: MouseEvent): void;
|
|
79
|
-
private startEditRowOrCell;
|
|
80
|
-
private getCellElement;
|
|
81
|
-
private eventIsOnRow;
|
|
82
|
-
private getCoordinates;
|
|
83
|
-
private getRow;
|
|
84
|
-
onScroll: (event: any) => void;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "teta-table", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "dict": { "alias": "dict"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "state": { "alias": "state"; "required": false; }; "cookieName": { "alias": "cookieName"; "required": false; }; "virtual": { "alias": "virtual"; "required": false; }; "detailComponent": { "alias": "detailComponent"; "required": false; }; "activeRow": { "alias": "activeRow"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "selectType": { "alias": "selectType"; "required": false; }; "aggregate": { "alias": "aggregate"; "required": false; }; "trackRow": { "alias": "trackRow"; "required": false; }; "trackColumns": { "alias": "trackColumns"; "required": false; }; "editType": { "alias": "editType"; "required": false; }; "editEvent": { "alias": "editEvent"; "required": false; }; "rowEditable": { "alias": "rowEditable"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "scrollToIndex": { "alias": "scrollToIndex"; "required": false; }; "showHeadCellMenu": { "alias": "showHeadCellMenu"; "required": false; }; "contextMenu": { "alias": "contextMenu"; "required": false; }; "contextMenuOpen": { "alias": "contextMenuOpen"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; }, { "contextMenuOpenChange": "contextMenuOpenChange"; "stateChange": "stateChange"; "bodyLeft": "bodyLeft"; "activeRowChange": "activeRowChange"; "selectedRowsChange": "selectedRowsChange"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "cellFocus": "cellFocus"; "cellKeyDown": "cellKeyDown"; "rowLeft": "rowLeft"; "rowEditStart": "rowEditStart"; "rowEditEnd": "rowEditEnd"; "cellEditStart": "cellEditStart"; "cellEditEnd": "cellEditEnd"; "valueChange": "valueChange"; "tableService": "tableService"; }, never, ["*"], true, never>;
|
|
87
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Type } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
5
|
-
import { IIdName } from '../../../common/contract/i-id-name';
|
|
6
|
-
import { TetaConfigService } from '../../../locale/teta-config.service';
|
|
7
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
8
|
-
import { DetailComponentBase } from '../base/detail-component-base';
|
|
9
|
-
import { TableColumn } from '../contract/table-column';
|
|
10
|
-
import { TableRow } from '../contract/table-row';
|
|
11
|
-
import { AggregationType } from '../enum/aggregation-type.enum';
|
|
12
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
13
|
-
import { TableService } from '../service/table.service';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
|
|
16
|
-
private _svc;
|
|
17
|
-
private _elementRef;
|
|
18
|
-
private _config;
|
|
19
|
-
private _cdr;
|
|
20
|
-
virtual: boolean;
|
|
21
|
-
activeRow: T;
|
|
22
|
-
selectedRows: T[];
|
|
23
|
-
additionalComponent: Type<DetailComponentBase<T>>;
|
|
24
|
-
aggregate: boolean;
|
|
25
|
-
selectType: SelectType;
|
|
26
|
-
rowClass: (row: T, index?: number) => string;
|
|
27
|
-
trackRow: (index: number, row: T) => any;
|
|
28
|
-
trackColumns: (index: number, column: TableColumn) => any;
|
|
29
|
-
viewport: CdkVirtualScrollViewport;
|
|
30
|
-
rowHeight: import("@angular/core").InputSignal<number>;
|
|
31
|
-
private readonly tableBodyClass;
|
|
32
|
-
scrollChange: EventEmitter<Event>;
|
|
33
|
-
set data(data: TableRow<T>[]);
|
|
34
|
-
get data(): TableRow<T>[];
|
|
35
|
-
dict: IDictionary<IIdName<any>[]>;
|
|
36
|
-
locked: TableColumn[];
|
|
37
|
-
unlocked: TableColumn[];
|
|
38
|
-
selectTypeEnum: typeof SelectType;
|
|
39
|
-
aggregationType: typeof AggregationType;
|
|
40
|
-
lockedFlex: number;
|
|
41
|
-
lockedWidth: number;
|
|
42
|
-
totalFlex: number;
|
|
43
|
-
totalWidth: number;
|
|
44
|
-
private _columns;
|
|
45
|
-
private _alive;
|
|
46
|
-
private _data;
|
|
47
|
-
private _hiddenColumns;
|
|
48
|
-
private _obs;
|
|
49
|
-
set columns(columns: TableColumn[]);
|
|
50
|
-
get columns(): TableColumn[];
|
|
51
|
-
locale: Observable<TetaLocalisation>;
|
|
52
|
-
constructor(_svc: TableService<T>, _elementRef: ElementRef, _config: TetaConfigService, _cdr: ChangeDetectorRef);
|
|
53
|
-
setActiveRow(row: T, event: MouseEvent): void;
|
|
54
|
-
ngOnInit(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
getAggregateValue(column: TableColumn): number;
|
|
57
|
-
getAggregateText(column: TableColumn): string;
|
|
58
|
-
emitScroll(event: any): void;
|
|
59
|
-
trackTableRow: (index: number, row: TableRow<T>) => any;
|
|
60
|
-
private addResizeObserver;
|
|
61
|
-
private removeResizeObserver;
|
|
62
|
-
private getSum;
|
|
63
|
-
private getMin;
|
|
64
|
-
private getMax;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableBodyComponent<any>, "teta-table-body", never, { "virtual": { "alias": "virtual"; "required": false; }; "activeRow": { "alias": "activeRow"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "additionalComponent": { "alias": "additionalComponent"; "required": false; }; "aggregate": { "alias": "aggregate"; "required": false; }; "selectType": { "alias": "selectType"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "trackRow": { "alias": "trackRow"; "required": false; }; "trackColumns": { "alias": "trackColumns"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; "isSignal": true; }; }, { "scrollChange": "scrollChange"; }, never, ["*"], true, never>;
|
|
67
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { TableColumn } from '../../contract/table-column';
|
|
3
|
-
import { FilterState } from '../../../filter/contarct/filter-state';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { TetaLocalisation } from '../../../../locale/teta-localisation';
|
|
6
|
-
import { TableService } from '../../service/table.service';
|
|
7
|
-
import { TetaConfigService } from '../../../../locale/teta-config.service';
|
|
8
|
-
import { IDictionary } from '../../../../common/contract/i-dictionary';
|
|
9
|
-
import { IIdName } from '../../../../common/contract/i-id-name';
|
|
10
|
-
import { ITreeData } from '../../../../common/contract/i-tree-data';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class FilterDropdownTabComponent<T> implements OnInit {
|
|
13
|
-
private _svc;
|
|
14
|
-
private _config;
|
|
15
|
-
private _elementRef;
|
|
16
|
-
private _cdr;
|
|
17
|
-
columns: ITreeData[];
|
|
18
|
-
column: TableColumn;
|
|
19
|
-
state: FilterState;
|
|
20
|
-
data: T[];
|
|
21
|
-
close: () => void;
|
|
22
|
-
locale: Observable<TetaLocalisation>;
|
|
23
|
-
filterOptions: Observable<IDictionary<IIdName<any>[]>>;
|
|
24
|
-
enter(): void;
|
|
25
|
-
constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
26
|
-
clearFilter(): void;
|
|
27
|
-
applyFilter(): void;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FilterDropdownTabComponent<any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FilterDropdownTabComponent<any>, "teta-filter-dropdown-tab", never, { "columns": { "alias": "columns"; "required": false; }; "column": { "alias": "column"; "required": false; }; "state": { "alias": "state"; "required": false; }; "data": { "alias": "data"; "required": false; }; "close": { "alias": "close"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { TableService } from '../../service/table.service';
|
|
3
|
-
import { TetaConfigService } from '../../../../locale/teta-config.service';
|
|
4
|
-
import { TableColumn } from '../../contract/table-column';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { TetaLocalisation } from '../../../../locale/teta-localisation';
|
|
7
|
-
import { SortParam } from '../../../filter/contarct/sort-param';
|
|
8
|
-
import { FilterState } from '../../../filter/contarct/filter-state';
|
|
9
|
-
import { ITreeData } from '../../../../common/contract/i-tree-data';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class MainDropdownTabComponent<T> implements OnInit {
|
|
12
|
-
private _svc;
|
|
13
|
-
private _config;
|
|
14
|
-
private _elementRef;
|
|
15
|
-
private _cdr;
|
|
16
|
-
columns: ITreeData[];
|
|
17
|
-
column: TableColumn;
|
|
18
|
-
state: FilterState;
|
|
19
|
-
data: T[];
|
|
20
|
-
close: () => void;
|
|
21
|
-
headCellElementRef: ElementRef;
|
|
22
|
-
locale: Observable<TetaLocalisation>;
|
|
23
|
-
constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
24
|
-
get sortParam(): SortParam;
|
|
25
|
-
get filtered(): boolean;
|
|
26
|
-
get parent(): TableColumn;
|
|
27
|
-
pinColumn(): void;
|
|
28
|
-
sortAsc(event: MouseEvent): void;
|
|
29
|
-
sortDesc(event: MouseEvent): void;
|
|
30
|
-
clearSort(): void;
|
|
31
|
-
clearAllSort(): void;
|
|
32
|
-
hasFilteredColumns(): boolean;
|
|
33
|
-
hasSortedColumns(): boolean;
|
|
34
|
-
restoreDefaultColumns(): void;
|
|
35
|
-
clearFilter(): void;
|
|
36
|
-
clearAllFilters(): void;
|
|
37
|
-
autosizeColumn(): void;
|
|
38
|
-
autosizeAllColumns(): void;
|
|
39
|
-
ngOnInit(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MainDropdownTabComponent<any>, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MainDropdownTabComponent<any>, "teta-main-dropdown-tab", never, { "columns": { "alias": "columns"; "required": false; }; "column": { "alias": "column"; "required": false; }; "state": { "alias": "state"; "required": false; }; "data": { "alias": "data"; "required": false; }; "close": { "alias": "close"; "required": false; }; "headCellElementRef": { "alias": "headCellElementRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
3
|
-
import { TableColumn } from '../contract/table-column';
|
|
4
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
5
|
-
import { TableService } from '../service/table.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class TableHeadComponent<T> implements OnInit, OnDestroy {
|
|
8
|
-
private _svc;
|
|
9
|
-
private _cdr;
|
|
10
|
-
selectType: SelectType;
|
|
11
|
-
showHeadCellMenu: boolean;
|
|
12
|
-
private readonly tableHeadClass;
|
|
13
|
-
state: FilterState;
|
|
14
|
-
selectTypeEnum: typeof SelectType;
|
|
15
|
-
lockedFlex: number;
|
|
16
|
-
lockedWidth: number;
|
|
17
|
-
private _alive;
|
|
18
|
-
private _columns;
|
|
19
|
-
private _hiddenColumns;
|
|
20
|
-
set columns(columns: TableColumn[]);
|
|
21
|
-
get columns(): TableColumn[];
|
|
22
|
-
get locked(): TableColumn[];
|
|
23
|
-
get unlocked(): TableColumn[];
|
|
24
|
-
data: T[];
|
|
25
|
-
constructor(_svc: TableService<T>, _cdr: ChangeDetectorRef);
|
|
26
|
-
track(index: number, item: TableColumn): any;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
ngOnDestroy(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadComponent<any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadComponent<any>, "teta-table-head", never, { "selectType": { "alias": "selectType"; "required": false; }; "showHeadCellMenu": { "alias": "showHeadCellMenu"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
-
}
|
package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ITreeData } from '../../../../common/contract/i-tree-data';
|
|
4
|
-
import { TetaConfigService } from '../../../../locale/teta-config.service';
|
|
5
|
-
import { TetaLocalisation } from '../../../../locale/teta-localisation';
|
|
6
|
-
import { FilterState } from '../../../filter/contarct/filter-state';
|
|
7
|
-
import { TableColumn } from '../../contract/table-column';
|
|
8
|
-
import { TableService } from '../../service/table.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class VisibilityDropdownTabComponent<T> implements OnDestroy {
|
|
11
|
-
private _svc;
|
|
12
|
-
private _config;
|
|
13
|
-
private _elementRef;
|
|
14
|
-
private _cdr;
|
|
15
|
-
columns: ITreeData[];
|
|
16
|
-
column: TableColumn;
|
|
17
|
-
state: FilterState;
|
|
18
|
-
data: T[];
|
|
19
|
-
close: () => void;
|
|
20
|
-
locale: Observable<TetaLocalisation>;
|
|
21
|
-
hiddenColumns: string[];
|
|
22
|
-
get openItems(): ITreeData[];
|
|
23
|
-
set openItems(openItems: ITreeData[]);
|
|
24
|
-
get childMode(): ITreeData;
|
|
25
|
-
private _openItems;
|
|
26
|
-
private _alive;
|
|
27
|
-
constructor(_svc: TableService<T>, _config: TetaConfigService, _elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
|
28
|
-
columnIsHidden(column: TableColumn): boolean;
|
|
29
|
-
allColumnsVisible(): boolean;
|
|
30
|
-
setAllColumns(value: boolean): void;
|
|
31
|
-
setColumnsVisibility(): void;
|
|
32
|
-
compareItems: (item: any) => any;
|
|
33
|
-
setColumnVisibility(item: TableColumn, visible: boolean): void;
|
|
34
|
-
setChildrenVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
|
|
35
|
-
setParentsVisibility: (column: TableColumn, visible: boolean, hiddenColumns: string[]) => void;
|
|
36
|
-
showParents(column: TableColumn, hiddenColumns: string[]): void;
|
|
37
|
-
hideParents(column: TableColumn, hiddenColumns: string[]): void;
|
|
38
|
-
hideColumn(column: TableColumn, hiddenColumns: string[]): void;
|
|
39
|
-
showColumn(column: TableColumn, hiddenColumns: string[]): void;
|
|
40
|
-
private findParentColumn;
|
|
41
|
-
ngOnDestroy(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VisibilityDropdownTabComponent<any>, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisibilityDropdownTabComponent<any>, "teta-visibility-dropdown-tab", never, { "columns": { "alias": "columns"; "required": false; }; "column": { "alias": "column"; "required": false; }; "state": { "alias": "state"; "required": false; }; "data": { "alias": "data"; "required": false; }; "close": { "alias": "close"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { TableColumn } from '../contract/table-column';
|
|
3
|
-
import { TableService } from '../service/table.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TableHeadGroupComponent<T> implements OnInit, OnDestroy {
|
|
6
|
-
private _svc;
|
|
7
|
-
private _cdr;
|
|
8
|
-
showHeadCellMenu: boolean;
|
|
9
|
-
data: T[];
|
|
10
|
-
set column(column: TableColumn);
|
|
11
|
-
get column(): TableColumn;
|
|
12
|
-
get flexGrow(): any;
|
|
13
|
-
get flexBasis(): any;
|
|
14
|
-
private _alive;
|
|
15
|
-
private _column;
|
|
16
|
-
private _hiddenColumns;
|
|
17
|
-
private get _leaves();
|
|
18
|
-
constructor(_svc: TableService<T>, _cdr: ChangeDetectorRef);
|
|
19
|
-
columnIsHidden(column: TableColumn): boolean;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeadGroupComponent<any>, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeadGroupComponent<any>, "teta-table-head-group", never, { "showHeadCellMenu": { "alias": "showHeadCellMenu"; "required": false; }; "data": { "alias": "data"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
-
import { TableRow } from '../contract/table-row';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TableRowComponent<T> implements OnChanges {
|
|
6
|
-
row: TableRow<T>;
|
|
7
|
-
private _formGroup;
|
|
8
|
-
get control(): FormControl;
|
|
9
|
-
get formGroup(): FormGroup;
|
|
10
|
-
constructor();
|
|
11
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowComponent<any>, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowComponent<any>, "teta-table-row", never, { "row": { "alias": "row"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
2
|
-
import { TableColumn } from '../contract/table-column';
|
|
3
|
-
import { SortParam } from '../../filter/contarct/sort-param';
|
|
4
|
-
import { SortEvent } from '../contract/sort-event';
|
|
5
|
-
export declare class StateUtil {
|
|
6
|
-
static hasSortedColumns(state: FilterState): boolean;
|
|
7
|
-
static hasFilteredColumns(state: FilterState): boolean;
|
|
8
|
-
static getSortState(state: FilterState, column: TableColumn): SortParam | null;
|
|
9
|
-
static isColumnFiltered(state: FilterState, column: TableColumn): boolean;
|
|
10
|
-
static sortColumn(sortEvent: SortEvent, state: FilterState): FilterState;
|
|
11
|
-
static sortAsc(sortEvent: SortEvent, state: FilterState): FilterState;
|
|
12
|
-
static sortDesc(sortEvent: SortEvent, state: FilterState): FilterState;
|
|
13
|
-
static sort(sortEvent: SortEvent, state: FilterState, asc: boolean): FilterState;
|
|
14
|
-
static clearSortParam(sort: SortParam, sortParams: SortParam[]): SortParam[];
|
|
15
|
-
static clearSort(column: TableColumn, state: FilterState): FilterState;
|
|
16
|
-
static clearAllSort(state: FilterState): FilterState;
|
|
17
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TableColumn } from '../contract/table-column';
|
|
2
|
-
import { SortParam } from '../../filter/contarct/sort-param';
|
|
3
|
-
import { ListFilter } from '../../filter/contarct/list-filter';
|
|
4
|
-
import { NumericFilter } from '../../filter/contarct/numeric-filter';
|
|
5
|
-
import { DateFilter } from '../../filter/contarct/date-filter';
|
|
6
|
-
import { StringFilter } from '../../filter/contarct/string-filter';
|
|
7
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
8
|
-
export declare class TableUtil {
|
|
9
|
-
static getColumnLeaves(column: TableColumn): TableColumn[] | null;
|
|
10
|
-
static getData<T>(data: T[], state: FilterState): T[];
|
|
11
|
-
static sortData<T>(data: T[], state: FilterState): T[];
|
|
12
|
-
static filterData<T>(data: T[], state: FilterState): T[];
|
|
13
|
-
static filterString<T>(data: T[], filter: StringFilter): T[];
|
|
14
|
-
static filterDate<T>(data: T[], filter: DateFilter): T[];
|
|
15
|
-
static filterNumber<T>(data: T[], filter: NumericFilter): T[];
|
|
16
|
-
static filterList<T>(data: T[], filter: ListFilter): T[];
|
|
17
|
-
static sort<T>(data: T[], sortParam: SortParam): T[];
|
|
18
|
-
static desc(field: string): (a: any, b: any) => 1 | -1;
|
|
19
|
-
static asc(field: string): (a: any, b: any) => 1 | -1;
|
|
20
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked } from '@angular/core';
|
|
2
|
-
import { TabContentDirective } from '../tab-content.directive';
|
|
3
|
-
import { TabTitleDirective } from '../tab-title.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TabComponent implements AfterContentChecked {
|
|
6
|
-
/**
|
|
7
|
-
* Unique tab identifier. Must be unique for the entire document for proper accessibility support.
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
10
|
-
/**
|
|
11
|
-
* Simple (string only) title. Use the "ItskTabTitleDirective" directive for more complex use-cases.
|
|
12
|
-
*/
|
|
13
|
-
title: string;
|
|
14
|
-
/**
|
|
15
|
-
* Allows toggling disabled state of a given state. Disabled tabs can't be selected.
|
|
16
|
-
*/
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
titleTpl: TabTitleDirective;
|
|
19
|
-
contentTpl: TabContentDirective;
|
|
20
|
-
ngAfterContentChecked(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "teta-tab", never, { "id": { "alias": "id"; "required": false; }; "title": { "alias": "title"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, ["titleTpl", "contentTpl"], never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TabContentDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabContentDirective, "[tetaTabContent]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TabTitleDirective {
|
|
4
|
-
template: TemplateRef<any>;
|
|
5
|
-
constructor(template: TemplateRef<any>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[tetaTabTitle]", never, {}, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import { TabComponent } from '../tab/tab.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface ITabChangeEvent {
|
|
5
|
-
activeId: string | null;
|
|
6
|
-
nextId: string;
|
|
7
|
-
preventDefault: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare class TabsComponent implements AfterContentChecked {
|
|
10
|
-
classTabs: boolean;
|
|
11
|
-
get verticalClassTabs(): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* An identifier of an initially selected (active) tab. Use the "select" method to switch a tab programmatically.
|
|
14
|
-
*/
|
|
15
|
-
activeId: string | null;
|
|
16
|
-
/**
|
|
17
|
-
* Tabs direction
|
|
18
|
-
*/
|
|
19
|
-
direction: 'horizontal' | 'vertical';
|
|
20
|
-
/**
|
|
21
|
-
* Tabs size
|
|
22
|
-
*/
|
|
23
|
-
size: 's' | 'm';
|
|
24
|
-
/**
|
|
25
|
-
* Whether the closed tabs should be hidden without destroying them
|
|
26
|
-
*/
|
|
27
|
-
destroyOnHide: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* A tab change event fired right before the tab selection happens. See NgbTabChangeEvent for payload details
|
|
30
|
-
*/
|
|
31
|
-
tabChange: EventEmitter<ITabChangeEvent>;
|
|
32
|
-
tabs: QueryList<TabComponent>;
|
|
33
|
-
constructor();
|
|
34
|
-
/**
|
|
35
|
-
* Selects the tab with the given id and shows its associated pane.
|
|
36
|
-
* Any other tab that was previously selected becomes unselected and its associated pane is hidden.
|
|
37
|
-
*/
|
|
38
|
-
select(tabId: string): void;
|
|
39
|
-
ngAfterContentChecked(): void;
|
|
40
|
-
private _getTabById;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "teta-tabs", never, { "activeId": { "alias": "activeId"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "size": { "alias": "size"; "required": false; }; "destroyOnHide": { "alias": "destroyOnHide"; "required": false; }; }, { "tabChange": "tabChange"; }, ["tabs"], ["*"], true, never>;
|
|
43
|
-
}
|