@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
@@ -1,60 +0,0 @@
|
|
1
|
-
import { AXBaseSelectionValueMixin } from '@acorex/components/mixin';
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
/**
|
6
|
-
* The Button is a component which detects user interaction and triggers a corresponding event
|
7
|
-
*
|
8
|
-
* @category Components
|
9
|
-
*/
|
10
|
-
class AXSelectionListComponent extends AXBaseSelectionValueMixin {
|
11
|
-
/**
|
12
|
-
* @ignore
|
13
|
-
*/
|
14
|
-
constructor(elementRef, cdr) {
|
15
|
-
super(elementRef, cdr);
|
16
|
-
}
|
17
|
-
/**
|
18
|
-
* Defines the direction.
|
19
|
-
*/
|
20
|
-
direction = 'horizontal';
|
21
|
-
_handleOnItemValueChange(item, e) {
|
22
|
-
if (this.readonly || this.disabled) {
|
23
|
-
e.preventDefault();
|
24
|
-
e.stopPropagation();
|
25
|
-
}
|
26
|
-
else {
|
27
|
-
e.target.checked
|
28
|
-
? this.selectItems(item)
|
29
|
-
: this.unselectItems(item);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
_handleContainerClick(item, e) {
|
33
|
-
if (e.target == item)
|
34
|
-
return;
|
35
|
-
item.click();
|
36
|
-
e.stopImmediatePropagation();
|
37
|
-
e.stopPropagation();
|
38
|
-
}
|
39
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
40
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: AXSelectionListComponent, selector: "ax-selection-list", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", valueField: "valueField", textField: "textField", multiple: "multiple", items: "items", selectionMode: "selectionMode", direction: "direction" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-selection-list ax-{{ direction }}\">\n <ng-container\n *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\n <ng-template #checkboxList>\n <ng-container *ngFor=\"let item of displayItems; let i = index\">\n <div\n class=\"ax-item-container\"\n [class.ax-state-selected]=\"isItemSelected(item)\">\n <div class=\"ax-item-input\">\n <input\n #ic\n [id]=\"id + '-' + i\"\n class=\"ax-checkbox\"\n type=\"checkbox\"\n (change)=\"_handleOnItemValueChange(item, $event)\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"disabled || item.disabled\"\n [readonly]=\"readonly || item.readonly\" />\n </div>\n <div class=\"ax-item-text\">\n <label [for]=\"id + '-' + i\"> {{ item[textField] }}</label>\n <p class=\"ax-hint-text\">\n {{ item.hint ? item.hint : item[hintField] }}\n </p>\n </div>\n </div>\n </ng-container>\n </ng-template>\n <ng-template #radioButtonList>\n <ng-container *ngFor=\"let item of displayItems; let i = index\">\n <div\n class=\"ax-item-container\"\n [class.ax-state-selected]=\"isItemSelected(item)\">\n <div class=\"ax-item-input\">\n <input\n #ir\n [id]=\"id + '-' + i\"\n class=\"ax-radio\"\n type=\"radio\"\n [attr.name]=\"id\"\n (change)=\"_handleOnItemValueChange(item, $event)\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"disabled || item.disabled\"\n [readonly]=\"readonly || item.readonly\" />\n </div>\n <div class=\"ax-item-text\">\n <label [for]=\"id + '-' + i\"> {{ item[textField] }}</label>\n <p class=\"ax-hint-text\">\n {{ item.hint ? item.hint : item[hintField] }}\n </p>\n </div>\n </div>\n </ng-container>\n </ng-template>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n</div>\n", styles: [".ax-dark .ax-card-style .ax-selection-list.ax-vertical>div,.ax-dark .ax-card-style .ax-selection-list.ax-horizontal>div{background-color:rgba(var(--ax-color-surface))}.ax-selection-list{display:flex;flex-wrap:wrap}.ax-selection-list .ax-item-container{display:flex;align-items:flex-start}.ax-selection-list .ax-item-container .ax-item-input{display:flex;align-items:center;height:1.25rem}.ax-selection-list .ax-item-container .ax-item-text{font-size:.875rem;margin-inline-start:.75rem}.ax-selection-list.ax-vertical{flex-direction:column}.ax-selection-list.ax-vertical .ax-item-container:not(.ax-selection-list.ax-vertical .ax-item-container:last-child){margin-bottom:1rem}.ax-selection-list.ax-horizontal{flex-direction:row;gap:.75rem}.ax-selection-list.ax-horizontal .ax-item-container{padding-inline-end:.75rem}.ax-selection-list.ax-state-error{color:rgba(var(--ax-color-danger-500))}.ax-selection-list.ax-state-error .ax-checkbox-checkmark,.ax-selection-list.ax-state-error .ax-radio-checkmark{border-color:rgba(var(--ax-color-danger-500))}.ax-separate-style .ax-selection-list.ax-vertical>div{padding-bottom:.875rem;border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}.ax-separate-style .ax-selection-list.ax-vertical>div:last-child{border:0}.ax-card-style .ax-selection-list.ax-vertical>div,.ax-card-style .ax-selection-list.ax-horizontal>div{padding:1rem;border:1px solid;border-color:rgba(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default)}.ax-card-style .ax-selection-list.ax-vertical>div.ax-state-selected,.ax-card-style .ax-selection-list.ax-horizontal>div.ax-state-selected{border-color:rgba(var(--ax-color-primary-500))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
41
|
-
}
|
42
|
-
export { AXSelectionListComponent };
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListComponent, decorators: [{
|
44
|
-
type: Component,
|
45
|
-
args: [{ selector: 'ax-selection-list', inputs: [
|
46
|
-
'disabled',
|
47
|
-
'readonly',
|
48
|
-
'tabIndex',
|
49
|
-
'size',
|
50
|
-
'value',
|
51
|
-
'valueField',
|
52
|
-
'textField',
|
53
|
-
'multiple',
|
54
|
-
'items',
|
55
|
-
'selectionMode',
|
56
|
-
], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ax-selection-list ax-{{ direction }}\">\n <ng-container\n *ngIf=\"multiple; then checkboxList; else radioButtonList\"></ng-container>\n <ng-template #checkboxList>\n <ng-container *ngFor=\"let item of displayItems; let i = index\">\n <div\n class=\"ax-item-container\"\n [class.ax-state-selected]=\"isItemSelected(item)\">\n <div class=\"ax-item-input\">\n <input\n #ic\n [id]=\"id + '-' + i\"\n class=\"ax-checkbox\"\n type=\"checkbox\"\n (change)=\"_handleOnItemValueChange(item, $event)\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"disabled || item.disabled\"\n [readonly]=\"readonly || item.readonly\" />\n </div>\n <div class=\"ax-item-text\">\n <label [for]=\"id + '-' + i\"> {{ item[textField] }}</label>\n <p class=\"ax-hint-text\">\n {{ item.hint ? item.hint : item[hintField] }}\n </p>\n </div>\n </div>\n </ng-container>\n </ng-template>\n <ng-template #radioButtonList>\n <ng-container *ngFor=\"let item of displayItems; let i = index\">\n <div\n class=\"ax-item-container\"\n [class.ax-state-selected]=\"isItemSelected(item)\">\n <div class=\"ax-item-input\">\n <input\n #ir\n [id]=\"id + '-' + i\"\n class=\"ax-radio\"\n type=\"radio\"\n [attr.name]=\"id\"\n (change)=\"_handleOnItemValueChange(item, $event)\"\n [checked]=\"isItemSelected(item)\"\n [disabled]=\"disabled || item.disabled\"\n [readonly]=\"readonly || item.readonly\" />\n </div>\n <div class=\"ax-item-text\">\n <label [for]=\"id + '-' + i\"> {{ item[textField] }}</label>\n <p class=\"ax-hint-text\">\n {{ item.hint ? item.hint : item[hintField] }}\n </p>\n </div>\n </div>\n </ng-container>\n </ng-template>\n <ng-content select=\"ax-validation-rule\"> </ng-content>\n</div>\n", styles: [".ax-dark .ax-card-style .ax-selection-list.ax-vertical>div,.ax-dark .ax-card-style .ax-selection-list.ax-horizontal>div{background-color:rgba(var(--ax-color-surface))}.ax-selection-list{display:flex;flex-wrap:wrap}.ax-selection-list .ax-item-container{display:flex;align-items:flex-start}.ax-selection-list .ax-item-container .ax-item-input{display:flex;align-items:center;height:1.25rem}.ax-selection-list .ax-item-container .ax-item-text{font-size:.875rem;margin-inline-start:.75rem}.ax-selection-list.ax-vertical{flex-direction:column}.ax-selection-list.ax-vertical .ax-item-container:not(.ax-selection-list.ax-vertical .ax-item-container:last-child){margin-bottom:1rem}.ax-selection-list.ax-horizontal{flex-direction:row;gap:.75rem}.ax-selection-list.ax-horizontal .ax-item-container{padding-inline-end:.75rem}.ax-selection-list.ax-state-error{color:rgba(var(--ax-color-danger-500))}.ax-selection-list.ax-state-error .ax-checkbox-checkmark,.ax-selection-list.ax-state-error .ax-radio-checkmark{border-color:rgba(var(--ax-color-danger-500))}.ax-separate-style .ax-selection-list.ax-vertical>div{padding-bottom:.875rem;border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}.ax-separate-style .ax-selection-list.ax-vertical>div:last-child{border:0}.ax-card-style .ax-selection-list.ax-vertical>div,.ax-card-style .ax-selection-list.ax-horizontal>div{padding:1rem;border:1px solid;border-color:rgba(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default)}.ax-card-style .ax-selection-list.ax-vertical>div.ax-state-selected,.ax-card-style .ax-selection-list.ax-horizontal>div.ax-state-selected{border-color:rgba(var(--ax-color-primary-500))}\n"] }]
|
57
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { direction: [{
|
58
|
-
type: Input
|
59
|
-
}] } });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWxpc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi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NrZWRdPVwiaXNJdGVtU2VsZWN0ZWQoaXRlbSlcIlxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVkIHx8IGl0ZW0uZGlzYWJsZWRcIlxuICAgICAgICAgICAgW3JlYWRvbmx5XT1cInJlYWRvbmx5IHx8IGl0ZW0ucmVhZG9ubHlcIiAvPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImF4LWl0ZW0tdGV4dFwiPlxuICAgICAgICAgIDxsYWJlbCBbZm9yXT1cImlkICsgJy0nICsgaVwiPiB7eyBpdGVtW3RleHRGaWVsZF0gfX08L2xhYmVsPlxuICAgICAgICAgIDxwIGNsYXNzPVwiYXgtaGludC10ZXh0XCI+XG4gICAgICAgICAgICB7eyBpdGVtLmhpbnQgPyBpdGVtLmhpbnQgOiBpdGVtW2hpbnRGaWVsZF0gfX1cbiAgICAgICAgICA8L3A+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9uZy1jb250YWluZXI+XG4gIDwvbmctdGVtcGxhdGU+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPiA8L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
|
@@ -1,25 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXSelectionListComponent } from './selection-list.component';
|
4
|
-
import { FormsModule } from '@angular/forms';
|
5
|
-
import { AXCheckBoxModule } from '@acorex/components/checkbox';
|
6
|
-
import { AXRadioModule } from '@acorex/components/radio';
|
7
|
-
import { AXLabelModule } from '@acorex/components/label';
|
8
|
-
import { AXFormModule } from '@acorex/components/form';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
class AXSelectionListModule {
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListModule, declarations: [AXSelectionListComponent], imports: [CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule], exports: [AXSelectionListComponent] });
|
13
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListModule, imports: [CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule] });
|
14
|
-
}
|
15
|
-
export { AXSelectionListModule };
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSelectionListModule, decorators: [{
|
17
|
-
type: NgModule,
|
18
|
-
args: [{
|
19
|
-
declarations: [AXSelectionListComponent],
|
20
|
-
imports: [CommonModule, FormsModule, AXCheckBoxModule, AXRadioModule, AXLabelModule, AXFormModule],
|
21
|
-
exports: [AXSelectionListComponent],
|
22
|
-
providers: []
|
23
|
-
}]
|
24
|
-
}] });
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0aW9uLWxpc3QubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc2VsZWN0aW9uLWxpc3Qvc3JjL3NlbGVjdGlvbi1saXN0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw0Qk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WFNlbGVjdGlvbkxpc3RDb21wb25lbnQgfSBmcm9tICcuL3NlbGVjdGlvbi1saXN0LmNvbXBvbmVudCc7XG5pbXBvcnQgeyBGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuaW1wb3J0IHsgQVhDaGVja0JveE1vZHVsZSB9IGZyb20gJ0BhY29yZXgvY29tcG9uZW50cy9jaGVja2JveCc7XG5pbXBvcnQgeyBBWFJhZGlvTW9kdWxlIH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL3JhZGlvJztcbmltcG9ydCB7IEFYTGFiZWxNb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvbGFiZWwnO1xuaW1wb3J0IHsgQVhGb3JtTW9kdWxlIH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL2Zvcm0nO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtBWFNlbGVjdGlvbkxpc3RDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBGb3Jtc01vZHVsZSwgQVhDaGVja0JveE1vZHVsZSxBWFJhZGlvTW9kdWxlLEFYTGFiZWxNb2R1bGUsQVhGb3JtTW9kdWxlXSxcbiAgZXhwb3J0czogW0FYU2VsZWN0aW9uTGlzdENvbXBvbmVudF0sXG4gIHByb3ZpZGVyczogW11cbn0pXG5leHBvcnQgY2xhc3MgQVhTZWxlY3Rpb25MaXN0TW9kdWxlIHsgfVxuIl19
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export * from './src/switch-content.component';
|
2
|
-
export * from './src/switch.component';
|
3
|
-
export * from './src/switch.module';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3N3aXRjaC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zcmMvc3dpdGNoLWNvbnRlbnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc3JjL3N3aXRjaC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvc3dpdGNoLm1vZHVsZSc7Il19
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { Component } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
class AXSwitchContentComponent {
|
4
|
-
constructor() { }
|
5
|
-
ngOnInit() { }
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: AXSwitchContentComponent, selector: "ax-switch-handler-content,ax-switch-off-content,ax-switch-on-content", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
|
8
|
-
}
|
9
|
-
export { AXSwitchContentComponent };
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchContentComponent, decorators: [{
|
11
|
-
type: Component,
|
12
|
-
args: [{
|
13
|
-
selector: 'ax-switch-handler-content,ax-switch-off-content,ax-switch-on-content',
|
14
|
-
template: `<ng-content></ng-content>`,
|
15
|
-
}]
|
16
|
-
}], ctorParameters: function () { return []; } });
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvc3dpdGNoL3NyYy9zd2l0Y2gtY29udGVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7QUFFbEQsTUFJYSx3QkFBd0I7SUFDakMsZ0JBQWdCLENBQUM7SUFFakIsUUFBUSxLQUFXLENBQUM7dUdBSFgsd0JBQXdCOzJGQUF4Qix3QkFBd0IsNEdBRnZCLDJCQUEyQjs7U0FFNUIsd0JBQXdCOzJGQUF4Qix3QkFBd0I7a0JBSnBDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLHNFQUFzRTtvQkFDaEYsUUFBUSxFQUFFLDJCQUEyQjtpQkFDeEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIE9uSW5pdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ2F4LXN3aXRjaC1oYW5kbGVyLWNvbnRlbnQsYXgtc3dpdGNoLW9mZi1jb250ZW50LGF4LXN3aXRjaC1vbi1jb250ZW50JyxcbiAgICB0ZW1wbGF0ZTogYDxuZy1jb250ZW50PjwvbmctY29udGVudD5gLFxufSlcbmV4cG9ydCBjbGFzcyBBWFN3aXRjaENvbnRlbnRDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuICAgIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgICBuZ09uSW5pdCgpOiB2b2lkIHsgfVxufVxuIl19
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import { AXBaseValueComponentMixin } from '@acorex/components/mixin';
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
import * as i2 from "@acorex/components/loading";
|
6
|
-
class AXSwitchComponent extends AXBaseValueComponentMixin {
|
7
|
-
uncheckedText;
|
8
|
-
checkedText;
|
9
|
-
loading;
|
10
|
-
constructor(elementRef, cdr) {
|
11
|
-
super(elementRef, cdr);
|
12
|
-
}
|
13
|
-
_handleOnClickEvent(e) {
|
14
|
-
if (this.readonly || this.disabled) {
|
15
|
-
e.preventDefault();
|
16
|
-
e.stopPropagation();
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
this.value = !this.value;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
get __hostClass() {
|
23
|
-
return `ax-${this.color ? this.color : 'primary'}-default`;
|
24
|
-
}
|
25
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: AXSwitchComponent, selector: "ax-switch", inputs: { disabled: "disabled", color: "color", readonly: "readonly", tabIndex: "tabIndex", size: "size", cssClass: "cssClass", cssStyle: "cssStyle", allowNull: "allowNull", value: "value", name: "name", checked: "checked", uncheckedText: "uncheckedText", checkedText: "checkedText", loading: "loading" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<button type=\"button\" role=\"switch\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\n [class.ax-switch-checked]=\"value\" (click)=\"_handleOnClickEvent($event)\">\n <div class=\"ax-switch-handle\">\n <ax-loading *ngIf=\"loading\"></ax-loading>\n <ng-content select=\"ax-switch-handler-content\"></ng-content>\n </div>\n <span class=\"ax-switch-inner\" *ngIf=\"!value\">\n <ng-content select=\"ax-switch-off-content\"></ng-content>\n\n </span>\n <span class=\"ax-switch-inner\" *ngIf=\"value\">\n <ng-content select=\"ax-switch-on-content\"></ng-content>\n </span>\n\n</button>", styles: ["ax-switch{line-height:initial}ax-switch.ax-sm button{min-width:2rem;height:1rem;line-height:1rem}ax-switch.ax-sm button:active .ax-switch-handle{width:1rem}ax-switch.ax-sm .ax-switch-handle{width:.75rem;height:.75rem}ax-switch.ax-lg button{min-width:2.75rem;height:1.5rem;line-height:1.5rem}ax-switch.ax-lg button:active .ax-switch-handle{width:1.5rem}ax-switch.ax-lg .ax-switch-handle{width:1.25rem;height:1.25rem}ax-switch button{position:relative;display:inline-block;vertical-align:middle;border-radius:99rem;background-color:#0003!important;min-width:2.5rem;height:1.25rem;line-height:1.25rem;transition:background-color .3s linear;cursor:pointer}ax-switch button:active .ax-switch-handle{width:1.25rem}ax-switch button.ax-switch-checked{background-color:rgba(var(--ax-color-primary-500))!important}ax-switch button.ax-switch-checked .ax-switch-handle{inset-inline-end:.125rem;inset-inline-start:initial}ax-switch button.ax-switch-checked .ax-switch-inner{margin-inline-end:1.5rem;margin-inline-start:.375rem}ax-switch button .ax-switch-handle{width:1rem;height:1rem;background-color:#fff;position:absolute;border-radius:99rem;inset-inline-start:.125rem;top:.125rem;transition:width .3s;box-shadow:0 0 1px 1px #0000000d}ax-switch button .ax-switch-handle ax-switch-handler-content,ax-switch button .ax-switch-handle ax-switch-handler-content *{height:100%;width:100%;font-size:100%;display:flex;align-items:center;justify-content:center;color:#454a50}ax-switch button .ax-switch-handle:active{width:1.25rem}ax-switch button .ax-switch-handle ax-loading{width:100%;position:absolute;inset-inline-start:0;inset-inline-end:0;top:50%;transform:translateY(-50%)}ax-switch button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-primary-500));stroke:rgba(var(--ax-color-primary-500))}ax-switch button .ax-switch-handle:before{position:absolute;background-color:rgba(var(--ax-color-surface));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-radius:99rem;content:\"\"}ax-switch button .ax-switch-inner{display:block;margin-inline-start:1.5rem;margin-inline-end:.375rem;transition:margin .2s}ax-switch button .ax-switch-inner ax-switch-on-content,ax-switch button .ax-switch-inner ax-switch-off-content{display:flex;font-size:.875rem;padding:0 .25rem}ax-switch.ax-primary-default button:focus-visible{outline-color:rgba(var(--ax-color-primary-500))}ax-switch.ax-primary-default button ax-switch-handler-content,ax-switch.ax-primary-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-primary-default button.ax-switch-checked{background-color:rgba(var(--ax-color-primary-500))!important}ax-switch.ax-primary-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-primary-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-primary-500))}ax-switch.ax-primary-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-primary-fore))}ax-switch.ax-primary-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-primary-500));stroke:rgba(var(--ax-color-primary-500))}ax-switch.ax-secondary-default button:focus-visible{outline-color:rgba(var(--ax-color-secondary-500))}ax-switch.ax-secondary-default button ax-switch-handler-content,ax-switch.ax-secondary-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-secondary-default button.ax-switch-checked{background-color:rgba(var(--ax-color-secondary-500))!important}ax-switch.ax-secondary-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-secondary-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-secondary-500))}ax-switch.ax-secondary-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-secondary-fore))}ax-switch.ax-secondary-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-secondary-500));stroke:rgba(var(--ax-color-secondary-500))}ax-switch.ax-success-default button:focus-visible{outline-color:rgba(var(--ax-color-success-500))}ax-switch.ax-success-default button ax-switch-handler-content,ax-switch.ax-success-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-success-default button.ax-switch-checked{background-color:rgba(var(--ax-color-success-500))!important}ax-switch.ax-success-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-success-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-success-500))}ax-switch.ax-success-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-success-fore))}ax-switch.ax-success-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-success-500));stroke:rgba(var(--ax-color-success-500))}ax-switch.ax-warning-default button:focus-visible{outline-color:rgba(var(--ax-color-warning-500))}ax-switch.ax-warning-default button ax-switch-handler-content,ax-switch.ax-warning-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-warning-default button.ax-switch-checked{background-color:rgba(var(--ax-color-warning-500))!important}ax-switch.ax-warning-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-warning-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-warning-500))}ax-switch.ax-warning-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-warning-fore))}ax-switch.ax-warning-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-warning-500));stroke:rgba(var(--ax-color-warning-500))}ax-switch.ax-danger-default button:focus-visible{outline-color:rgba(var(--ax-color-danger-500))}ax-switch.ax-danger-default button ax-switch-handler-content,ax-switch.ax-danger-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-danger-default button.ax-switch-checked{background-color:rgba(var(--ax-color-danger-500))!important}ax-switch.ax-danger-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-danger-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-danger-500))}ax-switch.ax-danger-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-danger-fore))}ax-switch.ax-danger-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-danger-500));stroke:rgba(var(--ax-color-danger-500))}ax-switch.ax-info-default button:focus-visible{outline-color:rgba(var(--ax-color-info-500))}ax-switch.ax-info-default button ax-switch-handler-content,ax-switch.ax-info-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-info-default button.ax-switch-checked{background-color:rgba(var(--ax-color-info-500))!important}ax-switch.ax-info-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-info-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-info-500))}ax-switch.ax-info-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-info-fore))}ax-switch.ax-info-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-info-500));stroke:rgba(var(--ax-color-info-500))}ax-switch .ax-state-disabled{opacity:.5;cursor:not-allowed}ax-switch .ax-state-readonly{opacity:.75}.ax-dark ax-switch button{background-color:rgba(var(--ax-color-input-surface))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXLoadingComponent, selector: "ax-loading", inputs: ["visible", "type", "options"], outputs: ["visibleChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
27
|
-
}
|
28
|
-
export { AXSwitchComponent };
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchComponent, decorators: [{
|
30
|
-
type: Component,
|
31
|
-
args: [{ selector: 'ax-switch', inputs: [
|
32
|
-
'disabled',
|
33
|
-
'color',
|
34
|
-
'readonly',
|
35
|
-
'tabIndex',
|
36
|
-
'size',
|
37
|
-
'cssClass',
|
38
|
-
'cssStyle',
|
39
|
-
'readonly',
|
40
|
-
'allowNull',
|
41
|
-
'value',
|
42
|
-
'name',
|
43
|
-
'checked',
|
44
|
-
], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<button type=\"button\" role=\"switch\" [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\"\n [class.ax-switch-checked]=\"value\" (click)=\"_handleOnClickEvent($event)\">\n <div class=\"ax-switch-handle\">\n <ax-loading *ngIf=\"loading\"></ax-loading>\n <ng-content select=\"ax-switch-handler-content\"></ng-content>\n </div>\n <span class=\"ax-switch-inner\" *ngIf=\"!value\">\n <ng-content select=\"ax-switch-off-content\"></ng-content>\n\n </span>\n <span class=\"ax-switch-inner\" *ngIf=\"value\">\n <ng-content select=\"ax-switch-on-content\"></ng-content>\n </span>\n\n</button>", styles: ["ax-switch{line-height:initial}ax-switch.ax-sm button{min-width:2rem;height:1rem;line-height:1rem}ax-switch.ax-sm button:active .ax-switch-handle{width:1rem}ax-switch.ax-sm .ax-switch-handle{width:.75rem;height:.75rem}ax-switch.ax-lg button{min-width:2.75rem;height:1.5rem;line-height:1.5rem}ax-switch.ax-lg button:active .ax-switch-handle{width:1.5rem}ax-switch.ax-lg .ax-switch-handle{width:1.25rem;height:1.25rem}ax-switch button{position:relative;display:inline-block;vertical-align:middle;border-radius:99rem;background-color:#0003!important;min-width:2.5rem;height:1.25rem;line-height:1.25rem;transition:background-color .3s linear;cursor:pointer}ax-switch button:active .ax-switch-handle{width:1.25rem}ax-switch button.ax-switch-checked{background-color:rgba(var(--ax-color-primary-500))!important}ax-switch button.ax-switch-checked .ax-switch-handle{inset-inline-end:.125rem;inset-inline-start:initial}ax-switch button.ax-switch-checked .ax-switch-inner{margin-inline-end:1.5rem;margin-inline-start:.375rem}ax-switch button .ax-switch-handle{width:1rem;height:1rem;background-color:#fff;position:absolute;border-radius:99rem;inset-inline-start:.125rem;top:.125rem;transition:width .3s;box-shadow:0 0 1px 1px #0000000d}ax-switch button .ax-switch-handle ax-switch-handler-content,ax-switch button .ax-switch-handle ax-switch-handler-content *{height:100%;width:100%;font-size:100%;display:flex;align-items:center;justify-content:center;color:#454a50}ax-switch button .ax-switch-handle:active{width:1.25rem}ax-switch button .ax-switch-handle ax-loading{width:100%;position:absolute;inset-inline-start:0;inset-inline-end:0;top:50%;transform:translateY(-50%)}ax-switch button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-primary-500));stroke:rgba(var(--ax-color-primary-500))}ax-switch button .ax-switch-handle:before{position:absolute;background-color:rgba(var(--ax-color-surface));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;border-radius:99rem;content:\"\"}ax-switch button .ax-switch-inner{display:block;margin-inline-start:1.5rem;margin-inline-end:.375rem;transition:margin .2s}ax-switch button .ax-switch-inner ax-switch-on-content,ax-switch button .ax-switch-inner ax-switch-off-content{display:flex;font-size:.875rem;padding:0 .25rem}ax-switch.ax-primary-default button:focus-visible{outline-color:rgba(var(--ax-color-primary-500))}ax-switch.ax-primary-default button ax-switch-handler-content,ax-switch.ax-primary-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-primary-default button.ax-switch-checked{background-color:rgba(var(--ax-color-primary-500))!important}ax-switch.ax-primary-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-primary-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-primary-500))}ax-switch.ax-primary-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-primary-fore))}ax-switch.ax-primary-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-primary-500));stroke:rgba(var(--ax-color-primary-500))}ax-switch.ax-secondary-default button:focus-visible{outline-color:rgba(var(--ax-color-secondary-500))}ax-switch.ax-secondary-default button ax-switch-handler-content,ax-switch.ax-secondary-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-secondary-default button.ax-switch-checked{background-color:rgba(var(--ax-color-secondary-500))!important}ax-switch.ax-secondary-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-secondary-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-secondary-500))}ax-switch.ax-secondary-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-secondary-fore))}ax-switch.ax-secondary-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-secondary-500));stroke:rgba(var(--ax-color-secondary-500))}ax-switch.ax-success-default button:focus-visible{outline-color:rgba(var(--ax-color-success-500))}ax-switch.ax-success-default button ax-switch-handler-content,ax-switch.ax-success-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-success-default button.ax-switch-checked{background-color:rgba(var(--ax-color-success-500))!important}ax-switch.ax-success-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-success-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-success-500))}ax-switch.ax-success-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-success-fore))}ax-switch.ax-success-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-success-500));stroke:rgba(var(--ax-color-success-500))}ax-switch.ax-warning-default button:focus-visible{outline-color:rgba(var(--ax-color-warning-500))}ax-switch.ax-warning-default button ax-switch-handler-content,ax-switch.ax-warning-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-warning-default button.ax-switch-checked{background-color:rgba(var(--ax-color-warning-500))!important}ax-switch.ax-warning-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-warning-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-warning-500))}ax-switch.ax-warning-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-warning-fore))}ax-switch.ax-warning-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-warning-500));stroke:rgba(var(--ax-color-warning-500))}ax-switch.ax-danger-default button:focus-visible{outline-color:rgba(var(--ax-color-danger-500))}ax-switch.ax-danger-default button ax-switch-handler-content,ax-switch.ax-danger-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-danger-default button.ax-switch-checked{background-color:rgba(var(--ax-color-danger-500))!important}ax-switch.ax-danger-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-danger-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-danger-500))}ax-switch.ax-danger-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-danger-fore))}ax-switch.ax-danger-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-danger-500));stroke:rgba(var(--ax-color-danger-500))}ax-switch.ax-info-default button:focus-visible{outline-color:rgba(var(--ax-color-info-500))}ax-switch.ax-info-default button ax-switch-handler-content,ax-switch.ax-info-default button ax-switch-handler-content *{color:#454a50}ax-switch.ax-info-default button.ax-switch-checked{background-color:rgba(var(--ax-color-info-500))!important}ax-switch.ax-info-default button.ax-switch-checked ax-switch-handler-content,ax-switch.ax-info-default button.ax-switch-checked ax-switch-handler-content *{color:rgba(var(--ax-color-info-500))}ax-switch.ax-info-default button.ax-switch-checked .ax-switch-inner{color:rgba(var(--ax-color-info-fore))}ax-switch.ax-info-default button .ax-switch-handle ax-loading svg{fill:rgba(var(--ax-color-info-500));stroke:rgba(var(--ax-color-info-500))}ax-switch .ax-state-disabled{opacity:.5;cursor:not-allowed}ax-switch .ax-state-readonly{opacity:.75}.ax-dark ax-switch button{background-color:rgba(var(--ax-color-input-surface))}\n"] }]
|
45
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { uncheckedText: [{
|
46
|
-
type: Input
|
47
|
-
}], checkedText: [{
|
48
|
-
type: Input
|
49
|
-
}], loading: [{
|
50
|
-
type: Input
|
51
|
-
}], __hostClass: [{
|
52
|
-
type: HostBinding,
|
53
|
-
args: ['class']
|
54
|
-
}] } });
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3N3aXRjaC9zcmMvc3dpdGNoLmNvbXBvbmVudC50cyIsIi4uLy4uL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19
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormsModule } from '@angular/forms';
|
4
|
-
import { AXLoadingModule } from '@acorex/components/loading';
|
5
|
-
import { AXSwitchComponent } from './switch.component';
|
6
|
-
import { AXSwitchContentComponent } from './switch-content.component';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
class AXSwitchModule {
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
10
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchModule, declarations: [AXSwitchComponent, AXSwitchContentComponent], imports: [CommonModule, FormsModule, AXLoadingModule], exports: [AXSwitchComponent, AXSwitchContentComponent] });
|
11
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchModule, imports: [CommonModule, FormsModule, AXLoadingModule] });
|
12
|
-
}
|
13
|
-
export { AXSwitchModule };
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXSwitchModule, decorators: [{
|
15
|
-
type: NgModule,
|
16
|
-
args: [{
|
17
|
-
declarations: [AXSwitchComponent, AXSwitchContentComponent],
|
18
|
-
imports: [CommonModule, FormsModule, AXLoadingModule],
|
19
|
-
exports: [AXSwitchComponent, AXSwitchContentComponent],
|
20
|
-
providers: [],
|
21
|
-
}]
|
22
|
-
}] });
|
23
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC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kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IEZvcm1zTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgQVhMb2FkaW5nTW9kdWxlIH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL2xvYWRpbmcnO1xuaW1wb3J0IHsgQVhTd2l0Y2hDb21wb25lbnQgfSBmcm9tICcuL3N3aXRjaC5jb21wb25lbnQnO1xuaW1wb3J0IHsgQVhTd2l0Y2hDb250ZW50Q29tcG9uZW50IH0gZnJvbSAnLi9zd2l0Y2gtY29udGVudC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtBWFN3aXRjaENvbXBvbmVudCwgQVhTd2l0Y2hDb250ZW50Q29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgRm9ybXNNb2R1bGUsIEFYTG9hZGluZ01vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWFN3aXRjaENvbXBvbmVudCwgQVhTd2l0Y2hDb250ZW50Q29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhTd2l0Y2hNb2R1bGUge31cbiJdfQ==
|
@@ -1,6 +0,0 @@
|
|
1
|
-
export * from './src/tabs.component';
|
2
|
-
export * from './src/tab-item.component';
|
3
|
-
export * from './src/tabs.class';
|
4
|
-
export * from './src/tab-content.directive';
|
5
|
-
export * from './src/tabs.module';
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3RhYnMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy90YWJzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy90YWItaXRlbS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvdGFicy5jbGFzcyc7XG5leHBvcnQgKiBmcm9tICcuL3NyYy90YWItY29udGVudC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvdGFicy5tb2R1bGUnO1xuIl19
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import { Directive } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
class AXTabContentDirective {
|
4
|
-
_viewContainerRef;
|
5
|
-
constructor(_viewContainerRef) {
|
6
|
-
this._viewContainerRef = _viewContainerRef;
|
7
|
-
}
|
8
|
-
_portal;
|
9
|
-
get portal() {
|
10
|
-
return this._portal;
|
11
|
-
}
|
12
|
-
set portal(v) {
|
13
|
-
//;
|
14
|
-
if (v) {
|
15
|
-
this._portal = v;
|
16
|
-
this._viewContainerRef.clear();
|
17
|
-
const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
|
18
|
-
}
|
19
|
-
}
|
20
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
21
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
22
|
-
}
|
23
|
-
export { AXTabContentDirective };
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
25
|
-
type: Directive,
|
26
|
-
args: [{
|
27
|
-
selector: '[axTabContent]',
|
28
|
-
exportAs: 'axTabContent',
|
29
|
-
inputs: ['portal: axTabContent'],
|
30
|
-
}]
|
31
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvdGFicy9zcmMvdGFiLWNvbnRlbnQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWlDLE1BQU0sZUFBZSxDQUFDOztBQUV6RSxNQUthLHFCQUFxQjtJQUNaO0lBQXBCLFlBQW9CLGlCQUFtQztRQUFuQyxzQkFBaUIsR0FBakIsaUJBQWlCLENBQWtCO0lBQUcsQ0FBQztJQUVuRCxPQUFPLENBQStCO0lBQzlDLElBQVcsTUFBTTtRQUNmLE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQztJQUN0QixDQUFDO0lBQ0QsSUFBVyxNQUFNLENBQUMsQ0FBK0I7UUFDL0MsR0FBRztRQUNILElBQUksQ0FBQyxFQUFFO1lBQ0wsSUFBSSxDQUFDLE9BQU8sR0FBRyxDQUFDLENBQUM7WUFDakIsSUFBSSxDQUFDLGlCQUFpQixDQUFDLEtBQUssRUFBRSxDQUFDO1lBQy9CLE1BQU0sT0FBTyxHQUFHLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLE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pZXdSZWYgPSB0aGlzLl92aWV3Q29udGFpbmVyUmVmLmNyZWF0ZUVtYmVkZGVkVmlldyh2LCBudWxsLCAwKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -1,141 +0,0 @@
|
|
1
|
-
import { AXBaseComponent, _ClickableComponenetMixin } from '@acorex/components/mixin';
|
2
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ViewChild, Output, EventEmitter, HostListener, ContentChild, } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
export const AXBaseTabItemMixin = _ClickableComponenetMixin(AXBaseComponent);
|
6
|
-
class AXTabItemComponent extends AXBaseTabItemMixin {
|
7
|
-
constructor(_elementRef, _cdr) {
|
8
|
-
super(_elementRef, _cdr);
|
9
|
-
}
|
10
|
-
text;
|
11
|
-
key;
|
12
|
-
template;
|
13
|
-
headerTemplate;
|
14
|
-
activeChange = new EventEmitter();
|
15
|
-
_active = false;
|
16
|
-
get active() {
|
17
|
-
return this._active;
|
18
|
-
}
|
19
|
-
set active(value) {
|
20
|
-
this._setOption({
|
21
|
-
name: 'active',
|
22
|
-
value,
|
23
|
-
afterCallback: () => {
|
24
|
-
this._cdr.markForCheck();
|
25
|
-
},
|
26
|
-
});
|
27
|
-
}
|
28
|
-
disabledChange = new EventEmitter();
|
29
|
-
_disabled = false;
|
30
|
-
get disabled() {
|
31
|
-
return this._disabled;
|
32
|
-
}
|
33
|
-
set disabled(value) {
|
34
|
-
this._setOption({
|
35
|
-
name: 'disabled',
|
36
|
-
value,
|
37
|
-
});
|
38
|
-
}
|
39
|
-
__hostClick(e) {
|
40
|
-
if (!this.disabled) {
|
41
|
-
this.onClick.emit({
|
42
|
-
component: this,
|
43
|
-
htmlElement: this._getHostElement(),
|
44
|
-
nativeEvent: e,
|
45
|
-
});
|
46
|
-
}
|
47
|
-
}
|
48
|
-
_onOptionChanged(option) {
|
49
|
-
const classListRef = this._getHostElement().classList;
|
50
|
-
if (option.name == 'disabled') {
|
51
|
-
option.newValue ? classListRef.add('ax-state-disabled') : classListRef.remove('ax-state-disabled');
|
52
|
-
}
|
53
|
-
if (option.name == 'active') {
|
54
|
-
option.newValue ? classListRef.add('ax-state-active') : classListRef.remove('ax-state-active');
|
55
|
-
}
|
56
|
-
}
|
57
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
58
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: AXTabItemComponent, selector: "ax-tab-item", inputs: { text: "text", key: "key", active: "active", disabled: "disabled" }, outputs: { activeChange: "activeChange", disabledChange: "disabledChange" }, host: { listeners: { "click": "__hostClick($event)" } }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["tabHeader"], descendants: true, static: true }], viewQueries: [{ propertyName: "template", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
59
|
-
<ng-container *ngIf="headerTemplate; else tabHeader">
|
60
|
-
<ng-container
|
61
|
-
[ngTemplateOutlet]="headerTemplate"
|
62
|
-
[ngTemplateOutletContext]="{
|
63
|
-
$implicit: {
|
64
|
-
text: this.text,
|
65
|
-
key: this.key,
|
66
|
-
active: this.active,
|
67
|
-
disabled: this.disabled
|
68
|
-
}
|
69
|
-
}"></ng-container>
|
70
|
-
</ng-container>
|
71
|
-
<!-- <ng-container *ngIf="headerTemplate;else header">
|
72
|
-
<ng-content select="ax-header">
|
73
|
-
</ng-content>
|
74
|
-
</ng-container> -->
|
75
|
-
<ng-template #tabHeader>
|
76
|
-
<ng-content select="ax-prefix"></ng-content>
|
77
|
-
<span>{{ text }}</span>
|
78
|
-
<ng-content select="ax-suffix"></ng-content>
|
79
|
-
</ng-template>
|
80
|
-
<ng-template #content>
|
81
|
-
<ng-content select="ax-content"> </ng-content>
|
82
|
-
</ng-template>
|
83
|
-
`, isInline: true, 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 });
|
84
|
-
}
|
85
|
-
export { AXTabItemComponent };
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: AXTabItemComponent, decorators: [{
|
87
|
-
type: Component,
|
88
|
-
args: [{
|
89
|
-
selector: 'ax-tab-item',
|
90
|
-
template: `
|
91
|
-
<ng-container *ngIf="headerTemplate; else tabHeader">
|
92
|
-
<ng-container
|
93
|
-
[ngTemplateOutlet]="headerTemplate"
|
94
|
-
[ngTemplateOutletContext]="{
|
95
|
-
$implicit: {
|
96
|
-
text: this.text,
|
97
|
-
key: this.key,
|
98
|
-
active: this.active,
|
99
|
-
disabled: this.disabled
|
100
|
-
}
|
101
|
-
}"></ng-container>
|
102
|
-
</ng-container>
|
103
|
-
<!-- <ng-container *ngIf="headerTemplate;else header">
|
104
|
-
<ng-content select="ax-header">
|
105
|
-
</ng-content>
|
106
|
-
</ng-container> -->
|
107
|
-
<ng-template #tabHeader>
|
108
|
-
<ng-content select="ax-prefix"></ng-content>
|
109
|
-
<span>{{ text }}</span>
|
110
|
-
<ng-content select="ax-suffix"></ng-content>
|
111
|
-
</ng-template>
|
112
|
-
<ng-template #content>
|
113
|
-
<ng-content select="ax-content"> </ng-content>
|
114
|
-
</ng-template>
|
115
|
-
`,
|
116
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
117
|
-
encapsulation: ViewEncapsulation.None,
|
118
|
-
}]
|
119
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
120
|
-
type: Input
|
121
|
-
}], key: [{
|
122
|
-
type: Input
|
123
|
-
}], template: [{
|
124
|
-
type: ViewChild,
|
125
|
-
args: ['content']
|
126
|
-
}], headerTemplate: [{
|
127
|
-
type: ContentChild,
|
128
|
-
args: ['tabHeader', { static: true }]
|
129
|
-
}], activeChange: [{
|
130
|
-
type: Output
|
131
|
-
}], active: [{
|
132
|
-
type: Input
|
133
|
-
}], disabledChange: [{
|
134
|
-
type: Output
|
135
|
-
}], disabled: [{
|
136
|
-
type: Input
|
137
|
-
}], __hostClick: [{
|
138
|
-
type: HostListener,
|
139
|
-
args: ['click', ['$event']]
|
140
|
-
}] } });
|
141
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFiLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWNvcmV4L2NvbXBvbmVudHMvdGFicy9zcmMvdGFiLWl0ZW0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQTRCLHlCQUF5QixFQUFFLE1BQU0sMEJBQTBCLENBQUM7QUFDaEgsT0FBTyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsdUJBQXVCLEVBR3ZCLEtBQUssRUFDTCxTQUFTLEVBRVQsTUFBTSxFQUNOLFlBQVksRUFDWixZQUFZLEVBQ1osWUFBWSxHQUNiLE1BQU0sZUFBZSxDQUFDOzs7QUFFdkIsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQUcseUJBQXlCLENBQUMsZUFBZSxDQUFDLENBQUM7QUFFN0UsTUErQmEsa0JBQW1CLFNBQVEsa0JBQWtCO0lBQ3hELFlBQVksV0FBdUIsRUFBRSxJQUF1QjtRQUMxRCxL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GNsYXNzTGlzdFJlZi5yZW1vdmUoJ2F4LXN0YXRlLWRpc2FibGVkJyk7XG4gICAgfVxuICAgIGlmIChvcHRpb24ubmFtZSA9PSAnYWN0aXZlJykge1xuICAgICAgb3B0aW9uLm5ld1ZhbHVlID8gY2xhc3NMaXN0UmVmLmFkZCgnYXgtc3RhdGUtYWN0aXZlJykgOiBjbGFzc0xpc3RSZWYucmVtb3ZlKCdheC1zdGF0ZS1hY3RpdmUnKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { AXEvent } from '@acorex/components/common';
|
2
|
-
export class AXTabStripChangedEvent extends AXEvent {
|
3
|
-
tab;
|
4
|
-
index;
|
5
|
-
}
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5jbGFzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3RhYnMvc3JjL3RhYnMuY2xhc3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBR3BELE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxPQUFPO0lBQ2pELEdBQUcsQ0FBcUI7SUFDeEIsS0FBSyxDQUFTO0NBQ2YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBWEV2ZW50IH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL2NvbW1vbic7XG5pbXBvcnQgeyBBWFRhYkl0ZW1Db21wb25lbnQgfSBmcm9tICcuL3RhYi1pdGVtLmNvbXBvbmVudCc7XG5cbmV4cG9ydCBjbGFzcyBBWFRhYlN0cmlwQ2hhbmdlZEV2ZW50IGV4dGVuZHMgQVhFdmVudCB7XG4gIHRhYjogQVhUYWJJdGVtQ29tcG9uZW50O1xuICBpbmRleDogbnVtYmVyO1xufVxuXG5cbmV4cG9ydCB0eXBlIEFYVGFiTG9vayA9XG4gIHwgJ3BpbGxzJ1xuICB8ICdwaWxscy1jb2xvcidcbiAgfCAnd2l0aC1saW5lJ1xuICB8ICdjbGFzc2ljJ1xuICB8ICdjdXN0b20nOyJdfQ==
|