@fundamental-ngx/platform 0.44.1-rc.3 → 0.45.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/action-bar/action-bar.component.d.ts +1 -6
- package/action-bar/action-bar.module.d.ts +3 -4
- package/button/button.module.d.ts +2 -3
- package/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.d.ts +1 -3
- package/esm2022/action-bar/action-bar.component.mjs +3 -5
- package/esm2022/action-bar/action-bar.module.mjs +5 -26
- package/esm2022/approval-flow/approval-flow-add-node/approval-flow-add-node.component.mjs +5 -5
- package/esm2022/approval-flow/approval-flow-approver-details/approval-flow-approver-details.component.mjs +5 -5
- package/esm2022/approval-flow/approval-flow-messages/approval-flow-messages.component.mjs +1 -1
- package/esm2022/approval-flow/approval-flow-select-type/approval-flow-select-type.component.mjs +5 -5
- package/esm2022/approval-flow/approval-flow-team-list/approval-flow-team-list.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow-user-details/approval-flow-user-details.component.mjs +1 -1
- package/esm2022/approval-flow/approval-flow-user-list/approval-flow-user-list.component.mjs +3 -3
- package/esm2022/approval-flow/approval-flow.component.mjs +1 -1
- package/esm2022/button/button.module.mjs +5 -6
- package/esm2022/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +2 -8
- package/esm2022/dynamic-page/dynamic-page.component.mjs +1 -1
- package/esm2022/feed-input/feed-input.component.mjs +3 -17
- package/esm2022/form/checkbox/checkbox.component.mjs +3 -50
- package/esm2022/form/checkbox/checkbox.module.mjs +5 -26
- package/esm2022/form/checkbox-group/checkbox-group.component.mjs +10 -38
- package/esm2022/form/checkbox-group/checkbox-group.module.mjs +5 -23
- package/esm2022/form/combobox/combobox/combobox.component.mjs +1 -1
- package/esm2022/form/combobox/combobox-mobile/combobox/combobox-mobile.component.mjs +1 -1
- package/esm2022/form/combobox/combobox.module.mjs +4 -8
- package/esm2022/form/date-picker/date-picker.component.mjs +4 -66
- package/esm2022/form/date-picker/date-picker.module.mjs +5 -26
- package/esm2022/form/datetime-picker/datetime-picker.component.mjs +3 -56
- package/esm2022/form/datetime-picker/datetime-picker.module.mjs +5 -26
- package/esm2022/form/form-generator/controls/dynamic-form-generator-checkbox/dynamic-form-generator-checkbox.component.mjs +2 -2
- package/esm2022/form/form-generator/controls/dynamic-form-generator-datepicker/dynamic-form-generator-datepicker.component.mjs +2 -2
- package/esm2022/form/form-generator/controls/dynamic-form-generator-editor/dynamic-form-generator-editor.component.mjs +2 -2
- package/esm2022/form/form-generator/controls/dynamic-form-generator-select/dynamic-form-generator-select.component.mjs +2 -2
- package/esm2022/form/form-generator/form-generator/form-generator.component.mjs +35 -60
- package/esm2022/form/form-generator/form-generator-field/form-generator-field.component.mjs +1 -1
- package/esm2022/form/form-generator/interfaces/dynamic-form-item.mjs +1 -1
- package/esm2022/form/form-group/fdp-form.module.mjs +1 -5
- package/esm2022/form/form-group/form-field/form-field.component.mjs +5 -41
- package/esm2022/form/form-group/form-group-header/form-group-header.component.mjs +1 -1
- package/esm2022/form/form-group/form-group.component.mjs +5 -29
- package/esm2022/form/index.mjs +1 -2
- package/esm2022/form/input/fdp-input.module.mjs +5 -23
- package/esm2022/form/input-group/input-group.module.mjs +4 -22
- package/esm2022/form/multi-combobox/multi-combobox/multi-combobox.component.mjs +1 -1
- package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +1 -1
- package/esm2022/form/multi-combobox/multi-combobox.module.mjs +4 -8
- package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +1 -1
- package/esm2022/form/multi-input/multi-input.component.mjs +3 -3
- package/esm2022/form/multi-input/multi-input.module.mjs +4 -8
- package/esm2022/form/platform-file-uploader/platform-file-uploader.component.mjs +9 -27
- package/esm2022/form/platform-file-uploader/platform-file-uploader.module.mjs +5 -23
- package/esm2022/form/radio-group/radio/radio.component.mjs +3 -22
- package/esm2022/form/radio-group/radio-group.component.mjs +1 -1
- package/esm2022/form/radio-group/radio-group.module.mjs +4 -17
- package/esm2022/form/select/select/select.component.mjs +5 -23
- package/esm2022/form/select/select.module.mjs +4 -20
- package/esm2022/form/step-input/number/number-step-input.component.mjs +1 -1
- package/esm2022/form/step-input/step-input.module.mjs +4 -8
- package/esm2022/form/switch/switch/switch.component.mjs +1 -1
- package/esm2022/form/switch/switch.module.mjs +5 -23
- package/esm2022/form/text-area/text-area.component.mjs +4 -21
- package/esm2022/form/text-area/text-area.module.mjs +4 -8
- package/esm2022/form/time-picker/time-picker.module.mjs +5 -26
- package/esm2022/icon-tab-bar/components/icon-tab-bar-filter-type/icon-tab-bar-filter-type.component.mjs +1 -1
- package/esm2022/icon-tab-bar/components/icon-tab-bar-icon-type/icon-tab-bar-icon-type.component.mjs +1 -1
- package/esm2022/icon-tab-bar/components/icon-tab-bar-process-type/icon-tab-bar-process-type.component.mjs +1 -1
- package/esm2022/icon-tab-bar/components/icon-tab-bar-text-type/icon-tab-bar-text-type.component.mjs +1 -1
- package/esm2022/link/link.component.mjs +3 -3
- package/esm2022/list/action-list-item/action-list-item.component.mjs +1 -1
- package/esm2022/list/base-list-item.mjs +6 -49
- package/esm2022/list/display-list-item/display-list-item.component.mjs +1 -1
- package/esm2022/list/free-content-list-item/free-content-list-item.component.mjs +3 -3
- package/esm2022/list/list-group-header.component.mjs +2 -8
- package/esm2022/list/list.component.mjs +1 -1
- package/esm2022/list/list.module.mjs +2 -9
- package/esm2022/list/object-list-item/object-list-item.component.mjs +1 -1
- package/esm2022/list/object-list-item/object-list-item.module.mjs +4 -17
- package/esm2022/list/standard-list-item/standard-list-item.component.mjs +3 -3
- package/esm2022/list/standard-list-item/standard-list-item.module.mjs +4 -8
- package/esm2022/menu/menu.module.mjs +5 -37
- package/esm2022/menu-button/menu-button.module.mjs +5 -23
- package/esm2022/message-popover/components/message-view/message-view.component.mjs +2 -2
- package/esm2022/message-popover/message-popover.component.mjs +4 -5
- package/esm2022/panel/panel.module.mjs +5 -17
- package/esm2022/search-field/search-field-mobile/search-field/search-field-mobile.component.mjs +1 -1
- package/esm2022/search-field/search-field.component.mjs +8 -45
- package/esm2022/search-field/search-field.module.mjs +4 -19
- package/esm2022/settings-generator/controls/theme-selector-list/theme-selector-list.component.mjs +2 -2
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +1 -1
- package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +1 -1
- package/esm2022/settings-generator/settings-generator-content/settings-generator-content.component.mjs +1 -1
- package/esm2022/settings-generator/settings-generator-content/settings-generator-section/settings-generator-section.component.mjs +1 -1
- package/esm2022/shared/form/form-field.mjs +1 -1
- package/esm2022/shared/form/form-options.mjs +1 -1
- package/esm2022/shared/form/hint-options.mjs +1 -1
- package/esm2022/shared/index.mjs +1 -2
- package/esm2022/slider/slider.component.mjs +1 -1
- package/esm2022/slider/slider.module.mjs +5 -6
- package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.mjs +6 -10
- package/esm2022/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.mjs +10 -12
- package/esm2022/smart-filter-bar/components/smart-filter-bar-conditions-dialog/smart-filter-bar-conditions-dialog.component.mjs +8 -11
- package/esm2022/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +40 -45
- package/esm2022/smart-filter-bar/interfaces/smart-filter-bar-condition.mjs +1 -1
- package/esm2022/smart-filter-bar/interfaces/smart-filter-bar-settings-dialog-config.mjs +1 -1
- package/esm2022/smart-filter-bar/interfaces/strategy-labels.type.mjs +1 -1
- package/esm2022/smart-filter-bar/smart-filter-bar.class.mjs +1 -1
- package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +5 -72
- package/esm2022/split-menu-button/split-menu-button.module.mjs +5 -23
- package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +1 -1
- package/esm2022/table/components/table-editable-cell/table-editable-cell.component.mjs +1 -1
- package/esm2022/table/components/table-p13-dialog/columns/columns.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/filtering/filter-rule.component.mjs +1 -1
- package/esm2022/table/components/table-p13-dialog/filtering/filtering.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/grouping/grouping.component.mjs +3 -3
- package/esm2022/table/components/table-p13-dialog/sorting/sorting.component.mjs +3 -3
- package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +1 -1
- package/esm2022/table/components/table-toolbar/table-toolbar.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-multi-select.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-single-select.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/filtering/filter-step.component.mjs +3 -3
- package/esm2022/table/components/table-view-settings-dialog/filtering/filters-list-step.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/filtering/filters.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +1 -1
- package/esm2022/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +1 -1
- package/esm2022/table/table.component.mjs +1 -1
- package/esm2022/table/table.module.mjs +1 -5
- package/esm2022/thumbnail/thumbnail-details/thumbnail-details.component.mjs +5 -5
- package/esm2022/thumbnail/thumbnail-image/thumbnail-image.component.mjs +3 -3
- package/esm2022/upload-collection/dialogs/move-to/move-to.component.mjs +1 -1
- package/esm2022/upload-collection/dialogs/new-folder/new-folder.component.mjs +1 -1
- package/esm2022/upload-collection/models/upload-collection.models.mjs +1 -1
- package/esm2022/upload-collection/upload-collection/upload-collection.component.mjs +4 -29
- package/esm2022/upload-collection/upload-collection.module.mjs +4 -8
- package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +2 -27
- package/esm2022/value-help-dialog/components/select-tab/select-tab.component.mjs +3 -17
- package/esm2022/value-help-dialog/index.mjs +1 -2
- package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +4 -43
- package/esm2022/value-help-dialog/value-help-dialog.module.mjs +4 -22
- package/esm2022/variant-management/components/manage-variant-item/manage-variant-item.component.mjs +3 -3
- package/esm2022/variant-management/components/manage-variants-dialog/manage-variants-dialog.component.mjs +1 -1
- package/esm2022/variant-management/variant-management.component.mjs +1 -1
- package/esm2022/wizard-generator/components/dialog-wizard-generator/dialog-wizard-generator.component.mjs +1 -1
- package/esm2022/wizard-generator/components/wizard-generator/wizard-generator.component.mjs +1 -1
- package/esm2022/wizard-generator/components/wizard-generator-step/wizard-generator-step.component.mjs +1 -1
- package/esm2022/wizard-generator/components/wizard-summary-step/wizard-summary-section/wizard-summary-section.component.mjs +1 -1
- package/feed-input/feed-input.component.d.ts +1 -9
- package/fesm2022/fundamental-ngx-platform-action-bar.mjs +7 -29
- package/fesm2022/fundamental-ngx-platform-action-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs +25 -25
- package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-button.mjs +5 -5
- package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs +3 -8
- package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs +2 -16
- package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-form.mjs +138 -716
- package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-icon-tab-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-link.mjs +2 -2
- package/fesm2022/fundamental-ngx-platform-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-list.mjs +23 -93
- package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs +5 -22
- package/fesm2022/fundamental-ngx-platform-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-menu.mjs +4 -36
- package/fesm2022/fundamental-ngx-platform-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs +2 -2
- package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-panel.mjs +5 -16
- package/fesm2022/fundamental-ngx-platform-panel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-search-field.mjs +12 -63
- package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +5 -5
- package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-shared.mjs +2 -116
- package/fesm2022/fundamental-ngx-platform-shared.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-slider.mjs +6 -6
- package/fesm2022/fundamental-ngx-platform-slider.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +71 -146
- package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs +5 -22
- package/fesm2022/fundamental-ngx-platform-split-menu-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-table.mjs +23 -26
- package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-thumbnail.mjs +6 -6
- package/fesm2022/fundamental-ngx-platform-thumbnail.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs +9 -37
- package/fesm2022/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +11 -147
- package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs +4 -4
- package/fesm2022/fundamental-ngx-platform-wizard-generator.mjs.map +1 -1
- package/form/checkbox/checkbox.component.d.ts +3 -19
- package/form/checkbox/checkbox.module.d.ts +3 -4
- package/form/checkbox-group/checkbox-group.component.d.ts +5 -16
- package/form/checkbox-group/checkbox-group.module.d.ts +2 -3
- package/form/combobox/combobox.module.d.ts +2 -3
- package/form/date-picker/date-picker.component.d.ts +1 -35
- package/form/date-picker/date-picker.module.d.ts +2 -3
- package/form/datetime-picker/datetime-picker.component.d.ts +1 -33
- package/form/datetime-picker/datetime-picker.module.d.ts +2 -3
- package/form/form-generator/form-generator/form-generator.component.d.ts +8 -18
- package/form/form-generator/interfaces/dynamic-form-item.d.ts +1 -13
- package/form/form-group/fdp-form.module.d.ts +12 -13
- package/form/form-group/form-field/form-field.component.d.ts +2 -17
- package/form/form-group/form-group.component.d.ts +2 -14
- package/form/index.d.ts +0 -1
- package/form/input/fdp-input.module.d.ts +2 -3
- package/form/input-group/input-group.module.d.ts +2 -3
- package/form/multi-combobox/multi-combobox.module.d.ts +2 -3
- package/form/multi-input/multi-input.module.d.ts +2 -3
- package/form/platform-file-uploader/platform-file-uploader.component.d.ts +5 -11
- package/form/platform-file-uploader/platform-file-uploader.module.d.ts +2 -3
- package/form/radio-group/radio/radio.component.d.ts +1 -8
- package/form/radio-group/radio-group.module.d.ts +2 -3
- package/form/select/select/select.component.d.ts +1 -8
- package/form/select/select.module.d.ts +2 -3
- package/form/step-input/step-input.module.d.ts +2 -3
- package/form/switch/switch.module.d.ts +2 -3
- package/form/text-area/text-area.component.d.ts +1 -6
- package/form/text-area/text-area.module.d.ts +3 -4
- package/form/time-picker/time-picker.module.d.ts +2 -3
- package/fundamental-ngx-platform-v0.45.0.tgz +0 -0
- package/list/base-list-item.d.ts +2 -27
- package/list/list-group-header.component.d.ts +1 -3
- package/list/list.module.d.ts +7 -8
- package/list/object-list-item/object-list-item.module.d.ts +2 -3
- package/list/standard-list-item/standard-list-item.module.d.ts +2 -3
- package/menu/menu.module.d.ts +2 -3
- package/menu-button/menu-button.module.d.ts +2 -3
- package/package.json +4 -4
- package/panel/panel.module.d.ts +2 -3
- package/schematics/ng-add/index.js +1 -1
- package/search-field/search-field.component.d.ts +1 -18
- package/search-field/search-field.module.d.ts +4 -5
- package/shared/form/form-field.d.ts +1 -17
- package/shared/form/form-options.d.ts +0 -3
- package/shared/form/hint-options.d.ts +0 -7
- package/shared/index.d.ts +0 -1
- package/slider/slider.module.d.ts +2 -3
- package/smart-filter-bar/components/smart-filter-bar-condition-field/base-smart-filter-bar-condition-field.d.ts +1 -3
- package/smart-filter-bar/components/smart-filter-bar-condition-field/smart-filter-bar-condition-field.component.d.ts +1 -2
- package/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.d.ts +8 -8
- package/smart-filter-bar/interfaces/smart-filter-bar-condition.d.ts +0 -6
- package/smart-filter-bar/interfaces/smart-filter-bar-settings-dialog-config.d.ts +0 -6
- package/smart-filter-bar/interfaces/strategy-labels.type.d.ts +1 -1
- package/smart-filter-bar/smart-filter-bar.class.d.ts +0 -3
- package/smart-filter-bar/smart-filter-bar.component.d.ts +1 -43
- package/split-menu-button/split-menu-button.module.d.ts +2 -3
- package/table/table.module.d.ts +5 -6
- package/upload-collection/models/upload-collection.models.d.ts +0 -2
- package/upload-collection/upload-collection/upload-collection.component.d.ts +1 -16
- package/upload-collection/upload-collection.module.d.ts +1 -1
- package/value-help-dialog/components/define-tab/define-tab.component.d.ts +1 -11
- package/value-help-dialog/components/select-tab/select-tab.component.d.ts +1 -7
- package/value-help-dialog/index.d.ts +0 -1
- package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +1 -21
- package/value-help-dialog/value-help-dialog.module.d.ts +32 -34
- package/esm2022/form/form-group/deprecated-form-group-compact.directive.mjs +0 -30
- package/esm2022/shared/platform-content-density-deprecations/directives/platform-compact-deprecation.directive.mjs +0 -24
- package/esm2022/shared/platform-content-density-deprecations/directives/platform-content-density-deprecation.directive.mjs +0 -68
- package/esm2022/shared/platform-content-density-deprecations/index.mjs +0 -5
- package/esm2022/shared/platform-content-density-deprecations/platform-content-density-deprecations.module.mjs +0 -19
- package/esm2022/shared/platform-content-density-deprecations/providers/module-deprecation.provider.mjs +0 -13
- package/esm2022/value-help-dialog/components/value-help-dialog-search/value-help-dialog-search.component.mjs +0 -46
- package/form/form-group/deprecated-form-group-compact.directive.d.ts +0 -8
- package/fundamental-ngx-platform-v0.44.1-rc.3.tgz +0 -0
- package/shared/platform-content-density-deprecations/directives/platform-compact-deprecation.directive.d.ts +0 -8
- package/shared/platform-content-density-deprecations/directives/platform-content-density-deprecation.directive.d.ts +0 -10
- package/shared/platform-content-density-deprecations/index.d.ts +0 -4
- package/shared/platform-content-density-deprecations/platform-content-density-deprecations.module.d.ts +0 -9
- package/shared/platform-content-density-deprecations/providers/module-deprecation.provider.d.ts +0 -3
- package/value-help-dialog/components/value-help-dialog-search/value-help-dialog-search.component.d.ts +0 -20
|
@@ -2,19 +2,19 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, ViewChild, Directive, Input, ContentChildren, Injectable, EventEmitter, Output, ViewChildren, forwardRef, NgModule } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i3$2 from '@angular/forms';
|
|
6
6
|
import { Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import { PopoverModule } from '@fundamental-ngx/core/popover';
|
|
8
8
|
import { ButtonModule } from '@fundamental-ngx/core/button';
|
|
9
|
-
import * as i3 from '@fundamental-ngx/platform/form';
|
|
9
|
+
import * as i3$1 from '@fundamental-ngx/platform/form';
|
|
10
10
|
import { FormGeneratorComponent, BaseDynamicFormGeneratorControl, PlatformFormGeneratorModule, PlatformInputGroupModule, PlatformSelectModule, PlatformMultiInputModule, FdpFormGroupModule, FormGeneratorService } from '@fundamental-ngx/platform/form';
|
|
11
11
|
import * as i5$1 from '@fundamental-ngx/core/toolbar';
|
|
12
12
|
import { ToolbarModule } from '@fundamental-ngx/core/toolbar';
|
|
13
|
-
import * as i6 from '@fundamental-ngx/platform/button';
|
|
13
|
+
import * as i6$1 from '@fundamental-ngx/platform/button';
|
|
14
14
|
import { PlatformButtonModule } from '@fundamental-ngx/platform/button';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i4$1 from '@fundamental-ngx/core/busy-indicator';
|
|
16
16
|
import { BusyIndicatorModule } from '@fundamental-ngx/core/busy-indicator';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i3 from '@fundamental-ngx/core/icon';
|
|
18
18
|
import { IconModule } from '@fundamental-ngx/core/icon';
|
|
19
19
|
import * as i7$1 from '@fundamental-ngx/platform/search-field';
|
|
20
20
|
import { PlatformSearchFieldModule } from '@fundamental-ngx/platform/search-field';
|
|
@@ -22,21 +22,21 @@ import * as i1 from '@fundamental-ngx/core/dialog';
|
|
|
22
22
|
import { DialogModule } from '@fundamental-ngx/core/dialog';
|
|
23
23
|
import { ListModule } from '@fundamental-ngx/core/list';
|
|
24
24
|
import { CheckboxModule } from '@fundamental-ngx/core/checkbox';
|
|
25
|
-
import * as
|
|
25
|
+
import * as i8 from '@fundamental-ngx/platform/table';
|
|
26
26
|
import { ArrayTableDataProvider, TableDataSource, RESETTABLE_TOKEN, getFilterStrategiesBasedOnDataType, FilterableColumnDataType, FILTER_STRATEGY, FilterType, PlatformTableModule } from '@fundamental-ngx/platform/table';
|
|
27
|
-
import * as i11 from '@fundamental-ngx/core/layout-grid';
|
|
27
|
+
import * as i11$1 from '@fundamental-ngx/core/layout-grid';
|
|
28
28
|
import { LayoutGridModule } from '@fundamental-ngx/core/layout-grid';
|
|
29
|
-
import * as
|
|
30
|
-
import { Subject, BehaviorSubject,
|
|
29
|
+
import * as i12 from 'rxjs';
|
|
30
|
+
import { Subject, BehaviorSubject, asyncScheduler, firstValueFrom, Subscription, filter, debounceTime } from 'rxjs';
|
|
31
31
|
import { observeOn, takeUntil, take, map } from 'rxjs/operators';
|
|
32
|
-
import * as i8 from '@fundamental-ngx/cdk/utils';
|
|
33
|
-
import { selectStrategy, warnOnce } from '@fundamental-ngx/cdk/utils';
|
|
34
32
|
import { isSelectItem, FDP_PRESET_MANAGED_COMPONENT } from '@fundamental-ngx/platform/shared';
|
|
35
|
-
import * as
|
|
33
|
+
import * as i11 from '@fundamental-ngx/i18n';
|
|
36
34
|
import { TranslationResolver, FD_LANGUAGE, I18nModule } from '@fundamental-ngx/i18n';
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
35
|
+
import * as i5 from '@fundamental-ngx/core/bar';
|
|
36
|
+
import * as i6 from '@fundamental-ngx/core/title';
|
|
37
|
+
import * as i7 from '@fundamental-ngx/cdk/utils';
|
|
38
|
+
import { selectStrategy } from '@fundamental-ngx/cdk/utils';
|
|
39
|
+
import * as i9 from '@fundamental-ngx/platform/table-helpers';
|
|
40
40
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
41
41
|
import { FdDate } from '@fundamental-ngx/core/datetime';
|
|
42
42
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
@@ -121,45 +121,16 @@ class SmartFilterBarSettingsDialogComponent {
|
|
|
121
121
|
this._onDestroy$ = new Subject();
|
|
122
122
|
/** @hidden */
|
|
123
123
|
this._isResetAvailableSubject$ = new BehaviorSubject(false);
|
|
124
|
-
/** Indicates when reset command is available */
|
|
125
|
-
this.isResetAvailable$ = this._isResetAvailableSubject$.asObservable();
|
|
126
124
|
/** @hidden */
|
|
127
125
|
this._translationResolver = new TranslationResolver();
|
|
126
|
+
this.isResetAvailable$ = this._isResetAvailableSubject$.asObservable();
|
|
128
127
|
this.setInitialTableState();
|
|
129
128
|
this._init();
|
|
130
129
|
}
|
|
131
130
|
/** @hidden */
|
|
132
|
-
async _init() {
|
|
133
|
-
await this._transformVisibilityLabels();
|
|
134
|
-
this.loaded = true;
|
|
135
|
-
this._cdr.markForCheck();
|
|
136
|
-
}
|
|
137
|
-
/** @hidden */
|
|
138
131
|
ngAfterViewInit() {
|
|
139
132
|
this.setSelectedFilters();
|
|
140
133
|
}
|
|
141
|
-
/**
|
|
142
|
-
* Transforms visibility options into appropriate select item object.
|
|
143
|
-
*/
|
|
144
|
-
async _transformVisibilityLabels() {
|
|
145
|
-
let labels = this._dialogRef.data.visibilityCategories;
|
|
146
|
-
if (!labels) {
|
|
147
|
-
const lang = await firstValueFrom(this._language$);
|
|
148
|
-
labels = { ...this._categoryLabelKeys };
|
|
149
|
-
for (const strategyItem in labels) {
|
|
150
|
-
if (Object.prototype.hasOwnProperty.call(labels, strategyItem)) {
|
|
151
|
-
const translationKey = labels[strategyItem];
|
|
152
|
-
labels[strategyItem] = this._translationResolver.resolve(lang, 'platformSmartFilterBar.' + translationKey);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
for (const [selectValue, selectLabel] of Object.entries(labels)) {
|
|
157
|
-
this._filterVisibilityOptions.push({
|
|
158
|
-
label: selectLabel,
|
|
159
|
-
value: selectValue
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
134
|
/**
|
|
164
135
|
* Checks the checkbox in the table row if the field is selected.
|
|
165
136
|
*/
|
|
@@ -225,13 +196,38 @@ class SmartFilterBarSettingsDialogComponent {
|
|
|
225
196
|
this.source.dataProvider.filter(event.payload);
|
|
226
197
|
this.source.fetch(this.table.getTableState());
|
|
227
198
|
}
|
|
199
|
+
/** @hidden */
|
|
200
|
+
async _init() {
|
|
201
|
+
await this._transformVisibilityLabels();
|
|
202
|
+
this.loaded = true;
|
|
203
|
+
this._cdr.markForCheck();
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Transforms visibility options into appropriate select item object.
|
|
207
|
+
*/
|
|
208
|
+
async _transformVisibilityLabels() {
|
|
209
|
+
const lang = await firstValueFrom(this._language$);
|
|
210
|
+
const labels = { ...this._categoryLabelKeys };
|
|
211
|
+
for (const strategyItem in labels) {
|
|
212
|
+
if (Object.prototype.hasOwnProperty.call(labels, strategyItem)) {
|
|
213
|
+
const translationKey = labels[strategyItem];
|
|
214
|
+
labels[strategyItem] = this._translationResolver.resolve(lang, 'platformSmartFilterBar.' + translationKey);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
for (const [selectValue, selectLabel] of Object.entries(labels)) {
|
|
218
|
+
this._filterVisibilityOptions.push({
|
|
219
|
+
label: selectLabel,
|
|
220
|
+
value: selectValue
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
}
|
|
228
224
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarSettingsDialogComponent, deps: [{ token: i1.DialogRef }, { token: FD_LANGUAGE }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
229
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarSettingsDialogComponent, selector: "fdp-smart-filter-bar-settings-dialog", providers: [{ provide: RESETTABLE_TOKEN, useExisting: SmartFilterBarSettingsDialogComponent }], viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true }], ngImport: i0, template: "<fd-dialog class=\"fdp-table-p13-filtering-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>\n {{ 'platformSmartFilterBar.selectFiltersHeader' | fdTranslate }}\n </h4>\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fdp-table-reset-button></fdp-table-reset-button>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <fdp-table\n *ngIf=\"loaded; else loadingTpl\"\n #table\n (rowSelectionChange)=\"_onRowSelectionChange($event)\"\n [dataSource]=\"source\"\n selectionMode=\"multiple\"\n >\n <fdp-table-toolbar\n [hideItemCount]=\"false\"\n [title]=\"'platformSmartFilterBar.selectFiltersAvailableFiltersText' | fdTranslate\"\n >\n <fdp-table-toolbar-actions>\n <fdp-select\n (selectionChange)=\"_onFilterVisibilityChange($event)\"\n [list]=\"_filterVisibilityOptions\"\n [value]=\"_filterVisibilityOptions[0].value\"\n >\n </fdp-select>\n </fdp-table-toolbar-actions>\n </fdp-table-toolbar>\n <fdp-column\n align=\"start\"\n key=\"label\"\n [label]=\"'platformSmartFilterBar.selectFiltersFilterColumnLabel' | fdTranslate\"\n name=\"label\"\n ></fdp-column>\n <fdp-column\n align=\"center\"\n key=\"active\"\n [label]=\"'platformSmartFilterBar.selectFiltersActiveColumnLabel' | fdTranslate\"\n name=\"active\"\n width=\"150px\"\n >\n <fdp-table-cell *fdpCellDef=\"let item\">\n <fd-icon *ngIf=\"item.active\" glyph=\"accept\"></fd-icon>\n </fdp-table-cell>\n </fdp-column>\n </fdp-table>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-
|
|
225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarSettingsDialogComponent, selector: "fdp-smart-filter-bar-settings-dialog", providers: [{ provide: RESETTABLE_TOKEN, useExisting: SmartFilterBarSettingsDialogComponent }], viewQueries: [{ propertyName: "table", first: true, predicate: ["table"], descendants: true }], ngImport: i0, template: "<fd-dialog class=\"fdp-table-p13-filtering-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>\n {{ 'platformSmartFilterBar.selectFiltersHeader' | fdTranslate }}\n </h4>\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fdp-table-reset-button></fdp-table-reset-button>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <fdp-table\n *ngIf=\"loaded; else loadingTpl\"\n #table\n (rowSelectionChange)=\"_onRowSelectionChange($event)\"\n [dataSource]=\"source\"\n selectionMode=\"multiple\"\n >\n <fdp-table-toolbar\n [hideItemCount]=\"false\"\n [title]=\"'platformSmartFilterBar.selectFiltersAvailableFiltersText' | fdTranslate\"\n >\n <fdp-table-toolbar-actions>\n <fdp-select\n (selectionChange)=\"_onFilterVisibilityChange($event)\"\n [list]=\"_filterVisibilityOptions\"\n [value]=\"_filterVisibilityOptions[0].value\"\n >\n </fdp-select>\n </fdp-table-toolbar-actions>\n </fdp-table-toolbar>\n <fdp-column\n align=\"start\"\n key=\"label\"\n [label]=\"'platformSmartFilterBar.selectFiltersFilterColumnLabel' | fdTranslate\"\n name=\"label\"\n ></fdp-column>\n <fdp-column\n align=\"center\"\n key=\"active\"\n [label]=\"'platformSmartFilterBar.selectFiltersActiveColumnLabel' | fdTranslate\"\n name=\"active\"\n width=\"150px\"\n >\n <fdp-table-cell *fdpCellDef=\"let item\">\n <fd-icon *ngIf=\"item.active\" glyph=\"accept\"></fd-icon>\n </fdp-table-cell>\n </fdp-column>\n </fdp-table>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-button-bar\n (click)=\"_confirm()\"\n fdType=\"emphasized\"\n [label]=\"'platformSmartFilterBar.selectFiltersSubmitButtonLabel' | fdTranslate\"\n ></fd-button-bar>\n\n <fd-button-bar\n (click)=\"_cancel()\"\n fdType=\"transparent\"\n [label]=\"'platformSmartFilterBar.selectFiltersCancelButton' | fdTranslate\"\n ></fd-button-bar>\n </fd-dialog-footer>\n</fd-dialog>\n\n<ng-template #loadingTpl>\n <div style=\"text-align: center; margin: 1rem\">\n <fd-busy-indicator [loading]=\"true\"></fd-busy-indicator>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IconComponent, selector: "fd-icon", inputs: ["glyph", "font", "class", "ariaLabel"] }, { kind: "component", type: i4$1.BusyIndicatorComponent, selector: "fd-busy-indicator", inputs: ["loading", "size", "block", "ariaLabel", "title", "label", "ariaLive"] }, { kind: "component", type: i1.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i1.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i1.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i1.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "directive", type: i5.BarLeftDirective, selector: "[fd-bar-left]" }, { kind: "directive", type: i5.BarRightDirective, selector: "[fd-bar-right]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth"] }, { kind: "component", type: i5.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i6.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i7.TemplateDirective, selector: "[fdkTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i8.TableComponent, selector: "fdp-table", inputs: ["name", "id", "enableDragResize", "fixed", "freezeColumnsTo", "freezeEndColumnsTo", "pageScrolling", "pageSize", "pageScrollingThreshold", "bodyHeight", "emptyTableMessage", "noVisibleColumnsMessage", "noHorizontalBorders", "noVerticalBorders", "noBorders", "noBodyBorders", "noOuterBorders", "noBorderX", "noBorderY", "relationKey", "expandedStateKey", "hasChildrenKey", "rowNavigatable", "highlightNavigatedRow", "rowsActivable", "selectedKey", "selectableKey", "trackBy", "rowComparator", "rowsClass", "editableRowSkeleton", "expandOnInit", "rowHeight", "loadPagesBefore", "selectionMode", "enableTristateMode", "semanticHighlighting", "forceCheckedAllState", "loading"], outputs: ["presetChanged", "rowSelectionChange", "sortChange", "filterChange", "groupChange", "columnsChange", "pageChange", "columnFreeze", "rowToggleOpenState", "rowActivate", "rowNavigate", "emptyRowAdded", "save", "cancel", "tableScrolled", "tableRowsSet", "allRowsExpanded", "allRowsCollapsed"] }, { kind: "component", type: i8.TableColumnComponent, selector: "fdp-column", inputs: ["name", "key", "label", "align", "sortable", "filterable", "visible", "dataType", "groupable", "freezable", "endFreezable", "width", "noWrap", "applyText", "role"] }, { kind: "component", type: i8.TableToolbarComponent, selector: "fdp-table-toolbar", inputs: ["shouldOverflow", "title", "hideItemCount", "hideSearchInput", "showExpandCollapseButtons", "searchSuggestions", "editMode"] }, { kind: "component", type: i8.TableToolbarActionsComponent, selector: "fdp-table-toolbar-actions" }, { kind: "component", type: i8.ResetButtonComponent, selector: "fdp-table-reset-button" }, { kind: "directive", type: i9.TableInitialStateDirective, selector: "[fdpTableInitialState], fdp-table", inputs: ["initialVisibleColumns", "initialSortBy", "initialFilterBy", "initialGroupBy", "initialPage", "state"] }, { kind: "directive", type: i9.FdpTableCell, selector: "fdp-table-cell" }, { kind: "directive", type: i9.FdpCellDef, selector: "[fdpCellDef]", inputs: ["fdpCellDefAs"] }, { kind: "component", type: i3$1.SelectComponent, selector: "fdp-select", inputs: ["value", "inline"] }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
230
226
|
}
|
|
231
227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarSettingsDialogComponent, decorators: [{
|
|
232
228
|
type: Component,
|
|
233
|
-
args: [{ selector: 'fdp-smart-filter-bar-settings-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: RESETTABLE_TOKEN, useExisting: SmartFilterBarSettingsDialogComponent }], template: "<fd-dialog class=\"fdp-table-p13-filtering-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>\n {{ 'platformSmartFilterBar.selectFiltersHeader' | fdTranslate }}\n </h4>\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fdp-table-reset-button></fdp-table-reset-button>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <fdp-table\n *ngIf=\"loaded; else loadingTpl\"\n #table\n (rowSelectionChange)=\"_onRowSelectionChange($event)\"\n [dataSource]=\"source\"\n selectionMode=\"multiple\"\n >\n <fdp-table-toolbar\n [hideItemCount]=\"false\"\n [title]=\"'platformSmartFilterBar.selectFiltersAvailableFiltersText' | fdTranslate\"\n >\n <fdp-table-toolbar-actions>\n <fdp-select\n (selectionChange)=\"_onFilterVisibilityChange($event)\"\n [list]=\"_filterVisibilityOptions\"\n [value]=\"_filterVisibilityOptions[0].value\"\n >\n </fdp-select>\n </fdp-table-toolbar-actions>\n </fdp-table-toolbar>\n <fdp-column\n align=\"start\"\n key=\"label\"\n [label]=\"'platformSmartFilterBar.selectFiltersFilterColumnLabel' | fdTranslate\"\n name=\"label\"\n ></fdp-column>\n <fdp-column\n align=\"center\"\n key=\"active\"\n [label]=\"'platformSmartFilterBar.selectFiltersActiveColumnLabel' | fdTranslate\"\n name=\"active\"\n width=\"150px\"\n >\n <fdp-table-cell *fdpCellDef=\"let item\">\n <fd-icon *ngIf=\"item.active\" glyph=\"accept\"></fd-icon>\n </fdp-table-cell>\n </fdp-column>\n </fdp-table>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-
|
|
234
|
-
}], ctorParameters: function () { return [{ type: i1.DialogRef }, { type:
|
|
229
|
+
args: [{ selector: 'fdp-smart-filter-bar-settings-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: RESETTABLE_TOKEN, useExisting: SmartFilterBarSettingsDialogComponent }], template: "<fd-dialog class=\"fdp-table-p13-filtering-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>\n {{ 'platformSmartFilterBar.selectFiltersHeader' | fdTranslate }}\n </h4>\n </fd-bar-element>\n </div>\n <div fd-bar-right>\n <fd-bar-element>\n <fdp-table-reset-button></fdp-table-reset-button>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <fdp-table\n *ngIf=\"loaded; else loadingTpl\"\n #table\n (rowSelectionChange)=\"_onRowSelectionChange($event)\"\n [dataSource]=\"source\"\n selectionMode=\"multiple\"\n >\n <fdp-table-toolbar\n [hideItemCount]=\"false\"\n [title]=\"'platformSmartFilterBar.selectFiltersAvailableFiltersText' | fdTranslate\"\n >\n <fdp-table-toolbar-actions>\n <fdp-select\n (selectionChange)=\"_onFilterVisibilityChange($event)\"\n [list]=\"_filterVisibilityOptions\"\n [value]=\"_filterVisibilityOptions[0].value\"\n >\n </fdp-select>\n </fdp-table-toolbar-actions>\n </fdp-table-toolbar>\n <fdp-column\n align=\"start\"\n key=\"label\"\n [label]=\"'platformSmartFilterBar.selectFiltersFilterColumnLabel' | fdTranslate\"\n name=\"label\"\n ></fdp-column>\n <fdp-column\n align=\"center\"\n key=\"active\"\n [label]=\"'platformSmartFilterBar.selectFiltersActiveColumnLabel' | fdTranslate\"\n name=\"active\"\n width=\"150px\"\n >\n <fdp-table-cell *fdpCellDef=\"let item\">\n <fd-icon *ngIf=\"item.active\" glyph=\"accept\"></fd-icon>\n </fdp-table-cell>\n </fdp-column>\n </fdp-table>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-button-bar\n (click)=\"_confirm()\"\n fdType=\"emphasized\"\n [label]=\"'platformSmartFilterBar.selectFiltersSubmitButtonLabel' | fdTranslate\"\n ></fd-button-bar>\n\n <fd-button-bar\n (click)=\"_cancel()\"\n fdType=\"transparent\"\n [label]=\"'platformSmartFilterBar.selectFiltersCancelButton' | fdTranslate\"\n ></fd-button-bar>\n </fd-dialog-footer>\n</fd-dialog>\n\n<ng-template #loadingTpl>\n <div style=\"text-align: center; margin: 1rem\">\n <fd-busy-indicator [loading]=\"true\"></fd-busy-indicator>\n </div>\n</ng-template>\n" }]
|
|
230
|
+
}], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i12.Observable, decorators: [{
|
|
235
231
|
type: Inject,
|
|
236
232
|
args: [FD_LANGUAGE]
|
|
237
233
|
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { table: [{
|
|
@@ -380,7 +376,7 @@ class SmartFilterBarSubjectDirective {
|
|
|
380
376
|
conditionStrategy: column.conditionStrategy
|
|
381
377
|
};
|
|
382
378
|
}
|
|
383
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarSubjectDirective, deps: [{ token:
|
|
379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarSubjectDirective, deps: [{ token: i8.Table }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
384
380
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarSubjectDirective, selector: "[fdpSmartFilterBarSubject], [fdp-smart-filter-bar-subject]", queries: [{ propertyName: "_fieldDefinitions", predicate: SmartFilterBarFieldDefinitionDirective }], exportAs: ["fdp-smart-filter-bar-subject"], ngImport: i0 }); }
|
|
385
381
|
}
|
|
386
382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarSubjectDirective, decorators: [{
|
|
@@ -389,7 +385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
389
385
|
selector: '[fdpSmartFilterBarSubject], [fdp-smart-filter-bar-subject]',
|
|
390
386
|
exportAs: 'fdp-smart-filter-bar-subject'
|
|
391
387
|
}]
|
|
392
|
-
}], ctorParameters: function () { return [{ type:
|
|
388
|
+
}], ctorParameters: function () { return [{ type: i8.Table }]; }, propDecorators: { _fieldDefinitions: [{
|
|
393
389
|
type: ContentChildren,
|
|
394
390
|
args: [SmartFilterBarFieldDefinitionDirective]
|
|
395
391
|
}] } });
|
|
@@ -570,12 +566,12 @@ class SmartFilterBarService {
|
|
|
570
566
|
}
|
|
571
567
|
return value;
|
|
572
568
|
}
|
|
573
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarService, deps: [{ token: i3.FormGeneratorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
569
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarService, deps: [{ token: i3$1.FormGeneratorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
574
570
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarService }); }
|
|
575
571
|
}
|
|
576
572
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarService, decorators: [{
|
|
577
573
|
type: Injectable
|
|
578
|
-
}], ctorParameters: function () { return [{ type: i3.FormGeneratorService }]; } });
|
|
574
|
+
}], ctorParameters: function () { return [{ type: i3$1.FormGeneratorService }]; } });
|
|
579
575
|
|
|
580
576
|
const SMART_FILTER_BAR_RENDERER_COMPONENT = 'smart-filter-condition-renderer';
|
|
581
577
|
|
|
@@ -705,14 +701,11 @@ class SmartFilterBarConditionsDialogComponent {
|
|
|
705
701
|
*/
|
|
706
702
|
_getApplicableConditionOperators() {
|
|
707
703
|
const strategy = this._smartFilterBarService.getApplicableFilterConditions(this.config.filterType, this.config.dataType);
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
labelsConfig
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
const translationKey = labelsConfig[strategyItem];
|
|
714
|
-
labelsConfig[strategyItem] = this._translationResolver.resolve(this._language, 'platformSmartFilterBar.' + translationKey);
|
|
715
|
-
}
|
|
704
|
+
const labelsConfig = { ...this._conditionLabelKeys };
|
|
705
|
+
for (const strategyItem in labelsConfig) {
|
|
706
|
+
if (Object.prototype.hasOwnProperty.call(labelsConfig, strategyItem)) {
|
|
707
|
+
const translationKey = labelsConfig[strategyItem];
|
|
708
|
+
labelsConfig[strategyItem] = this._translationResolver.resolve(this._language, 'platformSmartFilterBar.' + translationKey);
|
|
716
709
|
}
|
|
717
710
|
}
|
|
718
711
|
return strategy.map((s) => ({
|
|
@@ -803,12 +796,12 @@ class SmartFilterBarConditionsDialogComponent {
|
|
|
803
796
|
];
|
|
804
797
|
}
|
|
805
798
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarConditionsDialogComponent, deps: [{ token: i1.DialogRef }, { token: FD_LANGUAGE }, { token: i0.ChangeDetectorRef }, { token: SmartFilterBarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
806
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarConditionsDialogComponent, selector: "fdp-smart-filter-bar-conditions-dialog", viewQueries: [{ propertyName: "formGenerators", predicate: FormGeneratorComponent, descendants: true }], ngImport: i0, template: "<fd-dialog class=\"fdp-smart-filter-bar__conditions-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>{{ config.header }}</h4>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <form *ngIf=\"loaded; else loadingTpl\">\n <fd-layout-grid *ngFor=\"let condition of _formItems; let i = index\">\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol>\n <!-- wrapping \"formSubmitted\" event payload as any, because it's type is more generic than we're expecting -->\n <fdp-form-generator\n (formSubmitted)=\"_onFormSubmitted($any($event))\"\n [formItems]=\"condition\"\n [unifiedLayout]=\"false\"\n columnLayout=\"XL3-L3-M3-S3\"\n [noAdditionalContent]=\"true\"\n ></fdp-form-generator>\n </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" colGrow fdLayoutGridCol>\n <fdp-button\n (click)=\"removeCondition(i)\"\n buttonType=\"transparent\"\n glyph=\"decline\"\n [title]=\"'platformSmartFilterBar.defineConditionsRemoveConditionButtonTitle' | fdTranslate\"\n type=\"button\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n <fd-layout-grid>\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol> </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" fdLayoutGridCol>\n <fdp-button\n (click)=\"addCondition()\"\n [label]=\"'platformSmartFilterBar.defineConditionsAddConditionButtonLabel' | fdTranslate\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n </form>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-
|
|
799
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarConditionsDialogComponent, selector: "fdp-smart-filter-bar-conditions-dialog", viewQueries: [{ propertyName: "formGenerators", predicate: FormGeneratorComponent, descendants: true }], ngImport: i0, template: "<fd-dialog class=\"fdp-smart-filter-bar__conditions-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>{{ config.header }}</h4>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <form *ngIf=\"loaded; else loadingTpl\">\n <fd-layout-grid *ngFor=\"let condition of _formItems; let i = index\">\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol>\n <!-- wrapping \"formSubmitted\" event payload as any, because it's type is more generic than we're expecting -->\n <fdp-form-generator\n (formSubmitted)=\"_onFormSubmitted($any($event))\"\n [formItems]=\"condition\"\n [unifiedLayout]=\"false\"\n columnLayout=\"XL3-L3-M3-S3\"\n [noAdditionalContent]=\"true\"\n ></fdp-form-generator>\n </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" colGrow fdLayoutGridCol>\n <fdp-button\n (click)=\"removeCondition(i)\"\n buttonType=\"transparent\"\n glyph=\"decline\"\n [title]=\"'platformSmartFilterBar.defineConditionsRemoveConditionButtonTitle' | fdTranslate\"\n type=\"button\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n <fd-layout-grid>\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol> </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" fdLayoutGridCol>\n <fdp-button\n (click)=\"addCondition()\"\n [label]=\"'platformSmartFilterBar.defineConditionsAddConditionButtonLabel' | fdTranslate\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n </form>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-button-bar\n (click)=\"applyConditions()\"\n fdType=\"emphasized\"\n [label]=\"'platformSmartFilterBar.defineConditionsSubmitButtonLabel' | fdTranslate\"\n >\n </fd-button-bar>\n\n <fd-button-bar\n (click)=\"_cancel()\"\n fdType=\"transparent\"\n [label]=\"'platformSmartFilterBar.defineConditionsCancelButton' | fdTranslate\"\n ></fd-button-bar>\n </fd-dialog-footer>\n</fd-dialog>\n\n<ng-template #loadingTpl>\n <div style=\"text-align: center; margin: 1rem\">\n <fd-busy-indicator [loading]=\"true\"></fd-busy-indicator>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3$1.FormGeneratorComponent, selector: "fdp-form-generator", inputs: ["formName", "formItems", "mainTitle", "hideMainTItle", "hint", "columnLayout", "labelColumnLayout", "fieldColumnLayout", "gapColumnLayout", "unifiedLayout", "inlineColumnLayout", "noAdditionalContent"], outputs: ["formCreated", "formSubmitted", "formSubmittedStatus"] }, { kind: "component", type: i6$1.ButtonComponent, selector: "fdp-button", inputs: ["glyphPosition", "label", "glyph", "buttonType", "toggled", "title", "ariaSelected", "ariaDisabled", "ariaExpanded", "ariaControlsId", "ariaPressed", "name", "type", "value"], outputs: ["buttonClicked"] }, { kind: "component", type: i4$1.BusyIndicatorComponent, selector: "fd-busy-indicator", inputs: ["loading", "size", "block", "ariaLabel", "title", "label", "ariaLive"] }, { kind: "component", type: i1.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i1.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i1.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i1.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "directive", type: i5.BarLeftDirective, selector: "[fd-bar-left]" }, { kind: "directive", type: i5.BarElementDirective, selector: "fd-bar-element", inputs: ["fullWidth"] }, { kind: "component", type: i5.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i6.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i7.TemplateDirective, selector: "[fdkTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i11$1.LayoutGridComponent, selector: "fd-layout-grid, [fdLayoutGrid]", inputs: ["class", "noGap", "noHorizontalGap", "noVerticalGap"] }, { kind: "directive", type: i11$1.LayoutGridColDirective, selector: "[fd-layout-grid-col], [fdLayoutGridCol]", inputs: ["fdLayoutGridCol", "colGrow", "colMd", "colLg", "colXl", "colOffset", "colOffsetMd", "colOffsetLg", "colOffsetXl", "class"] }, { kind: "directive", type: i11$1.LayoutGridRowDirective, selector: "[fd-layout-grid-row], [fdLayoutGridRow]" }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
807
800
|
}
|
|
808
801
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarConditionsDialogComponent, decorators: [{
|
|
809
802
|
type: Component,
|
|
810
|
-
args: [{ selector: 'fdp-smart-filter-bar-conditions-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<fd-dialog class=\"fdp-smart-filter-bar__conditions-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>{{ config.header }}</h4>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <form *ngIf=\"loaded; else loadingTpl\">\n <fd-layout-grid *ngFor=\"let condition of _formItems; let i = index\">\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol>\n <!-- wrapping \"formSubmitted\" event payload as any, because it's type is more generic than we're expecting -->\n <fdp-form-generator\n (formSubmitted)=\"_onFormSubmitted($any($event))\"\n [formItems]=\"condition\"\n [unifiedLayout]=\"false\"\n columnLayout=\"XL3-L3-M3-S3\"\n [noAdditionalContent]=\"true\"\n ></fdp-form-generator>\n </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" colGrow fdLayoutGridCol>\n <fdp-button\n (click)=\"removeCondition(i)\"\n buttonType=\"transparent\"\n glyph=\"decline\"\n [title]=\"'platformSmartFilterBar.defineConditionsRemoveConditionButtonTitle' | fdTranslate\"\n type=\"button\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n <fd-layout-grid>\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol> </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" fdLayoutGridCol>\n <fdp-button\n (click)=\"addCondition()\"\n [label]=\"'platformSmartFilterBar.defineConditionsAddConditionButtonLabel' | fdTranslate\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n </form>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-
|
|
811
|
-
}], ctorParameters: function () { return [{ type: i1.DialogRef }, { type:
|
|
803
|
+
args: [{ selector: 'fdp-smart-filter-bar-conditions-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<fd-dialog class=\"fdp-smart-filter-bar__conditions-dialog\">\n <fd-dialog-header>\n <ng-template fdkTemplate=\"header\">\n <div fd-bar-left>\n <fd-bar-element>\n <h4 [headerSize]=\"4\" fd-title>{{ config.header }}</h4>\n </fd-bar-element>\n </div>\n </ng-template>\n </fd-dialog-header>\n\n <fd-dialog-body>\n <form *ngIf=\"loaded; else loadingTpl\">\n <fd-layout-grid *ngFor=\"let condition of _formItems; let i = index\">\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol>\n <!-- wrapping \"formSubmitted\" event payload as any, because it's type is more generic than we're expecting -->\n <fdp-form-generator\n (formSubmitted)=\"_onFormSubmitted($any($event))\"\n [formItems]=\"condition\"\n [unifiedLayout]=\"false\"\n columnLayout=\"XL3-L3-M3-S3\"\n [noAdditionalContent]=\"true\"\n ></fdp-form-generator>\n </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" colGrow fdLayoutGridCol>\n <fdp-button\n (click)=\"removeCondition(i)\"\n buttonType=\"transparent\"\n glyph=\"decline\"\n [title]=\"'platformSmartFilterBar.defineConditionsRemoveConditionButtonTitle' | fdTranslate\"\n type=\"button\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n <fd-layout-grid>\n <div fdLayoutGridRow>\n <div colGrow fdLayoutGridCol> </div>\n <div class=\"fdp-smart-filter-bar__actions-column\" fdLayoutGridCol>\n <fdp-button\n (click)=\"addCondition()\"\n [label]=\"'platformSmartFilterBar.defineConditionsAddConditionButtonLabel' | fdTranslate\"\n ></fdp-button>\n </div>\n </div>\n </fd-layout-grid>\n </form>\n </fd-dialog-body>\n\n <fd-dialog-footer>\n <fd-button-bar\n (click)=\"applyConditions()\"\n fdType=\"emphasized\"\n [label]=\"'platformSmartFilterBar.defineConditionsSubmitButtonLabel' | fdTranslate\"\n >\n </fd-button-bar>\n\n <fd-button-bar\n (click)=\"_cancel()\"\n fdType=\"transparent\"\n [label]=\"'platformSmartFilterBar.defineConditionsCancelButton' | fdTranslate\"\n ></fd-button-bar>\n </fd-dialog-footer>\n</fd-dialog>\n\n<ng-template #loadingTpl>\n <div style=\"text-align: center; margin: 1rem\">\n <fd-busy-indicator [loading]=\"true\"></fd-busy-indicator>\n </div>\n</ng-template>\n" }]
|
|
804
|
+
}], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i12.Observable, decorators: [{
|
|
812
805
|
type: Inject,
|
|
813
806
|
args: [FD_LANGUAGE]
|
|
814
807
|
}] }, { type: i0.ChangeDetectorRef }, { type: SmartFilterBarService }]; }, propDecorators: { formGenerators: [{
|
|
@@ -818,10 +811,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
818
811
|
|
|
819
812
|
class BaseSmartFilterBarConditionField extends BaseDynamicFormGeneratorControl {
|
|
820
813
|
/** @hidden */
|
|
821
|
-
constructor(_dialogService,
|
|
814
|
+
constructor(_dialogService, _smartFilterBarService, _injector) {
|
|
822
815
|
super();
|
|
823
816
|
this._dialogService = _dialogService;
|
|
824
|
-
this._smartFilterBar = _smartFilterBar;
|
|
825
817
|
this._smartFilterBarService = _smartFilterBarService;
|
|
826
818
|
this._injector = _injector;
|
|
827
819
|
/**
|
|
@@ -835,8 +827,7 @@ class BaseSmartFilterBarConditionField extends BaseDynamicFormGeneratorControl {
|
|
|
835
827
|
filterType: this.formItem.guiOptions?.additionalData.type,
|
|
836
828
|
conditions: currentValue || [],
|
|
837
829
|
choices: this.formItem.guiOptions?.additionalData.choices,
|
|
838
|
-
controlType: this.formItem.guiOptions?.additionalData.controlType
|
|
839
|
-
defineStrategyLabels: this._smartFilterBar.defineStrategyLabels
|
|
830
|
+
controlType: this.formItem.guiOptions?.additionalData.controlType
|
|
840
831
|
};
|
|
841
832
|
const dialogRef = this._dialogService.open(SmartFilterBarConditionsDialogComponent, {
|
|
842
833
|
data: dialogData,
|
|
@@ -861,25 +852,25 @@ class BaseSmartFilterBarConditionField extends BaseDynamicFormGeneratorControl {
|
|
|
861
852
|
getField() {
|
|
862
853
|
return this.form.get(`${this.formGroupName}.${this.name}`);
|
|
863
854
|
}
|
|
864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BaseSmartFilterBarConditionField, deps: [{ token: i1.DialogService }, { token:
|
|
855
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BaseSmartFilterBarConditionField, deps: [{ token: i1.DialogService }, { token: SmartFilterBarService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
865
856
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: BaseSmartFilterBarConditionField, usesInheritance: true, ngImport: i0 }); }
|
|
866
857
|
}
|
|
867
858
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: BaseSmartFilterBarConditionField, decorators: [{
|
|
868
859
|
type: Directive
|
|
869
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type:
|
|
860
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: SmartFilterBarService }, { type: i0.Injector }]; } });
|
|
870
861
|
|
|
871
862
|
class SmartFilterBarConditionFieldComponent extends BaseSmartFilterBarConditionField {
|
|
872
863
|
/** @hidden */
|
|
873
|
-
constructor(dialogService,
|
|
874
|
-
super(dialogService,
|
|
864
|
+
constructor(dialogService, smartFilterBarService, injector) {
|
|
865
|
+
super(dialogService, smartFilterBarService, injector);
|
|
875
866
|
}
|
|
876
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarConditionFieldComponent, deps: [{ token: i1.DialogService }, { token:
|
|
877
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarConditionFieldComponent, selector: "fdp-smart-filter-bar-condition-field", usesInheritance: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <ng-container [formGroupName]=\"formGroupName\">\n <fdp-multi-input\n [id]=\"id\"\n [addOnButtonClickFn]=\"openConditionsDialog\"\n [autofocus]=\"true\"\n [dataSource]=\"formItem.choices || []\"\n [formControlName]=\"name\"\n [name]=\"name\"\n [placeholder]=\"formItem.placeholder || formItem.message\"\n displayKey=\"displayValue\"\n [glyphAriaLabel]=\"'platformSmartFilterBar.manageFieldConditions' | fdTranslate\"\n >\n </fdp-multi-input>\n </ng-container>\n</ng-container>\n", dependencies: [{ kind: "directive", type:
|
|
867
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarConditionFieldComponent, deps: [{ token: i1.DialogService }, { token: SmartFilterBarService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
868
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarConditionFieldComponent, selector: "fdp-smart-filter-bar-condition-field", usesInheritance: true, ngImport: i0, template: "<ng-container [formGroup]=\"form\">\n <ng-container [formGroupName]=\"formGroupName\">\n <fdp-multi-input\n [id]=\"id\"\n [addOnButtonClickFn]=\"openConditionsDialog\"\n [autofocus]=\"true\"\n [dataSource]=\"formItem.choices || []\"\n [formControlName]=\"name\"\n [name]=\"name\"\n [placeholder]=\"formItem.placeholder || formItem.message\"\n displayKey=\"displayValue\"\n [glyphAriaLabel]=\"'platformSmartFilterBar.manageFieldConditions' | fdTranslate\"\n >\n </fdp-multi-input>\n </ng-container>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i3$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3$2.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "component", type: i3$1.PlatformMultiInputComponent, selector: "fdp-multi-input", inputs: ["tokenHiddenId", "type", "autofocus", "glyphAriaLabel", "selected", "selectionMode", "hasByLine", "disabled", "fillControlMode", "triggers", "closeOnOutsideClick", "addOnButtonClickFn", "displayFn"], outputs: ["selectionChange"] }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
878
869
|
}
|
|
879
870
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarConditionFieldComponent, decorators: [{
|
|
880
871
|
type: Component,
|
|
881
872
|
args: [{ selector: 'fdp-smart-filter-bar-condition-field', encapsulation: ViewEncapsulation.None, template: "<ng-container [formGroup]=\"form\">\n <ng-container [formGroupName]=\"formGroupName\">\n <fdp-multi-input\n [id]=\"id\"\n [addOnButtonClickFn]=\"openConditionsDialog\"\n [autofocus]=\"true\"\n [dataSource]=\"formItem.choices || []\"\n [formControlName]=\"name\"\n [name]=\"name\"\n [placeholder]=\"formItem.placeholder || formItem.message\"\n displayKey=\"displayValue\"\n [glyphAriaLabel]=\"'platformSmartFilterBar.manageFieldConditions' | fdTranslate\"\n >\n </fdp-multi-input>\n </ng-container>\n</ng-container>\n" }]
|
|
882
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type:
|
|
873
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: SmartFilterBarService }, { type: i0.Injector }]; } });
|
|
883
874
|
|
|
884
875
|
const defaultColumnsLayout = 'XL4-L3-M2-S1';
|
|
885
876
|
function getColumnsNumber(layout) {
|
|
@@ -912,39 +903,6 @@ class SmartFilterBarComponent extends SmartFilterBar {
|
|
|
912
903
|
get subject() {
|
|
913
904
|
return this._subject;
|
|
914
905
|
}
|
|
915
|
-
/**
|
|
916
|
-
* 'Show filters' button label.
|
|
917
|
-
* @deprecated use i18n capabilities instead
|
|
918
|
-
*/
|
|
919
|
-
set showFiltersLabel(value) {
|
|
920
|
-
warnOnce('Property showFiltersLabel is deprecated. Use i18n capabilities instead.');
|
|
921
|
-
this._showFiltersLabel = value;
|
|
922
|
-
}
|
|
923
|
-
get showFiltersLabel() {
|
|
924
|
-
return this._showFiltersLabel;
|
|
925
|
-
}
|
|
926
|
-
/**
|
|
927
|
-
* 'Hide filters' button label.
|
|
928
|
-
* @deprecated use i18n capabilities instead
|
|
929
|
-
*/
|
|
930
|
-
set hideFiltersLabel(value) {
|
|
931
|
-
warnOnce('Property hideFiltersLabel is deprecated. Use i18n capabilities instead.');
|
|
932
|
-
this._hideFiltersLabel = value;
|
|
933
|
-
}
|
|
934
|
-
get hideFiltersLabel() {
|
|
935
|
-
return this._hideFiltersLabel;
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* 'Filters' button label.
|
|
939
|
-
* @deprecated use i18n capabilities instead
|
|
940
|
-
*/
|
|
941
|
-
set filtersLabel(value) {
|
|
942
|
-
warnOnce('Property filtersLabel is deprecated. Use i18n capabilities instead.');
|
|
943
|
-
this._filtersLabel = value;
|
|
944
|
-
}
|
|
945
|
-
get filtersLabel() {
|
|
946
|
-
return this._filtersLabel;
|
|
947
|
-
}
|
|
948
906
|
/**
|
|
949
907
|
* Whether smart filter bar background should be transparent.
|
|
950
908
|
*/
|
|
@@ -954,28 +912,6 @@ class SmartFilterBarComponent extends SmartFilterBar {
|
|
|
954
912
|
get transparent() {
|
|
955
913
|
return this._transparent;
|
|
956
914
|
}
|
|
957
|
-
/**
|
|
958
|
-
* @deprecated use i18n capabilities instead
|
|
959
|
-
* Condition strategy labels.
|
|
960
|
-
*/
|
|
961
|
-
set defineStrategyLabels(value) {
|
|
962
|
-
warnOnce('Property defineStrategyLabels is deprecated. Use i18n capabilities instead.');
|
|
963
|
-
this._defineStrategyLabels = value;
|
|
964
|
-
}
|
|
965
|
-
get defineStrategyLabels() {
|
|
966
|
-
return this._defineStrategyLabels;
|
|
967
|
-
}
|
|
968
|
-
/**
|
|
969
|
-
* @deprecated use i18n capabilities instead
|
|
970
|
-
* Filters visibility category labels.
|
|
971
|
-
*/
|
|
972
|
-
set filtersVisibilityCategoryLabels(value) {
|
|
973
|
-
warnOnce('Property filtersVisibilityCategoryLabels is deprecated. Use i18n capabilities instead.');
|
|
974
|
-
this._filtersVisibilityCategoryLabels = value;
|
|
975
|
-
}
|
|
976
|
-
get filtersVisibilityCategoryLabels() {
|
|
977
|
-
return this._filtersVisibilityCategoryLabels;
|
|
978
|
-
}
|
|
979
915
|
/** @hidden */
|
|
980
916
|
get _loading() {
|
|
981
917
|
return this._subject?.getDataSource() ? this._subject.getDataSource().isDataLoading : true;
|
|
@@ -1057,8 +993,7 @@ class SmartFilterBarComponent extends SmartFilterBar {
|
|
|
1057
993
|
const dialogData = {
|
|
1058
994
|
fields: columns,
|
|
1059
995
|
filterBy: this.filterBy,
|
|
1060
|
-
selectedFilters: this._selectedFilters
|
|
1061
|
-
visibilityCategories: this.filtersVisibilityCategoryLabels
|
|
996
|
+
selectedFilters: this._selectedFilters
|
|
1062
997
|
};
|
|
1063
998
|
const dialogRef = this._dialogService.open(SmartFilterBarSettingsDialogComponent, {
|
|
1064
999
|
...dialogConfig,
|
|
@@ -1384,14 +1319,14 @@ class SmartFilterBarComponent extends SmartFilterBar {
|
|
|
1384
1319
|
this._selectedFilters = filters.filter((f, i) => filters.indexOf(f) === i);
|
|
1385
1320
|
this._formGenerator.refreshStepsVisibility();
|
|
1386
1321
|
}
|
|
1387
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarComponent, deps: [{ token: i1.DialogService }, { token: i0.ChangeDetectorRef }, { token: SmartFilterBarService }, { token: i3.FormGeneratorService }, { token: i0.Injector }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1388
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarComponent, selector: "fdp-smart-filter-bar", inputs: { subject: "subject",
|
|
1322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarComponent, deps: [{ token: i1.DialogService }, { token: i0.ChangeDetectorRef }, { token: SmartFilterBarService }, { token: i3$1.FormGeneratorService }, { token: i0.Injector }, { token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1323
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: SmartFilterBarComponent, selector: "fdp-smart-filter-bar", inputs: { subject: "subject", transparent: "transparent", filtersColumnLayout: "filtersColumnLayout", liveUpdate: "liveUpdate" }, outputs: { smartFiltersChanged: "smartFiltersChanged", smartFiltersApplied: "smartFiltersApplied", searchInputChanged: "searchInputChanged" }, host: { properties: { "class.fdp-smart-filter-bar--transparent": "transparent" }, classAttribute: "fdp-smart-filter-bar" }, providers: [
|
|
1389
1324
|
smartFilterBarProvider$1,
|
|
1390
1325
|
{
|
|
1391
1326
|
provide: FDP_PRESET_MANAGED_COMPONENT,
|
|
1392
1327
|
useExisting: SmartFilterBarComponent
|
|
1393
1328
|
}
|
|
1394
|
-
], queries: [{ propertyName: "_toolbarItemRefs", predicate: SmartFilterBarToolbarItemDirective }], viewQueries: [{ propertyName: "_formGenerator", first: true, predicate: FormGeneratorComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div>\n <fd-toolbar
|
|
1329
|
+
], queries: [{ propertyName: "_toolbarItemRefs", predicate: SmartFilterBarToolbarItemDirective }], viewQueries: [{ propertyName: "_formGenerator", first: true, predicate: FormGeneratorComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div>\n <fd-toolbar fdType=\"transparent\">\n <ng-container *ngIf=\"_toolbarItems\">\n <ng-container *ngFor=\"let template of _toolbarItems\">\n <ng-template [ngTemplateOutlet]=\"template\"></ng-template>\n <fd-toolbar-separator></fd-toolbar-separator>\n </ng-container>\n </ng-container>\n <fdp-search-field\n (inputChange)=\"_onSearchInputChange($event)\"\n (searchSubmit)=\"submitForm()\"\n (cancelSearch)=\"_cancelSearch()\"\n [disabled]=\"_loading\"\n [disableRefresh]=\"true\"\n [placeholder]=\"'platformSmartFilterBar.searchPlaceholder' | fdTranslate\"\n ></fdp-search-field>\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <fdp-button\n (click)=\"submitForm()\"\n buttonType=\"emphasized\"\n *ngIf=\"!liveUpdate\"\n fd-toolbar-item\n [disabled]=\"_loading\"\n [label]=\"'platformSmartFilterBar.submitButtonLabel' | fdTranslate\"\n ></fdp-button>\n <fdp-button\n (click)=\"submitForm()\"\n fd-toolbar-item\n glyph=\"synchronize\"\n [disabled]=\"_loading\"\n [ariaLabel]=\"'platformSmartFilterBar.refreshButtonAriaLabel' | fdTranslate\"\n ></fdp-button>\n <fdp-button\n (click)=\"showFilteringSettings()\"\n [label]=\"\n 'platformSmartFilterBar.filtersButtonLabel' | fdTranslate : { filtersCount: _selectedFilters.length }\n \"\n fd-toolbar-item\n [disabled]=\"_loading\"\n ></fdp-button>\n <fdp-button\n (click)=\"_toggleFilterBar()\"\n [label]=\"\n (_showFilterBar\n ? 'platformSmartFilterBar.hideFiltersButtonLabel'\n : 'platformSmartFilterBar.showFiltersButtonLabel'\n ) | fdTranslate\n \"\n buttonType=\"transparent\"\n fd-toolbar-item\n [disabled]=\"_loading\"\n ></fdp-button>\n </fd-toolbar>\n</div>\n\n<div class=\"fdp-smart-filter-bar__filters\" [hidden]=\"!_showFilterBar\">\n <fdp-form-generator\n (formCreated)=\"_onFormCreated()\"\n (formSubmitted)=\"_onFormSubmitted($event)\"\n [noAdditionalContent]=\"true\"\n [formItems]=\"_formItems\"\n [columnLayout]=\"filtersColumnLayout\"\n ></fdp-form-generator>\n</div>\n", styles: [".fdp-smart-filter-bar{display:block;box-shadow:var(--sapContent_HeaderShadow);background-color:var(--sapObjectHeader_Background)}.fdp-smart-filter-bar--transparent{background-color:var(--sapToolbar_Background);box-shadow:none}.fdp-smart-filter-bar .fd-toolbar--title{height:3rem;min-height:3rem;border-bottom:none;padding:.5rem}@media (min-width: 600px){.fdp-smart-filter-bar .fd-toolbar--title{padding-left:2rem;padding-right:2rem}}.fdp-smart-filter-bar .fd-toolbar fdp-search-field{min-width:15.5rem}.fdp-smart-filter-bar .fdp-smart-filter-bar__filters{padding-left:.5rem;padding-right:.5rem}@media (min-width: 600px){.fdp-smart-filter-bar .fdp-smart-filter-bar__filters{padding-left:2rem;padding-right:2rem}}.fdp-smart-filter-bar .fd-container.fd-form-layout-grid-container{padding:0}.fdp-smart-filter-bar .fd-container.fd-form-layout-grid-container .fd-row .fd-form-group{padding-left:.25rem!important;padding-right:.25rem!important}.fdp-smart-filter-bar__conditions-dialog .fdp-smart-filter-bar__actions-column{min-width:auto;flex:0 0 auto}.fdp-smart-filter-bar__conditions-dialog .fd-popover-custom{display:block}.fdp-smart-filter-bar__conditions-dialog .fd-dialog__body{padding:0 .5rem;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-smart-filter-bar__conditions-dialog .fd-container.fd-form-layout-grid-container,.fdp-smart-filter-bar__conditions-dialog .fd-container.fd-form-layout-grid-container .fd-row .fd-form-group{padding:0!important}\n"], dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3$1.FormGeneratorComponent, selector: "fdp-form-generator", inputs: ["formName", "formItems", "mainTitle", "hideMainTItle", "hint", "columnLayout", "labelColumnLayout", "fieldColumnLayout", "gapColumnLayout", "unifiedLayout", "inlineColumnLayout", "noAdditionalContent"], outputs: ["formCreated", "formSubmitted", "formSubmittedStatus"] }, { kind: "component", type: i5$1.ToolbarComponent, selector: "fd-toolbar", inputs: ["titleId", "class", "shouldOverflow", "fdType", "title", "active", "clearBorder", "forceOverflow", "tabindex"] }, { kind: "directive", type: i5$1.ToolbarItemDirective, selector: "[fd-toolbar-item], [fdOverflowGroup], [fdOverflowPriority]", inputs: ["fdOverflowPriority", "fdOverflowGroup"] }, { kind: "directive", type: i5$1.ToolbarSpacerDirective, selector: "fd-toolbar-spacer", inputs: ["width", "class", "fixed"] }, { kind: "component", type: i5$1.ToolbarSeparatorComponent, selector: "fd-toolbar-separator" }, { kind: "component", type: i6$1.ButtonComponent, selector: "fdp-button", inputs: ["glyphPosition", "label", "glyph", "buttonType", "toggled", "title", "ariaSelected", "ariaDisabled", "ariaExpanded", "ariaControlsId", "ariaPressed", "name", "type", "value"], outputs: ["buttonClicked"] }, { kind: "component", type: i7$1.SearchFieldComponent, selector: "fdp-search-field", inputs: ["categoryMode", "appearance", "placeholder", "mobile", "mobileConfig", "disableRefresh", "disableSearch", "suggestions", "dataSource", "inputText", "categories", "currentCategory", "categoryLabel", "hideCategoryLabel", "isLoading", "ariaLabel", "ariaLabelledby", "forceSearchButton"], outputs: ["inputChange", "searchSubmit", "cancelSearch", "isOpenChange"] }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1395
1330
|
}
|
|
1396
1331
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: SmartFilterBarComponent, decorators: [{
|
|
1397
1332
|
type: Component,
|
|
@@ -1404,24 +1339,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
|
|
|
1404
1339
|
], host: {
|
|
1405
1340
|
class: 'fdp-smart-filter-bar',
|
|
1406
1341
|
'[class.fdp-smart-filter-bar--transparent]': 'transparent'
|
|
1407
|
-
}, template: "<div>\n <fd-toolbar
|
|
1408
|
-
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i0.ChangeDetectorRef }, { type: SmartFilterBarService }, { type: i3.FormGeneratorService }, { type: i0.Injector }, { type: i0.DestroyRef }]; }, propDecorators: { _formGenerator: [{
|
|
1342
|
+
}, template: "<div>\n <fd-toolbar fdType=\"transparent\">\n <ng-container *ngIf=\"_toolbarItems\">\n <ng-container *ngFor=\"let template of _toolbarItems\">\n <ng-template [ngTemplateOutlet]=\"template\"></ng-template>\n <fd-toolbar-separator></fd-toolbar-separator>\n </ng-container>\n </ng-container>\n <fdp-search-field\n (inputChange)=\"_onSearchInputChange($event)\"\n (searchSubmit)=\"submitForm()\"\n (cancelSearch)=\"_cancelSearch()\"\n [disabled]=\"_loading\"\n [disableRefresh]=\"true\"\n [placeholder]=\"'platformSmartFilterBar.searchPlaceholder' | fdTranslate\"\n ></fdp-search-field>\n <fd-toolbar-spacer></fd-toolbar-spacer>\n <fdp-button\n (click)=\"submitForm()\"\n buttonType=\"emphasized\"\n *ngIf=\"!liveUpdate\"\n fd-toolbar-item\n [disabled]=\"_loading\"\n [label]=\"'platformSmartFilterBar.submitButtonLabel' | fdTranslate\"\n ></fdp-button>\n <fdp-button\n (click)=\"submitForm()\"\n fd-toolbar-item\n glyph=\"synchronize\"\n [disabled]=\"_loading\"\n [ariaLabel]=\"'platformSmartFilterBar.refreshButtonAriaLabel' | fdTranslate\"\n ></fdp-button>\n <fdp-button\n (click)=\"showFilteringSettings()\"\n [label]=\"\n 'platformSmartFilterBar.filtersButtonLabel' | fdTranslate : { filtersCount: _selectedFilters.length }\n \"\n fd-toolbar-item\n [disabled]=\"_loading\"\n ></fdp-button>\n <fdp-button\n (click)=\"_toggleFilterBar()\"\n [label]=\"\n (_showFilterBar\n ? 'platformSmartFilterBar.hideFiltersButtonLabel'\n : 'platformSmartFilterBar.showFiltersButtonLabel'\n ) | fdTranslate\n \"\n buttonType=\"transparent\"\n fd-toolbar-item\n [disabled]=\"_loading\"\n ></fdp-button>\n </fd-toolbar>\n</div>\n\n<div class=\"fdp-smart-filter-bar__filters\" [hidden]=\"!_showFilterBar\">\n <fdp-form-generator\n (formCreated)=\"_onFormCreated()\"\n (formSubmitted)=\"_onFormSubmitted($event)\"\n [noAdditionalContent]=\"true\"\n [formItems]=\"_formItems\"\n [columnLayout]=\"filtersColumnLayout\"\n ></fdp-form-generator>\n</div>\n", styles: [".fdp-smart-filter-bar{display:block;box-shadow:var(--sapContent_HeaderShadow);background-color:var(--sapObjectHeader_Background)}.fdp-smart-filter-bar--transparent{background-color:var(--sapToolbar_Background);box-shadow:none}.fdp-smart-filter-bar .fd-toolbar--title{height:3rem;min-height:3rem;border-bottom:none;padding:.5rem}@media (min-width: 600px){.fdp-smart-filter-bar .fd-toolbar--title{padding-left:2rem;padding-right:2rem}}.fdp-smart-filter-bar .fd-toolbar fdp-search-field{min-width:15.5rem}.fdp-smart-filter-bar .fdp-smart-filter-bar__filters{padding-left:.5rem;padding-right:.5rem}@media (min-width: 600px){.fdp-smart-filter-bar .fdp-smart-filter-bar__filters{padding-left:2rem;padding-right:2rem}}.fdp-smart-filter-bar .fd-container.fd-form-layout-grid-container{padding:0}.fdp-smart-filter-bar .fd-container.fd-form-layout-grid-container .fd-row .fd-form-group{padding-left:.25rem!important;padding-right:.25rem!important}.fdp-smart-filter-bar__conditions-dialog .fdp-smart-filter-bar__actions-column{min-width:auto;flex:0 0 auto}.fdp-smart-filter-bar__conditions-dialog .fd-popover-custom{display:block}.fdp-smart-filter-bar__conditions-dialog .fd-dialog__body{padding:0 .5rem;background-color:var(--sapBackgroundColor, #f7f7f7)}.fdp-smart-filter-bar__conditions-dialog .fd-container.fd-form-layout-grid-container,.fdp-smart-filter-bar__conditions-dialog .fd-container.fd-form-layout-grid-container .fd-row .fd-form-group{padding:0!important}\n"] }]
|
|
1343
|
+
}], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i0.ChangeDetectorRef }, { type: SmartFilterBarService }, { type: i3$1.FormGeneratorService }, { type: i0.Injector }, { type: i0.DestroyRef }]; }, propDecorators: { _formGenerator: [{
|
|
1409
1344
|
type: ViewChild,
|
|
1410
1345
|
args: [FormGeneratorComponent]
|
|
1411
1346
|
}], subject: [{
|
|
1412
1347
|
type: Input
|
|
1413
|
-
}], showFiltersLabel: [{
|
|
1414
|
-
type: Input
|
|
1415
|
-
}], hideFiltersLabel: [{
|
|
1416
|
-
type: Input
|
|
1417
|
-
}], filtersLabel: [{
|
|
1418
|
-
type: Input
|
|
1419
1348
|
}], transparent: [{
|
|
1420
1349
|
type: Input
|
|
1421
|
-
}], defineStrategyLabels: [{
|
|
1422
|
-
type: Input
|
|
1423
|
-
}], filtersVisibilityCategoryLabels: [{
|
|
1424
|
-
type: Input
|
|
1425
1350
|
}], filtersColumnLayout: [{
|
|
1426
1351
|
type: Input
|
|
1427
1352
|
}], liveUpdate: [{
|