@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
@@ -1,68 +0,0 @@
|
|
1
|
-
import { Component, Input, ElementRef, ViewChild, Output, EventEmitter } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
import * as i1 from "@angular/common";
|
4
|
-
export class AXContextMenuComponent {
|
5
|
-
container;
|
6
|
-
size = 'md';
|
7
|
-
width;
|
8
|
-
items = [];
|
9
|
-
onItemClick = new EventEmitter();
|
10
|
-
onClosed = new EventEmitter();
|
11
|
-
contex;
|
12
|
-
show = false;
|
13
|
-
constructor(container) {
|
14
|
-
this.container = container;
|
15
|
-
}
|
16
|
-
ngAfterViewInit() {
|
17
|
-
}
|
18
|
-
close() {
|
19
|
-
this.show = false;
|
20
|
-
this.onClosed.emit({
|
21
|
-
component: this
|
22
|
-
});
|
23
|
-
}
|
24
|
-
open(_left, _top, _rtl = false) {
|
25
|
-
this.show = true;
|
26
|
-
setTimeout(() => {
|
27
|
-
const containRec = this.container.nativeElement.getBoundingClientRect();
|
28
|
-
let left = _rtl === false ? _left : _left - containRec.width;
|
29
|
-
let top = _top;
|
30
|
-
if (_rtl === false && _left + containRec.width > window.innerWidth) {
|
31
|
-
left = window.innerWidth - containRec.width;
|
32
|
-
}
|
33
|
-
else if (_rtl === true && _left - containRec.width < 0) {
|
34
|
-
left = 0;
|
35
|
-
}
|
36
|
-
if (top + containRec.height > window.innerHeight) {
|
37
|
-
top = _top - containRec.height;
|
38
|
-
}
|
39
|
-
this.container.nativeElement.style.left = left + 'px';
|
40
|
-
this.container.nativeElement.style.top = top + 'px';
|
41
|
-
}, 5);
|
42
|
-
}
|
43
|
-
handleClickItem(item) {
|
44
|
-
if (!item.disable || item.disable === undefined) {
|
45
|
-
this.onItemClick.emit(item);
|
46
|
-
}
|
47
|
-
}
|
48
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
49
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXContextMenuComponent, selector: "ax-context-menu", inputs: { size: "size", width: "width", items: "items" }, outputs: { onItemClick: "onItemClick", onClosed: "onClosed" }, host: { classAttribute: "ax context-menu-container" }, viewQueries: [{ propertyName: "contex", first: true, predicate: ["contex"], descendants: true }], ngImport: i0, template: "<!-- <ul class=\"ax context-menu {{size}}\" [style.width.px]=\"width\">\n <ng-container *ngFor=\"let item of items\">\n <li class=\"context-menu-item\" [class.divider]=\"item.divider\" [class.disabled]=\"item.disable\">\n <div class=\"startIcon\">\n <i class=\"{{item.icon}}\"></i>\n <i class=\"{{item.startIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n </div>\n <span>{{item.text}}</span>\n\n <div class=\"endIcon\">\n <i class=\"{{item.endIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n <i class=\"far fa-angle-left ax-menu-item-drop-icon\"></i>\n </div>\n </li>\n </ng-container>\n\n</ul> -->\n\n<ul #contex class=\"ax context-menu {{size}}\" [style.width.px]=\"width\"\n [ngClass]=\"{'animate__animated animate__faster animate__fadeIn': show}\">\n <ng-container *ngTemplateOutlet=\"recursiveContextMenu; context:{ $implicit: items }\"></ng-container>\n</ul>\n\n<ng-template #recursiveContextMenu let-items>\n <li *ngFor=\"let item of items\" class=\"context-menu-item\" [class.divider]=\"item.divider\"\n [class.disabled]=\"item.disable\" (click)=\"handleClickItem(item)\">\n <div class=\"startIcon\">\n <i class=\"{{item.icon}}\"></i>\n <i class=\"{{item.startIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n </div>\n <span>{{item.text}}</span>\n\n <div class=\"endIcon\">\n <i class=\"{{item.endIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n <i class=\"far fa-angle-left ax-menu-item-drop-icon\" *ngIf=\"item.items?.length > 0\"></i>\n </div>\n <ul class=\"ax context-menu child\" *ngIf=\"item.items?.length > 0\">\n <ng-container *ngTemplateOutlet=\"recursiveContextMenu; context:{ $implicit: item.items }\">\n </ng-container>\n </ul>\n </li>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
50
|
-
}
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuComponent, decorators: [{
|
52
|
-
type: Component,
|
53
|
-
args: [{ selector: 'ax-context-menu', host: { class: 'ax context-menu-container' }, template: "<!-- <ul class=\"ax context-menu {{size}}\" [style.width.px]=\"width\">\n <ng-container *ngFor=\"let item of items\">\n <li class=\"context-menu-item\" [class.divider]=\"item.divider\" [class.disabled]=\"item.disable\">\n <div class=\"startIcon\">\n <i class=\"{{item.icon}}\"></i>\n <i class=\"{{item.startIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n </div>\n <span>{{item.text}}</span>\n\n <div class=\"endIcon\">\n <i class=\"{{item.endIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n <i class=\"far fa-angle-left ax-menu-item-drop-icon\"></i>\n </div>\n </li>\n </ng-container>\n\n</ul> -->\n\n<ul #contex class=\"ax context-menu {{size}}\" [style.width.px]=\"width\"\n [ngClass]=\"{'animate__animated animate__faster animate__fadeIn': show}\">\n <ng-container *ngTemplateOutlet=\"recursiveContextMenu; context:{ $implicit: items }\"></ng-container>\n</ul>\n\n<ng-template #recursiveContextMenu let-items>\n <li *ngFor=\"let item of items\" class=\"context-menu-item\" [class.divider]=\"item.divider\"\n [class.disabled]=\"item.disable\" (click)=\"handleClickItem(item)\">\n <div class=\"startIcon\">\n <i class=\"{{item.icon}}\"></i>\n <i class=\"{{item.startIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n </div>\n <span>{{item.text}}</span>\n\n <div class=\"endIcon\">\n <i class=\"{{item.endIcon}}\" *ngIf=\"!item.icon && item.startIcon\"></i>\n <i class=\"far fa-angle-left ax-menu-item-drop-icon\" *ngIf=\"item.items?.length > 0\"></i>\n </div>\n <ul class=\"ax context-menu child\" *ngIf=\"item.items?.length > 0\">\n <ng-container *ngTemplateOutlet=\"recursiveContextMenu; context:{ $implicit: item.items }\">\n </ng-container>\n </ul>\n </li>\n</ng-template>" }]
|
54
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { size: [{
|
55
|
-
type: Input
|
56
|
-
}], width: [{
|
57
|
-
type: Input
|
58
|
-
}], items: [{
|
59
|
-
type: Input
|
60
|
-
}], onItemClick: [{
|
61
|
-
type: Output
|
62
|
-
}], onClosed: [{
|
63
|
-
type: Output
|
64
|
-
}], contex: [{
|
65
|
-
type: ViewChild,
|
66
|
-
args: ['contex']
|
67
|
-
}] } });
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2NvbnRleHQtbWVudS9jb250ZXh0LW1lbnUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3NyYy9saWIvY29udGV4dC1tZW51L2NvbnRleHQtbWVudS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUF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jwvbmctdGVtcGxhdGU+Il19
|
@@ -1,146 +0,0 @@
|
|
1
|
-
import { Directive, ElementRef, HostListener, Input, Output, EventEmitter, ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';
|
2
|
-
import { AXBaseEvent } from '../base/events.class';
|
3
|
-
import { AXContextMenuComponent } from './context-menu.component';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export class AXContextMenuItemClickEvent extends AXBaseEvent {
|
6
|
-
dataItem;
|
7
|
-
menuItem;
|
8
|
-
}
|
9
|
-
export class AXContextMenuDirective {
|
10
|
-
ref;
|
11
|
-
factoryResolver;
|
12
|
-
viewContainerRef;
|
13
|
-
injector;
|
14
|
-
contextMenu;
|
15
|
-
contextDataItem;
|
16
|
-
contextMenuItems;
|
17
|
-
onContextMenuItemClick = new EventEmitter();
|
18
|
-
rtl = false;
|
19
|
-
internalItems = [];
|
20
|
-
clickSubscribe;
|
21
|
-
closeSubscribe;
|
22
|
-
onContextMenu(e) {
|
23
|
-
this.getMenuItems().then(items => {
|
24
|
-
e.stopPropagation();
|
25
|
-
e.preventDefault();
|
26
|
-
this.createContextMenu();
|
27
|
-
this.contextMenu.items = items;
|
28
|
-
this.contextMenu.open(e.x, e.y, this.rtl);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
constructor(ref, factoryResolver, viewContainerRef, injector) {
|
32
|
-
this.ref = ref;
|
33
|
-
this.factoryResolver = factoryResolver;
|
34
|
-
this.viewContainerRef = viewContainerRef;
|
35
|
-
this.injector = injector;
|
36
|
-
}
|
37
|
-
ngOnInit() {
|
38
|
-
if (this.rtl == null) {
|
39
|
-
this.rtl = window.getComputedStyle(this.ref.nativeElement, null).getPropertyValue('direction') === 'rtl';
|
40
|
-
}
|
41
|
-
}
|
42
|
-
createContextMenu() {
|
43
|
-
const wrapper = document.createElement('div');
|
44
|
-
wrapper.classList.add('ax-overlay-wrapper');
|
45
|
-
wrapper.addEventListener('click', this.wrapperClick.bind(this));
|
46
|
-
wrapper.addEventListener('contextmenu', this.wrapperRClick.bind(this));
|
47
|
-
//
|
48
|
-
document.body.appendChild(wrapper);
|
49
|
-
const factory = this.factoryResolver.resolveComponentFactory(AXContextMenuComponent);
|
50
|
-
const componentRef = this.viewContainerRef.createComponent(factory);
|
51
|
-
this.contextMenu = componentRef.instance;
|
52
|
-
wrapper.appendChild(componentRef.location.nativeElement);
|
53
|
-
//
|
54
|
-
this.clearComponentSubscriptions();
|
55
|
-
this.createComponentSubscriptions();
|
56
|
-
}
|
57
|
-
wrapperClick(e) {
|
58
|
-
this.remove();
|
59
|
-
}
|
60
|
-
wrapperRClick(e) {
|
61
|
-
if (document.elementsFromPoint(e.clientX, e.clientY).includes(this.ref.nativeElement)) {
|
62
|
-
e.stopPropagation();
|
63
|
-
e.preventDefault();
|
64
|
-
this.contextMenu.open(e.x, e.y, this.rtl);
|
65
|
-
}
|
66
|
-
else {
|
67
|
-
e.preventDefault();
|
68
|
-
this.remove();
|
69
|
-
}
|
70
|
-
}
|
71
|
-
clearComponentSubscriptions() {
|
72
|
-
if (this.clickSubscribe) {
|
73
|
-
this.clickSubscribe.unsubscribe();
|
74
|
-
this.clickSubscribe = undefined;
|
75
|
-
}
|
76
|
-
if (this.closeSubscribe) {
|
77
|
-
this.closeSubscribe.unsubscribe();
|
78
|
-
this.closeSubscribe = undefined;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
createComponentSubscriptions() {
|
82
|
-
this.clickSubscribe = this.contextMenu.onItemClick.subscribe(c => {
|
83
|
-
this.remove();
|
84
|
-
this.onContextMenuItemClick.emit({
|
85
|
-
component: this,
|
86
|
-
dataItem: this.contextDataItem,
|
87
|
-
htmlElement: this.ref.nativeElement,
|
88
|
-
menuItem: c
|
89
|
-
});
|
90
|
-
});
|
91
|
-
this.closeSubscribe = this.contextMenu.onClosed.subscribe(c => {
|
92
|
-
this.clearComponentSubscriptions();
|
93
|
-
});
|
94
|
-
}
|
95
|
-
remove() {
|
96
|
-
this.viewContainerRef.clear();
|
97
|
-
this.clearComponentSubscriptions();
|
98
|
-
document.querySelector('.ax-overlay-wrapper')?.remove();
|
99
|
-
}
|
100
|
-
getMenuItems() {
|
101
|
-
return new Promise((resolve, reject) => {
|
102
|
-
if (typeof (this.contextMenuItems) === 'function') {
|
103
|
-
const val = this.contextMenuItems(this.contextDataItem);
|
104
|
-
if (val instanceof Promise) {
|
105
|
-
val.then(_data => {
|
106
|
-
resolve(_data);
|
107
|
-
});
|
108
|
-
}
|
109
|
-
else {
|
110
|
-
resolve(val);
|
111
|
-
}
|
112
|
-
}
|
113
|
-
else if (Array.isArray(this.contextMenuItems)) {
|
114
|
-
resolve(this.contextMenuItems);
|
115
|
-
}
|
116
|
-
else {
|
117
|
-
resolve([]);
|
118
|
-
}
|
119
|
-
});
|
120
|
-
}
|
121
|
-
ngOnDestroy() {
|
122
|
-
this.clearComponentSubscriptions();
|
123
|
-
}
|
124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuDirective, deps: [{ token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AXContextMenuDirective, selector: "[axContextMenu]", inputs: { contextMenu: "contextMenu", contextDataItem: "contextDataItem", contextMenuItems: "contextMenuItems", rtl: "rtl" }, outputs: { onContextMenuItemClick: "onContextMenuItemClick" }, host: { listeners: { "contextmenu": "onContextMenu($event)" } }, ngImport: i0 });
|
126
|
-
}
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuDirective, decorators: [{
|
128
|
-
type: Directive,
|
129
|
-
args: [{
|
130
|
-
selector: '[axContextMenu]'
|
131
|
-
}]
|
132
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { contextMenu: [{
|
133
|
-
type: Input
|
134
|
-
}], contextDataItem: [{
|
135
|
-
type: Input
|
136
|
-
}], contextMenuItems: [{
|
137
|
-
type: Input
|
138
|
-
}], onContextMenuItemClick: [{
|
139
|
-
type: Output
|
140
|
-
}], rtl: [{
|
141
|
-
type: Input
|
142
|
-
}], onContextMenu: [{
|
143
|
-
type: HostListener,
|
144
|
-
args: ['contextmenu', ['$event']]
|
145
|
-
}] } });
|
146
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dC1tZW51LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zcmMvbGliL2NvbnRleHQtbWVudS9jb250ZXh0LW1lbnUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSx3QkFBd0IsRUFBRSxRQUFRLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdkosT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQUtsRSxNQUFNLE9BQU8sMkJBQTRCLFNBQVEsV0FBVztJQUMxRCxRQUFRLENBQU87SUFDZixRQUFRLENBQWE7Q0FDdEI7QUFLRCxNQUFNLE9BQU8sc0JBQXNCO0lBdUN2QjtJQUNBO0lBQ0E7SUFDQTtJQXhDVixXQUFXLENBQXlCO0lBR3BDLGVBQWUsQ0FBTTtJQUdyQixnQkFBZ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odmFsKTtcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIGlmIChBcnJheS5pc0FycmF5KHRoaXMuY29udGV4dE1lbnVJdGVtcykpIHtcbiAgICAgICAgcmVzb2x2ZSh0aGlzLmNvbnRleHRNZW51SXRlbXMpO1xuICAgICAgfVxuICAgICAgZWxzZSB7XG4gICAgICAgIHJlc29sdmUoW10pO1xuICAgICAgfVxuICAgIH0pO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgdGhpcy5jbGVhckNvbXBvbmVudFN1YnNjcmlwdGlvbnMoKTtcbiAgfVxufVxuIl19
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { AXContextMenuComponent } from './context-menu.component';
|
4
|
-
import { AXContextMenuDirective } from './context-menu.directive';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
export class AXContextMenuModule {
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
8
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuModule, declarations: [AXContextMenuComponent, AXContextMenuDirective], imports: [CommonModule], exports: [AXContextMenuComponent, AXContextMenuDirective] });
|
9
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuModule, imports: [CommonModule] });
|
10
|
-
}
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXContextMenuModule, decorators: [{
|
12
|
-
type: NgModule,
|
13
|
-
args: [{
|
14
|
-
declarations: [AXContextMenuComponent, AXContextMenuDirective],
|
15
|
-
imports: [CommonModule],
|
16
|
-
exports: [AXContextMenuComponent, AXCont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yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQVhDb250ZXh0TWVudUNvbXBvbmVudCB9IGZyb20gJy4vY29udGV4dC1tZW51LmNvbXBvbmVudCc7XG5pbXBvcnQgeyBBWENvbnRleHRNZW51RGlyZWN0aXZlIH0gZnJvbSAnLi9jb250ZXh0LW1lbnUuZGlyZWN0aXZlJztcblxuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW0FYQ29udGV4dE1lbnVDb21wb25lbnQsIEFYQ29udGV4dE1lbnVEaXJlY3RpdmVdLFxuICAgIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICAgIGV4cG9ydHM6IFtBWENvbnRleHRNZW51Q29tcG9uZW50LCBBWENvbnRleHRNZW51RGlyZWN0aXZlXSxcbiAgICBwcm92aWRlcnM6IFtdLFxufSlcbmV4cG9ydCBjbGFzcyBBWENvbnRleHRNZW51TW9kdWxlIHtcblxufSJdfQ==
|
@@ -1,140 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild } from '@angular/core';
|
2
|
-
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
-
import { AXDateTime } from '@acorex/core';
|
4
|
-
import { AXSelectionListComponent } from '../../selection-list/selection-list.component';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "../../date-picker/date-picker.component";
|
7
|
-
import * as i2 from "../../selection-list/selection-list.component";
|
8
|
-
export class AXFilterColumnDateComponent extends AXFilterColumnComponent {
|
9
|
-
cdr;
|
10
|
-
selection;
|
11
|
-
items = [
|
12
|
-
{
|
13
|
-
text: 'Today',
|
14
|
-
value: 'today'
|
15
|
-
},
|
16
|
-
{
|
17
|
-
text: 'This Week',
|
18
|
-
value: 'this-week'
|
19
|
-
},
|
20
|
-
{
|
21
|
-
text: 'This Month',
|
22
|
-
value: 'this-month'
|
23
|
-
},
|
24
|
-
{
|
25
|
-
text: 'This Year',
|
26
|
-
value: 'this-year'
|
27
|
-
},
|
28
|
-
{
|
29
|
-
text: 'Specific',
|
30
|
-
value: 'specific'
|
31
|
-
},
|
32
|
-
{
|
33
|
-
text: 'Range',
|
34
|
-
value: 'range'
|
35
|
-
}
|
36
|
-
];
|
37
|
-
fromDate = new AXDateTime();
|
38
|
-
toDate = new AXDateTime();
|
39
|
-
selectedItem = null;
|
40
|
-
showCustom = false;
|
41
|
-
showSpecific = false;
|
42
|
-
constructor(cdr) {
|
43
|
-
super(cdr);
|
44
|
-
this.cdr = cdr;
|
45
|
-
}
|
46
|
-
ngAfterViewInit() {
|
47
|
-
this.selection.selectedItems = [this.items[0]];
|
48
|
-
}
|
49
|
-
dateChange(e) {
|
50
|
-
this.valueChange.emit();
|
51
|
-
}
|
52
|
-
onSelectedChanged(items) {
|
53
|
-
this.selectedItem = items[0];
|
54
|
-
this.showCustom = this.selectedItem && this.selectedItem.value == 'range';
|
55
|
-
this.showSpecific = this.selectedItem && this.selectedItem.value == 'specific';
|
56
|
-
this.cdr.detectChanges();
|
57
|
-
this.valueChange.emit();
|
58
|
-
}
|
59
|
-
get condition() {
|
60
|
-
let today = new AXDateTime();
|
61
|
-
switch (this.selectedItem.value) {
|
62
|
-
case 'today':
|
63
|
-
this.fromDate = this.toDate = today;
|
64
|
-
return {
|
65
|
-
condition: 'equal',
|
66
|
-
field: this.field,
|
67
|
-
dataType: 'date',
|
68
|
-
value: this.fromDate.toISOString()
|
69
|
-
};
|
70
|
-
case 'specific':
|
71
|
-
return {
|
72
|
-
condition: 'equal',
|
73
|
-
field: this.field,
|
74
|
-
dataType: 'date',
|
75
|
-
value: this.fromDate.toISOString()
|
76
|
-
};
|
77
|
-
case 'this-week':
|
78
|
-
this.toDate = today.endOf('week');
|
79
|
-
this.fromDate = today.startOf('week');
|
80
|
-
break;
|
81
|
-
case 'this-month':
|
82
|
-
this.toDate = today.endOf('month');
|
83
|
-
this.fromDate = today.startOf('month');
|
84
|
-
break;
|
85
|
-
case 'this-year':
|
86
|
-
this.toDate = today.endOf('year');
|
87
|
-
this.fromDate = today.startOf('year');
|
88
|
-
break;
|
89
|
-
}
|
90
|
-
return {
|
91
|
-
condition: 'between',
|
92
|
-
field: this.field,
|
93
|
-
dataType: 'date',
|
94
|
-
value: [this.fromDate.toISOString(), this.toDate.toISOString()]
|
95
|
-
};
|
96
|
-
}
|
97
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXFilterColumnDateComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
98
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXFilterColumnDateComponent, selector: "ax-filter-column-date", providers: [
|
99
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnDateComponent }
|
100
|
-
], viewQueries: [{ propertyName: "selection", first: true, predicate: AXSelectionListComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
101
|
-
<div class="ax-filter-section">
|
102
|
-
<ax-selection-list [items]="items" mode="single" direction="vertical" (selectedItemsChange)="onSelectedChanged($event)">
|
103
|
-
</ax-selection-list>
|
104
|
-
</div>
|
105
|
-
<div class="ax-filter-section-value" [hidden]="!showCustom">
|
106
|
-
<ax-date-picker label="From" [(value)]="fromDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
107
|
-
<ax-date-picker label="To" [(value)]="toDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
108
|
-
</div>
|
109
|
-
<div class="ax-filter-section-value" [hidden]="!showSpecific">
|
110
|
-
<ax-date-picker label="Date" [(value)]="fromDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
111
|
-
</div>
|
112
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1.AXDatePickerComponent, selector: "ax-date-picker", inputs: ["dayStyle", "dayMinMaxResoan", "validation", "placeholder", "min", "max", "readonly", "disabled", "allowClear", "textAlign", "showToday", "selectableHoliday", "dateType", "showTodayButton", "openByClick", "size", "type", "value"], outputs: ["typeChange", "onValueChanged", "valueChange"] }, { kind: "component", type: i2.AXSelectionListComponent, selector: "ax-selection-list", inputs: ["readonly", "value", "disabled", "size", "direction", "items", "mode", "textField", "valueField", "selectedItems", "selectedValues"], outputs: ["selectionChanged", "selectedItemsChange", "selectedValuesChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
113
|
-
}
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXFilterColumnDateComponent, decorators: [{
|
115
|
-
type: Component,
|
116
|
-
args: [{
|
117
|
-
selector: 'ax-filter-column-date',
|
118
|
-
template: `
|
119
|
-
<div class="ax-filter-section">
|
120
|
-
<ax-selection-list [items]="items" mode="single" direction="vertical" (selectedItemsChange)="onSelectedChanged($event)">
|
121
|
-
</ax-selection-list>
|
122
|
-
</div>
|
123
|
-
<div class="ax-filter-section-value" [hidden]="!showCustom">
|
124
|
-
<ax-date-picker label="From" [(value)]="fromDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
125
|
-
<ax-date-picker label="To" [(value)]="toDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
126
|
-
</div>
|
127
|
-
<div class="ax-filter-section-value" [hidden]="!showSpecific">
|
128
|
-
<ax-date-picker label="Date" [(value)]="fromDate" (onValueChanged)="dateChange($event)"></ax-date-picker>
|
129
|
-
</div>
|
130
|
-
`,
|
131
|
-
providers: [
|
132
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnDateComponent }
|
133
|
-
],
|
134
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
135
|
-
}]
|
136
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selection: [{
|
137
|
-
type: ViewChild,
|
138
|
-
args: [AXSelectionListComponent, { static: true }]
|
139
|
-
}]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AgICAgICAgIGNvbmRpdGlvbjogJ2VxdWFsJyxcbiAgICAgICAgICAgICAgICAgICAgZmllbGQ6IHRoaXMuZmllbGQsXG4gICAgICAgICAgICAgICAgICAgIGRhdGFUeXBlOiAnZGF0ZScsXG4gICAgICAgICAgICAgICAgICAgIHZhbHVlOiB0aGlzLmZyb21EYXRlLnRvSVNPU3RyaW5nKClcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICBjYXNlICd0aGlzLXdlZWsnOlxuICAgICAgICAgICAgICAgIHRoaXMudG9EYXRlID0gdG9kYXkuZW5kT2YoJ3dlZWsnKTtcbiAgICAgICAgICAgICAgICB0aGlzLmZyb21EYXRlID0gdG9kYXkuc3RhcnRPZignd2VlaycpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAndGhpcy1tb250aCc6XG4gICAgICAgICAgICAgICAgdGhpcy50b0RhdGUgPSB0b2RheS5lbmRPZignbW9udGgnKVxuICAgICAgICAgICAgICAgIHRoaXMuZnJvbURhdGUgPSB0b2RheS5zdGFydE9mKCdtb250aCcpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAndGhpcy15ZWFyJzpcbiAgICAgICAgICAgICAgICB0aGlzLnRvRGF0ZSA9IHRvZGF5LmVuZE9mKCd5ZWFyJylcbiAgICAgICAgICAgICAgICB0aGlzLmZyb21EYXRlID0gdG9kYXkuc3RhcnRPZigneWVhcicpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIGNvbmRpdGlvbjogJ2JldHdlZW4nLFxuICAgICAgICAgICAgZmllbGQ6IHRoaXMuZmllbGQsXG4gICAgICAgICAgICBkYXRhVHlwZTogJ2RhdGUnLFxuICAgICAgICAgICAgdmFsdWU6IFt0aGlzLmZyb21EYXRlLnRvSVNPU3RyaW5nKCksIHRoaXMudG9EYXRlLnRvSVNPU3RyaW5nKCldXG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
@@ -1,119 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectorRef } from '@angular/core';
|
2
|
-
import { AXFilterColumnComponent } from '../filter.class';
|
3
|
-
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
4
|
-
import { Observable } from 'rxjs';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@angular/common";
|
7
|
-
import * as i2 from "@angular/forms";
|
8
|
-
import * as i3 from "../../textbox/textbox.component";
|
9
|
-
export class AXFilterColumnNumberComponent extends AXFilterColumnComponent {
|
10
|
-
cdr;
|
11
|
-
operator = 'equal';
|
12
|
-
operators = [
|
13
|
-
{
|
14
|
-
title: 'is',
|
15
|
-
value: 'equal'
|
16
|
-
},
|
17
|
-
{
|
18
|
-
title: `isn't`,
|
19
|
-
value: 'not-equal'
|
20
|
-
},
|
21
|
-
{
|
22
|
-
title: 'less than',
|
23
|
-
value: 'less-than'
|
24
|
-
},
|
25
|
-
{
|
26
|
-
title: 'less than or equal',
|
27
|
-
value: 'less-than-equal'
|
28
|
-
},
|
29
|
-
{
|
30
|
-
title: 'greater than',
|
31
|
-
value: 'greater-than'
|
32
|
-
},
|
33
|
-
{
|
34
|
-
title: 'greater than or equal',
|
35
|
-
value: 'greater-than-equal'
|
36
|
-
},
|
37
|
-
{
|
38
|
-
title: 'is empty',
|
39
|
-
value: 'is-empty'
|
40
|
-
},
|
41
|
-
{
|
42
|
-
title: `isn't empty`,
|
43
|
-
value: 'is-not-empty'
|
44
|
-
}
|
45
|
-
];
|
46
|
-
constructor(cdr) {
|
47
|
-
super(cdr);
|
48
|
-
this.cdr = cdr;
|
49
|
-
}
|
50
|
-
searchChangeObserver;
|
51
|
-
onOperatorChange(e) {
|
52
|
-
this.valueChange.emit();
|
53
|
-
}
|
54
|
-
onTextChange(e) {
|
55
|
-
// TODO: Check this method work correctly
|
56
|
-
if (!this.searchChangeObserver) {
|
57
|
-
return new Observable(observer => {
|
58
|
-
this.searchChangeObserver = observer;
|
59
|
-
})
|
60
|
-
.pipe(debounceTime(500))
|
61
|
-
.pipe(distinctUntilChanged())
|
62
|
-
.subscribe(c => {
|
63
|
-
this.valueChange.emit();
|
64
|
-
});
|
65
|
-
}
|
66
|
-
this.searchChangeObserver.next(e);
|
67
|
-
}
|
68
|
-
get condition() {
|
69
|
-
return {
|
70
|
-
condition: this.operator,
|
71
|
-
field: this.field,
|
72
|
-
dataType: 'number',
|
73
|
-
value: this.value
|
74
|
-
};
|
75
|
-
}
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXFilterColumnNumberComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
77
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AXFilterColumnNumberComponent, selector: "ax-filter-column-number", providers: [
|
78
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnNumberComponent }
|
79
|
-
], usesInheritance: true, ngImport: i0, template: `
|
80
|
-
<div class="ax-filter-section">
|
81
|
-
<div>
|
82
|
-
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
83
|
-
<option *ngFor="let o of operators" value="{{o.value}}">
|
84
|
-
{{o.title}}
|
85
|
-
</option>
|
86
|
-
</select>
|
87
|
-
</div>
|
88
|
-
<div>
|
89
|
-
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
90
|
-
</ax-text-box>
|
91
|
-
</div>
|
92
|
-
</div>
|
93
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.AXTextBoxComponent, selector: "ax-text-box", inputs: ["mask", "showMask", "type", "maxLength", "maskGuid", "maskPlaceholder", "maskKeepCharPositions"] }] });
|
94
|
-
}
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AXFilterColumnNumberComponent, decorators: [{
|
96
|
-
type: Component,
|
97
|
-
args: [{
|
98
|
-
selector: 'ax-filter-column-number',
|
99
|
-
template: `
|
100
|
-
<div class="ax-filter-section">
|
101
|
-
<div>
|
102
|
-
<select (ngModelChange)="onOperatorChange($event)" class="form-control form-control-sm" [(ngModel)]="operator">
|
103
|
-
<option *ngFor="let o of operators" value="{{o.value}}">
|
104
|
-
{{o.title}}
|
105
|
-
</option>
|
106
|
-
</select>
|
107
|
-
</div>
|
108
|
-
<div>
|
109
|
-
<ax-text-box placeholder="Type here" (textChange)="onTextChange($event)" [(value)]="value" *ngIf="operator!='is-not-empty' && operator!='is-empty'">
|
110
|
-
</ax-text-box>
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
`,
|
114
|
-
providers: [
|
115
|
-
{ provide: AXFilterColumnComponent, useExisting: AXFilterColumnNumberComponent }
|
116
|
-
]
|
117
|
-
}]
|
118
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });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