@progress/kendo-angular-grid 17.0.0-develop.3 → 17.0.0-develop.31
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 +1 -1
- package/column-menu/column-chooser.component.d.ts +1 -1
- package/column-menu/column-list.component.d.ts +1 -1
- 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/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 -5
- 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/{esm2020 → esm2022}/column-menu/column-chooser-item-checked.directive.mjs +7 -4
- package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +36 -24
- package/{esm2020 → esm2022}/column-menu/column-list-kb-nav.service.mjs +6 -4
- package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +51 -32
- 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 -2
- 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 +5 -4
- 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 +25 -24
- 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 +60 -39
- 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/row-filtering.module.mjs +18 -18
- package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -17
- 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 +13 -7
- package/{esm2020 → esm2022}/filtering/filter.service.mjs +14 -10
- package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +25 -13
- 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-menu.module.mjs +18 -18
- 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 +14 -5
- 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/shared-filtering.module.mjs +18 -18
- package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
- package/{esm2020 → esm2022}/grid.component.mjs +480 -365
- package/esm2022/grid.module.mjs +221 -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 +23 -14
- 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/group.module.mjs +4 -4
- package/{esm2020 → esm2022}/grouping/groups.service.mjs +6 -7
- package/{esm2020 → esm2022}/index.mjs +6 -3
- 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 +585 -0
- package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
- 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 +47 -27
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/pager/pager-context.service.mjs +5 -4
- package/{esm2020 → esm2022}/pager/pager-dropdown.directive.mjs +10 -9
- package/{esm2020 → esm2022}/pager/pager-element.component.mjs +27 -20
- package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
- package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
- package/{esm2020 → esm2022}/pager/pager-input.directive.mjs +5 -3
- package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +10 -9
- package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +19 -9
- package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
- package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +6 -5
- package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/pager/pager.component.mjs +82 -68
- package/{esm2020 → esm2022}/pager/pager.module.mjs +4 -4
- 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/body.module.mjs +18 -17
- 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 +25 -16
- 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 +11 -6
- 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 +17 -13
- package/{esm2020 → esm2022}/rendering/footer/footer.module.mjs +4 -4
- 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 +61 -35
- package/{esm2020 → esm2022}/rendering/header/header.module.mjs +18 -18
- package/{esm2020 → esm2022}/rendering/list.component.mjs +95 -48
- 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 +50 -17
- 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 +26 -12
- 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/{esm2020 → esm2022}/selection/selectall-checkbox.directive.mjs +26 -16
- package/{esm2020 → esm2022}/selection/selection-checkbox.directive.mjs +19 -7
- 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/{esm2020 → esm2022}/shared.module.mjs +4 -4
- 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 +5040 -3031
- package/filtering/base-filter-cell.component.d.ts +5 -1
- package/filtering/boolean-filter.component.d.ts +2 -13
- 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 +1 -1
- 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 +1 -1
- package/grid.module.d.ts +103 -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 +6 -3
- package/layout/resizable.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- 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/package.json +28 -33
- package/pager/pager-context.service.d.ts +1 -1
- package/pager/pager-element.component.d.ts +1 -1
- package/pager/pager-numeric-buttons.component.d.ts +1 -1
- package/pager/pager-page-sizes.component.d.ts +1 -1
- package/pager/pager-settings.d.ts +2 -2
- package/pager/pager.component.d.ts +1 -1
- 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/body.module.d.ts +5 -4
- 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 +2 -1
- package/row-reordering/types.d.ts +1 -1
- package/schematics/ngAdd/index.js +4 -4
- 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 +1 -1
- package/selection/selection-checkbox.directive.d.ts +1 -1
- 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/common/clipboard.directive.mjs +0 -186
- package/esm2020/common/dom-events.service.mjs +0 -28
- package/esm2020/grid.module.mjs +0 -219
- package/esm2020/localization/messages.mjs +0 -187
- package/fesm2015/progress-kendo-angular-grid.mjs +0 -28466
- /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 → 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}/pager/pager-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/pager/pagesize-item.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
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive } from '@angular/core';
|
|
6
|
+
import { PDFService } from './pdf.service';
|
|
7
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { Subscription } from 'rxjs';
|
|
9
|
+
import { filePdfIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./pdf.service";
|
|
12
|
+
import * as i2 from "@progress/kendo-angular-toolbar";
|
|
13
|
+
/**
|
|
14
|
+
* Represents the `export-to-PDF` toolbar tool of the Grid.
|
|
15
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
16
|
+
* ToolbarComponent used in the Grid.
|
|
17
|
+
*
|
|
18
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
|
19
|
+
* [pdfExport]({% slug api_grid_gridcomponent %}#toc-pdfexport) event
|
|
20
|
+
* fires ([see example]({% slug pdfexport_grid %})).
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```html-no-run
|
|
24
|
+
* <kendo-grid>
|
|
25
|
+
* <kendo-toolbar>
|
|
26
|
+
* <kendo-toolbar-button text="PDF Export" kendoGridPDFTool></kendo-toolbar-button>
|
|
27
|
+
* </kendo-toolbar>
|
|
28
|
+
* <kendo-grid-pdf fileName="Grid.pdf">
|
|
29
|
+
* </kendo-grid-pdf>
|
|
30
|
+
* </kendo-grid>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export class PDFCommandToolbarDirective {
|
|
34
|
+
pdfService;
|
|
35
|
+
host;
|
|
36
|
+
clickSub = new Subscription();
|
|
37
|
+
constructor(pdfService, host) {
|
|
38
|
+
this.pdfService = pdfService;
|
|
39
|
+
this.host = host;
|
|
40
|
+
}
|
|
41
|
+
ngOnInit() {
|
|
42
|
+
this.clickSub = this.host.click.subscribe(e => this.onClick(e));
|
|
43
|
+
this.host.className = 'k-grid-pdf';
|
|
44
|
+
this.host.svgIcon = filePdfIcon;
|
|
45
|
+
this.host.icon = 'file-pdf';
|
|
46
|
+
}
|
|
47
|
+
ngOnDestroy() {
|
|
48
|
+
this.clickSub.unsubscribe();
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
onClick(e) {
|
|
54
|
+
e.preventDefault();
|
|
55
|
+
this.pdfService.exportClick.emit();
|
|
56
|
+
}
|
|
57
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandToolbarDirective, deps: [{ token: i1.PDFService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
58
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PDFCommandToolbarDirective, isStandalone: true, selector: "[kendoGridPDFTool]", ngImport: i0 });
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandToolbarDirective, decorators: [{
|
|
61
|
+
type: Directive,
|
|
62
|
+
args: [{
|
|
63
|
+
selector: '[kendoGridPDFTool]',
|
|
64
|
+
standalone: true
|
|
65
|
+
}]
|
|
66
|
+
}], ctorParameters: function () { return [{ type: i1.PDFService }, { type: i2.ToolBarButtonComponent }]; } });
|
|
@@ -31,11 +31,7 @@ import * as i2 from "../common/provider.service";
|
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
33
|
export class PDFCommandDirective extends Button {
|
|
34
|
-
|
|
35
|
-
super(element, renderer, null, ctx.localization, ngZone);
|
|
36
|
-
this.pdfService = pdfService;
|
|
37
|
-
this.ngZone = ngZone;
|
|
38
|
-
}
|
|
34
|
+
pdfService;
|
|
39
35
|
/**
|
|
40
36
|
* @hidden
|
|
41
37
|
*/
|
|
@@ -49,9 +45,13 @@ export class PDFCommandDirective extends Button {
|
|
|
49
45
|
get pdfClass() {
|
|
50
46
|
return true;
|
|
51
47
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
constructor(pdfService, element, renderer, ctx, ngZone) {
|
|
49
|
+
super(element, renderer, null, ctx.localization, ngZone);
|
|
50
|
+
this.pdfService = pdfService;
|
|
51
|
+
this.ngZone = ngZone;
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.ContextService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PDFCommandDirective, isStandalone: true, selector: "[kendoGridPDFCommand]", host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-grid-pdf": "this.pdfClass" } }, usesInheritance: true, ngImport: i0, template: `
|
|
55
55
|
<kendo-icon-wrapper
|
|
56
56
|
*ngIf="icon || svgIcon"
|
|
57
57
|
innerCssClass="k-button-icon"
|
|
@@ -63,7 +63,8 @@ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
63
63
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
64
64
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
65
65
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
66
|
-
|
|
66
|
+
}
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
67
68
|
type: Component,
|
|
68
69
|
args: [{
|
|
69
70
|
selector: '[kendoGridPDFCommand]',
|
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* Numbers are considered to be points (`"pt"`).
|
|
16
16
|
*/
|
|
17
17
|
export class PDFMarginComponent extends PDFExportMarginComponent {
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFMarginComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PDFMarginComponent, isStandalone: true, selector: "kendo-grid-pdf-margin", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
18
20
|
}
|
|
19
|
-
|
|
20
|
-
PDFMarginComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFMarginComponent, isStandalone: true, selector: "kendo-grid-pdf-margin", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFMarginComponent, decorators: [{
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFMarginComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: 'kendo-grid-pdf-margin',
|
|
@@ -29,10 +29,10 @@ export class PDFTemplateDirective extends PDFExportTemplateDirective {
|
|
|
29
29
|
constructor(templateRef) {
|
|
30
30
|
super(templateRef);
|
|
31
31
|
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PDFTemplateDirective, isStandalone: true, selector: "[kendoGridPDFTemplate]", usesInheritance: true, ngImport: i0 });
|
|
32
34
|
}
|
|
33
|
-
|
|
34
|
-
PDFTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PDFTemplateDirective, isStandalone: true, selector: "[kendoGridPDFTemplate]", usesInheritance: true, ngImport: i0 });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFTemplateDirective, decorators: [{
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFTemplateDirective, decorators: [{
|
|
36
36
|
type: Directive,
|
|
37
37
|
args: [{
|
|
38
38
|
selector: '[kendoGridPDFTemplate]',
|
|
@@ -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
|
}] });
|
|
@@ -41,9 +41,10 @@ import * as i29 from "../editing/cancel-command.directive";
|
|
|
41
41
|
import * as i30 from "../editing/save-command.directive";
|
|
42
42
|
import * as i31 from "../editing/remove-command.directive";
|
|
43
43
|
import * as i32 from "../editing/add-command.directive";
|
|
44
|
-
import * as i33 from "
|
|
45
|
-
import * as i34 from "./loading
|
|
46
|
-
import * as i35 from "
|
|
44
|
+
import * as i33 from "../editing/add-command-tool.directive";
|
|
45
|
+
import * as i34 from "./cell-loading.template.directive";
|
|
46
|
+
import * as i35 from "./loading-template.directive";
|
|
47
|
+
import * as i36 from "../columns/reorder-column.component";
|
|
47
48
|
const importedModules = [
|
|
48
49
|
...KENDO_GRID_SHARED,
|
|
49
50
|
...KENDO_GRID_GROUP_EXPORTS
|
|
@@ -54,21 +55,21 @@ const importedModules = [
|
|
|
54
55
|
* This module is deprecated and will be removed in a future major version release.
|
|
55
56
|
*/
|
|
56
57
|
export class BodyModule {
|
|
58
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BodyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
59
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BodyModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.GroupHeaderTemplateDirective, i16.GroupHeaderColumnTemplateDirective, i17.GroupFooterTemplateDirective, i18.GroupHeaderComponent, i19.GroupPanelComponent, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.AddCommandToolbarDirective, i34.CellLoadingTemplateDirective, i35.LoadingTemplateDirective, i36.RowReorderColumnComponent], exports: [i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.AddCommandToolbarDirective, i34.CellLoadingTemplateDirective, i35.LoadingTemplateDirective, i36.RowReorderColumnComponent] });
|
|
60
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BodyModule, providers: [
|
|
61
|
+
IconsService,
|
|
62
|
+
PopupService,
|
|
63
|
+
ResizeBatchService,
|
|
64
|
+
CalendarDOMService,
|
|
65
|
+
CenturyViewService,
|
|
66
|
+
DecadeViewService,
|
|
67
|
+
MonthViewService,
|
|
68
|
+
YearViewService,
|
|
69
|
+
NavigationService
|
|
70
|
+
], imports: [i18.GroupHeaderComponent, i19.GroupPanelComponent, i25.TableBodyComponent, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective] });
|
|
57
71
|
}
|
|
58
|
-
|
|
59
|
-
BodyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i3.LogicalCellDirective, i4.LogicalRowDirective, i5.FocusableDirective, i6.FooterTemplateDirective, i7.ColGroupComponent, i8.ResizableContainerDirective, i9.TemplateContextDirective, i10.FieldAccessorPipe, i11.DetailTemplateDirective, i12.SpanColumnComponent, i13.LoadingComponent, i14.GridTableDirective, i15.GroupHeaderTemplateDirective, i16.GroupHeaderColumnTemplateDirective, i17.GroupFooterTemplateDirective, i18.GroupHeaderComponent, i19.GroupPanelComponent, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.CellLoadingTemplateDirective, i34.LoadingTemplateDirective, i35.RowReorderColumnComponent], exports: [i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.TableBodyComponent, i26.NoRecordsTemplateDirective, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i33.CellLoadingTemplateDirective, i34.LoadingTemplateDirective, i35.RowReorderColumnComponent] });
|
|
60
|
-
BodyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, providers: [
|
|
61
|
-
IconsService,
|
|
62
|
-
PopupService,
|
|
63
|
-
ResizeBatchService,
|
|
64
|
-
CalendarDOMService,
|
|
65
|
-
CenturyViewService,
|
|
66
|
-
DecadeViewService,
|
|
67
|
-
MonthViewService,
|
|
68
|
-
YearViewService,
|
|
69
|
-
NavigationService
|
|
70
|
-
], imports: [i1.ColumnComponent, i2.ColumnGroupComponent, i7.ColGroupComponent, i12.SpanColumnComponent, i13.LoadingComponent, i18.GroupHeaderComponent, i19.GroupPanelComponent, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i25.TableBodyComponent, i27.CellComponent, i28.EditCommandDirective, i29.CancelCommandDirective, i30.SaveCommandDirective, i31.RemoveCommandDirective, i32.AddCommandDirective, i35.RowReorderColumnComponent] });
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BodyModule, decorators: [{
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BodyModule, decorators: [{
|
|
72
73
|
type: NgModule,
|
|
73
74
|
args: [{
|
|
74
75
|
exports: [...KENDO_GRID_BODY_EXPORTS],
|
|
@@ -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]',
|
|
@@ -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">
|
|
@@ -252,7 +260,8 @@ CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
252
260
|
</ng-container>
|
|
253
261
|
</ng-container>
|
|
254
262
|
`, 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.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
255
|
-
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CellComponent, decorators: [{
|
|
256
265
|
type: Component,
|
|
257
266
|
args: [{
|
|
258
267
|
selector: '[kendoGridCell]',
|
|
@@ -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,19 +13,24 @@ 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, 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 });
|
|
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
36
|
selector: 'kendo-grid-spacer, kendo-pager-spacer',
|
|
@@ -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);
|