@acorex/components 21.0.1-next.7 → 21.0.1-next.71
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 +18 -16
- 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 +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 +8 -8
- 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 +11 -11
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +8 -8
- 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 +35 -24
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +17 -17
- 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 +9 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -8
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +8 -8
- 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 +10 -10
- 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 +50 -50
- 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 +111 -42
- 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 +32 -32
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +76 -56
- 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 +14 -14
- 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 +25 -56
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-editor.mjs +9 -9
- 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 +36 -38
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +42 -20
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +42 -42
- 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 +15 -30
- package/fesm2022/acorex-components-kanban.mjs.map +1 -1
- package/fesm2022/acorex-components-kbd.mjs +9 -9
- 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 +91 -51
- 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 +77 -36
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-BnUdtPke.mjs → acorex-components-modal-acorex-components-modal-Bjw8EpLk.mjs} +48 -24
- package/fesm2022/acorex-components-modal-acorex-components-modal-Bjw8EpLk.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-Cgq-wx_m.mjs → acorex-components-modal-modal-content.component-A2h_OC6e.mjs} +8 -8
- package/fesm2022/acorex-components-modal-modal-content.component-A2h_OC6e.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +8 -8
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +383 -255
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box-legacy.mjs +7 -7
- 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 +49 -28
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +11 -11
- 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 +8 -8
- 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 +14 -14
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +9 -9
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +9 -9
- 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 +54 -54
- 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 +7 -7
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +9 -9
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list-2.mjs +9 -9
- 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 +28 -20
- 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 +7 -7
- 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 +12 -12
- 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 +8 -8
- 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 +241 -133
- 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 +76 -64
- 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 +7 -7
- package/fesm2022/acorex-components-video-player.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +39 -39
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +150 -155
- package/{accordion/index.d.ts → types/acorex-components-accordion.d.ts} +7 -3
- package/types/acorex-components-action-sheet.d.ts +256 -0
- package/{button-group/index.d.ts → types/acorex-components-button-group.d.ts} +12 -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/{code-editor/index.d.ts → types/acorex-components-code-editor.d.ts} +1 -1
- 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} +23 -4
- 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} +19 -15
- 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} +15 -0
- package/{kanban/index.d.ts → types/acorex-components-kanban.d.ts} +2 -1
- 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} +3 -1
- 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 -30
- 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} +6 -0
- 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/{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} +1 -1
- 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 -8
- 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-BnUdtPke.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-Cgq-wx_m.mjs.map +0 -1
- 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/{chips/index.d.ts → types/acorex-components-chips.d.ts} +0 -0
- /package/{circular-progress/index.d.ts → types/acorex-components-circular-progress.d.ts} +0 -0
- /package/{collapse/index.d.ts → types/acorex-components-collapse.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/{kbd/index.d.ts → types/acorex-components-kbd.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/{rate-picker/index.d.ts → types/acorex-components-rate-picker.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/{slider/index.d.ts → types/acorex-components-slider.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-code-editor.mjs","sources":["../../../../packages/components/code-editor/src/lib/plugins/default/formatters/prettier.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/css.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/html.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/javascript.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/json.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/markdown.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/sass.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/sql.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/typescript.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/xml.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/github-dark.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/github-light.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/light.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/one-dark.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/config.ts","../../../../packages/components/code-editor/src/lib/plugins/tokens.ts","../../../../packages/components/code-editor/src/lib/plugins/registry.service.ts","../../../../packages/components/code-editor/src/lib/code-editor.component.ts","../../../../packages/components/code-editor/src/lib/code-editor.module.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/index.ts","../../../../packages/components/code-editor/src/lib/plugins/default/index.ts","../../../../packages/components/code-editor/src/index.ts","../../../../packages/components/code-editor/src/acorex-components-code-editor.ts"],"sourcesContent":["import { AXCodeEditorFormatterPlugin } from '../../types';\n\nexport class PrettierFormatterPlugin implements AXCodeEditorFormatterPlugin {\n readonly id = 'prettier';\n readonly name = 'Prettier';\n readonly version = '1.0.0';\n readonly languages = ['javascript', 'js', 'typescript', 'ts', 'json', 'html', 'css', 'markdown'] as const;\n\n async format(text: string, language: string): Promise<string | null> {\n try {\n const prettier = await import('prettier/standalone');\n let parser: string | null = null;\n const plugins: any[] = [];\n\n switch (language) {\n case 'javascript':\n case 'js': {\n const [babel, estree] = await Promise.all([\n import('prettier/plugins/babel'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(babel, estree);\n parser = 'babel';\n break;\n }\n case 'typescript':\n case 'ts': {\n const [typescript, estree] = await Promise.all([\n import('prettier/plugins/typescript'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(typescript, estree);\n parser = 'typescript';\n break;\n }\n case 'json': {\n const [babel, estree] = await Promise.all([\n import('prettier/plugins/babel'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(babel, estree);\n parser = 'json';\n break;\n }\n case 'html': {\n const html = await import('prettier/plugins/html');\n plugins.push(html);\n parser = 'html';\n break;\n }\n case 'css': {\n const postcss = await import('prettier/plugins/postcss');\n plugins.push(postcss);\n parser = 'css';\n break;\n }\n case 'markdown': {\n const markdown = await import('prettier/plugins/markdown');\n plugins.push(markdown);\n parser = 'markdown';\n break;\n }\n default:\n return null;\n }\n\n if (!parser) return null;\n const formatted = await prettier.format(text, {\n parser,\n plugins,\n } as any);\n return formatted;\n } catch {\n return null;\n }\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class CSSLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'css';\n readonly name = 'CSS';\n readonly version = '1.0.0';\n readonly languages = ['css'] as const;\n\n async getExtension(): Promise<Extension> {\n const { css } = await import('@codemirror/lang-css');\n return css();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class HTMLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'html';\n readonly name = 'HTML';\n readonly version = '1.0.0';\n readonly languages = ['html'] as const;\n\n async getExtension(): Promise<Extension> {\n const { html } = await import('@codemirror/lang-html');\n return html();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class JavaScriptLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'javascript';\n readonly name = 'JavaScript';\n readonly version = '1.0.0';\n readonly languages = ['javascript', 'js'] as const;\n\n async getExtension(): Promise<Extension> {\n const { javascript } = await import('@codemirror/lang-javascript');\n return javascript();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class JSONLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'json';\n readonly name = 'JSON';\n readonly version = '1.0.0';\n readonly languages = ['json'] as const;\n\n async getExtension(): Promise<Extension> {\n const { json } = await import('@codemirror/lang-json');\n return json();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class MarkdownLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'markdown';\n readonly name = 'Markdown';\n readonly version = '1.0.0';\n readonly languages = ['markdown'] as const;\n\n async getExtension(): Promise<Extension> {\n const { markdown } = await import('@codemirror/lang-markdown');\n return markdown();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class SassLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'sass';\n readonly name = 'Sass/SCSS';\n readonly version = '1.0.0';\n readonly languages = ['sass', 'scss'] as const;\n\n async getExtension(): Promise<Extension> {\n const { sass } = await import('@codemirror/lang-sass');\n return sass();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class SQLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'sql';\n readonly name = 'SQL';\n readonly version = '1.0.0';\n readonly languages = ['sql'] as const;\n\n async getExtension(): Promise<Extension> {\n const { sql } = await import('@codemirror/lang-sql');\n return sql();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class TypeScriptLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'typescript';\n readonly name = 'TypeScript';\n readonly version = '1.0.0';\n readonly languages = ['typescript', 'ts'] as const;\n\n async getExtension(): Promise<Extension> {\n const { javascript } = await import('@codemirror/lang-javascript');\n return javascript({ typescript: true });\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class XMLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'xml';\n readonly name = 'XML';\n readonly version = '1.0.0';\n readonly languages = ['xml'] as const;\n\n async getExtension(): Promise<Extension> {\n const { xml } = await import('@codemirror/lang-xml');\n return xml();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class GitHubDarkThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'github-dark';\n readonly name = 'GitHub Dark';\n readonly version = '1.0.0';\n readonly dark = true;\n\n async getExtension(): Promise<Extension> {\n const [{ githubDark }, { EditorView }] = await Promise.all([\n import('@uiw/codemirror-theme-github'),\n import('@codemirror/view'),\n ]);\n return [\n githubDark,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n // '.cm-gutters': { backgroundColor: 'transparent !important' },\n },\n { dark: true },\n ),\n ];\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class GitHubLightThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'github-light';\n readonly name = 'GitHub Light';\n readonly version = '1.0.0';\n readonly dark = false;\n\n async getExtension(): Promise<Extension> {\n const [{ githubLight }, { EditorView }] = await Promise.all([\n import('@uiw/codemirror-theme-github'),\n import('@codemirror/view'),\n ]);\n return [\n githubLight,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n // '.cm-gutters': { backgroundColor: 'transparent !important' },\n },\n { dark: false },\n ),\n ];\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class LightThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'light';\n readonly name = 'Light';\n readonly version = '1.0.0';\n readonly dark = false;\n\n async getExtension(): Promise<Extension> {\n const { EditorView } = await import('@codemirror/view');\n return EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: false },\n );\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class OneDarkThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'one-dark';\n readonly name = 'One Dark';\n readonly version = '1.0.0';\n readonly dark = true;\n\n async getExtension(): Promise<Extension> {\n const { EditorView } = await import('@codemirror/view');\n try {\n const { oneDark } = await import('@codemirror/theme-one-dark');\n return [\n oneDark,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: true },\n ),\n ];\n } catch {\n return EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: true },\n );\n }\n }\n}\n","import { AXCodeEditorPluginConfig } from '../types';\nimport { PrettierFormatterPlugin } from './formatters/prettier.plugin';\nimport { CSSLanguagePlugin } from './languages/css.plugin';\nimport { HTMLLanguagePlugin } from './languages/html.plugin';\nimport { JavaScriptLanguagePlugin } from './languages/javascript.plugin';\nimport { JSONLanguagePlugin } from './languages/json.plugin';\nimport { MarkdownLanguagePlugin } from './languages/markdown.plugin';\nimport { SassLanguagePlugin } from './languages/sass.plugin';\nimport { SQLLanguagePlugin } from './languages/sql.plugin';\nimport { TypeScriptLanguagePlugin } from './languages/typescript.plugin';\nimport { XMLLanguagePlugin } from './languages/xml.plugin';\nimport { GitHubDarkThemePlugin } from './themes/github-dark.plugin';\nimport { GitHubLightThemePlugin } from './themes/github-light.plugin';\nimport { LightThemePlugin } from './themes/light.plugin';\nimport { OneDarkThemePlugin } from './themes/one-dark.plugin';\n\n/**\n * Default plugin configuration with all built-in plugins\n */\nexport function provideDefaultCodeEditorPlugins(): AXCodeEditorPluginConfig {\n return {\n languages: [\n new JavaScriptLanguagePlugin(),\n new TypeScriptLanguagePlugin(),\n new JSONLanguagePlugin(),\n new HTMLLanguagePlugin(),\n new CSSLanguagePlugin(),\n new SassLanguagePlugin(),\n new SQLLanguagePlugin(),\n new XMLLanguagePlugin(),\n new MarkdownLanguagePlugin(),\n ],\n themes: [\n new OneDarkThemePlugin(),\n new LightThemePlugin(),\n new GitHubLightThemePlugin(),\n new GitHubDarkThemePlugin(),\n ],\n formatters: [new PrettierFormatterPlugin()],\n extensions: [],\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport { provideDefaultCodeEditorPlugins } from './default/config';\nimport { AXCodeEditorPluginConfig } from './types';\n\n/**\n * Injection token for providing code editor plugin configuration\n */\nexport const AX_CODE_EDITOR_PLUGIN_CONFIG = new InjectionToken<AXCodeEditorPluginConfig>(\n 'AX_CODE_EDITOR_PLUGIN_CONFIG',\n {\n providedIn: 'root',\n factory: () => provideDefaultCodeEditorPlugins(),\n },\n);\n","import { Injectable, inject } from '@angular/core';\nimport type { Extension } from '@codemirror/state';\nimport {\n AXCodeEditorExtensionPlugin,\n AXCodeEditorFormatterPlugin,\n AXCodeEditorLanguagePlugin,\n AXCodeEditorPluginConfig,\n AXCodeEditorThemePlugin,\n} from './types';\nimport { AX_CODE_EDITOR_PLUGIN_CONFIG } from './tokens';\n\n/**\n * Registry service for managing code editor plugins\n */\n@Injectable({ providedIn: 'root' })\nexport class AXCodeEditorPluginRegistry {\n private config: AXCodeEditorPluginConfig | null = inject(AX_CODE_EDITOR_PLUGIN_CONFIG, { optional: true });\n\n private languagePlugins = new Map<string, AXCodeEditorLanguagePlugin>();\n private themePlugins = new Map<string, AXCodeEditorThemePlugin>();\n private formatterPlugins = new Map<string, AXCodeEditorFormatterPlugin>();\n private extensionPlugins = new Map<string, AXCodeEditorExtensionPlugin>();\n\n constructor() {\n this.initializePlugins();\n }\n\n private initializePlugins(): void {\n if (!this.config) return;\n\n // Register language plugins\n this.config.languages?.forEach((plugin) => {\n plugin.languages.forEach((lang) => {\n this.languagePlugins.set(lang, plugin);\n });\n });\n\n // Register theme plugins\n this.config.themes?.forEach((plugin) => {\n this.themePlugins.set(plugin.id, plugin);\n });\n\n // Register formatter plugins\n this.config.formatters?.forEach((plugin) => {\n plugin.languages.forEach((lang) => {\n this.formatterPlugins.set(lang, plugin);\n });\n });\n\n // Register extension plugins\n this.config.extensions?.forEach((plugin) => {\n this.extensionPlugins.set(plugin.id, plugin);\n });\n }\n\n /**\n * Get language extension for the specified language\n */\n async getLanguageExtension(language: string): Promise<Extension> {\n const plugin = this.languagePlugins.get(language);\n if (!plugin) {\n console.warn(`No language plugin found for: ${language}`);\n return [];\n }\n return plugin.getExtension();\n }\n\n /**\n * Get theme extension by theme ID\n */\n async getThemeExtension(themeId: string): Promise<Extension> {\n const plugin = this.themePlugins.get(themeId);\n if (!plugin) {\n console.warn(`No theme plugin found for: ${themeId}`);\n return [];\n }\n return plugin.getExtension();\n }\n\n /**\n * Format text using the appropriate formatter for the language\n */\n async format(text: string, language: string): Promise<string | null> {\n const plugin = this.formatterPlugins.get(language);\n if (!plugin) {\n return null;\n }\n return plugin.format(text, language);\n }\n\n /**\n * Get all registered extension plugins\n */\n async getExtensionPlugins(): Promise<Extension[]> {\n const extensions = await Promise.all(\n Array.from(this.extensionPlugins.values()).map((plugin) => plugin.getExtension()),\n );\n return extensions;\n }\n\n /**\n * Check if a language is supported\n */\n hasLanguage(language: string): boolean {\n return this.languagePlugins.has(language);\n }\n\n /**\n * Check if a theme is available\n */\n hasTheme(themeId: string): boolean {\n return this.themePlugins.has(themeId);\n }\n\n /**\n * Check if a formatter is available for a language\n */\n hasFormatter(language: string): boolean {\n return this.formatterPlugins.has(language);\n }\n\n /**\n * Get all available language identifiers\n */\n getAvailableLanguages(): string[] {\n return Array.from(this.languagePlugins.keys());\n }\n\n /**\n * Get all available theme identifiers\n */\n getAvailableThemes(): string[] {\n return Array.from(this.themePlugins.keys());\n }\n\n /**\n * Register a language plugin at runtime\n */\n registerLanguagePlugin(plugin: AXCodeEditorLanguagePlugin): void {\n plugin.languages.forEach((lang) => {\n this.languagePlugins.set(lang, plugin);\n });\n }\n\n /**\n * Register a theme plugin at runtime\n */\n registerThemePlugin(plugin: AXCodeEditorThemePlugin): void {\n this.themePlugins.set(plugin.id, plugin);\n }\n\n /**\n * Register a formatter plugin at runtime\n */\n registerFormatterPlugin(plugin: AXCodeEditorFormatterPlugin): void {\n plugin.languages.forEach((lang) => {\n this.formatterPlugins.set(lang, plugin);\n });\n }\n\n /**\n * Register an extension plugin at runtime\n */\n registerExtensionPlugin(plugin: AXCodeEditorExtensionPlugin): void {\n this.extensionPlugins.set(plugin.id, plugin);\n }\n}\n","import { AXComponent, AXValuableComponent, MXValueComponent } from '@acorex/cdk/common';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n ElementRef,\n PLATFORM_ID,\n afterNextRender,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { AXCodeEditorDefaultLanguage } from './plugins';\nimport { AXCodeEditorPluginRegistry } from './plugins/registry.service';\n\n// Re-export language type for external use\nexport type { AXCodeEditorDefaultLanguage } from './plugins/default/languages';\n\n// Type-only aliases for CodeMirror types (tree-shake friendly)\ntype AXCodeEditorEditorViewLike = import('@codemirror/view').EditorView;\ntype AXCodeEditorKeyBindingLike = import('@codemirror/view').KeyBinding;\nexport type AXCodeEditorExtensionLike = import('@codemirror/state').Extension;\ntype AXCodeEditorCompartmentLike = import('@codemirror/state').Compartment;\nexport type AXCodeEditorCompletionLike = import('@codemirror/autocomplete').Completion;\nexport type AXCodeEditorCompletionSourceLike = import('@codemirror/autocomplete').CompletionSource;\ntype AXCodeEditorCompletionContextLike = import('@codemirror/autocomplete').CompletionContext;\n\ntype AXCodeEditorViewModule = typeof import('@codemirror/view');\ntype AXCodeEditorStateModule = typeof import('@codemirror/state');\ntype AXCodeEditorLanguageModule = typeof import('@codemirror/language');\ntype AXCodeEditorAutocompleteModule = typeof import('@codemirror/autocomplete');\ntype AXCodeEditorCommandsModule = typeof import('@codemirror/commands');\ntype AXCodeEditorSearchModule = typeof import('@codemirror/search');\ntype AXCodeEditorLintModule = typeof import('@codemirror/lint');\n\n@Component({\n selector: 'ax-code-editor',\n host: {\n '(keydown.control.s)': 'onSaveShortcut($event)',\n class: 'ax-code-editor block',\n },\n inputs: ['disabled', 'value', 'state', 'name', 'id'],\n outputs: ['onValueChanged', 'valueChange', 'stateChange', 'readonlyChange', 'disabledChange'],\n styles: [\n `\n :host {\n display: block;\n width: 100%;\n height: 100%;\n\n &.ax-disable {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n > .ax-editor-container {\n height: 100%;\n width: 100%;\n align-items: start;\n --ax-comp-editor-space-start-size: 0;\n --ax-comp-editor-space-end-size: 0;\n --ax-comp-editor-border-width: 1px;\n }\n\n .ax-code-editor-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .cm-editor {\n width: 100%;\n max-width: 100%;\n overflow: auto;\n }\n\n .cm-editor.cm-focused {\n outline: none;\n }\n\n .ax-error-message {\n padding-inline: 0.5rem;\n }\n }\n `,\n ],\n providers: [\n { provide: AXValuableComponent, useExisting: AXCodeEditorComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXCodeEditorComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXCodeEditorComponent },\n ],\n template: `\n <div class=\"ax-editor-container\" [style.min-height]=\"getMinHeight()\">\n <div class=\"ax-code-editor-container\">\n <div\n #host\n class=\"cm-editor\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-readonly]=\"editorReadonly() ? 'true' : 'false'\"\n [attr.data-placeholder]=\"placeholder() ?? null\"\n ></div>\n </div>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n </div>\n <div class=\"ax-error-container\"></div>\n `,\n})\nexport class AXCodeEditorComponent extends MXValueComponent<string> {\n // Inputs (signals)\n // value = input<string>('');\n /** Active language identifier from default plugins. Default: 'javascript'. */\n language = input<AXCodeEditorDefaultLanguage>('javascript');\n /** When true, the editor becomes readonly (non-editable). */\n editorReadonly = input(false, { alias: 'readonly' });\n /** Placeholder text shown when the document is empty. */\n placeholder = input<string>('');\n /** Toggle rendering of line numbers in the gutter. */\n lineNumbers = input<boolean>(true);\n /** Soft-wrap long lines when true. */\n lineWrapping = input<boolean>(false);\n /** Tab size (spaces per indent level). */\n tabSize = input<number>(2);\n /** When true, the Tab key indents instead of moving focus. */\n indentWithTab = input<boolean>(true);\n /** Theme identifier. If null, uses platform theme mode (dark/light). */\n theme = input<string | null>(null);\n /** Additional CodeMirror extensions to apply. Reconfigures at runtime. */\n extensions = input<ReadonlyArray<AXCodeEditorExtensionLike>>([]);\n /** ARIA label for accessibility. */\n ariaLabel = input<string | null>(null);\n /** Focus the editor after first render. */\n focusOnReady = input<boolean>(false);\n /** If true, format the document via Prettier before emitting save. */\n formatOnSave = input<boolean>(false);\n /** Minimum number of rows (lines) to display. Controls the minimum height of the editor. */\n minRow = input<number | null>(null);\n\n /**\n * Custom autocompletion options: either a static array of Completion items\n * or a CodeMirror CompletionSource function.\n */\n customCompletions = input<ReadonlyArray<AXCodeEditorCompletionLike> | AXCodeEditorCompletionSourceLike | null>(null);\n\n // Outputs (signals)\n // valueChange = output<string>();\n /** Emits when the editor is fully initialized and ready. */\n ready = output<void>();\n /** Emits when the user triggers save (Ctrl/Cmd+S). Payload is the current text. */\n save = output<string>();\n\n // View container\n host = viewChild<ElementRef<HTMLDivElement>>('host');\n\n // Runtime state\n private platformId = inject(PLATFORM_ID);\n private destroyRef = inject(DestroyRef);\n private platformService = inject(AXPlatform);\n private pluginRegistry = inject(AXCodeEditorPluginRegistry);\n\n private editorViewSig = signal<AXCodeEditorEditorViewLike | null>(null);\n\n // Compartments to reconfigure editor without recreating it\n private languageCompartment: AXCodeEditorCompartmentLike | null = null;\n private readonlyCompartment: AXCodeEditorCompartmentLike | null = null;\n private themeCompartment: AXCodeEditorCompartmentLike | null = null;\n private placeholderCompartment: AXCodeEditorCompartmentLike | null = null;\n private wrappingCompartment: AXCodeEditorCompartmentLike | null = null;\n private keymapExtrasCompartment: AXCodeEditorCompartmentLike | null = null;\n private tabSizeCompartment: AXCodeEditorCompartmentLike | null = null;\n private lineNumbersCompartment: AXCodeEditorCompartmentLike | null = null;\n\n // Cached CodeMirror modules after initialization\n private cm: {\n view: AXCodeEditorViewModule | null;\n state: AXCodeEditorStateModule | null;\n language: AXCodeEditorLanguageModule | null;\n autocomplete: AXCodeEditorAutocompleteModule | null;\n commands: AXCodeEditorCommandsModule | null;\n search: AXCodeEditorSearchModule | null;\n lint: AXCodeEditorLintModule | null;\n } = { view: null, state: null, language: null, autocomplete: null, commands: null, search: null, lint: null };\n\n private isBrowser = computed(() => isPlatformBrowser(this.platformId));\n\n /** Computed minimum height based on minRow (excluding gutter/line numbers). */\n getMinHeight(): string | null {\n const rows = this.minRow();\n if (!rows || rows <= 0) return null;\n // CodeMirror default line height is typically 1.5em, but we use rem for consistency\n // This calculates height without accounting for gutter since gutter is separate\n return `calc(${rows} * 1.5rem)`;\n }\n\n constructor() {\n super();\n afterNextRender(() => {\n if (!this.isBrowser()) return;\n this.initializeEditor();\n });\n\n // Keep model in sync when external value changes\n effect(() => {\n const view = this.editorViewSig();\n if (!view) return;\n const newDoc = this.value ?? '';\n const current = view.state.doc.toString();\n if (newDoc !== current) {\n view.dispatch({\n changes: { from: 0, to: view.state.doc.length, insert: newDoc },\n });\n }\n });\n\n // React to dynamic configuration changes\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.languageCompartment) return;\n const lang = this.language();\n this.pluginRegistry.getLanguageExtension(lang).then((ext) => {\n if (!view || !this.languageCompartment) return;\n view.dispatch({ effects: this.languageCompartment.reconfigure(ext) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.readonlyCompartment) return;\n const editable = !this.editorReadonly();\n import('@codemirror/view').then(({ EditorView }) => {\n if (!view || !this.readonlyCompartment) return;\n view.dispatch({ effects: this.readonlyCompartment.reconfigure(EditorView.editable.of(editable)) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n // Establish reactive dependency on theme and platform theme\n const customTheme = this.theme();\n const platformTheme = this.platformService.themeMode();\n if (!view || !this.themeCompartment) return;\n this.resolveThemeExtension(customTheme, platformTheme).then((themeExt) => {\n if (!view || !this.themeCompartment) return;\n view.dispatch({ effects: this.themeCompartment.reconfigure(themeExt) });\n });\n });\n\n effect(() => {\n this.placeholder();\n const view = this.editorViewSig();\n if (!view || !this.placeholderCompartment) return;\n import('@codemirror/view').then(({ placeholder }) => {\n if (!view || !this.placeholderCompartment) return;\n view.dispatch({ effects: this.placeholderCompartment.reconfigure(placeholder(this.placeholder() ?? '')) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.wrappingCompartment) return;\n const EditorView = this.cm.view?.EditorView;\n if (!EditorView) return;\n const nextExt = this.lineWrapping() ? EditorView.lineWrapping : [];\n this.reconfigure(this.wrappingCompartment, nextExt);\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.tabSizeCompartment) return;\n const EditorState = this.cm.state?.EditorState;\n if (!EditorState) return;\n this.reconfigure(this.tabSizeCompartment, EditorState.tabSize.of(this.tabSize() ?? 2));\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.keymapExtrasCompartment) return;\n const keymap = this.cm.view?.keymap;\n const commands = this.cm.commands;\n if (!keymap || !commands) return;\n this.reconfigure(this.keymapExtrasCompartment, keymap.of(this.indentWithTab() ? [commands.indentWithTab] : []));\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.lineNumbersCompartment) return;\n const lineNumbers = this.cm.view?.lineNumbers;\n if (!lineNumbers) return;\n this.reconfigure(this.lineNumbersCompartment, this.lineNumbers() ? lineNumbers() : []);\n });\n }\n\n private async initializeEditor(): Promise<void> {\n const hostEl = this.host()?.nativeElement;\n if (!hostEl) return;\n\n await this.loadCodeMirrorModules();\n\n this.createCompartments();\n\n const keymaps = this.buildKeymaps();\n\n const viewMod = this.cm.view;\n const stateMod = this.cm.state;\n const languageMod = this.cm.language;\n const autoMod = this.cm.autocomplete;\n const commandsMod = this.cm.commands;\n const searchMod = this.cm.search;\n const lintMod = this.cm.lint;\n if (!viewMod || !stateMod || !languageMod || !autoMod || !commandsMod || !searchMod || !lintMod) return;\n const languageExt = await this.pluginRegistry.getLanguageExtension(this.language());\n const themeExt = await this.resolveThemeExtension(this.theme(), this.platformService.themeMode());\n const placeholderExt = viewMod.placeholder(this.placeholder() ?? '');\n const editableExt = viewMod.EditorView.editable.of(!this.editorReadonly());\n const wrappingExt = this.lineWrapping() ? viewMod.EditorView.lineWrapping : [];\n const tabSizeExt = stateMod.EditorState.tabSize.of(this.tabSize() ?? 2);\n const lineNumbersExt = this.lineNumbers() ? viewMod.lineNumbers() : [];\n\n const autoCompleteExt = autoMod.autocompletion({\n override: this.buildCustomCompletionSources(),\n });\n\n const baseExtensions: ReadonlyArray<AXCodeEditorExtensionLike> = [\n this.lineNumbersCompartment.of(lineNumbersExt),\n viewMod.highlightActiveLine(),\n viewMod.highlightActiveLineGutter(),\n viewMod.drawSelection(),\n viewMod.dropCursor(),\n viewMod.rectangularSelection(),\n viewMod.crosshairCursor(),\n viewMod.highlightSpecialChars(),\n languageMod.syntaxHighlighting(languageMod.defaultHighlightStyle, { fallback: true }),\n languageMod.bracketMatching(),\n languageMod.foldGutter(),\n commandsMod.history(),\n searchMod.highlightSelectionMatches(),\n viewMod.keymap.of(keymaps),\n autoCompleteExt,\n this.languageCompartment.of(languageExt),\n this.readonlyCompartment.of(editableExt),\n this.themeCompartment.of(themeExt),\n this.placeholderCompartment.of(placeholderExt),\n this.wrappingCompartment.of(wrappingExt),\n this.tabSizeCompartment.of(tabSizeExt),\n this.keymapExtrasCompartment.of(viewMod.keymap.of(this.indentWithTab() ? [commandsMod.indentWithTab] : [])),\n ...this.extensions(),\n ];\n\n const updateListener = viewMod.EditorView.updateListener.of((vu) => {\n if (vu.docChanged) {\n const text = vu.state.doc.toString();\n // this.writeValue(text);\n this.value = text;\n }\n });\n\n const state = stateMod.EditorState.create({\n doc: this.value ?? '',\n extensions: [...baseExtensions, updateListener],\n });\n\n const view = new viewMod.EditorView({ state, parent: hostEl });\n\n // Update listener for external changes (selection, viewport, etc.) if needed later\n view.dispatch({ effects: [] });\n\n this.editorViewSig.set(view);\n\n this.destroyRef.onDestroy(() => {\n view.destroy();\n this.editorViewSig.set(null);\n });\n\n if (this.focusOnReady()) {\n view.focus();\n }\n\n this.ready.emit();\n }\n\n private reconfigure(comp: AXCodeEditorCompartmentLike | null, ext: AXCodeEditorExtensionLike): void {\n const view = this.editorViewSig();\n if (!view || !comp) return;\n view.dispatch({ effects: comp.reconfigure(ext) });\n }\n\n /**\n * Handles Ctrl/Cmd+S on the host. If formatOnSave is enabled, attempts\n * to format the document first, then emits the saved text.\n */\n async onSaveShortcut(event: KeyboardEvent): Promise<void> {\n event.preventDefault();\n const view = this.editorViewSig();\n const current = view?.state.doc.toString() ?? this.value ?? '';\n const payload = current;\n if (this.formatOnSave()) {\n await this.format(true);\n }\n this.save.emit(payload);\n }\n\n private async loadCodeMirrorModules(): Promise<void> {\n const [viewMod, stateMod, langMod, autoMod, cmdMod, searchMod, lintMod] = await Promise.all([\n import('@codemirror/view'),\n import('@codemirror/state'),\n import('@codemirror/language'),\n import('@codemirror/autocomplete'),\n import('@codemirror/commands'),\n import('@codemirror/search'),\n import('@codemirror/lint'),\n ]);\n this.cm.view = viewMod;\n this.cm.state = stateMod;\n this.cm.language = langMod;\n this.cm.autocomplete = autoMod;\n this.cm.commands = cmdMod;\n this.cm.search = searchMod;\n this.cm.lint = lintMod;\n }\n\n private createCompartments(): void {\n const stateMod = this.cm.state;\n if (!stateMod) return;\n this.languageCompartment = new stateMod.Compartment();\n this.readonlyCompartment = new stateMod.Compartment();\n this.themeCompartment = new stateMod.Compartment();\n this.placeholderCompartment = new stateMod.Compartment();\n this.wrappingCompartment = new stateMod.Compartment();\n this.tabSizeCompartment = new stateMod.Compartment();\n this.keymapExtrasCompartment = new stateMod.Compartment();\n this.lineNumbersCompartment = new stateMod.Compartment();\n }\n\n private buildKeymaps(): ReadonlyArray<AXCodeEditorKeyBindingLike> {\n const cmdMod = this.cm.commands;\n const searchMod = this.cm.search;\n const autoMod = this.cm.autocomplete;\n const lintMod = this.cm.lint;\n if (!cmdMod || !searchMod || !autoMod || !lintMod) return [];\n return [\n ...cmdMod.defaultKeymap,\n ...cmdMod.historyKeymap,\n ...searchMod.searchKeymap,\n ...autoMod.completionKeymap,\n ...lintMod.lintKeymap,\n ];\n }\n\n private async resolveThemeExtension(\n customTheme: string | null,\n platformTheme: string,\n ): Promise<AXCodeEditorExtensionLike> {\n // If custom theme is specified, use it\n if (customTheme) {\n return this.pluginRegistry.getThemeExtension(customTheme);\n }\n\n // Otherwise, use platform theme (handle 'system' by defaulting to 'github-light')\n const themeId = platformTheme === 'dark' ? 'github-dark' : 'github-light';\n return this.pluginRegistry.getThemeExtension(themeId);\n }\n\n private buildCustomCompletionSources(): ReadonlyArray<AXCodeEditorCompletionSourceLike> | undefined {\n const provided = this.customCompletions();\n if (!provided) return undefined;\n if (typeof provided === 'function') {\n return [provided as AXCodeEditorCompletionSourceLike];\n }\n // Treat array as a static completion list\n const staticSource: AXCodeEditorCompletionSourceLike = (context: AXCodeEditorCompletionContextLike) => {\n const from = context.pos;\n return { from, options: provided as ReadonlyArray<AXCodeEditorCompletionLike> };\n };\n return [staticSource];\n }\n\n // Public API\n /** Programmatically focus the editor. */\n public override focus(): void {\n const view = this.editorViewSig();\n if (view) view.focus();\n }\n\n /** Select all text in the current document. */\n public selectAll(): void {\n const view = this.editorViewSig();\n if (!view) return;\n const length = view.state.doc.length;\n view.dispatch({ selection: { anchor: 0, head: length } });\n }\n\n // Formats the current document using the registered formatter plugin (if available for the active language).\n // Returns the formatted text or null if unchanged/unsupported.\n public async format(affect = true): Promise<string | null> {\n const view = this.editorViewSig();\n if (!view) return null;\n const source = view.state.doc.toString();\n if (!source) return null;\n const formatted = await this.pluginRegistry.format(source, this.language());\n if (!formatted || formatted === source) return null;\n if (affect) {\n view.dispatch({ changes: { from: 0, to: view.state.doc.length, insert: formatted } });\n }\n return formatted;\n }\n\n /** Returns the total number of characters in the current document. */\n public getTotalCharacters(): number {\n const view = this.editorViewSig();\n if (view) return view.state.doc.length ?? 0;\n const text = this.value ?? '';\n return text.length;\n }\n\n /** Returns the total number of lines in the current document. */\n public getTotalLines(): number {\n const view = this.editorViewSig();\n if (view) {\n const doc: any = view.state.doc;\n return typeof doc?.lines === 'number' ? doc.lines : doc.toString().split(/\\r?\\n/).length;\n }\n const text = this.value ?? '';\n return text ? text.split(/\\r?\\n/).length : 1;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXCodeEditorComponent } from './code-editor.component';\n\n@NgModule({\n imports: [CommonModule, AXCodeEditorComponent],\n exports: [AXCodeEditorComponent],\n})\nexport class AXCodeEditorModule {}\n","// Language plugins\nexport * from './javascript.plugin';\nexport * from './typescript.plugin';\nexport * from './json.plugin';\nexport * from './html.plugin';\nexport * from './css.plugin';\nexport * from './sass.plugin';\nexport * from './sql.plugin';\nexport * from './xml.plugin';\nexport * from './markdown.plugin';\n\n// Type union of all supported languages from default plugins\nexport type AXCodeEditorDefaultLanguage =\n | 'javascript'\n | 'js'\n | 'typescript'\n | 'ts'\n | 'json'\n | 'html'\n | 'css'\n | 'scss'\n | 'sass'\n | 'sql'\n | 'xml'\n | 'markdown';\n","// Language plugins\nexport * from './languages';\n\n// Theme plugins\nexport * from './themes/one-dark.plugin';\nexport * from './themes/light.plugin';\nexport * from './themes/github-light.plugin';\nexport * from './themes/github-dark.plugin';\n\n// Formatter plugins\nexport * from './formatters/prettier.plugin';\n","// Component & Module\nexport * from './lib/code-editor.component';\nexport * from './lib/code-editor.module';\n\n// Plugins\nexport * from './lib/plugins';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAEa,uBAAuB,CAAA;AAApC,IAAA,WAAA,GAAA;QACW,IAAA,CAAA,EAAE,GAAG,UAAU;QACf,IAAA,CAAA,IAAI,GAAG,UAAU;QACjB,IAAA,CAAA,OAAO,GAAG,OAAO;AACjB,QAAA,IAAA,CAAA,SAAS,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAU;IAsE3G;AApEE,IAAA,MAAM,MAAM,CAAC,IAAY,EAAE,QAAgB,EAAA;AACzC,QAAA,IAAI;AACF,YAAA,MAAM,QAAQ,GAAG,MAAM,OAAO,qBAAqB,CAAC;YACpD,IAAI,MAAM,GAAkB,IAAI;YAChC,MAAM,OAAO,GAAU,EAAE;YAEzB,QAAQ,QAAQ;AACd,gBAAA,KAAK,YAAY;gBACjB,KAAK,IAAI,EAAE;oBACT,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBACxC,OAAO,wBAAwB,CAAC;wBAChC,OAAO,yBAAyB,CAAC;AAClC,qBAAA,CAAC;AACF,oBAAA,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC;oBAC3B,MAAM,GAAG,OAAO;oBAChB;gBACF;AACA,gBAAA,KAAK,YAAY;gBACjB,KAAK,IAAI,EAAE;oBACT,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wBAC7C,OAAO,6BAA6B,CAAC;wBACrC,OAAO,yBAAyB,CAAC;AAClC,qBAAA,CAAC;AACF,oBAA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AA,kBAAkB,YAHnB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,qBAAqB,CAAC;oBAC9C,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA;;;ACPD;;ACAA;;ACAA;;ACAA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-code-editor.mjs","sources":["../../../../packages/components/code-editor/src/lib/plugins/default/formatters/prettier.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/css.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/html.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/javascript.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/json.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/markdown.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/sass.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/sql.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/typescript.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/xml.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/github-dark.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/github-light.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/light.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/themes/one-dark.plugin.ts","../../../../packages/components/code-editor/src/lib/plugins/default/config.ts","../../../../packages/components/code-editor/src/lib/plugins/tokens.ts","../../../../packages/components/code-editor/src/lib/plugins/registry.service.ts","../../../../packages/components/code-editor/src/lib/code-editor.component.ts","../../../../packages/components/code-editor/src/lib/code-editor.module.ts","../../../../packages/components/code-editor/src/lib/plugins/default/languages/index.ts","../../../../packages/components/code-editor/src/lib/plugins/default/index.ts","../../../../packages/components/code-editor/src/index.ts","../../../../packages/components/code-editor/src/acorex-components-code-editor.ts"],"sourcesContent":["import { AXCodeEditorFormatterPlugin } from '../../types';\n\nexport class PrettierFormatterPlugin implements AXCodeEditorFormatterPlugin {\n readonly id = 'prettier';\n readonly name = 'Prettier';\n readonly version = '1.0.0';\n readonly languages = ['javascript', 'js', 'typescript', 'ts', 'json', 'html', 'css', 'markdown'] as const;\n\n async format(text: string, language: string): Promise<string | null> {\n try {\n const prettier = await import('prettier/standalone');\n let parser: string | null = null;\n const plugins: any[] = [];\n\n switch (language) {\n case 'javascript':\n case 'js': {\n const [babel, estree] = await Promise.all([\n import('prettier/plugins/babel'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(babel, estree);\n parser = 'babel';\n break;\n }\n case 'typescript':\n case 'ts': {\n const [typescript, estree] = await Promise.all([\n import('prettier/plugins/typescript'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(typescript, estree);\n parser = 'typescript';\n break;\n }\n case 'json': {\n const [babel, estree] = await Promise.all([\n import('prettier/plugins/babel'),\n import('prettier/plugins/estree'),\n ]);\n plugins.push(babel, estree);\n parser = 'json';\n break;\n }\n case 'html': {\n const html = await import('prettier/plugins/html');\n plugins.push(html);\n parser = 'html';\n break;\n }\n case 'css': {\n const postcss = await import('prettier/plugins/postcss');\n plugins.push(postcss);\n parser = 'css';\n break;\n }\n case 'markdown': {\n const markdown = await import('prettier/plugins/markdown');\n plugins.push(markdown);\n parser = 'markdown';\n break;\n }\n default:\n return null;\n }\n\n if (!parser) return null;\n const formatted = await prettier.format(text, {\n parser,\n plugins,\n } as any);\n return formatted;\n } catch {\n return null;\n }\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class CSSLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'css';\n readonly name = 'CSS';\n readonly version = '1.0.0';\n readonly languages = ['css'] as const;\n\n async getExtension(): Promise<Extension> {\n const { css } = await import('@codemirror/lang-css');\n return css();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class HTMLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'html';\n readonly name = 'HTML';\n readonly version = '1.0.0';\n readonly languages = ['html'] as const;\n\n async getExtension(): Promise<Extension> {\n const { html } = await import('@codemirror/lang-html');\n return html();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class JavaScriptLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'javascript';\n readonly name = 'JavaScript';\n readonly version = '1.0.0';\n readonly languages = ['javascript', 'js'] as const;\n\n async getExtension(): Promise<Extension> {\n const { javascript } = await import('@codemirror/lang-javascript');\n return javascript();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class JSONLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'json';\n readonly name = 'JSON';\n readonly version = '1.0.0';\n readonly languages = ['json'] as const;\n\n async getExtension(): Promise<Extension> {\n const { json } = await import('@codemirror/lang-json');\n return json();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class MarkdownLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'markdown';\n readonly name = 'Markdown';\n readonly version = '1.0.0';\n readonly languages = ['markdown'] as const;\n\n async getExtension(): Promise<Extension> {\n const { markdown } = await import('@codemirror/lang-markdown');\n return markdown();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class SassLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'sass';\n readonly name = 'Sass/SCSS';\n readonly version = '1.0.0';\n readonly languages = ['sass', 'scss'] as const;\n\n async getExtension(): Promise<Extension> {\n const { sass } = await import('@codemirror/lang-sass');\n return sass();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class SQLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'sql';\n readonly name = 'SQL';\n readonly version = '1.0.0';\n readonly languages = ['sql'] as const;\n\n async getExtension(): Promise<Extension> {\n const { sql } = await import('@codemirror/lang-sql');\n return sql();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class TypeScriptLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'typescript';\n readonly name = 'TypeScript';\n readonly version = '1.0.0';\n readonly languages = ['typescript', 'ts'] as const;\n\n async getExtension(): Promise<Extension> {\n const { javascript } = await import('@codemirror/lang-javascript');\n return javascript({ typescript: true });\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorLanguagePlugin } from '../../types';\n\nexport class XMLLanguagePlugin implements AXCodeEditorLanguagePlugin {\n readonly id = 'xml';\n readonly name = 'XML';\n readonly version = '1.0.0';\n readonly languages = ['xml'] as const;\n\n async getExtension(): Promise<Extension> {\n const { xml } = await import('@codemirror/lang-xml');\n return xml();\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class GitHubDarkThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'github-dark';\n readonly name = 'GitHub Dark';\n readonly version = '1.0.0';\n readonly dark = true;\n\n async getExtension(): Promise<Extension> {\n const [{ githubDark }, { EditorView }] = await Promise.all([\n import('@uiw/codemirror-theme-github'),\n import('@codemirror/view'),\n ]);\n return [\n githubDark,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n // '.cm-gutters': { backgroundColor: 'transparent !important' },\n },\n { dark: true },\n ),\n ];\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class GitHubLightThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'github-light';\n readonly name = 'GitHub Light';\n readonly version = '1.0.0';\n readonly dark = false;\n\n async getExtension(): Promise<Extension> {\n const [{ githubLight }, { EditorView }] = await Promise.all([\n import('@uiw/codemirror-theme-github'),\n import('@codemirror/view'),\n ]);\n return [\n githubLight,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n // '.cm-gutters': { backgroundColor: 'transparent !important' },\n },\n { dark: false },\n ),\n ];\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class LightThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'light';\n readonly name = 'Light';\n readonly version = '1.0.0';\n readonly dark = false;\n\n async getExtension(): Promise<Extension> {\n const { EditorView } = await import('@codemirror/view');\n return EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: false },\n );\n }\n}\n","import type { Extension } from '@codemirror/state';\nimport { AXCodeEditorThemePlugin } from '../../types';\n\nexport class OneDarkThemePlugin implements AXCodeEditorThemePlugin {\n readonly id = 'one-dark';\n readonly name = 'One Dark';\n readonly version = '1.0.0';\n readonly dark = true;\n\n async getExtension(): Promise<Extension> {\n const { EditorView } = await import('@codemirror/view');\n try {\n const { oneDark } = await import('@codemirror/theme-one-dark');\n return [\n oneDark,\n EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: true },\n ),\n ];\n } catch {\n return EditorView.theme(\n {\n // '&': { backgroundColor: 'transparent !important' },\n '.cm-gutters': {},\n },\n { dark: true },\n );\n }\n }\n}\n","import { AXCodeEditorPluginConfig } from '../types';\nimport { PrettierFormatterPlugin } from './formatters/prettier.plugin';\nimport { CSSLanguagePlugin } from './languages/css.plugin';\nimport { HTMLLanguagePlugin } from './languages/html.plugin';\nimport { JavaScriptLanguagePlugin } from './languages/javascript.plugin';\nimport { JSONLanguagePlugin } from './languages/json.plugin';\nimport { MarkdownLanguagePlugin } from './languages/markdown.plugin';\nimport { SassLanguagePlugin } from './languages/sass.plugin';\nimport { SQLLanguagePlugin } from './languages/sql.plugin';\nimport { TypeScriptLanguagePlugin } from './languages/typescript.plugin';\nimport { XMLLanguagePlugin } from './languages/xml.plugin';\nimport { GitHubDarkThemePlugin } from './themes/github-dark.plugin';\nimport { GitHubLightThemePlugin } from './themes/github-light.plugin';\nimport { LightThemePlugin } from './themes/light.plugin';\nimport { OneDarkThemePlugin } from './themes/one-dark.plugin';\n\n/**\n * Default plugin configuration with all built-in plugins\n */\nexport function provideDefaultCodeEditorPlugins(): AXCodeEditorPluginConfig {\n return {\n languages: [\n new JavaScriptLanguagePlugin(),\n new TypeScriptLanguagePlugin(),\n new JSONLanguagePlugin(),\n new HTMLLanguagePlugin(),\n new CSSLanguagePlugin(),\n new SassLanguagePlugin(),\n new SQLLanguagePlugin(),\n new XMLLanguagePlugin(),\n new MarkdownLanguagePlugin(),\n ],\n themes: [\n new OneDarkThemePlugin(),\n new LightThemePlugin(),\n new GitHubLightThemePlugin(),\n new GitHubDarkThemePlugin(),\n ],\n formatters: [new PrettierFormatterPlugin()],\n extensions: [],\n };\n}\n","import { InjectionToken } from '@angular/core';\nimport { provideDefaultCodeEditorPlugins } from './default/config';\nimport { AXCodeEditorPluginConfig } from './types';\n\n/**\n * Injection token for providing code editor plugin configuration\n */\nexport const AX_CODE_EDITOR_PLUGIN_CONFIG = new InjectionToken<AXCodeEditorPluginConfig>(\n 'AX_CODE_EDITOR_PLUGIN_CONFIG',\n {\n providedIn: 'root',\n factory: () => provideDefaultCodeEditorPlugins(),\n },\n);\n","import { Injectable, inject } from '@angular/core';\nimport type { Extension } from '@codemirror/state';\nimport {\n AXCodeEditorExtensionPlugin,\n AXCodeEditorFormatterPlugin,\n AXCodeEditorLanguagePlugin,\n AXCodeEditorPluginConfig,\n AXCodeEditorThemePlugin,\n} from './types';\nimport { AX_CODE_EDITOR_PLUGIN_CONFIG } from './tokens';\n\n/**\n * Registry service for managing code editor plugins\n */\n@Injectable({ providedIn: 'root' })\nexport class AXCodeEditorPluginRegistry {\n private config: AXCodeEditorPluginConfig | null = inject(AX_CODE_EDITOR_PLUGIN_CONFIG, { optional: true });\n\n private languagePlugins = new Map<string, AXCodeEditorLanguagePlugin>();\n private themePlugins = new Map<string, AXCodeEditorThemePlugin>();\n private formatterPlugins = new Map<string, AXCodeEditorFormatterPlugin>();\n private extensionPlugins = new Map<string, AXCodeEditorExtensionPlugin>();\n\n constructor() {\n this.initializePlugins();\n }\n\n private initializePlugins(): void {\n if (!this.config) return;\n\n // Register language plugins\n this.config.languages?.forEach((plugin) => {\n plugin.languages.forEach((lang) => {\n this.languagePlugins.set(lang, plugin);\n });\n });\n\n // Register theme plugins\n this.config.themes?.forEach((plugin) => {\n this.themePlugins.set(plugin.id, plugin);\n });\n\n // Register formatter plugins\n this.config.formatters?.forEach((plugin) => {\n plugin.languages.forEach((lang) => {\n this.formatterPlugins.set(lang, plugin);\n });\n });\n\n // Register extension plugins\n this.config.extensions?.forEach((plugin) => {\n this.extensionPlugins.set(plugin.id, plugin);\n });\n }\n\n /**\n * Get language extension for the specified language\n */\n async getLanguageExtension(language: string): Promise<Extension> {\n const plugin = this.languagePlugins.get(language);\n if (!plugin) {\n console.warn(`No language plugin found for: ${language}`);\n return [];\n }\n return plugin.getExtension();\n }\n\n /**\n * Get theme extension by theme ID\n */\n async getThemeExtension(themeId: string): Promise<Extension> {\n const plugin = this.themePlugins.get(themeId);\n if (!plugin) {\n console.warn(`No theme plugin found for: ${themeId}`);\n return [];\n }\n return plugin.getExtension();\n }\n\n /**\n * Format text using the appropriate formatter for the language\n */\n async format(text: string, language: string): Promise<string | null> {\n const plugin = this.formatterPlugins.get(language);\n if (!plugin) {\n return null;\n }\n return plugin.format(text, language);\n }\n\n /**\n * Get all registered extension plugins\n */\n async getExtensionPlugins(): Promise<Extension[]> {\n const extensions = await Promise.all(\n Array.from(this.extensionPlugins.values()).map((plugin) => plugin.getExtension()),\n );\n return extensions;\n }\n\n /**\n * Check if a language is supported\n */\n hasLanguage(language: string): boolean {\n return this.languagePlugins.has(language);\n }\n\n /**\n * Check if a theme is available\n */\n hasTheme(themeId: string): boolean {\n return this.themePlugins.has(themeId);\n }\n\n /**\n * Check if a formatter is available for a language\n */\n hasFormatter(language: string): boolean {\n return this.formatterPlugins.has(language);\n }\n\n /**\n * Get all available language identifiers\n */\n getAvailableLanguages(): string[] {\n return Array.from(this.languagePlugins.keys());\n }\n\n /**\n * Get all available theme identifiers\n */\n getAvailableThemes(): string[] {\n return Array.from(this.themePlugins.keys());\n }\n\n /**\n * Register a language plugin at runtime\n */\n registerLanguagePlugin(plugin: AXCodeEditorLanguagePlugin): void {\n plugin.languages.forEach((lang) => {\n this.languagePlugins.set(lang, plugin);\n });\n }\n\n /**\n * Register a theme plugin at runtime\n */\n registerThemePlugin(plugin: AXCodeEditorThemePlugin): void {\n this.themePlugins.set(plugin.id, plugin);\n }\n\n /**\n * Register a formatter plugin at runtime\n */\n registerFormatterPlugin(plugin: AXCodeEditorFormatterPlugin): void {\n plugin.languages.forEach((lang) => {\n this.formatterPlugins.set(lang, plugin);\n });\n }\n\n /**\n * Register an extension plugin at runtime\n */\n registerExtensionPlugin(plugin: AXCodeEditorExtensionPlugin): void {\n this.extensionPlugins.set(plugin.id, plugin);\n }\n}\n","import { AXComponent, AXValuableComponent, MXValueComponent } from '@acorex/cdk/common';\nimport { AXPlatform } from '@acorex/core/platform';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Component,\n DestroyRef,\n ElementRef,\n PLATFORM_ID,\n afterNextRender,\n computed,\n effect,\n forwardRef,\n inject,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { AXCodeEditorDefaultLanguage } from './plugins';\nimport { AXCodeEditorPluginRegistry } from './plugins/registry.service';\n\n// Re-export language type for external use\nexport type { AXCodeEditorDefaultLanguage } from './plugins/default/languages';\n\n// Type-only aliases for CodeMirror types (tree-shake friendly)\ntype AXCodeEditorEditorViewLike = import('@codemirror/view').EditorView;\ntype AXCodeEditorKeyBindingLike = import('@codemirror/view').KeyBinding;\nexport type AXCodeEditorExtensionLike = import('@codemirror/state').Extension;\ntype AXCodeEditorCompartmentLike = import('@codemirror/state').Compartment;\nexport type AXCodeEditorCompletionLike = import('@codemirror/autocomplete').Completion;\nexport type AXCodeEditorCompletionSourceLike = import('@codemirror/autocomplete').CompletionSource;\ntype AXCodeEditorCompletionContextLike = import('@codemirror/autocomplete').CompletionContext;\n\ntype AXCodeEditorViewModule = typeof import('@codemirror/view');\ntype AXCodeEditorStateModule = typeof import('@codemirror/state');\ntype AXCodeEditorLanguageModule = typeof import('@codemirror/language');\ntype AXCodeEditorAutocompleteModule = typeof import('@codemirror/autocomplete');\ntype AXCodeEditorCommandsModule = typeof import('@codemirror/commands');\ntype AXCodeEditorSearchModule = typeof import('@codemirror/search');\ntype AXCodeEditorLintModule = typeof import('@codemirror/lint');\n\n@Component({\n selector: 'ax-code-editor',\n host: {\n '(keydown.control.s)': 'onSaveShortcut($event)',\n class: 'ax-code-editor block',\n },\n inputs: ['disabled', 'value', 'state', 'name', 'id'],\n outputs: ['onValueChanged', 'valueChange', 'stateChange', 'readonlyChange', 'disabledChange'],\n styles: [\n `\n :host {\n display: block;\n width: 100%;\n max-height: 90vh;\n\n &.ax-disable {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n > .ax-editor-container {\n height: 100%;\n width: 100%;\n padding: 0.5rem;\n align-items: start;\n --ax-comp-editor-space-start-size: 0;\n --ax-comp-editor-space-end-size: 0;\n --ax-comp-editor-border-width: 1px;\n }\n\n .ax-code-editor-container {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .cm-editor {\n width: 100%;\n max-width: 100%;\n overflow: auto;\n }\n\n .cm-editor.cm-focused {\n outline: none;\n }\n\n .ax-error-message {\n padding-inline: 0.5rem;\n }\n }\n `,\n ],\n providers: [\n { provide: AXValuableComponent, useExisting: AXCodeEditorComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXCodeEditorComponent),\n multi: true,\n },\n { provide: AXComponent, useExisting: AXCodeEditorComponent },\n ],\n template: `\n <div class=\"ax-editor-container\" [style.min-height]=\"getMinHeight()\">\n <div class=\"ax-code-editor-container\">\n <div\n #host\n class=\"cm-editor\"\n [attr.aria-label]=\"ariaLabel() ?? null\"\n [attr.aria-readonly]=\"editorReadonly() ? 'true' : 'false'\"\n [attr.data-placeholder]=\"placeholder() ?? null\"\n ></div>\n </div>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n </div>\n <div class=\"ax-error-container\"></div>\n `,\n})\nexport class AXCodeEditorComponent extends MXValueComponent<string> {\n // Inputs (signals)\n // value = input<string>('');\n /** Active language identifier from default plugins. Default: 'javascript'. */\n language = input<AXCodeEditorDefaultLanguage>('javascript');\n /** When true, the editor becomes readonly (non-editable). */\n editorReadonly = input(false, { alias: 'readonly' });\n /** Placeholder text shown when the document is empty. */\n placeholder = input<string>('');\n /** Toggle rendering of line numbers in the gutter. */\n lineNumbers = input<boolean>(true);\n /** Soft-wrap long lines when true. */\n lineWrapping = input<boolean>(false);\n /** Tab size (spaces per indent level). */\n tabSize = input<number>(2);\n /** When true, the Tab key indents instead of moving focus. */\n indentWithTab = input<boolean>(true);\n /** Theme identifier. If null, uses platform theme mode (dark/light). */\n theme = input<string | null>(null);\n /** Additional CodeMirror extensions to apply. Reconfigures at runtime. */\n extensions = input<ReadonlyArray<AXCodeEditorExtensionLike>>([]);\n /** ARIA label for accessibility. */\n ariaLabel = input<string | null>(null);\n /** Focus the editor after first render. */\n focusOnReady = input<boolean>(false);\n /** If true, format the document via Prettier before emitting save. */\n formatOnSave = input<boolean>(false);\n /** Minimum number of rows (lines) to display. Controls the minimum height of the editor. */\n minRow = input<number | null>(null);\n\n /**\n * Custom autocompletion options: either a static array of Completion items\n * or a CodeMirror CompletionSource function.\n */\n customCompletions = input<ReadonlyArray<AXCodeEditorCompletionLike> | AXCodeEditorCompletionSourceLike | null>(null);\n\n // Outputs (signals)\n // valueChange = output<string>();\n /** Emits when the editor is fully initialized and ready. */\n ready = output<void>();\n /** Emits when the user triggers save (Ctrl/Cmd+S). Payload is the current text. */\n save = output<string>();\n\n // View container\n host = viewChild<ElementRef<HTMLDivElement>>('host');\n\n // Runtime state\n private platformId = inject(PLATFORM_ID);\n private destroyRef = inject(DestroyRef);\n private platformService = inject(AXPlatform);\n private pluginRegistry = inject(AXCodeEditorPluginRegistry);\n\n private editorViewSig = signal<AXCodeEditorEditorViewLike | null>(null);\n\n // Compartments to reconfigure editor without recreating it\n private languageCompartment: AXCodeEditorCompartmentLike | null = null;\n private readonlyCompartment: AXCodeEditorCompartmentLike | null = null;\n private themeCompartment: AXCodeEditorCompartmentLike | null = null;\n private placeholderCompartment: AXCodeEditorCompartmentLike | null = null;\n private wrappingCompartment: AXCodeEditorCompartmentLike | null = null;\n private keymapExtrasCompartment: AXCodeEditorCompartmentLike | null = null;\n private tabSizeCompartment: AXCodeEditorCompartmentLike | null = null;\n private lineNumbersCompartment: AXCodeEditorCompartmentLike | null = null;\n\n // Cached CodeMirror modules after initialization\n private cm: {\n view: AXCodeEditorViewModule | null;\n state: AXCodeEditorStateModule | null;\n language: AXCodeEditorLanguageModule | null;\n autocomplete: AXCodeEditorAutocompleteModule | null;\n commands: AXCodeEditorCommandsModule | null;\n search: AXCodeEditorSearchModule | null;\n lint: AXCodeEditorLintModule | null;\n } = { view: null, state: null, language: null, autocomplete: null, commands: null, search: null, lint: null };\n\n private isBrowser = computed(() => isPlatformBrowser(this.platformId));\n\n /** Computed minimum height based on minRow (excluding gutter/line numbers). */\n getMinHeight(): string | null {\n const rows = this.minRow();\n if (!rows || rows <= 0) return null;\n // CodeMirror default line height is typically 1.5em, but we use rem for consistency\n // This calculates height without accounting for gutter since gutter is separate\n return `calc(${rows} * 1.5rem)`;\n }\n\n constructor() {\n super();\n afterNextRender(() => {\n if (!this.isBrowser()) return;\n this.initializeEditor();\n });\n\n // Keep model in sync when external value changes\n effect(() => {\n const view = this.editorViewSig();\n if (!view) return;\n const newDoc = this.value ?? '';\n const current = view.state.doc.toString();\n if (newDoc !== current) {\n view.dispatch({\n changes: { from: 0, to: view.state.doc.length, insert: newDoc },\n });\n }\n });\n\n // React to dynamic configuration changes\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.languageCompartment) return;\n const lang = this.language();\n this.pluginRegistry.getLanguageExtension(lang).then((ext) => {\n if (!view || !this.languageCompartment) return;\n view.dispatch({ effects: this.languageCompartment.reconfigure(ext) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.readonlyCompartment) return;\n const editable = !this.editorReadonly();\n import('@codemirror/view').then(({ EditorView }) => {\n if (!view || !this.readonlyCompartment) return;\n view.dispatch({ effects: this.readonlyCompartment.reconfigure(EditorView.editable.of(editable)) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n // Establish reactive dependency on theme and platform theme\n const customTheme = this.theme();\n const platformTheme = this.platformService.themeMode();\n if (!view || !this.themeCompartment) return;\n this.resolveThemeExtension(customTheme, platformTheme).then((themeExt) => {\n if (!view || !this.themeCompartment) return;\n view.dispatch({ effects: this.themeCompartment.reconfigure(themeExt) });\n });\n });\n\n effect(() => {\n this.placeholder();\n const view = this.editorViewSig();\n if (!view || !this.placeholderCompartment) return;\n import('@codemirror/view').then(({ placeholder }) => {\n if (!view || !this.placeholderCompartment) return;\n view.dispatch({ effects: this.placeholderCompartment.reconfigure(placeholder(this.placeholder() ?? '')) });\n });\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.wrappingCompartment) return;\n const EditorView = this.cm.view?.EditorView;\n if (!EditorView) return;\n const nextExt = this.lineWrapping() ? EditorView.lineWrapping : [];\n this.reconfigure(this.wrappingCompartment, nextExt);\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.tabSizeCompartment) return;\n const EditorState = this.cm.state?.EditorState;\n if (!EditorState) return;\n this.reconfigure(this.tabSizeCompartment, EditorState.tabSize.of(this.tabSize() ?? 2));\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.keymapExtrasCompartment) return;\n const keymap = this.cm.view?.keymap;\n const commands = this.cm.commands;\n if (!keymap || !commands) return;\n this.reconfigure(this.keymapExtrasCompartment, keymap.of(this.indentWithTab() ? [commands.indentWithTab] : []));\n });\n\n effect(() => {\n const view = this.editorViewSig();\n if (!view || !this.lineNumbersCompartment) return;\n const lineNumbers = this.cm.view?.lineNumbers;\n if (!lineNumbers) return;\n this.reconfigure(this.lineNumbersCompartment, this.lineNumbers() ? lineNumbers() : []);\n });\n }\n\n private async initializeEditor(): Promise<void> {\n const hostEl = this.host()?.nativeElement;\n if (!hostEl) return;\n\n await this.loadCodeMirrorModules();\n\n this.createCompartments();\n\n const keymaps = this.buildKeymaps();\n\n const viewMod = this.cm.view;\n const stateMod = this.cm.state;\n const languageMod = this.cm.language;\n const autoMod = this.cm.autocomplete;\n const commandsMod = this.cm.commands;\n const searchMod = this.cm.search;\n const lintMod = this.cm.lint;\n if (!viewMod || !stateMod || !languageMod || !autoMod || !commandsMod || !searchMod || !lintMod) return;\n const languageExt = await this.pluginRegistry.getLanguageExtension(this.language());\n const themeExt = await this.resolveThemeExtension(this.theme(), this.platformService.themeMode());\n const placeholderExt = viewMod.placeholder(this.placeholder() ?? '');\n const editableExt = viewMod.EditorView.editable.of(!this.editorReadonly());\n const wrappingExt = this.lineWrapping() ? viewMod.EditorView.lineWrapping : [];\n const tabSizeExt = stateMod.EditorState.tabSize.of(this.tabSize() ?? 2);\n const lineNumbersExt = this.lineNumbers() ? viewMod.lineNumbers() : [];\n\n const autoCompleteExt = autoMod.autocompletion({\n override: this.buildCustomCompletionSources(),\n });\n\n const baseExtensions: ReadonlyArray<AXCodeEditorExtensionLike> = [\n this.lineNumbersCompartment.of(lineNumbersExt),\n viewMod.highlightActiveLine(),\n viewMod.highlightActiveLineGutter(),\n viewMod.drawSelection(),\n viewMod.dropCursor(),\n viewMod.rectangularSelection(),\n viewMod.crosshairCursor(),\n viewMod.highlightSpecialChars(),\n languageMod.syntaxHighlighting(languageMod.defaultHighlightStyle, { fallback: true }),\n languageMod.bracketMatching(),\n languageMod.foldGutter(),\n commandsMod.history(),\n searchMod.highlightSelectionMatches(),\n viewMod.keymap.of(keymaps),\n autoCompleteExt,\n this.languageCompartment.of(languageExt),\n this.readonlyCompartment.of(editableExt),\n this.themeCompartment.of(themeExt),\n this.placeholderCompartment.of(placeholderExt),\n this.wrappingCompartment.of(wrappingExt),\n this.tabSizeCompartment.of(tabSizeExt),\n this.keymapExtrasCompartment.of(viewMod.keymap.of(this.indentWithTab() ? [commandsMod.indentWithTab] : [])),\n ...this.extensions(),\n ];\n\n const updateListener = viewMod.EditorView.updateListener.of((vu) => {\n if (vu.docChanged) {\n const text = vu.state.doc.toString();\n // this.writeValue(text);\n this.value = text;\n }\n });\n\n const state = stateMod.EditorState.create({\n doc: this.value ?? '',\n extensions: [...baseExtensions, updateListener],\n });\n\n const view = new viewMod.EditorView({ state, parent: hostEl });\n\n // Update listener for external changes (selection, viewport, etc.) if needed later\n view.dispatch({ effects: [] });\n\n this.editorViewSig.set(view);\n\n this.destroyRef.onDestroy(() => {\n view.destroy();\n this.editorViewSig.set(null);\n });\n\n if (this.focusOnReady()) {\n view.focus();\n }\n\n this.ready.emit();\n }\n\n private reconfigure(comp: AXCodeEditorCompartmentLike | null, ext: AXCodeEditorExtensionLike): void {\n const view = this.editorViewSig();\n if (!view || !comp) return;\n view.dispatch({ effects: comp.reconfigure(ext) });\n }\n\n /**\n * Handles Ctrl/Cmd+S on the host. If formatOnSave is enabled, attempts\n * to format the document first, then emits the saved text.\n */\n async onSaveShortcut(event: Event): Promise<void> {\n event.preventDefault();\n const view = this.editorViewSig();\n const current = view?.state.doc.toString() ?? this.value ?? '';\n const payload = current;\n if (this.formatOnSave()) {\n await this.format(true);\n }\n this.save.emit(payload);\n }\n\n private async loadCodeMirrorModules(): Promise<void> {\n const [viewMod, stateMod, langMod, autoMod, cmdMod, searchMod, lintMod] = await Promise.all([\n import('@codemirror/view'),\n import('@codemirror/state'),\n import('@codemirror/language'),\n import('@codemirror/autocomplete'),\n import('@codemirror/commands'),\n import('@codemirror/search'),\n import('@codemirror/lint'),\n ]);\n this.cm.view = viewMod;\n this.cm.state = stateMod;\n this.cm.language = langMod;\n this.cm.autocomplete = autoMod;\n this.cm.commands = cmdMod;\n this.cm.search = searchMod;\n this.cm.lint = lintMod;\n }\n\n private createCompartments(): void {\n const stateMod = this.cm.state;\n if (!stateMod) return;\n this.languageCompartment = new stateMod.Compartment();\n this.readonlyCompartment = new stateMod.Compartment();\n this.themeCompartment = new stateMod.Compartment();\n this.placeholderCompartment = new stateMod.Compartment();\n this.wrappingCompartment = new stateMod.Compartment();\n this.tabSizeCompartment = new stateMod.Compartment();\n this.keymapExtrasCompartment = new stateMod.Compartment();\n this.lineNumbersCompartment = new stateMod.Compartment();\n }\n\n private buildKeymaps(): ReadonlyArray<AXCodeEditorKeyBindingLike> {\n const cmdMod = this.cm.commands;\n const searchMod = this.cm.search;\n const autoMod = this.cm.autocomplete;\n const lintMod = this.cm.lint;\n if (!cmdMod || !searchMod || !autoMod || !lintMod) return [];\n return [\n ...cmdMod.defaultKeymap,\n ...cmdMod.historyKeymap,\n ...searchMod.searchKeymap,\n ...autoMod.completionKeymap,\n ...(lintMod.lintKeymap as unknown as readonly AXCodeEditorKeyBindingLike[]),\n ];\n }\n\n private async resolveThemeExtension(\n customTheme: string | null,\n platformTheme: string,\n ): Promise<AXCodeEditorExtensionLike> {\n // If custom theme is specified, use it\n if (customTheme) {\n return this.pluginRegistry.getThemeExtension(customTheme);\n }\n\n // Otherwise, use platform theme (handle 'system' by defaulting to 'github-light')\n const themeId = platformTheme === 'dark' ? 'github-dark' : 'github-light';\n return this.pluginRegistry.getThemeExtension(themeId);\n }\n\n private buildCustomCompletionSources(): ReadonlyArray<AXCodeEditorCompletionSourceLike> | undefined {\n const provided = this.customCompletions();\n if (!provided) return undefined;\n if (typeof provided === 'function') {\n return [provided as AXCodeEditorCompletionSourceLike];\n }\n // Treat array as a static completion list\n const staticSource: AXCodeEditorCompletionSourceLike = (context: AXCodeEditorCompletionContextLike) => {\n const from = context.pos;\n return { from, options: provided as ReadonlyArray<AXCodeEditorCompletionLike> };\n };\n return [staticSource];\n }\n\n // Public API\n /** Programmatically focus the editor. */\n public override focus(): void {\n const view = this.editorViewSig();\n if (view) view.focus();\n }\n\n /** Select all text in the current document. */\n public selectAll(): void {\n const view = this.editorViewSig();\n if (!view) return;\n const length = view.state.doc.length;\n view.dispatch({ selection: { anchor: 0, head: length } });\n }\n\n // Formats the current document using the registered formatter plugin (if available for the active language).\n // Returns the formatted text or null if unchanged/unsupported.\n public async format(affect = true): Promise<string | null> {\n const view = this.editorViewSig();\n if (!view) return null;\n const source = view.state.doc.toString();\n if (!source) return null;\n const formatted = await this.pluginRegistry.format(source, this.language());\n if (!formatted || formatted === source) return null;\n if (affect) {\n view.dispatch({ changes: { from: 0, to: view.state.doc.length, insert: formatted } });\n }\n return formatted;\n }\n\n /** Returns the total number of characters in the current document. */\n public getTotalCharacters(): number {\n const view = this.editorViewSig();\n if (view) return view.state.doc.length ?? 0;\n const text = this.value ?? '';\n return text.length;\n }\n\n /** Returns the total number of lines in the current document. */\n public getTotalLines(): number {\n const view = this.editorViewSig();\n if (view) {\n const doc: any = view.state.doc;\n return typeof doc?.lines === 'number' ? doc.lines : doc.toString().split(/\\r?\\n/).length;\n }\n const text = this.value ?? '';\n return text ? text.split(/\\r?\\n/).length : 1;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXCodeEditorComponent } from './code-editor.component';\n\n@NgModule({\n imports: [CommonModule, AXCodeEditorComponent],\n exports: [AXCodeEditorComponent],\n})\nexport class AXCodeEditorModule {}\n","// Language plugins\nexport * from './javascript.plugin';\nexport * from './typescript.plugin';\nexport * from './json.plugin';\nexport * from './html.plugin';\nexport * from './css.plugin';\nexport * from './sass.plugin';\nexport * from './sql.plugin';\nexport * from './xml.plugin';\nexport * from './markdown.plugin';\n\n// Type union of all supported languages from default plugins\nexport type AXCodeEditorDefaultLanguage =\n | 'javascript'\n | 'js'\n | 'typescript'\n | 'ts'\n | 'json'\n | 'html'\n | 'css'\n | 'scss'\n | 'sass'\n | 'sql'\n | 'xml'\n | 'markdown';\n","// Language plugins\nexport * from './languages';\n\n// Theme plugins\nexport * from './themes/one-dark.plugin';\nexport * from './themes/light.plugin';\nexport * from './themes/github-light.plugin';\nexport * from './themes/github-dark.plugin';\n\n// Formatter plugins\nexport * from './formatters/prettier.plugin';\n","// Component & Module\nexport * from './lib/code-editor.component';\nexport * from './lib/code-editor.module';\n\n// Plugins\nexport * from './lib/plugins';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAEa,uBAAuB,CAAA;AAApC,IAAA,WAAA,GAAA;QACW,IAAA,CAAA,EAAE,GAAG,UAAU;QACf,IAAA,CAAA,IAAI,GAAG,UAAU;QACjB,IAAA,CAAA,OAAO,GAAG,OAAO;AACjB,QAAA,IAAA,CAAA,SAAS,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAU;IAsE3G;AApEE,IAAA,MAAM,MAAM,CAAC,IAAY,EAAE,QAAgB,EAAA;AACzC,QAAA,IAAI;AACF,YAAA,MAAM,QAAQ,GAAG,MAAM,OAAO,qBAAqB,CAAC;YACpD,IAAI,MAAM,GAAkB,IAAI;YAChC,MAAM,OAAO,GAAU,EAAE;YAEzB,QAAQ,QAAQ;AACd,gBAAA,KAAK,YAAY;gBACjB,KAAK,IAAI,EAAE;oBACT,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;wB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A,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAAA,OAAA,EAAA,CAHnB,YAAY,EAAE,qBAAqB,aACnC,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEpB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAHnB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAGX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,qBAAqB,CAAC;oBAC9C,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACjC,iBAAA;;;ACPD;;ACAA;;ACAA;;ACAA;;AAEG;;;;"}
|
|
@@ -149,10 +149,10 @@ class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponen
|
|
|
149
149
|
get __hostClass() {
|
|
150
150
|
return [`${this.disabled ? 'ax-state-disabled' : ''}`, `${this.look ?? this.parent?.look}`];
|
|
151
151
|
}
|
|
152
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
153
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
153
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.3", type: AXCollapseComponent, isStandalone: true, selector: "ax-collapse", inputs: { disabled: "disabled", look: "look", isCollapsed: "isCollapsed", showHeader: "showHeader", caption: "caption", icon: "icon", isLoading: "isLoading", headerTemplate: "headerTemplate" }, outputs: { onClick: "onClick", isCollapsedChange: "isCollapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXComponent, useExisting: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\"\n [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n}\n@if (!isCollapsed) {\n <div animate.enter=\"ax-fade-slide-in\" animate.leave=\"ax-fade-slide-out\" class=\"ax-collapse-body\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}@keyframes fadeSlideIn{0%{opacity:0;max-height:0}to{opacity:1;max-height:1500px}}@keyframes fadeSlideOut{0%{opacity:1;max-height:1500px}to{opacity:0;max-height:0}}ax-collapse .ax-fade-slide-in,ax-collapse-group .ax-fade-slide-in{animation:fadeSlideIn var(--ax-sys-transition-duration) var(--ax-sys-transition-timing-function)}ax-collapse .ax-fade-slide-out,ax-collapse-group .ax-fade-slide-out{animation:fadeSlideOut var(--ax-sys-transition-duration) var(--ax-sys-transition-timing-function)}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "context"], outputs: ["visibleChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
154
154
|
}
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
|
156
156
|
type: Component,
|
|
157
157
|
args: [{ selector: 'ax-collapse', inputs: ['disabled', 'look'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, AXLoadingComponent, NgClass], providers: [{ provide: AXComponent, useExisting: AXCollapseComponent }], template: "@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\"\n [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n}\n@if (!isCollapsed) {\n <div animate.enter=\"ax-fade-slide-in\" animate.leave=\"ax-fade-slide-out\" class=\"ax-collapse-body\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n", styles: ["ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-lightest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}.dark ax-collapse-group ax-collapse.ax-solid{--ax-comp-collapse-bg-color: var(--ax-sys-color-darkest-surface);--ax-comp-collapse-border-color: var(--ax-sys-color-border-darkest-surface)}ax-collapse-group ax-collapse.ax-fill{--ax-comp-collapse-bg-color: var(--ax-sys-color-surface)}ax-collapse-group ax-collapse.ax-flat{--ax-comp-collapse-border-color: var(--ax-sys-color-border-lightest-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse.ax-outline{--ax-comp-collapse-border-color: var(--ax-sys-color-border-surface);--ax-comp-collapse-border-width: 1px}ax-collapse-group ax-collapse{--ax-comp-collapse-margin: .5rem}ax-collapse,ax-collapse-group{display:block;width:100%;overflow:hidden;font-size:1rem;line-height:1.5rem}@keyframes fadeSlideIn{0%{opacity:0;max-height:0}to{opacity:1;max-height:1500px}}@keyframes fadeSlideOut{0%{opacity:1;max-height:1500px}to{opacity:0;max-height:0}}ax-collapse .ax-fade-slide-in,ax-collapse-group .ax-fade-slide-in{animation:fadeSlideIn var(--ax-sys-transition-duration) var(--ax-sys-transition-timing-function)}ax-collapse .ax-fade-slide-out,ax-collapse-group .ax-fade-slide-out{animation:fadeSlideOut var(--ax-sys-transition-duration) var(--ax-sys-transition-timing-function)}ax-collapse-group ax-collapse{margin-bottom:var(--ax-comp-collapse-margin)}ax-collapse-group ax-collapse.ax-solid{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-solid .ax-collapse-header{background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-fill .ax-collapse-header{border-radius:var(--ax-sys-border-radius);background-color:rgba(var(--ax-comp-collapse-bg-color))}ax-collapse-group ax-collapse.ax-outline{border-radius:var(--ax-sys-border-radius);border-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-outline .ax-collapse-header{background-color:transparent}ax-collapse-group ax-collapse.ax-flat{border-bottom-width:var(--ax-comp-collapse-border-width);border-color:rgba(var(--ax-comp-collapse-border-color))}ax-collapse-group ax-collapse.ax-flat .ax-collapse-header{background-color:transparent}ax-collapse.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{font-size:.875rem;line-height:1.25rem;color:rgba(var(--ax-sys-color-on-surface-high))!important}ax-collapse .ax-collapse-header{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start{display:flex;align-items:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-start:not(:empty) .ax-collapse-header-icon{padding-inline-end:.5rem}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end{display:flex;height:1.5rem;width:1.5rem;align-items:center;justify-content:center}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow{transition-property:all;transition-duration:var(--ax-sys-transition-duration);transition-timing-function:var(--ax-sys-transition-timing-function);display:block}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.-rotation-90{transform:rotate(-90deg)}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-header-end .ax-collapse-arrow.rotation-90{transform:rotate(90deg)}ax-collapse .ax-collapse-body .ax-collapse-body-content{padding:1rem;padding-inline-end:1rem;padding-inline-start:1.25rem}\n"] }]
|
|
158
158
|
}], propDecorators: { onClick: [{
|
|
@@ -302,8 +302,8 @@ class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent)
|
|
|
302
302
|
get __hostClass() {
|
|
303
303
|
return ['ax-collapse-group', `${this.look}`];
|
|
304
304
|
}
|
|
305
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
306
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
306
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.3", type: AXCollapseGroupComponent, isStandalone: true, selector: "ax-collapse-group", inputs: { look: "look", accordion: "accordion", activeIndex: "activeIndex" }, outputs: { accordionChange: "accordionChange", activeIndexChange: "activeIndexChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
|
307
307
|
{
|
|
308
308
|
provide: MXLookableComponent,
|
|
309
309
|
useExisting: AXCollapseGroupComponent,
|
|
@@ -311,7 +311,7 @@ class AXCollapseGroupComponent extends classes(MXBaseComponent, MXLookComponent)
|
|
|
311
311
|
{ provide: AXComponent, useExisting: AXCollapseGroupComponent },
|
|
312
312
|
], queries: [{ propertyName: "_items", predicate: AXCollapseComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content select="ax-collapse"></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
313
313
|
}
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseGroupComponent, decorators: [{
|
|
315
315
|
type: Component,
|
|
316
316
|
args: [{
|
|
317
317
|
selector: 'ax-collapse-group',
|
|
@@ -344,11 +344,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
344
344
|
}] } });
|
|
345
345
|
|
|
346
346
|
class AXCollapseModule {
|
|
347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
348
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
349
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
348
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseModule, imports: [AXCollapseComponent, AXCollapseGroupComponent], exports: [AXCollapseComponent, AXCollapseGroupComponent] }); }
|
|
349
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseModule, imports: [AXCollapseComponent] }); }
|
|
350
350
|
}
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImport: i0, type: AXCollapseModule, decorators: [{
|
|
352
352
|
type: NgModule,
|
|
353
353
|
args: [{
|
|
354
354
|
imports: [AXCollapseComponent, AXCollapseGroupComponent],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../packages/components/collapse/src/lib/collapse.component.ts","../../../../packages/components/collapse/src/lib/collapse.component.html","../../../../packages/components/collapse/src/lib/collapse-group.component.ts","../../../../packages/components/collapse/src/lib/collapse.module.ts","../../../../packages/components/collapse/src/index.ts","../../../../packages/components/collapse/src/acorex-components-collapse.ts"],"sourcesContent":["import {\n AXClickEvent,\n AXComponent,\n MXInteractiveComponent,\n MXLookComponent,\n MXLookableComponent,\n} from '@acorex/cdk/common';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n TemplateRef,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport { classes } from 'polytype';\n\nexport class AXCollapseClickEvent extends AXClickEvent {\n handled = false;\n}\n\n/**\n * @deprecated Use `accordion` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-collapse',\n templateUrl: './collapse.component.html',\n inputs: ['disabled', 'look'],\n styleUrls: ['./collapse.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, AXLoadingComponent, NgClass],\n providers: [{ provide: AXComponent, useExisting: AXCollapseComponent }],\n})\nexport class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponent) {\n private parent = inject(MXLookableComponent, { optional: true, host: true });\n\n /**\n * Fires each time the user clicks the panel header.\n * @event\n */\n @Output()\n onClick: EventEmitter<AXCollapseClickEvent> = new EventEmitter<AXCollapseClickEvent>();\n\n /**\n * Fires an event when the collapse state changes.\n *\n * @event\n */\n @Output()\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * @ignore\n */\n private _isCollapsed = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isCollapsed(): boolean {\n return this._isCollapsed;\n }\n public set isCollapsed(v: boolean) {\n this.setOption({\n name: 'isCollapsed',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _showHeader = true;\n\n /**\n * Providing a boolean value for show or hide header\n */\n @Input()\n public get showHeader(): boolean {\n return this._showHeader;\n }\n public set showHeader(v: boolean) {\n this.setOption({\n name: 'showHeader',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Sets the caption for the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n caption = '';\n\n /**\n * Specifies the icon to display in the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n private _isLoading = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isLoading(): boolean {\n return this._isLoading;\n }\n public set isLoading(v: boolean) {\n this.setOption({\n name: 'isLoading',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Template used for the collapse component's header.\n */\n @Input()\n headerTemplate: TemplateRef<any>;\n\n /**\n * Handles header clicks, emitting a click event and toggling collapse state if not handled.\n *\n * @param e - The native mouse event.\n */\n handleHeaderClick(e: MouseEvent) {\n if (this.disabled || this.isLoading) return;\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n handled: false,\n };\n this.onClick.emit(event);\n if (!event.handled) {\n this.toggle();\n }\n }\n\n /**\n * Expands the collapse component.\n *\n * @returns void - No return value. Sets `isCollapsed` to false and expands the body.\n */\n open(): void {\n this.isCollapsed = false;\n }\n\n /**\n * Collapses the collapse component.\n *\n * @returns void - No return value. Sets `isCollapsed` to true and hides the body.\n */\n close(): void {\n this.isCollapsed = true;\n }\n\n /**\n * Toggles the collapse state between expanded and collapsed.\n *\n * @returns void - No return value. Flips the `isCollapsed` state.\n */\n toggle(): void {\n this.isCollapsed = !this.isCollapsed;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n return [`${this.disabled ? 'ax-state-disabled' : ''}`, `${this.look ?? this.parent?.look}`];\n }\n}\n","@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\"\n [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n}\n@if (!isCollapsed) {\n <div animate.enter=\"ax-fade-slide-in\" animate.leave=\"ax-fade-slide-out\" class=\"ax-collapse-body\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n","import { AXComponent, MXBaseComponent, MXLookComponent, MXLookableComponent } from '@acorex/cdk/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n Output,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { classes } from 'polytype';\nimport { Subscription } from 'rxjs';\nimport { AXCollapseComponent } from './collapse.component';\n\n/**\n * @deprecated Use `accordion` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-collapse-group',\n inputs: ['look'],\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: MXLookableComponent,\n useExisting: AXCollapseGroupComponent,\n },\n { provide: AXComponent, useExisting: AXCollapseGroupComponent },\n ],\n})\nexport class AXCollapseGroupComponent\n extends classes(MXBaseComponent, MXLookComponent)\n implements AfterViewInit, OnDestroy\n{\n /**\n * Emitted when the accordion state changes.\n *\n * @event\n */\n @Output()\n accordionChange: EventEmitter<boolean> = new EventEmitter();\n\n /**\n * @ignore\n */\n private _accordion?: boolean = false;\n\n /**\n * Enables accordion behavior, allowing only one collapsible item to be expanded at a time\n */\n @Input()\n get accordion(): boolean | undefined {\n return this._accordion;\n }\n set accordion(value: boolean) {\n this.setOption({\n name: 'accordion',\n value,\n afterCallback: (oldValue, newValue) => {\n if (newValue) {\n this.applyAccordion();\n } else {\n this.removeAccordion();\n }\n },\n });\n }\n\n /**\n * Emits when the active index changes.\n * @event\n */\n @Output()\n activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * @ignore\n */\n private _activeIndex = 0;\n\n /**\n * Index of the currently active item within the group\n */\n @Input()\n get activeIndex(): number {\n return this._activeIndex;\n }\n set activeIndex(value: number) {\n this.setOption({\n name: 'activeIndex',\n value,\n beforeCallback: (oldValue, newValue) => {\n const len = this._items?.length || 0;\n if (newValue < 0) newValue = 0;\n if (len > 0 && newValue >= len) {\n newValue = len - 1;\n }\n return newValue;\n },\n afterCallback: () => {\n this.applyAccordion();\n },\n });\n }\n\n @ContentChildren(AXCollapseComponent)\n private _items: QueryList<AXCollapseComponent>;\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n if (this.accordion) {\n this.applyAccordion();\n }\n }\n\n /**\n * @ignore\n */\n private applyAccordion() {\n if (!this.look) return;\n if (this._items && this._items.length > 1) {\n const activeIndex = this._items.get(this.activeIndex) || this._items.get(0);\n this._items.forEach((c) => (c.isCollapsed = true));\n if (activeIndex) activeIndex.isCollapsed = false;\n\n this._items.forEach((c1: AXCollapseComponent) => {\n const list = this._items.toArray();\n\n this._subs.push(\n // TODO: add and use a new event for status changes\n c1.onClick.subscribe((e) => {\n if (!e.handled) {\n this._activeIndex = list.indexOf(c1);\n list.filter((c2) => c2 != c1).forEach((c) => (c.isCollapsed = true));\n }\n }),\n );\n });\n }\n }\n\n /**\n * @ignore\n */\n private removeAccordion() {\n this._subs.forEach((s) => s.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this.removeAccordion();\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-collapse-group', `${this.look}`];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { AXCollapseGroupComponent } from './collapse-group.component';\nimport { AXCollapseComponent } from './collapse.component';\n\n@NgModule({\n imports: [AXCollapseComponent, AXCollapseGroupComponent],\n exports: [AXCollapseComponent, AXCollapseGroupComponent],\n})\nexport class AXCollapseModule {}\n","/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse-group.component';\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse.component';\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAsBM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAAtD,IAAA,WAAA,GAAA;;QACE,IAAA,CAAA,OAAO,GAAG,KAAK;IACjB;AAAC;AAED;;;AAGG;AAWG,MAAO,mBAAoB,SAAQ,OAAO,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAA;AAVzF,IAAA,WAAA,GAAA;;AAWU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAE5E;;;AAGG;AAEH,QAAA,IAAA,CAAA,OAAO,GAAuC,IAAI,YAAY,EAAwB;AAEtF;;;;AAIG;AAEH,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO;AAE9D;;AAEG;QACK,IAAA,CAAA,YAAY,GAAG,KAAK;AAmB5B;;AAEG;QACK,IAAA,CAAA,WAAW,GAAG,IAAI;AAmB1B;;;;AAIG;QAEH,IAAA,CAAA,OAAO,GAAG,EAAE;AAEZ;;;;AAIG;QAEH,IAAA,CAAA,IAAI,GAAG,EAAE;AAET;;AAEG;QACK,IAAA,CAAA,UAAU,GAAG,KAAK;AA8E3B,IAAA;AAxIC;;AAEG;AACH,IAAA,IACW,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,YAAY;IAC1B;IACA,IAAW,WAAW,CAAC,CAAU,EAAA;QAC/B,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,aAAa;AACnB,YAAA,KAAK,EAAE,CAAC;YACR,aAAa,EAAE,MAAK;AAClB,gBAAA,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE;YAC1B,CA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,eAAe;uBAAC,mBAAmB;;sBA6DnC,WAAW;uBAAC,OAAO;;;MCpKT,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,mBAAmB,EAAE,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAC7C,mBAAmB,EAAE,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAE5C,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,mBAAmB,CAAA,EAAA,CAAA,CAAA;;4FAGlB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,wBAAwB,CAAC;AACxD,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,wBAAwB,CAAC;AACzD,iBAAA;;;ACPD;;;AAGG;;ACHH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../packages/components/collapse/src/lib/collapse.component.ts","../../../../packages/components/collapse/src/lib/collapse.component.html","../../../../packages/components/collapse/src/lib/collapse-group.component.ts","../../../../packages/components/collapse/src/lib/collapse.module.ts","../../../../packages/components/collapse/src/index.ts","../../../../packages/components/collapse/src/acorex-components-collapse.ts"],"sourcesContent":["import {\n AXClickEvent,\n AXComponent,\n MXInteractiveComponent,\n MXLookComponent,\n MXLookableComponent,\n} from '@acorex/cdk/common';\nimport { AXLoadingComponent } from '@acorex/components/loading';\nimport { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Input,\n Output,\n TemplateRef,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport { classes } from 'polytype';\n\nexport class AXCollapseClickEvent extends AXClickEvent {\n handled = false;\n}\n\n/**\n * @deprecated Use `accordion` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-collapse',\n templateUrl: './collapse.component.html',\n inputs: ['disabled', 'look'],\n styleUrls: ['./collapse.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, AXLoadingComponent, NgClass],\n providers: [{ provide: AXComponent, useExisting: AXCollapseComponent }],\n})\nexport class AXCollapseComponent extends classes(MXInteractiveComponent, MXLookComponent) {\n private parent = inject(MXLookableComponent, { optional: true, host: true });\n\n /**\n * Fires each time the user clicks the panel header.\n * @event\n */\n @Output()\n onClick: EventEmitter<AXCollapseClickEvent> = new EventEmitter<AXCollapseClickEvent>();\n\n /**\n * Fires an event when the collapse state changes.\n *\n * @event\n */\n @Output()\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\n\n /**\n * @ignore\n */\n private _isCollapsed = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isCollapsed(): boolean {\n return this._isCollapsed;\n }\n public set isCollapsed(v: boolean) {\n this.setOption({\n name: 'isCollapsed',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * @ignore\n */\n private _showHeader = true;\n\n /**\n * Providing a boolean value for show or hide header\n */\n @Input()\n public get showHeader(): boolean {\n return this._showHeader;\n }\n public set showHeader(v: boolean) {\n this.setOption({\n name: 'showHeader',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Sets the caption for the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n caption = '';\n\n /**\n * Specifies the icon to display in the collapse component.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n private _isLoading = false;\n\n /**\n * Providing a boolean value for its collapse state\n */\n @Input()\n public get isLoading(): boolean {\n return this._isLoading;\n }\n public set isLoading(v: boolean) {\n this.setOption({\n name: 'isLoading',\n value: v,\n afterCallback: () => {\n this.cdr.detectChanges();\n },\n });\n }\n\n /**\n * Template used for the collapse component's header.\n */\n @Input()\n headerTemplate: TemplateRef<any>;\n\n /**\n * Handles header clicks, emitting a click event and toggling collapse state if not handled.\n *\n * @param e - The native mouse event.\n */\n handleHeaderClick(e: MouseEvent) {\n if (this.disabled || this.isLoading) return;\n const event = {\n component: this,\n htmlElement: this.getHostElement(),\n nativeEvent: e,\n handled: false,\n };\n this.onClick.emit(event);\n if (!event.handled) {\n this.toggle();\n }\n }\n\n /**\n * Expands the collapse component.\n *\n * @returns void - No return value. Sets `isCollapsed` to false and expands the body.\n */\n open(): void {\n this.isCollapsed = false;\n }\n\n /**\n * Collapses the collapse component.\n *\n * @returns void - No return value. Sets `isCollapsed` to true and hides the body.\n */\n close(): void {\n this.isCollapsed = true;\n }\n\n /**\n * Toggles the collapse state between expanded and collapsed.\n *\n * @returns void - No return value. Flips the `isCollapsed` state.\n */\n toggle(): void {\n this.isCollapsed = !this.isCollapsed;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string[] {\n return [`${this.disabled ? 'ax-state-disabled' : ''}`, `${this.look ?? this.parent?.look}`];\n }\n}\n","@if (showHeader) {\n <div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick($event)\">\n @if (headerTemplate) {\n <div class=\"ax-collapse-custom-header-container\">\n <ng-container\n [ngTemplateOutlet]=\"headerTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"\n ></ng-container>\n </div>\n } @else {\n <div class=\"ax-collapse-header-container\">\n <div class=\"ax-collapse-header-start\">\n <span class=\"ax-collapse-header-icon\" [class]=\"icon\"> </span>\n <span>\n {{ caption }}\n </span>\n </div>\n <div class=\"ax-collapse-header-end\">\n @if (isLoading) {\n <ax-loading></ax-loading>\n } @else {\n <span\n class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow\"\n [ngClass]=\"{ '-rotation-90': isCollapsed, 'rotation-90': !isCollapsed }\"\n ></span>\n }\n </div>\n </div>\n }\n </div>\n}\n@if (!isCollapsed) {\n <div animate.enter=\"ax-fade-slide-in\" animate.leave=\"ax-fade-slide-out\" class=\"ax-collapse-body\">\n <div class=\"ax-collapse-body-content\">\n <ng-content></ng-content>\n </div>\n </div>\n}\n","import { AXComponent, MXBaseComponent, MXLookComponent, MXLookableComponent } from '@acorex/cdk/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n Output,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { classes } from 'polytype';\nimport { Subscription } from 'rxjs';\nimport { AXCollapseComponent } from './collapse.component';\n\n/**\n * @deprecated Use `accordion` instead.\n * This component deprecated and no longer support.\n */\n@Component({\n selector: 'ax-collapse-group',\n inputs: ['look'],\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: MXLookableComponent,\n useExisting: AXCollapseGroupComponent,\n },\n { provide: AXComponent, useExisting: AXCollapseGroupComponent },\n ],\n})\nexport class AXCollapseGroupComponent\n extends classes(MXBaseComponent, MXLookComponent)\n implements AfterViewInit, OnDestroy\n{\n /**\n * Emitted when the accordion state changes.\n *\n * @event\n */\n @Output()\n accordionChange: EventEmitter<boolean> = new EventEmitter();\n\n /**\n * @ignore\n */\n private _accordion?: boolean = false;\n\n /**\n * Enables accordion behavior, allowing only one collapsible item to be expanded at a time\n */\n @Input()\n get accordion(): boolean | undefined {\n return this._accordion;\n }\n set accordion(value: boolean) {\n this.setOption({\n name: 'accordion',\n value,\n afterCallback: (oldValue, newValue) => {\n if (newValue) {\n this.applyAccordion();\n } else {\n this.removeAccordion();\n }\n },\n });\n }\n\n /**\n * Emits when the active index changes.\n * @event\n */\n @Output()\n activeIndexChange: EventEmitter<number> = new EventEmitter<number>();\n\n /**\n * @ignore\n */\n private _activeIndex = 0;\n\n /**\n * Index of the currently active item within the group\n */\n @Input()\n get activeIndex(): number {\n return this._activeIndex;\n }\n set activeIndex(value: number) {\n this.setOption({\n name: 'activeIndex',\n value,\n beforeCallback: (oldValue, newValue) => {\n const len = this._items?.length || 0;\n if (newValue < 0) newValue = 0;\n if (len > 0 && newValue >= len) {\n newValue = len - 1;\n }\n return newValue;\n },\n afterCallback: () => {\n this.applyAccordion();\n },\n });\n }\n\n @ContentChildren(AXCollapseComponent)\n private _items: QueryList<AXCollapseComponent>;\n\n /**\n * @ignore\n */\n private _subs: Subscription[] = [];\n\n /**\n * @ignore\n */\n ngAfterViewInit(): void {\n if (this.accordion) {\n this.applyAccordion();\n }\n }\n\n /**\n * @ignore\n */\n private applyAccordion() {\n if (!this.look) return;\n if (this._items && this._items.length > 1) {\n const activeIndex = this._items.get(this.activeIndex) || this._items.get(0);\n this._items.forEach((c) => (c.isCollapsed = true));\n if (activeIndex) activeIndex.isCollapsed = false;\n\n this._items.forEach((c1: AXCollapseComponent) => {\n const list = this._items.toArray();\n\n this._subs.push(\n // TODO: add and use a new event for status changes\n c1.onClick.subscribe((e) => {\n if (!e.handled) {\n this._activeIndex = list.indexOf(c1);\n list.filter((c2) => c2 != c1).forEach((c) => (c.isCollapsed = true));\n }\n }),\n );\n });\n }\n }\n\n /**\n * @ignore\n */\n private removeAccordion() {\n this._subs.forEach((s) => s.unsubscribe());\n this._subs = [];\n }\n\n /**\n * @ignore\n */\n ngOnDestroy(): void {\n this.removeAccordion();\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __hostClass(): string[] {\n return ['ax-collapse-group', `${this.look}`];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { AXCollapseGroupComponent } from './collapse-group.component';\nimport { AXCollapseComponent } from './collapse.component';\n\n@NgModule({\n imports: [AXCollapseComponent, AXCollapseGroupComponent],\n exports: [AXCollapseComponent, AXCollapseGroupComponent],\n})\nexport class AXCollapseModule {}\n","/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse-group.component';\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse.component';\n/**\n * @deprecated Use `range slider` instead.\n * This component deprecated and no longer support.\n */\nexport * from './lib/collapse.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAsBM,MAAO,oBAAqB,SAAQ,YAAY,CAAA;AAAtD,IAAA,WAAA,GAAA;;QACE,IAAA,CAAA,OAAO,GAAG,KAAK;IACjB;AAAC;AAED;;;AAGG;AAWG,MAAO,mBAAoB,SAAQ,OAAO,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAA;AAVzF,IAAA,WAAA,GAAA;;AAWU,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAE5E;;;AAGG;AAEH,QAAA,IAAA,CAAA,OAAO,GAAuC,IAAI,YAAY,EAAwB;AAEtF;;;;AAIG;AAEH,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO;AAE9D;;AAEG;QACK,IAAA,CAAA,YAAY,GAAG,KAAK;AAmB5B;;AAEG;QACK,IAAA,CAAA,WAAW,GAAG,IAAI;AAmB1B;;;;AAIG;QAEH,IAAA,CAAA,OAAO,GAAG,EAAE;AAEZ;;;;AAIG;QAEH,IAAA,CAAA,IAAI,GAAG,E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