@acorex/components 7.1.52 → 7.2.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/README.md +3 -20
- package/action-sheet/README.md +3 -0
- package/action-sheet/index.d.ts +4 -5
- package/alert/README.md +3 -0
- package/alert/index.d.ts +2 -5
- package/avatar/README.md +3 -0
- package/avatar/index.d.ts +3 -5
- package/badge/README.md +3 -0
- package/badge/index.d.ts +2 -5
- package/breadcrumbs/README.md +3 -0
- package/breadcrumbs/index.d.ts +4 -5
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +80 -0
- package/button/README.md +3 -0
- package/button/index.d.ts +5 -5
- package/button/lib/button-group.component.d.ts +86 -0
- package/button/lib/button-item.component.d.ts +82 -0
- package/calendar/README.md +3 -0
- package/calendar/index.d.ts +4 -5
- package/calendar/lib/calendar.class.d.ts +81 -0
- package/checkbox/README.md +3 -0
- package/checkbox/index.d.ts +2 -5
- package/chips/README.md +3 -0
- package/chips/index.d.ts +2 -5
- package/chips/lib/chips.component.d.ts +71 -0
- package/collapse/README.md +3 -0
- package/collapse/index.d.ts +3 -5
- package/color-palette/README.md +3 -0
- package/color-palette/index.d.ts +7 -5
- package/color-picker/README.md +3 -0
- package/color-picker/index.d.ts +2 -5
- package/color-picker/lib/color-picker.component.d.ts +197 -0
- package/common/README.md +3 -0
- package/common/index.d.ts +22 -5
- package/common/lib/components/button-base-component.class.d.ts +36 -0
- package/common/lib/components/interactive-component.class.d.ts +37 -0
- package/common/lib/components/look-component.class.d.ts +15 -0
- package/context-menu/README.md +3 -0
- package/context-menu/index.d.ts +2 -5
- package/data-pager/README.md +3 -0
- package/data-pager/index.d.ts +9 -5
- package/data-pager/lib/data-pager-input-selector.component.d.ts +15 -0
- package/data-table/README.md +3 -0
- package/data-table/index.d.ts +4 -5
- package/date-picker/README.md +3 -0
- package/date-picker/index.d.ts +2 -5
- package/decorators/README.md +3 -0
- package/decorators/index.d.ts +14 -5
- package/dialog/README.md +3 -0
- package/dialog/index.d.ts +4 -5
- package/drawer/README.md +3 -0
- package/drawer/index.d.ts +3 -5
- package/dropdown/README.md +3 -0
- package/dropdown/index.d.ts +2 -5
- package/esm2022/acorex-components.mjs +2 -2
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +2 -2
- package/esm2022/action-sheet/index.mjs +5 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +78 -0
- package/esm2022/action-sheet/lib/action-sheet.interface.mjs +3 -0
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +26 -0
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +88 -0
- package/esm2022/alert/acorex-components-alert.mjs +2 -2
- package/esm2022/alert/index.mjs +3 -0
- package/esm2022/alert/lib/alert.component.mjs +191 -0
- package/esm2022/alert/lib/alert.module.mjs +22 -0
- package/esm2022/avatar/acorex-components-avatar.mjs +2 -2
- package/esm2022/avatar/index.mjs +4 -0
- package/esm2022/avatar/lib/avatar-group.component.mjs +16 -0
- package/esm2022/avatar/lib/avatar.component.mjs +36 -0
- package/esm2022/avatar/lib/avatar.module.mjs +22 -0
- package/esm2022/badge/acorex-components-badge.mjs +2 -2
- package/esm2022/badge/index.mjs +3 -0
- package/esm2022/badge/lib/badge.component.mjs +26 -0
- package/esm2022/badge/lib/badge.module.mjs +19 -0
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +2 -2
- package/esm2022/breadcrumbs/index.mjs +5 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +2 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +46 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +19 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +20 -0
- package/esm2022/button/acorex-components-button.mjs +2 -2
- package/esm2022/button/index.mjs +6 -0
- package/esm2022/button/lib/button-group.component.mjs +88 -0
- package/esm2022/button/lib/button-item.class.mjs +2 -0
- package/esm2022/button/lib/button-item.component.mjs +77 -0
- package/esm2022/button/lib/button.component.mjs +64 -0
- package/esm2022/button/lib/button.module.mjs +32 -0
- package/esm2022/calendar/acorex-components-calendar.mjs +2 -2
- package/esm2022/calendar/index.mjs +5 -0
- package/esm2022/calendar/lib/calendar-range.component.mjs +175 -0
- package/esm2022/calendar/lib/calendar.class.mjs +233 -0
- package/esm2022/calendar/lib/calendar.component.mjs +417 -0
- package/esm2022/calendar/lib/calendar.module.mjs +23 -0
- package/esm2022/checkbox/acorex-components-checkbox.mjs +2 -2
- package/esm2022/checkbox/index.mjs +3 -0
- package/esm2022/checkbox/lib/checkbox.component.mjs +41 -0
- package/esm2022/checkbox/lib/checkbox.module.mjs +21 -0
- package/esm2022/chips/acorex-components-chips.mjs +2 -2
- package/esm2022/chips/index.mjs +3 -0
- package/esm2022/chips/lib/chips.component.mjs +32 -0
- package/esm2022/chips/lib/chips.module.mjs +19 -0
- package/esm2022/collapse/acorex-components-collapse.mjs +2 -2
- package/esm2022/collapse/index.mjs +4 -0
- package/esm2022/collapse/lib/collapse-group.component.mjs +53 -0
- package/esm2022/collapse/lib/collapse.component.mjs +45 -0
- package/esm2022/collapse/lib/collapse.module.mjs +20 -0
- package/esm2022/color-palette/acorex-components-color-palette.mjs +2 -2
- package/esm2022/color-palette/index.mjs +8 -0
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +129 -0
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +159 -0
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +60 -0
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +302 -0
- package/esm2022/color-palette/lib/color-palette.class.mjs +17 -0
- package/esm2022/color-palette/lib/color-palette.component.mjs +74 -0
- package/esm2022/color-palette/lib/color-palette.module.mjs +60 -0
- package/esm2022/color-picker/acorex-components-color-picker.mjs +2 -2
- package/esm2022/color-picker/index.mjs +3 -0
- package/esm2022/color-picker/lib/color-picker.component.mjs +113 -0
- package/esm2022/color-picker/lib/color-picker.module.mjs +61 -0
- package/esm2022/common/acorex-components-common.mjs +2 -2
- package/esm2022/common/index.mjs +23 -0
- package/esm2022/common/lib/classes/components.class.mjs +69 -0
- package/esm2022/common/lib/classes/data.class.mjs +2 -0
- package/esm2022/common/lib/classes/drawing.class.mjs +2 -0
- package/esm2022/common/lib/classes/events.class.mjs +79 -0
- package/esm2022/common/lib/classes/styles.class.mjs +4 -0
- package/esm2022/common/lib/common.module.mjs +42 -0
- package/esm2022/common/lib/components/base-component.class.mjs +67 -0
- package/esm2022/common/lib/components/button-base-component.class.mjs +80 -0
- package/esm2022/common/lib/components/color-component.class.mjs +27 -0
- package/esm2022/common/lib/components/colorlook-component.class.mjs +11 -0
- package/esm2022/common/lib/components/interactive-component.class.mjs +64 -0
- package/esm2022/common/lib/components/look-component.class.mjs +27 -0
- package/esm2022/common/lib/components/value-component.class.mjs +202 -0
- package/esm2022/common/lib/constant/positions.mjs +75 -0
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +56 -0
- package/esm2022/common/lib/directives/debounce-time.directive.mjs +48 -0
- package/esm2022/common/lib/directives/hotkey.directive.mjs +81 -0
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +63 -0
- package/esm2022/common/lib/directives/responsive.directive.mjs +37 -0
- package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +49 -0
- package/esm2022/common/lib/services/hotkey.service.mjs +46 -0
- package/esm2022/common/lib/services/overlay.service.mjs +113 -0
- package/esm2022/context-menu/acorex-components-context-menu.mjs +2 -2
- package/esm2022/context-menu/index.mjs +3 -0
- package/esm2022/context-menu/lib/context-menu.component.mjs +262 -0
- package/esm2022/context-menu/lib/context-menu.module.mjs +36 -0
- package/esm2022/data-pager/acorex-components-data-pager.mjs +2 -2
- package/esm2022/data-pager/index.mjs +10 -0
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +38 -0
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +53 -0
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +65 -0
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +87 -0
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +130 -0
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +95 -0
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +83 -0
- package/esm2022/data-pager/lib/data-pager.component.mjs +143 -0
- package/esm2022/data-pager/lib/data-pager.module.mjs +51 -0
- package/esm2022/data-table/acorex-components-data-table.mjs +2 -2
- package/esm2022/data-table/index.mjs +5 -0
- package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +17 -0
- package/esm2022/data-table/lib/data-column.directive.mjs +43 -0
- package/esm2022/data-table/lib/data-table.component.mjs +137 -0
- package/esm2022/data-table/lib/data-table.module.mjs +27 -0
- package/esm2022/date-picker/acorex-components-date-picker.mjs +2 -2
- package/esm2022/date-picker/index.mjs +3 -0
- package/esm2022/date-picker/lib/datepicker.component.mjs +125 -0
- package/esm2022/date-picker/lib/datepicker.module.mjs +44 -0
- package/esm2022/decorators/acorex-components-decorators.mjs +2 -2
- package/esm2022/decorators/index.mjs +15 -0
- package/esm2022/decorators/lib/close-button.component.mjs +50 -0
- package/esm2022/decorators/lib/content.component.mjs +21 -0
- package/esm2022/decorators/lib/decorators.module.mjs +71 -0
- package/esm2022/decorators/lib/footer.component.mjs +29 -0
- package/esm2022/decorators/lib/form-hint.component.mjs +20 -0
- package/esm2022/decorators/lib/header.component.mjs +29 -0
- package/esm2022/decorators/lib/icon.component.mjs +29 -0
- package/esm2022/decorators/lib/overlay.component.mjs +22 -0
- package/esm2022/decorators/lib/placeholder.component.mjs +14 -0
- package/esm2022/decorators/lib/prefix.component.mjs +21 -0
- package/esm2022/decorators/lib/sub-title.component.mjs +27 -0
- package/esm2022/decorators/lib/suffix.component.mjs +21 -0
- package/esm2022/decorators/lib/text.component.mjs +21 -0
- package/esm2022/decorators/lib/title.component.mjs +20 -0
- package/esm2022/dialog/acorex-components-dialog.mjs +2 -2
- package/esm2022/dialog/index.mjs +5 -0
- package/esm2022/dialog/lib/dialog.class.mjs +2 -0
- package/esm2022/dialog/lib/dialog.component.mjs +52 -0
- package/esm2022/dialog/lib/dialog.module.mjs +27 -0
- package/esm2022/dialog/lib/dialog.service.mjs +152 -0
- package/esm2022/drawer/acorex-components-drawer.mjs +2 -2
- package/esm2022/drawer/index.mjs +4 -0
- package/esm2022/drawer/lib/drawer-container.component.mjs +37 -0
- package/esm2022/drawer/lib/drawer.component.mjs +140 -0
- package/esm2022/drawer/lib/drawer.module.mjs +22 -0
- package/esm2022/dropdown/acorex-components-dropdown.mjs +2 -2
- package/esm2022/dropdown/index.mjs +3 -0
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +102 -0
- package/esm2022/dropdown/lib/dropdown.module.mjs +25 -0
- package/esm2022/form/acorex-components-form.mjs +2 -2
- package/esm2022/form/index.mjs +7 -0
- package/esm2022/form/lib/form-field.component.mjs +15 -0
- package/esm2022/form/lib/form.component.mjs +166 -0
- package/esm2022/form/lib/form.module.mjs +63 -0
- package/esm2022/form/lib/validation-rule.widget.mjs +115 -0
- package/esm2022/form/lib/validation-summary.component.mjs +106 -0
- package/esm2022/form/lib/validation.class.mjs +2 -0
- package/esm2022/image/acorex-components-image.mjs +2 -2
- package/esm2022/image/index.mjs +3 -0
- package/esm2022/image/lib/image.component.mjs +76 -0
- package/esm2022/image/lib/image.module.mjs +19 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/label/acorex-components-label.mjs +2 -2
- package/esm2022/label/index.mjs +3 -0
- package/esm2022/label/lib/label.component.mjs +45 -0
- package/esm2022/label/lib/label.module.mjs +21 -0
- package/esm2022/loading/acorex-components-loading.mjs +2 -2
- package/esm2022/loading/index.mjs +6 -0
- package/esm2022/loading/lib/loading-spinner.component.mjs +68 -0
- package/esm2022/loading/lib/loading.component.mjs +64 -0
- package/esm2022/loading/lib/loading.directive.mjs +68 -0
- package/esm2022/loading/lib/loading.module.mjs +35 -0
- package/esm2022/loading/lib/loading.service.mjs +151 -0
- package/esm2022/menu/acorex-components-menu.mjs +2 -2
- package/esm2022/menu/index.mjs +3 -0
- package/esm2022/menu/lib/menu.component.mjs +346 -0
- package/esm2022/menu/lib/menu.module.mjs +33 -0
- package/esm2022/mixin/acorex-components-mixin.mjs +2 -2
- package/esm2022/mixin/index.mjs +18 -0
- package/esm2022/mixin/lib/base-components.class.mjs +109 -0
- package/esm2022/mixin/lib/base-menu-mixin.class.mjs +137 -0
- package/esm2022/mixin/lib/button-mixin.class.mjs +66 -0
- package/esm2022/mixin/lib/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/lib/color-look-mixing.class.mjs +45 -0
- package/esm2022/mixin/lib/constratctor.mjs +2 -0
- package/esm2022/mixin/lib/datalist-component.class.mjs +157 -0
- package/esm2022/mixin/lib/datalist.class.mjs +3 -0
- package/esm2022/mixin/lib/dropdown-mixin.class.mjs +97 -0
- package/esm2022/mixin/lib/interactive-mixin.class.mjs +83 -0
- package/esm2022/mixin/lib/loading-mixin.class.mjs +18 -0
- package/esm2022/mixin/lib/mixin.class.mjs +26 -0
- package/esm2022/mixin/lib/page-component.class.mjs +11 -0
- package/esm2022/mixin/lib/selection-component.class.mjs +180 -0
- package/esm2022/mixin/lib/sizable-mixin.class.mjs +16 -0
- package/esm2022/mixin/lib/textbox-mixin.class.mjs +58 -0
- package/esm2022/mixin/lib/value-mixin.class.mjs +224 -0
- package/esm2022/notification/acorex-components-notification.mjs +2 -2
- package/esm2022/notification/index.mjs +5 -0
- package/esm2022/notification/lib/notification.class.mjs +2 -0
- package/esm2022/notification/lib/notification.component.mjs +83 -0
- package/esm2022/notification/lib/notification.module.mjs +23 -0
- package/esm2022/notification/lib/notification.service.mjs +108 -0
- package/esm2022/number-box/acorex-components-number-box.mjs +2 -2
- package/esm2022/number-box/index.mjs +3 -0
- package/esm2022/number-box/lib/number-box.component.mjs +248 -0
- package/esm2022/number-box/lib/number-box.module.mjs +35 -0
- package/esm2022/otp/acorex-components-otp.mjs +5 -0
- package/esm2022/otp/index.mjs +4 -0
- package/esm2022/otp/lib/otp.class.mjs +4 -0
- package/esm2022/otp/lib/otp.component.mjs +113 -0
- package/esm2022/otp/lib/otp.module.mjs +21 -0
- package/esm2022/page/acorex-components-page.mjs +2 -2
- package/esm2022/page/index.mjs +4 -0
- package/esm2022/page/lib/base-page.class.mjs +61 -0
- package/esm2022/page/lib/page.component.mjs +44 -0
- package/esm2022/page/lib/page.module.mjs +18 -0
- package/esm2022/password-box/acorex-components-password-box.mjs +2 -2
- package/esm2022/password-box/index.mjs +3 -0
- package/esm2022/password-box/lib/password-box.component.mjs +65 -0
- package/esm2022/password-box/lib/password-box.module.mjs +32 -0
- package/esm2022/popover/acorex-components-popover.mjs +2 -2
- package/esm2022/popover/index.mjs +4 -0
- package/esm2022/popover/lib/dropdown-component.class.mjs +73 -0
- package/esm2022/popover/lib/popover.component.mjs +264 -0
- package/esm2022/popover/lib/popover.module.mjs +19 -0
- package/esm2022/popup/acorex-components-popup.mjs +2 -2
- package/esm2022/popup/index.mjs +4 -0
- package/esm2022/popup/lib/popup.component.mjs +141 -0
- package/esm2022/popup/lib/popup.module.mjs +27 -0
- package/esm2022/popup/lib/popup.service.mjs +114 -0
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +2 -2
- package/esm2022/progress-bar/index.mjs +3 -0
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +33 -0
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +19 -0
- package/esm2022/radio/acorex-components-radio.mjs +2 -2
- package/esm2022/radio/index.mjs +3 -0
- package/esm2022/radio/lib/radio.component.mjs +39 -0
- package/esm2022/radio/lib/radio.module.mjs +22 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +2 -2
- package/esm2022/range-slider/index.mjs +3 -0
- package/esm2022/range-slider/lib/range-slider.component.mjs +109 -0
- package/esm2022/range-slider/lib/range-slider.module.mjs +22 -0
- package/esm2022/result/acorex-components-result.mjs +2 -2
- package/esm2022/result/index.mjs +3 -0
- package/esm2022/result/lib/result.component.mjs +24 -0
- package/esm2022/result/lib/result.module.mjs +19 -0
- package/esm2022/search-box/acorex-components-search-box.mjs +2 -2
- package/esm2022/search-box/index.mjs +3 -0
- package/esm2022/search-box/lib/search-box.component.mjs +60 -0
- package/esm2022/search-box/lib/search-box.module.mjs +25 -0
- package/esm2022/select-box/acorex-components-select-box.mjs +2 -2
- package/esm2022/select-box/index.mjs +3 -0
- package/esm2022/select-box/lib/select-box.component.mjs +366 -0
- package/esm2022/select-box/lib/select-box.module.mjs +61 -0
- package/esm2022/selection-list/acorex-components-selection-list.mjs +2 -2
- package/esm2022/selection-list/index.mjs +3 -0
- package/esm2022/selection-list/lib/selection-list.component.mjs +60 -0
- package/esm2022/selection-list/lib/selection-list.module.mjs +24 -0
- package/esm2022/switch/acorex-components-switch.mjs +2 -2
- package/esm2022/switch/index.mjs +4 -0
- package/esm2022/switch/lib/switch-content.component.mjs +16 -0
- package/esm2022/switch/lib/switch.component.mjs +51 -0
- package/esm2022/switch/lib/switch.module.mjs +22 -0
- package/esm2022/tabs/acorex-components-tabs.mjs +2 -2
- package/esm2022/tabs/index.mjs +6 -0
- package/esm2022/tabs/lib/tab-content.directive.mjs +29 -0
- package/esm2022/tabs/lib/tab-item.component.mjs +142 -0
- package/esm2022/tabs/lib/tabs.class.mjs +4 -0
- package/esm2022/tabs/lib/tabs.component.mjs +108 -0
- package/esm2022/tabs/lib/tabs.module.mjs +25 -0
- package/esm2022/tag/acorex-components-tag.mjs +2 -2
- package/esm2022/tag/index.mjs +3 -0
- package/esm2022/tag/lib/tag.component.mjs +29 -0
- package/esm2022/tag/lib/tag.module.mjs +19 -0
- package/esm2022/textarea/acorex-components-textarea.mjs +2 -2
- package/esm2022/textarea/index.mjs +3 -0
- package/esm2022/textarea/lib/textarea.component.mjs +37 -0
- package/esm2022/textarea/lib/textarea.module.mjs +19 -0
- package/esm2022/textbox/acorex-components-textbox.mjs +2 -2
- package/esm2022/textbox/index.mjs +4 -0
- package/esm2022/textbox/lib/mask-options.directive.mjs +17 -0
- package/esm2022/textbox/lib/textbox.component.mjs +93 -0
- package/esm2022/textbox/lib/textbox.module.mjs +38 -0
- package/esm2022/time-box/acorex-components-time-box.mjs +2 -2
- package/esm2022/time-box/index.mjs +3 -0
- package/esm2022/time-box/lib/time-box.component.mjs +296 -0
- package/esm2022/time-box/lib/time-box.module.mjs +32 -0
- package/esm2022/toast/acorex-components-toast.mjs +2 -2
- package/esm2022/toast/index.mjs +5 -0
- package/esm2022/toast/lib/toast.class.mjs +2 -0
- package/esm2022/toast/lib/toast.component.mjs +67 -0
- package/esm2022/toast/lib/toast.module.mjs +22 -0
- package/esm2022/toast/lib/toast.service.mjs +135 -0
- package/esm2022/tooltip/acorex-components-tooltip.mjs +2 -2
- package/esm2022/tooltip/index.mjs +4 -0
- package/esm2022/tooltip/lib/tooltip.component.mjs +20 -0
- package/esm2022/tooltip/lib/tooltip.directive.mjs +158 -0
- package/esm2022/tooltip/lib/tooltip.module.mjs +22 -0
- package/esm2022/uploader/acorex-components-uploader.mjs +2 -2
- package/esm2022/uploader/index.mjs +3 -0
- package/esm2022/uploader/lib/uploader.component.mjs +99 -0
- package/esm2022/uploader/lib/uploader.module.mjs +20 -0
- package/fesm2022/acorex-components-action-sheet.mjs +20 -22
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +15 -19
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +22 -24
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +11 -8
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +12 -18
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +33 -35
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +133 -85
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-checkbox.mjs +7 -8
- package/fesm2022/acorex-components-checkbox.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +11 -12
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +24 -25
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +294 -301
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-color-picker.mjs +13 -20
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +838 -868
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +12 -22
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +198 -110
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +40 -50
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-date-picker.mjs +51 -25
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +53 -54
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +11 -17
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +17 -22
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +17 -20
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +59 -62
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +18 -21
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +9 -12
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +86 -88
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +45 -32
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-mixin.mjs +170 -174
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +17 -28
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +42 -33
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +141 -0
- package/fesm2022/acorex-components-otp.mjs.map +1 -0
- package/fesm2022/acorex-components-page.mjs +17 -21
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +25 -23
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +66 -68
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +39 -48
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +9 -9
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +7 -7
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +17 -25
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +9 -11
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +12 -14
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +42 -43
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +12 -11
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +10 -13
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +63 -68
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +9 -9
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-textarea.mjs +18 -10
- package/fesm2022/acorex-components-textarea.mjs.map +1 -1
- package/fesm2022/acorex-components-textbox.mjs +30 -22
- package/fesm2022/acorex-components-textbox.mjs.map +1 -1
- package/fesm2022/acorex-components-time-box.mjs +38 -23
- package/fesm2022/acorex-components-time-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +22 -24
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +15 -22
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +13 -16
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs +1 -6
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/form/README.md +3 -0
- package/form/index.d.ts +6 -5
- package/image/README.md +3 -0
- package/image/index.d.ts +2 -5
- package/image/lib/image.component.d.ts +27 -0
- package/index.d.ts +2 -5
- package/label/README.md +3 -0
- package/label/index.d.ts +2 -5
- package/loading/README.md +3 -0
- package/loading/index.d.ts +5 -5
- package/loading/lib/loading.directive.d.ts +22 -0
- package/menu/README.md +3 -0
- package/menu/index.d.ts +2 -5
- package/menu/lib/menu.component.d.ts +42 -0
- package/mixin/README.md +3 -0
- package/mixin/index.d.ts +17 -5
- package/mixin/lib/base-components.class.d.ts +84 -0
- package/mixin/lib/base-menu-mixin.class.d.ts +53 -0
- package/mixin/lib/button-mixin.class.d.ts +53 -0
- package/mixin/lib/clickable-mixin.class.d.ts +36 -0
- package/mixin/lib/color-look-mixing.class.d.ts +44 -0
- package/mixin/lib/datalist-component.class.d.ts +59 -0
- package/mixin/lib/dropdown-mixin.class.d.ts +47 -0
- package/mixin/lib/interactive-mixin.class.d.ts +60 -0
- package/mixin/lib/loading-mixin.class.d.ts +40 -0
- package/mixin/lib/mixin.class.d.ts +679 -0
- package/mixin/lib/page-component.class.d.ts +28 -0
- package/mixin/lib/selection-component.class.d.ts +61 -0
- package/mixin/lib/sizable-mixin.class.d.ts +34 -0
- package/mixin/lib/textbox-mixin.class.d.ts +68 -0
- package/mixin/lib/value-mixin.class.d.ts +63 -0
- package/notification/README.md +3 -0
- package/notification/index.d.ts +4 -5
- package/number-box/README.md +3 -0
- package/number-box/index.d.ts +2 -5
- package/otp/README.md +3 -0
- package/otp/index.d.ts +3 -0
- package/otp/lib/otp.class.d.ts +4 -0
- package/otp/lib/otp.component.d.ts +25 -0
- package/otp/lib/otp.module.d.ts +8 -0
- package/package.json +18 -34
- package/page/README.md +3 -0
- package/page/index.d.ts +3 -5
- package/page/lib/page.component.d.ts +14 -0
- package/password-box/README.md +3 -0
- package/password-box/index.d.ts +2 -5
- package/popover/README.md +3 -0
- package/popover/index.d.ts +3 -5
- package/popup/README.md +3 -0
- package/popup/index.d.ts +3 -5
- package/progress-bar/README.md +3 -0
- package/progress-bar/index.d.ts +2 -5
- package/radio/README.md +3 -0
- package/radio/index.d.ts +2 -5
- package/range-slider/README.md +3 -0
- package/range-slider/index.d.ts +2 -5
- package/result/README.md +3 -0
- package/result/index.d.ts +2 -5
- package/result/lib/result.component.d.ts +10 -0
- package/search-box/README.md +3 -0
- package/search-box/index.d.ts +2 -5
- package/select-box/README.md +3 -0
- package/select-box/index.d.ts +2 -5
- package/select-box/lib/select-box.module.d.ts +18 -0
- package/selection-list/README.md +3 -0
- package/selection-list/index.d.ts +2 -5
- package/switch/README.md +3 -0
- package/switch/index.d.ts +3 -5
- package/tabs/README.md +3 -0
- package/tabs/index.d.ts +5 -5
- package/tabs/lib/tab-item.component.d.ts +48 -0
- package/tag/README.md +3 -0
- package/tag/index.d.ts +2 -5
- package/textarea/README.md +3 -0
- package/textarea/index.d.ts +2 -5
- package/textbox/README.md +3 -0
- package/textbox/index.d.ts +3 -5
- package/time-box/README.md +3 -0
- package/time-box/index.d.ts +2 -5
- package/toast/README.md +3 -0
- package/toast/index.d.ts +4 -5
- package/tooltip/README.md +3 -0
- package/tooltip/index.d.ts +3 -5
- package/uploader/README.md +3 -0
- package/uploader/index.d.ts +2 -5
- package/action-sheet/public-api.d.ts +0 -4
- package/alert/public-api.d.ts +0 -2
- package/avatar/public-api.d.ts +0 -3
- package/badge/public-api.d.ts +0 -2
- package/breadcrumbs/public-api.d.ts +0 -4
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +0 -79
- package/button/public-api.d.ts +0 -5
- package/button/src/button-group.component.d.ts +0 -86
- package/button/src/button-item.component.d.ts +0 -80
- package/calendar/public-api.d.ts +0 -4
- package/calendar/src/calendar.class.d.ts +0 -81
- package/card/index.d.ts +0 -5
- package/card/public-api.d.ts +0 -2
- package/card/src/card.component.d.ts +0 -10
- package/card/src/card.module.d.ts +0 -8
- package/checkbox/public-api.d.ts +0 -2
- package/chips/public-api.d.ts +0 -2
- package/chips/src/chips.component.d.ts +0 -72
- package/collapse/public-api.d.ts +0 -3
- package/color-palette/public-api.d.ts +0 -7
- package/color-picker/public-api.d.ts +0 -2
- package/color-picker/src/color-picker.component.d.ts +0 -195
- package/common/public-api.d.ts +0 -16
- package/common/src/components/button-base-component.class.d.ts +0 -36
- package/common/src/components/index.d.ts +0 -7
- package/common/src/components/interactive-component.class.d.ts +0 -37
- package/common/src/components/look-component.class.d.ts +0 -15
- package/context-menu/public-api.d.ts +0 -2
- package/data-pager/public-api.d.ts +0 -9
- package/data-pager/src/data-pager-input-selector.component.d.ts +0 -15
- package/data-table/public-api.d.ts +0 -4
- package/date-picker/public-api.d.ts +0 -2
- package/decorators/public-api.d.ts +0 -14
- package/dialog/public-api.d.ts +0 -4
- package/drawer/public-api.d.ts +0 -3
- package/dropdown/public-api.d.ts +0 -2
- package/esm2022/action-sheet/public-api.mjs +0 -5
- package/esm2022/action-sheet/src/action-sheet.component.mjs +0 -79
- package/esm2022/action-sheet/src/action-sheet.interface.mjs +0 -3
- package/esm2022/action-sheet/src/action-sheet.module.mjs +0 -27
- package/esm2022/action-sheet/src/action-sheet.service.mjs +0 -90
- package/esm2022/alert/public-api.mjs +0 -3
- package/esm2022/alert/src/alert.component.mjs +0 -196
- package/esm2022/alert/src/alert.module.mjs +0 -23
- package/esm2022/avatar/public-api.mjs +0 -4
- package/esm2022/avatar/src/avatar-group.component.mjs +0 -17
- package/esm2022/avatar/src/avatar.component.mjs +0 -39
- package/esm2022/avatar/src/avatar.module.mjs +0 -23
- package/esm2022/badge/public-api.mjs +0 -3
- package/esm2022/badge/src/badge.component.mjs +0 -24
- package/esm2022/badge/src/badge.module.mjs +0 -20
- package/esm2022/breadcrumbs/public-api.mjs +0 -5
- package/esm2022/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -51
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +0 -22
- package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +0 -21
- package/esm2022/button/public-api.mjs +0 -6
- package/esm2022/button/src/button-group.component.mjs +0 -92
- package/esm2022/button/src/button-item.class.mjs +0 -2
- package/esm2022/button/src/button-item.component.mjs +0 -80
- package/esm2022/button/src/button.component.mjs +0 -62
- package/esm2022/button/src/button.module.mjs +0 -33
- package/esm2022/calendar/public-api.mjs +0 -5
- package/esm2022/calendar/src/calendar-range.component.mjs +0 -174
- package/esm2022/calendar/src/calendar.class.mjs +0 -231
- package/esm2022/calendar/src/calendar.component.mjs +0 -374
- package/esm2022/calendar/src/calendar.module.mjs +0 -24
- package/esm2022/card/acorex-components-card.mjs +0 -5
- package/esm2022/card/public-api.mjs +0 -3
- package/esm2022/card/src/card.component.mjs +0 -19
- package/esm2022/card/src/card.module.mjs +0 -20
- package/esm2022/checkbox/public-api.mjs +0 -3
- package/esm2022/checkbox/src/checkbox.component.mjs +0 -43
- package/esm2022/checkbox/src/checkbox.module.mjs +0 -22
- package/esm2022/chips/public-api.mjs +0 -3
- package/esm2022/chips/src/chips.component.mjs +0 -34
- package/esm2022/chips/src/chips.module.mjs +0 -20
- package/esm2022/collapse/public-api.mjs +0 -4
- package/esm2022/collapse/src/collapse-group.component.mjs +0 -53
- package/esm2022/collapse/src/collapse.component.mjs +0 -48
- package/esm2022/collapse/src/collapse.module.mjs +0 -21
- package/esm2022/color-palette/public-api.mjs +0 -8
- package/esm2022/color-palette/src/color-palette-input.component.mjs +0 -131
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +0 -160
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +0 -63
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +0 -305
- package/esm2022/color-palette/src/color-palette.class.mjs +0 -19
- package/esm2022/color-palette/src/color-palette.component.mjs +0 -76
- package/esm2022/color-palette/src/color-palette.module.mjs +0 -61
- package/esm2022/color-picker/public-api.mjs +0 -3
- package/esm2022/color-picker/src/color-picker.component.mjs +0 -120
- package/esm2022/color-picker/src/color-picker.module.mjs +0 -62
- package/esm2022/common/public-api.mjs +0 -17
- package/esm2022/common/src/classes/components.class.mjs +0 -78
- package/esm2022/common/src/classes/data.class.mjs +0 -2
- package/esm2022/common/src/classes/drawing.class.mjs +0 -2
- package/esm2022/common/src/classes/events.class.mjs +0 -96
- package/esm2022/common/src/classes/styles.class.mjs +0 -4
- package/esm2022/common/src/common.module.mjs +0 -43
- package/esm2022/common/src/components/base-component.class.mjs +0 -67
- package/esm2022/common/src/components/button-base-component.class.mjs +0 -69
- package/esm2022/common/src/components/color-component.class.mjs +0 -27
- package/esm2022/common/src/components/colorlook-component.class.mjs +0 -11
- package/esm2022/common/src/components/index.mjs +0 -8
- package/esm2022/common/src/components/interactive-component.class.mjs +0 -63
- package/esm2022/common/src/components/look-component.class.mjs +0 -27
- package/esm2022/common/src/components/value-component.class.mjs +0 -204
- package/esm2022/common/src/constant/positions.mjs +0 -75
- package/esm2022/common/src/directives/auto-focus.directive.mjs +0 -58
- package/esm2022/common/src/directives/debounce-time.directive.mjs +0 -50
- package/esm2022/common/src/directives/hotkey.directive.mjs +0 -83
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +0 -70
- package/esm2022/common/src/directives/responsive.directive.mjs +0 -39
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +0 -52
- package/esm2022/common/src/services/hotkey.service.mjs +0 -48
- package/esm2022/common/src/services/overlay.service.mjs +0 -116
- package/esm2022/context-menu/public-api.mjs +0 -3
- package/esm2022/context-menu/src/context-menu.component.mjs +0 -271
- package/esm2022/context-menu/src/context-menu.module.mjs +0 -37
- package/esm2022/data-pager/public-api.mjs +0 -10
- package/esm2022/data-pager/src/data-pager-base.component.mjs +0 -37
- package/esm2022/data-pager/src/data-pager-info.component.mjs +0 -62
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +0 -54
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +0 -67
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +0 -99
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -87
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +0 -62
- package/esm2022/data-pager/src/data-pager.component.mjs +0 -147
- package/esm2022/data-pager/src/data-pager.module.mjs +0 -52
- package/esm2022/data-table/public-api.mjs +0 -5
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +0 -19
- package/esm2022/data-table/src/data-column.directive.mjs +0 -51
- package/esm2022/data-table/src/data-table.component.mjs +0 -140
- package/esm2022/data-table/src/data-table.module.mjs +0 -28
- package/esm2022/date-picker/public-api.mjs +0 -3
- package/esm2022/date-picker/src/datepicker.component.mjs +0 -100
- package/esm2022/date-picker/src/datepicker.module.mjs +0 -45
- package/esm2022/decorators/public-api.mjs +0 -15
- package/esm2022/decorators/src/close-button.component.mjs +0 -52
- package/esm2022/decorators/src/content.component.mjs +0 -22
- package/esm2022/decorators/src/decorators.module.mjs +0 -72
- package/esm2022/decorators/src/footer.component.mjs +0 -30
- package/esm2022/decorators/src/form-hint.component.mjs +0 -21
- package/esm2022/decorators/src/header.component.mjs +0 -30
- package/esm2022/decorators/src/icon.component.mjs +0 -31
- package/esm2022/decorators/src/overlay.component.mjs +0 -21
- package/esm2022/decorators/src/placeholder.component.mjs +0 -15
- package/esm2022/decorators/src/prefix.component.mjs +0 -22
- package/esm2022/decorators/src/sub-title.component.mjs +0 -28
- package/esm2022/decorators/src/suffix.component.mjs +0 -22
- package/esm2022/decorators/src/text.component.mjs +0 -23
- package/esm2022/decorators/src/title.component.mjs +0 -21
- package/esm2022/dialog/public-api.mjs +0 -5
- package/esm2022/dialog/src/dialog.class.mjs +0 -2
- package/esm2022/dialog/src/dialog.component.mjs +0 -56
- package/esm2022/dialog/src/dialog.module.mjs +0 -28
- package/esm2022/dialog/src/dialog.service.mjs +0 -155
- package/esm2022/drawer/public-api.mjs +0 -4
- package/esm2022/drawer/src/drawer-container.component.mjs +0 -39
- package/esm2022/drawer/src/drawer.component.mjs +0 -145
- package/esm2022/drawer/src/drawer.module.mjs +0 -23
- package/esm2022/dropdown/public-api.mjs +0 -3
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +0 -106
- package/esm2022/dropdown/src/dropdown.module.mjs +0 -26
- package/esm2022/form/public-api.mjs +0 -7
- package/esm2022/form/src/form-field.component.mjs +0 -16
- package/esm2022/form/src/form.component.mjs +0 -168
- package/esm2022/form/src/form.module.mjs +0 -64
- package/esm2022/form/src/validation-rule.widget.mjs +0 -114
- package/esm2022/form/src/validation-summary.component.mjs +0 -110
- package/esm2022/form/src/validation.class.mjs +0 -2
- package/esm2022/image/public-api.mjs +0 -3
- package/esm2022/image/src/image.component.mjs +0 -80
- package/esm2022/image/src/image.module.mjs +0 -20
- package/esm2022/label/public-api.mjs +0 -3
- package/esm2022/label/src/label.component.mjs +0 -49
- package/esm2022/label/src/label.module.mjs +0 -22
- package/esm2022/loading/public-api.mjs +0 -6
- package/esm2022/loading/src/loading-spinner.component.mjs +0 -70
- package/esm2022/loading/src/loading.component.mjs +0 -56
- package/esm2022/loading/src/loading.directive.mjs +0 -77
- package/esm2022/loading/src/loading.module.mjs +0 -36
- package/esm2022/loading/src/loading.service.mjs +0 -153
- package/esm2022/menu/public-api.mjs +0 -3
- package/esm2022/menu/src/menu.component.mjs +0 -333
- package/esm2022/menu/src/menu.module.mjs +0 -34
- package/esm2022/mixin/public-api.mjs +0 -18
- package/esm2022/mixin/src/base-components.class.mjs +0 -108
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +0 -134
- package/esm2022/mixin/src/button-mixin.class.mjs +0 -71
- package/esm2022/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2022/mixin/src/color-look-mixing.class.mjs +0 -45
- package/esm2022/mixin/src/constratctor.mjs +0 -2
- package/esm2022/mixin/src/datalist-component.class.mjs +0 -151
- package/esm2022/mixin/src/datalist.class.mjs +0 -3
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +0 -95
- package/esm2022/mixin/src/interactive-mixin.class.mjs +0 -81
- package/esm2022/mixin/src/loading-mixin.class.mjs +0 -26
- package/esm2022/mixin/src/mixin.class.mjs +0 -26
- package/esm2022/mixin/src/page-component.class.mjs +0 -11
- package/esm2022/mixin/src/selection-component.class.mjs +0 -176
- package/esm2022/mixin/src/sizable-mixin.class.mjs +0 -22
- package/esm2022/mixin/src/textbox-mixin.class.mjs +0 -66
- package/esm2022/mixin/src/value-mixin.class.mjs +0 -220
- package/esm2022/notification/public-api.mjs +0 -5
- package/esm2022/notification/src/notification.class.mjs +0 -2
- package/esm2022/notification/src/notification.component.mjs +0 -93
- package/esm2022/notification/src/notification.module.mjs +0 -24
- package/esm2022/notification/src/notification.service.mjs +0 -110
- package/esm2022/number-box/public-api.mjs +0 -3
- package/esm2022/number-box/src/number-box.component.mjs +0 -240
- package/esm2022/number-box/src/number-box.module.mjs +0 -36
- package/esm2022/page/public-api.mjs +0 -4
- package/esm2022/page/src/base-page.class.mjs +0 -64
- package/esm2022/page/src/page.component.mjs +0 -47
- package/esm2022/page/src/page.module.mjs +0 -19
- package/esm2022/password-box/public-api.mjs +0 -3
- package/esm2022/password-box/src/password-box.component.mjs +0 -64
- package/esm2022/password-box/src/password-box.module.mjs +0 -33
- package/esm2022/picker/acorex-components-picker.mjs +0 -5
- package/esm2022/picker/public-api.mjs +0 -4
- package/esm2022/picker/src/picker-column.component.mjs +0 -21
- package/esm2022/picker/src/picker.component.mjs +0 -17
- package/esm2022/picker/src/picker.module.mjs +0 -38
- package/esm2022/popover/public-api.mjs +0 -4
- package/esm2022/popover/src/dropdown-component.class.mjs +0 -71
- package/esm2022/popover/src/popover.component.mjs +0 -270
- package/esm2022/popover/src/popover.module.mjs +0 -20
- package/esm2022/popup/public-api.mjs +0 -4
- package/esm2022/popup/src/popup.component.mjs +0 -147
- package/esm2022/popup/src/popup.module.mjs +0 -28
- package/esm2022/popup/src/popup.service.mjs +0 -117
- package/esm2022/progress-bar/public-api.mjs +0 -3
- package/esm2022/progress-bar/src/progress-bar.component.mjs +0 -34
- package/esm2022/progress-bar/src/progress-bar.module.mjs +0 -20
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/radio/public-api.mjs +0 -3
- package/esm2022/radio/src/radio.component.mjs +0 -40
- package/esm2022/radio/src/radio.module.mjs +0 -23
- package/esm2022/range-slider/public-api.mjs +0 -3
- package/esm2022/range-slider/src/range-slider.component.mjs +0 -118
- package/esm2022/range-slider/src/range-slider.module.mjs +0 -23
- package/esm2022/rating/acorex-components-rating.mjs +0 -5
- package/esm2022/rating/public-api.mjs +0 -3
- package/esm2022/rating/src/rating.component.mjs +0 -42
- package/esm2022/rating/src/rating.component.module.mjs +0 -20
- package/esm2022/result/public-api.mjs +0 -3
- package/esm2022/result/src/result.component.mjs +0 -27
- package/esm2022/result/src/result.module.mjs +0 -20
- package/esm2022/search-box/public-api.mjs +0 -3
- package/esm2022/search-box/src/search-box.component.mjs +0 -63
- package/esm2022/search-box/src/search-box.module.mjs +0 -26
- package/esm2022/select-box/public-api.mjs +0 -3
- package/esm2022/select-box/src/selectbox.component.mjs +0 -367
- package/esm2022/select-box/src/selectbox.module.mjs +0 -62
- package/esm2022/selection-list/public-api.mjs +0 -3
- package/esm2022/selection-list/src/selection-list.component.mjs +0 -60
- package/esm2022/selection-list/src/selection-list.module.mjs +0 -25
- package/esm2022/switch/public-api.mjs +0 -4
- package/esm2022/switch/src/switch-content.component.mjs +0 -17
- package/esm2022/switch/src/switch.component.mjs +0 -55
- package/esm2022/switch/src/switch.module.mjs +0 -23
- package/esm2022/tabs/public-api.mjs +0 -6
- package/esm2022/tabs/src/tab-content.directive.mjs +0 -32
- package/esm2022/tabs/src/tab-item.component.mjs +0 -141
- package/esm2022/tabs/src/tabs.class.mjs +0 -6
- package/esm2022/tabs/src/tabs.component.mjs +0 -111
- package/esm2022/tabs/src/tabs.module.mjs +0 -26
- package/esm2022/tag/public-api.mjs +0 -3
- package/esm2022/tag/src/tag.component.mjs +0 -30
- package/esm2022/tag/src/tag.module.mjs +0 -20
- package/esm2022/textarea/public-api.mjs +0 -3
- package/esm2022/textarea/src/textarea.component.mjs +0 -30
- package/esm2022/textarea/src/textarea.module.mjs +0 -20
- package/esm2022/textbox/public-api.mjs +0 -4
- package/esm2022/textbox/src/mask-options.directive.mjs +0 -20
- package/esm2022/textbox/src/textbox.component.mjs +0 -84
- package/esm2022/textbox/src/textbox.module.mjs +0 -39
- package/esm2022/time-box/public-api.mjs +0 -3
- package/esm2022/time-box/src/time-box.component.mjs +0 -282
- package/esm2022/time-box/src/time-box.module.mjs +0 -33
- package/esm2022/toast/public-api.mjs +0 -5
- package/esm2022/toast/src/toast.class.mjs +0 -2
- package/esm2022/toast/src/toast.component.mjs +0 -68
- package/esm2022/toast/src/toast.module.mjs +0 -23
- package/esm2022/toast/src/toast.service.mjs +0 -137
- package/esm2022/tooltip/public-api.mjs +0 -4
- package/esm2022/tooltip/src/tooltip.component.mjs +0 -22
- package/esm2022/tooltip/src/tooltip.directive.mjs +0 -164
- package/esm2022/tooltip/src/tooltip.module.mjs +0 -23
- package/esm2022/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2022/tree-view/public-api.mjs +0 -3
- package/esm2022/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2022/tree-view/src/tree-view.module.mjs +0 -21
- package/esm2022/uploader/public-api.mjs +0 -3
- package/esm2022/uploader/src/uploader.component.mjs +0 -102
- package/esm2022/uploader/src/uploader.module.mjs +0 -21
- package/fesm2022/acorex-components-card.mjs +0 -41
- package/fesm2022/acorex-components-card.mjs.map +0 -1
- package/fesm2022/acorex-components-picker.mjs +0 -74
- package/fesm2022/acorex-components-picker.mjs.map +0 -1
- package/fesm2022/acorex-components-rating.mjs +0 -64
- package/fesm2022/acorex-components-rating.mjs.map +0 -1
- package/fesm2022/acorex-components-tree-view.mjs +0 -131
- package/fesm2022/acorex-components-tree-view.mjs.map +0 -1
- package/form/public-api.d.ts +0 -6
- package/image/public-api.d.ts +0 -2
- package/image/src/image.component.d.ts +0 -27
- package/label/public-api.d.ts +0 -2
- package/loading/public-api.d.ts +0 -5
- package/loading/src/loading.directive.d.ts +0 -22
- package/menu/public-api.d.ts +0 -2
- package/menu/src/menu.component.d.ts +0 -42
- package/mixin/public-api.d.ts +0 -17
- package/mixin/src/base-components.class.d.ts +0 -84
- package/mixin/src/base-menu-mixin.class.d.ts +0 -53
- package/mixin/src/button-mixin.class.d.ts +0 -53
- package/mixin/src/clickable-mixin.class.d.ts +0 -36
- package/mixin/src/color-look-mixing.class.d.ts +0 -44
- package/mixin/src/datalist-component.class.d.ts +0 -59
- package/mixin/src/dropdown-mixin.class.d.ts +0 -47
- package/mixin/src/interactive-mixin.class.d.ts +0 -60
- package/mixin/src/loading-mixin.class.d.ts +0 -40
- package/mixin/src/mixin.class.d.ts +0 -679
- package/mixin/src/page-component.class.d.ts +0 -28
- package/mixin/src/selection-component.class.d.ts +0 -61
- package/mixin/src/sizable-mixin.class.d.ts +0 -34
- package/mixin/src/textbox-mixin.class.d.ts +0 -66
- package/mixin/src/value-mixin.class.d.ts +0 -63
- package/notification/public-api.d.ts +0 -4
- package/number-box/public-api.d.ts +0 -2
- package/page/public-api.d.ts +0 -3
- package/page/src/page.component.d.ts +0 -14
- package/password-box/public-api.d.ts +0 -2
- package/picker/index.d.ts +0 -5
- package/picker/public-api.d.ts +0 -3
- package/picker/src/picker-column.component.d.ts +0 -11
- package/picker/src/picker.component.d.ts +0 -10
- package/picker/src/picker.module.d.ts +0 -14
- package/popover/public-api.d.ts +0 -3
- package/popup/public-api.d.ts +0 -3
- package/progress-bar/public-api.d.ts +0 -2
- package/public-api.d.ts +0 -1
- package/radio/public-api.d.ts +0 -2
- package/range-slider/public-api.d.ts +0 -2
- package/rating/index.d.ts +0 -5
- package/rating/public-api.d.ts +0 -2
- package/rating/src/rating.component.d.ts +0 -21
- package/rating/src/rating.component.module.d.ts +0 -8
- package/result/public-api.d.ts +0 -2
- package/result/src/result.component.d.ts +0 -12
- package/scss/_mixin.scss +0 -1
- package/scss/_variable.scss +0 -1
- package/scss/index.scss +0 -2
- package/search-box/public-api.d.ts +0 -2
- package/select-box/public-api.d.ts +0 -2
- package/select-box/src/selectbox.module.d.ts +0 -18
- package/selection-list/public-api.d.ts +0 -2
- package/switch/public-api.d.ts +0 -3
- package/tabs/public-api.d.ts +0 -5
- package/tabs/src/tab-item.component.d.ts +0 -48
- package/tag/public-api.d.ts +0 -2
- package/textarea/public-api.d.ts +0 -2
- package/textbox/public-api.d.ts +0 -3
- package/time-box/public-api.d.ts +0 -2
- package/toast/public-api.d.ts +0 -4
- package/tooltip/public-api.d.ts +0 -3
- package/tree-view/index.d.ts +0 -5
- package/tree-view/public-api.d.ts +0 -2
- package/tree-view/src/tree-view.component.d.ts +0 -33
- package/tree-view/src/tree-view.module.d.ts +0 -9
- package/uploader/public-api.d.ts +0 -2
- /package/action-sheet/{src → lib}/action-sheet.component.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.interface.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.module.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.service.d.ts +0 -0
- /package/alert/{src → lib}/alert.component.d.ts +0 -0
- /package/alert/{src → lib}/alert.module.d.ts +0 -0
- /package/avatar/{src → lib}/avatar-group.component.d.ts +0 -0
- /package/avatar/{src → lib}/avatar.component.d.ts +0 -0
- /package/avatar/{src → lib}/avatar.module.d.ts +0 -0
- /package/badge/{src → lib}/badge.component.d.ts +0 -0
- /package/badge/{src → lib}/badge.module.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs-item.class.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs.component.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs.module.d.ts +0 -0
- /package/button/{src → lib}/button-item.class.d.ts +0 -0
- /package/button/{src → lib}/button.component.d.ts +0 -0
- /package/button/{src → lib}/button.module.d.ts +0 -0
- /package/calendar/{src → lib}/calendar-range.component.d.ts +0 -0
- /package/calendar/{src → lib}/calendar.component.d.ts +0 -0
- /package/calendar/{src → lib}/calendar.module.d.ts +0 -0
- /package/checkbox/{src → lib}/checkbox.component.d.ts +0 -0
- /package/checkbox/{src → lib}/checkbox.module.d.ts +0 -0
- /package/chips/{src → lib}/chips.module.d.ts +0 -0
- /package/collapse/{src → lib}/collapse-group.component.d.ts +0 -0
- /package/collapse/{src → lib}/collapse.component.d.ts +0 -0
- /package/collapse/{src → lib}/collapse.module.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-input.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-picker.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-preview.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-swatches.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.class.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.module.d.ts +0 -0
- /package/color-picker/{src → lib}/color-picker.module.d.ts +0 -0
- /package/common/{src → lib}/classes/components.class.d.ts +0 -0
- /package/common/{src → lib}/classes/data.class.d.ts +0 -0
- /package/common/{src → lib}/classes/drawing.class.d.ts +0 -0
- /package/common/{src → lib}/classes/events.class.d.ts +0 -0
- /package/common/{src → lib}/classes/styles.class.d.ts +0 -0
- /package/common/{src → lib}/common.module.d.ts +0 -0
- /package/common/{src → lib}/components/base-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/color-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/colorlook-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/value-component.class.d.ts +0 -0
- /package/common/{src → lib}/constant/positions.d.ts +0 -0
- /package/common/{src → lib}/directives/auto-focus.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/debounce-time.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/hotkey.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/infinite-scroll.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/responsive.directive.d.ts +0 -0
- /package/common/{src → lib}/services/custom-cdk-overlay.service.d.ts +0 -0
- /package/common/{src → lib}/services/hotkey.service.d.ts +0 -0
- /package/common/{src → lib}/services/overlay.service.d.ts +0 -0
- /package/context-menu/{src → lib}/context-menu.component.d.ts +0 -0
- /package/context-menu/{src → lib}/context-menu.module.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-base.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-info.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-next-buttons.components.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-numeric-selector.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-pagesize-dropdown.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-prev-buttons.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager.module.d.ts +0 -0
- /package/data-table/{src → lib}/data-column-cell-template.directive.d.ts +0 -0
- /package/data-table/{src → lib}/data-column.directive.d.ts +0 -0
- /package/data-table/{src → lib}/data-table.component.d.ts +0 -0
- /package/data-table/{src → lib}/data-table.module.d.ts +0 -0
- /package/date-picker/{src → lib}/datepicker.component.d.ts +0 -0
- /package/date-picker/{src → lib}/datepicker.module.d.ts +0 -0
- /package/decorators/{src → lib}/close-button.component.d.ts +0 -0
- /package/decorators/{src → lib}/content.component.d.ts +0 -0
- /package/decorators/{src → lib}/decorators.module.d.ts +0 -0
- /package/decorators/{src → lib}/footer.component.d.ts +0 -0
- /package/decorators/{src → lib}/form-hint.component.d.ts +0 -0
- /package/decorators/{src → lib}/header.component.d.ts +0 -0
- /package/decorators/{src → lib}/icon.component.d.ts +0 -0
- /package/decorators/{src → lib}/overlay.component.d.ts +0 -0
- /package/decorators/{src → lib}/placeholder.component.d.ts +0 -0
- /package/decorators/{src → lib}/prefix.component.d.ts +0 -0
- /package/decorators/{src → lib}/sub-title.component.d.ts +0 -0
- /package/decorators/{src → lib}/suffix.component.d.ts +0 -0
- /package/decorators/{src → lib}/text.component.d.ts +0 -0
- /package/decorators/{src → lib}/title.component.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.class.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.component.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.module.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.service.d.ts +0 -0
- /package/drawer/{src → lib}/drawer-container.component.d.ts +0 -0
- /package/drawer/{src → lib}/drawer.component.d.ts +0 -0
- /package/drawer/{src → lib}/drawer.module.d.ts +0 -0
- /package/dropdown/{src → lib}/dropdown-panel.component.d.ts +0 -0
- /package/dropdown/{src → lib}/dropdown.module.d.ts +0 -0
- /package/form/{src → lib}/form-field.component.d.ts +0 -0
- /package/form/{src → lib}/form.component.d.ts +0 -0
- /package/form/{src → lib}/form.module.d.ts +0 -0
- /package/form/{src → lib}/validation-rule.widget.d.ts +0 -0
- /package/form/{src → lib}/validation-summary.component.d.ts +0 -0
- /package/form/{src → lib}/validation.class.d.ts +0 -0
- /package/image/{src → lib}/image.module.d.ts +0 -0
- /package/label/{src → lib}/label.component.d.ts +0 -0
- /package/label/{src → lib}/label.module.d.ts +0 -0
- /package/loading/{src → lib}/loading-spinner.component.d.ts +0 -0
- /package/loading/{src → lib}/loading.component.d.ts +0 -0
- /package/loading/{src → lib}/loading.module.d.ts +0 -0
- /package/loading/{src → lib}/loading.service.d.ts +0 -0
- /package/menu/{src → lib}/menu.module.d.ts +0 -0
- /package/mixin/{src → lib}/constratctor.d.ts +0 -0
- /package/mixin/{src → lib}/datalist.class.d.ts +0 -0
- /package/notification/{src → lib}/notification.class.d.ts +0 -0
- /package/notification/{src → lib}/notification.component.d.ts +0 -0
- /package/notification/{src → lib}/notification.module.d.ts +0 -0
- /package/notification/{src → lib}/notification.service.d.ts +0 -0
- /package/number-box/{src → lib}/number-box.component.d.ts +0 -0
- /package/number-box/{src → lib}/number-box.module.d.ts +0 -0
- /package/page/{src → lib}/base-page.class.d.ts +0 -0
- /package/page/{src → lib}/page.module.d.ts +0 -0
- /package/password-box/{src → lib}/password-box.component.d.ts +0 -0
- /package/password-box/{src → lib}/password-box.module.d.ts +0 -0
- /package/popover/{src → lib}/dropdown-component.class.d.ts +0 -0
- /package/popover/{src → lib}/popover.component.d.ts +0 -0
- /package/popover/{src → lib}/popover.module.d.ts +0 -0
- /package/popup/{src → lib}/popup.component.d.ts +0 -0
- /package/popup/{src → lib}/popup.module.d.ts +0 -0
- /package/popup/{src → lib}/popup.service.d.ts +0 -0
- /package/progress-bar/{src → lib}/progress-bar.component.d.ts +0 -0
- /package/progress-bar/{src → lib}/progress-bar.module.d.ts +0 -0
- /package/radio/{src → lib}/radio.component.d.ts +0 -0
- /package/radio/{src → lib}/radio.module.d.ts +0 -0
- /package/range-slider/{src → lib}/range-slider.component.d.ts +0 -0
- /package/range-slider/{src → lib}/range-slider.module.d.ts +0 -0
- /package/result/{src → lib}/result.module.d.ts +0 -0
- /package/search-box/{src → lib}/search-box.component.d.ts +0 -0
- /package/search-box/{src → lib}/search-box.module.d.ts +0 -0
- /package/select-box/{src/selectbox.component.d.ts → lib/select-box.component.d.ts} +0 -0
- /package/selection-list/{src → lib}/selection-list.component.d.ts +0 -0
- /package/selection-list/{src → lib}/selection-list.module.d.ts +0 -0
- /package/switch/{src → lib}/switch-content.component.d.ts +0 -0
- /package/switch/{src → lib}/switch.component.d.ts +0 -0
- /package/switch/{src → lib}/switch.module.d.ts +0 -0
- /package/tabs/{src → lib}/tab-content.directive.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.class.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.component.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.module.d.ts +0 -0
- /package/tag/{src → lib}/tag.component.d.ts +0 -0
- /package/tag/{src → lib}/tag.module.d.ts +0 -0
- /package/textarea/{src → lib}/textarea.component.d.ts +0 -0
- /package/textarea/{src → lib}/textarea.module.d.ts +0 -0
- /package/textbox/{src → lib}/mask-options.directive.d.ts +0 -0
- /package/textbox/{src → lib}/textbox.component.d.ts +0 -0
- /package/textbox/{src → lib}/textbox.module.d.ts +0 -0
- /package/time-box/{src → lib}/time-box.component.d.ts +0 -0
- /package/time-box/{src → lib}/time-box.module.d.ts +0 -0
- /package/toast/{src → lib}/toast.class.d.ts +0 -0
- /package/toast/{src → lib}/toast.component.d.ts +0 -0
- /package/toast/{src → lib}/toast.module.d.ts +0 -0
- /package/toast/{src → lib}/toast.service.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.component.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.directive.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.module.d.ts +0 -0
- /package/uploader/{src → lib}/uploader.component.d.ts +0 -0
- /package/uploader/{src → lib}/uploader.module.d.ts +0 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
import { MXColorComponent } from '@acorex/components/common';
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, } from '@angular/core';
|
3
|
+
import { classes } from 'polytype';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@angular/common";
|
6
|
+
export class AXBadgeComponent extends classes(MXColorComponent) {
|
7
|
+
constructor() {
|
8
|
+
super(...arguments);
|
9
|
+
this.text = '';
|
10
|
+
}
|
11
|
+
get __hostClass() {
|
12
|
+
return `ax-${this.color}-default ${!this.text ? 'ax-mini-badge' : ''} ${this.text.length == 1 ? 'ax-single-badge' : ''}`;
|
13
|
+
}
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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>\n<span *ngIf=\"text\" class=\"ax-badge-text\">{{text}}</span>\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-default-default{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore))}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))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
16
|
+
}
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeComponent, decorators: [{
|
18
|
+
type: Component,
|
19
|
+
args: [{ selector: 'ax-badge', inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-prefix\"></ng-content>\n<span *ngIf=\"text\" class=\"ax-badge-text\">{{text}}</span>\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-default-default{background-color:rgba(var(--ax-color-default));color:rgba(var(--ax-color-default-fore))}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))}\n"] }]
|
20
|
+
}], propDecorators: { text: [{
|
21
|
+
type: Input
|
22
|
+
}], __hostClass: [{
|
23
|
+
type: HostBinding,
|
24
|
+
args: ['class']
|
25
|
+
}] } });
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JhZGdlL3NyYy9saWIvYmFkZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JhZGdlL3NyYy9saWIvYmFkZ2UuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsdUJBQXVCLEVBQ3ZCLEtBQUssRUFDTCxXQUFXLEdBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFVBQVUsQ0FBQzs7O0FBVW5DLE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxPQUFPLENBQUMsZ0JBQWdCLENBQUM7SUFSL0Q7O1FBVVcsU0FBSSxHQUFXLEVBQUUsQ0FBQztLQU01QjtJQUpDLElBQ1ksV0FBVztRQUNyQixPQUFPLE1BQU0sSUFBSSxDQUFDLEtBQUssWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLGVBQWUsQ0FBQyxDQUFD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VzaCxcbn0pXG5leHBvcnQgY2xhc3MgQVhCYWRnZUNvbXBvbmVudCBleHRlbmRzIGNsYXNzZXMoTVhDb2xvckNvbXBvbmVudCkge1xuXG4gIEBJbnB1dCgpIHRleHQ6IHN0cmluZyA9ICcnO1xuXG4gIEBIb3N0QmluZGluZygnY2xhc3MnKVxuICBwcml2YXRlIGdldCBfX2hvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgIHJldHVybiBgYXgtJHt0aGlzLmNvbG9yfS1kZWZhdWx0ICR7IXRoaXMudGV4dCA/ICdheC1taW5pLWJhZGdlJyA6ICcnfSAke3RoaXMudGV4dC5sZW5ndGggPT0gMSA/ICdheC1zaW5nbGUtYmFkZ2UnIDogJyd9YFxuICB9XG59XG4iLCI8bmctY29udGVudCBzZWxlY3Q9XCJheC1wcmVmaXhcIj48L25nLWNvbnRlbnQ+XG48c3BhbiAqbmdJZj1cInRleHRcIiBjbGFzcz1cImF4LWJhZGdlLXRleHRcIj57e3RleHR9fTwvc3Bhbj5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXN1ZmZpeFwiPjwvbmctY29udGVudD4iXX0=
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { AXBadgeComponent } from './badge.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export class AXBadgeModule {
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeModule, declarations: [AXBadgeComponent], imports: [CommonModule], exports: [AXBadgeComponent] }); }
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeModule, imports: [CommonModule] }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBadgeModule, decorators: [{
|
11
|
+
type: NgModule,
|
12
|
+
args: [{
|
13
|
+
declarations: [AXBadgeComponent],
|
14
|
+
imports: [CommonModule],
|
15
|
+
exports: [AXBadgeComponent],
|
16
|
+
providers: [],
|
17
|
+
}]
|
18
|
+
}] });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JhZGdlL3NyYy9saWIvYmFkZ2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG1CQUFtQixDQUFDOztBQVFyRCxNQUFNLE9BQU8sYUFBYTs4R0FBYixhQUFhOytHQUFiLGFBQWEsaUJBTFQsZ0JBQWdCLGFBQ3JCLFlBQVksYUFDWixnQkFBZ0I7K0dBR2YsYUFBYSxZQUpkLFlBQVk7OzJGQUlYLGFBQWE7a0JBTnpCLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsZ0JBQWdCLENBQUM7b0JBQ2hDLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsZ0JBQWdCLENBQUM7b0JBQzNCLFNBQVMsRUFBRSxFQUFFO2lCQUNkIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBBWEJhZGdlQ29tcG9uZW50IH0gZnJvbSAnLi9iYWRnZS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtBWEJhZGdlQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWEJhZGdlQ29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhCYWRnZU1vZHVsZSB7fVxuIl19
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtYnJlYWRjcnVtYnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvc3JjL2Fjb3JleC1jb21wb25lbnRzLWJyZWFkY3J1bWJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export * from './lib/breadcrumbs.component';
|
2
|
+
export * from './lib/breadcrumbs.module';
|
3
|
+
export * from './lib/breadcrumbs-item.class';
|
4
|
+
export * from './lib/breadcrumbs-item.component';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9icmVhZGNydW1icy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYnJlYWRjcnVtYnMubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2JyZWFkY3J1bWJzLWl0ZW0uY2xhc3MnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYnJlYWRjcnVtYnMtaXRlbS5jb21wb25lbnQnO1xuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMtaXRlbS5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9icmVhZGNydW1icy9zcmMvbGliL2JyZWFkY3J1bWJzLWl0ZW0uY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgQVhCcmVhZGNydW1ic0l0ZW1zIHtcbiAgICBuYW1lPzogc3RyaW5nO1xuICAgIGljb24/OiBzdHJpbmc7XG4gICAgdGV4dDogc3RyaW5nO1xuICAgIHRvb2x0aXA/OiBzdHJpbmc7XG4gICAgaWNvbkNsYXNzPzogc3RyaW5nO1xuICAgIGRpc2FibGVkPzogYm9vbGVhbjtcbiAgICBvbkNsaWNrPzogKC4uLmFyZ3MpID0+IHZvaWQ7XG59Il19
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
2
|
+
import { ChangeDetectorRef, Component, ElementRef, HostBinding, HostListener, Inject, Input, Optional } from '@angular/core';
|
3
|
+
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@angular/common";
|
6
|
+
import * as i2 from "./breadcrumbs.component";
|
7
|
+
export const AXBaseItemBreadCrumbMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
|
8
|
+
export class AXBreadCrumbsItemComponent extends AXBaseItemBreadCrumbMixin {
|
9
|
+
/**
|
10
|
+
* @ignore
|
11
|
+
*/
|
12
|
+
constructor(_elementRef, _cdr, _parent) {
|
13
|
+
super(_elementRef, _cdr);
|
14
|
+
this._parent = _parent;
|
15
|
+
}
|
16
|
+
__hostClick(e) {
|
17
|
+
this._emitOnClickEvent(e);
|
18
|
+
}
|
19
|
+
get __hostClass() {
|
20
|
+
return `${this.active ? 'ax-state-active' : ''}`;
|
21
|
+
}
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadCrumbsItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXBreadCrumbsComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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>\n<a class=\"ax-breadcrumbs-item-text\" [href]=\"href\">{{ text }}</a>\n<ng-content select=\"ax-suffix, ax-loading, ax-icon\"> </ng-content>\n<div class=\"ax-breadcrumb-divider\">\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
24
|
+
}
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadCrumbsItemComponent, decorators: [{
|
26
|
+
type: Component,
|
27
|
+
args: [{ selector: 'ax-breadcrumbs-item', template: "<ng-content select=\"ax-prefix, ax-loading, ax-icon\"> </ng-content>\n<a class=\"ax-breadcrumbs-item-text\" [href]=\"href\">{{ text }}</a>\n<ng-content select=\"ax-suffix, ax-loading, ax-icon\"> </ng-content>\n<div class=\"ax-breadcrumb-divider\">\n <ng-container *ngTemplateOutlet=\"_parent.dividerTemplate\"></ng-container>\n</div>\n" }]
|
28
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i2.AXBreadCrumbsComponent, decorators: [{
|
29
|
+
type: Optional
|
30
|
+
}, {
|
31
|
+
type: Inject,
|
32
|
+
args: [AXBreadCrumbsComponent]
|
33
|
+
}] }]; }, propDecorators: { text: [{
|
34
|
+
type: Input
|
35
|
+
}], href: [{
|
36
|
+
type: Input
|
37
|
+
}], active: [{
|
38
|
+
type: Input
|
39
|
+
}], __hostClick: [{
|
40
|
+
type: HostListener,
|
41
|
+
args: ['click', ['$event']]
|
42
|
+
}], __hostClass: [{
|
43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iBzdHJpbmcge1xuICAgIHJldHVybiBgJHt0aGlzLmFjdGl2ZSA/ICdheC1zdGF0ZS1hY3RpdmUnIDogJyd9YDtcbiAgfVxufVxuIiwiPG5nLWNvbnRlbnQgc2VsZWN0PVwiYXgtcHJlZml4LCBheC1sb2FkaW5nLCBheC1pY29uXCI+IDwvbmctY29udGVudD5cbjxhIGNsYXNzPVwiYXgtYnJlYWRjcnVtYnMtaXRlbS10ZXh0XCIgW2hyZWZdPVwiaHJlZlwiPnt7IHRleHQgfX08L2E+XG48bmctY29udGVudCBzZWxlY3Q9XCJheC1zdWZmaXgsIGF4LWxvYWRpbmcsIGF4LWljb25cIj4gPC9uZy1jb250ZW50PlxuPGRpdiBjbGFzcz1cImF4LWJyZWFkY3J1bWItZGl2aWRlclwiPlxuICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiX3BhcmVudC5kaXZpZGVyVGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuIl19
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { ChangeDetectionStrategy, Component, ContentChild, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
export class AXBreadCrumbsComponent extends MXBaseComponent {
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadCrumbsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", 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>\n<ng-template #dividerTpl>\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\n <ng-template #default>\n <div class=\"ax-breadcrumb-divider\">/</div>\n </ng-template>\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 }); }
|
8
|
+
}
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadCrumbsComponent, decorators: [{
|
10
|
+
type: Component,
|
11
|
+
args: [{ selector: 'ax-breadcrumbs', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"ax-breadcrumbs-item\"></ng-content>\n<ng-template #dividerTpl>\n <ng-container [ngTemplateOutlet]=\"default\" *ngIf=\"!_divider\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"_divider\" *ngIf=\"_divider\"></ng-container>\n <ng-template #default>\n <div class=\"ax-breadcrumb-divider\">/</div>\n </ng-template>\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"] }]
|
12
|
+
}], propDecorators: { _divider: [{
|
13
|
+
type: ContentChild,
|
14
|
+
args: ['divider']
|
15
|
+
}], dividerTemplate: [{
|
16
|
+
type: ViewChild,
|
17
|
+
args: ['dividerTpl']
|
18
|
+
}] } });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3NyYy9saWIvYnJlYWRjcnVtYnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3NyYy9saWIvYnJlYWRjcnVtYnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixXQUFXLEVBQ1gsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7O0FBU3ZCLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxlQUFlOzhHQUE5QyxzQkFBc0I7a0dBQXRCLHNCQUFzQiw2UkNqQm5DLHVYQU9jOzsyRkRVRCxzQkFBc0I7a0JBUGxDLFNBQVM7K0JBQ0UsZ0JBQWdCLGlCQUdYLGlCQUFpQixDQUFDLElBQUksbUJBQ3BCLHVCQUF1QixDQUFDLE1BQU07OEJBS3JDLFFBQVE7c0JBRGpCLFlBQV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bD5cbiAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImRlZmF1bHRcIiAqbmdJZj1cIiFfZGl2aWRlclwiPjwvbmctY29udGFpbmVyPlxuICAgIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiX2RpdmlkZXJcIiAqbmdJZj1cIl9kaXZpZGVyXCI+PC9uZy1jb250YWluZXI+XG4gICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0PlxuICAgICAgICA8ZGl2IGNsYXNzPVwiYXgtYnJlYWRjcnVtYi1kaXZpZGVyXCI+LzwvZGl2PlxuICAgIDwvbmctdGVtcGxhdGU+XG48L25nLXRlbXBsYXRlPiJdfQ==
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { AXBreadCrumbsComponent } from './breadcrumbs.component';
|
4
|
+
import { AXBreadCrumbsItemComponent } from './breadcrumbs-item.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export class AXBreadcrumbsModule {
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadcrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: AXBreadcrumbsModule, declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent], imports: [CommonModule], exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent] }); }
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadcrumbsModule, imports: [CommonModule] }); }
|
10
|
+
}
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBreadcrumbsModule, decorators: [{
|
12
|
+
type: NgModule,
|
13
|
+
args: [{
|
14
|
+
declarations: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
15
|
+
imports: [CommonModule],
|
16
|
+
exports: [AXBreadCrumbsComponent, AXBreadCrumbsItemComponent],
|
17
|
+
providers: [],
|
18
|
+
}]
|
19
|
+
}] });
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2JyZWFkY3J1bWJzL3NyYy9saWIvYnJlYWRjcnVtYnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQ2pFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDhCQUE4QixDQUFDOztBQVExRSxNQUFNLE9BQU8sbUJBQW1COzhHQUFuQixtQkFBbUI7K0dBQW5CLG1CQUFtQixpQkFMZixzQkFBc0IsRUFBRSwwQkFBMEIsYUFDdkQsWUFBWSxhQUNaLHNCQUFzQixFQUFFLDBCQUEwQjsrR0FHakQsbUJBQW1CLFlBSnBCLFlBQVk7OzJGQUlYLG1CQUFtQjtrQkFOL0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxzQkFBc0IsRUFBRSwwQkFBMEIsQ0FBQztvQkFDbEUsT0FBTyxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUN2QixPQUFPLEVBQUUsQ0FBQyxzQkFBc0IsRUFBRSwwQkFBMEIsQ0FBQztvQkFDN0QsU0FBUyxFQUFFLEVBQUU7aUJBQ2QiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEFYQnJlYWRDcnVtYnNDb21wb25lbnQgfSBmcm9tICcuL2JyZWFkY3J1bWJzLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBWEJyZWFkQ3J1bWJzSXRlbUNvbXBvbmVudCB9IGZyb20gJy4vYnJlYWRjcnVtYnMtaXRlbS5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtBWEJyZWFkQ3J1bWJzQ29tcG9uZW50LCBBWEJyZWFkQ3J1bWJzSXRlbUNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICBleHBvcnRzOiBbQVhCcmVhZENydW1ic0NvbXBvbmVudCwgQVhCcmVhZENydW1ic0l0ZW1Db21wb25lbnRdLFxuICBwcm92aWRlcnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBBWEJyZWFkY3J1bWJzTW9kdWxlIHt9XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
2
|
* Generated bundle index. Do not edit.
|
3
3
|
*/
|
4
|
-
export * from './
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvYWNvcmV4LWNvbXBvbmVudHMtYnV0dG9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export * from './lib/button-group.component';
|
2
|
+
export * from './lib/button-item.class';
|
3
|
+
export * from './lib/button-item.component';
|
4
|
+
export * from './lib/button.component';
|
5
|
+
export * from './lib/button.module';
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYnV0dG9uL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9idXR0b24tZ3JvdXAuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2J1dHRvbi1pdGVtLmNsYXNzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2J1dHRvbi1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2J1dHRvbi5tb2R1bGUnO1xuIl19
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, Input, NgZone, Output, QueryList, ViewEncapsulation, } from '@angular/core';
|
2
|
+
import { AXButtonComponent } from './button.component';
|
3
|
+
import { _InteractiveComponenetMixin, _ColorLookComponentMixin, AXBaseComponent, } from '@acorex/components/mixin';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export const AXBaseButtonGroupMixin = _InteractiveComponenetMixin(_ColorLookComponentMixin(AXBaseComponent));
|
6
|
+
export class AXButtonGroupComponent extends AXBaseButtonGroupMixin {
|
7
|
+
get selection() {
|
8
|
+
return this._selection;
|
9
|
+
}
|
10
|
+
set selection(value) {
|
11
|
+
value = this._onOptionChanging({ name: 'selection', value: value });
|
12
|
+
const oldValue = this.selection;
|
13
|
+
if (value != oldValue) {
|
14
|
+
this._selection = value;
|
15
|
+
this.selectionChange.emit(value);
|
16
|
+
this.onOptionChanged({ name: 'selection', oldValue, newValue: value });
|
17
|
+
}
|
18
|
+
}
|
19
|
+
constructor(elementRef, zone, cdr) {
|
20
|
+
super(elementRef, cdr);
|
21
|
+
this.zone = zone;
|
22
|
+
this.selectionChange = new EventEmitter();
|
23
|
+
this.onItemClick = new EventEmitter();
|
24
|
+
this.onValueChanged = new EventEmitter();
|
25
|
+
}
|
26
|
+
ngAfterContentInit() {
|
27
|
+
this._bindEvents();
|
28
|
+
this._bindProps();
|
29
|
+
this._contentButtons.changes.subscribe(() => {
|
30
|
+
this._bindEvents();
|
31
|
+
this._bindProps();
|
32
|
+
});
|
33
|
+
}
|
34
|
+
_bindEvents() {
|
35
|
+
this._contentButtons?.forEach((b) => {
|
36
|
+
if (!b.onClick.length)
|
37
|
+
b.onClick.subscribe((c) => {
|
38
|
+
this._handleClickEvent(c, b);
|
39
|
+
});
|
40
|
+
});
|
41
|
+
}
|
42
|
+
_bindProps() {
|
43
|
+
this._contentButtons?.forEach((b) => {
|
44
|
+
b.look = this.look ?? this.look;
|
45
|
+
b.color = this.color ?? this.color;
|
46
|
+
b.disabled = b.disabled ?? this.disabled;
|
47
|
+
b.toggleable = false;
|
48
|
+
});
|
49
|
+
}
|
50
|
+
onOptionChanged(option) {
|
51
|
+
this._bindProps();
|
52
|
+
}
|
53
|
+
_handleClickEvent(e, button) {
|
54
|
+
if (this.selection == 'multiple') {
|
55
|
+
button.selected = !button.selected;
|
56
|
+
}
|
57
|
+
else if (this.selection == 'single') {
|
58
|
+
this._contentButtons.forEach((c) => {
|
59
|
+
c.selected = false;
|
60
|
+
});
|
61
|
+
button.selected = true;
|
62
|
+
}
|
63
|
+
else {
|
64
|
+
button.selected = false;
|
65
|
+
}
|
66
|
+
this.onItemClick.emit({
|
67
|
+
component: this,
|
68
|
+
htmlElement: e.htmlElement,
|
69
|
+
item: button,
|
70
|
+
});
|
71
|
+
}
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXButtonGroupComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AXButtonGroupComponent, selector: "ax-button-group", inputs: { disabled: "disabled", tabIndex: "tabIndex", color: "color", look: "look", selection: "selection" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", lookChange: "lookChange", colorChange: "colorChange", selectionChange: "selectionChange", onItemClick: "onItemClick" }, host: { attributes: { "role": "group" } }, queries: [{ propertyName: "_contentButtons", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-button\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
74
|
+
}
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXButtonGroupComponent, decorators: [{
|
76
|
+
type: Component,
|
77
|
+
args: [{ selector: 'ax-button-group', inputs: ['disabled', 'tabIndex', 'color', 'look'], outputs: ['onBlur', 'onFocus', 'lookChange', 'colorChange'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { role: 'group' }, template: "<ng-content select=\"ax-button\"></ng-content>" }]
|
78
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { selectionChange: [{
|
79
|
+
type: Output
|
80
|
+
}], selection: [{
|
81
|
+
type: Input
|
82
|
+
}], onItemClick: [{
|
83
|
+
type: Output
|
84
|
+
}], _contentButtons: [{
|
85
|
+
type: ContentChildren,
|
86
|
+
args: [AXButtonComponent, { descendants: true }]
|
87
|
+
}] } });
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWdyb3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9idXR0b24vc3JjL2xpYi9idXR0b24tZ3JvdXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2J1dHRvbi9zcmMvbGliL2J1dHRvbi1ncm91cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsZUFBZSxFQUNmLFVBQVUsRUFDVixZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEVBQ04sU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQU92RCxPQUFPLEVBQ0wsMkJBQTJCLEVBQzNCLHdCQU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LZXlBY3Rpb24gfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvY29tbW9uJztcblxuXG5leHBvcnQgdHlwZSBBWEJ1dHRvblR5cGUgPSdzdWJtaXQnIHwgJ2J1dHRvbicgfCAnY2FuY2VsJyB8ICdyZXNldCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhDbGlja0l0ZW1CYXNlIHtcbiAgY3NzQ2xhc3M/OiBzdHJpbmc7XG4gIGNvbG9yPzogQVhTdHlsZUNvbG9yVHlwZTtcbiAgbG9vaz86IEFYU3R5bGVMb29rVHlwZTtcbiAgdGV4dD86IHN0cmluZztcbiAgdG9vbHRpcD86IHN0cmluZztcbiAgaWNvbkNsYXNzPzogc3RyaW5nO1xuICBiYWRnZT86IHN0cmluZztcbiAgZGlzYWJsZWQ/OiBib29sZWFuO1xuICBzZWxlY3RlZD86IGJvb2xlYW47XG4gIHNlcGVyYXRlZD86IGJvb2xlYW47XG4gIG5hbWU/OiBzdHJpbmc7XG4gIGRhdGE/OiBhbnk7XG4gIG9uQ2xpY2s/OiAoLi4uYXJnczogYW55KSA9PiB2b2lkO1xuICBob3RrZXk/OiBzdHJpbmcgfCBBWEhvdEtleUFjdGlvbjtcbn1cbmV4cG9ydCBpbnRlcmZhY2UgQVhCdXR0b25JdGVtIGV4dGVuZHMgQVhDbGlja0l0ZW1CYXNlIHtcbiAgdHlwZT86IEFYQnV0dG9uVHlwZTtcbiAgYXV0b2ZvY3VzPzogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBBWE1lbnVJdGVtIGV4dGVuZHMgQVhDbGlja0l0ZW1CYXNlIHt9XG4iXX0=
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, HostListener, Input, ViewEncapsulation } from '@angular/core';
|
2
|
+
import { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
export const AXBaseItemButtonMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
|
6
|
+
export class AXButtonItemComponent extends AXBaseItemButtonMixin {
|
7
|
+
/**
|
8
|
+
* @ignore
|
9
|
+
*/
|
10
|
+
constructor(elementRef, cdr) {
|
11
|
+
super(elementRef, cdr);
|
12
|
+
this.text = '';
|
13
|
+
this.tooltip = '';
|
14
|
+
this.selected = false;
|
15
|
+
this.seperated = false;
|
16
|
+
this.color = 'default';
|
17
|
+
}
|
18
|
+
__hostClick(e) {
|
19
|
+
this._emitOnClickEvent(e);
|
20
|
+
}
|
21
|
+
get __hostClass() {
|
22
|
+
const cssClasses = {
|
23
|
+
'ax-button-icon': !this.text,
|
24
|
+
'ax-state-disabled': this.disabled,
|
25
|
+
'ax-state-selected': this.selected,
|
26
|
+
};
|
27
|
+
cssClasses[`ax-${this.color || 'primary'}-default`] = true;
|
28
|
+
return Object.entries(cssClasses)
|
29
|
+
.filter(c => c[1])
|
30
|
+
.map(c => c[0])
|
31
|
+
.join(' ');
|
32
|
+
}
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXButtonItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: AXButtonItemComponent, selector: "ax-button-item", inputs: { text: "text", tooltip: "tooltip", selected: "selected", seperated: "seperated", name: "name", data: "data", color: "color" }, outputs: { onClick: "onClick" }, host: { attributes: { "tabindex": "0" }, listeners: { "click": "__hostClick($event)" }, properties: { "class": "this.__hostClass" }, classAttribute: "ax-button-item" }, usesInheritance: true, ngImport: i0, template: `
|
35
|
+
<ng-content select="ax-prefix"> </ng-content>
|
36
|
+
<ng-content select="ax-icon"> </ng-content>
|
37
|
+
<span *ngIf="text">{{ text }}</span>
|
38
|
+
<ng-content select="ax-suffix"> </ng-content>
|
39
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
40
|
+
}
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXButtonItemComponent, decorators: [{
|
42
|
+
type: Component,
|
43
|
+
args: [{
|
44
|
+
selector: 'ax-button-item',
|
45
|
+
template: `
|
46
|
+
<ng-content select="ax-prefix"> </ng-content>
|
47
|
+
<ng-content select="ax-icon"> </ng-content>
|
48
|
+
<span *ngIf="text">{{ text }}</span>
|
49
|
+
<ng-content select="ax-suffix"> </ng-content>
|
50
|
+
`,
|
51
|
+
host: { class: 'ax-button-item', tabindex: '0' },
|
52
|
+
encapsulation: ViewEncapsulation.None,
|
53
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
54
|
+
outputs: ['onClick'],
|
55
|
+
}]
|
56
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
57
|
+
type: Input
|
58
|
+
}], tooltip: [{
|
59
|
+
type: Input
|
60
|
+
}], selected: [{
|
61
|
+
type: Input
|
62
|
+
}], seperated: [{
|
63
|
+
type: Input
|
64
|
+
}], name: [{
|
65
|
+
type: Input
|
66
|
+
}], data: [{
|
67
|
+
type: Input
|
68
|
+
}], color: [{
|
69
|
+
type: Input
|
70
|
+
}], __hostClick: [{
|
71
|
+
type: HostListener,
|
72
|
+
args: ['click', ['$event']]
|
73
|
+
}], __hostClass: [{
|
74
|
+
type: HostBinding,
|
75
|
+
args: ['class']
|
76
|
+
}] } });
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJma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