@acorex/components 5.0.5 → 5.0.9
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/acorex-components.d.ts +5 -0
- package/bundles/acorex-components.umd.js +7633 -0
- package/bundles/acorex-components.umd.js.map +1 -0
- package/esm2015/acorex-components.js +5 -0
- package/esm2015/lib/alert/alert-button.component.js +52 -0
- package/esm2015/lib/alert/alert-contnet.component.js +21 -0
- package/esm2015/lib/alert/alert-footer.component.js +27 -0
- package/esm2015/lib/alert/alert-suffix.component.js +27 -0
- package/esm2015/lib/alert/alert-title.component.js +23 -0
- package/esm2015/lib/alert/alert.component.js +130 -0
- package/esm2015/lib/alert/alert.module.js +43 -0
- package/esm2015/lib/alert/index.js +8 -0
- package/esm2015/lib/avatar/avatar.component.js +55 -0
- package/esm2015/lib/avatar/avatar.module.js +21 -0
- package/esm2015/lib/avatar/index.js +3 -0
- package/esm2015/lib/badge/badge.component.js +34 -0
- package/esm2015/lib/badge/badge.module.js +21 -0
- package/esm2015/lib/badge/index.js +3 -0
- package/esm2015/lib/base/common.module.js +18 -0
- package/esm2015/lib/base/custom-cdk-overlay.service.js +47 -0
- package/esm2015/lib/base/drawing.class.js +11 -0
- package/esm2015/lib/base/events.class.js +53 -0
- package/esm2015/lib/base/index.js +7 -0
- package/esm2015/lib/base/mixin/base-components.class.js +86 -0
- package/esm2015/lib/base/mixin/button-mixin.class.js +129 -0
- package/esm2015/lib/base/mixin/clickable-mixin.class.js +24 -0
- package/esm2015/lib/base/mixin/constratctor.js +2 -0
- package/esm2015/lib/base/mixin/datalist-component.class.js +97 -0
- package/esm2015/lib/base/mixin/dropdown-mixin.class.js +36 -0
- package/esm2015/lib/base/mixin/index.js +3 -0
- package/esm2015/lib/base/mixin/interactive-mixin.class.js +77 -0
- package/esm2015/lib/base/mixin/loading-mixin.class.js +18 -0
- package/esm2015/lib/base/mixin/mixin.class.js +22 -0
- package/esm2015/lib/base/mixin/selection-component.class.js +158 -0
- package/esm2015/lib/base/mixin/sizable-mixin.class.js +18 -0
- package/esm2015/lib/base/mixin/textbox-mixin.class.js +38 -0
- package/esm2015/lib/base/mixin/value-mixin.class.js +190 -0
- package/esm2015/lib/base/overlay.service.js +91 -0
- package/esm2015/lib/base/responsive.directive.js +34 -0
- package/esm2015/lib/base/styles.class.js +4 -0
- package/esm2015/lib/button/button-group.component.js +131 -0
- package/esm2015/lib/button/button-item.class.js +2 -0
- package/esm2015/lib/button/button-item.component.js +81 -0
- package/esm2015/lib/button/button.component.js +73 -0
- package/esm2015/lib/button/button.module.js +33 -0
- package/esm2015/lib/button/index.js +6 -0
- package/esm2015/lib/calendar/calendar.component.js +287 -0
- package/esm2015/lib/calendar/calendar.module.js +25 -0
- package/esm2015/lib/calendar/index.js +3 -0
- package/esm2015/lib/carousel/carousel-arrows.component.js +53 -0
- package/esm2015/lib/carousel/carousel-item.component.js +21 -0
- package/esm2015/lib/carousel/carousel-pager.component.js +74 -0
- package/esm2015/lib/carousel/carousel-splidejs.class.js +82 -0
- package/esm2015/lib/carousel/carousel.class.js +10 -0
- package/esm2015/lib/carousel/carousel.component.js +246 -0
- package/esm2015/lib/carousel/carousel.module.js +24 -0
- package/esm2015/lib/carousel/index.js +7 -0
- package/esm2015/lib/checkbox/checkbox.component.js +59 -0
- package/esm2015/lib/checkbox/checkbox.module.js +20 -0
- package/esm2015/lib/checkbox/index.js +3 -0
- package/esm2015/lib/datalist/datalist.component.js +81 -0
- package/esm2015/lib/datalist/datalist.module.js +22 -0
- package/esm2015/lib/datalist/index.js +3 -0
- package/esm2015/lib/datepicker/datepicker.component.js +80 -0
- package/esm2015/lib/datepicker/datepicker.module.js +23 -0
- package/esm2015/lib/datepicker/index.js +3 -0
- package/esm2015/lib/decorators/content.component.js +26 -0
- package/esm2015/lib/decorators/decorators.module.js +23 -0
- package/esm2015/lib/decorators/index.js +5 -0
- package/esm2015/lib/decorators/prefix.component.js +26 -0
- package/esm2015/lib/decorators/suffix.component.js +26 -0
- package/esm2015/lib/dialog/dialog.class.js +2 -0
- package/esm2015/lib/dialog/dialog.component.js +45 -0
- package/esm2015/lib/dialog/dialog.module.js +26 -0
- package/esm2015/lib/dialog/dialog.service.js +146 -0
- package/esm2015/lib/dialog/index.js +5 -0
- package/esm2015/lib/drawer/drawer-container.component.js +73 -0
- package/esm2015/lib/drawer/drawer-content.component.js +27 -0
- package/esm2015/lib/drawer/drawer.component.js +145 -0
- package/esm2015/lib/drawer/drawer.module.js +23 -0
- package/esm2015/lib/drawer/index.js +5 -0
- package/esm2015/lib/dropdown/dropdown-base.class.js +98 -0
- package/esm2015/lib/dropdown/dropdown-panel.component.js +84 -0
- package/esm2015/lib/dropdown/dropdown.component.js +32 -0
- package/esm2015/lib/dropdown/dropdown.module.js +25 -0
- package/esm2015/lib/dropdown/index.js +4 -0
- package/esm2015/lib/form/form-field.component.js +20 -0
- package/esm2015/lib/form/form-field.module.js +21 -0
- package/esm2015/lib/form/form-hint.component.js +20 -0
- package/esm2015/lib/form/form.component.js +51 -0
- package/esm2015/lib/form/index.js +5 -0
- package/esm2015/lib/icon/icon.component.js +28 -0
- package/esm2015/lib/icon/icon.module.js +21 -0
- package/esm2015/lib/icon/index.js +3 -0
- package/esm2015/lib/input-mask/index.js +3 -0
- package/esm2015/lib/input-mask/input-mask.component.js +42 -0
- package/esm2015/lib/input-mask/input-mask.module.js +23 -0
- package/esm2015/lib/label/index.js +3 -0
- package/esm2015/lib/label/label.component.js +20 -0
- package/esm2015/lib/label/label.module.js +21 -0
- package/esm2015/lib/loading/index.js +6 -0
- package/esm2015/lib/loading/loading-spinner.component.js +32 -0
- package/esm2015/lib/loading/loading.component.js +54 -0
- package/esm2015/lib/loading/loading.directive.js +67 -0
- package/esm2015/lib/loading/loading.module.js +35 -0
- package/esm2015/lib/loading/loading.service.js +155 -0
- package/esm2015/lib/number-box/index.js +3 -0
- package/esm2015/lib/number-box/number-box.component.js +289 -0
- package/esm2015/lib/number-box/number-box.module.js +32 -0
- package/esm2015/lib/page/base-page.class.js +67 -0
- package/esm2015/lib/page/index.js +5 -0
- package/esm2015/lib/page/page-footer.component.js +28 -0
- package/esm2015/lib/page/page.component.js +33 -0
- package/esm2015/lib/page/page.module.js +18 -0
- package/esm2015/lib/password-box/index.js +3 -0
- package/esm2015/lib/password-box/password-box.component.js +74 -0
- package/esm2015/lib/password-box/password-box.module.js +35 -0
- package/esm2015/lib/popover/index.js +3 -0
- package/esm2015/lib/popover/popover.component.js +220 -0
- package/esm2015/lib/popover/popover.module.js +19 -0
- package/esm2015/lib/popup/index.js +4 -0
- package/esm2015/lib/popup/popup.component.js +105 -0
- package/esm2015/lib/popup/popup.module.js +26 -0
- package/esm2015/lib/popup/popup.service.js +94 -0
- package/esm2015/lib/radio/index.js +3 -0
- package/esm2015/lib/radio/radio.component.js +22 -0
- package/esm2015/lib/radio/radio.module.js +21 -0
- package/esm2015/lib/range-slider/index.js +3 -0
- package/esm2015/lib/range-slider/range-slider.component.js +22 -0
- package/esm2015/lib/range-slider/range-slider.module.js +21 -0
- package/esm2015/lib/selectbox/index.js +3 -0
- package/esm2015/lib/selectbox/selectbox.component.js +201 -0
- package/esm2015/lib/selectbox/selectbox.module.js +25 -0
- package/esm2015/lib/selection-list/index.js +3 -0
- package/esm2015/lib/selection-list/selection-list.component.js +47 -0
- package/esm2015/lib/selection-list/selection-list.module.js +21 -0
- package/esm2015/lib/side-menu/index.js +3 -0
- package/esm2015/lib/side-menu/side-menu.component.js +21 -0
- package/esm2015/lib/side-menu/side-menu.module.js +21 -0
- package/esm2015/lib/switch/index.js +3 -0
- package/esm2015/lib/switch/switch.component.js +30 -0
- package/esm2015/lib/switch/switch.module.js +21 -0
- package/esm2015/lib/tabs/index.js +8 -0
- package/esm2015/lib/tabs/tab-content.directive.js +29 -0
- package/esm2015/lib/tabs/tab-item.component.js +91 -0
- package/esm2015/lib/tabs/tab-strip.component.js +69 -0
- package/esm2015/lib/tabs/tab-view.component.js +45 -0
- package/esm2015/lib/tabs/tab.component.js +58 -0
- package/esm2015/lib/tabs/tabs.class.js +4 -0
- package/esm2015/lib/tabs/tabs.component.js +67 -0
- package/esm2015/lib/tabs/tabs.module.js +25 -0
- package/esm2015/lib/textbox/index.js +3 -0
- package/esm2015/lib/textbox/textbox.component.js +62 -0
- package/esm2015/lib/textbox/textbox.module.js +43 -0
- package/esm2015/lib/time-box/index.js +3 -0
- package/esm2015/lib/time-box/time-box.component.js +134 -0
- package/esm2015/lib/time-box/time-box.module.js +32 -0
- package/esm2015/lib/toast/index.js +5 -0
- package/esm2015/lib/toast/toast.class.js +2 -0
- package/esm2015/lib/toast/toast.component.js +50 -0
- package/esm2015/lib/toast/toast.module.js +22 -0
- package/esm2015/lib/toast/toast.service.js +114 -0
- package/esm2015/lib/tooltip/index.js +4 -0
- package/esm2015/lib/tooltip/tooltip.component.js +45 -0
- package/esm2015/lib/tooltip/tooltip.directive.js +86 -0
- package/esm2015/lib/tooltip/tooltip.module.js +23 -0
- package/esm2015/lib/validation/index.js +3 -0
- package/esm2015/lib/validation/validation-rule.widget.js +113 -0
- package/esm2015/lib/validation/validation.class.js +2 -0
- package/esm2015/lib/validation/validation.module.js +32 -0
- package/esm2015/public-api.js +42 -0
- package/fesm2015/acorex-components.js +6537 -0
- package/fesm2015/acorex-components.js.map +1 -0
- package/lib/alert/alert-button.component.d.ts +13 -0
- package/lib/alert/alert-contnet.component.d.ts +5 -0
- package/lib/alert/alert-footer.component.d.ts +5 -0
- package/lib/alert/alert-suffix.component.d.ts +5 -0
- package/lib/alert/alert-title.component.d.ts +5 -0
- package/lib/alert/alert.component.d.ts +46 -0
- package/lib/alert/alert.module.d.ts +13 -0
- package/{src/lib/alert/index.ts → lib/alert/index.d.ts} +0 -0
- package/lib/avatar/avatar.component.d.ts +20 -0
- package/lib/avatar/avatar.module.d.ts +8 -0
- package/{src/lib/avatar/index.ts → lib/avatar/index.d.ts} +0 -0
- package/lib/badge/badge.component.d.ts +11 -0
- package/lib/badge/badge.module.d.ts +8 -0
- package/lib/badge/index.d.ts +2 -0
- package/lib/base/common.module.d.ts +7 -0
- package/lib/base/custom-cdk-overlay.service.d.ts +19 -0
- package/{src/lib/base/drawing.class.ts → lib/base/drawing.class.d.ts} +1 -12
- package/{src/lib/base/events.class.ts → lib/base/events.class.d.ts} +11 -20
- package/{src/lib/base/index.ts → lib/base/index.d.ts} +0 -0
- package/lib/base/mixin/base-components.class.d.ts +86 -0
- package/lib/base/mixin/button-mixin.class.d.ts +82 -0
- package/lib/base/mixin/clickable-mixin.class.d.ts +43 -0
- package/lib/base/mixin/constratctor.d.ts +4 -0
- package/lib/base/mixin/datalist-component.class.d.ts +55 -0
- package/lib/base/mixin/dropdown-mixin.class.d.ts +48 -0
- package/{src/lib/base/mixin/index.ts → lib/base/mixin/index.d.ts} +1 -1
- package/lib/base/mixin/interactive-mixin.class.d.ts +65 -0
- package/lib/base/mixin/loading-mixin.class.d.ts +47 -0
- package/lib/base/mixin/mixin.class.d.ts +607 -0
- package/lib/base/mixin/selection-component.class.d.ts +56 -0
- package/lib/base/mixin/sizable-mixin.class.d.ts +41 -0
- package/lib/base/mixin/textbox-mixin.class.d.ts +59 -0
- package/lib/base/mixin/value-mixin.class.d.ts +71 -0
- package/lib/base/overlay.service.d.ts +31 -0
- package/lib/base/responsive.directive.d.ts +10 -0
- package/lib/base/styles.class.d.ts +17 -0
- package/lib/button/button-group.component.d.ts +36 -0
- package/{src/lib/button/button-item.class.ts → lib/button/button-item.class.d.ts} +4 -6
- package/lib/button/button-item.component.d.ts +94 -0
- package/lib/button/button.component.d.ts +21 -0
- package/lib/button/button.module.d.ts +12 -0
- package/{src/lib/button/index.ts → lib/button/index.d.ts} +1 -1
- package/lib/calendar/calendar.component.d.ts +56 -0
- package/lib/calendar/calendar.module.d.ts +12 -0
- package/{src/lib/calendar/index.ts → lib/calendar/index.d.ts} +0 -0
- package/lib/carousel/carousel-arrows.component.d.ts +14 -0
- package/lib/carousel/carousel-item.component.d.ts +8 -0
- package/lib/carousel/carousel-pager.component.d.ts +22 -0
- package/lib/carousel/carousel-splidejs.class.d.ts +18 -0
- package/{src/lib/carousel/carousel.class.ts → lib/carousel/carousel.class.d.ts} +13 -32
- package/lib/carousel/carousel.component.d.ts +62 -0
- package/lib/carousel/carousel.module.d.ts +11 -0
- package/{src/lib/carousel/index.ts → lib/carousel/index.d.ts} +0 -0
- package/lib/checkbox/checkbox.component.d.ts +13 -0
- package/lib/checkbox/checkbox.module.d.ts +9 -0
- package/{src/lib/checkbox/index.ts → lib/checkbox/index.d.ts} +1 -1
- package/lib/datalist/datalist.component.d.ts +25 -0
- package/lib/datalist/datalist.module.d.ts +9 -0
- package/{src/lib/datalist/index.ts → lib/datalist/index.d.ts} +0 -0
- package/lib/datepicker/datepicker.component.d.ts +18 -0
- package/lib/datepicker/datepicker.module.d.ts +10 -0
- package/{src/lib/datepicker/index.ts → lib/datepicker/index.d.ts} +0 -0
- package/lib/decorators/content.component.d.ts +8 -0
- package/lib/decorators/decorators.module.d.ts +10 -0
- package/{src/lib/decorators/index.ts → lib/decorators/index.d.ts} +1 -0
- package/lib/decorators/prefix.component.d.ts +8 -0
- package/lib/decorators/suffix.component.d.ts +8 -0
- package/{src/lib/dialog/dialog.class.ts → lib/dialog/dialog.class.d.ts} +1 -2
- package/lib/dialog/dialog.component.d.ts +15 -0
- package/lib/dialog/dialog.module.d.ts +13 -0
- package/lib/dialog/dialog.service.d.ts +36 -0
- package/{src/lib/dialog/index.ts → lib/dialog/index.d.ts} +0 -0
- package/lib/drawer/drawer-container.component.d.ts +13 -0
- package/lib/drawer/drawer-content.component.d.ts +8 -0
- package/lib/drawer/drawer.component.d.ts +30 -0
- package/lib/drawer/drawer.module.d.ts +10 -0
- package/{src/lib/drawer/index.ts → lib/drawer/index.d.ts} +0 -0
- package/lib/dropdown/dropdown-base.class.d.ts +94 -0
- package/lib/dropdown/dropdown-panel.component.d.ts +28 -0
- package/lib/dropdown/dropdown.component.d.ts +13 -0
- package/lib/dropdown/dropdown.module.d.ts +14 -0
- package/{src/lib/dropdown/index.ts → lib/dropdown/index.d.ts} +1 -1
- package/lib/form/form-field.component.d.ts +8 -0
- package/lib/form/form-field.module.d.ts +10 -0
- package/lib/form/form-hint.component.d.ts +8 -0
- package/lib/form/form.component.d.ts +13 -0
- package/{src/lib/form/index.ts → lib/form/index.d.ts} +1 -1
- package/lib/icon/icon.component.d.ts +10 -0
- package/lib/icon/icon.module.d.ts +8 -0
- package/{src/lib/icon/index.ts → lib/icon/index.d.ts} +0 -0
- package/{src/lib/input-mask/index.ts → lib/input-mask/index.d.ts} +0 -0
- package/lib/input-mask/input-mask.component.d.ts +14 -0
- package/lib/input-mask/input-mask.module.d.ts +9 -0
- package/{src/lib/label/index.ts → lib/label/index.d.ts} +1 -1
- package/lib/label/label.component.d.ts +8 -0
- package/lib/label/label.module.d.ts +8 -0
- package/{src/lib/loading/index.ts → lib/loading/index.d.ts} +0 -0
- package/lib/loading/loading-spinner.component.d.ts +5 -0
- package/lib/loading/loading.component.d.ts +19 -0
- package/lib/loading/loading.directive.d.ts +22 -0
- package/lib/loading/loading.module.d.ts +13 -0
- package/lib/loading/loading.service.d.ts +48 -0
- package/{src/lib/number-box/index.ts → lib/number-box/index.d.ts} +0 -0
- package/lib/number-box/number-box.component.d.ts +69 -0
- package/lib/number-box/number-box.module.d.ts +11 -0
- package/lib/page/base-page.class.d.ts +37 -0
- package/{src/lib/page/index.ts → lib/page/index.d.ts} +0 -1
- package/lib/page/page-footer.component.d.ts +7 -0
- package/lib/page/page.component.d.ts +13 -0
- package/lib/page/page.module.d.ts +7 -0
- package/lib/password-box/index.d.ts +2 -0
- package/lib/password-box/password-box.component.d.ts +24 -0
- package/lib/password-box/password-box.module.d.ts +12 -0
- package/{src/lib/popover/index.ts → lib/popover/index.d.ts} +1 -2
- package/lib/popover/popover.component.d.ts +44 -0
- package/lib/popover/popover.module.d.ts +8 -0
- package/{src/lib/popup/index.ts → lib/popup/index.d.ts} +0 -0
- package/lib/popup/popup.component.d.ts +34 -0
- package/lib/popup/popup.module.d.ts +12 -0
- package/lib/popup/popup.service.d.ts +37 -0
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio/radio.component.d.ts +8 -0
- package/lib/radio/radio.module.d.ts +8 -0
- package/{src/lib/range-slider/index.ts → lib/range-slider/index.d.ts} +0 -0
- package/lib/range-slider/range-slider.component.d.ts +8 -0
- package/lib/range-slider/range-slider.module.d.ts +8 -0
- package/{src/lib/selectbox/index.ts → lib/selectbox/index.d.ts} +1 -1
- package/lib/selectbox/selectbox.component.d.ts +29 -0
- package/lib/selectbox/selectbox.module.d.ts +14 -0
- package/{src/lib/selection-list/index.ts → lib/selection-list/index.d.ts} +1 -1
- package/lib/selection-list/selection-list.component.d.ts +10 -0
- package/lib/selection-list/selection-list.module.d.ts +10 -0
- package/{src/lib/side-menu/index.ts → lib/side-menu/index.d.ts} +0 -0
- package/lib/side-menu/side-menu.component.d.ts +8 -0
- package/lib/side-menu/side-menu.module.d.ts +8 -0
- package/{src/lib/switch/index.ts → lib/switch/index.d.ts} +1 -1
- package/lib/switch/switch.component.d.ts +9 -0
- package/lib/switch/switch.module.d.ts +9 -0
- package/{src/lib/tabs/index.ts → lib/tabs/index.d.ts} +3 -1
- package/lib/tabs/tab-content.directive.d.ts +11 -0
- package/lib/tabs/tab-item.component.d.ts +17 -0
- package/lib/tabs/tab-strip.component.d.ts +19 -0
- package/lib/tabs/tab-view.component.d.ts +14 -0
- package/lib/tabs/tab.component.d.ts +18 -0
- package/{src/lib/tabs/tabs.class.ts → lib/tabs/tabs.class.d.ts} +5 -8
- package/lib/tabs/tabs.component.d.ts +17 -0
- package/lib/tabs/tabs.module.d.ts +12 -0
- package/{src/lib/textbox/index.ts → lib/textbox/index.d.ts} +1 -1
- package/lib/textbox/textbox.component.d.ts +19 -0
- package/lib/textbox/textbox.module.d.ts +13 -0
- package/{src/lib/time-box/index.ts → lib/time-box/index.d.ts} +0 -0
- package/lib/time-box/time-box.component.d.ts +29 -0
- package/lib/time-box/time-box.module.d.ts +11 -0
- package/{src/lib/toast/index.ts → lib/toast/index.d.ts} +0 -0
- package/{src/lib/toast/toast.class.ts → lib/toast/toast.class.d.ts} +1 -4
- package/lib/toast/toast.component.d.ts +16 -0
- package/lib/toast/toast.module.d.ts +9 -0
- package/lib/toast/toast.service.d.ts +18 -0
- package/{src/lib/tooltip/index.ts → lib/tooltip/index.d.ts} +0 -0
- package/lib/tooltip/tooltip.component.d.ts +10 -0
- package/lib/tooltip/tooltip.directive.d.ts +18 -0
- package/lib/tooltip/tooltip.module.d.ts +10 -0
- package/{src/lib/validation/index.ts → lib/validation/index.d.ts} +1 -1
- package/lib/validation/validation-rule.widget.d.ts +25 -0
- package/lib/validation/validation.class.d.ts +17 -0
- package/lib/validation/validation.module.d.ts +9 -0
- package/package.json +19 -12
- package/{src/public-api.ts → public-api.d.ts} +5 -3
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -11
- package/src/lib/alert/alert-button.component.ts +0 -45
- package/src/lib/alert/alert-contnet.component.ts +0 -14
- package/src/lib/alert/alert-footer.component.ts +0 -16
- package/src/lib/alert/alert-suffix.component.ts +0 -16
- package/src/lib/alert/alert-title.component.ts +0 -14
- package/src/lib/alert/alert.component.html +0 -13
- package/src/lib/alert/alert.component.ts +0 -139
- package/src/lib/alert/alert.module.ts +0 -26
- package/src/lib/avatar/avatar.component.html +0 -2
- package/src/lib/avatar/avatar.component.ts +0 -64
- package/src/lib/avatar/avatar.module.ts +0 -14
- package/src/lib/base/common.module.ts +0 -13
- package/src/lib/base/custom-cdk-overlay.service.ts +0 -83
- package/src/lib/base/mixin/base-components.class.ts +0 -112
- package/src/lib/base/mixin/button-mixin.class.ts +0 -145
- package/src/lib/base/mixin/clickable-mixin.class.ts +0 -33
- package/src/lib/base/mixin/constratctor.ts +0 -3
- package/src/lib/base/mixin/datalist-component.class.ts +0 -105
- package/src/lib/base/mixin/dropdown-mixin.class.ts +0 -55
- package/src/lib/base/mixin/interactive-mixin.class.ts +0 -83
- package/src/lib/base/mixin/loading-mixin.class.ts +0 -32
- package/src/lib/base/mixin/mixin.class.ts +0 -70
- package/src/lib/base/mixin/page-component.class.ts +0 -15
- package/src/lib/base/mixin/selection-component.class.ts +0 -185
- package/src/lib/base/mixin/sizable-mixin.class.ts +0 -30
- package/src/lib/base/mixin/textbox-mixin.class.ts +0 -51
- package/src/lib/base/mixin/value-mixin.class.ts +0 -215
- package/src/lib/base/overlay.service.ts +0 -117
- package/src/lib/base/responsive.directive.ts +0 -31
- package/src/lib/base/styles.class.ts +0 -24
- package/src/lib/button/button-group.component.html +0 -2
- package/src/lib/button/button-group.component.ts +0 -142
- package/src/lib/button/button-item.component.ts +0 -79
- package/src/lib/button/button.component.html +0 -18
- package/src/lib/button/button.component.ts +0 -71
- package/src/lib/button/button.module.ts +0 -23
- package/src/lib/calendar/calendar.component.html +0 -74
- package/src/lib/calendar/calendar.component.ts +0 -60
- package/src/lib/calendar/calendar.module.ts +0 -17
- package/src/lib/carousel/carousel-arrows.component.ts +0 -46
- package/src/lib/carousel/carousel-item.component.ts +0 -19
- package/src/lib/carousel/carousel-pager.component.ts +0 -83
- package/src/lib/carousel/carousel-splidejs.class.ts +0 -104
- package/src/lib/carousel/carousel.component.html +0 -11
- package/src/lib/carousel/carousel.component.ts +0 -273
- package/src/lib/carousel/carousel.module.ts +0 -19
- package/src/lib/checkbox/checkbox.component.html +0 -15
- package/src/lib/checkbox/checkbox.component.ts +0 -43
- package/src/lib/checkbox/checkbox.module.ts +0 -11
- package/src/lib/datalist/datalist.component.html +0 -35
- package/src/lib/datalist/datalist.component.ts +0 -86
- package/src/lib/datalist/datalist.module.ts +0 -17
- package/src/lib/datapager/datapager-base.component.ts +0 -29
- package/src/lib/datapager/datapager-dots-selector.component.ts +0 -0
- package/src/lib/datapager/datapager-info.component.ts +0 -64
- package/src/lib/datapager/datapager-input-selector.component.ts +0 -54
- package/src/lib/datapager/datapager-next-buttons.components.ts +0 -52
- package/src/lib/datapager/datapager-numeric-selector.component.ts +0 -94
- package/src/lib/datapager/datapager-pagesize-dropdown.component.ts +0 -77
- package/src/lib/datapager/datapager-prev-buttons.component.ts +0 -50
- package/src/lib/datapager/datapager.component.html +0 -19
- package/src/lib/datapager/datapager.component.ts +0 -146
- package/src/lib/datapager/datapager.module.ts +0 -32
- package/src/lib/datapager/index.ts +0 -8
- package/src/lib/datepicker/datepicker.component.html +0 -11
- package/src/lib/datepicker/datepicker.component.ts +0 -86
- package/src/lib/datepicker/datepicker.module.ts +0 -16
- package/src/lib/decorators/decorators.module.ts +0 -15
- package/src/lib/decorators/prefix.component.ts +0 -23
- package/src/lib/decorators/suffix.component.ts +0 -25
- package/src/lib/dialog/dialog.component.html +0 -22
- package/src/lib/dialog/dialog.component.ts +0 -48
- package/src/lib/dialog/dialog.module.ts +0 -19
- package/src/lib/dialog/dialog.service.ts +0 -154
- package/src/lib/drawer/drawer-container.component.ts +0 -69
- package/src/lib/drawer/drawer-content.component.ts +0 -24
- package/src/lib/drawer/drawer.component.ts +0 -156
- package/src/lib/drawer/drawer.module.ts +0 -16
- package/src/lib/dropdown/dropdown-base.class.ts +0 -107
- package/src/lib/dropdown/dropdown-panel.component.html +0 -15
- package/src/lib/dropdown/dropdown-panel.component.ts +0 -105
- package/src/lib/dropdown/dropdown.component.html +0 -19
- package/src/lib/dropdown/dropdown.component.ts +0 -31
- package/src/lib/dropdown/dropdown.module.ts +0 -17
- package/src/lib/form/form-field.component.ts +0 -18
- package/src/lib/form/form-field.module.ts +0 -14
- package/src/lib/form/form-hint.component.ts +0 -18
- package/src/lib/form/form.component.ts +0 -54
- package/src/lib/icon/icon.component.ts +0 -27
- package/src/lib/icon/icon.module.ts +0 -14
- package/src/lib/input-mask/input-mask.component.ts +0 -43
- package/src/lib/input-mask/input-mask.module.ts +0 -15
- package/src/lib/label/label.component.html +0 -3
- package/src/lib/label/label.component.ts +0 -16
- package/src/lib/label/label.module.ts +0 -14
- package/src/lib/loading/loading-spinner.component.ts +0 -17
- package/src/lib/loading/loading.component.ts +0 -55
- package/src/lib/loading/loading.directive.ts +0 -86
- package/src/lib/loading/loading.module.ts +0 -32
- package/src/lib/loading/loading.service.ts +0 -172
- package/src/lib/number-box/number-box.component.html +0 -15
- package/src/lib/number-box/number-box.component.ts +0 -297
- package/src/lib/number-box/number-box.module.ts +0 -22
- package/src/lib/page/base-page.class.ts +0 -80
- package/src/lib/page/page-footer.component.ts +0 -19
- package/src/lib/page/page.component.ts +0 -32
- package/src/lib/page/page.module.ts +0 -11
- package/src/lib/popover/popover.component.html +0 -3
- package/src/lib/popover/popover.component.ts +0 -229
- package/src/lib/popover/popover.module.ts +0 -11
- package/src/lib/popup/popup.component.html +0 -25
- package/src/lib/popup/popup.component.ts +0 -118
- package/src/lib/popup/popup.module.ts +0 -19
- package/src/lib/popup/popup.service.ts +0 -112
- package/src/lib/range-slider/range-slider.component.html +0 -1
- package/src/lib/range-slider/range-slider.component.ts +0 -21
- package/src/lib/range-slider/range-slider.module.ts +0 -14
- package/src/lib/selectbox/selectbox.component.html +0 -63
- package/src/lib/selectbox/selectbox.component.ts +0 -211
- package/src/lib/selectbox/selectbox.module.ts +0 -15
- package/src/lib/selection-list/selection-list.component.html +0 -31
- package/src/lib/selection-list/selection-list.component.ts +0 -56
- package/src/lib/selection-list/selection-list.module.ts +0 -13
- package/src/lib/side-menu/side-menu.component.html +0 -2
- package/src/lib/side-menu/side-menu.component.ts +0 -20
- package/src/lib/side-menu/side-menu.module.ts +0 -14
- package/src/lib/switch/switch.component.html +0 -8
- package/src/lib/switch/switch.component.ts +0 -25
- package/src/lib/switch/switch.module.ts +0 -15
- package/src/lib/tabs/tab-strip.component.html +0 -20
- package/src/lib/tabs/tab-strip.component.ts +0 -71
- package/src/lib/tabs/tab-view.component.html +0 -8
- package/src/lib/tabs/tab-view.component.ts +0 -50
- package/src/lib/tabs/tab.component.ts +0 -56
- package/src/lib/tabs/tabs.module.ts +0 -16
- package/src/lib/textbox/textbox.component.html +0 -20
- package/src/lib/textbox/textbox.component.ts +0 -64
- package/src/lib/textbox/textbox.module.ts +0 -24
- package/src/lib/time-box/time-box.component.html +0 -14
- package/src/lib/time-box/time-box.component.ts +0 -145
- package/src/lib/time-box/time-box.module.ts +0 -22
- package/src/lib/toast/toast.component.html +0 -12
- package/src/lib/toast/toast.component.ts +0 -57
- package/src/lib/toast/toast.module.ts +0 -15
- package/src/lib/toast/toast.service.ts +0 -122
- package/src/lib/tooltip/tooltip.component.html +0 -6
- package/src/lib/tooltip/tooltip.component.ts +0 -36
- package/src/lib/tooltip/tooltip.directive.ts +0 -93
- package/src/lib/tooltip/tooltip.module.ts +0 -16
- package/src/lib/validation/validation-rule.widget.ts +0 -120
- package/src/lib/validation/validation.class.ts +0 -23
- package/src/lib/validation/validation.module.ts +0 -26
- package/tsconfig.lib.json +0 -20
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXHtmlEvent } from '../events.class';
|
|
3
|
+
import { AXBaseComponent } from './base-components.class';
|
|
4
|
+
import { Constructor } from './constratctor';
|
|
5
|
+
export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
/**
|
|
8
|
+
* A string value that specifies the placeholder of text box.
|
|
9
|
+
*/
|
|
10
|
+
placeholder: string;
|
|
11
|
+
/**
|
|
12
|
+
* A number value that specifies the maximum characters of text box.
|
|
13
|
+
*/
|
|
14
|
+
maxLength: number;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies that autocomplete is on or off.
|
|
17
|
+
*/
|
|
18
|
+
autoComplete: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Fires each time the user press a key.
|
|
21
|
+
* @event
|
|
22
|
+
*/
|
|
23
|
+
onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
|
|
24
|
+
_emitOnKeydownEvent(e: KeyboardEvent): void;
|
|
25
|
+
id: string; /**
|
|
26
|
+
* A string value that specifies the placeholder of text box.
|
|
27
|
+
*/
|
|
28
|
+
rtl: boolean;
|
|
29
|
+
cssClass: string;
|
|
30
|
+
cssStyle: string;
|
|
31
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
|
+
_isInited: boolean;
|
|
34
|
+
_isRendered: boolean;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
ngOnDestroy(): void;
|
|
38
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
39
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
40
|
+
_onInternalInit(): void;
|
|
41
|
+
_onInternalViewInit(): void;
|
|
42
|
+
_onInternalDestroy(): void;
|
|
43
|
+
onInit(): void;
|
|
44
|
+
onRenderCssClass(): void;
|
|
45
|
+
onViewInit(): void;
|
|
46
|
+
onDestroy(): void;
|
|
47
|
+
onOptionChanging(option: {
|
|
48
|
+
name: string;
|
|
49
|
+
value?: any;
|
|
50
|
+
}): any;
|
|
51
|
+
onOptionChanged(option: {
|
|
52
|
+
name: string;
|
|
53
|
+
oldValue?: any;
|
|
54
|
+
newValue?: any;
|
|
55
|
+
}): void;
|
|
56
|
+
};
|
|
57
|
+
} & TBase;
|
|
58
|
+
export declare const TEXTBOX_INPUTS: string[];
|
|
59
|
+
export declare const TEXTBOX_OUTPUT: string[];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent } from './base-components.class';
|
|
3
|
+
import { Constructor } from './constratctor';
|
|
4
|
+
import { AXValueChangedEvent } from '../events.class';
|
|
5
|
+
import { AXValidationRuleResult } from '../../validation/validation.class';
|
|
6
|
+
import { Subject, Subscription } from 'rxjs';
|
|
7
|
+
export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): {
|
|
8
|
+
new (...args: any[]): {
|
|
9
|
+
/**
|
|
10
|
+
* Fires each time the user press a key.
|
|
11
|
+
* @event
|
|
12
|
+
*/
|
|
13
|
+
onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
|
|
14
|
+
valueChange: EventEmitter<any>;
|
|
15
|
+
"__#6@#readonly": boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If set to true, user cannot change the value of component.
|
|
18
|
+
*/
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
"__#6@#allowNull": boolean;
|
|
21
|
+
allowNull: boolean;
|
|
22
|
+
"__#6@#name": string;
|
|
23
|
+
name: string;
|
|
24
|
+
"__#6@#debounceTime": number;
|
|
25
|
+
debounceTime: number;
|
|
26
|
+
"__#6@#valueSubscription": Subscription;
|
|
27
|
+
"__#6@#valueSubject": Subject<unknown>;
|
|
28
|
+
"__#6@#value": any;
|
|
29
|
+
value: any;
|
|
30
|
+
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
31
|
+
_onValueChanging(value: any): any;
|
|
32
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
33
|
+
_onInternalInit(): void;
|
|
34
|
+
_onInternalDestroy(): void;
|
|
35
|
+
_setValue(v: any): void;
|
|
36
|
+
clear(): void;
|
|
37
|
+
validate(): Promise<AXValidationRuleResult>;
|
|
38
|
+
_setErrorState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
|
|
39
|
+
id: string;
|
|
40
|
+
rtl: boolean;
|
|
41
|
+
cssClass: string;
|
|
42
|
+
cssStyle: string;
|
|
43
|
+
"__#1@#elementRef": import("@angular/core").ElementRef<any>;
|
|
44
|
+
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
45
|
+
_isInited: boolean;
|
|
46
|
+
_isRendered: boolean;
|
|
47
|
+
ngOnInit(): void; /**
|
|
48
|
+
* If set to true, user cannot change the value of component.
|
|
49
|
+
*/
|
|
50
|
+
ngAfterViewInit(): void;
|
|
51
|
+
ngOnDestroy(): void;
|
|
52
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
53
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
54
|
+
_onInternalViewInit(): void;
|
|
55
|
+
onInit(): void;
|
|
56
|
+
onRenderCssClass(): void;
|
|
57
|
+
onViewInit(): void;
|
|
58
|
+
onDestroy(): void;
|
|
59
|
+
onOptionChanging(option: {
|
|
60
|
+
name: string;
|
|
61
|
+
value?: any;
|
|
62
|
+
}): any;
|
|
63
|
+
onOptionChanged(option: {
|
|
64
|
+
name: string;
|
|
65
|
+
oldValue?: any;
|
|
66
|
+
newValue?: any;
|
|
67
|
+
}): void;
|
|
68
|
+
};
|
|
69
|
+
} & TBase;
|
|
70
|
+
export declare const VALUE_INPUTS: string[];
|
|
71
|
+
export declare const VALUE_OUTPUT: string[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ApplicationRef } from '@angular/core';
|
|
2
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
3
|
+
import { AXConnectedPosition } from '.';
|
|
4
|
+
import { DynamicOverlay } from './custom-cdk-overlay.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface AXOverlayViewRef {
|
|
7
|
+
instance: any;
|
|
8
|
+
dispose: () => void;
|
|
9
|
+
isOpen: () => boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface AXOverlayConfigs {
|
|
12
|
+
position?: AXConnectedPosition | AXConnectedPosition[];
|
|
13
|
+
hasBackdrop?: boolean;
|
|
14
|
+
transparentBackdrop?: boolean;
|
|
15
|
+
closeOnClickOutside?: boolean;
|
|
16
|
+
targetElement?: HTMLElement;
|
|
17
|
+
containerElement?: HTMLElement;
|
|
18
|
+
onBackdropClick?: () => void;
|
|
19
|
+
panelClass?: string[] | string;
|
|
20
|
+
backdropClass?: string[] | string;
|
|
21
|
+
scroll?: 'auto' | 'block' | 'close';
|
|
22
|
+
}
|
|
23
|
+
export declare class AXOverlayService {
|
|
24
|
+
private overlayService;
|
|
25
|
+
private overlayService2;
|
|
26
|
+
private appRef;
|
|
27
|
+
constructor(overlayService: DynamicOverlay, overlayService2: Overlay, appRef: ApplicationRef);
|
|
28
|
+
show(content: any, context?: any, configs?: AXOverlayConfigs): AXOverlayViewRef;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXOverlayService, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXOverlayService>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AXResponsiveDirective implements OnDestroy {
|
|
4
|
+
private _elementRef;
|
|
5
|
+
private _observer;
|
|
6
|
+
constructor(_elementRef: ElementRef<HTMLDivElement>);
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXResponsiveDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AXResponsiveDirective, "[ax-responsive]", never, {}, {}, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const AX_STYLE_TYPES: string[];
|
|
2
|
+
/**
|
|
3
|
+
* A token that specifies the color style of component.
|
|
4
|
+
*/
|
|
5
|
+
export declare type AXStyleColorType = 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'light' | 'dark';
|
|
6
|
+
export declare type AXStyleButtonLook = 'blank' | 'outline' | 'twotone' | 'link';
|
|
7
|
+
export declare const AX_LOCATIONS: string[];
|
|
8
|
+
export declare type AXLocation = 'bottom-start' | 'bottom-center' | 'bottom-end' | 'top-start' | 'top-center' | 'top-end';
|
|
9
|
+
export declare const AX_DIRECTIONS: string[];
|
|
10
|
+
/**
|
|
11
|
+
* A token that specifies the direction of component.
|
|
12
|
+
*/
|
|
13
|
+
export declare type AXDirection = 'vertical' | 'horizontal';
|
|
14
|
+
/**
|
|
15
|
+
* A token that specifies the selection mode of component.
|
|
16
|
+
*/
|
|
17
|
+
export declare type AXSelectionMode = 'single' | 'multiple';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, QueryList } from "@angular/core";
|
|
2
|
+
import { AXButtonComponent } from "./button.component";
|
|
3
|
+
import { AXClickEvent, AXInteractiveComponenetMixin, AXItemClickEvent, AXSelectionMode, AXSelectionValueChangedEvent, AXStyleButtonLook, AXStyleColorType } from "../base";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXButtonGroupComponent extends AXInteractiveComponenetMixin {
|
|
6
|
+
private zone;
|
|
7
|
+
selectionChange: EventEmitter<AXSelectionMode>;
|
|
8
|
+
private _selection;
|
|
9
|
+
get selection(): AXSelectionMode;
|
|
10
|
+
set selection(value: AXSelectionMode);
|
|
11
|
+
colorChange: EventEmitter<AXStyleColorType>;
|
|
12
|
+
private _color;
|
|
13
|
+
/**
|
|
14
|
+
* Predefined color schemes
|
|
15
|
+
*/
|
|
16
|
+
get color(): AXStyleColorType;
|
|
17
|
+
set color(value: AXStyleColorType);
|
|
18
|
+
lookChange: EventEmitter<AXStyleButtonLook>;
|
|
19
|
+
private _look?;
|
|
20
|
+
/**
|
|
21
|
+
* Predefined look schemes
|
|
22
|
+
*/
|
|
23
|
+
get look(): AXStyleButtonLook;
|
|
24
|
+
set look(value: AXStyleButtonLook);
|
|
25
|
+
onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>>;
|
|
26
|
+
onValueChanged: EventEmitter<AXSelectionValueChangedEvent>;
|
|
27
|
+
_contentButtons: QueryList<AXButtonComponent>;
|
|
28
|
+
constructor(elementRef: ElementRef, zone: NgZone, cdr: ChangeDetectorRef);
|
|
29
|
+
ngAfterContentInit(): void;
|
|
30
|
+
private _bindEvents;
|
|
31
|
+
private _bindProps;
|
|
32
|
+
onOptionChanged(options: any): void;
|
|
33
|
+
_handleClickEvent(e: AXClickEvent, button: AXButtonComponent): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonGroupComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonGroupComponent, "ax-button-group", never, { "cssClass": "cssClass"; "size": "size"; "cssStyle": "cssStyle"; "rtl": "rtl"; "disabled": "disabled"; "selection": "selection"; "color": "color"; "look": "look"; }, { "selectionChange": "selectionChange"; "colorChange": "colorChange"; "lookChange": "lookChange"; "onItemClick": "onItemClick"; }, ["_contentButtons"], ["ax-button"]>;
|
|
36
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AXStyleButtonLook, AXStyleColorType } from "../base";
|
|
2
|
-
|
|
3
2
|
export interface AXClickItemBase {
|
|
4
3
|
cssClass?: string;
|
|
5
4
|
color?: AXStyleColorType;
|
|
@@ -13,12 +12,11 @@ export interface AXClickItemBase {
|
|
|
13
12
|
seperated?: boolean;
|
|
14
13
|
name?: string;
|
|
15
14
|
data?: any;
|
|
16
|
-
onClick?: (...args) => void;
|
|
15
|
+
onClick?: (...args: any[]) => void;
|
|
17
16
|
}
|
|
18
|
-
export interface AXButtonItem extends
|
|
17
|
+
export interface AXButtonItem extends AXClickItemBase {
|
|
19
18
|
submitBehavior?: Boolean;
|
|
20
19
|
cancelBehavior?: boolean;
|
|
21
20
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
21
|
+
export interface AXMenuItem extends AXClickItemBase {
|
|
22
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponent, AXStyleColorType } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
|
|
5
|
+
"__#5@#disabled": boolean;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
"__#5@#tabIndex": number;
|
|
8
|
+
tabIndex: number;
|
|
9
|
+
onFocus: import("@angular/core").EventEmitter<import("../base").AXFocusEvent>;
|
|
10
|
+
_emitOnFocusEvent(e: FocusEvent): void;
|
|
11
|
+
onBlur: import("@angular/core").EventEmitter<import("../base").AXFocusEvent>;
|
|
12
|
+
_emitOnBlurEvent(e: FocusEvent): void;
|
|
13
|
+
focus(): void;
|
|
14
|
+
id: string;
|
|
15
|
+
rtl: boolean;
|
|
16
|
+
cssClass: string;
|
|
17
|
+
cssStyle: string;
|
|
18
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
19
|
+
_cdr: ChangeDetectorRef;
|
|
20
|
+
_isInited: boolean;
|
|
21
|
+
_isRendered: boolean;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
26
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
27
|
+
_onInternalInit(): void;
|
|
28
|
+
_onInternalViewInit(): void;
|
|
29
|
+
_onInternalDestroy(): void;
|
|
30
|
+
onInit(): void;
|
|
31
|
+
onRenderCssClass(): void;
|
|
32
|
+
onViewInit(): void;
|
|
33
|
+
onDestroy(): void;
|
|
34
|
+
onOptionChanging(option: {
|
|
35
|
+
name: string;
|
|
36
|
+
value?: any;
|
|
37
|
+
}): any;
|
|
38
|
+
onOptionChanged(option: {
|
|
39
|
+
name: string;
|
|
40
|
+
oldValue?: any;
|
|
41
|
+
newValue?: any;
|
|
42
|
+
}): void;
|
|
43
|
+
}) & {
|
|
44
|
+
new (...args: any[]): {
|
|
45
|
+
onClick: import("@angular/core").EventEmitter<import("../base").AXClickEvent>;
|
|
46
|
+
_emitOnClickEvent(e: MouseEvent): void;
|
|
47
|
+
id: string;
|
|
48
|
+
rtl: boolean;
|
|
49
|
+
cssClass: string;
|
|
50
|
+
cssStyle: string;
|
|
51
|
+
"__#1@#elementRef": ElementRef<any>;
|
|
52
|
+
_cdr: ChangeDetectorRef;
|
|
53
|
+
_isInited: boolean;
|
|
54
|
+
_isRendered: boolean;
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
ngAfterViewInit(): void;
|
|
57
|
+
ngOnDestroy(): void;
|
|
58
|
+
_getHostElement<T = HTMLElement>(): T;
|
|
59
|
+
_getInnerElement<T_1 = HTMLElement>(): T_1;
|
|
60
|
+
_onInternalInit(): void;
|
|
61
|
+
_onInternalViewInit(): void;
|
|
62
|
+
_onInternalDestroy(): void;
|
|
63
|
+
onInit(): void;
|
|
64
|
+
onRenderCssClass(): void;
|
|
65
|
+
onViewInit(): void;
|
|
66
|
+
onDestroy(): void;
|
|
67
|
+
onOptionChanging(option: {
|
|
68
|
+
name: string;
|
|
69
|
+
value?: any;
|
|
70
|
+
}): any;
|
|
71
|
+
onOptionChanged(option: {
|
|
72
|
+
name: string;
|
|
73
|
+
oldValue?: any;
|
|
74
|
+
newValue?: any;
|
|
75
|
+
}): void;
|
|
76
|
+
};
|
|
77
|
+
} & typeof AXBaseComponent;
|
|
78
|
+
export declare class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
79
|
+
/**
|
|
80
|
+
* @ignore
|
|
81
|
+
*/
|
|
82
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
83
|
+
text: string;
|
|
84
|
+
tooltip: string;
|
|
85
|
+
selected: boolean;
|
|
86
|
+
seperated: boolean;
|
|
87
|
+
name: string;
|
|
88
|
+
data: any;
|
|
89
|
+
color: AXStyleColorType;
|
|
90
|
+
private __hostClick;
|
|
91
|
+
private get __hostClass();
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonItemComponent, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonItemComponent, "ax-button-item", never, { "text": "text"; "tooltip": "tooltip"; "selected": "selected"; "seperated": "seperated"; "name": "name"; "data": "data"; "color": "color"; }, {}, never, ["ax-prefix", "ax-icon", "ax-suffix"]>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import { AXBaseButtonMixin } from '../base/mixin/mixin.class';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
9
|
+
export declare class AXButtonComponent extends AXBaseButtonMixin {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
13
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
14
|
+
onKeydownHandler(e: KeyboardEvent): boolean;
|
|
15
|
+
_emitOnClickEvent(e: MouseEvent): void;
|
|
16
|
+
_emitOnFocusEvent(e: MouseEvent): void;
|
|
17
|
+
_emitOnBlurEvent(e: MouseEvent): void;
|
|
18
|
+
private get __hostClass();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "size": "size"; "text": "text"; "submitBehavior": "submitBehavior"; "cancelBehavior": "cancelBehavior"; "color": "color"; "look": "look"; "toggleable": "toggleable"; "selected": "selected"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-prefix,ax-loading,ax-icon", "ax-suffix", "ax-dropdown-panel"]>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./button.component";
|
|
3
|
+
import * as i2 from "./button-item.component";
|
|
4
|
+
import * as i3 from "./button-group.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../icon/icon.module";
|
|
7
|
+
import * as i6 from "../decorators/decorators.module";
|
|
8
|
+
export declare class AXButtonModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXButtonModule, [typeof i1.AXButtonComponent, typeof i2.AXButtonItemComponent, typeof i3.AXButtonGroupComponent], [typeof i4.CommonModule, typeof i5.AXIconModule, typeof i6.AXEditorDecoratorModule], [typeof i1.AXButtonComponent, typeof i2.AXButtonItemComponent, typeof i3.AXButtonGroupComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXButtonModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AXDateTime } from '@acorex/core';
|
|
2
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
3
|
+
import { AXCalendarComponentMixin, AXClickEvent } from '../base';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare type AXCalendarViewType = 'years' | 'months' | 'days';
|
|
6
|
+
export declare type AXCalendarViewDepth = AXCalendarViewType;
|
|
7
|
+
export declare type AXCalendarDisabledDates = Date[] | ((date: Date) => boolean);
|
|
8
|
+
export declare type AXCalendarHolidayDates = Date[] | ((date: Date) => boolean);
|
|
9
|
+
export declare class AXCalendarComponent extends AXCalendarComponentMixin {
|
|
10
|
+
private cdr;
|
|
11
|
+
private get _viewRange();
|
|
12
|
+
_today: AXDateTime;
|
|
13
|
+
private _viewStartDate;
|
|
14
|
+
_navText: string;
|
|
15
|
+
_todayText: string;
|
|
16
|
+
_slots: any[];
|
|
17
|
+
private _activeView;
|
|
18
|
+
get activeView(): AXCalendarViewType;
|
|
19
|
+
set activeView(v: AXCalendarViewType);
|
|
20
|
+
depthChange: EventEmitter<AXCalendarViewDepth>;
|
|
21
|
+
private _depth;
|
|
22
|
+
get depth(): AXCalendarViewDepth;
|
|
23
|
+
set depth(v: AXCalendarViewDepth);
|
|
24
|
+
private _min;
|
|
25
|
+
get min(): Date;
|
|
26
|
+
set min(v: Date);
|
|
27
|
+
private _max;
|
|
28
|
+
get max(): Date;
|
|
29
|
+
set max(v: Date);
|
|
30
|
+
private _disabledDates;
|
|
31
|
+
get disabledDates(): AXCalendarDisabledDates;
|
|
32
|
+
set disabledDates(v: AXCalendarDisabledDates);
|
|
33
|
+
private _holidayDates;
|
|
34
|
+
get holidayDates(): AXCalendarHolidayDates;
|
|
35
|
+
set holidayDates(v: AXCalendarHolidayDates);
|
|
36
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
37
|
+
onInit(): void;
|
|
38
|
+
private _genearteSlots;
|
|
39
|
+
_handlePrevClick(e: AXClickEvent): void;
|
|
40
|
+
_handleNextClick(e: AXClickEvent): void;
|
|
41
|
+
_handleSlotClick(slot: any): void;
|
|
42
|
+
_handleNavClick(e: AXClickEvent): void;
|
|
43
|
+
_onValueChanged(oldValue: any, newValue: any): void;
|
|
44
|
+
_handleGoToday(): void;
|
|
45
|
+
next(): void;
|
|
46
|
+
prev(): void;
|
|
47
|
+
private _navNextPrev;
|
|
48
|
+
goToday(): void;
|
|
49
|
+
navTo(date: Date | AXDateTime): void;
|
|
50
|
+
private get __hostClass();
|
|
51
|
+
private isDisabled;
|
|
52
|
+
private isHoliday;
|
|
53
|
+
private isWeekend;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "debounceTime": "debounceTime"; "name": "name"; "disabled": "disabled"; "tabIndex": "tabIndex"; "activeView": "activeView"; "depth": "depth"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "holidayDates": "holidayDates"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; }, never, never>;
|
|
56
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./calendar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.module";
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
import * as i5 from "../decorators/decorators.module";
|
|
7
|
+
import * as i6 from "@acorex/core";
|
|
8
|
+
export declare class AXCalendarModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXCalendarModule, [typeof i1.AXCalendarComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXIconModule, typeof i5.AXEditorDecoratorModule, typeof i6.AXDateTimeModule], [typeof i1.AXCalendarComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AXCalendarModule>;
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin, AXClickEvent } from '../base';
|
|
3
|
+
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXCarouselArrowsComponent extends AXBaseComponentMixin {
|
|
6
|
+
private parent;
|
|
7
|
+
onNextClick: EventEmitter<AXClickEvent>;
|
|
8
|
+
onPrevClick: EventEmitter<AXClickEvent>;
|
|
9
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, parent: AXCarouselComponent);
|
|
10
|
+
_handlePrevClick(e: MouseEvent): void;
|
|
11
|
+
_handleNextClick(e: MouseEvent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselArrowsComponent, [null, null, { optional: true; }]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselArrowsComponent, "ax-carousel-arrows", never, {}, { "onNextClick": "onNextClick"; "onPrevClick": "onPrevClick"; }, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AXCarouselItemComponent extends AXBaseComponentMixin {
|
|
5
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselItemComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselItemComponent, "ax-carousel-item", never, {}, {}, never, ["*"]>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { AXBaseComponentMixin } from '../base';
|
|
3
|
+
import { AXCarouselComponent } from './carousel.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AXCarouselPagerComponent extends AXBaseComponentMixin {
|
|
6
|
+
private cdr;
|
|
7
|
+
private _parent;
|
|
8
|
+
_visibleIndex: number;
|
|
9
|
+
_pageIndex: number;
|
|
10
|
+
private _size;
|
|
11
|
+
_dots: any[];
|
|
12
|
+
private _subs;
|
|
13
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _parent: AXCarouselComponent);
|
|
14
|
+
onViewInit(): void;
|
|
15
|
+
private _generateDots;
|
|
16
|
+
_handleClick(e: MouseEvent, index: number): void;
|
|
17
|
+
private _setPageIndex;
|
|
18
|
+
private _findPageIndex;
|
|
19
|
+
onDestroy(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselPagerComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXCarouselPagerComponent, "ax-carousel-pager", never, {}, {}, never, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AXCarousel, AXCarouselCore } from "./carousel.class";
|
|
2
|
+
import { Splide as SS } from '@splidejs/splide';
|
|
3
|
+
export declare class AXCarouselSplideJS implements AXCarouselCore {
|
|
4
|
+
constructor();
|
|
5
|
+
_ref: SS;
|
|
6
|
+
_instance: AXCarousel;
|
|
7
|
+
mount(instance: AXCarousel): void;
|
|
8
|
+
private _emitOnSlideChanged;
|
|
9
|
+
private _getConfig;
|
|
10
|
+
next(): void;
|
|
11
|
+
last(): void;
|
|
12
|
+
prev(): void;
|
|
13
|
+
first(): void;
|
|
14
|
+
goToSlide(index: number): void;
|
|
15
|
+
goToPage(index: number): void;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
rebuild(): void;
|
|
18
|
+
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { EventEmitter
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { AXValueChangedEvent } from "../base";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@Injectable()
|
|
6
|
-
export abstract class AXCarouselCore {
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare abstract class AXCarouselCore {
|
|
7
5
|
abstract next(): void;
|
|
8
6
|
abstract last(): void;
|
|
9
7
|
abstract prev(): void;
|
|
@@ -13,55 +11,38 @@ export abstract class AXCarouselCore {
|
|
|
13
11
|
abstract goToPage(index: number): void;
|
|
14
12
|
abstract mount(instance: AXCarousel): void;
|
|
15
13
|
abstract rebuild(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselCore, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXCarouselCore>;
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
17
|
export interface AXCarousel {
|
|
21
|
-
|
|
22
18
|
onSlideChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
23
19
|
onOptionsChanged: EventEmitter<void>;
|
|
24
|
-
|
|
25
|
-
pageSizeChange: EventEmitter<number>
|
|
20
|
+
pageSizeChange: EventEmitter<number>;
|
|
26
21
|
pageSize: number;
|
|
27
|
-
//
|
|
28
22
|
gap: number;
|
|
29
|
-
//
|
|
30
23
|
autoplayChange: EventEmitter<boolean>;
|
|
31
24
|
autoplay: boolean;
|
|
32
|
-
|
|
33
|
-
intervalChange: EventEmitter<number>
|
|
25
|
+
intervalChange: EventEmitter<number>;
|
|
34
26
|
interval: number;
|
|
35
|
-
|
|
36
|
-
centeredChange: EventEmitter<boolean>
|
|
27
|
+
centeredChange: EventEmitter<boolean>;
|
|
37
28
|
centered: boolean;
|
|
38
|
-
|
|
39
|
-
verticalChange: EventEmitter<boolean>
|
|
29
|
+
verticalChange: EventEmitter<boolean>;
|
|
40
30
|
vertical: boolean;
|
|
41
|
-
|
|
42
|
-
paddingChange: EventEmitter<string | number>
|
|
31
|
+
paddingChange: EventEmitter<string | number>;
|
|
43
32
|
padding: string | number;
|
|
44
|
-
|
|
45
|
-
loopChange: EventEmitter<boolean>
|
|
33
|
+
loopChange: EventEmitter<boolean>;
|
|
46
34
|
loop: boolean;
|
|
47
|
-
|
|
48
|
-
rewindChange: EventEmitter<boolean>
|
|
35
|
+
rewindChange: EventEmitter<boolean>;
|
|
49
36
|
rewind: boolean;
|
|
50
|
-
//
|
|
51
37
|
visibleIndex: number;
|
|
52
|
-
|
|
53
|
-
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>
|
|
38
|
+
onItemsChanged: EventEmitter<AXValueChangedEvent<HTMLDivElement[]>>;
|
|
54
39
|
items: HTMLDivElement[];
|
|
55
|
-
|
|
56
40
|
rtl: boolean;
|
|
57
|
-
|
|
58
41
|
next(): void;
|
|
59
42
|
last(): void;
|
|
60
43
|
prev(): void;
|
|
61
44
|
first(): void;
|
|
62
45
|
goToSlide(index: number): void;
|
|
63
46
|
goToPage(index: number): void;
|
|
64
|
-
|
|
65
47
|
host: HTMLDivElement;
|
|
66
48
|
}
|
|
67
|
-
|