@acorex/components 7.0.41 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/src/action-sheet.interface.d.ts +1 -1
- package/alert/src/alert.component.d.ts +3 -3
- package/avatar/src/avatar.component.d.ts +1 -1
- package/badge/src/badge.component.d.ts +3 -3
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +7 -7
- package/button/src/button-group.component.d.ts +7 -7
- package/button/src/button-item.class.d.ts +1 -1
- package/button/src/button-item.component.d.ts +7 -7
- package/button/src/button.component.d.ts +1 -1
- package/calendar/public-api.d.ts +1 -0
- package/calendar/src/calendar-range.component.d.ts +29 -0
- package/calendar/src/calendar.class.d.ts +55 -6
- package/calendar/src/calendar.component.d.ts +17 -24
- package/calendar/src/calendar.module.d.ts +4 -3
- package/checkbox/src/checkbox.component.d.ts +1 -1
- package/chips/src/chips.component.d.ts +7 -7
- package/collapse/src/collapse-group.component.d.ts +1 -1
- package/collapse/src/collapse.component.d.ts +1 -1
- package/color-palette/src/color-palette-swatches.component.d.ts +1 -1
- package/color-palette/src/color-palette.class.d.ts +1 -1
- package/color-palette/src/color-palette.component.d.ts +1 -1
- package/color-picker/src/color-picker.component.d.ts +20 -17
- package/common/public-api.d.ts +1 -0
- package/common/src/classes/data.class.d.ts +4 -0
- package/common/src/classes/events.class.d.ts +9 -0
- package/common/src/classes/styles.class.d.ts +5 -5
- package/common/src/components/base-component.class.d.ts +6 -9
- package/common/src/components/index.d.ts +1 -0
- package/common/src/components/value-component.class.d.ts +45 -0
- package/common/src/constant/positions.d.ts +1 -1
- package/common/src/directives/auto-focus.directive.d.ts +1 -1
- package/common/src/directives/debounce-time.directive.d.ts +1 -1
- package/common/src/directives/hotkey.directive.d.ts +2 -2
- package/common/src/directives/infinite-scroll.directive.d.ts +1 -1
- package/common/src/services/hotkey.service.d.ts +1 -1
- package/context-menu/src/context-menu.component.d.ts +1 -1
- package/data-pager/src/data-pager-base.component.d.ts +1 -1
- package/data-pager/src/data-pager-info.component.d.ts +1 -1
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +1 -1
- package/data-pager/src/data-pager.component.d.ts +1 -1
- package/data-table/src/data-column.directive.d.ts +1 -1
- package/data-table/src/data-table.component.d.ts +1 -1
- package/date-picker/src/datepicker.component.d.ts +15 -15
- package/decorators/src/close-button.component.d.ts +1 -1
- package/decorators/src/icon.component.d.ts +1 -1
- package/decorators/src/overlay.component.d.ts +1 -1
- package/decorators/src/sub-title.component.d.ts +1 -1
- package/decorators/src/text.component.d.ts +1 -1
- package/drawer/src/drawer.component.d.ts +3 -3
- package/dropdown/src/dropdown-panel.component.d.ts +1 -1
- package/esm2022/action-sheet/src/action-sheet.component.mjs +80 -0
- package/{esm2020 → esm2022}/action-sheet/src/action-sheet.module.mjs +5 -5
- package/esm2022/action-sheet/src/action-sheet.service.mjs +93 -0
- package/esm2022/alert/src/alert.component.mjs +188 -0
- package/{esm2020 → esm2022}/alert/src/alert.module.mjs +5 -5
- package/{esm2020 → esm2022}/avatar/src/avatar-group.component.mjs +4 -4
- package/esm2022/avatar/src/avatar.component.mjs +43 -0
- package/{esm2020 → esm2022}/avatar/src/avatar.module.mjs +5 -5
- package/esm2022/badge/src/badge.component.mjs +28 -0
- package/{esm2020 → esm2022}/badge/src/badge.module.mjs +5 -5
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +50 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +27 -0
- package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs.module.mjs +5 -5
- package/esm2022/button/src/button-group.component.mjs +91 -0
- package/esm2022/button/src/button-item.component.mjs +79 -0
- package/esm2022/button/src/button.component.mjs +78 -0
- package/{esm2020 → esm2022}/button/src/button.module.mjs +9 -9
- package/{esm2020 → esm2022}/calendar/public-api.mjs +2 -1
- package/esm2022/calendar/src/calendar-range.component.mjs +174 -0
- package/esm2022/calendar/src/calendar.class.mjs +280 -0
- package/esm2022/calendar/src/calendar.component.mjs +372 -0
- package/esm2022/calendar/src/calendar.module.mjs +23 -0
- package/esm2022/card/src/card.component.mjs +18 -0
- package/{esm2020 → esm2022}/card/src/card.module.mjs +5 -5
- package/esm2022/checkbox/src/checkbox.component.mjs +42 -0
- package/{esm2020 → esm2022}/checkbox/src/checkbox.module.mjs +5 -5
- package/{esm2020 → esm2022}/chips/src/chips.component.mjs +7 -7
- package/{esm2020 → esm2022}/chips/src/chips.module.mjs +5 -5
- package/esm2022/collapse/src/collapse-group.component.mjs +52 -0
- package/esm2022/collapse/src/collapse.component.mjs +47 -0
- package/{esm2020 → esm2022}/collapse/src/collapse.module.mjs +5 -5
- package/esm2022/color-palette/src/color-palette-input.component.mjs +130 -0
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +159 -0
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +62 -0
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +304 -0
- package/{esm2020 → esm2022}/color-palette/src/color-palette.class.mjs +7 -7
- package/esm2022/color-palette/src/color-palette.component.mjs +75 -0
- package/{esm2020 → esm2022}/color-palette/src/color-palette.module.mjs +19 -19
- package/esm2022/color-picker/src/color-picker.component.mjs +119 -0
- package/{esm2020 → esm2022}/color-picker/src/color-picker.module.mjs +25 -25
- package/esm2022/common/public-api.mjs +17 -0
- package/esm2022/common/src/classes/components.class.mjs +72 -0
- package/esm2022/common/src/classes/data.class.mjs +2 -0
- package/esm2022/common/src/classes/events.class.mjs +96 -0
- package/{esm2020 → esm2022}/common/src/common.module.mjs +13 -13
- package/esm2022/common/src/components/base-component.class.mjs +57 -0
- package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
- package/esm2022/common/src/components/color-component.class.mjs +27 -0
- package/{esm2020 → esm2022}/common/src/components/index.mjs +2 -1
- package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
- package/{esm2020 → esm2022}/common/src/components/look-component.class.mjs +3 -3
- package/esm2022/common/src/components/value-component.class.mjs +206 -0
- package/esm2022/common/src/directives/auto-focus.directive.mjs +57 -0
- package/esm2022/common/src/directives/debounce-time.directive.mjs +49 -0
- package/esm2022/common/src/directives/hotkey.directive.mjs +82 -0
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +69 -0
- package/esm2022/common/src/directives/responsive.directive.mjs +35 -0
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +50 -0
- package/esm2022/common/src/services/hotkey.service.mjs +40 -0
- package/esm2022/common/src/services/overlay.service.mjs +115 -0
- package/esm2022/context-menu/src/context-menu.component.mjs +270 -0
- package/{esm2020 → esm2022}/context-menu/src/context-menu.module.mjs +9 -9
- package/esm2022/data-pager/src/data-pager-base.component.mjs +35 -0
- package/esm2022/data-pager/src/data-pager-info.component.mjs +61 -0
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +53 -0
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +66 -0
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +100 -0
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +88 -0
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +61 -0
- package/esm2022/data-pager/src/data-pager.component.mjs +146 -0
- package/{esm2020 → esm2022}/data-pager/src/data-pager.module.mjs +17 -17
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +18 -0
- package/esm2022/data-table/src/data-column.directive.mjs +50 -0
- package/esm2022/data-table/src/data-table.component.mjs +139 -0
- package/{esm2020 → esm2022}/data-table/src/data-table.module.mjs +5 -5
- package/esm2022/date-picker/src/datepicker.component.mjs +240 -0
- package/{esm2020 → esm2022}/date-picker/src/datepicker.module.mjs +12 -12
- package/esm2022/decorators/src/close-button.component.mjs +51 -0
- package/{esm2020 → esm2022}/decorators/src/content.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/decorators.module.mjs +29 -29
- package/{esm2020 → esm2022}/decorators/src/footer.component.mjs +5 -5
- package/{esm2020 → esm2022}/decorators/src/form-hint.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/header.component.mjs +5 -5
- package/esm2022/decorators/src/icon.component.mjs +30 -0
- package/esm2022/decorators/src/overlay.component.mjs +20 -0
- package/{esm2020 → esm2022}/decorators/src/placeholder.component.mjs +4 -4
- package/{esm2020 → esm2022}/decorators/src/prefix.component.mjs +4 -4
- package/esm2022/decorators/src/sub-title.component.mjs +27 -0
- package/{esm2020 → esm2022}/decorators/src/suffix.component.mjs +4 -4
- package/esm2022/decorators/src/text.component.mjs +22 -0
- package/{esm2020 → esm2022}/decorators/src/title.component.mjs +4 -4
- package/{esm2020 → esm2022}/dialog/src/dialog.component.mjs +7 -4
- package/{esm2020 → esm2022}/dialog/src/dialog.module.mjs +5 -5
- package/esm2022/dialog/src/dialog.service.mjs +154 -0
- package/esm2022/drawer/src/drawer-container.component.mjs +38 -0
- package/esm2022/drawer/src/drawer.component.mjs +144 -0
- package/{esm2020 → esm2022}/drawer/src/drawer.module.mjs +5 -5
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +105 -0
- package/{esm2020 → esm2022}/dropdown/src/dropdown.module.mjs +5 -5
- package/{esm2020 → esm2022}/form/src/form-field.component.mjs +4 -4
- package/esm2022/form/src/form.component.mjs +163 -0
- package/{esm2020 → esm2022}/form/src/form.module.mjs +11 -11
- package/esm2022/form/src/validation-rule.widget.mjs +113 -0
- package/esm2022/form/src/validation-summary.component.mjs +109 -0
- package/esm2022/image/src/image.component.mjs +79 -0
- package/{esm2020 → esm2022}/image/src/image.module.mjs +5 -5
- package/esm2022/label/src/label.component.mjs +48 -0
- package/{esm2020 → esm2022}/label/src/label.module.mjs +5 -5
- package/{esm2020 → esm2022}/loading/src/loading-spinner.component.mjs +6 -5
- package/esm2022/loading/src/loading.component.mjs +67 -0
- package/esm2022/loading/src/loading.directive.mjs +76 -0
- package/{esm2020 → esm2022}/loading/src/loading.module.mjs +5 -5
- package/esm2022/loading/src/loading.service.mjs +158 -0
- package/esm2022/menu/src/menu.component.mjs +346 -0
- package/{esm2020 → esm2022}/menu/src/menu.module.mjs +8 -8
- package/esm2022/mixin/src/base-components.class.mjs +110 -0
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
- package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
- package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
- package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
- package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
- package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
- package/esm2022/mixin/src/selection-component.class.mjs +183 -0
- package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
- package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
- package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
- package/esm2022/notification/src/notification.component.mjs +92 -0
- package/{esm2020 → esm2022}/notification/src/notification.module.mjs +5 -5
- package/esm2022/notification/src/notification.service.mjs +109 -0
- package/esm2022/number-box/src/number-box.component.mjs +268 -0
- package/{esm2020 → esm2022}/number-box/src/number-box.module.mjs +9 -9
- package/esm2022/page/src/base-page.class.mjs +63 -0
- package/esm2022/page/src/page.component.mjs +46 -0
- package/{esm2020 → esm2022}/page/src/page.module.mjs +5 -5
- package/esm2022/password-box/src/password-box.component.mjs +63 -0
- package/{esm2020 → esm2022}/password-box/src/password-box.module.mjs +8 -8
- package/esm2022/picker/src/picker-column.component.mjs +20 -0
- package/{esm2020 → esm2022}/picker/src/picker.component.mjs +4 -4
- package/{esm2020 → esm2022}/picker/src/picker.module.mjs +9 -9
- package/esm2022/popover/src/popover.component.mjs +262 -0
- package/{esm2020 → esm2022}/popover/src/popover.module.mjs +5 -5
- package/esm2022/popup/src/popup.component.mjs +145 -0
- package/{esm2020 → esm2022}/popup/src/popup.module.mjs +5 -5
- package/esm2022/popup/src/popup.service.mjs +116 -0
- package/{esm2020 → esm2022}/progress-bar/src/progress-bar.component.mjs +5 -5
- package/{esm2020 → esm2022}/progress-bar/src/progress-bar.module.mjs +5 -5
- package/{esm2020 → esm2022}/radio/src/radio.component.mjs +4 -4
- package/{esm2020 → esm2022}/radio/src/radio.module.mjs +5 -5
- package/esm2022/range-slider/src/range-slider.component.mjs +117 -0
- package/{esm2020 → esm2022}/range-slider/src/range-slider.module.mjs +5 -5
- package/esm2022/rating/src/rating.component.mjs +41 -0
- package/{esm2020 → esm2022}/rating/src/rating.component.module.mjs +5 -5
- package/esm2022/result/src/result.component.mjs +26 -0
- package/{esm2020 → esm2022}/result/src/result.module.mjs +5 -5
- package/esm2022/search-box/src/search-box.component.mjs +54 -0
- package/{esm2020 → esm2022}/search-box/src/search-box.module.mjs +5 -5
- package/esm2022/select-box/src/selectbox.component.mjs +391 -0
- package/{esm2020 → esm2022}/select-box/src/selectbox.module.mjs +27 -27
- package/{esm2020 → esm2022}/selection-list/src/selection-list.component.mjs +8 -8
- package/{esm2020 → esm2022}/selection-list/src/selection-list.module.mjs +5 -5
- package/{esm2020 → esm2022}/switch/src/switch-content.component.mjs +4 -4
- package/{esm2020 → esm2022}/switch/src/switch.component.mjs +7 -4
- package/{esm2020 → esm2022}/switch/src/switch.module.mjs +5 -5
- package/esm2022/tabs/src/tab-content.directive.mjs +31 -0
- package/esm2022/tabs/src/tab-item.component.mjs +140 -0
- package/esm2022/tabs/src/tabs.class.mjs +6 -0
- package/{esm2020 → esm2022}/tabs/src/tabs.component.mjs +14 -11
- package/{esm2020 → esm2022}/tabs/src/tabs.module.mjs +5 -5
- package/{esm2020 → esm2022}/tag/src/tag.component.mjs +6 -6
- package/{esm2020 → esm2022}/tag/src/tag.module.mjs +5 -5
- package/esm2022/textarea/src/textarea.component.mjs +29 -0
- package/{esm2020 → esm2022}/textarea/src/textarea.module.mjs +5 -5
- package/esm2022/textbox/src/mask-options.directive.mjs +19 -0
- package/esm2022/textbox/src/textbox.component.mjs +95 -0
- package/{esm2020 → esm2022}/textbox/src/textbox.module.mjs +13 -13
- package/esm2022/time-box/src/time-box.component.mjs +305 -0
- package/{esm2020 → esm2022}/time-box/src/time-box.module.mjs +8 -8
- package/esm2022/toast/src/toast.component.mjs +67 -0
- package/{esm2020 → esm2022}/toast/src/toast.module.mjs +5 -5
- package/esm2022/toast/src/toast.service.mjs +136 -0
- package/esm2022/tooltip/src/tooltip.component.mjs +21 -0
- package/esm2022/tooltip/src/tooltip.directive.mjs +163 -0
- package/{esm2020 → esm2022}/tooltip/src/tooltip.module.mjs +5 -5
- package/esm2022/tree-view/src/tree-view.component.mjs +107 -0
- package/{esm2020 → esm2022}/tree-view/src/tree-view.module.mjs +5 -5
- package/esm2022/uploader/src/uploader.component.mjs +101 -0
- package/{esm2020 → esm2022}/uploader/src/uploader.module.mjs +5 -5
- package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs +21 -16
- package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-alert.mjs +41 -32
- package/{fesm2020 → fesm2022}/acorex-components-alert.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs +12 -11
- package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-badge.mjs +9 -9
- package/{fesm2015 → fesm2022}/acorex-components-badge.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs +16 -11
- package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-button.mjs +45 -48
- package/fesm2022/acorex-components-button.mjs.map +1 -0
- package/fesm2022/acorex-components-calendar.mjs +837 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -0
- package/fesm2022/acorex-components-card.mjs +41 -0
- package/{fesm2015 → fesm2022}/acorex-components-card.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-checkbox.mjs +8 -8
- package/{fesm2015 → fesm2022}/acorex-components-checkbox.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-chips.mjs +10 -11
- package/{fesm2020 → fesm2022}/acorex-components-chips.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-collapse.mjs +21 -18
- package/{fesm2020 → fesm2022}/acorex-components-collapse.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs +337 -331
- package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-color-picker.mjs +182 -0
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-common.mjs +405 -140
- package/fesm2022/acorex-components-common.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-context-menu.mjs +29 -20
- package/{fesm2015 → fesm2022}/acorex-components-context-menu.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs +95 -80
- package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs +40 -31
- package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-date-picker.mjs +285 -0
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-decorators.mjs +80 -80
- package/{fesm2015 → fesm2022}/acorex-components-decorators.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-dialog.mjs +16 -11
- package/{fesm2015 → fesm2022}/acorex-components-dialog.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs +25 -21
- package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-dropdown.mjs +19 -16
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-form.mjs +65 -61
- package/fesm2022/acorex-components-form.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/acorex-components-image.mjs +17 -15
- package/{fesm2015 → fesm2022}/acorex-components-image.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-label.mjs +12 -10
- package/fesm2022/acorex-components-label.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/acorex-components-loading.mjs +42 -29
- package/{fesm2020 → fesm2022}/acorex-components-loading.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-menu.mjs +26 -19
- package/{fesm2020 → fesm2022}/acorex-components-menu.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components-mixin.mjs +276 -284
- package/{fesm2020 → fesm2022}/acorex-components-mixin.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-notification.mjs +24 -18
- package/{fesm2020 → fesm2022}/acorex-components-notification.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-number-box.mjs +42 -35
- package/{fesm2015 → fesm2022}/acorex-components-number-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-page.mjs +20 -17
- package/{fesm2020 → fesm2022}/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +99 -0
- package/{fesm2015 → fesm2022}/acorex-components-password-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-picker.mjs +15 -18
- package/{fesm2015 → fesm2022}/acorex-components-picker.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-popover.mjs +50 -37
- package/{fesm2015 → fesm2022}/acorex-components-popover.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-popup.mjs +30 -19
- package/{fesm2020 → fesm2022}/acorex-components-popup.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-progress-bar.mjs +8 -9
- package/{fesm2015 → fesm2022}/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +65 -0
- package/{fesm2015 → fesm2022}/acorex-components-radio.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-range-slider.mjs +16 -16
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2022/acorex-components-rating.mjs +64 -0
- package/{fesm2015 → fesm2022}/acorex-components-rating.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-result.mjs +10 -10
- package/{fesm2020 → fesm2022}/acorex-components-result.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs +12 -11
- package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs +56 -46
- package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-selection-list.mjs +11 -12
- package/{fesm2015 → fesm2022}/acorex-components-selection-list.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-switch.mjs +13 -11
- package/{fesm2015 → fesm2022}/acorex-components-switch.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tabs.mjs +36 -26
- package/{fesm2015 → fesm2022}/acorex-components-tabs.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tag.mjs +9 -10
- package/{fesm2020 → fesm2022}/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-textarea.mjs +52 -0
- package/{fesm2020 → fesm2022}/acorex-components-textarea.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs +34 -30
- package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs +30 -22
- package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-toast.mjs +22 -18
- package/{fesm2020 → fesm2022}/acorex-components-toast.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs +20 -14
- package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-tree-view.mjs +131 -0
- package/{fesm2015 → fesm2022}/acorex-components-tree-view.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs +15 -13
- package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs.map +1 -1
- package/{fesm2015 → fesm2022}/acorex-components.mjs +0 -1
- package/form/src/form.component.d.ts +2 -2
- package/form/src/validation-rule.widget.d.ts +1 -1
- package/form/src/validation-summary.component.d.ts +2 -2
- package/form/src/validation.class.d.ts +1 -1
- package/image/src/image.component.d.ts +1 -1
- package/label/src/label.component.d.ts +1 -1
- package/loading/src/loading.component.d.ts +1 -1
- package/loading/src/loading.directive.d.ts +1 -1
- package/loading/src/loading.service.d.ts +2 -2
- package/menu/src/menu.component.d.ts +1 -1
- package/mixin/src/base-components.class.d.ts +7 -7
- package/mixin/src/base-menu-mixin.class.d.ts +5 -5
- package/mixin/src/button-mixin.class.d.ts +2 -2
- package/mixin/src/clickable-mixin.class.d.ts +2 -2
- package/mixin/src/color-look-mixing.class.d.ts +2 -2
- package/mixin/src/constratctor.d.ts +2 -2
- package/mixin/src/datalist-component.class.d.ts +10 -10
- package/mixin/src/datalist.class.d.ts +2 -2
- package/mixin/src/dropdown-mixin.class.d.ts +2 -2
- package/mixin/src/interactive-mixin.class.d.ts +4 -4
- package/mixin/src/loading-mixin.class.d.ts +2 -2
- package/mixin/src/mixin.class.d.ts +61 -61
- package/mixin/src/page-component.class.d.ts +2 -2
- package/mixin/src/selection-component.class.d.ts +2 -2
- package/mixin/src/sizable-mixin.class.d.ts +2 -2
- package/mixin/src/textbox-mixin.class.d.ts +2 -2
- package/mixin/src/value-mixin.class.d.ts +8 -8
- package/notification/src/notification.class.d.ts +1 -1
- package/number-box/src/number-box.component.d.ts +1 -1
- package/package.json +172 -284
- package/password-box/src/password-box.component.d.ts +1 -1
- package/picker/src/picker-column.component.d.ts +1 -1
- package/popover/src/popover.component.d.ts +1 -1
- package/popup/src/popup.service.d.ts +2 -2
- package/progress-bar/src/progress-bar.component.d.ts +1 -1
- package/radio/src/radio.component.d.ts +1 -1
- package/range-slider/src/range-slider.component.d.ts +1 -1
- package/result/src/result.component.d.ts +1 -1
- package/search-box/src/search-box.component.d.ts +1 -1
- package/select-box/src/selectbox.component.d.ts +1 -1
- package/selection-list/src/selection-list.component.d.ts +1 -1
- package/switch/src/switch.component.d.ts +1 -1
- package/tabs/src/tab-content.directive.d.ts +1 -1
- package/tabs/src/tab-item.component.d.ts +3 -3
- package/tabs/src/tabs.class.d.ts +1 -1
- package/tabs/src/tabs.component.d.ts +1 -1
- package/tag/src/tag.component.d.ts +1 -1
- package/textarea/src/textarea.component.d.ts +1 -1
- package/textbox/src/mask-options.directive.d.ts +2 -2
- package/textbox/src/textbox.component.d.ts +1 -1
- package/time-box/src/time-box.component.d.ts +2 -2
- package/tooltip/src/tooltip.component.d.ts +1 -1
- package/tooltip/src/tooltip.directive.d.ts +1 -1
- package/tree-view/src/tree-view.component.d.ts +1 -1
- package/uploader/src/uploader.component.d.ts +1 -1
- package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
- package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
- package/esm2020/alert/src/alert.component.mjs +0 -178
- package/esm2020/avatar/src/avatar.component.mjs +0 -41
- package/esm2020/badge/src/badge.component.mjs +0 -27
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
- package/esm2020/button/src/button-group.component.mjs +0 -88
- package/esm2020/button/src/button-item.component.mjs +0 -77
- package/esm2020/button/src/button.component.mjs +0 -85
- package/esm2020/calendar/src/calendar.class.mjs +0 -127
- package/esm2020/calendar/src/calendar.component.mjs +0 -382
- package/esm2020/calendar/src/calendar.module.mjs +0 -22
- package/esm2020/card/src/card.component.mjs +0 -17
- package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
- package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
- package/esm2020/collapse/src/collapse.component.mjs +0 -45
- package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
- package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
- package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
- package/esm2020/common/public-api.mjs +0 -16
- package/esm2020/common/src/classes/components.class.mjs +0 -69
- package/esm2020/common/src/classes/events.class.mjs +0 -58
- package/esm2020/common/src/components/base-component.class.mjs +0 -57
- package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
- package/esm2020/common/src/components/color-component.class.mjs +0 -27
- package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
- package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
- package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
- package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
- package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/services/hotkey.service.mjs +0 -38
- package/esm2020/common/src/services/overlay.service.mjs +0 -111
- package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
- package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
- package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
- package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/data-table/src/data-column.directive.mjs +0 -43
- package/esm2020/data-table/src/data-table.component.mjs +0 -137
- package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
- package/esm2020/decorators/src/close-button.component.mjs +0 -50
- package/esm2020/decorators/src/icon.component.mjs +0 -29
- package/esm2020/decorators/src/overlay.component.mjs +0 -22
- package/esm2020/decorators/src/sub-title.component.mjs +0 -27
- package/esm2020/decorators/src/text.component.mjs +0 -21
- package/esm2020/dialog/src/dialog.service.mjs +0 -151
- package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
- package/esm2020/drawer/src/drawer.component.mjs +0 -140
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
- package/esm2020/form/src/form.component.mjs +0 -160
- package/esm2020/form/src/validation-rule.widget.mjs +0 -115
- package/esm2020/form/src/validation-summary.component.mjs +0 -105
- package/esm2020/image/src/image.component.mjs +0 -76
- package/esm2020/label/src/label.component.mjs +0 -45
- package/esm2020/loading/src/loading.component.mjs +0 -64
- package/esm2020/loading/src/loading.directive.mjs +0 -68
- package/esm2020/loading/src/loading.service.mjs +0 -156
- package/esm2020/menu/src/menu.component.mjs +0 -338
- package/esm2020/mixin/src/base-components.class.mjs +0 -110
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
- package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
- package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
- package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
- package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
- package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/selection-component.class.mjs +0 -180
- package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
- package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
- package/esm2020/notification/src/notification.component.mjs +0 -87
- package/esm2020/notification/src/notification.service.mjs +0 -107
- package/esm2020/number-box/src/number-box.component.mjs +0 -260
- package/esm2020/page/src/base-page.class.mjs +0 -61
- package/esm2020/page/src/page.component.mjs +0 -44
- package/esm2020/password-box/src/password-box.component.mjs +0 -62
- package/esm2020/picker/src/picker-column.component.mjs +0 -22
- package/esm2020/popover/src/popover.component.mjs +0 -248
- package/esm2020/popup/src/popup.component.mjs +0 -135
- package/esm2020/popup/src/popup.service.mjs +0 -114
- package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
- package/esm2020/rating/src/rating.component.mjs +0 -41
- package/esm2020/result/src/result.component.mjs +0 -25
- package/esm2020/search-box/src/search-box.component.mjs +0 -52
- package/esm2020/select-box/src/selectbox.component.mjs +0 -380
- package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
- package/esm2020/tabs/src/tab-item.component.mjs +0 -136
- package/esm2020/tabs/src/tabs.class.mjs +0 -4
- package/esm2020/textarea/src/textarea.component.mjs +0 -28
- package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
- package/esm2020/textbox/src/textbox.component.mjs +0 -92
- package/esm2020/time-box/src/time-box.component.mjs +0 -296
- package/esm2020/toast/src/toast.component.mjs +0 -64
- package/esm2020/toast/src/toast.service.mjs +0 -134
- package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
- package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
- package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2020/uploader/src/uploader.component.mjs +0 -98
- package/fesm2015/acorex-components-action-sheet.mjs +0 -193
- package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2015/acorex-components-alert.mjs +0 -208
- package/fesm2015/acorex-components-alert.mjs.map +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -81
- package/fesm2015/acorex-components-avatar.mjs.map +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/acorex-components-button.mjs +0 -281
- package/fesm2015/acorex-components-button.mjs.map +0 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -531
- package/fesm2015/acorex-components-calendar.mjs.map +0 -1
- package/fesm2015/acorex-components-card.mjs +0 -41
- package/fesm2015/acorex-components-checkbox.mjs +0 -67
- package/fesm2015/acorex-components-chips.mjs.map +0 -1
- package/fesm2015/acorex-components-collapse.mjs.map +0 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -772
- package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -172
- package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-common.mjs +0 -955
- package/fesm2015/acorex-components-common.mjs.map +0 -1
- package/fesm2015/acorex-components-context-menu.mjs +0 -301
- package/fesm2015/acorex-components-data-pager.mjs +0 -615
- package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -224
- package/fesm2015/acorex-components-data-table.mjs.map +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -297
- package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-decorators.mjs +0 -356
- package/fesm2015/acorex-components-dialog.mjs +0 -233
- package/fesm2015/acorex-components-drawer.mjs +0 -202
- package/fesm2015/acorex-components-drawer.mjs.map +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -135
- package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -450
- package/fesm2015/acorex-components-form.mjs.map +0 -1
- package/fesm2015/acorex-components-label.mjs.map +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -385
- package/fesm2015/acorex-components-loading.mjs.map +0 -1
- package/fesm2015/acorex-components-menu.mjs +0 -381
- package/fesm2015/acorex-components-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-mixin.mjs.map +0 -1
- package/fesm2015/acorex-components-notification.mjs +0 -217
- package/fesm2015/acorex-components-notification.mjs.map +0 -1
- package/fesm2015/acorex-components-number-box.mjs +0 -300
- package/fesm2015/acorex-components-page.mjs +0 -127
- package/fesm2015/acorex-components-page.mjs.map +0 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -99
- package/fesm2015/acorex-components-picker.mjs +0 -77
- package/fesm2015/acorex-components-popover.mjs +0 -278
- package/fesm2015/acorex-components-popup.mjs +0 -275
- package/fesm2015/acorex-components-popup.mjs.map +0 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -57
- package/fesm2015/acorex-components-radio.mjs +0 -66
- package/fesm2015/acorex-components-range-slider.mjs +0 -148
- package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2015/acorex-components-rating.mjs +0 -65
- package/fesm2015/acorex-components-result.mjs +0 -49
- package/fesm2015/acorex-components-result.mjs.map +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -84
- package/fesm2015/acorex-components-search-box.mjs.map +0 -1
- package/fesm2015/acorex-components-select-box.mjs +0 -453
- package/fesm2015/acorex-components-select-box.mjs.map +0 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -89
- package/fesm2015/acorex-components-switch.mjs +0 -91
- package/fesm2015/acorex-components-tabs.mjs +0 -299
- package/fesm2015/acorex-components-tag.mjs +0 -53
- package/fesm2015/acorex-components-tag.mjs.map +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -52
- package/fesm2015/acorex-components-textarea.mjs.map +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -149
- package/fesm2015/acorex-components-textbox.mjs.map +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -336
- package/fesm2015/acorex-components-time-box.mjs.map +0 -1
- package/fesm2015/acorex-components-toast.mjs +0 -222
- package/fesm2015/acorex-components-toast.mjs.map +0 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -164
- package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -133
- package/fesm2015/acorex-components-uploader.mjs +0 -129
- package/fesm2015/acorex-components-uploader.mjs.map +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -53
- package/fesm2020/acorex-components-badge.mjs.map +0 -1
- package/fesm2020/acorex-components-button.mjs.map +0 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -530
- package/fesm2020/acorex-components-calendar.mjs.map +0 -1
- package/fesm2020/acorex-components-card.mjs +0 -41
- package/fesm2020/acorex-components-card.mjs.map +0 -1
- package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2020/acorex-components-chips.mjs +0 -57
- package/fesm2020/acorex-components-collapse.mjs +0 -115
- package/fesm2020/acorex-components-color-picker.mjs +0 -169
- package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-common.mjs.map +0 -1
- package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -295
- package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-decorators.mjs.map +0 -1
- package/fesm2020/acorex-components-dialog.mjs.map +0 -1
- package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2020/acorex-components-form.mjs.map +0 -1
- package/fesm2020/acorex-components-image.mjs +0 -100
- package/fesm2020/acorex-components-image.mjs.map +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -71
- package/fesm2020/acorex-components-label.mjs.map +0 -1
- package/fesm2020/acorex-components-mixin.mjs +0 -1259
- package/fesm2020/acorex-components-number-box.mjs.map +0 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -99
- package/fesm2020/acorex-components-password-box.mjs.map +0 -1
- package/fesm2020/acorex-components-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-popover.mjs.map +0 -1
- package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -66
- package/fesm2020/acorex-components-radio.mjs.map +0 -1
- package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2020/acorex-components-rating.mjs +0 -65
- package/fesm2020/acorex-components-rating.mjs.map +0 -1
- package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2020/acorex-components-switch.mjs.map +0 -1
- package/fesm2020/acorex-components-tabs.mjs.map +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -52
- package/fesm2020/acorex-components-tree-view.mjs +0 -133
- package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components.mjs.map +0 -1
- /package/{esm2020 → esm2022}/acorex-components.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/acorex-components-action-sheet.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/action-sheet/src/action-sheet.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/alert/acorex-components-alert.mjs +0 -0
- /package/{esm2020 → esm2022}/alert/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/acorex-components-avatar.mjs +0 -0
- /package/{esm2020 → esm2022}/avatar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/badge/acorex-components-badge.mjs +0 -0
- /package/{esm2020 → esm2022}/badge/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -0
- /package/{esm2020 → esm2022}/button/acorex-components-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/src/button-item.class.mjs +0 -0
- /package/{esm2020 → esm2022}/calendar/acorex-components-calendar.mjs +0 -0
- /package/{esm2020 → esm2022}/card/acorex-components-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/acorex-components-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/acorex-components-chips.mjs +0 -0
- /package/{esm2020 → esm2022}/chips/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/collapse/acorex-components-collapse.mjs +0 -0
- /package/{esm2020 → esm2022}/collapse/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/color-palette/acorex-components-color-palette.mjs +0 -0
- /package/{esm2020 → esm2022}/color-palette/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/color-picker/acorex-components-color-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/color-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/common/acorex-components-common.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/classes/drawing.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/classes/styles.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/components/colorlook-component.class.mjs +0 -0
- /package/{esm2020 → esm2022}/common/src/constant/positions.mjs +0 -0
- /package/{esm2020 → esm2022}/context-menu/acorex-components-context-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/context-menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/data-pager/acorex-components-data-pager.mjs +0 -0
- /package/{esm2020 → esm2022}/data-pager/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/data-table/acorex-components-data-table.mjs +0 -0
- /package/{esm2020 → esm2022}/data-table/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/date-picker/acorex-components-date-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/date-picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/acorex-components-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/acorex-components-dialog.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dialog/src/dialog.class.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/acorex-components-drawer.mjs +0 -0
- /package/{esm2020 → esm2022}/drawer/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/acorex-components-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/dropdown/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form/acorex-components-form.mjs +0 -0
- /package/{esm2020 → esm2022}/form/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/form/src/validation.class.mjs +0 -0
- /package/{esm2020 → esm2022}/image/acorex-components-image.mjs +0 -0
- /package/{esm2020 → esm2022}/image/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/label/acorex-components-label.mjs +0 -0
- /package/{esm2020 → esm2022}/label/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/loading/acorex-components-loading.mjs +0 -0
- /package/{esm2020 → esm2022}/loading/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/acorex-components-menu.mjs +0 -0
- /package/{esm2020 → esm2022}/menu/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/acorex-components-mixin.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/constratctor.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/datalist.class.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/mixin.class.mjs +0 -0
- /package/{esm2020 → esm2022}/mixin/src/page-component.class.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/acorex-components-notification.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/notification/src/notification.class.mjs +0 -0
- /package/{esm2020 → esm2022}/number-box/acorex-components-number-box.mjs +0 -0
- /package/{esm2020 → esm2022}/number-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/page/acorex-components-page.mjs +0 -0
- /package/{esm2020 → esm2022}/page/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/password-box/acorex-components-password-box.mjs +0 -0
- /package/{esm2020 → esm2022}/password-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/picker/acorex-components-picker.mjs +0 -0
- /package/{esm2020 → esm2022}/picker/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/acorex-components-popover.mjs +0 -0
- /package/{esm2020 → esm2022}/popover/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/popup/acorex-components-popup.mjs +0 -0
- /package/{esm2020 → esm2022}/popup/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/acorex-components-progress-bar.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-bar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/acorex-components-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/range-slider/acorex-components-range-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/range-slider/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/rating/acorex-components-rating.mjs +0 -0
- /package/{esm2020 → esm2022}/rating/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/result/acorex-components-result.mjs +0 -0
- /package/{esm2020 → esm2022}/result/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/search-box/acorex-components-search-box.mjs +0 -0
- /package/{esm2020 → esm2022}/search-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/select-box/acorex-components-select-box.mjs +0 -0
- /package/{esm2020 → esm2022}/select-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/selection-list/acorex-components-selection-list.mjs +0 -0
- /package/{esm2020 → esm2022}/selection-list/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/acorex-components-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/acorex-components-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/acorex-components-tag.mjs +0 -0
- /package/{esm2020 → esm2022}/tag/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/acorex-components-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/acorex-components-textbox.mjs +0 -0
- /package/{esm2020 → esm2022}/textbox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/time-box/acorex-components-time-box.mjs +0 -0
- /package/{esm2020 → esm2022}/time-box/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/acorex-components-toast.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/toast/src/toast.class.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/acorex-components-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/tooltip/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-view/acorex-components-tree-view.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-view/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/acorex-components-uploader.mjs +0 -0
- /package/{esm2020 → esm2022}/uploader/public-api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -1,299 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ViewChild, ContentChild, Output, HostListener, ContentChildren, HostBinding, Directive, NgModule } from '@angular/core';
|
3
|
-
import { _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import { CommonModule } from '@angular/common';
|
6
|
-
import { AXEvent } from '@acorex/components/common';
|
7
|
-
import { PortalModule } from '@angular/cdk/portal';
|
8
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
9
|
-
|
10
|
-
const AXBaseTabItemMixin = _ClickableComponenetMixin(AXBaseComponent);
|
11
|
-
class AXTabItemComponent extends AXBaseTabItemMixin {
|
12
|
-
constructor(_elementRef, _cdr) {
|
13
|
-
super(_elementRef, _cdr);
|
14
|
-
this.activeChange = new EventEmitter();
|
15
|
-
this._active = false;
|
16
|
-
this.disabledChange = new EventEmitter();
|
17
|
-
this._disabled = false;
|
18
|
-
}
|
19
|
-
get active() {
|
20
|
-
return this._active;
|
21
|
-
}
|
22
|
-
set active(value) {
|
23
|
-
this._setOption({
|
24
|
-
name: 'active',
|
25
|
-
value,
|
26
|
-
afterCallback: () => {
|
27
|
-
this._cdr.markForCheck();
|
28
|
-
},
|
29
|
-
});
|
30
|
-
}
|
31
|
-
get disabled() {
|
32
|
-
return this._disabled;
|
33
|
-
}
|
34
|
-
set disabled(value) {
|
35
|
-
this._setOption({
|
36
|
-
name: 'disabled',
|
37
|
-
value,
|
38
|
-
});
|
39
|
-
}
|
40
|
-
__hostClick(e) {
|
41
|
-
if (!this.disabled) {
|
42
|
-
this.onClick.emit({
|
43
|
-
component: this,
|
44
|
-
htmlElement: this._getHostElement(),
|
45
|
-
nativeEvent: e,
|
46
|
-
});
|
47
|
-
}
|
48
|
-
}
|
49
|
-
_onOptionChanged(option) {
|
50
|
-
const classListRef = this._getHostElement().classList;
|
51
|
-
if (option.name == 'disabled') {
|
52
|
-
option.newValue ? classListRef.add('ax-state-disabled') : classListRef.remove('ax-state-disabled');
|
53
|
-
}
|
54
|
-
if (option.name == 'active') {
|
55
|
-
option.newValue ? classListRef.add('ax-state-active') : classListRef.remove('ax-state-active');
|
56
|
-
}
|
57
|
-
}
|
58
|
-
}
|
59
|
-
AXTabItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
60
|
-
AXTabItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", 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: `
|
61
|
-
<ng-container *ngIf="headerTemplate; else tabHeader">
|
62
|
-
<ng-container
|
63
|
-
[ngTemplateOutlet]="headerTemplate"
|
64
|
-
[ngTemplateOutletContext]="{
|
65
|
-
$implicit: {
|
66
|
-
text: this.text,
|
67
|
-
key: this.key,
|
68
|
-
active: this.active,
|
69
|
-
disabled: this.disabled
|
70
|
-
}
|
71
|
-
}"></ng-container>
|
72
|
-
</ng-container>
|
73
|
-
<!-- <ng-container *ngIf="headerTemplate;else header">
|
74
|
-
<ng-content select="ax-header">
|
75
|
-
</ng-content>
|
76
|
-
</ng-container> -->
|
77
|
-
<ng-template #tabHeader>
|
78
|
-
<ng-content select="ax-prefix"></ng-content>
|
79
|
-
<span>{{ text }}</span>
|
80
|
-
<ng-content select="ax-suffix"></ng-content>
|
81
|
-
</ng-template>
|
82
|
-
<ng-template #content>
|
83
|
-
<ng-content select="ax-content"> </ng-content>
|
84
|
-
</ng-template>
|
85
|
-
`, 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 });
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", 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
|
-
|
142
|
-
class AXTabsComponent extends AXBaseComponent {
|
143
|
-
constructor(elementRef, cdr) {
|
144
|
-
super(elementRef, cdr);
|
145
|
-
this.look = 'pills';
|
146
|
-
this.orientation = 'horizontal';
|
147
|
-
this.fitParent = false;
|
148
|
-
this.minWidth = false;
|
149
|
-
this._isUserInteraction = false;
|
150
|
-
this.onActiveTabChanged = new EventEmitter();
|
151
|
-
}
|
152
|
-
get items() {
|
153
|
-
return this._contentTabs.toArray();
|
154
|
-
}
|
155
|
-
get selectedIndex() {
|
156
|
-
return this.items.indexOf(this._selectedItem);
|
157
|
-
}
|
158
|
-
get selectedItem() {
|
159
|
-
return this._selectedItem;
|
160
|
-
}
|
161
|
-
get __hostClass() {
|
162
|
-
const cssClasses = [];
|
163
|
-
cssClasses.push(`ax-look-${this.look}`);
|
164
|
-
if (this.orientation == 'horizontal')
|
165
|
-
cssClasses.push(`ax-horizontal`);
|
166
|
-
else
|
167
|
-
cssClasses.push(`ax-vertical`);
|
168
|
-
return cssClasses;
|
169
|
-
}
|
170
|
-
ngAfterContentInit() {
|
171
|
-
this._contentTabs.changes.subscribe((v) => {
|
172
|
-
this._bindOnClickEvent();
|
173
|
-
});
|
174
|
-
}
|
175
|
-
ngAfterViewInit() {
|
176
|
-
this._bindOnClickEvent();
|
177
|
-
}
|
178
|
-
_bindOnClickEvent() {
|
179
|
-
const selected = this.items.find((c) => c.active) || this.items[0];
|
180
|
-
this.select(selected);
|
181
|
-
this.items.forEach((c) => {
|
182
|
-
if (!c.onClick.length) {
|
183
|
-
c.onClick.subscribe((t) => {
|
184
|
-
var _a;
|
185
|
-
this._isUserInteraction = (_a = t.nativeEvent) === null || _a === void 0 ? void 0 : _a.isTrusted;
|
186
|
-
this.select(c);
|
187
|
-
});
|
188
|
-
}
|
189
|
-
});
|
190
|
-
}
|
191
|
-
select(tab) {
|
192
|
-
let tabItem = typeof tab == 'number' ? this.items[tab] : tab;
|
193
|
-
//
|
194
|
-
if (!tab || this.selectedItem == tabItem)
|
195
|
-
return;
|
196
|
-
this._selectedItem = tabItem;
|
197
|
-
//
|
198
|
-
this.items.forEach((c) => (c.active = false));
|
199
|
-
tabItem.active = true;
|
200
|
-
if (this.content) {
|
201
|
-
this.content.portal = tabItem.template;
|
202
|
-
}
|
203
|
-
this._cdr.markForCheck();
|
204
|
-
this.onActiveTabChanged.emit({
|
205
|
-
component: this,
|
206
|
-
isUserInteraction: this._isUserInteraction,
|
207
|
-
tab: tabItem,
|
208
|
-
index: this.selectedIndex,
|
209
|
-
});
|
210
|
-
this._isUserInteraction = false;
|
211
|
-
}
|
212
|
-
}
|
213
|
-
AXTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabsComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
214
|
-
AXTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXTabsComponent, selector: "ax-tabs", inputs: { look: "look", orientation: "orientation", fitParent: "fitParent", minWidth: "minWidth", content: "content" }, outputs: { onActiveTabChanged: "onActiveTabChanged" }, host: { properties: { "class": "this.__hostClass" }, classAttribute: "ax-tabs" }, queries: [{ propertyName: "_contentTabs", predicate: AXTabItemComponent }], usesInheritance: true, ngImport: i0, template: `
|
215
|
-
<div class="ax-items-wrapper">
|
216
|
-
<ng-content select="ax-tab-item"> </ng-content>
|
217
|
-
</div>
|
218
|
-
`, isInline: true, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-top-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:.75rem 1rem;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-on-surface));border-top-width:1px;border-inline-start-width:1px;border-inline-end-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default));margin-inline-end:.2rem}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-top-color:rgba(var(--ax-color-primary-500));border-bottom-color:transparent;color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-on-surface));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabsComponent, decorators: [{
|
220
|
-
type: Component,
|
221
|
-
args: [{ selector: 'ax-tabs', template: `
|
222
|
-
<div class="ax-items-wrapper">
|
223
|
-
<ng-content select="ax-tab-item"> </ng-content>
|
224
|
-
</div>
|
225
|
-
`, host: { class: 'ax-tabs' }, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: [".ax-dark ax-tabs.ax-look-classic ax-tab-item:hover,.ax-dark ax-tabs.ax-look-classic ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500))!important;border-top-color:rgba(var(--ax-color-primary-500))!important;border-bottom-color:transparent!important;color:rgba(var(--ax-color-primary-fore))!important}.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,.ax-dark ax-tabs.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-200));color:rgba(var(--ax-color-primary-200))}ax-tabs{position:relative;display:block}ax-tabs.ax-tabs-fit{width:100%}ax-tabs.ax-tabs-fit ax-tab-item{flex:1}ax-tabs:not(.ax-look-custom) .ax-items-wrapper{position:relative}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item{font-size:.875rem;line-height:1.25rem;padding:.75rem 1rem;cursor:pointer;position:relative;display:flex;gap:.5rem;-webkit-user-select:none;user-select:none}ax-tabs:not(.ax-look-custom) .ax-items-wrapper ax-tab-item.ax-state-disabled{cursor:not-allowed;opacity:.5}ax-tabs.ax-horizontal .ax-items-wrapper{display:flex}ax-tabs.ax-horizontal .ax-items-wrapper ax-tab-item{text-align:center;align-items:center;justify-content:center}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.5rem}ax-tabs.ax-horizontal.ax-look-pills ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-inline-end:.25rem}ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper{border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-on-surface));border-top-width:1px;border-inline-start-width:1px;border-inline-end-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default));margin-inline-end:.2rem}ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-horizontal.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-top-color:rgba(var(--ax-color-primary-500));border-bottom-color:transparent;color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical .ax-items-wrapper{display:flex;flex-direction:column}ax-tabs.ax-vertical.ax-look-pills ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-on-surface));color:rgba(var(--ax-color-text-default))}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item{border-radius:var(--ax-rounded-border-default);margin-block-end:.25rem}ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-pills-color ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper{border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item{border-inline-start:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-with-line .ax-items-wrapper ax-tab-item.ax-state-active{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper{border-top-width:1px;border-bottom-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item{background:rgba(var(--ax-color-on-surface));border-inline-start-width:1px;border-style:solid;border-color:rgba(var(--ax-color-border-default))}ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item:hover,ax-tabs.ax-vertical.ax-look-classic .ax-items-wrapper ax-tab-item.ax-state-active{background-color:rgba(var(--ax-color-surface));border-inline-start-color:rgba(var(--ax-color-primary-500));border-inline-end-color:transparent;color:rgba(var(--ax-color-primary-500))}\n"] }]
|
226
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _contentTabs: [{
|
227
|
-
type: ContentChildren,
|
228
|
-
args: [AXTabItemComponent]
|
229
|
-
}], look: [{
|
230
|
-
type: Input
|
231
|
-
}], orientation: [{
|
232
|
-
type: Input
|
233
|
-
}], fitParent: [{
|
234
|
-
type: Input
|
235
|
-
}], minWidth: [{
|
236
|
-
type: Input
|
237
|
-
}], content: [{
|
238
|
-
type: Input
|
239
|
-
}], onActiveTabChanged: [{
|
240
|
-
type: Output
|
241
|
-
}], __hostClass: [{
|
242
|
-
type: HostBinding,
|
243
|
-
args: ['class']
|
244
|
-
}] } });
|
245
|
-
|
246
|
-
class AXTabStripChangedEvent extends AXEvent {
|
247
|
-
}
|
248
|
-
|
249
|
-
class AXTabContentDirective {
|
250
|
-
constructor(_viewContainerRef) {
|
251
|
-
this._viewContainerRef = _viewContainerRef;
|
252
|
-
}
|
253
|
-
get portal() {
|
254
|
-
return this._portal;
|
255
|
-
}
|
256
|
-
set portal(v) {
|
257
|
-
//;
|
258
|
-
if (v) {
|
259
|
-
this._portal = v;
|
260
|
-
this._viewContainerRef.clear();
|
261
|
-
const viewRef = this._viewContainerRef.createEmbeddedView(v, null, 0);
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|
265
|
-
AXTabContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabContentDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
266
|
-
AXTabContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXTabContentDirective, selector: "[axTabContent]", inputs: { portal: ["axTabContent", "portal"] }, exportAs: ["axTabContent"], ngImport: i0 });
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabContentDirective, decorators: [{
|
268
|
-
type: Directive,
|
269
|
-
args: [{
|
270
|
-
selector: '[axTabContent]',
|
271
|
-
exportAs: 'axTabContent',
|
272
|
-
inputs: ['portal: axTabContent'],
|
273
|
-
}]
|
274
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
275
|
-
|
276
|
-
const COMPONENT = [AXTabsComponent, AXTabItemComponent, AXTabContentDirective];
|
277
|
-
const MODULES = [CommonModule, PortalModule, AXDecoratorModule];
|
278
|
-
class AXTabsModule {
|
279
|
-
}
|
280
|
-
AXTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
281
|
-
AXTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXTabsModule, declarations: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective], imports: [CommonModule, PortalModule, AXDecoratorModule], exports: [AXTabsComponent, AXTabItemComponent, AXTabContentDirective] });
|
282
|
-
AXTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabsModule, imports: [MODULES] });
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTabsModule, decorators: [{
|
284
|
-
type: NgModule,
|
285
|
-
args: [{
|
286
|
-
declarations: [...COMPONENT],
|
287
|
-
imports: [...MODULES],
|
288
|
-
exports: [...COMPONENT],
|
289
|
-
providers: [],
|
290
|
-
}]
|
291
|
-
}] });
|
292
|
-
|
293
|
-
/**
|
294
|
-
* Generated bundle index. Do not edit.
|
295
|
-
*/
|
296
|
-
|
297
|
-
export { AXBaseTabItemMixin, AXTabContentDirective, AXTabItemComponent, AXTabStripChangedEvent, AXTabsComponent, AXTabsModule };
|
298
|
-
//# sourceMappingURL=acorex-components-tabs.mjs.map
|
299
|
-
//# sourceMappingURL=acorex-components-tabs.mjs.map
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
2
|
-
import * as i0 from '@angular/core';
|
3
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, NgModule } from '@angular/core';
|
4
|
-
import * as i1 from '@angular/common';
|
5
|
-
import { CommonModule } from '@angular/common';
|
6
|
-
|
7
|
-
class AXTagComponent extends AXBaseComponent {
|
8
|
-
constructor() {
|
9
|
-
super();
|
10
|
-
this.text = '';
|
11
|
-
this.look = 'default';
|
12
|
-
}
|
13
|
-
ngOnInit() { }
|
14
|
-
get __hostClass() {
|
15
|
-
return `ax-ghost-${this.look}`;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
AXTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
19
|
-
AXTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXTagComponent, selector: "ax-tag", inputs: { text: "text", look: "look" }, host: { properties: { "class": "this.__hostClass" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-tag-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-tag{font-size:.875rem;padding:.25rem .5rem;border-radius:var(--ax-rounded-border-default);display:inline-flex;align-items:center}ax-tag ax-prefix,ax-tag ax-suffix{display:flex;align-items:center;font-size:1rem}ax-tag ax-prefix ax-icon,ax-tag ax-suffix ax-icon{font-size:1rem!important}ax-tag ax-prefix{padding-inline-end:.25rem}ax-tag ax-suffix{padding-inline-start:.25rem}ax-tag.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-100));color:rgba(var(--ax-color-ghost-fore))}ax-tag.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost-500));color:rgba(var(--ax-color-ghost-fore))}.ax-dark ax-tag.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-500));color:rgba(var(--ax-color-ghost-fore))}.ax-dark ax-tag.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost-300));color:rgba(var(--ax-color-ghost-fore))}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTagComponent, decorators: [{
|
21
|
-
type: Component,
|
22
|
-
args: [{ selector: 'ax-tag', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-tag-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>", styles: ["ax-tag{font-size:.875rem;padding:.25rem .5rem;border-radius:var(--ax-rounded-border-default);display:inline-flex;align-items:center}ax-tag ax-prefix,ax-tag ax-suffix{display:flex;align-items:center;font-size:1rem}ax-tag ax-prefix ax-icon,ax-tag ax-suffix ax-icon{font-size:1rem!important}ax-tag ax-prefix{padding-inline-end:.25rem}ax-tag ax-suffix{padding-inline-start:.25rem}ax-tag.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-100));color:rgba(var(--ax-color-ghost-fore))}ax-tag.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost-500));color:rgba(var(--ax-color-ghost-fore))}.ax-dark ax-tag.ax-ghost-default{background-color:rgba(var(--ax-color-ghost-500));color:rgba(var(--ax-color-ghost-fore))}.ax-dark ax-tag.ax-ghost-outline{border:1px solid;border-color:rgba(var(--ax-color-ghost-300));color:rgba(var(--ax-color-ghost-fore))}\n"] }]
|
23
|
-
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
24
|
-
type: Input
|
25
|
-
}], look: [{
|
26
|
-
type: Input
|
27
|
-
}], __hostClass: [{
|
28
|
-
type: HostBinding,
|
29
|
-
args: ['class']
|
30
|
-
}] } });
|
31
|
-
|
32
|
-
class AXTagModule {
|
33
|
-
}
|
34
|
-
AXTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
35
|
-
AXTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXTagModule, declarations: [AXTagComponent], imports: [CommonModule], exports: [AXTagComponent] });
|
36
|
-
AXTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTagModule, imports: [CommonModule] });
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTagModule, decorators: [{
|
38
|
-
type: NgModule,
|
39
|
-
args: [{
|
40
|
-
declarations: [AXTagComponent],
|
41
|
-
imports: [CommonModule],
|
42
|
-
exports: [AXTagComponent],
|
43
|
-
providers: [],
|
44
|
-
}]
|
45
|
-
}] });
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Generated bundle index. Do not edit.
|
49
|
-
*/
|
50
|
-
|
51
|
-
export { AXTagComponent, AXTagModule };
|
52
|
-
//# sourceMappingURL=acorex-components-tag.mjs.map
|
53
|
-
//# sourceMappingURL=acorex-components-tag.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-tag.mjs","sources":["../../../../projects/acorex/components/tag/src/tag.component.ts","../../../../projects/acorex/components/tag/src/tag.component.html","../../../../projects/acorex/components/tag/src/tag.module.ts","../../../../projects/acorex/components/tag/acorex-components-tag.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-tag',\r\n templateUrl: './tag.component.html',\r\n styleUrls: ['./tag.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXTagComponent extends AXBaseComponent {\r\n @Input()\r\n text: string = ''\r\n\r\n @Input()\r\n look: 'default' | 'outline' = 'default'\r\n\r\n constructor() {\r\n super()\r\n }\r\n\r\n\r\n ngOnInit(): void { }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n return `ax-ghost-${this.look}`;\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix\"></ng-content>\r\n<div class=\"ax-tag-text\" *ngIf=\"text\">{{text }}</div>\r\n<ng-content select=\"ax-suffix\"></ng-content>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXTagComponent } from './tag.component';\r\n\r\n@NgModule({\r\n declarations: [AXTagComponent],\r\n imports: [CommonModule],\r\n exports: [AXTagComponent],\r\n providers: [],\r\n})\r\nexport class AXTagModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAUM,MAAO,cAAe,SAAQ,eAAe,CAAA;AAO/C,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE,CAAA;AANX,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE,CAAA;AAGjB,QAAA,IAAI,CAAA,IAAA,GAA0B,SAAS,CAAA;KAItC;AAGD,IAAA,QAAQ,MAAY;AAEpB,IAAA,IACY,WAAW,GAAA;AACnB,QAAA,OAAO,CAAY,SAAA,EAAA,IAAI,CAAC,IAAI,EAAE,CAAC;KAClC;;2GAjBQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,oKCV3B,+JAE4C,EAAA,MAAA,EAAA,CAAA,w2BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDQ/B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,QAAQ,mBAGD,uBAAuB,CAAC,MAAM,EAChC,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,+JAAA,EAAA,MAAA,EAAA,CAAA,w2BAAA,CAAA,EAAA,CAAA;0EAIrC,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAWM,WAAW,EAAA,CAAA;sBADtB,WAAW;uBAAC,OAAO,CAAA;;;MEdX,WAAW,CAAA;;wGAAX,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAX,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,EALL,YAAA,EAAA,CAAA,cAAc,CACnB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,cAAc,CAAA,EAAA,CAAA,CAAA;AAGf,WAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,YAJV,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIb,WAAW,EAAA,UAAA,EAAA,CAAA;kBANvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,cAAc,CAAC;AACzB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;ACTD;;AAEG;;;;"}
|
@@ -1,52 +0,0 @@
|
|
1
|
-
import { AXBaseTextBoxMixin } from '@acorex/components/mixin';
|
2
|
-
import * as i0 from '@angular/core';
|
3
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Input, NgModule } from '@angular/core';
|
4
|
-
import * as i1 from '@angular/forms';
|
5
|
-
import { FormsModule } from '@angular/forms';
|
6
|
-
import { CommonModule } from '@angular/common';
|
7
|
-
|
8
|
-
class AXTextareaComponent extends AXBaseTextBoxMixin {
|
9
|
-
/**
|
10
|
-
* @ignore
|
11
|
-
*/
|
12
|
-
constructor(elementRef, cdr) {
|
13
|
-
super(elementRef, cdr);
|
14
|
-
this.rows = 0;
|
15
|
-
}
|
16
|
-
focus() {
|
17
|
-
this.input.nativeElement.focus();
|
18
|
-
}
|
19
|
-
}
|
20
|
-
AXTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
21
|
-
AXTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXTextareaComponent, selector: "ax-textarea", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", value: "value", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", rows: "rows" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea #input [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<ng-content select=\"ax-suffix\"></ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", styles: ["ax-textarea{position:relative;width:100%;height:auto!important;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border:rgba(var(--ax-color-border-default));overflow:hidden}ax-textarea textarea{height:-moz-fit-content;height:fit-content;line-height:1.7;width:100%;font-size:.875rem;padding:.625rem;background-color:inherit}ax-textarea textarea:focus{outline-color:transparent}ax-textarea>ax-prefix,ax-textarea>ax-suffix{margin-bottom:.5rem;padding:.375rem}ax-textarea.ax-state-disabled{cursor:not-allowed;opacity:.5}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaComponent, decorators: [{
|
23
|
-
type: Component,
|
24
|
-
args: [{ selector: 'ax-textarea', inputs: ['disabled', 'tabIndex', 'readonly', 'value', 'name', 'checked', 'placeholder', 'maxLength'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'ax-editor-container' }, template: "<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea #input [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<ng-content select=\"ax-suffix\"></ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", styles: ["ax-textarea{position:relative;width:100%;height:auto!important;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border:rgba(var(--ax-color-border-default));overflow:hidden}ax-textarea textarea{height:-moz-fit-content;height:fit-content;line-height:1.7;width:100%;font-size:.875rem;padding:.625rem;background-color:inherit}ax-textarea textarea:focus{outline-color:transparent}ax-textarea>ax-prefix,ax-textarea>ax-suffix{margin-bottom:.5rem;padding:.375rem}ax-textarea.ax-state-disabled{cursor:not-allowed;opacity:.5}\n"] }]
|
25
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { input: [{
|
26
|
-
type: ViewChild,
|
27
|
-
args: ['input']
|
28
|
-
}], rows: [{
|
29
|
-
type: Input
|
30
|
-
}] } });
|
31
|
-
|
32
|
-
class AXTextareaModule {
|
33
|
-
}
|
34
|
-
AXTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
35
|
-
AXTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaModule, declarations: [AXTextareaComponent], imports: [CommonModule, FormsModule], exports: [AXTextareaComponent] });
|
36
|
-
AXTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaModule, imports: [CommonModule, FormsModule] });
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextareaModule, decorators: [{
|
38
|
-
type: NgModule,
|
39
|
-
args: [{
|
40
|
-
declarations: [AXTextareaComponent],
|
41
|
-
imports: [CommonModule, FormsModule],
|
42
|
-
exports: [AXTextareaComponent],
|
43
|
-
}]
|
44
|
-
}] });
|
45
|
-
|
46
|
-
/**
|
47
|
-
* Generated bundle index. Do not edit.
|
48
|
-
*/
|
49
|
-
|
50
|
-
export { AXTextareaComponent, AXTextareaModule };
|
51
|
-
//# sourceMappingURL=acorex-components-textarea.mjs.map
|
52
|
-
//# sourceMappingURL=acorex-components-textarea.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-textarea.mjs","sources":["../../../../projects/acorex/components/textarea/src/textarea.component.ts","../../../../projects/acorex/components/textarea/src/textarea.component.html","../../../../projects/acorex/components/textarea/src/textarea.module.ts","../../../../projects/acorex/components/textarea/acorex-components-textarea.ts"],"sourcesContent":["\r\nimport { AXBaseTextBoxMixin } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n Input,\r\n ViewChild,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n\r\n@Component({\r\n selector: 'ax-textarea',\r\n templateUrl: './textarea.component.html',\r\n styleUrls: ['./textarea.component.scss'],\r\n inputs: ['disabled', 'tabIndex', 'readonly','value','name', 'checked', 'placeholder', 'maxLength'],\r\n outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { class: 'ax-editor-container' },\r\n})\r\nexport class AXTextareaComponent extends AXBaseTextBoxMixin {\r\n \r\n @ViewChild('input') \r\n input: ElementRef<HTMLInputElement>;\r\n \r\n @Input()\r\n rows: number = 0;\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n focus(): void {\r\n this.input.nativeElement.focus();\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix\"></ng-content>\r\n<textarea #input [attr.name]=\"name\" type=\"text\" [rows]=\"rows\" [attr.placeholder]=\"placeholder\" [attr.maxlength]=\"maxLength\"\r\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\r\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [(ngModel)]=\"value\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\" [attr.autocomplete]=\"autoComplete\"></textarea>\r\n<ng-content select=\"ax-suffix\"></ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { AXTextareaComponent } from './textarea.component';\r\n\r\n@NgModule({\r\n declarations: [AXTextareaComponent],\r\n imports: [CommonModule, FormsModule],\r\n exports: [AXTextareaComponent],\r\n})\r\nexport class AXTextareaModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAuBM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;AAQzD;;AAEG;IACH,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AANzB,QAAA,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;KAOhB;IAED,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;KAClC;;gHAjBU,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,8gBCvBhC,smBAOa,EAAA,MAAA,EAAA,CAAA,4iBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,8MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,4EAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDgBA,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAV/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,UAGf,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAC,OAAO,EAAC,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,EACzF,OAAA,EAAA,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,CAAC,iBAChD,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC,EAAE,KAAK,EAAE,qBAAqB,EAAE,EAAA,QAAA,EAAA,smBAAA,EAAA,MAAA,EAAA,CAAA,4iBAAA,CAAA,EAAA,CAAA;iIAKtC,KAAK,EAAA,CAAA;sBADJ,SAAS;uBAAC,OAAO,CAAA;gBAIlB,IAAI,EAAA,CAAA;sBADH,KAAK;;;MElBK,gBAAgB,CAAA;;6GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAJZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAE,WAAW,aACzB,mBAAmB,CAAA,EAAA,CAAA,CAAA;8GAElB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;2FAGxB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;oBACpC,OAAO,EAAE,CAAC,mBAAmB,CAAC;iBAC/B,CAAA;;;ACTD;;AAEG;;;;"}
|
@@ -1,149 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Directive, Input, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, ContentChild, NgModule } from '@angular/core';
|
3
|
-
import { AXComponent, AXFocusableComponent, AXCommonModule } from '@acorex/components/common';
|
4
|
-
import { AXBaseTextBoxMixin } from '@acorex/components/mixin';
|
5
|
-
import IMask from 'imask';
|
6
|
-
import * as i1 from '@angular/forms';
|
7
|
-
import { FormsModule } from '@angular/forms';
|
8
|
-
import { AXButtonModule } from '@acorex/components/button';
|
9
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
10
|
-
import { CommonModule } from '@angular/common';
|
11
|
-
|
12
|
-
class AXMaskOptionsDirective {
|
13
|
-
}
|
14
|
-
AXMaskOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXMaskOptionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
15
|
-
AXMaskOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXMaskOptionsDirective, selector: "ax-mask-options", inputs: { mask: "mask", updateValue: "updateValue" }, ngImport: i0 });
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXMaskOptionsDirective, decorators: [{
|
17
|
-
type: Directive,
|
18
|
-
args: [{
|
19
|
-
selector: 'ax-mask-options'
|
20
|
-
}]
|
21
|
-
}], propDecorators: { mask: [{
|
22
|
-
type: Input
|
23
|
-
}], updateValue: [{
|
24
|
-
type: Input
|
25
|
-
}] } });
|
26
|
-
|
27
|
-
/**
|
28
|
-
* The Textbox is a component which detects user interaction and triggers a corresponding event
|
29
|
-
*
|
30
|
-
* @category Components
|
31
|
-
*/
|
32
|
-
class AXTextBoxComponent extends AXBaseTextBoxMixin {
|
33
|
-
/**
|
34
|
-
* @ignore
|
35
|
-
*/
|
36
|
-
constructor(elementRef, cdr) {
|
37
|
-
super(elementRef, cdr);
|
38
|
-
this._updateOn = 'change';
|
39
|
-
this._maskOptions = { mask: null };
|
40
|
-
}
|
41
|
-
get maskOptions() {
|
42
|
-
return this._maskOptions;
|
43
|
-
}
|
44
|
-
set maskOptions(value) {
|
45
|
-
this._maskOptions = value;
|
46
|
-
}
|
47
|
-
ngAfterContentInit() {
|
48
|
-
var _a, _b;
|
49
|
-
if ((_a = this._maskOptionsContent) === null || _a === void 0 ? void 0 : _a.mask) {
|
50
|
-
if (typeof this._maskOptionsContent.mask == 'string' || this._maskOptionsContent.mask instanceof RegExp) {
|
51
|
-
Object.assign(this.maskOptions, { mask: this._maskOptionsContent.mask, unmask: false });
|
52
|
-
}
|
53
|
-
if (typeof this._maskOptionsContent.mask == 'object') {
|
54
|
-
Object.assign(this.maskOptions, this._maskOptionsContent.mask);
|
55
|
-
}
|
56
|
-
}
|
57
|
-
//
|
58
|
-
if ((_b = this.maskOptions) === null || _b === void 0 ? void 0 : _b.mask) {
|
59
|
-
this._maskObj = IMask(this.input.nativeElement, this.maskOptions);
|
60
|
-
this._updateOn = "submit";
|
61
|
-
this._maskObj.on("accept", this._onComplete.bind(this));
|
62
|
-
this._maskObj.on("complete", this._onComplete.bind(this));
|
63
|
-
if (this.value) {
|
64
|
-
this._maskObj.value = `${this.value}`;
|
65
|
-
this._maskObj.updateValue();
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
focus() {
|
70
|
-
this.input.nativeElement.focus();
|
71
|
-
}
|
72
|
-
_onComplete(e) {
|
73
|
-
var _a, _b;
|
74
|
-
this.value = this._maskObj.value;
|
75
|
-
if (typeof ((_a = this._maskOptionsContent) === null || _a === void 0 ? void 0 : _a.updateValue) === 'function') {
|
76
|
-
(_b = this._maskOptionsContent) === null || _b === void 0 ? void 0 : _b.updateValue(this._maskObj.value, this._maskObj.unmaskedValue);
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
AXTextBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
81
|
-
AXTextBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXTextBoxComponent, selector: "ax-text-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", value: "value", state: "state", name: "name", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", type: "type", autoComplete: "autoComplete", maskOptions: ["mask-options", "maskOptions"] }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged" }, host: { classAttribute: "ax-editor-container" }, providers: [
|
82
|
-
{ provide: AXComponent, useExisting: AXTextBoxComponent },
|
83
|
-
{ provide: AXFocusableComponent, useExisting: AXTextBoxComponent },
|
84
|
-
], queries: [{ propertyName: "_maskOptionsContent", first: true, predicate: AXMaskOptionsDirective, descendants: true, static: true }], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input #input class=\"ax-input\" \r\n [attr.name]=\"name\" \r\n [attr.autocomplete]=\"autoComplete\"\r\n [attr.type]=\"type\"\r\n [attr.placeholder]=\"placeholder\" \r\n [attr.maxlength]=\"maxLength\" \r\n [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\"\r\n [ngModel]=\"value\" \r\n (ngModelChange)=\"value = $event\"\r\n [ngModelOptions]=\"{ updateOn:_updateOn }\" \r\n (keydown)=\"_emitOnKeydownEvent($event)\"\r\n (keyup)=\"_emitOnKeyupEvent($event)\" \r\n (keypress)=\"_emitOnKeypressEvent($event)\" \r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>", dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxComponent, decorators: [{
|
86
|
-
type: Component,
|
87
|
-
args: [{ selector: 'ax-text-box', inputs: [
|
88
|
-
'disabled',
|
89
|
-
'tabIndex',
|
90
|
-
'readonly',
|
91
|
-
'value',
|
92
|
-
'state',
|
93
|
-
'name',
|
94
|
-
'placeholder',
|
95
|
-
'maxLength',
|
96
|
-
'allowNull',
|
97
|
-
'type',
|
98
|
-
'autoComplete'
|
99
|
-
], outputs: ['onBlur', 'onFocus', 'valueChange', 'stateChange', 'onValueChanged'], host: { class: 'ax-editor-container' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
100
|
-
{ provide: AXComponent, useExisting: AXTextBoxComponent },
|
101
|
-
{ provide: AXFocusableComponent, useExisting: AXTextBoxComponent },
|
102
|
-
], template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<input #input class=\"ax-input\" \r\n [attr.name]=\"name\" \r\n [attr.autocomplete]=\"autoComplete\"\r\n [attr.type]=\"type\"\r\n [attr.placeholder]=\"placeholder\" \r\n [attr.maxlength]=\"maxLength\" \r\n [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" \r\n [disabled]=\"disabled\" \r\n [readonly]=\"readonly\" \r\n [tabindex]=\"tabIndex\"\r\n [ngModel]=\"value\" \r\n (ngModelChange)=\"value = $event\"\r\n [ngModelOptions]=\"{ updateOn:_updateOn }\" \r\n (keydown)=\"_emitOnKeydownEvent($event)\"\r\n (keyup)=\"_emitOnKeyupEvent($event)\" \r\n (keypress)=\"_emitOnKeypressEvent($event)\" \r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\">\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>" }]
|
103
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { input: [{
|
104
|
-
type: ViewChild,
|
105
|
-
args: ['input', { static: true }]
|
106
|
-
}], maskOptions: [{
|
107
|
-
type: Input,
|
108
|
-
args: ["mask-options"]
|
109
|
-
}], _maskOptionsContent: [{
|
110
|
-
type: ContentChild,
|
111
|
-
args: [AXMaskOptionsDirective, { static: true }]
|
112
|
-
}] } });
|
113
|
-
|
114
|
-
class AXTextBoxModule {
|
115
|
-
}
|
116
|
-
AXTextBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
117
|
-
AXTextBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxModule, declarations: [AXTextBoxComponent, AXMaskOptionsDirective], imports: [CommonModule,
|
118
|
-
AXCommonModule,
|
119
|
-
FormsModule,
|
120
|
-
AXButtonModule,
|
121
|
-
AXDecoratorModule], exports: [AXTextBoxComponent, AXMaskOptionsDirective] });
|
122
|
-
AXTextBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxModule, imports: [CommonModule,
|
123
|
-
AXCommonModule,
|
124
|
-
FormsModule,
|
125
|
-
AXButtonModule,
|
126
|
-
AXDecoratorModule] });
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXTextBoxModule, decorators: [{
|
128
|
-
type: NgModule,
|
129
|
-
args: [{
|
130
|
-
imports: [
|
131
|
-
CommonModule,
|
132
|
-
AXCommonModule,
|
133
|
-
FormsModule,
|
134
|
-
AXButtonModule,
|
135
|
-
AXDecoratorModule
|
136
|
-
],
|
137
|
-
exports: [AXTextBoxComponent, AXMaskOptionsDirective],
|
138
|
-
declarations: [AXTextBoxComponent, AXMaskOptionsDirective],
|
139
|
-
providers: [],
|
140
|
-
}]
|
141
|
-
}] });
|
142
|
-
|
143
|
-
/**
|
144
|
-
* Generated bundle index. Do not edit.
|
145
|
-
*/
|
146
|
-
|
147
|
-
export { AXMaskOptionsDirective, AXTextBoxComponent, AXTextBoxModule };
|
148
|
-
//# sourceMappingURL=acorex-components-textbox.mjs.map
|
149
|
-
//# sourceMappingURL=acorex-components-textbox.mjs.map
|