@progress/kendo-angular-grid 17.0.0-develop.8 → 17.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/README.md +46 -36
- package/aggregates/aggregate-types.d.ts +1 -1
- package/aggregates/status-bar.component.d.ts +1 -1
- package/column-menu/column-chooser-item-checked.directive.d.ts +5 -4
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +2 -2
- package/column-menu/column-menu-autosize.component.d.ts +1 -1
- package/column-menu/column-menu-chooser.component.d.ts +1 -1
- package/column-menu/column-menu-filter.component.d.ts +1 -1
- package/column-menu/column-menu-item-base.d.ts +1 -1
- package/column-menu/column-menu-item.component.d.ts +1 -1
- package/column-menu/column-menu-item.directive.d.ts +1 -1
- package/column-menu/column-menu-position.component.d.ts +1 -1
- package/column-menu/column-menu.component.d.ts +1 -1
- package/column-resizing/column-handle.directive.d.ts +1 -1
- package/column-resizing/column-resize.interface.d.ts +3 -3
- package/column-resizing/table.directive.d.ts +1 -1
- package/columns/checkbox-column.component.d.ts +1 -1
- package/columns/column-base.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/reorder-column.component.d.ts +1 -1
- package/columns/sort-settings.d.ts +2 -2
- package/columns/span-column.component.d.ts +1 -1
- package/common/clipboard-types.d.ts +2 -2
- package/common/clipboard.directive.d.ts +1 -1
- package/common/create-form-group.d.ts +1 -1
- package/common/fetch-data-callback.d.ts +1 -1
- package/{pager → common}/pager-settings.d.ts +15 -2
- package/common/remove-confirmation.d.ts +1 -1
- package/common/size-options.d.ts +1 -1
- package/data/data.iterators.d.ts +1 -1
- package/data/grid-item.interface.d.ts +1 -1
- package/databinding.directive.d.ts +1 -1
- package/directives.d.ts +8 -21
- package/dragdrop/context-types.d.ts +1 -1
- package/dragdrop/draggable-column.directive.d.ts +1 -1
- package/dragdrop/drop-target.directive.d.ts +1 -1
- package/editing/add-command-tool.directive.d.ts +39 -0
- package/editing/edit.service.d.ts +3 -3
- package/editing-directives/editing-directive-base.d.ts +1 -1
- package/editing-directives/in-cell-editing.directive.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/editing-directives/template-editing.directive.d.ts +1 -1
- package/{esm2020 → esm2022}/aggregates/selection-aggregate.service.mjs +20 -17
- package/{esm2020 → esm2022}/aggregates/status-bar-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/aggregates/status-bar.component.mjs +10 -8
- package/esm2022/column-menu/column-chooser-item-checked.directive.mjs +45 -0
- package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +35 -23
- package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
- package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +108 -96
- package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize-all.component.mjs +6 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-autosize.component.mjs +10 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +33 -29
- package/{esm2020 → esm2022}/column-menu/column-menu-container.component.mjs +8 -5
- package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +28 -26
- package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +73 -42
- package/{esm2020 → esm2022}/column-menu/column-menu-item.directive.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-position.component.mjs +38 -28
- package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-stick.component.mjs +9 -6
- package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +97 -63
- package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +34 -10
- package/{esm2020 → esm2022}/column-menu/column-sticky-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
- package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +23 -15
- package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
- package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
- package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +24 -16
- package/{esm2020 → esm2022}/columns/column-base.mjs +188 -84
- package/{esm2020 → esm2022}/columns/column-group.component.mjs +29 -20
- package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
- package/{esm2020 → esm2022}/columns/column.component.mjs +62 -46
- package/{esm2020 → esm2022}/columns/columns-container.mjs +16 -15
- package/{esm2020 → esm2022}/columns/command-column.component.mjs +10 -8
- package/{esm2020 → esm2022}/columns/reorder-column.component.mjs +23 -12
- package/{esm2020 → esm2022}/columns/span-column.component.mjs +49 -29
- package/esm2022/common/clipboard.directive.mjs +190 -0
- package/{esm2020 → esm2022}/common/clipboard.service.mjs +12 -9
- package/{esm2020 → esm2022}/common/column-info.service.mjs +10 -10
- package/esm2022/common/dom-events.service.mjs +26 -0
- package/{esm2020 → esm2022}/common/error-messages.mjs +4 -1
- package/{esm2020 → esm2022}/common/event-emitter.mjs +1 -0
- package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
- package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/common/provider.service.mjs +10 -3
- package/{esm2020 → esm2022}/common/single-popup.service.mjs +21 -10
- package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
- package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
- package/{esm2020 → esm2022}/data/data.collection.mjs +5 -0
- package/{esm2020 → esm2022}/data/data.iterators.mjs +16 -1
- package/{esm2020 → esm2022}/databinding.directive.mjs +24 -16
- package/{esm2020 → esm2022}/directives.mjs +8 -30
- package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
- package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
- package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
- package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
- package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
- package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
- package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
- package/esm2022/editing/add-command-tool.directive.mjs +64 -0
- package/{esm2020 → esm2022}/editing/add-command.directive.mjs +9 -8
- package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/cell-close-event.mjs +21 -4
- package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/editing/edit.service.mjs +13 -8
- package/{esm2020 → esm2022}/editing/local-data-changes.service.mjs +5 -6
- package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing/save-command.directive.mjs +17 -13
- package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -9
- package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +10 -3
- package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +2 -0
- package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +9 -3
- package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +4 -3
- package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +11 -3
- package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +11 -10
- package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
- package/{esm2020 → esm2022}/excel/excel.component.mjs +66 -12
- package/{esm2020 → esm2022}/excel/excel.module.mjs +9 -7
- package/{esm2020 → esm2022}/excel/excel.service.mjs +5 -7
- package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +22 -11
- package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +24 -32
- package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +18 -15
- package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +10 -8
- package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +25 -23
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +59 -38
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +9 -9
- package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +25 -18
- package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +27 -19
- package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -38
- package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
- package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
- package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +20 -13
- package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +17 -15
- package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
- package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -23
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +24 -5
- package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +26 -21
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +46 -20
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-dropdownlist.directive.mjs +11 -9
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +5 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +14 -8
- package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +27 -6
- package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
- package/{esm2020 → esm2022}/filtering/menu/menu-tabbing.service.mjs +9 -8
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +51 -15
- package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +42 -37
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +25 -16
- package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +36 -21
- package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
- package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
- package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
- package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
- package/{esm2020 → esm2022}/grid.component.mjs +648 -396
- package/esm2022/grid.module.mjs +216 -0
- package/{esm2020 → esm2022}/grouping/group-footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-column-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/grouping/group-header.component.mjs +25 -16
- package/{esm2020 → esm2022}/grouping/group-info.service.mjs +1 -3
- package/{esm2020 → esm2022}/grouping/group-panel.component.mjs +71 -53
- package/{esm2020 → esm2022}/grouping/group-scroll-binding.directive.mjs +11 -9
- package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
- package/{esm2020 → esm2022}/index.mjs +6 -24
- package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
- package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
- package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
- package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
- package/{esm2020 → esm2022}/layout/sizing-options.service.mjs +4 -6
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
- package/esm2022/localization/messages.mjs +591 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
- package/{esm2020 → esm2022}/navigation/focus-group.mjs +10 -9
- package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
- package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +23 -17
- package/{esm2020 → esm2022}/navigation/grid-focusable-element.mjs +1 -0
- package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
- package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +38 -23
- package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +18 -12
- package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
- package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +12 -4
- package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
- package/{esm2020 → esm2022}/navigation/navigation.service.mjs +49 -29
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pdf/grid-query.mjs +4 -0
- package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
- package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
- package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
- package/{esm2020 → esm2022}/pdf/pdf.component.mjs +39 -12
- package/{esm2020 → esm2022}/pdf/pdf.module.mjs +5 -4
- package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/cell-loading.template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/cell.component.mjs +64 -75
- package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +8 -9
- package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +10 -8
- package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
- package/{esm2020 → esm2022}/rendering/details/detail-collapse-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-expand-event.mjs +8 -0
- package/{esm2020 → esm2022}/rendering/details/detail-template.directive.mjs +8 -7
- package/{esm2020 → esm2022}/rendering/details/details.service.mjs +6 -7
- package/{esm2020 → esm2022}/rendering/details-expand.directive.mjs +28 -25
- package/{esm2020 → esm2022}/rendering/footer/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/footer/footer.component.mjs +19 -15
- package/{esm2020 → esm2022}/rendering/grid-table.directive.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/groups-expand.directive.mjs +21 -18
- package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/header/header.component.mjs +78 -55
- package/{esm2020 → esm2022}/rendering/list.component.mjs +99 -52
- package/{esm2020 → esm2022}/rendering/loading-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/rendering/table-body.component.mjs +60 -29
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +8 -7
- package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +17 -13
- package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -10
- package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +5 -2
- package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
- package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
- package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -1
- package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
- package/{esm2020 → esm2022}/selection/cell-selection.service.mjs +31 -20
- package/{esm2020 → esm2022}/selection/marquee.directive.mjs +16 -4
- package/{esm2020 → esm2022}/selection/pair-set.mjs +16 -16
- package/esm2022/selection/selectall-checkbox.directive.mjs +144 -0
- package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +36 -15
- package/{esm2020 → esm2022}/selection/selection-default.mjs +46 -25
- package/{esm2020 → esm2022}/selection/selection.directive.mjs +4 -3
- package/{esm2020 → esm2022}/selection/selection.service.mjs +31 -18
- package/excel/excel-command-tool.directive.d.ts +41 -0
- package/excel/excel-command.directive.d.ts +1 -1
- package/excel/excel.component.d.ts +1 -1
- package/excel/excel.module.d.ts +3 -2
- package/{fesm2020 → fesm2022}/progress-kendo-angular-grid.mjs +5338 -5029
- package/filtering/base-filter-cell.component.d.ts +5 -1
- package/filtering/boolean-filter.component.d.ts +2 -17
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
- package/filtering/cell/date-filter-cell.component.d.ts +1 -1
- package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
- package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
- package/filtering/cell/filter-cell.component.d.ts +1 -1
- package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/date-filter.component.d.ts +2 -11
- package/filtering/filter-host.directive.d.ts +2 -2
- package/filtering/filter-input-wrapper.component.d.ts +1 -2
- package/filtering/filter-input.directive.d.ts +1 -1
- package/filtering/filter-row.component.d.ts +1 -1
- package/filtering/filterable.d.ts +1 -1
- package/filtering/menu/boolean-filter-menu.component.d.ts +3 -2
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/date-filter-menu.component.d.ts +1 -7
- package/filtering/menu/filter-menu-container.component.d.ts +1 -1
- package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
- package/filtering/menu/filter-menu.component.d.ts +1 -1
- package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -7
- package/filtering/numeric-filter.component.d.ts +2 -11
- package/filtering/operators/filter-operator.base.d.ts +1 -1
- package/filtering/string-filter.component.d.ts +2 -11
- package/grid.component.d.ts +5 -6
- package/grid.module.d.ts +94 -101
- package/grouping/group-header.component.d.ts +1 -1
- package/grouping/group-panel.component.d.ts +1 -1
- package/grouping/group-scroll-binding.directive.d.ts +1 -1
- package/index.d.ts +7 -27
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +10 -6
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/logical-cell.directive.d.ts +1 -1
- package/navigation/logical-row.directive.d.ts +1 -1
- package/navigation/navigable-settings.d.ts +2 -2
- package/navigation/navigation.service.d.ts +1 -1
- package/package.json +29 -33
- package/pdf/pdf-command-tool.directive.d.ts +41 -0
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +2 -1
- package/rendering/cell.component.d.ts +1 -1
- package/rendering/common/cell-context.d.ts +1 -1
- package/rendering/common/col-group.component.d.ts +1 -1
- package/rendering/common/loading.component.d.ts +1 -1
- package/rendering/common/row-class.d.ts +4 -4
- package/rendering/common/spacer.component.d.ts +1 -1
- package/rendering/details/detail-template.directive.d.ts +2 -2
- package/rendering/details-expand.directive.d.ts +1 -1
- package/rendering/footer/footer.component.d.ts +1 -1
- package/rendering/grid-table.directive.d.ts +1 -1
- package/rendering/groups-expand.directive.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -1
- package/rendering/list.component.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -1
- package/rendering/toolbar/toolbar-position.d.ts +1 -1
- package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
- package/rendering/toolbar/toolbar.component.d.ts +1 -1
- package/row-reordering/types.d.ts +1 -1
- package/schematics/ngAdd/index.js +5 -5
- package/scrolling/scroll-sync.service.d.ts +1 -1
- package/scrolling/scroller.service.d.ts +1 -1
- package/scrolling/scrollmode.d.ts +1 -1
- package/selection/cell-selection.service.d.ts +1 -1
- package/selection/selectall-checkbox.directive.d.ts +9 -7
- package/selection/selection-checkbox.directive.d.ts +6 -5
- package/selection/selection-default.d.ts +1 -1
- package/selection/selection.service.d.ts +1 -1
- package/selection/types.d.ts +4 -4
- package/utils.d.ts +1 -1
- package/esm2020/column-menu/column-chooser-item-checked.directive.mjs +0 -39
- package/esm2020/common/clipboard.directive.mjs +0 -186
- package/esm2020/common/dom-events.service.mjs +0 -28
- package/esm2020/filtering/cell/row-filtering.module.mjs +0 -112
- package/esm2020/filtering/menu/filter-menu.module.mjs +0 -116
- package/esm2020/filtering/shared-filtering.module.mjs +0 -92
- package/esm2020/grid.module.mjs +0 -219
- package/esm2020/grouping/group.module.mjs +0 -53
- package/esm2020/localization/messages.mjs +0 -187
- package/esm2020/pager/pager-context.service.mjs +0 -41
- package/esm2020/pager/pager-dropdown.directive.mjs +0 -39
- package/esm2020/pager/pager-element.component.mjs +0 -109
- package/esm2020/pager/pager-info.component.mjs +0 -76
- package/esm2020/pager/pager-input.component.mjs +0 -142
- package/esm2020/pager/pager-input.directive.mjs +0 -30
- package/esm2020/pager/pager-next-buttons.component.mjs +0 -114
- package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -257
- package/esm2020/pager/pager-page-sizes.component.mjs +0 -145
- package/esm2020/pager/pager-prev-buttons.component.mjs +0 -116
- package/esm2020/pager/pager-template.directive.mjs +0 -48
- package/esm2020/pager/pager.component.mjs +0 -457
- package/esm2020/pager/pager.module.mjs +0 -51
- package/esm2020/pager/pagesize-item.interface.mjs +0 -5
- package/esm2020/rendering/body.module.mjs +0 -88
- package/esm2020/rendering/footer/footer.module.mjs +0 -41
- package/esm2020/rendering/header/header.module.mjs +0 -152
- package/esm2020/selection/selectall-checkbox.directive.mjs +0 -115
- package/esm2020/shared.module.mjs +0 -41
- package/fesm2015/progress-kendo-angular-grid.mjs +0 -28474
- package/filtering/cell/row-filtering.module.d.ts +0 -59
- package/filtering/menu/filter-menu.module.d.ts +0 -63
- package/filtering/shared-filtering.module.d.ts +0 -49
- package/grouping/group.module.d.ts +0 -38
- package/pager/pager-context.service.d.ts +0 -30
- package/pager/pager-dropdown.directive.d.ts +0 -18
- package/pager/pager-element.component.d.ts +0 -79
- package/pager/pager-info.component.d.ts +0 -43
- package/pager/pager-input.component.d.ts +0 -45
- package/pager/pager-input.directive.d.ts +0 -18
- package/pager/pager-next-buttons.component.d.ts +0 -28
- package/pager/pager-numeric-buttons.component.d.ts +0 -52
- package/pager/pager-page-sizes.component.d.ts +0 -49
- package/pager/pager-prev-buttons.component.d.ts +0 -28
- package/pager/pager-template.directive.d.ts +0 -38
- package/pager/pager.component.d.ts +0 -80
- package/pager/pager.module.d.ts +0 -37
- package/pager/pagesize-item.interface.d.ts +0 -14
- package/rendering/body.module.d.ts +0 -50
- package/rendering/footer/footer.module.d.ts +0 -30
- package/rendering/header/header.module.d.ts +0 -101
- package/shared.module.d.ts +0 -29
- /package/{esm2020 → esm2022}/aggregates/aggregate-types.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/column-menu-expandable-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
- /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/clipboard-types.mjs +0 -0
- /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
- /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
- /package/{esm2020 → esm2022}/common/fetch-data-callback.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
- /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
- /package/{esm2020/pager → esm2022/common}/pager-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
- /package/{esm2020 → esm2022}/common/size-options.mjs +0 -0
- /package/{esm2020 → esm2022}/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/grid-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-footer-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/data/group-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
- /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/edit-row-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/local-row-edit.service.mjs +0 -0
- /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
- /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-key.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-rows-args.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/group-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/grouping/virtual-group-result.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigable-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
- /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
- /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/cell-context.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-args.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/rendering/toolbar/toolbar-position.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
- /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/types.mjs +0 -0
- /package/{esm2020 → esm2022}/utils.mjs +0 -0
|
@@ -33,21 +33,48 @@ const createDiv = (className) => {
|
|
|
33
33
|
* Configures the settings for the export of Grid in PDF ([see example]({% slug pdfexport_grid %})).
|
|
34
34
|
*/
|
|
35
35
|
export class PDFComponent extends PDFExportComponent {
|
|
36
|
+
pdfService;
|
|
37
|
+
suspendService;
|
|
38
|
+
ngZone;
|
|
39
|
+
ctx;
|
|
40
|
+
/**
|
|
41
|
+
* Exports all Grid pages, starting from the first one.
|
|
42
|
+
*/
|
|
43
|
+
allPages;
|
|
44
|
+
/**
|
|
45
|
+
* The delay in milliseconds before exporting the Grid content.
|
|
46
|
+
* Useful for scenarios which involve exporting complex components used in the Grid
|
|
47
|
+
* templates such as charts or data-bound components with asynchronous data retrieval ([see example]({% slug pdfexport_grid %}#toc-exporting-all-pages)).
|
|
48
|
+
*
|
|
49
|
+
* @default 0
|
|
50
|
+
*/
|
|
51
|
+
delay = 0;
|
|
52
|
+
columns = new QueryList();
|
|
53
|
+
/**
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
marginComponent;
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
pageTemplateDirective;
|
|
61
|
+
progress;
|
|
62
|
+
component;
|
|
63
|
+
container;
|
|
64
|
+
skip;
|
|
65
|
+
pageSize;
|
|
66
|
+
originalHeight;
|
|
67
|
+
originalOverflow;
|
|
68
|
+
saveSubscription;
|
|
69
|
+
drawSubscription;
|
|
70
|
+
renderAllPages;
|
|
71
|
+
originalColumns;
|
|
36
72
|
constructor(pdfService, suspendService, ngZone, element, ctx) {
|
|
37
73
|
super(element);
|
|
38
74
|
this.pdfService = pdfService;
|
|
39
75
|
this.suspendService = suspendService;
|
|
40
76
|
this.ngZone = ngZone;
|
|
41
77
|
this.ctx = ctx;
|
|
42
|
-
/**
|
|
43
|
-
* The delay in milliseconds before exporting the Grid content.
|
|
44
|
-
* Useful for scenarios which involve exporting complex components used in the Grid
|
|
45
|
-
* templates such as charts or data-bound components with asynchronous data retrieval ([see example]({% slug pdfexport_grid %}#toc-exporting-all-pages)).
|
|
46
|
-
*
|
|
47
|
-
* @default 0
|
|
48
|
-
*/
|
|
49
|
-
this.delay = 0;
|
|
50
|
-
this.columns = new QueryList();
|
|
51
78
|
this.saveSubscription = pdfService.savePDF.subscribe(this.savePDF.bind(this));
|
|
52
79
|
this.drawSubscription = pdfService.drawPDF.subscribe(this.drawPDF.bind(this));
|
|
53
80
|
this.reset = this.reset.bind(this);
|
|
@@ -237,10 +264,10 @@ export class PDFComponent extends PDFExportComponent {
|
|
|
237
264
|
onStable.subscribe(callback);
|
|
238
265
|
}, 0);
|
|
239
266
|
}
|
|
267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i2.SuspendService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ContextService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
268
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PDFComponent, isStandalone: true, selector: "kendo-grid-pdf", inputs: { allPages: "allPages", delay: "delay" }, queries: [{ propertyName: "marginComponent", first: true, predicate: PDFMarginComponent, descendants: true }, { propertyName: "pageTemplateDirective", first: true, predicate: PDFTemplateDirective, descendants: true }, { propertyName: "columns", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
240
269
|
}
|
|
241
|
-
|
|
242
|
-
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFComponent, isStandalone: true, selector: "kendo-grid-pdf", inputs: { allPages: "allPages", delay: "delay" }, queries: [{ propertyName: "marginComponent", first: true, predicate: PDFMarginComponent, descendants: true }, { propertyName: "pageTemplateDirective", first: true, predicate: PDFTemplateDirective, descendants: true }, { propertyName: "columns", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFComponent, decorators: [{
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFComponent, decorators: [{
|
|
244
271
|
type: Component,
|
|
245
272
|
args: [{
|
|
246
273
|
selector: 'kendo-grid-pdf',
|
|
@@ -11,6 +11,7 @@ import * as i2 from "./pdf.component";
|
|
|
11
11
|
import * as i3 from "./pdf-margin.component";
|
|
12
12
|
import * as i4 from "./pdf-command.directive";
|
|
13
13
|
import * as i5 from "./pdf-template.directive";
|
|
14
|
+
import * as i6 from "./pdf-command-tool.directive";
|
|
14
15
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
15
16
|
/**
|
|
16
17
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -35,11 +36,11 @@ import * as i5 from "./pdf-template.directive";
|
|
|
35
36
|
* ```
|
|
36
37
|
*/
|
|
37
38
|
export class PDFModule {
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
40
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PDFModule, imports: [i1.IconComponent, i1.SVGIconComponent, i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective, i6.PDFCommandToolbarDirective], exports: [i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective, i6.PDFCommandToolbarDirective] });
|
|
41
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [KENDO_ICONS, i4.PDFCommandDirective] });
|
|
38
42
|
}
|
|
39
|
-
|
|
40
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, imports: [i1.IconComponent, i1.SVGIconComponent, i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective], exports: [i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective, i5.PDFTemplateDirective] });
|
|
41
|
-
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [KENDO_ICONS, i2.PDFComponent, i3.PDFMarginComponent, i4.PDFCommandDirective] });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, decorators: [{
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFModule, decorators: [{
|
|
43
44
|
type: NgModule,
|
|
44
45
|
args: [{
|
|
45
46
|
imports: [...KENDO_ICONS, ...KENDO_GRID_PDF_EXPORT],
|
|
@@ -9,12 +9,11 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export class PDFService {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
12
|
+
savePDF = new EventEmitter();
|
|
13
|
+
drawPDF = new EventEmitter();
|
|
14
|
+
exportClick = new EventEmitter();
|
|
15
|
+
dataChanged = new EventEmitter();
|
|
16
|
+
exporting;
|
|
18
17
|
save(component) {
|
|
19
18
|
this.emitEvent(this.savePDF, component);
|
|
20
19
|
}
|
|
@@ -34,9 +33,9 @@ export class PDFService {
|
|
|
34
33
|
emitter.emit(args);
|
|
35
34
|
}
|
|
36
35
|
}
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
37
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFService });
|
|
37
38
|
}
|
|
38
|
-
|
|
39
|
-
PDFService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFService });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFService, decorators: [{
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFService, decorators: [{
|
|
41
40
|
type: Injectable
|
|
42
41
|
}] });
|
|
@@ -24,13 +24,14 @@ import * as i0 from "@angular/core";
|
|
|
24
24
|
* ```
|
|
25
25
|
*/
|
|
26
26
|
export class CellLoadingTemplateDirective {
|
|
27
|
+
templateRef;
|
|
27
28
|
constructor(templateRef) {
|
|
28
29
|
this.templateRef = templateRef;
|
|
29
30
|
}
|
|
31
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellLoadingTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CellLoadingTemplateDirective, isStandalone: true, selector: "[kendoGridCellLoadingTemplate]", ngImport: i0 });
|
|
30
33
|
}
|
|
31
|
-
|
|
32
|
-
CellLoadingTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellLoadingTemplateDirective, isStandalone: true, selector: "[kendoGridCellLoadingTemplate]", ngImport: i0 });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellLoadingTemplateDirective, decorators: [{
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellLoadingTemplateDirective, decorators: [{
|
|
34
35
|
type: Directive,
|
|
35
36
|
args: [{
|
|
36
37
|
selector: '[kendoGridCellLoadingTemplate]',
|
|
@@ -27,13 +27,14 @@ import * as i0 from "@angular/core";
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export class CellTemplateDirective {
|
|
30
|
+
templateRef;
|
|
30
31
|
constructor(templateRef) {
|
|
31
32
|
this.templateRef = templateRef;
|
|
32
33
|
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CellTemplateDirective, isStandalone: true, selector: "[kendoGridCellTemplate]", ngImport: i0 });
|
|
33
36
|
}
|
|
34
|
-
|
|
35
|
-
CellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CellTemplateDirective, isStandalone: true, selector: "[kendoGridCellTemplate]", ngImport: i0 });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellTemplateDirective, decorators: [{
|
|
37
38
|
type: Directive,
|
|
38
39
|
args: [{
|
|
39
40
|
selector: '[kendoGridCellTemplate]',
|
|
@@ -19,7 +19,7 @@ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
|
19
19
|
import { SelectionCheckboxDirective } from '../selection/selection-checkbox.directive';
|
|
20
20
|
import { FocusableDirective } from '../navigation/focusable.directive';
|
|
21
21
|
import { NgSwitch, NgSwitchCase, NgIf, NgTemplateOutlet, NgFor, NgSwitchDefault } from '@angular/common';
|
|
22
|
-
import { NumericTextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
22
|
+
import { CheckBoxComponent, NumericTextBoxComponent, TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
23
23
|
import { DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
24
24
|
import * as i0 from "@angular/core";
|
|
25
25
|
import * as i1 from "../editing/edit.service";
|
|
@@ -30,18 +30,10 @@ import * as i4 from "@angular/forms";
|
|
|
30
30
|
* @hidden
|
|
31
31
|
*/
|
|
32
32
|
export class CellComponent {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this.cellContext = cellContext;
|
|
38
|
-
this.isNew = false;
|
|
39
|
-
this.isLoading = false;
|
|
40
|
-
this.isVirtual = false;
|
|
41
|
-
this.reorderIcon = reorderIcon;
|
|
42
|
-
this._templateContext = {};
|
|
43
|
-
this._editTemplateContext = {};
|
|
44
|
-
}
|
|
33
|
+
editService;
|
|
34
|
+
idService;
|
|
35
|
+
ctx;
|
|
36
|
+
cellContext;
|
|
45
37
|
get commandCellClass() {
|
|
46
38
|
return this.isCommand(this.column);
|
|
47
39
|
}
|
|
@@ -51,6 +43,12 @@ export class CellComponent {
|
|
|
51
43
|
get dragRowHandleLabel() {
|
|
52
44
|
return isRowReorderColumn(this.column) ? this.ctx.localization.get('dragRowHandleLabel') : undefined;
|
|
53
45
|
}
|
|
46
|
+
column;
|
|
47
|
+
columnIndex;
|
|
48
|
+
isNew = false;
|
|
49
|
+
isLoading = false;
|
|
50
|
+
isVirtual = false;
|
|
51
|
+
loadingTemplate;
|
|
54
52
|
set rowIndex(index) {
|
|
55
53
|
this._rowIndex = index;
|
|
56
54
|
this.updateCellContext();
|
|
@@ -58,6 +56,8 @@ export class CellComponent {
|
|
|
58
56
|
get rowIndex() {
|
|
59
57
|
return this._rowIndex;
|
|
60
58
|
}
|
|
59
|
+
dataItem;
|
|
60
|
+
reorderIcon = reorderIcon;
|
|
61
61
|
get isEdited() {
|
|
62
62
|
if (!(this.editService.isEditing() || this.isNew) || !this.isColumnEditable) {
|
|
63
63
|
return false;
|
|
@@ -113,12 +113,21 @@ export class CellComponent {
|
|
|
113
113
|
get isRowSelectable() {
|
|
114
114
|
return this.column.rowSelectable(this._rowIndex);
|
|
115
115
|
}
|
|
116
|
+
_rowIndex;
|
|
116
117
|
get isColumnEditable() {
|
|
117
118
|
if (!this.column || this.isCommand(this.column)) {
|
|
118
119
|
return false;
|
|
119
120
|
}
|
|
120
121
|
return this.column.editable !== false;
|
|
121
122
|
}
|
|
123
|
+
_templateContext = {};
|
|
124
|
+
_editTemplateContext = {};
|
|
125
|
+
constructor(editService, idService, ctx, cellContext) {
|
|
126
|
+
this.editService = editService;
|
|
127
|
+
this.idService = idService;
|
|
128
|
+
this.ctx = ctx;
|
|
129
|
+
this.cellContext = cellContext;
|
|
130
|
+
}
|
|
122
131
|
ngDoCheck() {
|
|
123
132
|
this.updateCellContext();
|
|
124
133
|
}
|
|
@@ -157,9 +166,8 @@ export class CellComponent {
|
|
|
157
166
|
context.columnIndex = this.columnIndex;
|
|
158
167
|
context.$implicit = this.dataItem;
|
|
159
168
|
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CellComponent, isStandalone: true, selector: "[kendoGridCell]", inputs: { column: "column", columnIndex: "columnIndex", isNew: "isNew", isLoading: "isLoading", isVirtual: "isVirtual", loadingTemplate: "loadingTemplate", rowIndex: "rowIndex", dataItem: "dataItem" }, host: { properties: { "class.k-command-cell": "this.commandCellClass", "class.k-drag-cell": "this.dragHandleCellClass", "class.k-touch-action-none": "this.dragHandleCellClass", "attr.aria-label": "this.dragRowHandleLabel" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellComponent, deps: [{ token: i1.EditService }, { token: i2.IdService }, { token: i3.ContextService }, { token: CELL_CONTEXT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
170
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CellComponent, isStandalone: true, selector: "[kendoGridCell]", inputs: { column: "column", columnIndex: "columnIndex", isNew: "isNew", isLoading: "isLoading", isVirtual: "isVirtual", loadingTemplate: "loadingTemplate", rowIndex: "rowIndex", dataItem: "dataItem" }, host: { properties: { "class.k-command-cell": "this.commandCellClass", "class.k-drag-cell": "this.dragHandleCellClass", "class.k-touch-action-none": "this.dragHandleCellClass", "attr.aria-label": "this.dragRowHandleLabel" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
163
171
|
<ng-container [ngSwitch]="isEdited">
|
|
164
172
|
<ng-container *ngSwitchCase="false">
|
|
165
173
|
<ng-container *ngIf="!showLoading; else loading">
|
|
@@ -175,23 +183,19 @@ CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
175
183
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
|
176
184
|
<ng-container *ngIf="isCheckboxColumn && !isNew">
|
|
177
185
|
<ng-container *ngIf="isRowSelectable; else nonSelectableRow">
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
[attr.aria-label]="selectionCheckboxLabel" />
|
|
184
|
-
</span>
|
|
186
|
+
<kendo-checkbox
|
|
187
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
188
|
+
[attr.id]="selectionCheckboxId"
|
|
189
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}">
|
|
190
|
+
</kendo-checkbox>
|
|
185
191
|
</ng-container>
|
|
186
192
|
<ng-template #nonSelectableRow>
|
|
187
|
-
<
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
[disabled]="true" />
|
|
194
|
-
</span>
|
|
193
|
+
<kendo-checkbox *ngIf="column.showDisabledCheckbox"
|
|
194
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
195
|
+
[attr.id]="selectionCheckboxId"
|
|
196
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}"
|
|
197
|
+
[disabled]="true"
|
|
198
|
+
></kendo-checkbox>
|
|
195
199
|
</ng-template>
|
|
196
200
|
</ng-container>
|
|
197
201
|
<ng-container *ngIf="isRowReorderColumn && !isNew">
|
|
@@ -231,28 +235,23 @@ CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
231
235
|
kendoGridFocusable
|
|
232
236
|
></kendo-datepicker>
|
|
233
237
|
|
|
234
|
-
<
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
[formControl]="$any(formGroup.get(column.field))"
|
|
240
|
-
kendoGridFocusable
|
|
241
|
-
/>
|
|
242
|
-
</span>
|
|
238
|
+
<kendo-checkbox
|
|
239
|
+
*ngSwitchCase="'boolean'"
|
|
240
|
+
[formControl]="$any(formGroup.get(column.field))"
|
|
241
|
+
kendoGridFocusable
|
|
242
|
+
></kendo-checkbox>
|
|
243
243
|
|
|
244
|
-
<
|
|
244
|
+
<kendo-textbox
|
|
245
245
|
*ngSwitchDefault
|
|
246
|
-
type="text"
|
|
247
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
|
248
246
|
[formControl]="$any(formGroup.get(column.field))"
|
|
249
247
|
kendoGridFocusable
|
|
250
|
-
|
|
248
|
+
></kendo-textbox>
|
|
251
249
|
</ng-container>
|
|
252
250
|
</ng-container>
|
|
253
251
|
</ng-container>
|
|
254
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: 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", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.
|
|
255
|
-
|
|
252
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { kind: "directive", type: SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "component", type: 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", "title", "subtitle", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode", "adaptiveMode"], outputs: ["valueChange", "focus", "blur", "open", "close", "escape"], exportAs: ["kendo-datepicker"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: FieldAccessorPipe, name: "valueOf" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }] });
|
|
253
|
+
}
|
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellComponent, decorators: [{
|
|
256
255
|
type: Component,
|
|
257
256
|
args: [{
|
|
258
257
|
selector: '[kendoGridCell]',
|
|
@@ -272,23 +271,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
272
271
|
<ng-container *ngIf="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-container>
|
|
273
272
|
<ng-container *ngIf="isCheckboxColumn && !isNew">
|
|
274
273
|
<ng-container *ngIf="isRowSelectable; else nonSelectableRow">
|
|
275
|
-
<
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
[attr.aria-label]="selectionCheckboxLabel" />
|
|
281
|
-
</span>
|
|
274
|
+
<kendo-checkbox
|
|
275
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
276
|
+
[attr.id]="selectionCheckboxId"
|
|
277
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}">
|
|
278
|
+
</kendo-checkbox>
|
|
282
279
|
</ng-container>
|
|
283
280
|
<ng-template #nonSelectableRow>
|
|
284
|
-
<
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
[disabled]="true" />
|
|
291
|
-
</span>
|
|
281
|
+
<kendo-checkbox *ngIf="column.showDisabledCheckbox"
|
|
282
|
+
[kendoGridSelectionCheckbox]="rowIndex"
|
|
283
|
+
[attr.id]="selectionCheckboxId"
|
|
284
|
+
[inputAttributes]="{'aria-label': selectionCheckboxLabel}"
|
|
285
|
+
[disabled]="true"
|
|
286
|
+
></kendo-checkbox>
|
|
292
287
|
</ng-template>
|
|
293
288
|
</ng-container>
|
|
294
289
|
<ng-container *ngIf="isRowReorderColumn && !isNew">
|
|
@@ -328,30 +323,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
328
323
|
kendoGridFocusable
|
|
329
324
|
></kendo-datepicker>
|
|
330
325
|
|
|
331
|
-
<
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
[formControl]="$any(formGroup.get(column.field))"
|
|
337
|
-
kendoGridFocusable
|
|
338
|
-
/>
|
|
339
|
-
</span>
|
|
326
|
+
<kendo-checkbox
|
|
327
|
+
*ngSwitchCase="'boolean'"
|
|
328
|
+
[formControl]="$any(formGroup.get(column.field))"
|
|
329
|
+
kendoGridFocusable
|
|
330
|
+
></kendo-checkbox>
|
|
340
331
|
|
|
341
|
-
<
|
|
332
|
+
<kendo-textbox
|
|
342
333
|
*ngSwitchDefault
|
|
343
|
-
type="text"
|
|
344
|
-
class="k-textbox k-input k-input-md k-input-solid k-rounded-md"
|
|
345
334
|
[formControl]="$any(formGroup.get(column.field))"
|
|
346
335
|
kendoGridFocusable
|
|
347
|
-
|
|
336
|
+
></kendo-textbox>
|
|
348
337
|
</ng-container>
|
|
349
338
|
</ng-container>
|
|
350
339
|
</ng-container>
|
|
351
340
|
`,
|
|
352
341
|
standalone: true,
|
|
353
342
|
imports: [NgSwitch, NgSwitchCase, NgIf, NgTemplateOutlet, NgFor, FocusableDirective, SelectionCheckboxDirective,
|
|
354
|
-
IconWrapperComponent, NumericTextBoxComponent, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, ReactiveFormsModule]
|
|
343
|
+
IconWrapperComponent, NumericTextBoxComponent, DatePickerComponent, NgSwitchDefault, FieldAccessorPipe, ReactiveFormsModule, CheckBoxComponent, TextBoxComponent]
|
|
355
344
|
}]
|
|
356
345
|
}], ctorParameters: function () { return [{ type: i1.EditService }, { type: i2.IdService }, { type: i3.ContextService }, { type: undefined, decorators: [{
|
|
357
346
|
type: Optional
|
|
@@ -12,11 +12,10 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
export class ColGroupComponent {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
15
|
+
columns = [];
|
|
16
|
+
groups = [];
|
|
17
|
+
detailTemplate;
|
|
18
|
+
sort = new Array();
|
|
20
19
|
get columnsToRender() {
|
|
21
20
|
return columnsToRender(this.columns);
|
|
22
21
|
}
|
|
@@ -36,9 +35,8 @@ export class ColGroupComponent {
|
|
|
36
35
|
sortDescriptor(field) {
|
|
37
36
|
return this.sort.find(item => item.field === field) || { field };
|
|
38
37
|
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
ColGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColGroupComponent, isStandalone: true, selector: "[kendoGridColGroup]", inputs: { columns: "columns", groups: "groups", detailTemplate: "detailTemplate", sort: "sort" }, ngImport: i0, template: `
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColGroupComponent, isStandalone: true, selector: "[kendoGridColGroup]", inputs: { columns: "columns", groups: "groups", detailTemplate: "detailTemplate", sort: "sort" }, ngImport: i0, template: `
|
|
42
40
|
<ng-container>
|
|
43
41
|
<col [class.k-group-col]="true" *ngFor="let g of groups" />
|
|
44
42
|
<col [class.k-hierarchy-col]="true" *ngIf="detailTemplate?.templateRef"/>
|
|
@@ -47,7 +45,8 @@ ColGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
|
47
45
|
[class.k-sorted]="isSorted(getColumnComponent(column))"/>
|
|
48
46
|
</ng-container>
|
|
49
47
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
50
|
-
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColGroupComponent, decorators: [{
|
|
51
50
|
type: Component,
|
|
52
51
|
args: [{
|
|
53
52
|
selector: '[kendoGridColGroup]',
|
|
@@ -13,6 +13,7 @@ const FORMAT_REGEX = /\{\d+:?/;
|
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
15
|
export class FieldAccessorPipe {
|
|
16
|
+
intlService;
|
|
16
17
|
constructor(intlService) {
|
|
17
18
|
this.intlService = intlService;
|
|
18
19
|
}
|
|
@@ -33,10 +34,10 @@ export class FieldAccessorPipe {
|
|
|
33
34
|
}
|
|
34
35
|
return intl.toString(value, format);
|
|
35
36
|
}
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FieldAccessorPipe, deps: [{ token: i1.IntlService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
38
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: FieldAccessorPipe, isStandalone: true, name: "valueOf", pure: false });
|
|
36
39
|
}
|
|
37
|
-
|
|
38
|
-
FieldAccessorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FieldAccessorPipe, isStandalone: true, name: "valueOf", pure: false });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FieldAccessorPipe, decorators: [{
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FieldAccessorPipe, decorators: [{
|
|
40
41
|
type: Pipe,
|
|
41
42
|
args: [{
|
|
42
43
|
// eslint-disable-next-line @angular-eslint/pipe-prefix
|
|
@@ -12,16 +12,17 @@ import * as i1 from "../../common/provider.service";
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
export class LoadingComponent {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
15
|
+
ctx;
|
|
16
|
+
hostClass = true;
|
|
17
|
+
loadingTemplate;
|
|
19
18
|
get loadingText() {
|
|
20
19
|
return this.ctx.localization.get('loading');
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
constructor(ctx) {
|
|
22
|
+
this.ctx = ctx;
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: LoadingComponent, isStandalone: true, selector: "[kendoGridLoading]", inputs: { loadingTemplate: "loadingTemplate" }, host: { properties: { "class.k-loading-mask": "this.hostClass" } }, ngImport: i0, template: `
|
|
25
26
|
<ng-container *ngIf="!loadingTemplate">
|
|
26
27
|
<span class="k-loading-text">{{ loadingText }}</span>
|
|
27
28
|
<div class="k-loading-image"></div>
|
|
@@ -30,7 +31,8 @@ LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
|
30
31
|
<ng-template *ngIf="loadingTemplate" [ngTemplateOutlet]="loadingTemplate?.templateRef">
|
|
31
32
|
</ng-template>
|
|
32
33
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
33
|
-
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LoadingComponent, decorators: [{
|
|
34
36
|
type: Component,
|
|
35
37
|
args: [{
|
|
36
38
|
selector: '[kendoGridLoading]',
|
|
@@ -13,22 +13,27 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* ([see example](slug:toolbartemplate_grid#toc-defining-the-spacing-between-toolbar-elements)).
|
|
14
14
|
*/
|
|
15
15
|
export class GridSpacerComponent {
|
|
16
|
-
|
|
17
|
-
this.hostClass = true;
|
|
18
|
-
}
|
|
16
|
+
hostClass = true;
|
|
19
17
|
get sizedClass() {
|
|
20
18
|
return isPresent(this.width);
|
|
21
19
|
}
|
|
22
20
|
get flexBasisStyle() {
|
|
23
21
|
return this.width;
|
|
24
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Specifies the width of the GridSpacer.
|
|
25
|
+
* Accepts the [string values of the CSS `flex-basis` property](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis).
|
|
26
|
+
*
|
|
27
|
+
* If not set, the GridSpacer will take all the available space.
|
|
28
|
+
*/
|
|
29
|
+
width;
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GridSpacerComponent, isStandalone: true, selector: "kendo-grid-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass", "style.flexBasis": "this.flexBasisStyle" } }, ngImport: i0, template: ``, isInline: true });
|
|
25
32
|
}
|
|
26
|
-
|
|
27
|
-
GridSpacerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GridSpacerComponent, isStandalone: true, selector: "kendo-grid-spacer, kendo-pager-spacer", inputs: { width: "width" }, host: { properties: { "class.k-spacer": "this.hostClass", "class.k-spacer-sized": "this.sizedClass", "style.flexBasis": "this.flexBasisStyle" } }, ngImport: i0, template: ``, isInline: true });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GridSpacerComponent, decorators: [{
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridSpacerComponent, decorators: [{
|
|
29
34
|
type: Component,
|
|
30
35
|
args: [{
|
|
31
|
-
selector: 'kendo-grid-spacer
|
|
36
|
+
selector: 'kendo-grid-spacer',
|
|
32
37
|
template: ``,
|
|
33
38
|
standalone: true
|
|
34
39
|
}]
|
|
@@ -7,6 +7,14 @@ import { PreventableEvent } from '../../common/preventable-event';
|
|
|
7
7
|
* Arguments for the `detailCollapse` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DetailCollapseEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The collapsed row `dataItem`.
|
|
12
|
+
*/
|
|
13
|
+
dataItem;
|
|
14
|
+
/**
|
|
15
|
+
* The collapsed row index.
|
|
16
|
+
*/
|
|
17
|
+
index;
|
|
10
18
|
constructor(args) {
|
|
11
19
|
super();
|
|
12
20
|
Object.assign(this, args);
|
|
@@ -7,6 +7,14 @@ import { PreventableEvent } from '../../common/preventable-event';
|
|
|
7
7
|
* Arguments for the `detailExpand` event.
|
|
8
8
|
*/
|
|
9
9
|
export class DetailExpandEvent extends PreventableEvent {
|
|
10
|
+
/**
|
|
11
|
+
* The expanded row `dataItem`.
|
|
12
|
+
*/
|
|
13
|
+
dataItem;
|
|
14
|
+
/**
|
|
15
|
+
* The expanded row index.
|
|
16
|
+
*/
|
|
17
|
+
index;
|
|
10
18
|
constructor(args) {
|
|
11
19
|
super();
|
|
12
20
|
Object.assign(this, args);
|