@tetacom/ng-components 1.1.43 → 1.2.1
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 +16 -10
- package/README.md +3 -20
- package/component/accordion/accordion/accordion.component.d.ts +1 -1
- package/component/accordion/accordion-content.directive.d.ts +1 -1
- package/component/accordion/accordion-head/accordion-head.component.d.ts +1 -1
- package/component/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- package/component/accordion/public-api.d.ts +0 -1
- package/component/autocomplete/autocomplete/autocomplete.component.d.ts +1 -1
- package/component/autocomplete/public-api.d.ts +0 -1
- package/component/avatar/avatar/avatar.component.d.ts +1 -1
- package/component/avatar/public-api.d.ts +0 -1
- package/component/button/button/button.component.d.ts +1 -1
- package/component/button/public-api.d.ts +0 -1
- package/component/chart-3d/chart3d/chart3d.component.d.ts +1 -1
- package/component/chart-3d/public-api.d.ts +0 -1
- package/component/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/component/checkbox/public-api.d.ts +0 -1
- package/component/date-picker/base-picker.d.ts +1 -1
- package/component/date-picker/date-picker/date-calendar/date-calendar.component.d.ts +1 -1
- package/component/date-picker/date-picker/date-picker.component.d.ts +1 -1
- package/component/date-picker/date-range/date-range.component.d.ts +1 -1
- package/component/date-picker/date-range/range-calendar/range-calendar.component.d.ts +3 -3
- package/component/date-picker/day-picker/day-item/day-item.component.d.ts +1 -1
- package/component/date-picker/day-picker/day-picker.component.d.ts +2 -2
- package/component/date-picker/month-picker/month-picker.component.d.ts +1 -1
- package/component/date-picker/public-api.d.ts +0 -1
- package/component/date-picker/year-picker/scroll-to-selected-year.directive.d.ts +1 -1
- package/component/date-picker/year-picker/year-picker.component.d.ts +1 -1
- package/component/delimiter/delimiter/delimiter.component.d.ts +1 -1
- package/component/delimiter/public-api.d.ts +0 -1
- package/component/divider/divider/divider.component.d.ts +1 -1
- package/component/divider/public-api.d.ts +0 -1
- package/component/dropdown/dropdown/dropdown.component.d.ts +1 -1
- package/component/dropdown/dropdown-content.directive.d.ts +1 -1
- package/component/dropdown/dropdown-head.directive.d.ts +1 -1
- package/component/dropdown/dropdown.directive.d.ts +1 -1
- package/component/dropdown/public-api.d.ts +0 -1
- package/component/dynamic-component/popup-content/popup-content.component.d.ts +1 -1
- package/component/dynamic-component/public-api.d.ts +0 -1
- package/component/expand-card/expand-card/expand-card.component.d.ts +1 -1
- package/component/expand-card/expand-item/expand-item.component.d.ts +1 -1
- package/component/expand-card/public-api.d.ts +0 -1
- package/component/expand-panel/expand-panel/expand-panel.component.d.ts +1 -1
- package/component/expand-panel/expand-panel-content.directive.d.ts +1 -1
- package/component/expand-panel/expand-panel-head.directive.d.ts +1 -1
- package/component/expand-panel/public-api.d.ts +0 -1
- package/component/file-upload/file-item/file-item.component.d.ts +1 -1
- package/component/file-upload/file-upload-area/file-upload-area.component.d.ts +1 -1
- package/component/file-upload/public-api.d.ts +0 -1
- package/component/filter/boolean-filter/boolean-filter.component.d.ts +1 -1
- package/component/filter/date-filter/date-filter.component.d.ts +1 -1
- package/component/filter/filter-host/filter-host.component.d.ts +1 -1
- package/component/filter/list-filter/list-filter.component.d.ts +1 -1
- package/component/filter/numeric-filter/numeric-filter.component.d.ts +1 -1
- package/component/filter/public-api.d.ts +0 -1
- package/component/filter/string-filter/string-filter.component.d.ts +1 -1
- package/component/icon/icon/icon.component.d.ts +1 -1
- package/component/icon/icon-file/icon-file.component.d.ts +1 -1
- package/component/icon/icon-sprite.directive.d.ts +1 -1
- package/component/icon/public-api.d.ts +0 -2
- package/component/input/color-input/color-input.component.d.ts +1 -1
- package/component/input/form-group-title/form-group-title.component.d.ts +1 -1
- package/component/input/input/input.component.d.ts +1 -1
- package/component/input/public-api.d.ts +1 -1
- package/component/input/text-field/text-field.component.d.ts +1 -1
- package/component/message/message/message.component.d.ts +1 -1
- package/component/message/message-host/message-host.component.d.ts +1 -1
- package/component/message/public-api.d.ts +0 -1
- package/component/modal/dialog/dialog.component.d.ts +1 -1
- package/component/modal/modal-container/modal-container.component.d.ts +1 -1
- package/component/modal/modal.module.d.ts +5 -8
- package/component/pager/pager/pager.component.d.ts +1 -1
- package/component/pager/public-api.d.ts +0 -1
- package/component/panel/panel/panel.component.d.ts +1 -1
- package/component/panel/public-api.d.ts +0 -1
- package/component/progress-bar/progress-bar/progress-bar.component.d.ts +1 -1
- 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 +1 -1
- package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +1 -1
- package/component/property-grid/property-grid/property-grid-item-description.directive.d.ts +1 -1
- package/component/property-grid/property-grid/property-grid.component.d.ts +1 -1
- package/component/property-grid/property-grid.module.d.ts +8 -16
- package/component/public-api.d.ts +0 -1
- package/component/radio/public-api.d.ts +0 -1
- package/component/radio/radio/radio.component.d.ts +3 -4
- package/component/radio/radio-button/radio-button.component.d.ts +1 -1
- package/component/resize-panel/public-api.d.ts +0 -1
- package/component/resize-panel/resize-panel/resize-panel.component.d.ts +1 -1
- package/component/select/public-api.d.ts +0 -1
- package/component/select/select/select.component.d.ts +1 -1
- package/component/select/select-option.directive.d.ts +1 -1
- package/component/select/select-value.directive.d.ts +1 -1
- package/component/sidebar/public-api.d.ts +0 -1
- package/component/sidebar/sidebar/sidebar.component.d.ts +1 -1
- package/component/switch/public-api.d.ts +0 -1
- package/component/switch/switch/switch.component.d.ts +1 -1
- package/component/switch/switch-button/switch-button.component.d.ts +1 -1
- package/component/table/cell/cell.component.d.ts +1 -1
- package/component/table/cell-host/cell-host.component.d.ts +1 -1
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +1 -1
- package/component/table/default/date-cell/date-cell.component.d.ts +1 -1
- package/component/table/default/date-time-cell/date-time-cell.component.d.ts +1 -1
- package/component/table/default/default-head-cell/default-head-cell.component.d.ts +1 -1
- package/component/table/default/list-cell/list-cell.component.d.ts +1 -1
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +1 -1
- package/component/table/default/string-cell/string-cell.component.d.ts +1 -1
- package/component/table/head-cell/head-cell.component.d.ts +1 -1
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +1 -1
- package/component/table/head-cell-host/head-cell-host.component.d.ts +1 -1
- package/component/table/public-api.d.ts +0 -1
- package/component/table/selection-cell/selection-cell.component.d.ts +1 -1
- package/component/table/selection-head-cell/selection-head-cell.component.d.ts +1 -1
- package/component/table/table/table.component.d.ts +1 -1
- package/component/table/table-body/table-body.component.d.ts +1 -1
- package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +1 -1
- package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +1 -1
- package/component/table/table-head/table-head.component.d.ts +1 -1
- package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +2 -2
- package/component/table/table-head-group/table-head-group.component.d.ts +1 -1
- package/component/tabs/public-api.d.ts +0 -1
- package/component/tabs/tab/tab.component.d.ts +1 -1
- package/component/tabs/tab-content.directive.d.ts +1 -1
- package/component/tabs/tab-title.directive.d.ts +1 -1
- package/component/tabs/tabs/tabs.component.d.ts +1 -1
- package/component/theme-switch/public-api.d.ts +0 -1
- package/component/theme-switch/theme-switch/theme-switch.component.d.ts +1 -1
- package/component/toggle/public-api.d.ts +0 -1
- package/component/toggle/toggle/toggle.component.d.ts +1 -1
- package/component/toolbar/public-api.d.ts +0 -1
- package/component/toolbar/toolbar/toolbar.component.d.ts +1 -1
- package/component/tree/public-api.d.ts +0 -1
- package/component/tree/tree/tree.component.d.ts +1 -1
- package/component/tree/tree-item/tree-item.component.d.ts +1 -1
- package/component/tree/tree-item-toggle/tree-item-toggle.component.d.ts +1 -1
- package/directive/auto-position/auto-position.directive.d.ts +1 -1
- package/directive/auto-position/public-api.d.ts +0 -1
- package/directive/click-outside/click-outside.directive.d.ts +1 -1
- package/directive/click-outside/public-api.d.ts +0 -1
- package/directive/context-menu/context-menu.directive.d.ts +1 -1
- package/directive/context-menu/public-api.d.ts +0 -1
- package/directive/disable-control/disable-control.directive.d.ts +1 -1
- package/directive/disable-control/public-api.d.ts +0 -1
- package/directive/drag-drop/drag-container.directive.d.ts +1 -1
- package/directive/drag-drop/drag-placeholder.directive.d.ts +1 -1
- package/directive/drag-drop/drag-preview.directive.d.ts +1 -1
- package/directive/drag-drop/drag.directive.d.ts +1 -1
- package/directive/drag-drop/public-api.d.ts +0 -1
- package/directive/drag-sort/drag-sort-container.directive.d.ts +1 -1
- package/directive/drag-sort/drag-sort-item.directive.d.ts +1 -1
- package/directive/drag-sort/public-api.d.ts +0 -1
- package/directive/highlight/highlight.directive.d.ts +1 -1
- package/directive/highlight/public-api.d.ts +0 -1
- package/directive/hint/hint.directive.d.ts +1 -1
- package/directive/hint/public-api.d.ts +0 -1
- package/directive/let/let.directive.d.ts +1 -1
- package/directive/let/public-api.d.ts +0 -1
- package/directive/loader/loader.directive.d.ts +1 -1
- package/directive/loader/public-api.d.ts +0 -1
- package/directive/no-autofill/no-autofill.directive.d.ts +1 -1
- package/directive/no-autofill/public-api.d.ts +0 -1
- package/directive/only-number/only-number.directive.d.ts +1 -1
- package/directive/only-number/public-api.d.ts +0 -1
- package/directive/resize-drag/public-api.d.ts +0 -1
- package/directive/resize-drag/resize-drag.directive.d.ts +1 -1
- package/directive/scroll-into-view/public-api.d.ts +0 -1
- package/directive/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/directive/scrollable/public-api.d.ts +0 -1
- package/directive/scrollable/scrollable/scrollable.component.d.ts +1 -1
- package/directive/scrollable/scrollable.directive.d.ts +1 -1
- package/directive/teta-template/public-api.d.ts +0 -1
- package/directive/teta-template/teta-template.directive.d.ts +1 -1
- package/directive/tooltip/public-api.d.ts +0 -1
- package/directive/tooltip/tooltip.directive.d.ts +1 -1
- package/docs/datePickerDocs.mdx +14 -59
- package/docs/dateRangeDocs.mdx +172 -0
- package/esm2022/common/contract/dynamic-data.mjs +1 -1
- package/esm2022/common/contract/teta-content-ref.mjs +1 -4
- package/esm2022/common/service/click.service.mjs +6 -9
- package/esm2022/common/service/dynamic-component.service.mjs +6 -10
- package/esm2022/common/service/overlay-container.service.mjs +7 -9
- package/esm2022/common/util/array-util.mjs +1 -1
- package/esm2022/common/util/dom-util.mjs +1 -1
- package/esm2022/common/util/position-util.mjs +1 -1
- package/esm2022/component/accordion/accordion/accordion.component.mjs +8 -6
- package/esm2022/component/accordion/accordion-content.directive.mjs +8 -8
- package/esm2022/component/accordion/accordion-head/accordion-head.component.mjs +13 -13
- package/esm2022/component/accordion/accordion-item/accordion-item.component.mjs +14 -17
- package/esm2022/component/accordion/public-api.mjs +1 -2
- package/esm2022/component/autocomplete/autocomplete/autocomplete.component.mjs +6 -6
- package/esm2022/component/autocomplete/public-api.mjs +1 -2
- package/esm2022/component/avatar/avatar/avatar.component.mjs +28 -32
- package/esm2022/component/avatar/public-api.mjs +1 -2
- package/esm2022/component/button/button/button.component.mjs +10 -12
- package/esm2022/component/button/public-api.mjs +1 -2
- package/esm2022/component/chart-3d/chart3d/chart3d.component.mjs +11 -20
- package/esm2022/component/chart-3d/model/chart-3d-options.mjs +1 -3
- package/esm2022/component/chart-3d/model/series-3d.mjs +1 -3
- package/esm2022/component/chart-3d/public-api.mjs +1 -2
- package/esm2022/component/checkbox/checkbox/checkbox.component.mjs +16 -33
- package/esm2022/component/checkbox/public-api.mjs +1 -2
- package/esm2022/component/date-picker/base-calendar.mjs +23 -24
- package/esm2022/component/date-picker/base-picker.mjs +10 -15
- package/esm2022/component/date-picker/date-picker/date-calendar/date-calendar.component.mjs +23 -23
- package/esm2022/component/date-picker/date-picker/date-picker.component.mjs +47 -46
- package/esm2022/component/date-picker/date-range/date-range.component.mjs +44 -39
- package/esm2022/component/date-picker/date-range/range-calendar/range-calendar.component.mjs +25 -27
- package/esm2022/component/date-picker/day-picker/day-item/day-item.component.mjs +6 -6
- package/esm2022/component/date-picker/day-picker/day-picker.component.mjs +12 -19
- package/esm2022/component/date-picker/model/date-period.mjs +1 -3
- package/esm2022/component/date-picker/model/day-model.mjs +1 -7
- package/esm2022/component/date-picker/month-picker/month-picker.component.mjs +13 -16
- package/esm2022/component/date-picker/public-api.mjs +1 -2
- package/esm2022/component/date-picker/year-picker/scroll-to-selected-year.directive.mjs +9 -9
- package/esm2022/component/date-picker/year-picker/year-picker.component.mjs +9 -14
- package/esm2022/component/delimiter/delimiter/delimiter.component.mjs +13 -13
- package/esm2022/component/delimiter/public-api.mjs +1 -2
- package/esm2022/component/divider/divider/divider.component.mjs +8 -10
- package/esm2022/component/divider/public-api.mjs +1 -2
- package/esm2022/component/dropdown/dropdown/dropdown.component.mjs +8 -13
- package/esm2022/component/dropdown/dropdown-base.mjs +26 -35
- package/esm2022/component/dropdown/dropdown-content.directive.mjs +8 -9
- package/esm2022/component/dropdown/dropdown-head.directive.mjs +9 -9
- package/esm2022/component/dropdown/dropdown.directive.mjs +9 -13
- package/esm2022/component/dropdown/public-api.mjs +1 -2
- package/esm2022/component/dynamic-component/popup-content/popup-content.component.mjs +10 -10
- package/esm2022/component/dynamic-component/public-api.mjs +1 -2
- package/esm2022/component/expand-card/expand-card/expand-card.component.mjs +14 -15
- package/esm2022/component/expand-card/expand-item/expand-item.component.mjs +11 -10
- package/esm2022/component/expand-card/public-api.mjs +1 -2
- package/esm2022/component/expand-panel/expand-panel/expand-panel.component.mjs +20 -18
- package/esm2022/component/expand-panel/expand-panel-content.directive.mjs +7 -7
- package/esm2022/component/expand-panel/expand-panel-head.directive.mjs +7 -7
- package/esm2022/component/expand-panel/public-api.mjs +1 -2
- package/esm2022/component/file-upload/file-item/file-item.component.mjs +6 -6
- package/esm2022/component/file-upload/file-upload-area/file-upload-area.component.mjs +24 -19
- package/esm2022/component/file-upload/public-api.mjs +1 -2
- package/esm2022/component/filter/base/filter-base.mjs +1 -4
- package/esm2022/component/filter/boolean-filter/boolean-filter.component.mjs +22 -20
- package/esm2022/component/filter/contarct/date-filter-value.mjs +1 -9
- package/esm2022/component/filter/contarct/date-filter.mjs +1 -1
- package/esm2022/component/filter/contarct/filter-item.mjs +13 -57
- package/esm2022/component/filter/contarct/filter-state.mjs +7 -7
- package/esm2022/component/filter/contarct/list-filter.mjs +1 -2
- package/esm2022/component/filter/contarct/numeric-filter-value.mjs +1 -13
- package/esm2022/component/filter/contarct/numeric-filter.mjs +1 -2
- package/esm2022/component/filter/contarct/sort-param.mjs +1 -13
- package/esm2022/component/filter/contarct/string-filter.mjs +1 -2
- package/esm2022/component/filter/date-filter/date-filter.component.mjs +22 -20
- package/esm2022/component/filter/filter-host/filter-host.component.mjs +11 -16
- package/esm2022/component/filter/list-filter/list-filter.component.mjs +25 -23
- package/esm2022/component/filter/numeric-filter/numeric-filter.component.mjs +22 -20
- package/esm2022/component/filter/public-api.mjs +1 -2
- package/esm2022/component/filter/string-filter/string-filter.component.mjs +19 -18
- package/esm2022/component/icon/icon/icon.component.mjs +9 -9
- package/esm2022/component/icon/icon-file/icon-file.component.mjs +6 -8
- package/esm2022/component/icon/icon-sprite.directive.mjs +9 -9
- package/esm2022/component/icon/icon.service.mjs +10 -15
- package/esm2022/component/icon/public-api.mjs +1 -3
- package/esm2022/component/input/color-input/color-input.component.mjs +11 -13
- package/esm2022/component/input/form-group-title/form-group-title.component.mjs +9 -8
- package/esm2022/component/input/input/input.component.mjs +12 -13
- package/esm2022/component/input/public-api.mjs +2 -2
- package/esm2022/component/input/text-field/text-field.component.mjs +25 -25
- package/esm2022/component/message/message/message.component.mjs +15 -14
- package/esm2022/component/message/message-host/message-host.component.mjs +22 -25
- package/esm2022/component/message/message.service.mjs +7 -9
- package/esm2022/component/message/model/message.mjs +4 -10
- package/esm2022/component/message/public-api.mjs +1 -2
- package/esm2022/component/modal/dialog/dialog.component.mjs +18 -18
- package/esm2022/component/modal/dialog.service.mjs +6 -6
- package/esm2022/component/modal/modal-container/modal-container.component.mjs +11 -13
- package/esm2022/component/modal/modal.module.mjs +8 -18
- package/esm2022/component/modal/modal.service.mjs +16 -19
- package/esm2022/component/modal/model/current-modal.mjs +1 -2
- package/esm2022/component/modal/model/modal-instance.mjs +7 -10
- package/esm2022/component/pager/model/pager-state.mjs +9 -29
- package/esm2022/component/pager/pager/pager.component.mjs +6 -6
- package/esm2022/component/pager/public-api.mjs +1 -2
- package/esm2022/component/panel/panel/panel.component.mjs +12 -11
- package/esm2022/component/panel/public-api.mjs +1 -2
- package/esm2022/component/progress-bar/progress-bar/progress-bar.component.mjs +37 -45
- package/esm2022/component/progress-bar/public-api.mjs +1 -2
- package/esm2022/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +13 -21
- package/esm2022/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +31 -29
- package/esm2022/component/property-grid/property-grid/property-grid-item-description.directive.mjs +8 -9
- package/esm2022/component/property-grid/property-grid/property-grid.component.mjs +19 -23
- package/esm2022/component/property-grid/property-grid.module.mjs +16 -46
- package/esm2022/component/public-api.mjs +1 -3
- package/esm2022/component/radio/public-api.mjs +1 -2
- package/esm2022/component/radio/radio/radio.component.mjs +17 -23
- package/esm2022/component/radio/radio-button/radio-button.component.mjs +10 -16
- package/esm2022/component/resize-panel/public-api.mjs +1 -2
- package/esm2022/component/resize-panel/resize-panel/resize-panel.component.mjs +24 -29
- package/esm2022/component/select/public-api.mjs +1 -2
- package/esm2022/component/select/select/select.component.mjs +49 -53
- package/esm2022/component/select/select-option.directive.mjs +8 -8
- package/esm2022/component/select/select-value.directive.mjs +8 -8
- package/esm2022/component/sidebar/public-api.mjs +1 -2
- package/esm2022/component/sidebar/sidebar/sidebar.component.mjs +14 -16
- package/esm2022/component/switch/public-api.mjs +1 -2
- package/esm2022/component/switch/switch/switch.component.mjs +10 -13
- package/esm2022/component/switch/switch-button/switch-button.component.mjs +9 -13
- package/esm2022/component/switch/switch.service.mjs +6 -7
- package/esm2022/component/table/base/cell-component-base.mjs +14 -18
- package/esm2022/component/table/base/head-cell-component-base.mjs +5 -4
- package/esm2022/component/table/cell/cell.component.mjs +11 -11
- package/esm2022/component/table/cell-host/cell-host.component.mjs +10 -14
- package/esm2022/component/table/contract/column-reorder-event.mjs +1 -3
- package/esm2022/component/table/contract/column-resize-event.mjs +1 -3
- package/esm2022/component/table/contract/sort-event.mjs +1 -3
- package/esm2022/component/table/contract/table-column-store.mjs +1 -6
- package/esm2022/component/table/contract/table-column.mjs +13 -83
- package/esm2022/component/table/contract/table-row.mjs +1 -3
- package/esm2022/component/table/default/boolean-cell/boolean-cell.component.mjs +15 -13
- package/esm2022/component/table/default/date-cell/date-cell.component.mjs +17 -13
- package/esm2022/component/table/default/date-time-cell/date-time-cell.component.mjs +17 -13
- package/esm2022/component/table/default/default-head-cell/default-head-cell.component.mjs +9 -13
- package/esm2022/component/table/default/list-cell/list-cell.component.mjs +16 -14
- package/esm2022/component/table/default/numeric-cell/numeric-cell.component.mjs +17 -14
- package/esm2022/component/table/default/string-cell/string-cell.component.mjs +16 -14
- package/esm2022/component/table/head-cell/head-cell.component.mjs +38 -41
- package/esm2022/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +29 -27
- package/esm2022/component/table/head-cell-host/head-cell-host.component.mjs +8 -13
- package/esm2022/component/table/public-api.mjs +1 -2
- package/esm2022/component/table/selection-cell/selection-cell.component.mjs +13 -14
- package/esm2022/component/table/selection-head-cell/selection-head-cell.component.mjs +12 -12
- package/esm2022/component/table/service/table.service.mjs +35 -58
- package/esm2022/component/table/table/table.component.mjs +53 -67
- package/esm2022/component/table/table-body/table-body.component.mjs +47 -51
- package/esm2022/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +15 -23
- package/esm2022/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +12 -19
- package/esm2022/component/table/table-head/table-head.component.mjs +15 -23
- package/esm2022/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +54 -51
- package/esm2022/component/table/table-head-group/table-head-group.component.mjs +11 -16
- package/esm2022/component/table/util/state-util.mjs +2 -2
- package/esm2022/component/table/util/table-util.mjs +1 -1
- package/esm2022/component/tabs/public-api.mjs +1 -2
- package/esm2022/component/tabs/tab/tab.component.mjs +15 -19
- package/esm2022/component/tabs/tab-content.directive.mjs +8 -8
- package/esm2022/component/tabs/tab-title.directive.mjs +8 -8
- package/esm2022/component/tabs/tabs/tabs.component.mjs +19 -23
- package/esm2022/component/theme-switch/public-api.mjs +1 -2
- package/esm2022/component/theme-switch/theme-switch/theme-switch.component.mjs +11 -12
- package/esm2022/component/theme-switch/theme-switch.service.mjs +5 -7
- package/esm2022/component/toggle/public-api.mjs +1 -2
- package/esm2022/component/toggle/toggle/toggle.component.mjs +12 -21
- package/esm2022/component/toolbar/public-api.mjs +1 -2
- package/esm2022/component/toolbar/toolbar/toolbar.component.mjs +5 -7
- package/esm2022/component/tree/public-api.mjs +1 -2
- package/esm2022/component/tree/tree/tree.component.mjs +31 -38
- package/esm2022/component/tree/tree-item/tree-item.component.mjs +17 -21
- package/esm2022/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +10 -13
- package/esm2022/component/tree/tree.service.mjs +8 -10
- package/esm2022/directive/auto-position/auto-position.directive.mjs +12 -13
- package/esm2022/directive/auto-position/public-api.mjs +1 -2
- package/esm2022/directive/click-outside/click-outside.directive.mjs +19 -20
- package/esm2022/directive/click-outside/public-api.mjs +1 -2
- package/esm2022/directive/context-menu/context-menu.directive.mjs +20 -29
- package/esm2022/directive/context-menu/public-api.mjs +1 -2
- package/esm2022/directive/disable-control/disable-control.directive.mjs +7 -6
- package/esm2022/directive/disable-control/public-api.mjs +1 -2
- package/esm2022/directive/drag-drop/drag-container.directive.mjs +14 -21
- package/esm2022/directive/drag-drop/drag-drop.service.mjs +10 -20
- package/esm2022/directive/drag-drop/drag-placeholder.directive.mjs +7 -6
- package/esm2022/directive/drag-drop/drag-preview.directive.mjs +8 -8
- package/esm2022/directive/drag-drop/drag.directive.mjs +14 -20
- package/esm2022/directive/drag-drop/model/drag-container-instance.mjs +1 -4
- package/esm2022/directive/drag-drop/model/drag-instance.mjs +1 -3
- package/esm2022/directive/drag-drop/public-api.mjs +1 -2
- package/esm2022/directive/drag-sort/drag-sort-container.directive.mjs +9 -7
- package/esm2022/directive/drag-sort/drag-sort-item.directive.mjs +12 -16
- package/esm2022/directive/drag-sort/public-api.mjs +1 -2
- package/esm2022/directive/dynamic-content-base.directive.mjs +13 -22
- package/esm2022/directive/highlight/highlight.directive.mjs +8 -8
- package/esm2022/directive/highlight/public-api.mjs +1 -2
- package/esm2022/directive/hint/hint.directive.mjs +14 -24
- package/esm2022/directive/hint/public-api.mjs +1 -2
- package/esm2022/directive/let/let.directive.mjs +8 -9
- package/esm2022/directive/let/public-api.mjs +1 -2
- package/esm2022/directive/loader/loader.directive.mjs +12 -18
- package/esm2022/directive/loader/public-api.mjs +1 -2
- package/esm2022/directive/no-autofill/no-autofill.directive.mjs +7 -8
- package/esm2022/directive/no-autofill/public-api.mjs +1 -2
- package/esm2022/directive/only-number/only-number.directive.mjs +19 -19
- package/esm2022/directive/only-number/public-api.mjs +1 -2
- package/esm2022/directive/resize-drag/public-api.mjs +1 -2
- package/esm2022/directive/resize-drag/resize-drag.directive.mjs +18 -19
- package/esm2022/directive/scroll-into-view/public-api.mjs +1 -2
- package/esm2022/directive/scroll-into-view/scroll-into-view.directive.mjs +11 -13
- package/esm2022/directive/scrollable/public-api.mjs +1 -2
- package/esm2022/directive/scrollable/scrollable/scrollable.component.mjs +21 -24
- package/esm2022/directive/scrollable/scrollable.directive.mjs +8 -5
- package/esm2022/directive/teta-template/public-api.mjs +1 -2
- package/esm2022/directive/teta-template/teta-template.directive.mjs +8 -9
- package/esm2022/directive/tooltip/public-api.mjs +1 -2
- package/esm2022/directive/tooltip/tooltip.directive.mjs +16 -21
- package/esm2022/index.mjs +22 -0
- package/esm2022/locale/teta-config.service.mjs +8 -8
- package/esm2022/observable/animation-frame.mjs +1 -1
- package/esm2022/observable/public-api.mjs +1 -2
- package/esm2022/pipe/date-pipe/public-api.mjs +1 -2
- package/esm2022/pipe/date-pipe/teta-date.pipe.mjs +22 -14
- package/esm2022/pipe/number-pipe/number.pipe.mjs +6 -5
- package/esm2022/pipe/number-pipe/public-api.mjs +1 -2
- package/esm2022/pipe/util/number-helper.mjs +1 -1
- package/esm2022/tetacom-ng-components.mjs +2 -2
- package/esm2022/util/bool-or-func.mjs +1 -1
- package/esm2022/util/date-util.mjs +1 -1
- package/esm2022/util/forms-util.mjs +3 -3
- package/fesm2022/tetacom-ng-components.mjs +6035 -8435
- package/fesm2022/tetacom-ng-components.mjs.map +1 -1
- package/index.d.ts +17 -3
- package/observable/public-api.d.ts +0 -1
- package/package.json +6 -21
- package/pipe/date-pipe/public-api.d.ts +0 -1
- package/pipe/date-pipe/teta-date.pipe.d.ts +3 -3
- package/pipe/number-pipe/number.pipe.d.ts +1 -1
- package/pipe/number-pipe/public-api.d.ts +0 -1
- package/style/accordion.scss +3 -1
- package/style/checkbox.scss +1 -1
- package/style/icon.scss +1 -1
- package/style/message.scss +1 -1
- package/style/navigation.scss +3 -3
- package/style/switch.scss +1 -3
- package/style/toggle.scss +1 -1
- package/style/toolbar.scss +1 -1
- package/.browserslistrc +0 -16
- package/component/accordion/accordion.module.d.ts +0 -12
- package/component/autocomplete/autocomplete.module.d.ts +0 -8
- package/component/avatar/avatar.module.d.ts +0 -9
- package/component/button/button.module.d.ts +0 -8
- package/component/chart-3d/chart-3d.module.d.ts +0 -8
- package/component/checkbox/checkbox.module.d.ts +0 -9
- package/component/date-picker/date-picker.module.d.ts +0 -24
- package/component/delimiter/delimiter.module.d.ts +0 -8
- package/component/divider/divider.module.d.ts +0 -8
- package/component/dropdown/dropdown.module.d.ts +0 -11
- package/component/dynamic-component/dynamic-component.module.d.ts +0 -8
- package/component/expand-card/expand-card.module.d.ts +0 -13
- package/component/expand-panel/expand-panel.module.d.ts +0 -14
- package/component/file-upload/file-upload.module.d.ts +0 -12
- package/component/filter/filter.module.d.ts +0 -21
- package/component/icon/icon-file/icon-file.module.d.ts +0 -9
- package/component/icon/icon.module.d.ts +0 -10
- package/component/input/input.module.d.ts +0 -16
- package/component/message/message.module.d.ts +0 -11
- package/component/pager/pager.module.d.ts +0 -9
- package/component/panel/panel.module.d.ts +0 -8
- package/component/progress-bar/progress-bar.module.d.ts +0 -8
- package/component/radio/radio.module.d.ts +0 -10
- package/component/resize-panel/resize-panel.module.d.ts +0 -10
- package/component/select/select.module.d.ts +0 -18
- package/component/sidebar/sidebar.module.d.ts +0 -10
- package/component/switch/switch.module.d.ts +0 -9
- package/component/table/table.module.d.ts +0 -47
- package/component/tabs/tabs.module.d.ts +0 -11
- package/component/theme-switch/theme-switch.module.d.ts +0 -10
- package/component/three/custom-series/custom-series.component.d.ts +0 -20
- package/component/three/public-api.d.ts +0 -11
- package/component/three/three-chart/area-3d/area-3d.component.d.ts +0 -14
- package/component/three/three-chart/axes-3d/axes-3d.component.d.ts +0 -37
- package/component/three/three-chart/base-3d-series/base3d-series.component.d.ts +0 -15
- package/component/three/three-chart/block-3d/block-3d.component.d.ts +0 -28
- package/component/three/three-chart/canvas/canvas.component.d.ts +0 -11
- package/component/three/three-chart/directive/canvas-3d-host.d.ts +0 -19
- package/component/three/three-chart/directive/public-api.d.ts +0 -2
- package/component/three/three-chart/directive/series-3d-host.d.ts +0 -16
- package/component/three/three-chart/line-3d/line-3d.component.d.ts +0 -19
- package/component/three/three-chart/model/axes-3d-min-max.d.ts +0 -5
- package/component/three/three-chart/model/axis-3d-point.d.ts +0 -4
- package/component/three/three-chart/model/base-3d-series.d.ts +0 -11
- package/component/three/three-chart/model/base-3d-three-point.d.ts +0 -8
- package/component/three/three-chart/model/block-3d-series.d.ts +0 -6
- package/component/three/three-chart/model/block3d-point.d.ts +0 -5
- package/component/three/three-chart/model/enum/public-api.d.ts +0 -1
- package/component/three/three-chart/model/enum/series-3d-type.d.ts +0 -4
- package/component/three/three-chart/model/i-3d-chart-config.d.ts +0 -14
- package/component/three/three-chart/model/line-3d-point.d.ts +0 -5
- package/component/three/three-chart/model/line-3d-series.d.ts +0 -6
- package/component/three/three-chart/model/public-api.d.ts +0 -10
- package/component/three/three-chart/scene/scene.component.d.ts +0 -20
- package/component/three/three-chart/service/chart-3d.service.d.ts +0 -21
- package/component/three/three-chart/three-chart.component.d.ts +0 -19
- package/component/toggle/toggle.module.d.ts +0 -9
- package/component/toolbar/toolbar.module.d.ts +0 -8
- package/component/tree/tree.module.d.ts +0 -14
- package/directive/auto-position/auto-position.module.d.ts +0 -8
- package/directive/click-outside/click-outside.module.d.ts +0 -8
- package/directive/context-menu/context-menu.module.d.ts +0 -9
- package/directive/disable-control/disable-control.module.d.ts +0 -8
- package/directive/drag-drop/drag-drop.module.d.ts +0 -11
- package/directive/drag-sort/drag-sort.module.d.ts +0 -9
- package/directive/highlight/highlight.module.d.ts +0 -8
- package/directive/hint/hint.module.d.ts +0 -9
- package/directive/let/let.module.d.ts +0 -8
- package/directive/loader/loader.module.d.ts +0 -8
- package/directive/no-autofill/no-autofill.module.d.ts +0 -8
- package/directive/only-number/only-number.module.d.ts +0 -8
- package/directive/resize-drag/resize-drag.module.d.ts +0 -8
- package/directive/scroll-into-view/scroll-into-view.module.d.ts +0 -8
- package/directive/scrollable/scrollable.module.d.ts +0 -10
- package/directive/teta-template/teta-template.module.d.ts +0 -8
- package/directive/tooltip/tooltip.module.d.ts +0 -10
- package/docs/chartDocs.mdx +0 -153
- package/docs/threeDocs.mdx +0 -65
- package/esm2022/component/accordion/accordion.module.mjs +0 -27
- package/esm2022/component/autocomplete/autocomplete.module.mjs +0 -24
- package/esm2022/component/avatar/avatar.module.mjs +0 -28
- package/esm2022/component/button/button.module.mjs +0 -22
- package/esm2022/component/chart-3d/chart-3d.module.mjs +0 -18
- package/esm2022/component/checkbox/checkbox.module.mjs +0 -26
- package/esm2022/component/date-picker/date-picker.module.mjs +0 -91
- package/esm2022/component/delimiter/delimiter.module.mjs +0 -20
- package/esm2022/component/divider/divider.module.mjs +0 -20
- package/esm2022/component/dropdown/dropdown.module.mjs +0 -39
- package/esm2022/component/dynamic-component/dynamic-component.module.mjs +0 -20
- package/esm2022/component/expand-card/expand-card.module.mjs +0 -45
- package/esm2022/component/expand-panel/expand-panel.module.mjs +0 -50
- package/esm2022/component/file-upload/file-upload.module.mjs +0 -22
- package/esm2022/component/filter/filter.module.mjs +0 -81
- package/esm2022/component/icon/icon-file/icon-file.module.mjs +0 -28
- package/esm2022/component/icon/icon.module.mjs +0 -33
- package/esm2022/component/input/input.module.mjs +0 -26
- package/esm2022/component/message/message.module.mjs +0 -29
- package/esm2022/component/pager/pager.module.mjs +0 -24
- package/esm2022/component/panel/panel.module.mjs +0 -20
- package/esm2022/component/progress-bar/progress-bar.module.mjs +0 -20
- package/esm2022/component/radio/radio.module.mjs +0 -20
- package/esm2022/component/resize-panel/resize-panel.module.mjs +0 -20
- package/esm2022/component/select/select.module.mjs +0 -54
- package/esm2022/component/sidebar/sidebar.module.mjs +0 -28
- package/esm2022/component/switch/switch.module.mjs +0 -21
- package/esm2022/component/table/table.module.mjs +0 -185
- package/esm2022/component/tabs/tabs.module.mjs +0 -39
- package/esm2022/component/theme-switch/theme-switch.module.mjs +0 -28
- package/esm2022/component/three/custom-series/custom-series.component.mjs +0 -34
- package/esm2022/component/three/public-api.mjs +0 -12
- package/esm2022/component/three/three-chart/area-3d/area-3d.component.mjs +0 -53
- package/esm2022/component/three/three-chart/axes-3d/axes-3d.component.mjs +0 -60
- package/esm2022/component/three/three-chart/base-3d-series/base3d-series.component.mjs +0 -29
- package/esm2022/component/three/three-chart/block-3d/block-3d.component.mjs +0 -77
- package/esm2022/component/three/three-chart/canvas/canvas.component.mjs +0 -24
- package/esm2022/component/three/three-chart/directive/canvas-3d-host.mjs +0 -49
- package/esm2022/component/three/three-chart/directive/public-api.mjs +0 -3
- package/esm2022/component/three/three-chart/directive/series-3d-host.mjs +0 -48
- package/esm2022/component/three/three-chart/line-3d/line-3d.component.mjs +0 -42
- package/esm2022/component/three/three-chart/model/axes-3d-min-max.mjs +0 -2
- package/esm2022/component/three/three-chart/model/axis-3d-point.mjs +0 -2
- package/esm2022/component/three/three-chart/model/base-3d-series.mjs +0 -2
- package/esm2022/component/three/three-chart/model/base-3d-three-point.mjs +0 -2
- package/esm2022/component/three/three-chart/model/block-3d-series.mjs +0 -2
- package/esm2022/component/three/three-chart/model/block3d-point.mjs +0 -2
- package/esm2022/component/three/three-chart/model/enum/public-api.mjs +0 -2
- package/esm2022/component/three/three-chart/model/enum/series-3d-type.mjs +0 -6
- package/esm2022/component/three/three-chart/model/i-3d-chart-config.mjs +0 -2
- package/esm2022/component/three/three-chart/model/line-3d-point.mjs +0 -2
- package/esm2022/component/three/three-chart/model/line-3d-series.mjs +0 -2
- package/esm2022/component/three/three-chart/model/public-api.mjs +0 -11
- package/esm2022/component/three/three-chart/scene/scene.component.mjs +0 -47
- package/esm2022/component/three/three-chart/service/chart-3d.service.mjs +0 -86
- package/esm2022/component/three/three-chart/three-chart.component.mjs +0 -46
- package/esm2022/component/toggle/toggle.module.mjs +0 -19
- package/esm2022/component/toolbar/toolbar.module.mjs +0 -20
- package/esm2022/component/tree/tree.module.mjs +0 -24
- package/esm2022/directive/auto-position/auto-position.module.mjs +0 -24
- package/esm2022/directive/click-outside/click-outside.module.mjs +0 -20
- package/esm2022/directive/context-menu/context-menu.module.mjs +0 -24
- package/esm2022/directive/disable-control/disable-control.module.mjs +0 -22
- package/esm2022/directive/drag-drop/drag-drop.module.mjs +0 -39
- package/esm2022/directive/drag-sort/drag-sort.module.mjs +0 -19
- package/esm2022/directive/highlight/highlight.module.mjs +0 -20
- package/esm2022/directive/hint/hint.module.mjs +0 -24
- package/esm2022/directive/let/let.module.mjs +0 -23
- package/esm2022/directive/loader/loader.module.mjs +0 -20
- package/esm2022/directive/no-autofill/no-autofill.module.mjs +0 -18
- package/esm2022/directive/only-number/only-number.module.mjs +0 -18
- package/esm2022/directive/resize-drag/resize-drag.module.mjs +0 -18
- package/esm2022/directive/scroll-into-view/scroll-into-view.module.mjs +0 -23
- package/esm2022/directive/scrollable/scrollable.module.mjs +0 -33
- package/esm2022/directive/teta-template/teta-template.module.mjs +0 -24
- package/esm2022/directive/tooltip/tooltip.module.mjs +0 -20
- package/esm2022/observable/zoneObservable.mjs +0 -15
- package/esm2022/pipe/date-pipe/teta-date-pipe.module.mjs +0 -18
- package/esm2022/pipe/number-pipe/number-pipe.module.mjs +0 -22
- package/esm2022/public-api.mjs +0 -25
- package/observable/zoneObservable.d.ts +0 -5
- package/pipe/date-pipe/teta-date-pipe.module.d.ts +0 -8
- package/pipe/number-pipe/number-pipe.module.d.ts +0 -8
- package/public-api.d.ts +0 -22
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewContainerRef, } from '@angular/core';
|
|
2
2
|
import { HeadCellComponentBase } from '../base/head-cell-component-base';
|
|
3
|
+
import { TableColumn } from '../contract/table-column';
|
|
3
4
|
import { DefaultHeadCellComponent } from '../default/default-head-cell/default-head-cell.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export class HeadCellHostComponent {
|
|
6
|
-
viewContainerRef;
|
|
7
|
-
_column;
|
|
8
|
-
_columns;
|
|
9
|
-
_data;
|
|
10
|
-
componentRef;
|
|
11
|
-
init;
|
|
12
7
|
set column(column) {
|
|
13
8
|
this._column = column;
|
|
14
9
|
if (this.init) {
|
|
@@ -50,17 +45,17 @@ export class HeadCellHostComponent {
|
|
|
50
45
|
this.componentRef.instance.data = this.data;
|
|
51
46
|
this.init = true;
|
|
52
47
|
}
|
|
53
|
-
static
|
|
54
|
-
static
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HeadCellHostComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: HeadCellHostComponent, isStandalone: true, selector: "teta-head-cell-host", inputs: { column: "column", columns: "columns", data: "data" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:contents}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
55
50
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HeadCellHostComponent, decorators: [{
|
|
57
52
|
type: Component,
|
|
58
|
-
args: [{ selector: 'teta-head-cell-host', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:contents}\n"] }]
|
|
59
|
-
}], ctorParameters:
|
|
53
|
+
args: [{ selector: 'teta-head-cell-host', template: '', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [":host{display:contents}\n"] }]
|
|
54
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }], propDecorators: { column: [{
|
|
60
55
|
type: Input
|
|
61
56
|
}], columns: [{
|
|
62
57
|
type: Input
|
|
63
58
|
}], data: [{
|
|
64
59
|
type: Input
|
|
65
60
|
}] } });
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZC1jZWxsLWhvc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9oZWFkLWNlbGwtaG9zdC9oZWFkLWNlbGwtaG9zdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBRVQsS0FBSyxFQUVMLGdCQUFnQixHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMscUJBQXFCL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cbiAgICBpZiAoIUhlYWRDZWxsQ29tcG9uZW50QmFzZS5pc1Byb3RvdHlwZU9mKHRoaXMuY29sdW1uLmhlYWRDZWxsQ29tcG9uZW50KSkge1xuICAgICAgdGhpcy5jb2x1bW4uaGVhZENlbGxDb21wb25lbnQgPSBEZWZhdWx0SGVhZENlbGxDb21wb25lbnQ7XG4gICAgfVxuICAgIHRoaXMuY29tcG9uZW50UmVmID1cbiAgICAgIHRoaXMudmlld0NvbnRhaW5lclJlZi5jcmVhdGVDb21wb25lbnQ8SGVhZENlbGxDb21wb25lbnRCYXNlPFQ+Pih0aGlzLmNvbHVtbi5oZWFkQ2VsbENvbXBvbmVudCk7XG4gICAgdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UuY29sdW1uID0gdGhpcy5jb2x1bW47XG4gICAgdGhpcy5jb21wb25lbnRSZWYuaW5zdGFuY2UuY29sdW1ucyA9IHRoaXMuY29sdW1ucztcbiAgICB0aGlzLmNvbXBvbmVudFJlZi5pbnN0YW5jZS5kYXRhID0gdGhpcy5kYXRhO1xuICAgIHRoaXMuaW5pdCA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './table.module';
|
|
2
1
|
/**
|
|
3
2
|
* Components
|
|
4
3
|
*/
|
|
@@ -39,4 +38,4 @@ export * from './enum/public-api';
|
|
|
39
38
|
* enum
|
|
40
39
|
*/
|
|
41
40
|
export * from './util/public-api';
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTs7R0FFRztBQUNILGNBQWMseUJBQXlCL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i91dGlsL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, HostBinding, Input, } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, Input, } from '@angular/core';
|
|
2
|
+
import { TableService } from '../service/table.service';
|
|
2
3
|
import { takeWhile } from 'rxjs/operators';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { CheckboxComponent } from '../../checkbox/checkbox/checkbox.component';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
import * as i1 from "../service/table.service";
|
|
5
8
|
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "../../checkbox/checkbox/checkbox.component";
|
|
7
9
|
export class SelectionCellComponent {
|
|
8
|
-
_svc;
|
|
9
|
-
_cdr;
|
|
10
|
-
row;
|
|
11
|
-
tableCellClass = true;
|
|
12
|
-
selectedRows = [];
|
|
13
|
-
_alive = true;
|
|
14
10
|
constructor(_svc, _cdr) {
|
|
15
11
|
this._svc = _svc;
|
|
16
12
|
this._cdr = _cdr;
|
|
13
|
+
this.tableCellClass = true;
|
|
14
|
+
this.selectedRows = [];
|
|
15
|
+
this._alive = true;
|
|
17
16
|
}
|
|
18
17
|
selectRow(value) {
|
|
19
18
|
if (value) {
|
|
@@ -34,16 +33,16 @@ export class SelectionCellComponent {
|
|
|
34
33
|
ngOnDestroy() {
|
|
35
34
|
this._alive = false;
|
|
36
35
|
}
|
|
37
|
-
static
|
|
38
|
-
static
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SelectionCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SelectionCellComponent, isStandalone: true, selector: "teta-selection-cell", inputs: { row: "row" }, host: { properties: { "class.cell": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], dependencies: [{ kind: "component", type: CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "labelPosition", "allowNull"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
38
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SelectionCellComponent, decorators: [{
|
|
41
40
|
type: Component,
|
|
42
|
-
args: [{ selector: 'teta-selection-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
|
|
43
|
-
}], ctorParameters:
|
|
41
|
+
args: [{ selector: 'teta-selection-cell', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CheckboxComponent, FormsModule], template: "<teta-checkbox [binary]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"selectedRows?.indexOf(row) >= 0\"\n (ngModelChange)=\"selectRow($event)\"\n (click)=\"$event.stopPropagation()\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
|
|
42
|
+
}], ctorParameters: () => [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }], propDecorators: { row: [{
|
|
44
43
|
type: Input
|
|
45
44
|
}], tableCellClass: [{
|
|
46
45
|
type: HostBinding,
|
|
47
46
|
args: ['class.cell']
|
|
48
47
|
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9zZWxlY3Rpb24tY2VsbC9zZWxlY3Rpb24tY2VsbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL3NlbGVjdGlvbi1jZWxsL3NlbGVjdGlvbi1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxXQUFXLEVBQ1gsS0FBSyxHQUdOLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDRDQUE0QyxDQUFDOzs7O0FBVS9FLE1BQU0sT0FBTyxzQkFBc0I7SUFRakMsWUFBb0IsSU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nTW9kZWxdPVwic2VsZWN0ZWRSb3dzPy5pbmRleE9mKHJvdykgPj0gMFwiXG4gICAgICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJzZWxlY3RSb3coJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpXCI+PC90ZXRhLWNoZWNrYm94PlxuIl19
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, HostBinding, } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, HostBinding, } from '@angular/core';
|
|
2
|
+
import { TableService } from '../service/table.service';
|
|
2
3
|
import { takeWhile } from 'rxjs/operators';
|
|
4
|
+
import { FormsModule } from '@angular/forms';
|
|
5
|
+
import { CheckboxComponent } from '../../checkbox/checkbox/checkbox.component';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
import * as i1 from "../service/table.service";
|
|
5
8
|
import * as i2 from "@angular/forms";
|
|
6
|
-
import * as i3 from "../../checkbox/checkbox/checkbox.component";
|
|
7
9
|
export class SelectionHeadCellComponent {
|
|
8
|
-
_svc;
|
|
9
|
-
_cdr;
|
|
10
|
-
tableCellClass = true;
|
|
11
|
-
_alive = true;
|
|
12
10
|
constructor(_svc, _cdr) {
|
|
13
11
|
this._svc = _svc;
|
|
14
12
|
this._cdr = _cdr;
|
|
13
|
+
this.tableCellClass = true;
|
|
14
|
+
this._alive = true;
|
|
15
15
|
}
|
|
16
16
|
selectAll(value) {
|
|
17
17
|
if (value) {
|
|
@@ -34,14 +34,14 @@ export class SelectionHeadCellComponent {
|
|
|
34
34
|
ngOnDestroy() {
|
|
35
35
|
this._alive = false;
|
|
36
36
|
}
|
|
37
|
-
static
|
|
38
|
-
static
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SelectionHeadCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
38
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SelectionHeadCellComponent, isStandalone: true, selector: "teta-selection-head-cell", host: { properties: { "class.table-head__group": "this.tableCellClass" } }, ngImport: i0, template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"], dependencies: [{ kind: "component", type: CheckboxComponent, selector: "teta-checkbox", inputs: ["class", "palette", "noLabel", "disabled", "value", "binary", "labelPosition", "allowNull"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SelectionHeadCellComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
|
-
args: [{ selector: 'teta-selection-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
|
|
43
|
-
}], ctorParameters:
|
|
42
|
+
args: [{ selector: 'teta-selection-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CheckboxComponent, FormsModule], template: "<teta-checkbox [binary]=\"true\"\n [allowNull]=\"true\"\n [noLabel]=\"true\"\n [ngModel]=\"allSelected()\"\n (ngModelChange)=\"selectAll($event)\"></teta-checkbox>\n", styles: [":host{display:flex;align-items:center;justify-content:center}\n"] }]
|
|
43
|
+
}], ctorParameters: () => [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }], propDecorators: { tableCellClass: [{
|
|
44
44
|
type: HostBinding,
|
|
45
45
|
args: ['class.table-head__group']
|
|
46
46
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWhlYWQtY2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL3NlbGVjdGlvbi1oZWFkLWNlbGwvc2VsZWN0aW9uLWhlYWQtY2VsbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50L3RhYmxlL3NlbGVjdGlvbi1oZWFkLWNlbGwvc2VsZWN0aW9uLWhlYWQtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsV0FBVyxHQUdaLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLD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