@tetacom/ng-components 1.0.40 → 1.0.43
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/assets/icons.svg +92 -70
- 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/button/button/button.component.d.ts +1 -1
- package/component/chart-3d/chart3d/chart3d.component.d.ts +1 -1
- package/component/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/component/date-picker/date-picker/date-picker.component.d.ts +1 -1
- package/component/date-picker/day-select/day-select.component.d.ts +1 -1
- package/component/date-picker/month-picker/month-picker.component.d.ts +1 -1
- package/component/date-picker/month-select/month-select.component.d.ts +1 -1
- package/component/date-picker/time-part-control/time-part-control.component.d.ts +1 -1
- package/component/date-picker/year-select/year-select.component.d.ts +1 -1
- package/component/delimiter/delimiter/delimiter.component.d.ts +1 -1
- package/component/dropdown/dropdown/dropdown.component.d.ts +1 -1
- package/component/dropdown/dropdown-base.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/dynamic-component/popup-content/popup-content.component.d.ts +1 -1
- package/component/expand-card/expand-card/expand-card.component.d.ts +1 -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/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/filter/base/filter-component-base.d.ts +1 -2
- package/component/filter/boolean-filter/boolean-filter.component.d.ts +2 -3
- package/component/filter/date-filter/date-filter.component.d.ts +2 -3
- package/component/filter/filter-host/filter-host.component.d.ts +2 -3
- package/component/filter/list-filter/list-filter.component.d.ts +2 -3
- package/component/filter/numeric-filter/numeric-filter.component.d.ts +2 -3
- package/component/filter/string-filter/string-filter.component.d.ts +2 -3
- package/component/icon/icon/icon.component.d.ts +1 -1
- package/component/icon/icon-sprite.directive.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/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/modal/dialog/dialog.component.d.ts +1 -1
- package/component/modal/modal-container/modal-container.component.d.ts +1 -1
- package/component/pager/pager/pager.component.d.ts +1 -1
- package/component/panel/panel/panel.component.d.ts +1 -1
- package/component/progress-bar/progress-bar/progress-bar.component.d.ts +1 -1
- package/component/property-grid/default/date-item-default/date-item-default.component.d.ts +1 -1
- package/component/property-grid/default/list-item-default/list-item-default.component.d.ts +1 -1
- package/component/property-grid/default/numeric-item-default/numeric-item-default.component.d.ts +1 -1
- package/component/property-grid/default/string-item-default/string-item-default.component.d.ts +1 -1
- package/component/property-grid/property-grid/property-grid-group/property-grid-group.component.d.ts +3 -3
- package/component/property-grid/property-grid/property-grid-item/property-grid-item.component.d.ts +4 -4
- package/component/property-grid/property-grid/property-grid.component.d.ts +3 -3
- package/component/radio/radio/radio.component.d.ts +1 -1
- package/component/radio/radio-button/radio-button.component.d.ts +1 -1
- package/component/resize-panel/resize-panel/resize-panel.component.d.ts +1 -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/sidebar/sidebar.component.d.ts +1 -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/base/cell-component-base.d.ts +2 -3
- package/component/table/base/detail-component-base.d.ts +1 -2
- package/component/table/base/head-cell-component-base.d.ts +3 -3
- package/component/table/cell/cell.component.d.ts +2 -3
- package/component/table/cell-host/cell-host.component.d.ts +2 -3
- package/component/table/contract/i-cell-instance.d.ts +1 -2
- package/component/table/contract/public-api.d.ts +0 -1
- package/component/table/contract/table-column.d.ts +0 -16
- package/component/table/default/boolean-cell/boolean-cell.component.d.ts +2 -3
- 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/default-head-cell/default-head-cell.component.d.ts +6 -4
- package/component/table/default/list-cell/list-cell.component.d.ts +2 -3
- package/component/table/default/numeric-cell/numeric-cell.component.d.ts +2 -3
- package/component/table/default/string-cell/string-cell.component.d.ts +2 -3
- package/component/table/head-cell/head-cell.component.d.ts +2 -3
- package/component/table/head-cell-dropdown/head-cell-dropdown.component.d.ts +2 -3
- package/component/table/head-cell-host/head-cell-host.component.d.ts +6 -4
- package/component/table/public-api.d.ts +0 -1
- package/component/table/selection-cell/selection-cell.component.d.ts +3 -4
- package/component/table/selection-head-cell/selection-head-cell.component.d.ts +1 -1
- package/component/table/service/table.service.d.ts +13 -17
- package/component/table/table/table.component.d.ts +12 -18
- package/component/table/table-body/table-body.component.d.ts +11 -17
- package/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.d.ts +2 -3
- package/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.d.ts +2 -3
- package/component/table/table-head/table-head.component.d.ts +2 -3
- package/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.d.ts +2 -3
- package/component/table/table-head-group/table-head-group.component.d.ts +2 -3
- package/component/table/table.module.d.ts +31 -32
- 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/theme-switch/theme-switch.component.d.ts +1 -1
- package/component/toggle/toggle/toggle.component.d.ts +1 -1
- package/component/toolbar/toolbar/toolbar.component.d.ts +1 -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/click-outside/click-outside.directive.d.ts +1 -1
- package/directive/context-menu/context-menu.directive.d.ts +1 -1
- package/directive/disable-control/disable-control.directive.d.ts +1 -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-sort/drag-sort-container.directive.d.ts +1 -1
- package/directive/drag-sort/drag-sort-item.directive.d.ts +1 -1
- package/directive/dynamic-content-base.directive.d.ts +1 -1
- package/directive/highlight/highlight.directive.d.ts +1 -1
- package/directive/hint/hint.directive.d.ts +1 -1
- package/directive/let/let.directive.d.ts +1 -1
- package/directive/loader/loader.directive.d.ts +1 -1
- package/directive/no-autofill/no-autofill.directive.d.ts +1 -1
- package/directive/only-number/only-number.directive.d.ts +1 -1
- package/directive/resize-drag/resize-drag.directive.d.ts +1 -1
- package/directive/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
- package/directive/teta-template/teta-template.directive.d.ts +1 -1
- package/directive/tooltip/tooltip.directive.d.ts +1 -1
- package/esm2020/common/service/click.service.mjs +3 -3
- package/esm2020/common/service/dynamic-component.service.mjs +3 -3
- package/esm2020/common/service/overlay-container.service.mjs +3 -3
- package/esm2020/common/util/array-util.mjs +2 -2
- package/esm2020/component/accordion/accordion/accordion.component.mjs +4 -4
- package/esm2020/component/accordion/accordion-content.directive.mjs +3 -3
- package/esm2020/component/accordion/accordion-head/accordion-head.component.mjs +6 -6
- package/esm2020/component/accordion/accordion-item/accordion-item.component.mjs +4 -4
- package/esm2020/component/accordion/accordion.module.mjs +6 -8
- package/esm2020/component/button/button/button.component.mjs +4 -4
- package/esm2020/component/button/button.module.mjs +5 -7
- package/esm2020/component/chart-3d/chart-3d.module.mjs +5 -5
- package/esm2020/component/chart-3d/chart3d/chart3d.component.mjs +3 -3
- package/esm2020/component/checkbox/checkbox/checkbox.component.mjs +6 -6
- package/esm2020/component/checkbox/checkbox.module.mjs +6 -8
- package/esm2020/component/date-picker/date-picker/date-picker.component.mjs +15 -15
- package/esm2020/component/date-picker/date-picker.module.mjs +12 -14
- package/esm2020/component/date-picker/day-select/day-select.component.mjs +4 -4
- package/esm2020/component/date-picker/month-picker/month-picker.component.mjs +12 -12
- package/esm2020/component/date-picker/month-select/month-select.component.mjs +3 -3
- package/esm2020/component/date-picker/service/picker-touch.service.mjs +3 -3
- package/esm2020/component/date-picker/time-part-control/time-part-control.component.mjs +5 -5
- package/esm2020/component/date-picker/year-select/year-select.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter/delimiter.component.mjs +3 -3
- package/esm2020/component/delimiter/delimiter.module.mjs +5 -7
- package/esm2020/component/dropdown/dropdown/dropdown.component.mjs +4 -4
- package/esm2020/component/dropdown/dropdown-base.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-content.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown-head.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.directive.mjs +3 -3
- package/esm2020/component/dropdown/dropdown.module.mjs +5 -7
- package/esm2020/component/dynamic-component/dynamic-component.module.mjs +5 -7
- package/esm2020/component/dynamic-component/popup-content/popup-content.component.mjs +4 -4
- package/esm2020/component/expand-card/expand-card/expand-card.component.mjs +8 -8
- package/esm2020/component/expand-card/expand-card.module.mjs +9 -11
- package/esm2020/component/expand-panel/expand-panel/expand-panel.component.mjs +7 -7
- package/esm2020/component/expand-panel/expand-panel-content.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel-head.directive.mjs +3 -3
- package/esm2020/component/expand-panel/expand-panel.module.mjs +9 -11
- package/esm2020/component/file-upload/file-item/file-item.component.mjs +4 -4
- package/esm2020/component/file-upload/file-upload-area/file-upload-area.component.mjs +6 -6
- package/esm2020/component/file-upload/file-upload.module.mjs +5 -5
- package/esm2020/component/filter/base/filter-component-base.mjs +1 -1
- package/esm2020/component/filter/boolean-filter/boolean-filter.component.mjs +8 -8
- package/esm2020/component/filter/date-filter/date-filter.component.mjs +9 -9
- package/esm2020/component/filter/filter-host/filter-host.component.mjs +5 -10
- package/esm2020/component/filter/filter.module.mjs +12 -14
- package/esm2020/component/filter/list-filter/list-filter.component.mjs +8 -8
- package/esm2020/component/filter/numeric-filter/numeric-filter.component.mjs +8 -8
- package/esm2020/component/filter/string-filter/string-filter.component.mjs +7 -7
- package/esm2020/component/icon/icon/icon.component.mjs +4 -4
- package/esm2020/component/icon/icon-sprite.directive.mjs +3 -3
- package/esm2020/component/icon/icon.module.mjs +6 -8
- package/esm2020/component/icon/icon.service.mjs +3 -3
- package/esm2020/component/input/form-group-title/form-group-title.component.mjs +4 -4
- package/esm2020/component/input/input/input.component.mjs +3 -3
- package/esm2020/component/input/input.module.mjs +5 -5
- package/esm2020/component/input/text-field/text-field.component.mjs +7 -7
- package/esm2020/component/message/message/message.component.mjs +6 -6
- package/esm2020/component/message/message-host/message-host.component.mjs +6 -6
- package/esm2020/component/message/message.module.mjs +7 -9
- package/esm2020/component/message/message.service.mjs +3 -3
- package/esm2020/component/modal/dialog/dialog.component.mjs +7 -7
- package/esm2020/component/modal/dialog.service.mjs +3 -3
- package/esm2020/component/modal/modal-container/modal-container.component.mjs +4 -4
- package/esm2020/component/modal/modal.module.mjs +10 -12
- package/esm2020/component/modal/modal.service.mjs +3 -3
- package/esm2020/component/pager/pager/pager.component.mjs +4 -4
- package/esm2020/component/pager/pager.module.mjs +6 -8
- package/esm2020/component/panel/panel/panel.component.mjs +4 -4
- package/esm2020/component/panel/panel.module.mjs +5 -7
- package/esm2020/component/progress-bar/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2020/component/progress-bar/progress-bar.module.mjs +5 -7
- package/esm2020/component/property-grid/default/date-item-default/date-item-default.component.mjs +4 -4
- package/esm2020/component/property-grid/default/list-item-default/list-item-default.component.mjs +4 -4
- package/esm2020/component/property-grid/default/numeric-item-default/numeric-item-default.component.mjs +4 -4
- package/esm2020/component/property-grid/default/string-item-default/string-item-default.component.mjs +4 -4
- package/esm2020/component/property-grid/property-grid/property-grid-group/property-grid-group.component.mjs +8 -8
- package/esm2020/component/property-grid/property-grid/property-grid-item/property-grid-item.component.mjs +12 -12
- package/esm2020/component/property-grid/property-grid/property-grid.component.mjs +8 -8
- package/esm2020/component/property-grid/property-grid.module.mjs +16 -18
- package/esm2020/component/radio/radio/radio.component.mjs +4 -4
- package/esm2020/component/radio/radio-button/radio-button.component.mjs +4 -4
- package/esm2020/component/radio/radio.module.mjs +5 -5
- package/esm2020/component/resize-panel/resize-panel/resize-panel.component.mjs +7 -7
- package/esm2020/component/resize-panel/resize-panel.module.mjs +5 -5
- package/esm2020/component/select/select/select.component.mjs +15 -15
- package/esm2020/component/select/select-option.directive.mjs +3 -3
- package/esm2020/component/select/select-value.directive.mjs +3 -3
- package/esm2020/component/select/select.module.mjs +11 -13
- package/esm2020/component/sidebar/sidebar/sidebar.component.mjs +5 -5
- package/esm2020/component/sidebar/sidebar.module.mjs +7 -9
- package/esm2020/component/switch/switch/switch.component.mjs +4 -4
- package/esm2020/component/switch/switch-button/switch-button.component.mjs +4 -4
- package/esm2020/component/switch/switch.module.mjs +5 -7
- package/esm2020/component/switch/switch.service.mjs +3 -3
- package/esm2020/component/table/base/cell-component-base.mjs +5 -5
- package/esm2020/component/table/base/detail-component-base.mjs +1 -1
- package/esm2020/component/table/base/head-cell-component-base.mjs +4 -4
- package/esm2020/component/table/cell/cell.component.mjs +5 -5
- package/esm2020/component/table/cell-host/cell-host.component.mjs +5 -5
- package/esm2020/component/table/contract/i-cell-instance.mjs +1 -1
- package/esm2020/component/table/contract/public-api.mjs +1 -2
- package/esm2020/component/table/contract/table-column.mjs +1 -8
- package/esm2020/component/table/default/boolean-cell/boolean-cell.component.mjs +8 -8
- package/esm2020/component/table/default/date-cell/date-cell.component.mjs +9 -9
- package/esm2020/component/table/default/date-time-cell/date-time-cell.component.mjs +9 -9
- package/esm2020/component/table/default/default-head-cell/default-head-cell.component.mjs +15 -6
- package/esm2020/component/table/default/list-cell/list-cell.component.mjs +11 -11
- package/esm2020/component/table/default/numeric-cell/numeric-cell.component.mjs +5 -5
- package/esm2020/component/table/default/string-cell/string-cell.component.mjs +5 -5
- package/esm2020/component/table/head-cell/head-cell.component.mjs +16 -16
- package/esm2020/component/table/head-cell-dropdown/head-cell-dropdown.component.mjs +11 -12
- package/esm2020/component/table/head-cell-host/head-cell-host.component.mjs +16 -4
- package/esm2020/component/table/public-api.mjs +1 -2
- package/esm2020/component/table/selection-cell/selection-cell.component.mjs +6 -6
- package/esm2020/component/table/selection-head-cell/selection-head-cell.component.mjs +5 -5
- package/esm2020/component/table/service/table.service.mjs +13 -15
- package/esm2020/component/table/table/table.component.mjs +24 -21
- package/esm2020/component/table/table-body/table-body.component.mjs +38 -41
- package/esm2020/component/table/table-head/filter-dropdown-tab/filter-dropdown-tab.component.mjs +10 -10
- package/esm2020/component/table/table-head/main-dropdown-tab/main-dropdown-tab.component.mjs +4 -4
- package/esm2020/component/table/table-head/table-head.component.mjs +7 -7
- package/esm2020/component/table/table-head/visibility-dropdown-tab/visibility-dropdown-tab.component.mjs +13 -13
- package/esm2020/component/table/table-head-group/table-head-group.component.mjs +7 -7
- package/esm2020/component/table/table.module.mjs +23 -30
- package/esm2020/component/tabs/tab/tab.component.mjs +4 -4
- package/esm2020/component/tabs/tab-content.directive.mjs +3 -3
- package/esm2020/component/tabs/tab-title.directive.mjs +3 -3
- package/esm2020/component/tabs/tabs/tabs.component.mjs +4 -4
- package/esm2020/component/tabs/tabs.module.mjs +5 -7
- package/esm2020/component/theme-switch/theme-switch/theme-switch.component.mjs +3 -3
- package/esm2020/component/theme-switch/theme-switch.module.mjs +7 -9
- package/esm2020/component/theme-switch/theme-switch.service.mjs +3 -3
- package/esm2020/component/toggle/toggle/toggle.component.mjs +4 -4
- package/esm2020/component/toggle/toggle.module.mjs +5 -5
- package/esm2020/component/toolbar/toolbar/toolbar.component.mjs +4 -4
- package/esm2020/component/toolbar/toolbar.module.mjs +5 -7
- package/esm2020/component/tree/tree/tree.component.mjs +6 -6
- package/esm2020/component/tree/tree-item/tree-item.component.mjs +5 -5
- package/esm2020/component/tree/tree-item-toggle/tree-item-toggle.component.mjs +3 -3
- package/esm2020/component/tree/tree.module.mjs +5 -5
- package/esm2020/component/tree/tree.service.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.directive.mjs +3 -3
- package/esm2020/directive/click-outside/click-outside.module.mjs +5 -7
- package/esm2020/directive/context-menu/context-menu.directive.mjs +3 -3
- package/esm2020/directive/context-menu/context-menu.module.mjs +6 -8
- package/esm2020/directive/disable-control/disable-control.directive.mjs +3 -3
- package/esm2020/directive/disable-control/disable-control.module.mjs +5 -7
- package/esm2020/directive/drag-drop/drag-container.directive.mjs +3 -3
- package/esm2020/directive/drag-drop/drag-drop.module.mjs +5 -7
- package/esm2020/directive/drag-drop/drag-drop.service.mjs +3 -3
- package/esm2020/directive/drag-drop/drag-placeholder.directive.mjs +3 -3
- package/esm2020/directive/drag-drop/drag-preview.directive.mjs +3 -3
- package/esm2020/directive/drag-drop/drag.directive.mjs +3 -3
- package/esm2020/directive/drag-sort/drag-sort-container.directive.mjs +3 -3
- package/esm2020/directive/drag-sort/drag-sort-item.directive.mjs +3 -3
- package/esm2020/directive/drag-sort/drag-sort.module.mjs +5 -5
- package/esm2020/directive/dynamic-content-base.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.directive.mjs +3 -3
- package/esm2020/directive/highlight/highlight.module.mjs +5 -7
- package/esm2020/directive/hint/hint.directive.mjs +3 -3
- package/esm2020/directive/hint/hint.module.mjs +6 -8
- package/esm2020/directive/let/let.directive.mjs +3 -3
- package/esm2020/directive/let/let.module.mjs +5 -7
- package/esm2020/directive/loader/loader.directive.mjs +3 -3
- package/esm2020/directive/loader/loader.module.mjs +5 -7
- package/esm2020/directive/no-autofill/no-autofill.directive.mjs +3 -3
- package/esm2020/directive/no-autofill/no-autofill.module.mjs +5 -5
- package/esm2020/directive/only-number/only-number.directive.mjs +3 -3
- package/esm2020/directive/only-number/only-number.module.mjs +5 -5
- package/esm2020/directive/resize-drag/resize-drag.directive.mjs +3 -3
- package/esm2020/directive/resize-drag/resize-drag.module.mjs +5 -5
- package/esm2020/directive/scroll-into-view/scroll-into-view.directive.mjs +5 -5
- package/esm2020/directive/scroll-into-view/scroll-into-view.module.mjs +5 -7
- package/esm2020/directive/teta-template/teta-template.directive.mjs +3 -3
- package/esm2020/directive/teta-template/teta-template.module.mjs +5 -7
- package/esm2020/directive/tooltip/tooltip.directive.mjs +3 -3
- package/esm2020/directive/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/locale/teta-config.service.mjs +3 -3
- package/esm2020/pipe/number-pipe/number-pipe.module.mjs +5 -7
- package/esm2020/pipe/number-pipe/number.pipe.mjs +3 -3
- package/esm2020/pipe/prepend-zero/prepend-zero.module.mjs +5 -5
- package/esm2020/pipe/prepend-zero/prepend-zero.pipe.mjs +3 -3
- package/esm2020/util/forms-util.mjs +6 -6
- package/fesm2015/tetacom-ng-components.mjs +1241 -1364
- package/fesm2015/tetacom-ng-components.mjs.map +1 -1
- package/fesm2020/tetacom-ng-components.mjs +1215 -1341
- package/fesm2020/tetacom-ng-components.mjs.map +1 -1
- package/{tetacom-ng-components.d.ts → index.d.ts} +0 -0
- package/package.json +3 -3
- package/pipe/number-pipe/number.pipe.d.ts +1 -1
- package/pipe/prepend-zero/prepend-zero.pipe.d.ts +1 -1
- package/style/presets/color-presets.scss +58 -52
- package/style/switch.scss +1 -2
- package/util/forms-util.d.ts +5 -5
- package/component/table/base/group-row-component-base.d.ts +0 -12
- package/component/table/contract/table-row.d.ts +0 -17
- package/component/table/default/group-row/group-row.component.d.ts +0 -13
- package/esm2020/component/table/base/group-row-component-base.mjs +0 -3
- package/esm2020/component/table/contract/table-row.mjs +0 -40
- package/esm2020/component/table/default/group-row/group-row.component.mjs +0 -20
|
@@ -2,9 +2,9 @@ import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/
|
|
|
2
2
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "../../service/table.service";
|
|
5
|
-
import * as i2 from "
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../../date-picker/date-picker/date-picker.component";
|
|
8
8
|
export class DateCellComponent extends CellComponentBase {
|
|
9
9
|
constructor(svc, cdr) {
|
|
10
10
|
super(svc, cdr);
|
|
@@ -15,7 +15,7 @@ export class DateCellComponent extends CellComponentBase {
|
|
|
15
15
|
super.ngOnInit();
|
|
16
16
|
}
|
|
17
17
|
setValue(value) {
|
|
18
|
-
this.row
|
|
18
|
+
this.row[this.column.name] = value ? new Date(value) : value;
|
|
19
19
|
this.valueChanged();
|
|
20
20
|
this.cdr.detectChanges();
|
|
21
21
|
}
|
|
@@ -31,11 +31,11 @@ export class DateCellComponent extends CellComponentBase {
|
|
|
31
31
|
this.cdr.markForCheck();
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
DateCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
DateCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DateCellComponent, selector: "teta-date-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"false\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "allowNull", "backdrop", "showTime", "format"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateCellComponent, decorators: [{
|
|
37
37
|
type: Component,
|
|
38
|
-
args: [{ selector: 'teta-date-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row
|
|
38
|
+
args: [{ selector: 'teta-date-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | date : 'dd.MM.yyyy'}}\n</span>\n<teta-date-picker class=\"datepicker-table\"\n #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"false\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n" }]
|
|
39
39
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
40
40
|
type: Input
|
|
41
41
|
}], row: [{
|
|
@@ -44,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
44
44
|
type: ViewChild,
|
|
45
45
|
args: ['input', { static: false }]
|
|
46
46
|
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kYXRlLWNlbGwvZGF0ZS1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kYXRlLWNlbGwvZGF0ZS1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULEtBQUssRUFFTCxTQUFTLEdBQ1YsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sZ0NBQWdDLEN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HVtbi5uYW1lKSB7XG4gICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgdGhpcy5pbnB1dD8uZm9jdXMoKTtcbiAgICAgICAgdGhpcy5jZHIubWFya0ZvckNoZWNrKCk7XG4gICAgICB9LCAwKTtcbiAgICB9XG4gIH1cblxuICBzdG9wRWRpdCgpOiB2b2lkIHtcbiAgICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgfVxufVxuIiwiPHNwYW4gW3N0eWxlLmRpc3BsYXldPVwiZWRpdCA/ICdub25lJyA6ICdibG9jaydcIlxuICAgICAgY2xhc3M9XCJjZWxsLXRleHRcIlxuICAgICAgW2NsYXNzLmNlbGwtdGV4dF9kaXNhYmxlZF09XCIhZWRpdGFibGVcIj5cbiAge3tyb3dbY29sdW1uLm5hbWVdIHwgZGF0ZSA6ICdkZC5NTS55eXl5J319XG48L3NwYW4+XG48dGV0YS1kYXRlLXBpY2tlciBjbGFzcz1cImRhdGVwaWNrZXItdGFibGVcIlxuICAgICAgICAgICAgICAgICAgI2lucHV0XG4gICAgICAgICAgICAgICAgICAqbmdJZj1cImVkaXRcIlxuICAgICAgICAgICAgICAgICAgW2FwcGVuZFRvQm9keV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgIFtzaG93VGltZV09XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJyb3dbY29sdW1uLm5hbWVdXCJcbiAgICAgICAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInNldFZhbHVlKCRldmVudClcIlxuPjwvdGV0YS1kYXRlLXBpY2tlcj5cbiJdfQ==
|
|
@@ -2,9 +2,9 @@ import { ChangeDetectionStrategy, Component, Input, ViewChild, } from '@angular/
|
|
|
2
2
|
import { CellComponentBase } from '../../base/cell-component-base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "../../service/table.service";
|
|
5
|
-
import * as i2 from "
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../../date-picker/date-picker/date-picker.component";
|
|
8
8
|
export class DateTimeCellComponent extends CellComponentBase {
|
|
9
9
|
constructor(svc, cdr) {
|
|
10
10
|
super(svc, cdr);
|
|
@@ -15,7 +15,7 @@ export class DateTimeCellComponent extends CellComponentBase {
|
|
|
15
15
|
super.ngOnInit();
|
|
16
16
|
}
|
|
17
17
|
setValue(value) {
|
|
18
|
-
this.row
|
|
18
|
+
this.row[this.column.name] = value;
|
|
19
19
|
this.valueChanged();
|
|
20
20
|
}
|
|
21
21
|
startEdit(initiator, type) {
|
|
@@ -30,11 +30,11 @@ export class DateTimeCellComponent extends CellComponentBase {
|
|
|
30
30
|
this.cdr.markForCheck();
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
34
|
-
DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
DateTimeCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateTimeCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
DateTimeCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DateTimeCellComponent, selector: "teta-date-time-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.DatePickerComponent, selector: "teta-date-picker", inputs: ["disabled", "invalid", "firstDayOfWeek", "disabledDates", "disabledPeriods", "disabledDays", "minDate", "maxDate", "minYearDate", "maxYearDate", "align", "verticalAlign", "appendToBody", "allowNull", "backdrop", "showTime", "format"] }, { kind: "pipe", type: i2.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DateTimeCellComponent, decorators: [{
|
|
36
36
|
type: Component,
|
|
37
|
-
args: [{ selector: 'teta-date-time-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row
|
|
37
|
+
args: [{ selector: 'teta-date-time-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | date : 'dd.MM.yyyy HH:mm:ss'}}\n</span>\n<teta-date-picker class=\"datepicker-table\" #input\n *ngIf=\"edit\"\n [appendToBody]=\"true\"\n [showTime]=\"true\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\"\n></teta-date-picker>\n" }]
|
|
38
38
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
39
39
|
type: Input
|
|
40
40
|
}], row: [{
|
|
@@ -43,4 +43,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
43
43
|
type: ViewChild,
|
|
44
44
|
args: ['input', { static: false }]
|
|
45
45
|
}] } });
|
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L2RhdGUtdGltZS1jZWxsL2RhdGUtdGltZS1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kYXRlLXRpbWUtY2VsbC9kYXRlLXRpbWUtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQXFCLFNBQVMsRUFBRSxLQUFLLEVBQVUsU0FBUyxHQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9HLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLGdDQUFnQyxDQUFDOzs7Ozs7QUFZakUsTUFBTSxPQUFPLHFCQUNYLFNBQVEsaUJBQW9CO0lBTzVCLFlBQ3FCLEdBQW9CLEVBQ3BCLEdBQXNCO1FBRXpDLEtBQUssQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUM7UUFIRyxRQUFHLEdBQUgsR0FBRyxDQUF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ZXh0X2Rpc2FibGVkXT1cIiFlZGl0YWJsZVwiPlxuICB7e3Jvd1tjb2x1bW4ubmFtZV0gfCBkYXRlIDogJ2RkLk1NLnl5eXkgSEg6bW06c3MnfX1cbjwvc3Bhbj5cbjx0ZXRhLWRhdGUtcGlja2VyIGNsYXNzPVwiZGF0ZXBpY2tlci10YWJsZVwiICNpbnB1dFxuICAgICAgICAgICAgICAgICAgKm5nSWY9XCJlZGl0XCJcbiAgICAgICAgICAgICAgICAgIFthcHBlbmRUb0JvZHldPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICBbc2hvd1RpbWVdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICBbbmdNb2RlbF09XCJyb3dbY29sdW1uLm5hbWVdXCJcbiAgICAgICAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInNldFZhbHVlKCRldmVudClcIlxuPjwvdGV0YS1kYXRlLXBpY2tlcj5cbiJdfQ==
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
2
2
|
import { HeadCellComponentBase } from '../../base/head-cell-component-base';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "
|
|
5
|
-
import * as i2 from "
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../../../../directive/hint/hint.directive";
|
|
6
6
|
export class DefaultHeadCellComponent extends HeadCellComponentBase {
|
|
7
7
|
constructor(_cdr) {
|
|
8
8
|
super();
|
|
@@ -15,6 +15,13 @@ export class DefaultHeadCellComponent extends HeadCellComponentBase {
|
|
|
15
15
|
get column() {
|
|
16
16
|
return this._column;
|
|
17
17
|
}
|
|
18
|
+
set columns(val) {
|
|
19
|
+
this._columns = val;
|
|
20
|
+
this._cdr.detectChanges();
|
|
21
|
+
}
|
|
22
|
+
get columns() {
|
|
23
|
+
return this._columns;
|
|
24
|
+
}
|
|
18
25
|
set data(data) {
|
|
19
26
|
this._data = data;
|
|
20
27
|
this._cdr.detectChanges();
|
|
@@ -25,14 +32,16 @@ export class DefaultHeadCellComponent extends HeadCellComponentBase {
|
|
|
25
32
|
ngOnInit() {
|
|
26
33
|
}
|
|
27
34
|
}
|
|
28
|
-
DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
DefaultHeadCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultHeadCellComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
DefaultHeadCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: DefaultHeadCellComponent, selector: "teta-default-head-cell", inputs: { column: "column", columns: "columns", data: "data" }, usesInheritance: true, ngImport: i0, template: "<div class=\"column column_auto\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text font-caption\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0;padding:6px 8px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.HintDirective, selector: "[tetaHint]", inputs: ["tetaHint", "align", "verticalAlign", "delay"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: DefaultHeadCellComponent, decorators: [{
|
|
31
38
|
type: Component,
|
|
32
39
|
args: [{ selector: 'teta-default-head-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"column column_auto\" [tetaHint]=\"column.hint || column.caption\">\n <div class=\"table-head__cell__text\">\n {{column.caption}}\n </div>\n <div *ngIf=\"column.unit\" class=\"table-head__cell__text font-caption\" style=\"overflow: visible;\">\n [{{column.unit}}]\n </div>\n</div>\n", styles: [":host{align-items:center;justify-content:center;display:flex;min-width:0;padding:6px 8px}\n"] }]
|
|
33
40
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
34
41
|
type: Input
|
|
42
|
+
}], columns: [{
|
|
43
|
+
type: Input
|
|
35
44
|
}], data: [{
|
|
36
45
|
type: Input
|
|
37
46
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1oZWFkLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L2RlZmF1bHQtaGVhZC1jZWxsL2RlZmF1bHQtaGVhZC1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9kZWZhdWx0LWhlYWQtY2VsbC9kZWZhdWx0LWhlYWQtY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFDVCxLQUFLLEdBRU4sTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0scUNBQXFDLENBQUM7Ozs7QUFTMUUsTUFBTSxPQUFPLHdCQUNYLFNBQVEscUJBQXdCO0lBb0NoQy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ellComponentBase } from '../../base/cell-component-base';
|
|
|
3
3
|
import { VerticalAlign } from '../../../../common/enum/vertical-align.enum';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "../../service/table.service";
|
|
6
|
-
import * as i2 from "
|
|
7
|
-
import * as i3 from "@angular/
|
|
8
|
-
import * as i4 from "
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
import * as i4 from "../../../select/select/select.component";
|
|
9
9
|
export class ListCellComponent extends CellComponentBase {
|
|
10
10
|
constructor(svc, cdr) {
|
|
11
11
|
super(svc, cdr);
|
|
@@ -19,7 +19,7 @@ export class ListCellComponent extends CellComponentBase {
|
|
|
19
19
|
}
|
|
20
20
|
get displayFilterOptions() {
|
|
21
21
|
if (this.column?.parentName?.length > 0) {
|
|
22
|
-
const parentValue = this.row
|
|
22
|
+
const parentValue = this.row[this.column.parentName];
|
|
23
23
|
if (parentValue) {
|
|
24
24
|
return this.filterOptions.filter(_ => _.parentId === parentValue);
|
|
25
25
|
}
|
|
@@ -28,7 +28,7 @@ export class ListCellComponent extends CellComponentBase {
|
|
|
28
28
|
}
|
|
29
29
|
setValue(value) {
|
|
30
30
|
// if(this.c)
|
|
31
|
-
this.row
|
|
31
|
+
this.row[this.column.name] = value;
|
|
32
32
|
this.valueChanged();
|
|
33
33
|
}
|
|
34
34
|
startEdit(initiator, type) {
|
|
@@ -51,18 +51,18 @@ export class ListCellComponent extends CellComponentBase {
|
|
|
51
51
|
!(this.filterOptions instanceof Array)) {
|
|
52
52
|
return '';
|
|
53
53
|
}
|
|
54
|
-
const item = this.filterOptions.find((option) => option.id === this.row
|
|
54
|
+
const item = this.filterOptions.find((option) => option.id === this.row[this.column.name]);
|
|
55
55
|
if (item === null || item === undefined) {
|
|
56
56
|
return '';
|
|
57
57
|
}
|
|
58
58
|
return item.name;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
ListCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
62
|
-
ListCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
63
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
ListCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ListCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
ListCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: ListCellComponent, selector: "teta-list-cell", inputs: { column: "column", row: "row", filterOptions: "filterOptions" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.SelectComponent, selector: "teta-select", inputs: ["multiple", "options", "invalid", "align", "verticalAlign", "autoClose", "autoCloseIgnore", "disabled", "itemSize", "virtual", "icon", "placeholder", "appendToBody", "allowNull", "valueRef", "textRef", "searchRef"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: ListCellComponent, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
|
-
args: [{ selector: 'teta-list-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row
|
|
65
|
+
args: [{ selector: 'teta-list-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{value}}\n</span>\n<teta-select #input\n class=\"row_auto select-table\"\n *ngIf=\"edit\"\n [allowNull]=\"!column.required\"\n [verticalAlign]=\"verticalAlign.auto\"\n [appendToBody]=\"true\"\n [options]=\"displayFilterOptions\"\n [valueRef]=\"'id'\"\n [textRef]=\"'name'\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"setValue($event)\">\n</teta-select>\n" }]
|
|
66
66
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
67
67
|
type: Input
|
|
68
68
|
}], row: [{
|
|
@@ -73,4 +73,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
73
73
|
type: ViewChild,
|
|
74
74
|
args: ['input', { static: false }]
|
|
75
75
|
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
76
|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GNsYXNzPVwiY2VsbC10ZXh0XCJcbiAgICAgIFtjbGFzcy5jZWxsLXRleHRfZGlzYWJsZWRdPVwiIWVkaXRhYmxlXCI+XG4gIHt7dmFsdWV9fVxuPC9zcGFuPlxuPHRldGEtc2VsZWN0ICNpbnB1dFxuICAgICAgICAgICAgIGNsYXNzPVwicm93X2F1dG8gc2VsZWN0LXRhYmxlXCJcbiAgICAgICAgICAgICAqbmdJZj1cImVkaXRcIlxuICAgICAgICAgICAgIFthbGxvd051bGxdPVwiIWNvbHVtbi5yZXF1aXJlZFwiXG4gICAgICAgICAgICAgW3ZlcnRpY2FsQWxpZ25dPVwidmVydGljYWxBbGlnbi5hdXRvXCJcbiAgICAgICAgICAgICBbYXBwZW5kVG9Cb2R5XT1cInRydWVcIlxuICAgICAgICAgICAgIFtvcHRpb25zXT1cImRpc3BsYXlGaWx0ZXJPcHRpb25zXCJcbiAgICAgICAgICAgICBbdmFsdWVSZWZdPVwiJ2lkJ1wiXG4gICAgICAgICAgICAgW3RleHRSZWZdPVwiJ25hbWUnXCJcbiAgICAgICAgICAgICBbbmdNb2RlbF09XCJyb3dbY29sdW1uLm5hbWVdXCJcbiAgICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJzZXRWYWx1ZSgkZXZlbnQpXCI+XG48L3RldGEtc2VsZWN0PlxuIl19
|
|
@@ -35,11 +35,11 @@ export class NumericCellComponent extends CellComponentBase {
|
|
|
35
35
|
this.cdr.markForCheck();
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
NumericCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
NumericCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
NumericCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumericCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
NumericCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: NumericCellComponent, selector: "teta-numeric-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"row[column.name]=$event;\"/>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.OnlyNumberDirective, selector: "[tetaOnlyNumber]", inputs: ["tetaOnlyNumber", "allowDecimals", "allowSign", "decimalSeparator", "commaSeparator"] }, { kind: "pipe", type: i5.NumberPipe, name: "tetaNumber" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: NumericCellComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
|
-
args: [{ selector: 'teta-numeric-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row
|
|
42
|
+
args: [{ selector: 'teta-numeric-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name] | tetaNumber : 2}}\n</span>\n<input #input\n *ngIf=\"edit\"\n tetaOnlyNumber\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"row[column.name]=$event;\"/>\n" }]
|
|
43
43
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
44
44
|
type: Input
|
|
45
45
|
}], row: [{
|
|
@@ -48,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
48
48
|
type: ViewChild,
|
|
49
49
|
args: ['input', { static: false }]
|
|
50
50
|
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtZXJpYy1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9udW1lcmljLWNlbGwvbnVtZXJpYy1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9udW1lcmljLWNlbGwvbnVtZXJpYy1jZWxsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9B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Ghpcy5pbnB1dD8ubmF0aXZlRWxlbWVudC5mb2N1cygpO1xuICAgICAgLy8gICB0aGlzLmlucHV0Py5uYXRpdmVFbGVtZW50LnNlbGVjdCgpO1xuICAgICAgLy8gICB0aGlzLmNkci5tYXJrRm9yQ2hlY2soKTtcbiAgICAgIC8vIH0sIDApO1xuICAgIH1cbiAgfVxuXG4gIHN0b3BFZGl0KCk6IHZvaWQge1xuICAgIHRoaXMuY2RyLm1hcmtGb3JDaGVjaygpO1xuICB9XG59XG4iLCI8c3BhbiBbc3R5bGUuZGlzcGxheV09XCJlZGl0ID8gJ25vbmUnIDogJ2Jsb2NrJ1wiXG4gICAgICBjbGFzcz1cImNlbGwtdGV4dFwiXG4gICAgICBbY2xhc3MuY2VsbC10ZXh0X2Rpc2FibGVkXT1cIiFlZGl0YWJsZVwiPlxuICB7e3Jvd1tjb2x1bW4ubmFtZV0gfCB0ZXRhTnVtYmVyIDogMn19XG48L3NwYW4+XG48aW5wdXQgI2lucHV0XG4gICAgICAgKm5nSWY9XCJlZGl0XCJcbiAgICAgICB0ZXRhT25seU51bWJlclxuICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICBjbGFzcz1cImlucHV0IHJvd19hdXRvIGJvcmRlci1yYWRpdXMtMFwiXG4gICAgICAgKGJsdXIpPVwic2V0VmFsdWUoKVwiXG4gICAgICAgW25nTW9kZWxdPVwicm93W2NvbHVtbi5uYW1lXVwiXG4gICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicm93W2NvbHVtbi5uYW1lXT0kZXZlbnQ7XCIvPlxuIl19
|
|
@@ -35,11 +35,11 @@ export class StringCellComponent extends CellComponentBase {
|
|
|
35
35
|
this.cdr.detectChanges();
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
StringCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
StringCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
38
|
+
StringCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StringCellComponent, deps: [{ token: i1.TableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
StringCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.0", type: StringCellComponent, selector: "teta-string-cell", inputs: { column: "column", row: "row" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"row[column.name]=$event\"/>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0", ngImport: i0, type: StringCellComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
|
-
args: [{ selector: 'teta-string-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row
|
|
42
|
+
args: [{ selector: 'teta-string-cell', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span [style.display]=\"edit ? 'none' : 'block'\"\n class=\"cell-text\"\n [class.cell-text_disabled]=\"!editable\">\n {{row[column.name]}}\n</span>\n<input #input\n *ngIf=\"edit\"\n type=\"text\"\n class=\"input row_auto border-radius-0\"\n (blur)=\"setValue()\"\n [ngModel]=\"row[column.name]\"\n (ngModelChange)=\"row[column.name]=$event\"/>\n\n" }]
|
|
43
43
|
}], ctorParameters: function () { return [{ type: i1.TableService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { column: [{
|
|
44
44
|
type: Input
|
|
45
45
|
}], row: [{
|
|
@@ -48,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImpor
|
|
|
48
48
|
type: ViewChild,
|
|
49
49
|
args: ['input', { static: false }]
|
|
50
50
|
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nLWNlbGwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudC90YWJsZS9kZWZhdWx0L3N0cmluZy1jZWxsL3N0cmluZy1jZWxsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnQvdGFibGUvZGVmYXVsdC9zdHJpbmctY2VsbC9zdHJpbmctY2VsbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFFVCxLQUFLLEVBRUwsU0FBUyxH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