@acorex/components 7.5.0 → 7.8.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/index.d.ts +1 -1
- package/action-sheet/lib/action-sheet.component.d.ts +3 -3
- package/avatar/index.d.ts +1 -1
- package/badge/lib/badge.component.d.ts +3 -3
- 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-item.component.d.ts +3 -1
- package/button/lib/button.component.d.ts +1 -1
- package/calendar/lib/calendar.class.d.ts +1 -1
- package/calendar/lib/calendar.component.d.ts +6 -4
- package/chips/lib/chips.component.d.ts +1 -1
- package/collapse/lib/collapse-group.component.d.ts +9 -6
- package/collapse/lib/collapse.component.d.ts +21 -8
- package/collapse/lib/collapse.module.d.ts +2 -1
- 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 +1 -1
- package/common/lib/classes/datasource.class.d.ts +55 -0
- 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/interactive-component.class.d.ts +1 -7
- package/common/lib/components/selection-base.component.class.d.ts +5 -6
- 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/common/lib/directives/ripple.directive.d.ts +2 -1
- package/data-table/lib/data-table.component.d.ts +2 -2
- package/datetime-box/lib/datetime-box.component.d.ts +4 -3
- package/datetime-input/lib/datetime-input.component.d.ts +2 -1
- package/datetime-picker/index.d.ts +1 -1
- package/datetime-picker/lib/datetime-picker.component.d.ts +1 -2
- package/dropdown/lib/dropdown-box.component.d.ts +5 -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 +4 -5
- package/esm2022/avatar/index.mjs +2 -2
- package/esm2022/avatar/lib/avatar-group.component.mjs +1 -1
- package/esm2022/avatar/lib/avatar.component.mjs +4 -4
- package/esm2022/badge/lib/badge.component.mjs +6 -6
- 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 +12 -3
- package/esm2022/button/lib/button.component.mjs +3 -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 -68
- package/esm2022/calendar/lib/calendar.component.mjs +53 -43
- 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 +6 -6
- package/esm2022/chips/lib/chips.module.mjs +2 -2
- package/esm2022/collapse/lib/collapse-group.component.mjs +23 -14
- package/esm2022/collapse/lib/collapse.component.mjs +68 -20
- package/esm2022/collapse/lib/collapse.module.mjs +7 -6
- 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 +2 -2
- package/esm2022/common/lib/classes/components.class.mjs +1 -1
- package/esm2022/common/lib/classes/datalist.class.mjs +1 -53
- package/esm2022/common/lib/classes/datasource.class.mjs +106 -0
- 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 +13 -13
- package/esm2022/common/lib/components/look-component.class.mjs +2 -2
- package/esm2022/common/lib/components/selection-base.component.class.mjs +63 -29
- package/esm2022/common/lib/components/value-component.class.mjs +3 -3
- 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 +14 -8
- 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/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 +10 -7
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +7 -7
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +144 -137
- 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.component.mjs +3 -3
- package/esm2022/dialog/lib/dialog.module.mjs +26 -10
- 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 +14 -11
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +5 -4
- 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/lib/list.component.mjs +77 -80
- package/esm2022/list/lib/list.module.mjs +3 -3
- 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/menu/index.mjs +1 -2
- package/esm2022/menu/lib/class/root-menu.class.mjs +1 -1
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +60 -19
- package/esm2022/menu/lib/menu.component.mjs +37 -342
- package/esm2022/menu/lib/menu.module.mjs +3 -4
- 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 +5 -6
- 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 +2 -2
- 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 +6 -5
- package/esm2022/otp/lib/otp.module.mjs +5 -4
- 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 +1 -1
- package/esm2022/popover/lib/popover.module.mjs +2 -2
- package/esm2022/popup/index.mjs +2 -2
- package/esm2022/popup/lib/popup.interface.mjs +1 -1
- package/esm2022/popup/lib/popup.module.mjs +2 -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 +45 -20
- package/esm2022/search-box/lib/search-box.module.mjs +8 -8
- package/esm2022/select-box/index.mjs +2 -2
- package/esm2022/select-box/lib/select-box.component.mjs +168 -308
- package/esm2022/select-box/lib/select-box.module.mjs +12 -13
- package/esm2022/selection-list/lib/selection-list.component.mjs +20 -10
- package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
- package/esm2022/side-menu/acorex-components-side-menu.mjs +5 -0
- package/esm2022/side-menu/index.mjs +4 -0
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +116 -0
- package/esm2022/side-menu/lib/side-menu.component.mjs +15 -0
- package/esm2022/side-menu/lib/side-menu.module.mjs +23 -0
- package/esm2022/skeleton/acorex-components-skeleton.mjs +5 -0
- package/esm2022/skeleton/index.mjs +3 -0
- package/esm2022/skeleton/lib/skeleton.component.mjs +24 -0
- package/esm2022/skeleton/lib/skeleton.module.mjs +18 -0
- 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/tab-item.component.mjs +9 -2
- 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 +7 -13
- package/esm2022/tag/lib/tag.module.mjs +2 -2
- package/esm2022/text-area/lib/text-area.component.mjs +14 -16
- 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 +4 -4
- 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 +3 -4
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +16 -16
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +5 -5
- 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 +13 -4
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +52 -110
- 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 +5 -5
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +92 -34
- 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 +277 -223
- package/fesm2022/acorex-components-common.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 +10 -7
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
- package/fesm2022/acorex-components-datetime-input.mjs +143 -136
- 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 +20 -4
- 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 +43 -19
- 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 +77 -80
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +19 -21
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +78 -382
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-mixin.mjs +70 -66
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +45 -33
- 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 +8 -6
- 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.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +1 -1
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +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 +48 -25
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +171 -401
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +22 -12
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-side-menu.mjs +153 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-skeleton.mjs +46 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -0
- package/fesm2022/acorex-components-switch.mjs +9 -16
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +11 -4
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +5 -11
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +13 -15
- 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 +43 -45
- 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/lib/list.component.d.ts +26 -27
- package/loading/index.d.ts +1 -1
- package/loading/lib/loading.component.d.ts +1 -1
- package/menu/index.d.ts +0 -1
- package/menu/lib/class/root-menu.class.d.ts +2 -0
- package/menu/lib/menu-item/menu-item.component.d.ts +19 -6
- package/menu/lib/menu.component.d.ts +10 -40
- package/menu/lib/menu.module.d.ts +7 -8
- 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 +1 -1
- 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.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/otp/lib/otp.module.d.ts +2 -1
- package/package.json +19 -7
- 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/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 +11 -4
- package/select-box/index.d.ts +1 -1
- package/select-box/lib/select-box.component.d.ts +37 -59
- package/select-box/lib/select-box.module.d.ts +14 -15
- package/selection-list/lib/selection-list.component.d.ts +6 -3
- package/side-menu/README.md +3 -0
- package/side-menu/index.d.ts +3 -0
- package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +37 -0
- package/side-menu/lib/side-menu.component.d.ts +8 -0
- package/side-menu/lib/side-menu.module.d.ts +10 -0
- package/skeleton/README.md +3 -0
- package/skeleton/index.d.ts +2 -0
- package/skeleton/lib/skeleton.component.d.ts +8 -0
- package/skeleton/lib/skeleton.module.d.ts +8 -0
- package/tabs/lib/tab-item.component.d.ts +2 -1
- package/tag/lib/tag.component.d.ts +3 -4
- package/text-area/lib/text-area.component.d.ts +3 -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 +2 -1
- 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/context-menu/README.md +0 -3
- package/context-menu/index.d.ts +0 -2
- package/context-menu/lib/context-menu.component.d.ts +0 -34
- package/context-menu/lib/context-menu.module.d.ts +0 -13
- package/esm2022/common/lib/components/appearance-component.class.mjs +0 -25
- package/esm2022/context-menu/acorex-components-context-menu.mjs +0 -5
- package/esm2022/context-menu/index.mjs +0 -3
- package/esm2022/context-menu/lib/context-menu.component.mjs +0 -262
- package/esm2022/context-menu/lib/context-menu.module.mjs +0 -36
- package/esm2022/menu/lib/menu2.component.mjs +0 -45
- package/esm2022/select-box/lib/select-box2.component.mjs +0 -97
- package/fesm2022/acorex-components-context-menu.mjs +0 -300
- package/fesm2022/acorex-components-context-menu.mjs.map +0 -1
- package/menu/lib/menu2.component.d.ts +0 -12
- package/select-box/lib/select-box2.component.d.ts +0 -25
package/action-sheet/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
2
3
|
import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
|
3
4
|
import { OnInit } from '@angular/core';
|
4
5
|
import { AXActionSheetData, AXActionSheetItem } from './action-sheet.class';
|
5
|
-
import { DialogRef } from '@angular/cdk/dialog';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare class AXActionSheetComponent extends MXBaseComponent implements OnInit {
|
8
8
|
protected data: AXActionSheetData;
|
@@ -10,8 +10,8 @@ export declare class AXActionSheetComponent extends MXBaseComponent implements O
|
|
10
10
|
protected _selectedPortal: Portal<any>;
|
11
11
|
private _componentRef;
|
12
12
|
/**
|
13
|
-
|
14
|
-
|
13
|
+
* @ignore
|
14
|
+
*/
|
15
15
|
constructor(data: AXActionSheetData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
16
16
|
ngOnInit(): void;
|
17
17
|
protected onKeydownHandler(): void;
|
package/avatar/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { MXColorLookComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXBadgeComponent extends
|
3
|
+
export declare class AXBadgeComponent extends MXColorLookComponent {
|
4
4
|
text: string;
|
5
5
|
private get __hostClass();
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXBadgeComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "color": { "alias": "color"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXBadgeComponent, "ax-badge", never, { "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
|
8
8
|
}
|
package/breadcrumbs/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './lib/breadcrumbs.component';
|
2
|
-
export * from './lib/breadcrumbs.module';
|
3
1
|
export * from './lib/breadcrumbs-item.class';
|
4
2
|
export * from './lib/breadcrumbs-item.component';
|
3
|
+
export * from './lib/breadcrumbs.component';
|
4
|
+
export * from './lib/breadcrumbs.module';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
2
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXBreadCrumbsItemComponent extends MXBaseComponent {
|
5
5
|
_parent: AXBreadCrumbsComponent;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { AXHotKeyAction, AXStyleColorType, AXStyleLookType } from '@acorex/components/common';
|
2
2
|
export type AXButtonType = 'submit' | 'button' | 'cancel' | 'reset';
|
3
3
|
export interface AXClickItemBase {
|
4
4
|
cssClass?: string;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
|
1
|
+
import { AXClickEvent, MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
|
2
|
+
import { EventEmitter } from '@angular/core';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
declare const AXButtonItemComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorComponent]>;
|
4
5
|
export declare class AXButtonItemComponent extends AXButtonItemComponent_base {
|
@@ -9,6 +10,7 @@ export declare class AXButtonItemComponent extends AXButtonItemComponent_base {
|
|
9
10
|
divided: boolean;
|
10
11
|
data: unknown;
|
11
12
|
name: string;
|
13
|
+
onClick: EventEmitter<AXClickEvent>;
|
12
14
|
private __hostClick;
|
13
15
|
private __hostFocus;
|
14
16
|
private __hostBlur;
|
@@ -22,5 +22,5 @@ export declare class AXButtonComponent extends MXButtonBaseComponent implements
|
|
22
22
|
focus(): void;
|
23
23
|
blur(): void;
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix, ax-loading, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel"], false, never>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix, ax-loading, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel", ".tab-content"], false, never>;
|
26
26
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
1
|
import { AXItemClickEvent, AXRangeChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
3
2
|
import { AXCalendarService, AXDateTimeRange } from '@acorex/core/dateTime';
|
3
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export type AXCalendarViewType = 'year' | 'month' | 'day';
|
6
6
|
export type AXCalendarViewDepth = AXCalendarViewType;
|
@@ -1,6 +1,7 @@
|
|
1
|
+
import { AXClickEvent, MXComponentOptionChanged, MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
|
1
2
|
import { AXDateTime, AXDateTimeRange } from '@acorex/core/dateTime';
|
2
|
-
import { AXClickEvent, AXOptionChangedEvent, MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
|
3
3
|
import { AXCalendarView, AXCalendarViewSlot, AXCalendarViewType, MXCalendarBaseComponent } from './calendar.class';
|
4
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
declare const AXCalendarComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
6
7
|
new (): MXValueComponent<Date>;
|
@@ -18,17 +19,18 @@ export declare class AXCalendarComponent extends AXCalendarComponent_base {
|
|
18
19
|
protected _dayNames: string[];
|
19
20
|
private _initValues;
|
20
21
|
private _refresh;
|
21
|
-
constructor();
|
22
|
+
constructor(unsubscriber: AXUnsubscriber);
|
22
23
|
protected ngOnInit(): void;
|
23
24
|
protected ngAfterViewInit(): void;
|
25
|
+
protected ngOnDestroy(): void;
|
24
26
|
render(): void;
|
25
27
|
protected _handlePrevClick(): void;
|
26
28
|
protected _handleNextClick(): void;
|
27
29
|
protected _handleSlotClick(e: MouseEvent, slot: AXCalendarViewSlot): void;
|
28
30
|
protected _handleNavClick(e: AXClickEvent | any, view: AXCalendarViewType): void;
|
29
31
|
toggleView(): void;
|
30
|
-
protected
|
31
|
-
|
32
|
+
protected internalOptionChanged(e: MXComponentOptionChanged): void;
|
33
|
+
protected internalValueChanged(value?: Date): void;
|
32
34
|
protected _handleGoToday(): void;
|
33
35
|
next(): void;
|
34
36
|
prev(): void;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { MXColorComponent } from '@acorex/components/common';
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class AXChipsComponent extends MXColorComponent {
|
4
|
-
look: '
|
4
|
+
look: 'solid' | 'outline' | 'twotone';
|
5
5
|
text: string;
|
6
6
|
constructor();
|
7
7
|
private get __hostClass();
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { MXBaseComponent, MXLookComponent } from '@acorex/components/common';
|
2
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
|
4
|
+
declare const AXCollapseGroupComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXBaseComponent, typeof MXLookComponent]>;
|
5
|
+
export declare class AXCollapseGroupComponent extends AXCollapseGroupComponent_base implements AfterViewInit, OnDestroy {
|
5
6
|
accordionChange: EventEmitter<boolean>;
|
6
7
|
private _accordion?;
|
7
8
|
/**
|
@@ -12,8 +13,8 @@ export declare class AXCollapseGroupComponent extends MXBaseComponent {
|
|
12
13
|
activeIndexChange: EventEmitter<number>;
|
13
14
|
private _activeIndex;
|
14
15
|
/**
|
15
|
-
|
16
|
-
|
16
|
+
* Index of the currently active item within the group
|
17
|
+
*/
|
17
18
|
get activeIndex(): number;
|
18
19
|
set activeIndex(value: number);
|
19
20
|
private _items;
|
@@ -22,6 +23,8 @@ export declare class AXCollapseGroupComponent extends MXBaseComponent {
|
|
22
23
|
private applyAccordion;
|
23
24
|
private removeAccordion;
|
24
25
|
ngOnDestroy(): void;
|
26
|
+
private get __hostClass();
|
25
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseGroupComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "accordion": { "alias": "accordion"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "accordionChange": "accordionChange"; "activeIndexChange": "activeIndexChange"; }, ["_items"], ["ax-collapse"], false, never>;
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseGroupComponent, "ax-collapse-group", never, { "look": { "alias": "look"; "required": false; }; "accordion": { "alias": "accordion"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "accordionChange": "accordionChange"; "activeIndexChange": "activeIndexChange"; }, ["_items"], ["ax-collapse"], false, never>;
|
27
29
|
}
|
30
|
+
export {};
|
@@ -1,23 +1,36 @@
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
2
1
|
import { AXClickEvent, MXInteractiveComponent } from '@acorex/components/common';
|
2
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
+
export declare class AXCollapseClickEvent extends AXClickEvent {
|
5
|
+
handled: boolean;
|
6
|
+
}
|
4
7
|
export declare class AXCollapseComponent extends MXInteractiveComponent {
|
5
8
|
/**
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
onClick: EventEmitter<
|
9
|
+
* Fires each time the user clicks the panel header.
|
10
|
+
* @event
|
11
|
+
*/
|
12
|
+
onClick: EventEmitter<AXCollapseClickEvent>;
|
10
13
|
isCollapsedChange: EventEmitter<any>;
|
11
14
|
private _isCollapsed;
|
12
15
|
/**
|
13
|
-
|
14
|
-
|
16
|
+
* Providing a boolean value for its collapse state
|
17
|
+
*/
|
15
18
|
get isCollapsed(): boolean;
|
16
19
|
set isCollapsed(v: boolean);
|
17
20
|
caption: string;
|
18
21
|
icon: string;
|
22
|
+
private _isLoading;
|
23
|
+
/**
|
24
|
+
* Providing a boolean value for its collapse state
|
25
|
+
*/
|
26
|
+
get isLoading(): boolean;
|
27
|
+
set isLoading(v: boolean);
|
19
28
|
headerTemplate: TemplateRef<any>;
|
20
29
|
handleHeaderClick(e: MouseEvent): void;
|
30
|
+
open(): void;
|
31
|
+
close(): void;
|
32
|
+
toggle(): void;
|
33
|
+
get __hostClass(): string[];
|
21
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseComponent, never>;
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseComponent, "ax-collapse", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; }, { "isCollapsedChange": "isCollapsedChange"; }, never, ["*"], false, never>;
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCollapseComponent, "ax-collapse", never, { "disabled": { "alias": "disabled"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; }, { "onClick": "onClick"; "isCollapsedChange": "isCollapsedChange"; }, never, ["*"], false, never>;
|
23
36
|
}
|
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./collapse.component";
|
3
3
|
import * as i2 from "./collapse-group.component";
|
4
4
|
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@acorex/components/loading";
|
5
6
|
export declare class AXCollapseModule {
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCollapseModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, [typeof i1.AXCollapseComponent, typeof i2.AXCollapseGroupComponent], [typeof i3.CommonModule], [typeof i1.AXCollapseComponent, typeof i2.AXCollapseGroupComponent]>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCollapseModule, [typeof i1.AXCollapseComponent, typeof i2.AXCollapseGroupComponent], [typeof i3.CommonModule, typeof i4.AXLoadingModule], [typeof i1.AXCollapseComponent, typeof i2.AXCollapseGroupComponent]>;
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCollapseModule>;
|
9
10
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { MXInputBaseValueComponent, AXEvent } from '@acorex/components/common';
|
2
|
-
import { MXDropdownBoxBaseComponent, AXDropdownBoxComponent } from '@acorex/components/dropdown';
|
3
1
|
import { AXColorPalleteComponent } from '@acorex/components/color-palette';
|
2
|
+
import { AXEvent, MXInputBaseValueComponent } from '@acorex/components/common';
|
3
|
+
import { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
declare const AXColorBoxComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXDropdownBoxBaseComponent, {
|
6
6
|
new (): MXInputBaseValueComponent<string>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { AXUnsubscriber } from '@acorex/core/utils';
|
2
1
|
import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
3
|
-
import { AXColorPaletteParentComponent } from './color-palette.class';
|
4
2
|
import { AXMaskOptions } from '@acorex/components/text-box';
|
3
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
4
|
+
import { AXColorPaletteParentComponent } from './color-palette.class';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class AXColorPaletteInputComponent extends MXBaseComponent {
|
7
7
|
_parent: AXColorPaletteParentComponent;
|
@@ -9,7 +9,7 @@ export declare class AXColorPaletteInputComponent extends MXBaseComponent {
|
|
9
9
|
isValid: boolean;
|
10
10
|
_rgba: any;
|
11
11
|
_hex: string;
|
12
|
-
protected _colorMode:
|
12
|
+
protected _colorMode: 'hex' | 'rgba';
|
13
13
|
protected _hexMaskOptions: AXMaskOptions;
|
14
14
|
constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
|
15
15
|
private applyParent;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AXUnsubscriber } from '@acorex/core/utils';
|
2
1
|
import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXUnsubscriber } from '@acorex/core/utils';
|
3
3
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AXColorPalettePickerComponent extends MXBaseComponent {
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { AXOptionChangedEvent, AXValueChangedEvent } from '@acorex/components/common';
|
2
|
+
import { EventEmitter } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
/**
|
5
|
-
* A token that specifies the display mode of datapager component.
|
6
|
-
*/
|
5
|
+
* A token that specifies the display mode of datapager component.
|
6
|
+
*/
|
7
7
|
export type AXColorPaletteView = 'swatches' | 'gradient' | 'custom';
|
8
8
|
export interface AXColorChangedEvent {
|
9
9
|
color: any;
|
package/common/index.d.ts
CHANGED
@@ -5,10 +5,10 @@ export * from './lib/types/range';
|
|
5
5
|
export * from './lib/types/selection-mode';
|
6
6
|
export * from './lib/classes/components.class';
|
7
7
|
export * from './lib/classes/datalist.class';
|
8
|
+
export * from './lib/classes/datasource.class';
|
8
9
|
export * from './lib/classes/events.class';
|
9
10
|
export * from './lib/classes/styles.class';
|
10
11
|
export * from './lib/common.module';
|
11
|
-
export * from './lib/components/appearance-component.class';
|
12
12
|
export * from './lib/components/base-component.class';
|
13
13
|
export * from './lib/components/button-base-component.class';
|
14
14
|
export * from './lib/components/color-component.class';
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { ListIterateeCustom } from "lodash";
|
2
|
+
import { Subject } from "rxjs";
|
3
|
+
export type AXDateSourceFilterPredicate<T> = ListIterateeCustom<T, boolean>;
|
4
|
+
export interface AXDataSourceQuery<T> {
|
5
|
+
take?: number;
|
6
|
+
skip?: number;
|
7
|
+
predicate?: AXDateSourceFilterPredicate<T>;
|
8
|
+
}
|
9
|
+
export interface AXDataSourceCallbackResult<T> {
|
10
|
+
items: Array<T>;
|
11
|
+
total: number;
|
12
|
+
}
|
13
|
+
export type AXDataSourceLoadCallback<T> = (e: AXDataSourceQuery<T>) => Promise<AXDataSourceCallbackResult<T>>;
|
14
|
+
export type AXDataSourceByKeyCallback<T> = (key: unknown) => Promise<T>;
|
15
|
+
export interface AXDateSourceConfig<T = unknown> {
|
16
|
+
key?: string;
|
17
|
+
pageSize: number;
|
18
|
+
load: AXDataSourceLoadCallback<T>;
|
19
|
+
byKey?: AXDataSourceByKeyCallback<T>;
|
20
|
+
}
|
21
|
+
export interface AXDateSourceChangedEvent<T = unknown> {
|
22
|
+
cachedItems: Array<T>;
|
23
|
+
items: Array<T>;
|
24
|
+
totalCount: number;
|
25
|
+
totalPages: number;
|
26
|
+
page: number;
|
27
|
+
}
|
28
|
+
export declare class AXDateSource<T = unknown> {
|
29
|
+
config: AXDateSourceConfig<T>;
|
30
|
+
private _totalCount;
|
31
|
+
private get totalCount();
|
32
|
+
private get totalPages();
|
33
|
+
private _cachedItems;
|
34
|
+
get cachedItems(): T[];
|
35
|
+
private _items;
|
36
|
+
get items(): T[];
|
37
|
+
private fetchedPages;
|
38
|
+
private _page;
|
39
|
+
private _query;
|
40
|
+
onChanged: Subject<AXDateSourceChangedEvent<T>>;
|
41
|
+
onLoadingChanged: Subject<boolean>;
|
42
|
+
private _isLoading;
|
43
|
+
get isLoading(): boolean;
|
44
|
+
constructor(config: AXDateSourceConfig<T>);
|
45
|
+
private load;
|
46
|
+
private setLoadingState;
|
47
|
+
setPage(page: number): void;
|
48
|
+
filter(predicate?: AXDateSourceFilterPredicate<T>): void;
|
49
|
+
reset(): void;
|
50
|
+
find(key: unknown): T | Promise<T>;
|
51
|
+
}
|
52
|
+
export declare function convertArrayToDataSource<T>(items: T[], options?: {
|
53
|
+
key: string;
|
54
|
+
pageSize: number;
|
55
|
+
}): AXDateSource;
|
@@ -2,8 +2,7 @@ export declare const AX_STYLE_COLOR_TYPES: string[];
|
|
2
2
|
/**
|
3
3
|
* A token that specifies the color style of component.
|
4
4
|
*/
|
5
|
-
export type AXStyleColorType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | '
|
6
|
-
export type AXStyleLookType = '
|
7
|
-
export type AXAppearanceType = 'solid' | 'flat' | 'outline' | 'fill' | 'none';
|
5
|
+
export type AXStyleColorType = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'ghost';
|
6
|
+
export type AXStyleLookType = 'solid' | 'blank' | 'outline' | 'twotone' | 'flat' | 'fill' | 'none';
|
8
7
|
export declare const AX_LOCATIONS: string[];
|
9
8
|
export type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end' | 'center-end' | 'center-start';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { MXColorComponent } from
|
2
|
-
import { MXLookComponent } from
|
1
|
+
import { MXColorComponent } from './color-component.class';
|
2
|
+
import { MXLookComponent } from './look-component.class';
|
3
3
|
declare const MXColorLookComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXColorComponent, typeof MXLookComponent]>;
|
4
4
|
export declare class MXColorLookComponent extends MXColorLookComponent_base {
|
5
5
|
}
|
@@ -1,23 +1,23 @@
|
|
1
|
-
import { EventEmitter } from
|
2
|
-
import {
|
3
|
-
import {
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { AXHtmlEvent } from '../classes/events.class';
|
3
|
+
import { MXValueComponent } from './value-component.class';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T> {
|
6
6
|
placeholder: string;
|
7
7
|
/**
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
* Fires each time the user press a key.
|
9
|
+
* @event
|
10
|
+
*/
|
11
11
|
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
12
12
|
/**
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
* Fires each time the user press a key.
|
14
|
+
* @event
|
15
|
+
*/
|
16
16
|
onKeyUp: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
17
17
|
/**
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
* Fires each time the user press a key.
|
19
|
+
* @event
|
20
|
+
*/
|
21
21
|
onKeyPress: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
22
22
|
protected emitOnKeydownEvent(e: KeyboardEvent): void;
|
23
23
|
protected emitOnKeyupEvent(e: KeyboardEvent): void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
-
import {
|
2
|
+
import { AXFocusEvent } from '../classes/events.class';
|
3
3
|
import { MXBaseComponent } from './base-component.class';
|
4
4
|
export declare class MXInteractiveComponent extends MXBaseComponent {
|
5
5
|
protected onTouchedCallback: () => void;
|
@@ -33,12 +33,6 @@ export declare class MXInteractiveComponent extends MXBaseComponent {
|
|
33
33
|
*/
|
34
34
|
onBlur: EventEmitter<AXFocusEvent>;
|
35
35
|
protected emitOnBlurEvent(e: FocusEvent): void;
|
36
|
-
/**
|
37
|
-
* Fires each time the user clicks the button.
|
38
|
-
* @event
|
39
|
-
*/
|
40
|
-
onClick: EventEmitter<AXClickEvent>;
|
41
|
-
protected emitOnClickEvent(e: MouseEvent): void;
|
42
36
|
focus(): void;
|
43
37
|
blur(): void;
|
44
38
|
/**
|
@@ -11,9 +11,6 @@ export declare abstract class MXSelectionValueComponent<T = unknown> extends MXV
|
|
11
11
|
private _textField;
|
12
12
|
get textField(): string;
|
13
13
|
set textField(v: string);
|
14
|
-
private _hintField;
|
15
|
-
get hintField(): string;
|
16
|
-
set hintField(v: string);
|
17
14
|
private _disabledField;
|
18
15
|
get disabledField(): string;
|
19
16
|
set disabledField(v: string);
|
@@ -22,10 +19,11 @@ export declare abstract class MXSelectionValueComponent<T = unknown> extends MXV
|
|
22
19
|
set multiple(v: boolean);
|
23
20
|
_selectedItems: unknown[];
|
24
21
|
get selectedItems(): unknown[];
|
25
|
-
internalSetValue(value: unknown):
|
22
|
+
internalSetValue(value: unknown): any;
|
26
23
|
emitOnValueChangedEvent(oldValue?: unknown, newValue?: unknown): void;
|
27
|
-
abstract getItemByKey(key: unknown): unknown
|
28
|
-
private
|
24
|
+
abstract getItemByKey(key: unknown): unknown | Promise<unknown>;
|
25
|
+
private _cacheList;
|
26
|
+
protected normalizeItemsList(items: unknown[], findBykey?: boolean): unknown[];
|
29
27
|
private normalizeItem;
|
30
28
|
private _normalizeSelectedItems;
|
31
29
|
unselectItems(...items: T[]): void;
|
@@ -34,6 +32,7 @@ export declare abstract class MXSelectionValueComponent<T = unknown> extends MXV
|
|
34
32
|
isItemSelected(item: T): boolean;
|
35
33
|
isItemDisabled(item: T): boolean;
|
36
34
|
protected getDisplayText(item: T): any;
|
35
|
+
protected getValue(item: T): any;
|
37
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionValueComponent<any>, never>;
|
38
37
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionValueComponent<any>>;
|
39
38
|
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { EventEmitter, OnDestroy } from
|
2
|
-
import { NgModel } from
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
2
|
+
import { NgModel } from '@angular/forms';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXNgModelDelayedValueChangedDirective implements OnDestroy {
|
5
5
|
private ngModel;
|
6
|
-
|
7
|
-
|
6
|
+
axDelayedValueChanged: EventEmitter<any>;
|
7
|
+
axDelayTimeChange: EventEmitter<number>;
|
8
8
|
private _delayTime;
|
9
9
|
get delayTime(): number;
|
10
10
|
set delayTime(v: number);
|
@@ -13,5 +13,5 @@ export declare class AXNgModelDelayedValueChangedDirective implements OnDestroy
|
|
13
13
|
constructor(ngModel: NgModel);
|
14
14
|
private update;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXNgModelDelayedValueChangedDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelDelayedValueChangedDirective, "[
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelDelayedValueChangedDirective, "[axDelayedValueChanged]", never, { "delayTime": { "alias": "delayTime"; "required": false; }; }, { "axDelayedValueChanged": "axDelayedValueChanged"; "axDelayTimeChange": "axDelayTimeChange"; }, never, never, true, never>;
|
17
17
|
}
|
@@ -10,7 +10,7 @@ export declare class AXHotkeyDirective implements AfterViewInit {
|
|
10
10
|
private el;
|
11
11
|
_host: AXComponent;
|
12
12
|
private hs;
|
13
|
-
|
13
|
+
axHotkey: string | AXHotKeyAction | AXHotKeyAction[];
|
14
14
|
private _subs;
|
15
15
|
constructor(el: ElementRef<HTMLElement>, _host: AXComponent, hs: AXHotkeysService);
|
16
16
|
ngAfterViewInit(): void;
|
@@ -18,5 +18,5 @@ export declare class AXHotkeyDirective implements AfterViewInit {
|
|
18
18
|
private _addHotKeyAction;
|
19
19
|
ngOnDestroy(): void;
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeyDirective, [null, { optional: true; host: true; self: true; }, null]>;
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXHotkeyDirective, "[
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXHotkeyDirective, "[axHotkey]", never, { "axHotkey": { "alias": "axHotkey"; "required": false; }; }, {}, never, never, false, never>;
|
22
22
|
}
|
@@ -6,5 +6,5 @@ export declare class AXResponsiveDirective implements OnDestroy {
|
|
6
6
|
constructor(_elementRef: ElementRef<HTMLDivElement>);
|
7
7
|
ngOnDestroy(): void;
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXResponsiveDirective, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[axResponsive]", never, {}, {}, never, never, false, never>;
|
10
10
|
}
|
@@ -2,9 +2,10 @@ import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
3
3
|
export declare class AXRippleDirective implements OnDestroy {
|
4
4
|
private el;
|
5
|
+
axRippleColor: string;
|
5
6
|
constructor(el: ElementRef<HTMLElement>);
|
6
7
|
ngOnDestroy(): void;
|
7
8
|
private createRipple;
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXRippleDirective, never>;
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXRippleDirective, "[axRipple]", never, {}, {}, never, never, false, never>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXRippleDirective, "[axRipple]", never, { "axRippleColor": { "alias": "axRippleColor"; "required": false; }; }, {}, never, never, false, never>;
|
10
11
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { AXDataListItems, AXPagedComponentInterface, AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
3
3
|
import { AXDataColumnComponent } from './data-column.directive';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class AXDataTableComponent extends MXBaseComponent implements AXPagedComponentInterface {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';
|
2
|
-
import {
|
2
|
+
import { AXClickEvent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
|
3
3
|
import { AXDateTimeInputComponent } from '@acorex/components/datetime-input';
|
4
4
|
import { AXDateTimePickerComponent } from '@acorex/components/datetime-picker';
|
5
5
|
import { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';
|
@@ -9,7 +9,7 @@ declare const AXDateTimeBoxComponent_base: import("polytype").Polytype.Clustered
|
|
9
9
|
new (): MXInputBaseValueComponent<Date>;
|
10
10
|
ɵfac: unknown;
|
11
11
|
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
12
|
-
}, typeof MXCalendarBaseComponent, typeof MXDropdownBoxBaseComponent, typeof
|
12
|
+
}, typeof MXCalendarBaseComponent, typeof MXDropdownBoxBaseComponent, typeof MXLookComponent]>;
|
13
13
|
/**
|
14
14
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
15
15
|
*
|
@@ -29,7 +29,8 @@ export declare class AXDateTimeBoxComponent extends AXDateTimeBoxComponent_base
|
|
29
29
|
protected _handleOnClosedEvent(): void;
|
30
30
|
protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent): void;
|
31
31
|
internalValueChanged(): void;
|
32
|
+
protected _handleInputOnClick(e: AXClickEvent): void;
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDateTimeBoxComponent, never>;
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDateTimeBoxComponent, "ax-datetime-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "type": { "alias": "type"; "required": false; }; "look": { "alias": "look"; "required": false; }; "format": { "alias": "format"; "required": false; }; }, { "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "formatChange": "formatChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
34
35
|
}
|
35
36
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
|
+
import { AXClickEvent, MXInputBaseValueComponent } from '@acorex/components/common';
|
1
2
|
import { ElementRef, EventEmitter } from '@angular/core';
|
2
|
-
import { MXInputBaseValueComponent } from '@acorex/components/common';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
export declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<Date> {
|
5
5
|
private calendarService;
|
@@ -23,6 +23,7 @@ export declare class AXDateTimeInputComponent extends MXInputBaseValueComponent<
|
|
23
23
|
get maxValue(): Date;
|
24
24
|
set maxValue(v: Date);
|
25
25
|
formatChange: EventEmitter<string>;
|
26
|
+
onClick: EventEmitter<AXClickEvent>;
|
26
27
|
private _format;
|
27
28
|
get format(): string;
|
28
29
|
set format(v: string);
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';
|
2
2
|
import { AXClickEvent, AXValueChangedEvent, MXValueComponent } from '@acorex/components/common';
|
3
3
|
import { AXPickerComponent } from '@acorex/components/picker';
|
4
|
-
import { AXTabsComponent } from '@acorex/components/tabs';
|
5
|
-
import { AXTabStripChangedEvent } from '@acorex/components/tabs';
|
4
|
+
import { AXTabStripChangedEvent, AXTabsComponent } from '@acorex/components/tabs';
|
6
5
|
import { AXDateTime, AXDateTimeParts } from '@acorex/core/dateTime';
|
7
6
|
import { EventEmitter, OnInit } from '@angular/core';
|
8
7
|
import * as i0 from "@angular/core";
|