@acorex/components 5.8.0 → 6.0.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/.browserslistrc +16 -0
- package/README.md +24 -24
- package/action-sheet/index.ts +1 -0
- package/action-sheet/ng-package.json +6 -0
- package/action-sheet/public-api.ts +3 -0
- package/action-sheet/src/action-sheet-item.component.ts +46 -0
- package/action-sheet/src/action-sheet.component.html +12 -0
- package/action-sheet/src/action-sheet.component.ts +82 -0
- package/action-sheet/src/action-sheet.module.ts +13 -0
- package/alert/index.ts +1 -0
- package/alert/ng-package.json +6 -0
- package/alert/public-api.ts +2 -0
- package/alert/src/alert.component.html +21 -0
- package/alert/src/alert.component.ts +179 -0
- package/alert/src/alert.module.ts +15 -0
- package/avatar/index.ts +1 -0
- package/avatar/ng-package.json +6 -0
- package/avatar/public-api.ts +3 -0
- package/avatar/src/avatar-group.component.ts +12 -0
- package/avatar/src/avatar.component.html +30 -0
- package/avatar/src/avatar.component.ts +41 -0
- package/avatar/src/avatar.module.ts +15 -0
- package/{lib/avatar/index.d.ts → avatar/src/index.ts} +0 -0
- package/badge/index.ts +1 -0
- package/badge/ng-package.json +6 -0
- package/badge/public-api.ts +2 -0
- package/badge/src/badge.component.html +3 -0
- package/badge/src/badge.component.ts +37 -0
- package/badge/src/badge.module.ts +14 -0
- package/breadcrumbs/index.ts +4 -0
- package/breadcrumbs/ng-package.json +6 -0
- package/breadcrumbs/public-api.ts +4 -0
- package/breadcrumbs/src/breadcrumbs-item.class.ts +9 -0
- package/breadcrumbs/src/breadcrumbs-item.component.html +11 -0
- package/breadcrumbs/src/breadcrumbs-item.component.ts +42 -0
- package/breadcrumbs/src/breadcrumbs.component.html +8 -0
- package/breadcrumbs/src/breadcrumbs.component.ts +28 -0
- package/breadcrumbs/src/breadcrumbs.module.ts +12 -0
- package/button/index.ts +1 -0
- package/button/ng-package.json +6 -0
- package/button/public-api.ts +5 -0
- package/button/src/button-group.component.html +2 -0
- package/button/src/button-group.component.ts +126 -0
- package/button/src/button-item.class.ts +24 -0
- package/button/src/button-item.component.ts +78 -0
- package/button/src/button.component.html +10 -0
- package/button/src/button.component.ts +79 -0
- package/button/src/button.module.ts +22 -0
- package/calendar/index.ts +1 -0
- package/calendar/ng-package.json +6 -0
- package/calendar/public-api.ts +3 -0
- package/calendar/src/calendar.class.ts +143 -0
- package/calendar/src/calendar.component.html +70 -0
- package/calendar/src/calendar.component.ts +416 -0
- package/calendar/src/calendar.module.ts +17 -0
- package/carousel/index.ts +1 -0
- package/carousel/ng-package.json +6 -0
- package/carousel/public-api.ts +7 -0
- package/carousel/src/carousel-arrows.component.ts +70 -0
- package/carousel/src/carousel-item.component.ts +19 -0
- package/carousel/src/carousel-pager.component.ts +83 -0
- package/carousel/src/carousel-splidejs.class.ts +115 -0
- package/carousel/src/carousel.class.ts +103 -0
- package/carousel/src/carousel.component.html +11 -0
- package/carousel/src/carousel.component.ts +477 -0
- package/carousel/src/carousel.module.ts +17 -0
- package/checkbox/index.ts +1 -0
- package/checkbox/ng-package.json +6 -0
- package/checkbox/public-api.ts +2 -0
- package/checkbox/src/checkbox.component.html +14 -0
- package/checkbox/src/checkbox.component.ts +50 -0
- package/checkbox/src/checkbox.module.ts +12 -0
- package/collapse/index.ts +1 -0
- package/collapse/ng-package.json +6 -0
- package/collapse/public-api.ts +3 -0
- package/collapse/src/collapse-group.component.ts +53 -0
- package/collapse/src/collapse.component.html +25 -0
- package/collapse/src/collapse.component.ts +52 -0
- package/collapse/src/collapse.module.ts +12 -0
- package/color-palette/index.ts +1 -0
- package/color-palette/ng-package.json +6 -0
- package/color-palette/public-api.ts +7 -0
- package/color-palette/src/color-palette-input.component.html +40 -0
- package/color-palette/src/color-palette-input.component.ts +102 -0
- package/color-palette/src/color-palette-picker.component.html +11 -0
- package/color-palette/src/color-palette-picker.component.ts +105 -0
- package/color-palette/src/color-palette-preview.component.ts +59 -0
- package/color-palette/src/color-palette-swatches.component.ts +296 -0
- package/color-palette/src/color-palette.class.ts +23 -0
- package/color-palette/src/color-palette.component.html +21 -0
- package/color-palette/src/color-palette.component.ts +99 -0
- package/color-palette/src/color-palette.module.ts +39 -0
- package/color-picker/index.ts +1 -0
- package/color-picker/ng-package.json +6 -0
- package/color-picker/public-api.ts +2 -0
- package/color-picker/src/color-picker.component.html +24 -0
- package/color-picker/src/color-picker.component.ts +125 -0
- package/color-picker/src/color-picker.module.ts +34 -0
- package/common/index.ts +1 -0
- package/common/ng-package.json +6 -0
- package/common/public-api.ts +12 -0
- package/common/src/auto-focus.directive.ts +51 -0
- package/common/src/common.module.ts +22 -0
- package/common/src/components.class.ts +44 -0
- package/common/src/custom-cdk-overlay.service.ts +86 -0
- package/common/src/drawing.class.ts +9 -0
- package/common/src/events.class.ts +97 -0
- package/common/src/hotkey.directive.ts +86 -0
- package/common/src/hotkey.service.ts +43 -0
- package/common/src/infinite-scroll.directive.ts +95 -0
- package/common/src/overlay.service.ts +117 -0
- package/common/src/responsive.directive.ts +31 -0
- package/common/src/styles.class.ts +47 -0
- package/data-pager/index.ts +1 -0
- package/data-pager/ng-package.json +6 -0
- package/data-pager/public-api.ts +9 -0
- package/data-pager/src/data-pager-base.component.ts +50 -0
- package/data-pager/src/data-pager-info.component.ts +61 -0
- package/data-pager/src/data-pager-input-selector.component.ts +43 -0
- package/data-pager/src/data-pager-next-buttons.components.ts +49 -0
- package/data-pager/src/data-pager-numeric-selector.component.ts +86 -0
- package/data-pager/src/data-pager-pagesize-dropdown.component.ts +77 -0
- package/data-pager/src/data-pager-prev-buttons.component.ts +51 -0
- package/data-pager/src/data-pager.component.html +33 -0
- package/data-pager/src/data-pager.component.ts +163 -0
- package/data-pager/src/data-pager.module.ts +32 -0
- package/data-table/index.ts +1 -0
- package/data-table/ng-package.json +6 -0
- package/data-table/public-api.ts +4 -0
- package/data-table/src/data-column-cell-template.directive.ts +13 -0
- package/data-table/src/data-column.directive.ts +45 -0
- package/data-table/src/data-table.component.html +89 -0
- package/data-table/src/data-table.component.ts +159 -0
- package/data-table/src/data-table.module.ts +20 -0
- package/{lib/data-table/index.d.ts → data-table/src/index.ts} +0 -0
- package/date-picker/index.ts +1 -0
- package/date-picker/ng-package.json +6 -0
- package/date-picker/public-api.ts +2 -0
- package/date-picker/src/datepicker.component.html +37 -0
- package/date-picker/src/datepicker.component.ts +289 -0
- package/date-picker/src/datepicker.module.ts +31 -0
- package/decorators/index.ts +1 -0
- package/decorators/ng-package.json +6 -0
- package/decorators/public-api.ts +10 -0
- package/decorators/src/addon.component.ts +21 -0
- package/decorators/src/close-button.component.ts +48 -0
- package/decorators/src/content.component.ts +21 -0
- package/decorators/src/decorators.module.ts +32 -0
- package/decorators/src/footer.component.ts +25 -0
- package/decorators/src/header.component.ts +25 -0
- package/decorators/src/icon.component.ts +31 -0
- package/decorators/src/prefix.component.ts +21 -0
- package/decorators/src/suffix.component.ts +21 -0
- package/decorators/src/title.component.ts +26 -0
- package/dialog/index.ts +1 -0
- package/dialog/ng-package.json +6 -0
- package/dialog/public-api.ts +4 -0
- package/dialog/src/dialog.class.ts +13 -0
- package/dialog/src/dialog.component.html +21 -0
- package/dialog/src/dialog.component.ts +61 -0
- package/dialog/src/dialog.module.ts +20 -0
- package/dialog/src/dialog.service.ts +159 -0
- package/drawer/index.ts +1 -0
- package/drawer/ng-package.json +6 -0
- package/drawer/public-api.ts +3 -0
- package/drawer/src/drawer-container.component.ts +40 -0
- package/drawer/src/drawer.component.ts +168 -0
- package/drawer/src/drawer.module.ts +15 -0
- package/dropdown/index.ts +1 -0
- package/dropdown/ng-package.json +6 -0
- package/dropdown/public-api.ts +2 -0
- package/dropdown/src/dropdown-panel.component.html +6 -0
- package/dropdown/src/dropdown-panel.component.ts +113 -0
- package/dropdown/src/dropdown.module.ts +15 -0
- package/form/index.ts +1 -0
- package/form/ng-package.json +6 -0
- package/form/public-api.ts +7 -0
- package/form/src/form-field.component.ts +21 -0
- package/form/src/form-field.module.ts +55 -0
- package/form/src/form-hint.component.ts +18 -0
- package/form/src/form.component.ts +89 -0
- package/form/src/validation-rule.widget.ts +133 -0
- package/form/src/validation-summary.component.ts +82 -0
- package/form/src/validation.class.ts +25 -0
- package/index.ts +1 -0
- package/input-mask/index.ts +1 -0
- package/input-mask/ng-package.json +6 -0
- package/input-mask/public-api.ts +2 -0
- package/input-mask/src/input-mask.component.ts +70 -0
- package/input-mask/src/input-mask.module.ts +16 -0
- package/karma.conf.js +44 -0
- package/label/index.ts +1 -0
- package/label/ng-package.json +6 -0
- package/label/public-api.ts +2 -0
- package/label/src/label.component.html +3 -0
- package/label/src/label.component.ts +34 -0
- package/label/src/label.module.ts +14 -0
- package/loading/index.ts +1 -0
- package/loading/ng-package.json +6 -0
- package/loading/public-api.ts +5 -0
- package/loading/src/loading-spinner.component.ts +39 -0
- package/loading/src/loading.component.ts +79 -0
- package/loading/src/loading.directive.ts +88 -0
- package/loading/src/loading.module.ts +32 -0
- package/loading/src/loading.service.ts +205 -0
- package/menu/index.ts +1 -0
- package/menu/ng-package.json +6 -0
- package/menu/public-api.ts +2 -0
- package/menu/src/menu.component.html +64 -0
- package/menu/src/menu.component.ts +234 -0
- package/menu/src/menu.module.ts +18 -0
- package/mixin/index.ts +1 -0
- package/mixin/ng-package.json +7 -0
- package/mixin/public-api.ts +17 -0
- package/mixin/src/base-components.class.ts +140 -0
- package/mixin/src/base-menu-mixin.class.ts +165 -0
- package/mixin/src/button-mixin.class.ts +84 -0
- package/mixin/src/clickable-mixin.class.ts +32 -0
- package/mixin/src/color-look-mixing.class.ts +56 -0
- package/mixin/src/constratctor.ts +3 -0
- package/mixin/src/datalist-component.class.ts +176 -0
- package/mixin/src/datalist.class.ts +14 -0
- package/mixin/src/dropdown-mixin.class.ts +135 -0
- package/mixin/src/interactive-mixin.class.ts +97 -0
- package/mixin/src/loading-mixin.class.ts +31 -0
- package/mixin/src/mixin.class.ts +70 -0
- package/mixin/src/page-component.class.ts +15 -0
- package/mixin/src/selection-component.class.ts +212 -0
- package/mixin/src/sizable-mixin.class.ts +29 -0
- package/mixin/src/textbox-mixin.class.ts +116 -0
- package/mixin/src/value-mixin.class.ts +230 -0
- package/ng-package.json +7 -0
- package/number-box/index.ts +1 -0
- package/number-box/ng-package.json +6 -0
- package/number-box/public-api.ts +2 -0
- package/number-box/src/number-box.component.html +40 -0
- package/number-box/src/number-box.component.ts +272 -0
- package/number-box/src/number-box.module.ts +24 -0
- package/package.json +33 -35
- package/page/index.ts +1 -0
- package/page/ng-package.json +6 -0
- package/page/public-api.ts +4 -0
- package/page/src/base-page.class.ts +109 -0
- package/page/src/page.component.ts +42 -0
- package/page/src/page.module.ts +11 -0
- package/password-box/index.ts +1 -0
- package/password-box/ng-package.json +6 -0
- package/password-box/public-api.ts +2 -0
- package/password-box/src/password-box.component.html +15 -0
- package/password-box/src/password-box.component.ts +65 -0
- package/password-box/src/password-box.module.ts +22 -0
- package/popover/index.ts +1 -0
- package/popover/ng-package.json +6 -0
- package/popover/public-api.ts +3 -0
- package/popover/src/popover.component.html +3 -0
- package/popover/src/popover.component.ts +309 -0
- package/popover/src/popover.module.ts +11 -0
- package/popup/index.ts +1 -0
- package/popup/ng-package.json +6 -0
- package/popup/public-api.ts +3 -0
- package/popup/src/popup.component.html +14 -0
- package/popup/src/popup.component.ts +178 -0
- package/popup/src/popup.module.ts +20 -0
- package/popup/src/popup.service.ts +114 -0
- package/progress-bar/index.ts +1 -0
- package/progress-bar/ng-package.json +6 -0
- package/progress-bar/public-api.ts +2 -0
- package/progress-bar/src/progress-bar.component.html +6 -0
- package/progress-bar/src/progress-bar.component.ts +32 -0
- package/progress-bar/src/progress-bar.module.ts +11 -0
- package/public-api.ts +5 -0
- package/radio/index.ts +1 -0
- package/radio/ng-package.json +6 -0
- package/radio/public-api.ts +2 -0
- package/radio/src/radio.component.html +11 -0
- package/radio/src/radio.component.ts +44 -0
- package/radio/src/radio.module.ts +15 -0
- package/range-slider/index.ts +1 -0
- package/range-slider/ng-package.json +6 -0
- package/range-slider/public-api.ts +2 -0
- package/range-slider/src/range-slider.component.html +1 -0
- package/range-slider/src/range-slider.component.ts +132 -0
- package/range-slider/src/range-slider.module.ts +15 -0
- package/rating/index.ts +1 -0
- package/rating/ng-package.json +6 -0
- package/rating/public-api.ts +2 -0
- package/rating/src/rating.component.html +5 -0
- package/rating/src/rating.component.module.ts +11 -0
- package/rating/src/rating.component.ts +43 -0
- package/result/index.ts +1 -0
- package/result/ng-package.json +6 -0
- package/result/public-api.ts +2 -0
- package/result/src/result.component.html +1958 -0
- package/result/src/result.component.ts +29 -0
- package/result/src/result.module.ts +11 -0
- package/search-box/index.ts +1 -0
- package/search-box/ng-package.json +6 -0
- package/search-box/public-api.ts +2 -0
- package/search-box/src/search-box.component.html +13 -0
- package/search-box/src/search-box.component.ts +62 -0
- package/search-box/src/search-box.module.ts +18 -0
- package/select-box/index.ts +1 -0
- package/select-box/ng-package.json +6 -0
- package/select-box/public-api.ts +2 -0
- package/select-box/src/selectbox.component.html +147 -0
- package/select-box/src/selectbox.component.ts +410 -0
- package/select-box/src/selectbox.module.ts +35 -0
- package/selection-list/index.ts +1 -0
- package/selection-list/ng-package.json +6 -0
- package/selection-list/public-api.ts +2 -0
- package/selection-list/src/selection-list.component.html +62 -0
- package/selection-list/src/selection-list.component.ts +69 -0
- package/selection-list/src/selection-list.module.ts +17 -0
- package/switch/index.ts +1 -0
- package/switch/ng-package.json +6 -0
- package/switch/public-api.ts +2 -0
- package/switch/src/switch.component.html +14 -0
- package/switch/src/switch.component.ts +52 -0
- package/switch/src/switch.module.ts +13 -0
- package/tabs/index.ts +1 -0
- package/tabs/ng-package.json +6 -0
- package/tabs/public-api.ts +5 -0
- package/tabs/src/tab-content.directive.ts +23 -0
- package/tabs/src/tab-item.component.ts +125 -0
- package/tabs/src/tabs.class.ts +7 -0
- package/tabs/src/tabs.component.ts +108 -0
- package/tabs/src/tabs.module.ts +18 -0
- package/test.ts +27 -0
- package/textarea/index.ts +1 -0
- package/textarea/ng-package.json +6 -0
- package/textarea/public-api.ts +2 -0
- package/textarea/src/textarea.component.html +6 -0
- package/textarea/src/textarea.component.ts +32 -0
- package/textarea/src/textarea.module.ts +11 -0
- package/textbox/index.ts +1 -0
- package/textbox/ng-package.json +6 -0
- package/textbox/public-api.ts +2 -0
- package/textbox/src/textbox.component.html +17 -0
- package/textbox/src/textbox.component.ts +37 -0
- package/textbox/src/textbox.module.ts +22 -0
- package/time-box/index.ts +1 -0
- package/time-box/ng-package.json +6 -0
- package/time-box/public-api.ts +2 -0
- package/time-box/src/time-box.component.html +16 -0
- package/time-box/src/time-box.component.ts +315 -0
- package/time-box/src/time-box.module.ts +22 -0
- package/toast/index.ts +1 -0
- package/toast/ng-package.json +6 -0
- package/toast/public-api.ts +4 -0
- package/toast/src/toast.class.ts +18 -0
- package/toast/src/toast.component.html +21 -0
- package/toast/src/toast.component.ts +65 -0
- package/toast/src/toast.module.ts +19 -0
- package/toast/src/toast.service.ts +160 -0
- package/tooltip/index.ts +1 -0
- package/tooltip/ng-package.json +6 -0
- package/tooltip/public-api.ts +3 -0
- package/tooltip/src/tooltip.component.html +6 -0
- package/tooltip/src/tooltip.component.ts +36 -0
- package/tooltip/src/tooltip.directive.ts +93 -0
- package/tooltip/src/tooltip.module.ts +16 -0
- package/tree-view/index.ts +1 -0
- package/tree-view/ng-package.json +6 -0
- package/tree-view/public-api.ts +2 -0
- package/tree-view/src/tree-view.component.html +15 -0
- package/tree-view/src/tree-view.component.ts +105 -0
- package/tree-view/src/tree-view.module.ts +12 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/esm2020/acorex-components.mjs +0 -5
- package/esm2020/lib/action-sheet/action-sheet-item.component.mjs +0 -37
- package/esm2020/lib/action-sheet/action-sheet.component.mjs +0 -87
- package/esm2020/lib/action-sheet/action-sheet.module.mjs +0 -22
- package/esm2020/lib/action-sheet/index.mjs +0 -4
- package/esm2020/lib/alert/alert.component.mjs +0 -146
- package/esm2020/lib/alert/alert.module.mjs +0 -24
- package/esm2020/lib/alert/index.mjs +0 -3
- package/esm2020/lib/avatar/avatar-group.component.mjs +0 -17
- package/esm2020/lib/avatar/avatar.component.mjs +0 -42
- package/esm2020/lib/avatar/avatar.module.mjs +0 -22
- package/esm2020/lib/avatar/index.mjs +0 -4
- package/esm2020/lib/badge/badge.component.mjs +0 -28
- package/esm2020/lib/badge/badge.module.mjs +0 -21
- package/esm2020/lib/badge/index.mjs +0 -3
- package/esm2020/lib/base/auto-focus.directive.mjs +0 -43
- package/esm2020/lib/base/common.module.mjs +0 -21
- package/esm2020/lib/base/components.class.mjs +0 -45
- package/esm2020/lib/base/custom-cdk-overlay.service.mjs +0 -47
- package/esm2020/lib/base/drawing.class.mjs +0 -11
- package/esm2020/lib/base/events.class.mjs +0 -58
- package/esm2020/lib/base/hotkey.directive.mjs +0 -79
- package/esm2020/lib/base/index.mjs +0 -12
- package/esm2020/lib/base/infinite-scroll.directive.mjs +0 -63
- package/esm2020/lib/base/mixin/base-components.class.mjs +0 -100
- package/esm2020/lib/base/mixin/base-menu-mixin.class.mjs +0 -140
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +0 -70
- package/esm2020/lib/base/mixin/clickable-mixin.class.mjs +0 -24
- package/esm2020/lib/base/mixin/color-look-mixing.class.mjs +0 -48
- package/esm2020/lib/base/mixin/constratctor.mjs +0 -2
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +0 -160
- package/esm2020/lib/base/mixin/datalist.class.mjs +0 -3
- package/esm2020/lib/base/mixin/dropdown-mixin.class.mjs +0 -99
- package/esm2020/lib/base/mixin/index.mjs +0 -5
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +0 -84
- package/esm2020/lib/base/mixin/loading-mixin.class.mjs +0 -18
- package/esm2020/lib/base/mixin/mixin.class.mjs +0 -26
- package/esm2020/lib/base/mixin/selection-component.class.mjs +0 -181
- package/esm2020/lib/base/mixin/sizable-mixin.class.mjs +0 -18
- package/esm2020/lib/base/mixin/textbox-mixin.class.mjs +0 -90
- package/esm2020/lib/base/mixin/value-mixin.class.mjs +0 -197
- package/esm2020/lib/base/overlay.service.mjs +0 -91
- package/esm2020/lib/base/responsive.directive.mjs +0 -34
- package/esm2020/lib/base/styles.class.mjs +0 -4
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.class.mjs +0 -2
- package/esm2020/lib/breadcrumbs/breadcrumbs-item.component.mjs +0 -20
- package/esm2020/lib/breadcrumbs/breadcrumbs.component.mjs +0 -18
- package/esm2020/lib/breadcrumbs/breadcrumbs.module.mjs +0 -20
- package/esm2020/lib/breadcrumbs/index.mjs +0 -5
- package/esm2020/lib/button/button-group.component.mjs +0 -90
- package/esm2020/lib/button/button-item.class.mjs +0 -2
- package/esm2020/lib/button/button-item.component.mjs +0 -80
- package/esm2020/lib/button/button.component.mjs +0 -54
- package/esm2020/lib/button/button.module.mjs +0 -32
- package/esm2020/lib/button/index.mjs +0 -6
- package/esm2020/lib/calendar/calendar.class.mjs +0 -126
- package/esm2020/lib/calendar/calendar.component.mjs +0 -330
- package/esm2020/lib/calendar/calendar.module.mjs +0 -25
- package/esm2020/lib/calendar/index.mjs +0 -3
- package/esm2020/lib/carousel/carousel-arrows.component.mjs +0 -56
- package/esm2020/lib/carousel/carousel-item.component.mjs +0 -21
- package/esm2020/lib/carousel/carousel-pager.component.mjs +0 -74
- package/esm2020/lib/carousel/carousel-splidejs.class.mjs +0 -91
- package/esm2020/lib/carousel/carousel.class.mjs +0 -10
- package/esm2020/lib/carousel/carousel.component.mjs +0 -438
- package/esm2020/lib/carousel/carousel.module.mjs +0 -24
- package/esm2020/lib/carousel/index.mjs +0 -7
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -42
- package/esm2020/lib/checkbox/checkbox.module.mjs +0 -21
- package/esm2020/lib/checkbox/index.mjs +0 -3
- package/esm2020/lib/collapse/collapse-group.component.mjs +0 -50
- package/esm2020/lib/collapse/collapse.component.mjs +0 -42
- package/esm2020/lib/collapse/collapse.module.mjs +0 -20
- package/esm2020/lib/collapse/index.mjs +0 -4
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +0 -80
- package/esm2020/lib/color-palette/color-palette-picker.component.mjs +0 -79
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +0 -44
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +0 -272
- package/esm2020/lib/color-palette/color-palette.class.mjs +0 -17
- package/esm2020/lib/color-palette/color-palette.component.mjs +0 -73
- package/esm2020/lib/color-palette/color-palette.module.mjs +0 -57
- package/esm2020/lib/color-palette/index.mjs +0 -7
- package/esm2020/lib/color-picker/color-picker.component.mjs +0 -90
- package/esm2020/lib/color-picker/color-picker.module.mjs +0 -61
- package/esm2020/lib/color-picker/index.mjs +0 -3
- package/esm2020/lib/data-pager/data-pager-base.component.mjs +0 -37
- package/esm2020/lib/data-pager/data-pager-info.component.mjs +0 -52
- package/esm2020/lib/data-pager/data-pager-input-selector.component.mjs +0 -50
- package/esm2020/lib/data-pager/data-pager-next-buttons.components.mjs +0 -60
- package/esm2020/lib/data-pager/data-pager-numeric-selector.component.mjs +0 -99
- package/esm2020/lib/data-pager/data-pager-pagesize-dropdown.component.mjs +0 -86
- package/esm2020/lib/data-pager/data-pager-prev-buttons.component.mjs +0 -58
- package/esm2020/lib/data-pager/data-pager.component.mjs +0 -132
- package/esm2020/lib/data-pager/data-pager.module.mjs +0 -51
- package/esm2020/lib/data-pager/index.mjs +0 -9
- package/esm2020/lib/data-table/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/lib/data-table/data-column.directive.mjs +0 -43
- package/esm2020/lib/data-table/data-table.component.mjs +0 -124
- package/esm2020/lib/data-table/data-table.module.mjs +0 -27
- package/esm2020/lib/data-table/index.mjs +0 -5
- package/esm2020/lib/datalist/datalist.component.mjs +0 -75
- package/esm2020/lib/datalist/datalist.module.mjs +0 -24
- package/esm2020/lib/datalist/index.mjs +0 -3
- package/esm2020/lib/datepicker/datepicker.component.mjs +0 -189
- package/esm2020/lib/datepicker/datepicker.module.mjs +0 -44
- package/esm2020/lib/datepicker/index.mjs +0 -3
- package/esm2020/lib/decorators/addon.component.mjs +0 -20
- package/esm2020/lib/decorators/close-button.component.mjs +0 -40
- package/esm2020/lib/decorators/content.component.mjs +0 -26
- package/esm2020/lib/decorators/decorators.module.mjs +0 -55
- package/esm2020/lib/decorators/footer.component.mjs +0 -24
- package/esm2020/lib/decorators/header.component.mjs +0 -24
- package/esm2020/lib/decorators/icon.component.mjs +0 -28
- package/esm2020/lib/decorators/index.mjs +0 -12
- package/esm2020/lib/decorators/prefix.component.mjs +0 -24
- package/esm2020/lib/decorators/suffix.component.mjs +0 -24
- package/esm2020/lib/decorators/title.component.mjs +0 -24
- package/esm2020/lib/dialog/dialog.class.mjs +0 -2
- package/esm2020/lib/dialog/dialog.component.mjs +0 -53
- package/esm2020/lib/dialog/dialog.module.mjs +0 -27
- package/esm2020/lib/dialog/dialog.service.mjs +0 -150
- package/esm2020/lib/dialog/index.mjs +0 -5
- package/esm2020/lib/drawer/drawer-container.component.mjs +0 -43
- package/esm2020/lib/drawer/drawer.component.mjs +0 -149
- package/esm2020/lib/drawer/drawer.module.mjs +0 -22
- package/esm2020/lib/drawer/index.mjs +0 -4
- package/esm2020/lib/dropdown/dropdown-panel.component.mjs +0 -83
- package/esm2020/lib/dropdown/dropdown.module.mjs +0 -23
- package/esm2020/lib/dropdown/index.mjs +0 -3
- package/esm2020/lib/form/form-field.component.mjs +0 -20
- package/esm2020/lib/form/form-field.module.mjs +0 -21
- package/esm2020/lib/form/form-hint.component.mjs +0 -20
- package/esm2020/lib/form/form.component.mjs +0 -85
- package/esm2020/lib/form/index.mjs +0 -5
- package/esm2020/lib/input-mask/index.mjs +0 -3
- package/esm2020/lib/input-mask/input-mask.component.mjs +0 -56
- package/esm2020/lib/input-mask/input-mask.module.mjs +0 -24
- package/esm2020/lib/label/index.mjs +0 -3
- package/esm2020/lib/label/label.component.mjs +0 -27
- package/esm2020/lib/label/label.module.mjs +0 -21
- package/esm2020/lib/loading/index.mjs +0 -6
- package/esm2020/lib/loading/loading-spinner.component.mjs +0 -35
- package/esm2020/lib/loading/loading.component.mjs +0 -62
- package/esm2020/lib/loading/loading.directive.mjs +0 -67
- package/esm2020/lib/loading/loading.module.mjs +0 -35
- package/esm2020/lib/loading/loading.service.mjs +0 -154
- package/esm2020/lib/menu/index.mjs +0 -3
- package/esm2020/lib/menu/menu.component.mjs +0 -182
- package/esm2020/lib/menu/menu.module.mjs +0 -34
- package/esm2020/lib/number-box/index.mjs +0 -3
- package/esm2020/lib/number-box/number-box.component.mjs +0 -230
- package/esm2020/lib/number-box/number-box.module.mjs +0 -35
- package/esm2020/lib/page/base-page.class.mjs +0 -86
- package/esm2020/lib/page/index.mjs +0 -4
- package/esm2020/lib/page/page.component.mjs +0 -58
- package/esm2020/lib/page/page.module.mjs +0 -17
- package/esm2020/lib/password-box/index.mjs +0 -3
- package/esm2020/lib/password-box/password-box.component.mjs +0 -59
- package/esm2020/lib/password-box/password-box.module.mjs +0 -32
- package/esm2020/lib/picker/index.mjs +0 -3
- package/esm2020/lib/picker/picker.component.mjs +0 -283
- package/esm2020/lib/picker/picker.model.class.mjs +0 -2
- package/esm2020/lib/picker/picker.module.mjs +0 -20
- package/esm2020/lib/popover/index.mjs +0 -3
- package/esm2020/lib/popover/popover.component.mjs +0 -253
- package/esm2020/lib/popover/popover.module.mjs +0 -19
- package/esm2020/lib/popup/index.mjs +0 -4
- package/esm2020/lib/popup/popup.component.mjs +0 -125
- package/esm2020/lib/popup/popup.module.mjs +0 -26
- package/esm2020/lib/popup/popup.service.mjs +0 -95
- package/esm2020/lib/progress-bar/index.mjs +0 -3
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2020/lib/progress-bar/progress-bar.module.mjs +0 -19
- package/esm2020/lib/radio/index.mjs +0 -3
- package/esm2020/lib/radio/radio.component.mjs +0 -34
- package/esm2020/lib/radio/radio.module.mjs +0 -22
- package/esm2020/lib/range-slider/index.mjs +0 -3
- package/esm2020/lib/range-slider/range-slider.component.mjs +0 -105
- package/esm2020/lib/range-slider/range-slider.module.mjs +0 -22
- package/esm2020/lib/rating/index.mjs +0 -3
- package/esm2020/lib/rating/rating.component.mjs +0 -41
- package/esm2020/lib/rating/rating.component.module.mjs +0 -19
- package/esm2020/lib/result/index.mjs +0 -3
- package/esm2020/lib/result/result.component.mjs +0 -23
- package/esm2020/lib/result/result.module.mjs +0 -19
- package/esm2020/lib/searchbox/index.mjs +0 -3
- package/esm2020/lib/searchbox/searchbox.component.mjs +0 -53
- package/esm2020/lib/searchbox/searchbox.module.mjs +0 -25
- package/esm2020/lib/selectbox/index.mjs +0 -3
- package/esm2020/lib/selectbox/selectbox.component.mjs +0 -338
- package/esm2020/lib/selectbox/selectbox.module.mjs +0 -64
- package/esm2020/lib/selection-list/index.mjs +0 -3
- package/esm2020/lib/selection-list/selection-list.component.mjs +0 -50
- package/esm2020/lib/selection-list/selection-list.module.mjs +0 -24
- package/esm2020/lib/switch/index.mjs +0 -3
- package/esm2020/lib/switch/switch.component.mjs +0 -33
- package/esm2020/lib/switch/switch.module.mjs +0 -21
- package/esm2020/lib/tabs/index.mjs +0 -6
- package/esm2020/lib/tabs/tab-content.directive.mjs +0 -29
- package/esm2020/lib/tabs/tab-item.component.mjs +0 -121
- package/esm2020/lib/tabs/tabs.class.mjs +0 -4
- package/esm2020/lib/tabs/tabs.component.mjs +0 -95
- package/esm2020/lib/tabs/tabs.module.mjs +0 -25
- package/esm2020/lib/textarea/index.mjs +0 -3
- package/esm2020/lib/textarea/textarea.component.mjs +0 -25
- package/esm2020/lib/textarea/textarea.module.mjs +0 -24
- package/esm2020/lib/textbox/index.mjs +0 -3
- package/esm2020/lib/textbox/textbox.component.mjs +0 -34
- package/esm2020/lib/textbox/textbox.module.mjs +0 -37
- package/esm2020/lib/time-box/index.mjs +0 -3
- package/esm2020/lib/time-box/time-box.component.mjs +0 -262
- package/esm2020/lib/time-box/time-box.module.mjs +0 -32
- package/esm2020/lib/toast/index.mjs +0 -5
- package/esm2020/lib/toast/toast.class.mjs +0 -2
- package/esm2020/lib/toast/toast.component.mjs +0 -61
- package/esm2020/lib/toast/toast.module.mjs +0 -24
- package/esm2020/lib/toast/toast.service.mjs +0 -148
- package/esm2020/lib/tooltip/index.mjs +0 -4
- package/esm2020/lib/tooltip/tooltip.component.mjs +0 -38
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -86
- package/esm2020/lib/tooltip/tooltip.module.mjs +0 -23
- package/esm2020/lib/treeview/index.mjs +0 -3
- package/esm2020/lib/treeview/tree-view.component.mjs +0 -108
- package/esm2020/lib/treeview/tree-view.module.mjs +0 -20
- package/esm2020/lib/validation/index.mjs +0 -4
- package/esm2020/lib/validation/validation-rule.widget.mjs +0 -99
- package/esm2020/lib/validation/validation-summary.component.mjs +0 -102
- package/esm2020/lib/validation/validation.class.mjs +0 -2
- package/esm2020/lib/validation/validation.module.mjs +0 -44
- package/esm2020/public-api.mjs +0 -54
- package/fesm2015/acorex-components.mjs +0 -10318
- package/fesm2015/acorex-components.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -10225
- package/fesm2020/acorex-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/action-sheet/action-sheet-item.component.d.ts +0 -15
- package/lib/action-sheet/action-sheet.component.d.ts +0 -19
- package/lib/action-sheet/action-sheet.module.d.ts +0 -11
- package/lib/action-sheet/index.d.ts +0 -3
- package/lib/alert/alert.component.d.ts +0 -78
- package/lib/alert/alert.module.d.ts +0 -9
- package/lib/alert/index.d.ts +0 -2
- package/lib/avatar/avatar-group.component.d.ts +0 -8
- package/lib/avatar/avatar.component.d.ts +0 -22
- package/lib/avatar/avatar.module.d.ts +0 -9
- package/lib/badge/badge.component.d.ts +0 -41
- package/lib/badge/badge.module.d.ts +0 -8
- package/lib/badge/index.d.ts +0 -2
- package/lib/base/auto-focus.directive.d.ts +0 -12
- package/lib/base/common.module.d.ts +0 -10
- package/lib/base/components.class.d.ts +0 -42
- package/lib/base/custom-cdk-overlay.service.d.ts +0 -19
- package/lib/base/drawing.class.d.ts +0 -9
- package/lib/base/events.class.d.ts +0 -85
- package/lib/base/hotkey.directive.d.ts +0 -22
- package/lib/base/index.d.ts +0 -11
- package/lib/base/infinite-scroll.directive.d.ts +0 -25
- package/lib/base/mixin/base-components.class.d.ts +0 -85
- package/lib/base/mixin/base-menu-mixin.class.d.ts +0 -52
- package/lib/base/mixin/button-mixin.class.d.ts +0 -52
- package/lib/base/mixin/clickable-mixin.class.d.ts +0 -35
- package/lib/base/mixin/color-look-mixing.class.d.ts +0 -43
- package/lib/base/mixin/constratctor.d.ts +0 -4
- package/lib/base/mixin/datalist-component.class.d.ts +0 -58
- package/lib/base/mixin/datalist.class.d.ts +0 -11
- package/lib/base/mixin/dropdown-mixin.class.d.ts +0 -48
- package/lib/base/mixin/index.d.ts +0 -4
- package/lib/base/mixin/interactive-mixin.class.d.ts +0 -59
- package/lib/base/mixin/loading-mixin.class.d.ts +0 -39
- package/lib/base/mixin/mixin.class.d.ts +0 -693
- package/lib/base/mixin/selection-component.class.d.ts +0 -63
- package/lib/base/mixin/sizable-mixin.class.d.ts +0 -33
- package/lib/base/mixin/textbox-mixin.class.d.ts +0 -75
- package/lib/base/mixin/value-mixin.class.d.ts +0 -63
- package/lib/base/overlay.service.d.ts +0 -31
- package/lib/base/responsive.directive.d.ts +0 -10
- package/lib/base/styles.class.d.ts +0 -17
- package/lib/breadcrumbs/breadcrumbs-item.class.d.ts +0 -9
- package/lib/breadcrumbs/breadcrumbs-item.component.d.ts +0 -12
- package/lib/breadcrumbs/breadcrumbs.component.d.ts +0 -11
- package/lib/breadcrumbs/breadcrumbs.module.d.ts +0 -9
- package/lib/breadcrumbs/index.d.ts +0 -4
- package/lib/button/button-group.component.d.ts +0 -85
- package/lib/button/button-item.class.d.ts +0 -23
- package/lib/button/button-item.component.d.ts +0 -79
- package/lib/button/button.component.d.ts +0 -20
- package/lib/button/button.module.d.ts +0 -11
- package/lib/button/index.d.ts +0 -5
- package/lib/calendar/calendar.class.d.ts +0 -50
- package/lib/calendar/calendar.component.d.ts +0 -50
- package/lib/calendar/calendar.module.d.ts +0 -12
- package/lib/calendar/index.d.ts +0 -2
- package/lib/carousel/carousel-arrows.component.d.ts +0 -15
- package/lib/carousel/carousel-item.component.d.ts +0 -8
- package/lib/carousel/carousel-pager.component.d.ts +0 -22
- package/lib/carousel/carousel-splidejs.class.d.ts +0 -18
- package/lib/carousel/carousel.class.d.ts +0 -71
- package/lib/carousel/carousel.component.d.ts +0 -110
- package/lib/carousel/carousel.module.d.ts +0 -11
- package/lib/carousel/index.d.ts +0 -6
- package/lib/checkbox/checkbox.component.d.ts +0 -12
- package/lib/checkbox/checkbox.module.d.ts +0 -10
- package/lib/checkbox/index.d.ts +0 -2
- package/lib/collapse/collapse-group.component.d.ts +0 -15
- package/lib/collapse/collapse.component.d.ts +0 -16
- package/lib/collapse/collapse.module.d.ts +0 -9
- package/lib/collapse/index.d.ts +0 -3
- package/lib/color-palette/color-palette-input.component.d.ts +0 -15
- package/lib/color-palette/color-palette-picker.component.d.ts +0 -21
- package/lib/color-palette/color-palette-preview.component.d.ts +0 -11
- package/lib/color-palette/color-palette-swatches.component.d.ts +0 -17
- package/lib/color-palette/color-palette.class.d.ts +0 -23
- package/lib/color-palette/color-palette.component.d.ts +0 -24
- package/lib/color-palette/color-palette.module.d.ts +0 -18
- package/lib/color-palette/index.d.ts +0 -6
- package/lib/color-picker/color-picker.component.d.ts +0 -190
- package/lib/color-picker/color-picker.module.d.ts +0 -18
- package/lib/color-picker/index.d.ts +0 -2
- package/lib/data-pager/data-pager-base.component.d.ts +0 -48
- package/lib/data-pager/data-pager-info.component.d.ts +0 -15
- package/lib/data-pager/data-pager-input-selector.component.d.ts +0 -15
- package/lib/data-pager/data-pager-next-buttons.components.d.ts +0 -16
- package/lib/data-pager/data-pager-numeric-selector.component.d.ts +0 -18
- package/lib/data-pager/data-pager-pagesize-dropdown.component.d.ts +0 -19
- package/lib/data-pager/data-pager-prev-buttons.component.d.ts +0 -15
- package/lib/data-pager/data-pager.component.d.ts +0 -34
- package/lib/data-pager/data-pager.module.d.ts +0 -18
- package/lib/data-pager/index.d.ts +0 -8
- package/lib/data-table/data-column-cell-template.directive.d.ts +0 -8
- package/lib/data-table/data-column.directive.d.ts +0 -16
- package/lib/data-table/data-table.component.d.ts +0 -34
- package/lib/data-table/data-table.module.d.ts +0 -14
- package/lib/datalist/datalist.component.d.ts +0 -25
- package/lib/datalist/datalist.module.d.ts +0 -11
- package/lib/datalist/index.d.ts +0 -2
- package/lib/datepicker/datepicker.component.d.ts +0 -151
- package/lib/datepicker/datepicker.module.d.ts +0 -15
- package/lib/datepicker/index.d.ts +0 -2
- package/lib/decorators/addon.component.d.ts +0 -8
- package/lib/decorators/close-button.component.d.ts +0 -13
- package/lib/decorators/content.component.d.ts +0 -8
- package/lib/decorators/decorators.module.d.ts +0 -16
- package/lib/decorators/footer.component.d.ts +0 -8
- package/lib/decorators/header.component.d.ts +0 -8
- package/lib/decorators/icon.component.d.ts +0 -10
- package/lib/decorators/index.d.ts +0 -11
- package/lib/decorators/prefix.component.d.ts +0 -8
- package/lib/decorators/suffix.component.d.ts +0 -8
- package/lib/decorators/title.component.d.ts +0 -9
- package/lib/dialog/dialog.class.d.ts +0 -12
- package/lib/dialog/dialog.component.d.ts +0 -16
- package/lib/dialog/dialog.module.d.ts +0 -14
- package/lib/dialog/dialog.service.d.ts +0 -36
- package/lib/dialog/index.d.ts +0 -4
- package/lib/drawer/drawer-container.component.d.ts +0 -10
- package/lib/drawer/drawer.component.d.ts +0 -36
- package/lib/drawer/drawer.module.d.ts +0 -9
- package/lib/drawer/index.d.ts +0 -3
- package/lib/dropdown/dropdown-panel.component.d.ts +0 -26
- package/lib/dropdown/dropdown.module.d.ts +0 -12
- package/lib/dropdown/index.d.ts +0 -2
- package/lib/form/form-field.component.d.ts +0 -8
- package/lib/form/form-field.module.d.ts +0 -10
- package/lib/form/form-hint.component.d.ts +0 -8
- package/lib/form/form.component.d.ts +0 -31
- package/lib/form/index.d.ts +0 -4
- package/lib/input-mask/index.d.ts +0 -2
- package/lib/input-mask/input-mask.component.d.ts +0 -25
- package/lib/input-mask/input-mask.module.d.ts +0 -10
- package/lib/label/index.d.ts +0 -2
- package/lib/label/label.component.d.ts +0 -13
- package/lib/label/label.module.d.ts +0 -8
- package/lib/loading/index.d.ts +0 -5
- package/lib/loading/loading-spinner.component.d.ts +0 -6
- package/lib/loading/loading.component.d.ts +0 -21
- package/lib/loading/loading.directive.d.ts +0 -22
- package/lib/loading/loading.module.d.ts +0 -13
- package/lib/loading/loading.service.d.ts +0 -48
- package/lib/menu/index.d.ts +0 -2
- package/lib/menu/menu.component.d.ts +0 -52
- package/lib/menu/menu.module.d.ts +0 -12
- package/lib/number-box/index.d.ts +0 -2
- package/lib/number-box/number-box.component.d.ts +0 -75
- package/lib/number-box/number-box.module.d.ts +0 -12
- package/lib/page/base-page.class.d.ts +0 -45
- package/lib/page/index.d.ts +0 -3
- package/lib/page/page.component.d.ts +0 -14
- package/lib/page/page.module.d.ts +0 -6
- package/lib/password-box/index.d.ts +0 -2
- package/lib/password-box/password-box.component.d.ts +0 -23
- package/lib/password-box/password-box.module.d.ts +0 -11
- package/lib/picker/index.d.ts +0 -2
- package/lib/picker/picker.component.d.ts +0 -62
- package/lib/picker/picker.model.class.d.ts +0 -10
- package/lib/picker/picker.module.d.ts +0 -9
- package/lib/popover/index.d.ts +0 -2
- package/lib/popover/popover.component.d.ts +0 -50
- package/lib/popover/popover.module.d.ts +0 -8
- package/lib/popup/index.d.ts +0 -3
- package/lib/popup/popup.component.d.ts +0 -45
- package/lib/popup/popup.module.d.ts +0 -13
- package/lib/popup/popup.service.d.ts +0 -38
- package/lib/progress-bar/index.d.ts +0 -2
- package/lib/progress-bar/progress-bar.component.d.ts +0 -18
- package/lib/progress-bar/progress-bar.module.d.ts +0 -8
- package/lib/radio/index.d.ts +0 -2
- package/lib/radio/radio.component.d.ts +0 -17
- package/lib/radio/radio.module.d.ts +0 -9
- package/lib/range-slider/index.d.ts +0 -2
- package/lib/range-slider/range-slider.component.d.ts +0 -39
- package/lib/range-slider/range-slider.module.d.ts +0 -9
- package/lib/rating/index.d.ts +0 -2
- package/lib/rating/rating.component.d.ts +0 -21
- package/lib/rating/rating.component.module.d.ts +0 -8
- package/lib/result/index.d.ts +0 -2
- package/lib/result/result.component.d.ts +0 -12
- package/lib/result/result.module.d.ts +0 -8
- package/lib/searchbox/index.d.ts +0 -2
- package/lib/searchbox/searchbox.component.d.ts +0 -17
- package/lib/searchbox/searchbox.module.d.ts +0 -12
- package/lib/selectbox/index.d.ts +0 -2
- package/lib/selectbox/selectbox.component.d.ts +0 -65
- package/lib/selectbox/selectbox.module.d.ts +0 -19
- package/lib/selection-list/index.d.ts +0 -2
- package/lib/selection-list/selection-list.component.d.ts +0 -21
- package/lib/selection-list/selection-list.module.d.ts +0 -13
- package/lib/switch/index.d.ts +0 -2
- package/lib/switch/switch.component.d.ts +0 -12
- package/lib/switch/switch.module.d.ts +0 -10
- package/lib/tabs/index.d.ts +0 -5
- package/lib/tabs/tab-content.directive.d.ts +0 -11
- package/lib/tabs/tab-item.component.d.ts +0 -49
- package/lib/tabs/tabs.class.d.ts +0 -6
- package/lib/tabs/tabs.component.d.ts +0 -24
- package/lib/tabs/tabs.module.d.ts +0 -12
- package/lib/textarea/index.d.ts +0 -2
- package/lib/textarea/textarea.component.d.ts +0 -12
- package/lib/textarea/textarea.module.d.ts +0 -9
- package/lib/textbox/index.d.ts +0 -2
- package/lib/textbox/textbox.component.d.ts +0 -16
- package/lib/textbox/textbox.module.d.ts +0 -12
- package/lib/time-box/index.d.ts +0 -2
- package/lib/time-box/time-box.component.d.ts +0 -48
- package/lib/time-box/time-box.module.d.ts +0 -11
- package/lib/toast/index.d.ts +0 -4
- package/lib/toast/toast.class.d.ts +0 -15
- package/lib/toast/toast.component.d.ts +0 -24
- package/lib/toast/toast.module.d.ts +0 -11
- package/lib/toast/toast.service.d.ts +0 -23
- package/lib/tooltip/index.d.ts +0 -3
- package/lib/tooltip/tooltip.component.d.ts +0 -10
- package/lib/tooltip/tooltip.directive.d.ts +0 -18
- package/lib/tooltip/tooltip.module.d.ts +0 -10
- package/lib/treeview/index.d.ts +0 -2
- package/lib/treeview/tree-view.component.d.ts +0 -33
- package/lib/treeview/tree-view.module.d.ts +0 -9
- package/lib/validation/index.d.ts +0 -3
- package/lib/validation/validation-rule.widget.d.ts +0 -17
- package/lib/validation/validation-summary.component.d.ts +0 -20
- package/lib/validation/validation.class.d.ts +0 -18
- package/lib/validation/validation.module.d.ts +0 -13
- package/public-api.d.ts +0 -53
package/.browserslistrc
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
2
|
+
# For additional information regarding the format and rule options, please see:
|
|
3
|
+
# https://github.com/browserslist/browserslist#queries
|
|
4
|
+
|
|
5
|
+
# For the full list of supported browsers by the Angular framework, please see:
|
|
6
|
+
# https://angular.io/guide/browser-support
|
|
7
|
+
|
|
8
|
+
# You can see what browsers were selected by your queries by running:
|
|
9
|
+
# npx browserslist
|
|
10
|
+
|
|
11
|
+
last 1 Chrome version
|
|
12
|
+
last 1 Firefox version
|
|
13
|
+
last 2 Edge major versions
|
|
14
|
+
last 2 Safari major versions
|
|
15
|
+
last 2 iOS major versions
|
|
16
|
+
Firefox ESR
|
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# Components
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
|
|
8
|
-
> Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# Components
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project components`.
|
|
8
|
+
> Note: Don't forget to add `--project components` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build components` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build components`, go to the dist folder `cd dist/components` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test components` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api'
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectorRef,
|
|
3
|
+
Component,
|
|
4
|
+
ElementRef,
|
|
5
|
+
EventEmitter,
|
|
6
|
+
Input,
|
|
7
|
+
Output,
|
|
8
|
+
} from '@angular/core';
|
|
9
|
+
import {
|
|
10
|
+
AXButtonClickEvent,
|
|
11
|
+
AXStyleColorType,
|
|
12
|
+
} from '@acorex/components/common';
|
|
13
|
+
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
14
|
+
|
|
15
|
+
@Component({
|
|
16
|
+
selector: 'ax-action-sheet-item',
|
|
17
|
+
template: `
|
|
18
|
+
<ax-button
|
|
19
|
+
[color]="color"
|
|
20
|
+
look="blank"
|
|
21
|
+
[text]="text"
|
|
22
|
+
(onClick)="_handleOnClick($event)"
|
|
23
|
+
></ax-button>
|
|
24
|
+
`,
|
|
25
|
+
})
|
|
26
|
+
export class AXActionSheetItemComponent extends AXBaseComponent {
|
|
27
|
+
@Input()
|
|
28
|
+
text: string;
|
|
29
|
+
|
|
30
|
+
@Input()
|
|
31
|
+
color: AXStyleColorType = 'light';
|
|
32
|
+
|
|
33
|
+
@Output()
|
|
34
|
+
onClick: EventEmitter<AXButtonClickEvent> = new EventEmitter<AXButtonClickEvent>();
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @ignore
|
|
38
|
+
*/
|
|
39
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {
|
|
40
|
+
super(_elementRef, _cdr);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
_handleOnClick(e: any) {
|
|
44
|
+
this.onClick.emit(e);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<div class="ax-action-sheet-backdrop" [@backdrop]="isOpen ? 'show' : 'hide'" (click)="_handleBackdropClick()"></div>
|
|
2
|
+
<div class="ax-action-sheet-container" [@openClose]="isOpen ? 'open' : 'closed'">
|
|
3
|
+
<div class="ax-bg-white ax-h-full dark:ax-bg-dark-700">
|
|
4
|
+
<div class="ax-action-sheet-caption" *ngIf="caption">
|
|
5
|
+
{{caption}}
|
|
6
|
+
</div>
|
|
7
|
+
<ng-content select="ax-content"></ng-content>
|
|
8
|
+
<div class="ax-action-sheet-items">
|
|
9
|
+
<ng-content select="ax-action-sheet-item"></ng-content>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
2
|
+
import {
|
|
3
|
+
trigger,
|
|
4
|
+
state,
|
|
5
|
+
style,
|
|
6
|
+
transition,
|
|
7
|
+
animate,
|
|
8
|
+
} from '@angular/animations';
|
|
9
|
+
import { ChangeDetectorRef, Component, ElementRef, Input } from '@angular/core';
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'ax-action-sheet',
|
|
13
|
+
templateUrl: './action-sheet.component.html',
|
|
14
|
+
animations: [
|
|
15
|
+
trigger('backdrop', [
|
|
16
|
+
state(
|
|
17
|
+
'show',
|
|
18
|
+
style({
|
|
19
|
+
opacity: 1,
|
|
20
|
+
visibility: 'visible',
|
|
21
|
+
})
|
|
22
|
+
),
|
|
23
|
+
state(
|
|
24
|
+
'hide',
|
|
25
|
+
style({
|
|
26
|
+
visibility: 'hidden',
|
|
27
|
+
opacity: 0,
|
|
28
|
+
})
|
|
29
|
+
),
|
|
30
|
+
transition('show <=> hide', [animate('0.2s')]),
|
|
31
|
+
]),
|
|
32
|
+
|
|
33
|
+
trigger('openClose', [
|
|
34
|
+
state(
|
|
35
|
+
'open',
|
|
36
|
+
style({
|
|
37
|
+
bottom: '0',
|
|
38
|
+
opacity: 1,
|
|
39
|
+
})
|
|
40
|
+
),
|
|
41
|
+
state(
|
|
42
|
+
'closed',
|
|
43
|
+
style({
|
|
44
|
+
bottom: '-100%',
|
|
45
|
+
opacity: 0.5,
|
|
46
|
+
})
|
|
47
|
+
),
|
|
48
|
+
transition('open <=> closed', [animate('0.2s')]),
|
|
49
|
+
]),
|
|
50
|
+
],
|
|
51
|
+
host: { class: 'ax-action-sheet' },
|
|
52
|
+
})
|
|
53
|
+
export class AXActionSheetComponent extends AXBaseComponent {
|
|
54
|
+
@Input() caption = '';
|
|
55
|
+
@Input() closeOnBackdrop = true;
|
|
56
|
+
isOpen = false;
|
|
57
|
+
|
|
58
|
+
_backdrop: HTMLElement;
|
|
59
|
+
/**
|
|
60
|
+
* @ignore
|
|
61
|
+
*/
|
|
62
|
+
constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {
|
|
63
|
+
super(_elementRef, _cdr);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
_handleBackdropClick() {
|
|
67
|
+
if (!this.closeOnBackdrop) return;
|
|
68
|
+
this.close();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
open() {
|
|
72
|
+
this.isOpen = true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
close() {
|
|
76
|
+
this.isOpen = false;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
toggle() {
|
|
80
|
+
this.isOpen = !this.isOpen;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
4
|
+
import { AXActionSheetComponent } from './action-sheet.component';
|
|
5
|
+
import { AXActionSheetItemComponent } from './action-sheet-item.component';
|
|
6
|
+
|
|
7
|
+
@NgModule({
|
|
8
|
+
declarations: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
9
|
+
imports: [CommonModule, AXButtonModule],
|
|
10
|
+
exports: [AXActionSheetComponent, AXActionSheetItemComponent],
|
|
11
|
+
providers: [],
|
|
12
|
+
})
|
|
13
|
+
export class AXActionSheetModule {}
|
package/alert/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api'
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<ng-content select="ax-header">
|
|
2
|
+
</ng-content>
|
|
3
|
+
<div class="ax-alert-body">
|
|
4
|
+
<div class="ax-flex ax-items-center ax-justify-between">
|
|
5
|
+
<div class="ax-flex">
|
|
6
|
+
<ng-content select="ax-icon">
|
|
7
|
+
</ng-content>
|
|
8
|
+
<div class="ax-flex ax-flex-col ax-justify-center">
|
|
9
|
+
<ng-content select="ax-content">
|
|
10
|
+
</ng-content>
|
|
11
|
+
<ng-content select="ax-footer">
|
|
12
|
+
</ng-content>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
<ng-content select="ax-suffix">
|
|
16
|
+
</ng-content>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div class="ax-alert-progress" [style.animation-duration.ms]="timeOut" *ngIf="timeOut">
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { AXButtonComponent } from '@acorex/components/button';
|
|
2
|
+
import { AXDecoratorIconComponent } from '@acorex/components/decorators';
|
|
3
|
+
import {
|
|
4
|
+
Component,
|
|
5
|
+
ViewEncapsulation,
|
|
6
|
+
ChangeDetectionStrategy,
|
|
7
|
+
ElementRef,
|
|
8
|
+
ChangeDetectorRef,
|
|
9
|
+
Input,
|
|
10
|
+
HostBinding,
|
|
11
|
+
ContentChild,
|
|
12
|
+
EventEmitter,
|
|
13
|
+
Output,
|
|
14
|
+
QueryList,
|
|
15
|
+
ContentChildren,
|
|
16
|
+
} from '@angular/core';
|
|
17
|
+
import { startWith } from 'rxjs/operators';
|
|
18
|
+
import { AXEvent } from '@acorex/components/common';
|
|
19
|
+
import {
|
|
20
|
+
AXBaseComponent,
|
|
21
|
+
AXComponentOptionChanged,
|
|
22
|
+
_ColorLookComponentMixin,
|
|
23
|
+
} from '@acorex/components/mixin';
|
|
24
|
+
|
|
25
|
+
export const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Regular description
|
|
29
|
+
*
|
|
30
|
+
* @category Components
|
|
31
|
+
*/
|
|
32
|
+
@Component({
|
|
33
|
+
selector: 'ax-alert',
|
|
34
|
+
templateUrl: './alert.component.html',
|
|
35
|
+
inputs: ['color', 'look'],
|
|
36
|
+
host: { class: 'ax-alert' },
|
|
37
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38
|
+
encapsulation: ViewEncapsulation.None,
|
|
39
|
+
})
|
|
40
|
+
export class AXAlertComponent extends AXBaseAlertMixin {
|
|
41
|
+
@ContentChild(AXDecoratorIconComponent, { static: true })
|
|
42
|
+
private _icon!: AXDecoratorIconComponent;
|
|
43
|
+
|
|
44
|
+
@ContentChildren(AXButtonComponent, { descendants: true })
|
|
45
|
+
private _buttons!: QueryList<AXButtonComponent>;
|
|
46
|
+
|
|
47
|
+
@Output()
|
|
48
|
+
onDismissed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();
|
|
49
|
+
|
|
50
|
+
override _onOptionChanged(option: AXComponentOptionChanged) {
|
|
51
|
+
if (option.name == 'color') {
|
|
52
|
+
this._setIcon();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
ngDoCheck() {
|
|
57
|
+
this._setIcon();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
private _setIcon() {
|
|
61
|
+
if (!this._icon || this._icon.icon) return;
|
|
62
|
+
switch (this.color) {
|
|
63
|
+
case 'success':
|
|
64
|
+
this._icon.icon = 'ax-ic ax-ic-check-filled';
|
|
65
|
+
break;
|
|
66
|
+
case 'warning':
|
|
67
|
+
this._icon.icon = 'ax-ic-warning-filled';
|
|
68
|
+
break;
|
|
69
|
+
case 'danger':
|
|
70
|
+
this._icon.icon = 'ax-ic-error-filled';
|
|
71
|
+
break;
|
|
72
|
+
default:
|
|
73
|
+
this._icon.icon = 'ax-ic ax-ic-info-filled';
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @ignore
|
|
80
|
+
*/
|
|
81
|
+
@HostBinding('class')
|
|
82
|
+
get __hostClass(): string {
|
|
83
|
+
const _class = this.look
|
|
84
|
+
? `ax-${this.color}-${this.look}`
|
|
85
|
+
: `ax-${this.color}-default`;
|
|
86
|
+
return `ax-alert ax-none ${_class}`;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@Input()
|
|
90
|
+
timeOut!: number;
|
|
91
|
+
|
|
92
|
+
#visible: boolean;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* set the visibility of the Alert
|
|
96
|
+
*/
|
|
97
|
+
@Input()
|
|
98
|
+
public get visible(): boolean {
|
|
99
|
+
return this.#visible;
|
|
100
|
+
}
|
|
101
|
+
public set visible(v: boolean) {
|
|
102
|
+
if (this.#visible != v) {
|
|
103
|
+
this.#visible = v;
|
|
104
|
+
const host = this._getHostElement();
|
|
105
|
+
if (v) {
|
|
106
|
+
host.classList.remove('ax-state-hidden');
|
|
107
|
+
host.classList.add('ax-state-visible');
|
|
108
|
+
} else {
|
|
109
|
+
host.classList.add('ax-state-hidden');
|
|
110
|
+
host.classList.toggle('ax-state-visible');
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @ignore
|
|
117
|
+
*/
|
|
118
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {
|
|
119
|
+
super(elementRef, cdr);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
onInit() {
|
|
123
|
+
if (this.timeOut) {
|
|
124
|
+
setTimeout(() => {
|
|
125
|
+
this.dismiss();
|
|
126
|
+
}, this.timeOut);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
onViewInit() {
|
|
131
|
+
if (this.visible == undefined) {
|
|
132
|
+
this.visible = true;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
ngAfterContentInit() {
|
|
137
|
+
this._buttons.changes
|
|
138
|
+
.pipe(startWith(0))
|
|
139
|
+
.subscribe((change) => this._applyButtonStyle());
|
|
140
|
+
this._applyButtonStyle();
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
private _applyButtonStyle() {
|
|
144
|
+
this._buttons?.forEach((c: any) => {
|
|
145
|
+
c.color = this.color;
|
|
146
|
+
c.look = this.look === 'outline' ? 'blank' : this.look;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Remove the alert from the container
|
|
152
|
+
*/
|
|
153
|
+
dismiss(): void {
|
|
154
|
+
const host = this._getHostElement();
|
|
155
|
+
this.visible = false;
|
|
156
|
+
const func = () => {
|
|
157
|
+
host.parentElement?.removeChild(host);
|
|
158
|
+
this.onDismissed.emit({
|
|
159
|
+
component: this,
|
|
160
|
+
});
|
|
161
|
+
host.removeEventListener('transitionend', func);
|
|
162
|
+
};
|
|
163
|
+
host.addEventListener('transitionend', func);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Hide the alert
|
|
168
|
+
*/
|
|
169
|
+
hide(): void {
|
|
170
|
+
this.visible = false;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Show the alert
|
|
175
|
+
*/
|
|
176
|
+
show() {
|
|
177
|
+
this.visible = true;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
4
|
+
import { AXAlertComponent } from './alert.component';
|
|
5
|
+
|
|
6
|
+
const COMPONENT = [AXAlertComponent];
|
|
7
|
+
const MODULES = [CommonModule, AXDecoratorModule];
|
|
8
|
+
|
|
9
|
+
@NgModule({
|
|
10
|
+
declarations: [...COMPONENT],
|
|
11
|
+
imports: [...MODULES],
|
|
12
|
+
exports: [...COMPONENT],
|
|
13
|
+
providers: [],
|
|
14
|
+
})
|
|
15
|
+
export class AXAlertModule {}
|
package/avatar/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api'
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'ax-avatar-group',
|
|
5
|
+
template: `<ng-content select="ax-avatar"></ng-content>`,
|
|
6
|
+
host: { class: 'ax-avatar-group' },
|
|
7
|
+
})
|
|
8
|
+
export class AXAvatarGroup implements OnInit {
|
|
9
|
+
constructor() {}
|
|
10
|
+
|
|
11
|
+
ngOnInit(): void {}
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<div class="ax-avatar-container" [ngSwitch]="type">
|
|
2
|
+
<ng-content select="ax-badge"></ng-content>
|
|
3
|
+
<div class="ax-text-avatar {{class}}" *ngSwitchCase="'text'">
|
|
4
|
+
{{text}}
|
|
5
|
+
</div>
|
|
6
|
+
<div class="ax-icon-avatar {{class}}" *ngSwitchCase="'icon'">
|
|
7
|
+
<ng-content select="ax-icon"></ng-content>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="ax-image-avatar {{class}}" *ngSwitchCase="'image'">
|
|
10
|
+
<ng-content select="img"></ng-content>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="ax-default-avatar {{class}}" *ngSwitchCase="'default'">
|
|
13
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512">
|
|
14
|
+
<g style="isolation:isolate">
|
|
15
|
+
<g id="Layer_2" data-name="Layer 2">
|
|
16
|
+
<g id="Layer_1-2" data-name="Layer 1">
|
|
17
|
+
<rect width="512" height="512" />
|
|
18
|
+
<path
|
|
19
|
+
d="M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94"
|
|
20
|
+
style="fill:#fff;opacity:0.7" />
|
|
21
|
+
<path
|
|
22
|
+
d="M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z"
|
|
23
|
+
style="opacity:0.05" />
|
|
24
|
+
<circle cx="257.71" cy="255.94" r="99.24" style="fill:#fff" />
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
</g>
|
|
28
|
+
</svg>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { COLOR_LOOK_INPUTS, AXAvatarMixin } from '@acorex/components/mixin';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ElementRef, ChangeDetectorRef, Input, HostBinding } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
6
|
+
*
|
|
7
|
+
* @category Components
|
|
8
|
+
*/
|
|
9
|
+
@Component({
|
|
10
|
+
selector: 'ax-avatar',
|
|
11
|
+
templateUrl: './avatar.component.html',
|
|
12
|
+
inputs: ['color', 'look',],
|
|
13
|
+
host: { class: 'ax-avatar' },
|
|
14
|
+
encapsulation: ViewEncapsulation.None,
|
|
15
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
16
|
+
})
|
|
17
|
+
export class AXAvatarComponent extends AXAvatarMixin {
|
|
18
|
+
|
|
19
|
+
@Input() text = '';
|
|
20
|
+
@Input() icon = '';
|
|
21
|
+
@Input() src = '';
|
|
22
|
+
|
|
23
|
+
@Input() class = '';
|
|
24
|
+
|
|
25
|
+
@Input() type : "default" | 'text' | 'icon' | 'image' = 'default';
|
|
26
|
+
/**
|
|
27
|
+
* @ignore
|
|
28
|
+
*/
|
|
29
|
+
constructor(
|
|
30
|
+
elementRef: ElementRef,
|
|
31
|
+
cdr: ChangeDetectorRef
|
|
32
|
+
) {
|
|
33
|
+
super(elementRef, cdr);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@HostBinding('class')
|
|
37
|
+
get __hostClass(): string {
|
|
38
|
+
return `ax-${this.color}-default`;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXAvatarComponent } from './avatar.component';
|
|
4
|
+
import { AXAvatarGroup } from './avatar-group.component';
|
|
5
|
+
|
|
6
|
+
const COMPONENT = [AXAvatarComponent, AXAvatarGroup];
|
|
7
|
+
const MODULES = [CommonModule];
|
|
8
|
+
|
|
9
|
+
@NgModule({
|
|
10
|
+
declarations: [...COMPONENT],
|
|
11
|
+
imports: [...MODULES],
|
|
12
|
+
exports: [...COMPONENT],
|
|
13
|
+
providers: [],
|
|
14
|
+
})
|
|
15
|
+
export class AXAvatarModule {}
|
|
File without changes
|
package/badge/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './public-api'
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { _ColorLookComponentMixin, AXBaseComponent, COLOR_LOOK_INPUTS } from '@acorex/components/mixin';
|
|
2
|
+
import {
|
|
3
|
+
Component,
|
|
4
|
+
ViewEncapsulation,
|
|
5
|
+
ChangeDetectionStrategy,
|
|
6
|
+
ElementRef,
|
|
7
|
+
ChangeDetectorRef,
|
|
8
|
+
Input,
|
|
9
|
+
HostBinding,
|
|
10
|
+
} from '@angular/core';
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
14
|
+
@Component({
|
|
15
|
+
selector: 'ax-badge',
|
|
16
|
+
templateUrl: './badge.component.html',
|
|
17
|
+
inputs: ['color', 'look',],
|
|
18
|
+
encapsulation: ViewEncapsulation.None,
|
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
+
})
|
|
21
|
+
export class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
22
|
+
@Input() text: string = '';
|
|
23
|
+
|
|
24
|
+
constructor(private elementRef: ElementRef, cdr: ChangeDetectorRef) {
|
|
25
|
+
super(elementRef, cdr);
|
|
26
|
+
//TODO: ax-badge
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@HostBinding('class')
|
|
30
|
+
private get __hostClass(): string {
|
|
31
|
+
const _class = this.look
|
|
32
|
+
? `ax-${this.color}-${this.look}`
|
|
33
|
+
: `ax-${this.color}-default`;
|
|
34
|
+
|
|
35
|
+
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXBadgeComponent } from './badge.component';
|
|
4
|
+
|
|
5
|
+
const COMPONENT = [AXBadgeComponent];
|
|
6
|
+
const MODULES = [CommonModule];
|
|
7
|
+
|
|
8
|
+
@NgModule({
|
|
9
|
+
declarations: [...COMPONENT],
|
|
10
|
+
imports: [...MODULES],
|
|
11
|
+
exports: [...COMPONENT],
|
|
12
|
+
providers: [],
|
|
13
|
+
})
|
|
14
|
+
export class AXBadgeModule {}
|