@acorex/components 7.2.8 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/index.d.ts +1 -1
- package/action-sheet/lib/action-sheet.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 +2 -1
- 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 +34 -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 +3 -2
- 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/custom-cdk-overlay.service.mjs +6 -6
- package/esm2022/common/lib/services/dom.service.mjs +16 -0
- package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
- package/esm2022/common/lib/services/overlay.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 +4 -4
- 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 +4 -4
- package/esm2022/loading/lib/loading.module.mjs +6 -17
- package/esm2022/loading/lib/loading.service.mjs +4 -36
- package/esm2022/menu/lib/menu.component.mjs +26 -19
- package/esm2022/menu/lib/menu.module.mjs +4 -4
- 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 +6 -6
- package/esm2022/page/lib/page.component.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +19 -0
- package/esm2022/toast/lib/toast.module.mjs +12 -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 +41 -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 +169 -125
- 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 +7 -7
- 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 +51 -83
- 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 +3 -3
- 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 +12 -12
- 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 +10 -10
- package/fesm2022/acorex-components-popup.mjs +107 -170
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- 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 +116 -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 +5 -5
- package/loading/lib/loading.module.d.ts +0 -1
- package/loading/lib/loading.service.d.ts +0 -18
- package/menu/lib/menu.component.d.ts +4 -2
- 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/loading-mixin.class.d.ts +2 -2
- 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 +46 -40
- package/page/lib/base-page.class.d.ts +2 -2
- package/password-box/lib/password-box.component.d.ts +8 -11
- 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/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/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/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/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/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
@@ -14,14 +14,12 @@ export declare class AXTextBoxComponent extends MXInputBaseValueComponent<string
|
|
14
14
|
get maskOptions(): AXMaskOptions;
|
15
15
|
set maskOptions(value: AXMaskOptions);
|
16
16
|
maxLength: number;
|
17
|
-
placeholder: string;
|
18
17
|
type: string;
|
19
18
|
autoComplete: string;
|
20
19
|
protected _maskOptionsContent: AXMaskOptionsDirective;
|
21
20
|
ngAfterContentInit(): void;
|
22
|
-
focus(): void;
|
23
21
|
private _onComplete;
|
24
22
|
protected _handleModelChange(value: string | null): void;
|
25
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "maskOptions": { "alias": "mask-options"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "maskOptions": { "alias": "mask-options"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
27
25
|
}
|
@@ -46,5 +46,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
|
|
46
46
|
_handleOnInputClickEvent(e: MouseEvent): void;
|
47
47
|
private _highlightPart;
|
48
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
|
50
50
|
}
|
package/toast/index.d.ts
CHANGED
@@ -1,14 +1,23 @@
|
|
1
1
|
import { AXLocation, AXStyleColorType } from "@acorex/components/common";
|
2
|
-
|
3
|
-
export interface AXToastOptions {
|
4
|
-
timeOut?: number | any;
|
2
|
+
export interface AXToastDisplayConfig {
|
5
3
|
icon?: string;
|
6
4
|
title?: string;
|
7
5
|
content?: string;
|
8
|
-
|
6
|
+
closeButton?: boolean;
|
9
7
|
location?: AXLocation;
|
10
8
|
color: AXStyleColorType;
|
11
|
-
|
9
|
+
timeOut?: number;
|
10
|
+
timeOutProgress?: boolean;
|
11
|
+
}
|
12
|
+
export interface AXToastData {
|
13
|
+
icon?: string;
|
14
|
+
title?: string;
|
15
|
+
content?: string;
|
16
|
+
location: AXLocation;
|
17
|
+
closeButton: boolean;
|
18
|
+
color: AXStyleColorType;
|
19
|
+
timeOut?: number;
|
20
|
+
timeOutProgress: boolean;
|
12
21
|
}
|
13
22
|
export interface AXToastRef {
|
14
23
|
close(): void;
|
@@ -1,25 +1,26 @@
|
|
1
|
+
import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
|
1
2
|
import { AXButtonItem } from '@acorex/components/button';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
3
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
4
|
+
import { AXToastData } from './toast.class';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
/**
|
7
7
|
* The Button is a component which detects user interaction and triggers a corresponding event
|
8
8
|
*
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
|
-
export declare class AXToastComponent extends
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
export declare class AXToastComponent extends MXBaseComponent {
|
12
|
+
config: AXToastData;
|
13
|
+
private dialogRef;
|
14
|
+
protected _toastWidth: number;
|
15
|
+
protected _icon: string;
|
16
16
|
/**
|
17
|
-
|
18
|
-
|
19
|
-
constructor(
|
20
|
-
|
17
|
+
* @ignore
|
18
|
+
*/
|
19
|
+
constructor(config: AXToastData, dialogRef: DialogRef<AXComponentCloseEvent>);
|
20
|
+
ngOnInit(): void;
|
21
21
|
_handleButtonClick(button: AXButtonItem): void;
|
22
22
|
private get __hostClass();
|
23
|
+
close(): void;
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
|
24
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, false, never>;
|
25
26
|
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
import { AXLocation } from '@acorex/components/common';
|
3
|
+
export interface AXToastConfig {
|
4
|
+
gap: number;
|
5
|
+
timeOut: number;
|
6
|
+
timeOutProgress: boolean;
|
7
|
+
location: AXLocation;
|
8
|
+
}
|
9
|
+
export declare const AX_TOAST_CONFIG: InjectionToken<AXToastConfig>;
|
10
|
+
export declare const AXToastDefaultConfig: AXToastConfig;
|
11
|
+
export type PartialToastConfig = Partial<AXToastConfig>;
|
12
|
+
export declare function toastConfig(config?: PartialToastConfig): AXToastConfig;
|
@@ -2,8 +2,11 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./toast.component";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "@acorex/components/button";
|
5
|
+
import * as i4 from "@acorex/components/decorators";
|
6
|
+
import * as i5 from "@acorex/components/loading";
|
7
|
+
import * as i6 from "@angular/cdk/dialog";
|
5
8
|
export declare class AXToastModule {
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule], [typeof i1.AXToastComponent]>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.AXLoadingModule, typeof i6.DialogModule], [typeof i1.AXToastComponent]>;
|
8
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXToastModule>;
|
9
12
|
}
|
@@ -1,20 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
import { Injector } from '@angular/core';
|
3
|
-
import { AXToastOptions, AXToastRef } from './toast.class';
|
1
|
+
import { AXToastDisplayConfig, AXToastRef } from './toast.class';
|
4
2
|
import * as i0 from "@angular/core";
|
5
3
|
export declare class AXToastService {
|
6
|
-
private
|
7
|
-
private
|
8
|
-
private readonly _defaults;
|
9
|
-
constructor(overlayService: Overlay, parentInjector: Injector);
|
10
|
-
private _activeList;
|
4
|
+
private dialog;
|
5
|
+
private defaultConfig;
|
11
6
|
primary(content: string): void;
|
12
7
|
secondary(content: string): void;
|
13
8
|
success(content: string): void;
|
14
9
|
warning(content: string): void;
|
15
10
|
danger(content: string): void;
|
16
|
-
show(
|
11
|
+
show(config: AXToastDisplayConfig): AXToastRef;
|
17
12
|
hideAll(): void;
|
13
|
+
private reposition;
|
18
14
|
private getPosition;
|
19
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXToastService, never>;
|
20
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXToastService>;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { AXStyleColorType } from '@acorex/components/common';
|
2
|
-
import { TemplateRef } from '@angular/core';
|
3
|
-
export interface AXActionSheetItem {
|
4
|
-
name?: string;
|
5
|
-
text: string;
|
6
|
-
icon?: string;
|
7
|
-
disabled?: boolean;
|
8
|
-
color?: AXStyleColorType;
|
9
|
-
onClick?: () => void;
|
10
|
-
}
|
11
|
-
export type AXActionSheetContentType = TemplateRef<any> | Function;
|
12
|
-
export interface AXActionSheetOptions {
|
13
|
-
title?: string;
|
14
|
-
subTitle?: string;
|
15
|
-
showCloseButton?: boolean;
|
16
|
-
closeOnBackdrop?: boolean;
|
17
|
-
showHeader?: boolean;
|
18
|
-
items?: AXActionSheetItem[];
|
19
|
-
content?: AXActionSheetContentType;
|
20
|
-
data?: unknown;
|
21
|
-
}
|
package/checkbox/README.md
DELETED
package/checkbox/index.d.ts
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
declare const AXCheckBoxComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
|
4
|
-
new (): MXValueComponent<boolean>;
|
5
|
-
ɵfac: unknown;
|
6
|
-
ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
7
|
-
}, typeof MXInteractiveComponent]>;
|
8
|
-
export declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
|
9
|
-
indeterminate: boolean;
|
10
|
-
protected _stateIndeterminate: boolean;
|
11
|
-
protected internalGetValue(value: any): boolean | null;
|
12
|
-
internalSetValue(value: boolean | null): boolean;
|
13
|
-
protected _handleOnClickEvent(e: MouseEvent): boolean;
|
14
|
-
protected _handleModelChange(value: boolean | null): void;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["*", "ax-form-hint", "ax-validation-rule"], false, never>;
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { EventEmitter, OnDestroy } from "@angular/core";
|
2
|
-
import { NgModel } from "@angular/forms";
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXNgModelChangeDebouncedDirective implements OnDestroy {
|
5
|
-
private ngModel;
|
6
|
-
ngModelChangeDebounced: EventEmitter<any>;
|
7
|
-
ngModelChangeDebounceTimeChange: EventEmitter<number>;
|
8
|
-
private _ngModelChangeDebounceTime;
|
9
|
-
get ngModelChangeDebounceTime(): number;
|
10
|
-
set ngModelChangeDebounceTime(v: number);
|
11
|
-
private subscription;
|
12
|
-
ngOnDestroy(): void;
|
13
|
-
constructor(ngModel: NgModel);
|
14
|
-
private update;
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXNgModelChangeDebouncedDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelChangeDebouncedDirective, "[ngModelChangeDebounced]", never, { "ngModelChangeDebounceTime": { "alias": "ngModelChangeDebounceTime"; "required": false; }; }, { "ngModelChangeDebounced": "ngModelChangeDebounced"; "ngModelChangeDebounceTimeChange": "ngModelChangeDebounceTimeChange"; }, never, never, false, never>;
|
17
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class AXDataColumnCellTemplateDirective {
|
4
|
-
_contentTemplate: TemplateRef<any>;
|
5
|
-
get template(): TemplateRef<any>;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDataColumnCellTemplateDirective, never>;
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXDataColumnCellTemplateDirective, "ax-data-column-cell-template", never, {}, {}, ["_contentTemplate"], never, false, never>;
|
8
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorContentComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorContentComponent, "ax-content", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXDecoratorDividerComponent {
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorDividerComponent, never>;
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorDividerComponent, "ax-divider", never, {}, {}, never, ["*"], true, never>;
|
5
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorFooterComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorFooterComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFooterComponent, "ax-footer", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorFormHintComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorFormHintComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFormHintComponent, "ax-form-hint", never, {}, {}, never, ["*"], false, never>;
|
8
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorHeaderComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorHeaderComponent, "ax-header", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXDecoratorOverlayComponent {
|
3
|
-
displayMode: 'hover' | 'always';
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorOverlayComponent, never>;
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorOverlayComponent, "ax-overlay", never, { "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, ["*"], false, never>;
|
6
|
-
}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
export declare class AXDecoratorPlaceholderComponent {
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPlaceholderComponent, never>;
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPlaceholderComponent, "ax-placeholder", never, {}, {}, never, ["*"], false, never>;
|
5
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorSubTitleComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSubTitleComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSubTitleComponent, "ax-sub-title", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
6
|
-
private get hostClass();
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorTextComponent extends AXBaseComponentMixin {
|
5
|
-
content: string;
|
6
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorTextComponent, never>;
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorTextComponent, "ax-text", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], false, never>;
|
9
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export declare class AXDecoratorTitleComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorTitleComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorTitleComponent, "ax-title", never, {}, {}, never, ["*"], false, never>;
|
8
|
-
}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2xpYi9hY3Rpb24tc2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|
|
1
|
-
export * from './lib/checkbox.component';
|
2
|
-
export * from './lib/checkbox.module';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY2hlY2tib3gvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NoZWNrYm94LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jaGVja2JveC5tb2R1bGUnO1xuIl19
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import { MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, forwardRef } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { classes } from 'polytype';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@angular/forms";
|
7
|
-
export class AXCheckBoxComponent extends classes((MXValueComponent), MXInteractiveComponent) {
|
8
|
-
constructor() {
|
9
|
-
super(...arguments);
|
10
|
-
this.indeterminate = false;
|
11
|
-
this._stateIndeterminate = false;
|
12
|
-
}
|
13
|
-
internalGetValue(value) {
|
14
|
-
if (!this.indeterminate && value == null) {
|
15
|
-
return false;
|
16
|
-
}
|
17
|
-
return value;
|
18
|
-
}
|
19
|
-
internalSetValue(value) {
|
20
|
-
if (this.indeterminate && value == null) {
|
21
|
-
this._stateIndeterminate = true;
|
22
|
-
return null;
|
23
|
-
}
|
24
|
-
else if (!this.indeterminate && value == null) {
|
25
|
-
this._stateIndeterminate = false;
|
26
|
-
return false;
|
27
|
-
}
|
28
|
-
else {
|
29
|
-
this._stateIndeterminate = false;
|
30
|
-
return value == true ? true : false;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
_handleOnClickEvent(e) {
|
34
|
-
if (this.readonly || this.disabled) {
|
35
|
-
e.preventDefault();
|
36
|
-
e.stopPropagation();
|
37
|
-
return false;
|
38
|
-
}
|
39
|
-
return true;
|
40
|
-
}
|
41
|
-
_handleModelChange(value) {
|
42
|
-
this.commitValue(value, true);
|
43
|
-
}
|
44
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked", indeterminate: "indeterminate" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, providers: [
|
46
|
-
{
|
47
|
-
provide: NG_VALUE_ACCESSOR,
|
48
|
-
useExisting: forwardRef(() => AXCheckBoxComponent),
|
49
|
-
multi: true
|
50
|
-
}
|
51
|
-
], usesInheritance: true, ngImport: i0, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \n [indeterminate]=\"_stateIndeterminate\" [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</label>\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
52
|
-
}
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
|
54
|
-
type: Component,
|
55
|
-
args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'allowNull', 'value', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
56
|
-
{
|
57
|
-
provide: NG_VALUE_ACCESSOR,
|
58
|
-
useExisting: forwardRef(() => AXCheckBoxComponent),
|
59
|
-
multi: true
|
60
|
-
}
|
61
|
-
], template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \n [indeterminate]=\"_stateIndeterminate\" [ngModel]=\"value\"\n (ngModelChange)=\"_handleModelChange($event)\"\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\n (click)=\"_handleOnClickEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</label>\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"] }]
|
62
|
-
}], propDecorators: { indeterminate: [{
|
63
|
-
type: Input
|
64
|
-
}] } });
|
65
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDckYsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLEtBQUssRUFDTCxVQUFVLEVBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFL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RhYkluZGV4XCJcbiAgICAgICAgICAgIChjbGljayk9XCJfaGFuZGxlT25DbGlja0V2ZW50KCRldmVudClcIiAoZm9jdXMpPVwiZW1pdE9uRm9jdXNFdmVudCgkZXZlbnQpXCIgKGJsdXIpPVwiZW1pdE9uQmx1ckV2ZW50KCRldmVudClcIj5cbiAgICA8L2Rpdj5cbiAgICA8ZGl2IGNsYXNzPVwiYXgtY2hlY2tib3gtZW5kLXNpZGVcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJheC1mb3JtLWhpbnRcIj48L25nLWNvbnRlbnQ+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwiYXgtZXJyb3ItY29udGFpbmVyXCI+PC9zcGFuPlxuICAgIDwvZGl2PlxuPC9sYWJlbD5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPjwvbmctY29udGVudD4iXX0=
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormsModule } from '@angular/forms';
|
4
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
5
|
-
import { AXCheckBoxComponent } from './checkbox.component';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
export class AXCheckBoxModule {
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] }); }
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxModule, imports: [CommonModule, FormsModule, AXDecoratorModule] }); }
|
11
|
-
}
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxModule, decorators: [{
|
13
|
-
type: NgModule,
|
14
|
-
args: [{
|
15
|
-
declarations: [AXCheckBoxComponent],
|
16
|
-
imports: [CommonModule, FormsModule, AXDecoratorModule],
|
17
|
-
exports: [AXCheckBoxComponent],
|
18
|
-
providers: [],
|
19
|
-
}]
|
20
|
-
}] });
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFPM0QsTUFBTSxPQUFPLGdCQUFnQjs4R0FBaEIsZ0JBQWdCOytHQUFoQixnQkFBZ0IsaUJBTFosbUJBQW1CLGFBQ3hCLFlBQVksRUFBRSxXQUFXLEVBQUUsaUJBQWlCLGFBQzVDLG1CQUFtQjsrR0FHbEIsZ0JBQWdCLFlBSmpCLFlBQVksRUFBRSxXQUFXLEVBQUUsaUJBQWlCOzsyRkFJM0MsZ0JBQWdCO2tCQU41QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLG1CQUFtQixDQUFDO29CQUNuQyxPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsV0FBVyxFQUFFLGlCQUFpQixDQUFDO29CQUN2RCxPQUFPLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztvQkFDOUIsU0FBUyxFQUFFLEVBQUU7aUJBQ2QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgQVhEZWNvcmF0b3JNb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvZGVjb3JhdG9ycyc7XG5pbXBvcnQgeyBBWENoZWNrQm94Q29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2JveC5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhDaGVja0JveENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEZvcm1zTW9kdWxlLCBBWERlY29yYXRvck1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWENoZWNrQm94Q29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDaGVja0JveE1vZHVsZSB7fVxuIl19
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import { Directive, EventEmitter, Input, Output } from "@angular/core";
|
2
|
-
import { NgModel } from "@angular/forms";
|
3
|
-
import { debounceTime, distinctUntilChanged, skip } from "rxjs";
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "@angular/forms";
|
6
|
-
export class AXNgModelChangeDebouncedDirective {
|
7
|
-
get ngModelChangeDebounceTime() {
|
8
|
-
return this._ngModelChangeDebounceTime;
|
9
|
-
}
|
10
|
-
set ngModelChangeDebounceTime(v) {
|
11
|
-
if (v != this._ngModelChangeDebounceTime) {
|
12
|
-
this._ngModelChangeDebounceTime = v;
|
13
|
-
this.ngModelChangeDebounceTimeChange.emit(v);
|
14
|
-
this.update();
|
15
|
-
}
|
16
|
-
}
|
17
|
-
ngOnDestroy() {
|
18
|
-
this.subscription.unsubscribe();
|
19
|
-
}
|
20
|
-
constructor(ngModel) {
|
21
|
-
this.ngModel = ngModel;
|
22
|
-
this.ngModelChangeDebounced = new EventEmitter();
|
23
|
-
this.ngModelChangeDebounceTimeChange = new EventEmitter();
|
24
|
-
this._ngModelChangeDebounceTime = 0;
|
25
|
-
this.ngModelChangeDebounceTime = 0;
|
26
|
-
}
|
27
|
-
update() {
|
28
|
-
this.subscription?.unsubscribe();
|
29
|
-
//
|
30
|
-
this.subscription = this.ngModel.control.valueChanges.pipe(skip(1), // skip initial value
|
31
|
-
distinctUntilChanged(), debounceTime(this.ngModelChangeDebounceTime)).subscribe((value) => this.ngModelChangeDebounced.emit(value));
|
32
|
-
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXNgModelChangeDebouncedDirective, deps: [{ token: i1.NgModel }], target: i0.ɵɵFactoryTarget.Directive }); }
|
34
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.6", type: AXNgModelChangeDebouncedDirective, selector: "[ngModelChangeDebounced]", inputs: { ngModelChangeDebounceTime: "ngModelChangeDebounceTime" }, outputs: { ngModelChangeDebounced: "ngModelChangeDebounced", ngModelChangeDebounceTimeChange: "ngModelChangeDebounceTimeChange" }, ngImport: i0 }); }
|
35
|
-
}
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXNgModelChangeDebouncedDirective, decorators: [{
|
37
|
-
type: Directive,
|
38
|
-
args: [{
|
39
|
-
selector: '[ngModelChangeDebounced]',
|
40
|
-
}]
|
41
|
-
}], ctorParameters: function () { return [{ type: i1.NgModel }]; }, propDecorators: { ngModelChangeDebounced: [{
|
42
|
-
type: Output
|
43
|
-
}], ngModelChangeDebounceTimeChange: [{
|
44
|
-
type: Output
|
45
|
-
}], ngModelChangeDebounceTime: [{
|
46
|
-
type: Input
|
47
|
-
}] } });
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvZGlyZWN0aXZlcy9kZWJvdW5jZS10aW1lLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xGLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLG9CQUFvQixFQUFFLElBQUksRUFBZ0IsTUFBTSxNQUFNLENBQUM7OztBQUs5RSxNQUFNLE9BQU8saUNBQWlDO0lBUzFDLElBQ1cseUJBQXlCO1FBQ2hDLE9BQU8sSUFBSSxDQUFDLDBCQUEwQixDQUFDO0lBQzNDLENBQUM7SUFDRCxJQUFXLHlCQUF5QixDQUFDLENBQVM7UUFDMUMsSUFBSSxDQUFDLElBQUksSUFBSSxDQUFDLDBCQUEwQixFQUFFO1lBQ3RDLElBQUksQ0FBQywwQkFB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JdfQ==
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ContentChild, Directive, TemplateRef } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class AXDataColumnCellTemplateDirective {
|
4
|
-
get template() {
|
5
|
-
return this._contentTemplate;
|
6
|
-
}
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
8
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.6", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 }); }
|
9
|
-
}
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
|
11
|
-
type: Directive,
|
12
|
-
args: [{ selector: 'ax-data-column-cell-template' }]
|
13
|
-
}], propDecorators: { _contentTemplate: [{
|
14
|
-
type: ContentChild,
|
15
|
-
args: [TemplateRef, { static: true }]
|
16
|
-
}] } });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb2x1bW4tY2VsbC10ZW1wbGF0ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGF0YS10YWJsZS9zcmMvbGliL2RhdGEtY29sdW1uLWNlbGwtdGVtcGxhdGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHckUsTUFBTSxPQUFPLGlDQUFpQztJQU0xQyxJQUFJLFFBQVE7UUFDUixPQUFPLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQztJQUNqQyxDQUFDOzhHQVJRLGlDQUFpQztrR0FBakMsaUNBQWlDLGtIQUU1QixXQUFXOzsyRkFGaEIsaUNBQWlDO2tCQUQ3QyxTQUFTO21CQUFDLEVBQUUsUUFBUSxFQUFFLDhCQUE4QixFQUFFOzhCQUluRCxnQkFBZ0I7c0JBRGYsWUFBWTt1QkFBQyxXQUFXLEVBQUUsRUFBRSxNQUFNLEVBQUUsSUFBSSxFQUFFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29udGVudENoaWxkLCBEaXJlY3RpdmUsIFRlbXBsYXRlUmVmIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoeyBzZWxlY3RvcjogJ2F4LWRhdGEtY29sdW1uLWNlbGwtdGVtcGxhdGUnIH0pXG5leHBvcnQgY2xhc3MgQVhEYXRhQ29sdW1uQ2VsbFRlbXBsYXRlRGlyZWN0aXZlIHtcblxuICAgIEBDb250ZW50Q2hpbGQoVGVtcGxhdGVSZWYsIHsgc3RhdGljOiB0cnVlIH0pXG4gICAgX2NvbnRlbnRUZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PjtcblxuXG4gICAgZ2V0IHRlbXBsYXRlKCk6IFRlbXBsYXRlUmVmPGFueT4ge1xuICAgICAgICByZXR1cm4gdGhpcy5fY29udGVudFRlbXBsYXRlO1xuICAgIH1cbn0iXX0=
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, ViewEncapsulation, } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
export class AXDecoratorContentComponent extends AXBaseComponentMixin {
|
5
|
-
constructor(elementRef, cdr) {
|
6
|
-
super(elementRef, cdr);
|
7
|
-
}
|
8
|
-
get hostClass() {
|
9
|
-
return 'ax-content';
|
10
|
-
}
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: AXDecoratorContentComponent, selector: "ax-content", host: { properties: { "class": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: ` <ng-content> </ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
13
|
-
}
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
|
15
|
-
type: Component,
|
16
|
-
args: [{
|
17
|
-
selector: 'ax-content',
|
18
|
-
template: ` <ng-content> </ng-content> `,
|
19
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
20
|
-
encapsulation: ViewEncapsulation.None,
|
21
|
-
}]
|
22
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
|
23
|
-
type: HostBinding,
|
24
|
-
args: ['class']
|
25
|
-
}] } });
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZGVjb3JhdG9ycy9zcmMvbGliL2NvbnRlbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0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