@acorex/components 21.0.1-next.8 → 21.0.1-next.80
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/conversation2/README.md +71 -31
- package/fab/README.md +3 -0
- package/fesm2022/acorex-components-accordion.mjs +19 -22
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +284 -118
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +13 -13
- 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 +11 -10
- package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +7 -7
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +12 -12
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -9
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +11 -11
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +11 -11
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +39 -24
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +18 -18
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +17 -17
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +10 -10
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +12 -14
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +12 -10
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-code-editor.mjs +13 -13
- package/fesm2022/acorex-components-code-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +22 -19
- package/fesm2022/acorex-components-collapse.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 +33 -38
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-command.mjs +31 -14
- package/fesm2022/acorex-components-command.mjs.map +1 -1
- package/fesm2022/acorex-components-comment.mjs +94 -91
- package/fesm2022/acorex-components-comment.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +52 -52
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +5147 -3762
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +46 -46
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-list.mjs +4 -4
- package/fesm2022/acorex-components-data-list.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +33 -33
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +125 -492
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +9 -10
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +12 -12
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +19 -17
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +44 -37
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +75 -54
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer-legacy.mjs +13 -13
- package/fesm2022/acorex-components-drawer-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +15 -16
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +19 -11
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +28 -57
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +11 -11
- package/fesm2022/acorex-components-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-fab.mjs +114 -0
- package/fesm2022/acorex-components-fab.mjs.map +1 -0
- package/fesm2022/acorex-components-file-explorer.mjs +25 -25
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +16 -16
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +49 -43
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +44 -23
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +44 -44
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +9 -9
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-json-viewer.mjs +8 -8
- package/fesm2022/acorex-components-json-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-kanban.mjs +16 -12
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +29 -11
- package/fesm2022/acorex-components-kbd.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -9
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +69 -21
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +82 -45
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +92 -52
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +14 -14
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-media-viewer.mjs +294 -92
- package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +78 -37
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-CXXcFToK.mjs → acorex-components-modal-acorex-components-modal-DWNqU6or.mjs} +48 -24
- package/fesm2022/acorex-components-modal-acorex-components-modal-DWNqU6or.mjs.map +1 -0
- package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs +214 -0
- package/fesm2022/acorex-components-modal-modal-content.component-DplJbJyk.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +9 -9
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +381 -260
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +9 -9
- package/fesm2022/acorex-components-number-box-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +45 -26
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +9 -9
- 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 +55 -39
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +13 -13
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-pdf-reader.mjs +8 -8
- package/fesm2022/acorex-components-pdf-reader.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +88 -41
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +24 -23
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +255 -202
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +309 -113
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +11 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +9 -9
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +8 -8
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +10 -9
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +38 -36
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +10 -10
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +20 -35
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- 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 +8 -8
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +8 -8
- 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 +56 -56
- package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +159 -83
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-scss.mjs +4 -4
- package/fesm2022/acorex-components-scss.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +16 -10
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +11 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +11 -11
- package/fesm2022/acorex-components-selection-list-2.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +9 -9
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +81 -24
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +8 -8
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +12 -12
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs +16 -16
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +14 -14
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +14 -14
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +15 -15
- 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 +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +9 -9
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +51 -129
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +39 -24
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-time-line.mjs +12 -12
- package/fesm2022/acorex-components-time-line.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +239 -131
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-toolbar.mjs +9 -9
- package/fesm2022/acorex-components-toolbar.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +77 -66
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view-legacy.mjs +16 -12
- package/fesm2022/acorex-components-tree-view-legacy.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +32 -11
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +16 -16
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-video-player.mjs +8 -8
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +43 -43
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/package.json +150 -155
- package/{accordion/index.d.ts → types/acorex-components-accordion.d.ts} +7 -4
- package/types/acorex-components-action-sheet.d.ts +256 -0
- package/{button-group/index.d.ts → types/acorex-components-button-group.d.ts} +14 -12
- package/{button/index.d.ts → types/acorex-components-button.d.ts} +3 -3
- package/{calendar/index.d.ts → types/acorex-components-calendar.d.ts} +1 -1
- package/{check-box/index.d.ts → types/acorex-components-check-box.d.ts} +1 -1
- package/{chips/index.d.ts → types/acorex-components-chips.d.ts} +3 -8
- package/{code-editor/index.d.ts → types/acorex-components-code-editor.d.ts} +1 -1
- package/{collapse/index.d.ts → types/acorex-components-collapse.d.ts} +4 -6
- package/{color-palette/index.d.ts → types/acorex-components-color-palette.d.ts} +1 -2
- package/{command/index.d.ts → types/acorex-components-command.d.ts} +35 -13
- package/{comment/index.d.ts → types/acorex-components-comment.d.ts} +23 -22
- package/{conversation/index.d.ts → types/acorex-components-conversation.d.ts} +1 -1
- package/{conversation2/index.d.ts → types/acorex-components-conversation2.d.ts} +3356 -3032
- package/{data-pager/index.d.ts → types/acorex-components-data-pager.d.ts} +1 -1
- package/{data-table/index.d.ts → types/acorex-components-data-table.d.ts} +26 -256
- package/{datetime-input/index.d.ts → types/acorex-components-datetime-input.d.ts} +1 -1
- package/{dialog/index.d.ts → types/acorex-components-dialog.d.ts} +18 -14
- package/{dropdown-button/index.d.ts → types/acorex-components-dropdown-button.d.ts} +4 -2
- package/{dropdown/index.d.ts → types/acorex-components-dropdown.d.ts} +5 -14
- package/types/acorex-components-fab.d.ts +50 -0
- package/{form/index.d.ts → types/acorex-components-form.d.ts} +3 -2
- package/{grid-layout-builder/index.d.ts → types/acorex-components-grid-layout-builder.d.ts} +16 -2
- package/{kanban/index.d.ts → types/acorex-components-kanban.d.ts} +1 -6
- package/types/acorex-components-kbd.d.ts +29 -0
- package/{list/index.d.ts → types/acorex-components-list.d.ts} +24 -2
- package/{loading-dialog/index.d.ts → types/acorex-components-loading-dialog.d.ts} +31 -15
- package/{loading/index.d.ts → types/acorex-components-loading.d.ts} +4 -2
- package/types/acorex-components-media-viewer.d.ts +184 -0
- package/{menu/index.d.ts → types/acorex-components-menu.d.ts} +13 -7
- package/{modal/index.d.ts → types/acorex-components-modal.d.ts} +7 -0
- package/{notification/index.d.ts → types/acorex-components-notification.d.ts} +47 -32
- package/{number-box/index.d.ts → types/acorex-components-number-box.d.ts} +3 -0
- package/{paint/index.d.ts → types/acorex-components-paint.d.ts} +7 -6
- package/{phone-box/index.d.ts → types/acorex-components-phone-box.d.ts} +13 -3
- package/{popover/index.d.ts → types/acorex-components-popover.d.ts} +46 -36
- package/types/acorex-components-popup.d.ts +193 -0
- package/{radio/index.d.ts → types/acorex-components-radio.d.ts} +1 -1
- package/{rate-picker/index.d.ts → types/acorex-components-rate-picker.d.ts} +5 -15
- package/{scheduler-picker/index.d.ts → types/acorex-components-scheduler-picker.d.ts} +82 -81
- package/{scheduler/index.d.ts → types/acorex-components-scheduler.d.ts} +46 -23
- package/{select-box/index.d.ts → types/acorex-components-select-box.d.ts} +7 -7
- package/{side-menu/index.d.ts → types/acorex-components-side-menu.d.ts} +10 -3
- package/{slider/index.d.ts → types/acorex-components-slider.d.ts} +2 -2
- package/{tabs/index.d.ts → types/acorex-components-tabs.d.ts} +1 -1
- package/{tag/index.d.ts → types/acorex-components-tag.d.ts} +3 -3
- package/types/acorex-components-text-box.d.ts +79 -0
- package/{time-duration/index.d.ts → types/acorex-components-time-duration.d.ts} +6 -4
- package/{toast/index.d.ts → types/acorex-components-toast.d.ts} +24 -18
- package/{tooltip/index.d.ts → types/acorex-components-tooltip.d.ts} +6 -9
- package/{tree-view-legacy/index.d.ts → types/acorex-components-tree-view-legacy.d.ts} +1 -0
- package/{tree-view/index.d.ts → types/acorex-components-tree-view.d.ts} +17 -0
- package/action-sheet/index.d.ts +0 -174
- package/fesm2022/acorex-components-modal-acorex-components-modal-CXXcFToK.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-B4rhHeEz.mjs +0 -212
- package/fesm2022/acorex-components-modal-modal-content.component-B4rhHeEz.mjs.map +0 -1
- package/kbd/index.d.ts +0 -23
- package/media-viewer/index.d.ts +0 -145
- package/popup/index.d.ts +0 -120
- package/text-box/index.d.ts +0 -95
- /package/{alert/index.d.ts → types/acorex-components-alert.d.ts} +0 -0
- /package/{aspect-ratio/index.d.ts → types/acorex-components-aspect-ratio.d.ts} +0 -0
- /package/{audio-wave/index.d.ts → types/acorex-components-audio-wave.d.ts} +0 -0
- /package/{autocomplete/index.d.ts → types/acorex-components-autocomplete.d.ts} +0 -0
- /package/{avatar/index.d.ts → types/acorex-components-avatar.d.ts} +0 -0
- /package/{badge/index.d.ts → types/acorex-components-badge.d.ts} +0 -0
- /package/{bottom-navigation/index.d.ts → types/acorex-components-bottom-navigation.d.ts} +0 -0
- /package/{breadcrumbs/index.d.ts → types/acorex-components-breadcrumbs.d.ts} +0 -0
- /package/{circular-progress/index.d.ts → types/acorex-components-circular-progress.d.ts} +0 -0
- /package/{color-box/index.d.ts → types/acorex-components-color-box.d.ts} +0 -0
- /package/{cron-job/index.d.ts → types/acorex-components-cron-job.d.ts} +0 -0
- /package/{data-list/index.d.ts → types/acorex-components-data-list.d.ts} +0 -0
- /package/{datetime-box/index.d.ts → types/acorex-components-datetime-box.d.ts} +0 -0
- /package/{datetime-picker/index.d.ts → types/acorex-components-datetime-picker.d.ts} +0 -0
- /package/{decorators/index.d.ts → types/acorex-components-decorators.d.ts} +0 -0
- /package/{drawer-legacy/index.d.ts → types/acorex-components-drawer-legacy.d.ts} +0 -0
- /package/{drawer/index.d.ts → types/acorex-components-drawer.d.ts} +0 -0
- /package/{editor/index.d.ts → types/acorex-components-editor.d.ts} +0 -0
- /package/{file-explorer/index.d.ts → types/acorex-components-file-explorer.d.ts} +0 -0
- /package/{flow-chart/index.d.ts → types/acorex-components-flow-chart.d.ts} +0 -0
- /package/{image-editor/index.d.ts → types/acorex-components-image-editor.d.ts} +0 -0
- /package/{image/index.d.ts → types/acorex-components-image.d.ts} +0 -0
- /package/{json-viewer/index.d.ts → types/acorex-components-json-viewer.d.ts} +0 -0
- /package/{label/index.d.ts → types/acorex-components-label.d.ts} +0 -0
- /package/{map/index.d.ts → types/acorex-components-map.d.ts} +0 -0
- /package/{navbar/index.d.ts → types/acorex-components-navbar.d.ts} +0 -0
- /package/{number-box-legacy/index.d.ts → types/acorex-components-number-box-legacy.d.ts} +0 -0
- /package/{otp/index.d.ts → types/acorex-components-otp.d.ts} +0 -0
- /package/{page/index.d.ts → types/acorex-components-page.d.ts} +0 -0
- /package/{password-box/index.d.ts → types/acorex-components-password-box.d.ts} +0 -0
- /package/{pdf-reader/index.d.ts → types/acorex-components-pdf-reader.d.ts} +0 -0
- /package/{picker/index.d.ts → types/acorex-components-picker.d.ts} +0 -0
- /package/{progress-bar/index.d.ts → types/acorex-components-progress-bar.d.ts} +0 -0
- /package/{qrcode/index.d.ts → types/acorex-components-qrcode.d.ts} +0 -0
- /package/{query-builder/index.d.ts → types/acorex-components-query-builder.d.ts} +0 -0
- /package/{rail-navigation/index.d.ts → types/acorex-components-rail-navigation.d.ts} +0 -0
- /package/{range-slider/index.d.ts → types/acorex-components-range-slider.d.ts} +0 -0
- /package/{rest-api-generator/index.d.ts → types/acorex-components-rest-api-generator.d.ts} +0 -0
- /package/{result/index.d.ts → types/acorex-components-result.d.ts} +0 -0
- /package/{routing-progress/index.d.ts → types/acorex-components-routing-progress.d.ts} +0 -0
- /package/{rrule/index.d.ts → types/acorex-components-rrule.d.ts} +0 -0
- /package/{scss/index.d.ts → types/acorex-components-scss.d.ts} +0 -0
- /package/{search-box/index.d.ts → types/acorex-components-search-box.d.ts} +0 -0
- /package/{selection-list-2/index.d.ts → types/acorex-components-selection-list-2.d.ts} +0 -0
- /package/{selection-list/index.d.ts → types/acorex-components-selection-list.d.ts} +0 -0
- /package/{skeleton/index.d.ts → types/acorex-components-skeleton.d.ts} +0 -0
- /package/{sliding-item/index.d.ts → types/acorex-components-sliding-item.d.ts} +0 -0
- /package/{step-wizard/index.d.ts → types/acorex-components-step-wizard.d.ts} +0 -0
- /package/{switch/index.d.ts → types/acorex-components-switch.d.ts} +0 -0
- /package/{tag-box/index.d.ts → types/acorex-components-tag-box.d.ts} +0 -0
- /package/{text-area/index.d.ts → types/acorex-components-text-area.d.ts} +0 -0
- /package/{time-line/index.d.ts → types/acorex-components-time-line.d.ts} +0 -0
- /package/{toolbar/index.d.ts → types/acorex-components-toolbar.d.ts} +0 -0
- /package/{uploader/index.d.ts → types/acorex-components-uploader.d.ts} +0 -0
- /package/{video-player/index.d.ts → types/acorex-components-video-player.d.ts} +0 -0
- /package/{wysiwyg/index.d.ts → types/acorex-components-wysiwyg.d.ts} +0 -0
- /package/{index.d.ts → types/acorex-components.d.ts} +0 -0
|
@@ -4,10 +4,10 @@ import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
|
|
|
4
4
|
import { AXLoadingComponent } from '@acorex/components/loading';
|
|
5
5
|
import { AXProgressBarComponent } from '@acorex/components/progress-bar';
|
|
6
6
|
import { AXTranslatorPipe } from '@acorex/core/translation';
|
|
7
|
-
import { DIALOG_DATA, DialogRef, Dialog } from '@angular/cdk/dialog';
|
|
8
7
|
import { AsyncPipe } from '@angular/common';
|
|
9
8
|
import * as i0 from '@angular/core';
|
|
10
|
-
import {
|
|
9
|
+
import { input, signal, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule, inject, ComponentRef, Injectable } from '@angular/core';
|
|
10
|
+
import { AXOverlayService } from '@acorex/cdk/overlay';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Represents a loading dialog component with custom styles and encapsulation.
|
|
@@ -16,18 +16,30 @@ import { inject, signal, ViewEncapsulation, ChangeDetectionStrategy, Component,
|
|
|
16
16
|
class AXLoadingDialogComponent extends MXBaseComponent {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments);
|
|
19
|
-
|
|
20
|
-
this.
|
|
19
|
+
/** Loading dialog configuration data */
|
|
20
|
+
this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
21
|
+
/** @internal Callback function to close the dialog */
|
|
22
|
+
this.onClose = input(...(ngDevMode ? [undefined, { debugName: "onClose" }] : []));
|
|
21
23
|
/** @ignore */
|
|
22
|
-
this.progressText = signal(
|
|
24
|
+
this.progressText = signal('', ...(ngDevMode ? [{ debugName: "progressText" }] : []));
|
|
23
25
|
/** @ignore */
|
|
24
|
-
this.progressStatus = signal(
|
|
26
|
+
this.progressStatus = signal('', ...(ngDevMode ? [{ debugName: "progressStatus" }] : []));
|
|
25
27
|
/** @ignore */
|
|
26
|
-
this.progressColor = signal(
|
|
28
|
+
this.progressColor = signal('primary', ...(ngDevMode ? [{ debugName: "progressColor" }] : []));
|
|
27
29
|
/** @ignore */
|
|
28
|
-
this.dialogTitle = signal(
|
|
30
|
+
this.dialogTitle = signal('', ...(ngDevMode ? [{ debugName: "dialogTitle" }] : []));
|
|
29
31
|
/** @ignore */
|
|
30
|
-
this.progressValue = signal(
|
|
32
|
+
this.progressValue = signal(0, ...(ngDevMode ? [{ debugName: "progressValue" }] : []));
|
|
33
|
+
}
|
|
34
|
+
ngOnInit() {
|
|
35
|
+
super.ngOnInit();
|
|
36
|
+
// Initialize signals from input data
|
|
37
|
+
const config = this.data();
|
|
38
|
+
this.progressText.set(config.text ?? '');
|
|
39
|
+
this.progressStatus.set(config.status ?? '');
|
|
40
|
+
this.progressColor.set(config.progressColor ?? 'primary');
|
|
41
|
+
this.dialogTitle.set(config.title ?? '');
|
|
42
|
+
this.progressValue.set(config.progressValue ?? 0);
|
|
31
43
|
}
|
|
32
44
|
/**
|
|
33
45
|
* Closes the loading dialog.
|
|
@@ -35,7 +47,10 @@ class AXLoadingDialogComponent extends MXBaseComponent {
|
|
|
35
47
|
* @returns void - No return value. The dialog is closed and control returns to the caller.
|
|
36
48
|
*/
|
|
37
49
|
close() {
|
|
38
|
-
this.
|
|
50
|
+
const closeCallback = this.onClose();
|
|
51
|
+
if (closeCallback) {
|
|
52
|
+
closeCallback();
|
|
53
|
+
}
|
|
39
54
|
}
|
|
40
55
|
/**
|
|
41
56
|
* Sets the displayed progress text inside the dialog.
|
|
@@ -90,22 +105,25 @@ class AXLoadingDialogComponent extends MXBaseComponent {
|
|
|
90
105
|
}
|
|
91
106
|
/** @ignore */
|
|
92
107
|
_hasAutoFocus(button) {
|
|
93
|
-
const
|
|
108
|
+
const buttons = this.data().buttons;
|
|
109
|
+
if (!buttons || buttons.length === 0)
|
|
110
|
+
return false;
|
|
111
|
+
const autoFocusItem = buttons.find((item) => item.autofocus === true);
|
|
94
112
|
if (autoFocusItem && autoFocusItem.text === button.text) {
|
|
95
113
|
return true;
|
|
96
114
|
}
|
|
97
115
|
if (!autoFocusItem) {
|
|
98
|
-
if (
|
|
99
|
-
|
|
100
|
-
return
|
|
116
|
+
if (buttons.length > 0) {
|
|
117
|
+
buttons[0].autofocus = true;
|
|
118
|
+
return buttons[0].text === button.text;
|
|
101
119
|
}
|
|
102
120
|
}
|
|
103
121
|
return false;
|
|
104
122
|
}
|
|
105
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
106
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: AXLoadingDialogComponent, isStandalone: true, selector: "ax-loading-dialog", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, onClose: { classPropertyName: "onClose", publicName: "onClose", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], usesInheritance: true, ngImport: i0, template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n</ax-footer>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial}}}@layer components{ax-loading-dialog{gap:calc(var(--spacing,.25rem) * 2);border-radius:var(--radius-lg,.5rem);background-color:rgba(var(--ax-sys-color-lightest-surface));width:93vw;padding:calc(var(--spacing,.25rem) * 4);flex-direction:column;display:flex}@media(min-width:40rem){ax-loading-dialog{width:80vw}}@media(min-width:48rem){ax-loading-dialog{width:55vw}}@media(min-width:64rem){ax-loading-dialog{width:30vw}}@media(min-width:80rem){ax-loading-dialog{width:25vw}}ax-loading-dialog ax-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}ax-loading-dialog .progress-decorators{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;display:flex}ax-loading-dialog ax-footer{padding-top:calc(var(--spacing,.25rem) * 3);justify-content:flex-end}}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"], dependencies: [{ kind: "component", type: AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "component", type: AXProgressBarComponent, selector: "ax-progress-bar", inputs: ["color", "mode", "progress", "height"], outputs: ["ValueChange", "sizeChange"] }, { kind: "component", type: AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "directive", type: AXHotkeyDirective, selector: "[axHotkey]", inputs: ["axHotkey"] }, { kind: "directive", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: ["axAutoFocus", "axAutoFocusTime"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "pipe", type: AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
107
125
|
}
|
|
108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{
|
|
109
127
|
type: Component,
|
|
110
128
|
args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [
|
|
111
129
|
AXDecoratorGenericComponent,
|
|
@@ -116,15 +134,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
116
134
|
AXLoadingComponent,
|
|
117
135
|
AXTranslatorPipe,
|
|
118
136
|
AsyncPipe,
|
|
119
|
-
], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data.mode\" [progress]=\"
|
|
120
|
-
}] });
|
|
137
|
+
], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: "<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n</ax-footer>\n", styles: ["@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial}}}@layer components{ax-loading-dialog{gap:calc(var(--spacing,.25rem) * 2);border-radius:var(--radius-lg,.5rem);background-color:rgba(var(--ax-sys-color-lightest-surface));width:93vw;padding:calc(var(--spacing,.25rem) * 4);flex-direction:column;display:flex}@media(min-width:40rem){ax-loading-dialog{width:80vw}}@media(min-width:48rem){ax-loading-dialog{width:55vw}}@media(min-width:64rem){ax-loading-dialog{width:30vw}}@media(min-width:80rem){ax-loading-dialog{width:25vw}}ax-loading-dialog ax-title{margin-bottom:calc(var(--spacing,.25rem) * 2);font-size:var(--text-base,1rem);line-height:var(--tw-leading,var(--text-base--line-height, 1.5 ));--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500)}ax-loading-dialog .progress-decorators{font-size:var(--text-sm,.875rem);line-height:var(--tw-leading,var(--text-sm--line-height,calc(1.25 / .875)));justify-content:space-between;display:flex}ax-loading-dialog ax-footer{padding-top:calc(var(--spacing,.25rem) * 3);justify-content:flex-end}}@property --tw-font-weight{syntax:\"*\";inherits:false}\n/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n"] }]
|
|
138
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], onClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "onClose", required: false }] }] } });
|
|
121
139
|
|
|
122
140
|
class AXLoadingDialogModule {
|
|
123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
124
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
125
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
142
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }
|
|
143
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent] }); }
|
|
126
144
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogModule, decorators: [{
|
|
128
146
|
type: NgModule,
|
|
129
147
|
args: [{
|
|
130
148
|
imports: [AXLoadingDialogComponent],
|
|
@@ -134,40 +152,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
134
152
|
|
|
135
153
|
class AXLoadingDialogService {
|
|
136
154
|
constructor() {
|
|
137
|
-
this.
|
|
155
|
+
this.overlayService = inject(AXOverlayService);
|
|
138
156
|
}
|
|
139
|
-
// private data$: BehaviorSubject<AXLoadingDialogConfig> = new BehaviorSubject<AXLoadingDialogConfig>(null);
|
|
140
157
|
/**
|
|
141
158
|
* Opens a loading dialog with the specified configuration.
|
|
142
159
|
*
|
|
143
160
|
* @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.
|
|
144
|
-
* @returns
|
|
161
|
+
* @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).
|
|
145
162
|
*/
|
|
146
163
|
show(options) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
164
|
+
let internalRef;
|
|
165
|
+
let componentInstance = null;
|
|
166
|
+
const closeDialog = () => {
|
|
167
|
+
if (internalRef) {
|
|
168
|
+
internalRef.overlayRef.dispose();
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
this.overlayService
|
|
172
|
+
.create(AXLoadingDialogComponent, {
|
|
173
|
+
inputs: {
|
|
174
|
+
data: options,
|
|
175
|
+
onClose: closeDialog,
|
|
176
|
+
},
|
|
177
|
+
backdrop: {
|
|
178
|
+
enabled: true,
|
|
179
|
+
background: true,
|
|
180
|
+
closeOnClick: false, // disableClose: true equivalent
|
|
181
|
+
},
|
|
182
|
+
panelClass: ['ax-loading-dialog-panel', 'ax-animate-fadeIn'],
|
|
183
|
+
})
|
|
184
|
+
.then((overlayRef) => {
|
|
185
|
+
internalRef = {
|
|
186
|
+
overlayRef,
|
|
187
|
+
close: closeDialog,
|
|
188
|
+
};
|
|
189
|
+
// Get the component instance for method calls
|
|
190
|
+
if (overlayRef.instance instanceof ComponentRef) {
|
|
191
|
+
componentInstance = overlayRef.instance.instance;
|
|
192
|
+
}
|
|
157
193
|
});
|
|
194
|
+
// Return the dialog ref with methods that will work once the component is created
|
|
158
195
|
return {
|
|
159
|
-
close: () =>
|
|
160
|
-
setProgressValue: (value) =>
|
|
161
|
-
setDialogTitle: (text) =>
|
|
162
|
-
setProgressText: (text) =>
|
|
163
|
-
setProgressStatus: (status) =>
|
|
164
|
-
setProgressColor: (color) =>
|
|
196
|
+
close: () => closeDialog(),
|
|
197
|
+
setProgressValue: (value) => componentInstance?.setProgressValue(value),
|
|
198
|
+
setDialogTitle: (text) => componentInstance?.setDialogTitle(text),
|
|
199
|
+
setProgressText: (text) => componentInstance?.setProgressText(text),
|
|
200
|
+
setProgressStatus: (status) => componentInstance?.setProgressStatus(status),
|
|
201
|
+
setProgressColor: (color) => componentInstance?.setProgressColor(color),
|
|
165
202
|
};
|
|
166
203
|
}
|
|
167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
168
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
204
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
205
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, providedIn: 'root' }); }
|
|
169
206
|
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXLoadingDialogService, decorators: [{
|
|
171
208
|
type: Injectable,
|
|
172
209
|
args: [{
|
|
173
210
|
providedIn: 'root',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../tmp-esm2022/loading-dialog/lib/loading-dialog.component.js","../tmp-esm2022/loading-dialog/lib/loading-dialog.module.js","../tmp-esm2022/loading-dialog/lib/loading-dialog.service.js","../tmp-esm2022/loading-dialog/acorex-components-loading-dialog.js"],"sourcesContent":["import { AXAutoFocusDirective, AXComponent, AXHotkeyDirective, MXBaseComponent, } from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AXProgressBarComponent } from '@acorex/components/progress-bar';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation, inject, signal } from '@angular/core';\nimport * as i0 from \"@angular/core\";\n/**\n * Represents a loading dialog component with custom styles and encapsulation.\n * @category components\n */\nexport class AXLoadingDialogComponent extends MXBaseComponent {\n constructor() {\n super(...arguments);\n this.data = inject(DIALOG_DATA);\n this.dialogRef = inject(DialogRef);\n /** @ignore */\n this.progressText = signal(this.data.text, ...(ngDevMode ? [{ debugName: \"progressText\" }] : []));\n /** @ignore */\n this.progressStatus = signal(this.data.status, ...(ngDevMode ? [{ debugName: \"progressStatus\" }] : []));\n /** @ignore */\n this.progressColor = signal(this.data.progressColor, ...(ngDevMode ? [{ debugName: \"progressColor\" }] : []));\n /** @ignore */\n this.dialogTitle = signal(this.data.title, ...(ngDevMode ? [{ debugName: \"dialogTitle\" }] : []));\n /** @ignore */\n this.progressValue = signal(this.data.progressValue, ...(ngDevMode ? [{ debugName: \"progressValue\" }] : []));\n }\n /**\n * Closes the loading dialog.\n *\n * @returns void - No return value. The dialog is closed and control returns to the caller.\n */\n close() {\n this.dialogRef.close();\n }\n /**\n * Sets the displayed progress text inside the dialog.\n *\n * @param text The text to display under the progress bar.\n * @returns void\n */\n setProgressText(text) {\n this.progressText.set(text);\n }\n /**\n * Sets the status text, typically representing the current step out of total steps (e.g., \"5/10\").\n *\n * @param status The status text to display.\n * @returns void\n */\n setProgressStatus(status) {\n this.progressStatus.set(status);\n }\n /**\n * Sets the color used by the progress indicator.\n *\n * @param color The color token to apply to the progress UI.\n * @returns void\n */\n setProgressColor(color) {\n this.progressColor.set(color);\n }\n /**\n * Sets the dialog title text.\n *\n * @param text The title text to display at the top of the dialog.\n * @returns void\n */\n setDialogTitle(text) {\n this.dialogTitle.set(text);\n }\n /**\n * Sets the numeric progress value.\n *\n * @param value A number in the range 0–100 representing the current progress.\n * @returns void\n */\n setProgressValue(value) {\n this.progressValue.set(value);\n }\n /** @ignore */\n _handleButtonClick(button) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n /** @ignore */\n _hasAutoFocus(button) {\n const autoFocusItem = this.data.buttons.find((item) => item.autofocus === true);\n if (autoFocusItem && autoFocusItem.text === button.text) {\n return true;\n }\n if (!autoFocusItem) {\n if (this.data.buttons.length > 0) {\n this.data.buttons[0].autofocus = true;\n return this.data.buttons[0].text === button.text;\n }\n }\n return false;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.3.15\", type: AXLoadingDialogComponent, isStandalone: true, selector: \"ax-loading-dialog\", providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], usesInheritance: true, ngImport: i0, template: \"<ax-title>{{ dialogTitle() }}</ax-title>\\n\\n<ax-progress-bar [mode]=\\\"data.mode\\\" [progress]=\\\"this.progressValue()\\\" [color]=\\\"progressColor()\\\"></ax-progress-bar>\\n<div class=\\\"progress-decorators\\\">\\n <div>{{ progressText() }}</div>\\n <div>{{ progressStatus() }}</div>\\n</div>\\n<ax-footer>\\n @for (button of data.buttons; track $index) {\\n <ax-button\\n [text]=\\\"button.text | translate | async\\\"\\n [tabindex]=\\\"$index\\\"\\n [axHotkey]=\\\"button.hotkey\\\"\\n [axAutoFocus]=\\\"_hasAutoFocus(button)\\\"\\n (onClick)=\\\"_handleButtonClick(button)\\\"\\n [look]=\\\"button.look\\\"\\n [disabled]=\\\"button.disabled\\\"\\n [color]=\\\"button.color\\\"\\n >\\n @if (button.loading) {\\n <ax-loading></ax-loading>\\n }\\n </ax-button>\\n }\\n</ax-footer>\\n\", styles: [\"ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\\n\"], dependencies: [{ kind: \"component\", type: AXDecoratorGenericComponent, selector: \"ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay\" }, { kind: \"component\", type: AXProgressBarComponent, selector: \"ax-progress-bar\", inputs: [\"color\", \"mode\", \"progress\", \"height\"], outputs: [\"ValueChange\", \"sizeChange\"] }, { kind: \"component\", type: AXButtonComponent, selector: \"ax-button\", inputs: [\"disabled\", \"size\", \"tabIndex\", \"color\", \"look\", \"text\", \"toggleable\", \"selected\", \"iconOnly\", \"type\", \"loadingText\"], outputs: [\"onBlur\", \"onFocus\", \"onClick\", \"selectedChange\", \"toggleableChange\", \"lookChange\", \"colorChange\", \"disabledChange\", \"loadingTextChange\"] }, { kind: \"directive\", type: AXHotkeyDirective, selector: \"[axHotkey]\", inputs: [\"axHotkey\"] }, { kind: \"directive\", type: AXAutoFocusDirective, selector: \"[axAutoFocus]\", inputs: [\"axAutoFocus\", \"axAutoFocusTime\"] }, { kind: \"component\", type: AXLoadingComponent, selector: \"ax-loading\", inputs: [\"visible\", \"type\", \"context\"], outputs: [\"visibleChange\"] }, { kind: \"pipe\", type: AXTranslatorPipe, name: \"translate\" }, { kind: \"pipe\", type: AsyncPipe, name: \"async\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ax-loading-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [\n AXDecoratorGenericComponent,\n AXProgressBarComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AXTranslatorPipe,\n AsyncPipe,\n ], providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }], template: \"<ax-title>{{ dialogTitle() }}</ax-title>\\n\\n<ax-progress-bar [mode]=\\\"data.mode\\\" [progress]=\\\"this.progressValue()\\\" [color]=\\\"progressColor()\\\"></ax-progress-bar>\\n<div class=\\\"progress-decorators\\\">\\n <div>{{ progressText() }}</div>\\n <div>{{ progressStatus() }}</div>\\n</div>\\n<ax-footer>\\n @for (button of data.buttons; track $index) {\\n <ax-button\\n [text]=\\\"button.text | translate | async\\\"\\n [tabindex]=\\\"$index\\\"\\n [axHotkey]=\\\"button.hotkey\\\"\\n [axAutoFocus]=\\\"_hasAutoFocus(button)\\\"\\n (onClick)=\\\"_handleButtonClick(button)\\\"\\n [look]=\\\"button.look\\\"\\n [disabled]=\\\"button.disabled\\\"\\n [color]=\\\"button.color\\\"\\n >\\n @if (button.loading) {\\n <ax-loading></ax-loading>\\n }\\n </ax-button>\\n }\\n</ax-footer>\\n\", styles: [\"ax-loading-dialog{display:flex;flex-direction:column;gap:.5rem;width:33vw;background-color:rgba(var(--ax-comp-loading-dialog-bg-color, var(--ax-sys-color-lightest-surface)));padding:1rem;border-radius:var(--ax-comp-loading-dialog-border-radius, var(--ax-sys-border-radius))}ax-loading-dialog ax-title{font-weight:500;font-size:1rem;margin-bottom:.5rem}@media (min-width: 320px) and (max-width: 640px){ax-loading-dialog{width:93vw!important}}@media (min-width: 768px){ax-loading-dialog{width:55vw!important}}@media (min-width: 1280px){ax-loading-dialog{width:30vw!important}}@media (min-width: 1536px){ax-loading-dialog{width:25vw!important}}ax-loading-dialog .progress-decorators{display:flex;justify-content:space-between;font-size:.875rem}ax-loading-dialog ax-footer{justify-content:flex-end;padding-top:.75rem}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9sb2FkaW5nLWRpYWxvZy9zcmMvbGliL2xvYWRpbmctZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvbG9hZGluZy1kaWFsb2cvc3JjL2xpYi9sb2FkaW5nLWRpYWxvZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsb0JBQW9CLEVBQ3BCLFdBQVcsRUFFWCxpQkFBaUIsRUFFakIsZUFBZSxHQUNoQixNQUFNLG9CQUFvQixDQUFDO0FBQzVCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlELE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQzVFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzVELE9BQU8sRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDN0QsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0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biAgICAgIChvbkNsaWNrKT1cIl9oYW5kbGVCdXR0b25DbGljayhidXR0b24pXCJcbiAgICAgIFtsb29rXT1cImJ1dHRvbi5sb29rXCJcbiAgICAgIFtkaXNhYmxlZF09XCJidXR0b24uZGlzYWJsZWRcIlxuICAgICAgW2NvbG9yXT1cImJ1dHRvbi5jb2xvclwiXG4gICAgPlxuICAgICAgQGlmIChidXR0b24ubG9hZGluZykge1xuICAgICAgICA8YXgtbG9hZGluZz48L2F4LWxvYWRpbmc+XG4gICAgICB9XG4gICAgPC9heC1idXR0b24+XG4gIH1cbjwvYXgtZm9vdGVyPlxuIl19","import { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport * as i0 from \"@angular/core\";\nexport class AXLoadingDialogModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent], exports: [AXLoadingDialogComponent] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, imports: [AXLoadingDialogComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [AXLoadingDialogComponent],\n exports: [AXLoadingDialogComponent],\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tcG9uZW50cy9sb2FkaW5nLWRpYWxvZy9zcmMvbGliL2xvYWRpbmctZGlhbG9nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDOztBQU10RSxNQUFNLE9BQU8scUJBQXFCOytHQUFyQixxQkFBcUI7Z0hBQXJCLHFCQUFxQixZQUh0Qix3QkFBd0IsYUFDeEIsd0JBQXdCO2dIQUV2QixxQkFBcUIsWUFIdEIsd0JBQXdCOzs0RkFHdkIscUJBQXFCO2tCQUpqQyxRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLHdCQUF3QixDQUFDO29CQUNuQyxPQUFPLEVBQUUsQ0FBQyx3QkFBd0IsQ0FBQztpQkFDcEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhMb2FkaW5nRGlhbG9nQ29tcG9uZW50IH0gZnJvbSAnLi9sb2FkaW5nLWRpYWxvZy5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQVhMb2FkaW5nRGlhbG9nQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW0FYTG9hZGluZ0RpYWxvZ0NvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEFYTG9hZGluZ0RpYWxvZ01vZHVsZSB7fVxuIl19","import { Dialog } from '@angular/cdk/dialog';\nimport { Injectable, inject } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\nimport * as i0 from \"@angular/core\";\nexport class AXLoadingDialogService {\n constructor() {\n this.dialog = inject(Dialog);\n }\n // private data$: BehaviorSubject<AXLoadingDialogConfig> = new BehaviorSubject<AXLoadingDialogConfig>(null);\n /**\n * Opens a loading dialog with the specified configuration.\n *\n * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.\n * @returns AXDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).\n */\n show(options) {\n const dialogRef = this.dialog.open(AXLoadingDialogComponent, {\n hasBackdrop: true,\n disableClose: true,\n restoreFocus: true,\n closeOnDestroy: true,\n closeOnNavigation: true,\n ariaModal: true,\n role: 'alertdialog',\n panelClass: ['ax-animate-fadeIn'],\n data: options,\n });\n return {\n close: () => dialogRef.componentInstance?.close(),\n setProgressValue: (value) => dialogRef.componentInstance?.setProgressValue(value),\n setDialogTitle: (text) => dialogRef.componentInstance?.setDialogTitle(text),\n setProgressText: (text) => dialogRef.componentInstance?.setProgressText(text),\n setProgressStatus: (status) => dialogRef.componentInstance?.setProgressStatus(status),\n setProgressColor: (color) => dialogRef.componentInstance?.setProgressColor(color),\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }\n static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, providedIn: 'root' }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.3.15\", ngImport: i0, type: AXLoadingDialogService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1kaWFsb2cuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvbXBvbmVudHMvbG9hZGluZy1kaWFsb2cvc3JjL2xpYi9sb2FkaW5nLWRpYWx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veTogdHJ1ZSxcbiAgICAgIGNsb3NlT25OYXZpZ2F0aW9uOiB0cnVlLFxuICAgICAgYXJpYU1vZGFsOiB0cnVlLFxuICAgICAgcm9sZTogJ2FsZXJ0ZGlhbG9nJyxcbiAgICAgIHBhbmVsQ2xhc3M6IFsnYXgtYW5pbWF0ZS1mYWRlSW4nXSxcbiAgICAgIGRhdGE6IG9wdGlvbnMsXG4gICAgfSk7XG4gICAgcmV0dXJuIHtcbiAgICAgIGNsb3NlOiAoKSA9PiBkaWFsb2dSZWYuY29tcG9uZW50SW5zdGFuY2U/LmNsb3NlKCksXG4gICAgICBzZXRQcm9ncmVzc1ZhbHVlOiAodmFsdWU6IG51bWJlcikgPT4gZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlPy5zZXRQcm9ncmVzc1ZhbHVlKHZhbHVlKSxcbiAgICAgIHNldERpYWxvZ1RpdGxlOiAodGV4dDogc3RyaW5nKSA9PiBkaWFsb2dSZWYuY29tcG9uZW50SW5zdGFuY2U/LnNldERpYWxvZ1RpdGxlKHRleHQpLFxuICAgICAgc2V0UHJvZ3Jlc3NUZXh0OiAodGV4dDogc3RyaW5nKSA9PiBkaWFsb2dSZWYuY29tcG9uZW50SW5zdGFuY2U/LnNldFByb2dyZXNzVGV4dCh0ZXh0KSxcbiAgICAgIHNldFByb2dyZXNzU3RhdHVzOiAoc3RhdHVzOiBzdHJpbmcpID0+IGRpYWxvZ1JlZi5jb21wb25lbnRJbnN0YW5jZT8uc2V0UHJvZ3Jlc3NTdGF0dXMoc3RhdHVzKSxcbiAgICAgIHNldFByb2dyZXNzQ29sb3I6IChjb2xvcjogQVhTdHlsZUNvbG9yVHlwZSkgPT4gZGlhbG9nUmVmLmNvbXBvbmVudEluc3RhbmNlPy5zZXRQcm9ncmVzc0NvbG9yKGNvbG9yKSxcbiAgICB9O1xuICB9XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2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S,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,EAAE,CAAC,CAAC;AAC1L,IAAI,SAAS,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC,qBAAqB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;AACjK;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,CAAC;AACjI,YAAY,IAAI,EAAE,UAAU;AAC5B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,MAAM;AACtC,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC5Cb;AACA;AACA;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-loading-dialog.mjs","sources":["../../../../packages/components/loading-dialog/src/lib/loading-dialog.component.ts","../../../../packages/components/loading-dialog/src/lib/loading-dialog.component.html","../../../../packages/components/loading-dialog/src/lib/loading-dialog.module.ts","../../../../packages/components/loading-dialog/src/lib/loading-dialog.service.ts","../../../../packages/components/loading-dialog/src/acorex-components-loading-dialog.ts"],"sourcesContent":["import {\n AXAutoFocusDirective,\n AXComponent,\n AXHotkeyDirective,\n AXStyleColorType,\n MXBaseComponent,\n} from '@acorex/cdk/common';\nimport { AXButtonComponent } from '@acorex/components/button';\nimport { AXDecoratorGenericComponent } from '@acorex/components/decorators';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { AXProgressBarComponent } from '@acorex/components/progress-bar';\nimport { AXTranslatorPipe } from '@acorex/core/translation';\nimport { AsyncPipe } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation, WritableSignal, input, signal } from '@angular/core';\nimport { AXLoadingDialogButtonItem, AXLoadingDialogConfig } from './loading-dialog.class';\n\n/**\n * Represents a loading dialog component with custom styles and encapsulation.\n * @category components\n */\n@Component({\n selector: 'ax-loading-dialog',\n templateUrl: './loading-dialog.component.html',\n styleUrls: ['./loading-dialog.component.compiled.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [\n AXDecoratorGenericComponent,\n AXProgressBarComponent,\n AXButtonComponent,\n AXHotkeyDirective,\n AXAutoFocusDirective,\n AXLoadingComponent,\n AXTranslatorPipe,\n AsyncPipe,\n ],\n providers: [{ provide: AXComponent, useExisting: AXLoadingDialogComponent }],\n})\nexport class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {\n /** Loading dialog configuration data */\n data = input.required<AXLoadingDialogConfig>();\n\n /** @internal Callback function to close the dialog */\n onClose = input<() => void>();\n\n /** @ignore */\n protected progressText: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressStatus: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressColor: WritableSignal<AXStyleColorType> = signal('primary');\n\n /** @ignore */\n protected dialogTitle: WritableSignal<string> = signal('');\n\n /** @ignore */\n protected progressValue: WritableSignal<number> = signal(0);\n\n override ngOnInit(): void {\n super.ngOnInit();\n // Initialize signals from input data\n const config = this.data();\n this.progressText.set(config.text ?? '');\n this.progressStatus.set(config.status ?? '');\n this.progressColor.set(config.progressColor ?? 'primary');\n this.dialogTitle.set(config.title ?? '');\n this.progressValue.set(config.progressValue ?? 0);\n }\n\n /**\n * Closes the loading dialog.\n *\n * @returns void - No return value. The dialog is closed and control returns to the caller.\n */\n close() {\n const closeCallback = this.onClose();\n if (closeCallback) {\n closeCallback();\n }\n }\n\n /**\n * Sets the displayed progress text inside the dialog.\n *\n * @param text The text to display under the progress bar.\n * @returns void\n */\n setProgressText(text: string) {\n this.progressText.set(text);\n }\n\n /**\n * Sets the status text, typically representing the current step out of total steps (e.g., \"5/10\").\n *\n * @param status The status text to display.\n * @returns void\n */\n setProgressStatus(status: string) {\n this.progressStatus.set(status);\n }\n\n /**\n * Sets the color used by the progress indicator.\n *\n * @param color The color token to apply to the progress UI.\n * @returns void\n */\n setProgressColor(color: AXStyleColorType) {\n this.progressColor.set(color);\n }\n\n /**\n * Sets the dialog title text.\n *\n * @param text The title text to display at the top of the dialog.\n * @returns void\n */\n setDialogTitle(text: string) {\n this.dialogTitle.set(text);\n }\n\n /**\n * Sets the numeric progress value.\n *\n * @param value A number in the range 0–100 representing the current progress.\n * @returns void\n */\n setProgressValue(value: number) {\n this.progressValue.set(value);\n }\n\n /** @ignore */\n protected _handleButtonClick(button: AXLoadingDialogButtonItem) {\n if (button.onClick) {\n button.onClick({ source: button });\n }\n }\n\n /** @ignore */\n protected _hasAutoFocus(button: AXLoadingDialogButtonItem) {\n const buttons = this.data().buttons;\n if (!buttons || buttons.length === 0) return false;\n\n const autoFocusItem = buttons.find((item) => item.autofocus === true);\n if (autoFocusItem && autoFocusItem.text === button.text) {\n return true;\n }\n if (!autoFocusItem) {\n if (buttons.length > 0) {\n buttons[0].autofocus = true;\n return buttons[0].text === button.text;\n }\n }\n return false;\n }\n}\n","<ax-title>{{ dialogTitle() }}</ax-title>\n\n<ax-progress-bar [mode]=\"data().mode\" [progress]=\"progressValue()\" [color]=\"progressColor()\"></ax-progress-bar>\n<div class=\"progress-decorators\">\n <div>{{ progressText() }}</div>\n <div>{{ progressStatus() }}</div>\n</div>\n<ax-footer>\n @for (button of data().buttons; track $index) {\n <ax-button\n [text]=\"button.text | translate | async\"\n [tabindex]=\"$index\"\n [axHotkey]=\"button.hotkey\"\n [axAutoFocus]=\"_hasAutoFocus(button)\"\n (onClick)=\"_handleButtonClick(button)\"\n [look]=\"button.look\"\n [disabled]=\"button.disabled\"\n [color]=\"button.color\"\n >\n @if (button.loading) {\n <ax-loading></ax-loading>\n }\n </ax-button>\n }\n</ax-footer>\n","import { NgModule } from '@angular/core';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@NgModule({\n imports: [AXLoadingDialogComponent],\n exports: [AXLoadingDialogComponent],\n})\nexport class AXLoadingDialogModule {}\n","import { AXStyleColorType } from '@acorex/cdk/common';\nimport { AXOverlayService } from '@acorex/cdk/overlay';\nimport { ComponentRef, Injectable, inject } from '@angular/core';\nimport { AXLoadingDialogConfig, AXLoadingDialogInternalRef, AXLoadingDialogRef } from './loading-dialog.class';\nimport { AXLoadingDialogComponent } from './loading-dialog.component';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AXLoadingDialogService {\n private overlayService = inject(AXOverlayService);\n\n /**\n * Opens a loading dialog with the specified configuration.\n *\n * @param options Configuration for the loading dialog, including title, progress mode, and optional initial values.\n * @returns AXLoadingDialogRef - A reference with helper methods to control the dialog lifecycle and UI (close, setProgressValue, setProgressText, setDialogTitle, setProgressColor, setProgressStatus).\n */\n show(options: AXLoadingDialogConfig): AXLoadingDialogRef {\n let internalRef: AXLoadingDialogInternalRef;\n let componentInstance: AXLoadingDialogComponent | null = null;\n\n const closeDialog = () => {\n if (internalRef) {\n internalRef.overlayRef.dispose();\n }\n };\n\n this.overlayService\n .create<AXLoadingDialogComponent>(AXLoadingDialogComponent, {\n inputs: {\n data: options,\n onClose: closeDialog,\n },\n backdrop: {\n enabled: true,\n background: true,\n closeOnClick: false, // disableClose: true equivalent\n },\n panelClass: ['ax-loading-dialog-panel', 'ax-animate-fadeIn'],\n })\n .then((overlayRef) => {\n internalRef = {\n overlayRef,\n close: closeDialog,\n };\n\n // Get the component instance for method calls\n if (overlayRef.instance instanceof ComponentRef) {\n componentInstance = overlayRef.instance.instance as AXLoadingDialogComponent;\n }\n });\n\n // Return the dialog ref with methods that will work once the component is created\n return {\n close: () => closeDialog(),\n setProgressValue: (value: number) => componentInstance?.setProgressValue(value),\n setDialogTitle: (text: string) => componentInstance?.setDialogTitle(text),\n setProgressText: (text: string) => componentInstance?.setProgressText(text),\n setProgressStatus: (status: string) => componentInstance?.setProgressStatus(status),\n setProgressColor: (color: AXStyleColorType) => componentInstance?.setProgressColor(color),\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAgBA;;;AAGG;AAmBG,MAAO,wBAAyB,SAAQ,eAAe,CAAA;AAlB7D,IAAA,WAAA,GAAA;;;AAoBE,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAyB;;QAG9C,IAAA,CAAA,OAAO,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAc;;AAGnB,QAAA,IAAA,CAAA,YAAY,GAA2B,MAAM,CAAC,EAAE,wDAAC;;AAGjD,QAAA,IAAA,CAAA,cAAc,GAA2B,MAAM,CAAC,EAAE,0DAAC;;AAGnD,QAAA,IAAA,CAAA,aAAa,GAAqC,MAAM,CAAC,SAAS,yDAAC;;AAGnE,QAAA,IAAA,CAAA,WAAW,GAA2B,MAAM,CAAC,EAAE,uDAAC;;AAGhD,QAAA,IAAA,CAAA,aAAa,GAA2B,MAAM,CAAC,CAAC,yDAAC;AAmG5D,IAAA;IAjGU,QAAQ,GAAA;QACf,KAAK,CAAC,QAAQ,EAAE;;AAEhB,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE;QAC1B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC;QACxC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC;QAC5C,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;QACzD,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,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