@fundamental-ngx/platform 0.48.0-rc.9 → 0.48.0
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/approval-flow/approval-flow-node/approval-flow-node.component.d.ts +0 -2
- package/button/button.component.d.ts +7 -8
- package/dynamic-page/dynamic-page.component.d.ts +24 -15
- package/dynamic-page/dynamic-page.tokens.d.ts +3 -0
- package/dynamic-page/index.d.ts +2 -1
- package/dynamic-page/platform-dynamic-page.interface.d.ts +22 -0
- package/esm2022/approval-flow/approval-flow-add-node/approval-flow-add-node.component.mjs +4 -4
- package/esm2022/approval-flow/approval-flow-approver-details/approval-flow-approver-details.component.mjs +4 -4
- package/esm2022/approval-flow/approval-flow-messages/approval-flow-messages.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-node/approval-flow-drop-zone.directive.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-node/approval-flow-node.component.mjs +5 -7
- package/esm2022/approval-flow/approval-flow-select-type/approval-flow-select-type.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-team-list/approval-flow-team-list.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-toolbar-actions/approval-flow-toolbar-actions.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-user-details/approval-flow-user-details.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-user-list/approval-flow-user-list.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow.component.mjs +5 -5
- package/esm2022/approval-flow/approval-flow.module.mjs +4 -4
- package/esm2022/approval-flow/services/approval-flow-add-node-view.service.mjs +3 -3
- package/esm2022/button/button.component.mjs +14 -15
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/dynamic-page/directives/dynamic-page-header-subtitle.directive.mjs +3 -3
- package/esm2022/dynamic-page/directives/dynamic-page-header-title.directive.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-content/dynamic-page-content-host.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-content/dynamic-page-content.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-footer/dynamic-page-footer.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/actions/global-actions/dynamic-page-global-actions.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/actions/layout-actions/dynamic-page-layout-actions.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/key-info/dynamic-page-key-info.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/title/dynamic-page-title-image.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page-header/title/dynamic-page-title.component.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page.component.mjs +48 -35
- package/esm2022/dynamic-page/dynamic-page.config.mjs +3 -3
- package/esm2022/dynamic-page/dynamic-page.module.mjs +4 -4
- package/esm2022/dynamic-page/dynamic-page.tokens.mjs +3 -0
- package/esm2022/dynamic-page/index.mjs +3 -2
- package/esm2022/dynamic-page/platform-dynamic-page.interface.mjs +2 -0
- package/esm2022/feed-input/feed-input.component.mjs +6 -6
- package/esm2022/feed-input/feed-input.module.mjs +4 -4
- package/esm2022/form/auto-complete/auto-complete.directive.mjs +3 -3
- package/esm2022/form/auto-complete/auto-complete.module.mjs +4 -4
- package/esm2022/form/checkbox/checkbox.component.mjs +11 -43
- package/esm2022/form/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/form/checkbox-group/checkbox-group.component.mjs +21 -63
- package/esm2022/form/checkbox-group/checkbox-group.module.mjs +4 -4
- package/esm2022/form/combobox/combobox/combobox.component.mjs +33 -63
- package/esm2022/form/combobox/combobox-mobile/combobox/combobox-mobile.component.mjs +15 -22
- package/esm2022/form/combobox/combobox-mobile/combobox-mobile.module.mjs +4 -4
- package/esm2022/form/combobox/combobox.config.mjs +3 -3
- package/esm2022/form/combobox/combobox.module.mjs +4 -4
- package/esm2022/form/combobox/commons/base-combobox.mjs +24 -58
- package/esm2022/form/combobox/directives/combobox-item.directive.mjs +15 -15
- package/esm2022/form/date-picker/date-picker.component.mjs +21 -57
- package/esm2022/form/date-picker/date-picker.module.mjs +4 -4
- package/esm2022/form/datetime-picker/datetime-picker.component.mjs +22 -60
- package/esm2022/form/datetime-picker/datetime-picker.module.mjs +4 -4
- package/esm2022/form/form-generator/base-dynamic-form-generator-control.mjs +3 -3
- package/esm2022/form/form-generator/controls/dynamic-form-generator-checkbox/dynamic-form-generator-checkbox.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-datepicker/dynamic-form-generator-datepicker.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-editor/dynamic-form-generator-editor.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-input/dynamic-form-generator-input.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-multi-input/dynamic-form-generator-multi-input.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-object-status/dynamic-form-generator-object-status.component.mjs +4 -4
- package/esm2022/form/form-generator/controls/dynamic-form-generator-radio/dynamic-form-generator-radio.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-select/dynamic-form-generator-select.component.mjs +5 -9
- package/esm2022/form/form-generator/controls/dynamic-form-generator-switch/dynamic-form-generator-switch.component.mjs +5 -9
- package/esm2022/form/form-generator/dynamic-form-control-field.directive.mjs +3 -3
- package/esm2022/form/form-generator/dynamic-form-control.directive.mjs +3 -3
- package/esm2022/form/form-generator/fdp-form-generator.module.mjs +4 -4
- package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +27 -13
- package/esm2022/form/form-generator/form-generator-components-accessor.service.mjs +3 -3
- package/esm2022/form/form-generator/form-generator-field/form-generator-field.component.mjs +3 -3
- package/esm2022/form/form-generator/form-generator.service.mjs +11 -16
- package/esm2022/form/form-generator/interfaces/dynamic-form-item.mjs +1 -1
- package/esm2022/form/form-generator/pipes/get-hint-options.pipe.mjs +3 -3
- package/esm2022/form/form-generator/pipes/get-ordered-form-controls.pipe.mjs +3 -3
- package/esm2022/form/form-group/fdp-form.module.mjs +4 -4
- package/esm2022/form/form-group/form-field/form-field.component.mjs +40 -47
- package/esm2022/form/form-group/form-field-error/form-field-error-description.directive.mjs +3 -3
- package/esm2022/form/form-group/form-field-error/form-field-error-heading.directive.mjs +3 -3
- package/esm2022/form/form-group/form-field-error/form-field-error.directive.mjs +3 -3
- package/esm2022/form/form-group/form-field-extras/form-field-extras.component.mjs +3 -3
- package/esm2022/form/form-group/form-field-group/form-field-group.component.mjs +4 -4
- package/esm2022/form/form-group/form-group-header/form-group-header.component.mjs +3 -3
- package/esm2022/form/form-group/form-group.component.mjs +40 -50
- package/esm2022/form/form-group/pipes/field-group-row-value.pipe.mjs +3 -3
- package/esm2022/form/form-group/services/form-field-layout.service.mjs +3 -3
- package/esm2022/form/input/fdp-input.module.mjs +4 -4
- package/esm2022/form/input/input.component.mjs +16 -48
- package/esm2022/form/input-group/addon-body.component.mjs +4 -5
- package/esm2022/form/input-group/addon.component.mjs +3 -3
- package/esm2022/form/input-group/input-group.component.mjs +13 -46
- package/esm2022/form/input-group/input-group.config.mjs +3 -3
- package/esm2022/form/input-group/input-group.module.mjs +4 -4
- package/esm2022/form/input-group/input.component.mjs +3 -3
- package/esm2022/form/input-message-group-with-template/input-message-group-with-template.component.mjs +3 -3
- package/esm2022/form/multi-combobox/commons/base-multi-combobox.mjs +64 -102
- package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +25 -71
- package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +18 -26
- package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox-mobile.module.mjs +4 -4
- package/esm2022/form/multi-combobox/multi-combobox.config.mjs +3 -3
- package/esm2022/form/multi-combobox/multi-combobox.interface.mjs +1 -1
- package/esm2022/form/multi-combobox/multi-combobox.module.mjs +4 -4
- package/esm2022/form/multi-input/base-multi-input.mjs +43 -83
- package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +13 -21
- package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.module.mjs +4 -4
- package/esm2022/form/multi-input/multi-input.component.mjs +32 -91
- package/esm2022/form/multi-input/multi-input.config.mjs +3 -3
- package/esm2022/form/multi-input/multi-input.module.mjs +4 -4
- package/esm2022/form/radio-group/radio/radio.component.mjs +12 -44
- package/esm2022/form/radio-group/radio-group.component.mjs +32 -74
- package/esm2022/form/radio-group/radio-group.module.mjs +4 -4
- package/esm2022/form/select/commons/base-select.mjs +59 -101
- package/esm2022/form/select/select/select.component.mjs +17 -60
- package/esm2022/form/select/select.config.mjs +3 -3
- package/esm2022/form/select/select.module.mjs +4 -4
- package/esm2022/form/step-input/base.step-input.mjs +72 -85
- package/esm2022/form/step-input/number/number-step-input.component.mjs +14 -53
- package/esm2022/form/step-input/step-input-action-button.mjs +9 -13
- package/esm2022/form/step-input/step-input-control.directive.mjs +3 -3
- package/esm2022/form/step-input/step-input-decrement.directive.mjs +9 -13
- package/esm2022/form/step-input/step-input-increment.directive.mjs +9 -13
- package/esm2022/form/step-input/step-input.config.mjs +3 -3
- package/esm2022/form/step-input/step-input.module.mjs +4 -4
- package/esm2022/form/switch/switch/switch.component.mjs +12 -49
- package/esm2022/form/switch/switch/switch.config.mjs +3 -3
- package/esm2022/form/switch/switch.module.mjs +4 -4
- package/esm2022/form/text-area/text-area.component.mjs +14 -45
- package/esm2022/form/text-area/text-area.config.mjs +3 -3
- package/esm2022/form/text-area/text-area.module.mjs +4 -4
- package/esm2022/form/time-picker/time-picker.component.mjs +11 -42
- package/esm2022/form/time-picker/time-picker.module.mjs +4 -4
- package/esm2022/fundamental-ngx.module.mjs +4 -4
- package/esm2022/icon-tab-bar/components/closable-icon-tab-bar.class.mjs +6 -6
- package/esm2022/icon-tab-bar/components/icon-tab-bar-base.class.mjs +85 -90
- package/esm2022/icon-tab-bar/components/icon-tab-bar-filter-type/icon-tab-bar-filter-type.component.mjs +21 -9
- package/esm2022/icon-tab-bar/components/icon-tab-bar-icon-type/icon-tab-bar-icon-type.component.mjs +26 -9
- package/esm2022/icon-tab-bar/components/icon-tab-bar-process-type/icon-tab-bar-process-type.component.mjs +40 -26
- package/esm2022/icon-tab-bar/components/icon-tab-bar-tab/icon-tab-bar-tab.component.mjs +76 -0
- package/esm2022/icon-tab-bar/components/icon-tab-bar-text-type/icon-tab-bar-text-type.component.mjs +28 -16
- package/esm2022/icon-tab-bar/components/popovers/icon-tab-bar-popover/icon-tab-bar-popover.component.mjs +14 -5
- package/esm2022/icon-tab-bar/components/popovers/icon-tab-bar-popover-base.class.mjs +3 -3
- package/esm2022/icon-tab-bar/components/popovers/text-type-popover/text-type-popover.component.mjs +5 -5
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-container.directive.mjs +12 -21
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-item.directive.mjs +10 -12
- package/esm2022/icon-tab-bar/directives/dnd/icon-bar-dnd-list.directive.mjs +10 -11
- package/esm2022/icon-tab-bar/directives/icon-tab-bar-free-content.directive.mjs +14 -0
- package/esm2022/icon-tab-bar/icon-tab-bar.component.mjs +208 -27
- package/esm2022/icon-tab-bar/icon-tab-bar.module.mjs +19 -9
- package/esm2022/icon-tab-bar/index.mjs +3 -1
- package/esm2022/icon-tab-bar/interfaces/tab-config.interface.mjs +1 -1
- package/esm2022/info-label/info-label.component.mjs +6 -4
- package/esm2022/info-label/info-label.module.mjs +4 -4
- package/esm2022/link/link.component.mjs +15 -23
- package/esm2022/link/link.module.mjs +4 -4
- package/esm2022/list/action-list-item/action-list-item.component.mjs +5 -5
- package/esm2022/list/action-list-item/action-list-item.module.mjs +4 -4
- package/esm2022/list/base-list-item.mjs +20 -22
- package/esm2022/list/display-list-item/display-list-item.component.mjs +5 -5
- package/esm2022/list/display-list-item/display-list-item.module.mjs +4 -4
- package/esm2022/list/free-content-list-item/free-content-list-item.component.mjs +5 -5
- package/esm2022/list/list-group-footer.component.mjs +5 -5
- package/esm2022/list/list-group-header.component.mjs +7 -7
- package/esm2022/list/list.component.mjs +25 -66
- package/esm2022/list/list.config.mjs +3 -3
- package/esm2022/list/list.module.mjs +4 -4
- package/esm2022/list/load-more-content.directive.mjs +3 -3
- package/esm2022/list/object-list-item/object-list-item-row.component.mjs +6 -6
- package/esm2022/list/object-list-item/object-list-item.component.mjs +5 -5
- package/esm2022/list/object-list-item/object-list-item.module.mjs +4 -4
- package/esm2022/list/standard-list-item/standard-list-item.component.mjs +5 -5
- package/esm2022/list/standard-list-item/standard-list-item.module.mjs +4 -4
- package/esm2022/menu/menu-item.component.mjs +5 -5
- package/esm2022/menu/menu-trigger.directive.mjs +3 -3
- package/esm2022/menu/menu.component.mjs +5 -6
- package/esm2022/menu/menu.module.mjs +4 -4
- package/esm2022/menu-button/menu-button.component.mjs +14 -9
- package/esm2022/menu-button/menu-button.module.mjs +4 -4
- package/esm2022/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.mjs +11 -14
- package/esm2022/message-popover/components/message-view/message-view.component.mjs +4 -4
- package/esm2022/message-popover/directives/message-popover-form-item.directive.mjs +3 -3
- package/esm2022/message-popover/message-popover.component.mjs +53 -54
- package/esm2022/message-popover/models/message-popover-wrapper.interface.mjs +1 -1
- package/esm2022/message-popover/platform-message-popover.module.mjs +4 -4
- package/esm2022/object-marker/object-marker.component.mjs +10 -5
- package/esm2022/object-marker/object-marker.module.mjs +4 -4
- package/esm2022/object-status/object-status.component.mjs +13 -8
- package/esm2022/object-status/object-status.module.mjs +4 -4
- package/esm2022/page-footer/page-footer.component.mjs +8 -10
- package/esm2022/page-footer/page-footer.module.mjs +4 -4
- package/esm2022/panel/panel-actions.component.mjs +3 -3
- package/esm2022/panel/panel-content/panel-content.component.mjs +3 -3
- package/esm2022/panel/panel.component.mjs +8 -9
- package/esm2022/panel/panel.config.mjs +3 -3
- package/esm2022/panel/panel.module.mjs +4 -4
- package/esm2022/search-field/search-field-mobile/search-field/search-field-mobile.component.mjs +12 -22
- package/esm2022/search-field/search-field.component.mjs +36 -42
- package/esm2022/search-field/search-field.module.mjs +4 -4
- package/esm2022/settings-generator/controls/theme-selector-list/theme-selector-list.component.mjs +6 -6
- package/esm2022/settings-generator/default-config.mjs +2 -2
- package/esm2022/settings-generator/layouts/base-settings-generator-layout.mjs +3 -3
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +3 -3
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +3 -3
- package/esm2022/settings-generator/models/settings.model.mjs +1 -1
- package/esm2022/settings-generator/settings-generator-content/settings-generator-content.component.mjs +34 -28
- package/esm2022/settings-generator/settings-generator-content/settings-generator-section/settings-generator-section.component.mjs +4 -5
- package/esm2022/settings-generator/settings-generator-layout-accessor.service.mjs +3 -3
- package/esm2022/settings-generator/settings-generator.component.mjs +6 -6
- package/esm2022/settings-generator/settings-generator.module.mjs +4 -4
- package/esm2022/settings-generator/settings-generator.service.mjs +12 -13
- package/esm2022/shared/base.mjs +30 -18
- package/esm2022/shared/form/base.input.mjs +70 -69
- package/esm2022/shared/form/collection-base.input.mjs +7 -49
- package/esm2022/shared/form/inline-layout-collection-base.input.mjs +25 -66
- package/esm2022/shared/pipes/convert-bytes/convert-bytes.pipe.mjs +3 -3
- package/esm2022/shared/pipes/pipe.module.mjs +4 -4
- package/esm2022/shared/platform.config.mjs +3 -3
- package/esm2022/slider/slider.component.mjs +11 -43
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.mjs +11 -14
- package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.mjs +8 -16
- package/esm2022/smart-filter-bar/components/smart-filter-bar-conditions-dialog/smart-filter-bar-conditions-dialog.component.mjs +6 -6
- package/esm2022/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +13 -18
- package/esm2022/smart-filter-bar/directives/smart-filter-bar-field-definition.directive.mjs +22 -47
- package/esm2022/smart-filter-bar/directives/smart-filter-bar-subject.directive.mjs +12 -10
- package/esm2022/smart-filter-bar/directives/smart-filter-bar-toolbar-item.directive.mjs +3 -3
- package/esm2022/smart-filter-bar/smart-filter-bar.class.mjs +3 -3
- package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +73 -57
- package/esm2022/smart-filter-bar/smart-filter-bar.module.mjs +4 -4
- package/esm2022/smart-filter-bar/smart-filter-bar.service.mjs +3 -3
- package/esm2022/split-menu-button/split-menu-button.component.mjs +17 -24
- package/esm2022/split-menu-button/split-menu-button.module.mjs +4 -4
- package/esm2022/table/components/no-data-wrapper/no-data-wrapper.component.mjs +3 -3
- package/esm2022/table/components/reset-button/reset-button.component.mjs +8 -9
- package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +10 -9
- package/esm2022/table/components/table-column/table-column.component.mjs +3 -3
- package/esm2022/table/components/table-column-resizer/table-column-resizer.component.mjs +11 -14
- package/esm2022/table/components/table-editable-cell/table-editable-cell.component.mjs +4 -4
- package/esm2022/table/components/table-group-row/table-group-row.component.mjs +6 -10
- package/esm2022/table/components/table-header-cell-content/table-header-cell-content.component.mjs +31 -15
- package/esm2022/table/components/table-header-row/table-header-row.component.mjs +19 -24
- package/esm2022/table/components/table-p13-dialog/columns/columns.component.mjs +9 -11
- package/esm2022/table/components/table-p13-dialog/filtering/filter-rule.component.mjs +4 -4
- package/esm2022/table/components/table-p13-dialog/filtering/filtering.component.mjs +8 -11
- package/esm2022/table/components/table-p13-dialog/grouping/grouping.component.mjs +8 -11
- package/esm2022/table/components/table-p13-dialog/sorting/sorting.component.mjs +11 -14
- package/esm2022/table/components/table-p13-dialog/table-p13-columns.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/table-p13-dialog.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/table-p13-filter.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/table-p13-group.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/table-p13-sort.component.mjs +3 -3
- package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +7 -8
- package/esm2022/table/components/table-row/table-row.component.mjs +12 -17
- package/esm2022/table/components/table-toolbar/table-toolbar-actions.component.mjs +3 -3
- package/esm2022/table/components/table-toolbar/table-toolbar-left-actions.component.mjs +3 -3
- package/esm2022/table/components/table-toolbar/table-toolbar.component.mjs +38 -23
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-custom.component.mjs +3 -3
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-multi-select.component.mjs +3 -3
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-single-select.component.mjs +3 -3
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-step.component.mjs +4 -4
- package/esm2022/table/components/table-view-settings-dialog/filtering/filters-list-step.component.mjs +4 -4
- package/esm2022/table/components/table-view-settings-dialog/filtering/filters.component.mjs +8 -11
- package/esm2022/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +9 -12
- package/esm2022/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +9 -12
- package/esm2022/table/components/table-view-settings-dialog/table-view-settings-dialog.component.mjs +3 -3
- package/esm2022/table/components/table-view-settings-dialog/table-view-settings-filter.component.mjs +3 -3
- package/esm2022/table/table.component.mjs +138 -62
- package/esm2022/table/table.module.mjs +4 -4
- package/esm2022/table-helpers/directives/platform-table-column-responsive.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-cell-header-popover.directive.mjs +4 -4
- package/esm2022/table-helpers/directives/table-cell-resizable.directive.mjs +20 -23
- package/esm2022/table-helpers/directives/table-cell-selectable.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-cell.directive.mjs +12 -12
- package/esm2022/table-helpers/directives/table-data-source.directive.mjs +10 -9
- package/esm2022/table-helpers/directives/table-draggable.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-header-resizer.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-header.directive.mjs +6 -6
- package/esm2022/table-helpers/directives/table-initial-state.directive.mjs +5 -5
- package/esm2022/table-helpers/directives/table-scrollable.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-view-settings-filter-custom.directive.mjs +3 -3
- package/esm2022/table-helpers/directives/table-virtual-scroll.directive.mjs +3 -3
- package/esm2022/table-helpers/pipes/cell-styles.pipe.mjs +3 -3
- package/esm2022/table-helpers/pipes/column-resizable-side.pipe.mjs +3 -3
- package/esm2022/table-helpers/pipes/column-sorting-direction.pipe.mjs +3 -3
- package/esm2022/table-helpers/pipes/row-classes.pipe.mjs +3 -3
- package/esm2022/table-helpers/pipes/selection-cell-styles.pipe.mjs +3 -3
- package/esm2022/table-helpers/services/table-column-resize.service.mjs +22 -20
- package/esm2022/table-helpers/services/table-responsive.service.mjs +9 -14
- package/esm2022/table-helpers/services/table-row.service.mjs +3 -3
- package/esm2022/table-helpers/services/table-scroll-dispatcher.service.mjs +3 -3
- package/esm2022/table-helpers/services/table.service.mjs +23 -21
- package/esm2022/table-helpers/table-helpers.module.mjs +4 -4
- package/esm2022/table-helpers/table.mjs +1 -1
- package/esm2022/value-help-dialog/components/base-tab/vhd-base-tab.component.mjs +3 -3
- package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +4 -4
- package/esm2022/value-help-dialog/components/select-tab/select-tab.component.mjs +28 -8
- package/esm2022/value-help-dialog/components/value-help-dialog-filter/value-help-dialog-filter.component.mjs +9 -5
- package/esm2022/value-help-dialog/directives/condition-count-message.directive.mjs +3 -3
- package/esm2022/value-help-dialog/directives/value-help-column-def.directive.mjs +24 -0
- package/esm2022/value-help-dialog/directives/value-help-filter-def.directive.mjs +22 -0
- package/esm2022/value-help-dialog/index.mjs +3 -1
- package/esm2022/value-help-dialog/models/vhd-component.model.mjs +3 -0
- package/esm2022/value-help-dialog/models/vhd-filter.model.mjs +1 -1
- package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +59 -32
- package/esm2022/value-help-dialog/value-help-dialog.module.mjs +4 -4
- package/esm2022/variant-management/components/manage-variant-item/manage-variant-item.component.mjs +4 -4
- package/esm2022/variant-management/components/manage-variants-dialog/manage-variants-dialog.component.mjs +6 -6
- package/esm2022/variant-management/components/variant-management-wrapper/variant-management-wrapper.component.mjs +3 -3
- package/esm2022/variant-management/directives/variant-management-dirty-label.directive.mjs +3 -3
- package/esm2022/variant-management/variant-management.component.mjs +47 -13
- package/esm2022/variant-management/variant-management.module.mjs +4 -4
- package/esm2022/wizard-generator/base-wizard-generator.mjs +21 -28
- package/esm2022/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.mjs +19 -19
- package/esm2022/wizard-generator/components/wizard-body/wizard-body.component.mjs +12 -18
- package/esm2022/wizard-generator/components/wizard-generator/wizard-generator.component.mjs +7 -12
- package/esm2022/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.mjs +11 -10
- package/esm2022/wizard-generator/components/wizard-summary-step/wizard-summary-section/wizard-summary-section.component.mjs +4 -4
- package/esm2022/wizard-generator/components/wizard-summary-step/wizard-summary-step.component.mjs +3 -3
- package/esm2022/wizard-generator/directives/wizard-generator-finish-button.directive.mjs +3 -3
- package/esm2022/wizard-generator/directives/wizard-generator-go-next-button.directive.mjs +3 -3
- package/esm2022/wizard-generator/directives/wizard-generator-review-button.directive.mjs +3 -3
- package/esm2022/wizard-generator/directives/wizard-generator-summary-step.directive.mjs +3 -3
- package/esm2022/wizard-generator/wizard-dialog-generator.service.mjs +3 -3
- package/esm2022/wizard-generator/wizard-generator.module.mjs +4 -4
- package/esm2022/wizard-generator/wizard-generator.service.mjs +3 -3
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs +42 -44
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-button.mjs +16 -17
- package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs +88 -130
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs +9 -9
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +853 -1636
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +532 -220
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-info-label.mjs +9 -7
- package/fesm2022/fundamental-ngx-platform-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-link.mjs +18 -26
- package/fesm2022/fundamental-ngx-platform-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +104 -143
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs +16 -11
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu.mjs +16 -16
- package/fesm2022/fundamental-ngx-platform-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs +71 -74
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-object-marker.mjs +13 -8
- package/fesm2022/fundamental-ngx-platform-object-marker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-object-status.mjs +16 -11
- package/fesm2022/fundamental-ngx-platform-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-page-footer.mjs +10 -12
- package/fesm2022/fundamental-ngx-platform-page-footer.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-panel.mjs +19 -20
- package/fesm2022/fundamental-ngx-platform-panel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-search-field.mjs +49 -77
- package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +75 -72
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-shared.mjs +162 -218
- package/fesm2022/fundamental-ngx-platform-shared.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-slider.mjs +12 -44
- package/fesm2022/fundamental-ngx-platform-slider.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +144 -162
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs +20 -27
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +143 -148
- package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +366 -291
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +144 -53
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs +63 -30
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +82 -98
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform.mjs +4 -4
- package/form/checkbox/checkbox.component.d.ts +4 -6
- package/form/checkbox-group/checkbox-group.component.d.ts +3 -8
- package/form/combobox/combobox/combobox.component.d.ts +4 -12
- package/form/combobox/combobox-mobile/combobox/combobox-mobile.component.d.ts +5 -8
- package/form/combobox/commons/base-combobox.d.ts +4 -9
- package/form/date-picker/date-picker.component.d.ts +8 -11
- package/form/datetime-picker/datetime-picker.component.d.ts +9 -11
- package/form/form-generator/controls/dynamic-form-generator-checkbox/dynamic-form-generator-checkbox.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-datepicker/dynamic-form-generator-datepicker.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-editor/dynamic-form-generator-editor.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-input/dynamic-form-generator-input.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-multi-input/dynamic-form-generator-multi-input.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-radio/dynamic-form-generator-radio.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-select/dynamic-form-generator-select.component.d.ts +0 -2
- package/form/form-generator/controls/dynamic-form-generator-switch/dynamic-form-generator-switch.component.d.ts +0 -2
- package/form/form-generator/form-generator/form-generator.component.d.ts +3 -1
- package/form/form-generator/form-generator.service.d.ts +3 -7
- package/form/form-generator/interfaces/dynamic-form-item.d.ts +5 -5
- package/form/form-group/form-field/form-field.component.d.ts +16 -20
- package/form/form-group/form-group.component.d.ts +36 -35
- package/form/input/input.component.d.ts +3 -6
- package/form/input-group/addon-body.component.d.ts +0 -1
- package/form/input-group/input-group.component.d.ts +4 -5
- package/form/multi-combobox/commons/base-multi-combobox.d.ts +13 -16
- package/form/multi-combobox/multi-combobox/multi-combobox.component.d.ts +4 -12
- package/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.d.ts +6 -9
- package/form/multi-combobox/multi-combobox.interface.d.ts +3 -3
- package/form/multi-input/base-multi-input.d.ts +10 -15
- package/form/multi-input/multi-input-mobile/multi-input-mobile.component.d.ts +5 -8
- package/form/multi-input/multi-input.component.d.ts +7 -37
- package/form/radio-group/radio/radio.component.d.ts +4 -5
- package/form/radio-group/radio-group.component.d.ts +7 -11
- package/form/select/commons/base-select.d.ts +11 -18
- package/form/select/select/select.component.d.ts +2 -15
- package/form/step-input/base.step-input.d.ts +13 -14
- package/form/step-input/number/number-step-input.component.d.ts +2 -7
- package/form/step-input/step-input-action-button.d.ts +4 -7
- package/form/step-input/step-input-decrement.directive.d.ts +2 -5
- package/form/step-input/step-input-increment.directive.d.ts +2 -5
- package/form/switch/switch/switch.component.d.ts +5 -8
- package/form/text-area/text-area.component.d.ts +4 -5
- package/form/time-picker/time-picker.component.d.ts +4 -5
- package/fundamental-ngx-platform-v0.48.0.tgz +0 -0
- package/icon-tab-bar/components/icon-tab-bar-base.class.d.ts +19 -20
- package/icon-tab-bar/components/icon-tab-bar-icon-type/icon-tab-bar-icon-type.component.d.ts +2 -0
- package/icon-tab-bar/components/icon-tab-bar-tab/icon-tab-bar-tab.component.d.ts +45 -0
- package/icon-tab-bar/components/icon-tab-bar-text-type/icon-tab-bar-text-type.component.d.ts +1 -3
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-container.directive.d.ts +5 -8
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-item.directive.d.ts +1 -1
- package/icon-tab-bar/directives/dnd/icon-bar-dnd-list.directive.d.ts +1 -1
- package/icon-tab-bar/directives/icon-tab-bar-free-content.directive.d.ts +5 -0
- package/icon-tab-bar/icon-tab-bar.component.d.ts +82 -8
- package/icon-tab-bar/icon-tab-bar.module.d.ts +7 -1
- package/icon-tab-bar/index.d.ts +2 -0
- package/icon-tab-bar/interfaces/tab-config.interface.d.ts +13 -5
- package/info-label/info-label.component.d.ts +2 -2
- package/link/link.component.d.ts +4 -7
- package/list/base-list-item.d.ts +4 -6
- package/list/list.component.d.ts +6 -15
- package/menu-button/menu-button.component.d.ts +7 -4
- package/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.d.ts +2 -4
- package/message-popover/message-popover.component.d.ts +13 -20
- package/message-popover/models/message-popover-wrapper.interface.d.ts +2 -2
- package/object-marker/object-marker.component.d.ts +4 -1
- package/object-status/object-status.component.d.ts +4 -1
- package/package.json +4 -4
- package/page-footer/page-footer.component.d.ts +2 -4
- package/panel/panel.component.d.ts +2 -3
- package/search-field/search-field-mobile/search-field/search-field-mobile.component.d.ts +7 -10
- package/search-field/search-field.component.d.ts +10 -19
- package/settings-generator/models/settings.model.d.ts +7 -6
- package/settings-generator/settings-generator-content/settings-generator-content.component.d.ts +31 -12
- package/settings-generator/settings-generator-content/settings-generator-section/settings-generator-section.component.d.ts +0 -2
- package/settings-generator/settings-generator.component.d.ts +3 -3
- package/settings-generator/settings-generator.service.d.ts +1 -1
- package/shared/base.d.ts +11 -4
- package/shared/form/base.input.d.ts +24 -16
- package/shared/form/collection-base.input.d.ts +1 -9
- package/shared/form/inline-layout-collection-base.input.d.ts +5 -12
- package/slider/slider.component.d.ts +3 -6
- package/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.d.ts +3 -5
- package/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.d.ts +0 -5
- package/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.d.ts +4 -8
- package/smart-filter-bar/directives/smart-filter-bar-field-definition.directive.d.ts +8 -17
- package/smart-filter-bar/directives/smart-filter-bar-subject.directive.d.ts +2 -0
- package/smart-filter-bar/smart-filter-bar.component.d.ts +28 -22
- package/split-menu-button/split-menu-button.component.d.ts +11 -14
- package/table/components/reset-button/reset-button.component.d.ts +2 -3
- package/table/components/table-cell-header-popover/table-cell-header-popover.component.d.ts +4 -3
- package/table/components/table-column-resizer/table-column-resizer.component.d.ts +4 -5
- package/table/components/table-group-row/table-group-row.component.d.ts +2 -5
- package/table/components/table-header-cell-content/table-header-cell-content.component.d.ts +11 -6
- package/table/components/table-header-row/table-header-row.component.d.ts +1 -3
- package/table/components/table-p13-dialog/columns/columns.component.d.ts +2 -4
- package/table/components/table-p13-dialog/filtering/filtering.component.d.ts +1 -4
- package/table/components/table-p13-dialog/grouping/grouping.component.d.ts +1 -4
- package/table/components/table-p13-dialog/sorting/sorting.component.d.ts +1 -4
- package/table/components/table-row/table-row.component.d.ts +2 -2
- package/table/components/table-toolbar/table-toolbar.component.d.ts +24 -8
- package/table/components/table-view-settings-dialog/filtering/filters.component.d.ts +1 -4
- package/table/components/table-view-settings-dialog/grouping/grouping.component.d.ts +1 -4
- package/table/components/table-view-settings-dialog/sorting/sorting.component.d.ts +1 -4
- package/table/table.component.d.ts +29 -19
- package/table-helpers/directives/table-cell-header-popover.directive.d.ts +2 -3
- package/table-helpers/directives/table-cell-resizable.directive.d.ts +1 -3
- package/table-helpers/directives/table-data-source.directive.d.ts +1 -1
- package/table-helpers/services/table-column-resize.service.d.ts +4 -2
- package/table-helpers/services/table-responsive.service.d.ts +3 -5
- package/table-helpers/services/table.service.d.ts +12 -10
- package/table-helpers/table.d.ts +1 -0
- package/value-help-dialog/components/select-tab/select-tab.component.d.ts +9 -2
- package/value-help-dialog/components/value-help-dialog-filter/value-help-dialog-filter.component.d.ts +5 -1
- package/value-help-dialog/directives/value-help-column-def.directive.d.ts +17 -0
- package/value-help-dialog/directives/value-help-filter-def.directive.d.ts +15 -0
- package/value-help-dialog/index.d.ts +2 -0
- package/value-help-dialog/models/vhd-component.model.d.ts +5 -0
- package/value-help-dialog/models/vhd-filter.model.d.ts +3 -0
- package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +14 -7
- package/variant-management/variant-management.component.d.ts +19 -6
- package/wizard-generator/base-wizard-generator.d.ts +9 -12
- package/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.d.ts +2 -3
- package/wizard-generator/components/wizard-body/wizard-body.component.d.ts +3 -7
- package/wizard-generator/components/wizard-generator/wizard-generator.component.d.ts +1 -4
- package/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.d.ts +1 -1
- package/dynamic-page/dynamic-page.service.d.ts +0 -35
- package/esm2022/dynamic-page/dynamic-page.service.mjs +0 -58
- package/esm2022/search-field/search-field-mobile/search-field-mobile.module.mjs +0 -16
- package/fundamental-ngx-platform-v0.48.0-rc.9.tgz +0 -0
- package/search-field/search-field-mobile/search-field-mobile.module.d.ts +0 -7
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, InjectionToken, Injectable, Inject, Directive, Optional, Input,
|
|
2
|
+
import { EventEmitter, InjectionToken, signal, computed, Injectable, DestroyRef, inject, Inject, Directive, Optional, Input, HostListener, Output, NgZone, ChangeDetectorRef, forwardRef, HostBinding, ElementRef, Pipe, NgModule } from '@angular/core';
|
|
3
3
|
import equal from 'fast-deep-equal';
|
|
4
|
+
import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
4
5
|
import * as i2 from '@fundamental-ngx/cdk/utils';
|
|
5
6
|
import { resizeObservable, RtlService, FDK_FOCUSABLE_ITEM_DIRECTIVE, FocusableItemDirective, KeyUtil, isString, dfs } from '@fundamental-ngx/cdk/utils';
|
|
7
|
+
import { skip, debounceTime, filter, map, distinctUntilChanged, takeUntil, take, startWith, share, tap } from 'rxjs/operators';
|
|
6
8
|
import { BehaviorSubject, Subject, Subscription, fromEvent, isObservable, Observable, filter as filter$1 } from 'rxjs';
|
|
7
|
-
import { skip, debounceTime, takeUntil, filter, map, distinctUntilChanged, take, startWith, share, tap } from 'rxjs/operators';
|
|
8
9
|
import { ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
9
|
-
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
10
10
|
import { TableCellDirective } from '@fundamental-ngx/core/table';
|
|
11
11
|
import { SPACE, LEFT_ARROW, RIGHT_ARROW } from '@angular/cdk/keycodes';
|
|
12
12
|
import * as i1 from '@angular/forms';
|
|
@@ -72,19 +72,19 @@ class TableService {
|
|
|
72
72
|
/** Table state stream. */
|
|
73
73
|
this.tableState$ = new BehaviorSubject(DEFAULT_TABLE_STATE);
|
|
74
74
|
/** @hidden */
|
|
75
|
-
this._semanticHighlighting$ =
|
|
75
|
+
this._semanticHighlighting$ = signal('');
|
|
76
76
|
/** @hidden */
|
|
77
|
-
this._isFilteringFromHeaderDisabled$ =
|
|
77
|
+
this._isFilteringFromHeaderDisabled$ = signal(false);
|
|
78
78
|
/** @hidden */
|
|
79
|
-
this._isShownNavigationColumn$ =
|
|
79
|
+
this._isShownNavigationColumn$ = signal(false);
|
|
80
80
|
/** @hidden */
|
|
81
|
-
this._semanticHighlightingColumnWidth$ =
|
|
81
|
+
this._semanticHighlightingColumnWidth$ = signal(0);
|
|
82
82
|
/** Visible columns stream. */
|
|
83
|
-
this.visibleColumns$ =
|
|
83
|
+
this.visibleColumns$ = signal([]);
|
|
84
84
|
/** Visible columns length. */
|
|
85
|
-
this.visibleColumnsLength =
|
|
85
|
+
this.visibleColumnsLength = computed(() => this.visibleColumns$().length);
|
|
86
86
|
/** Popping columns stream. */
|
|
87
|
-
this.poppingColumns$ =
|
|
87
|
+
this.poppingColumns$ = signal([]);
|
|
88
88
|
/** Popping columns length. */
|
|
89
89
|
this._poppingColumnsLength = 0;
|
|
90
90
|
/** Table columns stream. */
|
|
@@ -116,16 +116,18 @@ class TableService {
|
|
|
116
116
|
/** Listen for immediate changes in table subcomponents (mostly table column) */
|
|
117
117
|
this.detectChanges$ = new Subject();
|
|
118
118
|
/** Sort rules stream. */
|
|
119
|
-
this.sortRules$ =
|
|
119
|
+
this.sortRules$ = signal(new Map());
|
|
120
120
|
/**
|
|
121
121
|
* Filter Rules Map stream. Where key is column key, and value is the associated filter rules.
|
|
122
122
|
* Many filters can be applied to one column.
|
|
123
123
|
*/
|
|
124
|
-
this.filterRules$ =
|
|
124
|
+
this.filterRules$ = signal(new Map());
|
|
125
125
|
/**
|
|
126
126
|
* Group Rules Map stream. Where key is column key and value is associated group rule
|
|
127
127
|
*/
|
|
128
|
-
this.
|
|
128
|
+
this.groupRulesSubject = new BehaviorSubject(new Map());
|
|
129
|
+
/** Group Rules Map signal. */
|
|
130
|
+
this.groupRules$ = toSignal(this.groupRulesSubject);
|
|
129
131
|
}
|
|
130
132
|
/** Get current state/settings of the Table. */
|
|
131
133
|
getTableState() {
|
|
@@ -339,15 +341,14 @@ class TableService {
|
|
|
339
341
|
* @param columns Visible columns to share.
|
|
340
342
|
*/
|
|
341
343
|
setVisibleColumns(columns) {
|
|
342
|
-
this.visibleColumns$.
|
|
343
|
-
this.visibleColumnsLength = columns.length;
|
|
344
|
+
this.visibleColumns$.set(columns);
|
|
344
345
|
}
|
|
345
346
|
/**
|
|
346
347
|
* Shares popping columns array across listeners.
|
|
347
348
|
* @param columns Popping columns to share.
|
|
348
349
|
*/
|
|
349
350
|
setPoppingColumns(columns) {
|
|
350
|
-
this.poppingColumns$.
|
|
351
|
+
this.poppingColumns$.set(columns);
|
|
351
352
|
this._poppingColumnsLength = columns.length;
|
|
352
353
|
}
|
|
353
354
|
/**
|
|
@@ -356,21 +357,21 @@ class TableService {
|
|
|
356
357
|
*/
|
|
357
358
|
buildGroupRulesMap(state = this.getTableState()) {
|
|
358
359
|
const groupMap = new Map(state.groupBy.map((rule) => [rule.field, rule]));
|
|
359
|
-
this.
|
|
360
|
+
this.groupRulesSubject.next(groupMap);
|
|
360
361
|
}
|
|
361
362
|
/**
|
|
362
363
|
* Constructs sorting rules based on the table state.
|
|
363
364
|
* @param state Table state
|
|
364
365
|
*/
|
|
365
366
|
buildSortRulesMap(state = this.getTableState()) {
|
|
366
|
-
this.sortRules$.
|
|
367
|
+
this.sortRules$.set(new Map(state.sortBy.filter((rule) => rule.field).map((rule) => [rule.field, rule])));
|
|
367
368
|
}
|
|
368
369
|
/**
|
|
369
370
|
* Constructs filter rules based on the table state.
|
|
370
371
|
* @param state Table state.
|
|
371
372
|
*/
|
|
372
373
|
buildFilterRulesMap(state = this.getTableState()) {
|
|
373
|
-
this.filterRules$.
|
|
374
|
+
this.filterRules$.set(state.filterBy.reduce((hash, rule) => {
|
|
374
375
|
const key = rule.field;
|
|
375
376
|
if (!hash.has(key)) {
|
|
376
377
|
hash.set(key, []);
|
|
@@ -387,10 +388,10 @@ class TableService {
|
|
|
387
388
|
this.buildSortRulesMap();
|
|
388
389
|
this.buildFilterRulesMap();
|
|
389
390
|
}
|
|
390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
391
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
391
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
392
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableService }); }
|
|
392
393
|
}
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableService, decorators: [{
|
|
394
395
|
type: Injectable
|
|
395
396
|
}] });
|
|
396
397
|
function setCurrentPageToState(state, currentPage) {
|
|
@@ -407,7 +408,7 @@ class TableResponsiveService {
|
|
|
407
408
|
/** @hidden */
|
|
408
409
|
this._responsiveBreakpoints = new Map();
|
|
409
410
|
/** @hidden */
|
|
410
|
-
this.
|
|
411
|
+
this._destroyRef = inject(DestroyRef);
|
|
411
412
|
}
|
|
412
413
|
/**
|
|
413
414
|
* Registers responsive column with it's breakpoint configuration.
|
|
@@ -418,11 +419,6 @@ class TableResponsiveService {
|
|
|
418
419
|
this._responsiveBreakpoints.set(column, this._normalizeBreakpoints(breakpoints));
|
|
419
420
|
this._listenToTableResize();
|
|
420
421
|
}
|
|
421
|
-
/** @hidden */
|
|
422
|
-
ngOnDestroy() {
|
|
423
|
-
this._onDestroy$.next();
|
|
424
|
-
this._onDestroy$.complete();
|
|
425
|
-
}
|
|
426
422
|
/**
|
|
427
423
|
* @hidden
|
|
428
424
|
* Transforms plain breakpoints into a list with minimal/maximal element width with it's visibility state.
|
|
@@ -448,7 +444,7 @@ class TableResponsiveService {
|
|
|
448
444
|
_listenToTableResize() {
|
|
449
445
|
this._resizeSubscription?.unsubscribe();
|
|
450
446
|
this._resizeSubscription = resizeObservable(this._elmRef.nativeElement)
|
|
451
|
-
.pipe(debounceTime(20),
|
|
447
|
+
.pipe(debounceTime(20), takeUntilDestroyed(this._destroyRef))
|
|
452
448
|
.subscribe(() => {
|
|
453
449
|
this._processResponsiveColumns();
|
|
454
450
|
});
|
|
@@ -475,10 +471,10 @@ class TableResponsiveService {
|
|
|
475
471
|
});
|
|
476
472
|
this._tableService.columnsChange$.next({ previous: currentTableColumns, current: currentTableColumns });
|
|
477
473
|
}
|
|
478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
479
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableResponsiveService, deps: [{ token: Table }, { token: TableService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableResponsiveService }); }
|
|
480
476
|
}
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableResponsiveService, decorators: [{
|
|
482
478
|
type: Injectable
|
|
483
479
|
}], ctorParameters: () => [{ type: Table, decorators: [{
|
|
484
480
|
type: Inject,
|
|
@@ -510,10 +506,10 @@ class PlatformTableColumnResponsiveDirective {
|
|
|
510
506
|
/** @hidden */
|
|
511
507
|
this._breakpoints = {};
|
|
512
508
|
}
|
|
513
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
514
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
509
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformTableColumnResponsiveDirective, deps: [{ token: TableResponsiveService }, { token: TableColumn, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
510
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: PlatformTableColumnResponsiveDirective, isStandalone: true, selector: "[fdpTableColumnResponsive]", inputs: { breakpoints: ["fdpTableColumnResponsive", "breakpoints"] }, ngImport: i0 }); }
|
|
515
511
|
}
|
|
516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformTableColumnResponsiveDirective, decorators: [{
|
|
517
513
|
type: Directive,
|
|
518
514
|
args: [{
|
|
519
515
|
selector: '[fdpTableColumnResponsive]',
|
|
@@ -538,10 +534,10 @@ class TableCellHeaderPopoverDirective {
|
|
|
538
534
|
static ngTemplateContextGuard(directive, context) {
|
|
539
535
|
return true;
|
|
540
536
|
}
|
|
541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
542
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableCellHeaderPopoverDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
538
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableCellHeaderPopoverDirective, isStandalone: true, selector: "[fdpTableCellHeaderPopover]", ngImport: i0 }); }
|
|
543
539
|
}
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableCellHeaderPopoverDirective, decorators: [{
|
|
545
541
|
type: Directive,
|
|
546
542
|
args: [{
|
|
547
543
|
selector: '[fdpTableCellHeaderPopover]',
|
|
@@ -596,10 +592,10 @@ class TableScrollDispatcherService {
|
|
|
596
592
|
Array.from(this._scrollableSubscriptionsMap.values()).forEach((subscription) => subscription.unsubscribe());
|
|
597
593
|
this._scrollableSubscriptionsMap.clear();
|
|
598
594
|
}
|
|
599
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
600
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
595
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableScrollDispatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
596
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableScrollDispatcherService }); }
|
|
601
597
|
}
|
|
602
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableScrollDispatcherService, decorators: [{
|
|
603
599
|
type: Injectable
|
|
604
600
|
}] });
|
|
605
601
|
|
|
@@ -628,13 +624,11 @@ class TableColumnResizeService {
|
|
|
628
624
|
return this._fixedColumnsWidthMap.size === this._visibleColumnNames.length;
|
|
629
625
|
}
|
|
630
626
|
/** @hidden */
|
|
631
|
-
get _rtl() {
|
|
632
|
-
return this._rtlService?.rtl.getValue();
|
|
633
|
-
}
|
|
634
|
-
/** @hidden */
|
|
635
627
|
constructor(_tableScrollDispatcherService, _rtlService) {
|
|
636
628
|
this._tableScrollDispatcherService = _tableScrollDispatcherService;
|
|
637
629
|
this._rtlService = _rtlService;
|
|
630
|
+
/** Subject that emits new map of fixed columns and their respective width. */
|
|
631
|
+
this.fixedColumsWidthChange = new BehaviorSubject(new Map());
|
|
638
632
|
/** @hidden */
|
|
639
633
|
this._fixedColumnsWidthMap = new Map();
|
|
640
634
|
/** @hidden */
|
|
@@ -662,26 +656,26 @@ class TableColumnResizeService {
|
|
|
662
656
|
/** @hidden */
|
|
663
657
|
this._markForCheck = new Subject();
|
|
664
658
|
/** @hidden */
|
|
665
|
-
this._destroyed =
|
|
659
|
+
this._destroyed = inject(DestroyRef);
|
|
666
660
|
/** @hidden */
|
|
667
661
|
this._resizerMoveSubscription = new Subscription();
|
|
668
662
|
/** Resize progress stream. */
|
|
669
663
|
this.resizeInProgress$ = new BehaviorSubject(this._resizeInProgress);
|
|
670
664
|
/** Whether cell mock should be visible. */
|
|
671
|
-
this.cellMockVisible$ =
|
|
665
|
+
this.cellMockVisible$ = signal(false);
|
|
672
666
|
/** Resizer position stream. */
|
|
673
667
|
this.resizerPosition$ = new BehaviorSubject(0);
|
|
668
|
+
/** @hidden */
|
|
669
|
+
this._rtl$ = computed(() => !!this._rtlService?.rtlSignal());
|
|
674
670
|
this._tableScrollDispatcherService
|
|
675
671
|
?.horizontallyScrolled()
|
|
676
|
-
.pipe(
|
|
672
|
+
.pipe(takeUntilDestroyed(this._destroyed))
|
|
677
673
|
.subscribe((scrollable) => (this._scrollLeft = scrollable.getScrollLeft()));
|
|
678
674
|
}
|
|
679
675
|
/** @hidden */
|
|
680
676
|
ngOnDestroy() {
|
|
681
677
|
this._resizeInProgress = false;
|
|
682
678
|
this.resizeInProgress$.next(false);
|
|
683
|
-
this._destroyed.next();
|
|
684
|
-
this._destroyed.complete();
|
|
685
679
|
this._resizerMoveSubscription.unsubscribe();
|
|
686
680
|
}
|
|
687
681
|
/** @hidden */
|
|
@@ -766,6 +760,7 @@ class TableColumnResizeService {
|
|
|
766
760
|
/** Register the value of column width that changed from input */
|
|
767
761
|
setCustomWidth(columnName, value) {
|
|
768
762
|
this._fixedColumnsWidthMap.set(columnName, value);
|
|
763
|
+
this.fixedColumsWidthChange.next(this._fixedColumnsWidthMap);
|
|
769
764
|
}
|
|
770
765
|
/** Set the appropriate column resizer position. */
|
|
771
766
|
setInitialResizerPosition(resizerPosition, resizedColumn) {
|
|
@@ -776,7 +771,7 @@ class TableColumnResizeService {
|
|
|
776
771
|
this._resizerPosition = null;
|
|
777
772
|
this.resizerPosition$.next(this.resizerPosition);
|
|
778
773
|
if (resizerPosition != null) {
|
|
779
|
-
const scrollLeftOffset = this._scrollLeft * (this._rtl ? 1 : -1);
|
|
774
|
+
const scrollLeftOffset = this._scrollLeft * (this._rtl$() ? 1 : -1);
|
|
780
775
|
this._resizerPosition = resizerPosition - TABLE_RESIZER_BORDER_WIDTH + scrollLeftOffset;
|
|
781
776
|
this.resizerPosition$.next(this.resizerPosition);
|
|
782
777
|
}
|
|
@@ -808,7 +803,7 @@ class TableColumnResizeService {
|
|
|
808
803
|
this.resizerPosition$.next(this.resizerPosition);
|
|
809
804
|
if (this._startX != null) {
|
|
810
805
|
const clientStartX = this._clientStartX ?? 0;
|
|
811
|
-
const diffX = this._rtl ? clientStartX - event.clientX : event.clientX - clientStartX;
|
|
806
|
+
const diffX = this._rtl$() ? clientStartX - event.clientX : event.clientX - clientStartX;
|
|
812
807
|
this._processResize(diffX);
|
|
813
808
|
}
|
|
814
809
|
this._startX = null;
|
|
@@ -831,6 +826,7 @@ class TableColumnResizeService {
|
|
|
831
826
|
this._fixedColumnsWidthMap.set(columnName, cells[0].nativeElement.getBoundingClientRect().width + 'px');
|
|
832
827
|
}
|
|
833
828
|
}
|
|
829
|
+
this.fixedColumsWidthChange.next(this._fixedColumnsWidthMap);
|
|
834
830
|
}
|
|
835
831
|
/**
|
|
836
832
|
* In case "_resizedColumn" is freezable, make sure the overall width of freezable columns does not exceed the width of the table.
|
|
@@ -853,9 +849,10 @@ class TableColumnResizeService {
|
|
|
853
849
|
}
|
|
854
850
|
const updatedWidth = columnWidth + diffX;
|
|
855
851
|
this._fixedColumnsWidthMap.set(this._resizedColumn, updatedWidth + 'px');
|
|
852
|
+
this.fixedColumsWidthChange.next(this._fixedColumnsWidthMap);
|
|
856
853
|
this.updateFrozenColumnsWidthAfterResize(this._resizedColumn, diffX);
|
|
857
|
-
const
|
|
858
|
-
const padding = parseInt(
|
|
854
|
+
const computedStyles = window.getComputedStyle(resizedElement);
|
|
855
|
+
const padding = parseInt(computedStyles.paddingLeft, 10) + parseInt(computedStyles.paddingRight, 10);
|
|
859
856
|
this._updateHeaderOverflowState(updatedWidth - padding);
|
|
860
857
|
this._markForCheck.next();
|
|
861
858
|
}
|
|
@@ -865,7 +862,7 @@ class TableColumnResizeService {
|
|
|
865
862
|
.pipe(debounceTime(10))
|
|
866
863
|
.subscribe((event) => {
|
|
867
864
|
const clientStartX = this._clientStartX ?? 0;
|
|
868
|
-
const diffX = this._rtl ? clientStartX - event.clientX : event.clientX - clientStartX;
|
|
865
|
+
const diffX = this._rtl$() ? clientStartX - event.clientX : event.clientX - clientStartX;
|
|
869
866
|
this._resizerPosition = (this._startX ?? 0) + diffX;
|
|
870
867
|
this.resizerPosition$.next(this.resizerPosition);
|
|
871
868
|
this._markForCheck.next();
|
|
@@ -887,10 +884,10 @@ class TableColumnResizeService {
|
|
|
887
884
|
}
|
|
888
885
|
visibleColumn.headerOverflows = headerTextElem.scrollWidth > updatedWidth;
|
|
889
886
|
}
|
|
890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
891
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableColumnResizeService, deps: [{ token: TableScrollDispatcherService }, { token: i2.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
888
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableColumnResizeService }); }
|
|
892
889
|
}
|
|
893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableColumnResizeService, decorators: [{
|
|
894
891
|
type: Injectable
|
|
895
892
|
}], ctorParameters: () => [{ type: TableScrollDispatcherService }, { type: i2.RtlService, decorators: [{
|
|
896
893
|
type: Optional
|
|
@@ -901,29 +898,26 @@ const TABLE_CELL_RESIZABLE_THRESHOLD_PX = 4;
|
|
|
901
898
|
* Tracks mouse movement over the cell if the mouse pointer near the side of the cell, informs resize service.
|
|
902
899
|
*/
|
|
903
900
|
class PlatformTableCellResizableDirective extends TableCellDirective {
|
|
904
|
-
/** First column can be resized only by its end */
|
|
905
|
-
set resizableSide(value) {
|
|
906
|
-
if (!value) {
|
|
907
|
-
return;
|
|
908
|
-
}
|
|
909
|
-
this._resizableSide = value;
|
|
910
|
-
}
|
|
911
|
-
/** @hidden */
|
|
912
|
-
get _isRtl() {
|
|
913
|
-
return this._rtlService?.rtl.getValue() ?? false;
|
|
914
|
-
}
|
|
915
|
-
/** @hidden */
|
|
916
901
|
constructor() {
|
|
917
|
-
super();
|
|
902
|
+
super(...arguments);
|
|
918
903
|
/** @hidden */
|
|
919
904
|
this._resizableSide = 'both';
|
|
920
905
|
/** @hidden */
|
|
906
|
+
this._rtl$ = computed(() => !!this._rtlService?.rtlSignal());
|
|
907
|
+
/** @hidden */
|
|
921
908
|
this._tableColumnResizeService = inject(TableColumnResizeService);
|
|
922
909
|
/** @hidden */
|
|
923
910
|
this._rtlService = inject(RtlService, {
|
|
924
911
|
optional: true
|
|
925
912
|
});
|
|
926
913
|
}
|
|
914
|
+
/** First column can be resized only by its end */
|
|
915
|
+
set resizableSide(value) {
|
|
916
|
+
if (!value) {
|
|
917
|
+
return;
|
|
918
|
+
}
|
|
919
|
+
this._resizableSide = value;
|
|
920
|
+
}
|
|
927
921
|
/** @hidden */
|
|
928
922
|
ngOnInit() {
|
|
929
923
|
this._zone.runOutsideAngular(() => {
|
|
@@ -956,20 +950,20 @@ class PlatformTableCellResizableDirective extends TableCellDirective {
|
|
|
956
950
|
const elPosition = el.getBoundingClientRect();
|
|
957
951
|
let resizerPosition;
|
|
958
952
|
let resizedColumn;
|
|
959
|
-
const pointerOnLeft = this.
|
|
953
|
+
const pointerOnLeft = this._rtl$()
|
|
960
954
|
? elPosition.right - event.clientX < TABLE_CELL_RESIZABLE_THRESHOLD_PX
|
|
961
955
|
: event.clientX - elPosition.left < TABLE_CELL_RESIZABLE_THRESHOLD_PX;
|
|
962
956
|
if (pointerOnLeft && this._resizableSide !== 'end') {
|
|
963
|
-
resizerPosition = this.
|
|
957
|
+
resizerPosition = this._rtl$()
|
|
964
958
|
? el.parentElement.offsetWidth - (el.offsetLeft + el.offsetWidth)
|
|
965
959
|
: el.offsetLeft;
|
|
966
960
|
resizedColumn = this._tableColumnResizeService.getPreviousColumnName(this.columnName);
|
|
967
961
|
}
|
|
968
|
-
const pointerOnRight = this.
|
|
962
|
+
const pointerOnRight = this._rtl$()
|
|
969
963
|
? event.clientX - elPosition.left < TABLE_CELL_RESIZABLE_THRESHOLD_PX
|
|
970
964
|
: elPosition.right - event.clientX < TABLE_CELL_RESIZABLE_THRESHOLD_PX;
|
|
971
965
|
if (pointerOnRight && this._resizableSide !== 'start') {
|
|
972
|
-
resizerPosition = this.
|
|
966
|
+
resizerPosition = this._rtl$()
|
|
973
967
|
? el.parentElement.offsetWidth - el.offsetLeft
|
|
974
968
|
: el.offsetLeft + el.offsetWidth;
|
|
975
969
|
resizedColumn = this.columnName;
|
|
@@ -979,8 +973,8 @@ class PlatformTableCellResizableDirective extends TableCellDirective {
|
|
|
979
973
|
}
|
|
980
974
|
return { resizerPosition: resizerPosition, resizedColumn };
|
|
981
975
|
}
|
|
982
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
983
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
976
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformTableCellResizableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
977
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: PlatformTableCellResizableDirective, isStandalone: true, selector: "[fdpTableCellResizable]", inputs: { resizableSide: ["fdpTableCellResizable", "resizableSide"], columnName: "columnName" }, providers: [
|
|
984
978
|
{
|
|
985
979
|
provide: FDK_FOCUSABLE_ITEM_DIRECTIVE,
|
|
986
980
|
useExisting: PlatformTableCellResizableDirective
|
|
@@ -995,7 +989,7 @@ class PlatformTableCellResizableDirective extends TableCellDirective {
|
|
|
995
989
|
}
|
|
996
990
|
], usesInheritance: true, ngImport: i0 }); }
|
|
997
991
|
}
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: PlatformTableCellResizableDirective, decorators: [{
|
|
999
993
|
type: Directive,
|
|
1000
994
|
args: [{
|
|
1001
995
|
selector: '[fdpTableCellResizable]',
|
|
@@ -1015,7 +1009,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
1015
1009
|
}
|
|
1016
1010
|
]
|
|
1017
1011
|
}]
|
|
1018
|
-
}],
|
|
1012
|
+
}], propDecorators: { resizableSide: [{
|
|
1019
1013
|
type: Input,
|
|
1020
1014
|
args: ['fdpTableCellResizable']
|
|
1021
1015
|
}], columnName: [{
|
|
@@ -1037,10 +1031,10 @@ class FdpCellSelectableDirective {
|
|
|
1037
1031
|
event.preventDefault();
|
|
1038
1032
|
}
|
|
1039
1033
|
}
|
|
1040
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1041
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpCellSelectableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1035
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpCellSelectableDirective, isStandalone: true, selector: "[fdTableCellSelectable], [fd-table-cell-selectable]", inputs: { enabled: "enabled" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
|
|
1042
1036
|
}
|
|
1043
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpCellSelectableDirective, decorators: [{
|
|
1044
1038
|
type: Directive,
|
|
1045
1039
|
args: [{
|
|
1046
1040
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1061,10 +1055,10 @@ class EditableTableCell {
|
|
|
1061
1055
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
1062
1056
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
1063
1057
|
class FdpTableCell {
|
|
1064
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1065
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1058
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpTableCell, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1059
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpTableCell, isStandalone: true, selector: "fdp-table-cell", ngImport: i0 }); }
|
|
1066
1060
|
}
|
|
1067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpTableCell, decorators: [{
|
|
1068
1062
|
type: Directive,
|
|
1069
1063
|
args: [{ selector: 'fdp-table-cell', standalone: true }]
|
|
1070
1064
|
}] });
|
|
@@ -1082,10 +1076,10 @@ class FdpCellDef {
|
|
|
1082
1076
|
static ngTemplateContextGuard(dir, ctx) {
|
|
1083
1077
|
return true;
|
|
1084
1078
|
}
|
|
1085
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1086
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1080
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpCellDef, isStandalone: true, selector: "[fdpCellDef]", inputs: { fdpCellDefAs: "fdpCellDefAs" }, ngImport: i0 }); }
|
|
1087
1081
|
}
|
|
1088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpCellDef, decorators: [{
|
|
1089
1083
|
type: Directive,
|
|
1090
1084
|
args: [{ selector: '[fdpCellDef]', standalone: true }]
|
|
1091
1085
|
}], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { fdpCellDefAs: [{
|
|
@@ -1097,10 +1091,10 @@ class FdpEditableCellDef {
|
|
|
1097
1091
|
constructor(templateRef) {
|
|
1098
1092
|
this.templateRef = templateRef;
|
|
1099
1093
|
}
|
|
1100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1101
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1094
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpEditableCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1095
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpEditableCellDef, isStandalone: true, selector: "[fdpEditableCellDef]", ngImport: i0 }); }
|
|
1102
1096
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1097
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpEditableCellDef, decorators: [{
|
|
1104
1098
|
type: Directive,
|
|
1105
1099
|
args: [{ selector: '[fdpEditableCellDef]', standalone: true }]
|
|
1106
1100
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -1109,10 +1103,10 @@ class FdpEditableCellFormDirective {
|
|
|
1109
1103
|
constructor(form) {
|
|
1110
1104
|
this.form = form;
|
|
1111
1105
|
}
|
|
1112
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1113
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
1106
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpEditableCellFormDirective, deps: [{ token: i1.NgForm }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1107
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpEditableCellFormDirective, isStandalone: true, selector: "[fdpEditableCellForm]", providers: [{ provide: EditableTableCell, useExisting: FdpEditableCellFormDirective }], ngImport: i0 }); }
|
|
1114
1108
|
}
|
|
1115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpEditableCellFormDirective, decorators: [{
|
|
1116
1110
|
type: Directive,
|
|
1117
1111
|
args: [{
|
|
1118
1112
|
selector: '[fdpEditableCellForm]',
|
|
@@ -1941,7 +1935,7 @@ class TableDataSourceDirective extends DataSourceDirective {
|
|
|
1941
1935
|
/** Event emitted when data loading is finished. */
|
|
1942
1936
|
this.onDataReceived = new EventEmitter();
|
|
1943
1937
|
/** Total items count stream. */
|
|
1944
|
-
this.totalItems$ =
|
|
1938
|
+
this.totalItems$ = signal(0);
|
|
1945
1939
|
/** Items stream. */
|
|
1946
1940
|
this.items$ = new BehaviorSubject([]);
|
|
1947
1941
|
/** Child items stream. */
|
|
@@ -1975,10 +1969,10 @@ class TableDataSourceDirective extends DataSourceDirective {
|
|
|
1975
1969
|
}
|
|
1976
1970
|
/** @hidden */
|
|
1977
1971
|
set totalItems(value) {
|
|
1978
|
-
this.totalItems$.
|
|
1972
|
+
this.totalItems$.set(value);
|
|
1979
1973
|
}
|
|
1980
1974
|
get totalItems() {
|
|
1981
|
-
return this.totalItems
|
|
1975
|
+
return this.totalItems$();
|
|
1982
1976
|
}
|
|
1983
1977
|
/** @hidden */
|
|
1984
1978
|
initializeDataSource() {
|
|
@@ -2040,7 +2034,7 @@ class TableDataSourceDirective extends DataSourceDirective {
|
|
|
2040
2034
|
throw new Error(`[TableDataSource] source did not match an Array, Observable, nor DataSource`);
|
|
2041
2035
|
}
|
|
2042
2036
|
this._tableDsSubscription.add(this.dataChanged$.subscribe((items) => {
|
|
2043
|
-
this.totalItems$.
|
|
2037
|
+
this.totalItems$.set(dataSourceStream.dataProvider.totalItems);
|
|
2044
2038
|
this.items$.next(items);
|
|
2045
2039
|
}));
|
|
2046
2040
|
this._tableDsSubscription.add(dataSourceStream.onDataRequested().subscribe(() => {
|
|
@@ -2080,16 +2074,17 @@ class TableDataSourceDirective extends DataSourceDirective {
|
|
|
2080
2074
|
this._tableDataSource.close();
|
|
2081
2075
|
this._tableDsSubscription?.unsubscribe();
|
|
2082
2076
|
this._tableDsSubscription = null;
|
|
2077
|
+
this._table.clearTableRows();
|
|
2083
2078
|
}
|
|
2084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2085
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
2079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableDataSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2080
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableDataSourceDirective, isStandalone: true, selector: "[fdpTableDataSource]", inputs: { childDataSource: "childDataSource" }, outputs: { childDataSourceChanged: "childDataSourceChanged", onDataRequested: "onDataRequested", onDataReceived: "onDataReceived" }, providers: [
|
|
2086
2081
|
{
|
|
2087
2082
|
provide: FD_DATA_SOURCE_TRANSFORMER,
|
|
2088
2083
|
useClass: TableDataSourceParser
|
|
2089
2084
|
}
|
|
2090
2085
|
], usesInheritance: true, ngImport: i0 }); }
|
|
2091
2086
|
}
|
|
2092
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableDataSourceDirective, decorators: [{
|
|
2093
2088
|
type: Directive,
|
|
2094
2089
|
args: [{
|
|
2095
2090
|
selector: '[fdpTableDataSource]',
|
|
@@ -2959,15 +2954,15 @@ class TableDraggableDirective extends TableDraggable {
|
|
|
2959
2954
|
callback();
|
|
2960
2955
|
});
|
|
2961
2956
|
}
|
|
2962
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2963
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
2957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableDraggableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2958
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableDraggableDirective, isStandalone: true, selector: "fdp-table[isTreeTable], fdp-table[enableRowReordering]", inputs: { enableRowReordering: "enableRowReordering", isTreeTable: "isTreeTable", dropMode: "dropMode", dropPredicate: "dropPredicate", dragoverPredicate: "dragoverPredicate" }, outputs: { rowsRearrange: "rowsRearrange" }, host: { properties: { "class.fd-table--tree": "this.isTreeTable" } }, providers: [
|
|
2964
2959
|
{
|
|
2965
2960
|
provide: FDP_TABLE_DRAGGABLE_DIRECTIVE,
|
|
2966
2961
|
useExisting: forwardRef(() => TableDraggableDirective)
|
|
2967
2962
|
}
|
|
2968
2963
|
], usesInheritance: true, ngImport: i0 }); }
|
|
2969
2964
|
}
|
|
2970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableDraggableDirective, decorators: [{
|
|
2971
2966
|
type: Directive,
|
|
2972
2967
|
args: [{
|
|
2973
2968
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -3089,10 +3084,10 @@ class TableRowService {
|
|
|
3089
3084
|
}
|
|
3090
3085
|
this.loadChildRows$.next(expandableRows);
|
|
3091
3086
|
}
|
|
3092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3093
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
3087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableRowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3088
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableRowService }); }
|
|
3094
3089
|
}
|
|
3095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableRowService, decorators: [{
|
|
3096
3091
|
type: Injectable
|
|
3097
3092
|
}] });
|
|
3098
3093
|
|
|
@@ -3167,10 +3162,10 @@ class TableHeaderResizerDirective {
|
|
|
3167
3162
|
_onCellFocused(position) {
|
|
3168
3163
|
this.focusedCellPosition = { rowIndex: position.rowIndex, colIndex: position.colIndex };
|
|
3169
3164
|
}
|
|
3170
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3171
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableHeaderResizerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3166
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableHeaderResizerDirective, isStandalone: true, selector: "[fdpTableHeaderResizer]", ngImport: i0 }); }
|
|
3172
3167
|
}
|
|
3173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableHeaderResizerDirective, decorators: [{
|
|
3174
3169
|
type: Directive,
|
|
3175
3170
|
args: [{
|
|
3176
3171
|
selector: '[fdpTableHeaderResizer]',
|
|
@@ -3182,10 +3177,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
3182
3177
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
3183
3178
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
3184
3179
|
class FdpTableHeader {
|
|
3185
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3186
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpTableHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3181
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpTableHeader, isStandalone: true, selector: "fdp-table-header", ngImport: i0 }); }
|
|
3187
3182
|
}
|
|
3188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpTableHeader, decorators: [{
|
|
3189
3184
|
type: Directive,
|
|
3190
3185
|
args: [{ selector: 'fdp-table-header', standalone: true }]
|
|
3191
3186
|
}] });
|
|
@@ -3203,10 +3198,10 @@ class FdpHeaderCellDef {
|
|
|
3203
3198
|
static ngTemplateContextGuard(dir, ctx) {
|
|
3204
3199
|
return true;
|
|
3205
3200
|
}
|
|
3206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3207
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpHeaderCellDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3202
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpHeaderCellDef, isStandalone: true, selector: "[fdpHeaderCellDef]", ngImport: i0 }); }
|
|
3208
3203
|
}
|
|
3209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpHeaderCellDef, decorators: [{
|
|
3210
3205
|
type: Directive,
|
|
3211
3206
|
args: [{ selector: '[fdpHeaderCellDef]', standalone: true }]
|
|
3212
3207
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -3244,7 +3239,7 @@ class TableInitialStateDirective extends TableInitialState {
|
|
|
3244
3239
|
const columns = this._table.getTableColumns();
|
|
3245
3240
|
const page = prevState.page;
|
|
3246
3241
|
const visibleColumns = this.initialVisibleColumns ||
|
|
3247
|
-
(prevState.columns.length ? prevState.columns : columns.map(({ name }) => name));
|
|
3242
|
+
(prevState.columns.length ? prevState.columns : columns.filter((c) => c.visible).map(({ name }) => name));
|
|
3248
3243
|
const directiveInitialPage = this.initialPage ?? 1;
|
|
3249
3244
|
this._table._loadPreviousPages =
|
|
3250
3245
|
this._table.pageScrolling && this._table.loadPagesBefore && directiveInitialPage > 1;
|
|
@@ -3278,15 +3273,15 @@ class TableInitialStateDirective extends TableInitialState {
|
|
|
3278
3273
|
setTableState(state) {
|
|
3279
3274
|
this._tableService.setTableState(state);
|
|
3280
3275
|
}
|
|
3281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3282
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableInitialStateDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3277
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableInitialStateDirective, isStandalone: true, selector: "[fdpTableInitialState],\n fdp-table", inputs: { initialVisibleColumns: "initialVisibleColumns", initialSortBy: "initialSortBy", initialFilterBy: "initialFilterBy", initialGroupBy: "initialGroupBy", initialPage: "initialPage", state: "state" }, providers: [
|
|
3283
3278
|
{
|
|
3284
3279
|
provide: FDP_TABLE_STATE_DIRECTIVE,
|
|
3285
3280
|
useExisting: TableInitialStateDirective
|
|
3286
3281
|
}
|
|
3287
3282
|
], usesInheritance: true, ngImport: i0 }); }
|
|
3288
3283
|
}
|
|
3289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableInitialStateDirective, decorators: [{
|
|
3290
3285
|
type: Directive,
|
|
3291
3286
|
args: [{
|
|
3292
3287
|
selector: `[fdpTableInitialState],
|
|
@@ -3451,10 +3446,10 @@ class TableScrollableDirective {
|
|
|
3451
3446
|
});
|
|
3452
3447
|
});
|
|
3453
3448
|
}
|
|
3454
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3455
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableScrollableDirective, deps: [{ token: i0.ElementRef }, { token: TableScrollDispatcherService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3450
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableScrollableDirective, isStandalone: true, selector: "[fdpTableScrollable]", providers: [{ provide: TABLE_SCROLLABLE, useExisting: forwardRef(() => TableScrollableDirective) }], exportAs: ["tableScrollable"], ngImport: i0 }); }
|
|
3456
3451
|
}
|
|
3457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableScrollableDirective, decorators: [{
|
|
3458
3453
|
type: Directive,
|
|
3459
3454
|
args: [{
|
|
3460
3455
|
selector: '[fdpTableScrollable]',
|
|
@@ -3474,10 +3469,10 @@ class FdpViewSettingsFilterCustomDef {
|
|
|
3474
3469
|
constructor(templateRef) {
|
|
3475
3470
|
this.templateRef = templateRef;
|
|
3476
3471
|
}
|
|
3477
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3478
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3472
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpViewSettingsFilterCustomDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3473
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: FdpViewSettingsFilterCustomDef, isStandalone: true, selector: "[fdpViewSettingsFilterCustomDef]", ngImport: i0 }); }
|
|
3479
3474
|
}
|
|
3480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: FdpViewSettingsFilterCustomDef, decorators: [{
|
|
3481
3476
|
type: Directive,
|
|
3482
3477
|
args: [{ selector: '[fdpViewSettingsFilterCustomDef]', standalone: true }]
|
|
3483
3478
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -3565,15 +3560,15 @@ class TableVirtualScrollDirective extends TableVirtualScroll {
|
|
|
3565
3560
|
});
|
|
3566
3561
|
});
|
|
3567
3562
|
}
|
|
3568
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3569
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3563
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableVirtualScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3564
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.8", type: TableVirtualScrollDirective, isStandalone: true, selector: "fdp-table[virtualScroll]", inputs: { virtualScroll: "virtualScroll", renderAhead: "renderAhead", bodyHeight: "bodyHeight", rowHeight: "rowHeight" }, providers: [
|
|
3570
3565
|
{
|
|
3571
3566
|
provide: FDP_TABLE_VIRTUAL_SCROLL_DIRECTIVE,
|
|
3572
3567
|
useExisting: TableVirtualScrollDirective
|
|
3573
3568
|
}
|
|
3574
3569
|
], usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
|
|
3575
3570
|
}
|
|
3576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableVirtualScrollDirective, decorators: [{
|
|
3577
3572
|
type: Directive,
|
|
3578
3573
|
args: [{
|
|
3579
3574
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -3628,10 +3623,10 @@ class TableCellStylesPipe {
|
|
|
3628
3623
|
}
|
|
3629
3624
|
return styles;
|
|
3630
3625
|
}
|
|
3631
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3632
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableCellStylesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3627
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TableCellStylesPipe, isStandalone: true, name: "tableCellStyles" }); }
|
|
3633
3628
|
}
|
|
3634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3629
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableCellStylesPipe, decorators: [{
|
|
3635
3630
|
type: Pipe,
|
|
3636
3631
|
args: [{ name: 'tableCellStyles', standalone: true }]
|
|
3637
3632
|
}] });
|
|
@@ -3648,10 +3643,10 @@ class ColumnResizableSidePipe {
|
|
|
3648
3643
|
}
|
|
3649
3644
|
return 'both';
|
|
3650
3645
|
}
|
|
3651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3652
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3646
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ColumnResizableSidePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3647
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: ColumnResizableSidePipe, isStandalone: true, name: "columnResizableSide" }); }
|
|
3653
3648
|
}
|
|
3654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3649
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: ColumnResizableSidePipe, decorators: [{
|
|
3655
3650
|
type: Pipe,
|
|
3656
3651
|
args: [{ name: 'columnResizableSide', standalone: true }]
|
|
3657
3652
|
}] });
|
|
@@ -3669,10 +3664,10 @@ class TableColumnSortingDirectionPipe {
|
|
|
3669
3664
|
}
|
|
3670
3665
|
return ARIA_SORT[sorting.direction];
|
|
3671
3666
|
}
|
|
3672
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3673
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableColumnSortingDirectionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3668
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TableColumnSortingDirectionPipe, isStandalone: true, name: "fdpTableColumnSortingDirection" }); }
|
|
3674
3669
|
}
|
|
3675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableColumnSortingDirectionPipe, decorators: [{
|
|
3676
3671
|
type: Pipe,
|
|
3677
3672
|
args: [{
|
|
3678
3673
|
pure: true,
|
|
@@ -3702,10 +3697,10 @@ class RowClassesPipe {
|
|
|
3702
3697
|
}
|
|
3703
3698
|
return rowClasses.trim();
|
|
3704
3699
|
}
|
|
3705
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3706
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: RowClassesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3701
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: RowClassesPipe, isStandalone: true, name: "rowClasses" }); }
|
|
3707
3702
|
}
|
|
3708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: RowClassesPipe, decorators: [{
|
|
3709
3704
|
type: Pipe,
|
|
3710
3705
|
args: [{ name: 'rowClasses', standalone: true }]
|
|
3711
3706
|
}] });
|
|
@@ -3724,10 +3719,10 @@ class SelectionCellStylesPipe {
|
|
|
3724
3719
|
'max-width': selectionColumnWidth
|
|
3725
3720
|
};
|
|
3726
3721
|
}
|
|
3727
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3728
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3722
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SelectionCellStylesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3723
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: SelectionCellStylesPipe, isStandalone: true, name: "selectionCellStyles" }); }
|
|
3729
3724
|
}
|
|
3730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: SelectionCellStylesPipe, decorators: [{
|
|
3731
3726
|
type: Pipe,
|
|
3732
3727
|
args: [{ name: 'selectionCellStyles', standalone: true }]
|
|
3733
3728
|
}] });
|
|
@@ -3759,8 +3754,8 @@ const importExports = [
|
|
|
3759
3754
|
RowClassesPipe
|
|
3760
3755
|
];
|
|
3761
3756
|
class TableHelpersModule {
|
|
3762
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3763
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
3757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableHelpersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3758
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.8", ngImport: i0, type: TableHelpersModule, imports: [TableInitialStateDirective,
|
|
3764
3759
|
TableDraggableDirective,
|
|
3765
3760
|
TableVirtualScrollDirective,
|
|
3766
3761
|
PlatformTableColumnResponsiveDirective,
|
|
@@ -3807,9 +3802,9 @@ class TableHelpersModule {
|
|
|
3807
3802
|
TableCellStylesPipe,
|
|
3808
3803
|
ColumnResizableSidePipe,
|
|
3809
3804
|
RowClassesPipe] }); }
|
|
3810
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
3805
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableHelpersModule }); }
|
|
3811
3806
|
}
|
|
3812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.8", ngImport: i0, type: TableHelpersModule, decorators: [{
|
|
3813
3808
|
type: NgModule,
|
|
3814
3809
|
args: [{
|
|
3815
3810
|
imports: [...importExports],
|