@acorex/components 7.1.53 → 7.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -20
- package/action-sheet/README.md +3 -0
- package/action-sheet/index.d.ts +4 -5
- package/alert/README.md +3 -0
- package/alert/index.d.ts +2 -5
- package/avatar/README.md +3 -0
- package/avatar/index.d.ts +3 -5
- package/badge/README.md +3 -0
- package/badge/index.d.ts +2 -5
- package/breadcrumbs/README.md +3 -0
- package/breadcrumbs/index.d.ts +4 -5
- package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +80 -0
- package/button/README.md +3 -0
- package/button/index.d.ts +5 -5
- package/button/lib/button-group.component.d.ts +86 -0
- package/button/lib/button-item.component.d.ts +82 -0
- package/calendar/README.md +3 -0
- package/calendar/index.d.ts +4 -5
- package/calendar/lib/calendar.class.d.ts +81 -0
- package/checkbox/README.md +3 -0
- package/checkbox/index.d.ts +2 -5
- package/chips/README.md +3 -0
- package/chips/index.d.ts +2 -5
- package/chips/lib/chips.component.d.ts +71 -0
- package/collapse/README.md +3 -0
- package/collapse/index.d.ts +3 -5
- package/color-palette/README.md +3 -0
- package/color-palette/index.d.ts +7 -5
- package/color-picker/README.md +3 -0
- package/color-picker/index.d.ts +2 -5
- package/color-picker/lib/color-picker.component.d.ts +195 -0
- package/common/README.md +3 -0
- package/common/index.d.ts +22 -5
- package/common/lib/components/button-base-component.class.d.ts +36 -0
- package/common/lib/components/interactive-component.class.d.ts +37 -0
- package/common/lib/components/look-component.class.d.ts +15 -0
- package/context-menu/README.md +3 -0
- package/context-menu/index.d.ts +2 -5
- package/data-pager/README.md +3 -0
- package/data-pager/index.d.ts +9 -5
- package/data-pager/lib/data-pager-input-selector.component.d.ts +15 -0
- package/data-table/README.md +3 -0
- package/data-table/index.d.ts +4 -5
- package/date-picker/README.md +3 -0
- package/date-picker/index.d.ts +2 -5
- package/decorators/README.md +3 -0
- package/decorators/index.d.ts +14 -5
- package/dialog/README.md +3 -0
- package/dialog/index.d.ts +4 -5
- package/drawer/README.md +3 -0
- package/drawer/index.d.ts +3 -5
- package/dropdown/README.md +3 -0
- package/dropdown/index.d.ts +2 -5
- package/esm2022/acorex-components.mjs +2 -2
- package/esm2022/action-sheet/acorex-components-action-sheet.mjs +2 -2
- package/esm2022/action-sheet/index.mjs +5 -0
- package/esm2022/action-sheet/lib/action-sheet.component.mjs +78 -0
- package/esm2022/action-sheet/lib/action-sheet.interface.mjs +3 -0
- package/esm2022/action-sheet/lib/action-sheet.module.mjs +26 -0
- package/esm2022/action-sheet/lib/action-sheet.service.mjs +88 -0
- package/esm2022/alert/acorex-components-alert.mjs +2 -2
- package/esm2022/alert/index.mjs +3 -0
- package/esm2022/alert/lib/alert.component.mjs +191 -0
- package/esm2022/alert/lib/alert.module.mjs +22 -0
- package/esm2022/avatar/acorex-components-avatar.mjs +2 -2
- package/esm2022/avatar/index.mjs +4 -0
- package/esm2022/avatar/lib/avatar-group.component.mjs +16 -0
- package/esm2022/avatar/lib/avatar.component.mjs +36 -0
- package/esm2022/avatar/lib/avatar.module.mjs +22 -0
- package/esm2022/badge/acorex-components-badge.mjs +2 -2
- package/esm2022/badge/index.mjs +3 -0
- package/esm2022/badge/lib/badge.component.mjs +26 -0
- package/esm2022/badge/lib/badge.module.mjs +19 -0
- package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +2 -2
- package/esm2022/breadcrumbs/index.mjs +5 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +2 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +46 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +19 -0
- package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +20 -0
- package/esm2022/button/acorex-components-button.mjs +2 -2
- package/esm2022/button/index.mjs +6 -0
- package/esm2022/button/lib/button-group.component.mjs +88 -0
- package/esm2022/button/lib/button-item.class.mjs +2 -0
- package/esm2022/button/lib/button-item.component.mjs +77 -0
- package/esm2022/button/lib/button.component.mjs +64 -0
- package/esm2022/button/lib/button.module.mjs +32 -0
- package/esm2022/calendar/acorex-components-calendar.mjs +2 -2
- package/esm2022/calendar/index.mjs +5 -0
- package/esm2022/calendar/lib/calendar-range.component.mjs +175 -0
- package/esm2022/calendar/lib/calendar.class.mjs +233 -0
- package/esm2022/calendar/lib/calendar.component.mjs +417 -0
- package/esm2022/calendar/lib/calendar.module.mjs +23 -0
- package/esm2022/checkbox/acorex-components-checkbox.mjs +2 -2
- package/esm2022/checkbox/index.mjs +3 -0
- package/esm2022/checkbox/lib/checkbox.component.mjs +41 -0
- package/esm2022/checkbox/lib/checkbox.module.mjs +21 -0
- package/esm2022/chips/acorex-components-chips.mjs +2 -2
- package/esm2022/chips/index.mjs +3 -0
- package/esm2022/chips/lib/chips.component.mjs +32 -0
- package/esm2022/chips/lib/chips.module.mjs +19 -0
- package/esm2022/collapse/acorex-components-collapse.mjs +2 -2
- package/esm2022/collapse/index.mjs +4 -0
- package/esm2022/collapse/lib/collapse-group.component.mjs +53 -0
- package/esm2022/collapse/lib/collapse.component.mjs +45 -0
- package/esm2022/collapse/lib/collapse.module.mjs +20 -0
- package/esm2022/color-palette/acorex-components-color-palette.mjs +2 -2
- package/esm2022/color-palette/index.mjs +8 -0
- package/esm2022/color-palette/lib/color-palette-input.component.mjs +129 -0
- package/esm2022/color-palette/lib/color-palette-picker.component.mjs +159 -0
- package/esm2022/color-palette/lib/color-palette-preview.component.mjs +60 -0
- package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +302 -0
- package/esm2022/color-palette/lib/color-palette.class.mjs +17 -0
- package/esm2022/color-palette/lib/color-palette.component.mjs +74 -0
- package/esm2022/color-palette/lib/color-palette.module.mjs +60 -0
- package/esm2022/color-picker/acorex-components-color-picker.mjs +2 -2
- package/esm2022/color-picker/index.mjs +3 -0
- package/esm2022/color-picker/lib/color-picker.component.mjs +113 -0
- package/esm2022/color-picker/lib/color-picker.module.mjs +61 -0
- package/esm2022/common/acorex-components-common.mjs +2 -2
- package/esm2022/common/index.mjs +23 -0
- package/esm2022/common/lib/classes/components.class.mjs +69 -0
- package/esm2022/common/lib/classes/data.class.mjs +2 -0
- package/esm2022/common/lib/classes/drawing.class.mjs +2 -0
- package/esm2022/common/lib/classes/events.class.mjs +79 -0
- package/esm2022/common/lib/classes/styles.class.mjs +4 -0
- package/esm2022/common/lib/common.module.mjs +42 -0
- package/esm2022/common/lib/components/base-component.class.mjs +67 -0
- package/esm2022/common/lib/components/button-base-component.class.mjs +80 -0
- package/esm2022/common/lib/components/color-component.class.mjs +27 -0
- package/esm2022/common/lib/components/colorlook-component.class.mjs +11 -0
- package/esm2022/common/lib/components/interactive-component.class.mjs +64 -0
- package/esm2022/common/lib/components/look-component.class.mjs +27 -0
- package/esm2022/common/lib/components/value-component.class.mjs +202 -0
- package/esm2022/common/lib/constant/positions.mjs +75 -0
- package/esm2022/common/lib/directives/auto-focus.directive.mjs +56 -0
- package/esm2022/common/lib/directives/debounce-time.directive.mjs +48 -0
- package/esm2022/common/lib/directives/hotkey.directive.mjs +81 -0
- package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +63 -0
- package/esm2022/common/lib/directives/responsive.directive.mjs +37 -0
- package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +49 -0
- package/esm2022/common/lib/services/hotkey.service.mjs +46 -0
- package/esm2022/common/lib/services/overlay.service.mjs +113 -0
- package/esm2022/context-menu/acorex-components-context-menu.mjs +2 -2
- package/esm2022/context-menu/index.mjs +3 -0
- package/esm2022/context-menu/lib/context-menu.component.mjs +262 -0
- package/esm2022/context-menu/lib/context-menu.module.mjs +36 -0
- package/esm2022/data-pager/acorex-components-data-pager.mjs +2 -2
- package/esm2022/data-pager/index.mjs +10 -0
- package/esm2022/data-pager/lib/data-pager-base.component.mjs +38 -0
- package/esm2022/data-pager/lib/data-pager-info.component.mjs +53 -0
- package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +65 -0
- package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +87 -0
- package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +130 -0
- package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +95 -0
- package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +83 -0
- package/esm2022/data-pager/lib/data-pager.component.mjs +143 -0
- package/esm2022/data-pager/lib/data-pager.module.mjs +51 -0
- package/esm2022/data-table/acorex-components-data-table.mjs +2 -2
- package/esm2022/data-table/index.mjs +5 -0
- package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +17 -0
- package/esm2022/data-table/lib/data-column.directive.mjs +43 -0
- package/esm2022/data-table/lib/data-table.component.mjs +137 -0
- package/esm2022/data-table/lib/data-table.module.mjs +27 -0
- package/esm2022/date-picker/acorex-components-date-picker.mjs +2 -2
- package/esm2022/date-picker/index.mjs +3 -0
- package/esm2022/date-picker/lib/datepicker.component.mjs +125 -0
- package/esm2022/date-picker/lib/datepicker.module.mjs +44 -0
- package/esm2022/decorators/acorex-components-decorators.mjs +2 -2
- package/esm2022/decorators/index.mjs +15 -0
- package/esm2022/decorators/lib/close-button.component.mjs +50 -0
- package/esm2022/decorators/lib/content.component.mjs +21 -0
- package/esm2022/decorators/lib/decorators.module.mjs +71 -0
- package/esm2022/decorators/lib/footer.component.mjs +29 -0
- package/esm2022/decorators/lib/form-hint.component.mjs +20 -0
- package/esm2022/decorators/lib/header.component.mjs +29 -0
- package/esm2022/decorators/lib/icon.component.mjs +29 -0
- package/esm2022/decorators/lib/overlay.component.mjs +22 -0
- package/esm2022/decorators/lib/placeholder.component.mjs +14 -0
- package/esm2022/decorators/lib/prefix.component.mjs +21 -0
- package/esm2022/decorators/lib/sub-title.component.mjs +27 -0
- package/esm2022/decorators/lib/suffix.component.mjs +21 -0
- package/esm2022/decorators/lib/text.component.mjs +21 -0
- package/esm2022/decorators/lib/title.component.mjs +20 -0
- package/esm2022/dialog/acorex-components-dialog.mjs +2 -2
- package/esm2022/dialog/index.mjs +5 -0
- package/esm2022/dialog/lib/dialog.class.mjs +2 -0
- package/esm2022/dialog/lib/dialog.component.mjs +52 -0
- package/esm2022/dialog/lib/dialog.module.mjs +27 -0
- package/esm2022/dialog/lib/dialog.service.mjs +152 -0
- package/esm2022/drawer/acorex-components-drawer.mjs +2 -2
- package/esm2022/drawer/index.mjs +4 -0
- package/esm2022/drawer/lib/drawer-container.component.mjs +37 -0
- package/esm2022/drawer/lib/drawer.component.mjs +140 -0
- package/esm2022/drawer/lib/drawer.module.mjs +22 -0
- package/esm2022/dropdown/acorex-components-dropdown.mjs +2 -2
- package/esm2022/dropdown/index.mjs +3 -0
- package/esm2022/dropdown/lib/dropdown-panel.component.mjs +102 -0
- package/esm2022/dropdown/lib/dropdown.module.mjs +25 -0
- package/esm2022/form/acorex-components-form.mjs +2 -2
- package/esm2022/form/index.mjs +7 -0
- package/esm2022/form/lib/form-field.component.mjs +15 -0
- package/esm2022/form/lib/form.component.mjs +166 -0
- package/esm2022/form/lib/form.module.mjs +63 -0
- package/esm2022/form/lib/validation-rule.widget.mjs +115 -0
- package/esm2022/form/lib/validation-summary.component.mjs +106 -0
- package/esm2022/form/lib/validation.class.mjs +2 -0
- package/esm2022/image/acorex-components-image.mjs +2 -2
- package/esm2022/image/index.mjs +3 -0
- package/esm2022/image/lib/image.component.mjs +76 -0
- package/esm2022/image/lib/image.module.mjs +19 -0
- package/esm2022/index.mjs +2 -0
- package/esm2022/label/acorex-components-label.mjs +2 -2
- package/esm2022/label/index.mjs +3 -0
- package/esm2022/label/lib/label.component.mjs +45 -0
- package/esm2022/label/lib/label.module.mjs +21 -0
- package/esm2022/loading/acorex-components-loading.mjs +2 -2
- package/esm2022/loading/index.mjs +6 -0
- package/esm2022/loading/lib/loading-spinner.component.mjs +68 -0
- package/esm2022/loading/lib/loading.component.mjs +64 -0
- package/esm2022/loading/lib/loading.directive.mjs +68 -0
- package/esm2022/loading/lib/loading.module.mjs +35 -0
- package/esm2022/loading/lib/loading.service.mjs +151 -0
- package/esm2022/menu/acorex-components-menu.mjs +2 -2
- package/esm2022/menu/index.mjs +3 -0
- package/esm2022/menu/lib/menu.component.mjs +346 -0
- package/esm2022/menu/lib/menu.module.mjs +33 -0
- package/esm2022/mixin/acorex-components-mixin.mjs +2 -2
- package/esm2022/mixin/index.mjs +18 -0
- package/esm2022/mixin/lib/base-components.class.mjs +111 -0
- package/esm2022/mixin/lib/base-menu-mixin.class.mjs +137 -0
- package/esm2022/mixin/lib/button-mixin.class.mjs +66 -0
- package/esm2022/mixin/lib/clickable-mixin.class.mjs +24 -0
- package/esm2022/mixin/lib/color-look-mixing.class.mjs +45 -0
- package/esm2022/mixin/lib/constratctor.mjs +2 -0
- package/esm2022/mixin/lib/datalist-component.class.mjs +157 -0
- package/esm2022/mixin/lib/datalist.class.mjs +3 -0
- package/esm2022/mixin/lib/dropdown-mixin.class.mjs +97 -0
- package/esm2022/mixin/lib/interactive-mixin.class.mjs +83 -0
- package/esm2022/mixin/lib/loading-mixin.class.mjs +18 -0
- package/esm2022/mixin/lib/mixin.class.mjs +26 -0
- package/esm2022/mixin/lib/page-component.class.mjs +11 -0
- package/esm2022/mixin/lib/selection-component.class.mjs +180 -0
- package/esm2022/mixin/lib/sizable-mixin.class.mjs +16 -0
- package/esm2022/mixin/lib/textbox-mixin.class.mjs +58 -0
- package/esm2022/mixin/lib/value-mixin.class.mjs +224 -0
- package/esm2022/notification/acorex-components-notification.mjs +2 -2
- package/esm2022/notification/index.mjs +5 -0
- package/esm2022/notification/lib/notification.class.mjs +2 -0
- package/esm2022/notification/lib/notification.component.mjs +83 -0
- package/esm2022/notification/lib/notification.module.mjs +23 -0
- package/esm2022/notification/lib/notification.service.mjs +108 -0
- package/esm2022/number-box/acorex-components-number-box.mjs +2 -2
- package/esm2022/number-box/index.mjs +3 -0
- package/esm2022/number-box/lib/number-box.component.mjs +248 -0
- package/esm2022/number-box/lib/number-box.module.mjs +35 -0
- package/esm2022/otp/acorex-components-otp.mjs +5 -0
- package/esm2022/otp/index.mjs +4 -0
- package/esm2022/otp/lib/otp.class.mjs +4 -0
- package/esm2022/otp/lib/otp.component.mjs +113 -0
- package/esm2022/otp/lib/otp.module.mjs +21 -0
- package/esm2022/page/acorex-components-page.mjs +2 -2
- package/esm2022/page/index.mjs +4 -0
- package/esm2022/page/lib/base-page.class.mjs +61 -0
- package/esm2022/page/lib/page.component.mjs +44 -0
- package/esm2022/page/lib/page.module.mjs +18 -0
- package/esm2022/password-box/acorex-components-password-box.mjs +2 -2
- package/esm2022/password-box/index.mjs +3 -0
- package/esm2022/password-box/lib/password-box.component.mjs +65 -0
- package/esm2022/password-box/lib/password-box.module.mjs +32 -0
- package/esm2022/popover/acorex-components-popover.mjs +2 -2
- package/esm2022/popover/index.mjs +4 -0
- package/esm2022/popover/lib/dropdown-component.class.mjs +73 -0
- package/esm2022/popover/lib/popover.component.mjs +264 -0
- package/esm2022/popover/lib/popover.module.mjs +19 -0
- package/esm2022/popup/acorex-components-popup.mjs +2 -2
- package/esm2022/popup/index.mjs +4 -0
- package/esm2022/popup/lib/popup.component.mjs +141 -0
- package/esm2022/popup/lib/popup.module.mjs +27 -0
- package/esm2022/popup/lib/popup.service.mjs +114 -0
- package/esm2022/progress-bar/acorex-components-progress-bar.mjs +2 -2
- package/esm2022/progress-bar/index.mjs +3 -0
- package/esm2022/progress-bar/lib/progress-bar.component.mjs +33 -0
- package/esm2022/progress-bar/lib/progress-bar.module.mjs +19 -0
- package/esm2022/radio/acorex-components-radio.mjs +2 -2
- package/esm2022/radio/index.mjs +3 -0
- package/esm2022/radio/lib/radio.component.mjs +39 -0
- package/esm2022/radio/lib/radio.module.mjs +22 -0
- package/esm2022/range-slider/acorex-components-range-slider.mjs +2 -2
- package/esm2022/range-slider/index.mjs +3 -0
- package/esm2022/range-slider/lib/range-slider.component.mjs +109 -0
- package/esm2022/range-slider/lib/range-slider.module.mjs +22 -0
- package/esm2022/result/acorex-components-result.mjs +2 -2
- package/esm2022/result/index.mjs +3 -0
- package/esm2022/result/lib/result.component.mjs +24 -0
- package/esm2022/result/lib/result.module.mjs +19 -0
- package/esm2022/search-box/acorex-components-search-box.mjs +2 -2
- package/esm2022/search-box/index.mjs +3 -0
- package/esm2022/search-box/lib/search-box.component.mjs +60 -0
- package/esm2022/search-box/lib/search-box.module.mjs +25 -0
- package/esm2022/select-box/acorex-components-select-box.mjs +2 -2
- package/esm2022/select-box/index.mjs +3 -0
- package/esm2022/select-box/lib/select-box.component.mjs +366 -0
- package/esm2022/select-box/lib/select-box.module.mjs +61 -0
- package/esm2022/selection-list/acorex-components-selection-list.mjs +2 -2
- package/esm2022/selection-list/index.mjs +3 -0
- package/esm2022/selection-list/lib/selection-list.component.mjs +60 -0
- package/esm2022/selection-list/lib/selection-list.module.mjs +24 -0
- package/esm2022/switch/acorex-components-switch.mjs +2 -2
- package/esm2022/switch/index.mjs +4 -0
- package/esm2022/switch/lib/switch-content.component.mjs +16 -0
- package/esm2022/switch/lib/switch.component.mjs +51 -0
- package/esm2022/switch/lib/switch.module.mjs +22 -0
- package/esm2022/tabs/acorex-components-tabs.mjs +2 -2
- package/esm2022/tabs/index.mjs +6 -0
- package/esm2022/tabs/lib/tab-content.directive.mjs +29 -0
- package/esm2022/tabs/lib/tab-item.component.mjs +142 -0
- package/esm2022/tabs/lib/tabs.class.mjs +4 -0
- package/esm2022/tabs/lib/tabs.component.mjs +108 -0
- package/esm2022/tabs/lib/tabs.module.mjs +25 -0
- package/esm2022/tag/acorex-components-tag.mjs +2 -2
- package/esm2022/tag/index.mjs +3 -0
- package/esm2022/tag/lib/tag.component.mjs +29 -0
- package/esm2022/tag/lib/tag.module.mjs +19 -0
- package/esm2022/textarea/acorex-components-textarea.mjs +2 -2
- package/esm2022/textarea/index.mjs +3 -0
- package/esm2022/textarea/lib/textarea.component.mjs +37 -0
- package/esm2022/textarea/lib/textarea.module.mjs +19 -0
- package/esm2022/textbox/acorex-components-textbox.mjs +2 -2
- package/esm2022/textbox/index.mjs +4 -0
- package/esm2022/textbox/lib/mask-options.directive.mjs +17 -0
- package/esm2022/textbox/lib/textbox.component.mjs +93 -0
- package/esm2022/textbox/lib/textbox.module.mjs +38 -0
- package/esm2022/time-box/acorex-components-time-box.mjs +2 -2
- package/esm2022/time-box/index.mjs +3 -0
- package/esm2022/time-box/lib/time-box.component.mjs +296 -0
- package/esm2022/time-box/lib/time-box.module.mjs +32 -0
- package/esm2022/toast/acorex-components-toast.mjs +2 -2
- package/esm2022/toast/index.mjs +5 -0
- package/esm2022/toast/lib/toast.class.mjs +2 -0
- package/esm2022/toast/lib/toast.component.mjs +67 -0
- package/esm2022/toast/lib/toast.module.mjs +22 -0
- package/esm2022/toast/lib/toast.service.mjs +135 -0
- package/esm2022/tooltip/acorex-components-tooltip.mjs +2 -2
- package/esm2022/tooltip/index.mjs +4 -0
- package/esm2022/tooltip/lib/tooltip.component.mjs +20 -0
- package/esm2022/tooltip/lib/tooltip.directive.mjs +158 -0
- package/esm2022/tooltip/lib/tooltip.module.mjs +22 -0
- package/esm2022/uploader/acorex-components-uploader.mjs +2 -2
- package/esm2022/uploader/index.mjs +3 -0
- package/esm2022/uploader/lib/uploader.component.mjs +99 -0
- package/esm2022/uploader/lib/uploader.module.mjs +20 -0
- package/fesm2022/acorex-components-action-sheet.mjs +17 -19
- package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2022/acorex-components-alert.mjs +14 -18
- package/fesm2022/acorex-components-alert.mjs.map +1 -1
- package/fesm2022/acorex-components-avatar.mjs +20 -22
- package/fesm2022/acorex-components-avatar.mjs.map +1 -1
- package/fesm2022/acorex-components-badge.mjs +9 -6
- package/fesm2022/acorex-components-badge.mjs.map +1 -1
- package/fesm2022/acorex-components-breadcrumbs.mjs +9 -15
- package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +29 -31
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-calendar.mjs +129 -81
- package/fesm2022/acorex-components-calendar.mjs.map +1 -1
- package/fesm2022/acorex-components-checkbox.mjs +5 -6
- package/fesm2022/acorex-components-checkbox.mjs.map +1 -1
- package/fesm2022/acorex-components-chips.mjs +8 -9
- package/fesm2022/acorex-components-chips.mjs.map +1 -1
- package/fesm2022/acorex-components-collapse.mjs +21 -22
- package/fesm2022/acorex-components-collapse.mjs.map +1 -1
- package/fesm2022/acorex-components-color-palette.mjs +286 -293
- package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2022/acorex-components-color-picker.mjs +11 -18
- package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-common.mjs +821 -851
- package/fesm2022/acorex-components-common.mjs.map +1 -1
- package/fesm2022/acorex-components-context-menu.mjs +10 -20
- package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +188 -100
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +37 -47
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-date-picker.mjs +49 -23
- package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2022/acorex-components-decorators.mjs +39 -40
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-dialog.mjs +8 -14
- package/fesm2022/acorex-components-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +14 -19
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-dropdown.mjs +15 -18
- package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +54 -57
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-image.mjs +16 -19
- package/fesm2022/acorex-components-image.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +7 -10
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-loading.mjs +82 -84
- package/fesm2022/acorex-components-loading.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +43 -30
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/fesm2022/acorex-components-mixin.mjs +172 -174
- package/fesm2022/acorex-components-mixin.mjs.map +1 -1
- package/fesm2022/acorex-components-notification.mjs +14 -25
- package/fesm2022/acorex-components-notification.mjs.map +1 -1
- package/fesm2022/acorex-components-number-box.mjs +40 -31
- package/fesm2022/acorex-components-number-box.mjs.map +1 -1
- package/fesm2022/acorex-components-otp.mjs +141 -0
- package/fesm2022/acorex-components-otp.mjs.map +1 -0
- package/fesm2022/acorex-components-page.mjs +14 -18
- package/fesm2022/acorex-components-page.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +23 -21
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-popover.mjs +63 -65
- package/fesm2022/acorex-components-popover.mjs.map +1 -1
- package/fesm2022/acorex-components-popup.mjs +37 -46
- package/fesm2022/acorex-components-popup.mjs.map +1 -1
- package/fesm2022/acorex-components-progress-bar.mjs +7 -7
- package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +5 -5
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +15 -23
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-result.mjs +7 -9
- package/fesm2022/acorex-components-result.mjs.map +1 -1
- package/fesm2022/acorex-components-search-box.mjs +10 -12
- package/fesm2022/acorex-components-search-box.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +40 -41
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +10 -9
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +7 -10
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +60 -65
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag.mjs +7 -7
- package/fesm2022/acorex-components-tag.mjs.map +1 -1
- package/fesm2022/acorex-components-textarea.mjs +16 -8
- package/fesm2022/acorex-components-textarea.mjs.map +1 -1
- package/fesm2022/acorex-components-textbox.mjs +27 -19
- package/fesm2022/acorex-components-textbox.mjs.map +1 -1
- package/fesm2022/acorex-components-time-box.mjs +36 -21
- package/fesm2022/acorex-components-time-box.mjs.map +1 -1
- package/fesm2022/acorex-components-toast.mjs +19 -21
- package/fesm2022/acorex-components-toast.mjs.map +1 -1
- package/fesm2022/acorex-components-tooltip.mjs +12 -19
- package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-components-uploader.mjs +11 -14
- package/fesm2022/acorex-components-uploader.mjs.map +1 -1
- package/fesm2022/acorex-components.mjs +1 -6
- package/fesm2022/acorex-components.mjs.map +1 -1
- package/form/README.md +3 -0
- package/form/index.d.ts +6 -5
- package/image/README.md +3 -0
- package/image/index.d.ts +2 -5
- package/image/lib/image.component.d.ts +27 -0
- package/index.d.ts +2 -5
- package/label/README.md +3 -0
- package/label/index.d.ts +2 -5
- package/loading/README.md +3 -0
- package/loading/index.d.ts +5 -5
- package/loading/lib/loading.directive.d.ts +22 -0
- package/menu/README.md +3 -0
- package/menu/index.d.ts +2 -5
- package/menu/lib/menu.component.d.ts +42 -0
- package/mixin/README.md +3 -0
- package/mixin/index.d.ts +17 -5
- package/mixin/lib/base-components.class.d.ts +84 -0
- package/mixin/lib/base-menu-mixin.class.d.ts +53 -0
- package/mixin/lib/button-mixin.class.d.ts +53 -0
- package/mixin/lib/clickable-mixin.class.d.ts +36 -0
- package/mixin/lib/color-look-mixing.class.d.ts +44 -0
- package/mixin/lib/datalist-component.class.d.ts +59 -0
- package/mixin/lib/dropdown-mixin.class.d.ts +47 -0
- package/mixin/lib/interactive-mixin.class.d.ts +60 -0
- package/mixin/lib/loading-mixin.class.d.ts +40 -0
- package/mixin/lib/mixin.class.d.ts +679 -0
- package/mixin/lib/page-component.class.d.ts +28 -0
- package/mixin/lib/selection-component.class.d.ts +61 -0
- package/mixin/lib/sizable-mixin.class.d.ts +34 -0
- package/mixin/lib/textbox-mixin.class.d.ts +66 -0
- package/mixin/lib/value-mixin.class.d.ts +63 -0
- package/notification/README.md +3 -0
- package/notification/index.d.ts +4 -5
- package/number-box/README.md +3 -0
- package/number-box/index.d.ts +2 -5
- package/otp/README.md +3 -0
- package/otp/index.d.ts +3 -0
- package/otp/lib/otp.class.d.ts +4 -0
- package/otp/lib/otp.component.d.ts +25 -0
- package/otp/lib/otp.module.d.ts +8 -0
- package/package.json +23 -39
- package/page/README.md +3 -0
- package/page/index.d.ts +3 -5
- package/page/lib/page.component.d.ts +14 -0
- package/password-box/README.md +3 -0
- package/password-box/index.d.ts +2 -5
- package/popover/README.md +3 -0
- package/popover/index.d.ts +3 -5
- package/popup/README.md +3 -0
- package/popup/index.d.ts +3 -5
- package/progress-bar/README.md +3 -0
- package/progress-bar/index.d.ts +2 -5
- package/radio/README.md +3 -0
- package/radio/index.d.ts +2 -5
- package/range-slider/README.md +3 -0
- package/range-slider/index.d.ts +2 -5
- package/result/README.md +3 -0
- package/result/index.d.ts +2 -5
- package/result/lib/result.component.d.ts +10 -0
- package/search-box/README.md +3 -0
- package/search-box/index.d.ts +2 -5
- package/select-box/README.md +3 -0
- package/select-box/index.d.ts +2 -5
- package/select-box/lib/select-box.module.d.ts +18 -0
- package/selection-list/README.md +3 -0
- package/selection-list/index.d.ts +2 -5
- package/switch/README.md +3 -0
- package/switch/index.d.ts +3 -5
- package/tabs/README.md +3 -0
- package/tabs/index.d.ts +5 -5
- package/tabs/lib/tab-item.component.d.ts +48 -0
- package/tag/README.md +3 -0
- package/tag/index.d.ts +2 -5
- package/textarea/README.md +3 -0
- package/textarea/index.d.ts +2 -5
- package/textbox/README.md +3 -0
- package/textbox/index.d.ts +3 -5
- package/time-box/README.md +3 -0
- package/time-box/index.d.ts +2 -5
- package/toast/README.md +3 -0
- package/toast/index.d.ts +4 -5
- package/tooltip/README.md +3 -0
- package/tooltip/index.d.ts +3 -5
- package/uploader/README.md +3 -0
- package/uploader/index.d.ts +2 -5
- package/action-sheet/public-api.d.ts +0 -4
- package/alert/public-api.d.ts +0 -2
- package/avatar/public-api.d.ts +0 -3
- package/badge/public-api.d.ts +0 -2
- package/breadcrumbs/public-api.d.ts +0 -4
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +0 -79
- package/button/public-api.d.ts +0 -5
- package/button/src/button-group.component.d.ts +0 -86
- package/button/src/button-item.component.d.ts +0 -80
- package/calendar/public-api.d.ts +0 -4
- package/calendar/src/calendar.class.d.ts +0 -81
- package/card/index.d.ts +0 -5
- package/card/public-api.d.ts +0 -2
- package/card/src/card.component.d.ts +0 -10
- package/card/src/card.module.d.ts +0 -8
- package/checkbox/public-api.d.ts +0 -2
- package/chips/public-api.d.ts +0 -2
- package/chips/src/chips.component.d.ts +0 -72
- package/collapse/public-api.d.ts +0 -3
- package/color-palette/public-api.d.ts +0 -7
- package/color-picker/public-api.d.ts +0 -2
- package/color-picker/src/color-picker.component.d.ts +0 -195
- package/common/public-api.d.ts +0 -16
- package/common/src/components/button-base-component.class.d.ts +0 -36
- package/common/src/components/index.d.ts +0 -7
- package/common/src/components/interactive-component.class.d.ts +0 -37
- package/common/src/components/look-component.class.d.ts +0 -15
- package/context-menu/public-api.d.ts +0 -2
- package/data-pager/public-api.d.ts +0 -9
- package/data-pager/src/data-pager-input-selector.component.d.ts +0 -15
- package/data-table/public-api.d.ts +0 -4
- package/date-picker/public-api.d.ts +0 -2
- package/decorators/public-api.d.ts +0 -14
- package/dialog/public-api.d.ts +0 -4
- package/drawer/public-api.d.ts +0 -3
- package/dropdown/public-api.d.ts +0 -2
- package/esm2022/action-sheet/public-api.mjs +0 -5
- package/esm2022/action-sheet/src/action-sheet.component.mjs +0 -79
- package/esm2022/action-sheet/src/action-sheet.interface.mjs +0 -3
- package/esm2022/action-sheet/src/action-sheet.module.mjs +0 -27
- package/esm2022/action-sheet/src/action-sheet.service.mjs +0 -90
- package/esm2022/alert/public-api.mjs +0 -3
- package/esm2022/alert/src/alert.component.mjs +0 -196
- package/esm2022/alert/src/alert.module.mjs +0 -23
- package/esm2022/avatar/public-api.mjs +0 -4
- package/esm2022/avatar/src/avatar-group.component.mjs +0 -17
- package/esm2022/avatar/src/avatar.component.mjs +0 -39
- package/esm2022/avatar/src/avatar.module.mjs +0 -23
- package/esm2022/badge/public-api.mjs +0 -3
- package/esm2022/badge/src/badge.component.mjs +0 -24
- package/esm2022/badge/src/badge.module.mjs +0 -20
- package/esm2022/breadcrumbs/public-api.mjs +0 -5
- package/esm2022/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
- package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -51
- package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +0 -22
- package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +0 -21
- package/esm2022/button/public-api.mjs +0 -6
- package/esm2022/button/src/button-group.component.mjs +0 -92
- package/esm2022/button/src/button-item.class.mjs +0 -2
- package/esm2022/button/src/button-item.component.mjs +0 -80
- package/esm2022/button/src/button.component.mjs +0 -62
- package/esm2022/button/src/button.module.mjs +0 -33
- package/esm2022/calendar/public-api.mjs +0 -5
- package/esm2022/calendar/src/calendar-range.component.mjs +0 -174
- package/esm2022/calendar/src/calendar.class.mjs +0 -231
- package/esm2022/calendar/src/calendar.component.mjs +0 -374
- package/esm2022/calendar/src/calendar.module.mjs +0 -24
- package/esm2022/card/acorex-components-card.mjs +0 -5
- package/esm2022/card/public-api.mjs +0 -3
- package/esm2022/card/src/card.component.mjs +0 -19
- package/esm2022/card/src/card.module.mjs +0 -20
- package/esm2022/checkbox/public-api.mjs +0 -3
- package/esm2022/checkbox/src/checkbox.component.mjs +0 -43
- package/esm2022/checkbox/src/checkbox.module.mjs +0 -22
- package/esm2022/chips/public-api.mjs +0 -3
- package/esm2022/chips/src/chips.component.mjs +0 -34
- package/esm2022/chips/src/chips.module.mjs +0 -20
- package/esm2022/collapse/public-api.mjs +0 -4
- package/esm2022/collapse/src/collapse-group.component.mjs +0 -53
- package/esm2022/collapse/src/collapse.component.mjs +0 -48
- package/esm2022/collapse/src/collapse.module.mjs +0 -21
- package/esm2022/color-palette/public-api.mjs +0 -8
- package/esm2022/color-palette/src/color-palette-input.component.mjs +0 -131
- package/esm2022/color-palette/src/color-palette-picker.component.mjs +0 -160
- package/esm2022/color-palette/src/color-palette-preview.component.mjs +0 -63
- package/esm2022/color-palette/src/color-palette-swatches.component.mjs +0 -305
- package/esm2022/color-palette/src/color-palette.class.mjs +0 -19
- package/esm2022/color-palette/src/color-palette.component.mjs +0 -76
- package/esm2022/color-palette/src/color-palette.module.mjs +0 -61
- package/esm2022/color-picker/public-api.mjs +0 -3
- package/esm2022/color-picker/src/color-picker.component.mjs +0 -120
- package/esm2022/color-picker/src/color-picker.module.mjs +0 -62
- package/esm2022/common/public-api.mjs +0 -17
- package/esm2022/common/src/classes/components.class.mjs +0 -78
- package/esm2022/common/src/classes/data.class.mjs +0 -2
- package/esm2022/common/src/classes/drawing.class.mjs +0 -2
- package/esm2022/common/src/classes/events.class.mjs +0 -96
- package/esm2022/common/src/classes/styles.class.mjs +0 -4
- package/esm2022/common/src/common.module.mjs +0 -43
- package/esm2022/common/src/components/base-component.class.mjs +0 -67
- package/esm2022/common/src/components/button-base-component.class.mjs +0 -69
- package/esm2022/common/src/components/color-component.class.mjs +0 -27
- package/esm2022/common/src/components/colorlook-component.class.mjs +0 -11
- package/esm2022/common/src/components/index.mjs +0 -8
- package/esm2022/common/src/components/interactive-component.class.mjs +0 -63
- package/esm2022/common/src/components/look-component.class.mjs +0 -27
- package/esm2022/common/src/components/value-component.class.mjs +0 -204
- package/esm2022/common/src/constant/positions.mjs +0 -75
- package/esm2022/common/src/directives/auto-focus.directive.mjs +0 -58
- package/esm2022/common/src/directives/debounce-time.directive.mjs +0 -50
- package/esm2022/common/src/directives/hotkey.directive.mjs +0 -83
- package/esm2022/common/src/directives/infinite-scroll.directive.mjs +0 -70
- package/esm2022/common/src/directives/responsive.directive.mjs +0 -39
- package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +0 -52
- package/esm2022/common/src/services/hotkey.service.mjs +0 -48
- package/esm2022/common/src/services/overlay.service.mjs +0 -116
- package/esm2022/context-menu/public-api.mjs +0 -3
- package/esm2022/context-menu/src/context-menu.component.mjs +0 -271
- package/esm2022/context-menu/src/context-menu.module.mjs +0 -37
- package/esm2022/data-pager/public-api.mjs +0 -10
- package/esm2022/data-pager/src/data-pager-base.component.mjs +0 -37
- package/esm2022/data-pager/src/data-pager-info.component.mjs +0 -62
- package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +0 -54
- package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +0 -67
- package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +0 -99
- package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -87
- package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +0 -62
- package/esm2022/data-pager/src/data-pager.component.mjs +0 -147
- package/esm2022/data-pager/src/data-pager.module.mjs +0 -52
- package/esm2022/data-table/public-api.mjs +0 -5
- package/esm2022/data-table/src/data-column-cell-template.directive.mjs +0 -19
- package/esm2022/data-table/src/data-column.directive.mjs +0 -51
- package/esm2022/data-table/src/data-table.component.mjs +0 -140
- package/esm2022/data-table/src/data-table.module.mjs +0 -28
- package/esm2022/date-picker/public-api.mjs +0 -3
- package/esm2022/date-picker/src/datepicker.component.mjs +0 -100
- package/esm2022/date-picker/src/datepicker.module.mjs +0 -45
- package/esm2022/decorators/public-api.mjs +0 -15
- package/esm2022/decorators/src/close-button.component.mjs +0 -52
- package/esm2022/decorators/src/content.component.mjs +0 -22
- package/esm2022/decorators/src/decorators.module.mjs +0 -72
- package/esm2022/decorators/src/footer.component.mjs +0 -30
- package/esm2022/decorators/src/form-hint.component.mjs +0 -21
- package/esm2022/decorators/src/header.component.mjs +0 -30
- package/esm2022/decorators/src/icon.component.mjs +0 -31
- package/esm2022/decorators/src/overlay.component.mjs +0 -21
- package/esm2022/decorators/src/placeholder.component.mjs +0 -15
- package/esm2022/decorators/src/prefix.component.mjs +0 -22
- package/esm2022/decorators/src/sub-title.component.mjs +0 -28
- package/esm2022/decorators/src/suffix.component.mjs +0 -22
- package/esm2022/decorators/src/text.component.mjs +0 -23
- package/esm2022/decorators/src/title.component.mjs +0 -21
- package/esm2022/dialog/public-api.mjs +0 -5
- package/esm2022/dialog/src/dialog.class.mjs +0 -2
- package/esm2022/dialog/src/dialog.component.mjs +0 -56
- package/esm2022/dialog/src/dialog.module.mjs +0 -28
- package/esm2022/dialog/src/dialog.service.mjs +0 -155
- package/esm2022/drawer/public-api.mjs +0 -4
- package/esm2022/drawer/src/drawer-container.component.mjs +0 -39
- package/esm2022/drawer/src/drawer.component.mjs +0 -145
- package/esm2022/drawer/src/drawer.module.mjs +0 -23
- package/esm2022/dropdown/public-api.mjs +0 -3
- package/esm2022/dropdown/src/dropdown-panel.component.mjs +0 -106
- package/esm2022/dropdown/src/dropdown.module.mjs +0 -26
- package/esm2022/form/public-api.mjs +0 -7
- package/esm2022/form/src/form-field.component.mjs +0 -16
- package/esm2022/form/src/form.component.mjs +0 -168
- package/esm2022/form/src/form.module.mjs +0 -64
- package/esm2022/form/src/validation-rule.widget.mjs +0 -114
- package/esm2022/form/src/validation-summary.component.mjs +0 -110
- package/esm2022/form/src/validation.class.mjs +0 -2
- package/esm2022/image/public-api.mjs +0 -3
- package/esm2022/image/src/image.component.mjs +0 -80
- package/esm2022/image/src/image.module.mjs +0 -20
- package/esm2022/label/public-api.mjs +0 -3
- package/esm2022/label/src/label.component.mjs +0 -49
- package/esm2022/label/src/label.module.mjs +0 -22
- package/esm2022/loading/public-api.mjs +0 -6
- package/esm2022/loading/src/loading-spinner.component.mjs +0 -70
- package/esm2022/loading/src/loading.component.mjs +0 -56
- package/esm2022/loading/src/loading.directive.mjs +0 -77
- package/esm2022/loading/src/loading.module.mjs +0 -36
- package/esm2022/loading/src/loading.service.mjs +0 -153
- package/esm2022/menu/public-api.mjs +0 -3
- package/esm2022/menu/src/menu.component.mjs +0 -333
- package/esm2022/menu/src/menu.module.mjs +0 -34
- package/esm2022/mixin/public-api.mjs +0 -18
- package/esm2022/mixin/src/base-components.class.mjs +0 -108
- package/esm2022/mixin/src/base-menu-mixin.class.mjs +0 -134
- package/esm2022/mixin/src/button-mixin.class.mjs +0 -71
- package/esm2022/mixin/src/clickable-mixin.class.mjs +0 -24
- package/esm2022/mixin/src/color-look-mixing.class.mjs +0 -45
- package/esm2022/mixin/src/constratctor.mjs +0 -2
- package/esm2022/mixin/src/datalist-component.class.mjs +0 -151
- package/esm2022/mixin/src/datalist.class.mjs +0 -3
- package/esm2022/mixin/src/dropdown-mixin.class.mjs +0 -95
- package/esm2022/mixin/src/interactive-mixin.class.mjs +0 -81
- package/esm2022/mixin/src/loading-mixin.class.mjs +0 -26
- package/esm2022/mixin/src/mixin.class.mjs +0 -26
- package/esm2022/mixin/src/page-component.class.mjs +0 -11
- package/esm2022/mixin/src/selection-component.class.mjs +0 -176
- package/esm2022/mixin/src/sizable-mixin.class.mjs +0 -22
- package/esm2022/mixin/src/textbox-mixin.class.mjs +0 -66
- package/esm2022/mixin/src/value-mixin.class.mjs +0 -220
- package/esm2022/notification/public-api.mjs +0 -5
- package/esm2022/notification/src/notification.class.mjs +0 -2
- package/esm2022/notification/src/notification.component.mjs +0 -93
- package/esm2022/notification/src/notification.module.mjs +0 -24
- package/esm2022/notification/src/notification.service.mjs +0 -110
- package/esm2022/number-box/public-api.mjs +0 -3
- package/esm2022/number-box/src/number-box.component.mjs +0 -240
- package/esm2022/number-box/src/number-box.module.mjs +0 -36
- package/esm2022/page/public-api.mjs +0 -4
- package/esm2022/page/src/base-page.class.mjs +0 -64
- package/esm2022/page/src/page.component.mjs +0 -47
- package/esm2022/page/src/page.module.mjs +0 -19
- package/esm2022/password-box/public-api.mjs +0 -3
- package/esm2022/password-box/src/password-box.component.mjs +0 -64
- package/esm2022/password-box/src/password-box.module.mjs +0 -33
- package/esm2022/picker/acorex-components-picker.mjs +0 -5
- package/esm2022/picker/public-api.mjs +0 -4
- package/esm2022/picker/src/picker-column.component.mjs +0 -21
- package/esm2022/picker/src/picker.component.mjs +0 -17
- package/esm2022/picker/src/picker.module.mjs +0 -38
- package/esm2022/popover/public-api.mjs +0 -4
- package/esm2022/popover/src/dropdown-component.class.mjs +0 -71
- package/esm2022/popover/src/popover.component.mjs +0 -270
- package/esm2022/popover/src/popover.module.mjs +0 -20
- package/esm2022/popup/public-api.mjs +0 -4
- package/esm2022/popup/src/popup.component.mjs +0 -147
- package/esm2022/popup/src/popup.module.mjs +0 -28
- package/esm2022/popup/src/popup.service.mjs +0 -117
- package/esm2022/progress-bar/public-api.mjs +0 -3
- package/esm2022/progress-bar/src/progress-bar.component.mjs +0 -34
- package/esm2022/progress-bar/src/progress-bar.module.mjs +0 -20
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/radio/public-api.mjs +0 -3
- package/esm2022/radio/src/radio.component.mjs +0 -40
- package/esm2022/radio/src/radio.module.mjs +0 -23
- package/esm2022/range-slider/public-api.mjs +0 -3
- package/esm2022/range-slider/src/range-slider.component.mjs +0 -118
- package/esm2022/range-slider/src/range-slider.module.mjs +0 -23
- package/esm2022/rating/acorex-components-rating.mjs +0 -5
- package/esm2022/rating/public-api.mjs +0 -3
- package/esm2022/rating/src/rating.component.mjs +0 -42
- package/esm2022/rating/src/rating.component.module.mjs +0 -20
- package/esm2022/result/public-api.mjs +0 -3
- package/esm2022/result/src/result.component.mjs +0 -27
- package/esm2022/result/src/result.module.mjs +0 -20
- package/esm2022/search-box/public-api.mjs +0 -3
- package/esm2022/search-box/src/search-box.component.mjs +0 -63
- package/esm2022/search-box/src/search-box.module.mjs +0 -26
- package/esm2022/select-box/public-api.mjs +0 -3
- package/esm2022/select-box/src/selectbox.component.mjs +0 -367
- package/esm2022/select-box/src/selectbox.module.mjs +0 -62
- package/esm2022/selection-list/public-api.mjs +0 -3
- package/esm2022/selection-list/src/selection-list.component.mjs +0 -60
- package/esm2022/selection-list/src/selection-list.module.mjs +0 -25
- package/esm2022/switch/public-api.mjs +0 -4
- package/esm2022/switch/src/switch-content.component.mjs +0 -17
- package/esm2022/switch/src/switch.component.mjs +0 -55
- package/esm2022/switch/src/switch.module.mjs +0 -23
- package/esm2022/tabs/public-api.mjs +0 -6
- package/esm2022/tabs/src/tab-content.directive.mjs +0 -32
- package/esm2022/tabs/src/tab-item.component.mjs +0 -141
- package/esm2022/tabs/src/tabs.class.mjs +0 -6
- package/esm2022/tabs/src/tabs.component.mjs +0 -111
- package/esm2022/tabs/src/tabs.module.mjs +0 -26
- package/esm2022/tag/public-api.mjs +0 -3
- package/esm2022/tag/src/tag.component.mjs +0 -30
- package/esm2022/tag/src/tag.module.mjs +0 -20
- package/esm2022/textarea/public-api.mjs +0 -3
- package/esm2022/textarea/src/textarea.component.mjs +0 -30
- package/esm2022/textarea/src/textarea.module.mjs +0 -20
- package/esm2022/textbox/public-api.mjs +0 -4
- package/esm2022/textbox/src/mask-options.directive.mjs +0 -20
- package/esm2022/textbox/src/textbox.component.mjs +0 -84
- package/esm2022/textbox/src/textbox.module.mjs +0 -39
- package/esm2022/time-box/public-api.mjs +0 -3
- package/esm2022/time-box/src/time-box.component.mjs +0 -282
- package/esm2022/time-box/src/time-box.module.mjs +0 -33
- package/esm2022/toast/public-api.mjs +0 -5
- package/esm2022/toast/src/toast.class.mjs +0 -2
- package/esm2022/toast/src/toast.component.mjs +0 -68
- package/esm2022/toast/src/toast.module.mjs +0 -23
- package/esm2022/toast/src/toast.service.mjs +0 -137
- package/esm2022/tooltip/public-api.mjs +0 -4
- package/esm2022/tooltip/src/tooltip.component.mjs +0 -22
- package/esm2022/tooltip/src/tooltip.directive.mjs +0 -164
- package/esm2022/tooltip/src/tooltip.module.mjs +0 -23
- package/esm2022/tree-view/acorex-components-tree-view.mjs +0 -5
- package/esm2022/tree-view/public-api.mjs +0 -3
- package/esm2022/tree-view/src/tree-view.component.mjs +0 -108
- package/esm2022/tree-view/src/tree-view.module.mjs +0 -21
- package/esm2022/uploader/public-api.mjs +0 -3
- package/esm2022/uploader/src/uploader.component.mjs +0 -102
- package/esm2022/uploader/src/uploader.module.mjs +0 -21
- package/fesm2022/acorex-components-card.mjs +0 -41
- package/fesm2022/acorex-components-card.mjs.map +0 -1
- package/fesm2022/acorex-components-picker.mjs +0 -74
- package/fesm2022/acorex-components-picker.mjs.map +0 -1
- package/fesm2022/acorex-components-rating.mjs +0 -64
- package/fesm2022/acorex-components-rating.mjs.map +0 -1
- package/fesm2022/acorex-components-tree-view.mjs +0 -131
- package/fesm2022/acorex-components-tree-view.mjs.map +0 -1
- package/form/public-api.d.ts +0 -6
- package/image/public-api.d.ts +0 -2
- package/image/src/image.component.d.ts +0 -27
- package/label/public-api.d.ts +0 -2
- package/loading/public-api.d.ts +0 -5
- package/loading/src/loading.directive.d.ts +0 -22
- package/menu/public-api.d.ts +0 -2
- package/menu/src/menu.component.d.ts +0 -42
- package/mixin/public-api.d.ts +0 -17
- package/mixin/src/base-components.class.d.ts +0 -84
- package/mixin/src/base-menu-mixin.class.d.ts +0 -53
- package/mixin/src/button-mixin.class.d.ts +0 -53
- package/mixin/src/clickable-mixin.class.d.ts +0 -36
- package/mixin/src/color-look-mixing.class.d.ts +0 -44
- package/mixin/src/datalist-component.class.d.ts +0 -59
- package/mixin/src/dropdown-mixin.class.d.ts +0 -47
- package/mixin/src/interactive-mixin.class.d.ts +0 -60
- package/mixin/src/loading-mixin.class.d.ts +0 -40
- package/mixin/src/mixin.class.d.ts +0 -679
- package/mixin/src/page-component.class.d.ts +0 -28
- package/mixin/src/selection-component.class.d.ts +0 -61
- package/mixin/src/sizable-mixin.class.d.ts +0 -34
- package/mixin/src/textbox-mixin.class.d.ts +0 -66
- package/mixin/src/value-mixin.class.d.ts +0 -63
- package/notification/public-api.d.ts +0 -4
- package/number-box/public-api.d.ts +0 -2
- package/page/public-api.d.ts +0 -3
- package/page/src/page.component.d.ts +0 -14
- package/password-box/public-api.d.ts +0 -2
- package/picker/index.d.ts +0 -5
- package/picker/public-api.d.ts +0 -3
- package/picker/src/picker-column.component.d.ts +0 -11
- package/picker/src/picker.component.d.ts +0 -10
- package/picker/src/picker.module.d.ts +0 -14
- package/popover/public-api.d.ts +0 -3
- package/popup/public-api.d.ts +0 -3
- package/progress-bar/public-api.d.ts +0 -2
- package/public-api.d.ts +0 -1
- package/radio/public-api.d.ts +0 -2
- package/range-slider/public-api.d.ts +0 -2
- package/rating/index.d.ts +0 -5
- package/rating/public-api.d.ts +0 -2
- package/rating/src/rating.component.d.ts +0 -21
- package/rating/src/rating.component.module.d.ts +0 -8
- package/result/public-api.d.ts +0 -2
- package/result/src/result.component.d.ts +0 -12
- package/scss/_mixin.scss +0 -1
- package/scss/_variable.scss +0 -1
- package/scss/index.scss +0 -2
- package/search-box/public-api.d.ts +0 -2
- package/select-box/public-api.d.ts +0 -2
- package/select-box/src/selectbox.module.d.ts +0 -18
- package/selection-list/public-api.d.ts +0 -2
- package/switch/public-api.d.ts +0 -3
- package/tabs/public-api.d.ts +0 -5
- package/tabs/src/tab-item.component.d.ts +0 -48
- package/tag/public-api.d.ts +0 -2
- package/textarea/public-api.d.ts +0 -2
- package/textbox/public-api.d.ts +0 -3
- package/time-box/public-api.d.ts +0 -2
- package/toast/public-api.d.ts +0 -4
- package/tooltip/public-api.d.ts +0 -3
- package/tree-view/index.d.ts +0 -5
- package/tree-view/public-api.d.ts +0 -2
- package/tree-view/src/tree-view.component.d.ts +0 -33
- package/tree-view/src/tree-view.module.d.ts +0 -9
- package/uploader/public-api.d.ts +0 -2
- /package/action-sheet/{src → lib}/action-sheet.component.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.interface.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.module.d.ts +0 -0
- /package/action-sheet/{src → lib}/action-sheet.service.d.ts +0 -0
- /package/alert/{src → lib}/alert.component.d.ts +0 -0
- /package/alert/{src → lib}/alert.module.d.ts +0 -0
- /package/avatar/{src → lib}/avatar-group.component.d.ts +0 -0
- /package/avatar/{src → lib}/avatar.component.d.ts +0 -0
- /package/avatar/{src → lib}/avatar.module.d.ts +0 -0
- /package/badge/{src → lib}/badge.component.d.ts +0 -0
- /package/badge/{src → lib}/badge.module.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs-item.class.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs.component.d.ts +0 -0
- /package/breadcrumbs/{src → lib}/breadcrumbs.module.d.ts +0 -0
- /package/button/{src → lib}/button-item.class.d.ts +0 -0
- /package/button/{src → lib}/button.component.d.ts +0 -0
- /package/button/{src → lib}/button.module.d.ts +0 -0
- /package/calendar/{src → lib}/calendar-range.component.d.ts +0 -0
- /package/calendar/{src → lib}/calendar.component.d.ts +0 -0
- /package/calendar/{src → lib}/calendar.module.d.ts +0 -0
- /package/checkbox/{src → lib}/checkbox.component.d.ts +0 -0
- /package/checkbox/{src → lib}/checkbox.module.d.ts +0 -0
- /package/chips/{src → lib}/chips.module.d.ts +0 -0
- /package/collapse/{src → lib}/collapse-group.component.d.ts +0 -0
- /package/collapse/{src → lib}/collapse.component.d.ts +0 -0
- /package/collapse/{src → lib}/collapse.module.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-input.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-picker.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-preview.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette-swatches.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.class.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.component.d.ts +0 -0
- /package/color-palette/{src → lib}/color-palette.module.d.ts +0 -0
- /package/color-picker/{src → lib}/color-picker.module.d.ts +0 -0
- /package/common/{src → lib}/classes/components.class.d.ts +0 -0
- /package/common/{src → lib}/classes/data.class.d.ts +0 -0
- /package/common/{src → lib}/classes/drawing.class.d.ts +0 -0
- /package/common/{src → lib}/classes/events.class.d.ts +0 -0
- /package/common/{src → lib}/classes/styles.class.d.ts +0 -0
- /package/common/{src → lib}/common.module.d.ts +0 -0
- /package/common/{src → lib}/components/base-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/color-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/colorlook-component.class.d.ts +0 -0
- /package/common/{src → lib}/components/value-component.class.d.ts +0 -0
- /package/common/{src → lib}/constant/positions.d.ts +0 -0
- /package/common/{src → lib}/directives/auto-focus.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/debounce-time.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/hotkey.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/infinite-scroll.directive.d.ts +0 -0
- /package/common/{src → lib}/directives/responsive.directive.d.ts +0 -0
- /package/common/{src → lib}/services/custom-cdk-overlay.service.d.ts +0 -0
- /package/common/{src → lib}/services/hotkey.service.d.ts +0 -0
- /package/common/{src → lib}/services/overlay.service.d.ts +0 -0
- /package/context-menu/{src → lib}/context-menu.component.d.ts +0 -0
- /package/context-menu/{src → lib}/context-menu.module.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-base.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-info.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-next-buttons.components.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-numeric-selector.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-pagesize-dropdown.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager-prev-buttons.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager.component.d.ts +0 -0
- /package/data-pager/{src → lib}/data-pager.module.d.ts +0 -0
- /package/data-table/{src → lib}/data-column-cell-template.directive.d.ts +0 -0
- /package/data-table/{src → lib}/data-column.directive.d.ts +0 -0
- /package/data-table/{src → lib}/data-table.component.d.ts +0 -0
- /package/data-table/{src → lib}/data-table.module.d.ts +0 -0
- /package/date-picker/{src → lib}/datepicker.component.d.ts +0 -0
- /package/date-picker/{src → lib}/datepicker.module.d.ts +0 -0
- /package/decorators/{src → lib}/close-button.component.d.ts +0 -0
- /package/decorators/{src → lib}/content.component.d.ts +0 -0
- /package/decorators/{src → lib}/decorators.module.d.ts +0 -0
- /package/decorators/{src → lib}/footer.component.d.ts +0 -0
- /package/decorators/{src → lib}/form-hint.component.d.ts +0 -0
- /package/decorators/{src → lib}/header.component.d.ts +0 -0
- /package/decorators/{src → lib}/icon.component.d.ts +0 -0
- /package/decorators/{src → lib}/overlay.component.d.ts +0 -0
- /package/decorators/{src → lib}/placeholder.component.d.ts +0 -0
- /package/decorators/{src → lib}/prefix.component.d.ts +0 -0
- /package/decorators/{src → lib}/sub-title.component.d.ts +0 -0
- /package/decorators/{src → lib}/suffix.component.d.ts +0 -0
- /package/decorators/{src → lib}/text.component.d.ts +0 -0
- /package/decorators/{src → lib}/title.component.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.class.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.component.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.module.d.ts +0 -0
- /package/dialog/{src → lib}/dialog.service.d.ts +0 -0
- /package/drawer/{src → lib}/drawer-container.component.d.ts +0 -0
- /package/drawer/{src → lib}/drawer.component.d.ts +0 -0
- /package/drawer/{src → lib}/drawer.module.d.ts +0 -0
- /package/dropdown/{src → lib}/dropdown-panel.component.d.ts +0 -0
- /package/dropdown/{src → lib}/dropdown.module.d.ts +0 -0
- /package/form/{src → lib}/form-field.component.d.ts +0 -0
- /package/form/{src → lib}/form.component.d.ts +0 -0
- /package/form/{src → lib}/form.module.d.ts +0 -0
- /package/form/{src → lib}/validation-rule.widget.d.ts +0 -0
- /package/form/{src → lib}/validation-summary.component.d.ts +0 -0
- /package/form/{src → lib}/validation.class.d.ts +0 -0
- /package/image/{src → lib}/image.module.d.ts +0 -0
- /package/label/{src → lib}/label.component.d.ts +0 -0
- /package/label/{src → lib}/label.module.d.ts +0 -0
- /package/loading/{src → lib}/loading-spinner.component.d.ts +0 -0
- /package/loading/{src → lib}/loading.component.d.ts +0 -0
- /package/loading/{src → lib}/loading.module.d.ts +0 -0
- /package/loading/{src → lib}/loading.service.d.ts +0 -0
- /package/menu/{src → lib}/menu.module.d.ts +0 -0
- /package/mixin/{src → lib}/constratctor.d.ts +0 -0
- /package/mixin/{src → lib}/datalist.class.d.ts +0 -0
- /package/notification/{src → lib}/notification.class.d.ts +0 -0
- /package/notification/{src → lib}/notification.component.d.ts +0 -0
- /package/notification/{src → lib}/notification.module.d.ts +0 -0
- /package/notification/{src → lib}/notification.service.d.ts +0 -0
- /package/number-box/{src → lib}/number-box.component.d.ts +0 -0
- /package/number-box/{src → lib}/number-box.module.d.ts +0 -0
- /package/page/{src → lib}/base-page.class.d.ts +0 -0
- /package/page/{src → lib}/page.module.d.ts +0 -0
- /package/password-box/{src → lib}/password-box.component.d.ts +0 -0
- /package/password-box/{src → lib}/password-box.module.d.ts +0 -0
- /package/popover/{src → lib}/dropdown-component.class.d.ts +0 -0
- /package/popover/{src → lib}/popover.component.d.ts +0 -0
- /package/popover/{src → lib}/popover.module.d.ts +0 -0
- /package/popup/{src → lib}/popup.component.d.ts +0 -0
- /package/popup/{src → lib}/popup.module.d.ts +0 -0
- /package/popup/{src → lib}/popup.service.d.ts +0 -0
- /package/progress-bar/{src → lib}/progress-bar.component.d.ts +0 -0
- /package/progress-bar/{src → lib}/progress-bar.module.d.ts +0 -0
- /package/radio/{src → lib}/radio.component.d.ts +0 -0
- /package/radio/{src → lib}/radio.module.d.ts +0 -0
- /package/range-slider/{src → lib}/range-slider.component.d.ts +0 -0
- /package/range-slider/{src → lib}/range-slider.module.d.ts +0 -0
- /package/result/{src → lib}/result.module.d.ts +0 -0
- /package/search-box/{src → lib}/search-box.component.d.ts +0 -0
- /package/search-box/{src → lib}/search-box.module.d.ts +0 -0
- /package/select-box/{src/selectbox.component.d.ts → lib/select-box.component.d.ts} +0 -0
- /package/selection-list/{src → lib}/selection-list.component.d.ts +0 -0
- /package/selection-list/{src → lib}/selection-list.module.d.ts +0 -0
- /package/switch/{src → lib}/switch-content.component.d.ts +0 -0
- /package/switch/{src → lib}/switch.component.d.ts +0 -0
- /package/switch/{src → lib}/switch.module.d.ts +0 -0
- /package/tabs/{src → lib}/tab-content.directive.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.class.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.component.d.ts +0 -0
- /package/tabs/{src → lib}/tabs.module.d.ts +0 -0
- /package/tag/{src → lib}/tag.component.d.ts +0 -0
- /package/tag/{src → lib}/tag.module.d.ts +0 -0
- /package/textarea/{src → lib}/textarea.component.d.ts +0 -0
- /package/textarea/{src → lib}/textarea.module.d.ts +0 -0
- /package/textbox/{src → lib}/mask-options.directive.d.ts +0 -0
- /package/textbox/{src → lib}/textbox.component.d.ts +0 -0
- /package/textbox/{src → lib}/textbox.module.d.ts +0 -0
- /package/time-box/{src → lib}/time-box.component.d.ts +0 -0
- /package/time-box/{src → lib}/time-box.module.d.ts +0 -0
- /package/toast/{src → lib}/toast.class.d.ts +0 -0
- /package/toast/{src → lib}/toast.component.d.ts +0 -0
- /package/toast/{src → lib}/toast.module.d.ts +0 -0
- /package/toast/{src → lib}/toast.service.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.component.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.directive.d.ts +0 -0
- /package/tooltip/{src → lib}/tooltip.module.d.ts +0 -0
- /package/uploader/{src → lib}/uploader.component.d.ts +0 -0
- /package/uploader/{src → lib}/uploader.module.d.ts +0 -0
|
@@ -6,7 +6,6 @@ import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coerci
|
|
|
6
6
|
import { AXObjectUtil } from '@acorex/core/utils';
|
|
7
7
|
|
|
8
8
|
class AXBaseComponent {
|
|
9
|
-
id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
|
|
10
9
|
/**
|
|
11
10
|
* A token that specifies the layout direction of component.
|
|
12
11
|
*/
|
|
@@ -16,19 +15,19 @@ class AXBaseComponent {
|
|
|
16
15
|
if (this.#rtl)
|
|
17
16
|
return this.#rtl;
|
|
18
17
|
else
|
|
19
|
-
return this._getHostElement()
|
|
18
|
+
return (this._getHostElement()?.classList?.contains('ax-rtl') ||
|
|
19
|
+
window.getComputedStyle(this._getHostElement(), null)?.getPropertyValue('direction') ===
|
|
20
|
+
'rtl');
|
|
20
21
|
}
|
|
21
22
|
set rtl(value) {
|
|
22
23
|
this.#rtl = value;
|
|
23
24
|
}
|
|
24
25
|
#elementRef;
|
|
25
|
-
_cdr;
|
|
26
|
-
_isInited;
|
|
27
|
-
_isRendered;
|
|
28
26
|
/**
|
|
29
27
|
* @ignore
|
|
30
28
|
*/
|
|
31
29
|
constructor(...args) {
|
|
30
|
+
this.id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
|
|
32
31
|
this.#elementRef = args[0];
|
|
33
32
|
this._cdr = args[1];
|
|
34
33
|
}
|
|
@@ -43,14 +42,19 @@ class AXBaseComponent {
|
|
|
43
42
|
ngOnDestroy() {
|
|
44
43
|
this._onInternalDestroy();
|
|
45
44
|
}
|
|
45
|
+
//TODO: check why every time called _getHostElement function
|
|
46
46
|
_getHostElement() {
|
|
47
|
-
|
|
47
|
+
//TODO: check elementRef retrun 0
|
|
48
|
+
return this.#elementRef?.nativeElement;
|
|
48
49
|
}
|
|
49
50
|
_getInnerElement() {
|
|
50
51
|
return this._getHostElement().firstElementChild;
|
|
51
52
|
}
|
|
52
53
|
_onInternalInit() {
|
|
53
|
-
|
|
54
|
+
//TODO: check Cannot set properties of undefined (setting '__axContext__')
|
|
55
|
+
if (this._getHostElement()) {
|
|
56
|
+
this._getHostElement().__axContext__ = this;
|
|
57
|
+
}
|
|
54
58
|
this._applyRtl();
|
|
55
59
|
this.onInit();
|
|
56
60
|
}
|
|
@@ -91,8 +95,8 @@ class AXBaseComponent {
|
|
|
91
95
|
if (option.afterCallback)
|
|
92
96
|
option.afterCallback(oldValue, newValue);
|
|
93
97
|
}
|
|
94
|
-
static
|
|
95
|
-
static
|
|
98
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBaseComponent, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
99
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBaseComponent }); }
|
|
96
100
|
}
|
|
97
101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: AXBaseComponent, decorators: [{
|
|
98
102
|
type: Injectable
|
|
@@ -112,22 +116,23 @@ const BASE_OUTPUT = [];
|
|
|
112
116
|
|
|
113
117
|
function _BaseMenuComponentMixin(Base) {
|
|
114
118
|
return class extends Base {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
#isLoading = false;
|
|
118
|
-
#loadedItems = [];
|
|
119
|
-
visibleField;
|
|
120
|
-
disableField = 'disabled';
|
|
121
|
-
hasChildField;
|
|
122
|
-
iconField = 'icon';
|
|
123
|
-
openMode = 'click';
|
|
124
|
-
displayMode = 'sidemenu';
|
|
125
|
-
dividerField = 'divider';
|
|
126
|
-
onMenuItemClick = new EventEmitter();
|
|
119
|
+
#isLoading;
|
|
120
|
+
#loadedItems;
|
|
127
121
|
constructor(...args) {
|
|
128
122
|
super(...args);
|
|
129
|
-
|
|
130
|
-
|
|
123
|
+
this.textField = 'text';
|
|
124
|
+
this.valueField = 'id';
|
|
125
|
+
this.#isLoading = false;
|
|
126
|
+
this.#loadedItems = [];
|
|
127
|
+
this.disableField = 'disabled';
|
|
128
|
+
this.iconField = 'icon';
|
|
129
|
+
this.openMode = 'click';
|
|
130
|
+
this.displayMode = 'sidemenu';
|
|
131
|
+
this.dividerField = 'divider';
|
|
132
|
+
this.onMenuItemClick = new EventEmitter();
|
|
133
|
+
this.#items = [];
|
|
134
|
+
}
|
|
135
|
+
#items;
|
|
131
136
|
get items() {
|
|
132
137
|
return this.#items;
|
|
133
138
|
}
|
|
@@ -168,7 +173,7 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
168
173
|
}
|
|
169
174
|
_findNode(parentId, _children, source) {
|
|
170
175
|
if (source.length > 0) {
|
|
171
|
-
source.forEach(element => {
|
|
176
|
+
source.forEach((element) => {
|
|
172
177
|
if (element[this.valueField] == parentId) {
|
|
173
178
|
element.children = _children;
|
|
174
179
|
}
|
|
@@ -180,7 +185,7 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
180
185
|
}
|
|
181
186
|
}
|
|
182
187
|
_fetchData(parentId, searchText) {
|
|
183
|
-
return new Promise(resolve => {
|
|
188
|
+
return new Promise((resolve) => {
|
|
184
189
|
if (this.#isLoading) {
|
|
185
190
|
return;
|
|
186
191
|
}
|
|
@@ -190,7 +195,7 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
190
195
|
parentId: parentId,
|
|
191
196
|
searchQuery: searchText,
|
|
192
197
|
})
|
|
193
|
-
.then(c => {
|
|
198
|
+
.then((c) => {
|
|
194
199
|
if (Array.isArray(c)) {
|
|
195
200
|
if (parentId) {
|
|
196
201
|
resolve(this._findNode(parentId, c, this.displayItems));
|
|
@@ -215,7 +220,9 @@ function _BaseMenuComponentMixin(Base) {
|
|
|
215
220
|
}
|
|
216
221
|
_getItemDisplayTextTemplte(item) {
|
|
217
222
|
if (item)
|
|
218
|
-
return Array.isArray(this.textField)
|
|
223
|
+
return Array.isArray(this.textField)
|
|
224
|
+
? this.textField.map((c) => item[c]).join(',')
|
|
225
|
+
: item[this.textField];
|
|
219
226
|
else
|
|
220
227
|
return 'Loading...';
|
|
221
228
|
}
|
|
@@ -244,10 +251,9 @@ const BASEMENU_OUTPUT = ['onMenuItemClick'];
|
|
|
244
251
|
|
|
245
252
|
function _ButtonComponentMixin(Base) {
|
|
246
253
|
return class extends Base {
|
|
247
|
-
_text;
|
|
248
254
|
/**
|
|
249
|
-
|
|
250
|
-
|
|
255
|
+
* Defines the primary text to show inside the button.
|
|
256
|
+
*/
|
|
251
257
|
get text() {
|
|
252
258
|
return this._text;
|
|
253
259
|
}
|
|
@@ -257,28 +263,24 @@ function _ButtonComponentMixin(Base) {
|
|
|
257
263
|
value: v,
|
|
258
264
|
afterCallback: () => {
|
|
259
265
|
this._cdr.markForCheck();
|
|
260
|
-
}
|
|
266
|
+
},
|
|
261
267
|
});
|
|
262
268
|
}
|
|
263
|
-
toggleableChange = new EventEmitter();
|
|
264
|
-
_toggleable = false;
|
|
265
269
|
/**
|
|
266
|
-
|
|
267
|
-
|
|
270
|
+
* Provides visual styling that indicates if the Button is active
|
|
271
|
+
*/
|
|
268
272
|
get toggleable() {
|
|
269
273
|
return this._toggleable;
|
|
270
274
|
}
|
|
271
275
|
set toggleable(value) {
|
|
272
276
|
this._setOption({
|
|
273
277
|
name: 'toggleable',
|
|
274
|
-
value
|
|
278
|
+
value,
|
|
275
279
|
});
|
|
276
280
|
}
|
|
277
|
-
selectedChange = new EventEmitter();
|
|
278
|
-
_selected = false;
|
|
279
281
|
/**
|
|
280
|
-
|
|
281
|
-
|
|
282
|
+
* Indicates if the Button is selected or not
|
|
283
|
+
*/
|
|
282
284
|
get selected() {
|
|
283
285
|
return this._selected;
|
|
284
286
|
}
|
|
@@ -288,37 +290,32 @@ function _ButtonComponentMixin(Base) {
|
|
|
288
290
|
value,
|
|
289
291
|
afterCallback: () => {
|
|
290
292
|
this._cdr.markForCheck();
|
|
291
|
-
}
|
|
293
|
+
},
|
|
292
294
|
});
|
|
293
295
|
}
|
|
294
296
|
constructor(...args) {
|
|
295
297
|
super(...args);
|
|
298
|
+
this.toggleableChange = new EventEmitter();
|
|
299
|
+
this._toggleable = false;
|
|
300
|
+
this.selectedChange = new EventEmitter();
|
|
301
|
+
this._selected = false;
|
|
296
302
|
}
|
|
297
303
|
get _classes() {
|
|
298
304
|
const cssClasses = {
|
|
299
305
|
'ax-button-icon': !this.text,
|
|
300
|
-
'ax-state-disabled': this[
|
|
301
|
-
'ax-state-selected': this.selected
|
|
306
|
+
'ax-state-disabled': this['disabled'],
|
|
307
|
+
'ax-state-selected': this.selected,
|
|
302
308
|
};
|
|
303
309
|
cssClasses[`ax-${this['color'] || 'default'}${this['look'] ? '-' + this['look'] : '-default'}`] = true;
|
|
304
310
|
return cssClasses;
|
|
305
311
|
}
|
|
306
312
|
};
|
|
307
313
|
}
|
|
308
|
-
const BUTTON_INPUTS = [
|
|
309
|
-
'text',
|
|
310
|
-
'toggleable',
|
|
311
|
-
'selected',
|
|
312
|
-
];
|
|
314
|
+
const BUTTON_INPUTS = ['text', 'toggleable', 'selected'];
|
|
313
315
|
const BUTTON_OUTPUT = ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'toggleableChange'];
|
|
314
316
|
|
|
315
317
|
function _ClickableComponenetMixin(Base) {
|
|
316
318
|
return class extends Base {
|
|
317
|
-
/**
|
|
318
|
-
* Fires each time the user clicks the button.
|
|
319
|
-
* @event
|
|
320
|
-
*/
|
|
321
|
-
onClick = new EventEmitter();
|
|
322
319
|
_emitOnClickEvent(e) {
|
|
323
320
|
this.onClick.emit({
|
|
324
321
|
component: this,
|
|
@@ -331,6 +328,11 @@ function _ClickableComponenetMixin(Base) {
|
|
|
331
328
|
*/
|
|
332
329
|
constructor(...args) {
|
|
333
330
|
super(...args);
|
|
331
|
+
/**
|
|
332
|
+
* Fires each time the user clicks the button.
|
|
333
|
+
* @event
|
|
334
|
+
*/
|
|
335
|
+
this.onClick = new EventEmitter();
|
|
334
336
|
}
|
|
335
337
|
};
|
|
336
338
|
}
|
|
@@ -339,9 +341,11 @@ function _ColorLookComponentMixin(Base) {
|
|
|
339
341
|
return class extends Base {
|
|
340
342
|
constructor(...args) {
|
|
341
343
|
super(...args);
|
|
344
|
+
this.colorChange = new EventEmitter();
|
|
345
|
+
this._color = 'default';
|
|
346
|
+
this.lookChange = new EventEmitter();
|
|
347
|
+
this._look = 'default';
|
|
342
348
|
}
|
|
343
|
-
colorChange = new EventEmitter();
|
|
344
|
-
_color = 'default';
|
|
345
349
|
/**
|
|
346
350
|
* Predefined color schemes
|
|
347
351
|
*/
|
|
@@ -357,8 +361,6 @@ function _ColorLookComponentMixin(Base) {
|
|
|
357
361
|
},
|
|
358
362
|
});
|
|
359
363
|
}
|
|
360
|
-
lookChange = new EventEmitter();
|
|
361
|
-
_look = 'default';
|
|
362
364
|
/**
|
|
363
365
|
* Predefined look schemes
|
|
364
366
|
*/
|
|
@@ -381,16 +383,12 @@ const COLOR_LOOK_OUTPUT = ['lookChange', 'colorChange'];
|
|
|
381
383
|
|
|
382
384
|
function _DatalistComponenetMixin(Base) {
|
|
383
385
|
return class extends Base {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
#
|
|
389
|
-
#
|
|
390
|
-
#loadedItems = [];
|
|
391
|
-
#flatItems = [];
|
|
392
|
-
#totalItems = 0;
|
|
393
|
-
#isLazy = false;
|
|
386
|
+
#currentPage;
|
|
387
|
+
#isLoading;
|
|
388
|
+
#loadedItems;
|
|
389
|
+
#flatItems;
|
|
390
|
+
#totalItems;
|
|
391
|
+
#isLazy;
|
|
394
392
|
get totalCount() {
|
|
395
393
|
return this.#totalItems;
|
|
396
394
|
}
|
|
@@ -402,8 +400,18 @@ function _DatalistComponenetMixin(Base) {
|
|
|
402
400
|
}
|
|
403
401
|
constructor(...args) {
|
|
404
402
|
super(...args);
|
|
403
|
+
this.valueField = 'id';
|
|
404
|
+
this.textField = 'text';
|
|
405
|
+
this.pageSize = 10;
|
|
406
|
+
this.#currentPage = 0;
|
|
407
|
+
this.#isLoading = false;
|
|
408
|
+
this.#loadedItems = [];
|
|
409
|
+
this.#flatItems = [];
|
|
410
|
+
this.#totalItems = 0;
|
|
411
|
+
this.#isLazy = false;
|
|
412
|
+
this.#items = [];
|
|
405
413
|
}
|
|
406
|
-
#items
|
|
414
|
+
#items;
|
|
407
415
|
get items() {
|
|
408
416
|
return this.#items;
|
|
409
417
|
}
|
|
@@ -533,10 +541,6 @@ const DATALIST_OUTPUT = [];
|
|
|
533
541
|
|
|
534
542
|
function _DropdownComponenetMixin(Base) {
|
|
535
543
|
class Mixin extends Base {
|
|
536
|
-
readonly = false;
|
|
537
|
-
onOpened = new EventEmitter();
|
|
538
|
-
onClosed = new EventEmitter();
|
|
539
|
-
position = [];
|
|
540
544
|
_emitOnOpenedEvent() {
|
|
541
545
|
this.onOpened.emit({
|
|
542
546
|
component: this,
|
|
@@ -559,7 +563,9 @@ function _DropdownComponenetMixin(Base) {
|
|
|
559
563
|
setTimeout(() => {
|
|
560
564
|
if (this.position.length == 0) {
|
|
561
565
|
const a = 0;
|
|
562
|
-
const offset = Number(getComputedStyle(document.documentElement)
|
|
566
|
+
const offset = Number(getComputedStyle(document.documentElement)
|
|
567
|
+
.getPropertyValue('--ax-base-size')
|
|
568
|
+
.replace('px', ''));
|
|
563
569
|
const list = [
|
|
564
570
|
{
|
|
565
571
|
originX: 'start',
|
|
@@ -618,6 +624,10 @@ function _DropdownComponenetMixin(Base) {
|
|
|
618
624
|
}
|
|
619
625
|
constructor(...args) {
|
|
620
626
|
super(...args);
|
|
627
|
+
this.readonly = false;
|
|
628
|
+
this.onOpened = new EventEmitter();
|
|
629
|
+
this.onClosed = new EventEmitter();
|
|
630
|
+
this.position = [];
|
|
621
631
|
}
|
|
622
632
|
}
|
|
623
633
|
return Mixin;
|
|
@@ -627,7 +637,7 @@ const DROPDOWN_OUTPUT = ['onOpened', 'onClosed'];
|
|
|
627
637
|
|
|
628
638
|
function _InteractiveComponenetMixin(Base) {
|
|
629
639
|
class Mixin extends Base {
|
|
630
|
-
#disabled
|
|
640
|
+
#disabled;
|
|
631
641
|
/**
|
|
632
642
|
* If set to true, it disables the component.
|
|
633
643
|
*/
|
|
@@ -641,7 +651,7 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
641
651
|
this._cdr.markForCheck();
|
|
642
652
|
}
|
|
643
653
|
}
|
|
644
|
-
#tabIndex
|
|
654
|
+
#tabIndex;
|
|
645
655
|
/**
|
|
646
656
|
* Specifies the tabindex of the component.
|
|
647
657
|
*/
|
|
@@ -649,11 +659,6 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
649
659
|
set tabIndex(value) {
|
|
650
660
|
this.#tabIndex = value != null ? coerceNumberProperty(value) : 0;
|
|
651
661
|
}
|
|
652
|
-
/**
|
|
653
|
-
* Fires each time the component gets focused.
|
|
654
|
-
* @event
|
|
655
|
-
*/
|
|
656
|
-
onFocus = new EventEmitter();
|
|
657
662
|
_emitOnFocusEvent(e) {
|
|
658
663
|
this.onFocus.emit({
|
|
659
664
|
component: this,
|
|
@@ -661,11 +666,6 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
661
666
|
nativeEvent: e
|
|
662
667
|
});
|
|
663
668
|
}
|
|
664
|
-
/**
|
|
665
|
-
* Fires each time the component gets blurred.
|
|
666
|
-
* @event
|
|
667
|
-
*/
|
|
668
|
-
onBlur = new EventEmitter();
|
|
669
669
|
_emitOnBlurEvent(e) {
|
|
670
670
|
this.onBlur.emit({
|
|
671
671
|
component: this,
|
|
@@ -694,6 +694,18 @@ function _InteractiveComponenetMixin(Base) {
|
|
|
694
694
|
*/
|
|
695
695
|
constructor(...args) {
|
|
696
696
|
super(...args);
|
|
697
|
+
this.#disabled = false;
|
|
698
|
+
this.#tabIndex = 0;
|
|
699
|
+
/**
|
|
700
|
+
* Fires each time the component gets focused.
|
|
701
|
+
* @event
|
|
702
|
+
*/
|
|
703
|
+
this.onFocus = new EventEmitter();
|
|
704
|
+
/**
|
|
705
|
+
* Fires each time the component gets blurred.
|
|
706
|
+
* @event
|
|
707
|
+
*/
|
|
708
|
+
this.onBlur = new EventEmitter();
|
|
697
709
|
}
|
|
698
710
|
}
|
|
699
711
|
return Mixin;
|
|
@@ -706,20 +718,12 @@ const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
|
|
|
706
718
|
|
|
707
719
|
function _LoadingComponenetMixin(Base) {
|
|
708
720
|
return class extends Base {
|
|
709
|
-
/**
|
|
710
|
-
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
|
|
711
|
-
*/
|
|
712
|
-
loading = false;
|
|
713
|
-
/**
|
|
714
|
-
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
|
|
715
|
-
*/
|
|
716
|
-
loadingIconClass;
|
|
717
|
-
/**
|
|
718
|
-
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
|
|
719
|
-
*/
|
|
720
|
-
loadingText;
|
|
721
721
|
constructor(...args) {
|
|
722
722
|
super(...args.slice(0, 2));
|
|
723
|
+
/**
|
|
724
|
+
* Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
|
|
725
|
+
*/
|
|
726
|
+
this.loading = false;
|
|
723
727
|
}
|
|
724
728
|
_onInternalInit() {
|
|
725
729
|
// if (!this.size) {
|
|
@@ -732,12 +736,6 @@ function _LoadingComponenetMixin(Base) {
|
|
|
732
736
|
|
|
733
737
|
function _SelectionComponenetMixin(Base) {
|
|
734
738
|
return class extends Base {
|
|
735
|
-
valueField = 'id';
|
|
736
|
-
textField = 'text';
|
|
737
|
-
disabledField = 'disabled';
|
|
738
|
-
disabledCallback;
|
|
739
|
-
multiple = false;
|
|
740
|
-
selectionMode = 'value';
|
|
741
739
|
/**
|
|
742
740
|
* Defines the primary text to show inside the button.
|
|
743
741
|
*/
|
|
@@ -750,15 +748,19 @@ function _SelectionComponenetMixin(Base) {
|
|
|
750
748
|
get flatItems() {
|
|
751
749
|
return [];
|
|
752
750
|
}
|
|
753
|
-
valueChange = new EventEmitter();
|
|
754
|
-
onValueChanged = new EventEmitter();
|
|
755
751
|
constructor(...args) {
|
|
756
752
|
super(...args);
|
|
753
|
+
this.valueField = 'id';
|
|
754
|
+
this.textField = 'text';
|
|
755
|
+
this.disabledField = 'disabled';
|
|
756
|
+
this.multiple = false;
|
|
757
|
+
this.selectionMode = 'value';
|
|
758
|
+
this.valueChange = new EventEmitter();
|
|
759
|
+
this.onValueChanged = new EventEmitter();
|
|
757
760
|
}
|
|
758
761
|
_onInternalInit() {
|
|
759
762
|
super._onInternalInit();
|
|
760
763
|
}
|
|
761
|
-
_value;
|
|
762
764
|
get value() {
|
|
763
765
|
return this._value;
|
|
764
766
|
}
|
|
@@ -780,7 +782,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
780
782
|
isUserInteraction: false,
|
|
781
783
|
oldValue,
|
|
782
784
|
value: this._value,
|
|
783
|
-
selectedKeys: this.selectedItems.map(c => c[this.valueField]),
|
|
785
|
+
selectedKeys: this.selectedItems.map((c) => c[this.valueField]),
|
|
784
786
|
selectedItems: this.selectedItems.slice(),
|
|
785
787
|
});
|
|
786
788
|
if (v == null || v == undefined || v == '') {
|
|
@@ -793,7 +795,6 @@ function _SelectionComponenetMixin(Base) {
|
|
|
793
795
|
}
|
|
794
796
|
}
|
|
795
797
|
}
|
|
796
|
-
_selectedItems;
|
|
797
798
|
get selectedItems() {
|
|
798
799
|
return this._selectedItems || [];
|
|
799
800
|
}
|
|
@@ -804,9 +805,9 @@ function _SelectionComponenetMixin(Base) {
|
|
|
804
805
|
}
|
|
805
806
|
const items = this.flatItems;
|
|
806
807
|
if (items.length > 0) {
|
|
807
|
-
return items.filter(i => {
|
|
808
|
+
return items.filter((i) => {
|
|
808
809
|
if (Array.isArray(this.value)) {
|
|
809
|
-
return this.value.some(ii => {
|
|
810
|
+
return this.value.some((ii) => {
|
|
810
811
|
if (typeof ii === 'object') {
|
|
811
812
|
return i[this.valueField] === ii[this.valueField];
|
|
812
813
|
}
|
|
@@ -826,7 +827,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
826
827
|
});
|
|
827
828
|
}
|
|
828
829
|
if (Array.isArray(this.value)) {
|
|
829
|
-
return this.value.map(ii => {
|
|
830
|
+
return this.value.map((ii) => {
|
|
830
831
|
if (typeof ii === 'object') {
|
|
831
832
|
return ii;
|
|
832
833
|
}
|
|
@@ -863,7 +864,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
863
864
|
this.value = null;
|
|
864
865
|
}
|
|
865
866
|
else if (Array.isArray(this.value)) {
|
|
866
|
-
this.value = this.value.filter(c => !items.some(d => this._getItemValue(c) === this._getItemValue(d)));
|
|
867
|
+
this.value = this.value.filter((c) => !items.some((d) => this._getItemValue(c) === this._getItemValue(d)));
|
|
867
868
|
}
|
|
868
869
|
else {
|
|
869
870
|
this.value = null;
|
|
@@ -872,7 +873,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
872
873
|
selectItems(...items) {
|
|
873
874
|
if (items && items.length) {
|
|
874
875
|
if (this.multiple) {
|
|
875
|
-
this.value = (this.value || []).concat(items.map(c => this._getItemByDataMode(c)));
|
|
876
|
+
this.value = (this.value || []).concat(items.map((c) => this._getItemByDataMode(c)));
|
|
876
877
|
}
|
|
877
878
|
else {
|
|
878
879
|
this.value = this._getItemByDataMode(items[0]);
|
|
@@ -881,7 +882,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
881
882
|
}
|
|
882
883
|
toggleSelect(...items) {
|
|
883
884
|
if (items && items.length) {
|
|
884
|
-
items.forEach(item => {
|
|
885
|
+
items.forEach((item) => {
|
|
885
886
|
if (this.multiple) {
|
|
886
887
|
this.isItemSelected(item) ? this.unselectItems(item) : this.selectItems(item);
|
|
887
888
|
}
|
|
@@ -892,7 +893,7 @@ function _SelectionComponenetMixin(Base) {
|
|
|
892
893
|
}
|
|
893
894
|
}
|
|
894
895
|
isItemSelected(item) {
|
|
895
|
-
return this.selectedItems.some(c => c[this.valueField] === item[this.valueField]);
|
|
896
|
+
return this.selectedItems.some((c) => c[this.valueField] === item[this.valueField]);
|
|
896
897
|
}
|
|
897
898
|
isItemDisabled(item) {
|
|
898
899
|
return (coerceBooleanProperty(item[this.disabledField]) === true ||
|
|
@@ -900,18 +901,21 @@ function _SelectionComponenetMixin(Base) {
|
|
|
900
901
|
}
|
|
901
902
|
};
|
|
902
903
|
}
|
|
903
|
-
const SELECTION_INPUTS = [
|
|
904
|
+
const SELECTION_INPUTS = [
|
|
905
|
+
'valueField',
|
|
906
|
+
'textField',
|
|
907
|
+
'disabledField',
|
|
908
|
+
'disabledCallback',
|
|
909
|
+
'multiple',
|
|
910
|
+
'selectionMode',
|
|
911
|
+
];
|
|
904
912
|
const SELECTION_OUTPUT = ['onValueChanged', 'valueChanged'];
|
|
905
913
|
|
|
906
914
|
function _SizableComponenetMixin(Base) {
|
|
907
915
|
return class extends Base {
|
|
908
916
|
/**
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
size;
|
|
912
|
-
/**
|
|
913
|
-
* @ignore
|
|
914
|
-
*/
|
|
917
|
+
* @ignore
|
|
918
|
+
*/
|
|
915
919
|
constructor(...args) {
|
|
916
920
|
super(...args.slice(0, 2));
|
|
917
921
|
}
|
|
@@ -920,44 +924,11 @@ function _SizableComponenetMixin(Base) {
|
|
|
920
924
|
}
|
|
921
925
|
};
|
|
922
926
|
}
|
|
923
|
-
const SIZABLE_INPUTS = [
|
|
924
|
-
'size',
|
|
925
|
-
];
|
|
927
|
+
const SIZABLE_INPUTS = ['size'];
|
|
926
928
|
const SIZABLE_OUTPUT = [];
|
|
927
929
|
|
|
928
930
|
function _TextboxComponenetMixin(Base) {
|
|
929
931
|
return class extends Base {
|
|
930
|
-
/**
|
|
931
|
-
* A string value that specifies the type of text box.
|
|
932
|
-
*/
|
|
933
|
-
type = 'text';
|
|
934
|
-
/**
|
|
935
|
-
* A string value that specifies the placeholder of text box.
|
|
936
|
-
*/
|
|
937
|
-
placeholder = '';
|
|
938
|
-
/**
|
|
939
|
-
* A number value that specifies the maximum characters of text box.
|
|
940
|
-
*/
|
|
941
|
-
maxLength;
|
|
942
|
-
/**
|
|
943
|
-
* Specifies that autocomplete is on or off.
|
|
944
|
-
*/
|
|
945
|
-
autoComplete;
|
|
946
|
-
/**
|
|
947
|
-
* Fires each time the user press a key.
|
|
948
|
-
* @event
|
|
949
|
-
*/
|
|
950
|
-
onKeyDown = new EventEmitter();
|
|
951
|
-
/**
|
|
952
|
-
* Fires each time the user press a key.
|
|
953
|
-
* @event
|
|
954
|
-
*/
|
|
955
|
-
onKeyUp = new EventEmitter();
|
|
956
|
-
/**
|
|
957
|
-
* Fires each time the user press a key.
|
|
958
|
-
* @event
|
|
959
|
-
*/
|
|
960
|
-
onKeyPress = new EventEmitter();
|
|
961
932
|
_emitOnKeydownEvent(e) {
|
|
962
933
|
this.onKeyDown.emit({
|
|
963
934
|
component: this,
|
|
@@ -984,6 +955,29 @@ function _TextboxComponenetMixin(Base) {
|
|
|
984
955
|
*/
|
|
985
956
|
constructor(...args) {
|
|
986
957
|
super(...args.slice(0, 2));
|
|
958
|
+
/**
|
|
959
|
+
* A string value that specifies the type of text box.
|
|
960
|
+
*/
|
|
961
|
+
this.type = 'text';
|
|
962
|
+
/**
|
|
963
|
+
* A string value that specifies the placeholder of text box.
|
|
964
|
+
*/
|
|
965
|
+
this.placeholder = '';
|
|
966
|
+
/**
|
|
967
|
+
* Fires each time the user press a key.
|
|
968
|
+
* @event
|
|
969
|
+
*/
|
|
970
|
+
this.onKeyDown = new EventEmitter();
|
|
971
|
+
/**
|
|
972
|
+
* Fires each time the user press a key.
|
|
973
|
+
* @event
|
|
974
|
+
*/
|
|
975
|
+
this.onKeyUp = new EventEmitter();
|
|
976
|
+
/**
|
|
977
|
+
* Fires each time the user press a key.
|
|
978
|
+
* @event
|
|
979
|
+
*/
|
|
980
|
+
this.onKeyPress = new EventEmitter();
|
|
987
981
|
}
|
|
988
982
|
};
|
|
989
983
|
}
|
|
@@ -992,14 +986,7 @@ const TEXTBOX_OUTPUT = ['valueChange', 'onValueChanged'];
|
|
|
992
986
|
|
|
993
987
|
function _ValueComponenetMixin(Base) {
|
|
994
988
|
return class extends Base {
|
|
995
|
-
|
|
996
|
-
* Fires each time the user press a key.
|
|
997
|
-
* @event
|
|
998
|
-
*/
|
|
999
|
-
onValueChanged = new EventEmitter();
|
|
1000
|
-
valueChange = new EventEmitter();
|
|
1001
|
-
stateChange = new EventEmitter();
|
|
1002
|
-
#readonly = false;
|
|
989
|
+
#readonly;
|
|
1003
990
|
/**
|
|
1004
991
|
* If set to true, user cannot change the value of component.
|
|
1005
992
|
*/
|
|
@@ -1009,7 +996,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1009
996
|
set readonly(value) {
|
|
1010
997
|
this.#readonly = coerceBooleanProperty(value);
|
|
1011
998
|
}
|
|
1012
|
-
#allowNull
|
|
999
|
+
#allowNull;
|
|
1013
1000
|
get allowNull() {
|
|
1014
1001
|
return this.#allowNull;
|
|
1015
1002
|
}
|
|
@@ -1023,7 +1010,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1023
1010
|
set name(value) {
|
|
1024
1011
|
this.#name = value;
|
|
1025
1012
|
}
|
|
1026
|
-
#isUserInteraction
|
|
1013
|
+
#isUserInteraction;
|
|
1027
1014
|
get isUserInteraction() {
|
|
1028
1015
|
return this.#isUserInteraction;
|
|
1029
1016
|
}
|
|
@@ -1052,7 +1039,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1052
1039
|
this.#isUserInteraction = false;
|
|
1053
1040
|
//}
|
|
1054
1041
|
}
|
|
1055
|
-
#state
|
|
1042
|
+
#state;
|
|
1056
1043
|
get state() {
|
|
1057
1044
|
return this.#state;
|
|
1058
1045
|
}
|
|
@@ -1103,7 +1090,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1103
1090
|
this.value = null;
|
|
1104
1091
|
}
|
|
1105
1092
|
_checkRequired() {
|
|
1106
|
-
const isRequired = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).some(c => c.__axContext__.enabled && c.__axContext__.rule == 'required');
|
|
1093
|
+
const isRequired = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).some((c) => c.__axContext__.enabled && c.__axContext__.rule == 'required');
|
|
1107
1094
|
//
|
|
1108
1095
|
if (isRequired) {
|
|
1109
1096
|
const container = this._getHostElement().classList.contains('ax-editor-container')
|
|
@@ -1116,7 +1103,7 @@ function _ValueComponenetMixin(Base) {
|
|
|
1116
1103
|
}
|
|
1117
1104
|
}
|
|
1118
1105
|
validate() {
|
|
1119
|
-
const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter(c => c.__axContext__.enabled);
|
|
1106
|
+
const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter((c) => c.__axContext__.enabled);
|
|
1120
1107
|
//
|
|
1121
1108
|
if (!rules || rules.length === 0) {
|
|
1122
1109
|
this._setState('clear');
|
|
@@ -1127,13 +1114,13 @@ function _ValueComponenetMixin(Base) {
|
|
|
1127
1114
|
id: this.id,
|
|
1128
1115
|
});
|
|
1129
1116
|
}
|
|
1130
|
-
return new Promise(resolve => {
|
|
1117
|
+
return new Promise((resolve) => {
|
|
1131
1118
|
Promise.all(rules
|
|
1132
|
-
.filter(c => typeof c?.validate === 'function')
|
|
1133
|
-
.map(c => {
|
|
1119
|
+
.filter((c) => typeof c?.validate === 'function')
|
|
1120
|
+
.map((c) => {
|
|
1134
1121
|
return c.validate(this.value);
|
|
1135
|
-
})).then(d => {
|
|
1136
|
-
const error = d.find(c => c.result === false);
|
|
1122
|
+
})).then((d) => {
|
|
1123
|
+
const error = d.find((c) => c.result === false);
|
|
1137
1124
|
if (error) {
|
|
1138
1125
|
this._setState('error', error.message);
|
|
1139
1126
|
resolve({
|
|
@@ -1161,6 +1148,17 @@ function _ValueComponenetMixin(Base) {
|
|
|
1161
1148
|
*/
|
|
1162
1149
|
constructor(...args) {
|
|
1163
1150
|
super(...args);
|
|
1151
|
+
/**
|
|
1152
|
+
* Fires each time the user press a key.
|
|
1153
|
+
* @event
|
|
1154
|
+
*/
|
|
1155
|
+
this.onValueChanged = new EventEmitter();
|
|
1156
|
+
this.valueChange = new EventEmitter();
|
|
1157
|
+
this.stateChange = new EventEmitter();
|
|
1158
|
+
this.#readonly = false;
|
|
1159
|
+
this.#allowNull = true;
|
|
1160
|
+
this.#isUserInteraction = false;
|
|
1161
|
+
this.#state = 'clear';
|
|
1164
1162
|
}
|
|
1165
1163
|
_setState(state, ...args) {
|
|
1166
1164
|
const container = this._getHostElement().classList.contains('ax-editor-container')
|