@acorex/components 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/index.d.ts +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 +79 -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 +40 -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 +75 -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 +84 -0
- package/button/src/button-item.class.d.ts +23 -0
- package/button/src/button-item.component.d.ts +78 -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 +51 -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 +191 -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/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 +150 -0
- package/date-picker/src/datepicker.module.d.ts +15 -0
- package/decorators/index.d.ts +5 -0
- package/decorators/{public-api.ts → public-api.d.ts} +0 -0
- package/decorators/src/addon.component.d.ts +8 -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 +16 -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 +154 -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 +355 -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 +11 -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 +11 -0
- package/esm2020/decorators/src/addon.component.mjs +21 -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 +55 -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-field.module.mjs +68 -0
- package/esm2020/form/src/form-hint.component.mjs +20 -0
- package/esm2020/form/src/form.component.mjs +85 -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 +193 -0
- package/esm2020/menu/src/menu.module.mjs +25 -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 +99 -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 +181 -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 +245 -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 +113 -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 +94 -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 +148 -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 +181 -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 +506 -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 +542 -0
- package/fesm2015/acorex-components-common.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 +277 -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 +387 -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 +227 -0
- package/fesm2015/acorex-components-menu.mjs.map +1 -0
- package/fesm2015/acorex-components-mixin.mjs +1253 -0
- package/fesm2015/acorex-components-mixin.mjs.map +1 -0
- package/fesm2015/acorex-components-number-box.mjs +284 -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 +144 -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 +291 -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 +228 -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 +179 -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 +505 -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 +534 -0
- package/fesm2020/acorex-components-common.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 +274 -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 +384 -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 +221 -0
- package/fesm2020/acorex-components-menu.mjs.map +1 -0
- package/fesm2020/acorex-components-mixin.mjs +1247 -0
- package/fesm2020/acorex-components-mixin.mjs.map +1 -0
- package/fesm2020/acorex-components-number-box.mjs +283 -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 +139 -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 +290 -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 +228 -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.ts → public-api.d.ts} +0 -0
- package/form/src/form-field.component.d.ts +8 -0
- package/form/src/form-field.module.d.ts +16 -0
- package/form/src/form-hint.component.d.ts +8 -0
- package/form/src/form.component.d.ts +31 -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 +53 -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 +84 -0
- package/mixin/src/base-menu-mixin.class.d.ts +52 -0
- package/mixin/src/button-mixin.class.d.ts +52 -0
- package/mixin/src/clickable-mixin.class.d.ts +37 -0
- package/mixin/src/color-look-mixing.class.d.ts +43 -0
- package/mixin/src/constratctor.d.ts +4 -0
- package/mixin/src/datalist-component.class.d.ts +58 -0
- package/mixin/src/datalist.class.d.ts +11 -0
- package/mixin/src/dropdown-mixin.class.d.ts +46 -0
- package/mixin/src/interactive-mixin.class.d.ts +59 -0
- package/mixin/src/loading-mixin.class.d.ts +39 -0
- package/mixin/src/mixin.class.d.ts +693 -0
- package/mixin/src/page-component.class.d.ts +27 -0
- package/mixin/src/selection-component.class.d.ts +62 -0
- package/mixin/src/sizable-mixin.class.d.ts +33 -0
- package/mixin/src/textbox-mixin.class.d.ts +74 -0
- package/mixin/src/value-mixin.class.d.ts +62 -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 +429 -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 +40 -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 +47 -0
- package/tabs/src/tabs.class.d.ts +6 -0
- package/tabs/src/tabs.component.d.ts +24 -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 +23 -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/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/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
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AXAvatarMixin } from '@acorex/components/mixin';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
/**
|
|
6
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
7
|
+
*
|
|
8
|
+
* @category Components
|
|
9
|
+
*/
|
|
10
|
+
export class AXAvatarComponent extends AXAvatarMixin {
|
|
11
|
+
/**
|
|
12
|
+
* @ignore
|
|
13
|
+
*/
|
|
14
|
+
constructor(elementRef, cdr) {
|
|
15
|
+
super(elementRef, cdr);
|
|
16
|
+
this.text = '';
|
|
17
|
+
this.icon = '';
|
|
18
|
+
this.src = '';
|
|
19
|
+
this.class = '';
|
|
20
|
+
this.type = 'default';
|
|
21
|
+
}
|
|
22
|
+
get __hostClass() {
|
|
23
|
+
return `ax-${this.color}-default`;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
AXAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
AXAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", text: "text", icon: "icon", src: "src", class: "class", type: "type" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-avatar" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <ng-content select=\"img\"></ng-content>\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'ax-avatar', inputs: ['color', 'look',], host: { class: 'ax-avatar' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-avatar-container\" [ngSwitch]=\"type\">\r\n <ng-content select=\"ax-badge\"></ng-content>\r\n <div class=\"ax-text-avatar {{class}}\" *ngSwitchCase=\"'text'\">\r\n {{text}}\r\n </div>\r\n <div class=\"ax-icon-avatar {{class}}\" *ngSwitchCase=\"'icon'\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n </div>\r\n <div class=\"ax-image-avatar {{class}}\" *ngSwitchCase=\"'image'\">\r\n <ng-content select=\"img\"></ng-content>\r\n </div>\r\n <div class=\"ax-default-avatar {{class}}\" *ngSwitchCase=\"'default'\">\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 512 512\">\r\n <g style=\"isolation:isolate\">\r\n <g id=\"Layer_2\" data-name=\"Layer 2\">\r\n <g id=\"Layer_1-2\" data-name=\"Layer 1\">\r\n <rect width=\"512\" height=\"512\" />\r\n <path\r\n d=\"M419.16,511.94s-2.85-154-142.28-176.19a139.93,139.93,0,0,0-22-1.67h0a55.8,55.8,0,0,0-5.93.29C99.25,350.35,96.26,511.94,96.26,511.94\"\r\n style=\"fill:#fff;opacity:0.7\" />\r\n <path\r\n d=\"M256,355.18c-17.29,0-32.22-4.63-46.38-12.41-3.86,1.31-8.15,2.93-11.75,4.46A96.48,96.48,0,0,0,256,366.62a100.29,100.29,0,0,0,60.07-20c-3.6-1.49-6.41-2.55-10.27-3.83C291.48,350.79,273.58,355.18,256,355.18Z\"\r\n style=\"opacity:0.05\" />\r\n <circle cx=\"257.71\" cy=\"255.94\" r=\"99.24\" style=\"fill:#fff\" />\r\n </g>\r\n </g>\r\n </g>\r\n </svg>\r\n </div>\r\n</div>" }]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], icon: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], src: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], class: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], type: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], __host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AgIDwvc3ZnPlxyXG4gICAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXAvatarComponent } from './avatar.component';
|
|
4
|
+
import { AXAvatarGroup } from './avatar-group.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
const COMPONENT = [AXAvatarComponent, AXAvatarGroup];
|
|
7
|
+
const MODULES = [CommonModule];
|
|
8
|
+
export class AXAvatarModule {
|
|
9
|
+
}
|
|
10
|
+
AXAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
+
AXAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
|
12
|
+
AXAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarModule, imports: [MODULES] });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXAvatarModule, decorators: [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
declarations: [...COMPONENT],
|
|
17
|
+
imports: [...MODULES],
|
|
18
|
+
exports: [...COMPONENT],
|
|
19
|
+
providers: [],
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4u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20gJy4vYXZhdGFyLmNvbXBvbmVudCc7XHJcbmltcG9ydCB7IEFYQXZhdGFyR3JvdXAgfSBmcm9tICcuL2F2YXRhci1ncm91cC5jb21wb25lbnQnO1xyXG5cclxuY29uc3QgQ09NUE9ORU5UID0gW0FYQXZhdGFyQ29tcG9uZW50LCBBWEF2YXRhckdyb3VwXTtcclxuY29uc3QgTU9EVUxFUyA9IFtDb21tb25Nb2R1bGVdO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFsuLi5DT01QT05FTlRdLFxyXG4gIGltcG9ydHM6IFsuLi5NT0RVTEVTXSxcclxuICBleHBvcnRzOiBbLi4uQ09NUE9ORU5UXSxcclxuICBwcm92aWRlcnM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhBdmF0YXJNb2R1bGUge31cclxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtYmFkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9iYWRnZS9hY29yZXgtY29tcG9uZW50cy1iYWRnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './src/badge.component';
|
|
2
|
+
export * from './src/badge.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2JhZGdlL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvYmFkZ2UuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvYmFkZ2UubW9kdWxlJzsiXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _ColorLookComponentMixin, AXBaseComponent } from '@acorex/components/mixin';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
|
5
|
+
export class AXBadgeComponent extends AXBaseBadgeMixin {
|
|
6
|
+
constructor(elementRef, cdr) {
|
|
7
|
+
super(elementRef, cdr);
|
|
8
|
+
this.elementRef = elementRef;
|
|
9
|
+
this.text = '';
|
|
10
|
+
//TODO: ax-badge
|
|
11
|
+
}
|
|
12
|
+
get __hostClass() {
|
|
13
|
+
const _class = this.look
|
|
14
|
+
? `ax-${this.color}-${this.look}`
|
|
15
|
+
: `ax-${this.color}-default`;
|
|
16
|
+
return ['ax-badge', _class, !this.text ? 'ax-badge-icon' : ''].join(' ');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
AXBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
AXBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", look: "look", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
|
22
|
+
type: Component,
|
|
23
|
+
args: [{ selector: 'ax-badge', inputs: ['color', 'look',], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span class=\"ax-font-medium ax-truncate\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>" }]
|
|
24
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
25
|
+
type: Input
|
|
26
|
+
}], __hostClass: [{
|
|
27
|
+
type: HostBinding,
|
|
28
|
+
args: ['class']
|
|
29
|
+
}] } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvYmFkZ2Uvc3JjL2JhZGdlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3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cyBBWEJhZGdlQ29tcG9uZW50IGV4dGVuZHMgQVhCYXNlQmFkZ2VNaXhpbiB7XHJcbiAgQElucHV0KCkgdGV4dDogc3RyaW5nID0gJyc7XHJcblxyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZWxlbWVudFJlZjogRWxlbWVudFJlZiwgY2RyOiBDaGFuZ2VEZXRlY3RvclJlZikge1xyXG4gICAgc3VwZXIoZWxlbWVudFJlZiwgY2RyKTtcclxuICAgIC8vVE9ETzogYXgtYmFkZ2VcclxuICB9XHJcblxyXG4gIEBIb3N0QmluZGluZygnY2xhc3MnKVxyXG4gIHByaXZhdGUgZ2V0IF9faG9zdENsYXNzKCk6IHN0cmluZyB7XHJcbiAgICBjb25zdCBfY2xhc3MgPSB0aGlzLmxvb2tcclxuICAgICAgPyBgYXgtJHt0aGlzLmNvbG9yfS0ke3RoaXMubG9va31gXHJcbiAgICAgIDogYGF4LSR7dGhpcy5jb2xvcn0tZGVmYXVsdGA7XHJcblxyXG4gICAgcmV0dXJuIFsnYXgtYmFkZ2UnLCBfY2xhc3MsICF0aGlzLnRleHQgPyAnYXgtYmFkZ2UtaWNvbicgOiAnJ10uam9pbignICcpO1xyXG4gIH1cclxufVxyXG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJheC1wcmVmaXhcIj48L25nLWNvbnRlbnQ+XHJcbjxzcGFuIGNsYXNzPVwiYXgtZm9udC1tZWRpdW0gYXgtdHJ1bmNhdGVcIj57e3RleHR9fTwvc3Bhbj5cclxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4XCI+PC9uZy1jb250ZW50PiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXBadgeComponent } from './badge.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
const COMPONENT = [AXBadgeComponent];
|
|
6
|
+
const MODULES = [CommonModule];
|
|
7
|
+
export class AXBadgeModule {
|
|
8
|
+
}
|
|
9
|
+
AXBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
AXBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
|
11
|
+
AXBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeModule, imports: [MODULES] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBadgeModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [...COMPONENT],
|
|
16
|
+
imports: [...MODULES],
|
|
17
|
+
exports: [...COMPONENT],
|
|
18
|
+
providers: [],
|
|
19
|
+
}]
|
|
20
|
+
}] });
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvYmFkZ2Uvc3JjL2JhZGdlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUFFckQsTUFBTSxTQU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
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtYnJlYWRjcnVtYnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9icmVhZGNydW1icy9hY29yZXgtY29tcG9uZW50cy1icmVhZGNydW1icy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './src/breadcrumbs-item.class';
|
|
2
|
+
export * from './src/breadcrumbs-item.component';
|
|
3
|
+
export * from './src/breadcrumbs.component';
|
|
4
|
+
export * from './src/breadcrumbs.module';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL2JyZWFkY3J1bWJzLWl0ZW0uY2xhc3MnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9icmVhZGNydW1icy1pdGVtLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2JyZWFkY3J1bWJzLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2JyZWFkY3J1bWJzLm1vZHVsZSc7Il19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMtaXRlbS5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3NyYy9icmVhZGNydW1icy1pdGVtLmNsYXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEFYQnJlYWRjcnVtYnNJdGVtcyB7XHJcbiAgICBuYW1lPzogc3RyaW5nO1xyXG4gICAgaWNvbj86IHN0cmluZztcclxuICAgIHRleHQ6IHN0cmluZztcclxuICAgIHRvb2x0aXA/OiBzdHJpbmc7XHJcbiAgICBpY29uQ2xhc3M/OiBzdHJpbmc7XHJcbiAgICBkaXNhYmxlZD86IGJvb2xlYW47XHJcbiAgICBvbkNsaWNrPzogKC4uLmFyZ3MpID0+IHZvaWQ7XHJcbn0iXX0=
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
|
2
|
+
import { Component, HostListener, Inject, Input, Optional, } from '@angular/core';
|
|
3
|
+
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "./breadcrumbs.component";
|
|
7
|
+
export const AXBaseItemBreadCrumbMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
|
|
8
|
+
export class AXBreadCrumbsItemComponent extends AXBaseItemBreadCrumbMixin {
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
constructor(_elementRef, _cdr, _parent) {
|
|
13
|
+
super(_elementRef, _cdr);
|
|
14
|
+
this._parent = _parent;
|
|
15
|
+
}
|
|
16
|
+
__hostClick(e) {
|
|
17
|
+
this._emitOnClickEvent(e);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
AXBreadCrumbsItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXBreadCrumbsComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
AXBreadCrumbsItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text" }, host: { listeners: { "click": "__hostClick($event)" }, classAttribute: "ax-breadcrumbs-item" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span class=\"ax-breadcrumbs-item-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n\r\n\r\n\r\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'ax-breadcrumbs-item', host: { class: 'ax-breadcrumbs-item' }, template: "<ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<span class=\"ax-breadcrumbs-item-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix,ax-loading,ax-icon\">\r\n</ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n\r\n\r\n\r\n" }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i2.AXBreadCrumbsComponent, decorators: [{
|
|
26
|
+
type: Optional
|
|
27
|
+
}, {
|
|
28
|
+
type: Inject,
|
|
29
|
+
args: [AXBreadCrumbsComponent]
|
|
30
|
+
}] }]; }, propDecorators: { text: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], __hostClick: [{
|
|
33
|
+
type: HostListener,
|
|
34
|
+
args: ['click', ['$event']]
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMtaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9icmVhZGNydW1icy9zcmMvYnJlYWRjcnVtYnMtaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9icmVhZGNydW1icy9zcmMvYnJlYWRjcnVtYnMtaXRlbS5jb21wb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AgY29uc3RydWN0b3IoXHJcbiAgICBfZWxlbWVudFJlZjogRWxlbWVudFJlZixcclxuICAgIF9jZHI6IENoYW5nZURldGVjdG9yUmVmLFxyXG4gICAgQE9wdGlvbmFsKClcclxuICAgIEBJbmplY3QoQVhCcmVhZENydW1ic0NvbXBvbmVudClcclxuICAgIHB1YmxpYyBfcGFyZW50OiBBWEJyZWFkQ3J1bWJzQ29tcG9uZW50XHJcbiAgKSB7XHJcbiAgICBzdXBlcihfZWxlbWVudFJlZiwgX2Nkcik7XHJcbiAgfVxyXG5cclxuICBASG9zdExpc3RlbmVyKCdjbGljaycsIFsnJGV2ZW50J10pXHJcbiAgcHJpdmF0ZSBfX2hvc3RDbGljayhlOiBNb3VzZUV2ZW50KSB7XHJcbiAgICB0aGlzLl9lbWl0T25DbGlja0V2ZW50KGUpO1xyXG4gIH1cclxufVxyXG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJheC1wcmVmaXgsYXgtbG9hZGluZyxheC1pY29uXCI+XHJcbjwvbmctY29udGVudD5cclxuPHNwYW4gY2xhc3M9XCJheC1icmVhZGNydW1icy1pdGVtLXRleHRcIj57e3RleHR9fTwvc3Bhbj5cclxuPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtc3VmZml4LGF4LWxvYWRpbmcsYXgtaWNvblwiPlxyXG48L25nLWNvbnRlbnQ+XHJcbjxkaXYgY2xhc3M9XCJheC1icmVhZGNydW1iLWRpdmlkZXJcIj5cclxuICAgIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJfcGFyZW50LmRpdmlkZXJUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxyXG48L2Rpdj5cclxuXHJcblxyXG5cclxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AXBaseComponent } from '@acorex/components/mixin';
|
|
2
|
+
import { Component, ContentChild, ViewChild, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class AXBreadCrumbsComponent extends AXBaseComponent {
|
|
6
|
+
/**
|
|
7
|
+
* @ignore
|
|
8
|
+
*/
|
|
9
|
+
constructor(_elementRef, _cdr) {
|
|
10
|
+
super(_elementRef, _cdr);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
AXBreadCrumbsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadCrumbsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
+
AXBreadCrumbsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXBreadCrumbsComponent, selector: "ax-breadcrumbs", host: { classAttribute: "ax-breadcrumbs" }, queries: [{ propertyName: "_divider", first: true, predicate: ["divider"], descendants: true }], viewQueries: [{ propertyName: "dividerTemplate", first: true, predicate: ["dividerTpl"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>\r\n<ng-template #dividerTpl>\r\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\r\n <ng-template #default>\r\n <div class=\"ax-breadcrumb-divider\">/</div>\r\n </ng-template>\r\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'ax-breadcrumbs', host: { class: 'ax-breadcrumbs' }, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>\r\n<ng-template #dividerTpl>\r\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\r\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\r\n <ng-template #default>\r\n <div class=\"ax-breadcrumb-divider\">/</div>\r\n </ng-template>\r\n</ng-template>" }]
|
|
18
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _divider: [{
|
|
19
|
+
type: ContentChild,
|
|
20
|
+
args: ['divider']
|
|
21
|
+
}], dividerTemplate: [{
|
|
22
|
+
type: ViewChild,
|
|
23
|
+
args: ['dividerTpl']
|
|
24
|
+
}] } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvc3JjL2JyZWFkY3J1bWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3NyYy9icmVhZGNydW1icy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDM0QsT0FBTyxFQUVMLFNBQVMsRUFDVCxZQUFZLEVBR1osU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFDOzs7QUFPdkIsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGVBQWU7SUFNekQ7O09BRUc7SUFDSCxZQUFZLFdBQXVCLE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ZVJlZjxhbnk+O1xyXG4gIC8qKlxyXG4gICAqICBAaWdub3JlXHJcbiAgICovXHJcbiAgY29uc3RydWN0b3IoX2VsZW1lbnRSZWY6IEVsZW1lbnRSZWYsIF9jZHI6IENoYW5nZURldGVjdG9yUmVmKSB7XHJcbiAgICBzdXBlcihfZWxlbWVudFJlZiwgX2Nkcik7XHJcbiAgfVxyXG59XHJcbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImF4LWJyZWFkY3J1bWJzLWl0ZW1cIj48L25nLWNvbnRlbnQ+XHJcbjxuZy10ZW1wbGF0ZSAjZGl2aWRlclRwbD5cclxuICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiZGVmYXVsdFwiICpuZ0lmPVwiIV9kaXZpZGVyXCI+PC9uZy1jb250YWluZXI+XHJcbiAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cIl9kaXZpZGVyXCIgKm5nSWY9XCJfZGl2aWRlclwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJheC1icmVhZGNydW1iLWRpdmlkZXJcIj4vPC9kaXY+XHJcbiAgICA8L25nLXRlbXBsYXRlPlxyXG48L25nLXRlbXBsYXRlPiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
|
4
|
+
import { AXBreadCrumbsItemComponent } from './breadcrumbs-item.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class AXBreadcrumbsModule {
|
|
7
|
+
}
|
|
8
|
+
AXBreadcrumbsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
AXBreadcrumbsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
|
|
10
|
+
AXBreadcrumbsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadcrumbsModule, imports: [CommonModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
|
17
|
+
providers: [],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvc3JjL2JyZWFkY3J1bWJzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsMEJBQ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JcbiAgcHJvdmlkZXJzOiBbXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIEFYQnJlYWRjcnVtYnNNb2R1bGUge31cclxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvYnV0dG9uL2Fjb3JleC1jb21wb25lbnRzLWJ1dHRvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './src/button.component';
|
|
2
|
+
export * from './src/button-group.component';
|
|
3
|
+
export * from './src/button-item.component';
|
|
4
|
+
export * from './src/button.module';
|
|
5
|
+
export * from './src/button-item.class';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2J1dHRvbi9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3JjL2J1dHRvbi5jb21wb25lbnQnO1xyXG5leHBvcnQgKiBmcm9tICcuL3NyYy9idXR0b24tZ3JvdXAuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvYnV0dG9uLWl0ZW0uY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9zcmMvYnV0dG9uLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2J1dHRvbi1pdGVtLmNsYXNzJzsiXX0=
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { AXButtonComponent } from './button.component';
|
|
3
|
+
import { _InteractiveComponenetMixin, _ColorLookComponentMixin, AXBaseComponent, } from '@acorex/components/mixin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export const AXBaseButtonGroupMixin = _InteractiveComponenetMixin(_ColorLookComponentMixin(AXBaseComponent));
|
|
6
|
+
export class AXButtonGroupComponent extends AXBaseButtonGroupMixin {
|
|
7
|
+
constructor(elementRef, zone, cdr) {
|
|
8
|
+
super(elementRef, cdr);
|
|
9
|
+
this.zone = zone;
|
|
10
|
+
this.selectionChange = new EventEmitter();
|
|
11
|
+
this.onItemClick = new EventEmitter();
|
|
12
|
+
this.onValueChanged = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
get selection() {
|
|
15
|
+
return this._selection;
|
|
16
|
+
}
|
|
17
|
+
set selection(value) {
|
|
18
|
+
value = this._onOptionChanging({ name: 'selection', value: value });
|
|
19
|
+
const oldValue = this.selection;
|
|
20
|
+
if (value != oldValue) {
|
|
21
|
+
this._selection = value;
|
|
22
|
+
this.selectionChange.emit(value);
|
|
23
|
+
this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
ngAfterContentInit() {
|
|
27
|
+
this._bindEvents();
|
|
28
|
+
this._bindProps();
|
|
29
|
+
this._contentButtons.changes.subscribe(() => {
|
|
30
|
+
this._bindEvents();
|
|
31
|
+
this._bindProps();
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
_bindEvents() {
|
|
35
|
+
this._contentButtons?.forEach((b) => {
|
|
36
|
+
if (!b.onClick.length)
|
|
37
|
+
b.onClick.subscribe((c) => {
|
|
38
|
+
this._handleClickEvent(c, b);
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
_bindProps() {
|
|
43
|
+
this._contentButtons?.forEach((b) => {
|
|
44
|
+
b.look = this.look ?? this.look;
|
|
45
|
+
b.color = this.color ?? this.color;
|
|
46
|
+
b.disabled = b.disabled ?? this.disabled;
|
|
47
|
+
b.toggleable = false;
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
onOptionChanged(option) {
|
|
51
|
+
this._bindProps();
|
|
52
|
+
}
|
|
53
|
+
_handleClickEvent(e, button) {
|
|
54
|
+
if (this.selection == 'multiple') {
|
|
55
|
+
button.selected = !button.selected;
|
|
56
|
+
}
|
|
57
|
+
else if (this.selection == 'single') {
|
|
58
|
+
this._contentButtons.forEach((c) => {
|
|
59
|
+
c.selected = false;
|
|
60
|
+
});
|
|
61
|
+
button.selected = true;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
button.selected = false;
|
|
65
|
+
}
|
|
66
|
+
this.onItemClick.emit({
|
|
67
|
+
component: this,
|
|
68
|
+
htmlElement: e.htmlElement,
|
|
69
|
+
item: button,
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
AXButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
+
AXButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { disabled: "disabled", tabIndex: "tabIndex", color: "color", look: "look", selection: "selection" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", lookChange: "lookChange", colorChange: "colorChange", selectionChange: "selectionChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" }, classAttribute: "ax-button-group" }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\">\r\n</ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
|
|
76
|
+
type: Component,
|
|
77
|
+
args: [{ selector: 'ax-button-group', inputs: ['disabled', 'tabIndex', 'color', 'look'], outputs: ['onBlur', 'onFocus', 'lookChange', 'colorChange'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-button-group', role: 'group' }, template: "<ng-content select=\"ax-button\">\r\n</ng-content>" }]
|
|
78
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
|
|
79
|
+
type: Output
|
|
80
|
+
}], selection: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], onItemClick: [{
|
|
83
|
+
type: Output
|
|
84
|
+
}], _contentButtons: [{
|
|
85
|
+
type: ContentChildren,
|
|
86
|
+
args: [AXButtonComponent, { descendants: true }]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vbW1vbic7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYQ2xpY2tJdGVtQmFzZSB7XHJcbiAgY3NzQ2xhc3M/OiBzdHJpbmc7XHJcbiAgY29sb3I/OiBBWFN0eWxlQ29sb3JUeXBlO1xyXG4gIGxvb2s/OiBBWFN0eWxlTG9va1R5cGU7XHJcbiAgdGV4dD86IHN0cmluZztcclxuICB0b29sdGlwPzogc3RyaW5nO1xyXG4gIGljb25DbGFzcz86IHN0cmluZztcclxuICBiYWRnZT86IHN0cmluZztcclxuICBkaXNhYmxlZD86IGJvb2xlYW47XHJcbiAgc2VsZWN0ZWQ/OiBib29sZWFuO1xyXG4gIHNlcGVyYXRlZD86IGJvb2xlYW47XHJcbiAgbmFtZT86IHN0cmluZztcclxuICBkYXRhPzogYW55O1xyXG4gIG9uQ2xpY2s/OiAoLi4uYXJnczogYW55KSA9PiB2b2lkO1xyXG4gIGhvdGtleT86IHN0cmluZyB8IEFYSG90S2V5QWN0aW9uO1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgQVhCdXR0b25JdGVtIGV4dGVuZHMgQVhDbGlja0l0ZW1CYXNlIHtcclxuICB0eXBlPzogJ3N1Ym1pdCcgfCAnYnV0dG9uJyB8ICdjYW5jZWwnIHwgJ3Jlc2V0JztcclxuICBhdXRvZm9jdXM/OiBib29sZWFuO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEFYTWVudUl0ZW0gZXh0ZW5kcyBBWENsaWNrSXRlbUJhc2Uge31cclxuIl19
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, HostListener, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
|
|
6
|
+
export class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
|
7
|
+
/**
|
|
8
|
+
* @ignore
|
|
9
|
+
*/
|
|
10
|
+
constructor(elementRef, cdr) {
|
|
11
|
+
super(elementRef, cdr);
|
|
12
|
+
this.text = '';
|
|
13
|
+
this.tooltip = '';
|
|
14
|
+
this.selected = false;
|
|
15
|
+
this.seperated = false;
|
|
16
|
+
this.color = 'light';
|
|
17
|
+
}
|
|
18
|
+
__hostClick(e) {
|
|
19
|
+
this._emitOnClickEvent(e);
|
|
20
|
+
}
|
|
21
|
+
get __hostClass() {
|
|
22
|
+
const cssClasses = {
|
|
23
|
+
'ax-button-icon': !this.text,
|
|
24
|
+
'ax-state-disabled': this.disabled,
|
|
25
|
+
'ax-state-selected': this.selected,
|
|
26
|
+
};
|
|
27
|
+
cssClasses[`ax-${this.color || 'primary'}-default`] = true;
|
|
28
|
+
return Object.entries(cssClasses)
|
|
29
|
+
.filter((c) => c[1])
|
|
30
|
+
.map((c) => c[0])
|
|
31
|
+
.join(' ');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
AXButtonItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
AXButtonItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, classAttribute: "ax-button-item" }, usesInheritance: true, ngImport: i0, template: `
|
|
36
|
+
<ng-content select="ax-prefix"> </ng-content>
|
|
37
|
+
<ng-content select="ax-icon"> </ng-content>
|
|
38
|
+
<span *ngIf="text">{{ text }}</span>
|
|
39
|
+
<ng-content select="ax-suffix"> </ng-content>
|
|
40
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
|
42
|
+
type: Component,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: 'ax-button-item',
|
|
45
|
+
template: `
|
|
46
|
+
<ng-content select="ax-prefix"> </ng-content>
|
|
47
|
+
<ng-content select="ax-icon"> </ng-content>
|
|
48
|
+
<span *ngIf="text">{{ text }}</span>
|
|
49
|
+
<ng-content select="ax-suffix"> </ng-content>
|
|
50
|
+
`,
|
|
51
|
+
host: { class: 'ax-button-item' },
|
|
52
|
+
encapsulation: ViewEncapsulation.None,
|
|
53
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], tooltip: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], selected: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], seperated: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], name: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], data: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], color: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], __hostClick: [{
|
|
70
|
+
type: HostListener,
|
|
71
|
+
args: ['click', ['$event']]
|
|
72
|
+
}], __hostClass: [{
|
|
73
|
+
type: HostBinding,
|
|
74
|
+
args: ['class']
|
|
75
|
+
}] } });
|
|
76
|
+
//# sourceMappingURL=data:application/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F0ZSBfX2hvc3RDbGljayhlOiBNb3VzZUV2ZW50KSB7XHJcbiAgICB0aGlzLl9lbWl0T25DbGlja0V2ZW50KGUpO1xyXG4gIH1cclxuXHJcbiAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXHJcbiAgcHJpdmF0ZSBnZXQgX19ob3N0Q2xhc3MoKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IGNzc0NsYXNzZXM6IGFueSA9IHtcclxuICAgICAgJ2F4LWJ1dHRvbi1pY29uJzogIXRoaXMudGV4dCxcclxuICAgICAgJ2F4LXN0YXRlLWRpc2FibGVkJzogdGhpcy5kaXNhYmxlZCxcclxuICAgICAgJ2F4LXN0YXRlLXNlbGVjdGVkJzogdGhpcy5zZWxlY3RlZCxcclxuICAgIH07XHJcbiAgICBjc3NDbGFzc2VzW2BheC0ke3RoaXMuY29sb3IgfHwgJ3ByaW1hcnknfS1kZWZhdWx0YF0gPSB0cnVlO1xyXG4gICAgcmV0dXJuIE9iamVjdC5lbnRyaWVzKGNzc0NsYXNzZXMpXHJcbiAgICAgIC5maWx0ZXIoKGMpID0+IGNbMV0pXHJcbiAgICAgIC5tYXAoKGMpID0+IGNbMF0pXHJcbiAgICAgIC5qb2luKCcgJyk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { AXComponent, AXFocusableComponent } from '@acorex/components/common';
|
|
3
|
+
import { AXBaseButtonMixin, } from '@acorex/components/mixin';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
/**
|
|
7
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
|
8
|
+
*
|
|
9
|
+
* @category Components
|
|
10
|
+
*/
|
|
11
|
+
export class AXButtonComponent extends AXBaseButtonMixin {
|
|
12
|
+
/**
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
15
|
+
constructor(elementRef, cdr) {
|
|
16
|
+
super(elementRef, cdr);
|
|
17
|
+
}
|
|
18
|
+
onViewInit() {
|
|
19
|
+
this._getHostElement().removeAttribute('tabindex');
|
|
20
|
+
}
|
|
21
|
+
_emitOnClickEvent(e) {
|
|
22
|
+
if (this.disabled)
|
|
23
|
+
return;
|
|
24
|
+
if (this.toggleable) {
|
|
25
|
+
this.selected = !this.selected;
|
|
26
|
+
}
|
|
27
|
+
super._emitOnClickEvent(e);
|
|
28
|
+
}
|
|
29
|
+
click() {
|
|
30
|
+
this._getInnerElement().click();
|
|
31
|
+
}
|
|
32
|
+
get __hostClass() {
|
|
33
|
+
return Object.entries(this._classes)
|
|
34
|
+
.filter((c) => c[1])
|
|
35
|
+
.map((c) => c[0]);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
AXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
AXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXButtonComponent, selector: "ax-button", inputs: { disabled: "disabled", size: "size", tabIndex: "tabIndex", color: "color", look: "look", text: "text", toggleable: "toggleable", selected: "selected" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange", lookChange: "lookChange", colorChange: "colorChange" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-button" }, providers: [
|
|
40
|
+
{ provide: AXComponent, useExisting: AXButtonComponent },
|
|
41
|
+
{ provide: AXFocusableComponent, useExisting: AXButtonComponent },
|
|
42
|
+
], usesInheritance: true, ngImport: i0, template: "<button [disabled]=\"disabled\" [attr.tabindex]=\"tabIndex\" (click)=\"_emitOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" type=\"button\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\" >{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXButtonComponent, decorators: [{
|
|
44
|
+
type: Component,
|
|
45
|
+
args: [{ selector: 'ax-button', inputs: [
|
|
46
|
+
'disabled',
|
|
47
|
+
'size',
|
|
48
|
+
'tabIndex',
|
|
49
|
+
'color',
|
|
50
|
+
'look',
|
|
51
|
+
'text',
|
|
52
|
+
'toggleable',
|
|
53
|
+
'selected',
|
|
54
|
+
], outputs: [
|
|
55
|
+
'onBlur',
|
|
56
|
+
'onFocus',
|
|
57
|
+
'onClick',
|
|
58
|
+
'selectedChange',
|
|
59
|
+
'toggleableChange',
|
|
60
|
+
'lookChange',
|
|
61
|
+
'colorChange',
|
|
62
|
+
], host: { class: 'ax-button' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
|
63
|
+
{ provide: AXComponent, useExisting: AXButtonComponent },
|
|
64
|
+
{ provide: AXFocusableComponent, useExisting: AXButtonComponent },
|
|
65
|
+
], template: "<button [disabled]=\"disabled\" [attr.tabindex]=\"tabIndex\" (click)=\"_emitOnClickEvent($event)\"\r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" type=\"button\">\r\n <ng-content select=\"ax-prefix,ax-loading,ax-icon\">\r\n </ng-content>\r\n <span *ngIf=\"text\" >{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button>" }]
|
|
66
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
|
|
67
|
+
type: HostBinding,
|
|
68
|
+
args: ['class']
|
|
69
|
+
}] } });
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2J1dHRvbi9zcmMvYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2J1dHRvbi9zcmMvYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUVULFdBQVcsRUFDWCxpQkFBaUIsR0FDbEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFdBQVcsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlFLE9BQU8sRUFDTCxpQkFBaUIsR0FDbEIsTUFBTSwwQkFBMEIsQ0FBQzs7O0FBRWxDOzs7O0dBSUc7QUErQkgsTUFBTSxPQUFPLGlCQUFrQixTQUFRLGlCQUFpQjtJQUN0RDs7T0FFRztJQUNILFlBQVksVUFBc0IsRUFBRSxHQUFzQjtRQUN4RCxLQUFLLENBQUMsVUFBVSxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBQ3pCLENBQUM7SUFFRCxVQUFVO1FBQ1IsSUFBSSxDQUFDL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