@acorex/components 16.0.2 → 17.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/action-sheet/README.md +3 -0
- package/action-sheet/index.d.ts +4 -0
- package/action-sheet/lib/action-sheet.class.d.ts +31 -0
- package/action-sheet/lib/action-sheet.component.d.ts +23 -0
- package/action-sheet/lib/action-sheet.module.d.ts +16 -0
- package/action-sheet/lib/action-sheet.service.d.ts +13 -0
- package/alert/README.md +3 -0
- package/alert/index.d.ts +2 -0
- package/alert/lib/alert.component.d.ts +55 -0
- package/alert/lib/alert.module.d.ts +9 -0
- package/avatar/README.md +3 -0
- package/avatar/index.d.ts +3 -0
- package/avatar/lib/avatar-group.component.d.ts +5 -0
- package/avatar/lib/avatar.component.d.ts +17 -0
- package/avatar/lib/avatar.module.d.ts +9 -0
- package/badge/README.md +3 -0
- package/badge/index.d.ts +2 -0
- package/badge/lib/badge.component.d.ts +8 -0
- package/badge/lib/badge.module.d.ts +8 -0
- package/bottom-navigation/README.md +3 -0
- package/bottom-navigation/index.d.ts +3 -0
- package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +15 -0
- package/bottom-navigation/lib/bottom-navigation.component.d.ts +17 -0
- package/bottom-navigation/lib/bottom-navigation.module.d.ts +9 -0
- package/breadcrumbs/README.md +3 -0
- package/breadcrumbs/index.d.ts +4 -0
- package/breadcrumbs/lib/breadcrumbs-item.class.d.ts +9 -0
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +14 -0
- package/breadcrumbs/lib/breadcrumbs.component.d.ts +9 -0
- package/breadcrumbs/lib/breadcrumbs.module.d.ts +10 -0
- package/button/README.md +3 -0
- package/button/index.d.ts +5 -0
- package/button/lib/button-item-list.component.d.ts +19 -0
- package/button/lib/button-item.class.d.ts +24 -0
- package/button/lib/button-item.component.d.ts +30 -0
- package/button/lib/button.component.d.ts +26 -0
- package/button/lib/button.module.d.ts +13 -0
- package/button-group/README.md +3 -0
- package/button-group/index.d.ts +2 -0
- package/button-group/lib/button-group.component.d.ts +24 -0
- package/button-group/lib/button-group.module.d.ts +8 -0
- package/calendar/README.md +3 -0
- package/calendar/index.d.ts +4 -0
- package/calendar/lib/calendar-range.component.d.ts +31 -0
- package/calendar/lib/calendar.class.d.ts +80 -0
- package/calendar/lib/calendar.component.d.ts +51 -0
- package/calendar/lib/calendar.module.d.ts +11 -0
- package/chat/README.md +3 -0
- package/chat/index.d.ts +13 -0
- package/chat/lib/chat-input/chat-input.component.d.ts +35 -0
- package/chat/lib/chat-input/chat-input.interface.d.ts +10 -0
- package/chat/lib/chat-message/chat-message.component.d.ts +12 -0
- package/chat/lib/chat-messages/chat-message-audio.component.d.ts +7 -0
- package/chat/lib/chat-messages/chat-message-text.component.d.ts +8 -0
- package/chat/lib/chat-view/chat-view.component.d.ts +10 -0
- package/chat/lib/chat-voice/chat-voice.component.d.ts +6 -0
- package/chat/lib/chat.module.d.ts +29 -0
- package/chat/lib/chat.types.d.ts +21 -0
- package/chat/lib/classes/events.interface.d.ts +4 -0
- package/chat/lib/services/chat-message-type-registry.service.d.ts +9 -0
- package/chat/lib/services/chat.service.d.ts +5 -0
- package/chat/lib/services/recording.service.d.ts +20 -0
- package/check-box/README.md +3 -0
- package/check-box/index.d.ts +2 -0
- package/check-box/lib/check-box.component.d.ts +16 -0
- package/check-box/lib/check-box.module.d.ts +10 -0
- package/chips/README.md +3 -0
- package/chips/index.d.ts +2 -0
- package/chips/lib/chips.component.d.ts +11 -0
- package/chips/lib/chips.module.d.ts +8 -0
- package/circular-progress/README.md +3 -0
- package/circular-progress/index.d.ts +2 -0
- package/circular-progress/lib/circular-progress.component.d.ts +33 -0
- package/circular-progress/lib/circular-progress.module.d.ts +7 -0
- package/collapse/README.md +3 -0
- package/collapse/index.d.ts +3 -0
- package/collapse/lib/collapse-group.component.d.ts +30 -0
- package/collapse/lib/collapse.component.d.ts +46 -0
- package/collapse/lib/collapse.module.d.ts +10 -0
- package/color-box/README.md +3 -0
- package/color-box/index.d.ts +2 -0
- package/color-box/lib/color-box.component.d.ts +27 -0
- package/color-box/lib/color-box.module.d.ts +11 -0
- package/color-palette/README.md +3 -0
- package/color-palette/index.d.ts +7 -0
- package/color-palette/lib/color-palette-input.component.d.ts +25 -0
- package/color-palette/lib/color-palette-picker.component.d.ts +35 -0
- package/color-palette/lib/color-palette-preview.component.d.ts +16 -0
- package/color-palette/lib/color-palette-swatches.component.d.ts +21 -0
- package/color-palette/lib/color-palette.class.d.ts +28 -0
- package/color-palette/lib/color-palette.component.d.ts +10 -0
- package/color-palette/lib/color-palette.module.d.ts +20 -0
- package/common/README.md +3 -0
- package/common/index.d.ts +28 -0
- package/common/lib/classes/components.class.d.ts +83 -0
- package/common/lib/classes/datalist.class.d.ts +37 -0
- package/common/lib/classes/datasource.class.d.ts +78 -0
- package/common/lib/classes/events.class.d.ts +96 -0
- package/common/lib/classes/styles.class.d.ts +8 -0
- package/common/lib/common.module.d.ts +10 -0
- package/common/lib/components/base-component.class.d.ts +38 -0
- package/common/lib/components/button-base-component.class.d.ts +35 -0
- package/common/lib/components/color-component.class.d.ts +12 -0
- package/common/lib/components/colorlook-component.class.d.ts +6 -0
- package/common/lib/components/input-base-value-component.class.d.ts +27 -0
- package/common/lib/components/interactive-component.class.d.ts +42 -0
- package/common/lib/components/look-component.class.d.ts +18 -0
- package/common/lib/components/selection-base.component.class.d.ts +48 -0
- package/common/lib/components/value-component.class.d.ts +67 -0
- package/common/lib/directives/auto-focus.directive.d.ts +15 -0
- package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
- package/common/lib/directives/hotkey.directive.d.ts +22 -0
- package/common/lib/directives/infinite-scroll.directive.d.ts +25 -0
- package/common/lib/directives/responsive.directive.d.ts +10 -0
- package/common/lib/directives/ripple.directive.d.ts +16 -0
- package/common/lib/services/dom.service.d.ts +6 -0
- package/common/lib/services/hotkey.service.d.ts +31 -0
- package/common/lib/types/direction.d.ts +4 -0
- package/common/lib/types/orientation.d.ts +4 -0
- package/common/lib/types/placement.d.ts +30 -0
- package/common/lib/types/range.d.ts +4 -0
- package/common/lib/types/selection-mode.d.ts +4 -0
- package/data-pager/README.md +3 -0
- package/data-pager/index.d.ts +9 -0
- package/data-pager/lib/data-pager-base.component.d.ts +54 -0
- package/data-pager/lib/data-pager-info.component.d.ts +11 -0
- package/data-pager/lib/data-pager-input-selector.component.d.ts +11 -0
- package/data-pager/lib/data-pager-next-buttons.components.d.ts +10 -0
- package/data-pager/lib/data-pager-numeric-selector.component.d.ts +13 -0
- package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +14 -0
- package/data-pager/lib/data-pager-prev-buttons.component.d.ts +10 -0
- package/data-pager/lib/data-pager.component.d.ts +34 -0
- package/data-pager/lib/data-pager.module.d.ts +21 -0
- package/data-table/README.md +3 -0
- package/data-table/index.d.ts +10 -0
- package/data-table/lib/base-data-table.class.d.ts +25 -0
- package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +22 -0
- package/data-table/lib/columns/data-table-column.d.ts +20 -0
- package/data-table/lib/columns/data-text-column.component.d.ts +18 -0
- package/data-table/lib/columns/row-command-column.component.d.ts +40 -0
- package/data-table/lib/columns/row-index-column.component.d.ts +18 -0
- package/data-table/lib/columns/row-select-column.component.d.ts +14 -0
- package/data-table/lib/data-table/data-table.component.d.ts +52 -0
- package/data-table/lib/data-table.module.d.ts +26 -0
- package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +66 -0
- package/datetime-box/README.md +3 -0
- package/datetime-box/index.d.ts +2 -0
- package/datetime-box/lib/datetime-box.component.d.ts +36 -0
- package/datetime-box/lib/datetime-box.module.d.ts +13 -0
- package/datetime-input/README.md +3 -0
- package/datetime-input/index.d.ts +2 -0
- package/datetime-input/lib/datetime-input.component.d.ts +45 -0
- package/datetime-input/lib/datetime-input.module.d.ts +10 -0
- package/datetime-picker/README.md +3 -0
- package/datetime-picker/index.d.ts +3 -0
- package/datetime-picker/lib/datetime-picker.component.d.ts +49 -0
- package/datetime-picker/lib/datetime-picker.config.d.ts +8 -0
- package/datetime-picker/lib/datetime-picker.module.d.ts +15 -0
- package/decorators/README.md +3 -0
- package/decorators/index.d.ts +5 -0
- package/decorators/lib/components/clear-button.component.d.ts +13 -0
- package/decorators/lib/components/close-button.component.d.ts +12 -0
- package/decorators/lib/components/generic-content.component.d.ts +6 -0
- package/decorators/lib/components/icon.component.d.ts +8 -0
- package/decorators/lib/decorators.module.d.ts +11 -0
- package/dialog/README.md +3 -0
- package/dialog/index.d.ts +4 -0
- package/dialog/lib/dialog.class.d.ts +36 -0
- package/dialog/lib/dialog.component.d.ts +19 -0
- package/dialog/lib/dialog.module.d.ts +16 -0
- package/dialog/lib/dialog.service.d.ts +31 -0
- package/drawer/README.md +3 -0
- package/drawer/index.d.ts +3 -0
- package/drawer/lib/drawer-container.component.d.ts +7 -0
- package/drawer/lib/drawer.component.d.ts +39 -0
- package/drawer/lib/drawer.module.d.ts +9 -0
- package/dropdown/README.md +3 -0
- package/dropdown/index.d.ts +4 -0
- package/dropdown/lib/dropdown-box.class.d.ts +15 -0
- package/dropdown/lib/dropdown-box.component.d.ts +30 -0
- package/dropdown/lib/dropdown-panel.component.d.ts +33 -0
- package/dropdown/lib/dropdown.module.d.ts +14 -0
- package/dropdown-button/README.md +3 -0
- package/dropdown-button/index.d.ts +2 -0
- package/dropdown-button/lib/dropdown-button.component.d.ts +28 -0
- package/dropdown-button/lib/dropdown-button.module.d.ts +13 -0
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +5 -0
- package/esm2022/action-sheet/index.mjs +5 -0
- package/esm2022/action-sheet/lib/action-sheet.class.mjs +2 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +98 -0
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +54 -0
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +57 -0
- package/esm2022/alert/acorex-components-alert.mjs +5 -0
- package/esm2022/alert/index.mjs +3 -0
- package/esm2022/alert/lib/alert.component.mjs +195 -0
- package/esm2022/alert/lib/alert.module.mjs +22 -0
- package/esm2022/avatar/acorex-components-avatar.mjs +5 -0
- package/esm2022/avatar/index.mjs +4 -0
- package/esm2022/avatar/lib/avatar-group.component.mjs +14 -0
- package/esm2022/avatar/lib/avatar.component.mjs +41 -0
- package/esm2022/avatar/lib/avatar.module.mjs +22 -0
- package/esm2022/badge/acorex-components-badge.mjs +5 -0
- package/esm2022/badge/index.mjs +3 -0
- package/esm2022/badge/lib/badge.component.mjs +24 -0
- package/esm2022/badge/lib/badge.module.mjs +19 -0
- package/esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs +5 -0
- package/esm2022/bottom-navigation/index.mjs +4 -0
- package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +46 -0
- package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +49 -0
- package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +27 -0
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
- package/esm2022/breadcrumbs/index.mjs +5 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +2 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +36 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +19 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +21 -0
- package/esm2022/button/acorex-components-button.mjs +5 -0
- package/esm2022/button/index.mjs +6 -0
- package/esm2022/button/lib/button-item-list.component.mjs +114 -0
- package/esm2022/button/lib/button-item.class.mjs +2 -0
- package/esm2022/button/lib/button-item.component.mjs +106 -0
- package/esm2022/button/lib/button.component.mjs +98 -0
- package/esm2022/button/lib/button.module.mjs +47 -0
- package/esm2022/button-group/acorex-components-button-group.mjs +5 -0
- package/esm2022/button-group/index.mjs +3 -0
- package/esm2022/button-group/lib/button-group.component.mjs +118 -0
- package/esm2022/button-group/lib/button-group.module.mjs +21 -0
- package/esm2022/calendar/acorex-components-calendar.mjs +5 -0
- package/esm2022/calendar/index.mjs +5 -0
- package/esm2022/calendar/lib/calendar-range.component.mjs +175 -0
- package/esm2022/calendar/lib/calendar.class.mjs +176 -0
- package/esm2022/calendar/lib/calendar.component.mjs +477 -0
- package/esm2022/calendar/lib/calendar.module.mjs +24 -0
- package/esm2022/chat/acorex-components-chat.mjs +5 -0
- package/esm2022/chat/index.mjs +15 -0
- package/esm2022/chat/lib/chat-input/chat-input.component.mjs +125 -0
- package/esm2022/chat/lib/chat-input/chat-input.interface.mjs +2 -0
- package/esm2022/chat/lib/chat-message/chat-message.component.mjs +30 -0
- package/esm2022/chat/lib/chat-messages/chat-message-audio.component.mjs +17 -0
- package/esm2022/chat/lib/chat-messages/chat-message-text.component.mjs +23 -0
- package/esm2022/chat/lib/chat-view/chat-view.component.mjs +22 -0
- package/esm2022/chat/lib/chat-voice/chat-voice.component.mjs +12 -0
- package/esm2022/chat/lib/chat.module.mjs +125 -0
- package/esm2022/chat/lib/chat.types.mjs +10 -0
- package/esm2022/chat/lib/classes/events.interface.mjs +2 -0
- package/esm2022/chat/lib/services/chat-message-type-registry.service.mjs +20 -0
- package/esm2022/chat/lib/services/chat.service.mjs +10 -0
- package/esm2022/chat/lib/services/recording.service.mjs +78 -0
- package/esm2022/check-box/acorex-components-check-box.mjs +5 -0
- package/esm2022/check-box/index.mjs +3 -0
- package/esm2022/check-box/lib/check-box.component.mjs +100 -0
- package/esm2022/check-box/lib/check-box.module.mjs +21 -0
- package/esm2022/chips/acorex-components-chips.mjs +5 -0
- package/esm2022/chips/index.mjs +3 -0
- package/esm2022/chips/lib/chips.component.mjs +28 -0
- package/esm2022/chips/lib/chips.module.mjs +19 -0
- package/esm2022/circular-progress/acorex-components-circular-progress.mjs +5 -0
- package/esm2022/circular-progress/index.mjs +3 -0
- package/esm2022/circular-progress/lib/circular-progress.component.mjs +96 -0
- package/esm2022/circular-progress/lib/circular-progress.module.mjs +17 -0
- package/esm2022/collapse/acorex-components-collapse.mjs +5 -0
- package/esm2022/collapse/index.mjs +4 -0
- package/esm2022/collapse/lib/collapse-group.component.mjs +131 -0
- package/esm2022/collapse/lib/collapse.component.mjs +146 -0
- package/esm2022/collapse/lib/collapse.module.mjs +21 -0
- package/esm2022/color-box/acorex-components-color-box.mjs +5 -0
- package/esm2022/color-box/index.mjs +3 -0
- package/esm2022/color-box/lib/color-box.component.mjs +71 -0
- package/esm2022/color-box/lib/color-box.module.mjs +32 -0
- package/esm2022/color-palette/acorex-components-color-palette.mjs +5 -0
- package/esm2022/color-palette/index.mjs +8 -0
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +127 -0
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +175 -0
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +71 -0
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +95 -0
- package/esm2022/color-palette/lib/color-palette.class.mjs +238 -0
- package/esm2022/color-palette/lib/color-palette.component.mjs +66 -0
- package/esm2022/color-palette/lib/color-palette.module.mjs +63 -0
- package/esm2022/common/acorex-components-common.mjs +5 -0
- package/esm2022/common/index.mjs +29 -0
- package/esm2022/common/lib/classes/components.class.mjs +76 -0
- package/esm2022/common/lib/classes/datalist.class.mjs +50 -0
- package/esm2022/common/lib/classes/datasource.class.mjs +133 -0
- package/esm2022/common/lib/classes/events.class.mjs +79 -0
- package/esm2022/common/lib/classes/styles.class.mjs +20 -0
- package/esm2022/common/lib/common.module.mjs +38 -0
- package/esm2022/common/lib/components/base-component.class.mjs +81 -0
- package/esm2022/common/lib/components/button-base-component.class.mjs +67 -0
- package/esm2022/common/lib/components/color-component.class.mjs +25 -0
- package/esm2022/common/lib/components/colorlook-component.class.mjs +6 -0
- package/esm2022/common/lib/components/input-base-value-component.class.mjs +47 -0
- package/esm2022/common/lib/components/interactive-component.class.mjs +107 -0
- package/esm2022/common/lib/components/look-component.class.mjs +33 -0
- package/esm2022/common/lib/components/selection-base.component.class.mjs +196 -0
- package/esm2022/common/lib/components/value-component.class.mjs +223 -0
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +66 -0
- package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +51 -0
- package/esm2022/common/lib/directives/hotkey.directive.mjs +81 -0
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +61 -0
- package/esm2022/common/lib/directives/responsive.directive.mjs +42 -0
- package/esm2022/common/lib/directives/ripple.directive.mjs +62 -0
- package/esm2022/common/lib/services/dom.service.mjs +16 -0
- package/esm2022/common/lib/services/hotkey.service.mjs +53 -0
- package/esm2022/common/lib/types/direction.mjs +2 -0
- package/esm2022/common/lib/types/orientation.mjs +2 -0
- package/esm2022/common/lib/types/placement.mjs +180 -0
- package/esm2022/common/lib/types/range.mjs +2 -0
- package/esm2022/common/lib/types/selection-mode.mjs +5 -0
- package/esm2022/data-pager/acorex-components-data-pager.mjs +5 -0
- package/esm2022/data-pager/index.mjs +10 -0
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +50 -0
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +47 -0
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +73 -0
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +61 -0
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +129 -0
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +109 -0
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +97 -0
- package/esm2022/data-pager/lib/data-pager.component.mjs +170 -0
- package/esm2022/data-pager/lib/data-pager.module.mjs +70 -0
- package/esm2022/data-table/acorex-components-data-table.mjs +5 -0
- package/esm2022/data-table/index.mjs +11 -0
- package/esm2022/data-table/lib/base-data-table.class.mjs +36 -0
- package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +59 -0
- package/esm2022/data-table/lib/columns/data-table-column.mjs +38 -0
- package/esm2022/data-table/lib/columns/data-text-column.component.mjs +81 -0
- package/esm2022/data-table/lib/columns/row-command-column.component.mjs +231 -0
- package/esm2022/data-table/lib/columns/row-index-column.component.mjs +71 -0
- package/esm2022/data-table/lib/columns/row-select-column.component.mjs +61 -0
- package/esm2022/data-table/lib/data-table/data-table.component.mjs +233 -0
- package/esm2022/data-table/lib/data-table.module.mjs +107 -0
- package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +272 -0
- package/esm2022/datetime-box/acorex-components-datetime-box.mjs +5 -0
- package/esm2022/datetime-box/index.mjs +3 -0
- package/esm2022/datetime-box/lib/datetime-box.component.mjs +110 -0
- package/esm2022/datetime-box/lib/datetime-box.module.mjs +38 -0
- package/esm2022/datetime-input/acorex-components-datetime-input.mjs +5 -0
- package/esm2022/datetime-input/index.mjs +3 -0
- package/esm2022/datetime-input/lib/datetime-input.component.mjs +553 -0
- package/esm2022/datetime-input/lib/datetime-input.module.mjs +23 -0
- package/esm2022/datetime-picker/acorex-components-datetime-picker.mjs +5 -0
- package/esm2022/datetime-picker/index.mjs +4 -0
- package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +266 -0
- package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +22 -0
- package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +44 -0
- package/esm2022/decorators/acorex-components-decorators.mjs +5 -0
- package/esm2022/decorators/index.mjs +6 -0
- package/esm2022/decorators/lib/components/clear-button.component.mjs +70 -0
- package/esm2022/decorators/lib/components/close-button.component.mjs +52 -0
- package/esm2022/decorators/lib/components/generic-content.component.mjs +38 -0
- package/esm2022/decorators/lib/components/icon.component.mjs +25 -0
- package/esm2022/decorators/lib/decorators.module.mjs +35 -0
- package/esm2022/dialog/acorex-components-dialog.mjs +5 -0
- package/esm2022/dialog/index.mjs +5 -0
- package/esm2022/dialog/lib/dialog.class.mjs +2 -0
- package/esm2022/dialog/lib/dialog.component.mjs +62 -0
- package/esm2022/dialog/lib/dialog.module.mjs +48 -0
- package/esm2022/dialog/lib/dialog.service.mjs +164 -0
- package/esm2022/drawer/acorex-components-drawer.mjs +5 -0
- package/esm2022/drawer/index.mjs +4 -0
- package/esm2022/drawer/lib/drawer-container.component.mjs +33 -0
- package/esm2022/drawer/lib/drawer.component.mjs +151 -0
- package/esm2022/drawer/lib/drawer.module.mjs +22 -0
- package/esm2022/dropdown/acorex-components-dropdown.mjs +5 -0
- package/esm2022/dropdown/index.mjs +5 -0
- package/esm2022/dropdown/lib/dropdown-box.class.mjs +38 -0
- package/esm2022/dropdown/lib/dropdown-box.component.mjs +103 -0
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +145 -0
- package/esm2022/dropdown/lib/dropdown.module.mjs +42 -0
- package/esm2022/dropdown-button/acorex-components-dropdown-button.mjs +5 -0
- package/esm2022/dropdown-button/index.mjs +3 -0
- package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +97 -0
- package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +45 -0
- package/esm2022/form/acorex-components-form.mjs +5 -0
- package/esm2022/form/index.mjs +7 -0
- package/esm2022/form/lib/form-field.component.mjs +40 -0
- package/esm2022/form/lib/form.component.mjs +122 -0
- package/esm2022/form/lib/form.config.mjs +16 -0
- package/esm2022/form/lib/form.module.mjs +60 -0
- package/esm2022/form/lib/validation-rule.directive.mjs +36 -0
- package/esm2022/form/lib/validation-summary.component.mjs +133 -0
- package/esm2022/image/acorex-components-image.mjs +5 -0
- package/esm2022/image/index.mjs +3 -0
- package/esm2022/image/lib/image.component.mjs +72 -0
- package/esm2022/image/lib/image.module.mjs +19 -0
- package/esm2022/index.mjs +2 -158
- package/esm2022/label/acorex-components-label.mjs +5 -0
- package/esm2022/label/index.mjs +3 -0
- package/esm2022/label/lib/label.component.mjs +47 -0
- package/esm2022/label/lib/label.module.mjs +21 -0
- package/esm2022/list/acorex-components-list.mjs +5 -0
- package/esm2022/list/index.mjs +3 -0
- package/esm2022/list/lib/list.component.mjs +184 -0
- package/esm2022/list/lib/list.module.mjs +23 -0
- package/esm2022/loading/acorex-components-loading.mjs +5 -0
- package/esm2022/loading/index.mjs +7 -0
- package/esm2022/loading/lib/loading-spinner.component.mjs +44 -0
- package/esm2022/loading/lib/loading.component.mjs +62 -0
- package/esm2022/loading/lib/loading.config.mjs +17 -0
- package/esm2022/loading/lib/loading.directive.mjs +39 -0
- package/esm2022/loading/lib/loading.module.mjs +35 -0
- package/esm2022/loading/lib/loading.service.mjs +129 -0
- package/esm2022/loading-dialog/acorex-components-loading-dialog.mjs +5 -0
- package/esm2022/loading-dialog/index.mjs +5 -0
- package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +2 -0
- package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +63 -0
- package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +46 -0
- package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +37 -0
- package/esm2022/menu/acorex-components-menu.mjs +5 -0
- package/esm2022/menu/index.mjs +5 -0
- package/esm2022/menu/lib/class/root-menu.class.mjs +3 -0
- package/esm2022/menu/lib/menu-item/menu-item.component.mjs +140 -0
- package/esm2022/menu/lib/menu.component.mjs +48 -0
- package/esm2022/menu/lib/menu.module.mjs +37 -0
- package/esm2022/nav/acorex-components-nav.mjs +5 -0
- package/esm2022/nav/index.mjs +4 -0
- package/esm2022/nav/lib/nav-item/nav-item.component.mjs +41 -0
- package/esm2022/nav/lib/nav.component.mjs +12 -0
- package/esm2022/nav/lib/nav.module.mjs +23 -0
- package/esm2022/navbar/acorex-components-navbar.mjs +5 -0
- package/esm2022/navbar/index.mjs +3 -0
- package/esm2022/navbar/lib/navbar.component.mjs +18 -0
- package/esm2022/navbar/lib/navbar.module.mjs +18 -0
- package/esm2022/notification/acorex-components-notification.mjs +5 -0
- package/esm2022/notification/index.mjs +6 -0
- package/esm2022/notification/lib/notification.class.mjs +2 -0
- package/esm2022/notification/lib/notification.component.mjs +105 -0
- package/esm2022/notification/lib/notification.config.mjs +20 -0
- package/esm2022/notification/lib/notification.module.mjs +42 -0
- package/esm2022/notification/lib/notification.service.mjs +102 -0
- package/esm2022/number-box/acorex-components-number-box.mjs +5 -0
- package/esm2022/number-box/index.mjs +3 -0
- package/esm2022/number-box/lib/number-box.component.mjs +294 -0
- package/esm2022/number-box/lib/number-box.module.mjs +35 -0
- package/esm2022/otp/acorex-components-otp.mjs +5 -0
- package/esm2022/otp/index.mjs +4 -0
- package/esm2022/otp/lib/otp.class.mjs +4 -0
- package/esm2022/otp/lib/otp.component.mjs +158 -0
- package/esm2022/otp/lib/otp.module.mjs +22 -0
- package/esm2022/page/acorex-components-page.mjs +5 -0
- package/esm2022/page/index.mjs +4 -0
- package/esm2022/page/lib/base-page.class.mjs +62 -0
- package/esm2022/page/lib/page.component.mjs +44 -0
- package/esm2022/page/lib/page.module.mjs +18 -0
- package/esm2022/password-box/acorex-components-password-box.mjs +5 -0
- package/esm2022/password-box/index.mjs +3 -0
- package/esm2022/password-box/lib/password-box.component.mjs +94 -0
- package/esm2022/password-box/lib/password-box.module.mjs +24 -0
- package/esm2022/phone-box/acorex-components-phone-box.mjs +5 -0
- package/esm2022/phone-box/index.mjs +3 -0
- package/esm2022/phone-box/lib/phone-box.component.mjs +135 -0
- package/esm2022/phone-box/lib/phone-box.module.mjs +44 -0
- package/esm2022/picker/acorex-components-picker.mjs +5 -0
- package/esm2022/picker/index.mjs +4 -0
- package/esm2022/picker/lib/picker-column.directive.mjs +66 -0
- package/esm2022/picker/lib/picker.component.mjs +164 -0
- package/esm2022/picker/lib/picker.module.mjs +22 -0
- package/esm2022/popover/acorex-components-popover.mjs +5 -0
- package/esm2022/popover/index.mjs +3 -0
- package/esm2022/popover/lib/popover.component.mjs +379 -0
- package/esm2022/popover/lib/popover.module.mjs +19 -0
- package/esm2022/popup/acorex-components-popup.mjs +5 -0
- package/esm2022/popup/index.mjs +5 -0
- package/esm2022/popup/lib/popup.component.mjs +153 -0
- package/esm2022/popup/lib/popup.interface.mjs +2 -0
- package/esm2022/popup/lib/popup.module.mjs +45 -0
- package/esm2022/popup/lib/popup.service.mjs +65 -0
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +5 -0
- package/esm2022/progress-bar/index.mjs +3 -0
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +57 -0
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +19 -0
- package/esm2022/radio/acorex-components-radio.mjs +5 -0
- package/esm2022/radio/index.mjs +3 -0
- package/esm2022/radio/lib/radio.component.mjs +62 -0
- package/esm2022/radio/lib/radio.module.mjs +22 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +5 -0
- package/esm2022/range-slider/index.mjs +3 -0
- package/esm2022/range-slider/lib/range-slider.component.mjs +117 -0
- package/esm2022/range-slider/lib/range-slider.module.mjs +23 -0
- package/esm2022/result/acorex-components-result.mjs +5 -0
- package/esm2022/result/index.mjs +3 -0
- package/esm2022/result/lib/result.component.mjs +27 -0
- package/esm2022/result/lib/result.module.mjs +19 -0
- package/esm2022/routing-progress/acorex-components-routing-progress.mjs +5 -0
- package/esm2022/routing-progress/index.mjs +3 -0
- package/esm2022/routing-progress/lib/routing-progress.component.mjs +57 -0
- package/esm2022/routing-progress/lib/routing-progress.module.mjs +21 -0
- package/esm2022/scheduler/acorex-components-scheduler.mjs +5 -0
- package/esm2022/scheduler/index.mjs +5 -0
- package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +53 -0
- package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +12 -0
- package/esm2022/scheduler/lib/scheduler.component.mjs +43 -0
- package/esm2022/scheduler/lib/scheduler.module.mjs +45 -0
- package/esm2022/scss/acorex-components-scss.mjs +5 -0
- package/esm2022/scss/index.mjs +2 -0
- package/esm2022/scss/lib/scss.module.mjs +15 -0
- package/esm2022/search-box/acorex-components-search-box.mjs +5 -0
- package/esm2022/search-box/index.mjs +3 -0
- package/esm2022/search-box/lib/search-box.component.mjs +87 -0
- package/esm2022/search-box/lib/search-box.module.mjs +46 -0
- package/esm2022/select-box/acorex-components-select-box.mjs +5 -0
- package/esm2022/select-box/index.mjs +3 -0
- package/esm2022/select-box/lib/select-box.component.mjs +299 -0
- package/esm2022/select-box/lib/select-box.module.mjs +69 -0
- package/esm2022/selection-list/acorex-components-selection-list.mjs +5 -0
- package/esm2022/selection-list/index.mjs +3 -0
- package/esm2022/selection-list/lib/selection-list.component.mjs +135 -0
- package/esm2022/selection-list/lib/selection-list.module.mjs +41 -0
- package/esm2022/side-menu/acorex-components-side-menu.mjs +5 -0
- package/esm2022/side-menu/index.mjs +4 -0
- package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +147 -0
- package/esm2022/side-menu/lib/side-menu.component.mjs +12 -0
- package/esm2022/side-menu/lib/side-menu.module.mjs +25 -0
- package/esm2022/skeleton/acorex-components-skeleton.mjs +5 -0
- package/esm2022/skeleton/index.mjs +3 -0
- package/esm2022/skeleton/lib/skeleton.component.mjs +24 -0
- package/esm2022/skeleton/lib/skeleton.module.mjs +18 -0
- package/esm2022/step-wizard/acorex-components-step-wizard.mjs +5 -0
- package/esm2022/step-wizard/index.mjs +6 -0
- package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +66 -0
- package/esm2022/step-wizard/lib/step-wizard.class.mjs +2 -0
- package/esm2022/step-wizard/lib/step-wizard.component.mjs +102 -0
- package/esm2022/step-wizard/lib/step-wizard.directive.mjs +28 -0
- package/esm2022/step-wizard/lib/step-wizard.module.mjs +33 -0
- package/esm2022/switch/acorex-components-switch.mjs +5 -0
- package/esm2022/switch/index.mjs +4 -0
- package/esm2022/switch/lib/switch-content.component.mjs +15 -0
- package/esm2022/switch/lib/switch.component.mjs +51 -0
- package/esm2022/switch/lib/switch.module.mjs +21 -0
- package/esm2022/tabs/acorex-components-tabs.mjs +5 -0
- package/esm2022/tabs/index.mjs +6 -0
- package/esm2022/tabs/lib/tab-content.directive.mjs +28 -0
- package/esm2022/tabs/lib/tab-item.component.mjs +121 -0
- package/esm2022/tabs/lib/tabs.class.mjs +4 -0
- package/esm2022/tabs/lib/tabs.component.mjs +99 -0
- package/esm2022/tabs/lib/tabs.module.mjs +25 -0
- package/esm2022/tag/acorex-components-tag.mjs +5 -0
- package/esm2022/tag/index.mjs +3 -0
- package/esm2022/tag/lib/tag.component.mjs +20 -0
- package/esm2022/tag/lib/tag.module.mjs +19 -0
- package/esm2022/text-area/acorex-components-text-area.mjs +5 -0
- package/esm2022/text-area/index.mjs +3 -0
- package/esm2022/text-area/lib/text-area.component.mjs +65 -0
- package/esm2022/text-area/lib/text-area.module.mjs +19 -0
- package/esm2022/text-box/acorex-components-text-box.mjs +5 -0
- package/esm2022/text-box/index.mjs +4 -0
- package/esm2022/text-box/lib/mask-options.directive.mjs +17 -0
- package/esm2022/text-box/lib/text-box.component.mjs +131 -0
- package/esm2022/text-box/lib/text-box.module.mjs +38 -0
- package/esm2022/toast/acorex-components-toast.mjs +5 -0
- package/esm2022/toast/index.mjs +6 -0
- package/esm2022/toast/lib/toast.class.mjs +2 -0
- package/esm2022/toast/lib/toast.component.mjs +81 -0
- package/esm2022/toast/lib/toast.config.mjs +25 -0
- package/esm2022/toast/lib/toast.module.mjs +39 -0
- package/esm2022/toast/lib/toast.service.mjs +139 -0
- package/esm2022/tooltip/acorex-components-tooltip.mjs +5 -0
- package/esm2022/tooltip/index.mjs +4 -0
- package/esm2022/tooltip/lib/tooltip.component.mjs +16 -0
- package/esm2022/tooltip/lib/tooltip.directive.mjs +80 -0
- package/esm2022/tooltip/lib/tooltip.module.mjs +22 -0
- package/esm2022/uploader/acorex-components-uploader.mjs +5 -0
- package/esm2022/uploader/index.mjs +8 -0
- package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +27 -0
- package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +40 -0
- package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +14 -0
- package/esm2022/uploader/lib/uploader-list.component.mjs +21 -0
- package/esm2022/uploader/lib/uploader-zone.directive.mjs +79 -0
- package/esm2022/uploader/lib/uploader.models.mjs +68 -0
- package/esm2022/uploader/lib/uploader.module.mjs +84 -0
- package/esm2022/uploader/lib/uploader.service.mjs +86 -0
- package/fesm2022/acorex-components-action-sheet.mjs +205 -0
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -0
- package/fesm2022/acorex-components-alert.mjs +220 -0
- package/fesm2022/acorex-components-alert.mjs.map +1 -0
- package/fesm2022/acorex-components-avatar.mjs +78 -0
- package/fesm2022/acorex-components-avatar.mjs.map +1 -0
- package/fesm2022/acorex-components-badge.mjs +47 -0
- package/fesm2022/acorex-components-badge.mjs.map +1 -0
- package/fesm2022/acorex-components-bottom-navigation.mjs +120 -0
- package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs +73 -0
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/acorex-components-button-group.mjs +143 -0
- package/fesm2022/acorex-components-button-group.mjs.map +1 -0
- package/fesm2022/acorex-components-button.mjs +356 -0
- package/fesm2022/acorex-components-button.mjs.map +1 -0
- package/fesm2022/acorex-components-calendar.mjs +840 -0
- package/fesm2022/acorex-components-calendar.mjs.map +1 -0
- package/fesm2022/acorex-components-chat.mjs +441 -0
- package/fesm2022/acorex-components-chat.mjs.map +1 -0
- package/fesm2022/acorex-components-check-box.mjs +124 -0
- package/fesm2022/acorex-components-check-box.mjs.map +1 -0
- package/fesm2022/acorex-components-chips.mjs +51 -0
- package/fesm2022/acorex-components-chips.mjs.map +1 -0
- package/fesm2022/acorex-components-circular-progress.mjs +117 -0
- package/fesm2022/acorex-components-circular-progress.mjs.map +1 -0
- package/fesm2022/acorex-components-collapse.mjs +296 -0
- package/fesm2022/acorex-components-collapse.mjs.map +1 -0
- package/fesm2022/acorex-components-color-box.mjs +104 -0
- package/fesm2022/acorex-components-color-box.mjs.map +1 -0
- package/fesm2022/acorex-components-color-palette.mjs +800 -0
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -0
- package/fesm2022/acorex-components-common.mjs +1737 -0
- package/fesm2022/acorex-components-common.mjs.map +1 -0
- package/fesm2022/acorex-components-data-pager.mjs +758 -0
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -0
- package/fesm2022/acorex-components-data-table.mjs +1143 -0
- package/fesm2022/acorex-components-data-table.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-box.mjs +147 -0
- package/fesm2022/acorex-components-datetime-box.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-input.mjs +578 -0
- package/fesm2022/acorex-components-datetime-input.mjs.map +1 -0
- package/fesm2022/acorex-components-datetime-picker.mjs +328 -0
- package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-decorators.mjs +210 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -0
- package/fesm2022/acorex-components-dialog.mjs +271 -0
- package/fesm2022/acorex-components-dialog.mjs.map +1 -0
- package/fesm2022/acorex-components-drawer.mjs +206 -0
- package/fesm2022/acorex-components-drawer.mjs.map +1 -0
- package/fesm2022/acorex-components-dropdown-button.mjs +145 -0
- package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -0
- package/fesm2022/acorex-components-dropdown.mjs +319 -0
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
- package/fesm2022/acorex-components-form.mjs +394 -0
- package/fesm2022/acorex-components-form.mjs.map +1 -0
- package/fesm2022/acorex-components-image.mjs +95 -0
- package/fesm2022/acorex-components-image.mjs.map +1 -0
- package/fesm2022/acorex-components-label.mjs +72 -0
- package/fesm2022/acorex-components-label.mjs.map +1 -0
- package/fesm2022/acorex-components-list.mjs +210 -0
- package/fesm2022/acorex-components-list.mjs.map +1 -0
- package/fesm2022/acorex-components-loading-dialog.mjs +144 -0
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -0
- package/fesm2022/acorex-components-loading.mjs +313 -0
- package/fesm2022/acorex-components-loading.mjs.map +1 -0
- package/fesm2022/acorex-components-menu.mjs +224 -0
- package/fesm2022/acorex-components-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-nav.mjs +75 -0
- package/fesm2022/acorex-components-nav.mjs.map +1 -0
- package/fesm2022/acorex-components-navbar.mjs +40 -0
- package/fesm2022/acorex-components-navbar.mjs.map +1 -0
- package/fesm2022/acorex-components-notification.mjs +264 -0
- package/fesm2022/acorex-components-notification.mjs.map +1 -0
- package/fesm2022/acorex-components-number-box.mjs +331 -0
- package/fesm2022/acorex-components-number-box.mjs.map +1 -0
- package/fesm2022/acorex-components-otp.mjs +186 -0
- package/fesm2022/acorex-components-otp.mjs.map +1 -0
- package/fesm2022/acorex-components-page.mjs +125 -0
- package/fesm2022/acorex-components-page.mjs.map +1 -0
- package/fesm2022/acorex-components-password-box.mjs +121 -0
- package/fesm2022/acorex-components-password-box.mjs.map +1 -0
- package/fesm2022/acorex-components-phone-box.mjs +182 -0
- package/fesm2022/acorex-components-phone-box.mjs.map +1 -0
- package/fesm2022/acorex-components-picker.mjs +251 -0
- package/fesm2022/acorex-components-picker.mjs.map +1 -0
- package/fesm2022/acorex-components-popover.mjs +402 -0
- package/fesm2022/acorex-components-popover.mjs.map +1 -0
- package/fesm2022/acorex-components-popup.mjs +256 -0
- package/fesm2022/acorex-components-popup.mjs.map +1 -0
- package/fesm2022/acorex-components-progress-bar.mjs +80 -0
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -0
- package/fesm2022/acorex-components-radio.mjs +87 -0
- package/fesm2022/acorex-components-radio.mjs.map +1 -0
- package/fesm2022/acorex-components-range-slider.mjs +142 -0
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
- package/fesm2022/acorex-components-result.mjs +50 -0
- package/fesm2022/acorex-components-result.mjs.map +1 -0
- package/fesm2022/acorex-components-routing-progress.mjs +82 -0
- package/fesm2022/acorex-components-routing-progress.mjs.map +1 -0
- package/fesm2022/acorex-components-scheduler.mjs +142 -0
- package/fesm2022/acorex-components-scheduler.mjs.map +1 -0
- package/fesm2022/acorex-components-scss.mjs +22 -0
- package/fesm2022/acorex-components-scss.mjs.map +1 -0
- package/fesm2022/acorex-components-search-box.mjs +135 -0
- package/fesm2022/acorex-components-search-box.mjs.map +1 -0
- package/fesm2022/acorex-components-select-box.mjs +368 -0
- package/fesm2022/acorex-components-select-box.mjs.map +1 -0
- package/fesm2022/acorex-components-selection-list.mjs +179 -0
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -0
- package/fesm2022/acorex-components-side-menu.mjs +183 -0
- package/fesm2022/acorex-components-side-menu.mjs.map +1 -0
- package/fesm2022/acorex-components-skeleton.mjs +46 -0
- package/fesm2022/acorex-components-skeleton.mjs.map +1 -0
- package/fesm2022/acorex-components-step-wizard.mjs +224 -0
- package/fesm2022/acorex-components-step-wizard.mjs.map +1 -0
- package/fesm2022/acorex-components-switch.mjs +86 -0
- package/fesm2022/acorex-components-switch.mjs.map +1 -0
- package/fesm2022/acorex-components-tabs.mjs +271 -0
- package/fesm2022/acorex-components-tabs.mjs.map +1 -0
- package/fesm2022/acorex-components-tag.mjs +43 -0
- package/fesm2022/acorex-components-tag.mjs.map +1 -0
- package/fesm2022/acorex-components-text-area.mjs +87 -0
- package/fesm2022/acorex-components-text-area.mjs.map +1 -0
- package/fesm2022/acorex-components-text-box.mjs +184 -0
- package/fesm2022/acorex-components-text-box.mjs.map +1 -0
- package/fesm2022/acorex-components-toast.mjs +280 -0
- package/fesm2022/acorex-components-toast.mjs.map +1 -0
- package/fesm2022/acorex-components-tooltip.mjs +117 -0
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -0
- package/fesm2022/acorex-components-uploader.mjs +399 -0
- package/fesm2022/acorex-components-uploader.mjs.map +1 -0
- package/fesm2022/acorex-components.mjs +2 -17392
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/form/README.md +3 -0
- package/form/index.d.ts +6 -0
- package/form/lib/form-field.component.d.ts +12 -0
- package/form/lib/form.component.d.ts +42 -0
- package/form/lib/form.config.d.ts +7 -0
- package/form/lib/form.module.d.ts +16 -0
- package/form/lib/validation-rule.directive.d.ts +16 -0
- package/form/lib/validation-summary.component.d.ts +25 -0
- package/image/README.md +3 -0
- package/image/index.d.ts +2 -0
- package/image/lib/image.component.d.ts +21 -0
- package/image/lib/image.module.d.ts +8 -0
- package/index.d.ts +1 -155
- package/label/README.md +3 -0
- package/label/index.d.ts +2 -0
- package/label/lib/label.component.d.ts +14 -0
- package/list/README.md +3 -0
- package/list/index.d.ts +2 -0
- package/list/lib/list.component.d.ts +39 -0
- package/list/lib/list.module.d.ts +10 -0
- package/loading/README.md +3 -0
- package/loading/index.d.ts +6 -0
- package/loading/lib/loading-spinner.component.d.ts +10 -0
- package/loading/lib/loading.component.d.ts +18 -0
- package/loading/lib/loading.config.d.ts +8 -0
- package/loading/lib/loading.directive.d.ts +15 -0
- package/loading/lib/loading.module.d.ts +13 -0
- package/loading/lib/loading.service.d.ts +29 -0
- package/loading-dialog/README.md +3 -0
- package/loading-dialog/index.d.ts +4 -0
- package/loading-dialog/lib/loading-dialog.class.d.ts +35 -0
- package/loading-dialog/lib/loading-dialog.component.d.ts +25 -0
- package/loading-dialog/lib/loading-dialog.module.d.ts +14 -0
- package/loading-dialog/lib/loading-dialog.service.d.ts +8 -0
- package/menu/README.md +3 -0
- package/menu/index.d.ts +4 -0
- package/menu/lib/class/root-menu.class.d.ts +6 -0
- package/menu/lib/menu-item/menu-item.component.d.ts +37 -0
- package/menu/lib/menu.component.d.ts +14 -0
- package/menu/lib/menu.module.d.ts +14 -0
- package/nav/README.md +3 -0
- package/nav/index.d.ts +3 -0
- package/nav/lib/nav-item/nav-item.component.d.ts +15 -0
- package/nav/lib/nav.component.d.ts +6 -0
- package/nav/lib/nav.module.d.ts +10 -0
- package/navbar/README.md +3 -0
- package/navbar/index.d.ts +2 -0
- package/navbar/lib/navbar.component.d.ts +7 -0
- package/navbar/lib/navbar.module.d.ts +8 -0
- package/notification/README.md +3 -0
- package/notification/index.d.ts +5 -0
- package/notification/lib/notification.class.d.ts +40 -0
- package/notification/lib/notification.component.d.ts +29 -0
- package/notification/lib/notification.config.d.ts +13 -0
- package/notification/lib/notification.module.d.ts +14 -0
- package/notification/lib/notification.service.d.ts +12 -0
- package/number-box/README.md +3 -0
- package/number-box/index.d.ts +2 -0
- package/number-box/lib/number-box.component.d.ts +80 -0
- package/number-box/lib/number-box.module.d.ts +12 -0
- package/otp/README.md +3 -0
- package/otp/index.d.ts +3 -0
- package/otp/lib/otp.class.d.ts +5 -0
- package/otp/lib/otp.component.d.ts +31 -0
- package/otp/lib/otp.module.d.ts +9 -0
- package/package.json +403 -6
- package/page/README.md +3 -0
- package/page/index.d.ts +3 -0
- package/page/lib/base-page.class.d.ts +22 -0
- package/page/lib/page.component.d.ts +14 -0
- package/page/lib/page.module.d.ts +6 -0
- package/password-box/README.md +3 -0
- package/password-box/index.d.ts +2 -0
- package/password-box/lib/password-box.component.d.ts +29 -0
- package/password-box/lib/password-box.module.d.ts +11 -0
- package/phone-box/README.md +3 -0
- package/phone-box/index.d.ts +2 -0
- package/phone-box/lib/phone-box.component.d.ts +30 -0
- package/phone-box/lib/phone-box.module.d.ts +15 -0
- package/picker/README.md +3 -0
- package/picker/index.d.ts +3 -0
- package/picker/lib/picker-column.directive.d.ts +16 -0
- package/picker/lib/picker.component.d.ts +31 -0
- package/picker/lib/picker.module.d.ts +9 -0
- package/popover/README.md +3 -0
- package/popover/index.d.ts +2 -0
- package/popover/lib/popover.component.d.ts +72 -0
- package/popup/README.md +3 -0
- package/popup/index.d.ts +4 -0
- package/popup/lib/popup.component.d.ts +40 -0
- package/popup/lib/popup.interface.d.ts +28 -0
- package/popup/lib/popup.module.d.ts +15 -0
- package/popup/lib/popup.service.d.ts +21 -0
- package/progress-bar/README.md +3 -0
- package/progress-bar/index.d.ts +2 -0
- package/progress-bar/lib/progress-bar.component.d.ts +25 -0
- package/radio/README.md +3 -0
- package/radio/index.d.ts +2 -0
- package/radio/lib/radio.component.d.ts +16 -0
- package/radio/lib/radio.module.d.ts +9 -0
- package/range-slider/README.md +3 -0
- package/range-slider/index.d.ts +2 -0
- package/range-slider/lib/range-slider.component.d.ts +40 -0
- package/range-slider/lib/range-slider.module.d.ts +10 -0
- package/result/README.md +3 -0
- package/result/index.d.ts +2 -0
- package/result/lib/result.component.d.ts +10 -0
- package/result/lib/result.module.d.ts +8 -0
- package/routing-progress/README.md +3 -0
- package/routing-progress/index.d.ts +2 -0
- package/routing-progress/lib/routing-progress.component.d.ts +14 -0
- package/routing-progress/lib/routing-progress.module.d.ts +8 -0
- package/scheduler/README.md +3 -0
- package/scheduler/index.d.ts +4 -0
- package/scheduler/lib/scheduler-month-view.component.d.ts +21 -0
- package/scheduler/lib/scheduler-week-view.component.d.ts +6 -0
- package/scheduler/lib/scheduler.component.d.ts +17 -0
- package/scheduler/lib/scheduler.module.d.ts +14 -0
- package/scss/README.md +3 -0
- package/scss/index.d.ts +1 -0
- package/scss/lib/scss.module.d.ts +7 -0
- package/search-box/README.md +3 -0
- package/search-box/index.d.ts +2 -0
- package/search-box/lib/search-box.component.d.ts +17 -0
- package/search-box/lib/search-box.module.d.ts +14 -0
- package/select-box/README.md +3 -0
- package/select-box/index.d.ts +2 -0
- package/select-box/lib/select-box.component.d.ts +60 -0
- package/select-box/lib/select-box.module.d.ts +20 -0
- package/selection-list/README.md +3 -0
- package/selection-list/index.d.ts +2 -0
- package/selection-list/lib/selection-list.component.d.ts +30 -0
- package/selection-list/lib/selection-list.module.d.ts +13 -0
- package/side-menu/README.md +3 -0
- package/side-menu/index.d.ts +3 -0
- package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +48 -0
- package/side-menu/lib/side-menu.component.d.ts +6 -0
- package/side-menu/lib/side-menu.module.d.ts +12 -0
- package/skeleton/README.md +3 -0
- package/skeleton/index.d.ts +2 -0
- package/skeleton/lib/skeleton.component.d.ts +8 -0
- package/skeleton/lib/skeleton.module.d.ts +8 -0
- package/step-wizard/README.md +3 -0
- package/step-wizard/index.d.ts +5 -0
- package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +23 -0
- package/step-wizard/lib/step-wizard.class.d.ts +5 -0
- package/step-wizard/lib/step-wizard.component.d.ts +28 -0
- package/step-wizard/lib/step-wizard.directive.d.ts +11 -0
- package/step-wizard/lib/step-wizard.module.d.ts +12 -0
- package/switch/README.md +3 -0
- package/switch/index.d.ts +3 -0
- package/switch/lib/switch-content.component.d.ts +6 -0
- package/switch/lib/switch.component.d.ts +15 -0
- package/switch/lib/switch.module.d.ts +10 -0
- package/tabs/README.md +3 -0
- package/tabs/index.d.ts +5 -0
- package/tabs/lib/tab-content.directive.d.ts +11 -0
- package/tabs/lib/tab-item.component.d.ts +18 -0
- package/tabs/lib/tabs.class.d.ts +8 -0
- package/tabs/lib/tabs.component.d.ts +27 -0
- package/tabs/lib/tabs.module.d.ts +12 -0
- package/tag/README.md +3 -0
- package/tag/index.d.ts +2 -0
- package/tag/lib/tag.component.d.ts +8 -0
- package/tag/lib/tag.module.d.ts +8 -0
- package/text-area/README.md +3 -0
- package/text-area/index.d.ts +2 -0
- package/text-area/lib/text-area.component.d.ts +19 -0
- package/text-area/lib/text-area.module.d.ts +9 -0
- package/text-box/README.md +3 -0
- package/text-box/index.d.ts +3 -0
- package/text-box/lib/mask-options.directive.d.ts +13 -0
- package/text-box/lib/text-box.component.d.ts +33 -0
- package/text-box/lib/text-box.module.d.ts +13 -0
- package/toast/README.md +3 -0
- package/toast/index.d.ts +5 -0
- package/toast/lib/toast.class.d.ts +24 -0
- package/toast/lib/toast.component.d.ts +27 -0
- package/toast/lib/toast.config.d.ts +12 -0
- package/toast/lib/toast.module.d.ts +13 -0
- package/toast/lib/toast.service.d.ts +21 -0
- package/tooltip/README.md +3 -0
- package/tooltip/index.d.ts +3 -0
- package/tooltip/lib/tooltip.component.d.ts +8 -0
- package/tooltip/lib/tooltip.directive.d.ts +22 -0
- package/tooltip/lib/tooltip.module.d.ts +10 -0
- package/uploader/README.md +3 -0
- package/uploader/index.d.ts +7 -0
- package/uploader/lib/uploader-browse-handle.directive.d.ts +11 -0
- package/uploader/lib/uploader-dialog-container.component.d.ts +9 -0
- package/uploader/lib/uploader-drop-zone.component.d.ts +6 -0
- package/uploader/lib/uploader-list.component.d.ts +8 -0
- package/uploader/lib/uploader-zone.directive.d.ts +24 -0
- package/uploader/lib/uploader.models.d.ts +19 -0
- package/uploader/lib/uploader.module.d.ts +22 -0
- package/uploader/lib/uploader.service.d.ts +21 -0
- package/esm2022/lib/accordion/accordion.component.mjs +0 -45
- package/esm2022/lib/accordion/accordion.module.mjs +0 -20
- package/esm2022/lib/base/base-page.class.mjs +0 -97
- package/esm2022/lib/base/components.class.mjs +0 -17
- package/esm2022/lib/base/element.class.mjs +0 -301
- package/esm2022/lib/base/events.class.mjs +0 -17
- package/esm2022/lib/button/button.component.mjs +0 -74
- package/esm2022/lib/button/button.module.mjs +0 -21
- package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +0 -426
- package/esm2022/lib/calendar/calendar-box/calendar-box.module.mjs +0 -22
- package/esm2022/lib/calendar/scheduler/scheduler-views.property.mjs +0 -59
- package/esm2022/lib/calendar/scheduler/scheduler.class.mjs +0 -16
- package/esm2022/lib/calendar/scheduler/scheduler.component.mjs +0 -226
- package/esm2022/lib/calendar/scheduler/scheduler.module.mjs +0 -68
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +0 -136
- package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +0 -37
- package/esm2022/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +0 -49
- package/esm2022/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +0 -102
- package/esm2022/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +0 -214
- package/esm2022/lib/calendar/scheduler/views/scheduler-view.component.mjs +0 -99
- package/esm2022/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +0 -85
- package/esm2022/lib/checkbox/checkbox.component.mjs +0 -109
- package/esm2022/lib/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/lib/color-picker/color-box/color-box.component.mjs +0 -423
- package/esm2022/lib/color-picker/color-picker.component.mjs +0 -89
- package/esm2022/lib/color-picker/color-picker.module.mjs +0 -24
- package/esm2022/lib/context-menu/context-menu.component.mjs +0 -68
- package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -146
- package/esm2022/lib/context-menu/context-menu.module.mjs +0 -20
- package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +0 -140
- package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +0 -119
- package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +0 -75
- package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +0 -119
- package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +0 -267
- package/esm2022/lib/data-filter/filter.class.mjs +0 -46
- package/esm2022/lib/data-filter/filter.module.mjs +0 -88
- package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +0 -168
- package/esm2022/lib/data-list/core/data-list.component.mjs +0 -37
- package/esm2022/lib/data-list/list/list.component.mjs +0 -134
- package/esm2022/lib/data-list/list/list.module.mjs +0 -22
- package/esm2022/lib/data-list/list/toolbar-list-view.component.mjs +0 -84
- package/esm2022/lib/data-source/datasource.component.mjs +0 -47
- package/esm2022/lib/data-source/datasource.module.mjs +0 -18
- package/esm2022/lib/data-source/read-param.mjs +0 -7
- package/esm2022/lib/date-picker/date-picker.component.mjs +0 -1102
- package/esm2022/lib/date-picker/date-picker.module.mjs +0 -49
- package/esm2022/lib/dialog/dialog.component.mjs +0 -26
- package/esm2022/lib/dialog/dialog.module.mjs +0 -21
- package/esm2022/lib/dialog/dialog.service.mjs +0 -160
- package/esm2022/lib/drawer/content.component.mjs +0 -18
- package/esm2022/lib/drawer/drawer-container.component.mjs +0 -38
- package/esm2022/lib/drawer/drawer.component.mjs +0 -146
- package/esm2022/lib/drawer/drawer.module.mjs +0 -23
- package/esm2022/lib/dropdown/dropdown.component.mjs +0 -186
- package/esm2022/lib/dropdown/dropdown.module.mjs +0 -26
- package/esm2022/lib/fieldset/fieldset.component.mjs +0 -57
- package/esm2022/lib/fieldset/fieldset.module.mjs +0 -19
- package/esm2022/lib/form-group/form-group.component.mjs +0 -37
- package/esm2022/lib/form-group/form-group.module.mjs +0 -21
- package/esm2022/lib/label/label.component.mjs +0 -19
- package/esm2022/lib/label/label.module.mjs +0 -21
- package/esm2022/lib/loading/loading-indicator.component.mjs +0 -18
- package/esm2022/lib/loading/loading-panel.component.mjs +0 -45
- package/esm2022/lib/loading/loading.module.mjs +0 -21
- package/esm2022/lib/loading/loading.service.mjs +0 -47
- package/esm2022/lib/menu/menu-item.component.mjs +0 -50
- package/esm2022/lib/menu/menu.component.mjs +0 -98
- package/esm2022/lib/menu/menu.module.mjs +0 -22
- package/esm2022/lib/menu/menu2.component.mjs +0 -100
- package/esm2022/lib/number-box/number-box.component.mjs +0 -628
- package/esm2022/lib/number-box/number-box.module.mjs +0 -21
- package/esm2022/lib/page/content.component.mjs +0 -27
- package/esm2022/lib/page/footer.component.mjs +0 -19
- package/esm2022/lib/page/page.component.mjs +0 -57
- package/esm2022/lib/page/page.module.mjs +0 -22
- package/esm2022/lib/panel-box/panel-box.component.mjs +0 -87
- package/esm2022/lib/panel-box/panel-box.module.mjs +0 -19
- package/esm2022/lib/password-box/password-box.component.mjs +0 -32
- package/esm2022/lib/password-box/password-box.module.mjs +0 -23
- package/esm2022/lib/popover/custom-cdk-overlay.service.mjs +0 -50
- package/esm2022/lib/popover/overlay.service.mjs +0 -94
- package/esm2022/lib/popover/popover.component.mjs +0 -145
- package/esm2022/lib/popover/popover.module.mjs +0 -19
- package/esm2022/lib/popup/popup.component.mjs +0 -160
- package/esm2022/lib/popup/popup.module.mjs +0 -25
- package/esm2022/lib/popup/popup.service.mjs +0 -94
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -16
- package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -19
- package/esm2022/lib/property-editor/editors/check-editor/check-editor.mjs +0 -65
- package/esm2022/lib/property-editor/editors/check-editor/check.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/color-editor/color.editor.mjs +0 -41
- package/esm2022/lib/property-editor/editors/color-editor/color.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +0 -118
- package/esm2022/lib/property-editor/editors/column-editor/column.module.mjs +0 -32
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +0 -216
- package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +0 -76
- package/esm2022/lib/property-editor/editors/date-editor/date.editor.mjs +0 -87
- package/esm2022/lib/property-editor/editors/date-editor/date.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/number-editor/number.editor.mjs +0 -72
- package/esm2022/lib/property-editor/editors/number-editor/number.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +0 -145
- package/esm2022/lib/property-editor/editors/range-editor/range.module.mjs +0 -59
- package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +0 -76
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +0 -75
- package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +0 -73
- package/esm2022/lib/property-editor/editors/selection-editor/selection.module.mjs +0 -22
- package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +0 -30
- package/esm2022/lib/property-editor/editors/switch-editor/number.module.mjs +0 -25
- package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +0 -36
- package/esm2022/lib/property-editor/editors/text-editor/text.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +0 -35
- package/esm2022/lib/property-editor/editors/textarea-editor/textarea.module.mjs +0 -24
- package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +0 -55
- package/esm2022/lib/property-editor/editors/time-editor/time.module.mjs +0 -24
- package/esm2022/lib/property-editor/property-editor-renderer.directive.mjs +0 -167
- package/esm2022/lib/property-editor/property-editor.class.mjs +0 -108
- package/esm2022/lib/property-editor/property-editor.module.mjs +0 -194
- package/esm2022/lib/query-builder/query-builder-group.component.mjs +0 -129
- package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +0 -177
- package/esm2022/lib/query-builder/query-builder-rule.component.mjs +0 -428
- package/esm2022/lib/query-builder/query-builder.class.mjs +0 -42
- package/esm2022/lib/query-builder/query-builder.component.mjs +0 -92
- package/esm2022/lib/query-builder/query-builder.module.mjs +0 -62
- package/esm2022/lib/query-builder/query-builder.service.mjs +0 -199
- package/esm2022/lib/search-bar/search-bar.component.mjs +0 -293
- package/esm2022/lib/search-bar/search-bar.module.mjs +0 -61
- package/esm2022/lib/searchbox/searchbox.component.mjs +0 -106
- package/esm2022/lib/searchbox/searchbox.module.mjs +0 -24
- package/esm2022/lib/selectbox/selectbox.component.mjs +0 -1135
- package/esm2022/lib/selectbox/selectbox.module.mjs +0 -44
- package/esm2022/lib/selectbox/selectbox2.component.mjs +0 -617
- package/esm2022/lib/selection-list/selection-list.component.mjs +0 -113
- package/esm2022/lib/selection-list/selection-list.module.mjs +0 -21
- package/esm2022/lib/switch/switch.component.mjs +0 -55
- package/esm2022/lib/switch/switch.module.mjs +0 -20
- package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +0 -75
- package/esm2022/lib/tab-page/tab-page-host.component.mjs +0 -124
- package/esm2022/lib/tab-page/tab-page.module.mjs +0 -21
- package/esm2022/lib/tab-page/tab-page.service.mjs +0 -159
- package/esm2022/lib/tab-strip/tab-strip.component.mjs +0 -38
- package/esm2022/lib/tab-strip/tab-strip.module.mjs +0 -19
- package/esm2022/lib/tab-view/dynamic-tabs.directive.mjs +0 -25
- package/esm2022/lib/tab-view/tab-view.component.mjs +0 -110
- package/esm2022/lib/tab-view/tab-view.module.mjs +0 -21
- package/esm2022/lib/tab-view/tab.component.mjs +0 -33
- package/esm2022/lib/textarea/textarea.component.mjs +0 -27
- package/esm2022/lib/textarea/textarea.module.mjs +0 -21
- package/esm2022/lib/textbox/textbox.component.mjs +0 -42
- package/esm2022/lib/textbox/textbox.module.mjs +0 -36
- package/esm2022/lib/time-picker/time-picker.component.mjs +0 -1107
- package/esm2022/lib/time-picker/time-picker.module.mjs +0 -34
- package/esm2022/lib/toast/toast-message/toast-message.component.mjs +0 -76
- package/esm2022/lib/toast/toast-wrapper/toast-wrapper.component.mjs +0 -13
- package/esm2022/lib/toast/toast.module.mjs +0 -21
- package/esm2022/lib/toast/toast.service.mjs +0 -45
- package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +0 -77
- package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +0 -62
- package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +0 -56
- package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +0 -37
- package/esm2022/lib/toolbar/toolbar-item.mjs +0 -4
- package/esm2022/lib/toolbar/toolbar.component.mjs +0 -13
- package/esm2022/lib/toolbar/toolbar.module.mjs +0 -40
- package/esm2022/lib/tooltip/tooltip.directive.mjs +0 -104
- package/esm2022/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +0 -697
- package/esm2022/lib/tree-side-menu/tree-side-menu.module.mjs +0 -33
- package/esm2022/lib/tree-view/tree-view.component.mjs +0 -854
- package/esm2022/lib/tree-view/tree-view.module.mjs +0 -22
- package/esm2022/lib/upload-file/upload-file.component.mjs +0 -226
- package/esm2022/lib/upload-file/upload-file.events.mjs +0 -2
- package/esm2022/lib/upload-file/upload-file.module.mjs +0 -24
- package/esm2022/lib/validation/validation-form.component.mjs +0 -68
- package/esm2022/lib/validation/validation-rule.widget.mjs +0 -114
- package/esm2022/lib/validation/validation.class.mjs +0 -2
- package/esm2022/lib/validation/validation.component.mjs +0 -89
- package/esm2022/lib/validation/validation.module.mjs +0 -34
- package/lib/accordion/accordion.component.d.ts +0 -13
- package/lib/accordion/accordion.module.d.ts +0 -9
- package/lib/base/base-page.class.d.ts +0 -46
- package/lib/base/components.class.d.ts +0 -10
- package/lib/base/element.class.d.ts +0 -106
- package/lib/base/events.class.d.ts +0 -18
- package/lib/button/button.component.d.ts +0 -21
- package/lib/button/button.module.d.ts +0 -8
- package/lib/calendar/calendar-box/calendar-box.component.d.ts +0 -81
- package/lib/calendar/calendar-box/calendar-box.module.d.ts +0 -11
- package/lib/calendar/scheduler/scheduler-views.property.d.ts +0 -19
- package/lib/calendar/scheduler/scheduler.class.d.ts +0 -36
- package/lib/calendar/scheduler/scheduler.component.d.ts +0 -39
- package/lib/calendar/scheduler/scheduler.module.d.ts +0 -21
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.d.ts +0 -25
- package/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.d.ts +0 -14
- package/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.d.ts +0 -16
- package/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.d.ts +0 -26
- package/lib/calendar/scheduler/views/month/scheduler-month-view.component.d.ts +0 -37
- package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +0 -28
- package/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.d.ts +0 -24
- package/lib/checkbox/checkbox.component.d.ts +0 -30
- package/lib/checkbox/checkbox.module.d.ts +0 -9
- package/lib/color-picker/color-box/color-box.component.d.ts +0 -25
- package/lib/color-picker/color-picker.component.d.ts +0 -30
- package/lib/color-picker/color-picker.module.d.ts +0 -13
- package/lib/context-menu/context-menu.component.d.ts +0 -22
- package/lib/context-menu/context-menu.directive.d.ts +0 -38
- package/lib/context-menu/context-menu.module.d.ts +0 -9
- package/lib/data-filter/columns/filter-column-date.component.d.ts +0 -22
- package/lib/data-filter/columns/filter-column-number.component.d.ts +0 -15
- package/lib/data-filter/columns/filter-column-selection.component.d.ts +0 -18
- package/lib/data-filter/columns/filter-column-string.component.d.ts +0 -15
- package/lib/data-filter/filter-panel/filter-panel.component.d.ts +0 -45
- package/lib/data-filter/filter.class.d.ts +0 -40
- package/lib/data-filter/filter.module.d.ts +0 -24
- package/lib/data-filter/toolbar/filter-toolbar.component.d.ts +0 -25
- package/lib/data-list/core/data-list.component.d.ts +0 -15
- package/lib/data-list/list/list.component.d.ts +0 -40
- package/lib/data-list/list/list.module.d.ts +0 -11
- package/lib/data-list/list/toolbar-list-view.component.d.ts +0 -17
- package/lib/data-source/datasource.component.d.ts +0 -16
- package/lib/data-source/datasource.module.d.ts +0 -7
- package/lib/data-source/read-param.d.ts +0 -40
- package/lib/date-picker/date-picker.component.d.ts +0 -84
- package/lib/date-picker/date-picker.module.d.ts +0 -14
- package/lib/dialog/dialog.component.d.ts +0 -14
- package/lib/dialog/dialog.module.d.ts +0 -10
- package/lib/dialog/dialog.service.d.ts +0 -36
- package/lib/drawer/content.component.d.ts +0 -7
- package/lib/drawer/drawer-container.component.d.ts +0 -10
- package/lib/drawer/drawer.component.d.ts +0 -34
- package/lib/drawer/drawer.module.d.ts +0 -10
- package/lib/dropdown/dropdown.component.d.ts +0 -38
- package/lib/dropdown/dropdown.module.d.ts +0 -13
- package/lib/fieldset/fieldset.component.d.ts +0 -11
- package/lib/fieldset/fieldset.module.d.ts +0 -8
- package/lib/form-group/form-group.component.d.ts +0 -14
- package/lib/form-group/form-group.module.d.ts +0 -8
- package/lib/label/label.component.d.ts +0 -9
- package/lib/loading/loading-indicator.component.d.ts +0 -9
- package/lib/loading/loading-panel.component.d.ts +0 -13
- package/lib/loading/loading.module.d.ts +0 -10
- package/lib/loading/loading.service.d.ts +0 -13
- package/lib/menu/menu-item.component.d.ts +0 -18
- package/lib/menu/menu.component.d.ts +0 -35
- package/lib/menu/menu.module.d.ts +0 -11
- package/lib/menu/menu2.component.d.ts +0 -21
- package/lib/number-box/number-box.component.d.ts +0 -52
- package/lib/number-box/number-box.module.d.ts +0 -10
- package/lib/page/content.component.d.ts +0 -8
- package/lib/page/footer.component.d.ts +0 -5
- package/lib/page/page.component.d.ts +0 -16
- package/lib/page/page.module.d.ts +0 -11
- package/lib/panel-box/panel-box.component.d.ts +0 -19
- package/lib/panel-box/panel-box.module.d.ts +0 -8
- package/lib/password-box/password-box.component.d.ts +0 -12
- package/lib/password-box/password-box.module.d.ts +0 -10
- package/lib/popover/custom-cdk-overlay.service.d.ts +0 -19
- package/lib/popover/overlay.service.d.ts +0 -32
- package/lib/popover/popover.component.d.ts +0 -35
- package/lib/popup/popup.component.d.ts +0 -40
- package/lib/popup/popup.module.d.ts +0 -13
- package/lib/popup/popup.service.d.ts +0 -22
- package/lib/progress-bar/progress-bar.component.d.ts +0 -7
- package/lib/property-editor/editors/check-editor/check-editor.d.ts +0 -19
- package/lib/property-editor/editors/check-editor/check.module.d.ts +0 -11
- package/lib/property-editor/editors/color-editor/color.editor.d.ts +0 -13
- package/lib/property-editor/editors/color-editor/color.module.d.ts +0 -12
- package/lib/property-editor/editors/column-editor/column.editor.d.ts +0 -34
- package/lib/property-editor/editors/column-editor/column.module.d.ts +0 -20
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.d.ts +0 -44
- package/lib/property-editor/editors/conditional-color-editor/conditional-color.module.d.ts +0 -19
- package/lib/property-editor/editors/date-editor/date.editor.d.ts +0 -28
- package/lib/property-editor/editors/date-editor/date.module.d.ts +0 -12
- package/lib/property-editor/editors/number-editor/number.editor.d.ts +0 -22
- package/lib/property-editor/editors/number-editor/number.module.d.ts +0 -12
- package/lib/property-editor/editors/range-editor/range.editor.d.ts +0 -29
- package/lib/property-editor/editors/range-editor/range.module.d.ts +0 -18
- package/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.d.ts +0 -29
- package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +0 -28
- package/lib/property-editor/editors/selectbox-editor/selectbox.module.d.ts +0 -14
- package/lib/property-editor/editors/selection-editor/selection-editor.d.ts +0 -25
- package/lib/property-editor/editors/selection-editor/selection.module.d.ts +0 -11
- package/lib/property-editor/editors/switch-editor/number.editor.d.ts +0 -11
- package/lib/property-editor/editors/switch-editor/number.module.d.ts +0 -13
- package/lib/property-editor/editors/text-editor/text.editor.d.ts +0 -18
- package/lib/property-editor/editors/text-editor/text.module.d.ts +0 -12
- package/lib/property-editor/editors/textarea-editor/textarea.editor.d.ts +0 -17
- package/lib/property-editor/editors/textarea-editor/textarea.module.d.ts +0 -12
- package/lib/property-editor/editors/time-editor/time.editor.d.ts +0 -17
- package/lib/property-editor/editors/time-editor/time.module.d.ts +0 -12
- package/lib/property-editor/property-editor-renderer.directive.d.ts +0 -31
- package/lib/property-editor/property-editor.class.d.ts +0 -93
- package/lib/property-editor/property-editor.module.d.ts +0 -21
- package/lib/query-builder/query-builder-group.component.d.ts +0 -33
- package/lib/query-builder/query-builder-popup/query-builder-popup.component.d.ts +0 -35
- package/lib/query-builder/query-builder-rule.component.d.ts +0 -45
- package/lib/query-builder/query-builder.class.d.ts +0 -45
- package/lib/query-builder/query-builder.component.d.ts +0 -29
- package/lib/query-builder/query-builder.module.d.ts +0 -23
- package/lib/query-builder/query-builder.service.d.ts +0 -18
- package/lib/search-bar/search-bar.component.d.ts +0 -62
- package/lib/search-bar/search-bar.module.d.ts +0 -18
- package/lib/searchbox/searchbox.component.d.ts +0 -23
- package/lib/searchbox/searchbox.module.d.ts +0 -13
- package/lib/selectbox/selectbox.component.d.ts +0 -149
- package/lib/selectbox/selectbox.module.d.ts +0 -15
- package/lib/selectbox/selectbox2.component.d.ts +0 -103
- package/lib/selection-list/selection-list.component.d.ts +0 -32
- package/lib/selection-list/selection-list.module.d.ts +0 -10
- package/lib/switch/switch.component.d.ts +0 -20
- package/lib/switch/switch.module.d.ts +0 -9
- package/lib/tab-page/tab-page-Renderer.component.d.ts +0 -16
- package/lib/tab-page/tab-page-host.component.d.ts +0 -24
- package/lib/tab-page/tab-page.module.d.ts +0 -10
- package/lib/tab-page/tab-page.service.d.ts +0 -30
- package/lib/tab-strip/tab-strip.component.d.ts +0 -28
- package/lib/tab-strip/tab-strip.module.d.ts +0 -8
- package/lib/tab-view/dynamic-tabs.directive.d.ts +0 -16
- package/lib/tab-view/tab-view.component.d.ts +0 -26
- package/lib/tab-view/tab-view.module.d.ts +0 -10
- package/lib/tab-view/tab.component.d.ts +0 -12
- package/lib/textarea/textarea.component.d.ts +0 -12
- package/lib/textarea/textarea.module.d.ts +0 -8
- package/lib/textbox/textbox.component.d.ts +0 -16
- package/lib/textbox/textbox.module.d.ts +0 -11
- package/lib/time-picker/time-picker.component.d.ts +0 -53
- package/lib/time-picker/time-picker.module.d.ts +0 -11
- package/lib/toast/toast-message/toast-message.component.d.ts +0 -18
- package/lib/toast/toast-wrapper/toast-wrapper.component.d.ts +0 -8
- package/lib/toast/toast.module.d.ts +0 -9
- package/lib/toast/toast.service.d.ts +0 -18
- package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +0 -12
- package/lib/toolbar/menu/toolbar-menu.component.d.ts +0 -24
- package/lib/toolbar/search/toolbar-search.component.d.ts +0 -16
- package/lib/toolbar/title/toolbar-title.component.d.ts +0 -9
- package/lib/toolbar/toolbar-item.d.ts +0 -3
- package/lib/toolbar/toolbar.component.d.ts +0 -8
- package/lib/toolbar/toolbar.module.d.ts +0 -14
- package/lib/tooltip/tooltip.directive.d.ts +0 -21
- package/lib/tooltip/tooltip.module.d.ts +0 -8
- package/lib/tree-side-menu/tree-side-menu.component.d.ts +0 -111
- package/lib/tree-side-menu/tree-side-menu.module.d.ts +0 -11
- package/lib/tree-view/tree-view.component.d.ts +0 -121
- package/lib/tree-view/tree-view.module.d.ts +0 -11
- package/lib/upload-file/upload-file.component.d.ts +0 -42
- package/lib/upload-file/upload-file.events.d.ts +0 -10
- package/lib/upload-file/upload-file.module.d.ts +0 -13
- package/lib/validation/validation-form.component.d.ts +0 -19
- package/lib/validation/validation-rule.widget.d.ts +0 -23
- package/lib/validation/validation.class.d.ts +0 -16
- package/lib/validation/validation.component.d.ts +0 -25
- package/lib/validation/validation.module.d.ts +0 -11
- /package/{lib/label → label/lib}/label.module.d.ts +0 -0
- /package/{lib/popover → popover/lib}/popover.module.d.ts +0 -0
- /package/{lib/progress-bar → progress-bar/lib}/progress-bar.module.d.ts +0 -0
@@ -0,0 +1,86 @@
|
|
1
|
+
import { Injectable, inject } from '@angular/core';
|
2
|
+
import { BehaviorSubject, interval, map, switchMap } from 'rxjs';
|
3
|
+
import { AXUploadRequest } from './uploader.models';
|
4
|
+
import { AXFileService } from '@acorex/core/file';
|
5
|
+
import { sumBy } from 'lodash-es';
|
6
|
+
import { AXPopupService } from '@acorex/components/popup';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export class AXUploaderService {
|
9
|
+
constructor() {
|
10
|
+
this.popupService = inject(AXPopupService);
|
11
|
+
this.fileService = inject(AXFileService);
|
12
|
+
this.files$ = new BehaviorSubject([]);
|
13
|
+
this.totalEstimateTime = interval(500).pipe(switchMap(() => this.files$.asObservable()), map((f) => sumBy(f, (c) => c.estimateTime())));
|
14
|
+
}
|
15
|
+
get files() {
|
16
|
+
return this.files$;
|
17
|
+
}
|
18
|
+
showDialog() {
|
19
|
+
import('./uploader-list.component').then((c) => {
|
20
|
+
this.popupService
|
21
|
+
.open(c.AXUploaderListComponent, {
|
22
|
+
size: 'md',
|
23
|
+
title: 'Upload File',
|
24
|
+
})
|
25
|
+
.then(async () => {
|
26
|
+
await this.cancelAll();
|
27
|
+
this.clearAll();
|
28
|
+
});
|
29
|
+
});
|
30
|
+
}
|
31
|
+
convertFileToRequest(file) {
|
32
|
+
return new AXUploadRequest(file);
|
33
|
+
}
|
34
|
+
startUpload() {
|
35
|
+
this.files.value
|
36
|
+
.filter((c) => c.status() == 'new')
|
37
|
+
.forEach((c) => {
|
38
|
+
c.upload();
|
39
|
+
});
|
40
|
+
}
|
41
|
+
async browse() {
|
42
|
+
try {
|
43
|
+
const files = await this.fileService.choose();
|
44
|
+
if (files.length) {
|
45
|
+
return this.add(files);
|
46
|
+
}
|
47
|
+
return Promise.resolve([]);
|
48
|
+
}
|
49
|
+
catch (error) {
|
50
|
+
console.error(error);
|
51
|
+
return Promise.resolve([]);
|
52
|
+
}
|
53
|
+
}
|
54
|
+
async add(files) {
|
55
|
+
const list = Array.from(files).map((f) => this.convertFileToRequest(f));
|
56
|
+
const currentValue = this.files$.value;
|
57
|
+
currentValue.push(...list);
|
58
|
+
this.files$.next(currentValue);
|
59
|
+
this.showDialog();
|
60
|
+
this.startUpload();
|
61
|
+
return Promise.resolve(list);
|
62
|
+
}
|
63
|
+
upload() { }
|
64
|
+
async cancelAll() {
|
65
|
+
await Promise.all(this.files$.value
|
66
|
+
.filter((c) => c.status() != 'completed')
|
67
|
+
.map((c) => c.cancel()));
|
68
|
+
}
|
69
|
+
clearAll() {
|
70
|
+
this.files$.value
|
71
|
+
.filter((c) => c.status() != 'inprogress')
|
72
|
+
.forEach((c) => this.remove(c));
|
73
|
+
}
|
74
|
+
remove(item) {
|
75
|
+
let currentValue = this.files$.value;
|
76
|
+
currentValue = currentValue.filter((c) => c != item);
|
77
|
+
this.files$.next(currentValue);
|
78
|
+
}
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXUploaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
80
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXUploaderService, providedIn: 'root' }); }
|
81
|
+
}
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXUploaderService, decorators: [{
|
83
|
+
type: Injectable,
|
84
|
+
args: [{ providedIn: 'root' }]
|
85
|
+
}] });
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy91cGxvYWRlci9zcmMvbGliL3VwbG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jdXJyZW50VmFsdWUgPSBjdXJyZW50VmFsdWUuZmlsdGVyKChjKSA9PiBjICE9IGl0ZW0pO1xuICAgIHRoaXMuZmlsZXMkLm5leHQoY3VycmVudFZhbHVlKTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,205 @@
|
|
1
|
+
import { MXBaseComponent, AXClosbaleComponent, AXFocusableComponent, AXCommonModule } from '@acorex/components/common';
|
2
|
+
import * as i1 from '@angular/cdk/dialog';
|
3
|
+
import { DIALOG_DATA, Dialog, DialogModule } from '@angular/cdk/dialog';
|
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 { TemplateRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, HostListener, inject, Injectable, NgModule } from '@angular/core';
|
8
|
+
import * as i3 from '@acorex/components/decorators';
|
9
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
10
|
+
import * as i4 from '@acorex/core/translation';
|
11
|
+
import { AXTranslationModule } from '@acorex/core/translation';
|
12
|
+
import * as i5 from '@angular/common';
|
13
|
+
import { AsyncPipe } from '@angular/common';
|
14
|
+
import { AXButtonModule } from '@acorex/components/button';
|
15
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
16
|
+
import { DragDropModule } from '@angular/cdk/drag-drop';
|
17
|
+
import { GlobalPositionStrategy } from '@angular/cdk/overlay';
|
18
|
+
import { Subject } from 'rxjs';
|
19
|
+
|
20
|
+
class AXActionSheetComponent extends MXBaseComponent {
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
24
|
+
constructor(data, dialogRef) {
|
25
|
+
super();
|
26
|
+
this.data = data;
|
27
|
+
this.dialogRef = dialogRef;
|
28
|
+
}
|
29
|
+
ngOnInit() {
|
30
|
+
super.ngOnInit();
|
31
|
+
if (this.data.content) {
|
32
|
+
if (this.data.content instanceof TemplateRef) {
|
33
|
+
this._selectedPortal = new TemplatePortal(this.data.content, this.getViewContainer(), {
|
34
|
+
$implicit: this.data,
|
35
|
+
ref: this,
|
36
|
+
});
|
37
|
+
this.cdr.markForCheck();
|
38
|
+
}
|
39
|
+
else if (typeof this.data.content === 'function') {
|
40
|
+
this._selectedPortal = new ComponentPortal(this.data.content);
|
41
|
+
this.cdr.markForCheck();
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
onKeydownHandler() {
|
46
|
+
const focusedOrHasFocused = this.getHostElement().matches(':focus-within');
|
47
|
+
if (this.data.closeButton && focusedOrHasFocused) {
|
48
|
+
this.close();
|
49
|
+
}
|
50
|
+
}
|
51
|
+
_handleAttched(ref) {
|
52
|
+
ref = ref;
|
53
|
+
if (ref.instance) {
|
54
|
+
this._componentRef = ref.instance;
|
55
|
+
Object.assign(this._componentRef, this.data);
|
56
|
+
Object.assign(this._componentRef, { _isPopup: true });
|
57
|
+
if (ref.instance.onClosed) {
|
58
|
+
ref.instance.onClosed.subscribe((e) => {
|
59
|
+
this.close();
|
60
|
+
});
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
onItemClick(item) {
|
65
|
+
this.close();
|
66
|
+
if (item?.onClick)
|
67
|
+
item.onClick();
|
68
|
+
}
|
69
|
+
close() {
|
70
|
+
this.dialogRef.close({
|
71
|
+
component: this._componentRef,
|
72
|
+
htmlElement: this.getHostElement(),
|
73
|
+
data: this.data,
|
74
|
+
});
|
75
|
+
}
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: DIALOG_DATA }, { token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXActionSheetComponent, selector: "ax-action-sheet", host: { listeners: { "keydown.escape": "onKeydownHandler()" } }, providers: [
|
78
|
+
{
|
79
|
+
provide: AXClosbaleComponent,
|
80
|
+
useExisting: AXActionSheetComponent,
|
81
|
+
},
|
82
|
+
{
|
83
|
+
provide: AXFocusableComponent,
|
84
|
+
useExisting: AXActionSheetComponent,
|
85
|
+
},
|
86
|
+
], usesInheritance: true, ngImport: i0, template: "@if(data.header){\n<ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if(data.subTitle){\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n\n }\n </ax-prefix>\n @if(data.closeButton){\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n</ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n @for(item of data.items; let i = $index; track i){\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" [tabindex]=\"i\"\n (click)=\"onItemClick(item)\">\n @if(item.icon){\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div>\n }\n</div>", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-suffix{align-items:flex-end}ax-action-sheet .ax-action-sheet-items{padding-top:.5rem;padding-bottom:.5rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{display:flex;padding:.75rem 1rem;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}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{margin-inline-end:.75rem;font-size:1.5rem;line-height:2rem}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: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "component", type: i3.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title , ax-sub-title, ax-placeholder, ax-overlay" }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "translate" }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
87
|
+
}
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetComponent, decorators: [{
|
89
|
+
type: Component,
|
90
|
+
args: [{ selector: 'ax-action-sheet', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
91
|
+
{
|
92
|
+
provide: AXClosbaleComponent,
|
93
|
+
useExisting: AXActionSheetComponent,
|
94
|
+
},
|
95
|
+
{
|
96
|
+
provide: AXFocusableComponent,
|
97
|
+
useExisting: AXActionSheetComponent,
|
98
|
+
},
|
99
|
+
], template: "@if(data.header){\n<ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if(data.subTitle){\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n\n }\n </ax-prefix>\n @if(data.closeButton){\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n</ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n @for(item of data.items; let i = $index; track i){\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" [tabindex]=\"i\"\n (click)=\"onItemClick(item)\">\n @if(item.icon){\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div>\n }\n</div>", styles: ["ax-action-sheet{display:block;width:100vw}@media (min-width: 768px){ax-action-sheet{width:70vw}}@media (min-width: 1024px){ax-action-sheet{width:50vw}}ax-action-sheet ax-header{padding:1rem;border-bottom-width:1px;font-size:1rem;line-height:1.5rem;font-weight:500}@media (min-width: 768px){ax-action-sheet ax-header{font-size:1.125rem;line-height:1.75rem}}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-suffix{align-items:flex-end}ax-action-sheet .ax-action-sheet-items{padding-top:.5rem;padding-bottom:.5rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{display:flex;padding:.75rem 1rem;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}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{margin-inline-end:.75rem;font-size:1.5rem;line-height:2rem}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"] }]
|
100
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
101
|
+
type: Inject,
|
102
|
+
args: [DIALOG_DATA]
|
103
|
+
}] }, { type: i1.DialogRef }], propDecorators: { onKeydownHandler: [{
|
104
|
+
type: HostListener,
|
105
|
+
args: ['keydown.escape']
|
106
|
+
}] } });
|
107
|
+
|
108
|
+
class AXActionSheetService {
|
109
|
+
constructor() {
|
110
|
+
this.dialog = inject(Dialog);
|
111
|
+
}
|
112
|
+
open(config) {
|
113
|
+
const defaultConfig = {
|
114
|
+
title: 'action-sheet.title',
|
115
|
+
closeButton: true,
|
116
|
+
closeOnBackdropClick: true,
|
117
|
+
header: true,
|
118
|
+
};
|
119
|
+
config = Object.assign(defaultConfig, config);
|
120
|
+
const dialogRef = this.dialog.open(AXActionSheetComponent, {
|
121
|
+
data: config,
|
122
|
+
autoFocus: 'first-tabbable',
|
123
|
+
restoreFocus: true,
|
124
|
+
role: 'dialog',
|
125
|
+
ariaModal: true,
|
126
|
+
closeOnNavigation: true,
|
127
|
+
closeOnDestroy: true,
|
128
|
+
hasBackdrop: true,
|
129
|
+
panelClass: ['ax-actionsheet-panel'],
|
130
|
+
disableClose: config.closeOnBackdropClick ? false : true,
|
131
|
+
positionStrategy: new GlobalPositionStrategy()
|
132
|
+
.centerHorizontally()
|
133
|
+
.bottom(),
|
134
|
+
});
|
135
|
+
const promise = new Promise((resolve) => {
|
136
|
+
const closed = new Subject();
|
137
|
+
const axDialogRef = {
|
138
|
+
close: () => {
|
139
|
+
dialogRef.close();
|
140
|
+
},
|
141
|
+
closed,
|
142
|
+
};
|
143
|
+
dialogRef.closed.subscribe(() => {
|
144
|
+
closed.next();
|
145
|
+
});
|
146
|
+
if (resolve) {
|
147
|
+
resolve(axDialogRef);
|
148
|
+
}
|
149
|
+
});
|
150
|
+
return promise;
|
151
|
+
}
|
152
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
153
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetService }); }
|
154
|
+
}
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetService, decorators: [{
|
156
|
+
type: Injectable
|
157
|
+
}] });
|
158
|
+
|
159
|
+
const MODULES = [
|
160
|
+
AXCommonModule,
|
161
|
+
DragDropModule,
|
162
|
+
A11yModule,
|
163
|
+
AXButtonModule,
|
164
|
+
PortalModule,
|
165
|
+
AXDecoratorModule,
|
166
|
+
AXTranslationModule,
|
167
|
+
DialogModule,
|
168
|
+
AsyncPipe,
|
169
|
+
];
|
170
|
+
class AXActionSheetModule {
|
171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
172
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent], imports: [AXCommonModule,
|
173
|
+
DragDropModule,
|
174
|
+
A11yModule,
|
175
|
+
AXButtonModule,
|
176
|
+
PortalModule,
|
177
|
+
AXDecoratorModule,
|
178
|
+
AXTranslationModule,
|
179
|
+
DialogModule,
|
180
|
+
AsyncPipe], exports: [AXActionSheetComponent] }); }
|
181
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetModule, providers: [AXActionSheetService], imports: [AXCommonModule,
|
182
|
+
DragDropModule,
|
183
|
+
A11yModule,
|
184
|
+
AXButtonModule,
|
185
|
+
PortalModule,
|
186
|
+
AXDecoratorModule,
|
187
|
+
AXTranslationModule,
|
188
|
+
DialogModule] }); }
|
189
|
+
}
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXActionSheetModule, decorators: [{
|
191
|
+
type: NgModule,
|
192
|
+
args: [{
|
193
|
+
declarations: [AXActionSheetComponent],
|
194
|
+
imports: [...MODULES],
|
195
|
+
exports: [AXActionSheetComponent],
|
196
|
+
providers: [AXActionSheetService],
|
197
|
+
}]
|
198
|
+
}] });
|
199
|
+
|
200
|
+
/**
|
201
|
+
* Generated bundle index. Do not edit.
|
202
|
+
*/
|
203
|
+
|
204
|
+
export { AXActionSheetComponent, AXActionSheetModule, AXActionSheetService };
|
205
|
+
//# sourceMappingURL=acorex-components-action-sheet.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-action-sheet.mjs","sources":["../../../../libs/components/action-sheet/src/lib/action-sheet.component.ts","../../../../libs/components/action-sheet/src/lib/action-sheet.component.html","../../../../libs/components/action-sheet/src/lib/action-sheet.service.ts","../../../../libs/components/action-sheet/src/lib/action-sheet.module.ts","../../../../libs/components/action-sheet/src/acorex-components-action-sheet.ts"],"sourcesContent":["import {\n AXClosbaleComponent,\n AXComponentCloseEvent,\n AXFocusableComponent,\n MXBaseComponent,\n} from '@acorex/components/common';\nimport { DIALOG_DATA, DialogRef } from '@angular/cdk/dialog';\nimport {\n CdkPortalOutletAttachedRef,\n ComponentPortal,\n Portal,\n TemplatePortal,\n} from '@angular/cdk/portal';\nimport {\n ChangeDetectionStrategy,\n Component,\n ComponentRef,\n HostListener,\n Inject,\n OnInit,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AXActionSheetData, AXActionSheetItem } from './action-sheet.class';\n\n@Component({\n selector: 'ax-action-sheet',\n templateUrl: './action-sheet.component.html',\n styleUrls: ['./action-sheet.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: AXClosbaleComponent,\n useExisting: AXActionSheetComponent,\n },\n {\n provide: AXFocusableComponent,\n useExisting: AXActionSheetComponent,\n },\n ],\n})\nexport class AXActionSheetComponent extends MXBaseComponent implements OnInit {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n protected _selectedPortal: Portal<any>;\n\n private _componentRef: unknown;\n\n /**\n * @ignore\n */\n constructor(\n @Inject(DIALOG_DATA)\n protected data: AXActionSheetData,\n private dialogRef: DialogRef<AXComponentCloseEvent>\n ) {\n super();\n }\n\n override ngOnInit(): void {\n super.ngOnInit();\n if (this.data.content) {\n if (this.data.content instanceof TemplateRef) {\n this._selectedPortal = new TemplatePortal(\n this.data.content,\n this.getViewContainer(),\n {\n $implicit: this.data,\n ref: this,\n }\n );\n this.cdr.markForCheck();\n } else if (typeof this.data.content === 'function') {\n this._selectedPortal = new ComponentPortal(this.data.content);\n this.cdr.markForCheck();\n }\n }\n }\n\n @HostListener('keydown.escape')\n protected onKeydownHandler() {\n const focusedOrHasFocused = this.getHostElement().matches(':focus-within');\n if (this.data.closeButton && focusedOrHasFocused) {\n this.close();\n }\n }\n\n _handleAttched(ref: CdkPortalOutletAttachedRef) {\n ref = ref as ComponentRef<any>;\n if (ref.instance) {\n this._componentRef = ref.instance;\n Object.assign(this._componentRef, this.data);\n Object.assign(this._componentRef, { _isPopup: true });\n if (ref.instance.onClosed) {\n ref.instance.onClosed.subscribe((e: AXComponentCloseEvent) => {\n this.close();\n });\n }\n }\n }\n\n onItemClick(item: AXActionSheetItem) {\n this.close();\n if (item?.onClick) item.onClick();\n }\n\n close() {\n this.dialogRef.close({\n component: this._componentRef,\n htmlElement: this.getHostElement(),\n data: this.data,\n });\n }\n}\n","@if(data.header){\n<ax-header>\n <ax-prefix>\n <ax-title>{{ data.title | translate | async }}</ax-title>\n\n @if(data.subTitle){\n <ax-sub-title>\n {{ data.subTitle }}\n </ax-sub-title>\n\n }\n </ax-prefix>\n @if(data.closeButton){\n <ax-suffix>\n <ax-close-button></ax-close-button>\n </ax-suffix>\n }\n</ax-header>\n}\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n @for(item of data.items; let i = $index; track i){\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" [tabindex]=\"i\"\n (click)=\"onItemClick(item)\">\n @if(item.icon){\n <span class=\"item-icon\" [class]=\"item.icon\"></span>\n }\n <span class=\"item-text\">{{ item.text | translate | async }}</span>\n </div>\n }\n</div>","import { Dialog } from '@angular/cdk/dialog';\nimport { GlobalPositionStrategy } from '@angular/cdk/overlay';\nimport { Injectable, inject } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { AXActionSheetConfig } from './action-sheet.class';\nimport { AXActionSheetComponent } from './action-sheet.component';\n\nexport interface AXActionSheetDialogRef {\n close(): void;\n closed: Subject<void>;\n}\n\n@Injectable()\nexport class AXActionSheetService {\n private dialog: Dialog = inject(Dialog);\n\n open(config: AXActionSheetConfig): Promise<AXActionSheetDialogRef> {\n const defaultConfig: AXActionSheetConfig = {\n title: 'action-sheet.title',\n closeButton: true,\n closeOnBackdropClick: true,\n header: true,\n };\n config = Object.assign(defaultConfig, config);\n\n const dialogRef = this.dialog.open(AXActionSheetComponent, {\n data: config,\n autoFocus: 'first-tabbable',\n restoreFocus: true,\n role: 'dialog',\n ariaModal: true,\n closeOnNavigation: true,\n closeOnDestroy: true,\n hasBackdrop: true,\n panelClass: ['ax-actionsheet-panel'],\n disableClose: config.closeOnBackdropClick ? false : true,\n positionStrategy: new GlobalPositionStrategy()\n .centerHorizontally()\n .bottom(),\n });\n const promise = new Promise<AXActionSheetDialogRef>((resolve) => {\n const closed = new Subject<void>();\n const axDialogRef: AXActionSheetDialogRef = {\n close: () => {\n dialogRef.close();\n },\n closed,\n };\n dialogRef.closed.subscribe(() => {\n closed.next();\n });\n if (resolve) {\n resolve(axDialogRef);\n }\n });\n return promise;\n }\n}\n","import { AXButtonModule } from '@acorex/components/button';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { DragDropModule } from '@angular/cdk/drag-drop';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { NgModule } from '@angular/core';\n\nimport { AXCommonModule } from '@acorex/components/common';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { DialogModule } from '@angular/cdk/dialog';\nimport { AsyncPipe } from '@angular/common';\nimport { AXActionSheetComponent } from './action-sheet.component';\nimport { AXActionSheetService } from './action-sheet.service';\n\nconst MODULES = [\n AXCommonModule,\n DragDropModule,\n A11yModule,\n AXButtonModule,\n PortalModule,\n AXDecoratorModule,\n AXTranslationModule,\n DialogModule,\n AsyncPipe,\n];\n\n@NgModule({\n declarations: [AXActionSheetComponent],\n imports: [...MODULES],\n exports: [AXActionSheetComponent],\n providers: [AXActionSheetService],\n})\nexport class AXActionSheetModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA0CM,MAAO,sBAAuB,SAAQ,eAAe,CAAA;AAMzD;;AAEG;IACH,WAEY,CAAA,IAAu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ZrC,cAAc;YACd,cAAc;YACd,UAAU;YACV,cAAc;YACd,YAAY;YACZ,iBAAiB;YACjB,mBAAmB;YACnB,YAAY;AACZ,YAAA,SAAS,aAMC,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGrB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAFnB,SAAA,EAAA,CAAC,oBAAoB,CAAC,YAfjC,cAAc;YACd,cAAc;YACd,UAAU;YACV,cAAc;YACd,YAAY;YACZ,iBAAiB;YACjB,mBAAmB;YACnB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAUD,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;oBACrB,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,SAAS,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
|
@@ -0,0 +1,220 @@
|
|
1
|
+
import { AXButtonComponent } from '@acorex/components/button';
|
2
|
+
import { MXColorComponent, AXClosbaleComponent } from '@acorex/components/common';
|
3
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
4
|
+
import { isBrowser } from '@acorex/core/platform';
|
5
|
+
import * as i0 from '@angular/core';
|
6
|
+
import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ContentChild, ContentChildren, Output, HostBinding, Input, NgModule } from '@angular/core';
|
7
|
+
import * as i1 from '@angular/common';
|
8
|
+
import { CommonModule } from '@angular/common';
|
9
|
+
|
10
|
+
/**
|
11
|
+
* Regular description
|
12
|
+
*
|
13
|
+
* @category Components
|
14
|
+
*/
|
15
|
+
class AXAlertComponent extends MXColorComponent {
|
16
|
+
constructor() {
|
17
|
+
super(...arguments);
|
18
|
+
this._showInline = false;
|
19
|
+
this.onClosed = new EventEmitter();
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* @ignore
|
23
|
+
*/
|
24
|
+
get __hostClass() {
|
25
|
+
return `ax-alert ax-none ax-${this.color}-solid`;
|
26
|
+
}
|
27
|
+
get timeOut() {
|
28
|
+
return this._timeOut;
|
29
|
+
}
|
30
|
+
set timeOut(v) {
|
31
|
+
this.setOption({
|
32
|
+
name: 'timeOut',
|
33
|
+
value: v,
|
34
|
+
beforeCallback: (oldValue, newValue) => {
|
35
|
+
clearTimeout(this._timeOutRef);
|
36
|
+
return newValue;
|
37
|
+
},
|
38
|
+
afterCallback: (oldValue, newValue) => {
|
39
|
+
if (newValue) {
|
40
|
+
this._timeOutRef = window.setTimeout(() => {
|
41
|
+
this.close();
|
42
|
+
}, this.timeOut);
|
43
|
+
}
|
44
|
+
},
|
45
|
+
});
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* set the visibility of the Alert
|
49
|
+
*/
|
50
|
+
get visible() {
|
51
|
+
return this._visible;
|
52
|
+
}
|
53
|
+
set visible(v) {
|
54
|
+
if (this._visible != v) {
|
55
|
+
this._visible = v;
|
56
|
+
const host = this.getHostElement();
|
57
|
+
if (v) {
|
58
|
+
host.classList.remove('ax-state-hidden');
|
59
|
+
host.classList.add('ax-state-visible');
|
60
|
+
}
|
61
|
+
else {
|
62
|
+
host.classList.add('ax-state-hidden');
|
63
|
+
host.classList.toggle('ax-state-visible');
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
ngOnInit() {
|
68
|
+
super.ngOnInit();
|
69
|
+
const config = { attributes: false, childList: true, subtree: true };
|
70
|
+
const callback = (mutationList) => {
|
71
|
+
for (const mutation of mutationList) {
|
72
|
+
if (mutation.type === 'childList') {
|
73
|
+
this._setLayout();
|
74
|
+
}
|
75
|
+
}
|
76
|
+
};
|
77
|
+
// Create an observer instance linked to the callback function
|
78
|
+
if (typeof MutationObserver !== 'undefined') {
|
79
|
+
this._observer = new MutationObserver(callback);
|
80
|
+
}
|
81
|
+
// Start observing the target node for configured mutations
|
82
|
+
if (isBrowser()) {
|
83
|
+
this._observer.observe(this.getHostElement(), config);
|
84
|
+
this.onOptionChanged.subscribe(this._handleOnOptionChanged.bind(this));
|
85
|
+
}
|
86
|
+
//
|
87
|
+
}
|
88
|
+
ngAfterViewInit() {
|
89
|
+
if (this.visible == undefined) {
|
90
|
+
this.visible = true;
|
91
|
+
}
|
92
|
+
//
|
93
|
+
this._customIcon = this._iconComp?.icon;
|
94
|
+
this._setLayout();
|
95
|
+
}
|
96
|
+
_setLayout() {
|
97
|
+
this._setIcon();
|
98
|
+
this._applyButtonStyle();
|
99
|
+
this._showInline = this._contentComp == null && this._footerComp == null;
|
100
|
+
this.cdr.markForCheck();
|
101
|
+
}
|
102
|
+
_handleOnOptionChanged() {
|
103
|
+
this._setIcon();
|
104
|
+
this._applyButtonStyle();
|
105
|
+
}
|
106
|
+
_setIcon() {
|
107
|
+
if (!this._iconComp || this._iconComp.getHostElement().firstElementChild)
|
108
|
+
return;
|
109
|
+
switch (this.color) {
|
110
|
+
case 'success':
|
111
|
+
this._iconComp.icon = 'ax-icon ax-icon-check-circle';
|
112
|
+
break;
|
113
|
+
case 'danger':
|
114
|
+
this._iconComp.icon = 'ax-icon ax-icon-error';
|
115
|
+
break;
|
116
|
+
case 'warning':
|
117
|
+
this._iconComp.icon = 'ax-icon ax-icon-warning';
|
118
|
+
break;
|
119
|
+
case 'info':
|
120
|
+
this._iconComp.icon = 'ax-icon ax-icon-info';
|
121
|
+
break;
|
122
|
+
default:
|
123
|
+
this._iconComp.icon = this._customIcon || 'ax-icon ax-icon-check-circle';
|
124
|
+
break;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
_applyButtonStyle() {
|
128
|
+
// this._buttonComps?.forEach((c: AXButtonComponent) => {
|
129
|
+
// c.color = this.color;
|
130
|
+
// c.getHostElement().classList.add('ax-sm');
|
131
|
+
// });
|
132
|
+
}
|
133
|
+
/**
|
134
|
+
* Remove the alert from the container
|
135
|
+
*/
|
136
|
+
close() {
|
137
|
+
const host = this.getHostElement();
|
138
|
+
this.visible = false;
|
139
|
+
const func = () => {
|
140
|
+
if (isBrowser()) {
|
141
|
+
host.parentElement?.removeChild(host);
|
142
|
+
this.onClosed.emit({
|
143
|
+
component: this,
|
144
|
+
});
|
145
|
+
host.removeEventListener('transitionend', func);
|
146
|
+
}
|
147
|
+
};
|
148
|
+
host.addEventListener('transitionend', func);
|
149
|
+
}
|
150
|
+
/**
|
151
|
+
* Hide the alert
|
152
|
+
*/
|
153
|
+
hide() {
|
154
|
+
this.visible = false;
|
155
|
+
}
|
156
|
+
/**
|
157
|
+
* Show the alert
|
158
|
+
*/
|
159
|
+
show() {
|
160
|
+
this.visible = true;
|
161
|
+
}
|
162
|
+
ngOnDestroy() {
|
163
|
+
this._observer?.disconnect();
|
164
|
+
this.onOptionChanged?.unsubscribe();
|
165
|
+
}
|
166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXAlertComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
167
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXAlertComponent, selector: "ax-alert", inputs: { color: "color", timeOut: "timeOut", visible: "visible" }, outputs: { colorChange: "colorChange", onClosed: "onClosed" }, host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], queries: [{ propertyName: "_iconComp", first: true, predicate: ["ax-icon"], descendants: true }, { propertyName: "_titleComp", first: true, predicate: ["ax-title"], descendants: true }, { propertyName: "_contentComp", first: true, predicate: ["ax-content"], descendants: true }, { propertyName: "_footerComp", first: true, predicate: ["ax-footer"], descendants: true }, { propertyName: "_buttonComps", predicate: AXButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (_showInline) {\n <div class=\"ax-alert-inline\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <div class=\"ax-alert-buttons\">\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container>\n </div>\n} @else {\n <div class=\"ax-alert-block\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-content\">\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"footer\"></ng-container>\n </div>\n <div><ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container></div>\n </div>\n}\n\n@if (timeOut) {\n <div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\"></div>\n}\n\n<ng-template #buttons>\n <ng-content select=\"ax-button\"> </ng-content>\n</ng-template>\n<ng-template #closeButton>\n <ng-content select=\"ax-close-button\"> </ng-content>\n</ng-template>\n<ng-template #title>\n <ng-content select=\"ax-title\"> </ng-content>\n</ng-template>\n<ng-template #icon>\n <ng-content select=\"ax-icon\"> </ng-content>\n</ng-template>\n<ng-template #content>\n <ng-content select=\"ax-content\"> </ng-content>\n</ng-template>\n<ng-template #footer>\n <ng-content select=\"ax-footer\"> </ng-content>\n</ng-template>\n", styles: [".ax-dark ax-alert.ax-primary-solid{background-color:rgba(var(--ax-color-primary-900),.25);border-color:rgba(var(--ax-color-primary-500))}.ax-dark ax-alert.ax-primary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-secondary-solid{background-color:rgba(var(--ax-color-secondary-900),.25);border-color:rgba(var(--ax-color-secondary-500))}.ax-dark ax-alert.ax-secondary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-success-solid{background-color:rgba(var(--ax-color-success-900),.25);border-color:rgba(var(--ax-color-success-500))}.ax-dark ax-alert.ax-success-solid .ax-alert-progress{background-color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-warning-solid{background-color:rgba(var(--ax-color-warning-900),.25);border-color:rgba(var(--ax-color-warning-500))}.ax-dark ax-alert.ax-warning-solid .ax-alert-progress{background-color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-danger-solid{background-color:rgba(var(--ax-color-danger-900),.25);border-color:rgba(var(--ax-color-danger-500))}.ax-dark ax-alert.ax-danger-solid .ax-alert-progress{background-color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-info-solid{background-color:rgba(var(--ax-color-info-900),.25);border-color:rgba(var(--ax-color-info-500))}.ax-dark ax-alert.ax-info-solid .ax-alert-progress{background-color:rgba(var(--ax-color-info-fore))}ax-alert{position:relative;display:flex;gap:1rem;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));padding:1rem;font-size:.875rem;line-height:1.25rem}ax-alert .ax-alert-inline{display:flex;flex:1 1 0%;align-items:center;justify-content:center}ax-alert .ax-alert-block{display:flex}ax-alert .ax-alert-block .ax-alert-content{display:flex;flex-direction:column;line-height:1.5}ax-alert .ax-alert-block .ax-alert-content .ax-alert-title:empty{display:none}ax-alert .ax-alert-block .ax-alert-content .ax-alert-title:not(:empty)+ax-content:not(:empty){margin-top:.5rem}ax-alert .ax-alert-block .ax-alert-content ax-footer{margin-top:1rem}ax-alert .ax-alert-icon{display:grid;border-radius:9999px;padding-inline-end:.5rem;font-size:1.125rem;line-height:1.75rem}ax-alert .ax-alert-buttons{padding-inline-start:1rem}ax-alert .ax-alert-title{display:flex;flex:1 1 0%;flex-direction:column}ax-alert .ax-alert-title ax-title{font-size:.875rem;line-height:1.25rem;font-weight:500}ax-alert .ax-alert-progress{position:absolute;bottom:0;inset-inline-start:0px;height:.25rem}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert.ax-primary-solid{background-color:rgba(var(--ax-color-primary-100));border-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-primary-solid ax-title,ax-alert.ax-primary-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-primary-solid .ax-alert-icon{color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-secondary-solid{background-color:rgba(var(--ax-color-secondary-100));border-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-secondary-solid ax-title,ax-alert.ax-secondary-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-secondary-solid .ax-alert-icon{color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-success-solid{background-color:rgba(var(--ax-color-success-100));border-color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-success-solid ax-title,ax-alert.ax-success-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-success-solid .ax-alert-icon{color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-solid .ax-alert-progress{background-color:rgba(var(--ax-color-success-500))}ax-alert.ax-warning-solid{background-color:rgba(var(--ax-color-warning-100));border-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-warning-solid ax-title,ax-alert.ax-warning-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-warning-solid .ax-alert-icon{color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-solid .ax-alert-progress{background-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-danger-solid{background-color:rgba(var(--ax-color-danger-100));border-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-danger-solid ax-title,ax-alert.ax-danger-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-danger-solid .ax-alert-icon{color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-solid .ax-alert-progress{background-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-info-solid{background-color:rgba(var(--ax-color-info-100));border-color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-info-solid ax-title,ax-alert.ax-info-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-info-solid .ax-alert-icon{color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-solid .ax-alert-progress{background-color:rgba(var(--ax-color-info-500))}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
168
|
+
}
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXAlertComponent, decorators: [{
|
170
|
+
type: Component,
|
171
|
+
args: [{ selector: 'ax-alert', inputs: ['color'], outputs: ['colorChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }], template: "@if (_showInline) {\n <div class=\"ax-alert-inline\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <div class=\"ax-alert-buttons\">\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container>\n </div>\n} @else {\n <div class=\"ax-alert-block\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-content\">\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"footer\"></ng-container>\n </div>\n <div><ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container></div>\n </div>\n}\n\n@if (timeOut) {\n <div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\"></div>\n}\n\n<ng-template #buttons>\n <ng-content select=\"ax-button\"> </ng-content>\n</ng-template>\n<ng-template #closeButton>\n <ng-content select=\"ax-close-button\"> </ng-content>\n</ng-template>\n<ng-template #title>\n <ng-content select=\"ax-title\"> </ng-content>\n</ng-template>\n<ng-template #icon>\n <ng-content select=\"ax-icon\"> </ng-content>\n</ng-template>\n<ng-template #content>\n <ng-content select=\"ax-content\"> </ng-content>\n</ng-template>\n<ng-template #footer>\n <ng-content select=\"ax-footer\"> </ng-content>\n</ng-template>\n", styles: [".ax-dark ax-alert.ax-primary-solid{background-color:rgba(var(--ax-color-primary-900),.25);border-color:rgba(var(--ax-color-primary-500))}.ax-dark ax-alert.ax-primary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-alert.ax-secondary-solid{background-color:rgba(var(--ax-color-secondary-900),.25);border-color:rgba(var(--ax-color-secondary-500))}.ax-dark ax-alert.ax-secondary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-alert.ax-success-solid{background-color:rgba(var(--ax-color-success-900),.25);border-color:rgba(var(--ax-color-success-500))}.ax-dark ax-alert.ax-success-solid .ax-alert-progress{background-color:rgba(var(--ax-color-success-fore))}.ax-dark ax-alert.ax-warning-solid{background-color:rgba(var(--ax-color-warning-900),.25);border-color:rgba(var(--ax-color-warning-500))}.ax-dark ax-alert.ax-warning-solid .ax-alert-progress{background-color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-alert.ax-danger-solid{background-color:rgba(var(--ax-color-danger-900),.25);border-color:rgba(var(--ax-color-danger-500))}.ax-dark ax-alert.ax-danger-solid .ax-alert-progress{background-color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-alert.ax-info-solid{background-color:rgba(var(--ax-color-info-900),.25);border-color:rgba(var(--ax-color-info-500))}.ax-dark ax-alert.ax-info-solid .ax-alert-progress{background-color:rgba(var(--ax-color-info-fore))}ax-alert{position:relative;display:flex;gap:1rem;overflow:hidden;border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));padding:1rem;font-size:.875rem;line-height:1.25rem}ax-alert .ax-alert-inline{display:flex;flex:1 1 0%;align-items:center;justify-content:center}ax-alert .ax-alert-block{display:flex}ax-alert .ax-alert-block .ax-alert-content{display:flex;flex-direction:column;line-height:1.5}ax-alert .ax-alert-block .ax-alert-content .ax-alert-title:empty{display:none}ax-alert .ax-alert-block .ax-alert-content .ax-alert-title:not(:empty)+ax-content:not(:empty){margin-top:.5rem}ax-alert .ax-alert-block .ax-alert-content ax-footer{margin-top:1rem}ax-alert .ax-alert-icon{display:grid;border-radius:9999px;padding-inline-end:.5rem;font-size:1.125rem;line-height:1.75rem}ax-alert .ax-alert-buttons{padding-inline-start:1rem}ax-alert .ax-alert-title{display:flex;flex:1 1 0%;flex-direction:column}ax-alert .ax-alert-title ax-title{font-size:.875rem;line-height:1.25rem;font-weight:500}ax-alert .ax-alert-progress{position:absolute;bottom:0;inset-inline-start:0px;height:.25rem}@keyframes progressBar{0%{width:100%}to{width:0%}}ax-alert.ax-primary-solid{background-color:rgba(var(--ax-color-primary-100));border-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-primary-solid ax-title,ax-alert.ax-primary-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-primary-solid .ax-alert-icon{color:rgba(var(--ax-color-primary-500))}ax-alert.ax-primary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-primary-500))}ax-alert.ax-secondary-solid{background-color:rgba(var(--ax-color-secondary-100));border-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-secondary-solid ax-title,ax-alert.ax-secondary-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-secondary-solid .ax-alert-icon{color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-secondary-solid .ax-alert-progress{background-color:rgba(var(--ax-color-secondary-500))}ax-alert.ax-success-solid{background-color:rgba(var(--ax-color-success-100));border-color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-success-solid ax-title,ax-alert.ax-success-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-success-solid .ax-alert-icon{color:rgba(var(--ax-color-success-500))}ax-alert.ax-success-solid .ax-alert-progress{background-color:rgba(var(--ax-color-success-500))}ax-alert.ax-warning-solid{background-color:rgba(var(--ax-color-warning-100));border-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-warning-solid ax-title,ax-alert.ax-warning-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-warning-solid .ax-alert-icon{color:rgba(var(--ax-color-warning-500))}ax-alert.ax-warning-solid .ax-alert-progress{background-color:rgba(var(--ax-color-warning-500))}ax-alert.ax-danger-solid{background-color:rgba(var(--ax-color-danger-100));border-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-danger-solid ax-title,ax-alert.ax-danger-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-danger-solid .ax-alert-icon{color:rgba(var(--ax-color-danger-500))}ax-alert.ax-danger-solid .ax-alert-progress{background-color:rgba(var(--ax-color-danger-500))}ax-alert.ax-info-solid{background-color:rgba(var(--ax-color-info-100));border-color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-solid ax-button[class$=blank]{color:rgb(var(--ax-color-text-default))}ax-alert.ax-info-solid ax-title,ax-alert.ax-info-solid ax-content{color:rgb(var(--ax-color-text-default))}ax-alert.ax-info-solid .ax-alert-icon{color:rgba(var(--ax-color-info-500))}ax-alert.ax-info-solid .ax-alert-progress{background-color:rgba(var(--ax-color-info-500))}\n"] }]
|
172
|
+
}], propDecorators: { _iconComp: [{
|
173
|
+
type: ContentChild,
|
174
|
+
args: ['ax-icon']
|
175
|
+
}], _buttonComps: [{
|
176
|
+
type: ContentChildren,
|
177
|
+
args: [AXButtonComponent, { descendants: true }]
|
178
|
+
}], _titleComp: [{
|
179
|
+
type: ContentChild,
|
180
|
+
args: ['ax-title']
|
181
|
+
}], _contentComp: [{
|
182
|
+
type: ContentChild,
|
183
|
+
args: ['ax-content']
|
184
|
+
}], _footerComp: [{
|
185
|
+
type: ContentChild,
|
186
|
+
args: ['ax-footer']
|
187
|
+
}], onClosed: [{
|
188
|
+
type: Output
|
189
|
+
}], __hostClass: [{
|
190
|
+
type: HostBinding,
|
191
|
+
args: ['class']
|
192
|
+
}], timeOut: [{
|
193
|
+
type: Input
|
194
|
+
}], visible: [{
|
195
|
+
type: Input
|
196
|
+
}] } });
|
197
|
+
|
198
|
+
const COMPONENT = [AXAlertComponent];
|
199
|
+
const MODULES = [CommonModule, AXDecoratorModule];
|
200
|
+
class AXAlertModule {
|
201
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXAlertModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
202
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXAlertModule, declarations: [AXAlertComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXAlertComponent] }); }
|
203
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXAlertModule, imports: [MODULES] }); }
|
204
|
+
}
|
205
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXAlertModule, decorators: [{
|
206
|
+
type: NgModule,
|
207
|
+
args: [{
|
208
|
+
declarations: [...COMPONENT],
|
209
|
+
imports: [...MODULES],
|
210
|
+
exports: [...COMPONENT],
|
211
|
+
providers: [],
|
212
|
+
}]
|
213
|
+
}] });
|
214
|
+
|
215
|
+
/**
|
216
|
+
* Generated bundle index. Do not edit.
|
217
|
+
*/
|
218
|
+
|
219
|
+
export { AXAlertComponent, AXAlertModule };
|
220
|
+
//# sourceMappingURL=acorex-components-alert.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"acorex-components-alert.mjs","sources":["../../../../libs/components/alert/src/lib/alert.component.ts","../../../../libs/components/alert/src/lib/alert.component.html","../../../../libs/components/alert/src/lib/alert.module.ts","../../../../libs/components/alert/src/acorex-components-alert.ts"],"sourcesContent":["import { AXButtonComponent } from '@acorex/components/button';\nimport { AXClosbaleComponent, AXEvent, MXColorComponent } from '@acorex/components/common';\nimport { AXDecoratorGenericComponent, AXDecoratorIconComponent } from '@acorex/components/decorators';\nimport { isBrowser } from '@acorex/core/platform';\n\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n EventEmitter,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Regular description\n *\n * @category Components\n */\n@Component({\n selector: 'ax-alert',\n templateUrl: './alert.component.html',\n styleUrls: ['./alert.component.scss'],\n inputs: ['color'],\n outputs: ['colorChange'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: AXClosbaleComponent, useExisting: AXAlertComponent }],\n})\nexport class AXAlertComponent extends MXColorComponent implements OnInit, AfterViewInit, OnDestroy {\n @ContentChild('ax-icon')\n private _iconComp: AXDecoratorIconComponent;\n\n @ContentChildren(AXButtonComponent, { descendants: true })\n private _buttonComps!: QueryList<AXButtonComponent>;\n\n @ContentChild('ax-title')\n protected _titleComp!: AXDecoratorGenericComponent;\n\n @ContentChild('ax-content')\n protected _contentComp!: AXDecoratorGenericComponent;\n\n @ContentChild('ax-footer')\n protected _footerComp!: AXDecoratorGenericComponent;\n\n protected _showInline = false;\n\n @Output()\n onClosed: EventEmitter<AXEvent> = new EventEmitter<AXEvent>();\n\n private _customIcon: string;\n private _timeOutRef: number;\n\n /**\n * @ignore\n */\n @HostBinding('class')\n get __hostClass(): string {\n return `ax-alert ax-none ax-${this.color}-solid`;\n }\n\n private _timeOut: number;\n @Input()\n public get timeOut(): number {\n return this._timeOut;\n }\n public set timeOut(v: number) {\n this.setOption({\n name: 'timeOut',\n value: v,\n beforeCallback: (oldValue, newValue) => {\n clearTimeout(this._timeOutRef);\n return newValue;\n },\n afterCallback: (oldValue, newValue) => {\n if (newValue) {\n this._timeOutRef = window.setTimeout(() => {\n this.close();\n }, this.timeOut);\n }\n },\n });\n }\n\n private _observer: MutationObserver;\n\n protected _visible: boolean;\n /**\n * set the visibility of the Alert\n */\n @Input()\n public get visible(): boolean {\n return this._visible;\n }\n public set visible(v: boolean) {\n if (this._visible != v) {\n this._visible = v;\n const host = this.getHostElement();\n if (v) {\n host.classList.remove('ax-state-hidden');\n host.classList.add('ax-state-visible');\n } else {\n host.classList.add('ax-state-hidden');\n host.classList.toggle('ax-state-visible');\n }\n }\n }\n\n override ngOnInit() {\n super.ngOnInit();\n const config = { attributes: false, childList: true, subtree: true };\n const callback = (mutationList) => {\n for (const mutation of mutationList) {\n if (mutation.type === 'childList') {\n this._setLayout();\n }\n }\n };\n\n // Create an observer instance linked to the callback function\n if (typeof MutationObserver !== 'undefined') {\n this._observer = new MutationObserver(callback);\n }\n\n // Start observing the target node for configured mutations\n if (isBrowser()) {\n this._observer.observe(this.getHostElement(), config);\n this.onOptionChanged.subscribe(this._handleOnOptionChanged.bind(this));\n }\n //\n }\n\n ngAfterViewInit() {\n if (this.visible == undefined) {\n this.visible = true;\n }\n //\n this._customIcon = this._iconComp?.icon;\n this._setLayout();\n }\n\n private _setLayout() {\n this._setIcon();\n this._applyButtonStyle();\n this._showInline = this._contentComp == null && this._footerComp == null;\n this.cdr.markForCheck();\n }\n\n protected _handleOnOptionChanged() {\n this._setIcon();\n this._applyButtonStyle();\n }\n\n private _setIcon() {\n if (!this._iconComp || this._iconComp.getHostElement().firstElementChild) return;\n\n switch (this.color) {\n case 'success':\n this._iconComp.icon = 'ax-icon ax-icon-check-circle';\n break;\n case 'danger':\n this._iconComp.icon = 'ax-icon ax-icon-error';\n break;\n case 'warning':\n this._iconComp.icon = 'ax-icon ax-icon-warning';\n break;\n case 'info':\n this._iconComp.icon = 'ax-icon ax-icon-info';\n break;\n default:\n this._iconComp.icon = this._customIcon || 'ax-icon ax-icon-check-circle';\n break;\n }\n }\n\n private _applyButtonStyle() {\n // this._buttonComps?.forEach((c: AXButtonComponent) => {\n // c.color = this.color;\n // c.getHostElement().classList.add('ax-sm');\n // });\n }\n\n /**\n * Remove the alert from the container\n */\n close(): void {\n const host = this.getHostElement();\n this.visible = false;\n const func = () => {\n if (isBrowser()) {\n host.parentElement?.removeChild(host);\n this.onClosed.emit({\n component: this,\n });\n host.removeEventListener('transitionend', func);\n }\n };\n host.addEventListener('transitionend', func);\n }\n\n /**\n * Hide the alert\n */\n hide(): void {\n this.visible = false;\n }\n\n /**\n * Show the alert\n */\n show() {\n this.visible = true;\n }\n\n ngOnDestroy(): void {\n this._observer?.disconnect();\n this.onOptionChanged?.unsubscribe();\n }\n}\n","@if (_showInline) {\n <div class=\"ax-alert-inline\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <div class=\"ax-alert-buttons\">\n <ng-container [ngTemplateOutlet]=\"buttons\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container>\n </div>\n} @else {\n <div class=\"ax-alert-block\">\n <div class=\"ax-alert-icon ax-icon-solid\">\n <ng-container [ngTemplateOutlet]=\"icon\"></ng-container>\n </div>\n <div class=\"ax-alert-content\">\n <div class=\"ax-alert-title\">\n <ng-container [ngTemplateOutlet]=\"title\"></ng-container>\n </div>\n <ng-container [ngTemplateOutlet]=\"content\"></ng-container>\n <ng-container [ngTemplateOutlet]=\"footer\"></ng-container>\n </div>\n <div><ng-container [ngTemplateOutlet]=\"closeButton\"></ng-container></div>\n </div>\n}\n\n@if (timeOut) {\n <div class=\"ax-alert-progress\" [style.animation-duration.ms]=\"timeOut\"></div>\n}\n\n<ng-template #buttons>\n <ng-content select=\"ax-button\"> </ng-content>\n</ng-template>\n<ng-template #closeButton>\n <ng-content select=\"ax-close-button\"> </ng-content>\n</ng-template>\n<ng-template #title>\n <ng-content select=\"ax-title\"> </ng-content>\n</ng-template>\n<ng-template #icon>\n <ng-content select=\"ax-icon\"> </ng-content>\n</ng-template>\n<ng-template #content>\n <ng-content select=\"ax-content\"> </ng-content>\n</ng-template>\n<ng-template #footer>\n <ng-content select=\"ax-footer\"> </ng-content>\n</ng-template>\n","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXAlertComponent } from './alert.component';\n\nconst COMPONENT = [AXAlertComponent];\nconst MODULES = [CommonModule, AXDecoratorModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXAlertModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAqBA;;;;AAIG;AAWG,MAAO,gBAAiB,SAAQ,gBAAgB,CAAA;AAVtD,IAAA,WAAA,GAAA;;QA0BY,IAAW,CAAA,WAAA,GAAG,KAAK,CAAC;AAG9B,QAAA,IAAA,CAAA,QAAQ,GAA0B,IAAI,YAAY,EAAW,CAAC;AA0K/D,KAAA;AArKC;;AAEG;AACH,IAAA,IACI,WAAW,GAAA;AACb,QAAA,OAAO,CAAuB,oBAAA,EAAA,IAAI,CAAC,KAAK,QAAQ,CAAC;KAClD;AAGD,IAAA,IACW,OAAO,GAAA;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;KACtB;IACD,IAAW,OAAO,CAAC,CAAS,EAAA;QAC1B,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,SAAS;AACf,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,cAAc,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAI;AACrC,gBAAA,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC/B,gBAAA,OAAO,QAAQ,CAAC;aACjB;AACD,YAAA,aAAa,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAI;gBACpC,IAAI,QAAQ,EAAE;oBACZ,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC,MAAK;wBACxC,IAAI,CAAC,KAAK,EAAE,CAAC;AACf,qBAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;iBAClB;aACF;AACF,SAAA,CAAC,CAAC;KACJ;AAKD;;AAEG;A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