@acorex/components 7.0.41 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/index.d.ts +5 -5
- package/action-sheet/public-api.d.ts +3 -3
- package/action-sheet/src/action-sheet.component.d.ts +25 -25
- package/action-sheet/src/action-sheet.interface.d.ts +20 -20
- package/action-sheet/src/action-sheet.module.d.ts +14 -14
- package/action-sheet/src/action-sheet.service.d.ts +13 -13
- package/alert/index.d.ts +5 -5
- package/alert/public-api.d.ts +2 -2
- package/alert/src/alert.component.d.ts +88 -88
- package/alert/src/alert.module.d.ts +9 -9
- package/avatar/index.d.ts +5 -5
- package/avatar/public-api.d.ts +3 -3
- package/avatar/src/avatar-group.component.d.ts +8 -8
- package/avatar/src/avatar.component.d.ts +20 -20
- package/avatar/src/avatar.module.d.ts +9 -9
- package/badge/index.d.ts +5 -5
- package/badge/public-api.d.ts +2 -2
- package/badge/src/badge.component.d.ts +41 -41
- package/badge/src/badge.module.d.ts +8 -8
- package/breadcrumbs/index.d.ts +5 -5
- package/breadcrumbs/public-api.d.ts +4 -4
- package/breadcrumbs/src/breadcrumbs-item.class.d.ts +9 -9
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +77 -79
- package/breadcrumbs/src/breadcrumbs.component.d.ts +13 -13
- package/breadcrumbs/src/breadcrumbs.module.d.ts +9 -9
- package/button/index.d.ts +5 -5
- package/button/public-api.d.ts +5 -5
- package/button/src/button-group.component.d.ts +86 -86
- package/button/src/button-item.class.d.ts +24 -24
- package/button/src/button-item.component.d.ts +82 -80
- package/button/src/button.component.d.ts +23 -23
- package/button/src/button.module.d.ts +11 -11
- package/calendar/index.d.ts +5 -5
- package/calendar/public-api.d.ts +4 -3
- package/calendar/src/calendar-range.component.d.ts +29 -0
- package/calendar/src/calendar.class.d.ts +100 -51
- package/calendar/src/calendar.component.d.ts +44 -51
- package/calendar/src/calendar.module.d.ts +10 -9
- package/card/index.d.ts +5 -5
- package/card/public-api.d.ts +2 -2
- package/card/src/card.component.d.ts +10 -10
- package/card/src/card.module.d.ts +8 -8
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public-api.d.ts +2 -2
- package/checkbox/src/checkbox.component.d.ts +12 -12
- package/checkbox/src/checkbox.module.d.ts +10 -10
- package/chips/index.d.ts +5 -5
- package/chips/public-api.d.ts +2 -2
- package/chips/src/chips.component.d.ts +72 -72
- package/chips/src/chips.module.d.ts +8 -8
- package/collapse/index.d.ts +5 -5
- package/collapse/public-api.d.ts +3 -3
- package/collapse/src/collapse-group.component.d.ts +15 -15
- package/collapse/src/collapse.component.d.ts +17 -17
- package/collapse/src/collapse.module.d.ts +9 -9
- package/color-palette/index.d.ts +5 -5
- package/color-palette/public-api.d.ts +7 -7
- package/color-palette/src/color-palette-input.component.d.ts +22 -22
- package/color-palette/src/color-palette-picker.component.d.ts +32 -32
- package/color-palette/src/color-palette-preview.component.d.ts +11 -11
- package/color-palette/src/color-palette-swatches.component.d.ts +18 -18
- package/color-palette/src/color-palette.class.d.ts +22 -22
- package/color-palette/src/color-palette.component.d.ts +16 -16
- package/color-palette/src/color-palette.module.d.ts +19 -19
- package/color-picker/index.d.ts +5 -5
- package/color-picker/public-api.d.ts +2 -2
- package/color-picker/src/color-picker.component.d.ts +190 -190
- package/color-picker/src/color-picker.module.d.ts +18 -18
- package/common/index.d.ts +5 -5
- package/common/public-api.d.ts +16 -15
- package/common/src/classes/components.class.d.ts +62 -62
- package/common/src/classes/data.class.d.ts +4 -0
- package/common/src/classes/drawing.class.d.ts +9 -9
- package/common/src/classes/events.class.d.ts +95 -86
- package/common/src/classes/styles.class.d.ts +17 -17
- package/common/src/common.module.d.ts +11 -11
- package/common/src/components/base-component.class.d.ts +28 -31
- package/common/src/components/button-base-component.class.d.ts +36 -36
- package/common/src/components/color-component.class.d.ts +15 -15
- package/common/src/components/colorlook-component.class.d.ts +9 -9
- package/common/src/components/index.d.ts +7 -6
- package/common/src/components/interactive-component.class.d.ts +37 -37
- package/common/src/components/look-component.class.d.ts +15 -15
- package/common/src/components/value-component.class.d.ts +45 -0
- package/common/src/constant/positions.d.ts +75 -75
- package/common/src/directives/auto-focus.directive.d.ts +13 -13
- package/common/src/directives/debounce-time.directive.d.ts +17 -17
- package/common/src/directives/hotkey.directive.d.ts +22 -22
- package/common/src/directives/infinite-scroll.directive.d.ts +25 -25
- package/common/src/directives/responsive.directive.d.ts +10 -10
- package/common/src/services/custom-cdk-overlay.service.d.ts +19 -19
- package/common/src/services/hotkey.service.d.ts +17 -17
- package/common/src/services/overlay.service.d.ts +34 -34
- package/context-menu/index.d.ts +5 -5
- package/context-menu/public-api.d.ts +2 -2
- package/context-menu/src/context-menu.component.d.ts +34 -34
- package/context-menu/src/context-menu.module.d.ts +13 -13
- package/data-pager/index.d.ts +5 -5
- package/data-pager/public-api.d.ts +9 -9
- package/data-pager/src/data-pager-base.component.d.ts +49 -49
- package/data-pager/src/data-pager-info.component.d.ts +15 -15
- package/data-pager/src/data-pager-input-selector.component.d.ts +15 -15
- package/data-pager/src/data-pager-next-buttons.components.d.ts +16 -16
- package/data-pager/src/data-pager-numeric-selector.component.d.ts +18 -18
- package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +18 -18
- package/data-pager/src/data-pager-prev-buttons.component.d.ts +15 -15
- package/data-pager/src/data-pager.component.d.ts +35 -35
- package/data-pager/src/data-pager.module.d.ts +18 -18
- package/data-table/index.d.ts +5 -5
- package/data-table/public-api.d.ts +4 -4
- package/data-table/src/data-column-cell-template.directive.d.ts +8 -8
- package/data-table/src/data-column.directive.d.ts +16 -16
- package/data-table/src/data-table.component.d.ts +37 -37
- package/data-table/src/data-table.module.d.ts +14 -14
- package/date-picker/index.d.ts +5 -5
- package/date-picker/public-api.d.ts +2 -2
- package/date-picker/src/datepicker.component.d.ts +154 -154
- package/date-picker/src/datepicker.module.d.ts +15 -15
- package/decorators/index.d.ts +5 -5
- package/decorators/public-api.d.ts +14 -14
- package/decorators/src/close-button.component.d.ts +14 -14
- package/decorators/src/content.component.d.ts +8 -8
- package/decorators/src/decorators.module.d.ts +20 -20
- package/decorators/src/footer.component.d.ts +8 -8
- package/decorators/src/form-hint.component.d.ts +8 -8
- package/decorators/src/header.component.d.ts +8 -8
- package/decorators/src/icon.component.d.ts +10 -10
- package/decorators/src/overlay.component.d.ts +6 -6
- package/decorators/src/placeholder.component.d.ts +5 -5
- package/decorators/src/prefix.component.d.ts +8 -8
- package/decorators/src/sub-title.component.d.ts +9 -9
- package/decorators/src/suffix.component.d.ts +8 -8
- package/decorators/src/text.component.d.ts +9 -9
- package/decorators/src/title.component.d.ts +8 -8
- package/dialog/index.d.ts +5 -5
- package/dialog/public-api.d.ts +4 -4
- package/dialog/src/dialog.class.d.ts +13 -13
- package/dialog/src/dialog.component.d.ts +16 -16
- package/dialog/src/dialog.module.d.ts +14 -14
- package/dialog/src/dialog.service.d.ts +38 -38
- package/drawer/index.d.ts +5 -5
- package/drawer/public-api.d.ts +3 -3
- package/drawer/src/drawer-container.component.d.ts +10 -10
- package/drawer/src/drawer.component.d.ts +36 -36
- package/drawer/src/drawer.module.d.ts +9 -9
- package/dropdown/index.d.ts +5 -5
- package/dropdown/public-api.d.ts +2 -2
- package/dropdown/src/dropdown-panel.component.d.ts +30 -30
- package/dropdown/src/dropdown.module.d.ts +14 -14
- package/esm2022/acorex-components.mjs +5 -0
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +5 -0
- package/esm2022/action-sheet/public-api.mjs +4 -0
- package/esm2022/action-sheet/src/action-sheet.component.mjs +81 -0
- package/esm2022/action-sheet/src/action-sheet.interface.mjs +3 -0
- package/esm2022/action-sheet/src/action-sheet.module.mjs +27 -0
- package/esm2022/action-sheet/src/action-sheet.service.mjs +94 -0
- package/esm2022/alert/acorex-components-alert.mjs +5 -0
- package/esm2022/alert/public-api.mjs +3 -0
- package/esm2022/alert/src/alert.component.mjs +189 -0
- package/esm2022/alert/src/alert.module.mjs +23 -0
- package/esm2022/avatar/acorex-components-avatar.mjs +5 -0
- package/esm2022/avatar/public-api.mjs +4 -0
- package/esm2022/avatar/src/avatar-group.component.mjs +17 -0
- package/esm2022/avatar/src/avatar.component.mjs +44 -0
- package/esm2022/avatar/src/avatar.module.mjs +23 -0
- package/esm2022/badge/acorex-components-badge.mjs +5 -0
- package/esm2022/badge/public-api.mjs +3 -0
- package/esm2022/badge/src/badge.component.mjs +29 -0
- package/esm2022/badge/src/badge.module.mjs +22 -0
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
- package/esm2022/breadcrumbs/public-api.mjs +5 -0
- package/esm2022/breadcrumbs/src/breadcrumbs-item.class.mjs +2 -0
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +51 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +28 -0
- package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +21 -0
- package/esm2022/button/acorex-components-button.mjs +5 -0
- package/esm2022/button/public-api.mjs +6 -0
- package/esm2022/button/src/button-group.component.mjs +92 -0
- package/esm2022/button/src/button-item.class.mjs +2 -0
- package/esm2022/button/src/button-item.component.mjs +80 -0
- package/esm2022/button/src/button.component.mjs +79 -0
- package/esm2022/button/src/button.module.mjs +33 -0
- package/esm2022/calendar/acorex-components-calendar.mjs +5 -0
- package/esm2022/calendar/public-api.mjs +5 -0
- package/esm2022/calendar/src/calendar-range.component.mjs +175 -0
- package/esm2022/calendar/src/calendar.class.mjs +282 -0
- package/esm2022/calendar/src/calendar.component.mjs +373 -0
- package/esm2022/calendar/src/calendar.module.mjs +24 -0
- package/esm2022/card/acorex-components-card.mjs +5 -0
- package/esm2022/card/public-api.mjs +3 -0
- package/esm2022/card/src/card.component.mjs +19 -0
- package/esm2022/card/src/card.module.mjs +20 -0
- package/esm2022/checkbox/acorex-components-checkbox.mjs +5 -0
- package/esm2022/checkbox/public-api.mjs +3 -0
- package/esm2022/checkbox/src/checkbox.component.mjs +43 -0
- package/esm2022/checkbox/src/checkbox.module.mjs +22 -0
- package/esm2022/chips/acorex-components-chips.mjs +5 -0
- package/esm2022/chips/public-api.mjs +3 -0
- package/esm2022/chips/src/chips.component.mjs +34 -0
- package/esm2022/chips/src/chips.module.mjs +20 -0
- package/esm2022/collapse/acorex-components-collapse.mjs +5 -0
- package/esm2022/collapse/public-api.mjs +4 -0
- package/esm2022/collapse/src/collapse-group.component.mjs +53 -0
- package/esm2022/collapse/src/collapse.component.mjs +48 -0
- package/esm2022/collapse/src/collapse.module.mjs +21 -0
- package/esm2022/color-palette/acorex-components-color-palette.mjs +5 -0
- package/esm2022/color-palette/public-api.mjs +8 -0
- package/esm2022/color-palette/src/color-palette-input.component.mjs +131 -0
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +160 -0
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +63 -0
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +305 -0
- package/esm2022/color-palette/src/color-palette.class.mjs +19 -0
- package/esm2022/color-palette/src/color-palette.component.mjs +76 -0
- package/esm2022/color-palette/src/color-palette.module.mjs +61 -0
- package/esm2022/color-picker/acorex-components-color-picker.mjs +5 -0
- package/esm2022/color-picker/public-api.mjs +3 -0
- package/esm2022/color-picker/src/color-picker.component.mjs +120 -0
- package/esm2022/color-picker/src/color-picker.module.mjs +62 -0
- package/esm2022/common/acorex-components-common.mjs +5 -0
- package/esm2022/common/public-api.mjs +17 -0
- package/esm2022/common/src/classes/components.class.mjs +78 -0
- package/esm2022/common/src/classes/data.class.mjs +2 -0
- package/esm2022/common/src/classes/drawing.class.mjs +2 -0
- package/esm2022/common/src/classes/events.class.mjs +96 -0
- package/esm2022/common/src/classes/styles.class.mjs +13 -0
- package/esm2022/common/src/common.module.mjs +43 -0
- package/esm2022/common/src/components/base-component.class.mjs +57 -0
- package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
- package/esm2022/common/src/components/color-component.class.mjs +27 -0
- package/esm2022/common/src/components/colorlook-component.class.mjs +11 -0
- package/esm2022/common/src/components/index.mjs +8 -0
- package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
- package/esm2022/common/src/components/look-component.class.mjs +27 -0
- package/esm2022/common/src/components/value-component.class.mjs +207 -0
- package/esm2022/common/src/constant/positions.mjs +75 -0
- package/esm2022/common/src/directives/auto-focus.directive.mjs +58 -0
- package/esm2022/common/src/directives/debounce-time.directive.mjs +50 -0
- package/esm2022/common/src/directives/hotkey.directive.mjs +83 -0
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +70 -0
- package/esm2022/common/src/directives/responsive.directive.mjs +36 -0
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +52 -0
- package/esm2022/common/src/services/hotkey.service.mjs +41 -0
- package/esm2022/common/src/services/overlay.service.mjs +116 -0
- package/esm2022/context-menu/acorex-components-context-menu.mjs +5 -0
- package/esm2022/context-menu/public-api.mjs +3 -0
- package/esm2022/context-menu/src/context-menu.component.mjs +271 -0
- package/esm2022/context-menu/src/context-menu.module.mjs +37 -0
- package/esm2022/data-pager/acorex-components-data-pager.mjs +5 -0
- package/esm2022/data-pager/public-api.mjs +10 -0
- package/esm2022/data-pager/src/data-pager-base.component.mjs +37 -0
- package/esm2022/data-pager/src/data-pager-info.component.mjs +62 -0
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +54 -0
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +67 -0
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +101 -0
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +89 -0
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +62 -0
- package/esm2022/data-pager/src/data-pager.component.mjs +147 -0
- package/esm2022/data-pager/src/data-pager.module.mjs +52 -0
- package/esm2022/data-table/acorex-components-data-table.mjs +5 -0
- package/esm2022/data-table/public-api.mjs +5 -0
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +19 -0
- package/esm2022/data-table/src/data-column.directive.mjs +51 -0
- package/esm2022/data-table/src/data-table.component.mjs +140 -0
- package/esm2022/data-table/src/data-table.module.mjs +28 -0
- package/esm2022/date-picker/acorex-components-date-picker.mjs +5 -0
- package/esm2022/date-picker/public-api.mjs +3 -0
- package/esm2022/date-picker/src/datepicker.component.mjs +241 -0
- package/esm2022/date-picker/src/datepicker.module.mjs +45 -0
- package/esm2022/decorators/acorex-components-decorators.mjs +5 -0
- package/esm2022/decorators/public-api.mjs +15 -0
- package/esm2022/decorators/src/close-button.component.mjs +52 -0
- package/esm2022/decorators/src/content.component.mjs +22 -0
- package/esm2022/decorators/src/decorators.module.mjs +72 -0
- package/esm2022/decorators/src/footer.component.mjs +30 -0
- package/esm2022/decorators/src/form-hint.component.mjs +21 -0
- package/esm2022/decorators/src/header.component.mjs +30 -0
- package/esm2022/decorators/src/icon.component.mjs +31 -0
- package/esm2022/decorators/src/overlay.component.mjs +21 -0
- package/esm2022/decorators/src/placeholder.component.mjs +15 -0
- package/esm2022/decorators/src/prefix.component.mjs +22 -0
- package/esm2022/decorators/src/sub-title.component.mjs +28 -0
- package/esm2022/decorators/src/suffix.component.mjs +22 -0
- package/esm2022/decorators/src/text.component.mjs +23 -0
- package/esm2022/decorators/src/title.component.mjs +21 -0
- package/esm2022/dialog/acorex-components-dialog.mjs +5 -0
- package/esm2022/dialog/public-api.mjs +5 -0
- package/esm2022/dialog/src/dialog.class.mjs +2 -0
- package/esm2022/dialog/src/dialog.component.mjs +56 -0
- package/esm2022/dialog/src/dialog.module.mjs +28 -0
- package/esm2022/dialog/src/dialog.service.mjs +155 -0
- package/esm2022/drawer/acorex-components-drawer.mjs +5 -0
- package/esm2022/drawer/public-api.mjs +4 -0
- package/esm2022/drawer/src/drawer-container.component.mjs +39 -0
- package/esm2022/drawer/src/drawer.component.mjs +145 -0
- package/esm2022/drawer/src/drawer.module.mjs +23 -0
- package/esm2022/dropdown/acorex-components-dropdown.mjs +5 -0
- package/esm2022/dropdown/public-api.mjs +3 -0
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +106 -0
- package/esm2022/dropdown/src/dropdown.module.mjs +26 -0
- package/esm2022/form/acorex-components-form.mjs +5 -0
- package/esm2022/form/public-api.mjs +7 -0
- package/esm2022/form/src/form-field.component.mjs +16 -0
- package/esm2022/form/src/form.component.mjs +164 -0
- package/esm2022/form/src/form.module.mjs +64 -0
- package/esm2022/form/src/validation-rule.widget.mjs +114 -0
- package/esm2022/form/src/validation-summary.component.mjs +110 -0
- package/esm2022/form/src/validation.class.mjs +2 -0
- package/esm2022/image/acorex-components-image.mjs +5 -0
- package/esm2022/image/public-api.mjs +3 -0
- package/esm2022/image/src/image.component.mjs +80 -0
- package/esm2022/image/src/image.module.mjs +20 -0
- package/esm2022/label/acorex-components-label.mjs +5 -0
- package/esm2022/label/public-api.mjs +3 -0
- package/esm2022/label/src/label.component.mjs +49 -0
- package/esm2022/label/src/label.module.mjs +22 -0
- package/esm2022/loading/acorex-components-loading.mjs +5 -0
- package/esm2022/loading/public-api.mjs +6 -0
- package/esm2022/loading/src/loading-spinner.component.mjs +70 -0
- package/esm2022/loading/src/loading.component.mjs +68 -0
- package/esm2022/loading/src/loading.directive.mjs +77 -0
- package/esm2022/loading/src/loading.module.mjs +36 -0
- package/esm2022/loading/src/loading.service.mjs +159 -0
- package/esm2022/menu/acorex-components-menu.mjs +5 -0
- package/esm2022/menu/public-api.mjs +3 -0
- package/esm2022/menu/src/menu.component.mjs +347 -0
- package/esm2022/menu/src/menu.module.mjs +34 -0
- package/esm2022/mixin/acorex-components-mixin.mjs +5 -0
- package/esm2022/mixin/public-api.mjs +18 -0
- package/esm2022/mixin/src/base-components.class.mjs +111 -0
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
- package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
- package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
- package/esm2022/mixin/src/constratctor.mjs +2 -0
- package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
- package/esm2022/mixin/src/datalist.class.mjs +3 -0
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
- package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
- package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
- package/esm2022/mixin/src/mixin.class.mjs +26 -0
- package/esm2022/mixin/src/page-component.class.mjs +11 -0
- package/esm2022/mixin/src/selection-component.class.mjs +183 -0
- package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
- package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
- package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
- package/esm2022/notification/acorex-components-notification.mjs +5 -0
- package/esm2022/notification/public-api.mjs +5 -0
- package/esm2022/notification/src/notification.class.mjs +2 -0
- package/esm2022/notification/src/notification.component.mjs +93 -0
- package/esm2022/notification/src/notification.module.mjs +24 -0
- package/esm2022/notification/src/notification.service.mjs +110 -0
- package/esm2022/number-box/acorex-components-number-box.mjs +5 -0
- package/esm2022/number-box/public-api.mjs +3 -0
- package/esm2022/number-box/src/number-box.component.mjs +269 -0
- package/esm2022/number-box/src/number-box.module.mjs +36 -0
- package/esm2022/page/acorex-components-page.mjs +5 -0
- package/esm2022/page/public-api.mjs +4 -0
- package/esm2022/page/src/base-page.class.mjs +64 -0
- package/esm2022/page/src/page.component.mjs +47 -0
- package/esm2022/page/src/page.module.mjs +19 -0
- package/esm2022/password-box/acorex-components-password-box.mjs +5 -0
- package/esm2022/password-box/public-api.mjs +3 -0
- package/esm2022/password-box/src/password-box.component.mjs +64 -0
- package/esm2022/password-box/src/password-box.module.mjs +33 -0
- package/esm2022/picker/acorex-components-picker.mjs +5 -0
- package/esm2022/picker/public-api.mjs +4 -0
- package/esm2022/picker/src/picker-column.component.mjs +21 -0
- package/esm2022/picker/src/picker.component.mjs +17 -0
- package/esm2022/picker/src/picker.module.mjs +38 -0
- package/esm2022/popover/acorex-components-popover.mjs +5 -0
- package/esm2022/popover/public-api.mjs +3 -0
- package/esm2022/popover/src/popover.component.mjs +263 -0
- package/esm2022/popover/src/popover.module.mjs +20 -0
- package/esm2022/popup/acorex-components-popup.mjs +5 -0
- package/esm2022/popup/public-api.mjs +4 -0
- package/esm2022/popup/src/popup.component.mjs +146 -0
- package/esm2022/popup/src/popup.module.mjs +28 -0
- package/esm2022/popup/src/popup.service.mjs +117 -0
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +5 -0
- package/esm2022/progress-bar/public-api.mjs +3 -0
- package/esm2022/progress-bar/src/progress-bar.component.mjs +34 -0
- package/esm2022/progress-bar/src/progress-bar.module.mjs +20 -0
- package/esm2022/public-api.mjs +5 -0
- package/esm2022/radio/acorex-components-radio.mjs +5 -0
- package/esm2022/radio/public-api.mjs +3 -0
- package/esm2022/radio/src/radio.component.mjs +40 -0
- package/esm2022/radio/src/radio.module.mjs +23 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +5 -0
- package/esm2022/range-slider/public-api.mjs +3 -0
- package/esm2022/range-slider/src/range-slider.component.mjs +118 -0
- package/esm2022/range-slider/src/range-slider.module.mjs +23 -0
- package/esm2022/rating/acorex-components-rating.mjs +5 -0
- package/esm2022/rating/public-api.mjs +3 -0
- package/esm2022/rating/src/rating.component.mjs +42 -0
- package/esm2022/rating/src/rating.component.module.mjs +20 -0
- package/esm2022/result/acorex-components-result.mjs +5 -0
- package/esm2022/result/public-api.mjs +3 -0
- package/esm2022/result/src/result.component.mjs +27 -0
- package/esm2022/result/src/result.module.mjs +20 -0
- package/esm2022/search-box/acorex-components-search-box.mjs +5 -0
- package/esm2022/search-box/public-api.mjs +3 -0
- package/esm2022/search-box/src/search-box.component.mjs +55 -0
- package/esm2022/search-box/src/search-box.module.mjs +26 -0
- package/esm2022/select-box/acorex-components-select-box.mjs +5 -0
- package/esm2022/select-box/public-api.mjs +3 -0
- package/esm2022/select-box/src/selectbox.component.mjs +392 -0
- package/esm2022/select-box/src/selectbox.module.mjs +65 -0
- package/esm2022/selection-list/acorex-components-selection-list.mjs +5 -0
- package/esm2022/selection-list/public-api.mjs +3 -0
- package/esm2022/selection-list/src/selection-list.component.mjs +60 -0
- package/esm2022/selection-list/src/selection-list.module.mjs +25 -0
- package/esm2022/switch/acorex-components-switch.mjs +5 -0
- package/esm2022/switch/public-api.mjs +4 -0
- package/esm2022/switch/src/switch-content.component.mjs +17 -0
- package/esm2022/switch/src/switch.component.mjs +55 -0
- package/esm2022/switch/src/switch.module.mjs +23 -0
- package/esm2022/tabs/acorex-components-tabs.mjs +5 -0
- package/esm2022/tabs/public-api.mjs +6 -0
- package/esm2022/tabs/src/tab-content.directive.mjs +32 -0
- package/esm2022/tabs/src/tab-item.component.mjs +141 -0
- package/esm2022/tabs/src/tabs.class.mjs +6 -0
- package/esm2022/tabs/src/tabs.component.mjs +111 -0
- package/esm2022/tabs/src/tabs.module.mjs +26 -0
- package/esm2022/tag/acorex-components-tag.mjs +5 -0
- package/esm2022/tag/public-api.mjs +3 -0
- package/esm2022/tag/src/tag.component.mjs +30 -0
- package/esm2022/tag/src/tag.module.mjs +20 -0
- package/esm2022/textarea/acorex-components-textarea.mjs +5 -0
- package/esm2022/textarea/public-api.mjs +3 -0
- package/esm2022/textarea/src/textarea.component.mjs +30 -0
- package/esm2022/textarea/src/textarea.module.mjs +20 -0
- package/esm2022/textbox/acorex-components-textbox.mjs +5 -0
- package/esm2022/textbox/public-api.mjs +4 -0
- package/esm2022/textbox/src/mask-options.directive.mjs +20 -0
- package/esm2022/textbox/src/textbox.component.mjs +96 -0
- package/esm2022/textbox/src/textbox.module.mjs +39 -0
- package/esm2022/time-box/acorex-components-time-box.mjs +5 -0
- package/esm2022/time-box/public-api.mjs +3 -0
- package/esm2022/time-box/src/time-box.component.mjs +306 -0
- package/esm2022/time-box/src/time-box.module.mjs +33 -0
- package/esm2022/toast/acorex-components-toast.mjs +5 -0
- package/esm2022/toast/public-api.mjs +5 -0
- package/esm2022/toast/src/toast.class.mjs +2 -0
- package/esm2022/toast/src/toast.component.mjs +68 -0
- package/esm2022/toast/src/toast.module.mjs +23 -0
- package/esm2022/toast/src/toast.service.mjs +137 -0
- package/esm2022/tooltip/acorex-components-tooltip.mjs +5 -0
- package/esm2022/tooltip/public-api.mjs +4 -0
- package/esm2022/tooltip/src/tooltip.component.mjs +22 -0
- package/esm2022/tooltip/src/tooltip.directive.mjs +164 -0
- package/esm2022/tooltip/src/tooltip.module.mjs +23 -0
- package/esm2022/tree-view/acorex-components-tree-view.mjs +5 -0
- package/esm2022/tree-view/public-api.mjs +3 -0
- package/esm2022/tree-view/src/tree-view.component.mjs +108 -0
- package/esm2022/tree-view/src/tree-view.module.mjs +21 -0
- package/esm2022/uploader/acorex-components-uploader.mjs +5 -0
- package/esm2022/uploader/public-api.mjs +3 -0
- package/esm2022/uploader/src/uploader.component.mjs +102 -0
- package/esm2022/uploader/src/uploader.module.mjs +21 -0
- package/fesm2022/acorex-components-action-sheet.mjs +197 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -0
- package/fesm2022/acorex-components-alert.mjs +213 -0
- package/fesm2022/acorex-components-alert.mjs.map +1 -0
- package/fesm2022/acorex-components-avatar.mjs +82 -0
- package/fesm2022/acorex-components-avatar.mjs.map +1 -0
- package/fesm2022/acorex-components-badge.mjs +53 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs +94 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/acorex-components-button.mjs +275 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -0
- package/fesm2022/acorex-components-calendar.mjs +837 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -0
- package/fesm2022/acorex-components-card.mjs +41 -0
- package/fesm2022/acorex-components-card.mjs.map +1 -0
- package/fesm2022/acorex-components-checkbox.mjs +67 -0
- package/fesm2022/acorex-components-checkbox.mjs.map +1 -0
- package/fesm2022/acorex-components-chips.mjs +56 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -0
- package/fesm2022/acorex-components-collapse.mjs +118 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -0
- package/fesm2022/acorex-components-color-palette.mjs +771 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -0
- package/fesm2022/acorex-components-color-picker.mjs +182 -0
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +1211 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -0
- package/fesm2022/acorex-components-context-menu.mjs +310 -0
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +613 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -0
- package/fesm2022/acorex-components-data-table.mjs +231 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -0
- package/fesm2022/acorex-components-date-picker.mjs +285 -0
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-decorators.mjs +353 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -0
- package/fesm2022/acorex-components-dialog.mjs +237 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -0
- package/fesm2022/acorex-components-drawer.mjs +204 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -0
- package/fesm2022/acorex-components-dropdown.mjs +132 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
- package/fesm2022/acorex-components-form.mjs +450 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -0
- package/fesm2022/acorex-components-image.mjs +102 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -0
- package/fesm2022/acorex-components-label.mjs +73 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -0
- package/fesm2022/acorex-components-loading.mjs +397 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -0
- package/fesm2022/acorex-components-menu.mjs +383 -0
- package/fesm2022/acorex-components-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-mixin.mjs +1257 -0
- package/fesm2022/acorex-components-mixin.mjs.map +1 -0
- package/fesm2022/acorex-components-notification.mjs +223 -0
- package/fesm2022/acorex-components-notification.mjs.map +1 -0
- package/fesm2022/acorex-components-number-box.mjs +306 -0
- package/fesm2022/acorex-components-number-box.mjs.map +1 -0
- package/fesm2022/acorex-components-page.mjs +128 -0
- package/fesm2022/acorex-components-page.mjs.map +1 -0
- package/fesm2022/acorex-components-password-box.mjs +99 -0
- package/fesm2022/acorex-components-password-box.mjs.map +1 -0
- package/fesm2022/acorex-components-picker.mjs +74 -0
- package/fesm2022/acorex-components-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-popover.mjs +285 -0
- package/fesm2022/acorex-components-popover.mjs.map +1 -0
- package/fesm2022/acorex-components-popup.mjs +286 -0
- package/fesm2022/acorex-components-popup.mjs.map +1 -0
- package/fesm2022/acorex-components-progress-bar.mjs +56 -0
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -0
- package/fesm2022/acorex-components-radio.mjs +65 -0
- package/fesm2022/acorex-components-radio.mjs.map +1 -0
- package/fesm2022/acorex-components-range-slider.mjs +143 -0
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2022/acorex-components-rating.mjs +64 -0
- package/fesm2022/acorex-components-rating.mjs.map +1 -0
- package/fesm2022/acorex-components-result.mjs +49 -0
- package/fesm2022/acorex-components-result.mjs.map +1 -0
- package/fesm2022/acorex-components-search-box.mjs +82 -0
- package/fesm2022/acorex-components-search-box.mjs.map +1 -0
- package/fesm2022/acorex-components-select-box.mjs +456 -0
- package/fesm2022/acorex-components-select-box.mjs.map +1 -0
- package/fesm2022/acorex-components-selection-list.mjs +87 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -0
- package/fesm2022/acorex-components-switch.mjs +93 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -0
- package/fesm2022/acorex-components-tabs.mjs +308 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -0
- package/fesm2022/acorex-components-tag.mjs +52 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -0
- package/fesm2022/acorex-components-textarea.mjs +52 -0
- package/fesm2022/acorex-components-textarea.mjs.map +1 -0
- package/fesm2022/acorex-components-textbox.mjs +151 -0
- package/fesm2022/acorex-components-textbox.mjs.map +1 -0
- package/fesm2022/acorex-components-time-box.mjs +340 -0
- package/fesm2022/acorex-components-time-box.mjs.map +1 -0
- package/fesm2022/acorex-components-toast.mjs +226 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -0
- package/fesm2022/acorex-components-tooltip.mjs +206 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -0
- package/fesm2022/acorex-components-tree-view.mjs +131 -0
- package/fesm2022/acorex-components-tree-view.mjs.map +1 -0
- package/fesm2022/acorex-components-uploader.mjs +125 -0
- package/fesm2022/acorex-components-uploader.mjs.map +1 -0
- package/fesm2022/acorex-components.mjs +11 -0
- package/form/index.d.ts +5 -5
- package/form/public-api.d.ts +6 -6
- package/form/src/form-field.component.d.ts +8 -8
- package/form/src/form.component.d.ts +51 -51
- package/form/src/form.module.d.ts +15 -15
- package/form/src/validation-rule.widget.d.ts +18 -18
- package/form/src/validation-summary.component.d.ts +23 -23
- package/form/src/validation.class.d.ts +18 -18
- package/image/index.d.ts +5 -5
- package/image/public-api.d.ts +2 -2
- package/image/src/image.component.d.ts +27 -27
- package/image/src/image.module.d.ts +8 -8
- package/index.d.ts +5 -5
- package/label/index.d.ts +5 -5
- package/label/public-api.d.ts +2 -2
- package/label/src/label.component.d.ts +17 -17
- package/label/src/label.module.d.ts +8 -8
- package/loading/index.d.ts +5 -5
- package/loading/public-api.d.ts +5 -5
- package/loading/src/loading-spinner.component.d.ts +6 -6
- package/loading/src/loading.component.d.ts +21 -21
- package/loading/src/loading.directive.d.ts +22 -22
- package/loading/src/loading.module.d.ts +13 -13
- package/loading/src/loading.service.d.ts +48 -48
- package/menu/index.d.ts +5 -5
- package/menu/public-api.d.ts +2 -2
- package/menu/src/menu.component.d.ts +39 -39
- package/menu/src/menu.module.d.ts +12 -12
- package/mixin/index.d.ts +5 -5
- package/mixin/public-api.d.ts +17 -17
- package/mixin/src/base-components.class.d.ts +84 -84
- package/mixin/src/base-menu-mixin.class.d.ts +53 -53
- package/mixin/src/button-mixin.class.d.ts +53 -53
- package/mixin/src/clickable-mixin.class.d.ts +36 -36
- package/mixin/src/color-look-mixing.class.d.ts +44 -44
- package/mixin/src/constratctor.d.ts +4 -4
- package/mixin/src/datalist-component.class.d.ts +59 -59
- package/mixin/src/datalist.class.d.ts +11 -11
- package/mixin/src/dropdown-mixin.class.d.ts +47 -47
- package/mixin/src/interactive-mixin.class.d.ts +63 -63
- package/mixin/src/loading-mixin.class.d.ts +40 -40
- package/mixin/src/mixin.class.d.ts +679 -679
- package/mixin/src/page-component.class.d.ts +28 -28
- package/mixin/src/selection-component.class.d.ts +61 -61
- package/mixin/src/sizable-mixin.class.d.ts +34 -34
- package/mixin/src/textbox-mixin.class.d.ts +72 -72
- package/mixin/src/value-mixin.class.d.ts +63 -63
- package/notification/index.d.ts +5 -5
- package/notification/public-api.d.ts +4 -4
- package/notification/src/notification.class.d.ts +18 -18
- package/notification/src/notification.component.d.ts +30 -30
- package/notification/src/notification.module.d.ts +10 -10
- package/notification/src/notification.service.d.ts +16 -16
- package/number-box/index.d.ts +5 -5
- package/number-box/public-api.d.ts +2 -2
- package/number-box/src/number-box.component.d.ts +77 -77
- package/number-box/src/number-box.module.d.ts +12 -12
- package/package.json +173 -285
- package/page/index.d.ts +5 -5
- package/page/public-api.d.ts +3 -3
- package/page/src/base-page.class.d.ts +25 -25
- package/page/src/page.component.d.ts +14 -14
- package/page/src/page.module.d.ts +6 -6
- package/password-box/index.d.ts +5 -5
- package/password-box/public-api.d.ts +2 -2
- package/password-box/src/password-box.component.d.ts +25 -25
- package/password-box/src/password-box.module.d.ts +11 -11
- package/picker/index.d.ts +5 -5
- package/picker/public-api.d.ts +3 -3
- package/picker/src/picker-column.component.d.ts +11 -11
- package/picker/src/picker.component.d.ts +10 -10
- package/picker/src/picker.module.d.ts +14 -14
- package/popover/index.d.ts +5 -5
- package/popover/public-api.d.ts +2 -2
- package/popover/src/popover.component.d.ts +51 -51
- package/popover/src/popover.module.d.ts +8 -8
- package/popup/index.d.ts +5 -5
- package/popup/public-api.d.ts +3 -3
- package/popup/src/popup.component.d.ts +45 -45
- package/popup/src/popup.module.d.ts +14 -14
- package/popup/src/popup.service.d.ts +42 -42
- package/progress-bar/index.d.ts +5 -5
- package/progress-bar/public-api.d.ts +2 -2
- package/progress-bar/src/progress-bar.component.d.ts +18 -18
- package/progress-bar/src/progress-bar.module.d.ts +8 -8
- package/public-api.d.ts +1 -1
- package/radio/index.d.ts +5 -5
- package/radio/public-api.d.ts +2 -2
- package/radio/src/radio.component.d.ts +18 -18
- package/radio/src/radio.module.d.ts +9 -9
- package/range-slider/index.d.ts +5 -5
- package/range-slider/public-api.d.ts +2 -2
- package/range-slider/src/range-slider.component.d.ts +41 -41
- package/range-slider/src/range-slider.module.d.ts +9 -9
- package/rating/index.d.ts +5 -5
- package/rating/public-api.d.ts +2 -2
- package/rating/src/rating.component.d.ts +21 -21
- package/rating/src/rating.component.module.d.ts +8 -8
- package/result/index.d.ts +5 -5
- package/result/public-api.d.ts +2 -2
- package/result/src/result.component.d.ts +12 -12
- package/result/src/result.module.d.ts +8 -8
- package/search-box/index.d.ts +5 -5
- package/search-box/public-api.d.ts +2 -2
- package/search-box/src/search-box.component.d.ts +18 -18
- package/search-box/src/search-box.module.d.ts +12 -12
- package/select-box/index.d.ts +5 -5
- package/select-box/public-api.d.ts +2 -2
- package/select-box/src/selectbox.component.d.ts +66 -66
- package/select-box/src/selectbox.module.d.ts +19 -19
- package/selection-list/index.d.ts +5 -5
- package/selection-list/public-api.d.ts +2 -2
- package/selection-list/src/selection-list.component.d.ts +23 -23
- package/selection-list/src/selection-list.module.d.ts +13 -13
- package/switch/index.d.ts +5 -5
- package/switch/public-api.d.ts +3 -3
- package/switch/src/switch-content.component.d.ts +8 -8
- package/switch/src/switch.component.d.ts +13 -13
- package/switch/src/switch.module.d.ts +11 -11
- package/tabs/index.d.ts +5 -5
- package/tabs/public-api.d.ts +5 -5
- package/tabs/src/tab-content.directive.d.ts +11 -11
- package/tabs/src/tab-item.component.d.ts +48 -48
- package/tabs/src/tabs.class.d.ts +7 -7
- package/tabs/src/tabs.component.d.ts +29 -29
- package/tabs/src/tabs.module.d.ts +12 -12
- package/tag/index.d.ts +5 -5
- package/tag/public-api.d.ts +2 -2
- package/tag/src/tag.component.d.ts +11 -11
- package/tag/src/tag.module.d.ts +8 -8
- package/textarea/index.d.ts +5 -5
- package/textarea/public-api.d.ts +2 -2
- package/textarea/src/textarea.component.d.ts +14 -14
- package/textarea/src/textarea.module.d.ts +9 -9
- package/textbox/index.d.ts +5 -5
- package/textbox/public-api.d.ts +3 -3
- package/textbox/src/mask-options.directive.d.ts +13 -13
- package/textbox/src/textbox.component.d.ts +27 -27
- package/textbox/src/textbox.module.d.ts +13 -13
- package/time-box/index.d.ts +5 -5
- package/time-box/public-api.d.ts +2 -2
- package/time-box/src/time-box.component.d.ts +50 -50
- package/time-box/src/time-box.module.d.ts +11 -11
- package/toast/index.d.ts +5 -5
- package/toast/public-api.d.ts +4 -4
- package/toast/src/toast.class.d.ts +15 -15
- package/toast/src/toast.component.d.ts +25 -25
- package/toast/src/toast.module.d.ts +9 -9
- package/toast/src/toast.service.d.ts +21 -21
- package/tooltip/index.d.ts +5 -5
- package/tooltip/public-api.d.ts +3 -3
- package/tooltip/src/tooltip.component.d.ts +11 -11
- package/tooltip/src/tooltip.directive.d.ts +22 -22
- package/tooltip/src/tooltip.module.d.ts +10 -10
- package/tree-view/index.d.ts +5 -5
- package/tree-view/public-api.d.ts +2 -2
- package/tree-view/src/tree-view.component.d.ts +33 -33
- package/tree-view/src/tree-view.module.d.ts +9 -9
- package/uploader/index.d.ts +5 -5
- package/uploader/public-api.d.ts +2 -2
- package/uploader/src/uploader.component.d.ts +28 -28
- package/uploader/src/uploader.module.d.ts +9 -9
- package/esm2020/acorex-components.mjs +0 -5
- package/esm2020/action-sheet/acorex-components-action-sheet.mjs +0 -5
- package/esm2020/action-sheet/public-api.mjs +0 -4
- package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
- package/esm2020/action-sheet/src/action-sheet.interface.mjs +0 -3
- package/esm2020/action-sheet/src/action-sheet.module.mjs +0 -26
- package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
- package/esm2020/alert/acorex-components-alert.mjs +0 -5
- package/esm2020/alert/public-api.mjs +0 -3
- package/esm2020/alert/src/alert.component.mjs +0 -178
- package/esm2020/alert/src/alert.module.mjs +0 -22
- package/esm2020/avatar/acorex-components-avatar.mjs +0 -5
- package/esm2020/avatar/public-api.mjs +0 -4
- package/esm2020/avatar/src/avatar-group.component.mjs +0 -16
- package/esm2020/avatar/src/avatar.component.mjs +0 -41
- package/esm2020/avatar/src/avatar.module.mjs +0 -22
- package/esm2020/badge/acorex-components-badge.mjs +0 -5
- package/esm2020/badge/public-api.mjs +0 -3
- package/esm2020/badge/src/badge.component.mjs +0 -27
- package/esm2020/badge/src/badge.module.mjs +0 -21
- package/esm2020/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -5
- package/esm2020/breadcrumbs/public-api.mjs +0 -5
- package/esm2020/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
- package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
- package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
- package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +0 -20
- package/esm2020/button/acorex-components-button.mjs +0 -5
- package/esm2020/button/public-api.mjs +0 -6
- package/esm2020/button/src/button-group.component.mjs +0 -88
- package/esm2020/button/src/button-item.class.mjs +0 -2
- package/esm2020/button/src/button-item.component.mjs +0 -77
- package/esm2020/button/src/button.component.mjs +0 -85
- package/esm2020/button/src/button.module.mjs +0 -32
- package/esm2020/calendar/acorex-components-calendar.mjs +0 -5
- package/esm2020/calendar/public-api.mjs +0 -4
- package/esm2020/calendar/src/calendar.class.mjs +0 -127
- package/esm2020/calendar/src/calendar.component.mjs +0 -382
- package/esm2020/calendar/src/calendar.module.mjs +0 -22
- package/esm2020/card/acorex-components-card.mjs +0 -5
- package/esm2020/card/public-api.mjs +0 -3
- package/esm2020/card/src/card.component.mjs +0 -17
- package/esm2020/card/src/card.module.mjs +0 -19
- package/esm2020/checkbox/acorex-components-checkbox.mjs +0 -5
- package/esm2020/checkbox/public-api.mjs +0 -3
- package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
- package/esm2020/checkbox/src/checkbox.module.mjs +0 -21
- package/esm2020/chips/acorex-components-chips.mjs +0 -5
- package/esm2020/chips/public-api.mjs +0 -3
- package/esm2020/chips/src/chips.component.mjs +0 -33
- package/esm2020/chips/src/chips.module.mjs +0 -19
- package/esm2020/collapse/acorex-components-collapse.mjs +0 -5
- package/esm2020/collapse/public-api.mjs +0 -4
- package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
- package/esm2020/collapse/src/collapse.component.mjs +0 -45
- package/esm2020/collapse/src/collapse.module.mjs +0 -20
- package/esm2020/color-palette/acorex-components-color-palette.mjs +0 -5
- package/esm2020/color-palette/public-api.mjs +0 -8
- package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
- package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
- package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
- package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
- package/esm2020/color-palette/src/color-palette.class.mjs +0 -17
- package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
- package/esm2020/color-palette/src/color-palette.module.mjs +0 -60
- package/esm2020/color-picker/acorex-components-color-picker.mjs +0 -5
- package/esm2020/color-picker/public-api.mjs +0 -3
- package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
- package/esm2020/color-picker/src/color-picker.module.mjs +0 -61
- package/esm2020/common/acorex-components-common.mjs +0 -5
- package/esm2020/common/public-api.mjs +0 -16
- package/esm2020/common/src/classes/components.class.mjs +0 -69
- package/esm2020/common/src/classes/drawing.class.mjs +0 -2
- package/esm2020/common/src/classes/events.class.mjs +0 -58
- package/esm2020/common/src/classes/styles.class.mjs +0 -13
- package/esm2020/common/src/common.module.mjs +0 -42
- package/esm2020/common/src/components/base-component.class.mjs +0 -57
- package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
- package/esm2020/common/src/components/color-component.class.mjs +0 -27
- package/esm2020/common/src/components/colorlook-component.class.mjs +0 -11
- package/esm2020/common/src/components/index.mjs +0 -7
- package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
- package/esm2020/common/src/components/look-component.class.mjs +0 -27
- package/esm2020/common/src/constant/positions.mjs +0 -75
- package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
- package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
- package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
- package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/services/hotkey.service.mjs +0 -38
- package/esm2020/common/src/services/overlay.service.mjs +0 -111
- package/esm2020/context-menu/acorex-components-context-menu.mjs +0 -5
- package/esm2020/context-menu/public-api.mjs +0 -3
- package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
- package/esm2020/context-menu/src/context-menu.module.mjs +0 -36
- package/esm2020/data-pager/acorex-components-data-pager.mjs +0 -5
- package/esm2020/data-pager/public-api.mjs +0 -10
- package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
- package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
- package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
- package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
- package/esm2020/data-pager/src/data-pager.module.mjs +0 -51
- package/esm2020/data-table/acorex-components-data-table.mjs +0 -5
- package/esm2020/data-table/public-api.mjs +0 -5
- package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
- package/esm2020/data-table/src/data-column.directive.mjs +0 -43
- package/esm2020/data-table/src/data-table.component.mjs +0 -137
- package/esm2020/data-table/src/data-table.module.mjs +0 -27
- package/esm2020/date-picker/acorex-components-date-picker.mjs +0 -5
- package/esm2020/date-picker/public-api.mjs +0 -3
- package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
- package/esm2020/date-picker/src/datepicker.module.mjs +0 -44
- package/esm2020/decorators/acorex-components-decorators.mjs +0 -5
- package/esm2020/decorators/public-api.mjs +0 -15
- package/esm2020/decorators/src/close-button.component.mjs +0 -50
- package/esm2020/decorators/src/content.component.mjs +0 -21
- package/esm2020/decorators/src/decorators.module.mjs +0 -71
- package/esm2020/decorators/src/footer.component.mjs +0 -29
- package/esm2020/decorators/src/form-hint.component.mjs +0 -20
- package/esm2020/decorators/src/header.component.mjs +0 -29
- package/esm2020/decorators/src/icon.component.mjs +0 -29
- package/esm2020/decorators/src/overlay.component.mjs +0 -22
- package/esm2020/decorators/src/placeholder.component.mjs +0 -14
- package/esm2020/decorators/src/prefix.component.mjs +0 -21
- package/esm2020/decorators/src/sub-title.component.mjs +0 -27
- package/esm2020/decorators/src/suffix.component.mjs +0 -21
- package/esm2020/decorators/src/text.component.mjs +0 -21
- package/esm2020/decorators/src/title.component.mjs +0 -20
- package/esm2020/dialog/acorex-components-dialog.mjs +0 -5
- package/esm2020/dialog/public-api.mjs +0 -5
- package/esm2020/dialog/src/dialog.class.mjs +0 -2
- package/esm2020/dialog/src/dialog.component.mjs +0 -52
- package/esm2020/dialog/src/dialog.module.mjs +0 -27
- package/esm2020/dialog/src/dialog.service.mjs +0 -151
- package/esm2020/drawer/acorex-components-drawer.mjs +0 -5
- package/esm2020/drawer/public-api.mjs +0 -4
- package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
- package/esm2020/drawer/src/drawer.component.mjs +0 -140
- package/esm2020/drawer/src/drawer.module.mjs +0 -22
- package/esm2020/dropdown/acorex-components-dropdown.mjs +0 -5
- package/esm2020/dropdown/public-api.mjs +0 -3
- package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
- package/esm2020/dropdown/src/dropdown.module.mjs +0 -25
- package/esm2020/form/acorex-components-form.mjs +0 -5
- package/esm2020/form/public-api.mjs +0 -7
- package/esm2020/form/src/form-field.component.mjs +0 -15
- package/esm2020/form/src/form.component.mjs +0 -160
- package/esm2020/form/src/form.module.mjs +0 -63
- package/esm2020/form/src/validation-rule.widget.mjs +0 -115
- package/esm2020/form/src/validation-summary.component.mjs +0 -105
- package/esm2020/form/src/validation.class.mjs +0 -2
- package/esm2020/image/acorex-components-image.mjs +0 -5
- package/esm2020/image/public-api.mjs +0 -3
- package/esm2020/image/src/image.component.mjs +0 -76
- package/esm2020/image/src/image.module.mjs +0 -19
- package/esm2020/label/acorex-components-label.mjs +0 -5
- package/esm2020/label/public-api.mjs +0 -3
- package/esm2020/label/src/label.component.mjs +0 -45
- package/esm2020/label/src/label.module.mjs +0 -21
- package/esm2020/loading/acorex-components-loading.mjs +0 -5
- package/esm2020/loading/public-api.mjs +0 -6
- package/esm2020/loading/src/loading-spinner.component.mjs +0 -68
- package/esm2020/loading/src/loading.component.mjs +0 -64
- package/esm2020/loading/src/loading.directive.mjs +0 -68
- package/esm2020/loading/src/loading.module.mjs +0 -35
- package/esm2020/loading/src/loading.service.mjs +0 -156
- package/esm2020/menu/acorex-components-menu.mjs +0 -5
- package/esm2020/menu/public-api.mjs +0 -3
- package/esm2020/menu/src/menu.component.mjs +0 -338
- package/esm2020/menu/src/menu.module.mjs +0 -33
- package/esm2020/mixin/acorex-components-mixin.mjs +0 -5
- package/esm2020/mixin/public-api.mjs +0 -18
- package/esm2020/mixin/src/base-components.class.mjs +0 -110
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
- package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
- package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
- package/esm2020/mixin/src/constratctor.mjs +0 -2
- package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
- package/esm2020/mixin/src/datalist.class.mjs +0 -3
- package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
- package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
- package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/mixin.class.mjs +0 -26
- package/esm2020/mixin/src/page-component.class.mjs +0 -11
- package/esm2020/mixin/src/selection-component.class.mjs +0 -180
- package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
- package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
- package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
- package/esm2020/notification/acorex-components-notification.mjs +0 -5
- package/esm2020/notification/public-api.mjs +0 -5
- package/esm2020/notification/src/notification.class.mjs +0 -2
- package/esm2020/notification/src/notification.component.mjs +0 -87
- package/esm2020/notification/src/notification.module.mjs +0 -23
- package/esm2020/notification/src/notification.service.mjs +0 -107
- package/esm2020/number-box/acorex-components-number-box.mjs +0 -5
- package/esm2020/number-box/public-api.mjs +0 -3
- package/esm2020/number-box/src/number-box.component.mjs +0 -260
- package/esm2020/number-box/src/number-box.module.mjs +0 -35
- package/esm2020/page/acorex-components-page.mjs +0 -5
- package/esm2020/page/public-api.mjs +0 -4
- package/esm2020/page/src/base-page.class.mjs +0 -61
- package/esm2020/page/src/page.component.mjs +0 -44
- package/esm2020/page/src/page.module.mjs +0 -18
- package/esm2020/password-box/acorex-components-password-box.mjs +0 -5
- package/esm2020/password-box/public-api.mjs +0 -3
- package/esm2020/password-box/src/password-box.component.mjs +0 -62
- package/esm2020/password-box/src/password-box.module.mjs +0 -32
- package/esm2020/picker/acorex-components-picker.mjs +0 -5
- package/esm2020/picker/public-api.mjs +0 -4
- package/esm2020/picker/src/picker-column.component.mjs +0 -22
- package/esm2020/picker/src/picker.component.mjs +0 -16
- package/esm2020/picker/src/picker.module.mjs +0 -37
- package/esm2020/popover/acorex-components-popover.mjs +0 -5
- package/esm2020/popover/public-api.mjs +0 -3
- package/esm2020/popover/src/popover.component.mjs +0 -248
- package/esm2020/popover/src/popover.module.mjs +0 -19
- package/esm2020/popup/acorex-components-popup.mjs +0 -5
- package/esm2020/popup/public-api.mjs +0 -4
- package/esm2020/popup/src/popup.component.mjs +0 -135
- package/esm2020/popup/src/popup.module.mjs +0 -27
- package/esm2020/popup/src/popup.service.mjs +0 -114
- package/esm2020/progress-bar/acorex-components-progress-bar.mjs +0 -5
- package/esm2020/progress-bar/public-api.mjs +0 -3
- package/esm2020/progress-bar/src/progress-bar.component.mjs +0 -33
- package/esm2020/progress-bar/src/progress-bar.module.mjs +0 -19
- package/esm2020/public-api.mjs +0 -5
- package/esm2020/radio/acorex-components-radio.mjs +0 -5
- package/esm2020/radio/public-api.mjs +0 -3
- package/esm2020/radio/src/radio.component.mjs +0 -39
- package/esm2020/radio/src/radio.module.mjs +0 -22
- package/esm2020/range-slider/acorex-components-range-slider.mjs +0 -5
- package/esm2020/range-slider/public-api.mjs +0 -3
- package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
- package/esm2020/range-slider/src/range-slider.module.mjs +0 -22
- package/esm2020/rating/acorex-components-rating.mjs +0 -5
- package/esm2020/rating/public-api.mjs +0 -3
- package/esm2020/rating/src/rating.component.mjs +0 -41
- package/esm2020/rating/src/rating.component.module.mjs +0 -19
- package/esm2020/result/acorex-components-result.mjs +0 -5
- package/esm2020/result/public-api.mjs +0 -3
- package/esm2020/result/src/result.component.mjs +0 -25
- package/esm2020/result/src/result.module.mjs +0 -19
- package/esm2020/search-box/acorex-components-search-box.mjs +0 -5
- package/esm2020/search-box/public-api.mjs +0 -3
- package/esm2020/search-box/src/search-box.component.mjs +0 -52
- package/esm2020/search-box/src/search-box.module.mjs +0 -25
- package/esm2020/select-box/acorex-components-select-box.mjs +0 -5
- package/esm2020/select-box/public-api.mjs +0 -3
- package/esm2020/select-box/src/selectbox.component.mjs +0 -380
- package/esm2020/select-box/src/selectbox.module.mjs +0 -64
- package/esm2020/selection-list/acorex-components-selection-list.mjs +0 -5
- package/esm2020/selection-list/public-api.mjs +0 -3
- package/esm2020/selection-list/src/selection-list.component.mjs +0 -60
- package/esm2020/selection-list/src/selection-list.module.mjs +0 -24
- package/esm2020/switch/acorex-components-switch.mjs +0 -5
- package/esm2020/switch/public-api.mjs +0 -4
- package/esm2020/switch/src/switch-content.component.mjs +0 -16
- package/esm2020/switch/src/switch.component.mjs +0 -51
- package/esm2020/switch/src/switch.module.mjs +0 -22
- package/esm2020/tabs/acorex-components-tabs.mjs +0 -5
- package/esm2020/tabs/public-api.mjs +0 -6
- package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
- package/esm2020/tabs/src/tab-item.component.mjs +0 -136
- package/esm2020/tabs/src/tabs.class.mjs +0 -4
- package/esm2020/tabs/src/tabs.component.mjs +0 -107
- package/esm2020/tabs/src/tabs.module.mjs +0 -25
- package/esm2020/tag/acorex-components-tag.mjs +0 -5
- package/esm2020/tag/public-api.mjs +0 -3
- package/esm2020/tag/src/tag.component.mjs +0 -29
- package/esm2020/tag/src/tag.module.mjs +0 -19
- package/esm2020/textarea/acorex-components-textarea.mjs +0 -5
- package/esm2020/textarea/public-api.mjs +0 -3
- package/esm2020/textarea/src/textarea.component.mjs +0 -28
- package/esm2020/textarea/src/textarea.module.mjs +0 -19
- package/esm2020/textbox/acorex-components-textbox.mjs +0 -5
- package/esm2020/textbox/public-api.mjs +0 -4
- package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
- package/esm2020/textbox/src/textbox.component.mjs +0 -92
- package/esm2020/textbox/src/textbox.module.mjs +0 -38
- package/esm2020/time-box/acorex-components-time-box.mjs +0 -5
- package/esm2020/time-box/public-api.mjs +0 -3
- package/esm2020/time-box/src/time-box.component.mjs +0 -296
- package/esm2020/time-box/src/time-box.module.mjs +0 -32
- package/esm2020/toast/acorex-components-toast.mjs +0 -5
- package/esm2020/toast/public-api.mjs +0 -5
- package/esm2020/toast/src/toast.class.mjs +0 -2
- package/esm2020/toast/src/toast.component.mjs +0 -64
- package/esm2020/toast/src/toast.module.mjs +0 -22
- package/esm2020/toast/src/toast.service.mjs +0 -134
- package/esm2020/tooltip/acorex-components-tooltip.mjs +0 -5
- package/esm2020/tooltip/public-api.mjs +0 -4
- package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
- package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
- package/esm2020/tooltip/src/tooltip.module.mjs +0 -22
- package/esm2020/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2020/tree-view/public-api.mjs +0 -3
- package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2020/tree-view/src/tree-view.module.mjs +0 -20
- package/esm2020/uploader/acorex-components-uploader.mjs +0 -5
- package/esm2020/uploader/public-api.mjs +0 -3
- package/esm2020/uploader/src/uploader.component.mjs +0 -98
- package/esm2020/uploader/src/uploader.module.mjs +0 -20
- package/fesm2015/acorex-components-action-sheet.mjs +0 -193
- package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2015/acorex-components-alert.mjs +0 -208
- package/fesm2015/acorex-components-alert.mjs.map +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -81
- package/fesm2015/acorex-components-avatar.mjs.map +0 -1
- package/fesm2015/acorex-components-badge.mjs +0 -53
- package/fesm2015/acorex-components-badge.mjs.map +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
- package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2015/acorex-components-button.mjs +0 -281
- package/fesm2015/acorex-components-button.mjs.map +0 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -531
- package/fesm2015/acorex-components-calendar.mjs.map +0 -1
- package/fesm2015/acorex-components-card.mjs +0 -41
- package/fesm2015/acorex-components-card.mjs.map +0 -1
- package/fesm2015/acorex-components-checkbox.mjs +0 -67
- package/fesm2015/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2015/acorex-components-chips.mjs +0 -57
- package/fesm2015/acorex-components-chips.mjs.map +0 -1
- package/fesm2015/acorex-components-collapse.mjs +0 -115
- package/fesm2015/acorex-components-collapse.mjs.map +0 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -772
- package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -172
- package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-common.mjs +0 -955
- package/fesm2015/acorex-components-common.mjs.map +0 -1
- package/fesm2015/acorex-components-context-menu.mjs +0 -301
- package/fesm2015/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-data-pager.mjs +0 -615
- package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -224
- package/fesm2015/acorex-components-data-table.mjs.map +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -297
- package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-decorators.mjs +0 -356
- package/fesm2015/acorex-components-decorators.mjs.map +0 -1
- package/fesm2015/acorex-components-dialog.mjs +0 -233
- package/fesm2015/acorex-components-dialog.mjs.map +0 -1
- package/fesm2015/acorex-components-drawer.mjs +0 -202
- package/fesm2015/acorex-components-drawer.mjs.map +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -135
- package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -450
- package/fesm2015/acorex-components-form.mjs.map +0 -1
- package/fesm2015/acorex-components-image.mjs +0 -100
- package/fesm2015/acorex-components-image.mjs.map +0 -1
- package/fesm2015/acorex-components-label.mjs +0 -71
- package/fesm2015/acorex-components-label.mjs.map +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -385
- package/fesm2015/acorex-components-loading.mjs.map +0 -1
- package/fesm2015/acorex-components-menu.mjs +0 -381
- package/fesm2015/acorex-components-menu.mjs.map +0 -1
- package/fesm2015/acorex-components-mixin.mjs +0 -1265
- package/fesm2015/acorex-components-mixin.mjs.map +0 -1
- package/fesm2015/acorex-components-notification.mjs +0 -217
- package/fesm2015/acorex-components-notification.mjs.map +0 -1
- package/fesm2015/acorex-components-number-box.mjs +0 -300
- package/fesm2015/acorex-components-number-box.mjs.map +0 -1
- package/fesm2015/acorex-components-page.mjs +0 -127
- package/fesm2015/acorex-components-page.mjs.map +0 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -99
- package/fesm2015/acorex-components-password-box.mjs.map +0 -1
- package/fesm2015/acorex-components-picker.mjs +0 -77
- package/fesm2015/acorex-components-picker.mjs.map +0 -1
- package/fesm2015/acorex-components-popover.mjs +0 -278
- package/fesm2015/acorex-components-popover.mjs.map +0 -1
- package/fesm2015/acorex-components-popup.mjs +0 -275
- package/fesm2015/acorex-components-popup.mjs.map +0 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -57
- package/fesm2015/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2015/acorex-components-radio.mjs +0 -66
- package/fesm2015/acorex-components-radio.mjs.map +0 -1
- package/fesm2015/acorex-components-range-slider.mjs +0 -148
- package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2015/acorex-components-rating.mjs +0 -65
- package/fesm2015/acorex-components-rating.mjs.map +0 -1
- package/fesm2015/acorex-components-result.mjs +0 -49
- package/fesm2015/acorex-components-result.mjs.map +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -84
- package/fesm2015/acorex-components-search-box.mjs.map +0 -1
- package/fesm2015/acorex-components-select-box.mjs +0 -453
- package/fesm2015/acorex-components-select-box.mjs.map +0 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -89
- package/fesm2015/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2015/acorex-components-switch.mjs +0 -91
- package/fesm2015/acorex-components-switch.mjs.map +0 -1
- package/fesm2015/acorex-components-tabs.mjs +0 -299
- package/fesm2015/acorex-components-tabs.mjs.map +0 -1
- package/fesm2015/acorex-components-tag.mjs +0 -53
- package/fesm2015/acorex-components-tag.mjs.map +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -52
- package/fesm2015/acorex-components-textarea.mjs.map +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -149
- package/fesm2015/acorex-components-textbox.mjs.map +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -336
- package/fesm2015/acorex-components-time-box.mjs.map +0 -1
- package/fesm2015/acorex-components-toast.mjs +0 -222
- package/fesm2015/acorex-components-toast.mjs.map +0 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -164
- package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -133
- package/fesm2015/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2015/acorex-components-uploader.mjs +0 -129
- package/fesm2015/acorex-components-uploader.mjs.map +0 -1
- package/fesm2015/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components-action-sheet.mjs +0 -192
- package/fesm2020/acorex-components-action-sheet.mjs.map +0 -1
- package/fesm2020/acorex-components-alert.mjs +0 -204
- package/fesm2020/acorex-components-alert.mjs.map +0 -1
- package/fesm2020/acorex-components-avatar.mjs +0 -81
- package/fesm2020/acorex-components-avatar.mjs.map +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -53
- package/fesm2020/acorex-components-badge.mjs.map +0 -1
- package/fesm2020/acorex-components-breadcrumbs.mjs +0 -89
- package/fesm2020/acorex-components-breadcrumbs.mjs.map +0 -1
- package/fesm2020/acorex-components-button.mjs +0 -278
- package/fesm2020/acorex-components-button.mjs.map +0 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -530
- package/fesm2020/acorex-components-calendar.mjs.map +0 -1
- package/fesm2020/acorex-components-card.mjs +0 -41
- package/fesm2020/acorex-components-card.mjs.map +0 -1
- package/fesm2020/acorex-components-checkbox.mjs +0 -67
- package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
- package/fesm2020/acorex-components-chips.mjs +0 -57
- package/fesm2020/acorex-components-chips.mjs.map +0 -1
- package/fesm2020/acorex-components-collapse.mjs +0 -115
- package/fesm2020/acorex-components-collapse.mjs.map +0 -1
- package/fesm2020/acorex-components-color-palette.mjs +0 -765
- package/fesm2020/acorex-components-color-palette.mjs.map +0 -1
- package/fesm2020/acorex-components-color-picker.mjs +0 -169
- package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-common.mjs +0 -946
- package/fesm2020/acorex-components-common.mjs.map +0 -1
- package/fesm2020/acorex-components-context-menu.mjs +0 -301
- package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-data-pager.mjs +0 -598
- package/fesm2020/acorex-components-data-pager.mjs.map +0 -1
- package/fesm2020/acorex-components-data-table.mjs +0 -222
- package/fesm2020/acorex-components-data-table.mjs.map +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -295
- package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-decorators.mjs +0 -353
- package/fesm2020/acorex-components-decorators.mjs.map +0 -1
- package/fesm2020/acorex-components-dialog.mjs +0 -232
- package/fesm2020/acorex-components-dialog.mjs.map +0 -1
- package/fesm2020/acorex-components-drawer.mjs +0 -200
- package/fesm2020/acorex-components-drawer.mjs.map +0 -1
- package/fesm2020/acorex-components-dropdown.mjs +0 -129
- package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
- package/fesm2020/acorex-components-form.mjs +0 -446
- package/fesm2020/acorex-components-form.mjs.map +0 -1
- package/fesm2020/acorex-components-image.mjs +0 -100
- package/fesm2020/acorex-components-image.mjs.map +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -71
- package/fesm2020/acorex-components-label.mjs.map +0 -1
- package/fesm2020/acorex-components-loading.mjs +0 -384
- package/fesm2020/acorex-components-loading.mjs.map +0 -1
- package/fesm2020/acorex-components-menu.mjs +0 -376
- package/fesm2020/acorex-components-menu.mjs.map +0 -1
- package/fesm2020/acorex-components-mixin.mjs +0 -1259
- package/fesm2020/acorex-components-mixin.mjs.map +0 -1
- package/fesm2020/acorex-components-notification.mjs +0 -217
- package/fesm2020/acorex-components-notification.mjs.map +0 -1
- package/fesm2020/acorex-components-number-box.mjs +0 -299
- package/fesm2020/acorex-components-number-box.mjs.map +0 -1
- package/fesm2020/acorex-components-page.mjs +0 -125
- package/fesm2020/acorex-components-page.mjs.map +0 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -99
- package/fesm2020/acorex-components-password-box.mjs.map +0 -1
- package/fesm2020/acorex-components-picker.mjs +0 -77
- package/fesm2020/acorex-components-picker.mjs.map +0 -1
- package/fesm2020/acorex-components-popover.mjs +0 -272
- package/fesm2020/acorex-components-popover.mjs.map +0 -1
- package/fesm2020/acorex-components-popup.mjs +0 -275
- package/fesm2020/acorex-components-popup.mjs.map +0 -1
- package/fesm2020/acorex-components-progress-bar.mjs +0 -57
- package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -66
- package/fesm2020/acorex-components-radio.mjs.map +0 -1
- package/fesm2020/acorex-components-range-slider.mjs +0 -143
- package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
- package/fesm2020/acorex-components-rating.mjs +0 -65
- package/fesm2020/acorex-components-rating.mjs.map +0 -1
- package/fesm2020/acorex-components-result.mjs +0 -49
- package/fesm2020/acorex-components-result.mjs.map +0 -1
- package/fesm2020/acorex-components-search-box.mjs +0 -81
- package/fesm2020/acorex-components-search-box.mjs.map +0 -1
- package/fesm2020/acorex-components-select-box.mjs +0 -446
- package/fesm2020/acorex-components-select-box.mjs.map +0 -1
- package/fesm2020/acorex-components-selection-list.mjs +0 -89
- package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
- package/fesm2020/acorex-components-switch.mjs +0 -91
- package/fesm2020/acorex-components-switch.mjs.map +0 -1
- package/fesm2020/acorex-components-tabs.mjs +0 -298
- package/fesm2020/acorex-components-tabs.mjs.map +0 -1
- package/fesm2020/acorex-components-tag.mjs +0 -53
- package/fesm2020/acorex-components-tag.mjs.map +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -52
- package/fesm2020/acorex-components-textarea.mjs.map +0 -1
- package/fesm2020/acorex-components-textbox.mjs +0 -147
- package/fesm2020/acorex-components-textbox.mjs.map +0 -1
- package/fesm2020/acorex-components-time-box.mjs +0 -332
- package/fesm2020/acorex-components-time-box.mjs.map +0 -1
- package/fesm2020/acorex-components-toast.mjs +0 -222
- package/fesm2020/acorex-components-toast.mjs.map +0 -1
- package/fesm2020/acorex-components-tooltip.mjs +0 -200
- package/fesm2020/acorex-components-tooltip.mjs.map +0 -1
- package/fesm2020/acorex-components-tree-view.mjs +0 -133
- package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
- package/fesm2020/acorex-components-uploader.mjs +0 -123
- package/fesm2020/acorex-components-uploader.mjs.map +0 -1
- package/fesm2020/acorex-components.mjs +0 -12
- package/fesm2020/acorex-components.mjs.map +0 -1
- /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-tree-view.mjs","sources":["../../../../projects/acorex/components/tree-view/src/tree-view.component.ts","../../../../projects/acorex/components/tree-view/src/tree-view.component.html","../../../../projects/acorex/components/tree-view/src/tree-view.module.ts","../../../../projects/acorex/components/tree-view/acorex-components-tree-view.ts"],"sourcesContent":["import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-tree-view',\r\n templateUrl: './tree-view.component.html',\r\n styleUrls: ['./tree-view.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n host: { class: 'ax-tree-view' },\r\n})\r\nexport class AXTreeViewComponent implements OnInit {\r\n /**\r\n * @ignore\r\n */\r\n constructor() {}\r\n\r\n ngOnInit(): void {}\r\n\r\n @Input()\r\n showLines: 'all' | 'node' | 'none' = 'all';\r\n\r\n public list = [\r\n {\r\n title: 'childless',\r\n children: [],\r\n },\r\n {\r\n title: 'great grandparent',\r\n children: [\r\n {\r\n title: 'childless grandsibiling',\r\n children: [],\r\n },\r\n {\r\n title: 'grandparent',\r\n children: [\r\n {\r\n title: 'childless sibiling',\r\n children: [],\r\n },\r\n {\r\n title: 'another childless sibiling',\r\n children: [],\r\n },\r\n {\r\n title: 'parent',\r\n children: [\r\n {\r\n title: 'child',\r\n children: [],\r\n },\r\n {\r\n title: 'another child',\r\n children: [],\r\n },\r\n ],\r\n },\r\n {\r\n title: 'another parent',\r\n children: [\r\n {\r\n title: 'child',\r\n children: [],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n {\r\n title: 'another grandparent',\r\n children: [\r\n {\r\n title: 'parent',\r\n children: [\r\n {\r\n title: 'child',\r\n children: [],\r\n },\r\n {\r\n title: 'another child',\r\n children: [],\r\n },\r\n {\r\n title: 'a third child',\r\n children: [],\r\n },\r\n {\r\n title: 'teen mother',\r\n children: [\r\n {\r\n title: 'accident',\r\n children: [],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n ],\r\n },\r\n ];\r\n}\r\n","<ul class=\"ax-list-{{showLines}}\">\r\n <ng-template #recursiveList let-list>\r\n <li *ngFor=\"let item of list\">\r\n <span>\r\n <ax-check-box></ax-check-box>\r\n \r\n <span>{{item.title}}</span>\r\n </span>\r\n <ul *ngIf=\"item.children.length > 0\">\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.children }\"></ng-container>\r\n </ul>\r\n </li>\r\n </ng-template>\r\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\r\n </ul>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXTreeViewComponent } from './tree-view.component';\r\nimport { AXCheckBoxModule } from '@acorex/components/checkbox';\r\n\r\n@NgModule({\r\n declarations: [AXTreeViewComponent],\r\n imports: [CommonModule, AXCheckBoxModule],\r\n exports: [AXTreeViewComponent],\r\n providers: [],\r\n})\r\nexport class AXTreeViewModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AACA;;;;AAIG;MAQU,mBAAmB,CAAA;AAC9B;;AAEG;AACH,IAAA,WAAA,GAAA;AAKA,QAAA,IAAS,CAAA,SAAA,GAA4B,KAAK,CAAC;QAEpC,IAAA,CAAA,IAAI,GAAG;AACZ,YAAA;AACE,gBAAA,KAAK,EAAE,WAAW;AAClB,gBAAA,QAAQ,EAAE,EAAE;AACb,aAAA;AACD,YAAA;AACE,gBAAA,KAAK,EAAE,mBAAmB;AAC1B,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,KAAK,EAAE,yBAAyB;AAChC,wBAAA,QAAQ,EAAE,EAAE;AACb,qBAAA;AACD,oBAAA;AACE,wBAAA,KAAK,EAAE,aAAa;AACpB,wBAAA,QAAQ,EAAE;AACR,4BAAA;AACE,gCAAA,KAAK,EAAE,oBAAoB;AAC3B,gCAAA,QAAQ,EAAE,EAAE;AACb,6BAAA;AACD,4BAAA;AACE,gCAAA,KAAK,EAAE,4BAA4B;AACnC,gCAAA,QAAQ,EAAE,EAAE;AACb,6BAAA;AACD,4BAAA;AACE,gCAAA,KAAK,EAAE,QAAQ;AACf,gCAAA,QAAQ,EAAE;AACR,oCAAA;AACE,wCAAA,KAAK,EAAE,OAAO;AACd,wCAAA,QAAQ,EAAE,EAAE;AACb,qCAAA;AACD,oCAA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AA,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,iBALZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAE,gBAAgB,aAC9B,mBAAmB,CAAA,EAAA,CAAA,CAAA;8GAGlB,gBAAgB,EAAA,OAAA,EAAA,CAJjB,YAAY,EAAE,gBAAgB,CAAA,EAAA,CAAA,CAAA;2FAI7B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;oBACzC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC9B,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACVD;;AAEG;;;;"}
|
@@ -1,129 +0,0 @@
|
|
1
|
-
import { __awaiter } from 'tslib';
|
2
|
-
import { AXBaseComponentMixin } from '@acorex/components/mixin';
|
3
|
-
import * as i0 from '@angular/core';
|
4
|
-
import { EventEmitter, Component, ViewEncapsulation, Output, ViewChild, Input, HostListener, HostBinding, NgModule } from '@angular/core';
|
5
|
-
import * as i1 from '@acorex/core/file';
|
6
|
-
import * as i2 from '@angular/common';
|
7
|
-
import { CommonModule } from '@angular/common';
|
8
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
9
|
-
|
10
|
-
class AXUploaderComponent extends AXBaseComponentMixin {
|
11
|
-
constructor(elementRef, cdr, _fileService) {
|
12
|
-
super(elementRef, cdr);
|
13
|
-
this._fileService = _fileService;
|
14
|
-
this.onValueChanged = new EventEmitter();
|
15
|
-
this.firstInit = true;
|
16
|
-
this._showText = true;
|
17
|
-
this.multiple = false;
|
18
|
-
this.accept = '*/*';
|
19
|
-
}
|
20
|
-
_handleClick(e) {
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const files = yield this._fileService.choose({
|
23
|
-
accept: this.accept,
|
24
|
-
multiple: this.multiple,
|
25
|
-
});
|
26
|
-
this._handleFiles(files);
|
27
|
-
});
|
28
|
-
}
|
29
|
-
_handleDrop(e) {
|
30
|
-
return __awaiter(this, void 0, void 0, function* () {
|
31
|
-
let dt = e.dataTransfer;
|
32
|
-
let files = dt.files;
|
33
|
-
this._handleFiles(Array.from(files));
|
34
|
-
e.preventDefault();
|
35
|
-
});
|
36
|
-
}
|
37
|
-
_handleFiles(files) {
|
38
|
-
this.onValueChanged.emit({
|
39
|
-
component: this,
|
40
|
-
isUserInteraction: true,
|
41
|
-
value: files,
|
42
|
-
htmlElement: this._getHostElement(),
|
43
|
-
});
|
44
|
-
}
|
45
|
-
onInit() {
|
46
|
-
this._dropArea = this._getHostElement();
|
47
|
-
['dragenter', 'dragover', 'dragleave', 'drop'].forEach((eventName) => {
|
48
|
-
this._dropArea.addEventListener(eventName, this.preventDefaults, false);
|
49
|
-
});
|
50
|
-
['dragenter', 'dragover'].forEach((eventName) => {
|
51
|
-
this._dropArea.addEventListener(eventName, this._handleHighlight.bind(this), false);
|
52
|
-
});
|
53
|
-
['dragleave', 'drop'].forEach((eventName) => {
|
54
|
-
this._dropArea.addEventListener(eventName, this._handleUnhighlight.bind(this), false);
|
55
|
-
});
|
56
|
-
}
|
57
|
-
ngDoCheck() {
|
58
|
-
this.checkIsBoxHasMinWidth();
|
59
|
-
}
|
60
|
-
checkIsBoxHasMinWidth() {
|
61
|
-
this.firstInit = false;
|
62
|
-
let boxWidth = this._getHostElement().getBoundingClientRect().width;
|
63
|
-
console.log(boxWidth);
|
64
|
-
if (boxWidth <= 176 && this.firstInit === false) {
|
65
|
-
this._showText = false;
|
66
|
-
}
|
67
|
-
}
|
68
|
-
preventDefaults(e) {
|
69
|
-
e.preventDefault();
|
70
|
-
e.stopPropagation();
|
71
|
-
}
|
72
|
-
_handleHighlight(e) {
|
73
|
-
this._dropArea.classList.add('ax-state-hover');
|
74
|
-
}
|
75
|
-
_handleUnhighlight(e) {
|
76
|
-
this._dropArea.classList.remove('ax-state-hover');
|
77
|
-
}
|
78
|
-
get __defaultClass() {
|
79
|
-
var _a;
|
80
|
-
return !((_a = this._placeholder) === null || _a === void 0 ? void 0 : _a.nativeElement.childNodes.length);
|
81
|
-
}
|
82
|
-
}
|
83
|
-
AXUploaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component });
|
84
|
-
AXUploaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\r\n <div #contentRef><ng-content></ng-content></div>\r\n</ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\r\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\r\n browse</span></div>\r\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderComponent, decorators: [{
|
86
|
-
type: Component,
|
87
|
-
args: [{ selector: 'ax-uploader', encapsulation: ViewEncapsulation.None, template: "<ng-container>\r\n <div #contentRef><ng-content></ng-content></div>\r\n</ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\r\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\r\n browse</span></div>\r\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"] }]
|
88
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXFileService }]; }, propDecorators: { onValueChanged: [{
|
89
|
-
type: Output
|
90
|
-
}], _placeholder: [{
|
91
|
-
type: ViewChild,
|
92
|
-
args: ['contentRef', { static: true }]
|
93
|
-
}], multiple: [{
|
94
|
-
type: Input
|
95
|
-
}], accept: [{
|
96
|
-
type: Input
|
97
|
-
}], _handleClick: [{
|
98
|
-
type: HostListener,
|
99
|
-
args: ['click', ['$event']]
|
100
|
-
}], _handleDrop: [{
|
101
|
-
type: HostListener,
|
102
|
-
args: ['drop', ['$event']]
|
103
|
-
}], __defaultClass: [{
|
104
|
-
type: HostBinding,
|
105
|
-
args: ['class.ax-look-default']
|
106
|
-
}] } });
|
107
|
-
|
108
|
-
class AXUploaderModule {
|
109
|
-
}
|
110
|
-
AXUploaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
111
|
-
AXUploaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] });
|
112
|
-
AXUploaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] });
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXUploaderModule, decorators: [{
|
114
|
-
type: NgModule,
|
115
|
-
args: [{
|
116
|
-
declarations: [AXUploaderComponent],
|
117
|
-
imports: [CommonModule, AXDecoratorModule],
|
118
|
-
exports: [AXUploaderComponent],
|
119
|
-
providers: [],
|
120
|
-
}]
|
121
|
-
}] });
|
122
|
-
|
123
|
-
/**
|
124
|
-
* Generated bundle index. Do not edit.
|
125
|
-
*/
|
126
|
-
|
127
|
-
export { AXUploaderComponent, AXUploaderModule };
|
128
|
-
//# sourceMappingURL=acorex-components-uploader.mjs.map
|
129
|
-
//# sourceMappingURL=acorex-components-uploader.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-uploader.mjs","sources":["../../../../projects/acorex/components/uploader/src/uploader.component.ts","../../../../projects/acorex/components/uploader/src/uploader.component.html","../../../../projects/acorex/components/uploader/src/uploader.module.ts","../../../../projects/acorex/components/uploader/acorex-components-uploader.ts"],"sourcesContent":["import { AXValueChangedEvent } from '@acorex/components/common';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\r\nimport { AXFileService } from '@acorex/core/file';\r\nimport {\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n EventEmitter,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n Output,\r\n ViewChild,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-uploader',\r\n templateUrl: './uploader.component.html',\r\n styleUrls: ['./uploader.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXUploaderComponent extends AXBaseComponentMixin {\r\n @Output()\r\n onValueChanged: EventEmitter<AXValueChangedEvent<File[]>> = new EventEmitter<\r\n AXValueChangedEvent<File[]>\r\n >();\r\n\r\n firstInit: boolean = true;\r\n _showText: boolean = true;\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n cdr: ChangeDetectorRef,\r\n private _fileService: AXFileService\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @ViewChild('contentRef', { static: true })\r\n _placeholder: ElementRef;\r\n\r\n @Input()\r\n multiple: boolean = false;\r\n\r\n @Input()\r\n accept: string = '*/*';\r\n\r\n private _dropArea: HTMLDivElement;\r\n\r\n @HostListener('click', ['$event'])\r\n async _handleClick(e: MouseEvent) {\r\n const files = await this._fileService.choose({\r\n accept: this.accept,\r\n multiple: this.multiple,\r\n });\r\n this._handleFiles(files);\r\n }\r\n\r\n @HostListener('drop', ['$event'])\r\n async _handleDrop(e: any) {\r\n let dt = e.dataTransfer;\r\n let files = dt.files;\r\n this._handleFiles(Array.from(files));\r\n e.preventDefault();\r\n }\r\n\r\n _handleFiles(files: File[]) {\r\n this.onValueChanged.emit({\r\n component: this,\r\n isUserInteraction: true,\r\n value: files,\r\n htmlElement: this._getHostElement(),\r\n });\r\n }\r\n\r\n onInit(): void {\r\n this._dropArea = this._getHostElement();\r\n ['dragenter', 'dragover', 'dragleave', 'drop'].forEach((eventName) => {\r\n this._dropArea.addEventListener(eventName, this.preventDefaults, false);\r\n });\r\n ['dragenter', 'dragover'].forEach((eventName) => {\r\n this._dropArea.addEventListener(\r\n eventName,\r\n this._handleHighlight.bind(this),\r\n false\r\n );\r\n });\r\n\r\n ['dragleave', 'drop'].forEach((eventName) => {\r\n this._dropArea.addEventListener(\r\n eventName,\r\n this._handleUnhighlight.bind(this),\r\n false\r\n );\r\n });\r\n }\r\n\r\n ngDoCheck() {\r\n this.checkIsBoxHasMinWidth()\r\n }\r\n \r\n checkIsBoxHasMinWidth(){\r\n this.firstInit = false;\r\n let boxWidth: number = this._getHostElement().getBoundingClientRect().width;\r\n console.log(boxWidth);\r\n \r\n if (boxWidth <= 176 && this.firstInit === false) {\r\n this._showText = false;\r\n }\r\n }\r\n\r\n preventDefaults(e: any) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n }\r\n\r\n _handleHighlight(e) {\r\n this._dropArea.classList.add('ax-state-hover');\r\n }\r\n\r\n _handleUnhighlight(e) {\r\n this._dropArea.classList.remove('ax-state-hover');\r\n }\r\n\r\n @HostBinding('class.ax-look-default')\r\n get __defaultClass() {\r\n return !this._placeholder?.nativeElement.childNodes.length;\r\n }\r\n}\r\n","<ng-container>\r\n <div #contentRef><ng-content></ng-content></div>\r\n</ng-container>\r\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\r\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\r\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\r\n browse</span></div>\r\n</ng-container>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXUploaderComponent } from './uploader.component';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\n@NgModule({\r\n declarations: [AXUploaderComponent],\r\n imports: [CommonModule,AXDecoratorModule],\r\n exports: [AXUploaderComponent],\r\n providers: [],\r\n})\r\nexport class AXUploaderModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAsBM,MAAO,mBAAoB,SAAQ,oBAAoB,CAAA;AAS3D,IAAA,WAAA,CACE,UAAsB,EACtB,GAAsB,EACd,YAA2B,EAAA;AAEnC,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;AAFf,QAAA,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAe;AAVrC,QAAA,IAAA,CAAA,cAAc,GAA8C,IAAI,YAAY,EAEzE,CAAC;AAEJ,QAAA,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC;AAC1B,QAAA,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC;AAc1B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;AAG1B,QAAA,IAAM,CAAA,MAAA,GAAW,KAAK,CAAC;KATtB;AAcK,IAAA,YAAY,CAAC,CAAa,EAAA;;YAC9B,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;gBAC3C,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;AACxB,aAAA,CAAC,CAAC;AACH,YAAA,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;SAC1B,CAAA,CAAA;AAAA,KAAA;AAGK,IAAA,WAAW,CAAC,CA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AA,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,iBALZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAC,iBAAiB,aAC9B,mBAAmB,CAAA,EAAA,CAAA,CAAA;8GAGlB,gBAAgB,EAAA,OAAA,EAAA,CAJjB,YAAY,EAAC,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAI7B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAC,iBAAiB,CAAC;oBACzC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC9B,oBAAA,SAAS,EAAE,EAAE;iBACd,CAAA;;;ACVD;;AAEG;;;;"}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Public API Surface of components
|
3
|
-
*/
|
4
|
-
const ACOREX_COMPONENTS = "@acorex/components";
|
5
|
-
|
6
|
-
/**
|
7
|
-
* Generated bundle index. Do not edit.
|
8
|
-
*/
|
9
|
-
|
10
|
-
export { ACOREX_COMPONENTS };
|
11
|
-
//# sourceMappingURL=acorex-components.mjs.map
|
12
|
-
//# sourceMappingURL=acorex-components.mjs.map
|
@@ -1,192 +0,0 @@
|
|
1
|
-
import * as i2$1 from '@acorex/components/common';
|
2
|
-
import { TAB_META_KEY, AXCommonModule, AXComponentClosedPromise } from '@acorex/components/common';
|
3
|
-
import { AXBaseComponent } from '@acorex/components/mixin';
|
4
|
-
import * as i2 from '@angular/cdk/portal';
|
5
|
-
import { TemplatePortal, ComponentPortal, PortalModule } from '@angular/cdk/portal';
|
6
|
-
import * as i0 from '@angular/core';
|
7
|
-
import { EventEmitter, TemplateRef, Component, ChangeDetectionStrategy, ViewEncapsulation, HostListener, NgModule, Injectable } from '@angular/core';
|
8
|
-
import * as i1 from '@angular/common';
|
9
|
-
import { CommonModule } from '@angular/common';
|
10
|
-
import * as i3 from '@acorex/components/decorators';
|
11
|
-
import { AXDecoratorModule } from '@acorex/components/decorators';
|
12
|
-
import { A11yModule } from '@angular/cdk/a11y';
|
13
|
-
import { DragDropModule } from '@angular/cdk/drag-drop';
|
14
|
-
import { AXButtonModule } from '@acorex/components/button';
|
15
|
-
import { AXTranslator } from '@acorex/core/translation';
|
16
|
-
import * as i1$1 from '@angular/cdk/overlay';
|
17
|
-
|
18
|
-
class AXActionSheetComponent extends AXBaseComponent {
|
19
|
-
constructor(elementRef, cdr, _viewContainerRef) {
|
20
|
-
super(elementRef, cdr);
|
21
|
-
this._viewContainerRef = _viewContainerRef;
|
22
|
-
this.items = [];
|
23
|
-
this.showCloseButton = true;
|
24
|
-
this.showHeader = true;
|
25
|
-
this.data = {};
|
26
|
-
this.onClosed = new EventEmitter();
|
27
|
-
}
|
28
|
-
close() {
|
29
|
-
this.onClosed.emit({
|
30
|
-
component: this[TAB_META_KEY].component,
|
31
|
-
htmlElement: this._getHostElement(),
|
32
|
-
});
|
33
|
-
this._cdr.detectChanges();
|
34
|
-
}
|
35
|
-
onInit() {
|
36
|
-
if (this.content) {
|
37
|
-
if (typeof this.content === 'string') {
|
38
|
-
// this.rendererService.findLoadedComponentByRoute(this.content, 20).then(route => {
|
39
|
-
// setTimeout(() => {
|
40
|
-
// this.loadComponent(route.component);
|
41
|
-
// }, 300);
|
42
|
-
// });
|
43
|
-
}
|
44
|
-
else if (this.content instanceof TemplateRef) {
|
45
|
-
this._selectedPortal = new TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
|
46
|
-
this._cdr.markForCheck();
|
47
|
-
}
|
48
|
-
else if (typeof this.content === 'function') {
|
49
|
-
this._selectedPortal = new ComponentPortal(this.content);
|
50
|
-
this._cdr.markForCheck();
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
onKeydownHandler(event) {
|
55
|
-
let focusedOrHasFocused = this._getHostElement().matches(':focus-within');
|
56
|
-
if (this.showCloseButton && focusedOrHasFocused) {
|
57
|
-
this.close();
|
58
|
-
}
|
59
|
-
}
|
60
|
-
_handleAttched(ref) {
|
61
|
-
ref = ref;
|
62
|
-
if (ref.instance) {
|
63
|
-
this[TAB_META_KEY].component = ref.instance;
|
64
|
-
Object.assign(this[TAB_META_KEY].component, this.data);
|
65
|
-
if (ref.instance.onClosed) {
|
66
|
-
ref.instance.onClosed.subscribe((e) => {
|
67
|
-
this.onClosed.emit(e);
|
68
|
-
});
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
_handleCloseClick() {
|
73
|
-
this.close();
|
74
|
-
}
|
75
|
-
}
|
76
|
-
AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
77
|
-
AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXActionSheetComponent, selector: "ax-action-sheet", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<ax-header>\r\n <ax-title>{{ title }}</ax-title>\r\n <ax-close-button (click)=\"_handleCloseClick()\" tabindex=\"1\"></ax-close-button>\r\n</ax-header>\r\n<ng-template *ngIf=\"_selectedPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n</ng-template>\r\n<!-- TODO: Are you sure we need this? if remove this content not showing -->\r\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n<div class=\"ax-action-sheet-items\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" (click)=\"item.onClick()\">\r\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\r\n <span class=\"item-text\">{{ item.text }}</span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: ["@media (max-width: 599px){ax-action-sheet{width:100vw}}@media (min-width: 600px){ax-action-sheet{width:75vw}}@media (min-width: 1200px){ax-action-sheet{width:30vw}}@media (min-width: 1800px){ax-action-sheet{width:25vw}}ax-action-sheet ax-header{padding:.75rem}ax-action-sheet .ax-action-sheet-items{padding:.5rem 0}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{-webkit-user-select:none;user-select:none;cursor:pointer;padding:.75rem 1rem;display:flex}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{font-size:1.5rem;margin-inline-end:.75rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i3.AXDecoratorTitleComponent, selector: "ax-title" }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
79
|
-
type: Component,
|
80
|
-
args: [{ selector: 'ax-action-sheet', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-header>\r\n <ax-title>{{ title }}</ax-title>\r\n <ax-close-button (click)=\"_handleCloseClick()\" tabindex=\"1\"></ax-close-button>\r\n</ax-header>\r\n<ng-template *ngIf=\"_selectedPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n</ng-template>\r\n<!-- TODO: Are you sure we need this? if remove this content not showing -->\r\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n<div class=\"ax-action-sheet-items\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" (click)=\"item.onClick()\">\r\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\r\n <span class=\"item-text\">{{ item.text }}</span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: ["@media (max-width: 599px){ax-action-sheet{width:100vw}}@media (min-width: 600px){ax-action-sheet{width:75vw}}@media (min-width: 1200px){ax-action-sheet{width:30vw}}@media (min-width: 1800px){ax-action-sheet{width:25vw}}ax-action-sheet ax-header{padding:.75rem}ax-action-sheet .ax-action-sheet-items{padding:.5rem 0}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{-webkit-user-select:none;user-select:none;cursor:pointer;padding:.75rem 1rem;display:flex}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{font-size:1.5rem;margin-inline-end:.75rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"] }]
|
81
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { onKeydownHandler: [{
|
82
|
-
type: HostListener,
|
83
|
-
args: ['keydown.escape', ['$event']]
|
84
|
-
}] } });
|
85
|
-
|
86
|
-
const MODULES = [CommonModule, AXCommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];
|
87
|
-
class AXActionSheetModule {
|
88
|
-
}
|
89
|
-
AXActionSheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
90
|
-
AXActionSheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent], imports: [CommonModule, AXCommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule], exports: [AXActionSheetComponent] });
|
91
|
-
AXActionSheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetModule, imports: [MODULES] });
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetModule, decorators: [{
|
93
|
-
type: NgModule,
|
94
|
-
args: [{
|
95
|
-
declarations: [AXActionSheetComponent],
|
96
|
-
imports: [...MODULES],
|
97
|
-
exports: [AXActionSheetComponent],
|
98
|
-
providers: [],
|
99
|
-
}]
|
100
|
-
}] });
|
101
|
-
|
102
|
-
class AXActionSheetService {
|
103
|
-
// _overlayRef: OverlayRef;
|
104
|
-
// _templatePortal!: ComponentPortal<any>;
|
105
|
-
constructor(_overlay, overlayService) {
|
106
|
-
this._overlay = _overlay;
|
107
|
-
this.overlayService = overlayService;
|
108
|
-
}
|
109
|
-
//open(items: AXActionSheetItem[],options?:AXActionSheetOptions);
|
110
|
-
//open(content:AXActionSheetContentType, options?: AXActionSheetOptions);
|
111
|
-
open(options) {
|
112
|
-
const opt = {
|
113
|
-
title: AXTranslator.get('action-sheet.title'),
|
114
|
-
showCloseButton: true,
|
115
|
-
closeOnBackdrop: true,
|
116
|
-
showHeader: true,
|
117
|
-
};
|
118
|
-
Object.assign(opt, options);
|
119
|
-
const lastActiveElement = document.activeElement;
|
120
|
-
const com = this.overlayService.show(AXActionSheetComponent, opt, {
|
121
|
-
hasBackdrop: true,
|
122
|
-
closeOnClickOutside: opt.closeOnBackdrop,
|
123
|
-
transparentBackdrop: false,
|
124
|
-
panelClass: ['ax-actionsheet-panel'],
|
125
|
-
position: this._overlay.position().global().bottom().centerHorizontally(),
|
126
|
-
scroll: 'block',
|
127
|
-
});
|
128
|
-
const actionSheet = com.instance;
|
129
|
-
actionSheet[TAB_META_KEY] = {};
|
130
|
-
actionSheet.onClosed.subscribe(c => {
|
131
|
-
this.closePopup(actionSheet, com, c, lastActiveElement);
|
132
|
-
});
|
133
|
-
const promise = new AXComponentClosedPromise((resolve, reject) => {
|
134
|
-
actionSheet[TAB_META_KEY].close = e => {
|
135
|
-
if (resolve) {
|
136
|
-
resolve(e);
|
137
|
-
}
|
138
|
-
else {
|
139
|
-
reject(e);
|
140
|
-
}
|
141
|
-
};
|
142
|
-
});
|
143
|
-
promise['closeMethod'] = () => {
|
144
|
-
actionSheet.close();
|
145
|
-
};
|
146
|
-
return promise;
|
147
|
-
}
|
148
|
-
closePopup(popup, com, result, lastActiveElement) {
|
149
|
-
const closeFunc = e => {
|
150
|
-
com.dispose();
|
151
|
-
delete e.cancel;
|
152
|
-
popup[TAB_META_KEY].close(e);
|
153
|
-
if (lastActiveElement?.focus) {
|
154
|
-
lastActiveElement.focus();
|
155
|
-
}
|
156
|
-
};
|
157
|
-
const e = { cancel: false };
|
158
|
-
const closingFunc = popup[TAB_META_KEY].component?.onClosing;
|
159
|
-
if (closingFunc) {
|
160
|
-
const res = closingFunc(e);
|
161
|
-
if (res instanceof Promise) {
|
162
|
-
res.then(() => {
|
163
|
-
if (e == null || e.cancel !== true) {
|
164
|
-
closeFunc(result);
|
165
|
-
}
|
166
|
-
});
|
167
|
-
}
|
168
|
-
else {
|
169
|
-
if (e == null || e.cancel !== true) {
|
170
|
-
closeFunc(result);
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
else {
|
175
|
-
closeFunc(result);
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
179
|
-
AXActionSheetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, deps: [{ token: i1$1.Overlay }, { token: i2$1.AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
|
180
|
-
AXActionSheetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, providedIn: 'root' });
|
181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, decorators: [{
|
182
|
-
type: Injectable,
|
183
|
-
args: [{ providedIn: 'root' }]
|
184
|
-
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i2$1.AXOverlayService }]; } });
|
185
|
-
|
186
|
-
/**
|
187
|
-
* Generated bundle index. Do not edit.
|
188
|
-
*/
|
189
|
-
|
190
|
-
export { AXActionSheetComponent, AXActionSheetModule, AXActionSheetService };
|
191
|
-
//# sourceMappingURL=acorex-components-action-sheet.mjs.map
|
192
|
-
//# sourceMappingURL=acorex-components-action-sheet.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-action-sheet.mjs","sources":["../../../../projects/acorex/components/action-sheet/src/action-sheet.component.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.component.html","../../../../projects/acorex/components/action-sheet/src/action-sheet.module.ts","../../../../projects/acorex/components/action-sheet/src/action-sheet.service.ts","../../../../projects/acorex/components/action-sheet/acorex-components-action-sheet.ts"],"sourcesContent":["import { AXComponentCloseEvent, TAB_META_KEY } from '@acorex/components/common';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { CdkPortalOutletAttachedRef, ComponentPortal, Portal, TemplatePortal } from '@angular/cdk/portal';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentRef, ElementRef, EventEmitter, HostListener, Input, TemplateRef, ViewContainerRef, ViewEncapsulation } from '@angular/core';\r\nimport { AXActionSheetItem } from './action-sheet.interface';\r\n\r\n@Component({\r\n selector: 'ax-action-sheet',\r\n templateUrl: './action-sheet.component.html',\r\n styleUrls: ['./action-sheet.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\n\r\nexport class AXActionSheetComponent extends AXBaseComponent {\r\n\r\n _selectedPortal: Portal<any>;\r\n title: string;\r\n items: AXActionSheetItem[] = [];\r\n content: any;\r\n showCloseButton: boolean = true;\r\n showHeader: boolean = true;\r\n data: any = {};\r\n\r\n onClosed: EventEmitter<AXComponentCloseEvent> = new EventEmitter<AXComponentCloseEvent>();\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, private _viewContainerRef: ViewContainerRef,) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n close(): void {\r\n this.onClosed.emit({\r\n component: this[TAB_META_KEY].component,\r\n htmlElement: this._getHostElement(),\r\n });\r\n this._cdr.detectChanges();\r\n }\r\n\r\n onInit(): void {\r\n if (this.content) {\r\n if (typeof this.content === 'string') {\r\n // this.rendererService.findLoadedComponentByRoute(this.content, 20).then(route => {\r\n // setTimeout(() => {\r\n // this.loadComponent(route.component);\r\n // }, 300);\r\n // });\r\n } else if (this.content instanceof TemplateRef) {\r\n this._selectedPortal = new TemplatePortal(\r\n this.content,\r\n this._viewContainerRef,\r\n { $implicit: this.data, ref: this }\r\n );\r\n this._cdr.markForCheck();\r\n } else if (typeof this.content === 'function') {\r\n this._selectedPortal = new ComponentPortal(this.content);\r\n this._cdr.markForCheck();\r\n }\r\n }\r\n }\r\n\r\n @HostListener('keydown.escape', ['$event'])\r\n onKeydownHandler(event: KeyboardEvent) {\r\n let focusedOrHasFocused = this._getHostElement().matches(':focus-within');\r\n if (this.showCloseButton && focusedOrHasFocused) {\r\n this.close();\r\n }\r\n }\r\n\r\n _handleAttched(ref: CdkPortalOutletAttachedRef) {\r\n ref = ref as ComponentRef<any>;\r\n if (ref.instance) {\r\n this[TAB_META_KEY].component = ref.instance;\r\n Object.assign(this[TAB_META_KEY].component, this.data);\r\n if (ref.instance.onClosed) {\r\n ref.instance.onClosed.subscribe((e: AXComponentCloseEvent) => {\r\n this.onClosed.emit(e);\r\n });\r\n }\r\n }\r\n }\r\n\r\n _handleCloseClick() {\r\n this.close();\r\n }\r\n}\r\n","<ax-header>\r\n <ax-title>{{ title }}</ax-title>\r\n <ax-close-button (click)=\"_handleCloseClick()\" tabindex=\"1\"></ax-close-button>\r\n</ax-header>\r\n<ng-template *ngIf=\"_selectedPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n</ng-template>\r\n<!-- TODO: Are you sure we need this? if remove this content not showing -->\r\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n<div class=\"ax-action-sheet-items\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" (click)=\"item.onClick()\">\r\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\r\n <span class=\"item-text\">{{ item.text }}</span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { A11yModule } from '@angular/cdk/a11y';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { PortalModule } from '@angular/cdk/portal';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\n\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXCommonModule } from '@acorex/components/common';\r\nimport { AXActionSheetComponent } from './action-sheet.component';\r\n\r\n\r\nconst MODULES = [CommonModule,AXCommonModule, DragDropModule, A11yModule, AXButtonModule, PortalModule, AXDecoratorModule];\r\n\r\n\r\n@NgModule({\r\n declarations: [AXActionSheetComponent],\r\n imports: [...MODULES],\r\n exports: [AXActionSheetComponent],\r\n providers: [],\r\n})\r\nexport class AXActionSheetModule { }\r\n","import {\r\n AXComponentClosedPromise,\r\n AXComponentCloseEvent,\r\n AXOverlayService,\r\n AXOverlayViewRef,\r\n TAB_META_KEY,\r\n} from '@acorex/components/common';\r\nimport { AXTranslator } from '@acorex/core/translation';\r\nimport { Overlay } from '@angular/cdk/overlay';\r\nimport { Injectable } from '@angular/core';\r\nimport { AXActionSheetComponent } from './action-sheet.component';\r\nimport { AXActionSheetOptions } from './action-sheet.interface';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXActionSheetService {\r\n // _overlayRef: OverlayRef;\r\n // _templatePortal!: ComponentPortal<any>;\r\n\r\n constructor(private _overlay: Overlay, private overlayService: AXOverlayService) {}\r\n\r\n //open(items: AXActionSheetItem[],options?:AXActionSheetOptions);\r\n //open(content:AXActionSheetContentType, options?: AXActionSheetOptions);\r\n open(options: AXActionSheetOptions): AXComponentClosedPromise {\r\n const opt: any = {\r\n title: AXTranslator.get('action-sheet.title'),\r\n showCloseButton: true,\r\n closeOnBackdrop: true,\r\n showHeader: true,\r\n };\r\n Object.assign(opt, options);\r\n const lastActiveElement = document.activeElement as HTMLElement;\r\n const com = this.overlayService.show(AXActionSheetComponent, opt, {\r\n hasBackdrop: true,\r\n closeOnClickOutside: opt.closeOnBackdrop,\r\n transparentBackdrop: false,\r\n panelClass: ['ax-actionsheet-panel'],\r\n position: this._overlay.position().global().bottom().centerHorizontally(),\r\n scroll: 'block',\r\n });\r\n const actionSheet = com.instance as AXActionSheetComponent;\r\n actionSheet[TAB_META_KEY] = {};\r\n actionSheet.onClosed.subscribe(c => {\r\n this.closePopup(actionSheet, com, c, lastActiveElement);\r\n });\r\n const promise = new AXComponentClosedPromise((resolve, reject) => {\r\n actionSheet[TAB_META_KEY].close = e => {\r\n if (resolve) {\r\n resolve(e);\r\n } else {\r\n reject(e);\r\n }\r\n };\r\n });\r\n promise['closeMethod'] = () => {\r\n actionSheet.close();\r\n };\r\n return promise;\r\n }\r\n\r\n private closePopup(popup: AXActionSheetComponent, com: AXOverlayViewRef, result: AXComponentCloseEvent, lastActiveElement?: HTMLElement) {\r\n const closeFunc = e => {\r\n com.dispose();\r\n delete e.cancel;\r\n popup[TAB_META_KEY].close(e);\r\n if (lastActiveElement?.focus) {\r\n lastActiveElement.focus();\r\n }\r\n };\r\n const e = { cancel: false };\r\n const closingFunc = popup[TAB_META_KEY].component?.onClosing;\r\n if (closingFunc) {\r\n const res = closingFunc(e);\r\n if (res instanceof Promise) {\r\n res.then(() => {\r\n if (e == null || e.cancel !== true) {\r\n closeFunc(result);\r\n }\r\n });\r\n } else {\r\n if (e == null || e.cancel !== true) {\r\n closeFunc(result);\r\n }\r\n }\r\n } else {\r\n closeFunc(result);\r\n }\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;;;;;AAcM,MAAO,sBAAuB,SAAQ,eAAe,CAAA;AAYzD,IAAA,WAAA,CAAY,UAAsB,EAAE,GAAsB,EAAU,iBAAmC,EAAA;AACrG,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QAD2C,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAkB;QARvG,IAAK,CAAA,KAAA,GAAwB,EAAE,CAAC;QAEhC,IAAe,CAAA,eAAA,GAAY,IAAI,CAAC;QAChC,IAAU,CAAA,UAAA,GAAY,IAAI,CAAC;QAC3B,IAAI,CAAA,IAAA,GAAQ,EAAE,CAAC;AAEf,QAAA,IAAA,CAAA,QAAQ,GAAwC,IAAI,YAAY,EAAyB,CAAC;KAIzF;IAED,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;AACjB,YAAA,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,SAAS;AACvC,YAAA,WAAW,EAAE,IAAI,CAAC,eAAe,EAAE;AACpC,SAAA,CAAC,CAAC;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;KAC3B;IAED,MAAM,GAAA;QACJ,IAAI,IAAI,CAAC,OAAO,EAAE;AAChB,YAAA,IAAI,OAAO,IAAI,CAAC,OA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