@acorex/components 22.1.8 → 22.2.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/comment/README.md +467 -2
- package/emoji/README.md +3 -0
- package/emojipicker/README.md +3 -0
- package/fesm2022/acorex-components-accordion.mjs +10 -10
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +17 -16
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +9 -9
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-aspect-ratio.mjs +3 -3
- package/fesm2022/acorex-components-aspect-ratio.mjs.map +1 -1
- package/fesm2022/acorex-components-audio-wave.mjs +32 -11
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +9 -8
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +11 -11
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +7 -7
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +10 -10
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-bubble.mjs +71 -0
- package/fesm2022/acorex-components-bubble.mjs.map +1 -0
- package/fesm2022/acorex-components-button-group.mjs +10 -10
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +365 -55
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +51 -50
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +9 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +7 -7
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +44 -19
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +9 -9
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +28 -28
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +200 -31
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +13 -9
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +919 -83
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/{acorex-components-conversation-acorex-components-conversation-Cl_dlCTX.mjs → acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs} +2889 -1016
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-pR9sXIuW.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs → acorex-components-conversation-composer-action-choice-dialog.component-F5fLD_SK.mjs} +4 -4
- package/fesm2022/{acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs.map → acorex-components-conversation-composer-action-choice-dialog.component-F5fLD_SK.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation-emoji-categories-C7Gm95V0.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-Bk3ixvt2.mjs +87 -0
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-Bk3ixvt2.mjs.map +1 -0
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-_F-fv3Ti.mjs → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs} +5 -5
- package/fesm2022/{acorex-components-conversation-picker-rename-file-dialog.component-_F-fv3Ti.mjs.map → acorex-components-conversation-picker-rename-file-dialog.component-DWIRLLMb.mjs.map} +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-data-list.mjs +3 -3
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +181 -183
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +1230 -234
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +9 -9
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +7 -7
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +61 -119
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +10 -10
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +27 -16
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +24 -18
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +19 -14
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-emoji.mjs +74 -0
- package/fesm2022/acorex-components-emoji.mjs.map +1 -0
- package/fesm2022/acorex-components-emojipicker.mjs +425 -0
- package/fesm2022/acorex-components-emojipicker.mjs.map +1 -0
- package/fesm2022/acorex-components-fab.mjs +6 -6
- package/fesm2022/acorex-components-fab.mjs.map +1 -1
- package/fesm2022/acorex-components-file-viewer.mjs +230 -127
- package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +16 -16
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +10 -10
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-highlight.mjs +80 -0
- package/fesm2022/acorex-components-highlight.mjs.map +1 -0
- package/fesm2022/acorex-components-image-editor.mjs +217 -79
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +7 -7
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-inline-reaction.mjs +111 -0
- package/fesm2022/acorex-components-inline-reaction.mjs.map +1 -0
- package/fesm2022/acorex-components-json-viewer.mjs +7 -7
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +110 -7
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +6 -6
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +7 -7
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +33 -15
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +10 -10
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +18 -18
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +913 -153
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +47 -22
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +215 -218
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +172 -49
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-message-status.mjs +71 -0
- package/fesm2022/acorex-components-message-status.mjs.map +1 -0
- package/fesm2022/acorex-components-message-time.mjs +36 -0
- package/fesm2022/acorex-components-message-time.mjs.map +1 -0
- package/fesm2022/acorex-components-message.mjs +120 -0
- package/fesm2022/acorex-components-message.mjs.map +1 -0
- package/fesm2022/acorex-components-navbar.mjs +7 -7
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +13 -14
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +17 -10
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +7 -7
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +10 -10
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +25 -25
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +10 -10
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +7 -7
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +7 -7
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +13 -13
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +74 -13
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +631 -167
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +7 -7
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +13 -13
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +7 -7
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-reaction.mjs +144 -0
- package/fesm2022/acorex-components-reaction.mjs.map +1 -0
- package/fesm2022/acorex-components-rest-api-generator.mjs +23 -23
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +7 -7
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-rrule.mjs +9 -9
- package/fesm2022/acorex-components-rrule.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler-picker.mjs +54 -54
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +35 -35
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +7 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +9 -8
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +7 -7
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +55 -42
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-sidebar.mjs +28 -28
- package/fesm2022/acorex-components-sidebar.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +7 -7
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +7 -7
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +13 -13
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +16 -18
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +369 -72
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +9 -9
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +7 -7
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-text-editor.mjs +1950 -0
- package/fesm2022/acorex-components-text-editor.mjs.map +1 -0
- package/fesm2022/acorex-components-time-duration.mjs +65 -25
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +10 -10
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +14 -14
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +7 -7
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +58 -13
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +54 -14
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +13 -13
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +698 -295
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/highlight/README.md +13 -0
- package/inline-reaction/README.md +3 -0
- package/lookup/README.md +1 -1
- package/message/README.md +3 -0
- package/message-status/README.md +3 -0
- package/message-time/README.md +3 -0
- package/package.json +53 -29
- package/reaction/README.md +3 -0
- package/text-editor/README.md +7 -0
- package/types/acorex-components-action-sheet.d.ts +1 -1
- package/types/acorex-components-audio-wave.d.ts +8 -0
- package/types/acorex-components-bubble.d.ts +31 -0
- package/types/acorex-components-button.d.ts +74 -9
- package/types/acorex-components-calendar.d.ts +13 -4
- package/types/acorex-components-check-box.d.ts +1 -1
- package/types/acorex-components-code-editor.d.ts +4 -1
- package/types/acorex-components-color-box.d.ts +1 -1
- package/types/acorex-components-color-palette.d.ts +2 -2
- package/types/acorex-components-combo-box.d.ts +13 -2
- package/types/acorex-components-command.d.ts +3 -1
- package/types/acorex-components-comment.d.ts +352 -33
- package/types/acorex-components-conversation.d.ts +418 -119
- package/types/acorex-components-data-pager.d.ts +27 -9
- package/types/acorex-components-data-table.d.ts +338 -31
- package/types/acorex-components-datetime-box.d.ts +1 -1
- package/types/acorex-components-datetime-picker.d.ts +1 -1
- package/types/acorex-components-decorators.d.ts +15 -33
- package/types/acorex-components-dialog.d.ts +1 -1
- package/types/acorex-components-drawer.d.ts +2 -2
- package/types/acorex-components-dropdown-button.d.ts +9 -3
- package/types/acorex-components-dropdown.d.ts +6 -1
- package/types/acorex-components-emoji.d.ts +42 -0
- package/types/acorex-components-emojipicker.d.ts +146 -0
- package/types/acorex-components-file-viewer.d.ts +16 -2
- package/types/acorex-components-highlight.d.ts +31 -0
- package/types/acorex-components-image-editor.d.ts +19 -2
- package/types/acorex-components-inline-reaction.d.ts +52 -0
- package/types/acorex-components-list.d.ts +12 -0
- package/types/acorex-components-loading-dialog.d.ts +1 -1
- package/types/acorex-components-loading.d.ts +1 -1
- package/types/acorex-components-lookup.d.ts +244 -80
- package/types/acorex-components-map.d.ts +14 -2
- package/types/acorex-components-media-viewer.d.ts +4 -3
- package/types/acorex-components-menu.d.ts +22 -5
- package/types/acorex-components-message-status.d.ts +23 -0
- package/types/acorex-components-message-time.d.ts +19 -0
- package/types/acorex-components-message.d.ts +59 -0
- package/types/acorex-components-notification.d.ts +1 -1
- package/types/acorex-components-number-box.d.ts +2 -1
- package/types/acorex-components-otp.d.ts +1 -1
- package/types/acorex-components-page.d.ts +2 -2
- package/types/acorex-components-paint.d.ts +2 -2
- package/types/acorex-components-password-box.d.ts +1 -1
- package/types/acorex-components-phone-box.d.ts +1 -1
- package/types/acorex-components-popover.d.ts +17 -1
- package/types/acorex-components-popup.d.ts +183 -50
- package/types/acorex-components-rail-navigation.d.ts +1 -1
- package/types/acorex-components-range-slider.d.ts +1 -1
- package/types/acorex-components-reaction.d.ts +85 -0
- package/types/acorex-components-rest-api-generator.d.ts +1 -1
- package/types/acorex-components-rrule.d.ts +1 -1
- package/types/acorex-components-scheduler-picker.d.ts +1 -1
- package/types/acorex-components-scheduler.d.ts +1 -1
- package/types/acorex-components-search-box.d.ts +1 -1
- package/types/acorex-components-side-menu.d.ts +6 -8
- package/types/acorex-components-slider.d.ts +1 -1
- package/types/acorex-components-step-wizard.d.ts +4 -4
- package/types/acorex-components-switch.d.ts +1 -1
- package/types/acorex-components-tabs.d.ts +106 -19
- package/types/acorex-components-tag-box.d.ts +2 -2
- package/types/acorex-components-text-area.d.ts +1 -1
- package/types/acorex-components-text-box.d.ts +1 -1
- package/types/acorex-components-text-editor.d.ts +1256 -0
- package/types/acorex-components-time-duration.d.ts +18 -4
- package/types/acorex-components-toast.d.ts +1 -1
- package/types/acorex-components-tooltip.d.ts +11 -1
- package/types/acorex-components-tree-view.d.ts +23 -1
- package/types/acorex-components-wysiwyg.d.ts +431 -77
- package/cron-job/README.md +0 -3
- package/editor/README.md +0 -3
- package/fesm2022/acorex-components-conversation-acorex-components-conversation-Cl_dlCTX.mjs.map +0 -1
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs +0 -85
- package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-AO1evM19.mjs.map +0 -1
- package/fesm2022/acorex-components-cron-job.mjs +0 -1309
- package/fesm2022/acorex-components-cron-job.mjs.map +0 -1
- package/fesm2022/acorex-components-editor.mjs +0 -198
- package/fesm2022/acorex-components-editor.mjs.map +0 -1
- package/fesm2022/acorex-components-flow-chart.mjs +0 -735
- package/fesm2022/acorex-components-flow-chart.mjs.map +0 -1
- package/fesm2022/acorex-components-query-builder.mjs +0 -267
- package/fesm2022/acorex-components-query-builder.mjs.map +0 -1
- package/flow-chart/README.md +0 -3
- package/query-builder/README.md +0 -3
- package/types/acorex-components-cron-job.d.ts +0 -330
- package/types/acorex-components-editor.d.ts +0 -79
- package/types/acorex-components-flow-chart.d.ts +0 -187
- package/types/acorex-components-query-builder.d.ts +0 -52
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i2 from '@acorex/cdk/common';
|
|
2
2
|
import { AXSortOrder, MXBaseComponent, AXDataSource, AXStyleColorType, AXEvent, AXButtonClickEvent, AXStyleLookType, AXClickEvent, AXItemClickEvent, AXValueChangedEvent } from '@acorex/cdk/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, EventEmitter, WritableSignal, ChangeDetectorRef, OnInit, AfterViewInit, Signal
|
|
4
|
+
import { QueryList, TemplateRef, EventEmitter, WritableSignal, DestroyRef, ChangeDetectorRef, OnInit, AfterViewInit, Signal } from '@angular/core';
|
|
5
5
|
import * as i11 from '@acorex/core/format';
|
|
6
6
|
import { AXFormatOptions } from '@acorex/core/format';
|
|
7
7
|
import * as i8 from '@acorex/components/button';
|
|
@@ -39,14 +39,28 @@ declare abstract class AXDataTableColumnComponent {
|
|
|
39
39
|
hasTitle: boolean;
|
|
40
40
|
sortIndex: number | undefined;
|
|
41
41
|
sortOrder: AXSortOrder | undefined;
|
|
42
|
+
childColumns: QueryList<AXDataTableColumnComponent>;
|
|
43
|
+
/** Set by the data table when this leaf sits under a fixed top-level band. */
|
|
44
|
+
effectiveFixed: 'start' | 'end' | undefined;
|
|
45
|
+
get isBand(): boolean;
|
|
46
|
+
getLeafColumns(): AXDataTableColumnComponent[];
|
|
47
|
+
/**
|
|
48
|
+
* Column used for multi-level header layout. Single-child bands are skipped so the child is promoted.
|
|
49
|
+
*/
|
|
50
|
+
getHeaderColumn(): AXDataTableColumnComponent;
|
|
51
|
+
getHeaderDepth(): number;
|
|
42
52
|
abstract get renderCellTemplate(): TemplateRef<unknown>;
|
|
43
53
|
abstract get renderHeaderTemplate(): TemplateRef<unknown>;
|
|
44
54
|
abstract get renderFooterTemplate(): TemplateRef<unknown>;
|
|
45
55
|
abstract get loadingEnabled(): boolean;
|
|
46
56
|
abstract get name(): string;
|
|
47
57
|
get cssClass(): string | undefined;
|
|
58
|
+
/** Minimum width (px) applied when auto-fitting or resizing this column. */
|
|
59
|
+
get minAutoWidth(): number;
|
|
60
|
+
/** Extra space (px) added to the measured content width when auto-fitting. */
|
|
61
|
+
get autoFitPadding(): number;
|
|
48
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableColumnComponent, never>;
|
|
49
|
-
static
|
|
63
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXDataTableColumnComponent, never, never, { "caption": { "alias": "caption"; "required": false; }; "width": { "alias": "width"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "hasTitle": { "alias": "hasTitle"; "required": false; }; "sortIndex": { "alias": "sortIndex"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; }, {}, ["childColumns"], never, true, never>;
|
|
50
64
|
}
|
|
51
65
|
|
|
52
66
|
type AXDataTableCssClassValue = string | null | undefined;
|
|
@@ -109,6 +123,16 @@ interface AXDataTableAutoFitColumnOptions {
|
|
|
109
123
|
maxWidth?: number;
|
|
110
124
|
/** When true, only the header cell is measured (e.g. before row data exists). */
|
|
111
125
|
headerOnly?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* When true, `onColumnSizeChanged` is emitted with `isUserInteraction: true` (e.g. double-click resize handle).
|
|
128
|
+
* @defaultValue `false`
|
|
129
|
+
*/
|
|
130
|
+
isUserInteraction?: boolean;
|
|
131
|
+
}
|
|
132
|
+
/** Options for auto-fitting columns configured with `width: 'auto'`. */
|
|
133
|
+
interface AXDataTableAutoFitColumnsWithAutoWidthOptions {
|
|
134
|
+
/** When true, only header cells are measured (e.g. before row data exists). */
|
|
135
|
+
headerOnly?: boolean;
|
|
112
136
|
}
|
|
113
137
|
/** Options for auto-fitting all columns to their content width. */
|
|
114
138
|
interface AXDataTableAutoFitAllColumnsOptions {
|
|
@@ -160,7 +184,7 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
|
160
184
|
private readonly cellCssClassCache;
|
|
161
185
|
private readonly highlightService;
|
|
162
186
|
private readonly platformId;
|
|
163
|
-
|
|
187
|
+
protected readonly destroyRef: DestroyRef;
|
|
164
188
|
private _highlightText?;
|
|
165
189
|
private highlightOrder;
|
|
166
190
|
private textHighlightFrame?;
|
|
@@ -215,6 +239,10 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
|
215
239
|
* Returns the CSS class of a highlighted column, applied to its header and body cells.
|
|
216
240
|
*/
|
|
217
241
|
getColumnCssClass(column: AXDataTableColumnComponent): string;
|
|
242
|
+
/**
|
|
243
|
+
* Header `<th>` classes: column highlight + column `cssClass` (e.g. `ax-select-column`).
|
|
244
|
+
*/
|
|
245
|
+
getHeadColumnCssClass(column: AXDataTableColumnComponent): string;
|
|
218
246
|
/**
|
|
219
247
|
* Returns the temporary highlight state for a row, if any.
|
|
220
248
|
*/
|
|
@@ -303,8 +331,13 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
|
|
|
303
331
|
* Auto-fits a single column by its `name` / data field.
|
|
304
332
|
*/
|
|
305
333
|
abstract autoFitColumnByName(columnName: string, options?: AXDataTableAutoFitColumnOptions): void;
|
|
334
|
+
/**
|
|
335
|
+
* Auto-fits columns that were configured with `width: 'auto'` (and pending header-only passes).
|
|
336
|
+
* Call again after async cell content (e.g. widgets or lookup labels) has rendered.
|
|
337
|
+
*/
|
|
338
|
+
abstract autoFitColumnsWithAutoWidth(options?: AXDataTableAutoFitColumnsWithAutoWidthOptions): void;
|
|
306
339
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBaseDataTable, never>;
|
|
307
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
340
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
308
341
|
}
|
|
309
342
|
|
|
310
343
|
declare class AXDataTableColumnResizableDirective {
|
|
@@ -456,7 +489,7 @@ declare class AXDataTableTextColumnComponent extends AXDataTableColumnComponent
|
|
|
456
489
|
*/
|
|
457
490
|
formatOptions: AXFormatOptions;
|
|
458
491
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableTextColumnComponent, never>;
|
|
459
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "hasTitle": { "alias": "hasTitle"; "required": false; }; "customExpandIcon": { "alias": "customExpandIcon"; "required": false; }; "customCollapseIcon": { "alias": "customCollapseIcon"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "expandHandler": { "alias": "expandHandler"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never,
|
|
492
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDataTableTextColumnComponent, "ax-text-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "hasTitle": { "alias": "hasTitle"; "required": false; }; "customExpandIcon": { "alias": "customExpandIcon"; "required": false; }; "customCollapseIcon": { "alias": "customCollapseIcon"; "required": false; }; "dataField": { "alias": "dataField"; "required": false; }; "expandHandler": { "alias": "expandHandler"; "required": false; }; "wrapText": { "alias": "wrapText"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatOptions": { "alias": "formatOptions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
460
493
|
}
|
|
461
494
|
|
|
462
495
|
type AXRowCommandItem = AXButtonItemListItem & {
|
|
@@ -475,6 +508,13 @@ declare abstract class AXBaseRowCommandColumnComponent extends AXDataTableColumn
|
|
|
475
508
|
allowSorting: boolean;
|
|
476
509
|
get loadingEnabled(): boolean;
|
|
477
510
|
get cssClass(): string;
|
|
511
|
+
/**
|
|
512
|
+
* Command cells already include their own padding in measurement.
|
|
513
|
+
* Extra fit padding would leave empty space around the icon buttons.
|
|
514
|
+
*/
|
|
515
|
+
get autoFitPadding(): number;
|
|
516
|
+
/** One icon button plus the command cell's horizontal padding. */
|
|
517
|
+
get minAutoWidth(): number;
|
|
478
518
|
protected resolveCommandId(rowData: unknown, commandName: string): string;
|
|
479
519
|
protected setCommandLoadingState(commandId: string, loading: boolean): void;
|
|
480
520
|
onItemClick: EventEmitter<AXRowCommandItemClickEvent>;
|
|
@@ -542,7 +582,7 @@ declare class AXRowDropdownCommandColumnComponent extends AXBaseRowCommandColumn
|
|
|
542
582
|
*/
|
|
543
583
|
protected handleOnItemClick(e: AXItemClickEvent<AXButtonItemComponent>, data: unknown): void;
|
|
544
584
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowDropdownCommandColumnComponent, never>;
|
|
545
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowDropdownCommandColumnComponent, "ax-dropdown-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "emptyStateTemplate": { "alias": "emptyStateTemplate"; "required": false; }; "emptyStateText": { "alias": "emptyStateText"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never,
|
|
585
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowDropdownCommandColumnComponent, "ax-dropdown-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "emptyStateTemplate": { "alias": "emptyStateTemplate"; "required": false; }; "emptyStateText": { "alias": "emptyStateText"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, ["*"], true, never>;
|
|
546
586
|
}
|
|
547
587
|
/**
|
|
548
588
|
* A column for displaying command buttons in a data table.
|
|
@@ -604,7 +644,7 @@ declare class AXRowCommandColumnComponent extends AXBaseRowCommandColumnComponen
|
|
|
604
644
|
protected getCommandId(rowData: unknown, item: AXRowCommandItem): string;
|
|
605
645
|
protected handleOnItemClick(e: AXClickEvent, item: AXRowCommandItem, data: unknown): void;
|
|
606
646
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowCommandColumnComponent, never>;
|
|
607
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowCommandColumnComponent, "ax-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never,
|
|
647
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowCommandColumnComponent, "ax-command-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "onItemClick": "onItemClick"; }, never, ["*"], true, never>;
|
|
608
648
|
}
|
|
609
649
|
|
|
610
650
|
/**
|
|
@@ -652,7 +692,7 @@ declare class AXRowExpandColumnComponent extends AXDataTableColumnComponent {
|
|
|
652
692
|
*/
|
|
653
693
|
get loadingEnabled(): boolean;
|
|
654
694
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowExpandColumnComponent, never>;
|
|
655
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowExpandColumnComponent, "ax-expand-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never,
|
|
695
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowExpandColumnComponent, "ax-expand-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
656
696
|
}
|
|
657
697
|
|
|
658
698
|
/**
|
|
@@ -723,17 +763,28 @@ declare class AXRowIndexColumnComponent extends AXDataTableColumnComponent imple
|
|
|
723
763
|
* Gets the CSS class applied to the component.
|
|
724
764
|
*/
|
|
725
765
|
get cssClass(): string | undefined;
|
|
766
|
+
get autoFitPadding(): number;
|
|
767
|
+
get minAutoWidth(): number;
|
|
726
768
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowIndexColumnComponent, never>;
|
|
727
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowIndexColumnComponent, "ax-index-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "padZero": { "alias": "padZero"; "required": false; }; }, {}, never,
|
|
769
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowIndexColumnComponent, "ax-index-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "padZero": { "alias": "padZero"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
728
770
|
}
|
|
729
771
|
|
|
730
772
|
/**
|
|
731
773
|
* Column component that provides checkboxes for row selection in a data table.
|
|
774
|
+
* The header shows a split control: the checkbox selects all visible rows; the chevron opens
|
|
775
|
+
* a menu with reverse selection and unselect actions for visible rows.
|
|
732
776
|
*
|
|
733
777
|
* @category Components
|
|
734
778
|
*/
|
|
735
779
|
declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
736
780
|
private grid;
|
|
781
|
+
/**
|
|
782
|
+
* When enabled, shows a header dropdown with reverse and unselect actions for visible rows.
|
|
783
|
+
*
|
|
784
|
+
* @defaultValue `false`
|
|
785
|
+
*/
|
|
786
|
+
advanceSelect: i0.InputSignal<boolean>;
|
|
787
|
+
private readonly syncAdvanceSelectColumnWidth;
|
|
737
788
|
/**
|
|
738
789
|
* @ignore
|
|
739
790
|
*/
|
|
@@ -748,6 +799,7 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
748
799
|
private _contentHeaderTemplate;
|
|
749
800
|
/**
|
|
750
801
|
* Gets the template used to render the column header.
|
|
802
|
+
* Renders the header checkbox; when {@link advanceSelect} is enabled, a chevron opens a menu with Reverse and Unselect actions scoped to visible rows.
|
|
751
803
|
*/
|
|
752
804
|
get renderHeaderTemplate(): TemplateRef<unknown>;
|
|
753
805
|
/**
|
|
@@ -766,14 +818,37 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
766
818
|
* @ignore
|
|
767
819
|
*/
|
|
768
820
|
private getDataSourceKey;
|
|
821
|
+
/**
|
|
822
|
+
* @ignore
|
|
823
|
+
*/
|
|
824
|
+
private resolveSelectableRows;
|
|
769
825
|
/**
|
|
770
826
|
* @ignore
|
|
771
827
|
*/
|
|
772
828
|
protected isSelected(item: unknown): boolean;
|
|
829
|
+
/**
|
|
830
|
+
* Header checkbox model: `true` when every visible row is selected, `false` when none are,
|
|
831
|
+
* and `null` for a partial (indeterminate) selection.
|
|
832
|
+
*
|
|
833
|
+
* @ignore
|
|
834
|
+
*/
|
|
835
|
+
headerCheckboxValue(rows: unknown[] | null | undefined, selectedRows?: unknown[]): boolean;
|
|
773
836
|
/**
|
|
774
837
|
* @ignore
|
|
775
838
|
*/
|
|
776
|
-
|
|
839
|
+
onHeaderSelectAll(e: AXValueChangedEvent, rows: unknown[] | null | undefined): void;
|
|
840
|
+
/**
|
|
841
|
+
* @ignore
|
|
842
|
+
*/
|
|
843
|
+
onHeaderReverseSelect(rows: unknown[] | null | undefined): void;
|
|
844
|
+
/**
|
|
845
|
+
* @ignore
|
|
846
|
+
*/
|
|
847
|
+
onHeaderUnselect(rows: unknown[] | null | undefined): void;
|
|
848
|
+
/**
|
|
849
|
+
* @ignore
|
|
850
|
+
*/
|
|
851
|
+
protected checkAllSelected(rows: unknown[] | null | undefined, selectedRows?: unknown[]): boolean | null;
|
|
777
852
|
/**
|
|
778
853
|
* @ignore
|
|
779
854
|
*/
|
|
@@ -781,7 +856,15 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
781
856
|
/**
|
|
782
857
|
* @ignore
|
|
783
858
|
*/
|
|
784
|
-
protected handleSelectAll(e: AXValueChangedEvent, rows:
|
|
859
|
+
protected handleSelectAll(e: AXValueChangedEvent, rows: unknown[] | null | undefined): void;
|
|
860
|
+
/**
|
|
861
|
+
* @ignore
|
|
862
|
+
*/
|
|
863
|
+
protected handleReverseSelect(rows: unknown[] | null | undefined): void;
|
|
864
|
+
/**
|
|
865
|
+
* @ignore
|
|
866
|
+
*/
|
|
867
|
+
protected handleUnselect(rows: unknown[] | null | undefined): void;
|
|
785
868
|
/**
|
|
786
869
|
* Indicates whether loading is enabled for the column.
|
|
787
870
|
*/
|
|
@@ -790,8 +873,41 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
|
|
|
790
873
|
* Gets the CSS class applied to the component.
|
|
791
874
|
*/
|
|
792
875
|
get cssClass(): string | undefined;
|
|
876
|
+
get autoFitPadding(): number;
|
|
877
|
+
get minAutoWidth(): number;
|
|
793
878
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRowSelectColumnComponent, never>;
|
|
794
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; }, {}, never,
|
|
879
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXRowSelectColumnComponent, "ax-select-column", never, { "width": { "alias": "width"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "advanceSelect": { "alias": "advanceSelect"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
interface DataTableBandHeaderCell {
|
|
883
|
+
type: 'band';
|
|
884
|
+
caption: string;
|
|
885
|
+
colspan: number;
|
|
886
|
+
/** Index of the last leaf column covered by this band within the current header section. */
|
|
887
|
+
endLeafIndex: number;
|
|
888
|
+
/** Band column rendered in this header cell. */
|
|
889
|
+
column: AXDataTableColumnComponent;
|
|
890
|
+
/** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
|
|
891
|
+
ownerColumn: AXDataTableColumnComponent;
|
|
892
|
+
}
|
|
893
|
+
interface DataTableLeafHeaderCell {
|
|
894
|
+
type: 'leaf';
|
|
895
|
+
column: AXDataTableColumnComponent;
|
|
896
|
+
rowspan: number;
|
|
897
|
+
/** Leaf column index within the current header section. */
|
|
898
|
+
endLeafIndex: number;
|
|
899
|
+
/** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
|
|
900
|
+
ownerColumn: AXDataTableColumnComponent;
|
|
901
|
+
}
|
|
902
|
+
interface DataTableGapHeaderCell {
|
|
903
|
+
type: 'gap';
|
|
904
|
+
}
|
|
905
|
+
type DataTableHeaderCell = DataTableBandHeaderCell | DataTableLeafHeaderCell | DataTableGapHeaderCell;
|
|
906
|
+
interface DataTableHeaderRowModel {
|
|
907
|
+
start: DataTableHeaderCell[];
|
|
908
|
+
normal: DataTableHeaderCell[];
|
|
909
|
+
end: DataTableHeaderCell[];
|
|
910
|
+
includeSpacer: boolean;
|
|
795
911
|
}
|
|
796
912
|
|
|
797
913
|
/**
|
|
@@ -845,33 +961,134 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
845
961
|
/**
|
|
846
962
|
* @ignore
|
|
847
963
|
*/
|
|
848
|
-
protected columnsList: WritableSignal<
|
|
964
|
+
protected columnsList: WritableSignal<AXDataTableColumnComponent[]>;
|
|
965
|
+
/**
|
|
966
|
+
* Top-level column tree (bands and leaves) in display order.
|
|
967
|
+
* @ignore
|
|
968
|
+
*/
|
|
969
|
+
protected topLevelColumnsList: WritableSignal<AXDataTableColumnComponent[]>;
|
|
970
|
+
/**
|
|
971
|
+
* @ignore
|
|
972
|
+
*/
|
|
973
|
+
protected headerDepth: Signal<number>;
|
|
849
974
|
/**
|
|
850
975
|
* @ignore
|
|
851
976
|
*/
|
|
852
|
-
protected
|
|
977
|
+
protected headerRows: Signal<DataTableHeaderRowModel[]>;
|
|
853
978
|
/**
|
|
854
979
|
* @ignore
|
|
855
980
|
*/
|
|
856
|
-
protected
|
|
981
|
+
protected topLevelEndFixedColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
857
982
|
/**
|
|
858
983
|
* @ignore
|
|
859
984
|
*/
|
|
860
|
-
protected
|
|
985
|
+
protected topLevelStartFixedColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
861
986
|
/**
|
|
862
|
-
*
|
|
863
|
-
|
|
987
|
+
* @ignore
|
|
988
|
+
*/
|
|
989
|
+
protected topLevelNormalColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
990
|
+
/**
|
|
991
|
+
* @ignore
|
|
992
|
+
*/
|
|
993
|
+
protected endFixedColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
994
|
+
/**
|
|
995
|
+
* @ignore
|
|
996
|
+
*/
|
|
997
|
+
protected startFixedColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
998
|
+
/**
|
|
999
|
+
* @ignore
|
|
1000
|
+
*/
|
|
1001
|
+
protected normalColumnsList: Signal<AXDataTableColumnComponent[]>;
|
|
1002
|
+
/**
|
|
1003
|
+
* True when a column owns the tree expander. Its width stays the widest parent row.
|
|
1004
|
+
* Nested rows do not widen it, and leftover wrapper space stays in the spacer column.
|
|
864
1005
|
*/
|
|
865
1006
|
protected hasTreeFillColumn: Signal<boolean>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Pixel width of the table. At least the sum of column content widths, and at least
|
|
1009
|
+
* the wrapper width so a short table still fills the container.
|
|
1010
|
+
*
|
|
1011
|
+
* @ignore
|
|
1012
|
+
*/
|
|
1013
|
+
protected readonly tableWidth: WritableSignal<string>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Minimum table width in pixels. Wider than the wrapper, this produces horizontal scroll.
|
|
1016
|
+
*
|
|
1017
|
+
* @ignore
|
|
1018
|
+
*/
|
|
1019
|
+
protected readonly tableMinWidth: WritableSignal<string>;
|
|
1020
|
+
/**
|
|
1021
|
+
* @ignore
|
|
1022
|
+
*/
|
|
1023
|
+
protected isSelectColumn(column: AXDataTableColumnComponent): column is AXRowSelectColumnComponent;
|
|
1024
|
+
/**
|
|
1025
|
+
* @ignore
|
|
1026
|
+
*/
|
|
1027
|
+
protected getEffectiveFixed(column: AXDataTableColumnComponent): 'start' | 'end' | undefined;
|
|
1028
|
+
/**
|
|
1029
|
+
* Whether the column has a pixel width usable for horizontal sticky positioning.
|
|
1030
|
+
*
|
|
1031
|
+
* @ignore
|
|
1032
|
+
*/
|
|
1033
|
+
protected hasResolvedStickyWidth(column: AXDataTableColumnComponent): boolean;
|
|
1034
|
+
/**
|
|
1035
|
+
* Whether header/body/footer cells should use horizontal sticky positioning for this column.
|
|
1036
|
+
*
|
|
1037
|
+
* @ignore
|
|
1038
|
+
*/
|
|
1039
|
+
protected isHorizontalStickyColumn(column: AXDataTableColumnComponent): boolean;
|
|
1040
|
+
/**
|
|
1041
|
+
* Last scrollable (non–start/end-fixed) leaf column — the cell immediately before the spacer col.
|
|
1042
|
+
*
|
|
1043
|
+
* @ignore
|
|
1044
|
+
*/
|
|
1045
|
+
protected isLastNormalLeafColumn(column: AXDataTableColumnComponent): boolean;
|
|
1046
|
+
/**
|
|
1047
|
+
* Header band/leaf whose inline-end edge aligns with the last scrollable leaf column.
|
|
1048
|
+
*
|
|
1049
|
+
* @ignore
|
|
1050
|
+
*/
|
|
1051
|
+
protected isNormalHeaderCellAtLastScrollableEdge(cell: DataTableHeaderCell): boolean;
|
|
1052
|
+
/**
|
|
1053
|
+
* Whether leaf cells for this column draw a trailing (inline-end) vertical border.
|
|
1054
|
+
* Must stay aligned with `data-table.component.css` border-e rules.
|
|
1055
|
+
*
|
|
1056
|
+
* @ignore
|
|
1057
|
+
*/
|
|
1058
|
+
protected columnHasTrailingVerticalBorder(column: AXDataTableColumnComponent): boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* @ignore
|
|
1061
|
+
*/
|
|
1062
|
+
protected shouldShowColumnResizeHandle(column: AXDataTableColumnComponent): boolean;
|
|
1063
|
+
/**
|
|
1064
|
+
* @ignore
|
|
1065
|
+
*/
|
|
1066
|
+
protected isHeaderBandCell(cell: DataTableHeaderCell): cell is DataTableBandHeaderCell;
|
|
1067
|
+
/**
|
|
1068
|
+
* @ignore
|
|
1069
|
+
*/
|
|
1070
|
+
protected isHeaderGapCell(cell: DataTableHeaderCell): boolean;
|
|
1071
|
+
/**
|
|
1072
|
+
* @ignore
|
|
1073
|
+
*/
|
|
1074
|
+
protected asLeafHeaderCell(cell: DataTableHeaderCell): DataTableLeafHeaderCell;
|
|
1075
|
+
/**
|
|
1076
|
+
* @ignore
|
|
1077
|
+
*/
|
|
1078
|
+
protected isTopLevelColumn(column: AXDataTableColumnComponent): boolean;
|
|
1079
|
+
private refreshColumnStructure;
|
|
1080
|
+
private watchBandChildren;
|
|
866
1081
|
/**
|
|
867
1082
|
* @ignore
|
|
868
1083
|
*/
|
|
869
1084
|
protected resizeColumnProp: {
|
|
870
1085
|
startX: number;
|
|
871
1086
|
startWidth: number;
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
1087
|
+
column: AXDataTableColumnComponent | null;
|
|
1088
|
+
thElement: HTMLElement | null;
|
|
1089
|
+
colElement: HTMLElement | null;
|
|
1090
|
+
/** True when the resize handle sits on the column's trailing edge in screen coordinates. */
|
|
1091
|
+
resizeFromTrailingEdge: boolean;
|
|
875
1092
|
};
|
|
876
1093
|
/**
|
|
877
1094
|
* Columns that used `width="auto"` and received header-only sizing before rows were available.
|
|
@@ -890,6 +1107,21 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
890
1107
|
* @ignore
|
|
891
1108
|
*/
|
|
892
1109
|
private userResizedColumns;
|
|
1110
|
+
/**
|
|
1111
|
+
* Content width of tree-expander columns. Used as a floor so those columns are not
|
|
1112
|
+
* squeezed when the other columns are wider than the wrapper.
|
|
1113
|
+
* @ignore
|
|
1114
|
+
*/
|
|
1115
|
+
private treeFillContentWidths;
|
|
1116
|
+
/**
|
|
1117
|
+
* Rendered width of tree-expander columns: content width, plus leftover wrapper space.
|
|
1118
|
+
* @ignore
|
|
1119
|
+
*/
|
|
1120
|
+
private readonly treeFillResolvedWidths;
|
|
1121
|
+
/** Coalesces tree remeasure until expanded rows are in the DOM. */
|
|
1122
|
+
private treeFillAfterExpandTimer;
|
|
1123
|
+
/** @ignore */
|
|
1124
|
+
private resizeObserver;
|
|
893
1125
|
/**
|
|
894
1126
|
* @ignore
|
|
895
1127
|
*/
|
|
@@ -1068,9 +1300,20 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1068
1300
|
ngAfterViewInit(): void;
|
|
1069
1301
|
private captureAutoFitIntentColumns;
|
|
1070
1302
|
/**
|
|
1071
|
-
* Tree expand columns
|
|
1303
|
+
* Tree expand columns keep a content minimum and grow into leftover table space for nested indent.
|
|
1304
|
+
* `expandHandler` opts any column in, including hosts that extend the base column instead of `ax-text-column`.
|
|
1072
1305
|
*/
|
|
1073
1306
|
private isTreeFillColumn;
|
|
1307
|
+
/**
|
|
1308
|
+
* Tree fill columns must never keep a pixel width from auto-fit; they absorb remaining table width.
|
|
1309
|
+
*
|
|
1310
|
+
* @ignore
|
|
1311
|
+
*/
|
|
1312
|
+
private enforceTreeFillColumnWidths;
|
|
1313
|
+
/**
|
|
1314
|
+
* @ignore
|
|
1315
|
+
*/
|
|
1316
|
+
protected resolveColumnWidth(column: AXDataTableColumnComponent): string | number | 'auto';
|
|
1074
1317
|
/**
|
|
1075
1318
|
* Returns the display text for a cell. Used for the cell tooltip when the column has `hasTitle`.
|
|
1076
1319
|
*/
|
|
@@ -1087,10 +1330,20 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1087
1330
|
protected toggleExpanded(rows: any[], expandedItem: any, children: any[]): any[];
|
|
1088
1331
|
protected refreshExpandedItem(id: string | number): Promise<void>;
|
|
1089
1332
|
private updateChildren;
|
|
1333
|
+
/**
|
|
1334
|
+
* CDK sort-predicate indices follow physical left-to-right order; map them to `columnsList` order.
|
|
1335
|
+
* @ignore
|
|
1336
|
+
*/
|
|
1337
|
+
private cdkSortIndexToColumnIndex;
|
|
1338
|
+
/**
|
|
1339
|
+
* Restricts column reordering to non-fixed columns only.
|
|
1340
|
+
* @ignore
|
|
1341
|
+
*/
|
|
1342
|
+
protected columnReorderSortPredicate: (index: number) => boolean;
|
|
1090
1343
|
/**
|
|
1091
1344
|
* @ignore
|
|
1092
1345
|
*/
|
|
1093
|
-
protected drop(event: CdkDragDrop<
|
|
1346
|
+
protected drop(event: CdkDragDrop<AXDataTableColumnComponent>): void;
|
|
1094
1347
|
/**
|
|
1095
1348
|
* @ignore
|
|
1096
1349
|
*/
|
|
@@ -1154,11 +1407,11 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1154
1407
|
* @param columnIndex - The index of the column to auto-fit
|
|
1155
1408
|
* @ignore
|
|
1156
1409
|
*/
|
|
1157
|
-
protected onResizeHandlerDoubleClick(event: MouseEvent,
|
|
1410
|
+
protected onResizeHandlerDoubleClick(event: MouseEvent, column: AXDataTableColumnComponent): void;
|
|
1158
1411
|
/**
|
|
1159
1412
|
* @ignore
|
|
1160
1413
|
*/
|
|
1161
|
-
protected onResizeColumnStart(event: MouseEvent,
|
|
1414
|
+
protected onResizeColumnStart(event: MouseEvent, column: AXDataTableColumnComponent): void;
|
|
1162
1415
|
/**
|
|
1163
1416
|
* @ignore
|
|
1164
1417
|
*/
|
|
@@ -1171,17 +1424,21 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1171
1424
|
* @ignore
|
|
1172
1425
|
*/
|
|
1173
1426
|
private resetResizingProcess;
|
|
1427
|
+
/**
|
|
1428
|
+
* Index of a leaf column in `<colgroup>` (start → normal → spacer → end).
|
|
1429
|
+
*/
|
|
1430
|
+
private getColumnColIndex;
|
|
1431
|
+
private resolveColElementForColumn;
|
|
1174
1432
|
/**
|
|
1175
1433
|
* @ignore
|
|
1176
1434
|
*/
|
|
1177
1435
|
private calculateStickyColumnsPositions;
|
|
1178
1436
|
/**
|
|
1179
|
-
* Auto-fits columns that have width
|
|
1180
|
-
*
|
|
1181
|
-
*
|
|
1182
|
-
* @ignore
|
|
1437
|
+
* Auto-fits columns that have `width: 'auto'` (captured at init) and columns awaiting a full pass after header-only sizing.
|
|
1438
|
+
* The table runs a header-only pass after view init and a best-effort pass ~100ms after data loads; cell templates that
|
|
1439
|
+
* render asynchronously should call {@link autoFitColumnByName} or this method again once content is in the DOM.
|
|
1183
1440
|
*/
|
|
1184
|
-
|
|
1441
|
+
autoFitColumnsWithAutoWidth(options?: AXDataTableAutoFitColumnsWithAutoWidthOptions): void;
|
|
1185
1442
|
/**
|
|
1186
1443
|
* Auto-fits all resizable columns to their content width.
|
|
1187
1444
|
* Call this whenever row data or templates change and column widths should be recalculated.
|
|
@@ -1192,10 +1449,60 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1192
1449
|
* Similar to Excel's "AutoFit Column Width" feature.
|
|
1193
1450
|
*
|
|
1194
1451
|
* @param columnIndex - 0-based index in the columns `QueryList`.
|
|
1452
|
+
* @param options - Measurement options; programmatic calls default to `isUserInteraction: false`.
|
|
1195
1453
|
*/
|
|
1196
1454
|
autoFitColumn(columnIndex: number, options?: AXDataTableAutoFitColumnOptions): void;
|
|
1455
|
+
/**
|
|
1456
|
+
* Measures a column's content width without writing it back.
|
|
1457
|
+
* Tree-expander columns use the result as a minimum so they can still grow.
|
|
1458
|
+
*/
|
|
1459
|
+
private measureColumnContentWidth;
|
|
1460
|
+
private isCommandColumn;
|
|
1461
|
+
/**
|
|
1462
|
+
* Select-column header chevron is absolutely positioned, so DOM auto-fit under-reports width.
|
|
1463
|
+
*/
|
|
1464
|
+
private measureSelectColumnWidth;
|
|
1465
|
+
/**
|
|
1466
|
+
* Command buttons are a fixed icon size inside the table. Cloning them outside
|
|
1467
|
+
* `ax-data-table` drops that size and measures default button padding instead.
|
|
1468
|
+
* Read the live controls, then add the cell's own horizontal padding and border.
|
|
1469
|
+
*/
|
|
1470
|
+
private measureCommandColumnWidth;
|
|
1471
|
+
private readCommandControlsWidth;
|
|
1472
|
+
/** Horizontal padding and borders already painted inside the command cell. */
|
|
1473
|
+
private readCommandCellChrome;
|
|
1474
|
+
/** Lets cloned header/cells report their text width instead of the collapsed column width. */
|
|
1475
|
+
private prepareMeasuredCell;
|
|
1476
|
+
/**
|
|
1477
|
+
* Re-measures tree-expander columns and assigns leftover wrapper width.
|
|
1478
|
+
* Does not write a pixel `column.width` or emit `onColumnSizeChanged`.
|
|
1479
|
+
*/
|
|
1480
|
+
private refreshTreeFillLayout;
|
|
1481
|
+
/** Nested rows paint after `onItemExpanded`; remeasure parent rows without widening for children. */
|
|
1482
|
+
private scheduleTreeFillAfterExpand;
|
|
1483
|
+
/**
|
|
1484
|
+
* Stores the content width of tree-expander columns from parent rows only.
|
|
1485
|
+
* Child indent must not widen the column.
|
|
1486
|
+
*/
|
|
1487
|
+
private measureTreeFillColumns;
|
|
1488
|
+
/** A body row nested under a parent (`data-level` greater than 0). */
|
|
1489
|
+
private isNestedTreeRow;
|
|
1490
|
+
private columnHasVisibleRootRow;
|
|
1491
|
+
private readPixelWidth;
|
|
1492
|
+
/**
|
|
1493
|
+
* Sizes the table to the sum of column widths so columns keep their content width
|
|
1494
|
+
* and the wrapper scrolls horizontally when that sum exceeds the container.
|
|
1495
|
+
* A tree-expander column stays at the widest parent row. Leftover space stays in the spacer.
|
|
1496
|
+
*/
|
|
1497
|
+
private updateColumnLayoutWidths;
|
|
1498
|
+
private observeTableWrapper;
|
|
1197
1499
|
/**
|
|
1198
1500
|
* Auto-fits a single column by its `name` / data field.
|
|
1501
|
+
* Call after async cell content has rendered when `width` is `'auto'`.
|
|
1502
|
+
* A tree expand column keeps `width: 'auto'` and refreshes the shared tree layout instead of pinning a pixel width.
|
|
1503
|
+
*
|
|
1504
|
+
* @param columnName - Column `name` / data field.
|
|
1505
|
+
* @param options - Measurement options; programmatic calls default to `isUserInteraction: false`.
|
|
1199
1506
|
*/
|
|
1200
1507
|
autoFitColumnByName(columnName: string, options?: AXDataTableAutoFitColumnOptions): void;
|
|
1201
1508
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataTableComponent, never>;
|
|
@@ -1209,4 +1516,4 @@ declare class AXDataTableModule {
|
|
|
1209
1516
|
}
|
|
1210
1517
|
|
|
1211
1518
|
export { AXBaseDataTable, AXBaseRowCommandColumnComponent, AXDataTableColumnComponent, AXDataTableColumnResizableDirective, AXDataTableComponent, AXDataTableModule, AXDataTableTextColumnComponent, AXRowCommandColumnComponent, AXRowDropdownCommandColumnComponent, AXRowExpandColumnComponent, AXRowIndexColumnComponent, AXRowSelectColumnComponent, AX_DATA_TABLE_ROW_COLOR_TYPES, AX_DATA_TABLE_ROW_HIGHLIGHT_DEFAULT_BADGE };
|
|
1212
|
-
export type { AXColumnsOrderChangedEvent, AXDataTableAutoFitAllColumnsOptions, AXDataTableAutoFitColumnOptions, AXDataTableCellCssClassResolver, AXDataTableCssClassValue, AXDataTableLook, AXDataTableRowClick, AXDataTableRowColorType, AXDataTableRowCssClassResolver, AXDataTableRowDbClick, AXDataTableRowHighlight, AXDataTableRowHighlightOptions, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
1519
|
+
export type { AXColumnsOrderChangedEvent, AXDataTableAutoFitAllColumnsOptions, AXDataTableAutoFitColumnOptions, AXDataTableAutoFitColumnsWithAutoWidthOptions, AXDataTableCellCssClassResolver, AXDataTableCssClassValue, AXDataTableLook, AXDataTableRowClick, AXDataTableRowColorType, AXDataTableRowCssClassResolver, AXDataTableRowDbClick, AXDataTableRowHighlight, AXDataTableRowHighlightOptions, AXDataTableScrollIndexChanged, AXRowCommandItem, AXRowCommandItemClickEvent, onColumnSizeChangedEvent };
|
|
@@ -29,7 +29,7 @@ declare const AX_DATETIME_BOX_CLASSIC_TIME_FIELDS: AXDateTimeBoxClassicField[];
|
|
|
29
29
|
declare const AXDateTimeBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
30
30
|
new (): MXInputBaseValueComponent<Date>;
|
|
31
31
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
32
|
-
ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
32
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
33
33
|
}, typeof MXCalendarBaseComponent, typeof MXDropdownBoxBaseComponent, typeof MXLookComponent, typeof AXDecoratorGenericComponent]>;
|
|
34
34
|
/**
|
|
35
35
|
* Represents a date and time input component that allows user interaction and triggers events.
|
|
@@ -9,7 +9,7 @@ import { AXDateTimeParts, AXDateTime } from '@acorex/core/date-time';
|
|
|
9
9
|
declare const AXDateTimePickerComponent_base: polytype.Polytype.ClusteredConstructor<[typeof MXCalendarBaseComponent, {
|
|
10
10
|
new (): MXValueComponent<Date>;
|
|
11
11
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
12
|
-
ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
12
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
13
13
|
}]>;
|
|
14
14
|
/**
|
|
15
15
|
* allows users to select a date and time from a calendar and time picker interface.
|