@acorex/components 7.4.8 → 7.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/index.d.ts +1 -1
- package/action-sheet/lib/action-sheet.component.d.ts +3 -3
- package/avatar/index.d.ts +1 -1
- package/breadcrumbs/index.d.ts +2 -2
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
- package/button/lib/button-item.class.d.ts +1 -1
- package/button/lib/button.component.d.ts +1 -1
- package/button/lib/button.module.d.ts +2 -1
- package/calendar/lib/calendar.class.d.ts +1 -1
- package/calendar/lib/calendar.component.d.ts +1 -1
- package/collapse/lib/collapse-group.component.d.ts +9 -6
- package/collapse/lib/collapse.component.d.ts +6 -6
- package/color-box/lib/color-box.component.d.ts +2 -2
- package/color-palette/lib/color-palette-input.component.d.ts +3 -3
- package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
- package/color-palette/lib/color-palette.class.d.ts +4 -4
- package/common/index.d.ts +0 -1
- package/common/lib/classes/datalist.class.d.ts +34 -3
- package/common/lib/classes/styles.class.d.ts +2 -3
- package/common/lib/components/colorlook-component.class.d.ts +2 -2
- package/common/lib/components/input-base-value-component.class.d.ts +12 -12
- package/common/lib/components/selection-base.component.class.d.ts +5 -10
- package/common/lib/directives/delayed-value-changed.directive.d.ts +5 -5
- package/common/lib/directives/hotkey.directive.d.ts +2 -2
- package/common/lib/directives/responsive.directive.d.ts +1 -1
- package/context-menu/lib/context-menu.component.d.ts +1 -1
- package/data-table/lib/data-table.component.d.ts +2 -2
- package/datetime-box/lib/datetime-box.component.d.ts +5 -4
- package/datetime-input/lib/datetime-input.component.d.ts +1 -1
- package/datetime-picker/index.d.ts +1 -1
- package/datetime-picker/lib/datetime-picker.component.d.ts +1 -2
- package/dialog/lib/dialog.class.d.ts +4 -2
- package/dialog/lib/dialog.service.d.ts +3 -2
- package/dropdown/lib/dropdown-box.component.d.ts +6 -3
- package/dropdown/lib/dropdown-panel.component.d.ts +1 -0
- package/esm2022/action-sheet/index.mjs +2 -2
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +22 -14
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +3 -3
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +5 -5
- package/esm2022/alert/lib/alert.component.mjs +6 -7
- package/esm2022/avatar/index.mjs +2 -2
- package/esm2022/avatar/lib/avatar-group.component.mjs +1 -1
- package/esm2022/avatar/lib/avatar.component.mjs +2 -2
- package/esm2022/badge/lib/badge.component.mjs +3 -3
- package/esm2022/badge/lib/badge.module.mjs +2 -2
- package/esm2022/breadcrumbs/index.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +1 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -2
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +1 -1
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +3 -3
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button-item.component.mjs +1 -1
- package/esm2022/button/lib/button.component.mjs +3 -3
- package/esm2022/button/lib/button.module.mjs +4 -3
- package/esm2022/button-group/lib/button-group.component.mjs +3 -3
- package/esm2022/button-group/lib/button-group.module.mjs +2 -2
- package/esm2022/calendar/lib/calendar-range.component.mjs +4 -7
- package/esm2022/calendar/lib/calendar.class.mjs +3 -11
- package/esm2022/calendar/lib/calendar.component.mjs +28 -29
- package/esm2022/calendar/lib/calendar.module.mjs +4 -4
- package/esm2022/check-box/lib/check-box.component.mjs +9 -9
- package/esm2022/check-box/lib/check-box.module.mjs +3 -3
- package/esm2022/chips/lib/chips.component.mjs +5 -5
- package/esm2022/chips/lib/chips.module.mjs +2 -2
- package/esm2022/collapse/lib/collapse-group.component.mjs +17 -12
- package/esm2022/collapse/lib/collapse.component.mjs +9 -9
- package/esm2022/collapse/lib/collapse.module.mjs +3 -3
- package/esm2022/color-box/lib/color-box.component.mjs +7 -7
- package/esm2022/color-box/lib/color-box.module.mjs +4 -4
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +10 -14
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +29 -31
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +8 -16
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +5 -5
- package/esm2022/color-palette/lib/color-palette.class.mjs +2 -2
- package/esm2022/color-palette/lib/color-palette.component.mjs +14 -6
- package/esm2022/color-palette/lib/color-palette.module.mjs +12 -12
- package/esm2022/common/index.mjs +1 -2
- package/esm2022/common/lib/classes/components.class.mjs +1 -1
- package/esm2022/common/lib/classes/datalist.class.mjs +41 -3
- package/esm2022/common/lib/classes/styles.class.mjs +2 -10
- package/esm2022/common/lib/common.module.mjs +4 -2
- package/esm2022/common/lib/components/button-base-component.class.mjs +4 -4
- package/esm2022/common/lib/components/color-component.class.mjs +2 -2
- package/esm2022/common/lib/components/colorlook-component.class.mjs +4 -4
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +15 -15
- package/esm2022/common/lib/components/interactive-component.class.mjs +1 -1
- package/esm2022/common/lib/components/look-component.class.mjs +2 -2
- package/esm2022/common/lib/components/selection-base.component.class.mjs +19 -36
- package/esm2022/common/lib/components/value-component.class.mjs +4 -4
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +16 -14
- package/esm2022/common/lib/directives/hotkey.directive.mjs +14 -15
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +7 -9
- package/esm2022/common/lib/directives/responsive.directive.mjs +12 -10
- package/esm2022/common/lib/directives/ripple.directive.mjs +1 -1
- package/esm2022/common/lib/services/dom.service.mjs +2 -2
- package/esm2022/common/lib/services/hotkey.service.mjs +4 -5
- package/esm2022/common/lib/types/direction.mjs +1 -1
- package/esm2022/common/lib/types/orientation.mjs +1 -1
- package/esm2022/common/lib/types/placement.mjs +23 -23
- package/esm2022/common/lib/types/range.mjs +1 -1
- package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
- package/esm2022/context-menu/lib/context-menu.module.mjs +7 -17
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +1 -1
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +21 -8
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +17 -5
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -7
- package/esm2022/data-pager/lib/data-pager.component.mjs +2 -2
- package/esm2022/data-pager/lib/data-pager.module.mjs +30 -16
- package/esm2022/data-table/lib/data-column.directive.mjs +2 -2
- package/esm2022/data-table/lib/data-table.component.mjs +2 -2
- package/esm2022/data-table/lib/data-table.module.mjs +7 -7
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +11 -8
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +7 -7
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +134 -134
- package/esm2022/datetime-input/lib/datetime-input.module.mjs +4 -4
- package/esm2022/datetime-picker/index.mjs +2 -2
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +4 -4
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +4 -4
- package/esm2022/decorators/lib/components/clear-button.component.mjs +2 -2
- package/esm2022/decorators/lib/components/close-button.component.mjs +8 -4
- package/esm2022/decorators/lib/components/generic-content.component.mjs +1 -1
- package/esm2022/decorators/lib/components/icon.component.mjs +2 -2
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +3 -17
- package/esm2022/dialog/lib/dialog.module.mjs +26 -10
- package/esm2022/dialog/lib/dialog.service.mjs +47 -24
- package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
- package/esm2022/drawer/lib/drawer.component.mjs +2 -2
- package/esm2022/drawer/lib/drawer.module.mjs +3 -3
- package/esm2022/dropdown/lib/dropdown-box.class.mjs +1 -1
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +16 -10
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +7 -6
- package/esm2022/dropdown/lib/dropdown.module.mjs +29 -9
- package/esm2022/form/index.mjs +2 -2
- package/esm2022/form/lib/form-field.component.mjs +4 -4
- package/esm2022/form/lib/form.component.mjs +3 -4
- package/esm2022/form/lib/form.config.mjs +6 -6
- package/esm2022/form/lib/form.module.mjs +3 -11
- package/esm2022/form/lib/validation-summary.component.mjs +40 -30
- package/esm2022/form/lib/validation.class.mjs +1 -1
- package/esm2022/image/lib/image.component.mjs +1 -1
- package/esm2022/image/lib/image.module.mjs +2 -2
- package/esm2022/label/lib/label.component.mjs +4 -8
- package/esm2022/label/lib/label.module.mjs +2 -2
- package/esm2022/list/acorex-components-list.mjs +5 -0
- package/esm2022/list/index.mjs +3 -0
- package/esm2022/list/lib/list.component.mjs +244 -0
- package/esm2022/list/lib/list.module.mjs +22 -0
- package/esm2022/loading/index.mjs +2 -2
- package/esm2022/loading/lib/loading-spinner.component.mjs +13 -7
- package/esm2022/loading/lib/loading.component.mjs +8 -16
- package/esm2022/loading/lib/loading.config.mjs +2 -2
- package/esm2022/loading/lib/loading.directive.mjs +2 -2
- package/esm2022/loading/lib/loading.module.mjs +22 -8
- package/esm2022/loading/lib/loading.service.mjs +9 -13
- package/esm2022/menu/index.mjs +4 -1
- package/esm2022/menu/lib/class/root-menu.class.mjs +3 -0
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +95 -0
- package/esm2022/menu/lib/menu.component.mjs +4 -4
- package/esm2022/menu/lib/menu.module.mjs +11 -16
- package/esm2022/menu/lib/menu2.component.mjs +45 -0
- package/esm2022/mixin/lib/base-components.class.mjs +2 -3
- package/esm2022/mixin/lib/base-menu-mixin.class.mjs +1 -1
- package/esm2022/mixin/lib/button-mixin.class.mjs +1 -1
- package/esm2022/mixin/lib/clickable-mixin.class.mjs +8 -8
- package/esm2022/mixin/lib/color-look-mixing.class.mjs +3 -3
- package/esm2022/mixin/lib/constratctor.mjs +1 -1
- package/esm2022/mixin/lib/datalist-component.class.mjs +3 -5
- package/esm2022/mixin/lib/datalist.class.mjs +46 -3
- package/esm2022/mixin/lib/dropdown-mixin.class.mjs +2 -4
- package/esm2022/mixin/lib/interactive-mixin.class.mjs +29 -28
- package/esm2022/mixin/lib/mixin.class.mjs +13 -13
- package/esm2022/mixin/lib/page-component.class.mjs +3 -3
- package/esm2022/mixin/lib/selection-component.class.mjs +1 -1
- package/esm2022/mixin/lib/textbox-mixin.class.mjs +29 -20
- package/esm2022/mixin/lib/value-mixin.class.mjs +1 -1
- package/esm2022/notification/index.mjs +2 -2
- package/esm2022/notification/lib/notification.class.mjs +1 -1
- package/esm2022/notification/lib/notification.component.mjs +7 -7
- package/esm2022/notification/lib/notification.config.mjs +1 -1
- package/esm2022/notification/lib/notification.module.mjs +21 -9
- package/esm2022/notification/lib/notification.service.mjs +11 -11
- package/esm2022/number-box/lib/number-box.component.mjs +6 -6
- package/esm2022/number-box/lib/number-box.module.mjs +6 -16
- package/esm2022/otp/lib/otp.component.mjs +5 -5
- package/esm2022/otp/lib/otp.module.mjs +2 -2
- package/esm2022/page/lib/base-page.class.mjs +6 -4
- package/esm2022/page/lib/page.component.mjs +3 -3
- package/esm2022/page/lib/page.module.mjs +1 -1
- package/esm2022/password-box/lib/password-box.component.mjs +6 -6
- package/esm2022/password-box/lib/password-box.module.mjs +7 -15
- package/esm2022/picker/lib/picker-column.directive.mjs +9 -16
- package/esm2022/picker/lib/picker.component.mjs +2 -2
- package/esm2022/picker/lib/picker.module.mjs +3 -3
- package/esm2022/popover/lib/popover.component.mjs +8 -5
- package/esm2022/popover/lib/popover.module.mjs +2 -2
- package/esm2022/popup/index.mjs +2 -2
- package/esm2022/popup/lib/popup.component.mjs +1 -2
- package/esm2022/popup/lib/popup.interface.mjs +1 -1
- package/esm2022/popup/lib/popup.module.mjs +2 -2
- package/esm2022/popup/lib/popup.service.mjs +1 -2
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +5 -5
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +2 -2
- package/esm2022/radio/lib/radio.component.mjs +8 -8
- package/esm2022/radio/lib/radio.module.mjs +2 -2
- package/esm2022/range-slider/lib/range-slider.component.mjs +9 -9
- package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
- package/esm2022/result/lib/result.component.mjs +4 -4
- package/esm2022/result/lib/result.module.mjs +2 -2
- package/esm2022/routing-progress/acorex-components-routing-progress.mjs +5 -0
- package/esm2022/routing-progress/index.mjs +3 -0
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +58 -0
- package/esm2022/routing-progress/lib/routing-progress.module.mjs +21 -0
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +4 -2
- package/esm2022/scheduler/lib/scheduler.component.mjs +1 -1
- package/esm2022/search-box/lib/search-box.component.mjs +43 -19
- package/esm2022/search-box/lib/search-box.module.mjs +8 -8
- package/esm2022/select-box/index.mjs +2 -1
- package/esm2022/select-box/lib/select-box.component.mjs +4 -4
- package/esm2022/select-box/lib/select-box.module.mjs +21 -12
- package/esm2022/select-box/lib/select-box2.component.mjs +191 -0
- package/esm2022/selection-list/lib/selection-list.component.mjs +24 -9
- package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
- package/esm2022/switch/lib/switch-content.component.mjs +1 -1
- package/esm2022/switch/lib/switch.component.mjs +11 -18
- package/esm2022/switch/lib/switch.module.mjs +4 -4
- package/esm2022/tabs/lib/tab-content.directive.mjs +1 -1
- package/esm2022/tabs/lib/tabs.component.mjs +2 -2
- package/esm2022/tabs/lib/tabs.module.mjs +5 -5
- package/esm2022/tag/lib/tag.component.mjs +4 -4
- package/esm2022/tag/lib/tag.module.mjs +2 -2
- package/esm2022/text-area/lib/text-area.component.mjs +21 -15
- package/esm2022/text-area/lib/text-area.module.mjs +2 -2
- package/esm2022/text-box/lib/text-box.component.mjs +6 -6
- package/esm2022/text-box/lib/text-box.module.mjs +4 -18
- package/esm2022/toast/index.mjs +2 -2
- package/esm2022/toast/lib/toast.class.mjs +1 -1
- package/esm2022/toast/lib/toast.component.mjs +7 -7
- package/esm2022/toast/lib/toast.config.mjs +3 -3
- package/esm2022/toast/lib/toast.module.mjs +6 -10
- package/esm2022/toast/lib/toast.service.mjs +16 -14
- package/esm2022/tooltip/lib/tooltip.component.mjs +2 -2
- package/esm2022/tooltip/lib/tooltip.directive.mjs +4 -4
- package/esm2022/tooltip/lib/tooltip.module.mjs +3 -3
- package/esm2022/uploader/index.mjs +3 -1
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader-list.component.mjs +41 -7
- package/esm2022/uploader/lib/uploader-overlay.component.mjs +2 -2
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +53 -0
- package/esm2022/uploader/lib/uploader.module.mjs +26 -7
- package/esm2022/uploader/lib/uploader.service.mjs +30 -0
- package/fesm2022/acorex-components-action-sheet.mjs +23 -15
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +5 -6
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +15 -15
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +2 -2
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button-group.mjs +2 -2
- package/fesm2022/acorex-components-button-group.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +5 -4
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +26 -38
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +9 -9
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +4 -4
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +23 -18
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-box.mjs +6 -6
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +53 -59
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +147 -164
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +6 -16
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +70 -19
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +1 -1
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-box.mjs +11 -8
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +133 -133
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +8 -4
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +65 -40
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +1 -1
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +46 -20
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +76 -75
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +2 -6
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +269 -0
- package/fesm2022/acorex-components-list.mjs.map +1 -0
- package/fesm2022/acorex-components-loading.mjs +42 -36
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +147 -21
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-mixin.mjs +113 -64
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +50 -38
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +7 -17
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +4 -4
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +6 -4
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +7 -15
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-picker.mjs +10 -17
- package/fesm2022/acorex-components-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +7 -4
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -3
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +3 -3
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +6 -6
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +2 -2
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-routing-progress.mjs +83 -0
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -0
- package/fesm2022/acorex-components-scheduler.mjs +3 -1
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +47 -24
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +201 -12
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +26 -11
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +9 -16
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +3 -3
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +2 -2
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +20 -14
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/fesm2022/acorex-components-text-box.mjs +8 -22
- package/fesm2022/acorex-components-text-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +46 -48
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +2 -2
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +146 -18
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/form/index.d.ts +1 -1
- package/form/lib/form.component.d.ts +2 -2
- package/form/lib/validation-summary.component.d.ts +3 -3
- package/list/README.md +3 -0
- package/list/index.d.ts +2 -0
- package/list/lib/list.component.d.ts +70 -0
- package/list/lib/list.module.d.ts +9 -0
- package/loading/index.d.ts +1 -1
- package/loading/lib/loading.component.d.ts +1 -1
- package/loading/lib/loading.module.d.ts +3 -2
- package/menu/index.d.ts +3 -0
- package/menu/lib/class/root-menu.class.d.ts +4 -0
- package/menu/lib/menu-item/menu-item.component.d.ts +22 -0
- package/menu/lib/menu.component.d.ts +3 -3
- package/menu/lib/menu.module.d.ts +10 -7
- package/menu/lib/menu2.component.d.ts +12 -0
- package/mixin/lib/base-components.class.d.ts +2 -2
- package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
- package/mixin/lib/button-mixin.class.d.ts +2 -2
- package/mixin/lib/clickable-mixin.class.d.ts +9 -9
- package/mixin/lib/color-look-mixing.class.d.ts +2 -2
- package/mixin/lib/datalist-component.class.d.ts +10 -10
- package/mixin/lib/datalist.class.d.ts +38 -0
- package/mixin/lib/dropdown-mixin.class.d.ts +3 -3
- package/mixin/lib/interactive-mixin.class.d.ts +25 -22
- package/mixin/lib/mixin.class.d.ts +62 -62
- package/mixin/lib/page-component.class.d.ts +4 -4
- package/mixin/lib/selection-component.class.d.ts +3 -3
- package/mixin/lib/sizable-mixin.class.d.ts +2 -2
- package/mixin/lib/textbox-mixin.class.d.ts +20 -20
- package/mixin/lib/value-mixin.class.d.ts +9 -9
- package/notification/index.d.ts +1 -1
- package/notification/lib/notification.class.d.ts +3 -3
- package/notification/lib/notification.component.d.ts +3 -3
- package/notification/lib/notification.config.d.ts +1 -1
- package/number-box/lib/number-box.component.d.ts +3 -3
- package/otp/lib/otp.component.d.ts +3 -3
- package/package.json +13 -1
- package/page/lib/base-page.class.d.ts +1 -1
- package/page/lib/page.component.d.ts +1 -1
- package/password-box/lib/password-box.component.d.ts +4 -4
- package/popover/lib/popover.component.d.ts +2 -1
- package/popup/index.d.ts +1 -1
- package/popup/lib/popup.interface.d.ts +2 -2
- package/routing-progress/README.md +3 -0
- package/routing-progress/index.d.ts +2 -0
- package/routing-progress/lib/routing-progress.component.d.ts +14 -0
- package/routing-progress/lib/routing-progress.module.d.ts +8 -0
- package/search-box/lib/search-box.component.d.ts +10 -4
- package/select-box/index.d.ts +1 -0
- package/select-box/lib/select-box.module.d.ts +15 -12
- package/select-box/lib/select-box2.component.d.ts +44 -0
- package/selection-list/lib/selection-list.component.d.ts +7 -3
- package/text-area/lib/text-area.component.d.ts +10 -3
- package/text-box/lib/text-box.component.d.ts +3 -3
- package/toast/index.d.ts +1 -1
- package/toast/lib/toast.class.d.ts +1 -1
- package/toast/lib/toast.component.d.ts +5 -4
- package/toast/lib/toast.config.d.ts +1 -1
- package/tooltip/lib/tooltip.directive.d.ts +1 -1
- package/uploader/index.d.ts +2 -0
- package/uploader/lib/uploader-list.component.d.ts +14 -1
- package/uploader/lib/uploader-zone.directive.d.ts +18 -0
- package/uploader/lib/uploader.module.d.ts +6 -4
- package/uploader/lib/uploader.service.d.ts +10 -0
- package/common/lib/components/appearance-component.class.d.ts +0 -12
- package/esm2022/common/lib/components/appearance-component.class.mjs +0 -25
@@ -1,6 +1,8 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Injectable, Inject, EventEmitter } from '@angular/core';
|
3
3
|
import { unionBy, flatMapDeep, clone } from 'lodash-es';
|
4
|
+
import { defer, Subject, BehaviorSubject, combineLatest } from 'rxjs';
|
5
|
+
import { finalize, switchMap, startWith, share, map } from 'rxjs/operators';
|
4
6
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
5
7
|
|
6
8
|
class AXBaseComponent {
|
@@ -14,8 +16,7 @@ class AXBaseComponent {
|
|
14
16
|
return this.#rtl;
|
15
17
|
else
|
16
18
|
return (this._getHostElement()?.classList?.contains('ax-rtl') ||
|
17
|
-
window.getComputedStyle(this._getHostElement(), null)?.getPropertyValue('direction') ===
|
18
|
-
'rtl');
|
19
|
+
window.getComputedStyle(this._getHostElement(), null)?.getPropertyValue('direction') === 'rtl');
|
19
20
|
}
|
20
21
|
set rtl(value) {
|
21
22
|
this.#rtl = value;
|
@@ -318,18 +319,18 @@ function _ClickableComponenetMixin(Base) {
|
|
318
319
|
this.onClick.emit({
|
319
320
|
component: this,
|
320
321
|
htmlElement: this._getHostElement(),
|
321
|
-
nativeEvent: e
|
322
|
+
nativeEvent: e,
|
322
323
|
});
|
323
324
|
}
|
324
325
|
/**
|
325
|
-
|
326
|
-
|
326
|
+
* @ignore
|
327
|
+
*/
|
327
328
|
constructor(...args) {
|
328
329
|
super(...args);
|
329
330
|
/**
|
330
|
-
|
331
|
-
|
332
|
-
|
331
|
+
* Fires each time the user clicks the button.
|
332
|
+
* @event
|
333
|
+
*/
|
333
334
|
this.onClick = new EventEmitter();
|
334
335
|
}
|
335
336
|
};
|
@@ -340,9 +341,9 @@ function _ColorLookComponentMixin(Base) {
|
|
340
341
|
constructor(...args) {
|
341
342
|
super(...args);
|
342
343
|
this.colorChange = new EventEmitter();
|
343
|
-
this._color = '
|
344
|
+
this._color = 'ghost';
|
344
345
|
this.lookChange = new EventEmitter();
|
345
|
-
this._look = '
|
346
|
+
this._look = 'solid';
|
346
347
|
}
|
347
348
|
/**
|
348
349
|
* Predefined color schemes
|
@@ -483,9 +484,7 @@ function _DatalistComponenetMixin(Base) {
|
|
483
484
|
}
|
484
485
|
else {
|
485
486
|
this.#totalItems = c.total || c.items?.length || 0;
|
486
|
-
this.#loadedItems = [
|
487
|
-
...new Set(this.#loadedItems.concat(this._formatData(c.items))),
|
488
|
-
];
|
487
|
+
this.#loadedItems = [...new Set(this.#loadedItems.concat(this._formatData(c.items)))];
|
489
488
|
this.#currentPage++;
|
490
489
|
}
|
491
490
|
this._cdr.markForCheck();
|
@@ -533,7 +532,49 @@ function _DatalistComponenetMixin(Base) {
|
|
533
532
|
const DATALIST_INPUTS = ['pageSize', 'valueField', 'textField', 'items'];
|
534
533
|
const DATALIST_OUTPUT = [];
|
535
534
|
|
536
|
-
|
535
|
+
function prepare(callback) {
|
536
|
+
return (source) => defer(() => {
|
537
|
+
callback();
|
538
|
+
return source;
|
539
|
+
});
|
540
|
+
}
|
541
|
+
function indicate(indicator) {
|
542
|
+
return (source) => source.pipe(prepare(() => indicator.next(true)), finalize(() => indicator.next(false)));
|
543
|
+
}
|
544
|
+
class AXPaginatedDataSource {
|
545
|
+
constructor(endpoint, initialSort, initialQuery, take = 20) {
|
546
|
+
this.endpoint = endpoint;
|
547
|
+
this.take = take;
|
548
|
+
this.pageNumber = new Subject();
|
549
|
+
this.loading = new Subject();
|
550
|
+
this.loading$ = this.loading.asObservable();
|
551
|
+
this.query = new BehaviorSubject(initialQuery);
|
552
|
+
this.sort = new BehaviorSubject(initialSort);
|
553
|
+
const param$ = combineLatest([this.query, this.sort]);
|
554
|
+
this.page$ = param$.pipe(switchMap(([query, sort]) => this.pageNumber.pipe(startWith(0), switchMap((page) => this.endpoint({
|
555
|
+
take,
|
556
|
+
skip: page * take,
|
557
|
+
sort,
|
558
|
+
}, query).pipe(indicate(this.loading))))), share());
|
559
|
+
}
|
560
|
+
sortBy(sort) {
|
561
|
+
const lastSort = this.sort.getValue();
|
562
|
+
const nextSort = { ...lastSort, ...sort };
|
563
|
+
this.sort.next(nextSort);
|
564
|
+
}
|
565
|
+
queryBy(query) {
|
566
|
+
const lastQuery = this.query.getValue();
|
567
|
+
const nextQuery = { ...lastQuery, ...query };
|
568
|
+
this.query.next(nextQuery);
|
569
|
+
}
|
570
|
+
fetch(page) {
|
571
|
+
this.pageNumber.next(page);
|
572
|
+
}
|
573
|
+
connect() {
|
574
|
+
return this.page$.pipe(map((page) => page.items));
|
575
|
+
}
|
576
|
+
disconnect() { }
|
577
|
+
}
|
537
578
|
|
538
579
|
function _DropdownComponenetMixin(Base) {
|
539
580
|
class Mixin extends Base {
|
@@ -559,9 +600,7 @@ function _DropdownComponenetMixin(Base) {
|
|
559
600
|
setTimeout(() => {
|
560
601
|
if (this.position.length == 0) {
|
561
602
|
const a = 0;
|
562
|
-
const offset = Number(getComputedStyle(document.documentElement)
|
563
|
-
.getPropertyValue('--ax-base-size')
|
564
|
-
.replace('px', ''));
|
603
|
+
const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
|
565
604
|
const list = [
|
566
605
|
{
|
567
606
|
originX: 'start',
|
@@ -635,9 +674,11 @@ function _InteractiveComponenetMixin(Base) {
|
|
635
674
|
class Mixin extends Base {
|
636
675
|
#disabled;
|
637
676
|
/**
|
638
|
-
|
639
|
-
|
640
|
-
get disabled() {
|
677
|
+
* If set to true, it disables the component.
|
678
|
+
*/
|
679
|
+
get disabled() {
|
680
|
+
return this.#disabled;
|
681
|
+
}
|
641
682
|
set disabled(value) {
|
642
683
|
value = this._onOptionChanging({ name: 'disabled', value: value });
|
643
684
|
if (value != this.disabled) {
|
@@ -649,9 +690,11 @@ function _InteractiveComponenetMixin(Base) {
|
|
649
690
|
}
|
650
691
|
#tabIndex;
|
651
692
|
/**
|
652
|
-
|
653
|
-
|
654
|
-
get tabIndex() {
|
693
|
+
* Specifies the tabindex of the component.
|
694
|
+
*/
|
695
|
+
get tabIndex() {
|
696
|
+
return this.disabled ? -1 : this.#tabIndex;
|
697
|
+
}
|
655
698
|
set tabIndex(value) {
|
656
699
|
this.#tabIndex = value != null ? coerceNumberProperty(value) : 0;
|
657
700
|
}
|
@@ -659,57 +702,54 @@ function _InteractiveComponenetMixin(Base) {
|
|
659
702
|
this.onFocus.emit({
|
660
703
|
component: this,
|
661
704
|
htmlElement: this._getHostElement(),
|
662
|
-
nativeEvent: e
|
705
|
+
nativeEvent: e,
|
663
706
|
});
|
664
707
|
}
|
665
708
|
_emitOnBlurEvent(e) {
|
666
709
|
this.onBlur.emit({
|
667
710
|
component: this,
|
668
711
|
htmlElement: this._getHostElement(),
|
669
|
-
nativeEvent: e
|
712
|
+
nativeEvent: e,
|
670
713
|
});
|
671
714
|
}
|
672
715
|
/**
|
673
|
-
|
674
|
-
|
716
|
+
* Focuses the component.
|
717
|
+
*/
|
675
718
|
focus() {
|
676
|
-
const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map(c => c + ':not([tabindex="-1"])');
|
719
|
+
const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map((c) => c + ':not([tabindex="-1"])');
|
677
720
|
const focusable = this._getHostElement().querySelector(list.join(', '));
|
678
721
|
if (focusable) {
|
679
722
|
focusable.focus();
|
680
723
|
}
|
681
724
|
}
|
682
725
|
/**
|
683
|
-
|
684
|
-
|
726
|
+
* Check component is focused or has any focused element.
|
727
|
+
*/
|
685
728
|
hasFocus() {
|
686
729
|
return this._getHostElement().matches(':focus-within') || this._getHostElement().matches(':focus');
|
687
730
|
}
|
688
731
|
/**
|
689
|
-
|
690
|
-
|
732
|
+
* @ignore
|
733
|
+
*/
|
691
734
|
constructor(...args) {
|
692
735
|
super(...args);
|
693
736
|
this.#disabled = false;
|
694
737
|
this.#tabIndex = 0;
|
695
738
|
/**
|
696
|
-
|
697
|
-
|
698
|
-
|
739
|
+
* Fires each time the component gets focused.
|
740
|
+
* @event
|
741
|
+
*/
|
699
742
|
this.onFocus = new EventEmitter();
|
700
743
|
/**
|
701
|
-
|
702
|
-
|
703
|
-
|
744
|
+
* Fires each time the component gets blurred.
|
745
|
+
* @event
|
746
|
+
*/
|
704
747
|
this.onBlur = new EventEmitter();
|
705
748
|
}
|
706
749
|
}
|
707
750
|
return Mixin;
|
708
751
|
}
|
709
|
-
const INTERACTIVE_INPUTS = [
|
710
|
-
'disabled',
|
711
|
-
'tabIndex',
|
712
|
-
];
|
752
|
+
const INTERACTIVE_INPUTS = ['disabled', 'tabIndex'];
|
713
753
|
const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
|
714
754
|
|
715
755
|
function _SelectionComponenetMixin(Base) {
|
@@ -910,56 +950,65 @@ function _TextboxComponenetMixin(Base) {
|
|
910
950
|
_emitOnKeydownEvent(e) {
|
911
951
|
this.onKeyDown.emit({
|
912
952
|
component: this,
|
913
|
-
nativeEvent: e
|
953
|
+
nativeEvent: e,
|
914
954
|
});
|
915
955
|
this._setUserInteraction();
|
916
956
|
}
|
917
957
|
_emitOnKeyupEvent(e) {
|
918
958
|
this.onKeyUp.emit({
|
919
959
|
component: this,
|
920
|
-
nativeEvent: e
|
960
|
+
nativeEvent: e,
|
921
961
|
});
|
922
962
|
this._setUserInteraction();
|
923
963
|
}
|
924
964
|
_emitOnKeypressEvent(e) {
|
925
965
|
this.onKeyPress.emit({
|
926
966
|
component: this,
|
927
|
-
nativeEvent: e
|
967
|
+
nativeEvent: e,
|
928
968
|
});
|
929
969
|
this._setUserInteraction();
|
930
970
|
}
|
931
971
|
/**
|
932
|
-
|
933
|
-
|
972
|
+
* @ignore
|
973
|
+
*/
|
934
974
|
constructor(...args) {
|
935
975
|
super(...args.slice(0, 2));
|
936
976
|
/**
|
937
|
-
|
938
|
-
|
977
|
+
* A string value that specifies the type of text box.
|
978
|
+
*/
|
939
979
|
this.type = 'text';
|
940
980
|
/**
|
941
|
-
|
942
|
-
|
981
|
+
* A string value that specifies the placeholder of text box.
|
982
|
+
*/
|
943
983
|
this.placeholder = '';
|
944
984
|
/**
|
945
|
-
|
946
|
-
|
947
|
-
|
985
|
+
* Fires each time the user press a key.
|
986
|
+
* @event
|
987
|
+
*/
|
948
988
|
this.onKeyDown = new EventEmitter();
|
949
989
|
/**
|
950
|
-
|
951
|
-
|
952
|
-
|
990
|
+
* Fires each time the user press a key.
|
991
|
+
* @event
|
992
|
+
*/
|
953
993
|
this.onKeyUp = new EventEmitter();
|
954
994
|
/**
|
955
|
-
|
956
|
-
|
957
|
-
|
995
|
+
* Fires each time the user press a key.
|
996
|
+
* @event
|
997
|
+
*/
|
958
998
|
this.onKeyPress = new EventEmitter();
|
959
999
|
}
|
960
1000
|
};
|
961
1001
|
}
|
962
|
-
const TEXTBOX_INPUTS = [
|
1002
|
+
const TEXTBOX_INPUTS = [
|
1003
|
+
'placeholder',
|
1004
|
+
'maxLength',
|
1005
|
+
'allowNull',
|
1006
|
+
'type',
|
1007
|
+
'autoComplete',
|
1008
|
+
'readonly',
|
1009
|
+
'value',
|
1010
|
+
'name',
|
1011
|
+
];
|
963
1012
|
const TEXTBOX_OUTPUT = ['valueChange', 'onValueChanged'];
|
964
1013
|
|
965
1014
|
function _ValueComponenetMixin(Base) {
|
@@ -1203,8 +1252,8 @@ const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
1203
1252
|
function _PageComponenetMixin(Base) {
|
1204
1253
|
return class extends Base {
|
1205
1254
|
/**
|
1206
|
-
|
1207
|
-
|
1255
|
+
* @ignore
|
1256
|
+
*/
|
1208
1257
|
constructor(...args) {
|
1209
1258
|
super(...args.slice(0, 2));
|
1210
1259
|
}
|
@@ -1215,5 +1264,5 @@ function _PageComponenetMixin(Base) {
|
|
1215
1264
|
* Generated bundle index. Do not edit.
|
1216
1265
|
*/
|
1217
1266
|
|
1218
|
-
export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin };
|
1267
|
+
export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXPaginatedDataSource, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin, indicate, prepare };
|
1219
1268
|
//# sourceMappingURL=acorex-components-mixin.mjs.map
|