@acorex/components 6.0.1 → 6.0.7
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/README.md +24 -24
- package/action-sheet/index.d.ts +5 -0
- package/action-sheet/public-api.d.ts +3 -0
- package/action-sheet/src/action-sheet-item.component.d.ts +16 -0
- package/action-sheet/src/action-sheet.component.d.ts +19 -0
- package/action-sheet/src/action-sheet.module.d.ts +10 -0
- package/alert/index.d.ts +5 -0
- package/alert/public-api.d.ts +2 -0
- package/alert/src/alert.component.d.ts +78 -0
- package/alert/src/alert.module.d.ts +9 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/{public-api.ts → public-api.d.ts} +0 -0
- package/avatar/src/avatar-group.component.d.ts +8 -0
- package/avatar/src/avatar.component.d.ts +22 -0
- package/avatar/src/avatar.module.d.ts +9 -0
- package/badge/index.d.ts +5 -0
- package/badge/public-api.d.ts +2 -0
- package/badge/src/badge.component.d.ts +39 -0
- package/badge/src/badge.module.d.ts +8 -0
- package/breadcrumbs/index.d.ts +5 -0
- package/breadcrumbs/public-api.d.ts +4 -0
- package/breadcrumbs/src/breadcrumbs-item.class.d.ts +9 -0
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +73 -0
- package/breadcrumbs/src/breadcrumbs.component.d.ts +13 -0
- package/breadcrumbs/src/breadcrumbs.module.d.ts +9 -0
- package/button/index.d.ts +5 -0
- package/button/public-api.d.ts +5 -0
- package/button/src/button-group.component.d.ts +82 -0
- package/button/src/button-item.class.d.ts +23 -0
- package/button/src/button-item.component.d.ts +76 -0
- package/button/src/button.component.d.ts +20 -0
- package/button/src/button.module.d.ts +11 -0
- package/calendar/index.d.ts +5 -0
- package/calendar/public-api.d.ts +3 -0
- package/calendar/src/calendar.class.d.ts +51 -0
- package/calendar/src/calendar.component.d.ts +52 -0
- package/calendar/src/calendar.module.d.ts +11 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/{public-api.ts → public-api.d.ts} +0 -0
- package/carousel/src/carousel-arrows.component.d.ts +16 -0
- package/carousel/src/carousel-item.component.d.ts +8 -0
- package/carousel/src/carousel-pager.component.d.ts +22 -0
- package/carousel/src/carousel-splidejs.class.d.ts +18 -0
- package/carousel/src/carousel.class.d.ts +71 -0
- package/carousel/src/carousel.component.d.ts +111 -0
- package/carousel/src/carousel.module.d.ts +11 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +2 -0
- package/checkbox/src/checkbox.component.d.ts +12 -0
- package/checkbox/src/checkbox.module.d.ts +10 -0
- package/collapse/index.d.ts +5 -0
- package/collapse/public-api.d.ts +3 -0
- package/collapse/src/collapse-group.component.d.ts +15 -0
- package/collapse/src/collapse.component.d.ts +16 -0
- package/collapse/src/collapse.module.d.ts +9 -0
- package/color-palette/index.d.ts +5 -0
- package/color-palette/public-api.d.ts +7 -0
- package/color-palette/src/color-palette-input.component.d.ts +16 -0
- package/color-palette/src/color-palette-picker.component.d.ts +23 -0
- package/color-palette/src/color-palette-preview.component.d.ts +11 -0
- package/color-palette/src/color-palette-swatches.component.d.ts +17 -0
- package/color-palette/src/color-palette.class.d.ts +23 -0
- package/color-palette/src/color-palette.component.d.ts +24 -0
- package/color-palette/src/color-palette.module.d.ts +18 -0
- package/color-picker/index.d.ts +5 -0
- package/color-picker/public-api.d.ts +2 -0
- package/color-picker/src/color-picker.component.d.ts +184 -0
- package/color-picker/src/color-picker.module.d.ts +18 -0
- package/common/index.d.ts +5 -0
- package/common/{public-api.ts → public-api.d.ts} +0 -0
- package/common/src/auto-focus.directive.d.ts +12 -0
- package/common/src/common.module.d.ts +10 -0
- package/common/src/components.class.d.ts +42 -0
- package/common/src/custom-cdk-overlay.service.d.ts +19 -0
- package/common/src/drawing.class.d.ts +9 -0
- package/common/src/events.class.d.ts +86 -0
- package/common/src/hotkey.directive.d.ts +22 -0
- package/common/src/hotkey.service.d.ts +17 -0
- package/common/src/infinite-scroll.directive.d.ts +25 -0
- package/common/src/overlay.service.d.ts +31 -0
- package/common/src/responsive.directive.d.ts +10 -0
- package/common/src/styles.class.d.ts +17 -0
- package/context-menu/index.d.ts +5 -0
- package/context-menu/public-api.d.ts +2 -0
- package/context-menu/src/context-menu.component.d.ts +34 -0
- package/context-menu/src/context-menu.module.d.ts +13 -0
- package/data-pager/index.d.ts +5 -0
- package/data-pager/{public-api.ts → public-api.d.ts} +0 -0
- package/data-pager/src/data-pager-base.component.d.ts +49 -0
- package/data-pager/src/data-pager-info.component.d.ts +15 -0
- package/data-pager/src/data-pager-input-selector.component.d.ts +15 -0
- package/data-pager/src/data-pager-next-buttons.components.d.ts +16 -0
- package/data-pager/src/data-pager-numeric-selector.component.d.ts +18 -0
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +18 -0
- package/data-pager/src/data-pager-prev-buttons.component.d.ts +15 -0
- package/data-pager/src/data-pager.component.d.ts +35 -0
- package/data-pager/src/data-pager.module.d.ts +18 -0
- package/data-table/index.d.ts +5 -0
- package/data-table/{public-api.ts → public-api.d.ts} +0 -0
- package/data-table/src/data-column-cell-template.directive.d.ts +8 -0
- package/data-table/src/data-column.directive.d.ts +16 -0
- package/data-table/src/data-table.component.d.ts +35 -0
- package/data-table/src/data-table.module.d.ts +14 -0
- package/date-picker/index.d.ts +5 -0
- package/date-picker/{public-api.ts → public-api.d.ts} +0 -0
- package/date-picker/src/datepicker.component.d.ts +147 -0
- package/date-picker/src/datepicker.module.d.ts +15 -0
- package/decorators/index.d.ts +5 -0
- package/decorators/public-api.d.ts +9 -0
- package/decorators/src/close-button.component.d.ts +14 -0
- package/decorators/src/content.component.d.ts +8 -0
- package/decorators/src/decorators.module.d.ts +15 -0
- package/decorators/src/footer.component.d.ts +8 -0
- package/decorators/src/header.component.d.ts +8 -0
- package/decorators/src/icon.component.d.ts +10 -0
- package/decorators/src/prefix.component.d.ts +8 -0
- package/decorators/src/suffix.component.d.ts +8 -0
- package/decorators/src/title.component.d.ts +9 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/{public-api.ts → public-api.d.ts} +0 -0
- package/dialog/src/dialog.class.d.ts +12 -0
- package/dialog/src/dialog.component.d.ts +16 -0
- package/dialog/src/dialog.module.d.ts +14 -0
- package/dialog/src/dialog.service.d.ts +36 -0
- package/drawer/index.d.ts +5 -0
- package/drawer/{public-api.ts → public-api.d.ts} +0 -0
- package/drawer/src/drawer-container.component.d.ts +10 -0
- package/drawer/src/drawer.component.d.ts +36 -0
- package/drawer/src/drawer.module.d.ts +9 -0
- package/dropdown/index.d.ts +5 -0
- package/dropdown/public-api.d.ts +2 -0
- package/dropdown/src/dropdown-panel.component.d.ts +27 -0
- package/dropdown/src/dropdown.module.d.ts +12 -0
- package/esm2020/acorex-components.mjs +5 -0
- package/esm2020/action-sheet/acorex-components-action-sheet.mjs +5 -0
- package/esm2020/action-sheet/public-api.mjs +4 -0
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +47 -0
- package/esm2020/action-sheet/src/action-sheet.component.mjs +87 -0
- package/esm2020/action-sheet/src/action-sheet.module.mjs +21 -0
- package/esm2020/alert/acorex-components-alert.mjs +5 -0
- package/esm2020/alert/public-api.mjs +3 -0
- package/esm2020/alert/src/alert.component.mjs +155 -0
- package/esm2020/alert/src/alert.module.mjs +22 -0
- package/esm2020/avatar/acorex-components-avatar.mjs +5 -0
- package/esm2020/avatar/public-api.mjs +4 -0
- package/esm2020/avatar/src/avatar-group.component.mjs +17 -0
- package/esm2020/avatar/src/avatar.component.mjs +45 -0
- package/esm2020/avatar/src/avatar.module.mjs +22 -0
- package/esm2020/badge/acorex-components-badge.mjs +5 -0
- package/esm2020/badge/public-api.mjs +3 -0
- package/esm2020/badge/src/badge.component.mjs +30 -0
- package/esm2020/badge/src/badge.module.mjs +21 -0
- package/esm2020/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
- package/esm2020/breadcrumbs/public-api.mjs +5 -0
- package/esm2020/breadcrumbs/src/breadcrumbs-item.class.mjs +2 -0
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +36 -0
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +25 -0
- package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +20 -0
- package/esm2020/button/acorex-components-button.mjs +5 -0
- package/esm2020/button/public-api.mjs +6 -0
- package/esm2020/button/src/button-group.component.mjs +88 -0
- package/esm2020/button/src/button-item.class.mjs +2 -0
- package/esm2020/button/src/button-item.component.mjs +76 -0
- package/esm2020/button/src/button.component.mjs +70 -0
- package/esm2020/button/src/button.module.mjs +32 -0
- package/esm2020/calendar/acorex-components-calendar.mjs +5 -0
- package/esm2020/calendar/public-api.mjs +4 -0
- package/esm2020/calendar/src/calendar.class.mjs +127 -0
- package/esm2020/calendar/src/calendar.component.mjs +383 -0
- package/esm2020/calendar/src/calendar.module.mjs +24 -0
- package/esm2020/carousel/acorex-components-carousel.mjs +5 -0
- package/esm2020/carousel/public-api.mjs +8 -0
- package/esm2020/carousel/src/carousel-arrows.component.mjs +80 -0
- package/esm2020/carousel/src/carousel-item.component.mjs +21 -0
- package/esm2020/carousel/src/carousel-pager.component.mjs +74 -0
- package/esm2020/carousel/src/carousel-splidejs.class.mjs +91 -0
- package/esm2020/carousel/src/carousel.class.mjs +10 -0
- package/esm2020/carousel/src/carousel.component.mjs +438 -0
- package/esm2020/carousel/src/carousel.module.mjs +24 -0
- package/esm2020/checkbox/acorex-components-checkbox.mjs +5 -0
- package/esm2020/checkbox/public-api.mjs +3 -0
- package/esm2020/checkbox/src/checkbox.component.mjs +41 -0
- package/esm2020/checkbox/src/checkbox.module.mjs +21 -0
- package/esm2020/collapse/acorex-components-collapse.mjs +5 -0
- package/esm2020/collapse/public-api.mjs +4 -0
- package/esm2020/collapse/src/collapse-group.component.mjs +52 -0
- package/esm2020/collapse/src/collapse.component.mjs +42 -0
- package/esm2020/collapse/src/collapse.module.mjs +20 -0
- package/esm2020/color-palette/acorex-components-color-palette.mjs +5 -0
- package/esm2020/color-palette/public-api.mjs +8 -0
- package/esm2020/color-palette/src/color-palette-input.component.mjs +97 -0
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +97 -0
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +62 -0
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +294 -0
- package/esm2020/color-palette/src/color-palette.class.mjs +17 -0
- package/esm2020/color-palette/src/color-palette.component.mjs +84 -0
- package/esm2020/color-palette/src/color-palette.module.mjs +57 -0
- package/esm2020/color-picker/acorex-components-color-picker.mjs +5 -0
- package/esm2020/color-picker/public-api.mjs +3 -0
- package/esm2020/color-picker/src/color-picker.component.mjs +96 -0
- package/esm2020/color-picker/src/color-picker.module.mjs +61 -0
- package/esm2020/common/acorex-components-common.mjs +5 -0
- package/esm2020/common/public-api.mjs +13 -0
- package/esm2020/common/src/auto-focus.directive.mjs +51 -0
- package/esm2020/common/src/common.module.mjs +37 -0
- package/esm2020/common/src/components.class.mjs +45 -0
- package/esm2020/common/src/custom-cdk-overlay.service.mjs +48 -0
- package/esm2020/common/src/drawing.class.mjs +2 -0
- package/esm2020/common/src/events.class.mjs +58 -0
- package/esm2020/common/src/hotkey.directive.mjs +79 -0
- package/esm2020/common/src/hotkey.service.mjs +38 -0
- package/esm2020/common/src/infinite-scroll.directive.mjs +63 -0
- package/esm2020/common/src/overlay.service.mjs +91 -0
- package/esm2020/common/src/responsive.directive.mjs +34 -0
- package/esm2020/common/src/styles.class.mjs +22 -0
- package/esm2020/context-menu/acorex-components-context-menu.mjs +5 -0
- package/esm2020/context-menu/public-api.mjs +3 -0
- package/esm2020/context-menu/src/context-menu.component.mjs +257 -0
- package/esm2020/context-menu/src/context-menu.module.mjs +36 -0
- package/esm2020/data-pager/acorex-components-data-pager.mjs +5 -0
- package/esm2020/data-pager/public-api.mjs +10 -0
- package/esm2020/data-pager/src/data-pager-base.component.mjs +38 -0
- package/esm2020/data-pager/src/data-pager-info.component.mjs +57 -0
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +50 -0
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +60 -0
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +98 -0
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +85 -0
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +58 -0
- package/esm2020/data-pager/src/data-pager.component.mjs +135 -0
- package/esm2020/data-pager/src/data-pager.module.mjs +51 -0
- package/esm2020/data-table/acorex-components-data-table.mjs +5 -0
- package/esm2020/data-table/public-api.mjs +5 -0
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +17 -0
- package/esm2020/data-table/src/data-column.directive.mjs +43 -0
- package/esm2020/data-table/src/data-table.component.mjs +130 -0
- package/esm2020/data-table/src/data-table.module.mjs +27 -0
- package/esm2020/date-picker/acorex-components-date-picker.mjs +5 -0
- package/esm2020/date-picker/public-api.mjs +3 -0
- package/esm2020/date-picker/src/datepicker.component.mjs +247 -0
- package/esm2020/date-picker/src/datepicker.module.mjs +44 -0
- package/esm2020/decorators/acorex-components-decorators.mjs +5 -0
- package/esm2020/decorators/public-api.mjs +10 -0
- package/esm2020/decorators/src/close-button.component.mjs +50 -0
- package/esm2020/decorators/src/content.component.mjs +21 -0
- package/esm2020/decorators/src/decorators.module.mjs +51 -0
- package/esm2020/decorators/src/footer.component.mjs +29 -0
- package/esm2020/decorators/src/header.component.mjs +29 -0
- package/esm2020/decorators/src/icon.component.mjs +29 -0
- package/esm2020/decorators/src/prefix.component.mjs +21 -0
- package/esm2020/decorators/src/suffix.component.mjs +21 -0
- package/esm2020/decorators/src/title.component.mjs +27 -0
- package/esm2020/dialog/acorex-components-dialog.mjs +5 -0
- package/esm2020/dialog/public-api.mjs +5 -0
- package/esm2020/dialog/src/dialog.class.mjs +2 -0
- package/esm2020/dialog/src/dialog.component.mjs +52 -0
- package/esm2020/dialog/src/dialog.module.mjs +27 -0
- package/esm2020/dialog/src/dialog.service.mjs +150 -0
- package/esm2020/drawer/acorex-components-drawer.mjs +5 -0
- package/esm2020/drawer/public-api.mjs +4 -0
- package/esm2020/drawer/src/drawer-container.component.mjs +38 -0
- package/esm2020/drawer/src/drawer.component.mjs +147 -0
- package/esm2020/drawer/src/drawer.module.mjs +22 -0
- package/esm2020/dropdown/acorex-components-dropdown.mjs +5 -0
- package/esm2020/dropdown/public-api.mjs +3 -0
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +82 -0
- package/esm2020/dropdown/src/dropdown.module.mjs +23 -0
- package/esm2020/form/acorex-components-form.mjs +5 -0
- package/esm2020/form/public-api.mjs +8 -0
- package/esm2020/form/src/form-field.component.mjs +21 -0
- package/esm2020/form/src/form-hint.component.mjs +20 -0
- package/esm2020/form/src/form.component.mjs +146 -0
- package/esm2020/form/src/form.module.mjs +68 -0
- package/esm2020/form/src/validation-rule.widget.mjs +110 -0
- package/esm2020/form/src/validation-summary.component.mjs +97 -0
- package/esm2020/form/src/validation.class.mjs +2 -0
- package/esm2020/input-mask/acorex-components-input-mask.mjs +5 -0
- package/esm2020/input-mask/public-api.mjs +3 -0
- package/esm2020/input-mask/src/input-mask.component.mjs +58 -0
- package/esm2020/input-mask/src/input-mask.module.mjs +24 -0
- package/esm2020/label/acorex-components-label.mjs +5 -0
- package/esm2020/label/public-api.mjs +3 -0
- package/esm2020/label/src/label.component.mjs +27 -0
- package/esm2020/label/src/label.module.mjs +21 -0
- package/esm2020/loading/acorex-components-loading.mjs +5 -0
- package/esm2020/loading/public-api.mjs +6 -0
- package/esm2020/loading/src/loading-spinner.component.mjs +74 -0
- package/esm2020/loading/src/loading.component.mjs +70 -0
- package/esm2020/loading/src/loading.directive.mjs +68 -0
- package/esm2020/loading/src/loading.module.mjs +35 -0
- package/esm2020/loading/src/loading.service.mjs +156 -0
- package/esm2020/menu/acorex-components-menu.mjs +5 -0
- package/esm2020/menu/public-api.mjs +3 -0
- package/esm2020/menu/src/menu.component.mjs +337 -0
- package/esm2020/menu/src/menu.module.mjs +33 -0
- package/esm2020/mixin/acorex-components-mixin.mjs +5 -0
- package/esm2020/mixin/public-api.mjs +18 -0
- package/esm2020/mixin/src/base-components.class.mjs +97 -0
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +140 -0
- package/esm2020/mixin/src/button-mixin.class.mjs +70 -0
- package/esm2020/mixin/src/clickable-mixin.class.mjs +24 -0
- package/esm2020/mixin/src/color-look-mixing.class.mjs +48 -0
- package/esm2020/mixin/src/constratctor.mjs +2 -0
- package/esm2020/mixin/src/datalist-component.class.mjs +163 -0
- package/esm2020/mixin/src/datalist.class.mjs +3 -0
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +99 -0
- package/esm2020/mixin/src/interactive-mixin.class.mjs +84 -0
- package/esm2020/mixin/src/loading-mixin.class.mjs +18 -0
- package/esm2020/mixin/src/mixin.class.mjs +26 -0
- package/esm2020/mixin/src/page-component.class.mjs +11 -0
- package/esm2020/mixin/src/selection-component.class.mjs +179 -0
- package/esm2020/mixin/src/sizable-mixin.class.mjs +18 -0
- package/esm2020/mixin/src/textbox-mixin.class.mjs +89 -0
- package/esm2020/mixin/src/value-mixin.class.mjs +197 -0
- package/esm2020/number-box/acorex-components-number-box.mjs +5 -0
- package/esm2020/number-box/public-api.mjs +3 -0
- package/esm2020/number-box/src/number-box.component.mjs +255 -0
- package/esm2020/number-box/src/number-box.module.mjs +35 -0
- package/esm2020/page/acorex-components-page.mjs +5 -0
- package/esm2020/page/public-api.mjs +4 -0
- package/esm2020/page/src/base-page.class.mjs +87 -0
- package/esm2020/page/src/page.component.mjs +44 -0
- package/esm2020/page/src/page.module.mjs +18 -0
- package/esm2020/password-box/acorex-components-password-box.mjs +5 -0
- package/esm2020/password-box/public-api.mjs +3 -0
- package/esm2020/password-box/src/password-box.component.mjs +58 -0
- package/esm2020/password-box/src/password-box.module.mjs +32 -0
- package/esm2020/popover/acorex-components-popover.mjs +5 -0
- package/esm2020/popover/public-api.mjs +3 -0
- package/esm2020/popover/src/popover.component.mjs +256 -0
- package/esm2020/popover/src/popover.module.mjs +19 -0
- package/esm2020/popup/acorex-components-popup.mjs +5 -0
- package/esm2020/popup/public-api.mjs +4 -0
- package/esm2020/popup/src/popup.component.mjs +131 -0
- package/esm2020/popup/src/popup.module.mjs +26 -0
- package/esm2020/popup/src/popup.service.mjs +95 -0
- package/esm2020/progress-bar/acorex-components-progress-bar.mjs +5 -0
- package/esm2020/progress-bar/public-api.mjs +3 -0
- package/esm2020/progress-bar/src/progress-bar.component.mjs +33 -0
- package/esm2020/progress-bar/src/progress-bar.module.mjs +19 -0
- package/esm2020/public-api.mjs +5 -0
- package/esm2020/radio/acorex-components-radio.mjs +5 -0
- package/esm2020/radio/public-api.mjs +3 -0
- package/esm2020/radio/src/radio.component.mjs +34 -0
- package/esm2020/radio/src/radio.module.mjs +22 -0
- package/esm2020/range-slider/acorex-components-range-slider.mjs +5 -0
- package/esm2020/range-slider/public-api.mjs +3 -0
- package/esm2020/range-slider/src/range-slider.component.mjs +116 -0
- package/esm2020/range-slider/src/range-slider.module.mjs +22 -0
- package/esm2020/rating/acorex-components-rating.mjs +5 -0
- package/esm2020/rating/public-api.mjs +3 -0
- package/esm2020/rating/src/rating.component.mjs +41 -0
- package/esm2020/rating/src/rating.component.module.mjs +19 -0
- package/esm2020/result/acorex-components-result.mjs +5 -0
- package/esm2020/result/public-api.mjs +3 -0
- package/esm2020/result/src/result.component.mjs +25 -0
- package/esm2020/result/src/result.module.mjs +19 -0
- package/esm2020/search-box/acorex-components-search-box.mjs +5 -0
- package/esm2020/search-box/public-api.mjs +3 -0
- package/esm2020/search-box/src/search-box.component.mjs +52 -0
- package/esm2020/search-box/src/search-box.module.mjs +25 -0
- package/esm2020/select-box/acorex-components-select-box.mjs +5 -0
- package/esm2020/select-box/public-api.mjs +3 -0
- package/esm2020/select-box/src/selectbox.component.mjs +362 -0
- package/esm2020/select-box/src/selectbox.module.mjs +64 -0
- package/esm2020/selection-list/acorex-components-selection-list.mjs +5 -0
- package/esm2020/selection-list/public-api.mjs +3 -0
- package/esm2020/selection-list/src/selection-list.component.mjs +50 -0
- package/esm2020/selection-list/src/selection-list.module.mjs +24 -0
- package/esm2020/switch/acorex-components-switch.mjs +5 -0
- package/esm2020/switch/public-api.mjs +3 -0
- package/esm2020/switch/src/switch.component.mjs +40 -0
- package/esm2020/switch/src/switch.module.mjs +21 -0
- package/esm2020/tabs/acorex-components-tabs.mjs +5 -0
- package/esm2020/tabs/public-api.mjs +6 -0
- package/esm2020/tabs/src/tab-content.directive.mjs +29 -0
- package/esm2020/tabs/src/tab-item.component.mjs +142 -0
- package/esm2020/tabs/src/tabs.class.mjs +4 -0
- package/esm2020/tabs/src/tabs.component.mjs +113 -0
- package/esm2020/tabs/src/tabs.module.mjs +25 -0
- package/esm2020/textarea/acorex-components-textarea.mjs +5 -0
- package/esm2020/textarea/public-api.mjs +3 -0
- package/esm2020/textarea/src/textarea.component.mjs +22 -0
- package/esm2020/textarea/src/textarea.module.mjs +19 -0
- package/esm2020/textbox/acorex-components-textbox.mjs +5 -0
- package/esm2020/textbox/public-api.mjs +3 -0
- package/esm2020/textbox/src/textbox.component.mjs +31 -0
- package/esm2020/textbox/src/textbox.module.mjs +37 -0
- package/esm2020/time-box/acorex-components-time-box.mjs +5 -0
- package/esm2020/time-box/public-api.mjs +3 -0
- package/esm2020/time-box/src/time-box.component.mjs +287 -0
- package/esm2020/time-box/src/time-box.module.mjs +32 -0
- package/esm2020/toast/acorex-components-toast.mjs +5 -0
- package/esm2020/toast/public-api.mjs +5 -0
- package/esm2020/toast/src/toast.class.mjs +2 -0
- package/esm2020/toast/src/toast.component.mjs +55 -0
- package/esm2020/toast/src/toast.module.mjs +24 -0
- package/esm2020/toast/src/toast.service.mjs +157 -0
- package/esm2020/tooltip/acorex-components-tooltip.mjs +5 -0
- package/esm2020/tooltip/public-api.mjs +4 -0
- package/esm2020/tooltip/src/tooltip.component.mjs +38 -0
- package/esm2020/tooltip/src/tooltip.directive.mjs +86 -0
- package/esm2020/tooltip/src/tooltip.module.mjs +23 -0
- package/esm2020/tree-view/acorex-components-tree-view.mjs +5 -0
- package/esm2020/tree-view/public-api.mjs +3 -0
- package/esm2020/tree-view/src/tree-view.component.mjs +108 -0
- package/esm2020/tree-view/src/tree-view.module.mjs +20 -0
- package/fesm2015/acorex-components-action-sheet.mjs +155 -0
- package/fesm2015/acorex-components-action-sheet.mjs.map +1 -0
- package/fesm2015/acorex-components-alert.mjs +182 -0
- package/fesm2015/acorex-components-alert.mjs.map +1 -0
- package/fesm2015/acorex-components-avatar.mjs +85 -0
- package/fesm2015/acorex-components-avatar.mjs.map +1 -0
- package/fesm2015/acorex-components-badge.mjs +55 -0
- package/fesm2015/acorex-components-badge.mjs.map +1 -0
- package/fesm2015/acorex-components-breadcrumbs.mjs +80 -0
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +1 -0
- package/fesm2015/acorex-components-button.mjs +263 -0
- package/fesm2015/acorex-components-button.mjs.map +1 -0
- package/fesm2015/acorex-components-calendar.mjs +534 -0
- package/fesm2015/acorex-components-calendar.mjs.map +1 -0
- package/fesm2015/acorex-components-carousel.mjs +726 -0
- package/fesm2015/acorex-components-carousel.mjs.map +1 -0
- package/fesm2015/acorex-components-checkbox.mjs +66 -0
- package/fesm2015/acorex-components-checkbox.mjs.map +1 -0
- package/fesm2015/acorex-components-collapse.mjs +113 -0
- package/fesm2015/acorex-components-collapse.mjs.map +1 -0
- package/fesm2015/acorex-components-color-palette.mjs +678 -0
- package/fesm2015/acorex-components-color-palette.mjs.map +1 -0
- package/fesm2015/acorex-components-color-picker.mjs +162 -0
- package/fesm2015/acorex-components-color-picker.mjs.map +1 -0
- package/fesm2015/acorex-components-common.mjs +553 -0
- package/fesm2015/acorex-components-common.mjs.map +1 -0
- package/fesm2015/acorex-components-context-menu.mjs +297 -0
- package/fesm2015/acorex-components-context-menu.mjs.map +1 -0
- package/fesm2015/acorex-components-data-pager.mjs +603 -0
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -0
- package/fesm2015/acorex-components-data-table.mjs +216 -0
- package/fesm2015/acorex-components-data-table.mjs.map +1 -0
- package/fesm2015/acorex-components-date-picker.mjs +293 -0
- package/fesm2015/acorex-components-date-picker.mjs.map +1 -0
- package/fesm2015/acorex-components-decorators.mjs +256 -0
- package/fesm2015/acorex-components-decorators.mjs.map +1 -0
- package/fesm2015/acorex-components-dialog.mjs +231 -0
- package/fesm2015/acorex-components-dialog.mjs.map +1 -0
- package/fesm2015/acorex-components-drawer.mjs +209 -0
- package/fesm2015/acorex-components-drawer.mjs.map +1 -0
- package/fesm2015/acorex-components-dropdown.mjs +112 -0
- package/fesm2015/acorex-components-dropdown.mjs.map +1 -0
- package/fesm2015/acorex-components-form.mjs +449 -0
- package/fesm2015/acorex-components-form.mjs.map +1 -0
- package/fesm2015/acorex-components-input-mask.mjs +86 -0
- package/fesm2015/acorex-components-input-mask.mjs.map +1 -0
- package/fesm2015/acorex-components-label.mjs +52 -0
- package/fesm2015/acorex-components-label.mjs.map +1 -0
- package/fesm2015/acorex-components-loading.mjs +396 -0
- package/fesm2015/acorex-components-loading.mjs.map +1 -0
- package/fesm2015/acorex-components-menu.mjs +379 -0
- package/fesm2015/acorex-components-menu.mjs.map +1 -0
- package/fesm2015/acorex-components-mixin.mjs +1249 -0
- package/fesm2015/acorex-components-mixin.mjs.map +1 -0
- package/fesm2015/acorex-components-number-box.mjs +294 -0
- package/fesm2015/acorex-components-number-box.mjs.map +1 -0
- package/fesm2015/acorex-components-page.mjs +152 -0
- package/fesm2015/acorex-components-page.mjs.map +1 -0
- package/fesm2015/acorex-components-password-box.mjs +94 -0
- package/fesm2015/acorex-components-password-box.mjs.map +1 -0
- package/fesm2015/acorex-components-popover.mjs +284 -0
- package/fesm2015/acorex-components-popover.mjs.map +1 -0
- package/fesm2015/acorex-components-popup.mjs +251 -0
- package/fesm2015/acorex-components-popup.mjs.map +1 -0
- package/fesm2015/acorex-components-progress-bar.mjs +56 -0
- package/fesm2015/acorex-components-progress-bar.mjs.map +1 -0
- package/fesm2015/acorex-components-radio.mjs +60 -0
- package/fesm2015/acorex-components-radio.mjs.map +1 -0
- package/fesm2015/acorex-components-range-slider.mjs +147 -0
- package/fesm2015/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2015/acorex-components-rating.mjs +64 -0
- package/fesm2015/acorex-components-rating.mjs.map +1 -0
- package/fesm2015/acorex-components-result.mjs +48 -0
- package/fesm2015/acorex-components-result.mjs.map +1 -0
- package/fesm2015/acorex-components-search-box.mjs +83 -0
- package/fesm2015/acorex-components-search-box.mjs.map +1 -0
- package/fesm2015/acorex-components-select-box.mjs +433 -0
- package/fesm2015/acorex-components-select-box.mjs.map +1 -0
- package/fesm2015/acorex-components-selection-list.mjs +78 -0
- package/fesm2015/acorex-components-selection-list.mjs.map +1 -0
- package/fesm2015/acorex-components-switch.mjs +65 -0
- package/fesm2015/acorex-components-switch.mjs.map +1 -0
- package/fesm2015/acorex-components-tabs.mjs +310 -0
- package/fesm2015/acorex-components-tabs.mjs.map +1 -0
- package/fesm2015/acorex-components-textarea.mjs +45 -0
- package/fesm2015/acorex-components-textarea.mjs.map +1 -0
- package/fesm2015/acorex-components-textbox.mjs +72 -0
- package/fesm2015/acorex-components-textbox.mjs.map +1 -0
- package/fesm2015/acorex-components-time-box.mjs +326 -0
- package/fesm2015/acorex-components-time-box.mjs.map +1 -0
- package/fesm2015/acorex-components-toast.mjs +237 -0
- package/fesm2015/acorex-components-toast.mjs.map +1 -0
- package/fesm2015/acorex-components-tooltip.mjs +147 -0
- package/fesm2015/acorex-components-tooltip.mjs.map +1 -0
- package/fesm2015/acorex-components-tree-view.mjs +132 -0
- package/fesm2015/acorex-components-tree-view.mjs.map +1 -0
- package/fesm2015/acorex-components.mjs +11 -0
- package/fesm2015/acorex-components.mjs.map +1 -0
- package/fesm2020/acorex-components-action-sheet.mjs +155 -0
- package/fesm2020/acorex-components-action-sheet.mjs.map +1 -0
- package/fesm2020/acorex-components-alert.mjs +180 -0
- package/fesm2020/acorex-components-alert.mjs.map +1 -0
- package/fesm2020/acorex-components-avatar.mjs +85 -0
- package/fesm2020/acorex-components-avatar.mjs.map +1 -0
- package/fesm2020/acorex-components-badge.mjs +55 -0
- package/fesm2020/acorex-components-badge.mjs.map +1 -0
- package/fesm2020/acorex-components-breadcrumbs.mjs +78 -0
- package/fesm2020/acorex-components-breadcrumbs.mjs.map +1 -0
- package/fesm2020/acorex-components-button.mjs +260 -0
- package/fesm2020/acorex-components-button.mjs.map +1 -0
- package/fesm2020/acorex-components-calendar.mjs +533 -0
- package/fesm2020/acorex-components-calendar.mjs.map +1 -0
- package/fesm2020/acorex-components-carousel.mjs +722 -0
- package/fesm2020/acorex-components-carousel.mjs.map +1 -0
- package/fesm2020/acorex-components-checkbox.mjs +66 -0
- package/fesm2020/acorex-components-checkbox.mjs.map +1 -0
- package/fesm2020/acorex-components-collapse.mjs +113 -0
- package/fesm2020/acorex-components-collapse.mjs.map +1 -0
- package/fesm2020/acorex-components-color-palette.mjs +672 -0
- package/fesm2020/acorex-components-color-palette.mjs.map +1 -0
- package/fesm2020/acorex-components-color-picker.mjs +159 -0
- package/fesm2020/acorex-components-color-picker.mjs.map +1 -0
- package/fesm2020/acorex-components-common.mjs +545 -0
- package/fesm2020/acorex-components-common.mjs.map +1 -0
- package/fesm2020/acorex-components-context-menu.mjs +297 -0
- package/fesm2020/acorex-components-context-menu.mjs.map +1 -0
- package/fesm2020/acorex-components-data-pager.mjs +586 -0
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -0
- package/fesm2020/acorex-components-data-table.mjs +214 -0
- package/fesm2020/acorex-components-data-table.mjs.map +1 -0
- package/fesm2020/acorex-components-date-picker.mjs +292 -0
- package/fesm2020/acorex-components-date-picker.mjs.map +1 -0
- package/fesm2020/acorex-components-decorators.mjs +253 -0
- package/fesm2020/acorex-components-decorators.mjs.map +1 -0
- package/fesm2020/acorex-components-dialog.mjs +230 -0
- package/fesm2020/acorex-components-dialog.mjs.map +1 -0
- package/fesm2020/acorex-components-drawer.mjs +207 -0
- package/fesm2020/acorex-components-drawer.mjs.map +1 -0
- package/fesm2020/acorex-components-dropdown.mjs +107 -0
- package/fesm2020/acorex-components-dropdown.mjs.map +1 -0
- package/fesm2020/acorex-components-form.mjs +445 -0
- package/fesm2020/acorex-components-form.mjs.map +1 -0
- package/fesm2020/acorex-components-input-mask.mjs +86 -0
- package/fesm2020/acorex-components-input-mask.mjs.map +1 -0
- package/fesm2020/acorex-components-label.mjs +52 -0
- package/fesm2020/acorex-components-label.mjs.map +1 -0
- package/fesm2020/acorex-components-loading.mjs +395 -0
- package/fesm2020/acorex-components-loading.mjs.map +1 -0
- package/fesm2020/acorex-components-menu.mjs +374 -0
- package/fesm2020/acorex-components-menu.mjs.map +1 -0
- package/fesm2020/acorex-components-mixin.mjs +1244 -0
- package/fesm2020/acorex-components-mixin.mjs.map +1 -0
- package/fesm2020/acorex-components-number-box.mjs +293 -0
- package/fesm2020/acorex-components-number-box.mjs.map +1 -0
- package/fesm2020/acorex-components-page.mjs +150 -0
- package/fesm2020/acorex-components-page.mjs.map +1 -0
- package/fesm2020/acorex-components-password-box.mjs +94 -0
- package/fesm2020/acorex-components-password-box.mjs.map +1 -0
- package/fesm2020/acorex-components-popover.mjs +279 -0
- package/fesm2020/acorex-components-popover.mjs.map +1 -0
- package/fesm2020/acorex-components-popup.mjs +251 -0
- package/fesm2020/acorex-components-popup.mjs.map +1 -0
- package/fesm2020/acorex-components-progress-bar.mjs +56 -0
- package/fesm2020/acorex-components-progress-bar.mjs.map +1 -0
- package/fesm2020/acorex-components-radio.mjs +60 -0
- package/fesm2020/acorex-components-radio.mjs.map +1 -0
- package/fesm2020/acorex-components-range-slider.mjs +142 -0
- package/fesm2020/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2020/acorex-components-rating.mjs +64 -0
- package/fesm2020/acorex-components-rating.mjs.map +1 -0
- package/fesm2020/acorex-components-result.mjs +48 -0
- package/fesm2020/acorex-components-result.mjs.map +1 -0
- package/fesm2020/acorex-components-search-box.mjs +80 -0
- package/fesm2020/acorex-components-search-box.mjs.map +1 -0
- package/fesm2020/acorex-components-select-box.mjs +427 -0
- package/fesm2020/acorex-components-select-box.mjs.map +1 -0
- package/fesm2020/acorex-components-selection-list.mjs +78 -0
- package/fesm2020/acorex-components-selection-list.mjs.map +1 -0
- package/fesm2020/acorex-components-switch.mjs +65 -0
- package/fesm2020/acorex-components-switch.mjs.map +1 -0
- package/fesm2020/acorex-components-tabs.mjs +309 -0
- package/fesm2020/acorex-components-tabs.mjs.map +1 -0
- package/fesm2020/acorex-components-textarea.mjs +45 -0
- package/fesm2020/acorex-components-textarea.mjs.map +1 -0
- package/fesm2020/acorex-components-textbox.mjs +72 -0
- package/fesm2020/acorex-components-textbox.mjs.map +1 -0
- package/fesm2020/acorex-components-time-box.mjs +322 -0
- package/fesm2020/acorex-components-time-box.mjs.map +1 -0
- package/fesm2020/acorex-components-toast.mjs +237 -0
- package/fesm2020/acorex-components-toast.mjs.map +1 -0
- package/fesm2020/acorex-components-tooltip.mjs +147 -0
- package/fesm2020/acorex-components-tooltip.mjs.map +1 -0
- package/fesm2020/acorex-components-tree-view.mjs +132 -0
- package/fesm2020/acorex-components-tree-view.mjs.map +1 -0
- package/fesm2020/acorex-components.mjs +11 -0
- package/fesm2020/acorex-components.mjs.map +1 -0
- package/form/index.d.ts +5 -0
- package/form/public-api.d.ts +7 -0
- package/form/src/form-field.component.d.ts +8 -0
- package/form/src/form-hint.component.d.ts +8 -0
- package/form/src/form.component.d.ts +47 -0
- package/form/src/form.module.d.ts +16 -0
- package/form/src/validation-rule.widget.d.ts +17 -0
- package/form/src/validation-summary.component.d.ts +21 -0
- package/form/src/validation.class.d.ts +18 -0
- package/index.d.ts +5 -0
- package/input-mask/index.d.ts +5 -0
- package/input-mask/{public-api.ts → public-api.d.ts} +0 -0
- package/input-mask/src/input-mask.component.d.ts +25 -0
- package/input-mask/src/input-mask.module.d.ts +10 -0
- package/label/index.d.ts +5 -0
- package/label/public-api.d.ts +2 -0
- package/label/src/label.component.d.ts +13 -0
- package/label/src/label.module.d.ts +8 -0
- package/loading/index.d.ts +5 -0
- package/loading/{public-api.ts → public-api.d.ts} +0 -0
- package/loading/src/loading-spinner.component.d.ts +6 -0
- package/loading/src/loading.component.d.ts +21 -0
- package/loading/src/loading.directive.d.ts +22 -0
- package/loading/src/loading.module.d.ts +13 -0
- package/loading/src/loading.service.d.ts +48 -0
- package/menu/index.d.ts +5 -0
- package/menu/{public-api.ts → public-api.d.ts} +0 -0
- package/menu/src/menu.component.d.ts +38 -0
- package/menu/src/menu.module.d.ts +12 -0
- package/mixin/index.d.ts +5 -0
- package/mixin/public-api.d.ts +17 -0
- package/mixin/src/base-components.class.d.ts +82 -0
- package/mixin/src/base-menu-mixin.class.d.ts +51 -0
- package/mixin/src/button-mixin.class.d.ts +51 -0
- package/mixin/src/clickable-mixin.class.d.ts +36 -0
- package/mixin/src/color-look-mixing.class.d.ts +42 -0
- package/mixin/src/constratctor.d.ts +4 -0
- package/mixin/src/datalist-component.class.d.ts +57 -0
- package/mixin/src/datalist.class.d.ts +11 -0
- package/mixin/src/dropdown-mixin.class.d.ts +45 -0
- package/mixin/src/interactive-mixin.class.d.ts +60 -0
- package/mixin/src/loading-mixin.class.d.ts +38 -0
- package/mixin/src/mixin.class.d.ts +640 -0
- package/mixin/src/page-component.class.d.ts +26 -0
- package/mixin/src/selection-component.class.d.ts +61 -0
- package/mixin/src/sizable-mixin.class.d.ts +32 -0
- package/mixin/src/textbox-mixin.class.d.ts +73 -0
- package/mixin/src/value-mixin.class.d.ts +61 -0
- package/number-box/index.d.ts +5 -0
- package/number-box/{public-api.ts → public-api.d.ts} +0 -0
- package/number-box/src/number-box.component.d.ts +76 -0
- package/number-box/src/number-box.module.d.ts +12 -0
- package/package.json +437 -33
- package/page/index.d.ts +5 -0
- package/page/public-api.d.ts +3 -0
- package/page/src/base-page.class.d.ts +45 -0
- package/page/src/page.component.d.ts +14 -0
- package/page/src/page.module.d.ts +6 -0
- package/password-box/index.d.ts +5 -0
- package/password-box/{public-api.ts → public-api.d.ts} +0 -0
- package/password-box/src/password-box.component.d.ts +23 -0
- package/password-box/src/password-box.module.d.ts +11 -0
- package/popover/index.d.ts +5 -0
- package/popover/public-api.d.ts +2 -0
- package/popover/src/popover.component.d.ts +51 -0
- package/popover/src/popover.module.d.ts +8 -0
- package/popup/index.d.ts +5 -0
- package/popup/{public-api.ts → public-api.d.ts} +0 -0
- package/popup/src/popup.component.d.ts +45 -0
- package/popup/src/popup.module.d.ts +13 -0
- package/popup/src/popup.service.d.ts +38 -0
- package/progress-bar/index.d.ts +5 -0
- package/progress-bar/public-api.d.ts +2 -0
- package/progress-bar/src/progress-bar.component.d.ts +18 -0
- package/progress-bar/src/progress-bar.module.d.ts +8 -0
- package/public-api.d.ts +1 -0
- package/radio/index.d.ts +5 -0
- package/radio/{public-api.ts → public-api.d.ts} +0 -0
- package/radio/src/radio.component.d.ts +17 -0
- package/radio/src/radio.module.d.ts +9 -0
- package/range-slider/index.d.ts +5 -0
- package/range-slider/{public-api.ts → public-api.d.ts} +0 -0
- package/range-slider/src/range-slider.component.d.ts +41 -0
- package/range-slider/src/range-slider.module.d.ts +9 -0
- package/rating/index.d.ts +5 -0
- package/rating/public-api.d.ts +2 -0
- package/rating/src/rating.component.d.ts +21 -0
- package/rating/src/rating.component.module.d.ts +8 -0
- package/result/index.d.ts +5 -0
- package/result/{public-api.ts → public-api.d.ts} +0 -0
- package/result/src/result.component.d.ts +12 -0
- package/result/src/result.module.d.ts +8 -0
- package/search-box/index.d.ts +5 -0
- package/search-box/{public-api.ts → public-api.d.ts} +0 -0
- package/search-box/src/search-box.component.d.ts +18 -0
- package/search-box/src/search-box.module.d.ts +12 -0
- package/select-box/index.d.ts +5 -0
- package/select-box/public-api.d.ts +2 -0
- package/select-box/src/selectbox.component.d.ts +66 -0
- package/select-box/src/selectbox.module.d.ts +19 -0
- package/selection-list/index.d.ts +5 -0
- package/selection-list/public-api.d.ts +2 -0
- package/selection-list/src/selection-list.component.d.ts +22 -0
- package/selection-list/src/selection-list.module.d.ts +13 -0
- package/switch/index.d.ts +5 -0
- package/switch/public-api.d.ts +2 -0
- package/switch/src/switch.component.d.ts +12 -0
- package/switch/src/switch.module.d.ts +10 -0
- package/tabs/index.d.ts +5 -0
- package/tabs/{public-api.ts → public-api.d.ts} +0 -0
- package/tabs/src/tab-content.directive.d.ts +11 -0
- package/tabs/src/tab-item.component.d.ts +46 -0
- package/tabs/src/tabs.class.d.ts +7 -0
- package/tabs/src/tabs.component.d.ts +29 -0
- package/tabs/src/tabs.module.d.ts +12 -0
- package/textarea/index.d.ts +5 -0
- package/textarea/{public-api.ts → public-api.d.ts} +0 -0
- package/textarea/src/textarea.component.d.ts +12 -0
- package/textarea/src/textarea.module.d.ts +9 -0
- package/textbox/index.d.ts +5 -0
- package/textbox/public-api.d.ts +2 -0
- package/textbox/src/textbox.component.d.ts +16 -0
- package/textbox/src/textbox.module.d.ts +12 -0
- package/time-box/index.d.ts +5 -0
- package/time-box/{public-api.ts → public-api.d.ts} +0 -0
- package/time-box/src/time-box.component.d.ts +48 -0
- package/time-box/src/time-box.module.d.ts +11 -0
- package/toast/index.d.ts +5 -0
- package/toast/{public-api.ts → public-api.d.ts} +0 -0
- package/toast/src/toast.class.d.ts +15 -0
- package/toast/src/toast.component.d.ts +24 -0
- package/toast/src/toast.module.d.ts +11 -0
- package/toast/src/toast.service.d.ts +24 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/{public-api.ts → public-api.d.ts} +0 -0
- package/tooltip/src/tooltip.component.d.ts +10 -0
- package/tooltip/src/tooltip.directive.d.ts +18 -0
- package/tooltip/src/tooltip.module.d.ts +10 -0
- package/tree-view/index.d.ts +5 -0
- package/tree-view/public-api.d.ts +2 -0
- package/tree-view/src/tree-view.component.d.ts +33 -0
- package/tree-view/src/tree-view.module.d.ts +9 -0
- package/.browserslistrc +0 -16
- package/action-sheet/index.ts +0 -1
- package/action-sheet/ng-package.json +0 -6
- package/action-sheet/public-api.ts +0 -3
- package/action-sheet/src/action-sheet-item.component.ts +0 -46
- package/action-sheet/src/action-sheet.component.html +0 -12
- package/action-sheet/src/action-sheet.component.ts +0 -82
- package/action-sheet/src/action-sheet.module.ts +0 -13
- package/alert/index.ts +0 -1
- package/alert/ng-package.json +0 -6
- package/alert/public-api.ts +0 -2
- package/alert/src/alert.component.html +0 -21
- package/alert/src/alert.component.ts +0 -179
- package/alert/src/alert.module.ts +0 -15
- package/avatar/index.ts +0 -1
- package/avatar/ng-package.json +0 -6
- package/avatar/src/avatar-group.component.ts +0 -12
- package/avatar/src/avatar.component.html +0 -30
- package/avatar/src/avatar.component.ts +0 -41
- package/avatar/src/avatar.module.ts +0 -15
- package/avatar/src/index.ts +0 -3
- package/badge/index.ts +0 -1
- package/badge/ng-package.json +0 -6
- package/badge/public-api.ts +0 -2
- package/badge/src/badge.component.html +0 -3
- package/badge/src/badge.component.ts +0 -37
- package/badge/src/badge.module.ts +0 -14
- package/breadcrumbs/index.ts +0 -4
- package/breadcrumbs/ng-package.json +0 -6
- package/breadcrumbs/public-api.ts +0 -4
- package/breadcrumbs/src/breadcrumbs-item.class.ts +0 -9
- package/breadcrumbs/src/breadcrumbs-item.component.html +0 -11
- package/breadcrumbs/src/breadcrumbs-item.component.ts +0 -42
- package/breadcrumbs/src/breadcrumbs.component.html +0 -8
- package/breadcrumbs/src/breadcrumbs.component.ts +0 -28
- package/breadcrumbs/src/breadcrumbs.module.ts +0 -12
- package/button/index.ts +0 -1
- package/button/ng-package.json +0 -6
- package/button/public-api.ts +0 -5
- package/button/src/button-group.component.html +0 -2
- package/button/src/button-group.component.ts +0 -126
- package/button/src/button-item.class.ts +0 -24
- package/button/src/button-item.component.ts +0 -78
- package/button/src/button.component.html +0 -10
- package/button/src/button.component.ts +0 -79
- package/button/src/button.module.ts +0 -22
- package/calendar/index.ts +0 -1
- package/calendar/ng-package.json +0 -6
- package/calendar/public-api.ts +0 -3
- package/calendar/src/calendar.class.ts +0 -143
- package/calendar/src/calendar.component.html +0 -70
- package/calendar/src/calendar.component.ts +0 -416
- package/calendar/src/calendar.module.ts +0 -17
- package/carousel/index.ts +0 -1
- package/carousel/ng-package.json +0 -6
- package/carousel/src/carousel-arrows.component.ts +0 -70
- package/carousel/src/carousel-item.component.ts +0 -19
- package/carousel/src/carousel-pager.component.ts +0 -83
- package/carousel/src/carousel-splidejs.class.ts +0 -115
- package/carousel/src/carousel.class.ts +0 -103
- package/carousel/src/carousel.component.html +0 -11
- package/carousel/src/carousel.component.ts +0 -477
- package/carousel/src/carousel.module.ts +0 -17
- package/checkbox/index.ts +0 -1
- package/checkbox/ng-package.json +0 -6
- package/checkbox/public-api.ts +0 -2
- package/checkbox/src/checkbox.component.html +0 -14
- package/checkbox/src/checkbox.component.ts +0 -50
- package/checkbox/src/checkbox.module.ts +0 -12
- package/collapse/index.ts +0 -1
- package/collapse/ng-package.json +0 -6
- package/collapse/public-api.ts +0 -3
- package/collapse/src/collapse-group.component.ts +0 -53
- package/collapse/src/collapse.component.html +0 -25
- package/collapse/src/collapse.component.ts +0 -52
- package/collapse/src/collapse.module.ts +0 -12
- package/color-palette/index.ts +0 -1
- package/color-palette/ng-package.json +0 -6
- package/color-palette/public-api.ts +0 -7
- package/color-palette/src/color-palette-input.component.html +0 -40
- package/color-palette/src/color-palette-input.component.ts +0 -102
- package/color-palette/src/color-palette-picker.component.html +0 -11
- package/color-palette/src/color-palette-picker.component.ts +0 -105
- package/color-palette/src/color-palette-preview.component.ts +0 -59
- package/color-palette/src/color-palette-swatches.component.ts +0 -296
- package/color-palette/src/color-palette.class.ts +0 -23
- package/color-palette/src/color-palette.component.html +0 -21
- package/color-palette/src/color-palette.component.ts +0 -99
- package/color-palette/src/color-palette.module.ts +0 -39
- package/color-picker/index.ts +0 -1
- package/color-picker/ng-package.json +0 -6
- package/color-picker/public-api.ts +0 -2
- package/color-picker/src/color-picker.component.html +0 -24
- package/color-picker/src/color-picker.component.ts +0 -125
- package/color-picker/src/color-picker.module.ts +0 -34
- package/common/index.ts +0 -1
- package/common/ng-package.json +0 -6
- package/common/src/auto-focus.directive.ts +0 -51
- package/common/src/common.module.ts +0 -22
- package/common/src/components.class.ts +0 -44
- package/common/src/custom-cdk-overlay.service.ts +0 -86
- package/common/src/drawing.class.ts +0 -9
- package/common/src/events.class.ts +0 -97
- package/common/src/hotkey.directive.ts +0 -86
- package/common/src/hotkey.service.ts +0 -43
- package/common/src/infinite-scroll.directive.ts +0 -95
- package/common/src/overlay.service.ts +0 -117
- package/common/src/responsive.directive.ts +0 -31
- package/common/src/styles.class.ts +0 -47
- package/data-pager/index.ts +0 -1
- package/data-pager/ng-package.json +0 -6
- package/data-pager/src/data-pager-base.component.ts +0 -50
- package/data-pager/src/data-pager-info.component.ts +0 -61
- package/data-pager/src/data-pager-input-selector.component.ts +0 -43
- package/data-pager/src/data-pager-next-buttons.components.ts +0 -49
- package/data-pager/src/data-pager-numeric-selector.component.ts +0 -86
- package/data-pager/src/data-pager-pagesize-dropdown.component.ts +0 -77
- package/data-pager/src/data-pager-prev-buttons.component.ts +0 -51
- package/data-pager/src/data-pager.component.html +0 -33
- package/data-pager/src/data-pager.component.ts +0 -163
- package/data-pager/src/data-pager.module.ts +0 -32
- package/data-table/index.ts +0 -1
- package/data-table/ng-package.json +0 -6
- package/data-table/src/data-column-cell-template.directive.ts +0 -13
- package/data-table/src/data-column.directive.ts +0 -45
- package/data-table/src/data-table.component.html +0 -89
- package/data-table/src/data-table.component.ts +0 -159
- package/data-table/src/data-table.module.ts +0 -20
- package/data-table/src/index.ts +0 -4
- package/date-picker/index.ts +0 -1
- package/date-picker/ng-package.json +0 -6
- package/date-picker/src/datepicker.component.html +0 -37
- package/date-picker/src/datepicker.component.ts +0 -289
- package/date-picker/src/datepicker.module.ts +0 -31
- package/decorators/index.ts +0 -1
- package/decorators/ng-package.json +0 -6
- package/decorators/public-api.ts +0 -10
- package/decorators/src/addon.component.ts +0 -21
- package/decorators/src/close-button.component.ts +0 -48
- package/decorators/src/content.component.ts +0 -21
- package/decorators/src/decorators.module.ts +0 -32
- package/decorators/src/footer.component.ts +0 -25
- package/decorators/src/header.component.ts +0 -25
- package/decorators/src/icon.component.ts +0 -31
- package/decorators/src/prefix.component.ts +0 -21
- package/decorators/src/suffix.component.ts +0 -21
- package/decorators/src/title.component.ts +0 -26
- package/dialog/index.ts +0 -1
- package/dialog/ng-package.json +0 -6
- package/dialog/src/dialog.class.ts +0 -13
- package/dialog/src/dialog.component.html +0 -21
- package/dialog/src/dialog.component.ts +0 -61
- package/dialog/src/dialog.module.ts +0 -20
- package/dialog/src/dialog.service.ts +0 -159
- package/drawer/index.ts +0 -1
- package/drawer/ng-package.json +0 -6
- package/drawer/src/drawer-container.component.ts +0 -40
- package/drawer/src/drawer.component.ts +0 -168
- package/drawer/src/drawer.module.ts +0 -15
- package/dropdown/index.ts +0 -1
- package/dropdown/ng-package.json +0 -6
- package/dropdown/public-api.ts +0 -2
- package/dropdown/src/dropdown-panel.component.html +0 -6
- package/dropdown/src/dropdown-panel.component.ts +0 -113
- package/dropdown/src/dropdown.module.ts +0 -15
- package/form/index.ts +0 -1
- package/form/ng-package.json +0 -6
- package/form/public-api.ts +0 -7
- package/form/src/form-field.component.ts +0 -21
- package/form/src/form-field.module.ts +0 -55
- package/form/src/form-hint.component.ts +0 -18
- package/form/src/form.component.ts +0 -89
- package/form/src/validation-rule.widget.ts +0 -133
- package/form/src/validation-summary.component.ts +0 -82
- package/form/src/validation.class.ts +0 -25
- package/index.ts +0 -1
- package/input-mask/index.ts +0 -1
- package/input-mask/ng-package.json +0 -6
- package/input-mask/src/input-mask.component.ts +0 -70
- package/input-mask/src/input-mask.module.ts +0 -16
- package/karma.conf.js +0 -44
- package/label/index.ts +0 -1
- package/label/ng-package.json +0 -6
- package/label/public-api.ts +0 -2
- package/label/src/label.component.html +0 -3
- package/label/src/label.component.ts +0 -34
- package/label/src/label.module.ts +0 -14
- package/loading/index.ts +0 -1
- package/loading/ng-package.json +0 -6
- package/loading/src/loading-spinner.component.ts +0 -39
- package/loading/src/loading.component.ts +0 -79
- package/loading/src/loading.directive.ts +0 -88
- package/loading/src/loading.module.ts +0 -32
- package/loading/src/loading.service.ts +0 -205
- package/menu/index.ts +0 -1
- package/menu/ng-package.json +0 -6
- package/menu/src/menu.component.html +0 -64
- package/menu/src/menu.component.ts +0 -234
- package/menu/src/menu.module.ts +0 -18
- package/mixin/index.ts +0 -1
- package/mixin/ng-package.json +0 -7
- package/mixin/public-api.ts +0 -17
- package/mixin/src/base-components.class.ts +0 -140
- package/mixin/src/base-menu-mixin.class.ts +0 -165
- package/mixin/src/button-mixin.class.ts +0 -84
- package/mixin/src/clickable-mixin.class.ts +0 -32
- package/mixin/src/color-look-mixing.class.ts +0 -56
- package/mixin/src/constratctor.ts +0 -3
- package/mixin/src/datalist-component.class.ts +0 -176
- package/mixin/src/datalist.class.ts +0 -14
- package/mixin/src/dropdown-mixin.class.ts +0 -135
- package/mixin/src/interactive-mixin.class.ts +0 -97
- package/mixin/src/loading-mixin.class.ts +0 -31
- package/mixin/src/mixin.class.ts +0 -70
- package/mixin/src/page-component.class.ts +0 -15
- package/mixin/src/selection-component.class.ts +0 -212
- package/mixin/src/sizable-mixin.class.ts +0 -29
- package/mixin/src/textbox-mixin.class.ts +0 -116
- package/mixin/src/value-mixin.class.ts +0 -230
- package/ng-package.json +0 -7
- package/number-box/index.ts +0 -1
- package/number-box/ng-package.json +0 -6
- package/number-box/src/number-box.component.html +0 -40
- package/number-box/src/number-box.component.ts +0 -272
- package/number-box/src/number-box.module.ts +0 -24
- package/page/index.ts +0 -1
- package/page/ng-package.json +0 -6
- package/page/public-api.ts +0 -4
- package/page/src/base-page.class.ts +0 -109
- package/page/src/page.component.ts +0 -42
- package/page/src/page.module.ts +0 -11
- package/password-box/index.ts +0 -1
- package/password-box/ng-package.json +0 -6
- package/password-box/src/password-box.component.html +0 -15
- package/password-box/src/password-box.component.ts +0 -65
- package/password-box/src/password-box.module.ts +0 -22
- package/popover/index.ts +0 -1
- package/popover/ng-package.json +0 -6
- package/popover/public-api.ts +0 -3
- package/popover/src/popover.component.html +0 -3
- package/popover/src/popover.component.ts +0 -309
- package/popover/src/popover.module.ts +0 -11
- package/popup/index.ts +0 -1
- package/popup/ng-package.json +0 -6
- package/popup/src/popup.component.html +0 -14
- package/popup/src/popup.component.ts +0 -178
- package/popup/src/popup.module.ts +0 -20
- package/popup/src/popup.service.ts +0 -114
- package/progress-bar/index.ts +0 -1
- package/progress-bar/ng-package.json +0 -6
- package/progress-bar/public-api.ts +0 -2
- package/progress-bar/src/progress-bar.component.html +0 -6
- package/progress-bar/src/progress-bar.component.ts +0 -32
- package/progress-bar/src/progress-bar.module.ts +0 -11
- package/public-api.ts +0 -5
- package/radio/index.ts +0 -1
- package/radio/ng-package.json +0 -6
- package/radio/src/radio.component.html +0 -11
- package/radio/src/radio.component.ts +0 -44
- package/radio/src/radio.module.ts +0 -15
- package/range-slider/index.ts +0 -1
- package/range-slider/ng-package.json +0 -6
- package/range-slider/src/range-slider.component.html +0 -1
- package/range-slider/src/range-slider.component.ts +0 -132
- package/range-slider/src/range-slider.module.ts +0 -15
- package/rating/index.ts +0 -1
- package/rating/ng-package.json +0 -6
- package/rating/public-api.ts +0 -2
- package/rating/src/rating.component.html +0 -5
- package/rating/src/rating.component.module.ts +0 -11
- package/rating/src/rating.component.ts +0 -43
- package/result/index.ts +0 -1
- package/result/ng-package.json +0 -6
- package/result/src/result.component.html +0 -1958
- package/result/src/result.component.ts +0 -29
- package/result/src/result.module.ts +0 -11
- package/search-box/index.ts +0 -1
- package/search-box/ng-package.json +0 -6
- package/search-box/src/search-box.component.html +0 -13
- package/search-box/src/search-box.component.ts +0 -62
- package/search-box/src/search-box.module.ts +0 -18
- package/select-box/index.ts +0 -1
- package/select-box/ng-package.json +0 -6
- package/select-box/public-api.ts +0 -2
- package/select-box/src/selectbox.component.html +0 -147
- package/select-box/src/selectbox.component.ts +0 -410
- package/select-box/src/selectbox.module.ts +0 -35
- package/selection-list/index.ts +0 -1
- package/selection-list/ng-package.json +0 -6
- package/selection-list/public-api.ts +0 -2
- package/selection-list/src/selection-list.component.html +0 -62
- package/selection-list/src/selection-list.component.ts +0 -69
- package/selection-list/src/selection-list.module.ts +0 -17
- package/switch/index.ts +0 -1
- package/switch/ng-package.json +0 -6
- package/switch/public-api.ts +0 -2
- package/switch/src/switch.component.html +0 -14
- package/switch/src/switch.component.ts +0 -52
- package/switch/src/switch.module.ts +0 -13
- package/tabs/index.ts +0 -1
- package/tabs/ng-package.json +0 -6
- package/tabs/src/tab-content.directive.ts +0 -23
- package/tabs/src/tab-item.component.ts +0 -125
- package/tabs/src/tabs.class.ts +0 -7
- package/tabs/src/tabs.component.ts +0 -108
- package/tabs/src/tabs.module.ts +0 -18
- package/test.ts +0 -27
- package/textarea/index.ts +0 -1
- package/textarea/ng-package.json +0 -6
- package/textarea/src/textarea.component.html +0 -6
- package/textarea/src/textarea.component.ts +0 -32
- package/textarea/src/textarea.module.ts +0 -11
- package/textbox/index.ts +0 -1
- package/textbox/ng-package.json +0 -6
- package/textbox/public-api.ts +0 -2
- package/textbox/src/textbox.component.html +0 -17
- package/textbox/src/textbox.component.ts +0 -37
- package/textbox/src/textbox.module.ts +0 -22
- package/time-box/index.ts +0 -1
- package/time-box/ng-package.json +0 -6
- package/time-box/src/time-box.component.html +0 -16
- package/time-box/src/time-box.component.ts +0 -315
- package/time-box/src/time-box.module.ts +0 -22
- package/toast/index.ts +0 -1
- package/toast/ng-package.json +0 -6
- package/toast/src/toast.class.ts +0 -18
- package/toast/src/toast.component.html +0 -21
- package/toast/src/toast.component.ts +0 -65
- package/toast/src/toast.module.ts +0 -19
- package/toast/src/toast.service.ts +0 -160
- package/tooltip/index.ts +0 -1
- package/tooltip/ng-package.json +0 -6
- package/tooltip/src/tooltip.component.html +0 -6
- package/tooltip/src/tooltip.component.ts +0 -36
- package/tooltip/src/tooltip.directive.ts +0 -93
- package/tooltip/src/tooltip.module.ts +0 -16
- package/tree-view/index.ts +0 -1
- package/tree-view/ng-package.json +0 -6
- package/tree-view/public-api.ts +0 -2
- package/tree-view/src/tree-view.component.html +0 -15
- package/tree-view/src/tree-view.component.ts +0 -105
- package/tree-view/src/tree-view.module.ts +0 -12
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ViewEncapsulation,
|
|
4
|
-
ChangeDetectionStrategy,
|
|
5
|
-
ElementRef,
|
|
6
|
-
ChangeDetectorRef,
|
|
7
|
-
TemplateRef,
|
|
8
|
-
ContentChild,
|
|
9
|
-
ViewChild,
|
|
10
|
-
} from '@angular/core';
|
|
11
|
-
import { AXValueChangedEvent } from '@acorex/components/common';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
15
|
-
import { AXSearchBoxComponent } from '@acorex/components/search-box';
|
|
16
|
-
import { AXBaseMenuMixin } from '@acorex/components/mixin';
|
|
17
|
-
|
|
18
|
-
export interface AXMenuItems {
|
|
19
|
-
id?: string;
|
|
20
|
-
name?: string;
|
|
21
|
-
text?: string;
|
|
22
|
-
tooltip?: string;
|
|
23
|
-
parentId?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
visibleField?: boolean;
|
|
26
|
-
disableField?: boolean;
|
|
27
|
-
selected?: boolean;
|
|
28
|
-
data?: any;
|
|
29
|
-
style?: string;
|
|
30
|
-
children?: AXMenuItems[];
|
|
31
|
-
isOpen?: boolean;
|
|
32
|
-
isActive?: boolean;
|
|
33
|
-
onClick?: (e?: any) => void;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
37
|
-
*
|
|
38
|
-
* @category Components
|
|
39
|
-
*/
|
|
40
|
-
@Component({
|
|
41
|
-
selector: 'ax-menu',
|
|
42
|
-
templateUrl: './menu.component.html',
|
|
43
|
-
inputs: ['disabled', 'tabIndex', 'textField',
|
|
44
|
-
'valueField',
|
|
45
|
-
'items',
|
|
46
|
-
'id',
|
|
47
|
-
'parentId',
|
|
48
|
-
'iconField',
|
|
49
|
-
'tooltip',
|
|
50
|
-
'isOpen',
|
|
51
|
-
'isActive',
|
|
52
|
-
'visibleField',
|
|
53
|
-
'disableField',
|
|
54
|
-
'hasChildField',
|
|
55
|
-
'openMode',
|
|
56
|
-
'direction',],
|
|
57
|
-
outputs: ['onBlur', 'onFocus', 'onMenuItemClick'],
|
|
58
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
59
|
-
encapsulation: ViewEncapsulation.None,
|
|
60
|
-
host: { class: 'ax-menu' },
|
|
61
|
-
})
|
|
62
|
-
export class AXMenuComponent extends AXBaseMenuMixin {
|
|
63
|
-
@ViewChild(AXPopoverComponent, { static: true })
|
|
64
|
-
popover: AXPopoverComponent;
|
|
65
|
-
|
|
66
|
-
@ContentChild('emptyTemplate')
|
|
67
|
-
private _contentEmptyTemplate: TemplateRef<any>;
|
|
68
|
-
|
|
69
|
-
@ContentChild('itemTemplate')
|
|
70
|
-
private _contentItemTemplate: TemplateRef<any>;
|
|
71
|
-
|
|
72
|
-
@ContentChild(AXSearchBoxComponent, { static: true })
|
|
73
|
-
_searchBox: AXSearchBoxComponent;
|
|
74
|
-
|
|
75
|
-
_forceFocus: boolean = false;
|
|
76
|
-
_target: HTMLDivElement;
|
|
77
|
-
|
|
78
|
-
get emptyTemplate(): TemplateRef<any> {
|
|
79
|
-
return this._contentEmptyTemplate;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
get itemTemplate(): TemplateRef<any> {
|
|
83
|
-
return this._contentItemTemplate;
|
|
84
|
-
}
|
|
85
|
-
constructor(private elementRef: ElementRef, private cdr: ChangeDetectorRef) {
|
|
86
|
-
super(elementRef, cdr);
|
|
87
|
-
window.addEventListener('click', (e) => {
|
|
88
|
-
if (this.displayItems.length > 0) {
|
|
89
|
-
const target = document.querySelector('UL');
|
|
90
|
-
if (e.target != target) {
|
|
91
|
-
this.displayItems.forEach((element) => {
|
|
92
|
-
element.isActive = false;
|
|
93
|
-
element.isOpen = false;
|
|
94
|
-
});
|
|
95
|
-
cdr.detectChanges();
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
onInit(): void {
|
|
102
|
-
super.onInit();
|
|
103
|
-
if (this.hasChildField) {
|
|
104
|
-
this._fetchData();
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
ngAfterViewInit(): void {
|
|
109
|
-
super.onViewInit();
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
_onMenuClick(e: MouseEvent, item: any) {
|
|
113
|
-
if (this.isLoading) {
|
|
114
|
-
return;
|
|
115
|
-
}
|
|
116
|
-
const checkSpacing = e.target as HTMLDivElement;
|
|
117
|
-
if (
|
|
118
|
-
!item[this.disableField] &&
|
|
119
|
-
this.openMode === 'click' &&
|
|
120
|
-
checkSpacing.closest('a')
|
|
121
|
-
) {
|
|
122
|
-
if (this.openMode === 'click' && this.direction === 'horizontal') {
|
|
123
|
-
this.displayItems.forEach((element) => {
|
|
124
|
-
if (
|
|
125
|
-
element[this.valueField] != item[this.valueField] &&
|
|
126
|
-
!item.parentId
|
|
127
|
-
) {
|
|
128
|
-
element.isOpen = false;
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
this._notActive(this.displayItems);
|
|
133
|
-
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
134
|
-
if (item.children?.length > 0) {
|
|
135
|
-
if (this.openMode === 'click' && this.direction === 'horizontal') {
|
|
136
|
-
this._setParentNode(item.children, item[this.valueField]);
|
|
137
|
-
}
|
|
138
|
-
this._closeChild(item.children);
|
|
139
|
-
}
|
|
140
|
-
item.isOpen = !item.isOpen;
|
|
141
|
-
}
|
|
142
|
-
item.isActive = !item.isActive;
|
|
143
|
-
this.onMenuItemClick.emit({
|
|
144
|
-
component: this,
|
|
145
|
-
item: item,
|
|
146
|
-
nativeEvent: e,
|
|
147
|
-
});
|
|
148
|
-
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
149
|
-
item.isLoading = true;
|
|
150
|
-
this._fetchData(item[this.valueField]).then(() => {
|
|
151
|
-
item.isLoading = false;
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
e.stopPropagation();
|
|
156
|
-
e.preventDefault();
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
_onMouseEnter(e: MouseEvent, item: any) {
|
|
160
|
-
if (this.isLoading) {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
164
|
-
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
165
|
-
if (item.children?.length > 0) {
|
|
166
|
-
this._closeChild(item.children);
|
|
167
|
-
}
|
|
168
|
-
item.isOpen = true;
|
|
169
|
-
}
|
|
170
|
-
this.onMenuItemClick.emit({
|
|
171
|
-
component: this,
|
|
172
|
-
item: item,
|
|
173
|
-
nativeEvent: e,
|
|
174
|
-
});
|
|
175
|
-
if (item.isOpen && item[this.hasChildField] && !item.children) {
|
|
176
|
-
item.isLoading = true;
|
|
177
|
-
this._fetchData(item[this.valueField]).then(() => {
|
|
178
|
-
item.isLoading = false;
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
e.stopPropagation();
|
|
183
|
-
e.preventDefault();
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
_onMouseLeave(item: any) {
|
|
187
|
-
if (!item[this.disableField] && this.openMode === 'hover') {
|
|
188
|
-
if (item.children?.length > 0 || item[this.hasChildField]) {
|
|
189
|
-
if (item.children?.length > 0) {
|
|
190
|
-
this._closeChild(item.children);
|
|
191
|
-
}
|
|
192
|
-
item.isOpen = false;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
_notActive(items: any[]) {
|
|
198
|
-
items.forEach((element: any) => {
|
|
199
|
-
element.isActive = false;
|
|
200
|
-
if (element.children?.length > 0) {
|
|
201
|
-
this._notActive(element.children);
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
_closeChild(items: any[]) {
|
|
207
|
-
items.forEach((element: any) => {
|
|
208
|
-
element.isOpen = false;
|
|
209
|
-
if (element.children?.length > 0) {
|
|
210
|
-
this._closeChild(element.children);
|
|
211
|
-
}
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
_setParentNode(item, parentId) {
|
|
216
|
-
item.forEach((element) => {
|
|
217
|
-
element.parentId = parentId;
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
_onSearchExprChanged(e: AXValueChangedEvent<string>) {
|
|
222
|
-
// this.empty();
|
|
223
|
-
this._forceFocus = true;
|
|
224
|
-
this._fetchData(0, this._searchBox?.searchExp);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
_getDirection() {
|
|
228
|
-
if (this.direction === 'horizontal') {
|
|
229
|
-
return 'horizontal-mode';
|
|
230
|
-
} else {
|
|
231
|
-
return 'vertical-mode';
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
package/menu/src/menu.module.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AXTranslationModule } from '@acorex/core/translation';
|
|
4
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
|
5
|
-
import { AXPopoverModule } from '@acorex/components/popover';
|
|
6
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
7
|
-
import { AXMenuComponent } from './menu.component';
|
|
8
|
-
|
|
9
|
-
const COMPONENT = [AXMenuComponent];
|
|
10
|
-
const MODULES = [CommonModule, AXDecoratorModule];
|
|
11
|
-
|
|
12
|
-
@NgModule({
|
|
13
|
-
declarations: [...COMPONENT],
|
|
14
|
-
imports: [...MODULES, AXLoadingModule, AXTranslationModule, AXPopoverModule],
|
|
15
|
-
exports: [...COMPONENT],
|
|
16
|
-
providers: [],
|
|
17
|
-
})
|
|
18
|
-
export class AXMenuModule {}
|
package/mixin/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public-api';
|
package/mixin/ng-package.json
DELETED
package/mixin/public-api.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export * from './src/base-components.class';
|
|
2
|
-
export * from './src/base-menu-mixin.class';
|
|
3
|
-
export * from './src/button-mixin.class';
|
|
4
|
-
export * from './src/clickable-mixin.class';
|
|
5
|
-
export * from './src/color-look-mixing.class';
|
|
6
|
-
export * from './src/constratctor';
|
|
7
|
-
export * from './src/datalist-component.class';
|
|
8
|
-
export * from './src/datalist.class';
|
|
9
|
-
export * from './src/dropdown-mixin.class';
|
|
10
|
-
export * from './src/interactive-mixin.class';
|
|
11
|
-
export * from './src/loading-mixin.class';
|
|
12
|
-
export * from './src/mixin.class';
|
|
13
|
-
export * from './src/page-component.class';
|
|
14
|
-
export * from './src/selection-component.class';
|
|
15
|
-
export * from './src/sizable-mixin.class';
|
|
16
|
-
export * from './src/textbox-mixin.class';
|
|
17
|
-
export * from './src/value-mixin.class';
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectorRef,
|
|
3
|
-
EventEmitter,
|
|
4
|
-
Inject,
|
|
5
|
-
Injectable,
|
|
6
|
-
ElementRef
|
|
7
|
-
} from '@angular/core';
|
|
8
|
-
import { Constructor } from './constratctor';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* A token that specifies the size of component.
|
|
12
|
-
*/
|
|
13
|
-
export type AXElementSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
14
|
-
|
|
15
|
-
export type AXComponentOptionChanging = { name: string; value?: any };
|
|
16
|
-
export type AXComponentOptionChanged = {
|
|
17
|
-
name: string;
|
|
18
|
-
newValue?: any;
|
|
19
|
-
oldValue?: any;
|
|
20
|
-
};
|
|
21
|
-
export type AXComponentSetOption = {
|
|
22
|
-
name: string;
|
|
23
|
-
value?: any;
|
|
24
|
-
afterCallback?: (oldValue?: any, newValue?: any) => void;
|
|
25
|
-
beforeCallback?: (oldValue?: any, newValue?: any) => void;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
@Injectable()
|
|
29
|
-
export class AXBaseComponent {
|
|
30
|
-
id: string = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* A token that specifies the layout direction of component.
|
|
34
|
-
*/
|
|
35
|
-
rtl: boolean;
|
|
36
|
-
|
|
37
|
-
#elementRef: ElementRef;
|
|
38
|
-
_cdr: ChangeDetectorRef;
|
|
39
|
-
|
|
40
|
-
_isInited: boolean;
|
|
41
|
-
_isRendered: boolean;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @ignore
|
|
45
|
-
*/
|
|
46
|
-
constructor(@Inject(Array) ...args: any[]) {
|
|
47
|
-
this.#elementRef = args[0];
|
|
48
|
-
this._cdr = args[1];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
ngOnInit() {
|
|
52
|
-
this._isInited = true;
|
|
53
|
-
this._onInternalInit();
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
ngAfterViewInit() {
|
|
57
|
-
this._isRendered = true;
|
|
58
|
-
this._onInternalViewInit();
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
ngOnDestroy() {
|
|
62
|
-
this._onInternalDestroy();
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
_getHostElement<T = HTMLElement>(): T {
|
|
66
|
-
return this.#elementRef.nativeElement as T;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
_getInnerElement<T = HTMLElement>(): T {
|
|
70
|
-
return this._getHostElement().firstElementChild as unknown as T;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
_onInternalInit() {
|
|
74
|
-
(this._getHostElement() as any).__axContext__ = this;
|
|
75
|
-
|
|
76
|
-
if (this.rtl == null) {
|
|
77
|
-
this.rtl =
|
|
78
|
-
window
|
|
79
|
-
.getComputedStyle(this._getHostElement(), null)
|
|
80
|
-
.getPropertyValue('direction') === 'rtl';
|
|
81
|
-
}
|
|
82
|
-
//TODO: Apply
|
|
83
|
-
// this._getHostElement().classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
84
|
-
// this._getInnerElement()?.classList.add(this.rtl ? 'ax-rtl' : 'ax-ltr');
|
|
85
|
-
// this._getHostElement().setAttribute('data-id', this.id);
|
|
86
|
-
this.onInit();
|
|
87
|
-
this.onRenderCssClass();
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
_onInternalViewInit() {
|
|
91
|
-
this.onViewInit();
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
_onInternalDestroy() {
|
|
95
|
-
this.onDestroy();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
onInit() {}
|
|
99
|
-
|
|
100
|
-
onRenderCssClass() {}
|
|
101
|
-
|
|
102
|
-
onViewInit() {}
|
|
103
|
-
|
|
104
|
-
onDestroy() {}
|
|
105
|
-
|
|
106
|
-
_onOptionChanging(option: AXComponentOptionChanging) {
|
|
107
|
-
return option?.value;
|
|
108
|
-
}
|
|
109
|
-
_onOptionChanged(option: AXComponentOptionChanged): void {}
|
|
110
|
-
|
|
111
|
-
_setOption(option: AXComponentSetOption) {
|
|
112
|
-
const oldValue = this[option.name];
|
|
113
|
-
const newValue = this._onOptionChanging({
|
|
114
|
-
name: option.name,
|
|
115
|
-
value: option.value,
|
|
116
|
-
});
|
|
117
|
-
//TODO : check real changes
|
|
118
|
-
if (option.beforeCallback) option.beforeCallback(oldValue, newValue);
|
|
119
|
-
if (oldValue != newValue) {
|
|
120
|
-
this[`_${option.name}`] = option.value;
|
|
121
|
-
this._onOptionChanged({ name: option.name, newValue, oldValue });
|
|
122
|
-
const emitter = this[`${option.name}Change`] as EventEmitter<any>;
|
|
123
|
-
if (emitter) emitter.emit(newValue);
|
|
124
|
-
}
|
|
125
|
-
if (option.afterCallback) option.afterCallback(oldValue, newValue);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function _BaseComponenetMixin<
|
|
130
|
-
TBase extends Constructor<AXBaseComponent>
|
|
131
|
-
>(Base: TBase) {
|
|
132
|
-
return class extends Base {
|
|
133
|
-
constructor(...args: any[]) {
|
|
134
|
-
super(...args);
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
export const BASE_INPUTS = ['rtl'];
|
|
140
|
-
export const BASE_OUTPUT = [];
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { unionBy } from 'lodash-es';
|
|
3
|
-
import { AXItemClickEvent } from '@acorex/components/common';
|
|
4
|
-
import { AXBaseComponent } from './base-components.class';
|
|
5
|
-
import { Constructor } from './constratctor';
|
|
6
|
-
|
|
7
|
-
export function _BaseMenuComponentMixin<
|
|
8
|
-
TBase extends Constructor<AXBaseComponent>
|
|
9
|
-
>(Base: TBase) {
|
|
10
|
-
return class extends Base {
|
|
11
|
-
textField: string = 'text';
|
|
12
|
-
|
|
13
|
-
valueField: string = 'id';
|
|
14
|
-
|
|
15
|
-
#isLoading: boolean = false;
|
|
16
|
-
|
|
17
|
-
#loadedItems: any = [];
|
|
18
|
-
|
|
19
|
-
visibleField: string;
|
|
20
|
-
|
|
21
|
-
disableField: string;
|
|
22
|
-
|
|
23
|
-
hasChildField: string;
|
|
24
|
-
|
|
25
|
-
iconField: string;
|
|
26
|
-
|
|
27
|
-
openMode: 'click' | 'hover' = 'click';
|
|
28
|
-
|
|
29
|
-
direction: 'horizontal' | 'vertical' = 'vertical';
|
|
30
|
-
|
|
31
|
-
onMenuItemClick: EventEmitter<AXItemClickEvent<any>> = new EventEmitter<
|
|
32
|
-
AXItemClickEvent<any>
|
|
33
|
-
>();
|
|
34
|
-
|
|
35
|
-
get loadedCount(): number {
|
|
36
|
-
return this.#loadedItems?.length || 0;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
constructor(...args: any[]) {
|
|
40
|
-
super(...args);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#items: any = [];
|
|
44
|
-
get items(): any {
|
|
45
|
-
return this.#items;
|
|
46
|
-
}
|
|
47
|
-
set items(v: any) {
|
|
48
|
-
if (Array.isArray(v)) {
|
|
49
|
-
this.#items = this._formatData(v);
|
|
50
|
-
} else if (typeof v === 'function') {
|
|
51
|
-
this.#items = v;
|
|
52
|
-
} else {
|
|
53
|
-
this.#items = [];
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
get displayItems() {
|
|
58
|
-
if (Array.isArray(this.items)) {
|
|
59
|
-
return this.#items || [];
|
|
60
|
-
} else if (typeof this.#items == 'function') {
|
|
61
|
-
return this.#loadedItems || [];
|
|
62
|
-
}
|
|
63
|
-
return [];
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
get isLoading() {
|
|
67
|
-
return this.#isLoading;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
_formatData(v: any[]) {
|
|
71
|
-
return unionBy(
|
|
72
|
-
v.map((o, i) => {
|
|
73
|
-
if (typeof o == 'object') return o;
|
|
74
|
-
else {
|
|
75
|
-
const no: any = {};
|
|
76
|
-
no[this.valueField] = o;
|
|
77
|
-
no[
|
|
78
|
-
Array.isArray(this.textField) ? this.textField[0] : this.textField
|
|
79
|
-
] = o;
|
|
80
|
-
return no;
|
|
81
|
-
}
|
|
82
|
-
}),
|
|
83
|
-
this.valueField
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
_findNode(parentId: number, _children: any, source: any) {
|
|
88
|
-
if (source.length > 0) {
|
|
89
|
-
source.forEach((element) => {
|
|
90
|
-
if (element[this.valueField] == parentId) {
|
|
91
|
-
element.children = _children;
|
|
92
|
-
} else {
|
|
93
|
-
if (element?.children)
|
|
94
|
-
this._findNode(parentId, _children, element.children);
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
_fetchData(parentId?: number, searchText?: string) {
|
|
101
|
-
return new Promise((resolve) => {
|
|
102
|
-
if (this.#isLoading) {
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
if (this.#items) {
|
|
106
|
-
this.#isLoading = true;
|
|
107
|
-
this.#items({
|
|
108
|
-
parentId: parentId,
|
|
109
|
-
searchQuery: searchText,
|
|
110
|
-
})
|
|
111
|
-
.then((c) => {
|
|
112
|
-
if (Array.isArray(c)) {
|
|
113
|
-
if (parentId) {
|
|
114
|
-
resolve(this._findNode(parentId, c, this.displayItems));
|
|
115
|
-
} else {
|
|
116
|
-
resolve((this.#loadedItems = c));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
this._cdr.markForCheck();
|
|
120
|
-
})
|
|
121
|
-
.finally(() => {
|
|
122
|
-
this.#isLoading = false;
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
_onInternalInit() {
|
|
129
|
-
if (typeof this.#items == 'function') {
|
|
130
|
-
this._fetchData();
|
|
131
|
-
}
|
|
132
|
-
super._onInternalInit();
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
_getItemDisplayTextTemplte(item) {
|
|
136
|
-
if (item)
|
|
137
|
-
return Array.isArray(this.textField)
|
|
138
|
-
? this.textField.map((c) => item[c]).join(',')
|
|
139
|
-
: item[this.textField];
|
|
140
|
-
else return 'Loading...';
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
_trackLoaded(index, item) {
|
|
144
|
-
return item[this.textField];
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export const BASEMENU_INPUTS = [
|
|
150
|
-
'textField',
|
|
151
|
-
'valueField',
|
|
152
|
-
'items',
|
|
153
|
-
'id',
|
|
154
|
-
'parentId',
|
|
155
|
-
'iconField',
|
|
156
|
-
'tooltip',
|
|
157
|
-
'isOpen',
|
|
158
|
-
'isActive',
|
|
159
|
-
'visibleField',
|
|
160
|
-
'disableField',
|
|
161
|
-
'hasChildField',
|
|
162
|
-
'openMode',
|
|
163
|
-
'direction',
|
|
164
|
-
];
|
|
165
|
-
export const BASEMENU_OUTPUT = ['onMenuItemClick'];
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { AXBaseComponent } from './base-components.class';
|
|
3
|
-
import { Constructor } from './constratctor';
|
|
4
|
-
|
|
5
|
-
export function _ButtonComponentMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase) {
|
|
6
|
-
return class extends Base {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
_text: string;
|
|
10
|
-
/**
|
|
11
|
-
* Defines the primary text to show inside the button.
|
|
12
|
-
*/
|
|
13
|
-
get text(): string {
|
|
14
|
-
return this._text;
|
|
15
|
-
}
|
|
16
|
-
set text(v: string) {
|
|
17
|
-
this._setOption({
|
|
18
|
-
name: 'text',
|
|
19
|
-
value: v,
|
|
20
|
-
afterCallback: () => {
|
|
21
|
-
this._cdr.markForCheck();
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
toggleableChange: EventEmitter<boolean> = new EventEmitter();
|
|
29
|
-
_toggleable?: boolean = false;
|
|
30
|
-
/**
|
|
31
|
-
* Provides visual styling that indicates if the Button is active
|
|
32
|
-
*/
|
|
33
|
-
get toggleable(): boolean {
|
|
34
|
-
return this._toggleable!;
|
|
35
|
-
}
|
|
36
|
-
set toggleable(value: boolean) {
|
|
37
|
-
this._setOption({
|
|
38
|
-
name: 'toggleable',
|
|
39
|
-
value
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
selectedChange: EventEmitter<boolean> = new EventEmitter();
|
|
45
|
-
_selected?: boolean = false;
|
|
46
|
-
/**
|
|
47
|
-
* Indicates if the Button is selected or not
|
|
48
|
-
*/
|
|
49
|
-
get selected(): boolean {
|
|
50
|
-
return this._selected!;
|
|
51
|
-
}
|
|
52
|
-
set selected(value: boolean) {
|
|
53
|
-
this._setOption({
|
|
54
|
-
name: 'selected',
|
|
55
|
-
value,
|
|
56
|
-
afterCallback: () => {
|
|
57
|
-
this._cdr.markForCheck();
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
constructor(...args: any[]) {
|
|
63
|
-
super(...args);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
get _classes() {
|
|
68
|
-
const cssClasses = {
|
|
69
|
-
'ax-button-icon': !this.text,
|
|
70
|
-
'ax-state-disabled': this["disabled"],
|
|
71
|
-
'ax-state-selected': this.selected
|
|
72
|
-
};
|
|
73
|
-
cssClasses[`ax-${this['color'] || 'default'}${this['look'] ? '-' + this['look'] : '-default'}`] = true;
|
|
74
|
-
return cssClasses;
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export const BUTTON_INPUTS = [
|
|
80
|
-
'text',
|
|
81
|
-
'toggleable',
|
|
82
|
-
'selected',
|
|
83
|
-
];
|
|
84
|
-
export const BUTTON_OUTPUT = ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'toggleableChange'];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { AXBaseComponent } from "./base-components.class";
|
|
3
|
-
import { Constructor } from "./constratctor";
|
|
4
|
-
import { AXClickEvent } from "@acorex/components/common";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export function _ClickableComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase){
|
|
8
|
-
return class extends Base {
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Fires each time the user clicks the button.
|
|
12
|
-
* @event
|
|
13
|
-
*/
|
|
14
|
-
onClick: EventEmitter<AXClickEvent> = new EventEmitter<AXClickEvent>();
|
|
15
|
-
|
|
16
|
-
_emitOnClickEvent(e: MouseEvent): void {
|
|
17
|
-
this.onClick.emit({
|
|
18
|
-
component: this,
|
|
19
|
-
htmlElement: this._getHostElement(),
|
|
20
|
-
nativeEvent: e
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @ignore
|
|
26
|
-
*/
|
|
27
|
-
constructor(...args: any[]) {
|
|
28
|
-
super(...args);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|