@acorex/components 7.0.41 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/index.d.ts +5 -5
- package/action-sheet/public-api.d.ts +3 -3
- package/action-sheet/src/action-sheet.component.d.ts +25 -25
- package/action-sheet/src/action-sheet.interface.d.ts +20 -20
- package/action-sheet/src/action-sheet.module.d.ts +14 -14
- package/action-sheet/src/action-sheet.service.d.ts +13 -13
- package/alert/index.d.ts +5 -5
- package/alert/public-api.d.ts +2 -2
- package/alert/src/alert.component.d.ts +88 -88
- package/alert/src/alert.module.d.ts +9 -9
- package/avatar/index.d.ts +5 -5
- package/avatar/public-api.d.ts +3 -3
- package/avatar/src/avatar-group.component.d.ts +8 -8
- package/avatar/src/avatar.component.d.ts +20 -20
- package/avatar/src/avatar.module.d.ts +9 -9
- package/badge/index.d.ts +5 -5
- package/badge/public-api.d.ts +2 -2
- package/badge/src/badge.component.d.ts +41 -41
- package/badge/src/badge.module.d.ts +8 -8
- package/breadcrumbs/index.d.ts +5 -5
- package/breadcrumbs/public-api.d.ts +4 -4
- package/breadcrumbs/src/breadcrumbs-item.class.d.ts +9 -9
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +77 -79
- package/breadcrumbs/src/breadcrumbs.component.d.ts +13 -13
- package/breadcrumbs/src/breadcrumbs.module.d.ts +9 -9
- package/button/index.d.ts +5 -5
- package/button/public-api.d.ts +5 -5
- package/button/src/button-group.component.d.ts +86 -86
- package/button/src/button-item.class.d.ts +24 -24
- package/button/src/button-item.component.d.ts +82 -80
- package/button/src/button.component.d.ts +23 -23
- package/button/src/button.module.d.ts +11 -11
- package/calendar/index.d.ts +5 -5
- package/calendar/public-api.d.ts +4 -3
- package/calendar/src/calendar-range.component.d.ts +29 -0
- package/calendar/src/calendar.class.d.ts +100 -51
- package/calendar/src/calendar.component.d.ts +44 -51
- package/calendar/src/calendar.module.d.ts +10 -9
- package/card/index.d.ts +5 -5
- package/card/public-api.d.ts +2 -2
- package/card/src/card.component.d.ts +10 -10
- package/card/src/card.module.d.ts +8 -8
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public-api.d.ts +2 -2
- package/checkbox/src/checkbox.component.d.ts +12 -12
- package/checkbox/src/checkbox.module.d.ts +10 -10
- package/chips/index.d.ts +5 -5
- package/chips/public-api.d.ts +2 -2
- package/chips/src/chips.component.d.ts +72 -72
- package/chips/src/chips.module.d.ts +8 -8
- package/collapse/index.d.ts +5 -5
- package/collapse/public-api.d.ts +3 -3
- package/collapse/src/collapse-group.component.d.ts +15 -15
- package/collapse/src/collapse.component.d.ts +17 -17
- package/collapse/src/collapse.module.d.ts +9 -9
- package/color-palette/index.d.ts +5 -5
- package/color-palette/public-api.d.ts +7 -7
- package/color-palette/src/color-palette-input.component.d.ts +22 -22
- package/color-palette/src/color-palette-picker.component.d.ts +32 -32
- package/color-palette/src/color-palette-preview.component.d.ts +11 -11
- package/color-palette/src/color-palette-swatches.component.d.ts +18 -18
- package/color-palette/src/color-palette.class.d.ts +22 -22
- package/color-palette/src/color-palette.component.d.ts +16 -16
- package/color-palette/src/color-palette.module.d.ts +19 -19
- package/color-picker/index.d.ts +5 -5
- package/color-picker/public-api.d.ts +2 -2
- package/color-picker/src/color-picker.component.d.ts +190 -190
- package/color-picker/src/color-picker.module.d.ts +18 -18
- package/common/index.d.ts +5 -5
- package/common/public-api.d.ts +16 -15
- package/common/src/classes/components.class.d.ts +62 -62
- package/common/src/classes/data.class.d.ts +4 -0
- package/common/src/classes/drawing.class.d.ts +9 -9
- package/common/src/classes/events.class.d.ts +95 -86
- package/common/src/classes/styles.class.d.ts +17 -17
- package/common/src/common.module.d.ts +11 -11
- package/common/src/components/base-component.class.d.ts +28 -31
- package/common/src/components/button-base-component.class.d.ts +36 -36
- package/common/src/components/color-component.class.d.ts +15 -15
- package/common/src/components/colorlook-component.class.d.ts +9 -9
- package/common/src/components/index.d.ts +7 -6
- package/common/src/components/interactive-component.class.d.ts +37 -37
- package/common/src/components/look-component.class.d.ts +15 -15
- package/common/src/components/value-component.class.d.ts +45 -0
- package/common/src/constant/positions.d.ts +75 -75
- package/common/src/directives/auto-focus.directive.d.ts +13 -13
- package/common/src/directives/debounce-time.directive.d.ts +17 -17
- package/common/src/directives/hotkey.directive.d.ts +22 -22
- package/common/src/directives/infinite-scroll.directive.d.ts +25 -25
- package/common/src/directives/responsive.directive.d.ts +10 -10
- package/common/src/services/custom-cdk-overlay.service.d.ts +19 -19
- package/common/src/services/hotkey.service.d.ts +17 -17
- package/common/src/services/overlay.service.d.ts +34 -34
- package/context-menu/index.d.ts +5 -5
- package/context-menu/public-api.d.ts +2 -2
- package/context-menu/src/context-menu.component.d.ts +34 -34
- package/context-menu/src/context-menu.module.d.ts +13 -13
- package/data-pager/index.d.ts +5 -5
- package/data-pager/public-api.d.ts +9 -9
- package/data-pager/src/data-pager-base.component.d.ts +49 -49
- package/data-pager/src/data-pager-info.component.d.ts +15 -15
- package/data-pager/src/data-pager-input-selector.component.d.ts +15 -15
- package/data-pager/src/data-pager-next-buttons.components.d.ts +16 -16
- package/data-pager/src/data-pager-numeric-selector.component.d.ts +18 -18
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +18 -18
- package/data-pager/src/data-pager-prev-buttons.component.d.ts +15 -15
- package/data-pager/src/data-pager.component.d.ts +35 -35
- package/data-pager/src/data-pager.module.d.ts +18 -18
- package/data-table/index.d.ts +5 -5
- package/data-table/public-api.d.ts +4 -4
- package/data-table/src/data-column-cell-template.directive.d.ts +8 -8
- package/data-table/src/data-column.directive.d.ts +16 -16
- package/data-table/src/data-table.component.d.ts +37 -37
- package/data-table/src/data-table.module.d.ts +14 -14
- package/date-picker/index.d.ts +5 -5
- package/date-picker/public-api.d.ts +2 -2
- package/date-picker/src/datepicker.component.d.ts +154 -154
- package/date-picker/src/datepicker.module.d.ts +15 -15
- package/decorators/index.d.ts +5 -5
- package/decorators/public-api.d.ts +14 -14
- package/decorators/src/close-button.component.d.ts +14 -14
- package/decorators/src/content.component.d.ts +8 -8
- package/decorators/src/decorators.module.d.ts +20 -20
- package/decorators/src/footer.component.d.ts +8 -8
- package/decorators/src/form-hint.component.d.ts +8 -8
- package/decorators/src/header.component.d.ts +8 -8
- package/decorators/src/icon.component.d.ts +10 -10
- package/decorators/src/overlay.component.d.ts +6 -6
- package/decorators/src/placeholder.component.d.ts +5 -5
- package/decorators/src/prefix.component.d.ts +8 -8
- package/decorators/src/sub-title.component.d.ts +9 -9
- package/decorators/src/suffix.component.d.ts +8 -8
- package/decorators/src/text.component.d.ts +9 -9
- package/decorators/src/title.component.d.ts +8 -8
- package/dialog/index.d.ts +5 -5
- package/dialog/public-api.d.ts +4 -4
- package/dialog/src/dialog.class.d.ts +13 -13
- package/dialog/src/dialog.component.d.ts +16 -16
- package/dialog/src/dialog.module.d.ts +14 -14
- package/dialog/src/dialog.service.d.ts +38 -38
- package/drawer/index.d.ts +5 -5
- package/drawer/public-api.d.ts +3 -3
- package/drawer/src/drawer-container.component.d.ts +10 -10
- package/drawer/src/drawer.component.d.ts +36 -36
- package/drawer/src/drawer.module.d.ts +9 -9
- package/dropdown/index.d.ts +5 -5
- package/dropdown/public-api.d.ts +2 -2
- package/dropdown/src/dropdown-panel.component.d.ts +30 -30
- package/dropdown/src/dropdown.module.d.ts +14 -14
- package/esm2022/acorex-components.mjs +5 -0
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +5 -0
- package/esm2022/action-sheet/public-api.mjs +4 -0
- package/esm2022/action-sheet/src/action-sheet.component.mjs +81 -0
- package/esm2022/action-sheet/src/action-sheet.interface.mjs +3 -0
- package/esm2022/action-sheet/src/action-sheet.module.mjs +27 -0
- package/esm2022/action-sheet/src/action-sheet.service.mjs +94 -0
- package/esm2022/alert/acorex-components-alert.mjs +5 -0
- package/esm2022/alert/public-api.mjs +3 -0
- package/esm2022/alert/src/alert.component.mjs +189 -0
- package/esm2022/alert/src/alert.module.mjs +23 -0
- package/esm2022/avatar/acorex-components-avatar.mjs +5 -0
- package/esm2022/avatar/public-api.mjs +4 -0
- package/esm2022/avatar/src/avatar-group.component.mjs +17 -0
- package/esm2022/avatar/src/avatar.component.mjs +44 -0
- package/esm2022/avatar/src/avatar.module.mjs +23 -0
- package/esm2022/badge/acorex-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/badge/src/badge.component.mjs +29 -0
- package/esm2022/badge/src/badge.module.mjs +22 -0
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
- package/esm2022/breadcrumbs/public-api.mjs +5 -0
- package/esm2022/breadcrumbs/src/breadcrumbs-item.class.mjs +2 -0
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +51 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +28 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +21 -0
- package/esm2022/button/acorex-components-button.mjs +5 -0
- package/esm2022/button/public-api.mjs +6 -0
- package/esm2022/button/src/button-group.component.mjs +92 -0
- package/esm2022/button/src/button-item.class.mjs +2 -0
- package/esm2022/button/src/button-item.component.mjs +80 -0
- package/esm2022/button/src/button.component.mjs +79 -0
- package/esm2022/button/src/button.module.mjs +33 -0
- package/esm2022/calendar/acorex-components-calendar.mjs +5 -0
- package/esm2022/calendar/public-api.mjs +5 -0
- package/esm2022/calendar/src/calendar-range.component.mjs +175 -0
- package/esm2022/calendar/src/calendar.class.mjs +282 -0
- package/esm2022/calendar/src/calendar.component.mjs +373 -0
- package/esm2022/calendar/src/calendar.module.mjs +24 -0
- package/esm2022/card/acorex-components-card.mjs +5 -0
- package/esm2022/card/public-api.mjs +3 -0
- package/esm2022/card/src/card.component.mjs +19 -0
- package/esm2022/card/src/card.module.mjs +20 -0
- package/esm2022/checkbox/acorex-components-checkbox.mjs +5 -0
- package/esm2022/checkbox/public-api.mjs +3 -0
- package/esm2022/checkbox/src/checkbox.component.mjs +43 -0
- package/esm2022/checkbox/src/checkbox.module.mjs +22 -0
- package/esm2022/chips/acorex-components-chips.mjs +5 -0
- package/esm2022/chips/public-api.mjs +3 -0
- package/esm2022/chips/src/chips.component.mjs +34 -0
- package/esm2022/chips/src/chips.module.mjs +20 -0
- package/esm2022/collapse/acorex-components-collapse.mjs +5 -0
- package/esm2022/collapse/public-api.mjs +4 -0
- package/esm2022/collapse/src/collapse-group.component.mjs +53 -0
- package/esm2022/collapse/src/collapse.component.mjs +48 -0
- package/esm2022/collapse/src/collapse.module.mjs +21 -0
- package/esm2022/color-palette/acorex-components-color-palette.mjs +5 -0
- package/esm2022/color-palette/public-api.mjs +8 -0
- package/esm2022/color-palette/src/color-palette-input.component.mjs +131 -0
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +160 -0
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +63 -0
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +305 -0
- package/esm2022/color-palette/src/color-palette.class.mjs +19 -0
- package/esm2022/color-palette/src/color-palette.component.mjs +76 -0
- package/esm2022/color-palette/src/color-palette.module.mjs +61 -0
- package/esm2022/color-picker/acorex-components-color-picker.mjs +5 -0
- package/esm2022/color-picker/public-api.mjs +3 -0
- package/esm2022/color-picker/src/color-picker.component.mjs +120 -0
- package/esm2022/color-picker/src/color-picker.module.mjs +62 -0
- package/esm2022/common/acorex-components-common.mjs +5 -0
- package/esm2022/common/public-api.mjs +17 -0
- package/esm2022/common/src/classes/components.class.mjs +78 -0
- package/esm2022/common/src/classes/data.class.mjs +2 -0
- package/esm2022/common/src/classes/drawing.class.mjs +2 -0
- package/esm2022/common/src/classes/events.class.mjs +96 -0
- package/esm2022/common/src/classes/styles.class.mjs +13 -0
- package/esm2022/common/src/common.module.mjs +43 -0
- package/esm2022/common/src/components/base-component.class.mjs +57 -0
- package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
- package/esm2022/common/src/components/color-component.class.mjs +27 -0
- package/esm2022/common/src/components/colorlook-component.class.mjs +11 -0
- package/esm2022/common/src/components/index.mjs +8 -0
- package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
- package/esm2022/common/src/components/look-component.class.mjs +27 -0
- package/esm2022/common/src/components/value-component.class.mjs +207 -0
- package/esm2022/common/src/constant/positions.mjs +75 -0
- package/esm2022/common/src/directives/auto-focus.directive.mjs +58 -0
- package/esm2022/common/src/directives/debounce-time.directive.mjs +50 -0
- package/esm2022/common/src/directives/hotkey.directive.mjs +83 -0
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +70 -0
- package/esm2022/common/src/directives/responsive.directive.mjs +36 -0
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +52 -0
- package/esm2022/common/src/services/hotkey.service.mjs +41 -0
- package/esm2022/common/src/services/overlay.service.mjs +116 -0
- package/esm2022/context-menu/acorex-components-context-menu.mjs +5 -0
- package/esm2022/context-menu/public-api.mjs +3 -0
- package/esm2022/context-menu/src/context-menu.component.mjs +271 -0
- package/esm2022/context-menu/src/context-menu.module.mjs +37 -0
- package/esm2022/data-pager/acorex-components-data-pager.mjs +5 -0
- package/esm2022/data-pager/public-api.mjs +10 -0
- package/esm2022/data-pager/src/data-pager-base.component.mjs +37 -0
- package/esm2022/data-pager/src/data-pager-info.component.mjs +62 -0
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +54 -0
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +67 -0
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +101 -0
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +89 -0
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +62 -0
- package/esm2022/data-pager/src/data-pager.component.mjs +147 -0
- package/esm2022/data-pager/src/data-pager.module.mjs +52 -0
- package/esm2022/data-table/acorex-components-data-table.mjs +5 -0
- package/esm2022/data-table/public-api.mjs +5 -0
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +19 -0
- package/esm2022/data-table/src/data-column.directive.mjs +51 -0
- package/esm2022/data-table/src/data-table.component.mjs +140 -0
- package/esm2022/data-table/src/data-table.module.mjs +28 -0
- package/esm2022/date-picker/acorex-components-date-picker.mjs +5 -0
- package/esm2022/date-picker/public-api.mjs +3 -0
- package/esm2022/date-picker/src/datepicker.component.mjs +241 -0
- package/esm2022/date-picker/src/datepicker.module.mjs +45 -0
- package/esm2022/decorators/acorex-components-decorators.mjs +5 -0
- package/esm2022/decorators/public-api.mjs +15 -0
- package/esm2022/decorators/src/close-button.component.mjs +52 -0
- package/esm2022/decorators/src/content.component.mjs +22 -0
- package/esm2022/decorators/src/decorators.module.mjs +72 -0
- package/esm2022/decorators/src/footer.component.mjs +30 -0
- package/esm2022/decorators/src/form-hint.component.mjs +21 -0
- package/esm2022/decorators/src/header.component.mjs +30 -0
- package/esm2022/decorators/src/icon.component.mjs +31 -0
- package/esm2022/decorators/src/overlay.component.mjs +21 -0
- package/esm2022/decorators/src/placeholder.component.mjs +15 -0
- package/esm2022/decorators/src/prefix.component.mjs +22 -0
- package/esm2022/decorators/src/sub-title.component.mjs +28 -0
- package/esm2022/decorators/src/suffix.component.mjs +22 -0
- package/esm2022/decorators/src/text.component.mjs +23 -0
- package/esm2022/decorators/src/title.component.mjs +21 -0
- package/esm2022/dialog/acorex-components-dialog.mjs +5 -0
- package/esm2022/dialog/public-api.mjs +5 -0
- package/esm2022/dialog/src/dialog.class.mjs +2 -0
- package/esm2022/dialog/src/dialog.component.mjs +56 -0
- package/esm2022/dialog/src/dialog.module.mjs +28 -0
- package/esm2022/dialog/src/dialog.service.mjs +155 -0
- package/esm2022/drawer/acorex-components-drawer.mjs +5 -0
- package/esm2022/drawer/public-api.mjs +4 -0
- package/esm2022/drawer/src/drawer-container.component.mjs +39 -0
- package/esm2022/drawer/src/drawer.component.mjs +145 -0
- package/esm2022/drawer/src/drawer.module.mjs +23 -0
- package/esm2022/dropdown/acorex-components-dropdown.mjs +5 -0
- package/esm2022/dropdown/public-api.mjs +3 -0
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +106 -0
- package/esm2022/dropdown/src/dropdown.module.mjs +26 -0
- package/esm2022/form/acorex-components-form.mjs +5 -0
- package/esm2022/form/public-api.mjs +7 -0
- package/esm2022/form/src/form-field.component.mjs +16 -0
- package/esm2022/form/src/form.component.mjs +164 -0
- package/esm2022/form/src/form.module.mjs +64 -0
- package/esm2022/form/src/validation-rule.widget.mjs +114 -0
- package/esm2022/form/src/validation-summary.component.mjs +110 -0
- package/esm2022/form/src/validation.class.mjs +2 -0
- package/esm2022/image/acorex-components-image.mjs +5 -0
- package/esm2022/image/public-api.mjs +3 -0
- package/esm2022/image/src/image.component.mjs +80 -0
- package/esm2022/image/src/image.module.mjs +20 -0
- package/esm2022/label/acorex-components-label.mjs +5 -0
- package/esm2022/label/public-api.mjs +3 -0
- package/esm2022/label/src/label.component.mjs +49 -0
- package/esm2022/label/src/label.module.mjs +22 -0
- package/esm2022/loading/acorex-components-loading.mjs +5 -0
- package/esm2022/loading/public-api.mjs +6 -0
- package/esm2022/loading/src/loading-spinner.component.mjs +70 -0
- package/esm2022/loading/src/loading.component.mjs +68 -0
- package/esm2022/loading/src/loading.directive.mjs +77 -0
- package/esm2022/loading/src/loading.module.mjs +36 -0
- package/esm2022/loading/src/loading.service.mjs +159 -0
- package/esm2022/menu/acorex-components-menu.mjs +5 -0
- package/esm2022/menu/public-api.mjs +3 -0
- package/esm2022/menu/src/menu.component.mjs +347 -0
- package/esm2022/menu/src/menu.module.mjs +34 -0
- package/esm2022/mixin/acorex-components-mixin.mjs +5 -0
- package/esm2022/mixin/public-api.mjs +18 -0
- package/esm2022/mixin/src/base-components.class.mjs +111 -0
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
- package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
- package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
- package/esm2022/mixin/src/constratctor.mjs +2 -0
- package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
- package/esm2022/mixin/src/datalist.class.mjs +3 -0
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
- package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
- package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
- package/esm2022/mixin/src/mixin.class.mjs +26 -0
- package/esm2022/mixin/src/page-component.class.mjs +11 -0
- package/esm2022/mixin/src/selection-component.class.mjs +183 -0
- package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
- package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
- package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
- package/esm2022/notification/acorex-components-notification.mjs +5 -0
- package/esm2022/notification/public-api.mjs +5 -0
- package/esm2022/notification/src/notification.class.mjs +2 -0
- package/esm2022/notification/src/notification.component.mjs +93 -0
- package/esm2022/notification/src/notification.module.mjs +24 -0
- package/esm2022/notification/src/notification.service.mjs +110 -0
- package/esm2022/number-box/acorex-components-number-box.mjs +5 -0
- package/esm2022/number-box/public-api.mjs +3 -0
- package/esm2022/number-box/src/number-box.component.mjs +269 -0
- package/esm2022/number-box/src/number-box.module.mjs +36 -0
- package/esm2022/page/acorex-components-page.mjs +5 -0
- package/esm2022/page/public-api.mjs +4 -0
- package/esm2022/page/src/base-page.class.mjs +64 -0
- package/esm2022/page/src/page.component.mjs +47 -0
- package/esm2022/page/src/page.module.mjs +19 -0
- package/esm2022/password-box/acorex-components-password-box.mjs +5 -0
- package/esm2022/password-box/public-api.mjs +3 -0
- package/esm2022/password-box/src/password-box.component.mjs +64 -0
- package/esm2022/password-box/src/password-box.module.mjs +33 -0
- package/esm2022/picker/acorex-components-picker.mjs +5 -0
- package/esm2022/picker/public-api.mjs +4 -0
- package/esm2022/picker/src/picker-column.component.mjs +21 -0
- package/esm2022/picker/src/picker.component.mjs +17 -0
- package/esm2022/picker/src/picker.module.mjs +38 -0
- package/esm2022/popover/acorex-components-popover.mjs +5 -0
- package/esm2022/popover/public-api.mjs +3 -0
- package/esm2022/popover/src/popover.component.mjs +263 -0
- package/esm2022/popover/src/popover.module.mjs +20 -0
- package/esm2022/popup/acorex-components-popup.mjs +5 -0
- package/esm2022/popup/public-api.mjs +4 -0
- package/esm2022/popup/src/popup.component.mjs +146 -0
- package/esm2022/popup/src/popup.module.mjs +28 -0
- package/esm2022/popup/src/popup.service.mjs +117 -0
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +5 -0
- package/esm2022/progress-bar/public-api.mjs +3 -0
- package/esm2022/progress-bar/src/progress-bar.component.mjs +34 -0
- package/esm2022/progress-bar/src/progress-bar.module.mjs +20 -0
- package/esm2022/public-api.mjs +5 -0
- package/esm2022/radio/acorex-components-radio.mjs +5 -0
- package/esm2022/radio/public-api.mjs +3 -0
- package/esm2022/radio/src/radio.component.mjs +40 -0
- package/esm2022/radio/src/radio.module.mjs +23 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +5 -0
- package/esm2022/range-slider/public-api.mjs +3 -0
- package/esm2022/range-slider/src/range-slider.component.mjs +118 -0
- package/esm2022/range-slider/src/range-slider.module.mjs +23 -0
- package/esm2022/rating/acorex-components-rating.mjs +5 -0
- package/esm2022/rating/public-api.mjs +3 -0
- package/esm2022/rating/src/rating.component.mjs +42 -0
- package/esm2022/rating/src/rating.component.module.mjs +20 -0
- package/esm2022/result/acorex-components-result.mjs +5 -0
- package/esm2022/result/public-api.mjs +3 -0
- package/esm2022/result/src/result.component.mjs +27 -0
- package/esm2022/result/src/result.module.mjs +20 -0
- package/esm2022/search-box/acorex-components-search-box.mjs +5 -0
- package/esm2022/search-box/public-api.mjs +3 -0
- package/esm2022/search-box/src/search-box.component.mjs +55 -0
- package/esm2022/search-box/src/search-box.module.mjs +26 -0
- package/esm2022/select-box/acorex-components-select-box.mjs +5 -0
- package/esm2022/select-box/public-api.mjs +3 -0
- package/esm2022/select-box/src/selectbox.component.mjs +392 -0
- package/esm2022/select-box/src/selectbox.module.mjs +65 -0
- package/esm2022/selection-list/acorex-components-selection-list.mjs +5 -0
- package/esm2022/selection-list/public-api.mjs +3 -0
- package/esm2022/selection-list/src/selection-list.component.mjs +60 -0
- package/esm2022/selection-list/src/selection-list.module.mjs +25 -0
- package/esm2022/switch/acorex-components-switch.mjs +5 -0
- package/esm2022/switch/public-api.mjs +4 -0
- package/esm2022/switch/src/switch-content.component.mjs +17 -0
- package/esm2022/switch/src/switch.component.mjs +55 -0
- package/esm2022/switch/src/switch.module.mjs +23 -0
- package/esm2022/tabs/acorex-components-tabs.mjs +5 -0
- package/esm2022/tabs/public-api.mjs +6 -0
- package/esm2022/tabs/src/tab-content.directive.mjs +32 -0
- package/esm2022/tabs/src/tab-item.component.mjs +141 -0
- package/esm2022/tabs/src/tabs.class.mjs +6 -0
- package/esm2022/tabs/src/tabs.component.mjs +111 -0
- package/esm2022/tabs/src/tabs.module.mjs +26 -0
- package/esm2022/tag/acorex-components-tag.mjs +5 -0
- package/esm2022/tag/public-api.mjs +3 -0
- package/esm2022/tag/src/tag.component.mjs +30 -0
- package/esm2022/tag/src/tag.module.mjs +20 -0
- package/esm2022/textarea/acorex-components-textarea.mjs +5 -0
- package/esm2022/textarea/public-api.mjs +3 -0
- package/esm2022/textarea/src/textarea.component.mjs +30 -0
- package/esm2022/textarea/src/textarea.module.mjs +20 -0
- package/esm2022/textbox/acorex-components-textbox.mjs +5 -0
- package/esm2022/textbox/public-api.mjs +4 -0
- package/esm2022/textbox/src/mask-options.directive.mjs +20 -0
- package/esm2022/textbox/src/textbox.component.mjs +96 -0
- package/esm2022/textbox/src/textbox.module.mjs +39 -0
- package/esm2022/time-box/acorex-components-time-box.mjs +5 -0
- package/esm2022/time-box/public-api.mjs +3 -0
- package/esm2022/time-box/src/time-box.component.mjs +306 -0
- package/esm2022/time-box/src/time-box.module.mjs +33 -0
- package/esm2022/toast/acorex-components-toast.mjs +5 -0
- package/esm2022/toast/public-api.mjs +5 -0
- package/esm2022/toast/src/toast.class.mjs +2 -0
- package/esm2022/toast/src/toast.component.mjs +68 -0
- package/esm2022/toast/src/toast.module.mjs +23 -0
- package/esm2022/toast/src/toast.service.mjs +137 -0
- package/esm2022/tooltip/acorex-components-tooltip.mjs +5 -0
- package/esm2022/tooltip/public-api.mjs +4 -0
- package/esm2022/tooltip/src/tooltip.component.mjs +22 -0
- package/esm2022/tooltip/src/tooltip.directive.mjs +164 -0
- package/esm2022/tooltip/src/tooltip.module.mjs +23 -0
- package/esm2022/tree-view/acorex-components-tree-view.mjs +5 -0
- package/esm2022/tree-view/public-api.mjs +3 -0
- package/esm2022/tree-view/src/tree-view.component.mjs +108 -0
- package/esm2022/tree-view/src/tree-view.module.mjs +21 -0
- package/esm2022/uploader/acorex-components-uploader.mjs +5 -0
- package/esm2022/uploader/public-api.mjs +3 -0
- package/esm2022/uploader/src/uploader.component.mjs +102 -0
- package/esm2022/uploader/src/uploader.module.mjs +21 -0
- package/fesm2022/acorex-components-action-sheet.mjs +197 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -0
- package/fesm2022/acorex-components-alert.mjs +213 -0
- package/fesm2022/acorex-components-alert.mjs.map +1 -0
- package/fesm2022/acorex-components-avatar.mjs +82 -0
- package/fesm2022/acorex-components-avatar.mjs.map +1 -0
- package/fesm2022/acorex-components-badge.mjs +53 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs +94 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/acorex-components-button.mjs +275 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -0
- package/fesm2022/acorex-components-calendar.mjs +837 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -0
- package/fesm2022/acorex-components-card.mjs +41 -0
- package/fesm2022/acorex-components-card.mjs.map +1 -0
- package/fesm2022/acorex-components-checkbox.mjs +67 -0
- package/fesm2022/acorex-components-checkbox.mjs.map +1 -0
- package/fesm2022/acorex-components-chips.mjs +56 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -0
- package/fesm2022/acorex-components-collapse.mjs +118 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -0
- package/fesm2022/acorex-components-color-palette.mjs +771 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -0
- package/fesm2022/acorex-components-color-picker.mjs +182 -0
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +1211 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -0
- package/fesm2022/acorex-components-context-menu.mjs +310 -0
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +613 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -0
- package/fesm2022/acorex-components-data-table.mjs +231 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -0
- package/fesm2022/acorex-components-date-picker.mjs +285 -0
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-decorators.mjs +353 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -0
- package/fesm2022/acorex-components-dialog.mjs +237 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -0
- package/fesm2022/acorex-components-drawer.mjs +204 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -0
- package/fesm2022/acorex-components-dropdown.mjs +132 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
- package/fesm2022/acorex-components-form.mjs +450 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -0
- package/fesm2022/acorex-components-image.mjs +102 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -0
- package/fesm2022/acorex-components-label.mjs +73 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -0
- package/fesm2022/acorex-components-loading.mjs +397 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -0
- package/fesm2022/acorex-components-menu.mjs +383 -0
- package/fesm2022/acorex-components-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-mixin.mjs +1257 -0
- package/fesm2022/acorex-components-mixin.mjs.map +1 -0
- package/fesm2022/acorex-components-notification.mjs +223 -0
- package/fesm2022/acorex-components-notification.mjs.map +1 -0
- package/fesm2022/acorex-components-number-box.mjs +306 -0
- package/fesm2022/acorex-components-number-box.mjs.map +1 -0
- package/fesm2022/acorex-components-page.mjs +128 -0
- package/fesm2022/acorex-components-page.mjs.map +1 -0
- package/fesm2022/acorex-components-password-box.mjs +99 -0
- package/fesm2022/acorex-components-password-box.mjs.map +1 -0
- package/fesm2022/acorex-components-picker.mjs +74 -0
- package/fesm2022/acorex-components-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-popover.mjs +285 -0
- package/fesm2022/acorex-components-popover.mjs.map +1 -0
- package/fesm2022/acorex-components-popup.mjs +286 -0
- package/fesm2022/acorex-components-popup.mjs.map +1 -0
- package/fesm2022/acorex-components-progress-bar.mjs +56 -0
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -0
- package/fesm2022/acorex-components-radio.mjs +65 -0
- package/fesm2022/acorex-components-radio.mjs.map +1 -0
- package/fesm2022/acorex-components-range-slider.mjs +143 -0
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2022/acorex-components-rating.mjs +64 -0
- package/fesm2022/acorex-components-rating.mjs.map +1 -0
- package/fesm2022/acorex-components-result.mjs +49 -0
- package/fesm2022/acorex-components-result.mjs.map +1 -0
- package/fesm2022/acorex-components-search-box.mjs +82 -0
- package/fesm2022/acorex-components-search-box.mjs.map +1 -0
- package/fesm2022/acorex-components-select-box.mjs +456 -0
- package/fesm2022/acorex-components-select-box.mjs.map +1 -0
- package/fesm2022/acorex-components-selection-list.mjs +87 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -0
- package/fesm2022/acorex-components-switch.mjs +93 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -0
- package/fesm2022/acorex-components-tabs.mjs +308 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -0
- package/fesm2022/acorex-components-tag.mjs +52 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -0
- package/fesm2022/acorex-components-textarea.mjs +52 -0
- package/fesm2022/acorex-components-textarea.mjs.map +1 -0
- package/fesm2022/acorex-components-textbox.mjs +151 -0
- package/fesm2022/acorex-components-textbox.mjs.map +1 -0
- package/fesm2022/acorex-components-time-box.mjs +340 -0
- package/fesm2022/acorex-components-time-box.mjs.map +1 -0
- package/fesm2022/acorex-components-toast.mjs +226 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -0
- package/fesm2022/acorex-components-tooltip.mjs +206 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -0
- package/fesm2022/acorex-components-tree-view.mjs +131 -0
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -0
- package/fesm2022/acorex-components-uploader.mjs +125 -0
- package/fesm2022/acorex-components-uploader.mjs.map +1 -0
- package/fesm2022/acorex-components.mjs +11 -0
- package/form/index.d.ts +5 -5
- package/form/public-api.d.ts +6 -6
- package/form/src/form-field.component.d.ts +8 -8
- package/form/src/form.component.d.ts +51 -51
- package/form/src/form.module.d.ts +15 -15
- package/form/src/validation-rule.widget.d.ts +18 -18
- package/form/src/validation-summary.component.d.ts +23 -23
- package/form/src/validation.class.d.ts +18 -18
- package/image/index.d.ts +5 -5
- package/image/public-api.d.ts +2 -2
- package/image/src/image.component.d.ts +27 -27
- package/image/src/image.module.d.ts +8 -8
- package/index.d.ts +5 -5
- package/label/index.d.ts +5 -5
- package/label/public-api.d.ts +2 -2
- package/label/src/label.component.d.ts +17 -17
- package/label/src/label.module.d.ts +8 -8
- package/loading/index.d.ts +5 -5
- package/loading/public-api.d.ts +5 -5
- package/loading/src/loading-spinner.component.d.ts +6 -6
- package/loading/src/loading.component.d.ts +21 -21
- package/loading/src/loading.directive.d.ts +22 -22
- package/loading/src/loading.module.d.ts +13 -13
- package/loading/src/loading.service.d.ts +48 -48
- package/menu/index.d.ts +5 -5
- package/menu/public-api.d.ts +2 -2
- package/menu/src/menu.component.d.ts +39 -39
- package/menu/src/menu.module.d.ts +12 -12
- package/mixin/index.d.ts +5 -5
- package/mixin/public-api.d.ts +17 -17
- package/mixin/src/base-components.class.d.ts +84 -84
- package/mixin/src/base-menu-mixin.class.d.ts +53 -53
- package/mixin/src/button-mixin.class.d.ts +53 -53
- package/mixin/src/clickable-mixin.class.d.ts +36 -36
- package/mixin/src/color-look-mixing.class.d.ts +44 -44
- package/mixin/src/constratctor.d.ts +4 -4
- package/mixin/src/datalist-component.class.d.ts +59 -59
- package/mixin/src/datalist.class.d.ts +11 -11
- package/mixin/src/dropdown-mixin.class.d.ts +47 -47
- package/mixin/src/interactive-mixin.class.d.ts +63 -63
- package/mixin/src/loading-mixin.class.d.ts +40 -40
- package/mixin/src/mixin.class.d.ts +679 -679
- package/mixin/src/page-component.class.d.ts +28 -28
- package/mixin/src/selection-component.class.d.ts +61 -61
- package/mixin/src/sizable-mixin.class.d.ts +34 -34
- package/mixin/src/textbox-mixin.class.d.ts +72 -72
- package/mixin/src/value-mixin.class.d.ts +63 -63
- package/notification/index.d.ts +5 -5
- package/notification/public-api.d.ts +4 -4
- package/notification/src/notification.class.d.ts +18 -18
- package/notification/src/notification.component.d.ts +30 -30
- package/notification/src/notification.module.d.ts +10 -10
- package/notification/src/notification.service.d.ts +16 -16
- package/number-box/index.d.ts +5 -5
- package/number-box/public-api.d.ts +2 -2
- package/number-box/src/number-box.component.d.ts +77 -77
- package/number-box/src/number-box.module.d.ts +12 -12
- package/package.json +173 -285
- package/page/index.d.ts +5 -5
- package/page/public-api.d.ts +3 -3
- package/page/src/base-page.class.d.ts +25 -25
- package/page/src/page.component.d.ts +14 -14
- package/page/src/page.module.d.ts +6 -6
- package/password-box/index.d.ts +5 -5
- package/password-box/public-api.d.ts +2 -2
- package/password-box/src/password-box.component.d.ts +25 -25
- package/password-box/src/password-box.module.d.ts +11 -11
- package/picker/index.d.ts +5 -5
- package/picker/public-api.d.ts +3 -3
- package/picker/src/picker-column.component.d.ts +11 -11
- package/picker/src/picker.component.d.ts +10 -10
- package/picker/src/picker.module.d.ts +14 -14
- package/popover/index.d.ts +5 -5
- package/popover/public-api.d.ts +2 -2
- package/popover/src/popover.component.d.ts +51 -51
- package/popover/src/popover.module.d.ts +8 -8
- package/popup/index.d.ts +5 -5
- package/popup/public-api.d.ts +3 -3
- package/popup/src/popup.component.d.ts +45 -45
- package/popup/src/popup.module.d.ts +14 -14
- package/popup/src/popup.service.d.ts +42 -42
- package/progress-bar/index.d.ts +5 -5
- package/progress-bar/public-api.d.ts +2 -2
- package/progress-bar/src/progress-bar.component.d.ts +18 -18
- package/progress-bar/src/progress-bar.module.d.ts +8 -8
- package/public-api.d.ts +1 -1
- package/radio/index.d.ts +5 -5
- package/radio/public-api.d.ts +2 -2
- package/radio/src/radio.component.d.ts +18 -18
- package/radio/src/radio.module.d.ts +9 -9
- package/range-slider/index.d.ts +5 -5
- package/range-slider/public-api.d.ts +2 -2
- package/range-slider/src/range-slider.component.d.ts +41 -41
- package/range-slider/src/range-slider.module.d.ts +9 -9
- package/rating/index.d.ts +5 -5
- package/rating/public-api.d.ts +2 -2
- package/rating/src/rating.component.d.ts +21 -21
- package/rating/src/rating.component.module.d.ts +8 -8
- package/result/index.d.ts +5 -5
- package/result/public-api.d.ts +2 -2
- package/result/src/result.component.d.ts +12 -12
- package/result/src/result.module.d.ts +8 -8
- package/search-box/index.d.ts +5 -5
- package/search-box/public-api.d.ts +2 -2
- package/search-box/src/search-box.component.d.ts +18 -18
- package/search-box/src/search-box.module.d.ts +12 -12
- package/select-box/index.d.ts +5 -5
- package/select-box/public-api.d.ts +2 -2
- package/select-box/src/selectbox.component.d.ts +66 -66
- package/select-box/src/selectbox.module.d.ts +19 -19
- package/selection-list/index.d.ts +5 -5
- package/selection-list/public-api.d.ts +2 -2
- package/selection-list/src/selection-list.component.d.ts +23 -23
- package/selection-list/src/selection-list.module.d.ts +13 -13
- package/switch/index.d.ts +5 -5
- package/switch/public-api.d.ts +3 -3
- package/switch/src/switch-content.component.d.ts +8 -8
- package/switch/src/switch.component.d.ts +13 -13
- package/switch/src/switch.module.d.ts +11 -11
- package/tabs/index.d.ts +5 -5
- package/tabs/public-api.d.ts +5 -5
- package/tabs/src/tab-content.directive.d.ts +11 -11
- package/tabs/src/tab-item.component.d.ts +48 -48
- package/tabs/src/tabs.class.d.ts +7 -7
- package/tabs/src/tabs.component.d.ts +29 -29
- package/tabs/src/tabs.module.d.ts +12 -12
- package/tag/index.d.ts +5 -5
- package/tag/public-api.d.ts +2 -2
- package/tag/src/tag.component.d.ts +11 -11
- package/tag/src/tag.module.d.ts +8 -8
- package/textarea/index.d.ts +5 -5
- package/textarea/public-api.d.ts +2 -2
- package/textarea/src/textarea.component.d.ts +14 -14
- package/textarea/src/textarea.module.d.ts +9 -9
- package/textbox/index.d.ts +5 -5
- package/textbox/public-api.d.ts +3 -3
- package/textbox/src/mask-options.directive.d.ts +13 -13
- package/textbox/src/textbox.component.d.ts +27 -27
- package/textbox/src/textbox.module.d.ts +13 -13
- package/time-box/index.d.ts +5 -5
- package/time-box/public-api.d.ts +2 -2
- package/time-box/src/time-box.component.d.ts +50 -50
- package/time-box/src/time-box.module.d.ts +11 -11
- package/toast/index.d.ts +5 -5
- package/toast/public-api.d.ts +4 -4
- package/toast/src/toast.class.d.ts +15 -15
- package/toast/src/toast.component.d.ts +25 -25
- package/toast/src/toast.module.d.ts +9 -9
- package/toast/src/toast.service.d.ts +21 -21
- package/tooltip/index.d.ts +5 -5
- package/tooltip/public-api.d.ts +3 -3
- package/tooltip/src/tooltip.component.d.ts +11 -11
- package/tooltip/src/tooltip.directive.d.ts +22 -22
- package/tooltip/src/tooltip.module.d.ts +10 -10
- package/tree-view/index.d.ts +5 -5
- package/tree-view/public-api.d.ts +2 -2
- package/tree-view/src/tree-view.component.d.ts +33 -33
- package/tree-view/src/tree-view.module.d.ts +9 -9
- package/uploader/index.d.ts +5 -5
- package/uploader/public-api.d.ts +2 -2
- package/uploader/src/uploader.component.d.ts +28 -28
- package/uploader/src/uploader.module.d.ts +9 -9
- package/esm2020/acorex-components.mjs +0 -5
- package/esm2020/action-sheet/acorex-components-action-sheet.mjs +0 -5
- package/esm2020/action-sheet/public-api.mjs +0 -4
- package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
- package/esm2020/action-sheet/src/action-sheet.interface.mjs +0 -3
- package/esm2020/action-sheet/src/action-sheet.module.mjs +0 -26
- package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
- package/esm2020/alert/acorex-components-alert.mjs +0 -5
- package/esm2020/alert/public-api.mjs +0 -3
- package/esm2020/alert/src/alert.component.mjs +0 -178
- package/esm2020/alert/src/alert.module.mjs +0 -22
- package/esm2020/avatar/acorex-components-avatar.mjs +0 -5
- package/esm2020/avatar/public-api.mjs +0 -4
- package/esm2020/avatar/src/avatar-group.component.mjs +0 -16
- package/esm2020/avatar/src/avatar.component.mjs +0 -41
- package/esm2020/avatar/src/avatar.module.mjs +0 -22
- package/esm2020/badge/acorex-components-badge.mjs +0 -5
- package/esm2020/badge/public-api.mjs +0 -3
- package/esm2020/badge/src/badge.component.mjs +0 -27
- package/esm2020/badge/src/badge.module.mjs +0 -21
- package/esm2020/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -5
- package/esm2020/breadcrumbs/public-api.mjs +0 -5
- package/esm2020/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
- package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +0 -20
- package/esm2020/button/acorex-components-button.mjs +0 -5
- package/esm2020/button/public-api.mjs +0 -6
- package/esm2020/button/src/button-group.component.mjs +0 -88
- package/esm2020/button/src/button-item.class.mjs +0 -2
- package/esm2020/button/src/button-item.component.mjs +0 -77
- package/esm2020/button/src/button.component.mjs +0 -85
- package/esm2020/button/src/button.module.mjs +0 -32
- package/esm2020/calendar/acorex-components-calendar.mjs +0 -5
- package/esm2020/calendar/public-api.mjs +0 -4
- package/esm2020/calendar/src/calendar.class.mjs +0 -127
- package/esm2020/calendar/src/calendar.component.mjs +0 -382
- package/esm2020/calendar/src/calendar.module.mjs +0 -22
- package/esm2020/card/acorex-components-card.mjs +0 -5
- package/esm2020/card/public-api.mjs +0 -3
- package/esm2020/card/src/card.component.mjs +0 -17
- package/esm2020/card/src/card.module.mjs +0 -19
- package/esm2020/checkbox/acorex-components-checkbox.mjs +0 -5
- package/esm2020/checkbox/public-api.mjs +0 -3
- package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
- package/esm2020/checkbox/src/checkbox.module.mjs +0 -21
- package/esm2020/chips/acorex-components-chips.mjs +0 -5
- package/esm2020/chips/public-api.mjs +0 -3
- package/esm2020/chips/src/chips.component.mjs +0 -33
- package/esm2020/chips/src/chips.module.mjs +0 -19
- package/esm2020/collapse/acorex-components-collapse.mjs +0 -5
- package/esm2020/collapse/public-api.mjs +0 -4
- package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
- package/esm2020/collapse/src/collapse.component.mjs +0 -45
- package/esm2020/collapse/src/collapse.module.mjs +0 -20
- package/esm2020/color-palette/acorex-components-color-palette.mjs +0 -5
- package/esm2020/color-palette/public-api.mjs +0 -8
- package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
- package/esm2020/color-palette/src/color-palette.class.mjs +0 -17
- package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
- package/esm2020/color-palette/src/color-palette.module.mjs +0 -60
- package/esm2020/color-picker/acorex-components-color-picker.mjs +0 -5
- package/esm2020/color-picker/public-api.mjs +0 -3
- package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
- package/esm2020/color-picker/src/color-picker.module.mjs +0 -61
- package/esm2020/common/acorex-components-common.mjs +0 -5
- package/esm2020/common/public-api.mjs +0 -16
- package/esm2020/common/src/classes/components.class.mjs +0 -69
- package/esm2020/common/src/classes/drawing.class.mjs +0 -2
- package/esm2020/common/src/classes/events.class.mjs +0 -58
- package/esm2020/common/src/classes/styles.class.mjs +0 -13
- package/esm2020/common/src/common.module.mjs +0 -42
- package/esm2020/common/src/components/base-component.class.mjs +0 -57
- package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
- package/esm2020/common/src/components/color-component.class.mjs +0 -27
- package/esm2020/common/src/components/colorlook-component.class.mjs +0 -11
- package/esm2020/common/src/components/index.mjs +0 -7
- package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
- package/esm2020/common/src/components/look-component.class.mjs +0 -27
- package/esm2020/common/src/constant/positions.mjs +0 -75
- package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
- package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
- package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
- package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/services/hotkey.service.mjs +0 -38
- package/esm2020/common/src/services/overlay.service.mjs +0 -111
- package/esm2020/context-menu/acorex-components-context-menu.mjs +0 -5
- package/esm2020/context-menu/public-api.mjs +0 -3
- package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
- package/esm2020/context-menu/src/context-menu.module.mjs +0 -36
- package/esm2020/data-pager/acorex-components-data-pager.mjs +0 -5
- package/esm2020/data-pager/public-api.mjs +0 -10
- package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
- package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
- package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
- package/esm2020/data-pager/src/data-pager.module.mjs +0 -51
- package/esm2020/data-table/acorex-components-data-table.mjs +0 -5
- package/esm2020/data-table/public-api.mjs +0 -5
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/data-table/src/data-column.directive.mjs +0 -43
- package/esm2020/data-table/src/data-table.component.mjs +0 -137
- package/esm2020/data-table/src/data-table.module.mjs +0 -27
- package/esm2020/date-picker/acorex-components-date-picker.mjs +0 -5
- package/esm2020/date-picker/public-api.mjs +0 -3
- package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
- package/esm2020/date-picker/src/datepicker.module.mjs +0 -44
- package/esm2020/decorators/acorex-components-decorators.mjs +0 -5
- package/esm2020/decorators/public-api.mjs +0 -15
- package/esm2020/decorators/src/close-button.component.mjs +0 -50
- package/esm2020/decorators/src/content.component.mjs +0 -21
- package/esm2020/decorators/src/decorators.module.mjs +0 -71
- package/esm2020/decorators/src/footer.component.mjs +0 -29
- package/esm2020/decorators/src/form-hint.component.mjs +0 -20
- package/esm2020/decorators/src/header.component.mjs +0 -29
- package/esm2020/decorators/src/icon.component.mjs +0 -29
- package/esm2020/decorators/src/overlay.component.mjs +0 -22
- package/esm2020/decorators/src/placeholder.component.mjs +0 -14
- package/esm2020/decorators/src/prefix.component.mjs +0 -21
- package/esm2020/decorators/src/sub-title.component.mjs +0 -27
- package/esm2020/decorators/src/suffix.component.mjs +0 -21
- package/esm2020/decorators/src/text.component.mjs +0 -21
- package/esm2020/decorators/src/title.component.mjs +0 -20
- package/esm2020/dialog/acorex-components-dialog.mjs +0 -5
- package/esm2020/dialog/public-api.mjs +0 -5
- package/esm2020/dialog/src/dialog.class.mjs +0 -2
- package/esm2020/dialog/src/dialog.component.mjs +0 -52
- package/esm2020/dialog/src/dialog.module.mjs +0 -27
- package/esm2020/dialog/src/dialog.service.mjs +0 -151
- package/esm2020/drawer/acorex-components-drawer.mjs +0 -5
- package/esm2020/drawer/public-api.mjs +0 -4
- package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
- package/esm2020/drawer/src/drawer.component.mjs +0 -140
- package/esm2020/drawer/src/drawer.module.mjs +0 -22
- package/esm2020/dropdown/acorex-components-dropdown.mjs +0 -5
- package/esm2020/dropdown/public-api.mjs +0 -3
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
- package/esm2020/dropdown/src/dropdown.module.mjs +0 -25
- package/esm2020/form/acorex-components-form.mjs +0 -5
- package/esm2020/form/public-api.mjs +0 -7
- package/esm2020/form/src/form-field.component.mjs +0 -15
- package/esm2020/form/src/form.component.mjs +0 -160
- package/esm2020/form/src/form.module.mjs +0 -63
- package/esm2020/form/src/validation-rule.widget.mjs +0 -115
- package/esm2020/form/src/validation-summary.component.mjs +0 -105
- package/esm2020/form/src/validation.class.mjs +0 -2
- package/esm2020/image/acorex-components-image.mjs +0 -5
- package/esm2020/image/public-api.mjs +0 -3
- package/esm2020/image/src/image.component.mjs +0 -76
- package/esm2020/image/src/image.module.mjs +0 -19
- package/esm2020/label/acorex-components-label.mjs +0 -5
- package/esm2020/label/public-api.mjs +0 -3
- package/esm2020/label/src/label.component.mjs +0 -45
- package/esm2020/label/src/label.module.mjs +0 -21
- package/esm2020/loading/acorex-components-loading.mjs +0 -5
- package/esm2020/loading/public-api.mjs +0 -6
- package/esm2020/loading/src/loading-spinner.component.mjs +0 -68
- package/esm2020/loading/src/loading.component.mjs +0 -64
- package/esm2020/loading/src/loading.directive.mjs +0 -68
- package/esm2020/loading/src/loading.module.mjs +0 -35
- package/esm2020/loading/src/loading.service.mjs +0 -156
- package/esm2020/menu/acorex-components-menu.mjs +0 -5
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/menu/src/menu.component.mjs +0 -338
- package/esm2020/menu/src/menu.module.mjs +0 -33
- package/esm2020/mixin/acorex-components-mixin.mjs +0 -5
- package/esm2020/mixin/public-api.mjs +0 -18
- package/esm2020/mixin/src/base-components.class.mjs +0 -110
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
- package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
- package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
- package/esm2020/mixin/src/constratctor.mjs +0 -2
- package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
- package/esm2020/mixin/src/datalist.class.mjs +0 -3
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
- package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
- package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/mixin.class.mjs +0 -26
- package/esm2020/mixin/src/page-component.class.mjs +0 -11
- package/esm2020/mixin/src/selection-component.class.mjs +0 -180
- package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
- package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
- package/esm2020/notification/acorex-components-notification.mjs +0 -5
- package/esm2020/notification/public-api.mjs +0 -5
- package/esm2020/notification/src/notification.class.mjs +0 -2
- package/esm2020/notification/src/notification.component.mjs +0 -87
- package/esm2020/notification/src/notification.module.mjs +0 -23
- package/esm2020/notification/src/notification.service.mjs +0 -107
- package/esm2020/number-box/acorex-components-number-box.mjs +0 -5
- package/esm2020/number-box/public-api.mjs +0 -3
- package/esm2020/number-box/src/number-box.component.mjs +0 -260
- package/esm2020/number-box/src/number-box.module.mjs +0 -35
- package/esm2020/page/acorex-components-page.mjs +0 -5
- package/esm2020/page/public-api.mjs +0 -4
- package/esm2020/page/src/base-page.class.mjs +0 -61
- package/esm2020/page/src/page.component.mjs +0 -44
- package/esm2020/page/src/page.module.mjs +0 -18
- package/esm2020/password-box/acorex-components-password-box.mjs +0 -5
- package/esm2020/password-box/public-api.mjs +0 -3
- package/esm2020/password-box/src/password-box.component.mjs +0 -62
- package/esm2020/password-box/src/password-box.module.mjs +0 -32
- package/esm2020/picker/acorex-components-picker.mjs +0 -5
- package/esm2020/picker/public-api.mjs +0 -4
- package/esm2020/picker/src/picker-column.component.mjs +0 -22
- package/esm2020/picker/src/picker.component.mjs +0 -16
- package/esm2020/picker/src/picker.module.mjs +0 -37
- package/esm2020/popover/acorex-components-popover.mjs +0 -5
- package/esm2020/popover/public-api.mjs +0 -3
- package/esm2020/popover/src/popover.component.mjs +0 -248
- package/esm2020/popover/src/popover.module.mjs +0 -19
- package/esm2020/popup/acorex-components-popup.mjs +0 -5
- package/esm2020/popup/public-api.mjs +0 -4
- package/esm2020/popup/src/popup.component.mjs +0 -135
- package/esm2020/popup/src/popup.module.mjs +0 -27
- package/esm2020/popup/src/popup.service.mjs +0 -114
- package/esm2020/progress-bar/acorex-components-progress-bar.mjs +0 -5
- package/esm2020/progress-bar/public-api.mjs +0 -3
- package/esm2020/progress-bar/src/progress-bar.component.mjs +0 -33
- package/esm2020/progress-bar/src/progress-bar.module.mjs +0 -19
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/radio/acorex-components-radio.mjs +0 -5
- package/esm2020/radio/public-api.mjs +0 -3
- package/esm2020/radio/src/radio.component.mjs +0 -39
- package/esm2020/radio/src/radio.module.mjs +0 -22
- package/esm2020/range-slider/acorex-components-range-slider.mjs +0 -5
- package/esm2020/range-slider/public-api.mjs +0 -3
- package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
- package/esm2020/range-slider/src/range-slider.module.mjs +0 -22
- package/esm2020/rating/acorex-components-rating.mjs +0 -5
- package/esm2020/rating/public-api.mjs +0 -3
- package/esm2020/rating/src/rating.component.mjs +0 -41
- package/esm2020/rating/src/rating.component.module.mjs +0 -19
- package/esm2020/result/acorex-components-result.mjs +0 -5
- package/esm2020/result/public-api.mjs +0 -3
- package/esm2020/result/src/result.component.mjs +0 -25
- package/esm2020/result/src/result.module.mjs +0 -19
- package/esm2020/search-box/acorex-components-search-box.mjs +0 -5
- package/esm2020/search-box/public-api.mjs +0 -3
- package/esm2020/search-box/src/search-box.component.mjs +0 -52
- package/esm2020/search-box/src/search-box.module.mjs +0 -25
- package/esm2020/select-box/acorex-components-select-box.mjs +0 -5
- package/esm2020/select-box/public-api.mjs +0 -3
- package/esm2020/select-box/src/selectbox.component.mjs +0 -380
- package/esm2020/select-box/src/selectbox.module.mjs +0 -64
- package/esm2020/selection-list/acorex-components-selection-list.mjs +0 -5
- package/esm2020/selection-list/public-api.mjs +0 -3
- package/esm2020/selection-list/src/selection-list.component.mjs +0 -60
- package/esm2020/selection-list/src/selection-list.module.mjs +0 -24
- package/esm2020/switch/acorex-components-switch.mjs +0 -5
- package/esm2020/switch/public-api.mjs +0 -4
- package/esm2020/switch/src/switch-content.component.mjs +0 -16
- package/esm2020/switch/src/switch.component.mjs +0 -51
- package/esm2020/switch/src/switch.module.mjs +0 -22
- package/esm2020/tabs/acorex-components-tabs.mjs +0 -5
- package/esm2020/tabs/public-api.mjs +0 -6
- package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
- package/esm2020/tabs/src/tab-item.component.mjs +0 -136
- package/esm2020/tabs/src/tabs.class.mjs +0 -4
- package/esm2020/tabs/src/tabs.component.mjs +0 -107
- package/esm2020/tabs/src/tabs.module.mjs +0 -25
- package/esm2020/tag/acorex-components-tag.mjs +0 -5
- package/esm2020/tag/public-api.mjs +0 -3
- package/esm2020/tag/src/tag.component.mjs +0 -29
- package/esm2020/tag/src/tag.module.mjs +0 -19
- package/esm2020/textarea/acorex-components-textarea.mjs +0 -5
- package/esm2020/textarea/public-api.mjs +0 -3
- package/esm2020/textarea/src/textarea.component.mjs +0 -28
- package/esm2020/textarea/src/textarea.module.mjs +0 -19
- package/esm2020/textbox/acorex-components-textbox.mjs +0 -5
- package/esm2020/textbox/public-api.mjs +0 -4
- package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
- package/esm2020/textbox/src/textbox.component.mjs +0 -92
- package/esm2020/textbox/src/textbox.module.mjs +0 -38
- package/esm2020/time-box/acorex-components-time-box.mjs +0 -5
- package/esm2020/time-box/public-api.mjs +0 -3
- package/esm2020/time-box/src/time-box.component.mjs +0 -296
- package/esm2020/time-box/src/time-box.module.mjs +0 -32
- package/esm2020/toast/acorex-components-toast.mjs +0 -5
- package/esm2020/toast/public-api.mjs +0 -5
- package/esm2020/toast/src/toast.class.mjs +0 -2
- package/esm2020/toast/src/toast.component.mjs +0 -64
- package/esm2020/toast/src/toast.module.mjs +0 -22
- package/esm2020/toast/src/toast.service.mjs +0 -134
- package/esm2020/tooltip/acorex-components-tooltip.mjs +0 -5
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
- package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
- package/esm2020/tooltip/src/tooltip.module.mjs +0 -22
- package/esm2020/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2020/tree-view/public-api.mjs +0 -3
- package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2020/tree-view/src/tree-view.module.mjs +0 -20
- package/esm2020/uploader/acorex-components-uploader.mjs +0 -5
- package/esm2020/uploader/public-api.mjs +0 -3
- package/esm2020/uploader/src/uploader.component.mjs +0 -98
- package/esm2020/uploader/src/uploader.module.mjs +0 -20
- package/fesm2015/acorex-components-action-sheet.mjs +0 -193
- package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2015/acorex-components-alert.mjs +0 -208
- package/fesm2015/acorex-components-alert.mjs.map +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -81
- package/fesm2015/acorex-components-avatar.mjs.map +0 -1
- package/fesm2015/acorex-components-badge.mjs +0 -53
- package/fesm2015/acorex-components-badge.mjs.map +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/acorex-components-button.mjs +0 -281
- package/fesm2015/acorex-components-button.mjs.map +0 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -531
- package/fesm2015/acorex-components-calendar.mjs.map +0 -1
- package/fesm2015/acorex-components-card.mjs +0 -41
- package/fesm2015/acorex-components-card.mjs.map +0 -1
- package/fesm2015/acorex-components-checkbox.mjs +0 -67
- package/fesm2015/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2015/acorex-components-chips.mjs +0 -57
- package/fesm2015/acorex-components-chips.mjs.map +0 -1
- package/fesm2015/acorex-components-collapse.mjs +0 -115
- package/fesm2015/acorex-components-collapse.mjs.map +0 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -772
- package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -172
- package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-common.mjs +0 -955
- package/fesm2015/acorex-components-common.mjs.map +0 -1
- package/fesm2015/acorex-components-context-menu.mjs +0 -301
- package/fesm2015/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-data-pager.mjs +0 -615
- package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -224
- package/fesm2015/acorex-components-data-table.mjs.map +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -297
- package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-decorators.mjs +0 -356
- package/fesm2015/acorex-components-decorators.mjs.map +0 -1
- package/fesm2015/acorex-components-dialog.mjs +0 -233
- package/fesm2015/acorex-components-dialog.mjs.map +0 -1
- package/fesm2015/acorex-components-drawer.mjs +0 -202
- package/fesm2015/acorex-components-drawer.mjs.map +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -135
- package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -450
- package/fesm2015/acorex-components-form.mjs.map +0 -1
- package/fesm2015/acorex-components-image.mjs +0 -100
- package/fesm2015/acorex-components-image.mjs.map +0 -1
- package/fesm2015/acorex-components-label.mjs +0 -71
- package/fesm2015/acorex-components-label.mjs.map +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -385
- package/fesm2015/acorex-components-loading.mjs.map +0 -1
- package/fesm2015/acorex-components-menu.mjs +0 -381
- package/fesm2015/acorex-components-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-mixin.mjs +0 -1265
- package/fesm2015/acorex-components-mixin.mjs.map +0 -1
- package/fesm2015/acorex-components-notification.mjs +0 -217
- package/fesm2015/acorex-components-notification.mjs.map +0 -1
- package/fesm2015/acorex-components-number-box.mjs +0 -300
- package/fesm2015/acorex-components-number-box.mjs.map +0 -1
- package/fesm2015/acorex-components-page.mjs +0 -127
- package/fesm2015/acorex-components-page.mjs.map +0 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -99
- package/fesm2015/acorex-components-password-box.mjs.map +0 -1
- package/fesm2015/acorex-components-picker.mjs +0 -77
- package/fesm2015/acorex-components-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-popover.mjs +0 -278
- package/fesm2015/acorex-components-popover.mjs.map +0 -1
- package/fesm2015/acorex-components-popup.mjs +0 -275
- package/fesm2015/acorex-components-popup.mjs.map +0 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -57
- package/fesm2015/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2015/acorex-components-radio.mjs +0 -66
- package/fesm2015/acorex-components-radio.mjs.map +0 -1
- package/fesm2015/acorex-components-range-slider.mjs +0 -148
- package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2015/acorex-components-rating.mjs +0 -65
- package/fesm2015/acorex-components-rating.mjs.map +0 -1
- package/fesm2015/acorex-components-result.mjs +0 -49
- package/fesm2015/acorex-components-result.mjs.map +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -84
- package/fesm2015/acorex-components-search-box.mjs.map +0 -1
- package/fesm2015/acorex-components-select-box.mjs +0 -453
- package/fesm2015/acorex-components-select-box.mjs.map +0 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -89
- package/fesm2015/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2015/acorex-components-switch.mjs +0 -91
- package/fesm2015/acorex-components-switch.mjs.map +0 -1
- package/fesm2015/acorex-components-tabs.mjs +0 -299
- package/fesm2015/acorex-components-tabs.mjs.map +0 -1
- package/fesm2015/acorex-components-tag.mjs +0 -53
- package/fesm2015/acorex-components-tag.mjs.map +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -52
- package/fesm2015/acorex-components-textarea.mjs.map +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -149
- package/fesm2015/acorex-components-textbox.mjs.map +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -336
- package/fesm2015/acorex-components-time-box.mjs.map +0 -1
- package/fesm2015/acorex-components-toast.mjs +0 -222
- package/fesm2015/acorex-components-toast.mjs.map +0 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -164
- package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -133
- package/fesm2015/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2015/acorex-components-uploader.mjs +0 -129
- package/fesm2015/acorex-components-uploader.mjs.map +0 -1
- package/fesm2015/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components-action-sheet.mjs +0 -192
- package/fesm2020/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2020/acorex-components-alert.mjs +0 -204
- package/fesm2020/acorex-components-alert.mjs.map +0 -1
- package/fesm2020/acorex-components-avatar.mjs +0 -81
- package/fesm2020/acorex-components-avatar.mjs.map +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -53
- package/fesm2020/acorex-components-badge.mjs.map +0 -1
- package/fesm2020/acorex-components-breadcrumbs.mjs +0 -89
- package/fesm2020/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2020/acorex-components-button.mjs +0 -278
- package/fesm2020/acorex-components-button.mjs.map +0 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -530
- package/fesm2020/acorex-components-calendar.mjs.map +0 -1
- package/fesm2020/acorex-components-card.mjs +0 -41
- package/fesm2020/acorex-components-card.mjs.map +0 -1
- package/fesm2020/acorex-components-checkbox.mjs +0 -67
- package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2020/acorex-components-chips.mjs +0 -57
- package/fesm2020/acorex-components-chips.mjs.map +0 -1
- package/fesm2020/acorex-components-collapse.mjs +0 -115
- package/fesm2020/acorex-components-collapse.mjs.map +0 -1
- package/fesm2020/acorex-components-color-palette.mjs +0 -765
- package/fesm2020/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2020/acorex-components-color-picker.mjs +0 -169
- package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-common.mjs +0 -946
- package/fesm2020/acorex-components-common.mjs.map +0 -1
- package/fesm2020/acorex-components-context-menu.mjs +0 -301
- package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-data-pager.mjs +0 -598
- package/fesm2020/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2020/acorex-components-data-table.mjs +0 -222
- package/fesm2020/acorex-components-data-table.mjs.map +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -295
- package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-decorators.mjs +0 -353
- package/fesm2020/acorex-components-decorators.mjs.map +0 -1
- package/fesm2020/acorex-components-dialog.mjs +0 -232
- package/fesm2020/acorex-components-dialog.mjs.map +0 -1
- package/fesm2020/acorex-components-drawer.mjs +0 -200
- package/fesm2020/acorex-components-drawer.mjs.map +0 -1
- package/fesm2020/acorex-components-dropdown.mjs +0 -129
- package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2020/acorex-components-form.mjs +0 -446
- package/fesm2020/acorex-components-form.mjs.map +0 -1
- package/fesm2020/acorex-components-image.mjs +0 -100
- package/fesm2020/acorex-components-image.mjs.map +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -71
- package/fesm2020/acorex-components-label.mjs.map +0 -1
- package/fesm2020/acorex-components-loading.mjs +0 -384
- package/fesm2020/acorex-components-loading.mjs.map +0 -1
- package/fesm2020/acorex-components-menu.mjs +0 -376
- package/fesm2020/acorex-components-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-mixin.mjs +0 -1259
- package/fesm2020/acorex-components-mixin.mjs.map +0 -1
- package/fesm2020/acorex-components-notification.mjs +0 -217
- package/fesm2020/acorex-components-notification.mjs.map +0 -1
- package/fesm2020/acorex-components-number-box.mjs +0 -299
- package/fesm2020/acorex-components-number-box.mjs.map +0 -1
- package/fesm2020/acorex-components-page.mjs +0 -125
- package/fesm2020/acorex-components-page.mjs.map +0 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -99
- package/fesm2020/acorex-components-password-box.mjs.map +0 -1
- package/fesm2020/acorex-components-picker.mjs +0 -77
- package/fesm2020/acorex-components-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-popover.mjs +0 -272
- package/fesm2020/acorex-components-popover.mjs.map +0 -1
- package/fesm2020/acorex-components-popup.mjs +0 -275
- package/fesm2020/acorex-components-popup.mjs.map +0 -1
- package/fesm2020/acorex-components-progress-bar.mjs +0 -57
- package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -66
- package/fesm2020/acorex-components-radio.mjs.map +0 -1
- package/fesm2020/acorex-components-range-slider.mjs +0 -143
- package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2020/acorex-components-rating.mjs +0 -65
- package/fesm2020/acorex-components-rating.mjs.map +0 -1
- package/fesm2020/acorex-components-result.mjs +0 -49
- package/fesm2020/acorex-components-result.mjs.map +0 -1
- package/fesm2020/acorex-components-search-box.mjs +0 -81
- package/fesm2020/acorex-components-search-box.mjs.map +0 -1
- package/fesm2020/acorex-components-select-box.mjs +0 -446
- package/fesm2020/acorex-components-select-box.mjs.map +0 -1
- package/fesm2020/acorex-components-selection-list.mjs +0 -89
- package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2020/acorex-components-switch.mjs +0 -91
- package/fesm2020/acorex-components-switch.mjs.map +0 -1
- package/fesm2020/acorex-components-tabs.mjs +0 -298
- package/fesm2020/acorex-components-tabs.mjs.map +0 -1
- package/fesm2020/acorex-components-tag.mjs +0 -53
- package/fesm2020/acorex-components-tag.mjs.map +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -52
- package/fesm2020/acorex-components-textarea.mjs.map +0 -1
- package/fesm2020/acorex-components-textbox.mjs +0 -147
- package/fesm2020/acorex-components-textbox.mjs.map +0 -1
- package/fesm2020/acorex-components-time-box.mjs +0 -332
- package/fesm2020/acorex-components-time-box.mjs.map +0 -1
- package/fesm2020/acorex-components-toast.mjs +0 -222
- package/fesm2020/acorex-components-toast.mjs.map +0 -1
- package/fesm2020/acorex-components-tooltip.mjs +0 -200
- package/fesm2020/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2020/acorex-components-tree-view.mjs +0 -133
- package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2020/acorex-components-uploader.mjs +0 -123
- package/fesm2020/acorex-components-uploader.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components.mjs.map +0 -1
- /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -0,0 +1,213 @@
|
|
1
|
+
import { AXButtonComponent } from '@acorex/components/button';
|
2
|
+
import { AXDecoratorIconComponent, AXDecoratorTitleComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorModule } from '@acorex/components/decorators';
|
3
|
+
import * as i0 from '@angular/core';
|
4
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ContentChildren, Output, HostBinding, Input, NgModule } from '@angular/core';
|
5
|
+
import { AXClosbaleComponent } from '@acorex/components/common';
|
6
|
+
import { _ColorLookComponentMixin, AXBaseComponent } from '@acorex/components/mixin';
|
7
|
+
import * as i1 from '@angular/common';
|
8
|
+
import { CommonModule } from '@angular/common';
|
9
|
+
|
10
|
+
const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);
|
11
|
+
/**
|
12
|
+
* Regular description
|
13
|
+
*
|
14
|
+
* @category Components
|
15
|
+
*/
|
16
|
+
class AXAlertComponent extends AXBaseAlertMixin {
|
17
|
+
_icon;
|
18
|
+
_buttons;
|
19
|
+
_title;
|
20
|
+
_content;
|
21
|
+
_footer;
|
22
|
+
_showInline = false;
|
23
|
+
onClosed = new EventEmitter();
|
24
|
+
_customIcon;
|
25
|
+
_timeOutRef;
|
26
|
+
/**
|
27
|
+
* @ignore
|
28
|
+
*/
|
29
|
+
get __hostClass() {
|
30
|
+
const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;
|
31
|
+
return `ax-alert ax-none ${_class}`;
|
32
|
+
}
|
33
|
+
_timeOut;
|
34
|
+
get timeOut() {
|
35
|
+
return this._timeOut;
|
36
|
+
}
|
37
|
+
set timeOut(v) {
|
38
|
+
if (v != this._timeOut) {
|
39
|
+
clearTimeout(this._timeOutRef);
|
40
|
+
this._timeOut = v;
|
41
|
+
if (v) {
|
42
|
+
this._timeOutRef = window.setTimeout(() => {
|
43
|
+
this.close();
|
44
|
+
}, this.timeOut);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
_observer;
|
49
|
+
_visible;
|
50
|
+
/**
|
51
|
+
* set the visibility of the Alert
|
52
|
+
*/
|
53
|
+
get visible() {
|
54
|
+
return this._visible;
|
55
|
+
}
|
56
|
+
set visible(v) {
|
57
|
+
if (this._visible != v) {
|
58
|
+
this._visible = v;
|
59
|
+
const host = this._getHostElement();
|
60
|
+
if (v) {
|
61
|
+
host.classList.remove('ax-state-hidden');
|
62
|
+
host.classList.add('ax-state-visible');
|
63
|
+
}
|
64
|
+
else {
|
65
|
+
host.classList.add('ax-state-hidden');
|
66
|
+
host.classList.toggle('ax-state-visible');
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
/**
|
71
|
+
* @ignore
|
72
|
+
*/
|
73
|
+
constructor(elementRef, cdr) {
|
74
|
+
super(elementRef, cdr);
|
75
|
+
//
|
76
|
+
const config = { attributes: false, childList: true, subtree: true };
|
77
|
+
const callback = (mutationList, observer) => {
|
78
|
+
for (const mutation of mutationList) {
|
79
|
+
if (mutation.type === 'childList') {
|
80
|
+
this._setIcon();
|
81
|
+
this._applyButtonStyle();
|
82
|
+
this._showInline = this._content != null || this._footer != null;
|
83
|
+
this._cdr.markForCheck();
|
84
|
+
}
|
85
|
+
}
|
86
|
+
};
|
87
|
+
// Create an observer instance linked to the callback function
|
88
|
+
this._observer = new MutationObserver(callback);
|
89
|
+
// Start observing the target node for configured mutations
|
90
|
+
this._observer.observe(this._getHostElement(), config);
|
91
|
+
}
|
92
|
+
onViewInit() {
|
93
|
+
if (this.visible == undefined) {
|
94
|
+
this.visible = true;
|
95
|
+
}
|
96
|
+
//
|
97
|
+
this._customIcon = this._icon?.icon;
|
98
|
+
this._showInline = this._content != null || this._footer != null;
|
99
|
+
}
|
100
|
+
_onOptionChanged(option) {
|
101
|
+
this._setIcon();
|
102
|
+
this._applyButtonStyle();
|
103
|
+
}
|
104
|
+
_setIcon() {
|
105
|
+
if (!this._icon || this._icon._getInnerElement())
|
106
|
+
return;
|
107
|
+
switch (this.color) {
|
108
|
+
case 'success':
|
109
|
+
this._icon.icon = 'ax-icon ax-icon-check-circle-fill';
|
110
|
+
break;
|
111
|
+
case 'danger':
|
112
|
+
this._icon.icon = 'ax-icon ax-icon-error-fill';
|
113
|
+
break;
|
114
|
+
case 'warning':
|
115
|
+
this._icon.icon = 'ax-icon ax-icon-warning-fill';
|
116
|
+
break;
|
117
|
+
default:
|
118
|
+
this._icon.icon = this._customIcon || 'ax-icon ax-icon-check-circle-fill';
|
119
|
+
break;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
_applyButtonStyle() {
|
123
|
+
this._buttons?.forEach((c) => {
|
124
|
+
c.color = this.color;
|
125
|
+
c.getHostElement().classList.add('ax-sm');
|
126
|
+
c.look = !c.look || c.look == 'default' ? 'default' : 'blank';
|
127
|
+
});
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* Remove the alert from the container
|
131
|
+
*/
|
132
|
+
close() {
|
133
|
+
const host = this._getHostElement();
|
134
|
+
this.visible = false;
|
135
|
+
const func = () => {
|
136
|
+
host.parentElement?.removeChild(host);
|
137
|
+
this.onClosed.emit({
|
138
|
+
component: this,
|
139
|
+
});
|
140
|
+
host.removeEventListener('transitionend', func);
|
141
|
+
};
|
142
|
+
host.addEventListener('transitionend', func);
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* Hide the alert
|
146
|
+
*/
|
147
|
+
hide() {
|
148
|
+
this.visible = false;
|
149
|
+
}
|
150
|
+
/**
|
151
|
+
* Show the alert
|
152
|
+
*/
|
153
|
+
show() {
|
154
|
+
this.visible = true;
|
155
|
+
}
|
156
|
+
onDestroy() {
|
157
|
+
this._observer?.disconnect();
|
158
|
+
}
|
159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAlertComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
160
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { onClosed: "onClosed" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], queries: [{ propertyName: "_icon", first: true, predicate: AXDecoratorIconComponent, descendants: true }, { propertyName: "_title", first: true, predicate: AXDecoratorTitleComponent, descendants: true }, { propertyName: "_content", first: true, predicate: AXDecoratorContentComponent, descendants: true }, { propertyName: "_footer", first: true, predicate: AXDecoratorFooterComponent, descendants: true }, { propertyName: "_buttons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-middle-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div\r\n class=\"ax-alert-middle-block-end\"\r\n [class.ax-hidden]=\"!_showInline\"\r\n [class.ax-title-gap]=\"_title\">\r\n <ng-content select=\"ax-content\"> </ng-content>\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div\r\n class=\"ax-alert-progress\"\r\n [style.animation-duration.ms]=\"timeOut\"\r\n *ngIf=\"timeOut\"></div>\r\n", styles: [".ax-dark ax-alert.ax-primary-default{background-color:rgba(var(--ax-color-primary-600));border-color:rgba(var(--ax-color-primary-600))}.ax-dark ax-alert.ax-primary-default ax-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default ax-content{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default .ax-alert-progress{background-color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-600));border-color:rgba(var(--ax-color-secondary-600))}.ax-dark ax-alert.ax-secondary-default ax-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default ax-content{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-success-default{background-color:rgba(var(--ax-color-success-600));border-color:rgba(var(--ax-color-success-600))}.ax-dark ax-alert.ax-success-default ax-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default ax-content{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default .ax-alert-progress{background-color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-warning-default{background-color:rgba(var(--ax-color-warning-600));border-color:rgba(var(--ax-color-warning-600))}.ax-dark ax-alert.ax-warning-default ax-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default ax-content{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default .ax-alert-progress{background-color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-danger-default{background-color:rgba(var(--ax-color-danger-600));border-color:rgba(var(--ax-color-danger-600))}.ax-dark ax-alert.ax-danger-default ax-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default ax-content{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default .ax-alert-progress{background-color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-info-default{background-color:rgba(var(--ax-color-info-600));border-color:rgba(var(--ax-color-info-600))}.ax-dark ax-alert.ax-info-default ax-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default ax-content{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default .ax-alert-progress{background-color:rgba(var(--ax-color-info-fore))}ax-alert{position:relative;padding:1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;display:flex;gap:1rem;overflow:hidden}ax-alert.ax-state-hidden{visibility:hidden;opacity:0}ax-alert.ax-state-visible{visibility:visible;opacity:1}ax-alert .ax-alert-inline-middle{display:flex;flex-direction:column;justify-content:center;flex:1 1 0%}ax-alert .ax-alert-inline-start,ax-alert .ax-alert-inline-end{display:flex}ax-alert .ax-alert-inline-start.ax-items-start,ax-alert .ax-alert-inline-end.ax-items-start{align-items:flex-start!important}ax-alert .ax-alert-inline-start{align-items:center}ax-alert .ax-alert-inline-start>ax-icon{border-radius:99rem;display:grid;place-items:center;font-size:1.25rem;line-height:1.25rem}ax-alert .ax-alert-inline-end{align-items:center}ax-alert .ax-alert-middle-block-start{display:flex;align-items:center;justify-content:center}ax-alert .ax-alert-middle-block-start .ax-alert-title{display:flex;flex-direction:column;flex:1}ax-alert .ax-alert-middle-block-start .ax-alert-title ax-title{font-size:.875rem;line-height:1.25rem;font-weight:500}ax-alert .ax-alert-middle-block-end{display:flex;flex-direction:column;gap:1rem}ax-alert .ax-alert-middle-block-end.ax-title-gap{margin-top:.5rem}ax-alert .ax-alert-middle-block-end.ax-hidden{display:none!important}ax-alert .ax-alert-middle-block-end ax-content{display:block}ax-alert .ax-alert-middle-block-end ax-footer{background-color:transparent}ax-alert .ax-alert-progress{width:0px;height:.25rem;position:absolute;inset-inline-start:0px;bottom:0;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert.ax-primary-default{background-color:rgba(var(--ax-color-primary-50));border-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-primary-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-default .ax-alert-progress{background-color:rgba(var(--ax-color-primary-900))}ax-alert.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-50));border-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-secondary-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-900))}ax-alert.ax-success-default{background-color:rgba(var(--ax-color-success-50));border-color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-success-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-default .ax-alert-progress{background-color:rgba(var(--ax-color-success-900))}ax-alert.ax-warning-default{background-color:rgba(var(--ax-color-warning-50));border-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-warning-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-warning-default ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-default .ax-alert-progress{background-color:rgba(var(--ax-color-warning-900))}ax-alert.ax-danger-default{background-color:rgba(var(--ax-color-danger-50));border-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-danger-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-default .ax-alert-progress{background-color:rgba(var(--ax-color-danger-900))}ax-alert.ax-info-default{background-color:rgba(var(--ax-color-info-50));border-color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-info-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-info-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-default .ax-alert-progress{background-color:rgba(var(--ax-color-info-900))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
161
|
+
}
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAlertComponent, decorators: [{
|
163
|
+
type: Component,
|
164
|
+
args: [{ selector: 'ax-alert', inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], template: "<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-middle-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div\r\n class=\"ax-alert-middle-block-end\"\r\n [class.ax-hidden]=\"!_showInline\"\r\n [class.ax-title-gap]=\"_title\">\r\n <ng-content select=\"ax-content\"> </ng-content>\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div\r\n class=\"ax-alert-progress\"\r\n [style.animation-duration.ms]=\"timeOut\"\r\n *ngIf=\"timeOut\"></div>\r\n", styles: [".ax-dark ax-alert.ax-primary-default{background-color:rgba(var(--ax-color-primary-600));border-color:rgba(var(--ax-color-primary-600))}.ax-dark ax-alert.ax-primary-default ax-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default ax-content{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-primary-default .ax-alert-progress{background-color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-600));border-color:rgba(var(--ax-color-secondary-600))}.ax-dark ax-alert.ax-secondary-default ax-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default ax-content{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-success-default{background-color:rgba(var(--ax-color-success-600));border-color:rgba(var(--ax-color-success-600))}.ax-dark ax-alert.ax-success-default ax-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default ax-content{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-success-default .ax-alert-progress{background-color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-warning-default{background-color:rgba(var(--ax-color-warning-600));border-color:rgba(var(--ax-color-warning-600))}.ax-dark ax-alert.ax-warning-default ax-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default ax-content{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-warning-default .ax-alert-progress{background-color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-danger-default{background-color:rgba(var(--ax-color-danger-600));border-color:rgba(var(--ax-color-danger-600))}.ax-dark ax-alert.ax-danger-default ax-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default ax-content{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-danger-default .ax-alert-progress{background-color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-info-default{background-color:rgba(var(--ax-color-info-600));border-color:rgba(var(--ax-color-info-600))}.ax-dark ax-alert.ax-info-default ax-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default ax-content{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-alert.ax-info-default .ax-alert-progress{background-color:rgba(var(--ax-color-info-fore))}ax-alert{position:relative;padding:1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;display:flex;gap:1rem;overflow:hidden}ax-alert.ax-state-hidden{visibility:hidden;opacity:0}ax-alert.ax-state-visible{visibility:visible;opacity:1}ax-alert .ax-alert-inline-middle{display:flex;flex-direction:column;justify-content:center;flex:1 1 0%}ax-alert .ax-alert-inline-start,ax-alert .ax-alert-inline-end{display:flex}ax-alert .ax-alert-inline-start.ax-items-start,ax-alert .ax-alert-inline-end.ax-items-start{align-items:flex-start!important}ax-alert .ax-alert-inline-start{align-items:center}ax-alert .ax-alert-inline-start>ax-icon{border-radius:99rem;display:grid;place-items:center;font-size:1.25rem;line-height:1.25rem}ax-alert .ax-alert-inline-end{align-items:center}ax-alert .ax-alert-middle-block-start{display:flex;align-items:center;justify-content:center}ax-alert .ax-alert-middle-block-start .ax-alert-title{display:flex;flex-direction:column;flex:1}ax-alert .ax-alert-middle-block-start .ax-alert-title ax-title{font-size:.875rem;line-height:1.25rem;font-weight:500}ax-alert .ax-alert-middle-block-end{display:flex;flex-direction:column;gap:1rem}ax-alert .ax-alert-middle-block-end.ax-title-gap{margin-top:.5rem}ax-alert .ax-alert-middle-block-end.ax-hidden{display:none!important}ax-alert .ax-alert-middle-block-end ax-content{display:block}ax-alert .ax-alert-middle-block-end ax-footer{background-color:transparent}ax-alert .ax-alert-progress{width:0px;height:.25rem;position:absolute;inset-inline-start:0px;bottom:0;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert.ax-primary-default{background-color:rgba(var(--ax-color-primary-50));border-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-primary-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-primary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-default .ax-alert-progress{background-color:rgba(var(--ax-color-primary-900))}ax-alert.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-50));border-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-secondary-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-secondary-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-default .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-900))}ax-alert.ax-success-default{background-color:rgba(var(--ax-color-success-50));border-color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-success-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-success-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-default .ax-alert-progress{background-color:rgba(var(--ax-color-success-900))}ax-alert.ax-warning-default{background-color:rgba(var(--ax-color-warning-50));border-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-warning-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-warning-default ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}ax-alert.ax-warning-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-default .ax-alert-progress{background-color:rgba(var(--ax-color-warning-900))}ax-alert.ax-danger-default{background-color:rgba(var(--ax-color-danger-50));border-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-danger-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-danger-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-default .ax-alert-progress{background-color:rgba(var(--ax-color-danger-900))}ax-alert.ax-info-default{background-color:rgba(var(--ax-color-info-50));border-color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-default ax-title{color:rgba(var(--ax-color-text-default))}ax-alert.ax-info-default ax-content{color:rgba(var(--ax-color-text-default))}ax-alert.ax-info-default .ax-alert-inline-start>ax-icon{color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-default .ax-alert-progress{background-color:rgba(var(--ax-color-info-900))}\n"] }]
|
165
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _icon: [{
|
166
|
+
type: ContentChild,
|
167
|
+
args: [AXDecoratorIconComponent]
|
168
|
+
}], _buttons: [{
|
169
|
+
type: ContentChildren,
|
170
|
+
args: [AXButtonComponent, { descendants: true }]
|
171
|
+
}], _title: [{
|
172
|
+
type: ContentChild,
|
173
|
+
args: [AXDecoratorTitleComponent]
|
174
|
+
}], _content: [{
|
175
|
+
type: ContentChild,
|
176
|
+
args: [AXDecoratorContentComponent]
|
177
|
+
}], _footer: [{
|
178
|
+
type: ContentChild,
|
179
|
+
args: [AXDecoratorFooterComponent]
|
180
|
+
}], onClosed: [{
|
181
|
+
type: Output
|
182
|
+
}], __hostClass: [{
|
183
|
+
type: HostBinding,
|
184
|
+
args: ['class']
|
185
|
+
}], timeOut: [{
|
186
|
+
type: Input
|
187
|
+
}], visible: [{
|
188
|
+
type: Input
|
189
|
+
}] } });
|
190
|
+
|
191
|
+
const COMPONENT = [AXAlertComponent];
|
192
|
+
const MODULES = [CommonModule, AXDecoratorModule];
|
193
|
+
class AXAlertModule {
|
194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
195
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent] });
|
196
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAlertModule, imports: [MODULES] });
|
197
|
+
}
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAlertModule, decorators: [{
|
199
|
+
type: NgModule,
|
200
|
+
args: [{
|
201
|
+
declarations: [...COMPONENT],
|
202
|
+
imports: [...MODULES],
|
203
|
+
exports: [...COMPONENT],
|
204
|
+
providers: [],
|
205
|
+
}]
|
206
|
+
}] });
|
207
|
+
|
208
|
+
/**
|
209
|
+
* Generated bundle index. Do not edit.
|
210
|
+
*/
|
211
|
+
|
212
|
+
export { AXAlertComponent, AXAlertModule, AXBaseAlertMixin };
|
213
|
+
//# sourceMappingURL=acorex-components-alert.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../projects/acorex/components/alert/src/alert.component.ts","../../../../projects/acorex/components/alert/src/alert.component.html","../../../../projects/acorex/components/alert/src/alert.module.ts","../../../../projects/acorex/components/alert/acorex-components-alert.ts"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\r\nimport {\r\n AXDecoratorContentComponent,\r\n AXDecoratorFooterComponent,\r\n AXDecoratorIconComponent,\r\n AXDecoratorTitleComponent,\r\n} from '@acorex/components/decorators';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n ContentChild,\r\n EventEmitter,\r\n Output,\r\n QueryList,\r\n ContentChildren,\r\n ViewChild,\r\n} from '@angular/core';\r\nimport { startWith } from 'rxjs/operators';\r\nimport { AXClosbaleComponent, AXEvent } from '@acorex/components/common';\r\nimport { AXBaseComponent, AXComponentOptionChanged, _ColorLookComponentMixin } from '@acorex/components/mixin';\r\n\r\nexport const AXBaseAlertMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n\r\n/**\r\n * Regular description\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-alert',\r\n templateUrl: './alert.component.html',\r\n styleUrls: ['./alert.component.scss'],\r\n inputs: ['color'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }],\r\n})\r\nexport class AXAlertComponent extends AXBaseAlertMixin {\r\n @ContentChild(AXDecoratorIconComponent)\r\n private _icon!: AXDecoratorIconComponent;\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n private _buttons!: QueryList<AXButtonComponent>;\r\n\r\n @ContentChild(AXDecoratorTitleComponent)\r\n protected _title!: AXButtonComponent;\r\n @ContentChild(AXDecoratorContentComponent)\r\n protected _content!: AXButtonComponent;\r\n\r\n @ContentChild(AXDecoratorFooterComponent)\r\n protected _footer!: AXButtonComponent;\r\n\r\n protected _showInline: boolean = false;\r\n\r\n @Output()\r\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\r\n\r\n private _customIcon: string;\r\n private _timeOutRef: number;\r\n\r\n /**\r\n * @ignore\r\n */\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n const _class = this.look ? `ax-${this.color}-${this.look}` : `ax-${this.color}-default`;\r\n return `ax-alert ax-none ${_class}`;\r\n }\r\n\r\n private _timeOut: number;\r\n @Input()\r\n public get timeOut(): number {\r\n return this._timeOut;\r\n }\r\n public set timeOut(v: number) {\r\n if (v != this._timeOut) {\r\n clearTimeout(this._timeOutRef);\r\n this._timeOut = v;\r\n if (v) {\r\n this._timeOutRef = window.setTimeout(() => {\r\n this.close();\r\n }, this.timeOut);\r\n }\r\n }\r\n }\r\n\r\n private _observer: MutationObserver;\r\n\r\n protected _visible: boolean;\r\n /**\r\n * set the visibility of the Alert\r\n */\r\n @Input()\r\n public get visible(): boolean {\r\n return this._visible;\r\n }\r\n public set visible(v: boolean) {\r\n if (this._visible != v) {\r\n this._visible = v;\r\n const host = this._getHostElement();\r\n if (v) {\r\n host.classList.remove('ax-state-hidden');\r\n host.classList.add('ax-state-visible');\r\n } else {\r\n host.classList.add('ax-state-hidden');\r\n host.classList.toggle('ax-state-visible');\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n //\r\n const config = { attributes: false, childList: true, subtree: true };\r\n\r\n const callback = (mutationList, observer) => {\r\n for (const mutation of mutationList) {\r\n if (mutation.type === 'childList') {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n this._showInline = this._content != null || this._footer != null;\r\n this._cdr.markForCheck();\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this._observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this._observer.observe(this._getHostElement(), config);\r\n }\r\n\r\n onViewInit() {\r\n if (this.visible == undefined) {\r\n this.visible = true;\r\n }\r\n //\r\n this._customIcon = this._icon?.icon;\r\n this._showInline = this._content != null || this._footer != null;\r\n }\r\n\r\n override _onOptionChanged(option: AXComponentOptionChanged) {\r\n this._setIcon();\r\n this._applyButtonStyle();\r\n }\r\n\r\n private _setIcon() {\r\n if (!this._icon || this._icon._getInnerElement()) return;\r\n\r\n switch (this.color) {\r\n case 'success':\r\n this._icon.icon = 'ax-icon ax-icon-check-circle-fill';\r\n break;\r\n case 'danger':\r\n this._icon.icon = 'ax-icon ax-icon-error-fill';\r\n break;\r\n case 'warning':\r\n this._icon.icon = 'ax-icon ax-icon-warning-fill';\r\n break;\r\n default:\r\n this._icon.icon = this._customIcon || 'ax-icon ax-icon-check-circle-fill';\r\n break;\r\n }\r\n }\r\n\r\n private _applyButtonStyle() {\r\n this._buttons?.forEach((c: any) => {\r\n c.color = this.color;\r\n c.getHostElement().classList.add('ax-sm');\r\n c.look = !c.look || c.look == 'default' ? 'default' : 'blank';\r\n });\r\n }\r\n\r\n /**\r\n * Remove the alert from the container\r\n */\r\n close(): void {\r\n const host = this._getHostElement();\r\n this.visible = false;\r\n const func = () => {\r\n host.parentElement?.removeChild(host);\r\n this.onClosed.emit({\r\n component: this,\r\n });\r\n host.removeEventListener('transitionend', func);\r\n };\r\n host.addEventListener('transitionend', func);\r\n }\r\n\r\n /**\r\n * Hide the alert\r\n */\r\n hide(): void {\r\n this.visible = false;\r\n }\r\n\r\n /**\r\n * Show the alert\r\n */\r\n show() {\r\n this.visible = true;\r\n }\r\n\r\n onDestroy(): void {\r\n this._observer?.disconnect();\r\n }\r\n}\r\n","<div class=\"ax-alert-inline-start\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-icon\"></ng-content>\r\n</div>\r\n<div class=\"ax-alert-inline-middle\">\r\n <div class=\"ax-alert-middle-block-start\">\r\n <div class=\"ax-alert-title\">\r\n <ng-content select=\"ax-title\"></ng-content>\r\n </div>\r\n </div>\r\n <div\r\n class=\"ax-alert-middle-block-end\"\r\n [class.ax-hidden]=\"!_showInline\"\r\n [class.ax-title-gap]=\"_title\">\r\n <ng-content select=\"ax-content\"> </ng-content>\r\n <ng-content select=\"ax-footer\"> </ng-content>\r\n </div>\r\n</div>\r\n<div class=\"ax-alert-inline-end\" [class.!ax-items-start]=\"_showInline\">\r\n <ng-content select=\"ax-button\"></ng-content>\r\n <ng-content select=\"ax-close-button\"></ng-content>\r\n</div>\r\n<div\r\n class=\"ax-alert-progress\"\r\n [style.animation-duration.ms]=\"timeOut\"\r\n *ngIf=\"timeOut\"></div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXAlertComponent } from './alert.component';\r\n\r\nconst COMPONENT = [AXAlertComponent];\r\nconst MODULES = [CommonModule, AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXAlertModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MA0Ba,gBAAgB,GAAG,wBAAwB,CAAC,eAAe,EAAE;AAE1E;;;;AAIG;AACH,MASa,gBAAiB,SAAQ,gBAAgB,CAAA;AAE5C,IAAA,KAAK,CAA4B;AAGjC,IAAA,QAAQ,CAAgC;AAGtC,IAAA,MAAM,CAAqB;AAE3B,IAAA,QAAQ,CAAqB;AAG7B,IAAA,OAAO,CAAqB;IAE5B,WAAW,GAAY,KAAK,CAAC;AAGvC,IAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW,CAAC;AAEtD,IAAA,WAAW,CAAS;AACpB,IAAA,WAAW,CAAS;AAE5B;;AAEG;AACH,IAAA,IACI,WAAW,GAAA;QACb,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,GAAG,CAAM,GAAA,EAAA,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,CAAA,CAAE,GAAG,CAAA,GAAA,EAAM,IAAI,CAAC,KAAK,CAAA,QAAA,CAAU,CAAC;QACxF,OAAO,CAAA,iBAAA,EAAoB,MAAM,CAAA,CAAE,CAAC;KACrC;AAEO,IAAA,QAAQ,CAAS;AACzB,IAAA,IACW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;KACtB;IACD,IAAW,OAAO,CAAC,CAAS,EAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,IAAI,CAAC,QAAQ,EAAE;AACtB,YAAA,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC/B,YAAA,IAAI,CAAC,QAAQ,GAAG,CAAC,C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AA,CAAA;sBADjB,KAAK;;;AE5FR,MAAM,SAAS,GAAG,CAAC,gBAAgB,CAAC,CAAC;AACrC,MAAM,OAAO,GAAG,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC;AAElD,MAMa,aAAa,CAAA;uGAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,iBATP,gBAAgB,CAAA,EAAA,OAAA,EAAA,CAClB,YAAY,EAAE,iBAAiB,aAD7B,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAStB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJX,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ContentChildren, HostBinding, NgModule } from '@angular/core';
|
3
|
+
import { AXAvatarMixin } from '@acorex/components/mixin';
|
4
|
+
import * as i1 from '@angular/common';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
|
7
|
+
class AXAvatarGroup {
|
8
|
+
constructor() { }
|
9
|
+
ngOnInit() { }
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarGroup, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXAvatarGroup, selector: "ax-avatar-group", ngImport: i0, template: `<ng-content select="ax-avatar"></ng-content>`, isInline: true });
|
12
|
+
}
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarGroup, decorators: [{
|
14
|
+
type: Component,
|
15
|
+
args: [{
|
16
|
+
selector: 'ax-avatar-group',
|
17
|
+
template: `<ng-content select="ax-avatar"></ng-content>`,
|
18
|
+
}]
|
19
|
+
}], ctorParameters: function () { return []; } });
|
20
|
+
|
21
|
+
/**
|
22
|
+
* The Button is a component which detects user interaction and triggers a corresponding event
|
23
|
+
*
|
24
|
+
* @category Components
|
25
|
+
*/
|
26
|
+
class AXAvatarComponent extends AXAvatarMixin {
|
27
|
+
class;
|
28
|
+
_children;
|
29
|
+
/**
|
30
|
+
* @ignore
|
31
|
+
*/
|
32
|
+
constructor(elementRef, cdr) {
|
33
|
+
super(elementRef, cdr);
|
34
|
+
}
|
35
|
+
ngAfterViewInit() {
|
36
|
+
this._children.changes.subscribe(() => {
|
37
|
+
this._cdr.markForCheck();
|
38
|
+
});
|
39
|
+
}
|
40
|
+
get __hostClass() {
|
41
|
+
return `ax-${this.color}-default`;
|
42
|
+
}
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXAvatarComponent, selector: "ax-avatar", inputs: { color: "color", look: "look", class: "class" }, host: { properties: { "class": "this.__hostClass" } }, queries: [{ propertyName: "_children", predicate: ["ax-text, ax-icon, ax-image"] }], usesInheritance: true, ngImport: i0, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default {{class}}\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n 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</ng-template>", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{border-width:2px;border-color:rgba(var(--ax-color-surface));margin:-.25rem;overflow:hidden}ax-avatar{position:relative;display:flex;justify-content:center;width:4rem;height:4rem}ax-avatar *{border-radius:inherit}ax-avatar ax-image{overflow:hidden}ax-avatar ax-text{font-size:1.25rem;line-height:1.75rem}ax-avatar ax-icon,ax-avatar ax-text{@apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;width:100%;height:100%;display:flex;align-items:center;justify-content:center}ax-avatar.ax-primary-default .ax-default{fill:rgba(var(--ax-color-primary-500))}ax-avatar.ax-primary-default ax-text{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-500))}ax-avatar.ax-primary-default ax-icon{background-color:rgba(var(--ax-color-primary-500))}ax-avatar.ax-secondary-default .ax-default{fill:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-secondary-default ax-text{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-secondary-default ax-icon{background-color:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-success-default .ax-default{fill:rgba(var(--ax-color-success-500))}ax-avatar.ax-success-default ax-text{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-500))}ax-avatar.ax-success-default ax-icon{background-color:rgba(var(--ax-color-success-500))}ax-avatar.ax-warning-default .ax-default{fill:rgba(var(--ax-color-warning-500))}ax-avatar.ax-warning-default ax-text{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-500))}ax-avatar.ax-warning-default ax-icon{background-color:rgba(var(--ax-color-warning-500))}ax-avatar.ax-danger-default .ax-default{fill:rgba(var(--ax-color-danger-500))}ax-avatar.ax-danger-default ax-text{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-500))}ax-avatar.ax-danger-default ax-icon{background-color:rgba(var(--ax-color-danger-500))}ax-avatar.ax-info-default .ax-default{fill:rgba(var(--ax-color-info-500))}ax-avatar.ax-info-default ax-text{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-500))}ax-avatar.ax-info-default ax-icon{background-color:rgba(var(--ax-color-info-500))}ax-avatar.ax-ghost-default .ax-default{fill:rgba(var(--ax-color-on-surface))}ax-avatar.ax-ghost-default ax-text,ax-avatar.ax-ghost-default ax-icon{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-on-surface))}ax-avatar.ax-ghost-default ax-icon svg{fill:rgba(var(--ax-color-on-surface))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
45
|
+
}
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarComponent, decorators: [{
|
47
|
+
type: Component,
|
48
|
+
args: [{ selector: 'ax-avatar', inputs: ['color', 'look'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default {{class}}\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n 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</ng-template>", styles: ["ax-avatar-group{display:flex}ax-avatar-group ax-avatar{border-width:2px;border-color:rgba(var(--ax-color-surface));margin:-.25rem;overflow:hidden}ax-avatar{position:relative;display:flex;justify-content:center;width:4rem;height:4rem}ax-avatar *{border-radius:inherit}ax-avatar ax-image{overflow:hidden}ax-avatar ax-text{font-size:1.25rem;line-height:1.75rem}ax-avatar ax-icon,ax-avatar ax-text{@apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;width:100%;height:100%;display:flex;align-items:center;justify-content:center}ax-avatar.ax-primary-default .ax-default{fill:rgba(var(--ax-color-primary-500))}ax-avatar.ax-primary-default ax-text{background-color:rgba(var(--ax-color-primary-100));color:rgba(var(--ax-color-primary-500))}ax-avatar.ax-primary-default ax-icon{background-color:rgba(var(--ax-color-primary-500))}ax-avatar.ax-secondary-default .ax-default{fill:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-secondary-default ax-text{background-color:rgba(var(--ax-color-secondary-100));color:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-secondary-default ax-icon{background-color:rgba(var(--ax-color-secondary-500))}ax-avatar.ax-success-default .ax-default{fill:rgba(var(--ax-color-success-500))}ax-avatar.ax-success-default ax-text{background-color:rgba(var(--ax-color-success-100));color:rgba(var(--ax-color-success-500))}ax-avatar.ax-success-default ax-icon{background-color:rgba(var(--ax-color-success-500))}ax-avatar.ax-warning-default .ax-default{fill:rgba(var(--ax-color-warning-500))}ax-avatar.ax-warning-default ax-text{background-color:rgba(var(--ax-color-warning-100));color:rgba(var(--ax-color-warning-500))}ax-avatar.ax-warning-default ax-icon{background-color:rgba(var(--ax-color-warning-500))}ax-avatar.ax-danger-default .ax-default{fill:rgba(var(--ax-color-danger-500))}ax-avatar.ax-danger-default ax-text{background-color:rgba(var(--ax-color-danger-100));color:rgba(var(--ax-color-danger-500))}ax-avatar.ax-danger-default ax-icon{background-color:rgba(var(--ax-color-danger-500))}ax-avatar.ax-info-default .ax-default{fill:rgba(var(--ax-color-info-500))}ax-avatar.ax-info-default ax-text{background-color:rgba(var(--ax-color-info-100));color:rgba(var(--ax-color-info-500))}ax-avatar.ax-info-default ax-icon{background-color:rgba(var(--ax-color-info-500))}ax-avatar.ax-ghost-default .ax-default{fill:rgba(var(--ax-color-on-surface))}ax-avatar.ax-ghost-default ax-text,ax-avatar.ax-ghost-default ax-icon{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-on-surface))}ax-avatar.ax-ghost-default ax-icon svg{fill:rgba(var(--ax-color-on-surface))}\n"] }]
|
49
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { class: [{
|
50
|
+
type: Input,
|
51
|
+
args: ['class']
|
52
|
+
}], _children: [{
|
53
|
+
type: ContentChildren,
|
54
|
+
args: ['ax-text, ax-icon, ax-image']
|
55
|
+
}], __hostClass: [{
|
56
|
+
type: HostBinding,
|
57
|
+
args: ['class']
|
58
|
+
}] } });
|
59
|
+
|
60
|
+
const COMPONENT = [AXAvatarComponent, AXAvatarGroup];
|
61
|
+
const MODULES = [CommonModule];
|
62
|
+
class AXAvatarModule {
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
64
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarModule, declarations: [AXAvatarComponent, AXAvatarGroup], imports: [CommonModule], exports: [AXAvatarComponent, AXAvatarGroup] });
|
65
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarModule, imports: [MODULES] });
|
66
|
+
}
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXAvatarModule, decorators: [{
|
68
|
+
type: NgModule,
|
69
|
+
args: [{
|
70
|
+
declarations: [...COMPONENT],
|
71
|
+
imports: [...MODULES],
|
72
|
+
exports: [...COMPONENT],
|
73
|
+
providers: [],
|
74
|
+
}]
|
75
|
+
}] });
|
76
|
+
|
77
|
+
/**
|
78
|
+
* Generated bundle index. Do not edit.
|
79
|
+
*/
|
80
|
+
|
81
|
+
export { AXAvatarComponent, AXAvatarGroup, AXAvatarModule };
|
82
|
+
//# sourceMappingURL=acorex-components-avatar.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-avatar.mjs","sources":["../../../../projects/acorex/components/avatar/src/avatar-group.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.ts","../../../../projects/acorex/components/avatar/src/avatar.component.html","../../../../projects/acorex/components/avatar/src/avatar.module.ts","../../../../projects/acorex/components/avatar/acorex-components-avatar.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-avatar-group',\r\n template: `<ng-content select=\"ax-avatar\"></ng-content>`,\r\n})\r\nexport class AXAvatarGroup implements OnInit {\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n}\r\n","import { AXAvatarMixin } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n HostBinding,\r\n ContentChildren,\r\n QueryList,\r\n Input,\r\n} from '@angular/core';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-avatar',\r\n templateUrl: './avatar.component.html',\r\n styleUrls: ['./avatar.component.scss'],\r\n inputs: ['color', 'look'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXAvatarComponent extends AXAvatarMixin {\r\n @Input('class') class: string;\r\n\r\n @ContentChildren('ax-text, ax-icon, ax-image')\r\n readonly _children: QueryList<any>;\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this._children.changes.subscribe(() => {\r\n this._cdr.markForCheck();\r\n });\r\n }\r\n\r\n @HostBinding('class')\r\n get __hostClass(): string {\r\n return `ax-${this.color}-default`;\r\n }\r\n}\r\n","<ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_children.length\"></ng-container>\r\n<ng-container [ngTemplateOutlet]=\"custom\" *ngIf=\"_children.length\"></ng-container>\r\n\r\n<ng-template #custom>\r\n <ng-content></ng-content>\r\n</ng-template>\r\n<ng-template #default>\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" class=\"ax-default {{class}}\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n 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</ng-template>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXAvatarComponent } from './avatar.component';\r\nimport { AXAvatarGroup } from './avatar-group.component';\r\n\r\nconst COMPONENT = [AXAvatarComponent, AXAvatarGroup];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXAvatarModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAEA,MAIa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA,GAAgB;AAEhB,IAAA,QAAQ,MAAW;uGAHR,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,uDAFd,CAA8C,4CAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;;2FAE7C,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,QAAQ,EAAE,CAA8C,4CAAA,CAAA;AACzD,iBAAA,CAAA;;;ACQD;;;;AAIG;AACH,MAQa,iBAAkB,SAAQ,aAAa,CAAA;AAClC,IAAA,KAAK,CAAS;AAGrB,IAAA,SAAS,CAAiB;AAEnC;;AAEG;IACH,WAAY,CAA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EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { _ColorLookComponentMixin, AXBaseComponent } from '@acorex/components/mixin';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
|
4
|
+
import * as i1 from '@angular/common';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
|
7
|
+
const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);
|
8
|
+
class AXBadgeComponent extends AXBaseBadgeMixin {
|
9
|
+
elementRef;
|
10
|
+
text = '';
|
11
|
+
constructor(elementRef, cdr) {
|
12
|
+
super(elementRef, cdr);
|
13
|
+
this.elementRef = elementRef;
|
14
|
+
}
|
15
|
+
get __hostClass() {
|
16
|
+
return `ax-${this.color}-default ${!this.text ? 'ax-mini-badge' : ''} ${this.text.length == 1 ? 'ax-single-badge' : ''}`;
|
17
|
+
}
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
19
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXBadgeComponent, selector: "ax-badge", inputs: { color: "color", text: "text" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span *ngIf=\"text\" class=\"ax-badge-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;font-size:.75rem;border-radius:99rem;text-align:center}ax-badge.ax-mini-badge{width:.5rem;height:.5rem}ax-badge.ax-mini-badge .ax-badge-text{display:none}ax-badge.ax-single-badge{width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center}ax-badge.ax-single-badge .ax-badge-text{padding:0}ax-badge .ax-badge-text{padding:.25rem .375rem;height:auto;word-break:break-all}ax-badge.ax-primary-default{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-badge.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-badge.ax-success-default{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-badge.ax-warning-default{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-badge.ax-danger-default{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-badge.ax-info-default{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-badge.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-200));color:rgba(var(--ax-color-ghost-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
20
|
+
}
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
22
|
+
type: Component,
|
23
|
+
args: [{ selector: 'ax-badge', inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<span *ngIf=\"text\" class=\"ax-badge-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-badge{display:inline-block;font-size:.75rem;border-radius:99rem;text-align:center}ax-badge.ax-mini-badge{width:.5rem;height:.5rem}ax-badge.ax-mini-badge .ax-badge-text{display:none}ax-badge.ax-single-badge{width:1.125rem;height:1.125rem;display:flex;align-items:center;justify-content:center}ax-badge.ax-single-badge .ax-badge-text{padding:0}ax-badge .ax-badge-text{padding:.25rem .375rem;height:auto;word-break:break-all}ax-badge.ax-primary-default{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-badge.ax-secondary-default{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-badge.ax-success-default{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-badge.ax-warning-default{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-badge.ax-danger-default{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-badge.ax-info-default{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-badge.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-200));color:rgba(var(--ax-color-ghost-fore))}\n"] }]
|
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
|
+
|
31
|
+
const COMPONENT = [AXBadgeComponent];
|
32
|
+
const MODULES = [CommonModule];
|
33
|
+
class AXBadgeModule {
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
35
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] });
|
36
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeModule, imports: [MODULES] });
|
37
|
+
}
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBadgeModule, decorators: [{
|
39
|
+
type: NgModule,
|
40
|
+
args: [{
|
41
|
+
declarations: [...COMPONENT],
|
42
|
+
imports: [...MODULES],
|
43
|
+
exports: [...COMPONENT],
|
44
|
+
providers: [],
|
45
|
+
}]
|
46
|
+
}] });
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Generated bundle index. Do not edit.
|
50
|
+
*/
|
51
|
+
|
52
|
+
export { AXBadgeComponent, AXBadgeModule, AXBaseBadgeMixin };
|
53
|
+
//# sourceMappingURL=acorex-components-badge.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-badge.mjs","sources":["../../../../projects/acorex/components/badge/src/badge.component.ts","../../../../projects/acorex/components/badge/src/badge.component.html","../../../../projects/acorex/components/badge/src/badge.module.ts","../../../../projects/acorex/components/badge/acorex-components-badge.ts"],"sourcesContent":["import { _ColorLookComponentMixin, AXBaseComponent, COLOR_LOOK_INPUTS } from '@acorex/components/mixin';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n HostBinding,\r\n} from '@angular/core';\r\n\r\n\r\nexport const AXBaseBadgeMixin = _ColorLookComponentMixin(AXBaseComponent);\r\n@Component({\r\n selector: 'ax-badge',\r\n templateUrl: './badge.component.html',\r\n styleUrls: ['./badge.component.scss'],\r\n inputs: ['color'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXBadgeComponent extends AXBaseBadgeMixin {\r\n @Input() text: string = '';\r\n\r\n constructor(private elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n return `ax-${this.color}-default ${!this.text ? 'ax-mini-badge' : ''} ${this.text.length == 1 ? 'ax-single-badge' : ''}`\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix\"></ng-content>\r\n<span *ngIf=\"text\" class=\"ax-badge-text\">{{text}}</span>\r\n<ng-content select=\"ax-suffix\"></ng-content>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXBadgeComponent } from './badge.component';\r\n\r\nconst COMPONENT = [AXBadgeComponent];\r\nconst MODULES = [CommonModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXBadgeModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAYa,gBAAgB,GAAG,wBAAwB,CAAC,eAAe,EAAE;AAC1E,MAQa,gBAAiB,SAAQ,gBAAgB,CAAA;AAGhC,IAAA,UAAA,CAAA;IAFX,IAAI,GAAW,EAAE,CAAC;IAE3B,WAAoB,CAAA,UAAsB,EAAE,GAAsB,EAAA;AAChE,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QADL,IAAU,CAAA,UAAA,GAAV,UAAU,CAAY;KAEzC;AAED,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OAAO,CAAM,GAAA,EAAA,IAAI,CAAC,KAAK,YAAY,CAAC,IAAI,CAAC,IAAI,GAAG,eAAe,GAAG,EAAE,CAAI,CAAA,EAAA,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,GAAG,iBAAiB,GAAG,EAAE,EAAE,CAAA;KACzH;uGAVU,gBAAgB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CA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A,EAAA,CAAA,YAAY,aADV,gBAAgB,CAAA,EAAA,CAAA,CAAA;AAStB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJX,OAAO,CAAA,EAAA,CAAA,CAAA;;2FAIT,aAAa,EAAA,UAAA,EAAA,CAAA;kBANzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
import { AXBaseComponent, _InteractiveComponenetMixin, _ClickableComponenetMixin } from '@acorex/components/mixin';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChild, ViewChild, Optional, Inject, Input, HostListener, HostBinding, NgModule } from '@angular/core';
|
4
|
+
import * as i1 from '@angular/common';
|
5
|
+
import { CommonModule } from '@angular/common';
|
6
|
+
|
7
|
+
class AXBreadCrumbsComponent extends AXBaseComponent {
|
8
|
+
_divider;
|
9
|
+
dividerTemplate;
|
10
|
+
/**
|
11
|
+
* @ignore
|
12
|
+
*/
|
13
|
+
constructor(_elementRef, _cdr) {
|
14
|
+
super(_elementRef, _cdr);
|
15
|
+
}
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadCrumbsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXBreadCrumbsComponent, selector: "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>", styles: ["ax-breadcrumbs{display:inline-flex;align-items:center;width:100%;overflow:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity}ax-breadcrumbs ax-breadcrumbs-item{display:inline-flex;align-items:center;font-size:.875rem;line-height:1.25rem;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none}ax-breadcrumbs ax-breadcrumbs-item.ax-state-active .ax-breadcrumbs-item-text{color:rgba(var(--ax-color-primary-500))!important}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text{padding:0 .25rem;color:rgba(var(--ax-color-text-default))}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text:visited{color:rgba(var(--ax-color-text-default))}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text:hover{color:rgba(var(--ax-color-primary-500))}ax-breadcrumbs ax-breadcrumbs-item>.ax-breadcrumb-divider{padding:0 .25rem}ax-breadcrumbs ax-breadcrumbs-item:last-child{scroll-snap-align:end}ax-breadcrumbs ax-breadcrumbs-item:last-child .ax-breadcrumb-divider{display:none}ax-breadcrumbs ax-breadcrumbs-item:not(ax-breadcrumbs ax-breadcrumbs-item:first-child) .ax-breadcrumbs-item-text{padding-inline-start:.25rem}ax-breadcrumbs ax-breadcrumbs-item:not(ax-breadcrumbs ax-breadcrumbs-item:first-child) ax-prefix{padding-inline-start:.25rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
18
|
+
}
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
20
|
+
type: Component,
|
21
|
+
args: [{ selector: 'ax-breadcrumbs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, 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>", styles: ["ax-breadcrumbs{display:inline-flex;align-items:center;width:100%;overflow:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity}ax-breadcrumbs ax-breadcrumbs-item{display:inline-flex;align-items:center;font-size:.875rem;line-height:1.25rem;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none}ax-breadcrumbs ax-breadcrumbs-item.ax-state-active .ax-breadcrumbs-item-text{color:rgba(var(--ax-color-primary-500))!important}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text{padding:0 .25rem;color:rgba(var(--ax-color-text-default))}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text:visited{color:rgba(var(--ax-color-text-default))}ax-breadcrumbs ax-breadcrumbs-item .ax-breadcrumbs-item-text:hover{color:rgba(var(--ax-color-primary-500))}ax-breadcrumbs ax-breadcrumbs-item>.ax-breadcrumb-divider{padding:0 .25rem}ax-breadcrumbs ax-breadcrumbs-item:last-child{scroll-snap-align:end}ax-breadcrumbs ax-breadcrumbs-item:last-child .ax-breadcrumb-divider{display:none}ax-breadcrumbs ax-breadcrumbs-item:not(ax-breadcrumbs ax-breadcrumbs-item:first-child) .ax-breadcrumbs-item-text{padding-inline-start:.25rem}ax-breadcrumbs ax-breadcrumbs-item:not(ax-breadcrumbs ax-breadcrumbs-item:first-child) ax-prefix{padding-inline-start:.25rem}\n"] }]
|
22
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _divider: [{
|
23
|
+
type: ContentChild,
|
24
|
+
args: ['divider']
|
25
|
+
}], dividerTemplate: [{
|
26
|
+
type: ViewChild,
|
27
|
+
args: ['dividerTpl']
|
28
|
+
}] } });
|
29
|
+
|
30
|
+
const AXBaseItemBreadCrumbMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
|
31
|
+
class AXBreadCrumbsItemComponent extends AXBaseItemBreadCrumbMixin {
|
32
|
+
_parent;
|
33
|
+
text;
|
34
|
+
href;
|
35
|
+
active;
|
36
|
+
/**
|
37
|
+
* @ignore
|
38
|
+
*/
|
39
|
+
constructor(_elementRef, _cdr, _parent) {
|
40
|
+
super(_elementRef, _cdr);
|
41
|
+
this._parent = _parent;
|
42
|
+
}
|
43
|
+
__hostClick(e) {
|
44
|
+
this._emitOnClickEvent(e);
|
45
|
+
}
|
46
|
+
get __hostClass() {
|
47
|
+
return `${this.active ? 'ax-state-active' : ''}`;
|
48
|
+
}
|
49
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXBreadCrumbsComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
50
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXBreadCrumbsItemComponent, selector: "ax-breadcrumbs-item", inputs: { text: "text", href: "href", active: "active" }, host: { listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix, ax-loading, ax-icon\"> </ng-content>\r\n<a class=\"ax-breadcrumbs-item-text\" [href]=\"href\">{{ text }}</a>\r\n<ng-content select=\"ax-suffix, ax-loading, ax-icon\"> </ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
51
|
+
}
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
53
|
+
type: Component,
|
54
|
+
args: [{ selector: 'ax-breadcrumbs-item', template: "<ng-content select=\"ax-prefix, ax-loading, ax-icon\"> </ng-content>\r\n<a class=\"ax-breadcrumbs-item-text\" [href]=\"href\">{{ text }}</a>\r\n<ng-content select=\"ax-suffix, ax-loading, ax-icon\"> </ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n" }]
|
55
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: AXBreadCrumbsComponent, decorators: [{
|
56
|
+
type: Optional
|
57
|
+
}, {
|
58
|
+
type: Inject,
|
59
|
+
args: [AXBreadCrumbsComponent]
|
60
|
+
}] }]; }, propDecorators: { text: [{
|
61
|
+
type: Input
|
62
|
+
}], href: [{
|
63
|
+
type: Input
|
64
|
+
}], active: [{
|
65
|
+
type: Input
|
66
|
+
}], __hostClick: [{
|
67
|
+
type: HostListener,
|
68
|
+
args: ['click', ['$event']]
|
69
|
+
}], __hostClass: [{
|
70
|
+
type: HostBinding,
|
71
|
+
args: ['class']
|
72
|
+
}] } });
|
73
|
+
|
74
|
+
class AXBreadcrumbsModule {
|
75
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
76
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] });
|
77
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadcrumbsModule, imports: [CommonModule] });
|
78
|
+
}
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
80
|
+
type: NgModule,
|
81
|
+
args: [{
|
82
|
+
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
83
|
+
imports: [CommonModule],
|
84
|
+
exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
85
|
+
providers: [],
|
86
|
+
}]
|
87
|
+
}] });
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Generated bundle index. Do not edit.
|
91
|
+
*/
|
92
|
+
|
93
|
+
export { AXBaseItemBreadCrumbMixin, AXBreadCrumbsComponent, AXBreadCrumbsItemComponent, AXBreadcrumbsModule };
|
94
|
+
//# sourceMappingURL=acorex-components-breadcrumbs.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-breadcrumbs.mjs","sources":["../../../../projects/acorex/components/breadcrumbs/src/breadcrumbs.component.ts","../../../../projects/acorex/components/breadcrumbs/src/breadcrumbs.component.html","../../../../projects/acorex/components/breadcrumbs/src/breadcrumbs-item.component.ts","../../../../projects/acorex/components/breadcrumbs/src/breadcrumbs-item.component.html","../../../../projects/acorex/components/breadcrumbs/src/breadcrumbs.module.ts","../../../../projects/acorex/components/breadcrumbs/acorex-components-breadcrumbs.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n TemplateRef,\r\n ViewChild,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-breadcrumbs',\r\n templateUrl: './breadcrumbs.component.html',\r\n styleUrls:['./breadcrumbs.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AXBreadCrumbsComponent extends AXBaseComponent {\r\n @ContentChild('divider')\r\n _divider: TemplateRef<any>;\r\n\r\n @ViewChild('dividerTpl')\r\n dividerTemplate: TemplateRef<any>;\r\n /**\r\n * @ignore\r\n */\r\n constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef) {\r\n super(_elementRef, _cdr);\r\n }\r\n}\r\n","<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>","import { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectorRef, Component, ElementRef, HostBinding, HostListener, Inject, Input, Optional } from '@angular/core';\r\n\r\nimport { AXBreadCrumbsComponent } from './breadcrumbs.component';\r\n\r\nexport const AXBaseItemBreadCrumbMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));\r\n@Component({\r\n selector: 'ax-breadcrumbs-item',\r\n templateUrl: './breadcrumbs-item.component.html',\r\n})\r\nexport class AXBreadCrumbsItemComponent extends AXBaseItemBreadCrumbMixin {\r\n @Input() text: string;\r\n\r\n @Input() href: string;\r\n @Input() active: boolean;\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n @Optional()\r\n @Inject(AXBreadCrumbsComponent)\r\n public _parent: AXBreadCrumbsComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n @HostListener('click', ['$event'])\r\n private __hostClick(e: MouseEvent) {\r\n this._emitOnClickEvent(e);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n return `${this.active ? 'ax-state-active' : ''}`;\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix, ax-loading, ax-icon\"> </ng-content>\r\n<a class=\"ax-breadcrumbs-item-text\" [href]=\"href\">{{ text }}</a>\r\n<ng-content select=\"ax-suffix, ax-loading, ax-icon\"> </ng-content>\r\n<div class=\"ax-breadcrumb-divider\">\r\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXBreadCrumbsComponent } from './breadcrumbs.component';\r\nimport { AXBreadCrumbsItemComponent } from './breadcrumbs-item.component';\r\n\r\n@NgModule({\r\n declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],\r\n imports: [CommonModule],\r\n exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],\r\n providers: [],\r\n})\r\nexport class AXBreadcrumbsModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;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