@tetacom/ng-components 1.1.10 → 1.1.12
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 +37 -0
- package/assets/square.svg +7 -0
- package/common/service/dynamic-component.service.d.ts +4 -4
- package/common/service/overlay-container.service.d.ts +2 -2
- package/common/util/array-util.d.ts +2 -2
- package/common/util/dom-util.d.ts +1 -1
- package/component/accordion/accordion/accordion.component.d.ts +1 -4
- package/component/accordion/accordion-item/accordion-item.component.d.ts +5 -6
- package/component/date-picker/base-calendar.d.ts +7 -7
- package/component/date-picker/base-picker.d.ts +3 -3
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +3 -3
- package/component/date-picker/date-range/date-range.component.d.ts +5 -5
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +3 -3
- package/component/dropdown/dropdown-base.d.ts +2 -2
- package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +8 -10
- package/component/filter/contarct/filter-item.d.ts +17 -16
- package/component/input/input/input.component.d.ts +5 -8
- package/component/property-grid/property-grid/property-grid.component.d.ts +3 -3
- package/component/public-api.d.ts +2 -1
- package/component/select/select/select.component.d.ts +8 -9
- package/component/table/base/cell-component-base.d.ts +23 -13
- package/component/table/cell/cell.component.d.ts +5 -11
- package/component/table/cell-host/cell-host.component.d.ts +6 -6
- package/component/table/contract/i-cell-instance.d.ts +2 -1
- package/component/table/contract/public-api.d.ts +1 -0
- package/component/table/contract/table-column.d.ts +48 -39
- package/component/table/contract/table-row.d.ts +8 -0
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -2
- package/component/table/default/date-cell/date-cell.component.d.ts +2 -3
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +2 -3
- package/component/table/default/list-cell/list-cell.component.d.ts +5 -7
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -3
- package/component/table/default/string-cell/string-cell.component.d.ts +2 -3
- package/component/table/service/table.service.d.ts +32 -31
- package/component/table/table/table.component.d.ts +11 -10
- package/component/table/table-body/table-body.component.d.ts +13 -11
- package/component/table/table-head/table-head.component.d.ts +2 -2
- package/component/table/table.module.d.ts +1 -1
- package/component/three/custom-series/custom-series.component.d.ts +20 -0
- package/component/three/public-api.d.ts +10 -0
- package/component/three/three-chart/area-3d/area-3d.component.d.ts +14 -0
- package/component/three/three-chart/axes-3d/axes-3d.component.d.ts +36 -0
- package/component/three/three-chart/base-3d-series/base3d-series.component.d.ts +15 -0
- package/component/three/three-chart/directive/public-api.d.ts +1 -0
- package/component/three/three-chart/directive/series-3d-host.d.ts +16 -0
- package/component/three/three-chart/line-3d/line-3d.component.d.ts +19 -0
- package/component/three/three-chart/lithotype-3d/lithotype-3d.component.d.ts +29 -0
- package/component/three/three-chart/model/axes-3d-min-max.d.ts +5 -0
- package/component/three/three-chart/model/axis-3d-point.d.ts +4 -0
- package/component/three/three-chart/model/base-3d-series.d.ts +11 -0
- package/component/three/three-chart/model/base-3d-three-point.d.ts +8 -0
- package/component/three/three-chart/model/enum/public-api.d.ts +1 -0
- package/component/three/three-chart/model/enum/series-3d-type.d.ts +4 -0
- package/component/three/three-chart/model/i-3d-chart-config.d.ts +14 -0
- package/component/three/three-chart/model/line-3d-point.d.ts +5 -0
- package/component/three/three-chart/model/line-3d-series.d.ts +6 -0
- package/component/three/three-chart/model/lithotype-3d-point.d.ts +5 -0
- package/component/three/three-chart/model/lithotype-3d-series.d.ts +6 -0
- package/component/three/three-chart/model/public-api.d.ts +10 -0
- package/component/three/three-chart/scene/scene.component.d.ts +20 -0
- package/component/three/three-chart/service/chart-3d.service.d.ts +22 -0
- package/component/three/three-chart/three-chart.component.d.ts +16 -0
- package/directive/context-menu/context-menu.directive.d.ts +4 -5
- package/directive/drag-drop/drag.directive.d.ts +4 -4
- package/directive/drag-sort/drag-sort-container.directive.d.ts +2 -3
- package/directive/dynamic-content-base.directive.d.ts +8 -9
- package/directive/hint/hint.directive.d.ts +5 -5
- package/directive/tooltip/tooltip.directive.d.ts +3 -3
- package/esm2022/common/service/click.service.mjs +3 -3
- package/esm2022/common/service/dynamic-component.service.mjs +6 -6
- package/esm2022/common/service/overlay-container.service.mjs +6 -6
- package/esm2022/common/util/array-util.mjs +6 -5
- package/esm2022/common/util/dom-util.mjs +4 -3
- package/esm2022/common/util/position-util.mjs +10 -5
- package/esm2022/component/accordion/accordion/accordion.component.mjs +6 -10
- package/esm2022/component/accordion/accordion-content.directive.mjs +3 -3
- package/esm2022/component/accordion/accordion-head/accordion-head.component.mjs +3 -3
- package/esm2022/component/accordion/accordion-item/accordion-item.component.mjs +7 -9
- package/esm2022/component/accordion/accordion.module.mjs +4 -4
- package/esm2022/component/autocomplete/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/component/autocomplete/autocomplete.module.mjs +4 -4
- package/esm2022/component/avatar/avatar/avatar.component.mjs +3 -3
- package/esm2022/component/avatar/avatar.module.mjs +4 -4
- package/esm2022/component/button/button/button.component.mjs +3 -3
- package/esm2022/component/button/button.module.mjs +4 -4
- package/esm2022/component/chart-3d/chart-3d.module.mjs +4 -4
- package/esm2022/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
- package/esm2022/component/checkbox/checkbox/checkbox.component.mjs +5 -5
- package/esm2022/component/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/component/date-picker/base-calendar.mjs +55 -21
- package/esm2022/component/date-picker/base-picker.mjs +4 -4
- package/esm2022/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +11 -9
- package/esm2022/component/date-picker/date-picker/date-picker.component.mjs +3 -3
- package/esm2022/component/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/component/date-picker/date-range/date-range.component.mjs +11 -11
- package/esm2022/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +14 -12
- package/esm2022/component/date-picker/day-picker/day-item/day-item.component.mjs +3 -3
- package/esm2022/component/date-picker/day-picker/day-picker.component.mjs +3 -3
- package/esm2022/component/date-picker/month-picker/month-picker.component.mjs +3 -3
- package/esm2022/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +3 -3
- package/esm2022/component/date-picker/year-picker/year-picker.component.mjs +3 -3
- package/esm2022/component/delimiter/delimiter/delimiter.component.mjs +3 -3
- package/esm2022/component/delimiter/delimiter.module.mjs +4 -4
- package/esm2022/component/divider/divider/divider.component.mjs +3 -3
- package/esm2022/component/divider/divider.module.mjs +4 -4
- package/esm2022/component/dropdown/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/component/dropdown/dropdown-base.mjs +20 -16
- package/esm2022/component/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2022/component/dropdown/dropdown-head.directive.mjs +3 -3
- package/esm2022/component/dropdown/dropdown.directive.mjs +3 -3
- package/esm2022/component/dropdown/dropdown.module.mjs +4 -4
- package/esm2022/component/dynamic-component/dynamic-component.module.mjs +4 -4
- package/esm2022/component/dynamic-component/popup-content/popup-content.component.mjs +3 -3
- package/esm2022/component/expand-card/expand-card/expand-card.component.mjs +3 -3
- package/esm2022/component/expand-card/expand-card.module.mjs +4 -4
- package/esm2022/component/expand-card/expand-item/expand-item.component.mjs +3 -3
- package/esm2022/component/expand-panel/expand-panel/expand-panel.component.mjs +3 -3
- package/esm2022/component/expand-panel/expand-panel-content.directive.mjs +3 -3
- package/esm2022/component/expand-panel/expand-panel-head.directive.mjs +3 -3
- package/esm2022/component/expand-panel/expand-panel.module.mjs +4 -4
- package/esm2022/component/file-upload/file-item/file-item.component.mjs +3 -3
- package/esm2022/component/file-upload/file-upload-area/file-upload-area.component.mjs +12 -12
- package/esm2022/component/file-upload/file-upload.module.mjs +4 -4
- package/esm2022/component/filter/boolean-filter/boolean-filter.component.mjs +3 -3
- package/esm2022/component/filter/contarct/filter-item.mjs +1 -1
- package/esm2022/component/filter/date-filter/date-filter.component.mjs +3 -3
- package/esm2022/component/filter/filter-host/filter-host.component.mjs +3 -3
- package/esm2022/component/filter/filter.module.mjs +4 -4
- package/esm2022/component/filter/list-filter/list-filter.component.mjs +3 -3
- package/esm2022/component/filter/numeric-filter/numeric-filter.component.mjs +3 -3
- package/esm2022/component/filter/string-filter/string-filter.component.mjs +3 -3
- package/esm2022/component/icon/icon/icon.component.mjs +3 -3
- package/esm2022/component/icon/icon-file/icon-file.component.mjs +3 -3
- package/esm2022/component/icon/icon-file/icon-file.module.mjs +4 -4
- package/esm2022/component/icon/icon-sprite.directive.mjs +3 -3
- package/esm2022/component/icon/icon.module.mjs +4 -4
- package/esm2022/component/icon/icon.service.mjs +3 -3
- package/esm2022/component/input/color-input/color-input.component.mjs +7 -9
- package/esm2022/component/input/form-group-title/form-group-title.component.mjs +3 -3
- package/esm2022/component/input/input/input.component.mjs +7 -9
- package/esm2022/component/input/input.module.mjs +4 -4
- package/esm2022/component/input/text-field/text-field.component.mjs +3 -3
- package/esm2022/component/message/message/message.component.mjs +3 -3
- package/esm2022/component/message/message-host/message-host.component.mjs +3 -3
- package/esm2022/component/message/message.module.mjs +4 -4
- package/esm2022/component/message/message.service.mjs +3 -3
- package/esm2022/component/modal/dialog/dialog.component.mjs +3 -3
- package/esm2022/component/modal/dialog.service.mjs +3 -3
- package/esm2022/component/modal/modal-container/modal-container.component.mjs +3 -3
- package/esm2022/component/modal/modal.module.mjs +4 -4
- package/esm2022/component/modal/modal.service.mjs +3 -3
- package/esm2022/component/pager/pager/pager.component.mjs +3 -3
- package/esm2022/component/pager/pager.module.mjs +4 -4
- package/esm2022/component/panel/panel/panel.component.mjs +3 -3
- package/esm2022/component/panel/panel.module.mjs +4 -4
- package/esm2022/component/progress-bar/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/component/progress-bar/progress-bar.module.mjs +4 -4
- package/esm2022/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +3 -3
- package/esm2022/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +3 -3
- package/esm2022/component/property-grid/property-grid/property-grid-item-description.directive.mjs +3 -3
- package/esm2022/component/property-grid/property-grid/property-grid.component.mjs +12 -15
- package/esm2022/component/property-grid/property-grid.module.mjs +4 -4
- package/esm2022/component/public-api.mjs +4 -2
- package/esm2022/component/radio/radio/radio.component.mjs +3 -3
- package/esm2022/component/radio/radio-button/radio-button.component.mjs +3 -3
- package/esm2022/component/radio/radio.module.mjs +4 -4
- package/esm2022/component/resize-panel/resize-panel/resize-panel.component.mjs +3 -3
- package/esm2022/component/resize-panel/resize-panel.module.mjs +4 -4
- package/esm2022/component/select/select/select.component.mjs +18 -20
- package/esm2022/component/select/select-option.directive.mjs +3 -3
- package/esm2022/component/select/select-value.directive.mjs +3 -3
- package/esm2022/component/select/select.module.mjs +4 -4
- package/esm2022/component/sidebar/sidebar/sidebar.component.mjs +3 -3
- package/esm2022/component/sidebar/sidebar.module.mjs +4 -4
- package/esm2022/component/switch/switch/switch.component.mjs +3 -3
- package/esm2022/component/switch/switch-button/switch-button.component.mjs +3 -3
- package/esm2022/component/switch/switch.module.mjs +4 -4
- package/esm2022/component/switch/switch.service.mjs +3 -3
- package/esm2022/component/table/base/cell-component-base.mjs +97 -40
- package/esm2022/component/table/base/head-cell-component-base.mjs +3 -3
- package/esm2022/component/table/cell/cell.component.mjs +6 -16
- package/esm2022/component/table/cell-host/cell-host.component.mjs +11 -11
- package/esm2022/component/table/contract/i-cell-coordinates.mjs +1 -1
- package/esm2022/component/table/contract/i-cell-event.mjs +1 -1
- package/esm2022/component/table/contract/i-cell-instance.mjs +1 -1
- package/esm2022/component/table/contract/i-cell-value.mjs +1 -1
- package/esm2022/component/table/contract/public-api.mjs +2 -1
- package/esm2022/component/table/contract/table-column.mjs +8 -5
- package/esm2022/component/table/contract/table-row.mjs +9 -0
- package/esm2022/component/table/default/boolean-cell/boolean-cell.component.mjs +5 -8
- package/esm2022/component/table/default/date-cell/date-cell.component.mjs +5 -10
- package/esm2022/component/table/default/date-time-cell/date-time-cell.component.mjs +5 -9
- package/esm2022/component/table/default/default-head-cell/default-head-cell.component.mjs +3 -3
- package/esm2022/component/table/default/list-cell/list-cell.component.mjs +9 -16
- package/esm2022/component/table/default/numeric-cell/numeric-cell.component.mjs +6 -18
- package/esm2022/component/table/default/string-cell/string-cell.component.mjs +6 -17
- package/esm2022/component/table/head-cell/head-cell.component.mjs +3 -3
- package/esm2022/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +3 -3
- package/esm2022/component/table/head-cell-host/head-cell-host.component.mjs +3 -3
- package/esm2022/component/table/selection-cell/selection-cell.component.mjs +3 -3
- package/esm2022/component/table/selection-head-cell/selection-head-cell.component.mjs +3 -3
- package/esm2022/component/table/service/table.service.mjs +106 -77
- package/esm2022/component/table/table/table.component.mjs +48 -44
- package/esm2022/component/table/table-body/table-body.component.mjs +36 -44
- package/esm2022/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +3 -3
- package/esm2022/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +3 -3
- package/esm2022/component/table/table-head/table-head.component.mjs +13 -14
- package/esm2022/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +3 -3
- package/esm2022/component/table/table-head-group/table-head-group.component.mjs +3 -3
- package/esm2022/component/table/table.module.mjs +11 -8
- package/esm2022/component/tabs/tab/tab.component.mjs +3 -3
- package/esm2022/component/tabs/tab-content.directive.mjs +3 -3
- package/esm2022/component/tabs/tab-title.directive.mjs +3 -3
- package/esm2022/component/tabs/tabs/tabs.component.mjs +3 -3
- package/esm2022/component/tabs/tabs.module.mjs +4 -4
- package/esm2022/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
- package/esm2022/component/theme-switch/theme-switch.module.mjs +4 -4
- package/esm2022/component/theme-switch/theme-switch.service.mjs +3 -3
- package/esm2022/component/three/custom-series/custom-series.component.mjs +34 -0
- package/esm2022/component/three/public-api.mjs +11 -0
- package/esm2022/component/three/three-chart/area-3d/area-3d.component.mjs +53 -0
- package/esm2022/component/three/three-chart/axes-3d/axes-3d.component.mjs +57 -0
- package/esm2022/component/three/three-chart/base-3d-series/base3d-series.component.mjs +29 -0
- package/esm2022/component/three/three-chart/directive/public-api.mjs +2 -0
- package/esm2022/component/three/three-chart/directive/series-3d-host.mjs +47 -0
- package/esm2022/component/three/three-chart/line-3d/line-3d.component.mjs +44 -0
- package/esm2022/component/three/three-chart/lithotype-3d/lithotype-3d.component.mjs +80 -0
- package/esm2022/component/three/three-chart/model/axes-3d-min-max.mjs +2 -0
- package/esm2022/component/three/three-chart/model/axis-3d-point.mjs +2 -0
- package/esm2022/component/three/three-chart/model/base-3d-series.mjs +2 -0
- package/esm2022/component/three/three-chart/model/base-3d-three-point.mjs +2 -0
- package/esm2022/component/three/three-chart/model/enum/public-api.mjs +2 -0
- package/esm2022/component/three/three-chart/model/enum/series-3d-type.mjs +6 -0
- package/esm2022/component/three/three-chart/model/i-3d-chart-config.mjs +2 -0
- package/esm2022/component/three/three-chart/model/line-3d-point.mjs +2 -0
- package/esm2022/component/three/three-chart/model/line-3d-series.mjs +2 -0
- package/esm2022/component/three/three-chart/model/lithotype-3d-point.mjs +2 -0
- package/esm2022/component/three/three-chart/model/lithotype-3d-series.mjs +2 -0
- package/esm2022/component/three/three-chart/model/public-api.mjs +11 -0
- package/esm2022/component/three/three-chart/scene/scene.component.mjs +47 -0
- package/esm2022/component/three/three-chart/service/chart-3d.service.mjs +82 -0
- package/esm2022/component/three/three-chart/three-chart.component.mjs +37 -0
- package/esm2022/component/toggle/toggle/toggle.component.mjs +3 -3
- package/esm2022/component/toggle/toggle.module.mjs +4 -4
- package/esm2022/component/toolbar/toolbar/toolbar.component.mjs +3 -3
- package/esm2022/component/toolbar/toolbar.module.mjs +4 -4
- package/esm2022/component/tree/tree/tree.component.mjs +3 -3
- package/esm2022/component/tree/tree-item/tree-item.component.mjs +3 -3
- package/esm2022/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
- package/esm2022/component/tree/tree.module.mjs +4 -4
- package/esm2022/component/tree/tree.service.mjs +3 -3
- package/esm2022/directive/auto-position/auto-position.directive.mjs +3 -3
- package/esm2022/directive/auto-position/auto-position.module.mjs +4 -4
- package/esm2022/directive/click-outside/click-outside.directive.mjs +3 -3
- package/esm2022/directive/click-outside/click-outside.module.mjs +4 -4
- package/esm2022/directive/context-menu/context-menu.directive.mjs +10 -10
- package/esm2022/directive/context-menu/context-menu.module.mjs +4 -4
- package/esm2022/directive/disable-control/disable-control.directive.mjs +3 -3
- package/esm2022/directive/disable-control/disable-control.module.mjs +4 -4
- package/esm2022/directive/drag-drop/drag-container.directive.mjs +3 -3
- package/esm2022/directive/drag-drop/drag-drop.module.mjs +4 -4
- package/esm2022/directive/drag-drop/drag-drop.service.mjs +3 -3
- package/esm2022/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
- package/esm2022/directive/drag-drop/drag-preview.directive.mjs +3 -3
- package/esm2022/directive/drag-drop/drag.directive.mjs +20 -16
- package/esm2022/directive/drag-sort/drag-sort-container.directive.mjs +6 -10
- package/esm2022/directive/drag-sort/drag-sort-item.directive.mjs +4 -4
- package/esm2022/directive/drag-sort/drag-sort.module.mjs +4 -4
- package/esm2022/directive/dynamic-content-base.directive.mjs +8 -10
- package/esm2022/directive/highlight/highlight.directive.mjs +3 -3
- package/esm2022/directive/highlight/highlight.module.mjs +4 -4
- package/esm2022/directive/hint/hint.directive.mjs +13 -10
- package/esm2022/directive/hint/hint.module.mjs +4 -4
- package/esm2022/directive/let/let.directive.mjs +3 -3
- package/esm2022/directive/let/let.module.mjs +4 -4
- package/esm2022/directive/loader/loader.directive.mjs +8 -10
- package/esm2022/directive/loader/loader.module.mjs +4 -4
- package/esm2022/directive/no-autofill/no-autofill.directive.mjs +3 -3
- package/esm2022/directive/no-autofill/no-autofill.module.mjs +4 -4
- package/esm2022/directive/only-number/only-number.directive.mjs +4 -8
- package/esm2022/directive/only-number/only-number.module.mjs +4 -4
- package/esm2022/directive/resize-drag/resize-drag.directive.mjs +3 -3
- package/esm2022/directive/resize-drag/resize-drag.module.mjs +4 -4
- package/esm2022/directive/scroll-into-view/scroll-into-view.directive.mjs +3 -3
- package/esm2022/directive/scroll-into-view/scroll-into-view.module.mjs +4 -4
- package/esm2022/directive/scrollable/scrollable/scrollable.component.mjs +3 -3
- package/esm2022/directive/scrollable/scrollable.directive.mjs +3 -3
- package/esm2022/directive/scrollable/scrollable.module.mjs +4 -4
- package/esm2022/directive/teta-template/teta-template.directive.mjs +3 -3
- package/esm2022/directive/teta-template/teta-template.module.mjs +4 -4
- package/esm2022/directive/tooltip/tooltip.directive.mjs +12 -13
- package/esm2022/directive/tooltip/tooltip.module.mjs +4 -4
- package/esm2022/locale/teta-config.service.mjs +3 -3
- package/esm2022/pipe/date-pipe/teta-date-pipe.module.mjs +4 -4
- package/esm2022/pipe/date-pipe/teta-date.pipe.mjs +3 -3
- package/esm2022/pipe/number-pipe/number-pipe.module.mjs +4 -4
- package/esm2022/pipe/number-pipe/number.pipe.mjs +3 -3
- package/esm2022/util/forms-util.mjs +11 -5
- package/fesm2022/tetacom-ng-components.mjs +1989 -1480
- package/fesm2022/tetacom-ng-components.mjs.map +1 -1
- package/package.json +11 -7
- package/style/dropdown.scss +3 -3
- package/style/table.scss +4 -0
- package/util/forms-util.d.ts +1 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
-
import { TableService } from '../../service/table.service';
|
|
4
3
|
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
4
|
+
import { TableService } from '../../service/table.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class BooleanCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
7
7
|
svc: TableService<T>;
|
|
8
8
|
cdr: ChangeDetectorRef;
|
|
9
9
|
input: ElementRef;
|
|
10
10
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
11
|
-
setValue(): void;
|
|
12
11
|
ngOnInit(): void;
|
|
13
12
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
14
13
|
stopEdit(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
|
|
2
3
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
-
import { TableService } from '../../service/table.service';
|
|
4
4
|
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
5
|
-
import {
|
|
5
|
+
import { TableService } from '../../service/table.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
8
8
|
protected svc: TableService<T>;
|
|
@@ -10,7 +10,6 @@ export declare class DateCellComponent<T> extends CellComponentBase<T> implement
|
|
|
10
10
|
input: DatePickerComponent;
|
|
11
11
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
-
setValue(value: Date): void;
|
|
14
13
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
15
14
|
stopEdit(): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateCellComponent<any>, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { DatePickerComponent } from '../../../date-picker/date-picker/date-picker.component';
|
|
2
3
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
-
import { TableService } from '../../service/table.service';
|
|
4
4
|
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
5
|
-
import {
|
|
5
|
+
import { TableService } from '../../service/table.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DateTimeCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
8
8
|
protected svc: TableService<T>;
|
|
@@ -10,7 +10,6 @@ export declare class DateTimeCellComponent<T> extends CellComponentBase<T> imple
|
|
|
10
10
|
input: DatePickerComponent;
|
|
11
11
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
12
12
|
ngOnInit(): void;
|
|
13
|
-
setValue(value: Date): void;
|
|
14
13
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
15
14
|
stopEdit(): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeCellComponent<any>, never>;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { TableService } from '../../service/table.service';
|
|
3
|
-
import { CellComponentBase } from '../../base/cell-component-base';
|
|
4
|
-
import { SelectComponent } from '../../../select/select/select.component';
|
|
5
2
|
import { IIdName } from '../../../../common/contract/i-id-name';
|
|
6
|
-
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
7
3
|
import { VerticalAlign } from '../../../../common/enum/vertical-align.enum';
|
|
4
|
+
import { SelectComponent } from '../../../select/select/select.component';
|
|
5
|
+
import { CellComponentBase } from '../../base/cell-component-base';
|
|
6
|
+
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
7
|
+
import { TableService } from '../../service/table.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ListCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
10
10
|
protected svc: TableService<T>;
|
|
11
11
|
protected cdr: ChangeDetectorRef;
|
|
12
|
-
get value(): string;
|
|
13
12
|
get displayFilterOptions(): IIdName<any>[];
|
|
14
13
|
input: SelectComponent;
|
|
15
14
|
verticalAlign: typeof VerticalAlign;
|
|
16
15
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
17
|
-
setValue(value: any): void;
|
|
18
16
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
19
17
|
stopEdit(): void;
|
|
20
18
|
ngOnInit(): void;
|
|
21
|
-
|
|
19
|
+
protected getValue(value: any): string;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListCellComponent<any>, never>;
|
|
23
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListCellComponent<any>, "teta-list-cell", never, {}, {}, never, never, false, never>;
|
|
24
22
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
-
import { TableService } from '../../service/table.service';
|
|
4
3
|
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
4
|
+
import { TableService } from '../../service/table.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NumericCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
7
7
|
protected svc: TableService<T>;
|
|
8
8
|
protected cdr: ChangeDetectorRef;
|
|
9
9
|
input: ElementRef;
|
|
10
10
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
11
|
-
applyValue(value: any): void;
|
|
12
|
-
setValue(): void;
|
|
13
11
|
ngOnInit(): void;
|
|
14
12
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
15
13
|
stopEdit(): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { Align } from '../../../../common/enum/align.enum';
|
|
2
3
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
|
-
import { TableService } from '../../service/table.service';
|
|
4
4
|
import { ICellCoordinates } from '../../contract/i-cell-coordinates';
|
|
5
|
-
import {
|
|
5
|
+
import { TableService } from '../../service/table.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class StringCellComponent<T> extends CellComponentBase<T> implements OnInit {
|
|
8
8
|
svc: TableService<T>;
|
|
@@ -10,7 +10,6 @@ export declare class StringCellComponent<T> extends CellComponentBase<T> impleme
|
|
|
10
10
|
align: typeof Align;
|
|
11
11
|
input: ElementRef;
|
|
12
12
|
constructor(svc: TableService<T>, cdr: ChangeDetectorRef);
|
|
13
|
-
setValue(): void;
|
|
14
13
|
ngOnInit(): void;
|
|
15
14
|
startEdit(initiator: ICellCoordinates, type: 'cell' | 'row'): void;
|
|
16
15
|
stopEdit(): void;
|
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
import { ICellCoordinates } from '../contract/i-cell-coordinates';
|
|
2
|
-
import { TableColumn } from '../contract/table-column';
|
|
3
|
-
import { FilterState } from '../../filter/contarct/filter-state';
|
|
4
1
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ColumnResizeEvent } from '../contract/column-resize-event';
|
|
6
|
-
import { SortEvent } from '../contract/sort-event';
|
|
7
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
8
|
-
import { EditType } from '../enum/edit-type.enum';
|
|
9
|
-
import { EditEvent } from '../enum/edit-event.enum';
|
|
10
2
|
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
11
3
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
4
|
+
import { FilterState } from '../../filter/contarct/filter-state';
|
|
5
|
+
import { ColumnResizeEvent } from '../contract/column-resize-event';
|
|
6
|
+
import { ICellCoordinates } from '../contract/i-cell-coordinates';
|
|
14
7
|
import { ICellEvent } from '../contract/i-cell-event';
|
|
15
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';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class TableService<T> {
|
|
18
19
|
columns: Observable<TableColumn[]>;
|
|
19
|
-
displayData: Observable<T[]>;
|
|
20
|
+
displayData: Observable<TableRow<T>[]>;
|
|
20
21
|
dict: Observable<IDictionary<IIdName<any>[]>>;
|
|
21
22
|
filterOptions: Observable<IDictionary<IIdName<any>[]>>;
|
|
22
23
|
state: Observable<FilterState>;
|
|
23
24
|
selectType: SelectType;
|
|
24
|
-
editRowStart: Observable<ICellEvent>;
|
|
25
|
-
editRowStop: Observable<ICellCoordinates>;
|
|
26
|
-
editCellStart: Observable<ICellEvent>;
|
|
27
|
-
editCellStop: Observable<ICellCoordinates>;
|
|
28
|
-
valueChanged: Observable<ICellCoordinates>;
|
|
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>;
|
|
29
30
|
valueSet: Observable<ICellValue>;
|
|
30
31
|
stateChanged: Observable<FilterState>;
|
|
31
32
|
filterClear: Observable<TableColumn>;
|
|
32
33
|
selectedRows: Observable<T[]>;
|
|
33
|
-
activeRow: Observable<T>;
|
|
34
|
+
activeRow: Observable<T | null>;
|
|
34
35
|
hiddenColumns: Observable<string[]>;
|
|
35
36
|
scrollIndex: Observable<number>;
|
|
36
37
|
editType: EditType;
|
|
37
38
|
editEvent: EditEvent;
|
|
38
|
-
rowEditable
|
|
39
|
+
rowEditable?: boolean | ((row: T) => boolean);
|
|
39
40
|
trackRow: (index: number, row: T) => any;
|
|
40
41
|
get dragSource(): TableColumn;
|
|
41
42
|
private initialColumnsHash;
|
|
@@ -47,9 +48,9 @@ export declare class TableService<T> {
|
|
|
47
48
|
private _dict;
|
|
48
49
|
private _filterOptions;
|
|
49
50
|
private _state;
|
|
50
|
-
private _cookieName
|
|
51
|
-
private _hiddenCookieName
|
|
52
|
-
private _columnsCookieName
|
|
51
|
+
private _cookieName?;
|
|
52
|
+
private _hiddenCookieName?;
|
|
53
|
+
private _columnsCookieName?;
|
|
53
54
|
private _editRowStart;
|
|
54
55
|
private _editRowStop;
|
|
55
56
|
private _editCellStart;
|
|
@@ -58,11 +59,11 @@ export declare class TableService<T> {
|
|
|
58
59
|
private _valueSet;
|
|
59
60
|
private _stateChanged;
|
|
60
61
|
private _filterClear;
|
|
61
|
-
private _dragSource
|
|
62
|
+
private _dragSource?;
|
|
62
63
|
private _selectedRows;
|
|
63
64
|
private _activeRow;
|
|
64
65
|
private _scrollIndex;
|
|
65
|
-
private _currentEditCell
|
|
66
|
+
private _currentEditCell?;
|
|
66
67
|
get currentEditCell(): ICellCoordinates;
|
|
67
68
|
constructor();
|
|
68
69
|
setData(data: T[]): void;
|
|
@@ -111,24 +112,24 @@ export declare class TableService<T> {
|
|
|
111
112
|
changeValue(coordinates: ICellCoordinates): void;
|
|
112
113
|
setValue(cellValue: ICellValue): void;
|
|
113
114
|
setValue(cellValue: ICellInstanceValue<T>): void;
|
|
114
|
-
getRowByIndex(rowIndex
|
|
115
|
+
getRowByIndex(rowIndex?: number): TableRow<T> | undefined;
|
|
115
116
|
getRowIndex(row: T): number;
|
|
116
117
|
getEventCell(event: Event): HTMLElement | null;
|
|
117
118
|
getEventRow(event: Event): HTMLElement | null;
|
|
118
|
-
getNextEditableCell(coords: ICellCoordinates): ICellCoordinates;
|
|
119
|
-
getPreviousEditableCell(coords: ICellCoordinates): ICellCoordinates;
|
|
120
|
-
getNextCell(coords: ICellCoordinates): ICellCoordinates;
|
|
121
|
-
getPreviousCell(coords: ICellCoordinates): ICellCoordinates;
|
|
122
|
-
getNextRowCell(coords: ICellCoordinates): ICellCoordinates;
|
|
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;
|
|
123
124
|
getPreviousRowCell(coords: ICellCoordinates): {
|
|
124
125
|
column: any;
|
|
125
126
|
row: number;
|
|
126
127
|
};
|
|
127
128
|
getColumnByName(columnName: string): any;
|
|
128
129
|
scrollToIndex(index: number): void;
|
|
129
|
-
boolOrFuncCallback<M>(variable: boolean | ((row: M) => boolean)): (args: M) => boolean;
|
|
130
|
+
boolOrFuncCallback<M>(variable: boolean | ((row: M | undefined) => boolean)): (args: M) => boolean;
|
|
130
131
|
getVisibleColumns(): any[];
|
|
131
|
-
getCellInstance(coords: ICellCoordinates): ICellInstance<T
|
|
132
|
+
getCellInstance(coords: ICellCoordinates): ICellInstance<T> | null;
|
|
132
133
|
private getFlatColumns;
|
|
133
134
|
private findParent;
|
|
134
135
|
private findParentColumn;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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';
|
|
4
6
|
import { FilterState } from '../../filter/contarct/filter-state';
|
|
5
7
|
import { DetailComponentBase } from '../base/detail-component-base';
|
|
6
|
-
import {
|
|
8
|
+
import { ICellInstance, ICellInstanceEvent } from '../contract/i-cell-instance';
|
|
9
|
+
import { TableColumn } from '../contract/table-column';
|
|
10
|
+
import { TableRow } from '../contract/table-row';
|
|
7
11
|
import { EditEvent } from '../enum/edit-event.enum';
|
|
12
|
+
import { EditType } from '../enum/edit-type.enum';
|
|
8
13
|
import { SelectType } from '../enum/select-type.enum';
|
|
9
|
-
import {
|
|
10
|
-
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
11
|
-
import { ICellInstance, ICellInstanceEvent } from '../contract/i-cell-instance';
|
|
12
|
-
import { VerticalAlign } from '../../../common/enum/vertical-align.enum';
|
|
13
|
-
import { Align } from '../../../common/enum/align.enum';
|
|
14
|
+
import { TableService } from '../service/table.service';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewInit, OnChanges {
|
|
16
17
|
private _svc;
|
|
@@ -48,7 +49,7 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
|
|
|
48
49
|
cellKeyDown: EventEmitter<ICellInstanceEvent<T>>;
|
|
49
50
|
rowLeft: EventEmitter<T>;
|
|
50
51
|
rowEditStart: EventEmitter<ICellInstance<T>>;
|
|
51
|
-
rowEditEnd: EventEmitter<T
|
|
52
|
+
rowEditEnd: EventEmitter<TableRow<T>>;
|
|
52
53
|
cellEditStart: EventEmitter<ICellInstance<T>>;
|
|
53
54
|
cellEditEnd: EventEmitter<ICellInstance<T>>;
|
|
54
55
|
valueChange: EventEmitter<ICellInstance<T>>;
|
|
@@ -64,7 +65,7 @@ export declare class TableComponent<T> implements OnInit, OnDestroy, AfterViewIn
|
|
|
64
65
|
private _state;
|
|
65
66
|
constructor(_svc: TableService<T>, _elementRef: ElementRef);
|
|
66
67
|
handleClickOutsideAnyRow(event: MouseEvent): void;
|
|
67
|
-
focusIn(event:
|
|
68
|
+
focusIn(event: FocusEvent): void;
|
|
68
69
|
dblclick(event: MouseEvent): void;
|
|
69
70
|
keydown(event: KeyboardEvent): void;
|
|
70
71
|
mousedown(event: MouseEvent): void;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
1
2
|
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Type } from '@angular/core';
|
|
2
|
-
import { TableColumn } from '../contract/table-column';
|
|
3
|
-
import { TableService } from '../service/table.service';
|
|
4
|
-
import { DetailComponentBase } from '../base/detail-component-base';
|
|
5
|
-
import { SelectType } from '../enum/select-type.enum';
|
|
6
3
|
import { Observable } from 'rxjs';
|
|
7
4
|
import { IDictionary } from '../../../common/contract/i-dictionary';
|
|
8
5
|
import { IIdName } from '../../../common/contract/i-id-name';
|
|
9
|
-
import { AggregationType } from '../enum/aggregation-type.enum';
|
|
10
|
-
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
11
|
-
import { TetaLocalisation } from '../../../locale/teta-localisation';
|
|
12
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';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
|
|
15
16
|
private _svc;
|
|
@@ -27,9 +28,9 @@ export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
|
|
|
27
28
|
trackColumns: (index: number, column: TableColumn) => any;
|
|
28
29
|
viewport: CdkVirtualScrollViewport;
|
|
29
30
|
private readonly tableBodyClass;
|
|
30
|
-
|
|
31
|
-
set data(data: T[]);
|
|
32
|
-
get data(): T[];
|
|
31
|
+
scrollChange: EventEmitter<Event>;
|
|
32
|
+
set data(data: TableRow<T>[]);
|
|
33
|
+
get data(): TableRow<T>[];
|
|
33
34
|
dict: IDictionary<IIdName<any>[]>;
|
|
34
35
|
locked: TableColumn[];
|
|
35
36
|
unlocked: TableColumn[];
|
|
@@ -54,11 +55,12 @@ export declare class TableBodyComponent<T> implements OnInit, OnDestroy {
|
|
|
54
55
|
getAggregateValue(column: TableColumn): number;
|
|
55
56
|
getAggregateText(column: TableColumn): string;
|
|
56
57
|
emitScroll(event: any): void;
|
|
58
|
+
trackTableRow: (index: number, row: TableRow<T>) => any;
|
|
57
59
|
private addResizeObserver;
|
|
58
60
|
private removeResizeObserver;
|
|
59
61
|
private getSum;
|
|
60
62
|
private getMin;
|
|
61
63
|
private getMax;
|
|
62
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableBodyComponent<any>, never>;
|
|
63
|
-
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; }; }, { "
|
|
65
|
+
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; }; }, { "scrollChange": "scrollChange"; }, never, ["*"], false, never>;
|
|
64
66
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { TableColumn } from '../contract/table-column';
|
|
3
2
|
import { FilterState } from '../../filter/contarct/filter-state';
|
|
4
|
-
import {
|
|
3
|
+
import { TableColumn } from '../contract/table-column';
|
|
5
4
|
import { SelectType } from '../enum/select-type.enum';
|
|
5
|
+
import { TableService } from '../service/table.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TableHeadComponent<T> implements OnInit, OnDestroy {
|
|
8
8
|
private _svc;
|
|
@@ -42,6 +42,6 @@ import * as i40 from "../../directive/context-menu/context-menu.module";
|
|
|
42
42
|
import * as i41 from "../../directive/scrollable/scrollable.module";
|
|
43
43
|
export declare class TableModule {
|
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.TableHeadGroupComponent, typeof i12.HeadCellComponent, typeof i13.DefaultHeadCellComponent, typeof i14.SelectionCellComponent, typeof i15.SelectionHeadCellComponent, typeof i16.HeadCellDropdownComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent, typeof i19.MainDropdownTabComponent, typeof i20.FilterDropdownTabComponent, typeof i21.VisibilityDropdownTabComponent], [typeof i22.CommonModule, typeof i23.FilterModule, typeof i24.FormsModule, typeof i25.CheckboxModule, typeof i26.IconModule, typeof i27.DropdownModule, typeof i28.TabsModule, typeof i29.SelectModule, typeof i30.NumberPipeModule, typeof i31.DatePickerModule, typeof i32.ButtonModule, typeof i33.HintModule, typeof i34.TreeModule, typeof i35.OnlyNumberModule, typeof i36.ToolbarModule, typeof i37.ClickOutsideModule, typeof i38.ResizeDragModule, typeof i39.ScrollingModule, typeof i40.ContextMenuModule, typeof i41.ScrollableModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent]>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i11.TableHeadGroupComponent, typeof i12.HeadCellComponent, typeof i13.DefaultHeadCellComponent, typeof i14.SelectionCellComponent, typeof i15.SelectionHeadCellComponent, typeof i16.HeadCellDropdownComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent, typeof i19.MainDropdownTabComponent, typeof i20.FilterDropdownTabComponent, typeof i21.VisibilityDropdownTabComponent], [typeof i22.CommonModule, typeof i23.FilterModule, typeof i24.FormsModule, typeof i25.CheckboxModule, typeof i26.IconModule, typeof i27.DropdownModule, typeof i28.TabsModule, typeof i29.SelectModule, typeof i30.NumberPipeModule, typeof i31.DatePickerModule, typeof i32.ButtonModule, typeof i33.HintModule, typeof i34.TreeModule, typeof i35.OnlyNumberModule, typeof i36.ToolbarModule, typeof i37.ClickOutsideModule, typeof i38.ResizeDragModule, typeof i39.ScrollingModule, typeof i40.ContextMenuModule, typeof i41.ScrollableModule, typeof i24.ReactiveFormsModule], [typeof i1.TableComponent, typeof i2.NumericCellComponent, typeof i3.ListCellComponent, typeof i4.DateCellComponent, typeof i5.StringCellComponent, typeof i6.HeadCellHostComponent, typeof i7.TableHeadComponent, typeof i8.TableBodyComponent, typeof i9.CellComponent, typeof i10.CellHostComponent, typeof i17.DateTimeCellComponent, typeof i18.BooleanCellComponent]>;
|
|
46
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
47
47
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Base3dSeriesComponent } from '../three-chart/base-3d-series/base3d-series.component';
|
|
3
|
+
import { Base3dPoint } from '../../chart-3d/model/base-3d-point';
|
|
4
|
+
import { Chart3dService } from '../three-chart/service/chart-3d.service';
|
|
5
|
+
import { NgtStore } from 'angular-three';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class CustomSeriesComponent extends Base3dSeriesComponent<Base3dPoint> implements OnInit {
|
|
9
|
+
svc: Chart3dService;
|
|
10
|
+
ngtStore: NgtStore;
|
|
11
|
+
scales: Observable<{
|
|
12
|
+
x: any;
|
|
13
|
+
y: any;
|
|
14
|
+
z: any;
|
|
15
|
+
}>;
|
|
16
|
+
constructor(svc: Chart3dService, ngtStore: NgtStore);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomSeriesComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomSeriesComponent, "teta-custom-series", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './custom-series/custom-series.component';
|
|
2
|
+
export * from './three-chart/area-3d/area-3d.component';
|
|
3
|
+
export * from './three-chart/axes-3d/axes-3d.component';
|
|
4
|
+
export * from './three-chart/base-3d-series/base3d-series.component';
|
|
5
|
+
export * from './three-chart/directive/public-api';
|
|
6
|
+
export * from './three-chart/line-3d/line-3d.component';
|
|
7
|
+
export * from './three-chart/lithotype-3d/lithotype-3d.component';
|
|
8
|
+
export * from './three-chart/model/public-api';
|
|
9
|
+
export * from './three-chart/scene/scene.component';
|
|
10
|
+
export * from './three-chart/three-chart.component';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as THREE from 'three';
|
|
3
|
+
import { GridHelper } from 'three';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class Area3dComponent implements OnInit {
|
|
6
|
+
area: GridHelper[];
|
|
7
|
+
protected readonly THREE: typeof THREE;
|
|
8
|
+
createArea(): THREE.GridHelper[];
|
|
9
|
+
getMainGrid(): THREE.GridHelper;
|
|
10
|
+
createGrid(gridsCount: number, gridSize: number, rectsInGrid: number, direction: 'vertical' | 'horizontal'): THREE.GridHelper[];
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Area3dComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Area3dComponent, "teta-area-3d", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Euler } from 'three';
|
|
3
|
+
import { Axis3dPoint } from '../model/axis-3d-point';
|
|
4
|
+
import { Chart3dService } from '../service/chart-3d.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import { Axes3dMinMax } from '../model/axes-3d-min-max';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class Axes3dComponent implements OnDestroy {
|
|
9
|
+
rotation: Euler;
|
|
10
|
+
axes: Observable<{
|
|
11
|
+
z: Axis3dPoint[];
|
|
12
|
+
y: Axis3dPoint[];
|
|
13
|
+
x: Axis3dPoint[];
|
|
14
|
+
}>;
|
|
15
|
+
private _alive;
|
|
16
|
+
protected readonly chartService: Chart3dService;
|
|
17
|
+
constructor();
|
|
18
|
+
createAxes(scales: any, minMax: Axes3dMinMax): {
|
|
19
|
+
z: {
|
|
20
|
+
value: string;
|
|
21
|
+
position: any;
|
|
22
|
+
}[];
|
|
23
|
+
y: {
|
|
24
|
+
value: string;
|
|
25
|
+
position: any;
|
|
26
|
+
}[];
|
|
27
|
+
x: {
|
|
28
|
+
value: string;
|
|
29
|
+
position: any;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
generateTicks(extremes: number[], count?: number): number[];
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Axes3dComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Axes3dComponent, "teta-axes-3d", never, { "rotation": { "alias": "rotation"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Chart3dService } from '../service/chart-3d.service';
|
|
2
|
+
import { Base3dThreePoint } from '../model/base-3d-three-point';
|
|
3
|
+
import { Base3dSeries } from '../model/base-3d-series';
|
|
4
|
+
import { NgtStore } from 'angular-three';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class Base3dSeriesComponent<T extends Base3dThreePoint> {
|
|
7
|
+
protected svc: Chart3dService;
|
|
8
|
+
protected ngtStore: NgtStore;
|
|
9
|
+
set series(series: Base3dSeries<T>);
|
|
10
|
+
get series(): Base3dSeries<T>;
|
|
11
|
+
protected _series: Base3dSeries<T>;
|
|
12
|
+
constructor(svc: Chart3dService, ngtStore: NgtStore);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Base3dSeriesComponent<any>, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Base3dSeriesComponent<any>, "teta-base3d-series", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './series-3d-host';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Base3dSeries } from '../model/base-3d-series';
|
|
3
|
+
import { Base3dThreePoint } from '../model/base-3d-three-point';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class Series3dHost<T extends Base3dThreePoint> implements OnInit {
|
|
6
|
+
private viewContainerRef;
|
|
7
|
+
series: Base3dSeries<T>;
|
|
8
|
+
private seriesMap;
|
|
9
|
+
private _init;
|
|
10
|
+
private _componentRef;
|
|
11
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Series3dHost<any>, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Series3dHost<any>, "[teta-series-3d-host]", never, { "series": { "alias": "series"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { NgtStore } from 'angular-three';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { Chart3dService } from '../service/chart-3d.service';
|
|
5
|
+
import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
|
|
6
|
+
import { Line3dPoint } from '../model/line-3d-point';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class Line3dComponent extends Base3dSeriesComponent<Line3dPoint> implements OnDestroy {
|
|
9
|
+
svc: Chart3dService;
|
|
10
|
+
ngtStore: NgtStore;
|
|
11
|
+
points: Observable<number[]>;
|
|
12
|
+
private _alive;
|
|
13
|
+
protected readonly Math: Math;
|
|
14
|
+
constructor(svc: Chart3dService, ngtStore: NgtStore);
|
|
15
|
+
getPoints(scales: any): any[];
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Line3dComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Line3dComponent, "teta-line-3d", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { NgtStore } from 'angular-three';
|
|
3
|
+
import * as THREE from 'three';
|
|
4
|
+
import { Texture } from 'three';
|
|
5
|
+
import { Chart3dService } from '../service/chart-3d.service';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
|
|
8
|
+
import { Lithotype3dPoint } from '../model/lithotype-3d-point';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class Lithotype3dComponent<T extends Lithotype3dPoint> extends Base3dSeriesComponent<T> implements OnDestroy {
|
|
11
|
+
svc: Chart3dService;
|
|
12
|
+
ngtStore: NgtStore;
|
|
13
|
+
lithotypes: Observable<{
|
|
14
|
+
component: THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
|
|
15
|
+
position: number;
|
|
16
|
+
}[][]>;
|
|
17
|
+
private _alive;
|
|
18
|
+
protected readonly Math: Math;
|
|
19
|
+
constructor(svc: Chart3dService, ngtStore: NgtStore);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
createSVGTexture(y: number, y1: number, litotypeId: number): {
|
|
22
|
+
component: THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
|
|
23
|
+
position: number;
|
|
24
|
+
}[];
|
|
25
|
+
createTexturedPlane(texture: Texture, width: number, height: number): THREE.Mesh<THREE.PlaneGeometry, THREE.MeshBasicMaterial>;
|
|
26
|
+
ngOnDestroy(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Lithotype3dComponent<any>, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Lithotype3dComponent<any>, "teta-lithotype-3d", never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Base3dThreePoint } from './base-3d-three-point';
|
|
2
|
+
import { Series3dType } from './enum/series-3d-type';
|
|
3
|
+
import { Base3dSeriesComponent } from '../base-3d-series/base3d-series.component';
|
|
4
|
+
export interface Base3dSeries<T extends Base3dThreePoint> {
|
|
5
|
+
name?: string;
|
|
6
|
+
type: Series3dType;
|
|
7
|
+
component?: typeof Base3dSeriesComponent;
|
|
8
|
+
data: T[];
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
color?: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './series-3d-type';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Base3dSeries } from './base-3d-series';
|
|
2
|
+
import { Base3dThreePoint } from './base-3d-three-point';
|
|
3
|
+
export interface I3dChartConfig {
|
|
4
|
+
series?: Base3dSeries<Base3dThreePoint>[];
|
|
5
|
+
noDataText?: string;
|
|
6
|
+
xAxis?: minMax;
|
|
7
|
+
yAxis?: minMax;
|
|
8
|
+
zAxis?: minMax;
|
|
9
|
+
}
|
|
10
|
+
interface minMax {
|
|
11
|
+
min?: number;
|
|
12
|
+
max?: number;
|
|
13
|
+
}
|
|
14
|
+
export {};
|