@acorex/components 6.0.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/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.d.ts → public-api.ts} +0 -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/avatar/src/index.ts +3 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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/data-table/src/index.ts +4 -0
- package/date-picker/index.ts +1 -0
- package/date-picker/ng-package.json +6 -0
- package/date-picker/{public-api.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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 -429
- 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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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.d.ts → public-api.ts} +0 -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/action-sheet/index.d.ts +0 -5
- package/action-sheet/public-api.d.ts +0 -3
- package/action-sheet/src/action-sheet-item.component.d.ts +0 -16
- package/action-sheet/src/action-sheet.component.d.ts +0 -19
- package/action-sheet/src/action-sheet.module.d.ts +0 -10
- package/alert/index.d.ts +0 -5
- package/alert/public-api.d.ts +0 -2
- package/alert/src/alert.component.d.ts +0 -79
- package/alert/src/alert.module.d.ts +0 -9
- package/avatar/index.d.ts +0 -5
- package/avatar/src/avatar-group.component.d.ts +0 -8
- package/avatar/src/avatar.component.d.ts +0 -22
- package/avatar/src/avatar.module.d.ts +0 -9
- package/badge/index.d.ts +0 -5
- package/badge/public-api.d.ts +0 -2
- package/badge/src/badge.component.d.ts +0 -40
- package/badge/src/badge.module.d.ts +0 -8
- package/breadcrumbs/index.d.ts +0 -5
- package/breadcrumbs/public-api.d.ts +0 -4
- package/breadcrumbs/src/breadcrumbs-item.class.d.ts +0 -9
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +0 -75
- package/breadcrumbs/src/breadcrumbs.component.d.ts +0 -13
- package/breadcrumbs/src/breadcrumbs.module.d.ts +0 -9
- package/button/index.d.ts +0 -5
- package/button/public-api.d.ts +0 -5
- package/button/src/button-group.component.d.ts +0 -84
- package/button/src/button-item.class.d.ts +0 -23
- package/button/src/button-item.component.d.ts +0 -78
- package/button/src/button.component.d.ts +0 -20
- package/button/src/button.module.d.ts +0 -11
- package/calendar/index.d.ts +0 -5
- package/calendar/public-api.d.ts +0 -3
- package/calendar/src/calendar.class.d.ts +0 -51
- package/calendar/src/calendar.component.d.ts +0 -51
- package/calendar/src/calendar.module.d.ts +0 -11
- package/carousel/index.d.ts +0 -5
- package/carousel/src/carousel-arrows.component.d.ts +0 -16
- package/carousel/src/carousel-item.component.d.ts +0 -8
- package/carousel/src/carousel-pager.component.d.ts +0 -22
- package/carousel/src/carousel-splidejs.class.d.ts +0 -18
- package/carousel/src/carousel.class.d.ts +0 -71
- package/carousel/src/carousel.component.d.ts +0 -111
- package/carousel/src/carousel.module.d.ts +0 -11
- package/checkbox/index.d.ts +0 -5
- package/checkbox/public-api.d.ts +0 -2
- package/checkbox/src/checkbox.component.d.ts +0 -12
- package/checkbox/src/checkbox.module.d.ts +0 -10
- package/collapse/index.d.ts +0 -5
- package/collapse/public-api.d.ts +0 -3
- package/collapse/src/collapse-group.component.d.ts +0 -15
- package/collapse/src/collapse.component.d.ts +0 -16
- package/collapse/src/collapse.module.d.ts +0 -9
- package/color-palette/index.d.ts +0 -5
- package/color-palette/public-api.d.ts +0 -7
- package/color-palette/src/color-palette-input.component.d.ts +0 -16
- package/color-palette/src/color-palette-picker.component.d.ts +0 -23
- package/color-palette/src/color-palette-preview.component.d.ts +0 -11
- package/color-palette/src/color-palette-swatches.component.d.ts +0 -17
- package/color-palette/src/color-palette.class.d.ts +0 -23
- package/color-palette/src/color-palette.component.d.ts +0 -24
- package/color-palette/src/color-palette.module.d.ts +0 -18
- package/color-picker/index.d.ts +0 -5
- package/color-picker/public-api.d.ts +0 -2
- package/color-picker/src/color-picker.component.d.ts +0 -191
- package/color-picker/src/color-picker.module.d.ts +0 -18
- package/common/index.d.ts +0 -5
- package/common/src/auto-focus.directive.d.ts +0 -12
- package/common/src/common.module.d.ts +0 -10
- package/common/src/components.class.d.ts +0 -42
- package/common/src/custom-cdk-overlay.service.d.ts +0 -19
- package/common/src/drawing.class.d.ts +0 -9
- package/common/src/events.class.d.ts +0 -86
- package/common/src/hotkey.directive.d.ts +0 -22
- package/common/src/hotkey.service.d.ts +0 -17
- package/common/src/infinite-scroll.directive.d.ts +0 -25
- package/common/src/overlay.service.d.ts +0 -31
- package/common/src/responsive.directive.d.ts +0 -10
- package/common/src/styles.class.d.ts +0 -17
- package/data-pager/index.d.ts +0 -5
- package/data-pager/src/data-pager-base.component.d.ts +0 -49
- package/data-pager/src/data-pager-info.component.d.ts +0 -15
- package/data-pager/src/data-pager-input-selector.component.d.ts +0 -15
- package/data-pager/src/data-pager-next-buttons.components.d.ts +0 -16
- package/data-pager/src/data-pager-numeric-selector.component.d.ts +0 -18
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +0 -18
- package/data-pager/src/data-pager-prev-buttons.component.d.ts +0 -15
- package/data-pager/src/data-pager.component.d.ts +0 -35
- package/data-pager/src/data-pager.module.d.ts +0 -18
- package/data-table/index.d.ts +0 -5
- package/data-table/src/data-column-cell-template.directive.d.ts +0 -8
- package/data-table/src/data-column.directive.d.ts +0 -16
- package/data-table/src/data-table.component.d.ts +0 -35
- package/data-table/src/data-table.module.d.ts +0 -14
- package/date-picker/index.d.ts +0 -5
- package/date-picker/src/datepicker.component.d.ts +0 -150
- package/date-picker/src/datepicker.module.d.ts +0 -15
- package/decorators/index.d.ts +0 -5
- package/decorators/src/addon.component.d.ts +0 -8
- package/decorators/src/close-button.component.d.ts +0 -14
- package/decorators/src/content.component.d.ts +0 -8
- package/decorators/src/decorators.module.d.ts +0 -16
- package/decorators/src/footer.component.d.ts +0 -8
- package/decorators/src/header.component.d.ts +0 -8
- package/decorators/src/icon.component.d.ts +0 -10
- package/decorators/src/prefix.component.d.ts +0 -8
- package/decorators/src/suffix.component.d.ts +0 -8
- package/decorators/src/title.component.d.ts +0 -9
- package/dialog/index.d.ts +0 -5
- package/dialog/src/dialog.class.d.ts +0 -12
- package/dialog/src/dialog.component.d.ts +0 -16
- package/dialog/src/dialog.module.d.ts +0 -14
- package/dialog/src/dialog.service.d.ts +0 -36
- package/drawer/index.d.ts +0 -5
- package/drawer/src/drawer-container.component.d.ts +0 -10
- package/drawer/src/drawer.component.d.ts +0 -36
- package/drawer/src/drawer.module.d.ts +0 -9
- package/dropdown/index.d.ts +0 -5
- package/dropdown/public-api.d.ts +0 -2
- package/dropdown/src/dropdown-panel.component.d.ts +0 -27
- package/dropdown/src/dropdown.module.d.ts +0 -12
- package/esm2020/acorex-components.mjs +0 -5
- package/esm2020/action-sheet/acorex-components-action-sheet.mjs +0 -5
- package/esm2020/action-sheet/public-api.mjs +0 -4
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +0 -47
- package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -87
- package/esm2020/action-sheet/src/action-sheet.module.mjs +0 -21
- package/esm2020/alert/acorex-components-alert.mjs +0 -5
- package/esm2020/alert/public-api.mjs +0 -3
- package/esm2020/alert/src/alert.component.mjs +0 -154
- package/esm2020/alert/src/alert.module.mjs +0 -22
- package/esm2020/avatar/acorex-components-avatar.mjs +0 -5
- package/esm2020/avatar/public-api.mjs +0 -4
- package/esm2020/avatar/src/avatar-group.component.mjs +0 -17
- package/esm2020/avatar/src/avatar.component.mjs +0 -45
- package/esm2020/avatar/src/avatar.module.mjs +0 -22
- package/esm2020/badge/acorex-components-badge.mjs +0 -5
- package/esm2020/badge/public-api.mjs +0 -3
- package/esm2020/badge/src/badge.component.mjs +0 -30
- package/esm2020/badge/src/badge.module.mjs +0 -21
- package/esm2020/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -5
- package/esm2020/breadcrumbs/public-api.mjs +0 -5
- package/esm2020/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -36
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
- package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +0 -20
- package/esm2020/button/acorex-components-button.mjs +0 -5
- package/esm2020/button/public-api.mjs +0 -6
- package/esm2020/button/src/button-group.component.mjs +0 -88
- package/esm2020/button/src/button-item.class.mjs +0 -2
- package/esm2020/button/src/button-item.component.mjs +0 -76
- package/esm2020/button/src/button.component.mjs +0 -70
- package/esm2020/button/src/button.module.mjs +0 -32
- package/esm2020/calendar/acorex-components-calendar.mjs +0 -5
- package/esm2020/calendar/public-api.mjs +0 -4
- package/esm2020/calendar/src/calendar.class.mjs +0 -127
- package/esm2020/calendar/src/calendar.component.mjs +0 -355
- package/esm2020/calendar/src/calendar.module.mjs +0 -24
- package/esm2020/carousel/acorex-components-carousel.mjs +0 -5
- package/esm2020/carousel/public-api.mjs +0 -8
- package/esm2020/carousel/src/carousel-arrows.component.mjs +0 -80
- package/esm2020/carousel/src/carousel-item.component.mjs +0 -21
- package/esm2020/carousel/src/carousel-pager.component.mjs +0 -74
- package/esm2020/carousel/src/carousel-splidejs.class.mjs +0 -91
- package/esm2020/carousel/src/carousel.class.mjs +0 -10
- package/esm2020/carousel/src/carousel.component.mjs +0 -438
- package/esm2020/carousel/src/carousel.module.mjs +0 -24
- package/esm2020/checkbox/acorex-components-checkbox.mjs +0 -5
- package/esm2020/checkbox/public-api.mjs +0 -3
- package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
- package/esm2020/checkbox/src/checkbox.module.mjs +0 -21
- package/esm2020/collapse/acorex-components-collapse.mjs +0 -5
- package/esm2020/collapse/public-api.mjs +0 -4
- package/esm2020/collapse/src/collapse-group.component.mjs +0 -52
- package/esm2020/collapse/src/collapse.component.mjs +0 -42
- package/esm2020/collapse/src/collapse.module.mjs +0 -20
- package/esm2020/color-palette/acorex-components-color-palette.mjs +0 -5
- package/esm2020/color-palette/public-api.mjs +0 -8
- package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -97
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -97
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -62
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -294
- package/esm2020/color-palette/src/color-palette.class.mjs +0 -17
- package/esm2020/color-palette/src/color-palette.component.mjs +0 -84
- package/esm2020/color-palette/src/color-palette.module.mjs +0 -57
- package/esm2020/color-picker/acorex-components-color-picker.mjs +0 -5
- package/esm2020/color-picker/public-api.mjs +0 -3
- package/esm2020/color-picker/src/color-picker.component.mjs +0 -96
- package/esm2020/color-picker/src/color-picker.module.mjs +0 -61
- package/esm2020/common/acorex-components-common.mjs +0 -5
- package/esm2020/common/public-api.mjs +0 -13
- package/esm2020/common/src/auto-focus.directive.mjs +0 -51
- package/esm2020/common/src/common.module.mjs +0 -37
- package/esm2020/common/src/components.class.mjs +0 -45
- package/esm2020/common/src/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/drawing.class.mjs +0 -2
- package/esm2020/common/src/events.class.mjs +0 -58
- package/esm2020/common/src/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/hotkey.service.mjs +0 -38
- package/esm2020/common/src/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/overlay.service.mjs +0 -91
- package/esm2020/common/src/responsive.directive.mjs +0 -34
- package/esm2020/common/src/styles.class.mjs +0 -11
- package/esm2020/data-pager/acorex-components-data-pager.mjs +0 -5
- package/esm2020/data-pager/public-api.mjs +0 -10
- package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
- package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -50
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -60
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -58
- package/esm2020/data-pager/src/data-pager.component.mjs +0 -135
- package/esm2020/data-pager/src/data-pager.module.mjs +0 -51
- package/esm2020/data-table/acorex-components-data-table.mjs +0 -5
- package/esm2020/data-table/public-api.mjs +0 -5
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/data-table/src/data-column.directive.mjs +0 -43
- package/esm2020/data-table/src/data-table.component.mjs +0 -130
- package/esm2020/data-table/src/data-table.module.mjs +0 -27
- package/esm2020/date-picker/acorex-components-date-picker.mjs +0 -5
- package/esm2020/date-picker/public-api.mjs +0 -3
- package/esm2020/date-picker/src/datepicker.component.mjs +0 -247
- package/esm2020/date-picker/src/datepicker.module.mjs +0 -44
- package/esm2020/decorators/acorex-components-decorators.mjs +0 -5
- package/esm2020/decorators/public-api.mjs +0 -11
- package/esm2020/decorators/src/addon.component.mjs +0 -21
- package/esm2020/decorators/src/close-button.component.mjs +0 -50
- package/esm2020/decorators/src/content.component.mjs +0 -21
- package/esm2020/decorators/src/decorators.module.mjs +0 -55
- package/esm2020/decorators/src/footer.component.mjs +0 -29
- package/esm2020/decorators/src/header.component.mjs +0 -29
- package/esm2020/decorators/src/icon.component.mjs +0 -29
- package/esm2020/decorators/src/prefix.component.mjs +0 -21
- package/esm2020/decorators/src/suffix.component.mjs +0 -21
- package/esm2020/decorators/src/title.component.mjs +0 -27
- package/esm2020/dialog/acorex-components-dialog.mjs +0 -5
- package/esm2020/dialog/public-api.mjs +0 -5
- package/esm2020/dialog/src/dialog.class.mjs +0 -2
- package/esm2020/dialog/src/dialog.component.mjs +0 -52
- package/esm2020/dialog/src/dialog.module.mjs +0 -27
- package/esm2020/dialog/src/dialog.service.mjs +0 -150
- package/esm2020/drawer/acorex-components-drawer.mjs +0 -5
- package/esm2020/drawer/public-api.mjs +0 -4
- package/esm2020/drawer/src/drawer-container.component.mjs +0 -38
- package/esm2020/drawer/src/drawer.component.mjs +0 -147
- package/esm2020/drawer/src/drawer.module.mjs +0 -22
- package/esm2020/dropdown/acorex-components-dropdown.mjs +0 -5
- package/esm2020/dropdown/public-api.mjs +0 -3
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -82
- package/esm2020/dropdown/src/dropdown.module.mjs +0 -23
- package/esm2020/form/acorex-components-form.mjs +0 -5
- package/esm2020/form/public-api.mjs +0 -8
- package/esm2020/form/src/form-field.component.mjs +0 -21
- package/esm2020/form/src/form-field.module.mjs +0 -68
- package/esm2020/form/src/form-hint.component.mjs +0 -20
- package/esm2020/form/src/form.component.mjs +0 -85
- package/esm2020/form/src/validation-rule.widget.mjs +0 -110
- package/esm2020/form/src/validation-summary.component.mjs +0 -97
- package/esm2020/form/src/validation.class.mjs +0 -2
- package/esm2020/input-mask/acorex-components-input-mask.mjs +0 -5
- package/esm2020/input-mask/public-api.mjs +0 -3
- package/esm2020/input-mask/src/input-mask.component.mjs +0 -58
- package/esm2020/input-mask/src/input-mask.module.mjs +0 -24
- package/esm2020/label/acorex-components-label.mjs +0 -5
- package/esm2020/label/public-api.mjs +0 -3
- package/esm2020/label/src/label.component.mjs +0 -27
- package/esm2020/label/src/label.module.mjs +0 -21
- package/esm2020/loading/acorex-components-loading.mjs +0 -5
- package/esm2020/loading/public-api.mjs +0 -6
- package/esm2020/loading/src/loading-spinner.component.mjs +0 -74
- package/esm2020/loading/src/loading.component.mjs +0 -70
- package/esm2020/loading/src/loading.directive.mjs +0 -68
- package/esm2020/loading/src/loading.module.mjs +0 -35
- package/esm2020/loading/src/loading.service.mjs +0 -156
- package/esm2020/menu/acorex-components-menu.mjs +0 -5
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/menu/src/menu.component.mjs +0 -193
- package/esm2020/menu/src/menu.module.mjs +0 -25
- package/esm2020/mixin/acorex-components-mixin.mjs +0 -5
- package/esm2020/mixin/public-api.mjs +0 -18
- package/esm2020/mixin/src/base-components.class.mjs +0 -99
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -140
- package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
- package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
- package/esm2020/mixin/src/constratctor.mjs +0 -2
- package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
- package/esm2020/mixin/src/datalist.class.mjs +0 -3
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
- package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
- package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/mixin.class.mjs +0 -26
- package/esm2020/mixin/src/page-component.class.mjs +0 -11
- package/esm2020/mixin/src/selection-component.class.mjs +0 -181
- package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -89
- package/esm2020/mixin/src/value-mixin.class.mjs +0 -197
- package/esm2020/number-box/acorex-components-number-box.mjs +0 -5
- package/esm2020/number-box/public-api.mjs +0 -3
- package/esm2020/number-box/src/number-box.component.mjs +0 -245
- package/esm2020/number-box/src/number-box.module.mjs +0 -35
- package/esm2020/page/acorex-components-page.mjs +0 -5
- package/esm2020/page/public-api.mjs +0 -4
- package/esm2020/page/src/base-page.class.mjs +0 -87
- package/esm2020/page/src/page.component.mjs +0 -44
- package/esm2020/page/src/page.module.mjs +0 -18
- package/esm2020/password-box/acorex-components-password-box.mjs +0 -5
- package/esm2020/password-box/public-api.mjs +0 -3
- package/esm2020/password-box/src/password-box.component.mjs +0 -58
- package/esm2020/password-box/src/password-box.module.mjs +0 -32
- package/esm2020/popover/acorex-components-popover.mjs +0 -5
- package/esm2020/popover/public-api.mjs +0 -3
- package/esm2020/popover/src/popover.component.mjs +0 -256
- package/esm2020/popover/src/popover.module.mjs +0 -19
- package/esm2020/popup/acorex-components-popup.mjs +0 -5
- package/esm2020/popup/public-api.mjs +0 -4
- package/esm2020/popup/src/popup.component.mjs +0 -131
- package/esm2020/popup/src/popup.module.mjs +0 -26
- package/esm2020/popup/src/popup.service.mjs +0 -95
- package/esm2020/progress-bar/acorex-components-progress-bar.mjs +0 -5
- package/esm2020/progress-bar/public-api.mjs +0 -3
- package/esm2020/progress-bar/src/progress-bar.component.mjs +0 -33
- package/esm2020/progress-bar/src/progress-bar.module.mjs +0 -19
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/radio/acorex-components-radio.mjs +0 -5
- package/esm2020/radio/public-api.mjs +0 -3
- package/esm2020/radio/src/radio.component.mjs +0 -34
- package/esm2020/radio/src/radio.module.mjs +0 -22
- package/esm2020/range-slider/acorex-components-range-slider.mjs +0 -5
- package/esm2020/range-slider/public-api.mjs +0 -3
- package/esm2020/range-slider/src/range-slider.component.mjs +0 -113
- package/esm2020/range-slider/src/range-slider.module.mjs +0 -22
- package/esm2020/rating/acorex-components-rating.mjs +0 -5
- package/esm2020/rating/public-api.mjs +0 -3
- package/esm2020/rating/src/rating.component.mjs +0 -41
- package/esm2020/rating/src/rating.component.module.mjs +0 -19
- package/esm2020/result/acorex-components-result.mjs +0 -5
- package/esm2020/result/public-api.mjs +0 -3
- package/esm2020/result/src/result.component.mjs +0 -25
- package/esm2020/result/src/result.module.mjs +0 -19
- package/esm2020/search-box/acorex-components-search-box.mjs +0 -5
- package/esm2020/search-box/public-api.mjs +0 -3
- package/esm2020/search-box/src/search-box.component.mjs +0 -52
- package/esm2020/search-box/src/search-box.module.mjs +0 -25
- package/esm2020/select-box/acorex-components-select-box.mjs +0 -5
- package/esm2020/select-box/public-api.mjs +0 -3
- package/esm2020/select-box/src/selectbox.component.mjs +0 -362
- package/esm2020/select-box/src/selectbox.module.mjs +0 -64
- package/esm2020/selection-list/acorex-components-selection-list.mjs +0 -5
- package/esm2020/selection-list/public-api.mjs +0 -3
- package/esm2020/selection-list/src/selection-list.component.mjs +0 -50
- package/esm2020/selection-list/src/selection-list.module.mjs +0 -24
- package/esm2020/switch/acorex-components-switch.mjs +0 -5
- package/esm2020/switch/public-api.mjs +0 -3
- package/esm2020/switch/src/switch.component.mjs +0 -40
- package/esm2020/switch/src/switch.module.mjs +0 -21
- package/esm2020/tabs/acorex-components-tabs.mjs +0 -5
- package/esm2020/tabs/public-api.mjs +0 -6
- package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
- package/esm2020/tabs/src/tab-item.component.mjs +0 -142
- package/esm2020/tabs/src/tabs.class.mjs +0 -4
- package/esm2020/tabs/src/tabs.component.mjs +0 -94
- package/esm2020/tabs/src/tabs.module.mjs +0 -25
- package/esm2020/textarea/acorex-components-textarea.mjs +0 -5
- package/esm2020/textarea/public-api.mjs +0 -3
- package/esm2020/textarea/src/textarea.component.mjs +0 -22
- package/esm2020/textarea/src/textarea.module.mjs +0 -19
- package/esm2020/textbox/acorex-components-textbox.mjs +0 -5
- package/esm2020/textbox/public-api.mjs +0 -3
- package/esm2020/textbox/src/textbox.component.mjs +0 -31
- package/esm2020/textbox/src/textbox.module.mjs +0 -37
- package/esm2020/time-box/acorex-components-time-box.mjs +0 -5
- package/esm2020/time-box/public-api.mjs +0 -3
- package/esm2020/time-box/src/time-box.component.mjs +0 -287
- package/esm2020/time-box/src/time-box.module.mjs +0 -32
- package/esm2020/toast/acorex-components-toast.mjs +0 -5
- package/esm2020/toast/public-api.mjs +0 -5
- package/esm2020/toast/src/toast.class.mjs +0 -2
- package/esm2020/toast/src/toast.component.mjs +0 -55
- package/esm2020/toast/src/toast.module.mjs +0 -24
- package/esm2020/toast/src/toast.service.mjs +0 -148
- package/esm2020/tooltip/acorex-components-tooltip.mjs +0 -5
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tooltip/src/tooltip.component.mjs +0 -38
- package/esm2020/tooltip/src/tooltip.directive.mjs +0 -86
- package/esm2020/tooltip/src/tooltip.module.mjs +0 -23
- package/esm2020/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2020/tree-view/public-api.mjs +0 -3
- package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2020/tree-view/src/tree-view.module.mjs +0 -20
- package/fesm2015/acorex-components-action-sheet.mjs +0 -155
- package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2015/acorex-components-alert.mjs +0 -181
- package/fesm2015/acorex-components-alert.mjs.map +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -85
- package/fesm2015/acorex-components-avatar.mjs.map +0 -1
- package/fesm2015/acorex-components-badge.mjs +0 -55
- package/fesm2015/acorex-components-badge.mjs.map +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -80
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/acorex-components-button.mjs +0 -263
- package/fesm2015/acorex-components-button.mjs.map +0 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -506
- package/fesm2015/acorex-components-calendar.mjs.map +0 -1
- package/fesm2015/acorex-components-carousel.mjs +0 -726
- package/fesm2015/acorex-components-carousel.mjs.map +0 -1
- package/fesm2015/acorex-components-checkbox.mjs +0 -66
- package/fesm2015/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2015/acorex-components-collapse.mjs +0 -113
- package/fesm2015/acorex-components-collapse.mjs.map +0 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -678
- package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -162
- package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-common.mjs +0 -542
- package/fesm2015/acorex-components-common.mjs.map +0 -1
- package/fesm2015/acorex-components-data-pager.mjs +0 -603
- package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -216
- package/fesm2015/acorex-components-data-table.mjs.map +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -293
- package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-decorators.mjs +0 -277
- package/fesm2015/acorex-components-decorators.mjs.map +0 -1
- package/fesm2015/acorex-components-dialog.mjs +0 -231
- package/fesm2015/acorex-components-dialog.mjs.map +0 -1
- package/fesm2015/acorex-components-drawer.mjs +0 -209
- package/fesm2015/acorex-components-drawer.mjs.map +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -112
- package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -387
- package/fesm2015/acorex-components-form.mjs.map +0 -1
- package/fesm2015/acorex-components-input-mask.mjs +0 -86
- package/fesm2015/acorex-components-input-mask.mjs.map +0 -1
- package/fesm2015/acorex-components-label.mjs +0 -52
- package/fesm2015/acorex-components-label.mjs.map +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -396
- package/fesm2015/acorex-components-loading.mjs.map +0 -1
- package/fesm2015/acorex-components-menu.mjs +0 -227
- package/fesm2015/acorex-components-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-mixin.mjs +0 -1253
- package/fesm2015/acorex-components-mixin.mjs.map +0 -1
- package/fesm2015/acorex-components-number-box.mjs +0 -284
- package/fesm2015/acorex-components-number-box.mjs.map +0 -1
- package/fesm2015/acorex-components-page.mjs +0 -152
- package/fesm2015/acorex-components-page.mjs.map +0 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -94
- package/fesm2015/acorex-components-password-box.mjs.map +0 -1
- package/fesm2015/acorex-components-popover.mjs +0 -284
- package/fesm2015/acorex-components-popover.mjs.map +0 -1
- package/fesm2015/acorex-components-popup.mjs +0 -251
- package/fesm2015/acorex-components-popup.mjs.map +0 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -56
- package/fesm2015/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2015/acorex-components-radio.mjs +0 -60
- package/fesm2015/acorex-components-radio.mjs.map +0 -1
- package/fesm2015/acorex-components-range-slider.mjs +0 -144
- package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2015/acorex-components-rating.mjs +0 -64
- package/fesm2015/acorex-components-rating.mjs.map +0 -1
- package/fesm2015/acorex-components-result.mjs +0 -48
- package/fesm2015/acorex-components-result.mjs.map +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -83
- package/fesm2015/acorex-components-search-box.mjs.map +0 -1
- package/fesm2015/acorex-components-select-box.mjs +0 -433
- package/fesm2015/acorex-components-select-box.mjs.map +0 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -78
- package/fesm2015/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2015/acorex-components-switch.mjs +0 -65
- package/fesm2015/acorex-components-switch.mjs.map +0 -1
- package/fesm2015/acorex-components-tabs.mjs +0 -291
- package/fesm2015/acorex-components-tabs.mjs.map +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -45
- package/fesm2015/acorex-components-textarea.mjs.map +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -72
- package/fesm2015/acorex-components-textbox.mjs.map +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -326
- package/fesm2015/acorex-components-time-box.mjs.map +0 -1
- package/fesm2015/acorex-components-toast.mjs +0 -228
- package/fesm2015/acorex-components-toast.mjs.map +0 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -147
- package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -132
- package/fesm2015/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2015/acorex-components.mjs +0 -11
- package/fesm2015/acorex-components.mjs.map +0 -1
- package/fesm2020/acorex-components-action-sheet.mjs +0 -155
- package/fesm2020/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2020/acorex-components-alert.mjs +0 -179
- package/fesm2020/acorex-components-alert.mjs.map +0 -1
- package/fesm2020/acorex-components-avatar.mjs +0 -85
- package/fesm2020/acorex-components-avatar.mjs.map +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -55
- package/fesm2020/acorex-components-badge.mjs.map +0 -1
- package/fesm2020/acorex-components-breadcrumbs.mjs +0 -78
- package/fesm2020/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2020/acorex-components-button.mjs +0 -260
- package/fesm2020/acorex-components-button.mjs.map +0 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -505
- package/fesm2020/acorex-components-calendar.mjs.map +0 -1
- package/fesm2020/acorex-components-carousel.mjs +0 -722
- package/fesm2020/acorex-components-carousel.mjs.map +0 -1
- package/fesm2020/acorex-components-checkbox.mjs +0 -66
- package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2020/acorex-components-collapse.mjs +0 -113
- package/fesm2020/acorex-components-collapse.mjs.map +0 -1
- package/fesm2020/acorex-components-color-palette.mjs +0 -672
- package/fesm2020/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2020/acorex-components-color-picker.mjs +0 -159
- package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-common.mjs +0 -534
- package/fesm2020/acorex-components-common.mjs.map +0 -1
- package/fesm2020/acorex-components-data-pager.mjs +0 -586
- package/fesm2020/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2020/acorex-components-data-table.mjs +0 -214
- package/fesm2020/acorex-components-data-table.mjs.map +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -292
- package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-decorators.mjs +0 -274
- package/fesm2020/acorex-components-decorators.mjs.map +0 -1
- package/fesm2020/acorex-components-dialog.mjs +0 -230
- package/fesm2020/acorex-components-dialog.mjs.map +0 -1
- package/fesm2020/acorex-components-drawer.mjs +0 -207
- package/fesm2020/acorex-components-drawer.mjs.map +0 -1
- package/fesm2020/acorex-components-dropdown.mjs +0 -107
- package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2020/acorex-components-form.mjs +0 -384
- package/fesm2020/acorex-components-form.mjs.map +0 -1
- package/fesm2020/acorex-components-input-mask.mjs +0 -86
- package/fesm2020/acorex-components-input-mask.mjs.map +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -52
- package/fesm2020/acorex-components-label.mjs.map +0 -1
- package/fesm2020/acorex-components-loading.mjs +0 -395
- package/fesm2020/acorex-components-loading.mjs.map +0 -1
- package/fesm2020/acorex-components-menu.mjs +0 -221
- package/fesm2020/acorex-components-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-mixin.mjs +0 -1247
- package/fesm2020/acorex-components-mixin.mjs.map +0 -1
- package/fesm2020/acorex-components-number-box.mjs +0 -283
- package/fesm2020/acorex-components-number-box.mjs.map +0 -1
- package/fesm2020/acorex-components-page.mjs +0 -150
- package/fesm2020/acorex-components-page.mjs.map +0 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -94
- package/fesm2020/acorex-components-password-box.mjs.map +0 -1
- package/fesm2020/acorex-components-popover.mjs +0 -279
- package/fesm2020/acorex-components-popover.mjs.map +0 -1
- package/fesm2020/acorex-components-popup.mjs +0 -251
- package/fesm2020/acorex-components-popup.mjs.map +0 -1
- package/fesm2020/acorex-components-progress-bar.mjs +0 -56
- package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -60
- package/fesm2020/acorex-components-radio.mjs.map +0 -1
- package/fesm2020/acorex-components-range-slider.mjs +0 -139
- package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2020/acorex-components-rating.mjs +0 -64
- package/fesm2020/acorex-components-rating.mjs.map +0 -1
- package/fesm2020/acorex-components-result.mjs +0 -48
- package/fesm2020/acorex-components-result.mjs.map +0 -1
- package/fesm2020/acorex-components-search-box.mjs +0 -80
- package/fesm2020/acorex-components-search-box.mjs.map +0 -1
- package/fesm2020/acorex-components-select-box.mjs +0 -427
- package/fesm2020/acorex-components-select-box.mjs.map +0 -1
- package/fesm2020/acorex-components-selection-list.mjs +0 -78
- package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2020/acorex-components-switch.mjs +0 -65
- package/fesm2020/acorex-components-switch.mjs.map +0 -1
- package/fesm2020/acorex-components-tabs.mjs +0 -290
- package/fesm2020/acorex-components-tabs.mjs.map +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -45
- package/fesm2020/acorex-components-textarea.mjs.map +0 -1
- package/fesm2020/acorex-components-textbox.mjs +0 -72
- package/fesm2020/acorex-components-textbox.mjs.map +0 -1
- package/fesm2020/acorex-components-time-box.mjs +0 -322
- package/fesm2020/acorex-components-time-box.mjs.map +0 -1
- package/fesm2020/acorex-components-toast.mjs +0 -228
- package/fesm2020/acorex-components-toast.mjs.map +0 -1
- package/fesm2020/acorex-components-tooltip.mjs +0 -147
- package/fesm2020/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2020/acorex-components-tree-view.mjs +0 -132
- package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -11
- package/fesm2020/acorex-components.mjs.map +0 -1
- package/form/index.d.ts +0 -5
- package/form/src/form-field.component.d.ts +0 -8
- package/form/src/form-field.module.d.ts +0 -16
- package/form/src/form-hint.component.d.ts +0 -8
- package/form/src/form.component.d.ts +0 -31
- package/form/src/validation-rule.widget.d.ts +0 -17
- package/form/src/validation-summary.component.d.ts +0 -21
- package/form/src/validation.class.d.ts +0 -18
- package/index.d.ts +0 -5
- package/input-mask/index.d.ts +0 -5
- package/input-mask/src/input-mask.component.d.ts +0 -25
- package/input-mask/src/input-mask.module.d.ts +0 -10
- package/label/index.d.ts +0 -5
- package/label/public-api.d.ts +0 -2
- package/label/src/label.component.d.ts +0 -13
- package/label/src/label.module.d.ts +0 -8
- package/loading/index.d.ts +0 -5
- package/loading/src/loading-spinner.component.d.ts +0 -6
- package/loading/src/loading.component.d.ts +0 -21
- package/loading/src/loading.directive.d.ts +0 -22
- package/loading/src/loading.module.d.ts +0 -13
- package/loading/src/loading.service.d.ts +0 -48
- package/menu/index.d.ts +0 -5
- package/menu/src/menu.component.d.ts +0 -53
- package/menu/src/menu.module.d.ts +0 -12
- package/mixin/index.d.ts +0 -5
- package/mixin/public-api.d.ts +0 -17
- package/mixin/src/base-components.class.d.ts +0 -84
- package/mixin/src/base-menu-mixin.class.d.ts +0 -52
- package/mixin/src/button-mixin.class.d.ts +0 -52
- package/mixin/src/clickable-mixin.class.d.ts +0 -37
- package/mixin/src/color-look-mixing.class.d.ts +0 -43
- package/mixin/src/constratctor.d.ts +0 -4
- package/mixin/src/datalist-component.class.d.ts +0 -58
- package/mixin/src/datalist.class.d.ts +0 -11
- package/mixin/src/dropdown-mixin.class.d.ts +0 -46
- package/mixin/src/interactive-mixin.class.d.ts +0 -59
- package/mixin/src/loading-mixin.class.d.ts +0 -39
- package/mixin/src/mixin.class.d.ts +0 -693
- package/mixin/src/page-component.class.d.ts +0 -27
- package/mixin/src/selection-component.class.d.ts +0 -62
- package/mixin/src/sizable-mixin.class.d.ts +0 -33
- package/mixin/src/textbox-mixin.class.d.ts +0 -74
- package/mixin/src/value-mixin.class.d.ts +0 -62
- package/number-box/index.d.ts +0 -5
- package/number-box/src/number-box.component.d.ts +0 -76
- package/number-box/src/number-box.module.d.ts +0 -12
- package/page/index.d.ts +0 -5
- package/page/public-api.d.ts +0 -3
- package/page/src/base-page.class.d.ts +0 -45
- package/page/src/page.component.d.ts +0 -14
- package/page/src/page.module.d.ts +0 -6
- package/password-box/index.d.ts +0 -5
- package/password-box/src/password-box.component.d.ts +0 -23
- package/password-box/src/password-box.module.d.ts +0 -11
- package/popover/index.d.ts +0 -5
- package/popover/public-api.d.ts +0 -2
- package/popover/src/popover.component.d.ts +0 -51
- package/popover/src/popover.module.d.ts +0 -8
- package/popup/index.d.ts +0 -5
- package/popup/src/popup.component.d.ts +0 -45
- package/popup/src/popup.module.d.ts +0 -13
- package/popup/src/popup.service.d.ts +0 -38
- package/progress-bar/index.d.ts +0 -5
- package/progress-bar/public-api.d.ts +0 -2
- package/progress-bar/src/progress-bar.component.d.ts +0 -18
- package/progress-bar/src/progress-bar.module.d.ts +0 -8
- package/public-api.d.ts +0 -1
- package/radio/index.d.ts +0 -5
- package/radio/src/radio.component.d.ts +0 -17
- package/radio/src/radio.module.d.ts +0 -9
- package/range-slider/index.d.ts +0 -5
- package/range-slider/src/range-slider.component.d.ts +0 -40
- package/range-slider/src/range-slider.module.d.ts +0 -9
- package/rating/index.d.ts +0 -5
- package/rating/public-api.d.ts +0 -2
- package/rating/src/rating.component.d.ts +0 -21
- package/rating/src/rating.component.module.d.ts +0 -8
- package/result/index.d.ts +0 -5
- package/result/src/result.component.d.ts +0 -12
- package/result/src/result.module.d.ts +0 -8
- package/search-box/index.d.ts +0 -5
- package/search-box/src/search-box.component.d.ts +0 -18
- package/search-box/src/search-box.module.d.ts +0 -12
- package/select-box/index.d.ts +0 -5
- package/select-box/public-api.d.ts +0 -2
- package/select-box/src/selectbox.component.d.ts +0 -66
- package/select-box/src/selectbox.module.d.ts +0 -19
- package/selection-list/index.d.ts +0 -5
- package/selection-list/public-api.d.ts +0 -2
- package/selection-list/src/selection-list.component.d.ts +0 -22
- package/selection-list/src/selection-list.module.d.ts +0 -13
- package/switch/index.d.ts +0 -5
- package/switch/public-api.d.ts +0 -2
- package/switch/src/switch.component.d.ts +0 -12
- package/switch/src/switch.module.d.ts +0 -10
- package/tabs/index.d.ts +0 -5
- package/tabs/src/tab-content.directive.d.ts +0 -11
- package/tabs/src/tab-item.component.d.ts +0 -47
- package/tabs/src/tabs.class.d.ts +0 -6
- package/tabs/src/tabs.component.d.ts +0 -24
- package/tabs/src/tabs.module.d.ts +0 -12
- package/textarea/index.d.ts +0 -5
- package/textarea/src/textarea.component.d.ts +0 -12
- package/textarea/src/textarea.module.d.ts +0 -9
- package/textbox/index.d.ts +0 -5
- package/textbox/public-api.d.ts +0 -2
- package/textbox/src/textbox.component.d.ts +0 -16
- package/textbox/src/textbox.module.d.ts +0 -12
- package/time-box/index.d.ts +0 -5
- package/time-box/src/time-box.component.d.ts +0 -48
- package/time-box/src/time-box.module.d.ts +0 -11
- package/toast/index.d.ts +0 -5
- package/toast/src/toast.class.d.ts +0 -15
- package/toast/src/toast.component.d.ts +0 -24
- package/toast/src/toast.module.d.ts +0 -11
- package/toast/src/toast.service.d.ts +0 -23
- package/tooltip/index.d.ts +0 -5
- package/tooltip/src/tooltip.component.d.ts +0 -10
- package/tooltip/src/tooltip.directive.d.ts +0 -18
- package/tooltip/src/tooltip.module.d.ts +0 -10
- package/tree-view/index.d.ts +0 -5
- package/tree-view/public-api.d.ts +0 -2
- package/tree-view/src/tree-view.component.d.ts +0 -33
- package/tree-view/src/tree-view.module.d.ts +0 -9
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { AXColorUtil } from '@acorex/core/utils';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
3
|
-
import { AXClosbaleComponent, } from '@acorex/components/common';
|
|
4
|
-
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
5
|
-
import { _InteractiveComponenetMixin, _DropdownComponenetMixin, _ValueComponenetMixin, _TextboxComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@acorex/core/platform";
|
|
8
|
-
import * as i2 from "@angular/common";
|
|
9
|
-
import * as i3 from "@acorex/components/decorators";
|
|
10
|
-
import * as i4 from "@acorex/components/popover";
|
|
11
|
-
import * as i5 from "@acorex/components/button";
|
|
12
|
-
import * as i6 from "@angular/cdk/a11y";
|
|
13
|
-
import * as i7 from "@acorex/components/color-palette";
|
|
14
|
-
export const AXBaseColorPickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXBaseComponent))));
|
|
15
|
-
/**
|
|
16
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
17
|
-
*
|
|
18
|
-
* @category Components
|
|
19
|
-
*/
|
|
20
|
-
export class AXColorPickerComponent extends AXBaseColorPickerMixin {
|
|
21
|
-
/**
|
|
22
|
-
* @ignore
|
|
23
|
-
*/
|
|
24
|
-
constructor(_elementRef, _cdr, _zone, _platform) {
|
|
25
|
-
super(_elementRef, _cdr);
|
|
26
|
-
this._elementRef = _elementRef;
|
|
27
|
-
this._zone = _zone;
|
|
28
|
-
this._platform = _platform;
|
|
29
|
-
this._mode = 'hex';
|
|
30
|
-
this._isMobile = false;
|
|
31
|
-
this._isMobile = this._platform.is('Mobile');
|
|
32
|
-
this._platform.resize.subscribe(() => {
|
|
33
|
-
this._isMobile = this._platform.is('Mobile');
|
|
34
|
-
this.popover.dispose();
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
_handleArrowClickEvent(e) {
|
|
38
|
-
e.nativeEvent.stopPropagation();
|
|
39
|
-
this.toggle();
|
|
40
|
-
}
|
|
41
|
-
_handleInputClickEvent(e) {
|
|
42
|
-
e.stopPropagation();
|
|
43
|
-
this.toggle();
|
|
44
|
-
}
|
|
45
|
-
_handleClearClickEvent() {
|
|
46
|
-
this._setUserInteraction();
|
|
47
|
-
this.clear();
|
|
48
|
-
}
|
|
49
|
-
onInit() {
|
|
50
|
-
super.onInit();
|
|
51
|
-
this._target = this._elementRef.nativeElement;
|
|
52
|
-
}
|
|
53
|
-
onViewInit() {
|
|
54
|
-
super.onViewInit();
|
|
55
|
-
}
|
|
56
|
-
_onValueChanged(oldValue, newValue) {
|
|
57
|
-
super._onValueChanged(oldValue, newValue);
|
|
58
|
-
if (newValue != null)
|
|
59
|
-
this._colorCode = AXColorUtil.toString(newValue, this._mode);
|
|
60
|
-
else
|
|
61
|
-
this._colorCode = '';
|
|
62
|
-
}
|
|
63
|
-
_handleValueChangedEvent(e) {
|
|
64
|
-
if (e.isUserInteraction)
|
|
65
|
-
this._setUserInteraction();
|
|
66
|
-
this.value = e.value;
|
|
67
|
-
}
|
|
68
|
-
async _handlePopupOnOpened(e) { }
|
|
69
|
-
_handlePopupOnClosed(e) {
|
|
70
|
-
this.focus();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
AXColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
-
AXColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXColorPickerComponent, selector: "ax-color-picker", inputs: { isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", debounceTime: "debounceTime", type: "type", autoComplete: "autoComplete" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [
|
|
75
|
-
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent },
|
|
76
|
-
], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleClearClickEvent()\" [tabIndex]=\"-1\" *ngIf=\"value && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [value]=\"value\" (onValueChanged)=\"_handleValueChangedEvent($event)\" [(colorMode)]=\"_mode\">\r\n </ax-color-palette>\r\n </div>\r\n</ax-popover>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i4.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i5.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "directive", type: i6.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i7.AXColorPalleteComponent, selector: "ax-color-palette", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "name", "checked", "colorMode"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged", "colorModeChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerComponent, decorators: [{
|
|
78
|
-
type: Component,
|
|
79
|
-
args: [{ selector: 'ax-color-picker', inputs: [
|
|
80
|
-
'isOpen', 'fitParent', 'dropdownWidth', 'position',
|
|
81
|
-
'disabled', 'tabIndex',
|
|
82
|
-
'readonly', 'allowNull', 'value', 'name', 'checked',
|
|
83
|
-
'placeholder', 'maxLength', 'allowNull', 'debounceTime', 'type', 'autoComplete', 'readonly', 'allowNull', 'value', 'name', 'checked',
|
|
84
|
-
], outputs: [
|
|
85
|
-
'onOpened', 'onClosed',
|
|
86
|
-
'onBlur', 'onFocus',
|
|
87
|
-
'valueChange', 'onValueChanged',
|
|
88
|
-
'valueChange', 'onValueChanged',
|
|
89
|
-
], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
90
|
-
{ provide: AXClosbaleComponent, useExisting: AXColorPickerComponent },
|
|
91
|
-
], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content\" [class.ax-state-disabled]=\"disabled\" (click)=\"_handleInputClickEvent($event)\">\r\n <div *ngIf=\"value\" class=\"color-badge\" [ngStyle]=\"{'background-color': value}\"></div>\r\n <div class=\"ax-uppercase\">{{_colorCode}}</div>\r\n</div>\r\n<ax-button color=\"light\" look=\"blank\" (onClick)=\"_handleClearClickEvent()\" [tabIndex]=\"-1\" *ngIf=\"value && !(disabled || readonly)\">\r\n <ax-icon icon=\"ax-ic ax-ic-close\"></ax-icon>\r\n</ax-button>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon #icon icon=\"ax-ic ax-ic-chevron ax-transform ax--rotate-90\"></ax-icon>\r\n</ax-button>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\" (onOpened)=\"_handlePopupOnOpened($event)\" (onClosed)=\"_handlePopupOnClosed($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\" tabindex=\"0\" aria-modal=\"true\" cdkTrapFocus\r\n [class.ax-overlay-actionsheet]=\"_isMobile\">\r\n <ax-color-palette [value]=\"value\" (onValueChanged)=\"_handleValueChangedEvent($event)\" [(colorMode)]=\"_mode\">\r\n </ax-color-palette>\r\n </div>\r\n</ax-popover>" }]
|
|
92
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.AXPlatform }]; }, propDecorators: { popover: [{
|
|
93
|
-
type: ViewChild,
|
|
94
|
-
args: [AXPopoverComponent, { static: true }]
|
|
95
|
-
}] } });
|
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3ItcGlja2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbG9yLXBpY2tlci9zcmMvY29sb3ItcGlja2VyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbG9yLXBpY2tlci9zcmMvY29sb3ItcGlja2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZSxXQUFXLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUc5RCxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFHVCxTQUFTLEVBQ1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFFTCxtQkFBbUIsR0FFcEIsTUFBTSwyQkFBMkIsQ0FBQztBQUNuQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsd0JBQXdCLEVBQUUscUJBQXFCLEVBQUUsdUJBQXVCLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7Ozs7Ozs7OztBQUdsSyxNQUFNLENBQUMsTUFBTSxzQkFBc0Is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RrVHJhcEZvY3VzXHJcbiAgICAgICAgW2NsYXNzLmF4LW92ZXJsYXktYWN0aW9uc2hlZXRdPVwiX2lzTW9iaWxlXCI+XHJcbiAgICAgICAgPGF4LWNvbG9yLXBhbGV0dGUgW3ZhbHVlXT1cInZhbHVlXCIgKG9uVmFsdWVDaGFuZ2VkKT1cIl9oYW5kbGVWYWx1ZUNoYW5nZWRFdmVudCgkZXZlbnQpXCIgWyhjb2xvck1vZGUpXT1cIl9tb2RlXCI+XHJcbiAgICAgICAgPC9heC1jb2xvci1wYWxldHRlPlxyXG4gICAgPC9kaXY+XHJcbjwvYXgtcG9wb3Zlcj4iXX0=
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
|
5
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
|
6
|
-
import { AXButtonModule } from '@acorex/components/button';
|
|
7
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
8
|
-
import { AXPopoverModule } from '@acorex/components/popover';
|
|
9
|
-
import { AXCommonModule } from '@acorex/components/common';
|
|
10
|
-
import { AXTextBoxModule } from '@acorex/components/textbox';
|
|
11
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
|
12
|
-
import { AXColorPaletteModule } from '@acorex/components/color-palette';
|
|
13
|
-
import { AXColorPickerComponent } from './color-picker.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export class AXColorPickerModule {
|
|
16
|
-
}
|
|
17
|
-
AXColorPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18
|
-
AXColorPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerModule, declarations: [AXColorPickerComponent], imports: [CommonModule,
|
|
19
|
-
AXCommonModule,
|
|
20
|
-
FormsModule,
|
|
21
|
-
AXDecoratorModule,
|
|
22
|
-
AXPopoverModule,
|
|
23
|
-
AXButtonModule,
|
|
24
|
-
A11yModule,
|
|
25
|
-
AXLoadingModule,
|
|
26
|
-
AXTranslationModule,
|
|
27
|
-
AXTextBoxModule,
|
|
28
|
-
AXColorPaletteModule], exports: [AXColorPickerComponent] });
|
|
29
|
-
AXColorPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerModule, imports: [CommonModule,
|
|
30
|
-
AXCommonModule,
|
|
31
|
-
FormsModule,
|
|
32
|
-
AXDecoratorModule,
|
|
33
|
-
AXPopoverModule,
|
|
34
|
-
AXButtonModule,
|
|
35
|
-
A11yModule,
|
|
36
|
-
AXLoadingModule,
|
|
37
|
-
AXTranslationModule,
|
|
38
|
-
AXTextBoxModule,
|
|
39
|
-
AXColorPaletteModule] });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXColorPickerModule, decorators: [{
|
|
41
|
-
type: NgModule,
|
|
42
|
-
args: [{
|
|
43
|
-
imports: [
|
|
44
|
-
CommonModule,
|
|
45
|
-
AXCommonModule,
|
|
46
|
-
FormsModule,
|
|
47
|
-
AXDecoratorModule,
|
|
48
|
-
AXPopoverModule,
|
|
49
|
-
AXButtonModule,
|
|
50
|
-
A11yModule,
|
|
51
|
-
AXLoadingModule,
|
|
52
|
-
AXTranslationModule,
|
|
53
|
-
AXTextBoxModule,
|
|
54
|
-
AXColorPaletteModule
|
|
55
|
-
],
|
|
56
|
-
exports: [AXColorPickerComponent],
|
|
57
|
-
declarations: [AXColorPickerComponent],
|
|
58
|
-
providers: [],
|
|
59
|
-
}]
|
|
60
|
-
}] });
|
|
61
|
-
//# sourceMappingURL=data:application/json;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4gICAgICAgIEExMXlNb2R1bGUsXHJcbiAgICAgICAgQVhMb2FkaW5nTW9kdWxlLFxyXG4gICAgICAgIEFYVHJhbnNsYXRpb25Nb2R1bGUsXHJcbiAgICAgICAgQVhUZXh0Qm94TW9kdWxlLFxyXG4gICAgICAgIEFYQ29sb3JQYWxldHRlTW9kdWxlXHJcbiAgICBdLFxyXG4gICAgZXhwb3J0czogW0FYQ29sb3JQaWNrZXJDb21wb25lbnRdLFxyXG4gICAgZGVjbGFyYXRpb25zOiBbQVhDb2xvclBpY2tlckNvbXBvbmVudF0sXHJcbiAgICBwcm92aWRlcnM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhDb2xvclBpY2tlck1vZHVsZSB7IH1cclxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvY29tbW9uL2Fjb3JleC1jb21wb25lbnRzLWNvbW1vbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './src/auto-focus.directive';
|
|
2
|
-
export * from './src/common.module';
|
|
3
|
-
export * from './src/components.class';
|
|
4
|
-
export * from './src/custom-cdk-overlay.service';
|
|
5
|
-
export * from './src/drawing.class';
|
|
6
|
-
export * from './src/events.class';
|
|
7
|
-
export * from './src/hotkey.directive';
|
|
8
|
-
export * from './src/hotkey.service';
|
|
9
|
-
export * from './src/infinite-scroll.directive';
|
|
10
|
-
export * from './src/overlay.service';
|
|
11
|
-
export * from './src/responsive.directive';
|
|
12
|
-
export * from './src/styles.class';
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbW1vbi9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvYXV0by1mb2N1cy5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9jb21tb24ubW9kdWxlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvY29tcG9uZW50cy5jbGFzcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2N1c3RvbS1jZGstb3ZlcmxheS5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvZHJhd2luZy5jbGFzcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2V2ZW50cy5jbGFzcyc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2hvdGtleS5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9ob3RrZXkuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2luZmluaXRlLXNjcm9sbC5kaXJlY3RpdmUnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9vdmVybGF5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9yZXNwb25zaXZlLmRpcmVjdGl2ZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3N0eWxlcy5jbGFzcyc7XHJcbiJdfQ==
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Directive, Host, Input, Optional, Self, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./components.class";
|
|
4
|
-
export class AXAutoFocusDirective {
|
|
5
|
-
constructor(el, _host) {
|
|
6
|
-
this.el = el;
|
|
7
|
-
this._host = _host;
|
|
8
|
-
this.autoFocus = true;
|
|
9
|
-
}
|
|
10
|
-
ngAfterContentInit() {
|
|
11
|
-
if (this.autoFocus) {
|
|
12
|
-
const list = [
|
|
13
|
-
'button',
|
|
14
|
-
'input',
|
|
15
|
-
'[href]',
|
|
16
|
-
'select',
|
|
17
|
-
'textarea',
|
|
18
|
-
'[tabindex]',
|
|
19
|
-
].map((c) => c + ':not([tabindex="-1"])');
|
|
20
|
-
const focusable = this.el.nativeElement.querySelector(list.join(', ')) ??
|
|
21
|
-
this.el.nativeElement;
|
|
22
|
-
const attr = document.createAttribute('autofocus');
|
|
23
|
-
focusable.setAttributeNode(attr);
|
|
24
|
-
const hasTabindex = focusable.hasAttribute('tabindex');
|
|
25
|
-
if (!hasTabindex) {
|
|
26
|
-
focusable.setAttribute('tabIndex', '0');
|
|
27
|
-
}
|
|
28
|
-
setTimeout(() => {
|
|
29
|
-
focusable.focus();
|
|
30
|
-
}, 250);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
AXAutoFocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAutoFocusDirective, deps: [{ token: i0.ElementRef }, { token: i1.AXFocusableComponent, host: true, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
-
AXAutoFocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: AXAutoFocusDirective, selector: "[axAutoFocus]", inputs: { autoFocus: ["axAutoFocus", "autoFocus"] }, ngImport: i0 });
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAutoFocusDirective, decorators: [{
|
|
37
|
-
type: Directive,
|
|
38
|
-
args: [{
|
|
39
|
-
selector: '[axAutoFocus]',
|
|
40
|
-
}]
|
|
41
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.AXFocusableComponent, decorators: [{
|
|
42
|
-
type: Host
|
|
43
|
-
}, {
|
|
44
|
-
type: Self
|
|
45
|
-
}, {
|
|
46
|
-
type: Optional
|
|
47
|
-
}] }]; }, propDecorators: { autoFocus: [{
|
|
48
|
-
type: Input,
|
|
49
|
-
args: ['axAutoFocus']
|
|
50
|
-
}] } });
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0by1mb2N1cy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9jb21tb24vc3JjL2F1dG8tZm9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MoKTtcclxuICAgICAgfSwgMjUwKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { AXAutoFocusDirective } from './auto-focus.directive';
|
|
3
|
-
import { AXHotkeyDirective } from './hotkey.directive';
|
|
4
|
-
import { AXInfiniteScrollerDirective } from './infinite-scroll.directive';
|
|
5
|
-
import { AXResponsiveDirective } from './responsive.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class AXCommonModule {
|
|
8
|
-
}
|
|
9
|
-
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
|
11
|
-
AXInfiniteScrollerDirective,
|
|
12
|
-
AXAutoFocusDirective,
|
|
13
|
-
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
|
14
|
-
AXInfiniteScrollerDirective,
|
|
15
|
-
AXAutoFocusDirective,
|
|
16
|
-
AXHotkeyDirective] });
|
|
17
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXCommonModule });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXCommonModule, decorators: [{
|
|
19
|
-
type: NgModule,
|
|
20
|
-
args: [{
|
|
21
|
-
imports: [],
|
|
22
|
-
exports: [
|
|
23
|
-
AXResponsiveDirective,
|
|
24
|
-
AXInfiniteScrollerDirective,
|
|
25
|
-
AXAutoFocusDirective,
|
|
26
|
-
AXHotkeyDirective,
|
|
27
|
-
],
|
|
28
|
-
declarations: [
|
|
29
|
-
AXResponsiveDirective,
|
|
30
|
-
AXInfiniteScrollerDirective,
|
|
31
|
-
AXAutoFocusDirective,
|
|
32
|
-
AXHotkeyDirective,
|
|
33
|
-
],
|
|
34
|
-
providers: [],
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbW1vbi9zcmMvY29tbW9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzlELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQzFFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDOztBQWlCL0QsTUFBTSxPQUFPLGNBQWM7OzJHQUFkLGNBQWM7NEdBQWQsY0FBYyxpQkFQdkIscUJBQXFCO1FBQ3JCLDJCQUEyQjtRQUMzQixvQkFBb0I7UUFDcEIsaUJBQWlCLGFBVGpCLHFCQUFxQjtRQUNyQiwyQkFBMkI7UUFDM0Isb0JBQW9CO1FBQ3BCLGlCQUFpQjs0R0FVUixjQUFjOzJGQUFkLGNBQWM7a0JBaEIxQixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxFQUFFO29CQUNYLE9BQU8sRUFBRTt3QkFDUCxxQkFBcUI7d0JBQ3JCLDJCQUEyQjt3QkFDM0Isb0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HJvdmlkZXJzOiBbXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYQ29tbW9uTW9kdWxlIHt9XHJcbiJdfQ==
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class AXComponent {
|
|
4
|
-
}
|
|
5
|
-
AXComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6
|
-
AXComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXComponent });
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXComponent, decorators: [{
|
|
8
|
-
type: Injectable
|
|
9
|
-
}] });
|
|
10
|
-
export class AXClosbaleComponent extends AXComponent {
|
|
11
|
-
}
|
|
12
|
-
AXClosbaleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXClosbaleComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
-
AXClosbaleComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXClosbaleComponent });
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXClosbaleComponent, decorators: [{
|
|
15
|
-
type: Injectable
|
|
16
|
-
}] });
|
|
17
|
-
export class AXSearchableComponent extends AXComponent {
|
|
18
|
-
}
|
|
19
|
-
AXSearchableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXSearchableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
-
AXSearchableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXSearchableComponent });
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXSearchableComponent, decorators: [{
|
|
22
|
-
type: Injectable
|
|
23
|
-
}] });
|
|
24
|
-
export class AXValuableComponent extends AXComponent {
|
|
25
|
-
}
|
|
26
|
-
AXValuableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXValuableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
-
AXValuableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXValuableComponent });
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXValuableComponent, decorators: [{
|
|
29
|
-
type: Injectable
|
|
30
|
-
}] });
|
|
31
|
-
export class AXFocusableComponent extends AXComponent {
|
|
32
|
-
}
|
|
33
|
-
AXFocusableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXFocusableComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
34
|
-
AXFocusableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXFocusableComponent });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXFocusableComponent, decorators: [{
|
|
36
|
-
type: Injectable
|
|
37
|
-
}] });
|
|
38
|
-
export class AXPagedComponent extends AXComponent {
|
|
39
|
-
}
|
|
40
|
-
AXPagedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXPagedComponent, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
41
|
-
AXPagedComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXPagedComponent });
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXPagedComponent, decorators: [{
|
|
43
|
-
type: Injectable
|
|
44
|
-
}] });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbW1vbi9zcmMvY29tcG9uZW50cy5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFJekQsTUFBTSxPQUFnQixXQUFXOzt3R0FBWCxXQUFXOzRHQUFYLFdBQVc7MkZBQVgsV0FBVztrQkFEaEMsVUFBVTs7QUFJWCxNQUFNLE9BQWdCLG1CQUFvQixTQUFRLFdBQVc7O2dIQUF2QyxtQkFBbUI7b0hBQW5CLG1CQUFtQjsyRkFBbkIsbUJBQW1CO2tCQUR4QyxVQUFVOztBQU1YLE1BQU0sT0FBZ0IscUJBQXNCLFNBQVEsV0FBVzs7a0hBQXpDLHFCQUFxQjtzSEFBckIscUJBQXFCOzJGQUFyQixxQkFBcUI7a0JBRDFDLFVBQVU7O0FBTVgsTUFBTSxPQUFnQixtQkFBb0IsU0FBUSxXQUFXOztnSEFBdkMsbUJBQW1CO29IQUFuQixtQkFBbUI7MkZBQW5CLG1CQUFtQjtrQkFEeEMsVUFBVTs7QUFPWCxNQUFNLE9BQWdCLG9CQUFxQixTQUFRLFdBQVc7O2lIQUF4QyxvQkFBb0I7cUhBQXBCLG9CQUFvQjsyRkFBcEIsb0JB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b25lbnQgZXh0ZW5kcyBBWENvbXBvbmVudCB7XHJcbiAgYWJzdHJhY3QgZm9jdXMoKTtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBBWFBhZ2VkQ29tcG9uZW50SW50ZXJmYWNlIHtcclxuICBnb1RvUGFnZShwYWdlOiBudW1iZXIpO1xyXG4gIGdldCB0b3RhbENvdW50KCk6IG51bWJlcjtcclxuICBnZXQgcGFnZVNpemUoKTogbnVtYmVyO1xyXG4gIG9uUGFnZUNoYW5nZWQ6IEV2ZW50RW1pdHRlcjxBWFZhbHVlQ2hhbmdlZEV2ZW50PG51bWJlcj4+O1xyXG59XHJcblxyXG5ASW5qZWN0YWJsZSgpXHJcbmV4cG9ydCBhYnN0cmFjdCBjbGFzcyBBWFBhZ2VkQ29tcG9uZW50XHJcbiAgZXh0ZW5kcyBBWENvbXBvbmVudFxyXG4gIGltcGxlbWVudHMgQVhQYWdlZENvbXBvbmVudEludGVyZmFjZVxyXG57XHJcbiAgYWJzdHJhY3QgZ29Ub1BhZ2UocGFnZTogbnVtYmVyKTtcclxuICBhYnN0cmFjdCBnZXQgdG90YWxDb3VudCgpOiBudW1iZXI7XHJcbiAgYWJzdHJhY3QgZ2V0IHBhZ2VTaXplKCk6IG51bWJlcjtcclxuICBhYnN0cmFjdCBvblBhZ2VDaGFuZ2VkOiBFdmVudEVtaXR0ZXI8QVhWYWx1ZUNoYW5nZWRFdmVudDxudW1iZXI+PjtcclxufVxyXG4iXX0=
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Overlay, OverlayContainer, } from '@angular/cdk/overlay';
|
|
2
|
-
// TODO: 'ComponentFactoryResolver' is deprecated.
|
|
3
|
-
import { Inject, Injectable, } from '@angular/core';
|
|
4
|
-
import { DOCUMENT } from '@angular/common';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i2 from "@angular/cdk/bidi";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
export class DynamicOverlayContainer extends OverlayContainer {
|
|
10
|
-
setContainerElement(containerElement) {
|
|
11
|
-
this._containerElement = containerElement;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DynamicOverlayContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlayContainer, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
-
DynamicOverlayContainer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlayContainer, providedIn: 'root' });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlayContainer, decorators: [{
|
|
17
|
-
type: Injectable,
|
|
18
|
-
args: [{
|
|
19
|
-
providedIn: 'root',
|
|
20
|
-
}]
|
|
21
|
-
}] });
|
|
22
|
-
export class DynamicOverlay extends Overlay {
|
|
23
|
-
constructor(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, rendererFactory, _location, _outsideClickDispatcher) {
|
|
24
|
-
super(scrollStrategies, _overlayContainer, _componentFactoryResolver, _positionBuilder, _keyboardDispatcher, _injector, _ngZone, _document, _directionality, _location, _outsideClickDispatcher);
|
|
25
|
-
this.renderer = rendererFactory.createRenderer(null, null);
|
|
26
|
-
this._dynamicOverlayContainer = _overlayContainer;
|
|
27
|
-
}
|
|
28
|
-
setContainerElement(containerElement) {
|
|
29
|
-
this.renderer.setStyle(containerElement, 'transform', 'translateZ(0)');
|
|
30
|
-
this._dynamicOverlayContainer.setContainerElement(containerElement);
|
|
31
|
-
}
|
|
32
|
-
createOn(containerElement, config) {
|
|
33
|
-
this.setContainerElement(containerElement);
|
|
34
|
-
return super.create(config);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
DynamicOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlay, deps: [{ token: i1.ScrollStrategyOptions }, { token: DynamicOverlayContainer }, { token: i0.ComponentFactoryResolver }, { token: i1.OverlayPositionBuilder }, { token: i1.OverlayKeyboardDispatcher }, { token: i0.Injector }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i2.Directionality }, { token: i0.RendererFactory2 }, { token: i3.Location }, { token: i1.OverlayOutsideClickDispatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
-
DynamicOverlay.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlay, providedIn: 'root' });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: DynamicOverlay, decorators: [{
|
|
40
|
-
type: Injectable,
|
|
41
|
-
args: [{
|
|
42
|
-
providedIn: 'root',
|
|
43
|
-
}]
|
|
44
|
-
}], ctorParameters: function () { return [{ type: i1.ScrollStrategyOptions }, { type: DynamicOverlayContainer }, { type: i0.ComponentFactoryResolver }, { type: i1.OverlayPositionBuilder }, { type: i1.OverlayKeyboardDispatcher }, { type: i0.Injector }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
45
|
-
type: Inject,
|
|
46
|
-
args: [DOCUMENT]
|
|
47
|
-
}] }, { type: i2.Directionality }, { type: i0.RendererFactory2 }, { type: i3.Location }, { type: i1.OverlayOutsideClickDispatcher }]; } });
|
|
48
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWNkay1vdmVybGF5LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9jb21tb24vc3JjL2N1c3RvbS1jZGstb3ZlcmxheS5zZXJ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aWRlQ2xpY2tEaXNwYXRjaGVyXHJcbiAgICApO1xyXG4gICAgdGhpcy5yZW5kZXJlciA9IHJlbmRlcmVyRmFjdG9yeS5jcmVhdGVSZW5kZXJlcihudWxsLCBudWxsKTtcclxuXHJcbiAgICB0aGlzLl9keW5hbWljT3ZlcmxheUNvbnRhaW5lciA9IF9vdmVybGF5Q29udGFpbmVyO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBzZXRDb250YWluZXJFbGVtZW50KGNvbnRhaW5lckVsZW1lbnQ6IEhUTUxFbGVtZW50KTogdm9pZCB7XHJcbiAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKGNvbnRhaW5lckVsZW1lbnQsICd0cmFuc2Zvcm0nLCAndHJhbnNsYXRlWigwKScpO1xyXG4gICAgdGhpcy5fZHluYW1pY092ZXJsYXlDb250YWluZXIuc2V0Q29udGFpbmVyRWxlbWVudChjb250YWluZXJFbGVtZW50KTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBjcmVhdGVPbihcclxuICAgIGNvbnRhaW5lckVsZW1lbnQ6IEhUTUxFbGVtZW50LFxyXG4gICAgY29uZmlnPzogT3ZlcmxheUNvbmZpZ1xyXG4gICk6IE92ZXJsYXlSZWYge1xyXG4gICAgdGhpcy5zZXRDb250YWluZXJFbGVtZW50KGNvbnRhaW5lckVsZW1lbnQpO1xyXG4gICAgcmV0dXJuIHN1cGVyLmNyZWF0ZShjb25maWcpO1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2luZy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbW1vbi9zcmMvZHJhd2luZy5jbGFzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBBWENvbm5lY3RlZFBvc2l0aW9uIHtcclxuICBvcmlnaW5YOiAnc3RhcnQnIHwgJ2NlbnRlcicgfCAnZW5kJztcclxuICBvcmlnaW5ZOiAndG9wJyB8ICdjZW50ZXInIHwgJ2JvdHRvbSc7XHJcbiAgb3ZlcmxheVg6ICdzdGFydCcgfCAnY2VudGVyJyB8ICdlbmQnO1xyXG4gIG92ZXJsYXlZOiAndG9wJyB8ICdjZW50ZXInIHwgJ2JvdHRvbSc7XHJcbiAgd2VpZ2h0PzogbnVtYmVyO1xyXG4gIG9mZnNldFg/OiBudW1iZXI7XHJcbiAgb2Zmc2V0WT86IG51bWJlcjtcclxufVxyXG4iXX0=
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Contains native event
|
|
3
|
-
* @category Events
|
|
4
|
-
*/
|
|
5
|
-
export class AXEvent {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.isUserInteraction = false;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Contains native event
|
|
12
|
-
* @category Events
|
|
13
|
-
*/
|
|
14
|
-
export class AXHtmlEvent extends AXEvent {
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Contains native event
|
|
18
|
-
* @category Events
|
|
19
|
-
*/
|
|
20
|
-
export class AXValueChangedEvent extends AXEvent {
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Fires each time the user click the element.
|
|
24
|
-
* @category Events
|
|
25
|
-
*/
|
|
26
|
-
export class AXClickEvent extends AXHtmlEvent {
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Fires each time the user click the element.
|
|
30
|
-
* @category Events
|
|
31
|
-
*/
|
|
32
|
-
export class AXButtonClickEvent extends AXClickEvent {
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Fires each time the user click the element.
|
|
36
|
-
* @category Events
|
|
37
|
-
*/
|
|
38
|
-
export class AXItemClickEvent extends AXHtmlEvent {
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Fires each time the component gets focused.
|
|
42
|
-
* @category Events
|
|
43
|
-
*/
|
|
44
|
-
export class AXFocusEvent extends AXHtmlEvent {
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Fires each time an item or multiple items selected by the user or value.
|
|
48
|
-
* @category Events
|
|
49
|
-
*/
|
|
50
|
-
export class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Contains range start & end values
|
|
54
|
-
* @category Events
|
|
55
|
-
*/
|
|
56
|
-
export class AXRangeChangedEvent extends AXEvent {
|
|
57
|
-
}
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnRzLmNsYXNzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvY29tbW9uL3NyYy9ldmVudHMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLE9BQU87SUFBcEI7UUFVRSxzQkFBaUIsR0FBYSxLQUFLLENBQUM7SUFDdEMsQ0FBQztDQUFBO0FBRUQ7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLFdBQTZCLFNBQVEsT0FBTztDQUV4RDtBQUVEOzs7R0FHRztBQUNILE1BQU0sT0FBTyxtQkFBdUIsU0FBUSxPQUFPO0NBSWxEO0FBRUQ7OztHQUdHO0FBQ0gsTUFBTSxPQUFPLFlBQWEsU0FBUSxXQUF1QjtDQU94RDtBQUVEOzs7R0FHRztBQUNILE1BQU0sT0FBTyxrQkFBbUIsU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50IGV4dGVuZHMgQVhIdG1sRXZlbnQ8Rm9jdXNFdmVudD4ge31cclxuXHJcbi8qKlxyXG4gKiAgRmlyZXMgZWFjaCB0aW1lIGFuIGl0ZW0gb3IgbXVsdGlwbGUgaXRlbXMgc2VsZWN0ZWQgYnkgdGhlIHVzZXIgb3IgdmFsdWUuXHJcbiAqIEBjYXRlZ29yeSBFdmVudHNcclxuICovXHJcbmV4cG9ydCBjbGFzcyBBWFNlbGVjdGlvblZhbHVlQ2hhbmdlZEV2ZW50IGV4dGVuZHMgQVhWYWx1ZUNoYW5nZWRFdmVudDxcclxuICBhbnkgfCBhbnlbXVxyXG4+IHtcclxuICB2YWx1ZT86IGFueTtcclxuICBvbGRWYWx1ZT86IGFueTtcclxuICBzZWxlY3RlZEtleXM/OiBhbnlbXTtcclxuICBzZWxlY3RlZEl0ZW1zPzogYW55W107XHJcbn1cclxuXHJcbi8qKlxyXG4gKiAgQ29udGFpbnMgcmFuZ2Ugc3RhcnQgJiBlbmQgdmFsdWVzXHJcbiAqIEBjYXRlZ29yeSBFdmVudHNcclxuICovXHJcbmV4cG9ydCBjbGFzcyBBWFJhbmdlQ2hhbmdlZEV2ZW50PFQ+IGV4dGVuZHMgQVhFdmVudCB7XHJcbiAgLyoqXHJcbiAgICogIFRoZSByYW5nZSBzdGFydCB2YWx1ZVxyXG4gICAqL1xyXG4gIHN0YXJ0PzogVDtcclxuICAvKipcclxuICAgKiAgVGhlIHJhbmdlIGVuZCB2YWx1ZVxyXG4gICAqL1xyXG4gIGVuZD86IFQ7XHJcbn1cclxuIl19
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { Directive, Host, Input, Optional, Self, } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./components.class";
|
|
4
|
-
import * as i2 from "./hotkey.service";
|
|
5
|
-
export class AXHotkeyDirective {
|
|
6
|
-
constructor(el, _host, hs) {
|
|
7
|
-
this.el = el;
|
|
8
|
-
this._host = _host;
|
|
9
|
-
this.hs = hs;
|
|
10
|
-
this.hotkey = '';
|
|
11
|
-
this._subs = [];
|
|
12
|
-
}
|
|
13
|
-
ngAfterViewInit() {
|
|
14
|
-
if (!this.hotkey || !this._host)
|
|
15
|
-
return;
|
|
16
|
-
if (typeof this.hotkey == 'string') {
|
|
17
|
-
this._addDefaultAction(this.hotkey);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof this.hotkey == 'object' && !Array.isArray(this.hotkey)) {
|
|
20
|
-
this._addHotKeyAction([this.hotkey]);
|
|
21
|
-
}
|
|
22
|
-
else if (Array.isArray(this.hotkey)) {
|
|
23
|
-
this._addHotKeyAction(this.hotkey);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
_addDefaultAction(hotkey) {
|
|
27
|
-
this._subs.push(this.hs.addShortcut({ keys: hotkey }).subscribe(() => {
|
|
28
|
-
['click', 'toggle', 'open', 'focus'].forEach((a) => {
|
|
29
|
-
if (this._host[a]) {
|
|
30
|
-
this._host[a]();
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
_addHotKeyAction(hotkeys) {
|
|
37
|
-
hotkeys.forEach((k) => {
|
|
38
|
-
const hotkey = Object.entries(k)[0][0];
|
|
39
|
-
const action = Object.entries(k)[0][1];
|
|
40
|
-
if (!action)
|
|
41
|
-
this._addDefaultAction(hotkey);
|
|
42
|
-
else {
|
|
43
|
-
this._subs.push(this.hs.addShortcut({ keys: hotkey }).subscribe(() => {
|
|
44
|
-
if (typeof action == 'string' && this._host[action]) {
|
|
45
|
-
this._host[action]();
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
if (typeof action == 'function') {
|
|
49
|
-
action();
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
}));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
ngOnDestroy() {
|
|
57
|
-
this._subs.forEach((s) => {
|
|
58
|
-
s.unsubscribe();
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
AXHotkeyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXHotkeyDirective, deps: [{ token: i0.ElementRef }, { token: i1.AXComponent, host: true, optional: true, self: true }, { token: i2.AXHotkeysService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
-
AXHotkeyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: AXHotkeyDirective, selector: "[hotkey]", inputs: { hotkey: "hotkey" }, ngImport: i0 });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXHotkeyDirective, decorators: [{
|
|
65
|
-
type: Directive,
|
|
66
|
-
args: [{
|
|
67
|
-
selector: '[hotkey]',
|
|
68
|
-
}]
|
|
69
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.AXComponent, decorators: [{
|
|
70
|
-
type: Host
|
|
71
|
-
}, {
|
|
72
|
-
type: Self
|
|
73
|
-
}, {
|
|
74
|
-
type: Optional
|
|
75
|
-
}] }, { type: i2.AXHotkeysService }]; }, propDecorators: { hotkey: [{
|
|
76
|
-
type: Input,
|
|
77
|
-
args: ['hotkey']
|
|
78
|
-
}] } });
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG90a2V5LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2NvbW1vbi9zcmMvaG90a2V5LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsU0FBUyxFQUVULElBQUksRUFDSixLQUF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BlbHNlIHtcclxuICAgICAgICB0aGlzLl9zdWJzLnB1c2goXHJcbiAgICAgICAgICB0aGlzLmhzLmFkZFNob3J0Y3V0KHsga2V5czogaG90a2V5IH0pLnN1YnNjcmliZSgoKSA9PiB7XHJcbiAgICAgICAgICAgIGlmICh0eXBlb2YgYWN0aW9uID09ICdzdHJpbmcnICYmIHRoaXMuX2hvc3RbYWN0aW9uXSkge1xyXG4gICAgICAgICAgICAgIHRoaXMuX2hvc3RbYWN0aW9uXSgpO1xyXG4gICAgICAgICAgICAgIHJldHVybjtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBpZiAodHlwZW9mIGFjdGlvbiA9PSAnZnVuY3Rpb24nKSB7XHJcbiAgICAgICAgICAgICAgYWN0aW9uKCk7XHJcbiAgICAgICAgICAgICAgcmV0dXJuO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICB9KVxyXG4gICAgICAgICk7XHJcbiAgICAgIH1cclxuICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICB0aGlzLl9zdWJzLmZvckVhY2goKHMpID0+IHtcclxuICAgICAgcy51bnN1YnNjcmliZSgpO1xyXG4gICAgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|