@acorex/components 7.2.8 → 7.3.2
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.class.d.ts +31 -0
- package/action-sheet/lib/action-sheet.component.d.ts +12 -13
- package/action-sheet/lib/action-sheet.module.d.ts +2 -1
- package/action-sheet/lib/action-sheet.service.d.ts +4 -8
- package/alert/lib/alert.component.d.ts +10 -10
- package/button/lib/button-group.component.d.ts +6 -6
- package/button/lib/button-item.class.d.ts +6 -2
- package/button/lib/button-item.component.d.ts +6 -6
- package/button/lib/button.component.d.ts +5 -3
- package/calendar/lib/calendar.component.d.ts +1 -1
- package/check-box/README.md +3 -0
- package/check-box/index.d.ts +2 -0
- package/check-box/lib/check-box.component.d.ts +14 -0
- package/{checkbox/lib/checkbox.module.d.ts → check-box/lib/check-box.module.d.ts} +1 -1
- package/color-palette/lib/color-palette-input.component.d.ts +1 -1
- package/color-palette/lib/color-palette.module.d.ts +1 -1
- package/color-picker/lib/color-picker.component.d.ts +17 -24
- package/color-picker/lib/color-picker.module.d.ts +1 -1
- package/common/index.d.ts +3 -3
- package/common/lib/classes/components.class.d.ts +12 -3
- package/common/lib/classes/datalist.class.d.ts +11 -0
- package/common/lib/common.module.d.ts +3 -4
- package/common/lib/components/base-component.class.d.ts +9 -3
- package/common/lib/components/input-base-value-component.class.d.ts +1 -0
- package/common/lib/components/value-component.class.d.ts +9 -2
- package/common/lib/directives/auto-focus.directive.d.ts +6 -5
- package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
- package/common/lib/services/dom.service.d.ts +6 -0
- package/data-pager/lib/data-pager-base.component.d.ts +18 -13
- package/data-pager/lib/data-pager-info.component.d.ts +3 -9
- package/data-pager/lib/data-pager-input-selector.component.d.ts +5 -9
- package/data-pager/lib/data-pager-next-buttons.components.d.ts +2 -8
- package/data-pager/lib/data-pager-numeric-selector.component.d.ts +2 -7
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +2 -6
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +2 -7
- package/data-pager/lib/data-pager.component.d.ts +17 -18
- package/data-pager/lib/data-pager.module.d.ts +6 -5
- package/data-table/index.d.ts +0 -1
- package/data-table/lib/data-column.directive.d.ts +3 -8
- package/data-table/lib/data-table.component.d.ts +6 -7
- package/data-table/lib/data-table.module.d.ts +6 -7
- package/date-picker/lib/datepicker.component.d.ts +7 -6
- package/date-picker/lib/datepicker.module.d.ts +1 -1
- package/decorators/index.d.ts +2 -12
- package/decorators/lib/clear-button.component.d.ts +13 -0
- package/decorators/lib/close-button.component.d.ts +5 -8
- package/decorators/lib/decorators.module.d.ts +6 -15
- package/decorators/lib/generic-content.component.d.ts +6 -0
- package/decorators/lib/icon.component.d.ts +2 -4
- package/dialog/lib/dialog.class.d.ts +11 -3
- package/dialog/lib/dialog.component.d.ts +15 -11
- package/dialog/lib/dialog.module.d.ts +4 -3
- package/dialog/lib/dialog.service.d.ts +4 -12
- package/drawer/lib/drawer-container.component.d.ts +2 -5
- package/drawer/lib/drawer.component.d.ts +6 -7
- package/esm2022/action-sheet/index.mjs +2 -2
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +2 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +50 -38
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +11 -7
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +32 -72
- package/esm2022/alert/lib/alert.component.mjs +14 -16
- package/esm2022/alert/lib/alert.module.mjs +7 -7
- package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.component.mjs +3 -3
- package/esm2022/avatar/lib/avatar.module.mjs +4 -4
- package/esm2022/badge/lib/badge.component.mjs +6 -6
- package/esm2022/badge/lib/badge.module.mjs +4 -4
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
- package/esm2022/button/lib/button-group.component.mjs +3 -3
- package/esm2022/button/lib/button-item.class.mjs +1 -1
- package/esm2022/button/lib/button-item.component.mjs +3 -3
- package/esm2022/button/lib/button.component.mjs +35 -17
- package/esm2022/button/lib/button.module.mjs +4 -4
- package/esm2022/calendar/lib/calendar-range.component.mjs +5 -5
- package/esm2022/calendar/lib/calendar.class.mjs +3 -3
- package/esm2022/calendar/lib/calendar.component.mjs +7 -5
- package/esm2022/calendar/lib/calendar.module.mjs +4 -4
- package/esm2022/check-box/acorex-components-check-box.mjs +5 -0
- package/esm2022/check-box/index.mjs +3 -0
- package/esm2022/check-box/lib/check-box.component.mjs +76 -0
- package/esm2022/check-box/lib/check-box.module.mjs +21 -0
- package/esm2022/chips/lib/chips.component.mjs +3 -3
- package/esm2022/chips/lib/chips.module.mjs +4 -4
- package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.component.mjs +3 -3
- package/esm2022/collapse/lib/collapse.module.mjs +4 -4
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +18 -12
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
- package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
- package/esm2022/color-palette/lib/color-palette.component.mjs +5 -5
- package/esm2022/color-palette/lib/color-palette.module.mjs +6 -6
- package/esm2022/color-picker/lib/color-picker.component.mjs +12 -6
- package/esm2022/color-picker/lib/color-picker.module.mjs +6 -6
- package/esm2022/common/index.mjs +4 -4
- package/esm2022/common/lib/classes/components.class.mjs +26 -19
- package/esm2022/common/lib/classes/datalist.class.mjs +3 -0
- package/esm2022/common/lib/common.module.mjs +5 -10
- package/esm2022/common/lib/components/base-component.class.mjs +21 -11
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +4 -4
- package/esm2022/common/lib/components/value-component.class.mjs +18 -10
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +18 -11
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +49 -0
- package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
- package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
- package/esm2022/common/lib/services/dom.service.mjs +16 -0
- package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
- package/esm2022/context-menu/lib/context-menu.component.mjs +5 -5
- package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +35 -21
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +13 -26
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +27 -31
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +19 -33
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +31 -38
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +22 -31
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -29
- package/esm2022/data-pager/lib/data-pager.component.mjs +66 -38
- package/esm2022/data-pager/lib/data-pager.module.mjs +8 -7
- package/esm2022/data-table/index.mjs +1 -2
- package/esm2022/data-table/lib/data-column.directive.mjs +7 -22
- package/esm2022/data-table/lib/data-table.component.mjs +30 -30
- package/esm2022/data-table/lib/data-table.module.mjs +6 -7
- package/esm2022/date-picker/lib/datepicker.component.mjs +19 -16
- package/esm2022/date-picker/lib/datepicker.module.mjs +6 -6
- package/esm2022/decorators/index.mjs +3 -13
- package/esm2022/decorators/lib/clear-button.component.mjs +58 -0
- package/esm2022/decorators/lib/close-button.component.mjs +16 -20
- package/esm2022/decorators/lib/decorators.module.mjs +13 -49
- package/esm2022/decorators/lib/generic-content.component.mjs +17 -0
- package/esm2022/decorators/lib/icon.component.mjs +8 -11
- package/esm2022/dialog/lib/dialog.class.mjs +1 -1
- package/esm2022/dialog/lib/dialog.component.mjs +41 -23
- package/esm2022/dialog/lib/dialog.module.mjs +10 -8
- package/esm2022/dialog/lib/dialog.service.mjs +41 -49
- package/esm2022/drawer/lib/drawer-container.component.mjs +9 -13
- package/esm2022/drawer/lib/drawer.component.mjs +22 -27
- package/esm2022/drawer/lib/drawer.module.mjs +4 -4
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +5 -5
- package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
- package/esm2022/form/lib/form-field.component.mjs +9 -12
- package/esm2022/form/lib/form.component.mjs +38 -42
- package/esm2022/form/lib/form.module.mjs +4 -4
- package/esm2022/form/lib/validation-rule.widget.mjs +24 -15
- package/esm2022/form/lib/validation-summary.component.mjs +15 -14
- package/esm2022/image/lib/image.component.mjs +13 -17
- package/esm2022/image/lib/image.module.mjs +4 -4
- package/esm2022/label/lib/label.component.mjs +18 -18
- package/esm2022/label/lib/label.module.mjs +4 -4
- package/esm2022/loading/index.mjs +2 -1
- package/esm2022/loading/lib/loading-spinner.component.mjs +4 -5
- package/esm2022/loading/lib/loading.component.mjs +22 -25
- package/esm2022/loading/lib/loading.config.mjs +17 -0
- package/esm2022/loading/lib/loading.directive.mjs +20 -51
- package/esm2022/loading/lib/loading.module.mjs +7 -18
- package/esm2022/loading/lib/loading.service.mjs +36 -60
- package/esm2022/menu/lib/menu.component.mjs +26 -19
- package/esm2022/menu/lib/menu.module.mjs +4 -4
- package/esm2022/mixin/index.mjs +1 -2
- package/esm2022/mixin/lib/base-components.class.mjs +3 -3
- package/esm2022/mixin/lib/color-look-mixing.class.mjs +1 -1
- package/esm2022/notification/index.mjs +2 -1
- package/esm2022/notification/lib/notification.class.mjs +1 -1
- package/esm2022/notification/lib/notification.component.mjs +51 -35
- package/esm2022/notification/lib/notification.config.mjs +20 -0
- package/esm2022/notification/lib/notification.module.mjs +11 -7
- package/esm2022/notification/lib/notification.service.mjs +46 -59
- package/esm2022/number-box/lib/number-box.component.mjs +101 -90
- package/esm2022/number-box/lib/number-box.module.mjs +4 -4
- package/esm2022/otp/lib/otp.component.mjs +38 -48
- package/esm2022/otp/lib/otp.module.mjs +4 -4
- package/esm2022/page/lib/base-page.class.mjs +22 -23
- package/esm2022/page/lib/page.component.mjs +13 -13
- package/esm2022/page/lib/page.module.mjs +4 -4
- package/esm2022/password-box/lib/password-box.component.mjs +37 -25
- package/esm2022/password-box/lib/password-box.module.mjs +4 -4
- package/esm2022/popover/lib/dropdown-component.class.mjs +3 -3
- package/esm2022/popover/lib/popover.component.mjs +62 -23
- package/esm2022/popover/lib/popover.module.mjs +4 -4
- package/esm2022/popup/index.mjs +2 -1
- package/esm2022/popup/lib/popup.component.mjs +49 -69
- package/esm2022/popup/lib/popup.interface.mjs +2 -0
- package/esm2022/popup/lib/popup.module.mjs +27 -12
- package/esm2022/popup/lib/popup.service.mjs +31 -86
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +9 -13
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
- package/esm2022/radio/lib/radio.component.mjs +4 -4
- package/esm2022/radio/lib/radio.module.mjs +4 -4
- package/esm2022/range-slider/lib/range-slider.component.mjs +3 -3
- package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
- package/esm2022/result/lib/result.component.mjs +3 -3
- package/esm2022/result/lib/result.module.mjs +4 -4
- package/esm2022/scheduler/acorex-components-scheduler.mjs +5 -0
- package/esm2022/scheduler/index.mjs +4 -0
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +45 -0
- package/esm2022/scheduler/lib/scheduler.component.mjs +30 -0
- package/esm2022/scheduler/lib/scheduler.module.mjs +26 -0
- package/esm2022/search-box/lib/search-box.component.mjs +35 -44
- package/esm2022/search-box/lib/search-box.module.mjs +28 -7
- package/esm2022/select-box/lib/select-box.component.mjs +11 -9
- package/esm2022/select-box/lib/select-box.module.mjs +7 -7
- package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
- package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
- package/esm2022/switch/lib/switch-content.component.mjs +3 -3
- package/esm2022/switch/lib/switch.component.mjs +4 -4
- package/esm2022/switch/lib/switch.module.mjs +4 -4
- package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
- package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
- package/esm2022/tabs/lib/tabs.component.mjs +3 -3
- package/esm2022/tabs/lib/tabs.module.mjs +4 -4
- package/esm2022/tag/lib/tag.component.mjs +3 -3
- package/esm2022/tag/lib/tag.module.mjs +4 -4
- package/esm2022/text-area/acorex-components-text-area.mjs +5 -0
- package/esm2022/text-area/index.mjs +3 -0
- package/esm2022/text-area/lib/text-area.component.mjs +36 -0
- package/esm2022/text-area/lib/text-area.module.mjs +19 -0
- package/esm2022/{checkbox/acorex-components-checkbox.mjs → text-box/acorex-components-text-box.mjs} +1 -1
- package/esm2022/text-box/index.mjs +4 -0
- package/esm2022/text-box/lib/mask-options.directive.mjs +17 -0
- package/esm2022/text-box/lib/text-box.component.mjs +111 -0
- package/esm2022/text-box/lib/text-box.module.mjs +38 -0
- package/esm2022/time-box/lib/time-box.component.mjs +5 -5
- package/esm2022/time-box/lib/time-box.module.mjs +4 -4
- package/esm2022/toast/index.mjs +2 -1
- package/esm2022/toast/lib/toast.class.mjs +1 -1
- package/esm2022/toast/lib/toast.component.mjs +37 -25
- package/esm2022/toast/lib/toast.config.mjs +25 -0
- package/esm2022/toast/lib/toast.module.mjs +16 -8
- package/esm2022/toast/lib/toast.service.mjs +46 -55
- package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
- package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
- package/esm2022/uploader/lib/uploader.component.mjs +3 -3
- package/esm2022/uploader/lib/uploader.module.mjs +4 -4
- package/fesm2022/acorex-components-action-sheet.mjs +99 -125
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +16 -18
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +10 -10
- package/fesm2022/acorex-components-badge.mjs +8 -8
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
- package/fesm2022/acorex-components-button.mjs +42 -24
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +17 -15
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +100 -0
- package/fesm2022/acorex-components-check-box.mjs.map +1 -0
- package/fesm2022/acorex-components-chips.mjs +7 -7
- package/fesm2022/acorex-components-collapse.mjs +10 -10
- package/fesm2022/acorex-components-color-palette.mjs +42 -36
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-color-picker.mjs +16 -10
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +155 -261
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +8 -8
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +214 -228
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +41 -71
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-date-picker.mjs +25 -22
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +80 -283
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +97 -88
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +30 -39
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +8 -8
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +80 -77
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +15 -19
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +21 -21
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +123 -178
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +29 -22
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-mixin.mjs +4 -22
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +131 -107
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +106 -96
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +40 -50
- package/fesm2022/acorex-components-otp.mjs.map +1 -1
- package/fesm2022/acorex-components-page.mjs +55 -56
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +41 -30
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +68 -29
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +107 -170
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +12 -16
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +8 -8
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +7 -7
- package/fesm2022/acorex-components-result.mjs +7 -7
- package/fesm2022/acorex-components-scheduler.mjs +98 -0
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -0
- package/fesm2022/acorex-components-search-box.mjs +61 -49
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +16 -14
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +8 -8
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +11 -11
- package/fesm2022/acorex-components-tabs.mjs +13 -13
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-text-area.mjs +59 -0
- package/fesm2022/acorex-components-text-area.mjs.map +1 -0
- package/fesm2022/{acorex-components-textbox.mjs → acorex-components-text-box.mjs} +20 -20
- package/fesm2022/acorex-components-text-box.mjs.map +1 -0
- package/fesm2022/acorex-components-time-box.mjs +8 -8
- package/fesm2022/acorex-components-time-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +126 -94
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +10 -10
- package/fesm2022/acorex-components-uploader.mjs +7 -7
- package/form/lib/form-field.component.d.ts +2 -4
- package/form/lib/form.component.d.ts +12 -17
- package/form/lib/validation-rule.widget.d.ts +9 -6
- package/form/lib/validation-summary.component.d.ts +7 -9
- package/image/lib/image.component.d.ts +7 -13
- package/label/lib/label.component.d.ts +4 -7
- package/loading/index.d.ts +1 -0
- package/loading/lib/loading.component.d.ts +9 -12
- package/loading/lib/loading.config.d.ts +8 -0
- package/loading/lib/loading.directive.d.ts +10 -17
- package/loading/lib/loading.module.d.ts +1 -2
- package/loading/lib/loading.service.d.ts +10 -33
- package/menu/lib/menu.component.d.ts +4 -2
- package/mixin/index.d.ts +0 -1
- 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 +2 -2
- package/mixin/lib/color-look-mixing.class.d.ts +3 -3
- package/mixin/lib/datalist-component.class.d.ts +10 -10
- package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
- package/mixin/lib/interactive-mixin.class.d.ts +4 -4
- package/mixin/lib/mixin.class.d.ts +61 -61
- package/mixin/lib/page-component.class.d.ts +2 -2
- package/mixin/lib/selection-component.class.d.ts +2 -2
- package/mixin/lib/sizable-mixin.class.d.ts +2 -2
- package/mixin/lib/textbox-mixin.class.d.ts +2 -2
- package/mixin/lib/value-mixin.class.d.ts +8 -8
- package/notification/index.d.ts +1 -0
- package/notification/lib/notification.class.d.ts +29 -7
- package/notification/lib/notification.component.d.ts +13 -14
- package/notification/lib/notification.config.d.ts +13 -0
- package/notification/lib/notification.module.d.ts +4 -1
- package/notification/lib/notification.service.d.ts +5 -9
- package/number-box/lib/number-box.component.d.ts +12 -17
- package/otp/lib/otp.component.d.ts +7 -14
- package/package.json +41 -38
- package/page/lib/base-page.class.d.ts +8 -12
- package/page/lib/page.component.d.ts +4 -4
- package/password-box/lib/password-box.component.d.ts +8 -11
- package/popover/lib/popover.component.d.ts +13 -5
- package/popup/index.d.ts +1 -0
- package/popup/lib/popup.component.d.ts +14 -19
- package/popup/lib/popup.interface.d.ts +26 -0
- package/popup/lib/popup.module.d.ts +4 -4
- package/popup/lib/popup.service.d.ts +4 -25
- package/progress-bar/lib/progress-bar.component.d.ts +3 -8
- package/scheduler/README.md +3 -0
- package/scheduler/index.d.ts +3 -0
- package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
- package/scheduler/lib/scheduler.component.d.ts +11 -0
- package/scheduler/lib/scheduler.module.d.ts +13 -0
- package/search-box/lib/search-box.component.d.ts +8 -16
- package/search-box/lib/search-box.module.d.ts +7 -5
- package/select-box/lib/select-box.module.d.ts +2 -2
- package/selection-list/lib/selection-list.module.d.ts +1 -1
- package/tabs/lib/tab-item.component.d.ts +2 -2
- package/text-area/README.md +3 -0
- package/text-area/index.d.ts +2 -0
- package/text-area/lib/text-area.component.d.ts +11 -0
- package/text-area/lib/text-area.module.d.ts +9 -0
- package/text-box/README.md +3 -0
- package/text-box/index.d.ts +3 -0
- package/{textbox/lib/textbox.component.d.ts → text-box/lib/text-box.component.d.ts} +1 -3
- package/{textbox/lib/textbox.module.d.ts → text-box/lib/text-box.module.d.ts} +1 -1
- package/time-box/lib/time-box.component.d.ts +1 -1
- package/toast/index.d.ts +1 -0
- package/toast/lib/toast.class.d.ts +14 -5
- package/toast/lib/toast.component.d.ts +13 -12
- package/toast/lib/toast.config.d.ts +12 -0
- package/toast/lib/toast.module.d.ts +4 -1
- package/toast/lib/toast.service.d.ts +5 -9
- package/action-sheet/lib/action-sheet.interface.d.ts +0 -21
- package/checkbox/README.md +0 -3
- package/checkbox/index.d.ts +0 -2
- package/checkbox/lib/checkbox.component.d.ts +0 -18
- package/common/lib/directives/debounce-time.directive.d.ts +0 -17
- package/common/lib/services/custom-cdk-overlay.service.d.ts +0 -19
- package/common/lib/services/overlay.service.d.ts +0 -34
- package/data-table/lib/data-column-cell-template.directive.d.ts +0 -8
- package/decorators/lib/content.component.d.ts +0 -9
- package/decorators/lib/divider.component.d.ts +0 -5
- package/decorators/lib/footer.component.d.ts +0 -9
- package/decorators/lib/form-hint.component.d.ts +0 -8
- package/decorators/lib/header.component.d.ts +0 -9
- package/decorators/lib/overlay.component.d.ts +0 -6
- package/decorators/lib/placeholder.component.d.ts +0 -5
- package/decorators/lib/prefix.component.d.ts +0 -9
- package/decorators/lib/sub-title.component.d.ts +0 -9
- package/decorators/lib/suffix.component.d.ts +0 -9
- package/decorators/lib/text.component.d.ts +0 -9
- package/decorators/lib/title.component.d.ts +0 -8
- package/esm2022/action-sheet/lib/action-sheet.interface.mjs +0 -2
- package/esm2022/checkbox/index.mjs +0 -3
- package/esm2022/checkbox/lib/checkbox.component.mjs +0 -65
- package/esm2022/checkbox/lib/checkbox.module.mjs +0 -21
- package/esm2022/common/lib/directives/debounce-time.directive.mjs +0 -48
- package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +0 -49
- package/esm2022/common/lib/services/overlay.service.mjs +0 -113
- package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +0 -17
- package/esm2022/decorators/lib/content.component.mjs +0 -26
- package/esm2022/decorators/lib/divider.component.mjs +0 -17
- package/esm2022/decorators/lib/footer.component.mjs +0 -26
- package/esm2022/decorators/lib/form-hint.component.mjs +0 -20
- package/esm2022/decorators/lib/header.component.mjs +0 -26
- package/esm2022/decorators/lib/overlay.component.mjs +0 -22
- package/esm2022/decorators/lib/placeholder.component.mjs +0 -14
- package/esm2022/decorators/lib/prefix.component.mjs +0 -26
- package/esm2022/decorators/lib/sub-title.component.mjs +0 -26
- package/esm2022/decorators/lib/suffix.component.mjs +0 -26
- package/esm2022/decorators/lib/text.component.mjs +0 -21
- package/esm2022/decorators/lib/title.component.mjs +0 -20
- package/esm2022/mixin/lib/loading-mixin.class.mjs +0 -18
- package/esm2022/textarea/acorex-components-textarea.mjs +0 -5
- package/esm2022/textarea/index.mjs +0 -3
- package/esm2022/textarea/lib/textarea.component.mjs +0 -37
- package/esm2022/textarea/lib/textarea.module.mjs +0 -19
- package/esm2022/textbox/acorex-components-textbox.mjs +0 -5
- package/esm2022/textbox/index.mjs +0 -4
- package/esm2022/textbox/lib/mask-options.directive.mjs +0 -17
- package/esm2022/textbox/lib/textbox.component.mjs +0 -111
- package/esm2022/textbox/lib/textbox.module.mjs +0 -38
- package/fesm2022/acorex-components-checkbox.mjs +0 -89
- package/fesm2022/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2022/acorex-components-textarea.mjs +0 -60
- package/fesm2022/acorex-components-textarea.mjs.map +0 -1
- package/fesm2022/acorex-components-textbox.mjs.map +0 -1
- package/mixin/lib/loading-mixin.class.d.ts +0 -40
- package/textarea/README.md +0 -3
- package/textarea/index.d.ts +0 -2
- package/textarea/lib/textarea.component.d.ts +0 -14
- package/textarea/lib/textarea.module.d.ts +0 -9
- package/textbox/README.md +0 -3
- package/textbox/index.d.ts +0 -3
- /package/{textbox → text-box}/lib/mask-options.directive.d.ts +0 -0
package/action-sheet/index.d.ts
CHANGED
@@ -0,0 +1,31 @@
|
|
1
|
+
import { AXStyleColorType } from '@acorex/components/common';
|
2
|
+
import { ComponentType } from '@angular/cdk/portal';
|
3
|
+
import { TemplateRef } from '@angular/core';
|
4
|
+
export interface AXActionSheetItem {
|
5
|
+
name?: string;
|
6
|
+
text: string;
|
7
|
+
icon?: string;
|
8
|
+
disabled?: boolean;
|
9
|
+
color?: AXStyleColorType;
|
10
|
+
onClick?: () => void;
|
11
|
+
}
|
12
|
+
export type AXActionSheetContentType = TemplateRef<unknown> | ComponentType<unknown>;
|
13
|
+
export interface AXActionSheetConfig {
|
14
|
+
title?: string;
|
15
|
+
subTitle?: string;
|
16
|
+
closeButton?: boolean;
|
17
|
+
header?: boolean;
|
18
|
+
data?: unknown;
|
19
|
+
closeOnBackdropClick?: boolean;
|
20
|
+
items?: AXActionSheetItem[];
|
21
|
+
content?: AXActionSheetContentType;
|
22
|
+
}
|
23
|
+
export interface AXActionSheetData {
|
24
|
+
title: string;
|
25
|
+
subTitle?: string;
|
26
|
+
closeButton?: boolean;
|
27
|
+
header: boolean;
|
28
|
+
data: unknown;
|
29
|
+
content?: AXActionSheetContentType;
|
30
|
+
items?: AXActionSheetItem[];
|
31
|
+
}
|
@@ -1,24 +1,23 @@
|
|
1
1
|
import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
|
2
2
|
import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
|
3
|
-
import {
|
4
|
-
import { AXActionSheetItem } from './action-sheet.
|
3
|
+
import { OnInit } from '@angular/core';
|
4
|
+
import { AXActionSheetData, AXActionSheetItem } from './action-sheet.class';
|
5
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
5
6
|
import * as i0 from "@angular/core";
|
6
7
|
export declare class AXActionSheetComponent extends MXBaseComponent implements OnInit {
|
8
|
+
protected data: AXActionSheetData;
|
9
|
+
private dialogRef;
|
7
10
|
protected _selectedPortal: Portal<any>;
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
showHeader: boolean;
|
14
|
-
data: unknown;
|
15
|
-
onClosed: EventEmitter<AXComponentCloseEvent>;
|
16
|
-
close(): void;
|
11
|
+
private _componentRef;
|
12
|
+
/**
|
13
|
+
* @ignore
|
14
|
+
*/
|
15
|
+
constructor(data: AXActionSheetData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
17
16
|
ngOnInit(): void;
|
18
17
|
protected onKeydownHandler(): void;
|
19
|
-
|
20
|
-
protected _handleCloseClick(): void;
|
18
|
+
_handleAttched(ref: CdkPortalOutletAttachedRef): void;
|
21
19
|
onItemClick(item: AXActionSheetItem): void;
|
20
|
+
close(): void;
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
|
23
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, {}, {}, never, never, false, never>;
|
24
23
|
}
|
@@ -7,8 +7,9 @@ import * as i5 from "@angular/cdk/a11y";
|
|
7
7
|
import * as i6 from "@acorex/components/button";
|
8
8
|
import * as i7 from "@angular/cdk/portal";
|
9
9
|
import * as i8 from "@acorex/components/decorators";
|
10
|
+
import * as i9 from "@angular/cdk/dialog";
|
10
11
|
export declare class AXActionSheetModule {
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, [typeof i1.AXActionSheetComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.PortalModule, typeof i8.AXDecoratorModule], [typeof i1.AXActionSheetComponent]>;
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, [typeof i1.AXActionSheetComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.PortalModule, typeof i8.AXDecoratorModule, typeof i9.DialogModule], [typeof i1.AXActionSheetComponent]>;
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXActionSheetModule>;
|
14
15
|
}
|
@@ -1,13 +1,9 @@
|
|
1
|
-
import { AXComponentClosedPromise
|
2
|
-
import {
|
3
|
-
import { AXActionSheetOptions } from './action-sheet.interface';
|
1
|
+
import { AXComponentClosedPromise } from '@acorex/components/common';
|
2
|
+
import { AXActionSheetConfig } from './action-sheet.class';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class AXActionSheetService {
|
6
|
-
private
|
7
|
-
|
8
|
-
constructor(_overlay: Overlay, overlayService: AXOverlayService);
|
9
|
-
open(options: AXActionSheetOptions): AXComponentClosedPromise;
|
10
|
-
private closePopup;
|
5
|
+
private dialog;
|
6
|
+
open(config: AXActionSheetConfig): AXComponentClosedPromise;
|
11
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetService, never>;
|
12
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXActionSheetService>;
|
13
9
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { EventEmitter } from '@angular/core';
|
1
|
+
import { AXEvent, MXColorComponent } from '@acorex/components/common';
|
2
|
+
import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
|
3
|
+
import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
declare const AXAlertComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXColorComponent]>;
|
6
6
|
/**
|
@@ -8,12 +8,12 @@ declare const AXAlertComponent_base: import("polytype").Polytype.ClusteredConstr
|
|
8
8
|
*
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
|
-
export declare class AXAlertComponent extends AXAlertComponent_base {
|
11
|
+
export declare class AXAlertComponent extends AXAlertComponent_base implements OnInit, AfterViewInit, OnDestroy {
|
12
12
|
private _iconComp;
|
13
13
|
private _buttonComps;
|
14
|
-
protected _titleComp:
|
15
|
-
protected _contentComp:
|
16
|
-
protected _footerComp:
|
14
|
+
protected _titleComp: AXDecoratorGenericComponent;
|
15
|
+
protected _contentComp: AXDecoratorGenericComponent;
|
16
|
+
protected _footerComp: AXDecoratorGenericComponent;
|
17
17
|
protected _showInline: boolean;
|
18
18
|
onClosed: EventEmitter<AXEvent>;
|
19
19
|
private _customIcon;
|
@@ -32,10 +32,10 @@ export declare class AXAlertComponent extends AXAlertComponent_base {
|
|
32
32
|
*/
|
33
33
|
get visible(): boolean;
|
34
34
|
set visible(v: boolean);
|
35
|
-
|
36
|
-
|
35
|
+
ngOnInit(): void;
|
36
|
+
ngAfterViewInit(): void;
|
37
37
|
private _setLayout;
|
38
|
-
protected _handleOnOptionChanged(
|
38
|
+
protected _handleOnOptionChanged(): void;
|
39
39
|
private _setIcon;
|
40
40
|
private _applyButtonStyle;
|
41
41
|
/**
|
@@ -4,9 +4,9 @@ import { AXClickEvent, AXItemClickEvent, AXSelectionMode, AXSelectionValueChange
|
|
4
4
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
7
|
-
"__#
|
7
|
+
"__#4805@#disabled": boolean;
|
8
8
|
disabled: boolean;
|
9
|
-
"__#
|
9
|
+
"__#4805@#tabIndex": number;
|
10
10
|
tabIndex: number;
|
11
11
|
onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
12
12
|
_emitOnFocusEvent(e: FocusEvent): void;
|
@@ -15,9 +15,9 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
15
15
|
focus(): void;
|
16
16
|
hasFocus(): boolean;
|
17
17
|
id: string;
|
18
|
-
"__#
|
18
|
+
"__#4802@#rtl": boolean;
|
19
19
|
rtl: boolean;
|
20
|
-
"__#
|
20
|
+
"__#4802@#elementRef": ElementRef<any>;
|
21
21
|
_cdr: ChangeDetectorRef;
|
22
22
|
_isInited: boolean;
|
23
23
|
_isRendered: boolean;
|
@@ -44,9 +44,9 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
|
|
44
44
|
_look?: import("@acorex/components/common").AXStyleLookType;
|
45
45
|
look: import("@acorex/components/common").AXStyleLookType;
|
46
46
|
id: string;
|
47
|
-
"__#
|
47
|
+
"__#4802@#rtl": boolean;
|
48
48
|
rtl: boolean;
|
49
|
-
"__#
|
49
|
+
"__#4802@#elementRef": ElementRef<any>;
|
50
50
|
_cdr: ChangeDetectorRef;
|
51
51
|
_isInited: boolean;
|
52
52
|
_isRendered: boolean;
|
@@ -12,12 +12,16 @@ export interface AXClickItemBase {
|
|
12
12
|
selected?: boolean;
|
13
13
|
seperated?: boolean;
|
14
14
|
name?: string;
|
15
|
-
data?:
|
16
|
-
onClick?: (
|
15
|
+
data?: unknown;
|
16
|
+
onClick?: (e?: {
|
17
|
+
source: AXButtonItem;
|
18
|
+
handled?: boolean;
|
19
|
+
}) => void;
|
17
20
|
hotkey?: string | AXHotKeyAction;
|
18
21
|
}
|
19
22
|
export interface AXButtonItem extends AXClickItemBase {
|
20
23
|
type?: AXButtonType;
|
24
|
+
loading?: boolean;
|
21
25
|
autofocus?: boolean;
|
22
26
|
}
|
23
27
|
export interface AXMenuItem extends AXClickItemBase {
|
@@ -3,9 +3,9 @@ import { AXStyleColorType } from '@acorex/components/common';
|
|
3
3
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
6
|
-
"__#
|
6
|
+
"__#4805@#disabled": boolean;
|
7
7
|
disabled: boolean;
|
8
|
-
"__#
|
8
|
+
"__#4805@#tabIndex": number;
|
9
9
|
tabIndex: number;
|
10
10
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
11
11
|
_emitOnFocusEvent(e: FocusEvent): void;
|
@@ -14,9 +14,9 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
14
14
|
focus(): void;
|
15
15
|
hasFocus(): boolean;
|
16
16
|
id: string;
|
17
|
-
"__#
|
17
|
+
"__#4802@#rtl": boolean;
|
18
18
|
rtl: boolean;
|
19
|
-
"__#
|
19
|
+
"__#4802@#elementRef": ElementRef<any>;
|
20
20
|
_cdr: ChangeDetectorRef;
|
21
21
|
_isInited: boolean;
|
22
22
|
_isRendered: boolean;
|
@@ -39,9 +39,9 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
39
39
|
onClick: import("@angular/core").EventEmitter<import("@acorex/components/common").AXClickEvent>;
|
40
40
|
_emitOnClickEvent(e: MouseEvent): void;
|
41
41
|
id: string;
|
42
|
-
"__#
|
42
|
+
"__#4802@#rtl": boolean;
|
43
43
|
rtl: boolean;
|
44
|
-
"__#
|
44
|
+
"__#4802@#elementRef": ElementRef<any>;
|
45
45
|
_cdr: ChangeDetectorRef;
|
46
46
|
_isInited: boolean;
|
47
47
|
_isRendered: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
2
1
|
import { AXClickEvent, MXButtonBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
3
3
|
import { AXButtonType } from './button-item.class';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
/**
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
7
7
|
*
|
8
8
|
* @category Components
|
9
9
|
*/
|
10
|
-
export declare class AXButtonComponent extends MXButtonBaseComponent {
|
10
|
+
export declare class AXButtonComponent extends MXButtonBaseComponent implements AfterViewInit {
|
11
11
|
/**
|
12
12
|
* Fires each time the user clicks the button.
|
13
13
|
* @event
|
@@ -15,9 +15,11 @@ export declare class AXButtonComponent extends MXButtonBaseComponent {
|
|
15
15
|
onClick: EventEmitter<AXClickEvent>;
|
16
16
|
type: AXButtonType;
|
17
17
|
ngAfterViewInit(): void;
|
18
|
-
|
18
|
+
private getButton;
|
19
|
+
_handleClick(e: MouseEvent): void;
|
19
20
|
click(): void;
|
20
21
|
private get __hostClass();
|
22
|
+
focus(): void;
|
21
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
22
24
|
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"; }, never, ["ax-prefix, ax-loading, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel"], false, never>;
|
23
25
|
}
|
@@ -42,6 +42,6 @@ export declare class AXCalendarComponent extends AXCalendarComponent_base {
|
|
42
42
|
protected isHoliday(date: AXDateTime): boolean;
|
43
43
|
protected isWeekend(date: AXDateTime): boolean;
|
44
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], false, never>;
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], false, never>;
|
46
46
|
}
|
47
47
|
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { MXValueComponent } from '@acorex/components/common';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXCheckBoxComponent extends MXValueComponent<boolean | null> {
|
4
|
+
private _labels;
|
5
|
+
indeterminate: boolean;
|
6
|
+
protected _stateIndeterminate: boolean;
|
7
|
+
protected internalGetValue(value: any): boolean | null;
|
8
|
+
internalSetValue(value: boolean | null): boolean;
|
9
|
+
ngAfterViewChecked(): void;
|
10
|
+
private _handleClick;
|
11
|
+
protected _handleModelChange(value: boolean | null): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
|
14
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { AXUnsubscriber } from '@acorex/core/utils';
|
2
2
|
import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
|
3
3
|
import { AXColorPaletteParentComponent } from './color-palette.class';
|
4
|
-
import { AXMaskOptions } from '@acorex/components/
|
4
|
+
import { AXMaskOptions } from '@acorex/components/text-box';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export declare class AXColorPaletteInputComponent extends MXBaseComponent {
|
7
7
|
_parent: AXColorPaletteParentComponent;
|
@@ -6,7 +6,7 @@ import * as i4 from "./color-palette-input.component";
|
|
6
6
|
import * as i5 from "./color-palette-picker.component";
|
7
7
|
import * as i6 from "@angular/common";
|
8
8
|
import * as i7 from "@angular/forms";
|
9
|
-
import * as i8 from "@acorex/components/
|
9
|
+
import * as i8 from "@acorex/components/text-box";
|
10
10
|
import * as i9 from "@acorex/components/label";
|
11
11
|
import * as i10 from "@acorex/components/button";
|
12
12
|
import * as i11 from "@acorex/components/decorators";
|
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
|
|
6
6
|
import { AXBaseComponent } from '@acorex/components/mixin';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
9
|
-
"__#
|
9
|
+
"__#4805@#disabled": boolean;
|
10
10
|
disabled: boolean;
|
11
|
-
"__#
|
11
|
+
"__#4805@#tabIndex": number;
|
12
12
|
tabIndex: number;
|
13
13
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
14
14
|
_emitOnFocusEvent(e: FocusEvent): void;
|
@@ -17,9 +17,9 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
17
17
|
focus(): void;
|
18
18
|
hasFocus(): boolean;
|
19
19
|
id: string;
|
20
|
-
"__#
|
20
|
+
"__#4802@#rtl": boolean;
|
21
21
|
rtl: boolean;
|
22
|
-
"__#
|
22
|
+
"__#4802@#elementRef": ElementRef<any>;
|
23
23
|
_cdr: ChangeDetectorRef;
|
24
24
|
_isInited: boolean;
|
25
25
|
_isRendered: boolean;
|
@@ -49,18 +49,13 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
49
49
|
onInit(): void;
|
50
50
|
onViewInit(): void;
|
51
51
|
toggle(): void;
|
52
|
-
/**
|
53
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
54
|
-
*
|
55
|
-
* @category Components
|
56
|
-
*/
|
57
52
|
close(): void;
|
58
53
|
open(): void;
|
59
54
|
readonly isOpen: boolean;
|
60
55
|
id: string;
|
61
|
-
"__#
|
56
|
+
"__#4802@#rtl": boolean;
|
62
57
|
rtl: boolean;
|
63
|
-
"__#
|
58
|
+
"__#4802@#elementRef": ElementRef<any>;
|
64
59
|
_cdr: ChangeDetectorRef;
|
65
60
|
_isInited: boolean;
|
66
61
|
_isRendered: boolean;
|
@@ -81,17 +76,17 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
81
76
|
onValueChanged: import("@angular/core").EventEmitter<AXValueChangedEvent<any>>;
|
82
77
|
valueChange: import("@angular/core").EventEmitter<any>;
|
83
78
|
stateChange: import("@angular/core").EventEmitter<import("@acorex/components/mixin").AXComponentState>;
|
84
|
-
"__#
|
79
|
+
"__#4806@#readonly": boolean;
|
85
80
|
readonly: boolean;
|
86
|
-
"__#
|
81
|
+
"__#4806@#allowNull": boolean;
|
87
82
|
allowNull: boolean;
|
88
|
-
"__#
|
83
|
+
"__#4806@#name": string;
|
89
84
|
name: string;
|
90
|
-
"__#
|
85
|
+
"__#4806@#isUserInteraction": boolean;
|
91
86
|
readonly isUserInteraction: boolean;
|
92
|
-
"__#
|
87
|
+
"__#4806@#value": any;
|
93
88
|
value: any;
|
94
|
-
"__#
|
89
|
+
"__#4806@#state": import("@acorex/components/mixin").AXComponentState;
|
95
90
|
state: import("@acorex/components/mixin").AXComponentState;
|
96
91
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
97
92
|
_internalSetValue(value: any): any;
|
@@ -109,14 +104,12 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
109
104
|
validate(): Promise<any>;
|
110
105
|
_setState(state: import("@acorex/components/mixin").AXComponentState, ...args: any[]): void;
|
111
106
|
id: string;
|
112
|
-
"__#
|
107
|
+
"__#4802@#rtl": boolean;
|
113
108
|
rtl: boolean;
|
114
|
-
"__#
|
109
|
+
"__#4802@#elementRef": ElementRef<any>;
|
115
110
|
_cdr: ChangeDetectorRef;
|
116
111
|
_isInited: boolean;
|
117
|
-
_isRendered: boolean;
|
118
|
-
* @ignore
|
119
|
-
*/
|
112
|
+
_isRendered: boolean;
|
120
113
|
ngOnInit(): void;
|
121
114
|
ngAfterViewInit(): void;
|
122
115
|
ngOnDestroy(): void;
|
@@ -141,9 +134,9 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
|
|
141
134
|
_emitOnKeyupEvent(e: KeyboardEvent): void;
|
142
135
|
_emitOnKeypressEvent(e: KeyboardEvent): void;
|
143
136
|
id: string;
|
144
|
-
"__#
|
137
|
+
"__#4802@#rtl": boolean;
|
145
138
|
rtl: boolean;
|
146
|
-
"__#
|
139
|
+
"__#4802@#elementRef": ElementRef<any>;
|
147
140
|
_cdr: ChangeDetectorRef;
|
148
141
|
_isInited: boolean;
|
149
142
|
_isRendered: boolean;
|
@@ -9,7 +9,7 @@ import * as i7 from "@acorex/components/button";
|
|
9
9
|
import * as i8 from "@angular/cdk/a11y";
|
10
10
|
import * as i9 from "@acorex/components/loading";
|
11
11
|
import * as i10 from "@acorex/core/translation";
|
12
|
-
import * as i11 from "@acorex/components/
|
12
|
+
import * as i11 from "@acorex/components/text-box";
|
13
13
|
import * as i12 from "@acorex/components/color-palette";
|
14
14
|
export declare class AXColorPickerModule {
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPickerModule, never>;
|
package/common/index.d.ts
CHANGED
@@ -3,6 +3,7 @@ export * from './lib/classes/data.class';
|
|
3
3
|
export * from './lib/classes/drawing.class';
|
4
4
|
export * from './lib/classes/events.class';
|
5
5
|
export * from './lib/classes/styles.class';
|
6
|
+
export * from './lib/classes/datalist.class';
|
6
7
|
export * from './lib/common.module';
|
7
8
|
export * from './lib/components/base-component.class';
|
8
9
|
export * from './lib/components/button-base-component.class';
|
@@ -14,10 +15,9 @@ export * from './lib/components/value-component.class';
|
|
14
15
|
export * from './lib/components/input-base-value-component.class';
|
15
16
|
export * from './lib/constant/positions';
|
16
17
|
export * from './lib/directives/auto-focus.directive';
|
17
|
-
export * from './lib/directives/
|
18
|
+
export * from './lib/directives/delayed-value-changed.directive';
|
18
19
|
export * from './lib/directives/hotkey.directive';
|
19
20
|
export * from './lib/directives/infinite-scroll.directive';
|
20
21
|
export * from './lib/directives/responsive.directive';
|
21
|
-
export * from './lib/services/custom-cdk-overlay.service';
|
22
22
|
export * from './lib/services/hotkey.service';
|
23
|
-
export * from './lib/services/
|
23
|
+
export * from './lib/services/dom.service';
|
@@ -30,15 +30,24 @@ export declare abstract class AXClosbaleComponent extends AXComponent {
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClosbaleComponent, never>;
|
31
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXClosbaleComponent>;
|
32
32
|
}
|
33
|
+
export declare abstract class AXClearableComponent extends AXComponent {
|
34
|
+
abstract clear(u: boolean): void;
|
35
|
+
abstract get readonly(): boolean;
|
36
|
+
abstract get disabled(): boolean;
|
37
|
+
abstract get value(): unknown;
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXClearableComponent, never>;
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXClearableComponent>;
|
40
|
+
}
|
33
41
|
export declare abstract class AXSearchableComponent extends AXComponent {
|
34
42
|
abstract search(value: string): void;
|
35
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchableComponent, never>;
|
36
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXSearchableComponent>;
|
37
45
|
}
|
38
46
|
export declare abstract class AXValuableComponent extends AXComponent {
|
39
|
-
abstract get
|
40
|
-
abstract
|
41
|
-
abstract
|
47
|
+
abstract get name(): string;
|
48
|
+
abstract get value(): unknown;
|
49
|
+
abstract onValueChanged: EventEmitter<AXValueChangedEvent<unknown>>;
|
50
|
+
abstract commitValue(value: unknown, u: boolean): any;
|
42
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
|
43
52
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXValuableComponent>;
|
44
53
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface AXDataListQuery {
|
2
|
+
take?: number;
|
3
|
+
skip?: number;
|
4
|
+
searchQuery?: string;
|
5
|
+
}
|
6
|
+
export interface AXDataListFetchCallbackResult {
|
7
|
+
items: any[];
|
8
|
+
total: number;
|
9
|
+
}
|
10
|
+
export type AXDataListFetchDataCallback = (e: AXDataListQuery) => Promise<any[] | AXDataListFetchCallbackResult>;
|
11
|
+
export type AXDataListItems = any[] | AXDataListFetchDataCallback;
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./directives/responsive.directive";
|
3
3
|
import * as i2 from "./directives/infinite-scroll.directive";
|
4
|
-
import * as i3 from "./directives/
|
5
|
-
import * as i4 from "./directives/
|
6
|
-
import * as i5 from "./directives/hotkey.directive";
|
4
|
+
import * as i3 from "./directives/auto-focus.directive";
|
5
|
+
import * as i4 from "./directives/hotkey.directive";
|
7
6
|
export declare class AXCommonModule {
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCommonModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCommonModule, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective], never, [typeof i1.AXResponsiveDirective, typeof i2.AXInfiniteScrollerDirective, typeof i3.AXAutoFocusDirective, typeof i4.AXHotkeyDirective]>;
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXCommonModule>;
|
11
10
|
}
|
@@ -14,18 +14,24 @@ export type MXComponentSetOption<T> = {
|
|
14
14
|
};
|
15
15
|
export type AXComponentState = 'clear' | 'success' | 'error';
|
16
16
|
export declare abstract class MXBaseComponent {
|
17
|
-
id: string;
|
18
17
|
private _cdr;
|
19
18
|
private _elementRef;
|
20
19
|
private _viewRef;
|
20
|
+
private _domService;
|
21
|
+
private _id;
|
22
|
+
get id(): string;
|
23
|
+
set id(v: string);
|
21
24
|
protected get cdr(): ChangeDetectorRef;
|
22
25
|
getHostElement<T = HTMLElement>(): T;
|
23
26
|
protected getViewContainer(): ViewContainerRef;
|
24
27
|
protected internalOptionChanging(option: MXComponentOptionChanging): any;
|
25
28
|
protected internalOptionChanged(option: MXComponentOptionChanged): void;
|
26
|
-
|
29
|
+
/**
|
30
|
+
* @ignore
|
31
|
+
*/
|
32
|
+
constructor();
|
27
33
|
onOptionChanged: EventEmitter<AXOptionChangedEvent>;
|
28
|
-
|
34
|
+
setOption<T = any>(option: MXComponentSetOption<T>): void;
|
29
35
|
private _rtl;
|
30
36
|
get rtl(): boolean;
|
31
37
|
set rtl(value: boolean);
|
@@ -3,6 +3,7 @@ import { MXValueComponent } from "./value-component.class";
|
|
3
3
|
import { AXHtmlEvent } from "../classes/events.class";
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T> {
|
6
|
+
placeholder: string;
|
6
7
|
/**
|
7
8
|
* Fires each time the user press a key.
|
8
9
|
* @event
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { AXValueChangedEvent } from '../classes/events.class';
|
2
4
|
import { AXComponentState } from './base-component.class';
|
3
5
|
import { MXInteractiveComponent } from './interactive-component.class';
|
4
|
-
import { AXValueChangedEvent } from '../classes/events.class';
|
5
|
-
import { ControlValueAccessor } from '@angular/forms';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
export declare class MXValueComponent<T = any> extends MXInteractiveComponent implements ControlValueAccessor {
|
8
8
|
/**
|
@@ -10,6 +10,9 @@ export declare class MXValueComponent<T = any> extends MXInteractiveComponent im
|
|
10
10
|
* @event
|
11
11
|
*/
|
12
12
|
onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
13
|
+
/**
|
14
|
+
* @deprecated The event should not be used, use ngModelChange instead
|
15
|
+
*/
|
13
16
|
valueChange: EventEmitter<any>;
|
14
17
|
stateChange: EventEmitter<AXComponentState>;
|
15
18
|
readonlyChange: EventEmitter<boolean>;
|
@@ -29,6 +32,9 @@ export declare class MXValueComponent<T = any> extends MXInteractiveComponent im
|
|
29
32
|
initValue: T;
|
30
33
|
defaultValue: T;
|
31
34
|
private _value;
|
35
|
+
/**
|
36
|
+
* @deprecated The property should not be used, use ngModel instead
|
37
|
+
*/
|
32
38
|
get value(): T;
|
33
39
|
set value(v: T);
|
34
40
|
private _state;
|
@@ -48,6 +54,7 @@ export declare class MXValueComponent<T = any> extends MXInteractiveComponent im
|
|
48
54
|
registerOnChange(fn: (value: T) => void): void;
|
49
55
|
writeValue(value: T): void;
|
50
56
|
commitValue(value: T, u?: boolean): void;
|
57
|
+
clear(e: boolean): void;
|
51
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
52
59
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
53
60
|
}
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import {
|
1
|
+
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
2
2
|
import { AXFocusableComponent } from '../classes/components.class';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXAutoFocusDirective implements
|
4
|
+
export declare class AXAutoFocusDirective implements AfterViewInit {
|
5
|
+
private renderer;
|
5
6
|
private el;
|
6
7
|
_host: AXFocusableComponent;
|
7
8
|
autoFocus?: boolean;
|
8
|
-
constructor(el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
9
|
+
constructor(renderer: Renderer2, el: ElementRef<HTMLElement>, _host: AXFocusableComponent);
|
9
10
|
time: number;
|
10
|
-
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, [null, { optional: true; host: true; self: true; }]>;
|
11
|
+
ngAfterViewInit(): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutoFocusDirective, [null, null, { optional: true; host: true; self: true; }]>;
|
12
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXAutoFocusDirective, "[axAutoFocus]", never, { "autoFocus": { "alias": "axAutoFocus"; "required": false; }; "time": { "alias": "focus-time"; "required": false; }; }, {}, never, never, false, never>;
|
13
14
|
}
|