@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,29 +1,68 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TemplateRef, ViewContainerRef, StaticProvider, ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { TemplateRef, ViewContainerRef, StaticProvider, Signal, ElementRef, OnInit, OnDestroy } from '@angular/core';
|
|
3
3
|
import * as i2 from '@acorex/cdk/common';
|
|
4
4
|
import { NXComponent, MXBaseComponent, AXComponentClosedPromise } from '@acorex/cdk/common';
|
|
5
|
+
import { AXDropListDroppedEvent } from '@acorex/cdk/drag-drop';
|
|
6
|
+
import { AXResizeHandle } from '@acorex/cdk/resizable';
|
|
7
|
+
import { AXOverlayAnimation } from '@acorex/cdk/overlay';
|
|
5
8
|
import { AXComponentType, AXComponentInputs } from '@acorex/core/components';
|
|
6
9
|
import { Subject } from 'rxjs';
|
|
10
|
+
import * as _acorex_components_popup from '@acorex/components/popup';
|
|
7
11
|
import * as i1 from '@angular/common';
|
|
8
|
-
import * as i3 from '@acorex/components/
|
|
9
|
-
import * as i4 from '@acorex/
|
|
12
|
+
import * as i3 from '@acorex/components/button';
|
|
13
|
+
import * as i4 from '@acorex/components/decorators';
|
|
14
|
+
import * as i5 from '@acorex/core/translation';
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
16
|
+
type AXPopupCaptionIconName = 'minimize' | 'maximize' | 'restore' | 'close';
|
|
17
|
+
/**
|
|
18
|
+
* Windows-style window caption glyphs: minimize, maximize, restore, close.
|
|
19
|
+
*/
|
|
20
|
+
declare class AXPopupCaptionIconComponent {
|
|
21
|
+
name: _angular_core.InputSignal<AXPopupCaptionIconName>;
|
|
22
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupCaptionIconComponent, never>;
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPopupCaptionIconComponent, "ax-popup-caption-icon", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
24
|
}
|
|
15
25
|
|
|
16
26
|
type AXPopupContentType = TemplateRef<unknown> | AXComponentType<unknown> | HTMLElement;
|
|
17
27
|
type AXPopupSizeType = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full' | 'fit';
|
|
18
28
|
type AXPopupMinimizePosition = 'bottom-right' | 'bottom-left';
|
|
29
|
+
type AXPopupWindowState = 'normal' | 'minimized' | 'maximized';
|
|
19
30
|
interface AXPopupButtonsConfig {
|
|
20
31
|
minimize?: {
|
|
21
32
|
enable: boolean;
|
|
22
33
|
position: AXPopupMinimizePosition;
|
|
34
|
+
/**
|
|
35
|
+
* Name of an `<ax-popup-dock>` that should host this popup when minimized.
|
|
36
|
+
* Falls back to the built-in bottom bar when no matching dock is registered.
|
|
37
|
+
* @defaultValue 'default'
|
|
38
|
+
*/
|
|
39
|
+
dock?: string;
|
|
23
40
|
};
|
|
24
41
|
maximize?: boolean;
|
|
25
42
|
close?: boolean;
|
|
26
43
|
}
|
|
44
|
+
interface AXPopupResizableConfig {
|
|
45
|
+
handles?: AXResizeHandle[];
|
|
46
|
+
minWidth?: number;
|
|
47
|
+
minHeight?: number;
|
|
48
|
+
/** Defaults to the viewport width when unset. */
|
|
49
|
+
maxWidth?: number;
|
|
50
|
+
/** Defaults to the viewport height when unset. */
|
|
51
|
+
maxHeight?: number;
|
|
52
|
+
lockAspectRatio?: boolean;
|
|
53
|
+
dblClickAction?: 'reset' | 'maximize' | 'fit';
|
|
54
|
+
}
|
|
55
|
+
declare const AX_POPUP_DEFAULT_RESIZE_HANDLES: AXResizeHandle[];
|
|
56
|
+
interface AXPopupResolvedResizableConfig {
|
|
57
|
+
enable: boolean;
|
|
58
|
+
handles: AXResizeHandle[];
|
|
59
|
+
minWidth: number;
|
|
60
|
+
minHeight: number;
|
|
61
|
+
maxWidth: number | null;
|
|
62
|
+
maxHeight: number | null;
|
|
63
|
+
lockAspectRatio: boolean;
|
|
64
|
+
dblClickAction: 'reset' | 'maximize' | 'fit';
|
|
65
|
+
}
|
|
27
66
|
interface AXPopupConfig {
|
|
28
67
|
title?: string;
|
|
29
68
|
/** Flat alias; overridden by `buttons.close` when set. */
|
|
@@ -37,6 +76,8 @@ interface AXPopupConfig {
|
|
|
37
76
|
data?: unknown;
|
|
38
77
|
inputs?: unknown;
|
|
39
78
|
draggable?: boolean;
|
|
79
|
+
/** Enable drag handles on the popup window. `true` uses defaults; pass an object to customize. */
|
|
80
|
+
resizable?: boolean | AXPopupResizableConfig;
|
|
40
81
|
hasBackdrop?: boolean;
|
|
41
82
|
backdropClass?: string;
|
|
42
83
|
closeOnBackdropClick?: boolean;
|
|
@@ -46,6 +87,14 @@ interface AXPopupConfig {
|
|
|
46
87
|
viewContainerRef?: ViewContainerRef;
|
|
47
88
|
providers?: StaticProvider[];
|
|
48
89
|
panelClass?: string[];
|
|
90
|
+
/**
|
|
91
|
+
* Overlay enter/leave animation applied to the popup window, not the full-screen container.
|
|
92
|
+
* - omitted / `true`: default fade in and fade out
|
|
93
|
+
* - `false` or `[]`: no animation
|
|
94
|
+
* - `string[]`: custom enter classes
|
|
95
|
+
* - `{ enter, leave }`: custom enter and leave classes
|
|
96
|
+
*/
|
|
97
|
+
animation?: AXOverlayAnimation;
|
|
49
98
|
direction?: 'rtl' | 'ltr';
|
|
50
99
|
/** Window chrome buttons. Individual fields override flat `closeButton` / `maximizable` when set. */
|
|
51
100
|
buttons?: AXPopupButtonsConfig;
|
|
@@ -63,6 +112,12 @@ interface AXPopupConfig {
|
|
|
63
112
|
* Density context. It does not affect overlay positioning.
|
|
64
113
|
*/
|
|
65
114
|
contextElement?: HTMLElement | ElementRef<HTMLElement>;
|
|
115
|
+
/** Delay in ms before the real content is created. While waiting, a skeleton placeholder is shown. */
|
|
116
|
+
delay?: number;
|
|
117
|
+
/** Skeleton template rendered during `delay`. Falls back to a built-in ax-skeleton placeholder. */
|
|
118
|
+
skeletonTemplate?: TemplateRef<unknown>;
|
|
119
|
+
/** Animates the built-in skeleton placeholder. Ignored when `skeletonTemplate` is provided. */
|
|
120
|
+
skeletonAnimated?: boolean;
|
|
66
121
|
}
|
|
67
122
|
interface AXPopupData {
|
|
68
123
|
title: string;
|
|
@@ -74,6 +129,15 @@ interface AXPopupData {
|
|
|
74
129
|
draggable: boolean;
|
|
75
130
|
content: AXPopupContentType;
|
|
76
131
|
}
|
|
132
|
+
interface AXPopupDockItem {
|
|
133
|
+
id: number;
|
|
134
|
+
title: Signal<string>;
|
|
135
|
+
data: unknown;
|
|
136
|
+
ref: AXPopupRef;
|
|
137
|
+
restore: () => void;
|
|
138
|
+
maximize: () => void;
|
|
139
|
+
close: () => void;
|
|
140
|
+
}
|
|
77
141
|
interface AXPopupRef<TResult = any> {
|
|
78
142
|
close: (data?: TResult) => void;
|
|
79
143
|
setInputs: (values: AXComponentInputs) => void;
|
|
@@ -84,13 +148,24 @@ interface AXPopupRef<TResult = any> {
|
|
|
84
148
|
/** Brings this popup to the front of all other overlays */
|
|
85
149
|
bringToFront: () => void;
|
|
86
150
|
onClose: Subject<TResult>;
|
|
151
|
+
onStateChange: Subject<AXPopupWindowState>;
|
|
152
|
+
readonly state: Signal<AXPopupWindowState>;
|
|
153
|
+
readonly title: Signal<string>;
|
|
154
|
+
readonly isMinimized: Signal<boolean>;
|
|
155
|
+
readonly isMaximized: Signal<boolean>;
|
|
87
156
|
/** The component instance rendered inside the popup (available after content is rendered) */
|
|
88
157
|
componentInstance?: unknown;
|
|
89
158
|
/** @internal Stack index among open popups (minimized bar positioning). */
|
|
90
159
|
_getStackIndex?: () => number;
|
|
160
|
+
/** @internal */
|
|
161
|
+
_setState?: (state: AXPopupWindowState) => void;
|
|
91
162
|
}
|
|
92
163
|
declare abstract class AXPopupComponentBase {
|
|
93
164
|
__popup__: _angular_core.InputSignal<AXPopupRef<any>>;
|
|
165
|
+
readonly popupState: Signal<AXPopupWindowState>;
|
|
166
|
+
readonly isMinimized: Signal<boolean>;
|
|
167
|
+
readonly isMaximized: Signal<boolean>;
|
|
168
|
+
readonly popupTitle: Signal<string>;
|
|
94
169
|
close(data?: any): void;
|
|
95
170
|
setTitle(title: string): void;
|
|
96
171
|
minimize(): void;
|
|
@@ -108,7 +183,49 @@ declare function resolvePopupMaximizable(config?: AXPopupConfig | null): boolean
|
|
|
108
183
|
declare function resolvePopupMinimize(config?: AXPopupConfig | null): {
|
|
109
184
|
enable: boolean;
|
|
110
185
|
position: AXPopupMinimizePosition;
|
|
186
|
+
dock: string;
|
|
111
187
|
};
|
|
188
|
+
/** Resolves resize config. Disabled for `size: 'full'` and when `resizable` is false/omitted. */
|
|
189
|
+
declare function resolvePopupResizable(config?: AXPopupConfig | null): AXPopupResolvedResizableConfig;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Page-hosted dock for minimized popups. Place it anywhere in the app; matching
|
|
193
|
+
* `buttons.minimize.dock` names send hidden windows here as reorderable tabs.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* ```html
|
|
197
|
+
* <ax-popup-dock name="taskbar">
|
|
198
|
+
* <ng-template let-item>
|
|
199
|
+
* <button axDragHandle (click)="item.restore()">{{ item.title() }}</button>
|
|
200
|
+
* <button (click)="item.close()">Close</button>
|
|
201
|
+
* </ng-template>
|
|
202
|
+
* </ax-popup-dock>
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
declare class AXPopupDockComponent extends NXComponent {
|
|
206
|
+
private popupService;
|
|
207
|
+
/**
|
|
208
|
+
* Dock name matched against `buttons.minimize.dock`.
|
|
209
|
+
* @defaultValue 'default'
|
|
210
|
+
*/
|
|
211
|
+
name: _angular_core.InputSignal<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Layout of the tab strip.
|
|
214
|
+
* @defaultValue 'horizontal'
|
|
215
|
+
*/
|
|
216
|
+
orientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
217
|
+
protected itemTemplate: _angular_core.Signal<TemplateRef<any>>;
|
|
218
|
+
protected items: _angular_core.Signal<AXPopupDockItem[]>;
|
|
219
|
+
constructor();
|
|
220
|
+
protected onDropped(event: AXDropListDroppedEvent): void;
|
|
221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupDockComponent, never>;
|
|
222
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPopupDockComponent, "ax-popup-dock", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare class AXPopupFooterComponent {
|
|
226
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupFooterComponent, never>;
|
|
227
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPopupFooterComponent, "ax-popup-footer", never, {}, {}, never, ["ax-prefix", "ax-suffix", "*"], true, never>;
|
|
228
|
+
}
|
|
112
229
|
|
|
113
230
|
/**
|
|
114
231
|
* Declarative popup host. Project content and call `open()` / `close()` on the component instance.
|
|
@@ -159,15 +276,16 @@ declare class AXPopupHostComponent extends NXComponent {
|
|
|
159
276
|
* @category Components
|
|
160
277
|
*/
|
|
161
278
|
declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDestroy {
|
|
279
|
+
#private;
|
|
162
280
|
private _zone;
|
|
163
281
|
private loadingService;
|
|
164
282
|
private _platform;
|
|
165
|
-
private
|
|
166
|
-
private _router;
|
|
167
|
-
private _destroyRef;
|
|
283
|
+
private document;
|
|
168
284
|
private contentContainerRef;
|
|
169
285
|
private contentContainerEl;
|
|
286
|
+
private dragDir;
|
|
170
287
|
private popupEl;
|
|
288
|
+
private projectedHandles;
|
|
171
289
|
readonly __content__: _angular_core.InputSignal<AXPopupContentType>;
|
|
172
290
|
readonly __config__: _angular_core.InputSignal<AXPopupConfig>;
|
|
173
291
|
readonly __popupRef__: _angular_core.InputSignal<AXPopupRef<any>>;
|
|
@@ -180,41 +298,40 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
180
298
|
/** @ignore */
|
|
181
299
|
private _loadingId;
|
|
182
300
|
/** @ignore */
|
|
301
|
+
private _delayTimer;
|
|
302
|
+
/** @ignore */
|
|
183
303
|
private _componentRef;
|
|
304
|
+
protected showSkeleton: _angular_core.WritableSignal<boolean>;
|
|
305
|
+
protected skeletonTemplate: () => TemplateRef<unknown>;
|
|
184
306
|
/** Current title */
|
|
185
307
|
protected title: _angular_core.WritableSignal<string>;
|
|
186
|
-
/**
|
|
187
|
-
protected
|
|
188
|
-
|
|
189
|
-
protected
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
private elementStartPos;
|
|
308
|
+
/** Clamps dragging to the viewport (`document.documentElement`). */
|
|
309
|
+
protected readonly dragBoundary: _angular_core.WritableSignal<HTMLElement>;
|
|
310
|
+
protected readonly dragDisabled: _angular_core.Signal<boolean>;
|
|
311
|
+
protected readonly resizeConfig: _angular_core.Signal<_acorex_components_popup.AXPopupResolvedResizableConfig>;
|
|
312
|
+
protected readonly resizeActive: _angular_core.Signal<boolean>;
|
|
313
|
+
protected readonly resizeEnabled: _angular_core.Signal<boolean>;
|
|
314
|
+
private readonly viewportSize;
|
|
315
|
+
protected readonly resizeMaxWidth: _angular_core.Signal<number>;
|
|
316
|
+
protected readonly resizeMaxHeight: _angular_core.Signal<number>;
|
|
317
|
+
private viewportResizeHandler;
|
|
197
318
|
protected popupSizeState: _angular_core.WritableSignal<"minimize" | "normal">;
|
|
198
319
|
protected fullScreenState: _angular_core.WritableSignal<boolean>;
|
|
199
320
|
protected minimizeLeft: _angular_core.WritableSignal<string>;
|
|
200
321
|
protected minimizeRight: _angular_core.WritableSignal<string>;
|
|
322
|
+
protected readonly minimizeSide: _angular_core.Signal<_acorex_components_popup.AXPopupMinimizePosition>;
|
|
201
323
|
private fullscreenChangeHandler;
|
|
202
324
|
protected closeEnabled: () => boolean;
|
|
203
325
|
protected maximizeEnabled: () => boolean;
|
|
204
326
|
protected minimizeEnabled: () => boolean;
|
|
327
|
+
constructor();
|
|
205
328
|
/** @ignore */
|
|
206
329
|
ngOnInit(): void;
|
|
207
|
-
/**
|
|
208
|
-
* Subscribes to router navigation events so the popup is closed automatically
|
|
209
|
-
* when the user navigates to another route. Enabled by default; disable via
|
|
210
|
-
* `closeOnNavigation: false` in the popup config.
|
|
211
|
-
* @ignore
|
|
212
|
-
*/
|
|
213
|
-
private _setupCloseOnNavigation;
|
|
214
330
|
/** @ignore */
|
|
215
331
|
private renderContent;
|
|
216
332
|
/** @ignore */
|
|
217
333
|
private handleContentRendered;
|
|
334
|
+
private bindContentDragHandles;
|
|
218
335
|
/** @ignore */
|
|
219
336
|
onKeydownHandler(): void;
|
|
220
337
|
/** @ignore */
|
|
@@ -230,7 +347,7 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
230
347
|
*/
|
|
231
348
|
close(data?: unknown): void;
|
|
232
349
|
/**
|
|
233
|
-
* Minimizes the popup
|
|
350
|
+
* Minimizes the popup. Routes through the popup ref so a registered dock can host the tab.
|
|
234
351
|
*/
|
|
235
352
|
minimize(): void;
|
|
236
353
|
/**
|
|
@@ -241,6 +358,27 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
241
358
|
* Restores the popup from minimized or fullscreen state.
|
|
242
359
|
*/
|
|
243
360
|
restore(): void;
|
|
361
|
+
/**
|
|
362
|
+
* Applies the minimized visual. When `docked` is true the overlay is hidden by the service
|
|
363
|
+
* and the window stays at normal size for the next restore.
|
|
364
|
+
* @internal
|
|
365
|
+
*/
|
|
366
|
+
enterMinimized(docked: boolean): void;
|
|
367
|
+
/**
|
|
368
|
+
* Restores the window from the legacy bottom bar.
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
exitMinimized(): void;
|
|
372
|
+
/**
|
|
373
|
+
* Enters or toggles the Fullscreen API on the popup element.
|
|
374
|
+
* @internal
|
|
375
|
+
*/
|
|
376
|
+
enterMaximized(): void;
|
|
377
|
+
/**
|
|
378
|
+
* Leaves fullscreen.
|
|
379
|
+
* @internal
|
|
380
|
+
*/
|
|
381
|
+
exitMaximized(): void;
|
|
244
382
|
/**
|
|
245
383
|
* Sets inputs on the content component.
|
|
246
384
|
*/
|
|
@@ -249,16 +387,13 @@ declare class AXPopupComponent extends MXBaseComponent implements OnInit, OnDest
|
|
|
249
387
|
* Sets the popup title.
|
|
250
388
|
*/
|
|
251
389
|
setTitle(title: string): void;
|
|
252
|
-
protected onDragStart(event: MouseEvent): void;
|
|
253
|
-
onDragMove(event: MouseEvent): void;
|
|
254
|
-
onDragEnd(): void;
|
|
255
390
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupComponent, never>;
|
|
256
391
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXPopupComponent, "ax-popup", never, { "__content__": { "alias": "__content__"; "required": false; "isSignal": true; }; "__config__": { "alias": "__config__"; "required": false; "isSignal": true; }; "__popupRef__": { "alias": "__popupRef__"; "required": false; "isSignal": true; }; "__id__": { "alias": "__id__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
257
392
|
}
|
|
258
393
|
|
|
259
394
|
declare class AXPopupModule {
|
|
260
395
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupModule, never>;
|
|
261
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.
|
|
396
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXPopupModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.AXTranslationModule, typeof AXPopupComponent, typeof AXPopupHostComponent, typeof AXPopupFooterComponent, typeof AXPopupDockComponent, typeof AXPopupCaptionIconComponent], [typeof AXPopupComponent, typeof AXPopupHostComponent, typeof AXPopupFooterComponent, typeof AXPopupDockComponent, typeof AXPopupCaptionIconComponent]>;
|
|
262
397
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXPopupModule>;
|
|
263
398
|
}
|
|
264
399
|
|
|
@@ -270,6 +405,9 @@ declare class AXPopupModule {
|
|
|
270
405
|
declare class AXPopupService {
|
|
271
406
|
private popupList;
|
|
272
407
|
private overlayService;
|
|
408
|
+
private injector;
|
|
409
|
+
private dockCounts;
|
|
410
|
+
private minimizedByDock;
|
|
273
411
|
/**
|
|
274
412
|
* Open popup 1
|
|
275
413
|
*/
|
|
@@ -282,38 +420,33 @@ declare class AXPopupService {
|
|
|
282
420
|
* Opens a popup and returns a mutable reference (for host components and advanced control).
|
|
283
421
|
*/
|
|
284
422
|
openRef<TResult = any>(content: AXPopupContentType, config?: AXPopupConfig): Promise<AXPopupRef<TResult>>;
|
|
423
|
+
hasDock(name: string): boolean;
|
|
424
|
+
registerDock(name: string): void;
|
|
425
|
+
unregisterDock(name: string): void;
|
|
426
|
+
minimizedInDock(dock: string): AXPopupDockItem[];
|
|
427
|
+
reorderMinimized(dock: string, fromIndex: number, toIndex: number): void;
|
|
285
428
|
private mergeConfig;
|
|
286
429
|
/**
|
|
287
430
|
* Opens a popup with the specified content and configuration.
|
|
288
431
|
*/
|
|
289
432
|
private openInternal;
|
|
290
|
-
/**
|
|
291
|
-
* Closes a popup by its ID.
|
|
292
|
-
*/
|
|
293
433
|
close<TResult = any>(id: number, data?: TResult): void;
|
|
294
|
-
/**
|
|
295
|
-
* Sets input values for a popup by its ID.
|
|
296
|
-
*/
|
|
297
434
|
setInputs(id: number, values: AXComponentInputs): void;
|
|
298
|
-
/**
|
|
299
|
-
* Sets the title for a popup by its ID.
|
|
300
|
-
*/
|
|
301
435
|
setTitle(id: number, title: string): void;
|
|
302
436
|
minimize(id: number): void;
|
|
303
437
|
maximize(id: number): void;
|
|
304
438
|
restore(id: number): void;
|
|
305
|
-
/**
|
|
306
|
-
* Gets the index of a popup in the open stack (used for minimized bar positioning).
|
|
307
|
-
*/
|
|
308
439
|
getMapIndexOf(targetKey: number): number;
|
|
309
|
-
/**
|
|
310
|
-
* Brings a popup to the front of all other overlays.
|
|
311
|
-
*/
|
|
312
440
|
bringToFront(id: number): void;
|
|
441
|
+
markMaximized(id: number, maximized: boolean): void;
|
|
442
|
+
private addToDock;
|
|
443
|
+
private removeFromDock;
|
|
444
|
+
private setOverlayVisible;
|
|
445
|
+
private toDockItem;
|
|
313
446
|
private getPopupInstance;
|
|
314
447
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXPopupService, never>;
|
|
315
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
448
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
316
449
|
}
|
|
317
450
|
|
|
318
|
-
export { AXPopupComponent, AXPopupComponentBase, AXPopupFooterComponent, AXPopupHostComponent, AXPopupModule, AXPopupService, resolvePopupCloseButton, resolvePopupMaximizable, resolvePopupMinimize };
|
|
319
|
-
export type { AXPopupButtonsConfig, AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupMinimizePosition, AXPopupRef, AXPopupSizeType };
|
|
451
|
+
export { AXPopupCaptionIconComponent, AXPopupComponent, AXPopupComponentBase, AXPopupDockComponent, AXPopupFooterComponent, AXPopupHostComponent, AXPopupModule, AXPopupService, AX_POPUP_DEFAULT_RESIZE_HANDLES, resolvePopupCloseButton, resolvePopupMaximizable, resolvePopupMinimize, resolvePopupResizable };
|
|
452
|
+
export type { AXPopupButtonsConfig, AXPopupCaptionIconName, AXPopupConfig, AXPopupContentType, AXPopupData, AXPopupDockItem, AXPopupMinimizePosition, AXPopupRef, AXPopupResizableConfig, AXPopupResolvedResizableConfig, AXPopupSizeType, AXPopupWindowState };
|
|
@@ -76,7 +76,7 @@ declare class AXRailNavigationService {
|
|
|
76
76
|
*/
|
|
77
77
|
setActive(item: AXRailNavigationItemComponent): void;
|
|
78
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRailNavigationService, never>;
|
|
79
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
79
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export { AXRailNavigationComponent, AXRailNavigationItemComponent, AXRailNavigationModule, AXRailNavigationService };
|
|
@@ -15,7 +15,7 @@ type AXRangeSliderHandler = 'first' | 'second';
|
|
|
15
15
|
declare const AXRangeSliderComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
16
16
|
new (): MXValueComponent<AXRangeSliderValue>;
|
|
17
17
|
ɵfac: _angular_core.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
18
|
-
ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
18
|
+
ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
19
19
|
}]>;
|
|
20
20
|
/**
|
|
21
21
|
* @description
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AXEmoji } from '@acorex/core/constants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A single aggregated reaction shown by {@link AXReactionComponent}.
|
|
6
|
+
*/
|
|
7
|
+
interface AXReactionItem {
|
|
8
|
+
/** Emoji metadata rendered with {@link AXEmojiComponent}. */
|
|
9
|
+
emoji: AXEmoji;
|
|
10
|
+
/** Number of users who reacted with this emoji. */
|
|
11
|
+
count: number;
|
|
12
|
+
/** Whether the current user has selected this reaction. */
|
|
13
|
+
selected?: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Telegram-style reaction chips for chat messages.
|
|
18
|
+
* Renders emojis with {@link AXEmojiComponent} and opens {@link AXEmojiPickerComponent}
|
|
19
|
+
* inside {@link AXPopoverComponent} when editable.
|
|
20
|
+
*
|
|
21
|
+
* @category Components
|
|
22
|
+
*/
|
|
23
|
+
declare class AXReactionComponent {
|
|
24
|
+
/**
|
|
25
|
+
* Aggregated reactions to display.
|
|
26
|
+
*
|
|
27
|
+
* @defaultValue []
|
|
28
|
+
*/
|
|
29
|
+
readonly items: _angular_core.InputSignal<readonly AXReactionItem[]>;
|
|
30
|
+
/**
|
|
31
|
+
* Rendered emoji size in pixels.
|
|
32
|
+
*
|
|
33
|
+
* @defaultValue 18
|
|
34
|
+
*/
|
|
35
|
+
readonly size: _angular_core.InputSignal<number>;
|
|
36
|
+
/**
|
|
37
|
+
* When true, reactions are interactive and an add button opens the emoji picker popover.
|
|
38
|
+
*
|
|
39
|
+
* @defaultValue false
|
|
40
|
+
*/
|
|
41
|
+
readonly editable: _angular_core.InputSignal<boolean>;
|
|
42
|
+
/**
|
|
43
|
+
* When true, the emoji picker popover is opened.
|
|
44
|
+
*
|
|
45
|
+
* @defaultValue false
|
|
46
|
+
*/
|
|
47
|
+
readonly showPicker: _angular_core.InputSignal<boolean>;
|
|
48
|
+
/**
|
|
49
|
+
* Emits when the user selects a new reaction or an unselected existing one.
|
|
50
|
+
*/
|
|
51
|
+
readonly add: _angular_core.OutputEmitterRef<AXEmoji>;
|
|
52
|
+
/**
|
|
53
|
+
* Emits when the user removes their own reaction.
|
|
54
|
+
*/
|
|
55
|
+
readonly remove: _angular_core.OutputEmitterRef<AXEmoji>;
|
|
56
|
+
private readonly pickerPopover;
|
|
57
|
+
/** Whether the emoji picker popover is currently open. */
|
|
58
|
+
protected readonly pickerOpen: _angular_core.WritableSignal<boolean>;
|
|
59
|
+
/** Whether the add button should appear pressed while the picker is open. */
|
|
60
|
+
protected readonly isPickerVisible: _angular_core.Signal<boolean>;
|
|
61
|
+
constructor();
|
|
62
|
+
/** Toggles a reaction without mutating counts; parent owns state. */
|
|
63
|
+
protected onItemClick(item: AXReactionItem): void;
|
|
64
|
+
/** Opens or closes the emoji picker popover. */
|
|
65
|
+
protected togglePicker(event?: Event): void;
|
|
66
|
+
/** Forwards a picker selection as `add` and closes the popover. */
|
|
67
|
+
protected onPickerSelected(emoji: AXEmoji): void;
|
|
68
|
+
/** Syncs the add-button pressed state when the popover opens. */
|
|
69
|
+
protected onPickerOpened(): void;
|
|
70
|
+
/** Syncs the add-button pressed state when the popover closes. */
|
|
71
|
+
protected onPickerClosed(): void;
|
|
72
|
+
/** Accessible name for an existing reaction chip. */
|
|
73
|
+
protected itemAriaLabel(item: AXReactionItem): string;
|
|
74
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXReactionComponent, never>;
|
|
75
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXReactionComponent, "ax-reaction", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showPicker": { "alias": "showPicker"; "required": false; "isSignal": true; }; }, { "add": "add"; "remove": "remove"; }, never, never, true, never>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class AXReactionModule {
|
|
79
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXReactionModule, never>;
|
|
80
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXReactionModule, never, [typeof AXReactionComponent], [typeof AXReactionComponent]>;
|
|
81
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXReactionModule>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export { AXReactionComponent, AXReactionModule };
|
|
85
|
+
export type { AXReactionItem };
|
|
@@ -33,7 +33,7 @@ type AXRestApiOutput = {
|
|
|
33
33
|
declare class AXRestApiGeneratorService {
|
|
34
34
|
outPutJSON: i0.WritableSignal<AXRestApiOutput>;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRestApiGeneratorService, never>;
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
declare class AXQueryParamsComponent {
|
|
@@ -96,7 +96,7 @@ declare class AXRruleService {
|
|
|
96
96
|
*/
|
|
97
97
|
rruleGetAfter(rule: AXRRuleType, date: Date, inclusive?: boolean): Date | null;
|
|
98
98
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXRruleService, never>;
|
|
99
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
99
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
declare class AXRrulePreviewComponent implements OnInit {
|
|
@@ -909,7 +909,7 @@ declare class AXSchedulerPickerService {
|
|
|
909
909
|
*/
|
|
910
910
|
private getOccurrencePositionText;
|
|
911
911
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerPickerService, never>;
|
|
912
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
912
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
/**
|
|
@@ -1329,7 +1329,7 @@ declare class AXSchedulerService {
|
|
|
1329
1329
|
*/
|
|
1330
1330
|
applyDropResult(appointment: AXSchedulerAppointment, dropResult: AXSchedulerAppointmentDropResult): AXSchedulerAppointment;
|
|
1331
1331
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSchedulerService, never>;
|
|
1332
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
1332
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
export { AXSchedulerAgendaViewComponent, AXSchedulerComponent, AXSchedulerDayViewComponent, AXSchedulerModule, AXSchedulerMonthViewComponent, AXSchedulerService, AXSchedulerTimelineDayViewComponent, AXSchedulerTimelineMonthViewComponent, AXSchedulerTimelineWeeklyViewComponent, AXSchedulerTimelineYearViewComponent, AXSchedulerWeekViewComponent };
|
|
@@ -12,7 +12,7 @@ import * as i6 from '@acorex/components/button';
|
|
|
12
12
|
declare const AXSearchBoxComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
13
13
|
new (): MXInputBaseValueComponent<string>;
|
|
14
14
|
ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
15
|
-
ɵprov: i0.ɵɵInjectableDeclaration<
|
|
15
|
+
ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
16
16
|
}, typeof MXLookComponent]>;
|
|
17
17
|
/**
|
|
18
18
|
* @category
|
|
@@ -29,7 +29,7 @@ interface AXSideMenuContextMenuItemData {
|
|
|
29
29
|
declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
30
30
|
#private;
|
|
31
31
|
text: _angular_core.ModelSignal<string>;
|
|
32
|
-
active: _angular_core.
|
|
32
|
+
readonly active: _angular_core.InputSignal<boolean>;
|
|
33
33
|
isLoading: _angular_core.ModelSignal<boolean>;
|
|
34
34
|
isCollapsed: _angular_core.ModelSignal<boolean>;
|
|
35
35
|
onClick: _angular_core.OutputEmitterRef<AXSideMenuItemClickEvent>;
|
|
@@ -90,7 +90,7 @@ declare class AXSideMenuItemComponent extends MXInteractiveComponent {
|
|
|
90
90
|
private updateHasChild;
|
|
91
91
|
private updateContentLabel;
|
|
92
92
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSideMenuItemComponent, never>;
|
|
93
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "
|
|
93
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXSideMenuItemComponent, "ax-side-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "routerLinkActive": { "alias": "routerLinkActive"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, { "text": "textChange"; "isLoading": "isLoadingChange"; "isCollapsed": "isCollapsedChange"; "onClick": "onClick"; }, ["childItems"], ["ax-title", "ax-side-menu-item, ng-container, [ngTemplateOutlet]", "ax-divider", "ax-prefix", "*", "ax-suffix"], true, never>;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
type AXSideMenuLook = 'default' | 'with-line';
|
|
@@ -148,15 +148,13 @@ declare class AXSideMenuComponent extends NXComponent implements AXSideMenuBase
|
|
|
148
148
|
declare class AXOutlineSideMenuDirective {
|
|
149
149
|
#private;
|
|
150
150
|
private router;
|
|
151
|
+
private host;
|
|
151
152
|
private unsubscriber;
|
|
152
153
|
private sideMenu;
|
|
153
154
|
private container;
|
|
154
|
-
private
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
* Example: "href1(href1.1,href1.2),href2,href3"
|
|
158
|
-
* This will be different for a flat list vs. a nested list.
|
|
159
|
-
*/
|
|
155
|
+
private handleSideMenuLinkClick;
|
|
156
|
+
private cloneMenuTree;
|
|
157
|
+
private getActiveSignature;
|
|
160
158
|
private getStructuralSignature;
|
|
161
159
|
private flattenMenuItems;
|
|
162
160
|
private textReplace;
|
|
@@ -8,7 +8,7 @@ import * as i3 from '@angular/forms';
|
|
|
8
8
|
declare const AXSliderComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
9
9
|
new (): MXValueComponent<number>;
|
|
10
10
|
ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
11
|
-
ɵprov: i0.ɵɵInjectableDeclaration<
|
|
11
|
+
ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
12
12
|
}, typeof MXColorComponent]>;
|
|
13
13
|
/**
|
|
14
14
|
* @deprecated Use `range slider` instead.
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, OnInit } from '@angular/core';
|
|
3
|
-
import { MXBaseComponent, AXOrientation } from '@acorex/cdk/common';
|
|
3
|
+
import { AXStyleSizeType, MXBaseComponent, AXOrientation } from '@acorex/cdk/common';
|
|
4
4
|
|
|
5
5
|
interface AXStepWizardItem {
|
|
6
6
|
id: string;
|
|
7
7
|
title: string;
|
|
8
8
|
}
|
|
9
9
|
type AXStepWizardLook = 'rounded-icon' | 'circular-icon' | 'circular' | 'text-line' | 'rounded-arrow-minimal' | 'rectangular-arrow-minimal' | 'custom';
|
|
10
|
-
|
|
10
|
+
/** Theme host class for step wizard sizing (`ax-xs` … `ax-xl`). */
|
|
11
|
+
type AXStepWizardSize = AXStyleSizeType;
|
|
11
12
|
type AXStepWizardState = 'pending' | 'success' | 'error' | 'warning' | 'clear';
|
|
12
13
|
|
|
13
14
|
declare class AXStepWizardItemComponent extends MXBaseComponent {
|
|
@@ -49,7 +50,6 @@ declare class AXStepWizardComponent extends MXBaseComponent implements OnInit {
|
|
|
49
50
|
* Whether to automatically scroll to the active step when it changes
|
|
50
51
|
*/
|
|
51
52
|
scrollToStep: _angular_core.InputSignal<boolean>;
|
|
52
|
-
size: _angular_core.InputSignal<AXStepWizardSize>;
|
|
53
53
|
look: _angular_core.InputSignal<AXStepWizardLook>;
|
|
54
54
|
changeStep: _angular_core.InputSignal<boolean>;
|
|
55
55
|
stepChanged: _angular_core.OutputEmitterRef<AXStepWizardItemComponent>;
|
|
@@ -94,7 +94,7 @@ declare class AXStepWizardComponent extends MXBaseComponent implements OnInit {
|
|
|
94
94
|
/** @ignore */
|
|
95
95
|
private get __hostClass();
|
|
96
96
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXStepWizardComponent, never>;
|
|
97
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXStepWizardComponent, "ax-step-wizard", never, { "connector": { "alias": "connector"; "required": false; "isSignal": true; }; "scrollToStep": { "alias": "scrollToStep"; "required": false; "isSignal": true; }; "
|
|
97
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXStepWizardComponent, "ax-step-wizard", never, { "connector": { "alias": "connector"; "required": false; "isSignal": true; }; "scrollToStep": { "alias": "scrollToStep"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "changeStep": { "alias": "changeStep"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "stepChanged": "stepChanged"; }, ["steps"], ["ax-step-wizard-item"], true, never>;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
declare class AXStepWizardModule {
|
|
@@ -16,7 +16,7 @@ declare class AXSwitchContentComponent extends MXBaseComponent {
|
|
|
16
16
|
declare const AXSwitchComponent_base: polytype.Polytype.ClusteredConstructor<[{
|
|
17
17
|
new (): MXValueComponent<boolean>;
|
|
18
18
|
ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
19
|
-
ɵprov: i0.ɵɵInjectableDeclaration<
|
|
19
|
+
ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
20
20
|
}, typeof MXColorComponent]>;
|
|
21
21
|
/**
|
|
22
22
|
* @category
|