@progress/kendo-angular-grid 21.4.1 → 22.0.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/columns/column-base.d.ts +1 -1
- package/common/toolbar-tool-base.directive.d.ts +1 -1
- package/editing/toolbar-editing-tool-base.directive.d.ts +1 -1
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/row-editing-directive-base.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-grid.mjs +666 -666
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/boolean-filter.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +1 -1
- package/filtering/filter-host.directive.d.ts +1 -1
- package/filtering/filter-input-wrapper.component.d.ts +1 -1
- package/filtering/numeric-filter.component.d.ts +1 -1
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package.json +28 -36
- package/schematics/ngAdd/index.js +7 -7
- package/selection/selection-default.d.ts +1 -1
- package/esm2022/adaptiveness/adaptive-mode.mjs +0 -5
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +0 -1270
- package/esm2022/aggregates/aggregate-types.mjs +0 -5
- package/esm2022/aggregates/selection-aggregate.service.mjs +0 -200
- package/esm2022/aggregates/status-bar-template.directive.mjs +0 -30
- package/esm2022/aggregates/status-bar.component.mjs +0 -70
- package/esm2022/column-menu/column-chooser-content.component.mjs +0 -318
- package/esm2022/column-menu/column-chooser.component.mjs +0 -230
- package/esm2022/column-menu/column-list-kb-nav.service.mjs +0 -40
- package/esm2022/column-menu/column-list.component.mjs +0 -478
- package/esm2022/column-menu/column-locked-change-event.mjs +0 -19
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +0 -89
- package/esm2022/column-menu/column-menu-autosize.component.mjs +0 -97
- package/esm2022/column-menu/column-menu-chooser.component.mjs +0 -151
- package/esm2022/column-menu/column-menu-container.component.mjs +0 -67
- package/esm2022/column-menu/column-menu-expandable-item.interface.mjs +0 -5
- package/esm2022/column-menu/column-menu-filter.component.mjs +0 -152
- package/esm2022/column-menu/column-menu-item-base.mjs +0 -44
- package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +0 -45
- package/esm2022/column-menu/column-menu-item.component.mjs +0 -514
- package/esm2022/column-menu/column-menu-item.directive.mjs +0 -164
- package/esm2022/column-menu/column-menu-lock.component.mjs +0 -118
- package/esm2022/column-menu/column-menu-position.component.mjs +0 -196
- package/esm2022/column-menu/column-menu-settings.interface.mjs +0 -5
- package/esm2022/column-menu/column-menu-sort.component.mjs +0 -119
- package/esm2022/column-menu/column-menu-stick.component.mjs +0 -120
- package/esm2022/column-menu/column-menu-template.directive.mjs +0 -47
- package/esm2022/column-menu/column-menu.component.mjs +0 -839
- package/esm2022/column-menu/column-menu.service.mjs +0 -71
- package/esm2022/column-menu/column-sticky-change-event.mjs +0 -19
- package/esm2022/column-menu/column-visibility-change-event.mjs +0 -19
- package/esm2022/column-menu/utils.mjs +0 -52
- package/esm2022/column-resizing/column-handle.directive.mjs +0 -499
- package/esm2022/column-resizing/column-resize.interface.mjs +0 -5
- package/esm2022/column-resizing/column-resizing.service.mjs +0 -214
- package/esm2022/column-resizing/table.directive.mjs +0 -141
- package/esm2022/columns/cell-rowspan.mjs +0 -5
- package/esm2022/columns/checkbox-column.component.mjs +0 -106
- package/esm2022/columns/column-base.mjs +0 -432
- package/esm2022/columns/column-common.mjs +0 -73
- package/esm2022/columns/column-group.component.mjs +0 -135
- package/esm2022/columns/column-list.mjs +0 -94
- package/esm2022/columns/column.component.mjs +0 -198
- package/esm2022/columns/columns-container.mjs +0 -101
- package/esm2022/columns/command-column.component.mjs +0 -80
- package/esm2022/columns/reorder-column.component.mjs +0 -114
- package/esm2022/columns/sort-settings.mjs +0 -18
- package/esm2022/columns/span-column.component.mjs +0 -195
- package/esm2022/common/adaptiveness.service.mjs +0 -72
- package/esm2022/common/cell-click-event-args.interface.mjs +0 -5
- package/esm2022/common/clipboard-types.mjs +0 -5
- package/esm2022/common/clipboard.directive.mjs +0 -197
- package/esm2022/common/clipboard.service.mjs +0 -221
- package/esm2022/common/column-info.service.mjs +0 -92
- package/esm2022/common/create-form-group.mjs +0 -5
- package/esm2022/common/data-layout-mode.mjs +0 -5
- package/esm2022/common/default-track-by.mjs +0 -13
- package/esm2022/common/dom-events.service.mjs +0 -27
- package/esm2022/common/error-messages.mjs +0 -64
- package/esm2022/common/event-emitter.mjs +0 -39
- package/esm2022/common/fetch-data-callback.mjs +0 -5
- package/esm2022/common/field-datatype.mjs +0 -5
- package/esm2022/common/filter-descriptor-differ.mjs +0 -69
- package/esm2022/common/filter-operator.interface.mjs +0 -5
- package/esm2022/common/grid-col-size.mjs +0 -5
- package/esm2022/common/id.service.mjs +0 -59
- package/esm2022/common/pager-settings.mjs +0 -20
- package/esm2022/common/preventable-event.mjs +0 -24
- package/esm2022/common/provider.service.mjs +0 -42
- package/esm2022/common/remove-confirmation.mjs +0 -5
- package/esm2022/common/resizable-settings.mjs +0 -9
- package/esm2022/common/single-popup.service.mjs +0 -158
- package/esm2022/common/size-options.mjs +0 -5
- package/esm2022/common/sort.service.mjs +0 -14
- package/esm2022/common/toolbar-tool-base.directive.mjs +0 -85
- package/esm2022/constants.mjs +0 -16
- package/esm2022/data/change-event-args.interface.mjs +0 -5
- package/esm2022/data/change-notification.service.mjs +0 -30
- package/esm2022/data/data-item.interface.mjs +0 -5
- package/esm2022/data/data-mapping.service.mjs +0 -136
- package/esm2022/data/data.collection.mjs +0 -87
- package/esm2022/data/data.iterators.mjs +0 -221
- package/esm2022/data/grid-item.interface.mjs +0 -5
- package/esm2022/data/group-footer-item.interface.mjs +0 -5
- package/esm2022/data/group-item.interface.mjs +0 -5
- package/esm2022/databinding.directive.mjs +0 -233
- package/esm2022/directives.mjs +0 -504
- package/esm2022/dragdrop/column-reorder-config.mjs +0 -5
- package/esm2022/dragdrop/column-reorder-event.mjs +0 -31
- package/esm2022/dragdrop/column-reorder.service.mjs +0 -20
- package/esm2022/dragdrop/common.mjs +0 -69
- package/esm2022/dragdrop/context-types.mjs +0 -5
- package/esm2022/dragdrop/drag-and-drop.service.mjs +0 -65
- package/esm2022/dragdrop/drag-hint.service.mjs +0 -137
- package/esm2022/dragdrop/draggable-column.directive.mjs +0 -137
- package/esm2022/dragdrop/drop-cue.service.mjs +0 -46
- package/esm2022/dragdrop/drop-target.directive.mjs +0 -71
- package/esm2022/editing/add-command-tool.directive.mjs +0 -59
- package/esm2022/editing/add-command.directive.mjs +0 -93
- package/esm2022/editing/add-event-args.interface.mjs +0 -5
- package/esm2022/editing/cancel-command-tool.directive.mjs +0 -64
- package/esm2022/editing/cancel-command.directive.mjs +0 -127
- package/esm2022/editing/cancel-event-args.interface.mjs +0 -5
- package/esm2022/editing/cell-close-event.mjs +0 -38
- package/esm2022/editing/edit-command-tool.directive.mjs +0 -60
- package/esm2022/editing/edit-command.directive.mjs +0 -124
- package/esm2022/editing/edit-event-args.interface.mjs +0 -5
- package/esm2022/editing/edit-row-options.interface.mjs +0 -5
- package/esm2022/editing/edit-template.directive.mjs +0 -43
- package/esm2022/editing/edit.service.mjs +0 -182
- package/esm2022/editing/form/dialog-form.component.mjs +0 -102
- package/esm2022/editing/form/form-formfield.component.mjs +0 -188
- package/esm2022/editing/form/form.component.mjs +0 -169
- package/esm2022/editing/form/index.mjs +0 -8
- package/esm2022/editing/form/models.mjs +0 -5
- package/esm2022/editing/local-data-changes.service.mjs +0 -18
- package/esm2022/editing/remove-command-tool.directive.mjs +0 -61
- package/esm2022/editing/remove-command.directive.mjs +0 -123
- package/esm2022/editing/remove-event-args.interface.mjs +0 -5
- package/esm2022/editing/save-command-tool.directive.mjs +0 -65
- package/esm2022/editing/save-command.directive.mjs +0 -126
- package/esm2022/editing/save-event-args.interface.mjs +0 -5
- package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +0 -99
- package/esm2022/editing-directives/create-form-group-args.interface.mjs +0 -5
- package/esm2022/editing-directives/edit-service.interface.mjs +0 -5
- package/esm2022/editing-directives/editing-directive-base.mjs +0 -167
- package/esm2022/editing-directives/external-editing.directive.mjs +0 -151
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +0 -97
- package/esm2022/editing-directives/local-edit.service.mjs +0 -64
- package/esm2022/editing-directives/local-row-edit.service.mjs +0 -13
- package/esm2022/editing-directives/reactive-editing.directive.mjs +0 -60
- package/esm2022/editing-directives/row-editing-directive-base.mjs +0 -53
- package/esm2022/editing-directives/template-editing.directive.mjs +0 -72
- package/esm2022/editing-directives/utils.mjs +0 -18
- package/esm2022/excel/excel-command-tool.directive.mjs +0 -58
- package/esm2022/excel/excel-command.directive.mjs +0 -98
- package/esm2022/excel/excel-export-event.mjs +0 -18
- package/esm2022/excel/excel.component.mjs +0 -223
- package/esm2022/excel/excel.module.mjs +0 -45
- package/esm2022/excel/excel.service.mjs +0 -29
- package/esm2022/filtering/base-filter-cell.component.mjs +0 -174
- package/esm2022/filtering/boolean-filter.component.mjs +0 -83
- package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +0 -114
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +0 -113
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +0 -141
- package/esm2022/filtering/cell/filter-cell-component.factory.mjs +0 -19
- package/esm2022/filtering/cell/filter-cell-host.directive.mjs +0 -33
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +0 -242
- package/esm2022/filtering/cell/filter-cell-template.directive.mjs +0 -46
- package/esm2022/filtering/cell/filter-cell-wrapper.component.mjs +0 -74
- package/esm2022/filtering/cell/filter-cell.component.mjs +0 -91
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +0 -155
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +0 -127
- package/esm2022/filtering/date-filter.component.mjs +0 -172
- package/esm2022/filtering/filter-component.interface.mjs +0 -5
- package/esm2022/filtering/filter-host.directive.mjs +0 -58
- package/esm2022/filtering/filter-input-wrapper.component.mjs +0 -119
- package/esm2022/filtering/filter-input.directive.mjs +0 -123
- package/esm2022/filtering/filter-row.component.mjs +0 -131
- package/esm2022/filtering/filter.service.mjs +0 -44
- package/esm2022/filtering/filterable.mjs +0 -16
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +0 -167
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +0 -179
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +0 -212
- package/esm2022/filtering/menu/filter-menu-component.factory.mjs +0 -19
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +0 -418
- package/esm2022/filtering/menu/filter-menu-dropdownlist.directive.mjs +0 -44
- package/esm2022/filtering/menu/filter-menu-host.directive.mjs +0 -46
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +0 -158
- package/esm2022/filtering/menu/filter-menu-template.directive.mjs +0 -48
- package/esm2022/filtering/menu/filter-menu.component.mjs +0 -221
- package/esm2022/filtering/menu/filter-radio-button.directive.mjs +0 -34
- package/esm2022/filtering/menu/menu-tabbing.service.mjs +0 -22
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +0 -184
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +0 -230
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +0 -107
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +0 -198
- package/esm2022/filtering/multicheckbox-filter.component.mjs +0 -324
- package/esm2022/filtering/numeric-filter.component.mjs +0 -145
- package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/after-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/before-filter-operator.component.mjs +0 -72
- package/esm2022/filtering/operators/contains-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/eq-filter-operator.component.mjs +0 -111
- package/esm2022/filtering/operators/filter-operator.base.mjs +0 -101
- package/esm2022/filtering/operators/gt-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/gte-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/lt-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/lte-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/neq-filter-operator.component.mjs +0 -110
- package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +0 -63
- package/esm2022/filtering/string-filter.component.mjs +0 -90
- package/esm2022/grid.component.mjs +0 -4598
- package/esm2022/grid.module.mjs +0 -241
- package/esm2022/grouping/group-footer-template.directive.mjs +0 -44
- package/esm2022/grouping/group-header-column-template.directive.mjs +0 -45
- package/esm2022/grouping/group-header-template.directive.mjs +0 -46
- package/esm2022/grouping/group-header.component.mjs +0 -351
- package/esm2022/grouping/group-info.service.mjs +0 -43
- package/esm2022/grouping/group-key.interface.mjs +0 -5
- package/esm2022/grouping/group-panel.component.mjs +0 -487
- package/esm2022/grouping/group-rows-args.interface.mjs +0 -5
- package/esm2022/grouping/group-settings.mjs +0 -5
- package/esm2022/grouping/groups.service.mjs +0 -69
- package/esm2022/grouping/utils.mjs +0 -14
- package/esm2022/highlight/highlight-item.mjs +0 -5
- package/esm2022/highlight/highlight.directive.mjs +0 -132
- package/esm2022/index.mjs +0 -221
- package/esm2022/layout/browser-support.service.mjs +0 -94
- package/esm2022/layout/resizable.directive.mjs +0 -83
- package/esm2022/layout/resize.service.mjs +0 -29
- package/esm2022/layout/responsive.service.mjs +0 -34
- package/esm2022/layout/row-sync.mjs +0 -47
- package/esm2022/layout/sizing-options.service.mjs +0 -18
- package/esm2022/localization/custom-messages.component.mjs +0 -54
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -895
- package/esm2022/navigation/default-focusable-element.mjs +0 -50
- package/esm2022/navigation/focus-group.mjs +0 -73
- package/esm2022/navigation/focus-root.mjs +0 -50
- package/esm2022/navigation/focusable-element.interface.mjs +0 -5
- package/esm2022/navigation/focusable.directive.mjs +0 -150
- package/esm2022/navigation/grid-focusable-element.mjs +0 -28
- package/esm2022/navigation/item-map.mjs +0 -59
- package/esm2022/navigation/logical-cell.directive.mjs +0 -224
- package/esm2022/navigation/logical-cell.interface.mjs +0 -5
- package/esm2022/navigation/logical-row.directive.mjs +0 -131
- package/esm2022/navigation/logical-row.interface.mjs +0 -5
- package/esm2022/navigation/navigable-settings.mjs +0 -5
- package/esm2022/navigation/navigation-cell.interface.mjs +0 -5
- package/esm2022/navigation/navigation-change.interface.mjs +0 -5
- package/esm2022/navigation/navigation-cursor.mjs +0 -224
- package/esm2022/navigation/navigation-metadata.mjs +0 -35
- package/esm2022/navigation/navigation-mode.mjs +0 -5
- package/esm2022/navigation/navigation-model.mjs +0 -138
- package/esm2022/navigation/navigation-row.interface.mjs +0 -5
- package/esm2022/navigation/navigation.service.mjs +0 -998
- package/esm2022/navigation/toolbar-tool-name.mjs +0 -18
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/pdf/export-element.mjs +0 -135
- package/esm2022/pdf/grid-query.mjs +0 -45
- package/esm2022/pdf/pdf-command-tool.directive.mjs +0 -60
- package/esm2022/pdf/pdf-command.directive.mjs +0 -98
- package/esm2022/pdf/pdf-export-event.mjs +0 -16
- package/esm2022/pdf/pdf-margin.component.mjs +0 -38
- package/esm2022/pdf/pdf-margin.interface.mjs +0 -5
- package/esm2022/pdf/pdf-template.directive.mjs +0 -43
- package/esm2022/pdf/pdf.component.mjs +0 -331
- package/esm2022/pdf/pdf.module.mjs +0 -47
- package/esm2022/pdf/pdf.service.mjs +0 -42
- package/esm2022/progress-kendo-angular-grid.mjs +0 -8
- package/esm2022/rendering/cell-loading.template.directive.mjs +0 -39
- package/esm2022/rendering/cell-template.directive.mjs +0 -44
- package/esm2022/rendering/cell.component.mjs +0 -717
- package/esm2022/rendering/common/cell-context.mjs +0 -13
- package/esm2022/rendering/common/col-group.component.mjs +0 -98
- package/esm2022/rendering/common/dom-queries.mjs +0 -162
- package/esm2022/rendering/common/field-accessor.pipe.mjs +0 -48
- package/esm2022/rendering/common/format.pipe.mjs +0 -37
- package/esm2022/rendering/common/loading.component.mjs +0 -60
- package/esm2022/rendering/common/row-args.mjs +0 -5
- package/esm2022/rendering/common/row-class.mjs +0 -5
- package/esm2022/rendering/common/spacer.component.mjs +0 -62
- package/esm2022/rendering/constants.mjs +0 -20
- package/esm2022/rendering/details/detail-collapse-event.mjs +0 -27
- package/esm2022/rendering/details/detail-expand-event.mjs +0 -27
- package/esm2022/rendering/details/detail-template.directive.mjs +0 -61
- package/esm2022/rendering/details/details.service.mjs +0 -56
- package/esm2022/rendering/details-expand.directive.mjs +0 -136
- package/esm2022/rendering/footer/footer-template.directive.mjs +0 -48
- package/esm2022/rendering/footer/footer.component.mjs +0 -266
- package/esm2022/rendering/grid-table.directive.mjs +0 -52
- package/esm2022/rendering/groups-expand.directive.mjs +0 -149
- package/esm2022/rendering/header/header-template.directive.mjs +0 -45
- package/esm2022/rendering/header/header.component.mjs +0 -1055
- package/esm2022/rendering/list.component.mjs +0 -1176
- package/esm2022/rendering/loading-template.directive.mjs +0 -38
- package/esm2022/rendering/no-records-template.directive.mjs +0 -38
- package/esm2022/rendering/rowspan.service.mjs +0 -24
- package/esm2022/rendering/table-body.component.mjs +0 -1250
- package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +0 -83
- package/esm2022/rendering/toolbar/toolbar-navigation.service.mjs +0 -58
- package/esm2022/rendering/toolbar/toolbar-position.mjs +0 -5
- package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +0 -55
- package/esm2022/rendering/toolbar/toolbar.component.mjs +0 -159
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-assistant.component.mjs +0 -272
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-request-response.service.mjs +0 -624
- package/esm2022/rendering/toolbar/tools/ai-assistant/ai-tool.directive.mjs +0 -273
- package/esm2022/rendering/toolbar/tools/ai-assistant/models.mjs +0 -43
- package/esm2022/rendering/toolbar/tools/ai-assistant/utils.mjs +0 -92
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +0 -238
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +0 -219
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +0 -151
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +0 -223
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +0 -208
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +0 -451
- package/esm2022/rendering/toolbar/tools/select-all-command-tool.directive.mjs +0 -93
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +0 -222
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +0 -245
- package/esm2022/row-reordering/drag-handle-template.directive.mjs +0 -44
- package/esm2022/row-reordering/drag-hint-template.directive.mjs +0 -42
- package/esm2022/row-reordering/row-reorder.service.mjs +0 -280
- package/esm2022/row-reordering/types.mjs +0 -5
- package/esm2022/row-reordering/utils.mjs +0 -88
- package/esm2022/scrolling/content-scroll-event.mjs +0 -5
- package/esm2022/scrolling/row-height.service.mjs +0 -55
- package/esm2022/scrolling/scroll-bottom-event.mjs +0 -5
- package/esm2022/scrolling/scroll-request.service.mjs +0 -24
- package/esm2022/scrolling/scroll-sync.service.mjs +0 -80
- package/esm2022/scrolling/scroller.service.mjs +0 -254
- package/esm2022/scrolling/scrollmode.mjs +0 -5
- package/esm2022/scrolling/suspend.service.mjs +0 -17
- package/esm2022/selection/cell-selection.service.mjs +0 -349
- package/esm2022/selection/marquee.directive.mjs +0 -188
- package/esm2022/selection/pair-set.mjs +0 -158
- package/esm2022/selection/selectall-checkbox.directive.mjs +0 -143
- package/esm2022/selection/selection-checkbox.directive.mjs +0 -132
- package/esm2022/selection/selection-default.mjs +0 -208
- package/esm2022/selection/selection.directive.mjs +0 -53
- package/esm2022/selection/selection.service.mjs +0 -466
- package/esm2022/selection/types.mjs +0 -5
- package/esm2022/state-management/grid-state.models.mjs +0 -26
- package/esm2022/state-management/redo-command-tool.mjs +0 -74
- package/esm2022/state-management/undo-command-tool.mjs +0 -74
- package/esm2022/state-management/undo-redo.directive.mjs +0 -249
- package/esm2022/state-management/undo-redo.service.mjs +0 -21
- package/esm2022/state-management/undo-redo.stack.mjs +0 -238
- package/esm2022/utils.mjs +0 -216
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input } from '@angular/core';
|
|
6
|
-
import { ColumnComponent } from "../../columns/column.component";
|
|
7
|
-
import { FilterService } from '../filter.service';
|
|
8
|
-
import { MenuTabbingService } from './menu-tabbing.service';
|
|
9
|
-
import { ContextService } from '../../common/provider.service';
|
|
10
|
-
import { FilterInputDirective } from '../filter-input.directive';
|
|
11
|
-
import { FilterMenuInputWrapperComponent } from './filter-menu-input-wrapper.component';
|
|
12
|
-
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent } from '@progress/kendo-angular-inputs';
|
|
13
|
-
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "../../common/provider.service";
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export class NumericFilterMenuInputComponent {
|
|
20
|
-
ctx;
|
|
21
|
-
operators = [];
|
|
22
|
-
column;
|
|
23
|
-
filter;
|
|
24
|
-
operator;
|
|
25
|
-
currentFilter;
|
|
26
|
-
filterService;
|
|
27
|
-
filterDelay;
|
|
28
|
-
isFirstDropDown;
|
|
29
|
-
menuTabbingService;
|
|
30
|
-
/**
|
|
31
|
-
* Specifies the value used to increment or decrement the component value.
|
|
32
|
-
* @type {number}
|
|
33
|
-
*/
|
|
34
|
-
step = 1;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the smallest value that is valid.
|
|
37
|
-
* @type {number}
|
|
38
|
-
*/
|
|
39
|
-
min;
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the greatest value that is valid.
|
|
42
|
-
* @type {number}
|
|
43
|
-
*/
|
|
44
|
-
max;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies whether the **Up** and **Down** spin buttons are rendered.
|
|
47
|
-
* @type {boolean}
|
|
48
|
-
*/
|
|
49
|
-
spinners = true;
|
|
50
|
-
/**
|
|
51
|
-
* Specifies the number precision applied to the component value when focused.
|
|
52
|
-
* If the user enters a number with greater precision than configured, the component value is rounded.
|
|
53
|
-
* @type {number}
|
|
54
|
-
*/
|
|
55
|
-
decimals;
|
|
56
|
-
/**
|
|
57
|
-
* Specifies the number format used when the component is not focused.
|
|
58
|
-
* By default, the `column.format` value is used if set.
|
|
59
|
-
* @type {string}
|
|
60
|
-
*/
|
|
61
|
-
format;
|
|
62
|
-
/**
|
|
63
|
-
* The placeholder text for the filter input.
|
|
64
|
-
* @type {string}
|
|
65
|
-
*/
|
|
66
|
-
placeholder;
|
|
67
|
-
constructor(ctx) {
|
|
68
|
-
this.ctx = ctx;
|
|
69
|
-
}
|
|
70
|
-
messageFor(key) {
|
|
71
|
-
return this.ctx.localization.get(key);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
get columnLabel() {
|
|
77
|
-
const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
|
|
78
|
-
const columnName = this.column ? this.column.title || this.column.field : '';
|
|
79
|
-
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
80
|
-
}
|
|
81
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterMenuInputComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
82
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NumericFilterMenuInputComponent, isStandalone: true, selector: "kendo-grid-numeric-filter-menu-input", inputs: { operators: "operators", column: "column", filter: "filter", operator: "operator", currentFilter: "currentFilter", filterService: "filterService", filterDelay: "filterDelay", isFirstDropDown: "isFirstDropDown", menuTabbingService: "menuTabbingService", step: "step", min: "min", max: "max", spinners: "spinners", decimals: "decimals", format: "format", placeholder: "placeholder" }, ngImport: i0, template: `
|
|
83
|
-
<kendo-grid-filter-menu-input-wrapper
|
|
84
|
-
[column]="column"
|
|
85
|
-
[filter]="filter"
|
|
86
|
-
[operators]="operators"
|
|
87
|
-
[defaultOperator]="operator"
|
|
88
|
-
[currentFilter]="currentFilter"
|
|
89
|
-
[filterService]="filterService"
|
|
90
|
-
[isFirstDropDown]="isFirstDropDown"
|
|
91
|
-
[menuTabbingService]="menuTabbingService">
|
|
92
|
-
<kendo-numerictextbox
|
|
93
|
-
kendoFilterInput
|
|
94
|
-
[columnLabel]="columnLabel"
|
|
95
|
-
[filterDelay]="filterDelay"
|
|
96
|
-
[autoCorrect]="true"
|
|
97
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
98
|
-
[value]="currentFilter?.value"
|
|
99
|
-
[format]="format"
|
|
100
|
-
[decimals]="decimals"
|
|
101
|
-
[spinners]="spinners"
|
|
102
|
-
[min]="min"
|
|
103
|
-
[max]="max"
|
|
104
|
-
[step]="step"
|
|
105
|
-
[placeholder]="placeholder">
|
|
106
|
-
<kendo-numerictextbox-messages
|
|
107
|
-
[increment]="messageFor('filterNumericIncrement')"
|
|
108
|
-
[decrement]="messageFor('filterNumericDecrement')"
|
|
109
|
-
></kendo-numerictextbox-messages>
|
|
110
|
-
</kendo-numerictextbox>
|
|
111
|
-
</kendo-grid-filter-menu-input-wrapper>
|
|
112
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { kind: "component", type: NumericTextBoxCustomMessagesComponent, selector: "kendo-numerictextbox-messages" }] });
|
|
113
|
-
}
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterMenuInputComponent, decorators: [{
|
|
115
|
-
type: Component,
|
|
116
|
-
args: [{
|
|
117
|
-
selector: 'kendo-grid-numeric-filter-menu-input',
|
|
118
|
-
template: `
|
|
119
|
-
<kendo-grid-filter-menu-input-wrapper
|
|
120
|
-
[column]="column"
|
|
121
|
-
[filter]="filter"
|
|
122
|
-
[operators]="operators"
|
|
123
|
-
[defaultOperator]="operator"
|
|
124
|
-
[currentFilter]="currentFilter"
|
|
125
|
-
[filterService]="filterService"
|
|
126
|
-
[isFirstDropDown]="isFirstDropDown"
|
|
127
|
-
[menuTabbingService]="menuTabbingService">
|
|
128
|
-
<kendo-numerictextbox
|
|
129
|
-
kendoFilterInput
|
|
130
|
-
[columnLabel]="columnLabel"
|
|
131
|
-
[filterDelay]="filterDelay"
|
|
132
|
-
[autoCorrect]="true"
|
|
133
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
134
|
-
[value]="currentFilter?.value"
|
|
135
|
-
[format]="format"
|
|
136
|
-
[decimals]="decimals"
|
|
137
|
-
[spinners]="spinners"
|
|
138
|
-
[min]="min"
|
|
139
|
-
[max]="max"
|
|
140
|
-
[step]="step"
|
|
141
|
-
[placeholder]="placeholder">
|
|
142
|
-
<kendo-numerictextbox-messages
|
|
143
|
-
[increment]="messageFor('filterNumericIncrement')"
|
|
144
|
-
[decrement]="messageFor('filterNumericDecrement')"
|
|
145
|
-
></kendo-numerictextbox-messages>
|
|
146
|
-
</kendo-numerictextbox>
|
|
147
|
-
</kendo-grid-filter-menu-input-wrapper>
|
|
148
|
-
`,
|
|
149
|
-
standalone: true,
|
|
150
|
-
imports: [FilterMenuInputWrapperComponent, NumericTextBoxComponent, FilterInputDirective, NumericTextBoxCustomMessagesComponent]
|
|
151
|
-
}]
|
|
152
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { operators: [{
|
|
153
|
-
type: Input
|
|
154
|
-
}], column: [{
|
|
155
|
-
type: Input
|
|
156
|
-
}], filter: [{
|
|
157
|
-
type: Input
|
|
158
|
-
}], operator: [{
|
|
159
|
-
type: Input
|
|
160
|
-
}], currentFilter: [{
|
|
161
|
-
type: Input
|
|
162
|
-
}], filterService: [{
|
|
163
|
-
type: Input
|
|
164
|
-
}], filterDelay: [{
|
|
165
|
-
type: Input
|
|
166
|
-
}], isFirstDropDown: [{
|
|
167
|
-
type: Input
|
|
168
|
-
}], menuTabbingService: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}], step: [{
|
|
171
|
-
type: Input
|
|
172
|
-
}], min: [{
|
|
173
|
-
type: Input
|
|
174
|
-
}], max: [{
|
|
175
|
-
type: Input
|
|
176
|
-
}], spinners: [{
|
|
177
|
-
type: Input
|
|
178
|
-
}], decimals: [{
|
|
179
|
-
type: Input
|
|
180
|
-
}], format: [{
|
|
181
|
-
type: Input
|
|
182
|
-
}], placeholder: [{
|
|
183
|
-
type: Input
|
|
184
|
-
}] } });
|
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input, HostBinding } from '@angular/core';
|
|
6
|
-
import { FilterService } from '../filter.service';
|
|
7
|
-
import { NumericFilterComponent } from '../numeric-filter.component';
|
|
8
|
-
import { setFilter, logicOperators } from '../base-filter-cell.component';
|
|
9
|
-
import { MenuTabbingService } from './menu-tabbing.service';
|
|
10
|
-
import { ContextService } from '../../common/provider.service';
|
|
11
|
-
import { FilterMenuDropDownListDirective } from './filter-menu-dropdownlist.directive';
|
|
12
|
-
import { NumericFilterMenuInputComponent } from './numeric-filter-menu-input.component';
|
|
13
|
-
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
14
|
-
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "../../common/provider.service";
|
|
17
|
-
/**
|
|
18
|
-
* Represents a numeric filter-menu component.
|
|
19
|
-
* Use this component to filter numeric values in the Grid.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```html
|
|
23
|
-
* <kendo-grid-column field="UnitPrice">
|
|
24
|
-
* <ng-template kendoGridFilterMenuTemplate let-filter let-column="column" let-filterService="filterService">
|
|
25
|
-
* <kendo-grid-numeric-filter-menu
|
|
26
|
-
* [column]="column"
|
|
27
|
-
* [filter]="filter"
|
|
28
|
-
* [filterService]="filterService">
|
|
29
|
-
* </kendo-grid-numeric-filter-menu>
|
|
30
|
-
* </ng-template>
|
|
31
|
-
* </kendo-grid-column>
|
|
32
|
-
* ```
|
|
33
|
-
* @remarks
|
|
34
|
-
* Supported children components are: {@link EqualFilterOperatorComponent}, {@link NotEqualFilterOperatorComponent}, {@link GreaterFilterOperatorComponent}, {@link GreaterOrEqualToFilterOperatorComponent}, {@link LessFilterOperatorComponent}, {@link LessOrEqualToFilterOperatorComponent}, {@link IsNullFilterOperatorComponent}, {@link IsNotNullFilterOperatorComponent}.
|
|
35
|
-
*/
|
|
36
|
-
export class NumericFilterMenuComponent extends NumericFilterComponent {
|
|
37
|
-
logicOperators = logicOperators(this.ctx.localization);
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
get hostClasses() {
|
|
42
|
-
return false;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Represents the current filter descriptor for the menu.
|
|
46
|
-
* @type {CompositeFilterDescriptor}
|
|
47
|
-
*/
|
|
48
|
-
filter = { filters: [], logic: "and" };
|
|
49
|
-
/**
|
|
50
|
-
* Determines if the inputs for the second criteria are displayed.
|
|
51
|
-
* @default true
|
|
52
|
-
*/
|
|
53
|
-
extra = true;
|
|
54
|
-
/**
|
|
55
|
-
* Represents the `FilterService` instance that handles changes in the filter descriptor.
|
|
56
|
-
*/
|
|
57
|
-
filterService;
|
|
58
|
-
/**
|
|
59
|
-
* Determines the delay in milliseconds before creating a filter descriptor based on the value.
|
|
60
|
-
* A value of `0` means no delay.
|
|
61
|
-
* @default 500
|
|
62
|
-
*/
|
|
63
|
-
filterDelay = 500;
|
|
64
|
-
/**
|
|
65
|
-
* The placeholder text for the filter input.
|
|
66
|
-
* @type {string}
|
|
67
|
-
*/
|
|
68
|
-
placeholder = '';
|
|
69
|
-
/**
|
|
70
|
-
* Sets the placeholder text for the extra filter input.
|
|
71
|
-
* Applies when `extra` is set to `true`.
|
|
72
|
-
* @type {string}
|
|
73
|
-
*/
|
|
74
|
-
extraPlaceholder = '';
|
|
75
|
-
/**
|
|
76
|
-
* @hidden
|
|
77
|
-
*/
|
|
78
|
-
menuTabbingService;
|
|
79
|
-
constructor(ctx) {
|
|
80
|
-
super(null, ctx);
|
|
81
|
-
}
|
|
82
|
-
get firstFilter() {
|
|
83
|
-
return setFilter(0, this.filter, (this.column || {}).field, this.operator);
|
|
84
|
-
}
|
|
85
|
-
get secondFilter() {
|
|
86
|
-
return setFilter(1, this.filter, (this.column || {}).field, this.operator);
|
|
87
|
-
}
|
|
88
|
-
logicChange(value) {
|
|
89
|
-
this.filter.logic = value;
|
|
90
|
-
}
|
|
91
|
-
get filterMenuDropDownLabel() {
|
|
92
|
-
const localizationMsg = this.ctx.localization.get('filterMenuLogicDropDownLabel') || '';
|
|
93
|
-
const columnName = this.column ? this.column.title || this.column.field : '';
|
|
94
|
-
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
95
|
-
}
|
|
96
|
-
localizationChange() {
|
|
97
|
-
this.logicOperators = logicOperators(this.ctx.localization);
|
|
98
|
-
super.localizationChange();
|
|
99
|
-
}
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterMenuComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: NumericFilterMenuComponent, isStandalone: true, selector: "kendo-grid-numeric-filter-menu", inputs: { filter: "filter", extra: "extra", filterService: "filterService", filterDelay: "filterDelay", placeholder: "placeholder", extraPlaceholder: "extraPlaceholder", menuTabbingService: "menuTabbingService" }, host: { properties: { "class.k-filtercell": "this.hostClasses" } }, usesInheritance: true, ngImport: i0, template: `
|
|
102
|
-
<kendo-grid-numeric-filter-menu-input
|
|
103
|
-
[currentFilter]="firstFilter"
|
|
104
|
-
[operators]="operators"
|
|
105
|
-
[filterService]="filterService"
|
|
106
|
-
[column]="column"
|
|
107
|
-
[filter]="filter"
|
|
108
|
-
[filterDelay]="filterDelay"
|
|
109
|
-
[format]="format"
|
|
110
|
-
[decimals]="decimals"
|
|
111
|
-
[spinners]="spinners"
|
|
112
|
-
[min]="min"
|
|
113
|
-
[max]="max"
|
|
114
|
-
[step]="step"
|
|
115
|
-
[menuTabbingService]="menuTabbingService"
|
|
116
|
-
[isFirstDropDown]="true"
|
|
117
|
-
[placeholder]="placeholder">
|
|
118
|
-
</kendo-grid-numeric-filter-menu-input>
|
|
119
|
-
@if (extra) {
|
|
120
|
-
<kendo-dropdownlist
|
|
121
|
-
kendoFilterMenuDropDown
|
|
122
|
-
[adaptiveTitle]="ctx.localization.get('adaptiveFilterOperatorsTitle')"
|
|
123
|
-
[adaptiveMode]="ctx.grid?.adaptiveMode"
|
|
124
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
125
|
-
[filterMenuDropDownLabel]="filterMenuDropDownLabel"
|
|
126
|
-
class="k-filter-and"
|
|
127
|
-
[data]="logicOperators"
|
|
128
|
-
[valuePrimitive]="true"
|
|
129
|
-
(valueChange)="logicChange($event)"
|
|
130
|
-
[value]="filter?.logic"
|
|
131
|
-
textField="text"
|
|
132
|
-
valueField="value">
|
|
133
|
-
</kendo-dropdownlist>
|
|
134
|
-
}
|
|
135
|
-
@if (extra) {
|
|
136
|
-
<kendo-grid-numeric-filter-menu-input
|
|
137
|
-
[operators]="operators"
|
|
138
|
-
[currentFilter]="secondFilter"
|
|
139
|
-
[filterService]="filterService"
|
|
140
|
-
[column]="column"
|
|
141
|
-
[filter]="filter"
|
|
142
|
-
[format]="format"
|
|
143
|
-
[decimals]="decimals"
|
|
144
|
-
[spinners]="spinners"
|
|
145
|
-
[min]="min"
|
|
146
|
-
[max]="max"
|
|
147
|
-
[step]="step"
|
|
148
|
-
[menuTabbingService]="menuTabbingService"
|
|
149
|
-
[placeholder]="extraPlaceholder">
|
|
150
|
-
</kendo-grid-numeric-filter-menu-input>
|
|
151
|
-
}
|
|
152
|
-
`, isInline: true, dependencies: [{ kind: "component", type: NumericFilterMenuInputComponent, selector: "kendo-grid-numeric-filter-menu-input", inputs: ["operators", "column", "filter", "operator", "currentFilter", "filterService", "filterDelay", "isFirstDropDown", "menuTabbingService", "step", "min", "max", "spinners", "decimals", "format", "placeholder"] }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: FilterMenuDropDownListDirective, selector: "[kendoFilterMenuDropDown]", inputs: ["filterMenuDropDownLabel"] }] });
|
|
153
|
-
}
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumericFilterMenuComponent, decorators: [{
|
|
155
|
-
type: Component,
|
|
156
|
-
args: [{
|
|
157
|
-
selector: 'kendo-grid-numeric-filter-menu',
|
|
158
|
-
template: `
|
|
159
|
-
<kendo-grid-numeric-filter-menu-input
|
|
160
|
-
[currentFilter]="firstFilter"
|
|
161
|
-
[operators]="operators"
|
|
162
|
-
[filterService]="filterService"
|
|
163
|
-
[column]="column"
|
|
164
|
-
[filter]="filter"
|
|
165
|
-
[filterDelay]="filterDelay"
|
|
166
|
-
[format]="format"
|
|
167
|
-
[decimals]="decimals"
|
|
168
|
-
[spinners]="spinners"
|
|
169
|
-
[min]="min"
|
|
170
|
-
[max]="max"
|
|
171
|
-
[step]="step"
|
|
172
|
-
[menuTabbingService]="menuTabbingService"
|
|
173
|
-
[isFirstDropDown]="true"
|
|
174
|
-
[placeholder]="placeholder">
|
|
175
|
-
</kendo-grid-numeric-filter-menu-input>
|
|
176
|
-
@if (extra) {
|
|
177
|
-
<kendo-dropdownlist
|
|
178
|
-
kendoFilterMenuDropDown
|
|
179
|
-
[adaptiveTitle]="ctx.localization.get('adaptiveFilterOperatorsTitle')"
|
|
180
|
-
[adaptiveMode]="ctx.grid?.adaptiveMode"
|
|
181
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
182
|
-
[filterMenuDropDownLabel]="filterMenuDropDownLabel"
|
|
183
|
-
class="k-filter-and"
|
|
184
|
-
[data]="logicOperators"
|
|
185
|
-
[valuePrimitive]="true"
|
|
186
|
-
(valueChange)="logicChange($event)"
|
|
187
|
-
[value]="filter?.logic"
|
|
188
|
-
textField="text"
|
|
189
|
-
valueField="value">
|
|
190
|
-
</kendo-dropdownlist>
|
|
191
|
-
}
|
|
192
|
-
@if (extra) {
|
|
193
|
-
<kendo-grid-numeric-filter-menu-input
|
|
194
|
-
[operators]="operators"
|
|
195
|
-
[currentFilter]="secondFilter"
|
|
196
|
-
[filterService]="filterService"
|
|
197
|
-
[column]="column"
|
|
198
|
-
[filter]="filter"
|
|
199
|
-
[format]="format"
|
|
200
|
-
[decimals]="decimals"
|
|
201
|
-
[spinners]="spinners"
|
|
202
|
-
[min]="min"
|
|
203
|
-
[max]="max"
|
|
204
|
-
[step]="step"
|
|
205
|
-
[menuTabbingService]="menuTabbingService"
|
|
206
|
-
[placeholder]="extraPlaceholder">
|
|
207
|
-
</kendo-grid-numeric-filter-menu-input>
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
210
|
-
standalone: true,
|
|
211
|
-
imports: [NumericFilterMenuInputComponent, DropDownListComponent, FilterMenuDropDownListDirective]
|
|
212
|
-
}]
|
|
213
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { hostClasses: [{
|
|
214
|
-
type: HostBinding,
|
|
215
|
-
args: ['class.k-filtercell']
|
|
216
|
-
}], filter: [{
|
|
217
|
-
type: Input
|
|
218
|
-
}], extra: [{
|
|
219
|
-
type: Input
|
|
220
|
-
}], filterService: [{
|
|
221
|
-
type: Input
|
|
222
|
-
}], filterDelay: [{
|
|
223
|
-
type: Input
|
|
224
|
-
}], placeholder: [{
|
|
225
|
-
type: Input
|
|
226
|
-
}], extraPlaceholder: [{
|
|
227
|
-
type: Input
|
|
228
|
-
}], menuTabbingService: [{
|
|
229
|
-
type: Input
|
|
230
|
-
}] } });
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, Input } from '@angular/core';
|
|
6
|
-
import { ColumnComponent } from "../../columns/column.component";
|
|
7
|
-
import { FilterService } from '../filter.service';
|
|
8
|
-
import { MenuTabbingService } from './menu-tabbing.service';
|
|
9
|
-
import { ContextService } from '../../common/provider.service';
|
|
10
|
-
import { FilterInputDirective } from '../filter-input.directive';
|
|
11
|
-
import { FormsModule } from '@angular/forms';
|
|
12
|
-
import { FilterMenuInputWrapperComponent } from './filter-menu-input-wrapper.component';
|
|
13
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
14
|
-
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
import * as i1 from "../../common/provider.service";
|
|
17
|
-
import * as i2 from "@angular/forms";
|
|
18
|
-
/**
|
|
19
|
-
* @hidden
|
|
20
|
-
*/
|
|
21
|
-
export class StringFilterMenuInputComponent {
|
|
22
|
-
ctx;
|
|
23
|
-
operators = [];
|
|
24
|
-
column;
|
|
25
|
-
filter;
|
|
26
|
-
operator;
|
|
27
|
-
currentFilter;
|
|
28
|
-
filterService;
|
|
29
|
-
isFirstDropDown;
|
|
30
|
-
menuTabbingService;
|
|
31
|
-
placeholder;
|
|
32
|
-
constructor(ctx) {
|
|
33
|
-
this.ctx = ctx;
|
|
34
|
-
}
|
|
35
|
-
get columnLabel() {
|
|
36
|
-
const localizationMsg = this.ctx.localization.get('filterInputLabel') || '';
|
|
37
|
-
const columnName = this.column ? this.column.title || this.column.field : '';
|
|
38
|
-
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
39
|
-
}
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterMenuInputComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: StringFilterMenuInputComponent, isStandalone: true, selector: "kendo-grid-string-filter-menu-input", inputs: { operators: "operators", column: "column", filter: "filter", operator: "operator", currentFilter: "currentFilter", filterService: "filterService", isFirstDropDown: "isFirstDropDown", menuTabbingService: "menuTabbingService", placeholder: "placeholder" }, ngImport: i0, template: `
|
|
42
|
-
<kendo-grid-filter-menu-input-wrapper
|
|
43
|
-
[column]="column"
|
|
44
|
-
[filter]="filter"
|
|
45
|
-
[operators]="operators"
|
|
46
|
-
[defaultOperator]="operator"
|
|
47
|
-
[currentFilter]="currentFilter"
|
|
48
|
-
[filterService]="filterService"
|
|
49
|
-
[isFirstDropDown]="isFirstDropDown"
|
|
50
|
-
[menuTabbingService]="menuTabbingService">
|
|
51
|
-
<kendo-textbox
|
|
52
|
-
kendoFilterInput
|
|
53
|
-
[columnLabel]="columnLabel"
|
|
54
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
55
|
-
[filterDelay]="0"
|
|
56
|
-
[placeholder]="placeholder"
|
|
57
|
-
[ngModel]="currentFilter?.value ?? null">
|
|
58
|
-
</kendo-textbox>
|
|
59
|
-
</kendo-grid-filter-menu-input-wrapper>
|
|
60
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }, { kind: "directive", type: FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
61
|
-
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: StringFilterMenuInputComponent, decorators: [{
|
|
63
|
-
type: Component,
|
|
64
|
-
args: [{
|
|
65
|
-
selector: 'kendo-grid-string-filter-menu-input',
|
|
66
|
-
template: `
|
|
67
|
-
<kendo-grid-filter-menu-input-wrapper
|
|
68
|
-
[column]="column"
|
|
69
|
-
[filter]="filter"
|
|
70
|
-
[operators]="operators"
|
|
71
|
-
[defaultOperator]="operator"
|
|
72
|
-
[currentFilter]="currentFilter"
|
|
73
|
-
[filterService]="filterService"
|
|
74
|
-
[isFirstDropDown]="isFirstDropDown"
|
|
75
|
-
[menuTabbingService]="menuTabbingService">
|
|
76
|
-
<kendo-textbox
|
|
77
|
-
kendoFilterInput
|
|
78
|
-
[columnLabel]="columnLabel"
|
|
79
|
-
[size]="ctx.grid?.isActionSheetExpanded ? 'large' : null"
|
|
80
|
-
[filterDelay]="0"
|
|
81
|
-
[placeholder]="placeholder"
|
|
82
|
-
[ngModel]="currentFilter?.value ?? null">
|
|
83
|
-
</kendo-textbox>
|
|
84
|
-
</kendo-grid-filter-menu-input-wrapper>
|
|
85
|
-
`,
|
|
86
|
-
standalone: true,
|
|
87
|
-
imports: [FilterMenuInputWrapperComponent, TextBoxComponent, FilterInputDirective, FormsModule]
|
|
88
|
-
}]
|
|
89
|
-
}], ctorParameters: () => [{ type: i1.ContextService }], propDecorators: { operators: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}], column: [{
|
|
92
|
-
type: Input
|
|
93
|
-
}], filter: [{
|
|
94
|
-
type: Input
|
|
95
|
-
}], operator: [{
|
|
96
|
-
type: Input
|
|
97
|
-
}], currentFilter: [{
|
|
98
|
-
type: Input
|
|
99
|
-
}], filterService: [{
|
|
100
|
-
type: Input
|
|
101
|
-
}], isFirstDropDown: [{
|
|
102
|
-
type: Input
|
|
103
|
-
}], menuTabbingService: [{
|
|
104
|
-
type: Input
|
|
105
|
-
}], placeholder: [{
|
|
106
|
-
type: Input
|
|
107
|
-
}] } });
|