@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,1270 +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, ViewChild, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { AdaptiveGridService } from '../common/adaptiveness.service';
|
|
7
|
-
import { ActionSheetComponent, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective, ActionSheetHeaderTemplateDirective, ActionSheetViewComponent } from '@progress/kendo-angular-navigation';
|
|
8
|
-
import { FilterMenuContainerComponent } from '../filtering/menu/filter-menu-container.component';
|
|
9
|
-
import { FilterToolbarToolComponent } from '../rendering/toolbar/tools/filter-toolbar-tool.component';
|
|
10
|
-
import { ButtonDirective } from '@progress/kendo-angular-buttons';
|
|
11
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
12
|
-
import { arrowRotateCcwIcon, cancelIcon, checkIcon, chevronLeftIcon, filterClearIcon, filterIcon, saveIcon, xIcon } from '@progress/kendo-svg-icons';
|
|
13
|
-
import { FilterService } from '../filtering/filter.service';
|
|
14
|
-
import { ColumnMenuContainerComponent } from '../column-menu/column-menu-container.component';
|
|
15
|
-
import { ColumnMenuFilterComponent } from '../column-menu/column-menu-filter.component';
|
|
16
|
-
import { ColumnMenuSortComponent } from '../column-menu/column-menu-sort.component';
|
|
17
|
-
import { ColumnMenuLockComponent } from '../column-menu/column-menu-lock.component';
|
|
18
|
-
import { ColumnMenuStickComponent } from '../column-menu/column-menu-stick.component';
|
|
19
|
-
import { ColumnMenuPositionComponent } from '../column-menu/column-menu-position.component';
|
|
20
|
-
import { ColumnMenuChooserComponent } from '../column-menu/column-menu-chooser.component';
|
|
21
|
-
import { ColumnMenuAutoSizeColumnComponent } from '../column-menu/column-menu-autosize.component';
|
|
22
|
-
import { ColumnMenuAutoSizeAllColumnsComponent } from '../column-menu/column-menu-autosize-all.component';
|
|
23
|
-
import { ColumnMenuItemComponent } from '../column-menu/column-menu-item.component';
|
|
24
|
-
import { ColumnMenuItemDirective } from '../column-menu/column-menu-item.directive';
|
|
25
|
-
import { hasFilter, hasSort, hasLock, hasStick, hasColumnChooser, hasAutoSizeColumn, hasPosition, hasAutoSizeAllColumns } from '../column-menu/utils';
|
|
26
|
-
import { ColumnMenuService } from '../column-menu/column-menu.service';
|
|
27
|
-
import { ContextService } from '../common/provider.service';
|
|
28
|
-
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
29
|
-
import { SortService } from '../common/sort.service';
|
|
30
|
-
import { ColumnInfoService } from '../common/column-info.service';
|
|
31
|
-
import { normalize } from '../columns/sort-settings';
|
|
32
|
-
import { directions } from '../rendering/toolbar/tools/sort-toolbar-tool.component';
|
|
33
|
-
import { EventsOutsideAngularDirective, replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
34
|
-
import { FormComponent } from '../editing/form';
|
|
35
|
-
import { GroupToolbarToolComponent } from '../rendering/toolbar/tools/group-toolbar-tool.component';
|
|
36
|
-
import { ColumnChooserContentComponent } from '../column-menu/column-chooser-content.component';
|
|
37
|
-
import * as i0 from "@angular/core";
|
|
38
|
-
import * as i1 from "../column-menu/column-menu.service";
|
|
39
|
-
import * as i2 from "../common/adaptiveness.service";
|
|
40
|
-
import * as i3 from "../filtering/filter.service";
|
|
41
|
-
import * as i4 from "../common/provider.service";
|
|
42
|
-
import * as i5 from "@progress/kendo-angular-utils";
|
|
43
|
-
import * as i6 from "../common/sort.service";
|
|
44
|
-
import * as i7 from "../common/column-info.service";
|
|
45
|
-
/**
|
|
46
|
-
* @hidden
|
|
47
|
-
*/
|
|
48
|
-
export class AdaptiveRendererComponent {
|
|
49
|
-
service;
|
|
50
|
-
adaptiveGridService;
|
|
51
|
-
filterService;
|
|
52
|
-
ctx;
|
|
53
|
-
adaptiveService;
|
|
54
|
-
sortService;
|
|
55
|
-
columnInfoService;
|
|
56
|
-
xIcon = xIcon;
|
|
57
|
-
checkIcon = checkIcon;
|
|
58
|
-
filterIcon = filterIcon;
|
|
59
|
-
arrowRotateCcwIcon = arrowRotateCcwIcon;
|
|
60
|
-
chevronLeft = chevronLeftIcon;
|
|
61
|
-
filterClearIcon = filterClearIcon;
|
|
62
|
-
cancelIcon = cancelIcon;
|
|
63
|
-
saveIcon = saveIcon;
|
|
64
|
-
columns;
|
|
65
|
-
externalEditingSettings;
|
|
66
|
-
get hasSort() {
|
|
67
|
-
return hasSort(this.ctx.grid.columnMenu, this.adaptiveGridService.column);
|
|
68
|
-
}
|
|
69
|
-
get hasColumnChooser() {
|
|
70
|
-
return hasColumnChooser(this.ctx.grid.columnMenu);
|
|
71
|
-
}
|
|
72
|
-
get hasFilter() {
|
|
73
|
-
return hasFilter(this.ctx.grid.columnMenu, this.adaptiveGridService.column);
|
|
74
|
-
}
|
|
75
|
-
get hasAutoSizeColumn() {
|
|
76
|
-
return hasAutoSizeColumn(this.ctx.grid.columnMenu);
|
|
77
|
-
}
|
|
78
|
-
get hasAutoSizeAllColumns() {
|
|
79
|
-
return hasAutoSizeAllColumns(this.ctx.grid.columnMenu);
|
|
80
|
-
}
|
|
81
|
-
get hasLock() {
|
|
82
|
-
return hasLock(this.ctx.grid.columnMenu, this.adaptiveGridService.column);
|
|
83
|
-
}
|
|
84
|
-
get hasStick() {
|
|
85
|
-
return hasStick(this.ctx.grid.columnMenu, this.adaptiveGridService.column);
|
|
86
|
-
}
|
|
87
|
-
get hasPosition() {
|
|
88
|
-
return hasPosition(this.ctx.grid.columnMenu, this.adaptiveGridService.column);
|
|
89
|
-
}
|
|
90
|
-
getColumnComponent(column) {
|
|
91
|
-
return column;
|
|
92
|
-
}
|
|
93
|
-
get hasTitle() {
|
|
94
|
-
const hasTitle = this.adaptiveGridService.viewType === 'columnMenu' ||
|
|
95
|
-
this.adaptiveGridService.viewType === 'filterToolbarTool' ||
|
|
96
|
-
this.adaptiveGridService.viewType === 'columnChooserToolbarTool' ||
|
|
97
|
-
this.adaptiveGridService.viewType === 'filterMenu' ||
|
|
98
|
-
this.adaptiveGridService.viewType === 'sortToolbarTool' ||
|
|
99
|
-
this.adaptiveGridService.viewType === 'groupToolbarTool' ||
|
|
100
|
-
this.adaptiveGridService.viewType === 'externalEditing';
|
|
101
|
-
return hasTitle;
|
|
102
|
-
}
|
|
103
|
-
get hasSubtitle() {
|
|
104
|
-
const hasSubtitle = (this.adaptiveGridService.viewType === 'columnMenu' && this.adaptiveGridService.secondaryView === 'columnChooser') ||
|
|
105
|
-
this.adaptiveGridService.viewType === 'columnChooserToolbarTool';
|
|
106
|
-
return hasSubtitle;
|
|
107
|
-
}
|
|
108
|
-
get actionSheetTitle() {
|
|
109
|
-
if (this.adaptiveGridService.viewType === 'columnMenu') {
|
|
110
|
-
if (this.adaptiveGridService.secondaryView === 'columnChooser') {
|
|
111
|
-
return this.messageFor('columns');
|
|
112
|
-
}
|
|
113
|
-
if (this.adaptiveGridService.secondaryView === 'columnPosition') {
|
|
114
|
-
return this.messageFor('setColumnPosition');
|
|
115
|
-
}
|
|
116
|
-
if (this.adaptiveGridService.secondaryView === 'columnFilter') {
|
|
117
|
-
return this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
118
|
-
}
|
|
119
|
-
return this.columnMenuTitle;
|
|
120
|
-
}
|
|
121
|
-
if (this.adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
122
|
-
if (this.adaptiveGridService.secondaryView === 'columnFilter') {
|
|
123
|
-
return this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
124
|
-
}
|
|
125
|
-
return this.messageFor('adaptiveFilterTitle');
|
|
126
|
-
}
|
|
127
|
-
if (this.adaptiveGridService.viewType === 'filterMenu') {
|
|
128
|
-
return this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
129
|
-
}
|
|
130
|
-
if (this.adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
131
|
-
return this.messageFor('columns');
|
|
132
|
-
}
|
|
133
|
-
if (this.adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
134
|
-
return this.messageFor('adaptiveSortTitle');
|
|
135
|
-
}
|
|
136
|
-
if (this.adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
137
|
-
return this.messageFor('adaptiveGroupTitle');
|
|
138
|
-
}
|
|
139
|
-
if (this.adaptiveGridService.viewType === 'externalEditing') {
|
|
140
|
-
return this.messageFor(this.externalEditingSettings.event.isNew ? 'externalEditingAddTitle' : 'externalEditingTitle');
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
get adaptiveFilterTitle() {
|
|
144
|
-
const columnTitle = this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
145
|
-
return `${this.messageFor('adaptiveFilterTitle')} ${columnTitle}`;
|
|
146
|
-
}
|
|
147
|
-
get columnMenuTitle() {
|
|
148
|
-
const columnName = this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
149
|
-
return columnName;
|
|
150
|
-
}
|
|
151
|
-
get filterLabel() {
|
|
152
|
-
const localizationMsg = this.messageFor('filterMenuTitle') || '';
|
|
153
|
-
const columnName = this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
154
|
-
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
155
|
-
}
|
|
156
|
-
get hasXCloseIcon() {
|
|
157
|
-
return this.adaptiveGridService.viewType !== 'sortToolbarTool' && this.adaptiveGridService.viewType !== 'groupToolbarTool';
|
|
158
|
-
}
|
|
159
|
-
get hasCheckCloseIcon() {
|
|
160
|
-
return this.adaptiveGridService.viewType === 'sortToolbarTool' || this.adaptiveGridService.viewType === 'groupToolbarTool';
|
|
161
|
-
}
|
|
162
|
-
columnChooserContent;
|
|
163
|
-
filterToolbarToolTemplate;
|
|
164
|
-
filterMenuContainer;
|
|
165
|
-
actionSheet;
|
|
166
|
-
set groupToolbarTool(value) {
|
|
167
|
-
value && (value.ctx = this.ctx);
|
|
168
|
-
}
|
|
169
|
-
adaptiveSizeChangeSubscription;
|
|
170
|
-
constructor(service, adaptiveGridService, filterService, ctx, adaptiveService, sortService, columnInfoService) {
|
|
171
|
-
this.service = service;
|
|
172
|
-
this.adaptiveGridService = adaptiveGridService;
|
|
173
|
-
this.filterService = filterService;
|
|
174
|
-
this.ctx = ctx;
|
|
175
|
-
this.adaptiveService = adaptiveService;
|
|
176
|
-
this.sortService = sortService;
|
|
177
|
-
this.columnInfoService = columnInfoService;
|
|
178
|
-
this.adaptiveSizeChangeSubscription = this.adaptiveService.sizeChanges.subscribe(() => {
|
|
179
|
-
if (this.ctx.grid.isOpen) {
|
|
180
|
-
if (this.actionSheet.expanded) {
|
|
181
|
-
this.actionSheet.toggle(false);
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
this.adaptiveGridService.popupRef.close();
|
|
185
|
-
this.adaptiveGridService.popupRef = null;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
ngOnInit() {
|
|
191
|
-
this.columns = this.columnInfoService.leafNamedColumns.filter(column => column?.sortable);
|
|
192
|
-
}
|
|
193
|
-
ngOnDestroy() {
|
|
194
|
-
if (this.adaptiveSizeChangeSubscription) {
|
|
195
|
-
this.adaptiveSizeChangeSubscription.unsubscribe();
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
messageFor = token => this.ctx.localization.get(token);
|
|
199
|
-
close() {
|
|
200
|
-
this.actionSheet.toggle(false);
|
|
201
|
-
this.adaptiveGridService.reset();
|
|
202
|
-
}
|
|
203
|
-
prevView() {
|
|
204
|
-
this.adaptiveGridService.secondaryView = null;
|
|
205
|
-
this.adaptiveGridService.filterMenuContainerComponentRef?.destroy();
|
|
206
|
-
this.actionSheet.prevView();
|
|
207
|
-
}
|
|
208
|
-
clearFilters() {
|
|
209
|
-
const emptyFilter = { logic: 'and', filters: [] };
|
|
210
|
-
this.filterService.filter(emptyFilter);
|
|
211
|
-
this.actionSheet.toggle(false);
|
|
212
|
-
}
|
|
213
|
-
navigateToColumnsView() {
|
|
214
|
-
this.adaptiveGridService.secondaryView = 'columnChooser';
|
|
215
|
-
this.actionSheet.nextView();
|
|
216
|
-
}
|
|
217
|
-
navigateToFilterView() {
|
|
218
|
-
this.adaptiveGridService.secondaryView = 'columnFilter';
|
|
219
|
-
this.actionSheet.nextView();
|
|
220
|
-
}
|
|
221
|
-
navigateToPositionView() {
|
|
222
|
-
this.adaptiveGridService.secondaryView = 'columnPosition';
|
|
223
|
-
this.actionSheet.nextView();
|
|
224
|
-
}
|
|
225
|
-
applyChanges() {
|
|
226
|
-
this.columnChooserContent.applyChanges();
|
|
227
|
-
this.actionSheet.toggle(false);
|
|
228
|
-
}
|
|
229
|
-
sortBy(column) {
|
|
230
|
-
this.toggleSort(this.getColumnComponent(column));
|
|
231
|
-
}
|
|
232
|
-
toggleSort(column) {
|
|
233
|
-
const field = column?.field;
|
|
234
|
-
if (!field) {
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
const descriptor = this.getDescriptor(column);
|
|
238
|
-
this.sortService.sort(descriptor);
|
|
239
|
-
}
|
|
240
|
-
getDescriptor(column) {
|
|
241
|
-
const { allowUnsort, mode, initialDirection } = normalize(this.ctx.grid.sortable, column.sortable);
|
|
242
|
-
const field = column?.field;
|
|
243
|
-
if (!field) {
|
|
244
|
-
return;
|
|
245
|
-
}
|
|
246
|
-
const descriptorT = this.ctx.grid.sort.find(item => item.field === field) || { field };
|
|
247
|
-
const [first, second] = directions(initialDirection);
|
|
248
|
-
let dir = first;
|
|
249
|
-
if (descriptorT.dir === first) {
|
|
250
|
-
dir = second;
|
|
251
|
-
}
|
|
252
|
-
else if (descriptorT.dir === second && allowUnsort) {
|
|
253
|
-
dir = undefined;
|
|
254
|
-
}
|
|
255
|
-
const descriptor = { field, dir };
|
|
256
|
-
if (mode === 'single') {
|
|
257
|
-
return [descriptor];
|
|
258
|
-
}
|
|
259
|
-
return [...this.ctx.grid.sort.filter(desc => desc.field !== field), descriptor];
|
|
260
|
-
}
|
|
261
|
-
clearSorting() {
|
|
262
|
-
if (this.ctx.grid.sort.length > 0) {
|
|
263
|
-
this.sortService.sort([]);
|
|
264
|
-
}
|
|
265
|
-
this.actionSheet.toggle(false);
|
|
266
|
-
}
|
|
267
|
-
clearGrouping() {
|
|
268
|
-
if (this.ctx.grid.group.length > 0) {
|
|
269
|
-
this.ctx.grid.group = [];
|
|
270
|
-
this.ctx.grid.groupChange.emit(this.ctx.grid.group);
|
|
271
|
-
}
|
|
272
|
-
this.actionSheet.toggle(false);
|
|
273
|
-
}
|
|
274
|
-
onAnimationEnd() {
|
|
275
|
-
this.adaptiveGridService.notifyAnimationEnd();
|
|
276
|
-
}
|
|
277
|
-
cancelChanges() {
|
|
278
|
-
this.columnChooserContent.cancelChanges();
|
|
279
|
-
this.columnChooserContent.cdr.detectChanges();
|
|
280
|
-
}
|
|
281
|
-
onTab(event) {
|
|
282
|
-
this.columnChooserContent.onTab(event);
|
|
283
|
-
}
|
|
284
|
-
saveEditing() {
|
|
285
|
-
const { event, formGroup, externalEditingDirective } = this.externalEditingSettings;
|
|
286
|
-
externalEditingDirective.saveHandler({ ...event, formGroup });
|
|
287
|
-
this.actionSheet.toggle(false);
|
|
288
|
-
}
|
|
289
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: i1.ColumnMenuService }, { token: i2.AdaptiveGridService }, { token: i3.FilterService }, { token: i4.ContextService }, { token: i5.AdaptiveService }, { token: i6.SortService }, { token: i7.ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
290
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-grid-adaptive-renderer", viewQueries: [{ propertyName: "columnChooserContent", first: true, predicate: ["columnChooserContent"], descendants: true }, { propertyName: "filterToolbarToolTemplate", first: true, predicate: ["filterToolbarToolTemplate"], descendants: true, read: ViewContainerRef }, { propertyName: "filterMenuContainer", first: true, predicate: ["filterMenuContainer"], descendants: true }, { propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "groupToolbarTool", first: true, predicate: GroupToolbarToolComponent, descendants: true }], ngImport: i0, template: `
|
|
291
|
-
<kendo-actionsheet
|
|
292
|
-
[cssClass]="{
|
|
293
|
-
'k-adaptive-actionsheet': true,
|
|
294
|
-
'k-actionsheet-fullscreen': adaptiveService.size === 'small',
|
|
295
|
-
'k-actionsheet-bottom': adaptiveService.size === 'medium'
|
|
296
|
-
}"
|
|
297
|
-
[cssStyle]="{
|
|
298
|
-
height: adaptiveService.size === 'small' ? '100vh' : '60vh'
|
|
299
|
-
}"
|
|
300
|
-
[overlayClickClose]="true"
|
|
301
|
-
(collapse)="adaptiveGridService.reset()">
|
|
302
|
-
|
|
303
|
-
<!-- sortToolbarTool view -->
|
|
304
|
-
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
305
|
-
<kendo-actionsheet-view>
|
|
306
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
307
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
308
|
-
</ng-container>
|
|
309
|
-
</ng-template>
|
|
310
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
311
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
312
|
-
<div class="k-columnmenu-item-wrapper">
|
|
313
|
-
@for (column of columns; track column) {
|
|
314
|
-
<kendo-grid-columnmenu-item
|
|
315
|
-
[column]="getColumnComponent(column)"
|
|
316
|
-
[text]="column.title || getColumnComponent(column).field"
|
|
317
|
-
(itemClick)="sortBy(column)">
|
|
318
|
-
</kendo-grid-columnmenu-item>
|
|
319
|
-
}
|
|
320
|
-
</div>
|
|
321
|
-
</div>
|
|
322
|
-
</ng-template>
|
|
323
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
324
|
-
<button
|
|
325
|
-
kendoButton
|
|
326
|
-
size="large"
|
|
327
|
-
fillMode="solid"
|
|
328
|
-
icon="x"
|
|
329
|
-
[svgIcon]="xIcon"
|
|
330
|
-
(click)="clearSorting()">
|
|
331
|
-
{{messageFor('sortClearButton')}}
|
|
332
|
-
</button>
|
|
333
|
-
<button
|
|
334
|
-
kendoButton
|
|
335
|
-
size="large"
|
|
336
|
-
fillMode="solid"
|
|
337
|
-
icon="check"
|
|
338
|
-
[svgIcon]="checkIcon"
|
|
339
|
-
themeColor="primary"
|
|
340
|
-
(click)="actionSheet.toggle(false)">
|
|
341
|
-
{{messageFor('sortDoneButton')}}
|
|
342
|
-
</button>
|
|
343
|
-
</ng-template>
|
|
344
|
-
</kendo-actionsheet-view>
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
<!-- columnChooserToolbarTool view -->
|
|
348
|
-
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
349
|
-
<kendo-actionsheet-view>
|
|
350
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
351
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
352
|
-
</ng-container>
|
|
353
|
-
</ng-template>
|
|
354
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
355
|
-
<kendo-grid-column-chooser-content
|
|
356
|
-
#columnChooserContent
|
|
357
|
-
[columns]="columns"
|
|
358
|
-
[isLast]="true"
|
|
359
|
-
[autoSync]="false"
|
|
360
|
-
[allowHideAll]="false"
|
|
361
|
-
>
|
|
362
|
-
</kendo-grid-column-chooser-content>
|
|
363
|
-
</ng-template>
|
|
364
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
365
|
-
<ng-container [ngTemplateOutlet]="actionSheetFooterTemplate">
|
|
366
|
-
</ng-container>
|
|
367
|
-
</ng-template>
|
|
368
|
-
</kendo-actionsheet-view>
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
<!-- filterToolbarTool first view -->
|
|
372
|
-
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
373
|
-
<kendo-actionsheet-view
|
|
374
|
-
[kendoEventsOutsideAngular]="{transitionend: onAnimationEnd}"
|
|
375
|
-
[scope]="this">
|
|
376
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
377
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
378
|
-
</ng-container>
|
|
379
|
-
</ng-template>
|
|
380
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
381
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
382
|
-
<kendo-filter-toolbar-tool></kendo-filter-toolbar-tool>
|
|
383
|
-
</div>
|
|
384
|
-
</ng-template>
|
|
385
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
386
|
-
<button kendoButton
|
|
387
|
-
icon="filter-clear"
|
|
388
|
-
[svgIcon]="filterClearIcon"
|
|
389
|
-
size="large"
|
|
390
|
-
(click)="clearFilters()">
|
|
391
|
-
{{messageFor('filterClearAllButton')}}
|
|
392
|
-
</button>
|
|
393
|
-
</ng-template>
|
|
394
|
-
</kendo-actionsheet-view>
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
<!-- filterToolbarTool second view -->
|
|
398
|
-
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
399
|
-
<kendo-actionsheet-view>
|
|
400
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
401
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
402
|
-
</ng-container>
|
|
403
|
-
</ng-template>
|
|
404
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
405
|
-
<ng-container #filterToolbarToolTemplate></ng-container>
|
|
406
|
-
</ng-template>
|
|
407
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
408
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
409
|
-
</ng-container>
|
|
410
|
-
</ng-template>
|
|
411
|
-
</kendo-actionsheet-view>
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
<!-- filterMenu view -->
|
|
415
|
-
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
416
|
-
<kendo-actionsheet-view>
|
|
417
|
-
<ng-template kendoActionSheetHeaderTemplate >
|
|
418
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
419
|
-
</ng-container>
|
|
420
|
-
</ng-template>
|
|
421
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
422
|
-
<kendo-grid-filter-menu-container
|
|
423
|
-
#filterMenuContainer
|
|
424
|
-
[column]="adaptiveGridService.column"
|
|
425
|
-
[filter]="ctx.grid.filter"
|
|
426
|
-
(close)="close()"
|
|
427
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
428
|
-
</kendo-grid-filter-menu-container>
|
|
429
|
-
</ng-template>
|
|
430
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
431
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
432
|
-
</ng-container>
|
|
433
|
-
</ng-template>
|
|
434
|
-
</kendo-actionsheet-view>
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
<!-- columnMenu first view -->
|
|
438
|
-
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
439
|
-
<kendo-actionsheet-view
|
|
440
|
-
[kendoEventsOutsideAngular]="{transitionend: onAnimationEnd}"
|
|
441
|
-
[scope]="this">
|
|
442
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
443
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
444
|
-
</ng-container>
|
|
445
|
-
</ng-template>
|
|
446
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
447
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
448
|
-
<kendo-grid-columnmenu-container>
|
|
449
|
-
@if (hasSort) {
|
|
450
|
-
<kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" [service]="adaptiveGridService.columnMenuService">
|
|
451
|
-
</kendo-grid-columnmenu-sort>
|
|
452
|
-
}
|
|
453
|
-
@if (hasLock && !hasPosition) {
|
|
454
|
-
<kendo-grid-columnmenu-lock #lockItem [kendoGridColumnMenuItem]="lockItem" [service]="adaptiveGridService.columnMenuService">
|
|
455
|
-
</kendo-grid-columnmenu-lock>
|
|
456
|
-
}
|
|
457
|
-
@if (hasStick && !hasPosition) {
|
|
458
|
-
<kendo-grid-columnmenu-stick #stickItem [kendoGridColumnMenuItem]="stickItem" [service]="adaptiveGridService.columnMenuService">
|
|
459
|
-
</kendo-grid-columnmenu-stick>
|
|
460
|
-
}
|
|
461
|
-
@if (hasPosition) {
|
|
462
|
-
<kendo-grid-columnmenu-position
|
|
463
|
-
#positionItem
|
|
464
|
-
[showLock]="hasLock"
|
|
465
|
-
[showStick]="hasStick"
|
|
466
|
-
[kendoGridColumnMenuItem]="positionItem"
|
|
467
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
468
|
-
[expanded]="false"
|
|
469
|
-
(collapse)="navigateToPositionView()">
|
|
470
|
-
</kendo-grid-columnmenu-position>
|
|
471
|
-
}
|
|
472
|
-
@if (hasLock || hasStick || adaptiveGridService.column.sortable) {
|
|
473
|
-
<span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" class="k-separator"></span>
|
|
474
|
-
}
|
|
475
|
-
@if (hasColumnChooser) {
|
|
476
|
-
<kendo-grid-columnmenu-chooser
|
|
477
|
-
#chooserItem
|
|
478
|
-
[kendoGridColumnMenuItem]="chooserItem"
|
|
479
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
480
|
-
[expanded]="false"
|
|
481
|
-
(collapse)="navigateToColumnsView()">
|
|
482
|
-
</kendo-grid-columnmenu-chooser>
|
|
483
|
-
}
|
|
484
|
-
@if (hasAutoSizeColumn) {
|
|
485
|
-
<kendo-grid-columnmenu-autosize-column
|
|
486
|
-
#autoSizeColumnItem
|
|
487
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
488
|
-
[kendoGridColumnMenuItem]="autoSizeColumnItem"
|
|
489
|
-
[column]="adaptiveGridService.column"
|
|
490
|
-
>
|
|
491
|
-
</kendo-grid-columnmenu-autosize-column>
|
|
492
|
-
}
|
|
493
|
-
@if (hasAutoSizeAllColumns) {
|
|
494
|
-
<kendo-grid-columnmenu-autosize-all-columns
|
|
495
|
-
#autoSizeAllColumnsItem
|
|
496
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
497
|
-
[kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
|
|
498
|
-
>
|
|
499
|
-
</kendo-grid-columnmenu-autosize-all-columns>
|
|
500
|
-
}
|
|
501
|
-
@if (adaptiveGridService.column.filterable) {
|
|
502
|
-
<span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" class="k-separator"></span>
|
|
503
|
-
}
|
|
504
|
-
@if (hasFilter) {
|
|
505
|
-
<kendo-grid-columnmenu-filter
|
|
506
|
-
#filterItem
|
|
507
|
-
[kendoGridColumnMenuItem]="filterItem"
|
|
508
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
509
|
-
[expanded]="false"
|
|
510
|
-
(collapse)="navigateToFilterView()">
|
|
511
|
-
</kendo-grid-columnmenu-filter>
|
|
512
|
-
}
|
|
513
|
-
</kendo-grid-columnmenu-container>
|
|
514
|
-
</div>
|
|
515
|
-
</ng-template>
|
|
516
|
-
</kendo-actionsheet-view>
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
<!-- columnMenu second view -->
|
|
520
|
-
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
521
|
-
<kendo-actionsheet-view>
|
|
522
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
523
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
524
|
-
</ng-container>
|
|
525
|
-
</ng-template>
|
|
526
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
527
|
-
@if (adaptiveGridService.secondaryView === 'columnChooser') {
|
|
528
|
-
<kendo-grid-column-chooser-content
|
|
529
|
-
#columnChooserContent
|
|
530
|
-
[columns]="adaptiveGridService.columns"
|
|
531
|
-
[isLast]="true"
|
|
532
|
-
[autoSync]="false"
|
|
533
|
-
[allowHideAll]="false"
|
|
534
|
-
>
|
|
535
|
-
</kendo-grid-column-chooser-content>
|
|
536
|
-
}
|
|
537
|
-
@if (adaptiveGridService.secondaryView === 'columnFilter') {
|
|
538
|
-
<kendo-grid-filter-menu-container
|
|
539
|
-
[column]="adaptiveGridService.column"
|
|
540
|
-
[filter]="ctx.grid.filter"
|
|
541
|
-
(close)="close()"
|
|
542
|
-
[kendoEventsOutsideAngular]="{'keydown.escape': close}"
|
|
543
|
-
[scope]="this">
|
|
544
|
-
</kendo-grid-filter-menu-container>
|
|
545
|
-
}
|
|
546
|
-
@if (adaptiveGridService.secondaryView === 'columnPosition' && hasLock) {
|
|
547
|
-
<kendo-grid-columnmenu-lock
|
|
548
|
-
[service]="adaptiveGridService.columnMenuService">
|
|
549
|
-
</kendo-grid-columnmenu-lock>
|
|
550
|
-
}
|
|
551
|
-
@if (adaptiveGridService.secondaryView === 'columnPosition' && hasStick) {
|
|
552
|
-
<kendo-grid-columnmenu-stick
|
|
553
|
-
[service]="adaptiveGridService.columnMenuService">
|
|
554
|
-
</kendo-grid-columnmenu-stick>
|
|
555
|
-
}
|
|
556
|
-
</ng-template>
|
|
557
|
-
@if (adaptiveGridService.secondaryView === 'columnChooser') {
|
|
558
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
559
|
-
<ng-container [ngTemplateOutlet]="actionSheetFooterTemplate">
|
|
560
|
-
</ng-container>
|
|
561
|
-
</ng-template>
|
|
562
|
-
}
|
|
563
|
-
@if (adaptiveGridService.secondaryView === 'columnFilter') {
|
|
564
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
565
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
566
|
-
</ng-container>
|
|
567
|
-
</ng-template>
|
|
568
|
-
}
|
|
569
|
-
</kendo-actionsheet-view>
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
<!-- external editing view -->
|
|
573
|
-
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
574
|
-
<kendo-actionsheet-view>
|
|
575
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
576
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
577
|
-
</ng-container>
|
|
578
|
-
</ng-template>
|
|
579
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
580
|
-
<kendo-grid-external-form
|
|
581
|
-
[controls]="externalEditingSettings.formControls"
|
|
582
|
-
[formGroup]="externalEditingSettings.formGroup"
|
|
583
|
-
[formSettings]="externalEditingSettings.formSettings"
|
|
584
|
-
[actionButtons]="false">
|
|
585
|
-
</kendo-grid-external-form>
|
|
586
|
-
</ng-template>
|
|
587
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
588
|
-
<button kendoButton
|
|
589
|
-
size="large"
|
|
590
|
-
icon="cancel"
|
|
591
|
-
[svgIcon]="cancelIcon"
|
|
592
|
-
(click)="actionSheet.toggle(false)">
|
|
593
|
-
{{messageFor('externalEditingCancelText')}}
|
|
594
|
-
</button>
|
|
595
|
-
<button kendoButton
|
|
596
|
-
themeColor="primary"
|
|
597
|
-
size="large"
|
|
598
|
-
icon="save"
|
|
599
|
-
[svgIcon]="saveIcon"
|
|
600
|
-
(click)="saveEditing()"
|
|
601
|
-
[disabled]="!externalEditingSettings.formGroup.valid">
|
|
602
|
-
{{messageFor('externalEditingSaveText')}}
|
|
603
|
-
</button>
|
|
604
|
-
</ng-template>
|
|
605
|
-
</kendo-actionsheet-view>
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
<!-- groupToolbarTool view -->
|
|
609
|
-
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
610
|
-
<kendo-actionsheet-view>
|
|
611
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
612
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
613
|
-
</ng-container>
|
|
614
|
-
</ng-template>
|
|
615
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
616
|
-
<kendo-group-toolbar-tool [adaptive]="true"></kendo-group-toolbar-tool>
|
|
617
|
-
</ng-template>
|
|
618
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
619
|
-
<button
|
|
620
|
-
kendoButton
|
|
621
|
-
size="large"
|
|
622
|
-
fillMode="solid"
|
|
623
|
-
icon="x"
|
|
624
|
-
[svgIcon]="xIcon"
|
|
625
|
-
(click)="clearGrouping()">
|
|
626
|
-
{{messageFor('groupClearButton')}}
|
|
627
|
-
</button>
|
|
628
|
-
<button
|
|
629
|
-
kendoButton
|
|
630
|
-
size="large"
|
|
631
|
-
fillMode="solid"
|
|
632
|
-
icon="check"
|
|
633
|
-
[svgIcon]="checkIcon"
|
|
634
|
-
themeColor="primary"
|
|
635
|
-
(click)="actionSheet.toggle(false)">
|
|
636
|
-
{{messageFor('groupDoneButton')}}
|
|
637
|
-
</button>
|
|
638
|
-
</ng-template>
|
|
639
|
-
</kendo-actionsheet-view>
|
|
640
|
-
}
|
|
641
|
-
</kendo-actionsheet>
|
|
642
|
-
|
|
643
|
-
<ng-template #actionSheetHeaderTemplate>
|
|
644
|
-
<div class="k-actionsheet-titlebar-group">
|
|
645
|
-
@if (adaptiveGridService.secondaryView) {
|
|
646
|
-
<div class="k-actionsheet-actions">
|
|
647
|
-
<button
|
|
648
|
-
kendoButton
|
|
649
|
-
icon="chevron-left"
|
|
650
|
-
[svgIcon]="chevronLeft"
|
|
651
|
-
fillMode="flat"
|
|
652
|
-
size="large"
|
|
653
|
-
[title]="messageFor('adaptiveBackButtonTitle')"
|
|
654
|
-
(click)="prevView()">
|
|
655
|
-
</button>
|
|
656
|
-
</div>
|
|
657
|
-
}
|
|
658
|
-
<div class="k-actionsheet-title">
|
|
659
|
-
@if (hasTitle) {
|
|
660
|
-
<div class="k-text-center">
|
|
661
|
-
{{actionSheetTitle}}
|
|
662
|
-
</div>
|
|
663
|
-
}
|
|
664
|
-
@if (hasSubtitle) {
|
|
665
|
-
<div
|
|
666
|
-
class="k-actionsheet-subtitle k-text-center">
|
|
667
|
-
{{messageFor('columnsSubtitle')}}
|
|
668
|
-
</div>
|
|
669
|
-
}
|
|
670
|
-
</div>
|
|
671
|
-
@if (hasXCloseIcon) {
|
|
672
|
-
<div class="k-actionsheet-actions">
|
|
673
|
-
<button
|
|
674
|
-
kendoButton
|
|
675
|
-
icon="x"
|
|
676
|
-
[svgIcon]="xIcon"
|
|
677
|
-
fillMode="flat"
|
|
678
|
-
size="large"
|
|
679
|
-
[title]="messageFor('adaptiveCloseButtonTitle')"
|
|
680
|
-
(click)="close()">
|
|
681
|
-
</button>
|
|
682
|
-
</div>
|
|
683
|
-
}
|
|
684
|
-
@if (hasCheckCloseIcon) {
|
|
685
|
-
<div class="k-actionsheet-actions">
|
|
686
|
-
<button
|
|
687
|
-
kendoButton
|
|
688
|
-
icon="check"
|
|
689
|
-
[svgIcon]="checkIcon"
|
|
690
|
-
fillMode="flat"
|
|
691
|
-
size="large"
|
|
692
|
-
themeColor="primary"
|
|
693
|
-
[title]="messageFor('adaptiveCloseButtonTitle')"
|
|
694
|
-
(click)="actionSheet.toggle(false)">
|
|
695
|
-
</button>
|
|
696
|
-
</div>
|
|
697
|
-
}
|
|
698
|
-
</div>
|
|
699
|
-
</ng-template>
|
|
700
|
-
|
|
701
|
-
<ng-template #actionSheetFooterTemplate>
|
|
702
|
-
<button
|
|
703
|
-
#resetButton
|
|
704
|
-
kendoButton
|
|
705
|
-
size="large"
|
|
706
|
-
fillMode="solid"
|
|
707
|
-
[svgIcon]="arrowRotateCcwIcon"
|
|
708
|
-
icon="arrow-rotate-ccw"
|
|
709
|
-
type="button"
|
|
710
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
711
|
-
'keydown.enter': cancelChanges,
|
|
712
|
-
'keydown.space': cancelChanges,
|
|
713
|
-
'keydown.tab': onTab
|
|
714
|
-
}"
|
|
715
|
-
[scope]="this">
|
|
716
|
-
{{ messageFor('columnsReset') }}
|
|
717
|
-
</button>
|
|
718
|
-
<button
|
|
719
|
-
#applyButton
|
|
720
|
-
kendoButton
|
|
721
|
-
type="button"
|
|
722
|
-
[svgIcon]="checkIcon"
|
|
723
|
-
icon="check"
|
|
724
|
-
size="large"
|
|
725
|
-
fillMode="solid"
|
|
726
|
-
themeColor="primary"
|
|
727
|
-
[kendoEventsOutsideAngular]="{click: applyChanges,
|
|
728
|
-
'keydown.enter': applyChanges,
|
|
729
|
-
'keydown.space': applyChanges
|
|
730
|
-
}"
|
|
731
|
-
[scope]="this">
|
|
732
|
-
{{ messageFor('columnsApply') }}
|
|
733
|
-
</button>
|
|
734
|
-
</ng-template>
|
|
735
|
-
|
|
736
|
-
<ng-template #filterFooterButtons>
|
|
737
|
-
<button
|
|
738
|
-
kendoButton
|
|
739
|
-
size="large"
|
|
740
|
-
fillMode="solid"
|
|
741
|
-
(click)="adaptiveGridService.resetFilter()">
|
|
742
|
-
{{messageFor('filterClearButton')}}
|
|
743
|
-
</button>
|
|
744
|
-
<button
|
|
745
|
-
kendoButton
|
|
746
|
-
size="large"
|
|
747
|
-
fillMode="solid"
|
|
748
|
-
themeColor="primary"
|
|
749
|
-
[disabled]="adaptiveGridService.filterMenuContainer.disabled"
|
|
750
|
-
(click)="adaptiveGridService.submitFilter()">
|
|
751
|
-
{{messageFor('filterFilterButton')}}
|
|
752
|
-
</button>
|
|
753
|
-
</ng-template>
|
|
754
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "component", type: ActionSheetViewComponent, selector: "kendo-actionsheet-view", inputs: ["title", "subtitle", "titleId"] }, { kind: "component", type: FilterToolbarToolComponent, selector: "kendo-filter-toolbar-tool", outputs: ["close"] }, { kind: "component", type: GroupToolbarToolComponent, selector: "kendo-group-toolbar-tool", inputs: ["adaptive"], outputs: ["close", "groupClear"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ActionSheetHeaderTemplateDirective, selector: "[kendoActionSheetHeaderTemplate]" }, { kind: "directive", type: ActionSheetContentTemplateDirective, selector: "[kendoActionSheetContentTemplate]" }, { kind: "directive", type: ActionSheetFooterTemplateDirective, selector: "[kendoActionSheetFooterTemplate]" }, { kind: "component", type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { kind: "component", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { kind: "component", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { kind: "component", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { kind: "component", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "indicatorIcon", "text", "selected", "disabled", "expanded", "focused", "service", "column"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: ColumnChooserContentComponent, selector: "kendo-grid-column-chooser-content", inputs: ["filterable", "showSelectAll", "showCheckedCount", "allowHideAll", "autoSync", "actionsClass", "closeOnReset", "columns", "isLast", "isExpanded", "service"], outputs: ["close"] }] });
|
|
755
|
-
}
|
|
756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
757
|
-
type: Component,
|
|
758
|
-
args: [{
|
|
759
|
-
selector: 'kendo-grid-adaptive-renderer',
|
|
760
|
-
template: `
|
|
761
|
-
<kendo-actionsheet
|
|
762
|
-
[cssClass]="{
|
|
763
|
-
'k-adaptive-actionsheet': true,
|
|
764
|
-
'k-actionsheet-fullscreen': adaptiveService.size === 'small',
|
|
765
|
-
'k-actionsheet-bottom': adaptiveService.size === 'medium'
|
|
766
|
-
}"
|
|
767
|
-
[cssStyle]="{
|
|
768
|
-
height: adaptiveService.size === 'small' ? '100vh' : '60vh'
|
|
769
|
-
}"
|
|
770
|
-
[overlayClickClose]="true"
|
|
771
|
-
(collapse)="adaptiveGridService.reset()">
|
|
772
|
-
|
|
773
|
-
<!-- sortToolbarTool view -->
|
|
774
|
-
@if (adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
775
|
-
<kendo-actionsheet-view>
|
|
776
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
777
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
778
|
-
</ng-container>
|
|
779
|
-
</ng-template>
|
|
780
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
781
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
782
|
-
<div class="k-columnmenu-item-wrapper">
|
|
783
|
-
@for (column of columns; track column) {
|
|
784
|
-
<kendo-grid-columnmenu-item
|
|
785
|
-
[column]="getColumnComponent(column)"
|
|
786
|
-
[text]="column.title || getColumnComponent(column).field"
|
|
787
|
-
(itemClick)="sortBy(column)">
|
|
788
|
-
</kendo-grid-columnmenu-item>
|
|
789
|
-
}
|
|
790
|
-
</div>
|
|
791
|
-
</div>
|
|
792
|
-
</ng-template>
|
|
793
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
794
|
-
<button
|
|
795
|
-
kendoButton
|
|
796
|
-
size="large"
|
|
797
|
-
fillMode="solid"
|
|
798
|
-
icon="x"
|
|
799
|
-
[svgIcon]="xIcon"
|
|
800
|
-
(click)="clearSorting()">
|
|
801
|
-
{{messageFor('sortClearButton')}}
|
|
802
|
-
</button>
|
|
803
|
-
<button
|
|
804
|
-
kendoButton
|
|
805
|
-
size="large"
|
|
806
|
-
fillMode="solid"
|
|
807
|
-
icon="check"
|
|
808
|
-
[svgIcon]="checkIcon"
|
|
809
|
-
themeColor="primary"
|
|
810
|
-
(click)="actionSheet.toggle(false)">
|
|
811
|
-
{{messageFor('sortDoneButton')}}
|
|
812
|
-
</button>
|
|
813
|
-
</ng-template>
|
|
814
|
-
</kendo-actionsheet-view>
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
<!-- columnChooserToolbarTool view -->
|
|
818
|
-
@if (adaptiveGridService.viewType === 'columnChooserToolbarTool') {
|
|
819
|
-
<kendo-actionsheet-view>
|
|
820
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
821
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
822
|
-
</ng-container>
|
|
823
|
-
</ng-template>
|
|
824
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
825
|
-
<kendo-grid-column-chooser-content
|
|
826
|
-
#columnChooserContent
|
|
827
|
-
[columns]="columns"
|
|
828
|
-
[isLast]="true"
|
|
829
|
-
[autoSync]="false"
|
|
830
|
-
[allowHideAll]="false"
|
|
831
|
-
>
|
|
832
|
-
</kendo-grid-column-chooser-content>
|
|
833
|
-
</ng-template>
|
|
834
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
835
|
-
<ng-container [ngTemplateOutlet]="actionSheetFooterTemplate">
|
|
836
|
-
</ng-container>
|
|
837
|
-
</ng-template>
|
|
838
|
-
</kendo-actionsheet-view>
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
<!-- filterToolbarTool first view -->
|
|
842
|
-
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
843
|
-
<kendo-actionsheet-view
|
|
844
|
-
[kendoEventsOutsideAngular]="{transitionend: onAnimationEnd}"
|
|
845
|
-
[scope]="this">
|
|
846
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
847
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
848
|
-
</ng-container>
|
|
849
|
-
</ng-template>
|
|
850
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
851
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
852
|
-
<kendo-filter-toolbar-tool></kendo-filter-toolbar-tool>
|
|
853
|
-
</div>
|
|
854
|
-
</ng-template>
|
|
855
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
856
|
-
<button kendoButton
|
|
857
|
-
icon="filter-clear"
|
|
858
|
-
[svgIcon]="filterClearIcon"
|
|
859
|
-
size="large"
|
|
860
|
-
(click)="clearFilters()">
|
|
861
|
-
{{messageFor('filterClearAllButton')}}
|
|
862
|
-
</button>
|
|
863
|
-
</ng-template>
|
|
864
|
-
</kendo-actionsheet-view>
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
<!-- filterToolbarTool second view -->
|
|
868
|
-
@if (adaptiveGridService.viewType === 'filterToolbarTool') {
|
|
869
|
-
<kendo-actionsheet-view>
|
|
870
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
871
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
872
|
-
</ng-container>
|
|
873
|
-
</ng-template>
|
|
874
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
875
|
-
<ng-container #filterToolbarToolTemplate></ng-container>
|
|
876
|
-
</ng-template>
|
|
877
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
878
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
879
|
-
</ng-container>
|
|
880
|
-
</ng-template>
|
|
881
|
-
</kendo-actionsheet-view>
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
<!-- filterMenu view -->
|
|
885
|
-
@if (adaptiveGridService.viewType === 'filterMenu') {
|
|
886
|
-
<kendo-actionsheet-view>
|
|
887
|
-
<ng-template kendoActionSheetHeaderTemplate >
|
|
888
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
889
|
-
</ng-container>
|
|
890
|
-
</ng-template>
|
|
891
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
892
|
-
<kendo-grid-filter-menu-container
|
|
893
|
-
#filterMenuContainer
|
|
894
|
-
[column]="adaptiveGridService.column"
|
|
895
|
-
[filter]="ctx.grid.filter"
|
|
896
|
-
(close)="close()"
|
|
897
|
-
(keydown.enter)="$event.stopImmediatePropagation()">
|
|
898
|
-
</kendo-grid-filter-menu-container>
|
|
899
|
-
</ng-template>
|
|
900
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
901
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
902
|
-
</ng-container>
|
|
903
|
-
</ng-template>
|
|
904
|
-
</kendo-actionsheet-view>
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
<!-- columnMenu first view -->
|
|
908
|
-
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
909
|
-
<kendo-actionsheet-view
|
|
910
|
-
[kendoEventsOutsideAngular]="{transitionend: onAnimationEnd}"
|
|
911
|
-
[scope]="this">
|
|
912
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
913
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
914
|
-
</ng-container>
|
|
915
|
-
</ng-template>
|
|
916
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
917
|
-
<div class="k-column-menu k-column-menu-lg">
|
|
918
|
-
<kendo-grid-columnmenu-container>
|
|
919
|
-
@if (hasSort) {
|
|
920
|
-
<kendo-grid-columnmenu-sort #sortItem [kendoGridColumnMenuItem]="sortItem" [service]="adaptiveGridService.columnMenuService">
|
|
921
|
-
</kendo-grid-columnmenu-sort>
|
|
922
|
-
}
|
|
923
|
-
@if (hasLock && !hasPosition) {
|
|
924
|
-
<kendo-grid-columnmenu-lock #lockItem [kendoGridColumnMenuItem]="lockItem" [service]="adaptiveGridService.columnMenuService">
|
|
925
|
-
</kendo-grid-columnmenu-lock>
|
|
926
|
-
}
|
|
927
|
-
@if (hasStick && !hasPosition) {
|
|
928
|
-
<kendo-grid-columnmenu-stick #stickItem [kendoGridColumnMenuItem]="stickItem" [service]="adaptiveGridService.columnMenuService">
|
|
929
|
-
</kendo-grid-columnmenu-stick>
|
|
930
|
-
}
|
|
931
|
-
@if (hasPosition) {
|
|
932
|
-
<kendo-grid-columnmenu-position
|
|
933
|
-
#positionItem
|
|
934
|
-
[showLock]="hasLock"
|
|
935
|
-
[showStick]="hasStick"
|
|
936
|
-
[kendoGridColumnMenuItem]="positionItem"
|
|
937
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
938
|
-
[expanded]="false"
|
|
939
|
-
(collapse)="navigateToPositionView()">
|
|
940
|
-
</kendo-grid-columnmenu-position>
|
|
941
|
-
}
|
|
942
|
-
@if (hasLock || hasStick || adaptiveGridService.column.sortable) {
|
|
943
|
-
<span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" class="k-separator"></span>
|
|
944
|
-
}
|
|
945
|
-
@if (hasColumnChooser) {
|
|
946
|
-
<kendo-grid-columnmenu-chooser
|
|
947
|
-
#chooserItem
|
|
948
|
-
[kendoGridColumnMenuItem]="chooserItem"
|
|
949
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
950
|
-
[expanded]="false"
|
|
951
|
-
(collapse)="navigateToColumnsView()">
|
|
952
|
-
</kendo-grid-columnmenu-chooser>
|
|
953
|
-
}
|
|
954
|
-
@if (hasAutoSizeColumn) {
|
|
955
|
-
<kendo-grid-columnmenu-autosize-column
|
|
956
|
-
#autoSizeColumnItem
|
|
957
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
958
|
-
[kendoGridColumnMenuItem]="autoSizeColumnItem"
|
|
959
|
-
[column]="adaptiveGridService.column"
|
|
960
|
-
>
|
|
961
|
-
</kendo-grid-columnmenu-autosize-column>
|
|
962
|
-
}
|
|
963
|
-
@if (hasAutoSizeAllColumns) {
|
|
964
|
-
<kendo-grid-columnmenu-autosize-all-columns
|
|
965
|
-
#autoSizeAllColumnsItem
|
|
966
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
967
|
-
[kendoGridColumnMenuItem]="autoSizeAllColumnsItem"
|
|
968
|
-
>
|
|
969
|
-
</kendo-grid-columnmenu-autosize-all-columns>
|
|
970
|
-
}
|
|
971
|
-
@if (adaptiveGridService.column.filterable) {
|
|
972
|
-
<span [style.borderColor]="'rgba(0, 0, 0, 0.08)'" class="k-separator"></span>
|
|
973
|
-
}
|
|
974
|
-
@if (hasFilter) {
|
|
975
|
-
<kendo-grid-columnmenu-filter
|
|
976
|
-
#filterItem
|
|
977
|
-
[kendoGridColumnMenuItem]="filterItem"
|
|
978
|
-
[service]="adaptiveGridService.columnMenuService"
|
|
979
|
-
[expanded]="false"
|
|
980
|
-
(collapse)="navigateToFilterView()">
|
|
981
|
-
</kendo-grid-columnmenu-filter>
|
|
982
|
-
}
|
|
983
|
-
</kendo-grid-columnmenu-container>
|
|
984
|
-
</div>
|
|
985
|
-
</ng-template>
|
|
986
|
-
</kendo-actionsheet-view>
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
<!-- columnMenu second view -->
|
|
990
|
-
@if (adaptiveGridService.viewType === 'columnMenu') {
|
|
991
|
-
<kendo-actionsheet-view>
|
|
992
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
993
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
994
|
-
</ng-container>
|
|
995
|
-
</ng-template>
|
|
996
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
997
|
-
@if (adaptiveGridService.secondaryView === 'columnChooser') {
|
|
998
|
-
<kendo-grid-column-chooser-content
|
|
999
|
-
#columnChooserContent
|
|
1000
|
-
[columns]="adaptiveGridService.columns"
|
|
1001
|
-
[isLast]="true"
|
|
1002
|
-
[autoSync]="false"
|
|
1003
|
-
[allowHideAll]="false"
|
|
1004
|
-
>
|
|
1005
|
-
</kendo-grid-column-chooser-content>
|
|
1006
|
-
}
|
|
1007
|
-
@if (adaptiveGridService.secondaryView === 'columnFilter') {
|
|
1008
|
-
<kendo-grid-filter-menu-container
|
|
1009
|
-
[column]="adaptiveGridService.column"
|
|
1010
|
-
[filter]="ctx.grid.filter"
|
|
1011
|
-
(close)="close()"
|
|
1012
|
-
[kendoEventsOutsideAngular]="{'keydown.escape': close}"
|
|
1013
|
-
[scope]="this">
|
|
1014
|
-
</kendo-grid-filter-menu-container>
|
|
1015
|
-
}
|
|
1016
|
-
@if (adaptiveGridService.secondaryView === 'columnPosition' && hasLock) {
|
|
1017
|
-
<kendo-grid-columnmenu-lock
|
|
1018
|
-
[service]="adaptiveGridService.columnMenuService">
|
|
1019
|
-
</kendo-grid-columnmenu-lock>
|
|
1020
|
-
}
|
|
1021
|
-
@if (adaptiveGridService.secondaryView === 'columnPosition' && hasStick) {
|
|
1022
|
-
<kendo-grid-columnmenu-stick
|
|
1023
|
-
[service]="adaptiveGridService.columnMenuService">
|
|
1024
|
-
</kendo-grid-columnmenu-stick>
|
|
1025
|
-
}
|
|
1026
|
-
</ng-template>
|
|
1027
|
-
@if (adaptiveGridService.secondaryView === 'columnChooser') {
|
|
1028
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
1029
|
-
<ng-container [ngTemplateOutlet]="actionSheetFooterTemplate">
|
|
1030
|
-
</ng-container>
|
|
1031
|
-
</ng-template>
|
|
1032
|
-
}
|
|
1033
|
-
@if (adaptiveGridService.secondaryView === 'columnFilter') {
|
|
1034
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
1035
|
-
<ng-container [ngTemplateOutlet]="filterFooterButtons">
|
|
1036
|
-
</ng-container>
|
|
1037
|
-
</ng-template>
|
|
1038
|
-
}
|
|
1039
|
-
</kendo-actionsheet-view>
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
<!-- external editing view -->
|
|
1043
|
-
@if (adaptiveGridService.viewType === 'externalEditing') {
|
|
1044
|
-
<kendo-actionsheet-view>
|
|
1045
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
1046
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
1047
|
-
</ng-container>
|
|
1048
|
-
</ng-template>
|
|
1049
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
1050
|
-
<kendo-grid-external-form
|
|
1051
|
-
[controls]="externalEditingSettings.formControls"
|
|
1052
|
-
[formGroup]="externalEditingSettings.formGroup"
|
|
1053
|
-
[formSettings]="externalEditingSettings.formSettings"
|
|
1054
|
-
[actionButtons]="false">
|
|
1055
|
-
</kendo-grid-external-form>
|
|
1056
|
-
</ng-template>
|
|
1057
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
1058
|
-
<button kendoButton
|
|
1059
|
-
size="large"
|
|
1060
|
-
icon="cancel"
|
|
1061
|
-
[svgIcon]="cancelIcon"
|
|
1062
|
-
(click)="actionSheet.toggle(false)">
|
|
1063
|
-
{{messageFor('externalEditingCancelText')}}
|
|
1064
|
-
</button>
|
|
1065
|
-
<button kendoButton
|
|
1066
|
-
themeColor="primary"
|
|
1067
|
-
size="large"
|
|
1068
|
-
icon="save"
|
|
1069
|
-
[svgIcon]="saveIcon"
|
|
1070
|
-
(click)="saveEditing()"
|
|
1071
|
-
[disabled]="!externalEditingSettings.formGroup.valid">
|
|
1072
|
-
{{messageFor('externalEditingSaveText')}}
|
|
1073
|
-
</button>
|
|
1074
|
-
</ng-template>
|
|
1075
|
-
</kendo-actionsheet-view>
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
|
-
<!-- groupToolbarTool view -->
|
|
1079
|
-
@if (adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
1080
|
-
<kendo-actionsheet-view>
|
|
1081
|
-
<ng-template kendoActionSheetHeaderTemplate>
|
|
1082
|
-
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
1083
|
-
</ng-container>
|
|
1084
|
-
</ng-template>
|
|
1085
|
-
<ng-template kendoActionSheetContentTemplate>
|
|
1086
|
-
<kendo-group-toolbar-tool [adaptive]="true"></kendo-group-toolbar-tool>
|
|
1087
|
-
</ng-template>
|
|
1088
|
-
<ng-template kendoActionSheetFooterTemplate>
|
|
1089
|
-
<button
|
|
1090
|
-
kendoButton
|
|
1091
|
-
size="large"
|
|
1092
|
-
fillMode="solid"
|
|
1093
|
-
icon="x"
|
|
1094
|
-
[svgIcon]="xIcon"
|
|
1095
|
-
(click)="clearGrouping()">
|
|
1096
|
-
{{messageFor('groupClearButton')}}
|
|
1097
|
-
</button>
|
|
1098
|
-
<button
|
|
1099
|
-
kendoButton
|
|
1100
|
-
size="large"
|
|
1101
|
-
fillMode="solid"
|
|
1102
|
-
icon="check"
|
|
1103
|
-
[svgIcon]="checkIcon"
|
|
1104
|
-
themeColor="primary"
|
|
1105
|
-
(click)="actionSheet.toggle(false)">
|
|
1106
|
-
{{messageFor('groupDoneButton')}}
|
|
1107
|
-
</button>
|
|
1108
|
-
</ng-template>
|
|
1109
|
-
</kendo-actionsheet-view>
|
|
1110
|
-
}
|
|
1111
|
-
</kendo-actionsheet>
|
|
1112
|
-
|
|
1113
|
-
<ng-template #actionSheetHeaderTemplate>
|
|
1114
|
-
<div class="k-actionsheet-titlebar-group">
|
|
1115
|
-
@if (adaptiveGridService.secondaryView) {
|
|
1116
|
-
<div class="k-actionsheet-actions">
|
|
1117
|
-
<button
|
|
1118
|
-
kendoButton
|
|
1119
|
-
icon="chevron-left"
|
|
1120
|
-
[svgIcon]="chevronLeft"
|
|
1121
|
-
fillMode="flat"
|
|
1122
|
-
size="large"
|
|
1123
|
-
[title]="messageFor('adaptiveBackButtonTitle')"
|
|
1124
|
-
(click)="prevView()">
|
|
1125
|
-
</button>
|
|
1126
|
-
</div>
|
|
1127
|
-
}
|
|
1128
|
-
<div class="k-actionsheet-title">
|
|
1129
|
-
@if (hasTitle) {
|
|
1130
|
-
<div class="k-text-center">
|
|
1131
|
-
{{actionSheetTitle}}
|
|
1132
|
-
</div>
|
|
1133
|
-
}
|
|
1134
|
-
@if (hasSubtitle) {
|
|
1135
|
-
<div
|
|
1136
|
-
class="k-actionsheet-subtitle k-text-center">
|
|
1137
|
-
{{messageFor('columnsSubtitle')}}
|
|
1138
|
-
</div>
|
|
1139
|
-
}
|
|
1140
|
-
</div>
|
|
1141
|
-
@if (hasXCloseIcon) {
|
|
1142
|
-
<div class="k-actionsheet-actions">
|
|
1143
|
-
<button
|
|
1144
|
-
kendoButton
|
|
1145
|
-
icon="x"
|
|
1146
|
-
[svgIcon]="xIcon"
|
|
1147
|
-
fillMode="flat"
|
|
1148
|
-
size="large"
|
|
1149
|
-
[title]="messageFor('adaptiveCloseButtonTitle')"
|
|
1150
|
-
(click)="close()">
|
|
1151
|
-
</button>
|
|
1152
|
-
</div>
|
|
1153
|
-
}
|
|
1154
|
-
@if (hasCheckCloseIcon) {
|
|
1155
|
-
<div class="k-actionsheet-actions">
|
|
1156
|
-
<button
|
|
1157
|
-
kendoButton
|
|
1158
|
-
icon="check"
|
|
1159
|
-
[svgIcon]="checkIcon"
|
|
1160
|
-
fillMode="flat"
|
|
1161
|
-
size="large"
|
|
1162
|
-
themeColor="primary"
|
|
1163
|
-
[title]="messageFor('adaptiveCloseButtonTitle')"
|
|
1164
|
-
(click)="actionSheet.toggle(false)">
|
|
1165
|
-
</button>
|
|
1166
|
-
</div>
|
|
1167
|
-
}
|
|
1168
|
-
</div>
|
|
1169
|
-
</ng-template>
|
|
1170
|
-
|
|
1171
|
-
<ng-template #actionSheetFooterTemplate>
|
|
1172
|
-
<button
|
|
1173
|
-
#resetButton
|
|
1174
|
-
kendoButton
|
|
1175
|
-
size="large"
|
|
1176
|
-
fillMode="solid"
|
|
1177
|
-
[svgIcon]="arrowRotateCcwIcon"
|
|
1178
|
-
icon="arrow-rotate-ccw"
|
|
1179
|
-
type="button"
|
|
1180
|
-
[kendoEventsOutsideAngular]="{click: cancelChanges,
|
|
1181
|
-
'keydown.enter': cancelChanges,
|
|
1182
|
-
'keydown.space': cancelChanges,
|
|
1183
|
-
'keydown.tab': onTab
|
|
1184
|
-
}"
|
|
1185
|
-
[scope]="this">
|
|
1186
|
-
{{ messageFor('columnsReset') }}
|
|
1187
|
-
</button>
|
|
1188
|
-
<button
|
|
1189
|
-
#applyButton
|
|
1190
|
-
kendoButton
|
|
1191
|
-
type="button"
|
|
1192
|
-
[svgIcon]="checkIcon"
|
|
1193
|
-
icon="check"
|
|
1194
|
-
size="large"
|
|
1195
|
-
fillMode="solid"
|
|
1196
|
-
themeColor="primary"
|
|
1197
|
-
[kendoEventsOutsideAngular]="{click: applyChanges,
|
|
1198
|
-
'keydown.enter': applyChanges,
|
|
1199
|
-
'keydown.space': applyChanges
|
|
1200
|
-
}"
|
|
1201
|
-
[scope]="this">
|
|
1202
|
-
{{ messageFor('columnsApply') }}
|
|
1203
|
-
</button>
|
|
1204
|
-
</ng-template>
|
|
1205
|
-
|
|
1206
|
-
<ng-template #filterFooterButtons>
|
|
1207
|
-
<button
|
|
1208
|
-
kendoButton
|
|
1209
|
-
size="large"
|
|
1210
|
-
fillMode="solid"
|
|
1211
|
-
(click)="adaptiveGridService.resetFilter()">
|
|
1212
|
-
{{messageFor('filterClearButton')}}
|
|
1213
|
-
</button>
|
|
1214
|
-
<button
|
|
1215
|
-
kendoButton
|
|
1216
|
-
size="large"
|
|
1217
|
-
fillMode="solid"
|
|
1218
|
-
themeColor="primary"
|
|
1219
|
-
[disabled]="adaptiveGridService.filterMenuContainer.disabled"
|
|
1220
|
-
(click)="adaptiveGridService.submitFilter()">
|
|
1221
|
-
{{messageFor('filterFilterButton')}}
|
|
1222
|
-
</button>
|
|
1223
|
-
</ng-template>
|
|
1224
|
-
`,
|
|
1225
|
-
standalone: true,
|
|
1226
|
-
imports: [
|
|
1227
|
-
NgTemplateOutlet,
|
|
1228
|
-
ActionSheetComponent,
|
|
1229
|
-
ActionSheetViewComponent,
|
|
1230
|
-
FilterToolbarToolComponent,
|
|
1231
|
-
GroupToolbarToolComponent,
|
|
1232
|
-
ButtonDirective,
|
|
1233
|
-
ActionSheetHeaderTemplateDirective,
|
|
1234
|
-
ActionSheetContentTemplateDirective,
|
|
1235
|
-
ActionSheetFooterTemplateDirective,
|
|
1236
|
-
ButtonDirective,
|
|
1237
|
-
ColumnMenuContainerComponent,
|
|
1238
|
-
ColumnMenuFilterComponent,
|
|
1239
|
-
ColumnMenuSortComponent,
|
|
1240
|
-
ColumnMenuLockComponent,
|
|
1241
|
-
ColumnMenuStickComponent,
|
|
1242
|
-
ColumnMenuPositionComponent,
|
|
1243
|
-
ColumnMenuChooserComponent,
|
|
1244
|
-
ColumnMenuAutoSizeColumnComponent,
|
|
1245
|
-
ColumnMenuAutoSizeAllColumnsComponent,
|
|
1246
|
-
ColumnMenuItemComponent,
|
|
1247
|
-
ColumnMenuItemDirective,
|
|
1248
|
-
FilterMenuContainerComponent,
|
|
1249
|
-
ColumnMenuLockComponent,
|
|
1250
|
-
EventsOutsideAngularDirective,
|
|
1251
|
-
FormComponent,
|
|
1252
|
-
ColumnChooserContentComponent
|
|
1253
|
-
]
|
|
1254
|
-
}]
|
|
1255
|
-
}], ctorParameters: () => [{ type: i1.ColumnMenuService }, { type: i2.AdaptiveGridService }, { type: i3.FilterService }, { type: i4.ContextService }, { type: i5.AdaptiveService }, { type: i6.SortService }, { type: i7.ColumnInfoService }], propDecorators: { columnChooserContent: [{
|
|
1256
|
-
type: ViewChild,
|
|
1257
|
-
args: ['columnChooserContent', { static: false }]
|
|
1258
|
-
}], filterToolbarToolTemplate: [{
|
|
1259
|
-
type: ViewChild,
|
|
1260
|
-
args: ['filterToolbarToolTemplate', { read: ViewContainerRef, static: false }]
|
|
1261
|
-
}], filterMenuContainer: [{
|
|
1262
|
-
type: ViewChild,
|
|
1263
|
-
args: ['filterMenuContainer']
|
|
1264
|
-
}], actionSheet: [{
|
|
1265
|
-
type: ViewChild,
|
|
1266
|
-
args: [ActionSheetComponent]
|
|
1267
|
-
}], groupToolbarTool: [{
|
|
1268
|
-
type: ViewChild,
|
|
1269
|
-
args: [GroupToolbarToolComponent]
|
|
1270
|
-
}] } });
|