@progress/kendo-angular-grid 21.4.1 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,102 +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 { DialogActionsComponent, DialogContentBase, DialogRef } from '@progress/kendo-angular-dialog';
|
|
7
|
-
import { FormComponent } from './form.component';
|
|
8
|
-
import { FormGroup } from '@angular/forms';
|
|
9
|
-
import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
10
|
-
import { cancelIcon, saveIcon } from '@progress/kendo-svg-icons';
|
|
11
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "@progress/kendo-angular-dialog";
|
|
14
|
-
import * as i2 from "@progress/kendo-angular-l10n";
|
|
15
|
-
import * as i3 from "@progress/kendo-angular-buttons";
|
|
16
|
-
/**
|
|
17
|
-
* @hidden
|
|
18
|
-
*/
|
|
19
|
-
export class DialogFormComponent extends DialogContentBase {
|
|
20
|
-
localization;
|
|
21
|
-
controls;
|
|
22
|
-
formGroup;
|
|
23
|
-
formSettings;
|
|
24
|
-
saveIcon = saveIcon;
|
|
25
|
-
cancelIcon = cancelIcon;
|
|
26
|
-
constructor(dialogRef, localization) {
|
|
27
|
-
super(dialogRef);
|
|
28
|
-
this.localization = localization;
|
|
29
|
-
}
|
|
30
|
-
save() {
|
|
31
|
-
this.dialog.close({ text: this.localization.get('externalEditingSaveText') });
|
|
32
|
-
}
|
|
33
|
-
cancel() {
|
|
34
|
-
this.dialog.close({ text: this.localization.get('externalEditingCancelText') });
|
|
35
|
-
}
|
|
36
|
-
messageFor(key) {
|
|
37
|
-
return this.localization.get(key);
|
|
38
|
-
}
|
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DialogFormComponent, deps: [{ token: i1.DialogRef }, { token: i2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DialogFormComponent, isStandalone: true, selector: "kendo-grid-dialog-form", inputs: { controls: "controls", formGroup: "formGroup", formSettings: "formSettings" }, usesInheritance: true, ngImport: i0, template: `
|
|
41
|
-
<kendo-grid-external-form
|
|
42
|
-
[controls]="controls"
|
|
43
|
-
[formGroup]="formGroup"
|
|
44
|
-
[formSettings]="formSettings"
|
|
45
|
-
[actionButtons]="false"></kendo-grid-external-form>
|
|
46
|
-
<kendo-dialog-actions [layout]="this.dialog?.dialog?.instance?.actionsLayout">
|
|
47
|
-
<button
|
|
48
|
-
kendoButton
|
|
49
|
-
themeColor="primary"
|
|
50
|
-
[svgIcon]="saveIcon"
|
|
51
|
-
[disabled]="!formGroup.valid"
|
|
52
|
-
(click)="save()"
|
|
53
|
-
>
|
|
54
|
-
{{messageFor('externalEditingSaveText')}}
|
|
55
|
-
</button>
|
|
56
|
-
<button
|
|
57
|
-
kendoButton
|
|
58
|
-
[svgIcon]="cancelIcon"
|
|
59
|
-
(click)="cancel()">
|
|
60
|
-
{{messageFor('externalEditingCancelText')}}
|
|
61
|
-
</button>
|
|
62
|
-
</kendo-dialog-actions>
|
|
63
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i3.ButtonComponent, 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"] }] });
|
|
64
|
-
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DialogFormComponent, decorators: [{
|
|
66
|
-
type: Component,
|
|
67
|
-
args: [{
|
|
68
|
-
selector: 'kendo-grid-dialog-form',
|
|
69
|
-
standalone: true,
|
|
70
|
-
imports: [FormComponent, DialogActionsComponent, KENDO_BUTTON],
|
|
71
|
-
template: `
|
|
72
|
-
<kendo-grid-external-form
|
|
73
|
-
[controls]="controls"
|
|
74
|
-
[formGroup]="formGroup"
|
|
75
|
-
[formSettings]="formSettings"
|
|
76
|
-
[actionButtons]="false"></kendo-grid-external-form>
|
|
77
|
-
<kendo-dialog-actions [layout]="this.dialog?.dialog?.instance?.actionsLayout">
|
|
78
|
-
<button
|
|
79
|
-
kendoButton
|
|
80
|
-
themeColor="primary"
|
|
81
|
-
[svgIcon]="saveIcon"
|
|
82
|
-
[disabled]="!formGroup.valid"
|
|
83
|
-
(click)="save()"
|
|
84
|
-
>
|
|
85
|
-
{{messageFor('externalEditingSaveText')}}
|
|
86
|
-
</button>
|
|
87
|
-
<button
|
|
88
|
-
kendoButton
|
|
89
|
-
[svgIcon]="cancelIcon"
|
|
90
|
-
(click)="cancel()">
|
|
91
|
-
{{messageFor('externalEditingCancelText')}}
|
|
92
|
-
</button>
|
|
93
|
-
</kendo-dialog-actions>
|
|
94
|
-
`
|
|
95
|
-
}]
|
|
96
|
-
}], ctorParameters: () => [{ type: i1.DialogRef }, { type: i2.LocalizationService }], propDecorators: { controls: [{
|
|
97
|
-
type: Input
|
|
98
|
-
}], formGroup: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}], formSettings: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}] } });
|
|
@@ -1,188 +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 { KeyValuePipe } from '@angular/common';
|
|
6
|
-
import { ChangeDetectorRef, Component, Input, ViewChild } from '@angular/core';
|
|
7
|
-
import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
8
|
-
import { KENDO_DATEPICKER } from '@progress/kendo-angular-dateinputs';
|
|
9
|
-
import { KENDO_CHECKBOX, KENDO_FORMFIELD, KENDO_NUMERICTEXTBOX, KENDO_TEXTBOX } from '@progress/kendo-angular-inputs';
|
|
10
|
-
import { KENDO_LABELS } from '@progress/kendo-angular-label';
|
|
11
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
12
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
13
|
-
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
16
|
-
import * as i2 from "@angular/forms";
|
|
17
|
-
import * as i3 from "@progress/kendo-angular-label";
|
|
18
|
-
import * as i4 from "@progress/kendo-angular-inputs";
|
|
19
|
-
import * as i5 from "@progress/kendo-angular-dateinputs";
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
export class FormFormFieldComponent {
|
|
24
|
-
localization;
|
|
25
|
-
cdr;
|
|
26
|
-
control;
|
|
27
|
-
floatingLabel;
|
|
28
|
-
showError;
|
|
29
|
-
input;
|
|
30
|
-
constructor(localization, cdr) {
|
|
31
|
-
this.localization = localization;
|
|
32
|
-
this.cdr = cdr;
|
|
33
|
-
}
|
|
34
|
-
// required to avoid ExpressionChangedAfterItHasBeenCheckedError caused by
|
|
35
|
-
// binding to the label's 'for' attribute dynamically
|
|
36
|
-
ngAfterContentInit() {
|
|
37
|
-
this.cdr.detectChanges();
|
|
38
|
-
}
|
|
39
|
-
messageFor(key, errorName, field) {
|
|
40
|
-
return replaceMessagePlaceholder(replaceMessagePlaceholder(this.localization.get(key), 'fieldName', field), 'errorName', errorName);
|
|
41
|
-
}
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormFormFieldComponent, deps: [{ token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormFormFieldComponent, isStandalone: true, selector: "kendo-form-formfield", inputs: { control: "control", floatingLabel: "floatingLabel", showError: "showError" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: `
|
|
44
|
-
<kendo-formfield
|
|
45
|
-
[orientation]="control.orientation">
|
|
46
|
-
@if (control.label && floatingLabel && $any(control.dataType) !== 'boolean') {
|
|
47
|
-
<kendo-floatinglabel
|
|
48
|
-
labelCssClass="k-form-label"
|
|
49
|
-
[text]="control.label">
|
|
50
|
-
@if ($any(control.dataType) === 'text') {
|
|
51
|
-
<kendo-textbox
|
|
52
|
-
[formControl]="control.formControl"></kendo-textbox>
|
|
53
|
-
}
|
|
54
|
-
@if ($any(control.dataType) === 'numeric') {
|
|
55
|
-
<kendo-numerictextbox
|
|
56
|
-
[formControl]="control.formControl"></kendo-numerictextbox>
|
|
57
|
-
}
|
|
58
|
-
@if ($any(control.dataType) === 'date') {
|
|
59
|
-
<kendo-datepicker
|
|
60
|
-
[formControl]="control.formControl"></kendo-datepicker>
|
|
61
|
-
}
|
|
62
|
-
</kendo-floatinglabel>
|
|
63
|
-
}
|
|
64
|
-
@if (control.label && !floatingLabel && $any(control.dataType) !== 'boolean') {
|
|
65
|
-
<kendo-label [style.align-items]="'start'"
|
|
66
|
-
labelCssClass="k-form-label"
|
|
67
|
-
[text]="control.label"
|
|
68
|
-
[for]="input">
|
|
69
|
-
</kendo-label>
|
|
70
|
-
}
|
|
71
|
-
@if (!floatingLabel && (control.dataType) === 'text') {
|
|
72
|
-
<kendo-textbox #input
|
|
73
|
-
[formControl]="control.formControl"></kendo-textbox>
|
|
74
|
-
}
|
|
75
|
-
@if (!floatingLabel && $any(control.dataType) === 'numeric') {
|
|
76
|
-
<kendo-numerictextbox #input
|
|
77
|
-
[formControl]="control.formControl"></kendo-numerictextbox>
|
|
78
|
-
}
|
|
79
|
-
@if (!floatingLabel && $any(control.dataType) === 'date') {
|
|
80
|
-
<kendo-datepicker #input
|
|
81
|
-
[formControl]="control.formControl"></kendo-datepicker>
|
|
82
|
-
}
|
|
83
|
-
@if (control.label && $any(control.dataType) === 'boolean') {
|
|
84
|
-
<div
|
|
85
|
-
class="k-form-field-checkbox-wrap">
|
|
86
|
-
<kendo-checkbox #cb [formControl]="control.formControl"></kendo-checkbox>
|
|
87
|
-
@if (control.label) {
|
|
88
|
-
<kendo-label
|
|
89
|
-
class="k-checkbox-label"
|
|
90
|
-
[for]="cb"
|
|
91
|
-
[text]="control.label">
|
|
92
|
-
</kendo-label>
|
|
93
|
-
}
|
|
94
|
-
</div>
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
@if (control?.hint) {
|
|
98
|
-
<kendo-formhint>{{control.hint}}</kendo-formhint>
|
|
99
|
-
}
|
|
100
|
-
@if (showError && control.formControl?.invalid && control.formControl.touched) {
|
|
101
|
-
@for (err of control?.formControl?.errors | keyvalue; track err) {
|
|
102
|
-
<kendo-formerror>{{control.errors ? control.errors[err.key] : messageFor('formValidationError', err.key, control.name)}}</kendo-formerror>
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
</kendo-formfield>
|
|
106
|
-
`, isInline: true, dependencies: [{ kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: i3.FloatingLabelComponent, selector: "kendo-floatinglabel", inputs: ["labelCssStyle", "labelCssClass", "id", "text", "optional"], outputs: ["positionChange"], exportAs: ["kendoFloatingLabel"] }, { kind: "component", type: i4.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { kind: "component", type: i4.HintComponent, selector: "kendo-formhint", inputs: ["align"] }, { kind: "component", type: i4.ErrorComponent, selector: "kendo-formerror", inputs: ["align"] }, { kind: "component", type: i4.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: "component", type: i4.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: "component", type: i4.CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["focusableId", "cellTemplate", "clearButton", "inputAttributes", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "footer", "navigationItemTemplate", "weekDaysFormat", "showOtherMonthDays", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "adaptiveTitle", "adaptiveSubtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }] });
|
|
107
|
-
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormFormFieldComponent, decorators: [{
|
|
109
|
-
type: Component,
|
|
110
|
-
args: [{
|
|
111
|
-
selector: 'kendo-form-formfield',
|
|
112
|
-
standalone: true,
|
|
113
|
-
imports: [KeyValuePipe, ReactiveFormsModule, KENDO_LABELS, KENDO_FORMFIELD, KENDO_TEXTBOX, KENDO_NUMERICTEXTBOX, KENDO_BUTTON, KENDO_CHECKBOX, KENDO_DATEPICKER],
|
|
114
|
-
template: `
|
|
115
|
-
<kendo-formfield
|
|
116
|
-
[orientation]="control.orientation">
|
|
117
|
-
@if (control.label && floatingLabel && $any(control.dataType) !== 'boolean') {
|
|
118
|
-
<kendo-floatinglabel
|
|
119
|
-
labelCssClass="k-form-label"
|
|
120
|
-
[text]="control.label">
|
|
121
|
-
@if ($any(control.dataType) === 'text') {
|
|
122
|
-
<kendo-textbox
|
|
123
|
-
[formControl]="control.formControl"></kendo-textbox>
|
|
124
|
-
}
|
|
125
|
-
@if ($any(control.dataType) === 'numeric') {
|
|
126
|
-
<kendo-numerictextbox
|
|
127
|
-
[formControl]="control.formControl"></kendo-numerictextbox>
|
|
128
|
-
}
|
|
129
|
-
@if ($any(control.dataType) === 'date') {
|
|
130
|
-
<kendo-datepicker
|
|
131
|
-
[formControl]="control.formControl"></kendo-datepicker>
|
|
132
|
-
}
|
|
133
|
-
</kendo-floatinglabel>
|
|
134
|
-
}
|
|
135
|
-
@if (control.label && !floatingLabel && $any(control.dataType) !== 'boolean') {
|
|
136
|
-
<kendo-label [style.align-items]="'start'"
|
|
137
|
-
labelCssClass="k-form-label"
|
|
138
|
-
[text]="control.label"
|
|
139
|
-
[for]="input">
|
|
140
|
-
</kendo-label>
|
|
141
|
-
}
|
|
142
|
-
@if (!floatingLabel && (control.dataType) === 'text') {
|
|
143
|
-
<kendo-textbox #input
|
|
144
|
-
[formControl]="control.formControl"></kendo-textbox>
|
|
145
|
-
}
|
|
146
|
-
@if (!floatingLabel && $any(control.dataType) === 'numeric') {
|
|
147
|
-
<kendo-numerictextbox #input
|
|
148
|
-
[formControl]="control.formControl"></kendo-numerictextbox>
|
|
149
|
-
}
|
|
150
|
-
@if (!floatingLabel && $any(control.dataType) === 'date') {
|
|
151
|
-
<kendo-datepicker #input
|
|
152
|
-
[formControl]="control.formControl"></kendo-datepicker>
|
|
153
|
-
}
|
|
154
|
-
@if (control.label && $any(control.dataType) === 'boolean') {
|
|
155
|
-
<div
|
|
156
|
-
class="k-form-field-checkbox-wrap">
|
|
157
|
-
<kendo-checkbox #cb [formControl]="control.formControl"></kendo-checkbox>
|
|
158
|
-
@if (control.label) {
|
|
159
|
-
<kendo-label
|
|
160
|
-
class="k-checkbox-label"
|
|
161
|
-
[for]="cb"
|
|
162
|
-
[text]="control.label">
|
|
163
|
-
</kendo-label>
|
|
164
|
-
}
|
|
165
|
-
</div>
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
@if (control?.hint) {
|
|
169
|
-
<kendo-formhint>{{control.hint}}</kendo-formhint>
|
|
170
|
-
}
|
|
171
|
-
@if (showError && control.formControl?.invalid && control.formControl.touched) {
|
|
172
|
-
@for (err of control?.formControl?.errors | keyvalue; track err) {
|
|
173
|
-
<kendo-formerror>{{control.errors ? control.errors[err.key] : messageFor('formValidationError', err.key, control.name)}}</kendo-formerror>
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
</kendo-formfield>
|
|
177
|
-
`
|
|
178
|
-
}]
|
|
179
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }], propDecorators: { control: [{
|
|
180
|
-
type: Input
|
|
181
|
-
}], floatingLabel: [{
|
|
182
|
-
type: Input
|
|
183
|
-
}], showError: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}], input: [{
|
|
186
|
-
type: ViewChild,
|
|
187
|
-
args: ['input']
|
|
188
|
-
}] } });
|
|
@@ -1,169 +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, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
-
import { ReactiveFormsModule, FormGroup } from '@angular/forms';
|
|
7
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
8
|
-
import { KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
9
|
-
import { cancelIcon, saveIcon } from '@progress/kendo-svg-icons';
|
|
10
|
-
import { FormFormFieldComponent } from './form-formfield.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
import * as i1 from "@angular/forms";
|
|
13
|
-
import * as i2 from "@progress/kendo-angular-buttons";
|
|
14
|
-
let idx = 0;
|
|
15
|
-
/**
|
|
16
|
-
* @hidden
|
|
17
|
-
*/
|
|
18
|
-
export class FormComponent {
|
|
19
|
-
controls = [];
|
|
20
|
-
set formSettings(value) {
|
|
21
|
-
this._formSettings = { ...this._formSettings, ...value };
|
|
22
|
-
}
|
|
23
|
-
get formSettings() {
|
|
24
|
-
return this._formSettings;
|
|
25
|
-
}
|
|
26
|
-
formGroup;
|
|
27
|
-
set actionButtons(value) {
|
|
28
|
-
if (typeof value === 'boolean') {
|
|
29
|
-
this.normalizeActionButtonSettings(value);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
this._actionButtons = value;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
get actionButtons() {
|
|
36
|
-
return this._actionButtons;
|
|
37
|
-
}
|
|
38
|
-
formSubmit = new EventEmitter();
|
|
39
|
-
get componentIndex() {
|
|
40
|
-
return idx++;
|
|
41
|
-
}
|
|
42
|
-
_formSettings = {
|
|
43
|
-
orientation: 'vertical',
|
|
44
|
-
showErrors: true,
|
|
45
|
-
floatingLabels: false
|
|
46
|
-
};
|
|
47
|
-
defaultActionButtons = [{
|
|
48
|
-
actionType: 'submit',
|
|
49
|
-
text: 'Submit',
|
|
50
|
-
svgIcon: saveIcon,
|
|
51
|
-
icon: 'save',
|
|
52
|
-
themeColor: 'primary'
|
|
53
|
-
}, {
|
|
54
|
-
actionType: 'reset',
|
|
55
|
-
svgIcon: cancelIcon,
|
|
56
|
-
text: 'Reset',
|
|
57
|
-
icon: 'cancel'
|
|
58
|
-
}];
|
|
59
|
-
_actionButtons = this.defaultActionButtons;
|
|
60
|
-
ngOnInit() {
|
|
61
|
-
idx++;
|
|
62
|
-
}
|
|
63
|
-
normalizeActionButtonSettings(value) {
|
|
64
|
-
this._actionButtons = value ? this.defaultActionButtons : [];
|
|
65
|
-
}
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormComponent, isStandalone: true, selector: "kendo-grid-external-form", inputs: { controls: "controls", formSettings: "formSettings", formGroup: "formGroup", actionButtons: "actionButtons" }, outputs: { formSubmit: "formSubmit" }, ngImport: i0, template: `
|
|
68
|
-
<div role="form"
|
|
69
|
-
class="k-form k-form-md"
|
|
70
|
-
[class.k-form-horizontal]="formSettings.orientation === 'horizontal'"
|
|
71
|
-
[formGroup]="formGroup"
|
|
72
|
-
(ngSubmit)="formSubmit.next({originalEvent: $event, formGroup})"
|
|
73
|
-
(reset)="$event.preventDefault()">
|
|
74
|
-
@for (control of controls; track control; let idx = $index) {
|
|
75
|
-
@if (!control.template) {
|
|
76
|
-
<kendo-form-formfield
|
|
77
|
-
[control]="control"
|
|
78
|
-
[showError]="formSettings.showErrors"
|
|
79
|
-
[floatingLabel]="formSettings.floatingLabels"></kendo-form-formfield>
|
|
80
|
-
} @else {
|
|
81
|
-
<ng-container
|
|
82
|
-
[ngTemplateOutlet]="control.template"
|
|
83
|
-
[ngTemplateOutletContext]="control.templateContext"></ng-container>
|
|
84
|
-
}
|
|
85
|
-
<ng-template #template>
|
|
86
|
-
<ng-container
|
|
87
|
-
[ngTemplateOutlet]="control.template"
|
|
88
|
-
[ngTemplateOutletContext]="control.templateContext"></ng-container>
|
|
89
|
-
</ng-template>
|
|
90
|
-
}
|
|
91
|
-
@if ($any(actionButtons).length) {
|
|
92
|
-
<div class="k-form-buttons">
|
|
93
|
-
@for (button of $any(actionButtons); track button) {
|
|
94
|
-
<button kendoButton
|
|
95
|
-
[class.k-form-submit]="button.actionType === 'submit'"
|
|
96
|
-
[size]="button.size"
|
|
97
|
-
[themeColor]="button.themeColor || button.actionType === 'submit' ? 'primary' : undefined"
|
|
98
|
-
[rounded]="button.rounded"
|
|
99
|
-
[attr.type]="button.actionType"
|
|
100
|
-
[svgIcon]="button.svgIcon"
|
|
101
|
-
[icon]="button.icon">
|
|
102
|
-
{{button.text}}
|
|
103
|
-
</button>
|
|
104
|
-
}
|
|
105
|
-
</div>
|
|
106
|
-
}
|
|
107
|
-
</div>
|
|
108
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormFormFieldComponent, selector: "kendo-form-formfield", inputs: ["control", "floatingLabel", "showError"] }, { kind: "component", type: i2.ButtonComponent, 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"] }] });
|
|
109
|
-
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormComponent, decorators: [{
|
|
111
|
-
type: Component,
|
|
112
|
-
args: [{
|
|
113
|
-
selector: 'kendo-grid-external-form',
|
|
114
|
-
standalone: true,
|
|
115
|
-
template: `
|
|
116
|
-
<div role="form"
|
|
117
|
-
class="k-form k-form-md"
|
|
118
|
-
[class.k-form-horizontal]="formSettings.orientation === 'horizontal'"
|
|
119
|
-
[formGroup]="formGroup"
|
|
120
|
-
(ngSubmit)="formSubmit.next({originalEvent: $event, formGroup})"
|
|
121
|
-
(reset)="$event.preventDefault()">
|
|
122
|
-
@for (control of controls; track control; let idx = $index) {
|
|
123
|
-
@if (!control.template) {
|
|
124
|
-
<kendo-form-formfield
|
|
125
|
-
[control]="control"
|
|
126
|
-
[showError]="formSettings.showErrors"
|
|
127
|
-
[floatingLabel]="formSettings.floatingLabels"></kendo-form-formfield>
|
|
128
|
-
} @else {
|
|
129
|
-
<ng-container
|
|
130
|
-
[ngTemplateOutlet]="control.template"
|
|
131
|
-
[ngTemplateOutletContext]="control.templateContext"></ng-container>
|
|
132
|
-
}
|
|
133
|
-
<ng-template #template>
|
|
134
|
-
<ng-container
|
|
135
|
-
[ngTemplateOutlet]="control.template"
|
|
136
|
-
[ngTemplateOutletContext]="control.templateContext"></ng-container>
|
|
137
|
-
</ng-template>
|
|
138
|
-
}
|
|
139
|
-
@if ($any(actionButtons).length) {
|
|
140
|
-
<div class="k-form-buttons">
|
|
141
|
-
@for (button of $any(actionButtons); track button) {
|
|
142
|
-
<button kendoButton
|
|
143
|
-
[class.k-form-submit]="button.actionType === 'submit'"
|
|
144
|
-
[size]="button.size"
|
|
145
|
-
[themeColor]="button.themeColor || button.actionType === 'submit' ? 'primary' : undefined"
|
|
146
|
-
[rounded]="button.rounded"
|
|
147
|
-
[attr.type]="button.actionType"
|
|
148
|
-
[svgIcon]="button.svgIcon"
|
|
149
|
-
[icon]="button.icon">
|
|
150
|
-
{{button.text}}
|
|
151
|
-
</button>
|
|
152
|
-
}
|
|
153
|
-
</div>
|
|
154
|
-
}
|
|
155
|
-
</div>
|
|
156
|
-
`,
|
|
157
|
-
imports: [NgTemplateOutlet, ReactiveFormsModule, FormFormFieldComponent, KENDO_BUTTON],
|
|
158
|
-
}]
|
|
159
|
-
}], propDecorators: { controls: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], formSettings: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], formGroup: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], actionButtons: [{
|
|
166
|
-
type: Input
|
|
167
|
-
}], formSubmit: [{
|
|
168
|
-
type: Output
|
|
169
|
-
}] } });
|
|
@@ -1,8 +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
|
-
export * from './models';
|
|
6
|
-
export * from './form.component';
|
|
7
|
-
export * from './dialog-form.component';
|
|
8
|
-
export * from './form-formfield.component';
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,18 +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 { Injectable, EventEmitter } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class LocalDataChangesService {
|
|
11
|
-
changes = new EventEmitter();
|
|
12
|
-
data;
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService });
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalDataChangesService, decorators: [{
|
|
17
|
-
type: Injectable
|
|
18
|
-
}] });
|
|
@@ -1,61 +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 { ChangeDetectorRef, Directive, NgZone } from '@angular/core';
|
|
6
|
-
import { EditService } from './edit.service';
|
|
7
|
-
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { SelectionService } from '../selection/selection.service';
|
|
9
|
-
import { ContextService } from '../common/provider.service';
|
|
10
|
-
import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
|
|
11
|
-
import { ToolbarToolName } from '../navigation/toolbar-tool-name';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
import * as i1 from "./edit.service";
|
|
14
|
-
import * as i2 from "@progress/kendo-angular-toolbar";
|
|
15
|
-
import * as i3 from "../selection/selection.service";
|
|
16
|
-
import * as i4 from "../common/provider.service";
|
|
17
|
-
/**
|
|
18
|
-
* Represents the `remove` command in the Grid. Apply this directive to any `kendo-toolbar-button`
|
|
19
|
-
* element inside a ToolbarComponent used in the Grid.
|
|
20
|
-
*
|
|
21
|
-
* When you click the toolbar button with this directive, the
|
|
22
|
-
* [`remove`]({% slug api_grid_gridcomponent %}#toc-remove) event fires.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```html
|
|
26
|
-
* <kendo-grid>
|
|
27
|
-
* <kendo-toolbar>
|
|
28
|
-
* <kendo-toolbar-button text="Remove row" kendoGridRemoveTool></kendo-toolbar-button>
|
|
29
|
-
* </kendo-toolbar>
|
|
30
|
-
* </kendo-grid>
|
|
31
|
-
* ```
|
|
32
|
-
* @remarks
|
|
33
|
-
* Applied to: {@link ToolBarButtonComponent}.
|
|
34
|
-
*/
|
|
35
|
-
export class RemoveCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
36
|
-
editService;
|
|
37
|
-
selection;
|
|
38
|
-
constructor(editService, host, selection, ctx, zone, cdr) {
|
|
39
|
-
super(host, ToolbarToolName.remove, ctx, zone, cdr, editService, selection);
|
|
40
|
-
this.editService = editService;
|
|
41
|
-
this.selection = selection;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
onClick(e) {
|
|
47
|
-
e.preventDefault();
|
|
48
|
-
if (this.isSelectionPresent) {
|
|
49
|
-
this.editService.remove(this.lastSelectionIndex);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RemoveCommandToolbarDirective, deps: [{ token: i1.EditService }, { token: i2.ToolBarButtonComponent }, { token: i3.SelectionService }, { token: i4.ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
53
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: RemoveCommandToolbarDirective, isStandalone: true, selector: "[kendoGridRemoveTool]", usesInheritance: true, ngImport: i0 });
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RemoveCommandToolbarDirective, decorators: [{
|
|
56
|
-
type: Directive,
|
|
57
|
-
args: [{
|
|
58
|
-
selector: '[kendoGridRemoveTool]',
|
|
59
|
-
standalone: true
|
|
60
|
-
}]
|
|
61
|
-
}], ctorParameters: () => [{ type: i1.EditService }, { type: i2.ToolBarButtonComponent }, { type: i3.SelectionService }, { type: i4.ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }] });
|