@acorex/components 7.0.40 → 7.1.0
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/src/action-sheet.interface.d.ts +1 -1
- package/alert/src/alert.component.d.ts +3 -3
- package/avatar/src/avatar.component.d.ts +1 -1
- package/badge/src/badge.component.d.ts +3 -3
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +7 -7
- package/button/src/button-group.component.d.ts +7 -7
- package/button/src/button-item.class.d.ts +1 -1
- package/button/src/button-item.component.d.ts +7 -7
- package/button/src/button.component.d.ts +1 -1
- package/calendar/public-api.d.ts +1 -0
- package/calendar/src/calendar-range.component.d.ts +29 -0
- package/calendar/src/calendar.class.d.ts +55 -6
- package/calendar/src/calendar.component.d.ts +17 -24
- package/calendar/src/calendar.module.d.ts +4 -3
- package/checkbox/src/checkbox.component.d.ts +1 -1
- package/chips/src/chips.component.d.ts +7 -7
- package/collapse/src/collapse-group.component.d.ts +1 -1
- package/collapse/src/collapse.component.d.ts +1 -1
- package/color-palette/src/color-palette-swatches.component.d.ts +1 -1
- package/color-palette/src/color-palette.class.d.ts +1 -1
- package/color-palette/src/color-palette.component.d.ts +1 -1
- package/color-picker/src/color-picker.component.d.ts +20 -17
- package/common/public-api.d.ts +1 -0
- package/common/src/classes/data.class.d.ts +4 -0
- package/common/src/classes/events.class.d.ts +9 -0
- package/common/src/classes/styles.class.d.ts +5 -5
- package/common/src/components/base-component.class.d.ts +6 -9
- package/common/src/components/index.d.ts +1 -0
- package/common/src/components/value-component.class.d.ts +45 -0
- package/common/src/constant/positions.d.ts +1 -1
- package/common/src/directives/auto-focus.directive.d.ts +1 -1
- package/common/src/directives/debounce-time.directive.d.ts +1 -1
- package/common/src/directives/hotkey.directive.d.ts +2 -2
- package/common/src/directives/infinite-scroll.directive.d.ts +1 -1
- package/common/src/services/hotkey.service.d.ts +1 -1
- package/context-menu/src/context-menu.component.d.ts +1 -1
- package/data-pager/src/data-pager-base.component.d.ts +1 -1
- package/data-pager/src/data-pager-info.component.d.ts +1 -1
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +1 -1
- package/data-pager/src/data-pager.component.d.ts +1 -1
- package/data-table/src/data-column.directive.d.ts +1 -1
- package/data-table/src/data-table.component.d.ts +1 -1
- package/date-picker/src/datepicker.component.d.ts +15 -15
- package/decorators/src/close-button.component.d.ts +1 -1
- package/decorators/src/icon.component.d.ts +1 -1
- package/decorators/src/overlay.component.d.ts +1 -1
- package/decorators/src/sub-title.component.d.ts +1 -1
- package/decorators/src/text.component.d.ts +1 -1
- package/drawer/src/drawer.component.d.ts +3 -3
- package/dropdown/src/dropdown-panel.component.d.ts +1 -1
- package/esm2022/action-sheet/src/action-sheet.component.mjs +80 -0
- package/{esm2020 → esm2022}/action-sheet/src/action-sheet.module.mjs +5 -5
- package/esm2022/action-sheet/src/action-sheet.service.mjs +93 -0
- package/esm2022/alert/src/alert.component.mjs +188 -0
- package/{esm2020 → esm2022}/alert/src/alert.module.mjs +5 -5
- package/{esm2020 → esm2022}/avatar/src/avatar-group.component.mjs +4 -4
- package/esm2022/avatar/src/avatar.component.mjs +43 -0
- package/{esm2020 → esm2022}/avatar/src/avatar.module.mjs +5 -5
- package/esm2022/badge/src/badge.component.mjs +28 -0
- package/{esm2020 → esm2022}/badge/src/badge.module.mjs +5 -5
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +50 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +27 -0
- package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs.module.mjs +5 -5
- package/esm2022/button/src/button-group.component.mjs +91 -0
- package/esm2022/button/src/button-item.component.mjs +79 -0
- package/esm2022/button/src/button.component.mjs +78 -0
- package/{esm2020 → esm2022}/button/src/button.module.mjs +9 -9
- package/{esm2020 → esm2022}/calendar/public-api.mjs +2 -1
- package/esm2022/calendar/src/calendar-range.component.mjs +174 -0
- package/esm2022/calendar/src/calendar.class.mjs +280 -0
- package/esm2022/calendar/src/calendar.component.mjs +372 -0
- package/esm2022/calendar/src/calendar.module.mjs +23 -0
- package/esm2022/card/src/card.component.mjs +18 -0
- package/{esm2020 → esm2022}/card/src/card.module.mjs +5 -5
- package/esm2022/checkbox/src/checkbox.component.mjs +42 -0
- package/{esm2020 → esm2022}/checkbox/src/checkbox.module.mjs +5 -5
- package/{esm2020 → esm2022}/chips/src/chips.component.mjs +7 -7
- package/{esm2020 → esm2022}/chips/src/chips.module.mjs +5 -5
- package/esm2022/collapse/src/collapse-group.component.mjs +52 -0
- package/esm2022/collapse/src/collapse.component.mjs +47 -0
- package/{esm2020 → esm2022}/collapse/src/collapse.module.mjs +5 -5
- package/esm2022/color-palette/src/color-palette-input.component.mjs +130 -0
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +159 -0
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +62 -0
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +304 -0
- package/{esm2020 → esm2022}/color-palette/src/color-palette.class.mjs +7 -7
- package/esm2022/color-palette/src/color-palette.component.mjs +75 -0
- package/{esm2020 → esm2022}/color-palette/src/color-palette.module.mjs +19 -19
- package/esm2022/color-picker/src/color-picker.component.mjs +119 -0
- package/{esm2020 → esm2022}/color-picker/src/color-picker.module.mjs +25 -25
- package/esm2022/common/public-api.mjs +17 -0
- package/esm2022/common/src/classes/components.class.mjs +72 -0
- package/esm2022/common/src/classes/data.class.mjs +2 -0
- package/esm2022/common/src/classes/events.class.mjs +96 -0
- package/{esm2020 → esm2022}/common/src/common.module.mjs +13 -13
- package/esm2022/common/src/components/base-component.class.mjs +57 -0
- package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
- package/esm2022/common/src/components/color-component.class.mjs +27 -0
- package/{esm2020 → esm2022}/common/src/components/index.mjs +2 -1
- package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
- package/{esm2020 → esm2022}/common/src/components/look-component.class.mjs +3 -3
- package/esm2022/common/src/components/value-component.class.mjs +206 -0
- package/esm2022/common/src/directives/auto-focus.directive.mjs +57 -0
- package/esm2022/common/src/directives/debounce-time.directive.mjs +49 -0
- package/esm2022/common/src/directives/hotkey.directive.mjs +82 -0
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +69 -0
- package/esm2022/common/src/directives/responsive.directive.mjs +35 -0
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +50 -0
- package/esm2022/common/src/services/hotkey.service.mjs +40 -0
- package/esm2022/common/src/services/overlay.service.mjs +115 -0
- package/esm2022/context-menu/src/context-menu.component.mjs +270 -0
- package/{esm2020 → esm2022}/context-menu/src/context-menu.module.mjs +9 -9
- package/esm2022/data-pager/src/data-pager-base.component.mjs +35 -0
- package/esm2022/data-pager/src/data-pager-info.component.mjs +61 -0
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +53 -0
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +66 -0
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +100 -0
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +88 -0
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +61 -0
- package/esm2022/data-pager/src/data-pager.component.mjs +146 -0
- package/{esm2020 → esm2022}/data-pager/src/data-pager.module.mjs +17 -17
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +18 -0
- package/esm2022/data-table/src/data-column.directive.mjs +50 -0
- package/esm2022/data-table/src/data-table.component.mjs +139 -0
- package/{esm2020 → esm2022}/data-table/src/data-table.module.mjs +5 -5
- package/esm2022/date-picker/src/datepicker.component.mjs +240 -0
- package/{esm2020 → esm2022}/date-picker/src/datepicker.module.mjs +12 -12
- package/esm2022/decorators/src/close-button.component.mjs +51 -0
- package/{esm2020 → esm2022}/decorators/src/content.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/decorators.module.mjs +29 -29
- package/{esm2020 → esm2022}/decorators/src/footer.component.mjs +5 -5
- package/{esm2020 → esm2022}/decorators/src/form-hint.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/header.component.mjs +5 -5
- package/esm2022/decorators/src/icon.component.mjs +30 -0
- package/esm2022/decorators/src/overlay.component.mjs +20 -0
- package/{esm2020 → esm2022}/decorators/src/placeholder.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/prefix.component.mjs +4 -4
- package/esm2022/decorators/src/sub-title.component.mjs +27 -0
- package/{esm2020 → esm2022}/decorators/src/suffix.component.mjs +4 -4
- package/esm2022/decorators/src/text.component.mjs +22 -0
- package/{esm2020 → esm2022}/decorators/src/title.component.mjs +4 -4
- package/{esm2020 → esm2022}/dialog/src/dialog.component.mjs +7 -4
- package/{esm2020 → esm2022}/dialog/src/dialog.module.mjs +5 -5
- package/esm2022/dialog/src/dialog.service.mjs +154 -0
- package/esm2022/drawer/src/drawer-container.component.mjs +38 -0
- package/esm2022/drawer/src/drawer.component.mjs +144 -0
- package/{esm2020 → esm2022}/drawer/src/drawer.module.mjs +5 -5
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +105 -0
- package/{esm2020 → esm2022}/dropdown/src/dropdown.module.mjs +5 -5
- package/{esm2020 → esm2022}/form/src/form-field.component.mjs +4 -4
- package/esm2022/form/src/form.component.mjs +163 -0
- package/{esm2020 → esm2022}/form/src/form.module.mjs +11 -11
- package/esm2022/form/src/validation-rule.widget.mjs +113 -0
- package/esm2022/form/src/validation-summary.component.mjs +109 -0
- package/esm2022/image/src/image.component.mjs +79 -0
- package/{esm2020 → esm2022}/image/src/image.module.mjs +5 -5
- package/esm2022/label/src/label.component.mjs +48 -0
- package/{esm2020 → esm2022}/label/src/label.module.mjs +5 -5
- package/{esm2020 → esm2022}/loading/src/loading-spinner.component.mjs +6 -5
- package/esm2022/loading/src/loading.component.mjs +67 -0
- package/esm2022/loading/src/loading.directive.mjs +76 -0
- package/{esm2020 → esm2022}/loading/src/loading.module.mjs +5 -5
- package/esm2022/loading/src/loading.service.mjs +158 -0
- package/esm2022/menu/src/menu.component.mjs +346 -0
- package/{esm2020 → esm2022}/menu/src/menu.module.mjs +8 -8
- package/esm2022/mixin/src/base-components.class.mjs +110 -0
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
- package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
- package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
- package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
- package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
- package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
- package/esm2022/mixin/src/selection-component.class.mjs +183 -0
- package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
- package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
- package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
- package/esm2022/notification/src/notification.component.mjs +92 -0
- package/{esm2020 → esm2022}/notification/src/notification.module.mjs +5 -5
- package/esm2022/notification/src/notification.service.mjs +109 -0
- package/esm2022/number-box/src/number-box.component.mjs +268 -0
- package/{esm2020 → esm2022}/number-box/src/number-box.module.mjs +9 -9
- package/esm2022/page/src/base-page.class.mjs +63 -0
- package/esm2022/page/src/page.component.mjs +46 -0
- package/{esm2020 → esm2022}/page/src/page.module.mjs +5 -5
- package/esm2022/password-box/src/password-box.component.mjs +63 -0
- package/{esm2020 → esm2022}/password-box/src/password-box.module.mjs +8 -8
- package/esm2022/picker/src/picker-column.component.mjs +20 -0
- package/{esm2020 → esm2022}/picker/src/picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/picker/src/picker.module.mjs +9 -9
- package/esm2022/popover/src/popover.component.mjs +262 -0
- package/{esm2020 → esm2022}/popover/src/popover.module.mjs +5 -5
- package/esm2022/popup/src/popup.component.mjs +145 -0
- package/{esm2020 → esm2022}/popup/src/popup.module.mjs +5 -5
- package/esm2022/popup/src/popup.service.mjs +116 -0
- package/{esm2020 → esm2022}/progress-bar/src/progress-bar.component.mjs +5 -5
- package/{esm2020 → esm2022}/progress-bar/src/progress-bar.module.mjs +5 -5
- package/{esm2020 → esm2022}/radio/src/radio.component.mjs +4 -4
- package/{esm2020 → esm2022}/radio/src/radio.module.mjs +5 -5
- package/esm2022/range-slider/src/range-slider.component.mjs +117 -0
- package/{esm2020 → esm2022}/range-slider/src/range-slider.module.mjs +5 -5
- package/esm2022/rating/src/rating.component.mjs +41 -0
- package/{esm2020 → esm2022}/rating/src/rating.component.module.mjs +5 -5
- package/esm2022/result/src/result.component.mjs +26 -0
- package/{esm2020 → esm2022}/result/src/result.module.mjs +5 -5
- package/esm2022/search-box/src/search-box.component.mjs +54 -0
- package/{esm2020 → esm2022}/search-box/src/search-box.module.mjs +5 -5
- package/esm2022/select-box/src/selectbox.component.mjs +391 -0
- package/{esm2020 → esm2022}/select-box/src/selectbox.module.mjs +27 -27
- package/{esm2020 → esm2022}/selection-list/src/selection-list.component.mjs +8 -8
- package/{esm2020 → esm2022}/selection-list/src/selection-list.module.mjs +5 -5
- package/{esm2020 → esm2022}/switch/src/switch-content.component.mjs +4 -4
- package/{esm2020 → esm2022}/switch/src/switch.component.mjs +7 -4
- package/{esm2020 → esm2022}/switch/src/switch.module.mjs +5 -5
- package/esm2022/tabs/src/tab-content.directive.mjs +31 -0
- package/esm2022/tabs/src/tab-item.component.mjs +140 -0
- package/esm2022/tabs/src/tabs.class.mjs +6 -0
- package/{esm2020 → esm2022}/tabs/src/tabs.component.mjs +14 -11
- package/{esm2020 → esm2022}/tabs/src/tabs.module.mjs +5 -5
- package/{esm2020 → esm2022}/tag/src/tag.component.mjs +6 -6
- package/{esm2020 → esm2022}/tag/src/tag.module.mjs +5 -5
- package/esm2022/textarea/src/textarea.component.mjs +29 -0
- package/{esm2020 → esm2022}/textarea/src/textarea.module.mjs +5 -5
- package/esm2022/textbox/src/mask-options.directive.mjs +19 -0
- package/esm2022/textbox/src/textbox.component.mjs +95 -0
- package/{esm2020 → esm2022}/textbox/src/textbox.module.mjs +13 -13
- package/esm2022/time-box/src/time-box.component.mjs +305 -0
- package/{esm2020 → esm2022}/time-box/src/time-box.module.mjs +8 -8
- package/esm2022/toast/src/toast.component.mjs +67 -0
- package/{esm2020 → esm2022}/toast/src/toast.module.mjs +5 -5
- package/esm2022/toast/src/toast.service.mjs +136 -0
- package/esm2022/tooltip/src/tooltip.component.mjs +21 -0
- package/esm2022/tooltip/src/tooltip.directive.mjs +163 -0
- package/{esm2020 → esm2022}/tooltip/src/tooltip.module.mjs +5 -5
- package/esm2022/tree-view/src/tree-view.component.mjs +107 -0
- package/{esm2020 → esm2022}/tree-view/src/tree-view.module.mjs +5 -5
- package/esm2022/uploader/src/uploader.component.mjs +101 -0
- package/{esm2020 → esm2022}/uploader/src/uploader.module.mjs +5 -5
- package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs +21 -16
- package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-alert.mjs +41 -32
- package/{fesm2020 → fesm2022}/acorex-components-alert.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs +12 -11
- package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-badge.mjs +9 -9
- package/{fesm2015 → fesm2022}/acorex-components-badge.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs +16 -11
- package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-button.mjs +45 -48
- package/fesm2022/acorex-components-button.mjs.map +1 -0
- package/fesm2022/acorex-components-calendar.mjs +837 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -0
- package/fesm2022/acorex-components-card.mjs +41 -0
- package/{fesm2015 → fesm2022}/acorex-components-card.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-checkbox.mjs +8 -8
- package/{fesm2015 → fesm2022}/acorex-components-checkbox.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-chips.mjs +10 -11
- package/{fesm2020 → fesm2022}/acorex-components-chips.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-collapse.mjs +21 -18
- package/{fesm2020 → fesm2022}/acorex-components-collapse.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs +337 -331
- package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-color-picker.mjs +182 -0
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-common.mjs +405 -140
- package/fesm2022/acorex-components-common.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-context-menu.mjs +29 -20
- package/{fesm2015 → fesm2022}/acorex-components-context-menu.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs +95 -80
- package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs +40 -31
- package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-date-picker.mjs +285 -0
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-decorators.mjs +80 -80
- package/{fesm2015 → fesm2022}/acorex-components-decorators.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-dialog.mjs +16 -11
- package/{fesm2015 → fesm2022}/acorex-components-dialog.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs +25 -21
- package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-dropdown.mjs +19 -16
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-form.mjs +65 -61
- package/fesm2022/acorex-components-form.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/acorex-components-image.mjs +17 -15
- package/{fesm2015 → fesm2022}/acorex-components-image.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-label.mjs +12 -10
- package/fesm2022/acorex-components-label.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-loading.mjs +42 -29
- package/{fesm2020 → fesm2022}/acorex-components-loading.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-menu.mjs +26 -19
- package/{fesm2020 → fesm2022}/acorex-components-menu.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-mixin.mjs +276 -284
- package/{fesm2020 → fesm2022}/acorex-components-mixin.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-notification.mjs +24 -18
- package/{fesm2020 → fesm2022}/acorex-components-notification.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-number-box.mjs +42 -35
- package/{fesm2015 → fesm2022}/acorex-components-number-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-page.mjs +20 -17
- package/{fesm2020 → fesm2022}/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +99 -0
- package/{fesm2015 → fesm2022}/acorex-components-password-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-picker.mjs +15 -18
- package/{fesm2015 → fesm2022}/acorex-components-picker.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-popover.mjs +50 -37
- package/{fesm2015 → fesm2022}/acorex-components-popover.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-popup.mjs +30 -19
- package/{fesm2020 → fesm2022}/acorex-components-popup.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-progress-bar.mjs +8 -9
- package/{fesm2015 → fesm2022}/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +65 -0
- package/{fesm2015 → fesm2022}/acorex-components-radio.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-range-slider.mjs +16 -16
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2022/acorex-components-rating.mjs +64 -0
- package/{fesm2015 → fesm2022}/acorex-components-rating.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-result.mjs +10 -10
- package/{fesm2020 → fesm2022}/acorex-components-result.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs +12 -11
- package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs +56 -46
- package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-selection-list.mjs +11 -12
- package/{fesm2015 → fesm2022}/acorex-components-selection-list.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-switch.mjs +13 -11
- package/{fesm2015 → fesm2022}/acorex-components-switch.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tabs.mjs +36 -26
- package/{fesm2015 → fesm2022}/acorex-components-tabs.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tag.mjs +9 -10
- package/{fesm2020 → fesm2022}/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-textarea.mjs +52 -0
- package/{fesm2020 → fesm2022}/acorex-components-textarea.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs +34 -30
- package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs +30 -22
- package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-toast.mjs +22 -18
- package/{fesm2020 → fesm2022}/acorex-components-toast.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs +20 -14
- package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +131 -0
- package/{fesm2015 → fesm2022}/acorex-components-tree-view.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs +15 -13
- package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components.mjs +0 -1
- package/form/src/form.component.d.ts +2 -2
- package/form/src/validation-rule.widget.d.ts +1 -1
- package/form/src/validation-summary.component.d.ts +2 -2
- package/form/src/validation.class.d.ts +1 -1
- package/image/src/image.component.d.ts +1 -1
- package/label/src/label.component.d.ts +1 -1
- package/loading/src/loading.component.d.ts +1 -1
- package/loading/src/loading.directive.d.ts +1 -1
- package/loading/src/loading.service.d.ts +2 -2
- package/menu/src/menu.component.d.ts +1 -1
- package/mixin/src/base-components.class.d.ts +7 -7
- package/mixin/src/base-menu-mixin.class.d.ts +5 -5
- package/mixin/src/button-mixin.class.d.ts +2 -2
- package/mixin/src/clickable-mixin.class.d.ts +2 -2
- package/mixin/src/color-look-mixing.class.d.ts +2 -2
- package/mixin/src/constratctor.d.ts +2 -2
- package/mixin/src/datalist-component.class.d.ts +10 -10
- package/mixin/src/datalist.class.d.ts +2 -2
- package/mixin/src/dropdown-mixin.class.d.ts +2 -2
- package/mixin/src/interactive-mixin.class.d.ts +4 -4
- package/mixin/src/loading-mixin.class.d.ts +2 -2
- package/mixin/src/mixin.class.d.ts +61 -61
- package/mixin/src/page-component.class.d.ts +2 -2
- package/mixin/src/selection-component.class.d.ts +2 -2
- package/mixin/src/sizable-mixin.class.d.ts +2 -2
- package/mixin/src/textbox-mixin.class.d.ts +2 -2
- package/mixin/src/value-mixin.class.d.ts +8 -8
- package/notification/src/notification.class.d.ts +1 -1
- package/number-box/src/number-box.component.d.ts +1 -1
- package/package.json +172 -284
- package/password-box/src/password-box.component.d.ts +1 -1
- package/picker/src/picker-column.component.d.ts +1 -1
- package/popover/src/popover.component.d.ts +1 -1
- package/popup/src/popup.service.d.ts +2 -2
- package/progress-bar/src/progress-bar.component.d.ts +1 -1
- package/radio/src/radio.component.d.ts +1 -1
- package/range-slider/src/range-slider.component.d.ts +1 -1
- package/result/src/result.component.d.ts +1 -1
- package/search-box/src/search-box.component.d.ts +1 -1
- package/select-box/src/selectbox.component.d.ts +1 -1
- package/selection-list/src/selection-list.component.d.ts +1 -1
- package/switch/src/switch.component.d.ts +1 -1
- package/tabs/src/tab-content.directive.d.ts +1 -1
- package/tabs/src/tab-item.component.d.ts +3 -3
- package/tabs/src/tabs.class.d.ts +1 -1
- package/tabs/src/tabs.component.d.ts +1 -1
- package/tag/src/tag.component.d.ts +1 -1
- package/textarea/src/textarea.component.d.ts +1 -1
- package/textbox/src/mask-options.directive.d.ts +2 -2
- package/textbox/src/textbox.component.d.ts +1 -1
- package/time-box/src/time-box.component.d.ts +2 -2
- package/tooltip/src/tooltip.component.d.ts +1 -1
- package/tooltip/src/tooltip.directive.d.ts +1 -1
- package/tree-view/src/tree-view.component.d.ts +1 -1
- package/uploader/src/uploader.component.d.ts +1 -1
- package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
- package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
- package/esm2020/alert/src/alert.component.mjs +0 -178
- package/esm2020/avatar/src/avatar.component.mjs +0 -41
- package/esm2020/badge/src/badge.component.mjs +0 -27
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
- package/esm2020/button/src/button-group.component.mjs +0 -88
- package/esm2020/button/src/button-item.component.mjs +0 -77
- package/esm2020/button/src/button.component.mjs +0 -85
- package/esm2020/calendar/src/calendar.class.mjs +0 -127
- package/esm2020/calendar/src/calendar.component.mjs +0 -382
- package/esm2020/calendar/src/calendar.module.mjs +0 -22
- package/esm2020/card/src/card.component.mjs +0 -17
- package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
- package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
- package/esm2020/collapse/src/collapse.component.mjs +0 -45
- package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
- package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
- package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
- package/esm2020/common/public-api.mjs +0 -16
- package/esm2020/common/src/classes/components.class.mjs +0 -69
- package/esm2020/common/src/classes/events.class.mjs +0 -58
- package/esm2020/common/src/components/base-component.class.mjs +0 -57
- package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
- package/esm2020/common/src/components/color-component.class.mjs +0 -27
- package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
- package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
- package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
- package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
- package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/services/hotkey.service.mjs +0 -38
- package/esm2020/common/src/services/overlay.service.mjs +0 -111
- package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
- package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
- package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
- package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/data-table/src/data-column.directive.mjs +0 -43
- package/esm2020/data-table/src/data-table.component.mjs +0 -137
- package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
- package/esm2020/decorators/src/close-button.component.mjs +0 -50
- package/esm2020/decorators/src/icon.component.mjs +0 -29
- package/esm2020/decorators/src/overlay.component.mjs +0 -22
- package/esm2020/decorators/src/sub-title.component.mjs +0 -27
- package/esm2020/decorators/src/text.component.mjs +0 -21
- package/esm2020/dialog/src/dialog.service.mjs +0 -151
- package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
- package/esm2020/drawer/src/drawer.component.mjs +0 -140
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
- package/esm2020/form/src/form.component.mjs +0 -160
- package/esm2020/form/src/validation-rule.widget.mjs +0 -115
- package/esm2020/form/src/validation-summary.component.mjs +0 -105
- package/esm2020/image/src/image.component.mjs +0 -76
- package/esm2020/label/src/label.component.mjs +0 -45
- package/esm2020/loading/src/loading.component.mjs +0 -64
- package/esm2020/loading/src/loading.directive.mjs +0 -68
- package/esm2020/loading/src/loading.service.mjs +0 -156
- package/esm2020/menu/src/menu.component.mjs +0 -338
- package/esm2020/mixin/src/base-components.class.mjs +0 -110
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
- package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
- package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
- package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
- package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
- package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/selection-component.class.mjs +0 -180
- package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
- package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
- package/esm2020/notification/src/notification.component.mjs +0 -87
- package/esm2020/notification/src/notification.service.mjs +0 -107
- package/esm2020/number-box/src/number-box.component.mjs +0 -260
- package/esm2020/page/src/base-page.class.mjs +0 -61
- package/esm2020/page/src/page.component.mjs +0 -44
- package/esm2020/password-box/src/password-box.component.mjs +0 -62
- package/esm2020/picker/src/picker-column.component.mjs +0 -22
- package/esm2020/popover/src/popover.component.mjs +0 -248
- package/esm2020/popup/src/popup.component.mjs +0 -135
- package/esm2020/popup/src/popup.service.mjs +0 -114
- package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
- package/esm2020/rating/src/rating.component.mjs +0 -41
- package/esm2020/result/src/result.component.mjs +0 -25
- package/esm2020/search-box/src/search-box.component.mjs +0 -52
- package/esm2020/select-box/src/selectbox.component.mjs +0 -380
- package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
- package/esm2020/tabs/src/tab-item.component.mjs +0 -136
- package/esm2020/tabs/src/tabs.class.mjs +0 -4
- package/esm2020/textarea/src/textarea.component.mjs +0 -28
- package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
- package/esm2020/textbox/src/textbox.component.mjs +0 -92
- package/esm2020/time-box/src/time-box.component.mjs +0 -296
- package/esm2020/toast/src/toast.component.mjs +0 -64
- package/esm2020/toast/src/toast.service.mjs +0 -134
- package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
- package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
- package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2020/uploader/src/uploader.component.mjs +0 -98
- package/fesm2015/acorex-components-action-sheet.mjs +0 -193
- package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2015/acorex-components-alert.mjs +0 -208
- package/fesm2015/acorex-components-alert.mjs.map +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -81
- package/fesm2015/acorex-components-avatar.mjs.map +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/acorex-components-button.mjs +0 -281
- package/fesm2015/acorex-components-button.mjs.map +0 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -531
- package/fesm2015/acorex-components-calendar.mjs.map +0 -1
- package/fesm2015/acorex-components-card.mjs +0 -41
- package/fesm2015/acorex-components-checkbox.mjs +0 -67
- package/fesm2015/acorex-components-chips.mjs.map +0 -1
- package/fesm2015/acorex-components-collapse.mjs.map +0 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -772
- package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -172
- package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-common.mjs +0 -955
- package/fesm2015/acorex-components-common.mjs.map +0 -1
- package/fesm2015/acorex-components-context-menu.mjs +0 -301
- package/fesm2015/acorex-components-data-pager.mjs +0 -615
- package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -224
- package/fesm2015/acorex-components-data-table.mjs.map +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -297
- package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-decorators.mjs +0 -356
- package/fesm2015/acorex-components-dialog.mjs +0 -233
- package/fesm2015/acorex-components-drawer.mjs +0 -202
- package/fesm2015/acorex-components-drawer.mjs.map +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -135
- package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -450
- package/fesm2015/acorex-components-form.mjs.map +0 -1
- package/fesm2015/acorex-components-label.mjs.map +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -385
- package/fesm2015/acorex-components-loading.mjs.map +0 -1
- package/fesm2015/acorex-components-menu.mjs +0 -381
- package/fesm2015/acorex-components-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-mixin.mjs.map +0 -1
- package/fesm2015/acorex-components-notification.mjs +0 -217
- package/fesm2015/acorex-components-notification.mjs.map +0 -1
- package/fesm2015/acorex-components-number-box.mjs +0 -300
- package/fesm2015/acorex-components-page.mjs +0 -127
- package/fesm2015/acorex-components-page.mjs.map +0 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -99
- package/fesm2015/acorex-components-picker.mjs +0 -77
- package/fesm2015/acorex-components-popover.mjs +0 -278
- package/fesm2015/acorex-components-popup.mjs +0 -275
- package/fesm2015/acorex-components-popup.mjs.map +0 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -57
- package/fesm2015/acorex-components-radio.mjs +0 -66
- package/fesm2015/acorex-components-range-slider.mjs +0 -148
- package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2015/acorex-components-rating.mjs +0 -65
- package/fesm2015/acorex-components-result.mjs +0 -49
- package/fesm2015/acorex-components-result.mjs.map +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -84
- package/fesm2015/acorex-components-search-box.mjs.map +0 -1
- package/fesm2015/acorex-components-select-box.mjs +0 -453
- package/fesm2015/acorex-components-select-box.mjs.map +0 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -89
- package/fesm2015/acorex-components-switch.mjs +0 -91
- package/fesm2015/acorex-components-tabs.mjs +0 -299
- package/fesm2015/acorex-components-tag.mjs +0 -53
- package/fesm2015/acorex-components-tag.mjs.map +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -52
- package/fesm2015/acorex-components-textarea.mjs.map +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -149
- package/fesm2015/acorex-components-textbox.mjs.map +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -336
- package/fesm2015/acorex-components-time-box.mjs.map +0 -1
- package/fesm2015/acorex-components-toast.mjs +0 -222
- package/fesm2015/acorex-components-toast.mjs.map +0 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -164
- package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -133
- package/fesm2015/acorex-components-uploader.mjs +0 -129
- package/fesm2015/acorex-components-uploader.mjs.map +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -53
- package/fesm2020/acorex-components-badge.mjs.map +0 -1
- package/fesm2020/acorex-components-button.mjs.map +0 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -530
- package/fesm2020/acorex-components-calendar.mjs.map +0 -1
- package/fesm2020/acorex-components-card.mjs +0 -41
- package/fesm2020/acorex-components-card.mjs.map +0 -1
- package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2020/acorex-components-chips.mjs +0 -57
- package/fesm2020/acorex-components-collapse.mjs +0 -115
- package/fesm2020/acorex-components-color-picker.mjs +0 -169
- package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-common.mjs.map +0 -1
- package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -295
- package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-decorators.mjs.map +0 -1
- package/fesm2020/acorex-components-dialog.mjs.map +0 -1
- package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2020/acorex-components-form.mjs.map +0 -1
- package/fesm2020/acorex-components-image.mjs +0 -100
- package/fesm2020/acorex-components-image.mjs.map +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -71
- package/fesm2020/acorex-components-label.mjs.map +0 -1
- package/fesm2020/acorex-components-mixin.mjs +0 -1259
- package/fesm2020/acorex-components-number-box.mjs.map +0 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -99
- package/fesm2020/acorex-components-password-box.mjs.map +0 -1
- package/fesm2020/acorex-components-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-popover.mjs.map +0 -1
- package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -66
- package/fesm2020/acorex-components-radio.mjs.map +0 -1
- package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2020/acorex-components-rating.mjs +0 -65
- package/fesm2020/acorex-components-rating.mjs.map +0 -1
- package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2020/acorex-components-switch.mjs.map +0 -1
- package/fesm2020/acorex-components-tabs.mjs.map +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -52
- package/fesm2020/acorex-components-tree-view.mjs +0 -133
- package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/acorex-components.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/acorex-components-action-sheet.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/src/action-sheet.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/alert/acorex-components-alert.mjs +0 -0
- /package/{esm2020 → esm2022}/alert/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/acorex-components-avatar.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/badge/acorex-components-badge.mjs +0 -0
- /package/{esm2020 → esm2022}/badge/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -0
- /package/{esm2020 → esm2022}/button/acorex-components-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/src/button-item.class.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/acorex-components-calendar.mjs +0 -0
- /package/{esm2020 → esm2022}/card/acorex-components-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/acorex-components-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/acorex-components-chips.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/collapse/acorex-components-collapse.mjs +0 -0
- /package/{esm2020 → esm2022}/collapse/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/color-palette/acorex-components-color-palette.mjs +0 -0
- /package/{esm2020 → esm2022}/color-palette/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/color-picker/acorex-components-color-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/color-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/common/acorex-components-common.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/classes/drawing.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/classes/styles.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/components/colorlook-component.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/constant/positions.mjs +0 -0
- /package/{esm2020 → esm2022}/context-menu/acorex-components-context-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/context-menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/data-pager/acorex-components-data-pager.mjs +0 -0
- /package/{esm2020 → esm2022}/data-pager/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/data-table/acorex-components-data-table.mjs +0 -0
- /package/{esm2020 → esm2022}/data-table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/date-picker/acorex-components-date-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/date-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/acorex-components-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/acorex-components-dialog.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/src/dialog.class.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/acorex-components-drawer.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/acorex-components-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form/acorex-components-form.mjs +0 -0
- /package/{esm2020 → esm2022}/form/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form/src/validation.class.mjs +0 -0
- /package/{esm2020 → esm2022}/image/acorex-components-image.mjs +0 -0
- /package/{esm2020 → esm2022}/image/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/label/acorex-components-label.mjs +0 -0
- /package/{esm2020 → esm2022}/label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/loading/acorex-components-loading.mjs +0 -0
- /package/{esm2020 → esm2022}/loading/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/acorex-components-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/acorex-components-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/constratctor.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/datalist.class.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/mixin.class.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/page-component.class.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/acorex-components-notification.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/src/notification.class.mjs +0 -0
- /package/{esm2020 → esm2022}/number-box/acorex-components-number-box.mjs +0 -0
- /package/{esm2020 → esm2022}/number-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/page/acorex-components-page.mjs +0 -0
- /package/{esm2020 → esm2022}/page/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/password-box/acorex-components-password-box.mjs +0 -0
- /package/{esm2020 → esm2022}/password-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/picker/acorex-components-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/acorex-components-popover.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/popup/acorex-components-popup.mjs +0 -0
- /package/{esm2020 → esm2022}/popup/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/acorex-components-progress-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/acorex-components-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/range-slider/acorex-components-range-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/range-slider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/rating/acorex-components-rating.mjs +0 -0
- /package/{esm2020 → esm2022}/rating/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/result/acorex-components-result.mjs +0 -0
- /package/{esm2020 → esm2022}/result/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/search-box/acorex-components-search-box.mjs +0 -0
- /package/{esm2020 → esm2022}/search-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/select-box/acorex-components-select-box.mjs +0 -0
- /package/{esm2020 → esm2022}/select-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/selection-list/acorex-components-selection-list.mjs +0 -0
- /package/{esm2020 → esm2022}/selection-list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/acorex-components-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/acorex-components-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/acorex-components-tag.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/acorex-components-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/acorex-components-textbox.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/time-box/acorex-components-time-box.mjs +0 -0
- /package/{esm2020 → esm2022}/time-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/acorex-components-toast.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/src/toast.class.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/acorex-components-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-view/acorex-components-tree-view.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-view/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/acorex-components-uploader.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/public-api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Injectable, inject, ChangeDetectorRef, ElementRef, EventEmitter, Directive, Host, Self, Optional, Input, Output, Inject, TemplateRef, NgModule } from '@angular/core';
|
3
|
-
import { AXHtmlUtil } from '@acorex/core/utils';
|
4
|
-
import { coerceNumberProperty } from '@angular/cdk/coercion';
|
3
|
+
import { AXHtmlUtil, AXObjectUtil } from '@acorex/core/utils';
|
4
|
+
import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
|
5
5
|
import { classes } from 'polytype';
|
6
6
|
import { skip, distinctUntilChanged, debounceTime, fromEvent, merge } from 'rxjs';
|
7
7
|
import * as i1 from '@angular/forms';
|
@@ -20,39 +20,65 @@ import { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
|
|
20
20
|
* @category Events
|
21
21
|
*/
|
22
22
|
class AXEvent {
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
/**
|
24
|
+
* The sender component
|
25
|
+
*/
|
26
|
+
component;
|
27
|
+
/**
|
28
|
+
* The root native element
|
29
|
+
*/
|
30
|
+
htmlElement;
|
31
|
+
isUserInteraction = false;
|
26
32
|
}
|
27
33
|
/**
|
28
34
|
* Contains native event
|
29
35
|
* @category Events
|
30
36
|
*/
|
31
37
|
class AXHtmlEvent extends AXEvent {
|
38
|
+
nativeEvent;
|
32
39
|
}
|
33
40
|
/**
|
34
41
|
* Contains native event
|
35
42
|
* @category Events
|
36
43
|
*/
|
37
44
|
class AXValueChangedEvent extends AXEvent {
|
45
|
+
name;
|
46
|
+
value;
|
47
|
+
oldValue;
|
48
|
+
}
|
49
|
+
/**
|
50
|
+
* Contains native event
|
51
|
+
* @category Events
|
52
|
+
*/
|
53
|
+
class AXOptionChangedEvent extends AXEvent {
|
54
|
+
name;
|
55
|
+
newValue;
|
56
|
+
oldValue;
|
38
57
|
}
|
39
58
|
/**
|
40
59
|
* Fires each time the user click the element.
|
41
60
|
* @category Events
|
42
61
|
*/
|
43
62
|
class AXClickEvent extends AXHtmlEvent {
|
63
|
+
/**
|
64
|
+
* uses for extra data
|
65
|
+
*/
|
66
|
+
data = null;
|
67
|
+
nativeEvent = null;
|
44
68
|
}
|
45
69
|
/**
|
46
70
|
* Fires each time the user click the element.
|
47
71
|
* @category Events
|
48
72
|
*/
|
49
73
|
class AXButtonClickEvent extends AXClickEvent {
|
74
|
+
name;
|
50
75
|
}
|
51
76
|
/**
|
52
77
|
* Fires each time the user click the element.
|
53
78
|
* @category Events
|
54
79
|
*/
|
55
80
|
class AXItemClickEvent extends AXHtmlEvent {
|
81
|
+
item;
|
56
82
|
}
|
57
83
|
/**
|
58
84
|
* Fires each time the component gets focused.
|
@@ -65,28 +91,43 @@ class AXFocusEvent extends AXHtmlEvent {
|
|
65
91
|
* @category Events
|
66
92
|
*/
|
67
93
|
class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
94
|
+
value = null;
|
95
|
+
oldValue = null;
|
96
|
+
selectedKeys = [];
|
97
|
+
selectedItems = [];
|
68
98
|
}
|
69
99
|
/**
|
70
100
|
* Contains range start & end values
|
71
101
|
* @category Events
|
72
102
|
*/
|
73
103
|
class AXRangeChangedEvent extends AXEvent {
|
104
|
+
/**
|
105
|
+
* The range start value
|
106
|
+
*/
|
107
|
+
start;
|
108
|
+
/**
|
109
|
+
* The range end value
|
110
|
+
*/
|
111
|
+
end;
|
74
112
|
}
|
75
113
|
|
76
114
|
const TAB_META_KEY = '__meta__';
|
77
115
|
class AXComponentCloseEvent extends AXEvent {
|
116
|
+
data;
|
78
117
|
}
|
79
118
|
class AXComponentClosing {
|
80
|
-
|
81
|
-
|
82
|
-
}
|
119
|
+
cancel = false;
|
120
|
+
data;
|
83
121
|
}
|
84
122
|
class AXComponentResult {
|
123
|
+
sender;
|
124
|
+
data;
|
85
125
|
}
|
86
126
|
/**
|
87
127
|
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons after the primary text.
|
88
128
|
*/
|
89
129
|
class AXComponentClosedPromise extends Promise {
|
130
|
+
closeMethod;
|
90
131
|
constructor(executor) {
|
91
132
|
super(executor);
|
92
133
|
}
|
@@ -97,45 +138,45 @@ class AXComponentClosedPromise extends Promise {
|
|
97
138
|
}
|
98
139
|
}
|
99
140
|
class AXComponent {
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
142
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXComponent });
|
100
143
|
}
|
101
|
-
|
102
|
-
AXComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXComponent });
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXComponent, decorators: [{
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXComponent, decorators: [{
|
104
145
|
type: Injectable
|
105
146
|
}] });
|
106
147
|
class AXClosbaleComponent extends AXComponent {
|
148
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXClosbaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
149
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXClosbaleComponent });
|
107
150
|
}
|
108
|
-
|
109
|
-
AXClosbaleComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXClosbaleComponent });
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXClosbaleComponent, decorators: [{
|
151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXClosbaleComponent, decorators: [{
|
111
152
|
type: Injectable
|
112
153
|
}] });
|
113
154
|
class AXSearchableComponent extends AXComponent {
|
155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
156
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXSearchableComponent });
|
114
157
|
}
|
115
|
-
|
116
|
-
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXSearchableComponent });
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
118
159
|
type: Injectable
|
119
160
|
}] });
|
120
161
|
class AXValuableComponent extends AXComponent {
|
162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
163
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXValuableComponent });
|
121
164
|
}
|
122
|
-
|
123
|
-
AXValuableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXValuableComponent });
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXValuableComponent, decorators: [{
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXValuableComponent, decorators: [{
|
125
166
|
type: Injectable
|
126
167
|
}] });
|
127
168
|
class AXFocusableComponent extends AXComponent {
|
169
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
170
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXFocusableComponent });
|
128
171
|
}
|
129
|
-
|
130
|
-
AXFocusableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXFocusableComponent });
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
132
173
|
type: Injectable
|
133
174
|
}] });
|
134
175
|
class AXPagedComponent extends AXComponent {
|
176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
177
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXPagedComponent });
|
135
178
|
}
|
136
|
-
|
137
|
-
AXPagedComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXPagedComponent });
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXPagedComponent, decorators: [{
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXPagedComponent, decorators: [{
|
139
180
|
type: Injectable
|
140
181
|
}] });
|
141
182
|
|
@@ -228,14 +269,9 @@ const AXPositions = {
|
|
228
269
|
};
|
229
270
|
|
230
271
|
class MXBaseComponent {
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
}
|
235
|
-
// constructor() {
|
236
|
-
// this._cdr = );
|
237
|
-
// this._elementRef = inject(ElementRef);
|
238
|
-
// }
|
272
|
+
id;
|
273
|
+
_cdr = inject(ChangeDetectorRef);
|
274
|
+
_elementRef = inject(ElementRef);
|
239
275
|
get cdr() {
|
240
276
|
return this._cdr;
|
241
277
|
}
|
@@ -245,8 +281,7 @@ class MXBaseComponent {
|
|
245
281
|
onOptionChanging(option) {
|
246
282
|
return option?.value;
|
247
283
|
}
|
248
|
-
onOptionChanged(
|
249
|
-
}
|
284
|
+
onOptionChanged = new EventEmitter();
|
250
285
|
setOption(option) {
|
251
286
|
const oldValue = this[option.name];
|
252
287
|
const newValue = this.onOptionChanging({
|
@@ -258,13 +293,19 @@ class MXBaseComponent {
|
|
258
293
|
option.beforeCallback(oldValue, newValue);
|
259
294
|
if (oldValue != newValue) {
|
260
295
|
this[`_${option.name}`] = option.value;
|
261
|
-
this.onOptionChanged({
|
296
|
+
this.onOptionChanged.emit({
|
297
|
+
component: this,
|
298
|
+
name: option.name,
|
299
|
+
newValue,
|
300
|
+
oldValue
|
301
|
+
});
|
262
302
|
const emitter = this[`${option.name}Change`];
|
263
303
|
emitter?.emit(newValue);
|
264
304
|
}
|
265
305
|
if (option.afterCallback)
|
266
306
|
option.afterCallback(oldValue, newValue);
|
267
307
|
}
|
308
|
+
_rtl;
|
268
309
|
get rtl() {
|
269
310
|
if (this._rtl)
|
270
311
|
return this._rtl;
|
@@ -284,20 +325,7 @@ const BASE_INPUTS = ['rtl'];
|
|
284
325
|
const BASE_OUTPUT = [];
|
285
326
|
|
286
327
|
class MXInteractiveComponent extends MXBaseComponent {
|
287
|
-
|
288
|
-
super();
|
289
|
-
this._tabIndex = 0;
|
290
|
-
/**
|
291
|
-
* Fires each time the component gets focused.
|
292
|
-
* @event
|
293
|
-
*/
|
294
|
-
this.onFocus = new EventEmitter();
|
295
|
-
/**
|
296
|
-
* Fires each time the component gets blurred.
|
297
|
-
* @event
|
298
|
-
*/
|
299
|
-
this.onBlur = new EventEmitter();
|
300
|
-
}
|
328
|
+
_disabled;
|
301
329
|
/**
|
302
330
|
* If set to true, it disables the component.
|
303
331
|
*/
|
@@ -307,6 +335,7 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
307
335
|
set disabled(value) {
|
308
336
|
this.setOption({ name: "disabled", value });
|
309
337
|
}
|
338
|
+
_tabIndex = 0;
|
310
339
|
/**
|
311
340
|
* Specifies the tabindex of the component.
|
312
341
|
*/
|
@@ -314,6 +343,11 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
314
343
|
set tabIndex(value) {
|
315
344
|
this.setOption({ name: "tabIndex", value: value != null ? coerceNumberProperty(value) : 0 });
|
316
345
|
}
|
346
|
+
/**
|
347
|
+
* Fires each time the component gets focused.
|
348
|
+
* @event
|
349
|
+
*/
|
350
|
+
onFocus = new EventEmitter();
|
317
351
|
emitOnFocusEvent(e) {
|
318
352
|
this.onFocus.emit({
|
319
353
|
component: this,
|
@@ -321,6 +355,11 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
321
355
|
nativeEvent: e
|
322
356
|
});
|
323
357
|
}
|
358
|
+
/**
|
359
|
+
* Fires each time the component gets blurred.
|
360
|
+
* @event
|
361
|
+
*/
|
362
|
+
onBlur = new EventEmitter();
|
324
363
|
emitOnBlurEvent(e) {
|
325
364
|
this.onBlur.emit({
|
326
365
|
component: this,
|
@@ -328,6 +367,9 @@ class MXInteractiveComponent extends MXBaseComponent {
|
|
328
367
|
nativeEvent: e
|
329
368
|
});
|
330
369
|
}
|
370
|
+
constructor() {
|
371
|
+
super();
|
372
|
+
}
|
331
373
|
focus() {
|
332
374
|
AXHtmlUtil.focusElement(this.getHostElement());
|
333
375
|
}
|
@@ -344,9 +386,9 @@ const INTERACTIVE_OUTPUT = ['onFocus', 'onBlur', ...BASE_OUTPUT];
|
|
344
386
|
class MXColorComponent extends MXBaseComponent {
|
345
387
|
constructor() {
|
346
388
|
super();
|
347
|
-
this.colorChange = new EventEmitter();
|
348
|
-
this._color = 'primary';
|
349
389
|
}
|
390
|
+
colorChange = new EventEmitter();
|
391
|
+
_color = 'primary';
|
350
392
|
/**
|
351
393
|
* Predefined color schemes
|
352
394
|
*/
|
@@ -369,9 +411,9 @@ const COLOR_OUTPUT = ['colorChange', ...BASE_OUTPUT];
|
|
369
411
|
class MXLookComponent extends MXBaseComponent {
|
370
412
|
constructor() {
|
371
413
|
super();
|
372
|
-
this.lookChange = new EventEmitter();
|
373
|
-
this._look = 'default';
|
374
414
|
}
|
415
|
+
lookChange = new EventEmitter();
|
416
|
+
_look = 'default';
|
375
417
|
/**
|
376
418
|
* Predefined look schemes
|
377
419
|
*/
|
@@ -400,14 +442,8 @@ const COLOR_LOOK_INPUTS = [...COLOR_INPUTS, ...LOOK_INPUTS];
|
|
400
442
|
const COLOR_LOOK_OUTPUT = [...COLOR_OUTPUT, ...LOOK_OUTPUT];
|
401
443
|
|
402
444
|
class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookComponent) {
|
403
|
-
|
404
|
-
|
405
|
-
this.textChange = new EventEmitter();
|
406
|
-
this.toggleableChange = new EventEmitter();
|
407
|
-
this._toggleable = false;
|
408
|
-
this.selectedChange = new EventEmitter();
|
409
|
-
this._selected = false;
|
410
|
-
}
|
445
|
+
textChange = new EventEmitter();
|
446
|
+
_text;
|
411
447
|
/**
|
412
448
|
* Defines the primary text to show inside the button.
|
413
449
|
*/
|
@@ -423,6 +459,8 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
423
459
|
}
|
424
460
|
});
|
425
461
|
}
|
462
|
+
toggleableChange = new EventEmitter();
|
463
|
+
_toggleable = false;
|
426
464
|
/**
|
427
465
|
* Provides visual styling that indicates if the Button is active
|
428
466
|
*/
|
@@ -435,6 +473,8 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
435
473
|
value
|
436
474
|
});
|
437
475
|
}
|
476
|
+
selectedChange = new EventEmitter();
|
477
|
+
_selected = false;
|
438
478
|
/**
|
439
479
|
* Indicates if the Button is selected or not
|
440
480
|
*/
|
@@ -450,6 +490,9 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
450
490
|
}
|
451
491
|
});
|
452
492
|
}
|
493
|
+
constructor() {
|
494
|
+
super();
|
495
|
+
}
|
453
496
|
get cssClasses() {
|
454
497
|
const cssClasses = {
|
455
498
|
'ax-button-icon': !this.text,
|
@@ -463,13 +506,216 @@ class MXButtonBaseComponent extends classes(MXInteractiveComponent, MXColorLookC
|
|
463
506
|
const BUTTON_INPUTS = ['text', 'toggleable', 'selected', ...INTERACTIVE_INPUTS, COLOR_LOOK_INPUTS];
|
464
507
|
const BUTTON_OUTPUT = ['textChange', 'toggleableChange', 'selectedChange', ...INTERACTIVE_OUTPUT, COLOR_LOOK_OUTPUT];
|
465
508
|
|
509
|
+
class MXValueComponent extends MXBaseComponent {
|
510
|
+
/**
|
511
|
+
* Fires each time the user press a key.
|
512
|
+
* @event
|
513
|
+
*/
|
514
|
+
onValueChanged = new EventEmitter();
|
515
|
+
valueChange = new EventEmitter();
|
516
|
+
stateChange = new EventEmitter();
|
517
|
+
_readonly = false;
|
518
|
+
/**
|
519
|
+
* If set to true, user cannot change the value of component.
|
520
|
+
*/
|
521
|
+
get readonly() {
|
522
|
+
return this._readonly;
|
523
|
+
}
|
524
|
+
set readonly(value) {
|
525
|
+
this._readonly = coerceBooleanProperty(value);
|
526
|
+
}
|
527
|
+
_name;
|
528
|
+
get name() {
|
529
|
+
return this._name;
|
530
|
+
}
|
531
|
+
set name(value) {
|
532
|
+
this._name = value;
|
533
|
+
}
|
534
|
+
_isUserInteraction = false;
|
535
|
+
get isUserInteraction() {
|
536
|
+
return this._isUserInteraction;
|
537
|
+
}
|
538
|
+
set isUserInteraction(value) {
|
539
|
+
this._isUserInteraction = value;
|
540
|
+
}
|
541
|
+
initValue;
|
542
|
+
defaultValue;
|
543
|
+
_value;
|
544
|
+
get value() {
|
545
|
+
return this.getValue(this._value) || this.defaultValue;
|
546
|
+
}
|
547
|
+
set value(v) {
|
548
|
+
v = this.setValue(v);
|
549
|
+
//if (!this._isInited ) {
|
550
|
+
const old = AXObjectUtil.deepJSONClone(this.value);
|
551
|
+
// TODO: check real equality
|
552
|
+
if (v != old) {
|
553
|
+
this._value = v;
|
554
|
+
this.emitOnValueChangedEvent(old, this.value);
|
555
|
+
this.cdr.markForCheck();
|
556
|
+
if (v == null || v == undefined || v == '' || (Array.isArray(v) && v.length == 0)) {
|
557
|
+
this.setState('clear');
|
558
|
+
}
|
559
|
+
// else {
|
560
|
+
// if (this._isInited) {
|
561
|
+
// this.validate();
|
562
|
+
// }
|
563
|
+
// }
|
564
|
+
}
|
565
|
+
this._isUserInteraction = false;
|
566
|
+
//}
|
567
|
+
}
|
568
|
+
_state = 'clear';
|
569
|
+
get state() {
|
570
|
+
return this._state;
|
571
|
+
}
|
572
|
+
set state(value) {
|
573
|
+
this.setState(value);
|
574
|
+
this.stateChange.emit(value);
|
575
|
+
}
|
576
|
+
emitOnValueChangedEvent(oldValue, newValue) {
|
577
|
+
this.valueChange.emit(newValue);
|
578
|
+
this.onValueChanged.emit({
|
579
|
+
component: this,
|
580
|
+
value: newValue,
|
581
|
+
oldValue: oldValue,
|
582
|
+
name: this.name,
|
583
|
+
isUserInteraction: this.isUserInteraction,
|
584
|
+
});
|
585
|
+
this._isUserInteraction = false;
|
586
|
+
}
|
587
|
+
setValue(value) {
|
588
|
+
return value;
|
589
|
+
}
|
590
|
+
getValue(value) {
|
591
|
+
return value;
|
592
|
+
}
|
593
|
+
ngOnInit() {
|
594
|
+
this.getHostElement().setAttribute('ax-form-input', 'true');
|
595
|
+
}
|
596
|
+
ngAfterViewInit() {
|
597
|
+
this._checkRequired();
|
598
|
+
}
|
599
|
+
ngOnDestroy() {
|
600
|
+
debugger;
|
601
|
+
this.onValueChanged?.unsubscribe();
|
602
|
+
this.onOptionChanged?.unsubscribe();
|
603
|
+
}
|
604
|
+
clear() {
|
605
|
+
this.value = null;
|
606
|
+
}
|
607
|
+
_checkRequired() {
|
608
|
+
const isRequired = Array.from(this.getHostElement().querySelectorAll('ax-validation-rule')).some(c => c.__axContext__.enabled && c.__axContext__.rule == 'required');
|
609
|
+
//
|
610
|
+
if (isRequired) {
|
611
|
+
const container = this.getHostElement().classList.contains('ax-editor-container')
|
612
|
+
? this.getHostElement()
|
613
|
+
: this.getHostElement().querySelector('.ax-editor-container');
|
614
|
+
const formField = container?.closest('.ax-form-field');
|
615
|
+
const label = formField?.querySelector('ax-label')?.__axContext__;
|
616
|
+
if (label)
|
617
|
+
label.required = true;
|
618
|
+
}
|
619
|
+
}
|
620
|
+
validate() {
|
621
|
+
const rules = Array.from(this.getHostElement().querySelectorAll('ax-validation-rule')).filter(c => c.__axContext__.enabled);
|
622
|
+
//
|
623
|
+
if (!rules || rules.length === 0) {
|
624
|
+
this.setState('clear');
|
625
|
+
return Promise.resolve({
|
626
|
+
result: true,
|
627
|
+
value: this.value,
|
628
|
+
name: this.name,
|
629
|
+
id: this.id,
|
630
|
+
});
|
631
|
+
}
|
632
|
+
return new Promise(resolve => {
|
633
|
+
Promise.all(rules
|
634
|
+
.filter(c => typeof c?.validate === 'function')
|
635
|
+
.map(c => {
|
636
|
+
return c.validate(this.value);
|
637
|
+
})).then(d => {
|
638
|
+
const error = d.find(c => c.result === false);
|
639
|
+
if (error) {
|
640
|
+
this.setState('error', error.message);
|
641
|
+
resolve({
|
642
|
+
result: false,
|
643
|
+
value: this.value,
|
644
|
+
message: error.message,
|
645
|
+
name: this.name,
|
646
|
+
id: this.id,
|
647
|
+
});
|
648
|
+
}
|
649
|
+
else {
|
650
|
+
this.setState('success');
|
651
|
+
resolve({
|
652
|
+
result: true,
|
653
|
+
value: this.value,
|
654
|
+
name: this.name,
|
655
|
+
id: this.id,
|
656
|
+
});
|
657
|
+
}
|
658
|
+
});
|
659
|
+
});
|
660
|
+
}
|
661
|
+
setState(state, ...args) {
|
662
|
+
const container = this.getHostElement().classList.contains('ax-editor-container')
|
663
|
+
? this.getHostElement()
|
664
|
+
: this.getHostElement().querySelector('.ax-editor-container');
|
665
|
+
const formField = container?.closest('.ax-form-field');
|
666
|
+
const label = formField?.querySelector('ax-label') || formField?.querySelector('label');
|
667
|
+
let target = container || this.getHostElement().firstElementChild;
|
668
|
+
if (target?.querySelector('.ax-error-container')) {
|
669
|
+
target = target.querySelector('.ax-error-container');
|
670
|
+
}
|
671
|
+
const parent = target?.parentElement;
|
672
|
+
if (!target || !parent)
|
673
|
+
return;
|
674
|
+
switch (state) {
|
675
|
+
case 'clear':
|
676
|
+
this._state = 'clear';
|
677
|
+
if (parent.querySelector('span.ax-error-message')) {
|
678
|
+
parent.removeChild(parent.querySelector('span.ax-error-message'));
|
679
|
+
}
|
680
|
+
label?.classList.remove('ax-state-error');
|
681
|
+
target.classList.remove('ax-state-error', 'ax-state-success');
|
682
|
+
break;
|
683
|
+
case 'success':
|
684
|
+
this.setState('clear');
|
685
|
+
target.classList.add('ax-state-success');
|
686
|
+
this._state = 'success';
|
687
|
+
break;
|
688
|
+
case 'error':
|
689
|
+
this.setState('clear');
|
690
|
+
if (args[0]) {
|
691
|
+
const span = document.createElement('span');
|
692
|
+
span.innerText = args[0];
|
693
|
+
span.classList.add('ax-error-message');
|
694
|
+
parent.appendChild(span);
|
695
|
+
}
|
696
|
+
label?.classList.add('ax-state-error');
|
697
|
+
target.classList.add('ax-state-error');
|
698
|
+
this._state = 'error';
|
699
|
+
break;
|
700
|
+
}
|
701
|
+
this.cdr.markForCheck();
|
702
|
+
}
|
703
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: MXValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
704
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: MXValueComponent });
|
705
|
+
}
|
706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: MXValueComponent, decorators: [{
|
707
|
+
type: Injectable
|
708
|
+
}] });
|
709
|
+
|
466
710
|
class AXAutoFocusDirective {
|
711
|
+
el;
|
712
|
+
_host;
|
713
|
+
autoFocus = true;
|
467
714
|
constructor(el, _host) {
|
468
715
|
this.el = el;
|
469
716
|
this._host = _host;
|
470
|
-
this.autoFocus = true;
|
471
|
-
this.time = 100;
|
472
717
|
}
|
718
|
+
time = 100;
|
473
719
|
ngAfterContentInit() {
|
474
720
|
if (this.autoFocus) {
|
475
721
|
const list = [
|
@@ -493,10 +739,10 @@ class AXAutoFocusDirective {
|
|
493
739
|
}, 100);
|
494
740
|
}
|
495
741
|
}
|
742
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAutoFocusDirective, deps: [{ token: i0.ElementRef }, { token: AXFocusableComponent, host: true, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
743
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["focus-time", "time"] }, ngImport: i0 });
|
496
744
|
}
|
497
|
-
|
498
|
-
AXAutoFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"], time: ["focus-time", "time"] }, ngImport: i0 });
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
745
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
500
746
|
type: Directive,
|
501
747
|
args: [{
|
502
748
|
selector: '[axAutoFocus]',
|
@@ -516,13 +762,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
516
762
|
}] } });
|
517
763
|
|
518
764
|
class AXNgModelChangeDebouncedDirective {
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
this._ngModelChangeDebounceTime = 0;
|
524
|
-
this.ngModelChangeDebounceTime = 0;
|
525
|
-
}
|
765
|
+
ngModel;
|
766
|
+
ngModelChangeDebounced = new EventEmitter();
|
767
|
+
ngModelChangeDebounceTimeChange = new EventEmitter();
|
768
|
+
_ngModelChangeDebounceTime = 0;
|
526
769
|
get ngModelChangeDebounceTime() {
|
527
770
|
return this._ngModelChangeDebounceTime;
|
528
771
|
}
|
@@ -533,19 +776,24 @@ class AXNgModelChangeDebouncedDirective {
|
|
533
776
|
this.update();
|
534
777
|
}
|
535
778
|
}
|
779
|
+
subscription;
|
536
780
|
ngOnDestroy() {
|
537
781
|
this.subscription.unsubscribe();
|
538
782
|
}
|
783
|
+
constructor(ngModel) {
|
784
|
+
this.ngModel = ngModel;
|
785
|
+
this.ngModelChangeDebounceTime = 0;
|
786
|
+
}
|
539
787
|
update() {
|
540
788
|
this.subscription?.unsubscribe();
|
541
789
|
//
|
542
790
|
this.subscription = this.ngModel.control.valueChanges.pipe(skip(1), // skip initial value
|
543
791
|
distinctUntilChanged(), debounceTime(this.ngModelChangeDebounceTime)).subscribe((value) => this.ngModelChangeDebounced.emit(value));
|
544
792
|
}
|
793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXNgModelChangeDebouncedDirective, deps: [{ token: i1.NgModel }], target: i0.ɵɵFactoryTarget.Directive });
|
794
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXNgModelChangeDebouncedDirective, selector: "[ngModelChangeDebounced]", inputs: { ngModelChangeDebounceTime: "ngModelChangeDebounceTime" }, outputs: { ngModelChangeDebounced: "ngModelChangeDebounced", ngModelChangeDebounceTimeChange: "ngModelChangeDebounceTimeChange" }, ngImport: i0 });
|
545
795
|
}
|
546
|
-
|
547
|
-
AXNgModelChangeDebouncedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXNgModelChangeDebouncedDirective, selector: "[ngModelChangeDebounced]", inputs: { ngModelChangeDebounceTime: "ngModelChangeDebounceTime" }, outputs: { ngModelChangeDebounced: "ngModelChangeDebounced", ngModelChangeDebounceTimeChange: "ngModelChangeDebounceTimeChange" }, ngImport: i0 });
|
548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXNgModelChangeDebouncedDirective, decorators: [{
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXNgModelChangeDebouncedDirective, decorators: [{
|
549
797
|
type: Directive,
|
550
798
|
args: [{
|
551
799
|
selector: '[ngModelChangeDebounced]',
|
@@ -559,12 +807,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
559
807
|
}] } });
|
560
808
|
|
561
809
|
class AXHotkeysService {
|
810
|
+
eventManager;
|
811
|
+
document;
|
812
|
+
defaults = {
|
813
|
+
element: this.document,
|
814
|
+
};
|
562
815
|
constructor(eventManager, document) {
|
563
816
|
this.eventManager = eventManager;
|
564
817
|
this.document = document;
|
565
|
-
this.defaults = {
|
566
|
-
element: this.document,
|
567
|
-
};
|
568
818
|
}
|
569
819
|
addShortcut(options) {
|
570
820
|
const merged = { ...this.defaults, ...options };
|
@@ -580,10 +830,10 @@ class AXHotkeysService {
|
|
580
830
|
};
|
581
831
|
});
|
582
832
|
}
|
833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXHotkeysService, deps: [{ token: i1$1.EventManager }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
834
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXHotkeysService, providedIn: 'root' });
|
583
835
|
}
|
584
|
-
|
585
|
-
AXHotkeysService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXHotkeysService, providedIn: 'root' });
|
586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXHotkeysService, decorators: [{
|
836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXHotkeysService, decorators: [{
|
587
837
|
type: Injectable,
|
588
838
|
args: [{ providedIn: 'root' }]
|
589
839
|
}], ctorParameters: function () { return [{ type: i1$1.EventManager }, { type: Document, decorators: [{
|
@@ -592,12 +842,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
592
842
|
}] }]; } });
|
593
843
|
|
594
844
|
class AXHotkeyDirective {
|
845
|
+
el;
|
846
|
+
_host;
|
847
|
+
hs;
|
848
|
+
hotkey = '';
|
849
|
+
_subs = [];
|
595
850
|
constructor(el, _host, hs) {
|
596
851
|
this.el = el;
|
597
852
|
this._host = _host;
|
598
853
|
this.hs = hs;
|
599
|
-
this.hotkey = '';
|
600
|
-
this._subs = [];
|
601
854
|
}
|
602
855
|
ngAfterViewInit() {
|
603
856
|
if (!this.hotkey || !this._host)
|
@@ -647,10 +900,10 @@ class AXHotkeyDirective {
|
|
647
900
|
s.unsubscribe();
|
648
901
|
});
|
649
902
|
}
|
903
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXHotkeyDirective, deps: [{ token: i0.ElementRef }, { token: AXComponent, host: true, optional: true, self: true }, { token: AXHotkeysService }], target: i0.ɵɵFactoryTarget.Directive });
|
904
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXHotkeyDirective, selector: "[hotkey]", inputs: { hotkey: "hotkey" }, ngImport: i0 });
|
650
905
|
}
|
651
|
-
|
652
|
-
AXHotkeyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXHotkeyDirective, selector: "[hotkey]", inputs: { hotkey: "hotkey" }, ngImport: i0 });
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
654
907
|
type: Directive,
|
655
908
|
args: [{
|
656
909
|
selector: '[hotkey]',
|
@@ -673,15 +926,15 @@ const AX_DEFAULT_SCROLL_POSITION = {
|
|
673
926
|
clientHeight: 0
|
674
927
|
};
|
675
928
|
class AXInfiniteScrollerDirective {
|
929
|
+
elm;
|
930
|
+
scrollEvent$;
|
931
|
+
userScrolledDown$;
|
932
|
+
requestOnScroll$;
|
933
|
+
scrollCallback;
|
934
|
+
immediateCallback;
|
935
|
+
scrollPercent = 70;
|
676
936
|
constructor(elm) {
|
677
937
|
this.elm = elm;
|
678
|
-
this.scrollPercent = 70;
|
679
|
-
this.isUserScrollingDown = (positions) => {
|
680
|
-
return positions[0].sT < positions[1].sT;
|
681
|
-
};
|
682
|
-
this.isScrollExpectedPercent = (position) => {
|
683
|
-
return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);
|
684
|
-
};
|
685
938
|
}
|
686
939
|
ngAfterViewInit() {
|
687
940
|
this.registerScrollEvent();
|
@@ -709,10 +962,16 @@ class AXInfiniteScrollerDirective {
|
|
709
962
|
}));
|
710
963
|
//.subscribe((data) => { console.log(data) }, (err) => console.log(err));
|
711
964
|
}
|
965
|
+
isUserScrollingDown = (positions) => {
|
966
|
+
return positions[0].sT < positions[1].sT;
|
967
|
+
};
|
968
|
+
isScrollExpectedPercent = (position) => {
|
969
|
+
return ((position.sT + position.cH) / position.sH) > (this.scrollPercent / 100);
|
970
|
+
};
|
971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXInfiniteScrollerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
972
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXInfiniteScrollerDirective, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 });
|
712
973
|
}
|
713
|
-
|
714
|
-
AXInfiniteScrollerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXInfiniteScrollerDirective, selector: "[axInfiniteScroller]", inputs: { scrollCallback: "scrollCallback", immediateCallback: "immediateCallback", scrollPercent: "scrollPercent" }, ngImport: i0 });
|
715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXInfiniteScrollerDirective, decorators: [{
|
716
975
|
type: Directive,
|
717
976
|
args: [{
|
718
977
|
selector: '[axInfiniteScroller]'
|
@@ -726,33 +985,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
726
985
|
}] } });
|
727
986
|
|
728
987
|
class AXResponsiveDirective {
|
988
|
+
_elementRef;
|
989
|
+
_observer = new ResizeObserver(entries => {
|
990
|
+
for (let entry of entries) {
|
991
|
+
if (entry.target) {
|
992
|
+
const e = entry.target;
|
993
|
+
const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];
|
994
|
+
elements.map(c => ({
|
995
|
+
element: c,
|
996
|
+
classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))
|
997
|
+
})).forEach(c => {
|
998
|
+
e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);
|
999
|
+
});
|
1000
|
+
}
|
1001
|
+
}
|
1002
|
+
});
|
1003
|
+
;
|
729
1004
|
constructor(_elementRef) {
|
730
1005
|
this._elementRef = _elementRef;
|
731
|
-
this._observer = new ResizeObserver(entries => {
|
732
|
-
for (let entry of entries) {
|
733
|
-
if (entry.target) {
|
734
|
-
const e = entry.target;
|
735
|
-
const elements = [e, ...Array.from(e.querySelectorAll(`[class*='sm:']`))];
|
736
|
-
elements.map(c => ({
|
737
|
-
element: c,
|
738
|
-
classList: Array.from(c.classList).filter(c => c.includes('sm')).map(c => c.slice(3))
|
739
|
-
})).forEach(c => {
|
740
|
-
e.clientWidth < 320 ? c.element.classList.add(...c.classList) : c.element.classList.remove(...c.classList);
|
741
|
-
});
|
742
|
-
}
|
743
|
-
}
|
744
|
-
});
|
745
1006
|
this._observer.observe(_elementRef.nativeElement);
|
746
1007
|
}
|
747
|
-
;
|
748
1008
|
ngOnDestroy() {
|
749
1009
|
this._observer.disconnect();
|
750
1010
|
this._observer.unobserve(this._elementRef.nativeElement);
|
751
1011
|
}
|
1012
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXResponsiveDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
1013
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXResponsiveDirective, selector: "[ax-responsive]", ngImport: i0 });
|
752
1014
|
}
|
753
|
-
|
754
|
-
AXResponsiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXResponsiveDirective, selector: "[ax-responsive]", ngImport: i0 });
|
755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
1015
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXResponsiveDirective, decorators: [{
|
756
1016
|
type: Directive,
|
757
1017
|
args: [{ selector: '[ax-responsive]' }]
|
758
1018
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
@@ -761,16 +1021,18 @@ class DynamicOverlayContainer extends OverlayContainer {
|
|
761
1021
|
setContainerElement(containerElement) {
|
762
1022
|
this._containerElement = containerElement;
|
763
1023
|
}
|
1024
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlayContainer, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
1025
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
764
1026
|
}
|
765
|
-
|
766
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
1027
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
768
1028
|
type: Injectable,
|
769
1029
|
args: [{
|
770
1030
|
providedIn: 'root',
|
771
1031
|
}]
|
772
1032
|
}] });
|
773
1033
|
class DynamicOverlay extends Overlay {
|
1034
|
+
_dynamicOverlayContainer;
|
1035
|
+
renderer;
|
774
1036
|
constructor(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, rendererFactory, _location, _outsideClickDispatcher) {
|
775
1037
|
super(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher);
|
776
1038
|
this.renderer = rendererFactory.createRenderer(null, null);
|
@@ -784,10 +1046,10 @@ class DynamicOverlay extends Overlay {
|
|
784
1046
|
this.setContainerElement(containerElement);
|
785
1047
|
return super.create(config);
|
786
1048
|
}
|
1049
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1$2.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i1$2.OverlayPositionBuilder }, { token: i1$2.OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i2.Directionality }, { token: i0.RendererFactory2 }, { token: i3.Location }, { token: i1$2.OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
1050
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
787
1051
|
}
|
788
|
-
|
789
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: DynamicOverlay, decorators: [{
|
1052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DynamicOverlay, decorators: [{
|
791
1053
|
type: Injectable,
|
792
1054
|
args: [{
|
793
1055
|
providedIn: 'root',
|
@@ -798,6 +1060,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
798
1060
|
}] }, { type: i2.Directionality }, { type: i0.RendererFactory2 }, { type: i3.Location }, { type: i1$2.OverlayOutsideClickDispatcher }]; } });
|
799
1061
|
|
800
1062
|
class AXOverlayService {
|
1063
|
+
overlayService;
|
1064
|
+
overlayService2;
|
1065
|
+
appRef;
|
1066
|
+
portal;
|
801
1067
|
constructor(overlayService, overlayService2, appRef) {
|
802
1068
|
this.overlayService = overlayService;
|
803
1069
|
this.overlayService2 = overlayService2;
|
@@ -894,28 +1160,28 @@ class AXOverlayService {
|
|
894
1160
|
},
|
895
1161
|
};
|
896
1162
|
}
|
1163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXOverlayService, deps: [{ token: DynamicOverlay }, { token: i1$2.Overlay }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Injectable });
|
1164
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
897
1165
|
}
|
898
|
-
|
899
|
-
AXOverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXOverlayService, providedIn: 'root' });
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXOverlayService, decorators: [{
|
1166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXOverlayService, decorators: [{
|
901
1167
|
type: Injectable,
|
902
1168
|
args: [{ providedIn: 'root' }]
|
903
1169
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$2.Overlay }, { type: i0.ApplicationRef }]; } });
|
904
1170
|
|
905
1171
|
class AXCommonModule {
|
1172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
1173
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
1174
|
+
AXInfiniteScrollerDirective,
|
1175
|
+
AXNgModelChangeDebouncedDirective,
|
1176
|
+
AXAutoFocusDirective,
|
1177
|
+
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
1178
|
+
AXInfiniteScrollerDirective,
|
1179
|
+
AXAutoFocusDirective,
|
1180
|
+
AXNgModelChangeDebouncedDirective,
|
1181
|
+
AXHotkeyDirective] });
|
1182
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXCommonModule });
|
906
1183
|
}
|
907
|
-
|
908
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
909
|
-
AXInfiniteScrollerDirective,
|
910
|
-
AXNgModelChangeDebouncedDirective,
|
911
|
-
AXAutoFocusDirective,
|
912
|
-
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
913
|
-
AXInfiniteScrollerDirective,
|
914
|
-
AXAutoFocusDirective,
|
915
|
-
AXNgModelChangeDebouncedDirective,
|
916
|
-
AXHotkeyDirective] });
|
917
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCommonModule });
|
918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXCommonModule, decorators: [{
|
1184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXCommonModule, decorators: [{
|
919
1185
|
type: NgModule,
|
920
1186
|
args: [{
|
921
1187
|
imports: [],
|
@@ -941,6 +1207,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
941
1207
|
* Generated bundle index. Do not edit.
|
942
1208
|
*/
|
943
1209
|
|
944
|
-
export { AXAutoFocusDirective, AXButtonClickEvent, AXClickEvent, AXClosbaleComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXItemClickEvent, AXNgModelChangeDebouncedDirective, AXOverlayService, AXPagedComponent, AXPositions, AXRangeChangedEvent, AXResponsiveDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_COLOR_TYPES, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, COLOR_INPUTS, COLOR_LOOK_INPUTS, COLOR_LOOK_OUTPUT, COLOR_OUTPUT, DynamicOverlay, DynamicOverlayContainer, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, LOOK_INPUTS, LOOK_OUTPUT, MXBaseComponent, MXButtonBaseComponent, MXColorComponent, MXColorLookComponent, MXInteractiveComponent, MXLookComponent, TAB_META_KEY };
|
945
|
-
//# sourceMappingURL=acorex-components-common.mjs.map
|
1210
|
+
export { AXAutoFocusDirective, AXButtonClickEvent, AXClickEvent, AXClosbaleComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXItemClickEvent, AXNgModelChangeDebouncedDirective, AXOptionChangedEvent, AXOverlayService, AXPagedComponent, AXPositions, AXRangeChangedEvent, AXResponsiveDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_COLOR_TYPES, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, COLOR_INPUTS, COLOR_LOOK_INPUTS, COLOR_LOOK_OUTPUT, COLOR_OUTPUT, DynamicOverlay, DynamicOverlayContainer, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, LOOK_INPUTS, LOOK_OUTPUT, MXBaseComponent, MXButtonBaseComponent, MXColorComponent, MXColorLookComponent, MXInteractiveComponent, MXLookComponent, MXValueComponent, TAB_META_KEY };
|
946
1211
|
//# sourceMappingURL=acorex-components-common.mjs.map
|