@acorex/components 19.15.0-next.4 → 19.15.0-next.6
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/action-sheet/lib/action-sheet.class.d.ts +1 -1
- package/action-sheet/lib/action-sheet.component.d.ts +1 -1
- package/action-sheet/lib/action-sheet.module.d.ts +1 -1
- package/alert/lib/alert.component.d.ts +1 -1
- package/audio-wave/lib/interfaces/audio-wave.interface.d.ts +1 -1
- package/autocomplete/lib/autocomplete.component.d.ts +1 -1
- package/avatar/lib/avatar.component.d.ts +1 -1
- package/badge/lib/badge.component.d.ts +1 -1
- package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +2 -2
- package/bottom-navigation/lib/bottom-navigation.component.d.ts +1 -1
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
- package/breadcrumbs/lib/breadcrumbs.component.d.ts +1 -1
- package/button/lib/button-item-list.component.d.ts +1 -1
- package/button/lib/button-item.class.d.ts +1 -1
- package/button/lib/button-item.component.d.ts +1 -1
- package/button/lib/button.component.d.ts +1 -1
- package/button/lib/button.module.d.ts +1 -1
- package/button-group/lib/button-group-item.component.d.ts +1 -1
- package/button-group/lib/button-group.component.d.ts +1 -1
- package/calendar/lib/calendar-range.component.d.ts +1 -1
- package/calendar/lib/calendar.class.d.ts +1 -1
- package/calendar/lib/calendar.component.d.ts +1 -1
- package/calendar/lib/calendar.module.d.ts +1 -1
- package/check-box/lib/check-box.component.d.ts +1 -1
- package/chips/lib/chips.component.d.ts +2 -2
- package/circular-progress/lib/circular-progress.component.d.ts +1 -1
- package/collapse/lib/collapse-group.component.d.ts +1 -1
- package/collapse/lib/collapse.component.d.ts +1 -1
- package/color-box/lib/color-box.component.d.ts +1 -1
- package/color-palette/lib/color-palette-input.component.d.ts +1 -1
- package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
- package/color-palette/lib/color-palette-preview.component.d.ts +1 -1
- package/color-palette/lib/color-palette-swatches.component.d.ts +1 -1
- package/color-palette/lib/color-palette.class.d.ts +1 -1
- package/color-palette/lib/color-palette.component.d.ts +1 -1
- package/conversation/lib/classes/events.interface.d.ts +1 -1
- package/conversation/lib/conversation-input/conversation-input.component.d.ts +1 -1
- package/conversation/lib/conversation-message/conversation-message.component.d.ts +1 -1
- package/conversation/lib/conversation-view/conversation-view.component.d.ts +1 -1
- package/conversation/lib/conversation.module.d.ts +1 -1
- package/cron-job/lib/cron-job-container/cron-job-container.component.d.ts +1 -1
- package/cron-job/lib/day/day.component.d.ts +1 -1
- package/cron-job/lib/hours/hours.component.d.ts +1 -1
- package/cron-job/lib/minutes/minutes.component.d.ts +1 -1
- package/cron-job/lib/month/month.component.d.ts +1 -1
- package/cron-job/lib/seconds/seconds.component.d.ts +1 -1
- package/cron-job/lib/year/year.component.d.ts +1 -1
- package/data-pager/lib/data-pager-base.component.d.ts +1 -1
- package/data-pager/lib/data-pager-input-selector.component.d.ts +1 -1
- package/data-pager/lib/data-pager-next-buttons.component.d.ts +1 -1
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +1 -1
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +1 -1
- package/data-pager/lib/data-pager.component.d.ts +1 -1
- package/data-table/lib/base-data-table.class.d.ts +1 -1
- package/data-table/lib/columns/data-table-column.d.ts +1 -1
- package/data-table/lib/columns/row-command-column.component.d.ts +1 -1
- package/data-table/lib/columns/row-select-column.component.d.ts +1 -1
- package/data-table/lib/data-table.module.d.ts +1 -1
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +1 -1
- package/datetime-box/lib/datetime-box.component.d.ts +1 -1
- package/datetime-input/lib/datetime-input.component.d.ts +1 -1
- package/datetime-picker/lib/datetime-picker.component.d.ts +1 -1
- package/decorators/lib/components/clear-button/clear-button.component.d.ts +1 -1
- package/decorators/lib/components/close-button/close-button.component.d.ts +1 -1
- package/decorators/lib/components/full-screen/full-screen-button.component.d.ts +1 -1
- package/decorators/lib/components/generic-content.component.d.ts +1 -1
- package/decorators/lib/components/heading/heading.component.d.ts +1 -1
- package/decorators/lib/components/icon/icon.component.d.ts +1 -1
- package/dialog/lib/dialog.class.d.ts +1 -1
- package/dialog/lib/dialog.component.d.ts +1 -1
- package/dialog/lib/dialog.module.d.ts +1 -1
- package/dialog/lib/dialog.service.d.ts +1 -1
- package/drawer/lib/drawer/drawer-container/drawer-container.component.d.ts +1 -1
- package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +1 -1
- package/dropdown/lib/dropdown-box.class.d.ts +1 -1
- package/dropdown/lib/dropdown-box.component.d.ts +2 -2
- package/dropdown/lib/dropdown-panel.component.d.ts +2 -2
- package/dropdown/lib/dropdown.module.d.ts +1 -1
- package/dropdown-button/lib/dropdown-button.component.d.ts +1 -1
- package/dropdown-button/lib/dropdown-button.module.d.ts +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs +1 -1
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +1 -1
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs +1 -1
- package/fesm2022/acorex-components-autocomplete.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +1 -1
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +1 -1
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-bottom-navigation.mjs +2 -2
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +1 -1
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +6 -6
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +1 -1
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +1 -1
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +2 -2
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs +1 -1
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +2 -2
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +1 -1
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +1 -1
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +3 -3
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-cron-job.mjs +1 -1
- package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +2 -2
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +1 -1
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +1 -1
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +1 -1
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +1 -1
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs +1 -1
- package/fesm2022/acorex-components-file-explorer.mjs.map +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs +1 -1
- package/fesm2022/acorex-components-flow-chart.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +1 -1
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-grid-layout-builder.mjs +4 -4
- package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-image-editor.mjs +1 -1
- package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +1 -1
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +1 -1
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +1 -1
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +1 -1
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-map.mjs +253 -97
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +1 -1
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/{acorex-components-modal-acorex-components-modal-Ckn70-o5.mjs → acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs} +3 -3
- package/fesm2022/acorex-components-modal-acorex-components-modal-F9PZYNJ9.mjs.map +1 -0
- package/fesm2022/{acorex-components-modal-modal-content.component-DzRhA-Nt.mjs → acorex-components-modal-modal-content.component-ktH_8bGp.mjs} +3 -3
- package/fesm2022/acorex-components-modal-modal-content.component-ktH_8bGp.mjs.map +1 -0
- package/fesm2022/acorex-components-modal.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs +1 -1
- package/fesm2022/acorex-components-navbar.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +1 -1
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +1 -1
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +1 -1
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +1 -1
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +1 -1
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +12 -14
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-phone-box.mjs +1 -1
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +1 -1
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +1 -1
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-qrcode.mjs +1 -1
- package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-components-query-builder.mjs +1 -1
- package/fesm2022/acorex-components-query-builder.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +1 -1
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs +1 -1
- package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +4 -4
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs +1 -1
- package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +1 -1
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
- package/fesm2022/acorex-components-scheduler.mjs +1 -1
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +2 -2
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +1 -1
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +1 -1
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +1 -1
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-skeleton.mjs +1 -1
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
- package/fesm2022/acorex-components-slider.mjs +1 -1
- package/fesm2022/acorex-components-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs +1 -1
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +1 -1
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +1 -1
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +3 -3
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +1 -1
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +1 -1
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +3 -3
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +2 -2
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +1 -1
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +1 -1
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +1 -1
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +1 -1
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/file-explorer/lib/file-explorer-item/file-explorer-item.component.d.ts +1 -1
- package/flow-chart/lib/flow-chart-creator/flow-chart-creator.component.d.ts +1 -1
- package/flow-chart/lib/flow-chart-renderer/flow-chart-renderer.component.d.ts +1 -1
- package/flow-chart/lib/flow-chart.component.d.ts +1 -1
- package/form/lib/form-field.component.d.ts +1 -1
- package/form/lib/form.component.d.ts +1 -1
- package/form/lib/validation-summary.component.d.ts +1 -1
- package/grid-layout-builder/lib/grid-layout-container.component.d.ts +1 -1
- package/grid-layout-builder/lib/types.d.ts +1 -1
- package/image/lib/image.component.d.ts +1 -1
- package/image-editor/lib/image-editor-container/image-editor-container.component.d.ts +1 -1
- package/image-editor/lib/image-editor-view/image-editor-view.component.d.ts +1 -1
- package/label/lib/label.component.d.ts +1 -1
- package/list/lib/list.component.d.ts +1 -1
- package/loading/lib/loading-spinner.component.d.ts +1 -1
- package/loading/lib/loading.component.d.ts +1 -1
- package/loading-dialog/lib/loading-dialog.class.d.ts +1 -1
- package/loading-dialog/lib/loading-dialog.component.d.ts +1 -1
- package/loading-dialog/lib/loading-dialog.module.d.ts +1 -1
- package/map/lib/map.component.d.ts +38 -11
- package/menu/lib/context-menu.component.d.ts +1 -1
- package/menu/lib/menu-item.component.d.ts +1 -1
- package/menu/lib/menu.component.d.ts +1 -1
- package/menu/lib/menu.types.d.ts +1 -1
- package/modal/lib/modal-content/modal-content.component.d.ts +1 -1
- package/modal/lib/modal.component.d.ts +1 -1
- package/navbar/lib/navbar.component.d.ts +1 -1
- package/notification/lib/notification.class.d.ts +1 -1
- package/notification/lib/notification.component.d.ts +1 -1
- package/notification/lib/notification.config.d.ts +1 -1
- package/number-box/lib/number-box.component.d.ts +1 -1
- package/otp/lib/otp.class.d.ts +1 -1
- package/otp/lib/otp.component.d.ts +1 -1
- package/package.json +1 -5
- package/page/lib/base-page.class.d.ts +1 -1
- package/page/lib/page.component.d.ts +1 -1
- package/paint/lib/paint/paint-container/paint-container.component.d.ts +1 -1
- package/password-box/lib/password-box.component.d.ts +1 -1
- package/password-box/lib/password-strength-validation/password-strength-validation.component.d.ts +9 -11
- package/phone-box/lib/phone-box.component.d.ts +1 -1
- package/picker/lib/picker-items/picker-items.component.d.ts +1 -1
- package/popover/lib/popover.component.d.ts +1 -1
- package/popup/lib/popup.component.d.ts +1 -1
- package/popup/lib/popup.module.d.ts +1 -1
- package/popup/lib/popup.service.d.ts +1 -1
- package/progress-bar/lib/progress-bar.component.d.ts +1 -1
- package/query-builder/lib/query-builder.component.d.ts +1 -1
- package/radio/lib/radio.component.d.ts +1 -1
- package/rail-navigation/lib/rail-navigation-item/rail-navigation-item.component.d.ts +1 -1
- package/rail-navigation/lib/rail-navigation.component.d.ts +1 -1
- package/range-slider/lib/range-slider.class.d.ts +1 -1
- package/range-slider/lib/range-slider.component.d.ts +1 -1
- package/rate-picker/lib/rate-picker.component.d.ts +1 -1
- package/rest-api-generator/lib/query-params/query-params.component.d.ts +1 -1
- package/rest-api-generator/lib/request-body/request-body.component.d.ts +1 -1
- package/rest-api-generator/lib/request-headers/request-headers.component.d.ts +1 -1
- package/rest-api-generator/lib/rest-api-auth/rest-api-auth.component.d.ts +1 -1
- package/rest-api-generator/lib/rest-api-generator.component.d.ts +1 -1
- package/result/lib/result.component.d.ts +1 -1
- package/routing-progress/lib/routing-progress.component.d.ts +1 -1
- package/scheduler/lib/scheduler.component.d.ts +1 -1
- package/scheduler/lib/views/agenda/scheduler-agenda-view.component.d.ts +1 -1
- package/scheduler/lib/views/day/scheduler-day-view.component.d.ts +1 -1
- package/scheduler/lib/views/month/scheduler-month-view.component.d.ts +1 -1
- package/scheduler/lib/views/timeline-day/scheduler-timeline-day-view.component.d.ts +1 -1
- package/scheduler/lib/views/timeline-month/scheduler-timeline-month-view.component.d.ts +1 -1
- package/scheduler/lib/views/timeline-multi-day/scheduler-timeline-multi-day-view.component.d.ts +1 -1
- package/scheduler/lib/views/week/scheduler-week-view.component.d.ts +1 -1
- package/search-box/lib/search-box.component.d.ts +1 -1
- package/search-box/lib/search-box.module.d.ts +1 -1
- package/select-box/lib/select-box.component.d.ts +1 -1
- package/select-box/lib/select-box.module.d.ts +1 -1
- package/selection-list/lib/selection-list.component.d.ts +1 -1
- package/side-menu/lib/side-menu-item/side-menu-item.component.d.ts +1 -1
- package/side-menu/lib/side-menu.component.d.ts +1 -1
- package/side-menu/lib/side-menu.module.d.ts +1 -1
- package/skeleton/lib/skeleton.component.d.ts +1 -1
- package/slider/lib/slider.component.d.ts +1 -1
- package/slider/lib/slider.module.d.ts +1 -1
- package/sliding-item/lib/sliding-item-prefix/sliding-item-prefix.component.d.ts +1 -1
- package/sliding-item/lib/sliding-item-suffix/sliding-item-suffix.component.d.ts +1 -1
- package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +1 -1
- package/step-wizard/lib/step-wizard.component.d.ts +1 -1
- package/switch/lib/switch-content.component.d.ts +1 -1
- package/switch/lib/switch.component.d.ts +1 -1
- package/tabs/lib/tab-item.component.d.ts +1 -1
- package/tabs/lib/tabs.class.d.ts +1 -1
- package/tabs/lib/tabs.component.d.ts +1 -1
- package/tag/lib/tag.component.d.ts +1 -1
- package/tag-box/lib/tag-box.component.d.ts +1 -1
- package/text-area/lib/text-area.component.d.ts +1 -1
- package/text-box/lib/text-box.component.d.ts +1 -1
- package/text-box/lib/text-box.module.d.ts +1 -1
- package/time-duration/lib/time-duration.component.d.ts +1 -1
- package/toast/lib/toast.class.d.ts +1 -1
- package/toast/lib/toast.component.d.ts +1 -1
- package/toast/lib/toast.config.d.ts +1 -1
- package/tooltip/lib/tooltip.component.d.ts +1 -1
- package/tooltip/lib/tooltip.directive.d.ts +1 -1
- package/tree-view/lib/tree-view-item.component.d.ts +1 -1
- package/tree-view/lib/tree-view.class.d.ts +1 -1
- package/tree-view/lib/tree-view.component.d.ts +1 -1
- package/tree-view/lib/tree-view.component.module.d.ts +1 -1
- package/uploader/lib/uploader-drop-zone/uploader-drop-zone.component.d.ts +1 -1
- package/uploader/lib/uploader.models.d.ts +1 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-container/wysiwyg-container.component.d.ts +1 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-alignment/wysiwyg-alignment.component.d.ts +1 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-colors/wysiwyg-colors.component.d.ts +1 -1
- package/wysiwyg/lib/wysiwyg/wysiwyg-tools/wysiwyg-insert/wysiwyg-insert.component.d.ts +1 -1
- package/common/README.md +0 -3
- package/common/index.d.ts +0 -32
- package/common/lib/classes/components.class.d.ts +0 -97
- package/common/lib/classes/datalist.class.d.ts +0 -37
- package/common/lib/classes/datasource.class.d.ts +0 -87
- package/common/lib/classes/events.class.d.ts +0 -96
- package/common/lib/classes/styles.class.d.ts +0 -12
- package/common/lib/common.module.d.ts +0 -10
- package/common/lib/components/base-component.class.d.ts +0 -42
- package/common/lib/components/button-base-component.class.d.ts +0 -55
- package/common/lib/components/color-component.class.d.ts +0 -12
- package/common/lib/components/colorlook-component.class.d.ts +0 -6
- package/common/lib/components/input-base-value-component.class.d.ts +0 -35
- package/common/lib/components/interactive-component.class.d.ts +0 -57
- package/common/lib/components/look-component.class.d.ts +0 -18
- package/common/lib/components/selection-base.component.class.d.ts +0 -53
- package/common/lib/components/value-component.class.d.ts +0 -70
- package/common/lib/directives/auto-focus.directive.d.ts +0 -17
- package/common/lib/directives/copy-clipboard.directive.d.ts +0 -40
- package/common/lib/directives/delayed-value-changed.directive.d.ts +0 -17
- package/common/lib/directives/hotkey.directive.d.ts +0 -22
- package/common/lib/directives/infinite-scroll.directive.d.ts +0 -25
- package/common/lib/directives/inverted-color.directive.d.ts +0 -12
- package/common/lib/directives/responsive.directive.d.ts +0 -10
- package/common/lib/directives/ripple.directive.d.ts +0 -18
- package/common/lib/interfaces/component.interface.d.ts +0 -4
- package/common/lib/services/dom.service.d.ts +0 -6
- package/common/lib/services/hotkey.service.d.ts +0 -31
- package/common/lib/types/base/button.type.d.ts +0 -8
- package/common/lib/types/base/color.type.d.ts +0 -7
- package/common/lib/types/base/component.types.d.ts +0 -8
- package/common/lib/types/base/events.types.d.ts +0 -21
- package/common/lib/types/base/index.d.ts +0 -7
- package/common/lib/types/base/interactive.type.d.ts +0 -13
- package/common/lib/types/base/look.type.d.ts +0 -7
- package/common/lib/types/base/value.type.d.ts +0 -9
- package/common/lib/types/direction.d.ts +0 -4
- package/common/lib/types/orientation.d.ts +0 -4
- package/common/lib/types/placement.d.ts +0 -30
- package/common/lib/types/range.d.ts +0 -4
- package/common/lib/types/selection-mode.d.ts +0 -4
- package/fesm2022/acorex-components-common.mjs +0 -2087
- package/fesm2022/acorex-components-common.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-acorex-components-modal-Ckn70-o5.mjs.map +0 -1
- package/fesm2022/acorex-components-modal-modal-content.component-DzRhA-Nt.mjs.map +0 -1
@@ -496,34 +496,40 @@ class AXLeafletService {
|
|
496
496
|
* Adjusts the map view to fit all markers, polygons, and boundaries currently on the map.
|
497
497
|
*/
|
498
498
|
fitBoundsToDrawItems() {
|
499
|
-
if (!this.map
|
500
|
-
console.warn('Map
|
499
|
+
if (!this.map) {
|
500
|
+
console.warn('Map not initialized.');
|
501
501
|
return;
|
502
502
|
}
|
503
503
|
const bounds = this.L.latLngBounds([]);
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
504
|
+
let hasValidBounds = false;
|
505
|
+
// Add all draw items to bounds if they exist
|
506
|
+
if (this.drawnItems) {
|
507
|
+
this.drawnItems.getLayers().forEach((layer) => {
|
508
|
+
if (layer instanceof this.L.Marker) {
|
509
|
+
bounds.extend(layer.getLatLng());
|
510
|
+
hasValidBounds = true;
|
511
|
+
}
|
512
|
+
else if (layer instanceof this.L.Polygon) {
|
513
|
+
const latLngs = layer.getLatLngs();
|
514
|
+
latLngs.forEach((latLngArray) => {
|
515
|
+
latLngArray.forEach((latLng) => {
|
516
|
+
bounds.extend(latLng);
|
517
|
+
hasValidBounds = true;
|
518
|
+
});
|
514
519
|
});
|
515
|
-
}
|
516
|
-
}
|
517
|
-
}
|
518
|
-
//
|
520
|
+
}
|
521
|
+
});
|
522
|
+
}
|
523
|
+
// Always include boundaries if set
|
519
524
|
if (this.boundary && this.boundary.length > 0) {
|
520
525
|
this.boundary.forEach((boundaryPolygon) => {
|
521
526
|
boundaryPolygon.points.forEach((point) => {
|
522
527
|
bounds.extend([point.latitude, point.longitude]);
|
528
|
+
hasValidBounds = true;
|
523
529
|
});
|
524
530
|
});
|
525
531
|
}
|
526
|
-
if (bounds.isValid()) {
|
532
|
+
if (hasValidBounds && bounds.isValid()) {
|
527
533
|
const maxZoom = 18;
|
528
534
|
this.map.fitBounds(bounds, {
|
529
535
|
padding: [20, 20],
|
@@ -654,13 +660,13 @@ class AXMapComponent {
|
|
654
660
|
this.hasLocator = input(false);
|
655
661
|
/**
|
656
662
|
* @description
|
657
|
-
*
|
663
|
+
* Whether map should contain all draw items.
|
658
664
|
* @default false
|
659
665
|
*/
|
660
666
|
this.fitToDraw = input(false);
|
661
667
|
/**
|
662
668
|
* @description
|
663
|
-
*
|
669
|
+
* Whether map draw has to limit in area.
|
664
670
|
* @default undefined
|
665
671
|
*/
|
666
672
|
this.limitDraw = input(undefined);
|
@@ -721,106 +727,138 @@ class AXMapComponent {
|
|
721
727
|
this.mapContainer = viewChild('mapContainer');
|
722
728
|
this.leafletService = inject(AXLeafletService);
|
723
729
|
this.rendered = signal(false);
|
730
|
+
/**
|
731
|
+
* Initialize the map once rendering is complete
|
732
|
+
*/
|
724
733
|
this.#initMap = afterNextRender(async () => {
|
725
734
|
await this.leafletService.initMap(this.mapContainer().nativeElement, { latitude: this.latitude() ?? 31, longitude: this.longitude() ?? 51 }, this.zoomLevel() ?? 5);
|
735
|
+
// Initialize map data
|
726
736
|
if (this.markers()) {
|
727
737
|
this.leafletService.addMarker(this.markers());
|
728
738
|
}
|
729
739
|
if (this.polygons()) {
|
730
740
|
this.leafletService.addPolygon(this.polygons());
|
731
741
|
}
|
732
|
-
if (this.fitToDraw() && (this.polygons() || this.markers())) {
|
733
|
-
this.leafletService.fitBoundsToDrawItems();
|
734
|
-
}
|
735
742
|
if (this.limitDraw()) {
|
736
743
|
this.leafletService.setBoundary(this.limitDraw());
|
737
744
|
}
|
745
|
+
// Setup map events
|
746
|
+
this.setupMapEvents();
|
747
|
+
// Apply initial fit if needed
|
748
|
+
if (this.fitToDraw()) {
|
749
|
+
this.leafletService.fitBoundsToDrawItems();
|
750
|
+
}
|
738
751
|
this.onMapReady.emit();
|
739
752
|
this.rendered.set(true);
|
740
753
|
});
|
754
|
+
/**
|
755
|
+
* Effect for locator control
|
756
|
+
*/
|
741
757
|
this.#locatorEffect = effect(() => {
|
742
|
-
if (this.rendered())
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
this.leafletService.addLocateControl(this.locatePlace());
|
752
|
-
if (!this.onLocationFoundSubscription) {
|
753
|
-
this.onLocationFoundSubscription = this.leafletService.onLocationFound
|
754
|
-
.pipe(distinctUntilChanged((prev, curr) => prev.latitude === curr.latitude && prev.longitude === curr.longitude))
|
755
|
-
.subscribe((location) => {
|
756
|
-
this.onLocationFound.emit(location);
|
757
|
-
});
|
758
|
-
}
|
758
|
+
if (!this.rendered())
|
759
|
+
return;
|
760
|
+
const hasLocator = this.hasLocator();
|
761
|
+
const locatePlace = this.locatePlace();
|
762
|
+
if (!hasLocator) {
|
763
|
+
this.leafletService.removeLocateControl();
|
764
|
+
if (this.onLocationFoundSubscription) {
|
765
|
+
this.onLocationFoundSubscription.unsubscribe();
|
766
|
+
this.onLocationFoundSubscription = undefined;
|
759
767
|
}
|
768
|
+
return;
|
760
769
|
}
|
761
|
-
|
762
|
-
|
763
|
-
if
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
this.
|
769
|
-
});
|
770
|
-
this.leafletService.onZoomChanged.subscribe((zoom) => {
|
771
|
-
this.zoomLevel.set(zoom);
|
770
|
+
// Add locator control
|
771
|
+
this.leafletService.addLocateControl(locatePlace);
|
772
|
+
// Subscribe to location events if not already subscribed
|
773
|
+
if (!this.onLocationFoundSubscription) {
|
774
|
+
this.onLocationFoundSubscription = this.leafletService.onLocationFound
|
775
|
+
.pipe(distinctUntilChanged((prev, curr) => prev.latitude === curr.latitude && prev.longitude === curr.longitude))
|
776
|
+
.subscribe((location) => {
|
777
|
+
this.onLocationFound.emit(location);
|
772
778
|
});
|
773
|
-
if (!this.hasDraw()) {
|
774
|
-
this.leafletService.removeDrawControl();
|
775
|
-
this.unsubscribeFromEvents();
|
776
|
-
}
|
777
|
-
else {
|
778
|
-
this.leafletService.addDrawControl(this.markerPlace(), this.maxMarker() || 1, this.maxPolygon());
|
779
|
-
if (!this.onMarkerChangedSubscription) {
|
780
|
-
this.onMarkerChangedSubscription = this.leafletService.onMarkerChanged.subscribe((location) => {
|
781
|
-
this.onMarkerChanged.emit(location);
|
782
|
-
});
|
783
|
-
}
|
784
|
-
if (!this.onMarkerAddedSubscription) {
|
785
|
-
this.onMarkerAddedSubscription = this.leafletService.onMarkerAdded.subscribe((location) => {
|
786
|
-
this.onMarkerAdded.emit(location);
|
787
|
-
});
|
788
|
-
}
|
789
|
-
if (!this.onPolygonChangedSubscription) {
|
790
|
-
this.onPolygonChangedSubscription = this.leafletService.onPolygonChanged.subscribe((location) => {
|
791
|
-
this.onPolygonChanged.emit(location);
|
792
|
-
});
|
793
|
-
}
|
794
|
-
if (!this.onPolygonAddedSubscription) {
|
795
|
-
this.onPolygonAddedSubscription = this.leafletService.onPolygonAdded.subscribe((location) => {
|
796
|
-
this.onPolygonAdded.emit(location);
|
797
|
-
});
|
798
|
-
}
|
799
|
-
}
|
800
779
|
}
|
801
780
|
});
|
781
|
+
/**
|
782
|
+
* Effect for draw control
|
783
|
+
*/
|
784
|
+
this.#drawControlEffect = effect(() => {
|
785
|
+
if (!this.rendered())
|
786
|
+
return;
|
787
|
+
const hasDraw = this.hasDraw();
|
788
|
+
const markerPlace = this.markerPlace();
|
789
|
+
const maxMarker = this.maxMarker();
|
790
|
+
const maxPolygon = this.maxPolygon();
|
791
|
+
if (!hasDraw) {
|
792
|
+
this.leafletService.removeDrawControl();
|
793
|
+
this.unsubscribeFromDrawEvents();
|
794
|
+
return;
|
795
|
+
}
|
796
|
+
// Add draw control with current settings
|
797
|
+
this.leafletService.addDrawControl(markerPlace, maxMarker || 1, maxPolygon);
|
798
|
+
// Set up event subscriptions
|
799
|
+
this.setupDrawEventSubscriptions();
|
800
|
+
});
|
801
|
+
/**
|
802
|
+
* Effect for zoom level changes
|
803
|
+
*/
|
802
804
|
this.#zoomEffect = effect(() => {
|
803
805
|
if (this.rendered() && this.zoomLevel() !== null) {
|
804
806
|
this.leafletService.setZoomLevel(this.zoomLevel());
|
805
807
|
}
|
806
808
|
});
|
809
|
+
/**
|
810
|
+
* Effect for limit draw changes
|
811
|
+
*/
|
807
812
|
this.#limitDrawEffect = effect(() => {
|
808
|
-
if (this.rendered()
|
813
|
+
if (!this.rendered())
|
814
|
+
return;
|
815
|
+
const limitDraw = this.limitDraw();
|
816
|
+
if (limitDraw) {
|
809
817
|
this.leafletService.removeBoundary();
|
810
|
-
this.leafletService.setBoundary(
|
818
|
+
this.leafletService.setBoundary(limitDraw);
|
819
|
+
if (this.fitToDraw()) {
|
820
|
+
this.fitBoundsToDrawItems();
|
821
|
+
}
|
811
822
|
}
|
812
823
|
});
|
824
|
+
/**
|
825
|
+
* Effect for markers changes
|
826
|
+
*/
|
827
|
+
this.#markersEffect = effect(() => {
|
828
|
+
if (this.rendered() && this.markers() && this.fitToDraw()) {
|
829
|
+
this.fitBoundsToDrawItems();
|
830
|
+
}
|
831
|
+
});
|
832
|
+
/**
|
833
|
+
* Effect for polygons changes
|
834
|
+
*/
|
835
|
+
this.#polygonsEffect = effect(() => {
|
836
|
+
if (this.rendered() && this.polygons() && this.fitToDraw()) {
|
837
|
+
this.fitBoundsToDrawItems();
|
838
|
+
}
|
839
|
+
});
|
840
|
+
/**
|
841
|
+
* Effect for fitToDraw changes
|
842
|
+
*/
|
843
|
+
this.#fitToDrawEffect = effect(() => {
|
844
|
+
if (this.rendered() && this.fitToDraw()) {
|
845
|
+
this.fitBoundsToDrawItems();
|
846
|
+
}
|
847
|
+
});
|
848
|
+
/**
|
849
|
+
* Effect for center changes (lat/long)
|
850
|
+
*/
|
813
851
|
this.#centerEffect = effect(() => {
|
814
|
-
if (this.rendered())
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
this.
|
823
|
-
}
|
852
|
+
if (!this.rendered())
|
853
|
+
return;
|
854
|
+
if (this.fitToDraw()) {
|
855
|
+
this.fitBoundsToDrawItems();
|
856
|
+
}
|
857
|
+
else {
|
858
|
+
this.leafletService.setCenter({
|
859
|
+
latitude: this.latitude(),
|
860
|
+
longitude: this.longitude(),
|
861
|
+
});
|
824
862
|
}
|
825
863
|
});
|
826
864
|
}
|
@@ -832,6 +870,12 @@ class AXMapComponent {
|
|
832
870
|
addMarker(location) {
|
833
871
|
this.leafletService.addMarker(location);
|
834
872
|
}
|
873
|
+
/**
|
874
|
+
* @description
|
875
|
+
* Adds a polygon to the specified location on the map.
|
876
|
+
* @param location - The location where the polygon should be placed.
|
877
|
+
* @param clickCallback - Optional callback for polygon click events.
|
878
|
+
*/
|
835
879
|
addPolygon(location, clickCallback) {
|
836
880
|
this.leafletService.addPolygon(location, clickCallback);
|
837
881
|
}
|
@@ -878,9 +922,18 @@ class AXMapComponent {
|
|
878
922
|
fitBoundsToDrawItems() {
|
879
923
|
return this.leafletService.fitBoundsToDrawItems();
|
880
924
|
}
|
925
|
+
/**
|
926
|
+
* @description
|
927
|
+
* Sets the boundary limit for drawing
|
928
|
+
* @param data - The polygon data defining the boundary
|
929
|
+
*/
|
881
930
|
setLimitDraw(data) {
|
882
931
|
return this.leafletService.setBoundary(data);
|
883
932
|
}
|
933
|
+
/**
|
934
|
+
* @description
|
935
|
+
* Removes the boundary limit for drawing
|
936
|
+
*/
|
884
937
|
removeLimitDraw() {
|
885
938
|
this.leafletService.removeBoundary();
|
886
939
|
}
|
@@ -896,35 +949,138 @@ class AXMapComponent {
|
|
896
949
|
flyTo(location, zoom, setMarker, duration) {
|
897
950
|
this.leafletService.flyTo(location, zoom, setMarker, duration);
|
898
951
|
}
|
952
|
+
/**
|
953
|
+
* Initialize the map once rendering is complete
|
954
|
+
*/
|
899
955
|
#initMap;
|
956
|
+
/**
|
957
|
+
* Setup map event listeners
|
958
|
+
*/
|
959
|
+
setupMapEvents() {
|
960
|
+
// Map movement events
|
961
|
+
this.onLatitudeChangedSubscription = this.leafletService.onLatitudeChanged.subscribe((latitude) => {
|
962
|
+
this.latitude.set(latitude);
|
963
|
+
});
|
964
|
+
this.onLongitudeChangedSubscription = this.leafletService.onLongitudeChanged.subscribe((longitude) => {
|
965
|
+
this.longitude.set(longitude);
|
966
|
+
});
|
967
|
+
this.onZoomChangedSubscription = this.leafletService.onZoomChanged.subscribe((zoom) => {
|
968
|
+
this.zoomLevel.set(zoom);
|
969
|
+
});
|
970
|
+
}
|
971
|
+
/**
|
972
|
+
* Effect for locator control
|
973
|
+
*/
|
900
974
|
#locatorEffect;
|
901
|
-
|
902
|
-
|
975
|
+
/**
|
976
|
+
* Effect for draw control
|
977
|
+
*/
|
978
|
+
#drawControlEffect;
|
979
|
+
/**
|
980
|
+
* Setup draw event subscriptions
|
981
|
+
*/
|
982
|
+
setupDrawEventSubscriptions() {
|
983
|
+
// Marker changed events
|
984
|
+
if (!this.onMarkerChangedSubscription) {
|
985
|
+
this.onMarkerChangedSubscription = this.leafletService.onMarkerChanged.subscribe((markers) => {
|
986
|
+
this.onMarkerChanged.emit(markers);
|
987
|
+
if (this.fitToDraw()) {
|
988
|
+
this.fitBoundsToDrawItems();
|
989
|
+
}
|
990
|
+
});
|
991
|
+
}
|
992
|
+
// Marker added events
|
993
|
+
if (!this.onMarkerAddedSubscription) {
|
994
|
+
this.onMarkerAddedSubscription = this.leafletService.onMarkerAdded.subscribe((marker) => {
|
995
|
+
this.onMarkerAdded.emit(marker);
|
996
|
+
if (this.fitToDraw()) {
|
997
|
+
this.fitBoundsToDrawItems();
|
998
|
+
}
|
999
|
+
});
|
1000
|
+
}
|
1001
|
+
// Polygon changed events
|
1002
|
+
if (!this.onPolygonChangedSubscription) {
|
1003
|
+
this.onPolygonChangedSubscription = this.leafletService.onPolygonChanged.subscribe((polygons) => {
|
1004
|
+
this.onPolygonChanged.emit(polygons);
|
1005
|
+
if (this.fitToDraw()) {
|
1006
|
+
this.fitBoundsToDrawItems();
|
1007
|
+
}
|
1008
|
+
});
|
1009
|
+
}
|
1010
|
+
// Polygon added events
|
1011
|
+
if (!this.onPolygonAddedSubscription) {
|
1012
|
+
this.onPolygonAddedSubscription = this.leafletService.onPolygonAdded.subscribe((polygon) => {
|
1013
|
+
this.onPolygonAdded.emit(polygon);
|
1014
|
+
if (this.fitToDraw()) {
|
1015
|
+
this.fitBoundsToDrawItems();
|
1016
|
+
}
|
1017
|
+
});
|
1018
|
+
}
|
1019
|
+
}
|
1020
|
+
/**
|
1021
|
+
* Unsubscribe from draw events
|
1022
|
+
*/
|
1023
|
+
unsubscribeFromDrawEvents() {
|
903
1024
|
if (this.onMarkerChangedSubscription) {
|
904
1025
|
this.onMarkerChangedSubscription.unsubscribe();
|
905
|
-
this.onMarkerChangedSubscription =
|
1026
|
+
this.onMarkerChangedSubscription = undefined;
|
906
1027
|
}
|
907
1028
|
if (this.onMarkerAddedSubscription) {
|
908
1029
|
this.onMarkerAddedSubscription.unsubscribe();
|
909
|
-
this.onMarkerAddedSubscription =
|
1030
|
+
this.onMarkerAddedSubscription = undefined;
|
910
1031
|
}
|
911
1032
|
if (this.onPolygonChangedSubscription) {
|
912
1033
|
this.onPolygonChangedSubscription.unsubscribe();
|
913
|
-
this.onPolygonChangedSubscription =
|
1034
|
+
this.onPolygonChangedSubscription = undefined;
|
914
1035
|
}
|
915
1036
|
if (this.onPolygonAddedSubscription) {
|
916
1037
|
this.onPolygonAddedSubscription.unsubscribe();
|
917
|
-
this.onPolygonAddedSubscription =
|
1038
|
+
this.onPolygonAddedSubscription = undefined;
|
918
1039
|
}
|
919
1040
|
}
|
1041
|
+
/**
|
1042
|
+
* Effect for zoom level changes
|
1043
|
+
*/
|
920
1044
|
#zoomEffect;
|
1045
|
+
/**
|
1046
|
+
* Effect for limit draw changes
|
1047
|
+
*/
|
921
1048
|
#limitDrawEffect;
|
1049
|
+
/**
|
1050
|
+
* Effect for markers changes
|
1051
|
+
*/
|
1052
|
+
#markersEffect;
|
1053
|
+
/**
|
1054
|
+
* Effect for polygons changes
|
1055
|
+
*/
|
1056
|
+
#polygonsEffect;
|
1057
|
+
/**
|
1058
|
+
* Effect for fitToDraw changes
|
1059
|
+
*/
|
1060
|
+
#fitToDrawEffect;
|
1061
|
+
/**
|
1062
|
+
* Effect for center changes (lat/long)
|
1063
|
+
*/
|
922
1064
|
#centerEffect;
|
923
1065
|
/**
|
924
|
-
*
|
925
|
-
* Cleanup function that destroys the map when the component is destroyed.
|
1066
|
+
* Cleanup function that destroys the map and unsubscribes from all subscriptions.
|
926
1067
|
*/
|
927
1068
|
ngOnDestroy() {
|
1069
|
+
// Unsubscribe from all subscriptions
|
1070
|
+
this.unsubscribeFromDrawEvents();
|
1071
|
+
if (this.onLocationFoundSubscription) {
|
1072
|
+
this.onLocationFoundSubscription.unsubscribe();
|
1073
|
+
}
|
1074
|
+
if (this.onLatitudeChangedSubscription) {
|
1075
|
+
this.onLatitudeChangedSubscription.unsubscribe();
|
1076
|
+
}
|
1077
|
+
if (this.onLongitudeChangedSubscription) {
|
1078
|
+
this.onLongitudeChangedSubscription.unsubscribe();
|
1079
|
+
}
|
1080
|
+
if (this.onZoomChangedSubscription) {
|
1081
|
+
this.onZoomChangedSubscription.unsubscribe();
|
1082
|
+
}
|
1083
|
+
// Destroy the map
|
928
1084
|
this.leafletService.destroyMap();
|
929
1085
|
}
|
930
1086
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXMapComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|