@acorex/components 7.0.8 → 7.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-sheet/public-api.d.ts +1 -1
- package/action-sheet/src/action-sheet.component.d.ts +19 -13
- package/action-sheet/src/action-sheet.interface.d.ts +20 -0
- package/action-sheet/src/action-sheet.module.d.ts +8 -4
- package/action-sheet/src/action-sheet.service.d.ts +13 -0
- package/alert/src/alert.component.d.ts +2 -2
- package/badge/src/badge.component.d.ts +2 -2
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -6
- package/button/src/button-group.component.d.ts +6 -6
- package/button/src/button-item.component.d.ts +6 -6
- package/color-picker/src/color-picker.component.d.ts +16 -16
- package/common/public-api.d.ts +12 -12
- package/common/src/{components.class.d.ts → classes/components.class.d.ts} +21 -1
- package/common/src/{drawing.class.d.ts → classes/drawing.class.d.ts} +0 -0
- package/common/src/{events.class.d.ts → classes/events.class.d.ts} +0 -0
- package/common/src/{styles.class.d.ts → classes/styles.class.d.ts} +0 -0
- package/common/src/common.module.d.ts +5 -5
- package/common/src/{auto-focus.directive.d.ts → directives/auto-focus.directive.d.ts} +1 -1
- package/common/src/{debounce-time.directive.d.ts → directives/debounce-time.directive.d.ts} +0 -0
- package/common/src/{hotkey.directive.d.ts → directives/hotkey.directive.d.ts} +2 -2
- package/common/src/{infinite-scroll.directive.d.ts → directives/infinite-scroll.directive.d.ts} +0 -0
- package/common/src/{responsive.directive.d.ts → directives/responsive.directive.d.ts} +0 -0
- package/common/src/{custom-cdk-overlay.service.d.ts → services/custom-cdk-overlay.service.d.ts} +0 -0
- package/common/src/{hotkey.service.d.ts → services/hotkey.service.d.ts} +0 -0
- package/common/src/{overlay.service.d.ts → services/overlay.service.d.ts} +4 -3
- package/context-menu/src/context-menu.component.d.ts +1 -1
- package/date-picker/src/datepicker.component.d.ts +14 -14
- package/dialog/src/dialog.class.d.ts +2 -1
- package/esm2020/action-sheet/public-api.mjs +2 -2
- package/esm2020/action-sheet/src/action-sheet.component.mjs +49 -74
- package/esm2020/action-sheet/src/action-sheet.interface.mjs +3 -0
- package/esm2020/action-sheet/src/action-sheet.module.mjs +12 -7
- package/esm2020/action-sheet/src/action-sheet.service.mjs +85 -0
- package/esm2020/button/src/button.component.mjs +2 -2
- package/esm2020/collapse/src/collapse.component.mjs +3 -3
- package/esm2020/common/public-api.mjs +13 -13
- package/esm2020/common/src/classes/components.class.mjs +71 -0
- package/esm2020/common/src/classes/drawing.class.mjs +2 -0
- package/esm2020/common/src/classes/events.class.mjs +58 -0
- package/esm2020/common/src/classes/styles.class.mjs +22 -0
- package/esm2020/common/src/common.module.mjs +6 -6
- package/esm2020/common/src/directives/auto-focus.directive.mjs +55 -0
- package/esm2020/common/src/directives/debounce-time.directive.mjs +47 -0
- package/esm2020/common/src/directives/hotkey.directive.mjs +79 -0
- package/esm2020/common/src/directives/infinite-scroll.directive.mjs +63 -0
- package/esm2020/common/src/directives/responsive.directive.mjs +34 -0
- package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +48 -0
- package/esm2020/common/src/services/hotkey.service.mjs +38 -0
- package/esm2020/common/src/services/overlay.service.mjs +96 -0
- package/esm2020/context-menu/src/context-menu.component.mjs +4 -4
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +3 -3
- package/esm2020/decorators/src/close-button.component.mjs +4 -4
- package/esm2020/dialog/src/dialog.class.mjs +1 -1
- package/esm2020/dialog/src/dialog.component.mjs +3 -3
- package/esm2020/dialog/src/dialog.service.mjs +2 -1
- package/esm2020/menu/src/menu.component.mjs +16 -16
- package/esm2020/mixin/src/base-menu-mixin.class.mjs +3 -3
- package/esm2020/notification/acorex-components-notification.mjs +5 -0
- package/esm2020/notification/public-api.mjs +5 -0
- package/esm2020/notification/src/notification.class.mjs +2 -0
- package/esm2020/notification/src/notification.component.mjs +63 -0
- package/esm2020/notification/src/notification.module.mjs +21 -0
- package/esm2020/notification/src/notification.service.mjs +136 -0
- package/esm2020/number-box/src/number-box.component.mjs +3 -3
- package/esm2020/page/src/base-page.class.mjs +1 -27
- package/esm2020/popup/src/popup.component.mjs +4 -5
- package/esm2020/popup/src/popup.service.mjs +3 -3
- package/esm2020/range-slider/src/range-slider.component.mjs +2 -2
- package/esm2020/select-box/src/selectbox.component.mjs +3 -3
- package/esm2020/tabs/src/tab-content.directive.mjs +1 -1
- package/esm2020/tabs/src/tab-item.component.mjs +1 -1
- package/esm2020/tabs/src/tabs.component.mjs +1 -1
- package/esm2020/toast/src/toast.class.mjs +1 -1
- package/esm2020/toast/src/toast.component.mjs +29 -21
- package/esm2020/toast/src/toast.module.mjs +3 -6
- package/fesm2015/acorex-components-action-sheet.mjs +140 -124
- package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2015/acorex-components-alert.mjs +0 -1
- package/fesm2015/acorex-components-avatar.mjs +0 -1
- package/fesm2015/acorex-components-badge.mjs +0 -1
- package/fesm2015/acorex-components-breadcrumbs.mjs +0 -1
- package/fesm2015/acorex-components-button.mjs +2 -3
- package/fesm2015/acorex-components-button.mjs.map +1 -1
- package/fesm2015/acorex-components-calendar.mjs +0 -1
- package/fesm2015/acorex-components-checkbox.mjs +0 -1
- package/fesm2015/acorex-components-chips.mjs +0 -1
- package/fesm2015/acorex-components-collapse.mjs +2 -3
- package/fesm2015/acorex-components-collapse.mjs.map +1 -1
- package/fesm2015/acorex-components-color-palette.mjs +0 -1
- package/fesm2015/acorex-components-color-picker.mjs +0 -1
- package/fesm2015/acorex-components-common.mjs +149 -120
- package/fesm2015/acorex-components-common.mjs.map +1 -1
- package/fesm2015/acorex-components-context-menu.mjs +3 -4
- package/fesm2015/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2015/acorex-components-data-pager.mjs +2 -3
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2015/acorex-components-data-table.mjs +0 -1
- package/fesm2015/acorex-components-date-picker.mjs +0 -1
- package/fesm2015/acorex-components-decorators.mjs +3 -4
- package/fesm2015/acorex-components-decorators.mjs.map +1 -1
- package/fesm2015/acorex-components-dialog.mjs +3 -3
- package/fesm2015/acorex-components-dialog.mjs.map +1 -1
- package/fesm2015/acorex-components-drawer.mjs +0 -1
- package/fesm2015/acorex-components-dropdown.mjs +0 -1
- package/fesm2015/acorex-components-form.mjs +0 -1
- package/fesm2015/acorex-components-image.mjs +0 -1
- package/fesm2015/acorex-components-label.mjs +0 -1
- package/fesm2015/acorex-components-loading.mjs +0 -1
- package/fesm2015/acorex-components-menu.mjs +15 -16
- package/fesm2015/acorex-components-menu.mjs.map +1 -1
- package/fesm2015/acorex-components-mixin.mjs +2 -3
- package/fesm2015/acorex-components-mixin.mjs.map +1 -1
- package/fesm2015/acorex-components-notification.mjs +221 -0
- package/fesm2015/acorex-components-notification.mjs.map +1 -0
- package/fesm2015/acorex-components-number-box.mjs +2 -3
- package/fesm2015/acorex-components-number-box.mjs.map +1 -1
- package/fesm2015/acorex-components-page.mjs +1 -28
- package/fesm2015/acorex-components-page.mjs.map +1 -1
- package/fesm2015/acorex-components-password-box.mjs +0 -1
- package/fesm2015/acorex-components-popover.mjs +0 -1
- package/fesm2015/acorex-components-popup.mjs +4 -6
- package/fesm2015/acorex-components-popup.mjs.map +1 -1
- package/fesm2015/acorex-components-progress-bar.mjs +0 -1
- package/fesm2015/acorex-components-radio.mjs +0 -1
- package/fesm2015/acorex-components-range-slider.mjs +2 -3
- package/fesm2015/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2015/acorex-components-rating.mjs +0 -1
- package/fesm2015/acorex-components-result.mjs +0 -1
- package/fesm2015/acorex-components-search-box.mjs +0 -1
- package/fesm2015/acorex-components-select-box.mjs +2 -3
- package/fesm2015/acorex-components-select-box.mjs.map +1 -1
- package/fesm2015/acorex-components-selection-list.mjs +0 -1
- package/fesm2015/acorex-components-switch.mjs +0 -1
- package/fesm2015/acorex-components-tabs.mjs.map +1 -1
- package/fesm2015/acorex-components-tag.mjs +0 -1
- package/fesm2015/acorex-components-textarea.mjs +0 -1
- package/fesm2015/acorex-components-textbox.mjs +0 -1
- package/fesm2015/acorex-components-time-box.mjs +0 -1
- package/fesm2015/acorex-components-toast.mjs +30 -26
- package/fesm2015/acorex-components-toast.mjs.map +1 -1
- package/fesm2015/acorex-components-tooltip.mjs +0 -1
- package/fesm2015/acorex-components-tree-view.mjs +0 -1
- package/fesm2015/acorex-components-uploader.mjs +0 -1
- package/fesm2015/acorex-components.mjs +0 -1
- package/fesm2020/acorex-components-action-sheet.mjs +139 -124
- package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2020/acorex-components-alert.mjs +0 -1
- package/fesm2020/acorex-components-avatar.mjs +0 -1
- package/fesm2020/acorex-components-badge.mjs +0 -1
- package/fesm2020/acorex-components-breadcrumbs.mjs +0 -1
- package/fesm2020/acorex-components-button.mjs +2 -3
- package/fesm2020/acorex-components-button.mjs.map +1 -1
- package/fesm2020/acorex-components-calendar.mjs +0 -1
- package/fesm2020/acorex-components-checkbox.mjs +0 -1
- package/fesm2020/acorex-components-chips.mjs +0 -1
- package/fesm2020/acorex-components-collapse.mjs +2 -3
- package/fesm2020/acorex-components-collapse.mjs.map +1 -1
- package/fesm2020/acorex-components-color-palette.mjs +0 -1
- package/fesm2020/acorex-components-color-picker.mjs +0 -1
- package/fesm2020/acorex-components-common.mjs +149 -120
- package/fesm2020/acorex-components-common.mjs.map +1 -1
- package/fesm2020/acorex-components-context-menu.mjs +3 -4
- package/fesm2020/acorex-components-context-menu.mjs.map +1 -1
- package/fesm2020/acorex-components-data-pager.mjs +2 -3
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2020/acorex-components-data-table.mjs +0 -1
- package/fesm2020/acorex-components-date-picker.mjs +0 -1
- package/fesm2020/acorex-components-decorators.mjs +3 -4
- package/fesm2020/acorex-components-decorators.mjs.map +1 -1
- package/fesm2020/acorex-components-dialog.mjs +3 -3
- package/fesm2020/acorex-components-dialog.mjs.map +1 -1
- package/fesm2020/acorex-components-drawer.mjs +0 -1
- package/fesm2020/acorex-components-dropdown.mjs +0 -1
- package/fesm2020/acorex-components-form.mjs +0 -1
- package/fesm2020/acorex-components-image.mjs +0 -1
- package/fesm2020/acorex-components-label.mjs +0 -1
- package/fesm2020/acorex-components-loading.mjs +0 -1
- package/fesm2020/acorex-components-menu.mjs +15 -16
- package/fesm2020/acorex-components-menu.mjs.map +1 -1
- package/fesm2020/acorex-components-mixin.mjs +2 -3
- package/fesm2020/acorex-components-mixin.mjs.map +1 -1
- package/fesm2020/acorex-components-notification.mjs +221 -0
- package/fesm2020/acorex-components-notification.mjs.map +1 -0
- package/fesm2020/acorex-components-number-box.mjs +2 -3
- package/fesm2020/acorex-components-number-box.mjs.map +1 -1
- package/fesm2020/acorex-components-page.mjs +1 -28
- package/fesm2020/acorex-components-page.mjs.map +1 -1
- package/fesm2020/acorex-components-password-box.mjs +0 -1
- package/fesm2020/acorex-components-popover.mjs +0 -1
- package/fesm2020/acorex-components-popup.mjs +4 -6
- package/fesm2020/acorex-components-popup.mjs.map +1 -1
- package/fesm2020/acorex-components-progress-bar.mjs +0 -1
- package/fesm2020/acorex-components-radio.mjs +0 -1
- package/fesm2020/acorex-components-range-slider.mjs +2 -3
- package/fesm2020/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2020/acorex-components-rating.mjs +0 -1
- package/fesm2020/acorex-components-result.mjs +0 -1
- package/fesm2020/acorex-components-search-box.mjs +0 -1
- package/fesm2020/acorex-components-select-box.mjs +2 -3
- package/fesm2020/acorex-components-select-box.mjs.map +1 -1
- package/fesm2020/acorex-components-selection-list.mjs +0 -1
- package/fesm2020/acorex-components-switch.mjs +0 -1
- package/fesm2020/acorex-components-tabs.mjs.map +1 -1
- package/fesm2020/acorex-components-tag.mjs +0 -1
- package/fesm2020/acorex-components-textarea.mjs +0 -1
- package/fesm2020/acorex-components-textbox.mjs +0 -1
- package/fesm2020/acorex-components-time-box.mjs +0 -1
- package/fesm2020/acorex-components-toast.mjs +30 -26
- package/fesm2020/acorex-components-toast.mjs.map +1 -1
- package/fesm2020/acorex-components-tooltip.mjs +0 -1
- package/fesm2020/acorex-components-tree-view.mjs +0 -1
- package/fesm2020/acorex-components-uploader.mjs +0 -1
- package/fesm2020/acorex-components.mjs +0 -1
- package/menu/src/menu.component.d.ts +1 -1
- package/mixin/src/base-components.class.d.ts +2 -2
- package/mixin/src/base-menu-mixin.class.d.ts +6 -6
- package/mixin/src/button-mixin.class.d.ts +2 -2
- package/mixin/src/clickable-mixin.class.d.ts +2 -2
- package/mixin/src/color-look-mixing.class.d.ts +2 -2
- package/mixin/src/datalist-component.class.d.ts +10 -10
- package/mixin/src/dropdown-mixin.class.d.ts +2 -2
- package/mixin/src/interactive-mixin.class.d.ts +4 -4
- package/mixin/src/loading-mixin.class.d.ts +2 -2
- package/mixin/src/mixin.class.d.ts +62 -62
- package/mixin/src/page-component.class.d.ts +2 -2
- package/mixin/src/selection-component.class.d.ts +2 -2
- package/mixin/src/sizable-mixin.class.d.ts +2 -2
- package/mixin/src/textbox-mixin.class.d.ts +2 -2
- package/mixin/src/value-mixin.class.d.ts +8 -8
- package/notification/index.d.ts +5 -0
- package/notification/public-api.d.ts +4 -0
- package/notification/src/notification.class.d.ts +16 -0
- package/notification/src/notification.component.d.ts +25 -0
- package/notification/src/notification.module.d.ts +8 -0
- package/notification/src/notification.service.d.ts +21 -0
- package/package.json +9 -1
- package/page/src/base-page.class.d.ts +3 -23
- package/popup/src/popup.component.d.ts +2 -2
- package/popup/src/popup.service.d.ts +3 -4
- package/tabs/src/tab-content.directive.d.ts +2 -2
- package/tabs/src/tab-item.component.d.ts +4 -4
- package/toast/src/toast.class.d.ts +1 -0
- package/toast/src/toast.component.d.ts +1 -0
- package/toast/src/toast.module.d.ts +1 -4
- package/action-sheet/src/action-sheet-item.component.d.ts +0 -16
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +0 -47
- package/esm2020/common/src/auto-focus.directive.mjs +0 -55
- package/esm2020/common/src/components.class.mjs +0 -45
- package/esm2020/common/src/custom-cdk-overlay.service.mjs +0 -48
- package/esm2020/common/src/debounce-time.directive.mjs +0 -47
- package/esm2020/common/src/drawing.class.mjs +0 -2
- package/esm2020/common/src/events.class.mjs +0 -58
- package/esm2020/common/src/hotkey.directive.mjs +0 -79
- package/esm2020/common/src/hotkey.service.mjs +0 -38
- package/esm2020/common/src/infinite-scroll.directive.mjs +0 -63
- package/esm2020/common/src/overlay.service.mjs +0 -91
- package/esm2020/common/src/responsive.directive.mjs +0 -34
- package/esm2020/common/src/styles.class.mjs +0 -22
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-button.mjs","sources":["../../../../projects/acorex/components/button/src/button.component.ts","../../../../projects/acorex/components/button/src/button.component.html","../../../../projects/acorex/components/button/src/button-group.component.ts","../../../../projects/acorex/components/button/src/button-group.component.html","../../../../projects/acorex/components/button/src/button-item.component.ts","../../../../projects/acorex/components/button/src/button.module.ts","../../../../projects/acorex/components/button/acorex-components-button.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n HostBinding,\r\n Input,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXComponent, AXFocusableComponent } from '@acorex/components/common';\r\nimport {\r\n AXBaseButtonMixin,\r\n} from '@acorex/components/mixin';\r\nimport { AXButtonType } from './button-item.class';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-button',\r\n templateUrl: './button.component.html',\r\n styleUrls:['./button.component.scss'],\r\n inputs: [\r\n 'disabled',\r\n 'size',\r\n 'tabIndex',\r\n 'color',\r\n 'look',\r\n 'text',\r\n 'toggleable',\r\n 'selected',\r\n ],\r\n outputs: [\r\n 'onBlur',\r\n 'onFocus',\r\n 'onClick',\r\n 'selectedChange',\r\n 'toggleableChange',\r\n 'lookChange',\r\n 'colorChange',\r\n ],\r\n host: { \r\n \"(click)\":\"_emitOnClickEvent($event)\",\r\n \"(focus)\":\"_emitOnBlurEvent($event)\",\r\n },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXComponent, useExisting: AXButtonComponent },\r\n { provide: AXFocusableComponent, useExisting: AXButtonComponent },\r\n ],\r\n})\r\nexport class AXButtonComponent extends AXBaseButtonMixin {\r\n\r\n @Input()\r\n type: AXButtonType = \"button\";\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n this._getHostElement().removeAttribute('tabindex');\r\n }\r\n\r\n _emitOnClickEvent(e: MouseEvent) {\r\n if (this.disabled) return;\r\n if (this.toggleable) {\r\n this.selected = !this.selected;\r\n }\r\n super._emitOnClickEvent(e);\r\n }\r\n\r\n click() {\r\n this._getInnerElement().click();\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string[] {\r\n return Object.entries(this._classes)\r\n .filter((c) => c[1])\r\n .map((c) => c[0]);\r\n }\r\n}\r\n","<button [disabled]=\"disabled\" [attr.tabindex]=\"tabIndex\" \r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.type]=\"type\">\r\n <ng-content select=\"ax-prefix, ax-loading, ax-icon\">\r\n </ng-content>\r\n <span class=\"ax-button-text\" *ngIf=\"text\" >{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button>","import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChildren,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n NgZone,\r\n Output,\r\n QueryList,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXButtonComponent } from './button.component';\r\nimport {\r\n AXClickEvent,\r\n AXItemClickEvent,\r\n AXSelectionMode,\r\n AXSelectionValueChangedEvent,\r\n} from '@acorex/components/common';\r\nimport {\r\n _InteractiveComponenetMixin,\r\n _ColorLookComponentMixin,\r\n AXBaseComponent,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseButtonGroupMixin = _InteractiveComponenetMixin(\r\n _ColorLookComponentMixin(AXBaseComponent)\r\n);\r\n\r\n@Component({\r\n selector: 'ax-button-group',\r\n templateUrl: 'button-group.component.html',\r\n inputs: ['disabled', 'tabIndex', 'color', 'look'],\r\n outputs: ['onBlur', 'onFocus', 'lookChange', 'colorChange'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { role: 'group' },\r\n})\r\nexport class AXButtonGroupComponent extends AXBaseButtonGroupMixin {\r\n @Output()\r\n selectionChange: EventEmitter<AXSelectionMode> = new EventEmitter();\r\n\r\n private _selection: AXSelectionMode;\r\n @Input()\r\n public get selection(): AXSelectionMode {\r\n return this._selection;\r\n }\r\n public set selection(value: AXSelectionMode) {\r\n value = this._onOptionChanging({ name: 'selection', value: value });\r\n const oldValue = this.selection;\r\n if (value != oldValue) {\r\n this._selection = value;\r\n this.selectionChange.emit(value);\r\n this.onOptionChanged({ name: 'selection', oldValue, newValue: value });\r\n }\r\n }\r\n\r\n @Output()\r\n onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>> =\r\n new EventEmitter<AXItemClickEvent<AXButtonComponent>>();\r\n\r\n public onValueChanged: EventEmitter<AXSelectionValueChangedEvent> =\r\n new EventEmitter<AXSelectionValueChangedEvent>();\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n _contentButtons: QueryList<AXButtonComponent>;\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n private zone: NgZone,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n ngAfterContentInit() {\r\n this._bindEvents();\r\n this._bindProps();\r\n this._contentButtons.changes.subscribe(() => {\r\n this._bindEvents();\r\n this._bindProps();\r\n });\r\n }\r\n\r\n private _bindEvents() {\r\n this._contentButtons?.forEach((b: any) => {\r\n if (!b.onClick.length)\r\n b.onClick.subscribe((c: any) => {\r\n this._handleClickEvent(c, b);\r\n });\r\n });\r\n }\r\n\r\n private _bindProps() {\r\n this._contentButtons?.forEach((b: any) => {\r\n b.look = this.look ?? this.look;\r\n b.color = this.color ?? this.color;\r\n b.disabled = b.disabled ?? this.disabled;\r\n b.toggleable = false;\r\n });\r\n }\r\n\r\n onOptionChanged(option: any) {\r\n this._bindProps();\r\n }\r\n\r\n _handleClickEvent(e: AXClickEvent, button: any) {\r\n if (this.selection == 'multiple') {\r\n button.selected = !button.selected;\r\n } else if (this.selection == 'single') {\r\n this._contentButtons.forEach((c: any) => {\r\n c.selected = false;\r\n });\r\n button.selected = true;\r\n } else {\r\n button.selected = false;\r\n }\r\n\r\n this.onItemClick.emit({\r\n component: this,\r\n htmlElement: e.htmlElement,\r\n item: button,\r\n });\r\n }\r\n}\r\n","<ng-content select=\"ax-button\"></ng-content>","import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXStyleColorType } from '@acorex/components/common';\r\nimport { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n\r\nexport const AXBaseItemButtonMixin = _InteractiveComponenetMixin(\r\n _ClickableComponenetMixin(AXBaseComponent)\r\n);\r\n\r\n@Component({\r\n selector: 'ax-button-item',\r\n template: `\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <ng-content select=\"ax-icon\"> </ng-content>\r\n <span *ngIf=\"text\">{{ text }}</span>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n `,\r\n host: { class: 'ax-button-item', tabindex: \"0\" },\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n outputs: ['onClick'],\r\n})\r\nexport class AXButtonItemComponent extends AXBaseItemButtonMixin {\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Input()\r\n text: string = '';\r\n\r\n @Input()\r\n tooltip: string = '';\r\n\r\n @Input()\r\n selected: boolean = false;\r\n\r\n @Input()\r\n seperated: boolean = false;\r\n\r\n @Input()\r\n name: string;\r\n\r\n @Input()\r\n data: any;\r\n\r\n @Input()\r\n color: AXStyleColorType = 'ghost';\r\n\r\n @HostListener('click', ['$event'])\r\n private __hostClick(e: MouseEvent) {\r\n this._emitOnClickEvent(e);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n const cssClasses: any = {\r\n 'ax-button-icon': !this.text,\r\n 'ax-state-disabled': this.disabled,\r\n 'ax-state-selected': this.selected,\r\n };\r\n cssClasses[`ax-${this.color || 'primary'}-default`] = true;\r\n return Object.entries(cssClasses)\r\n .filter((c) => c[1])\r\n .map((c) => c[0])\r\n .join(' ');\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { NgModule } from '@angular/core';\r\nimport { AXButtonGroupComponent } from './button-group.component';\r\nimport { AXButtonItemComponent } from './button-item.component';\r\nimport { AXButtonComponent } from './button.component';\r\n\r\n\r\nconst COMPONENT = [\r\n AXButtonComponent,\r\n AXButtonItemComponent,\r\n AXButtonGroupComponent,\r\n];\r\nconst MODULES = [CommonModule,AXDecoratorModule];\r\n\r\n@NgModule({\r\n imports: [MODULES],\r\n exports: [...COMPONENT],\r\n declarations: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXButtonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAeA;;;;AAIG;A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,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBAZvB,iBAAiB;QACjB,qBAAqB;AACrB,QAAA,sBAAsB,CAET,EAAA,OAAA,EAAA,CAAA,YAAY,EAAC,iBAAiB,aAJ3C,iBAAiB;QACjB,qBAAqB;QACrB,sBAAsB,CAAA,EAAA,CAAA,CAAA;AAUb,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YALb,OAAO,CAAA,EAAA,CAAA,CAAA;2FAKR,cAAc,EAAA,UAAA,EAAA,CAAA;kBAN1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,OAAO,CAAC;AAClB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-button.mjs","sources":["../../../../projects/acorex/components/button/src/button.component.ts","../../../../projects/acorex/components/button/src/button.component.html","../../../../projects/acorex/components/button/src/button-group.component.ts","../../../../projects/acorex/components/button/src/button-group.component.html","../../../../projects/acorex/components/button/src/button-item.component.ts","../../../../projects/acorex/components/button/src/button.module.ts","../../../../projects/acorex/components/button/acorex-components-button.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n HostBinding,\r\n Input,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXComponent, AXFocusableComponent } from '@acorex/components/common';\r\nimport {\r\n AXBaseButtonMixin,\r\n} from '@acorex/components/mixin';\r\nimport { AXButtonType } from './button-item.class';\r\n\r\n/**\r\n * The Button is a component which detects user interaction and triggers a corresponding event\r\n *\r\n * @category Components\r\n */\r\n@Component({\r\n selector: 'ax-button',\r\n templateUrl: './button.component.html',\r\n styleUrls:['./button.component.scss'],\r\n inputs: [\r\n 'disabled',\r\n 'size',\r\n 'tabIndex',\r\n 'color',\r\n 'look',\r\n 'text',\r\n 'toggleable',\r\n 'selected',\r\n ],\r\n outputs: [\r\n 'onBlur',\r\n 'onFocus',\r\n 'onClick',\r\n 'selectedChange',\r\n 'toggleableChange',\r\n 'lookChange',\r\n 'colorChange',\r\n ],\r\n host: { \r\n \"(click)\":\"_emitOnClickEvent($event)\",\r\n \"(focus)\":\"_emitOnBlurEvent($event)\",\r\n },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXComponent, useExisting: AXButtonComponent },\r\n { provide: AXFocusableComponent, useExisting: AXButtonComponent },\r\n ],\r\n})\r\nexport class AXButtonComponent extends AXBaseButtonMixin {\r\n\r\n @Input()\r\n type: AXButtonType = \"button\";\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n this._getHostElement().removeAttribute('tabindex');\r\n }\r\n\r\n _emitOnClickEvent(e: MouseEvent) {\r\n if (this.disabled) return;\r\n if (this.toggleable) {\r\n this.selected = !this.selected;\r\n }\r\n super._emitOnClickEvent(e);\r\n }\r\n\r\n click() {\r\n this._getInnerElement().click();\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string[] {\r\n return Object.entries(this._classes)\r\n .filter((c) => c[1])\r\n .map((c) => c[0]);\r\n }\r\n}\r\n","<button [disabled]=\"disabled\" [attr.tabindex]=\"tabIndex\" \r\n (focus)=\"_emitOnFocusEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\" [attr.type]=\"type\">\r\n <ng-content select=\"ax-prefix, ax-loading, ax-icon\">\r\n </ng-content>\r\n <span class=\"ax-button-text\" *ngIf=\"text\" >{{text}}</span>\r\n <ng-content select=\"ax-suffix\">\r\n </ng-content>\r\n <ng-content select=\"ax-dropdown-panel\">\r\n </ng-content>\r\n</button>","import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChildren,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n NgZone,\r\n Output,\r\n QueryList,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXButtonComponent } from './button.component';\r\nimport {\r\n AXClickEvent,\r\n AXItemClickEvent,\r\n AXSelectionMode,\r\n AXSelectionValueChangedEvent,\r\n} from '@acorex/components/common';\r\nimport {\r\n _InteractiveComponenetMixin,\r\n _ColorLookComponentMixin,\r\n AXBaseComponent,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseButtonGroupMixin = _InteractiveComponenetMixin(\r\n _ColorLookComponentMixin(AXBaseComponent)\r\n);\r\n\r\n@Component({\r\n selector: 'ax-button-group',\r\n templateUrl: 'button-group.component.html',\r\n inputs: ['disabled', 'tabIndex', 'color', 'look'],\r\n outputs: ['onBlur', 'onFocus', 'lookChange', 'colorChange'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { role: 'group' },\r\n})\r\nexport class AXButtonGroupComponent extends AXBaseButtonGroupMixin {\r\n @Output()\r\n selectionChange: EventEmitter<AXSelectionMode> = new EventEmitter();\r\n\r\n private _selection: AXSelectionMode;\r\n @Input()\r\n public get selection(): AXSelectionMode {\r\n return this._selection;\r\n }\r\n public set selection(value: AXSelectionMode) {\r\n value = this._onOptionChanging({ name: 'selection', value: value });\r\n const oldValue = this.selection;\r\n if (value != oldValue) {\r\n this._selection = value;\r\n this.selectionChange.emit(value);\r\n this.onOptionChanged({ name: 'selection', oldValue, newValue: value });\r\n }\r\n }\r\n\r\n @Output()\r\n onItemClick: EventEmitter<AXItemClickEvent<AXButtonComponent>> =\r\n new EventEmitter<AXItemClickEvent<AXButtonComponent>>();\r\n\r\n public onValueChanged: EventEmitter<AXSelectionValueChangedEvent> =\r\n new EventEmitter<AXSelectionValueChangedEvent>();\r\n\r\n @ContentChildren(AXButtonComponent, { descendants: true })\r\n _contentButtons: QueryList<AXButtonComponent>;\r\n\r\n constructor(\r\n elementRef: ElementRef,\r\n private zone: NgZone,\r\n cdr: ChangeDetectorRef\r\n ) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n ngAfterContentInit() {\r\n this._bindEvents();\r\n this._bindProps();\r\n this._contentButtons.changes.subscribe(() => {\r\n this._bindEvents();\r\n this._bindProps();\r\n });\r\n }\r\n\r\n private _bindEvents() {\r\n this._contentButtons?.forEach((b: any) => {\r\n if (!b.onClick.length)\r\n b.onClick.subscribe((c: any) => {\r\n this._handleClickEvent(c, b);\r\n });\r\n });\r\n }\r\n\r\n private _bindProps() {\r\n this._contentButtons?.forEach((b: any) => {\r\n b.look = this.look ?? this.look;\r\n b.color = this.color ?? this.color;\r\n b.disabled = b.disabled ?? this.disabled;\r\n b.toggleable = false;\r\n });\r\n }\r\n\r\n onOptionChanged(option: any) {\r\n this._bindProps();\r\n }\r\n\r\n _handleClickEvent(e: AXClickEvent, button: any) {\r\n if (this.selection == 'multiple') {\r\n button.selected = !button.selected;\r\n } else if (this.selection == 'single') {\r\n this._contentButtons.forEach((c: any) => {\r\n c.selected = false;\r\n });\r\n button.selected = true;\r\n } else {\r\n button.selected = false;\r\n }\r\n\r\n this.onItemClick.emit({\r\n component: this,\r\n htmlElement: e.htmlElement,\r\n item: button,\r\n });\r\n }\r\n}\r\n","<ng-content select=\"ax-button\"></ng-content>","import {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ElementRef,\r\n HostBinding,\r\n HostListener,\r\n Input,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { AXStyleColorType } from '@acorex/components/common';\r\nimport { _InteractiveComponenetMixin, _ClickableComponenetMixin, AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n\r\nexport const AXBaseItemButtonMixin = _InteractiveComponenetMixin(\r\n _ClickableComponenetMixin(AXBaseComponent)\r\n);\r\n\r\n@Component({\r\n selector: 'ax-button-item',\r\n template: `\r\n <ng-content select=\"ax-prefix\"> </ng-content>\r\n <ng-content select=\"ax-icon\"> </ng-content>\r\n <span *ngIf=\"text\">{{ text }}</span>\r\n <ng-content select=\"ax-suffix\"> </ng-content>\r\n `,\r\n host: { class: 'ax-button-item', tabindex: \"0\" },\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n outputs: ['onClick'],\r\n})\r\nexport class AXButtonItemComponent extends AXBaseItemButtonMixin {\r\n /**\r\n * @ignore\r\n */\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Input()\r\n text: string = '';\r\n\r\n @Input()\r\n tooltip: string = '';\r\n\r\n @Input()\r\n selected: boolean = false;\r\n\r\n @Input()\r\n seperated: boolean = false;\r\n\r\n @Input()\r\n name: string;\r\n\r\n @Input()\r\n data: any;\r\n\r\n @Input()\r\n color: AXStyleColorType = 'ghost';\r\n\r\n @HostListener('click', ['$event'])\r\n private __hostClick(e: MouseEvent) {\r\n this._emitOnClickEvent(e);\r\n }\r\n\r\n @HostBinding('class')\r\n private get __hostClass(): string {\r\n const cssClasses: any = {\r\n 'ax-button-icon': !this.text,\r\n 'ax-state-disabled': this.disabled,\r\n 'ax-state-selected': this.selected,\r\n };\r\n cssClasses[`ax-${this.color || 'primary'}-default`] = true;\r\n return Object.entries(cssClasses)\r\n .filter((c) => c[1])\r\n .map((c) => c[0])\r\n .join(' ');\r\n }\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { NgModule } from '@angular/core';\r\nimport { AXButtonGroupComponent } from './button-group.component';\r\nimport { AXButtonItemComponent } from './button-item.component';\r\nimport { AXButtonComponent } from './button.component';\r\n\r\n\r\nconst COMPONENT = [\r\n AXButtonComponent,\r\n AXButtonItemComponent,\r\n AXButtonGroupComponent,\r\n];\r\nconst MODULES = [CommonModule,AXDecoratorModule];\r\n\r\n@NgModule({\r\n imports: [MODULES],\r\n exports: [...COMPONENT],\r\n declarations: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXButtonModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAeA;;;;AAIG;AAmCG,MAAO,iBAAkB,SAAQ,iBAAiB,CAAA;AAKtD;;AAEG;IACH,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QANzB,IAAI,CAAA,IAAA,GAAiB,QAAQ,CAAC;KAO7B;IAED,UAAU,GAAA;QACR,IAAI,CAAC,eAAe,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;KACpD;AAED,IAAA,iBAAiB,CAAC,CAAa,EAAA;QAC7B,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAC1B,IAAI,IAAI,CAAC,UAAU,EAAE;AACnB,YAAA,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;AAChC,SAAA;AACD,QAAA,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;KAC5B;IAED,KAAK,GAAA;AACH,QAAA,IAAI,CAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,CAAC;KACjC;AAED,IAAA,IACY,WAAW,GAAA;AACrB,QAAA,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;aACjC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;aACnB,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC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{ AXCalendarBaseComponent, AXCalendarComponent, AXCalendarComponentMixin, AXCalendarModule, AXCalendarNavigateEvent, CALENDAR_INPUTS, CALENDAR_OUTPUTS };
|
529
529
|
//# sourceMappingURL=acorex-components-calendar.mjs.map
|
530
|
-
//# sourceMappingURL=acorex-components-calendar.mjs.map
|
@@ -27,10 +27,10 @@ class AXCollapseComponent extends AXBaseComponent {
|
|
27
27
|
}
|
28
28
|
}
|
29
29
|
AXCollapseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
30
|
-
AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-
|
30
|
+
AXCollapseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXCollapseComponent, selector: "ax-collapse", inputs: { isCollapsed: "isCollapsed", caption: "caption" }, outputs: { isCollapsedChange: "isCollapsedChange" }, queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", styles: ["ax-collapse,ax-collapse-group{display:block;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;font-size:1rem}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{color:rgb(var(--ax-color-text-default));padding:.75rem}ax-collapse .ax-collapse-header{background-color:rgba(var(--ax-color-ghost),.08);cursor:pointer;-webkit-user-select:none;user-select:none}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-arrow{font-size:1.5rem}ax-collapse-group ax-collapse{border:0!important;border-radius:0!important}ax-collapse-group ax-collapse:not(ax-collapse-group ax-collapse:last-child){border-bottom:1px solid!important;border-color:rgb(var(--ax-color-border-default))!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
31
31
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCollapseComponent, decorators: [{
|
32
32
|
type: Component,
|
33
|
-
args: [{ selector: 'ax-collapse', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-
|
33
|
+
args: [{ selector: 'ax-collapse', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>", styles: ["ax-collapse,ax-collapse-group{display:block;border:1px solid;border-color:rgb(var(--ax-color-border-default));border-radius:var(--ax-rounded-border-default);overflow:hidden;font-size:1rem}ax-collapse .ax-collapse-header,ax-collapse .ax-collapse-body{color:rgb(var(--ax-color-text-default));padding:.75rem}ax-collapse .ax-collapse-header{background-color:rgba(var(--ax-color-ghost),.08);cursor:pointer;-webkit-user-select:none;user-select:none}ax-collapse .ax-collapse-header .ax-collapse-header-container{display:flex;justify-content:space-between}ax-collapse .ax-collapse-header .ax-collapse-header-container .ax-collapse-arrow{font-size:1.5rem}ax-collapse-group ax-collapse{border:0!important;border-radius:0!important}ax-collapse-group ax-collapse:not(ax-collapse-group ax-collapse:last-child){border-bottom:1px solid!important;border-color:rgb(var(--ax-color-border-default))!important}\n"] }]
|
34
34
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { isCollapsedChange: [{
|
35
35
|
type: Output
|
36
36
|
}], isCollapsed: [{
|
@@ -111,4 +111,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
111
111
|
|
112
112
|
export { AXCollapseComponent, AXCollapseGroupComponent, AXCollapseModule };
|
113
113
|
//# sourceMappingURL=acorex-components-collapse.mjs.map
|
114
|
-
//# sourceMappingURL=acorex-components-collapse.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../projects/acorex/components/collapse/src/collapse.component.ts","../../../../projects/acorex/components/collapse/src/collapse.component.html","../../../../projects/acorex/components/collapse/src/collapse-group.component.ts","../../../../projects/acorex/components/collapse/src/collapse.module.ts","../../../../projects/acorex/components/collapse/acorex-components-collapse.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-collapse',\r\n templateUrl: './collapse.component.html',\r\n styleUrls: ['./collapse.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseComponent extends AXBaseComponent {\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\r\n\r\n private _isCollapsed: boolean = false;\r\n @Input()\r\n public get isCollapsed(): boolean {\r\n return this._isCollapsed;\r\n }\r\n public set isCollapsed(v: boolean) {\r\n if (v != this._isCollapsed) {\r\n this._isCollapsed = v;\r\n this.isCollapsedChange.emit(v);\r\n this._cdr.detectChanges();\r\n }\r\n }\r\n\r\n @Input()\r\n caption: string = '';\r\n\r\n @ContentChild('header', { static: true })\r\n headerTemplate: TemplateRef<any>;\r\n\r\n handleHeaderClick() {\r\n this.isCollapsed = !this.isCollapsed;\r\n }\r\n}\r\n","<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotate-90': isCollapsed, 'ax-rotate-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>","import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, Input, QueryList, ViewEncapsulation } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXCollapseComponent } from './collapse.component';\r\n\r\n@Component({\r\n selector: 'ax-collapse-group',\r\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\r\n host: { class: 'ax-collapse-group' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseGroupComponent extends AXBaseComponent {\r\n\r\n @Input() accordion = false;\r\n\r\n @Input() nonCollapsedIndex = 0;\r\n\r\n @ContentChildren(AXCollapseComponent)\r\n private _items: QueryList<AXCollapseComponent>;\r\n\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n onViewInit(): void {\r\n if (this.accordion) {\r\n this._items.forEach(c => c.isCollapsed = true);\r\n // TODO:Check ts error\r\n //@ts-ignore\r\n this._items.get(this.nonCollapsedIndex).isCollapsed = false;\r\n console.log(this._items[this.nonCollapsedIndex]);\r\n\r\n this._items.forEach((c1: AXCollapseComponent) => {\r\n this._subs.push(c1.isCollapsedChange.subscribe(e => {\r\n if (!e)\r\n this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);\r\n }));\r\n })\r\n }\r\n }\r\n\r\n onDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n this._subs = [];\r\n }\r\n\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXCollapseComponent } from './collapse.component';\r\nimport { AXCollapseGroupComponent } from './collapse-group.component';\r\n\r\n@NgModule({\r\n declarations: [AXCollapseComponent,AXCollapseGroupComponent],\r\n imports: [ CommonModule ],\r\n exports: [AXCollapseComponent,AXCollapseGroupComponent],\r\n providers: [],\r\n})\r\nexport class AXCollapseModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAqBM,MAAO,mBAAoB,SAAQ,eAAe,CAAA;IACtD,WAAY,CAAA,UAAsB,EAAU,GAAsB,EAAA;AAChE,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QADmB,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAKlE,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO,CAAC;QAEvD,IAAY,CAAA,YAAA,GAAY,KAAK,CAAC;QActC,IAAO,CAAA,OAAA,GAAW,EAAE,CAAC;KAnBpB;AAMD,IA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AACN,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAC,wBAAwB,CAAC;oBAC5D,OAAO,EAAE,CAAE,YAAY,CAAE;AACzB,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAC,wBAAwB,CAAC;AACvD,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-collapse.mjs","sources":["../../../../projects/acorex/components/collapse/src/collapse.component.ts","../../../../projects/acorex/components/collapse/src/collapse.component.html","../../../../projects/acorex/components/collapse/src/collapse-group.component.ts","../../../../projects/acorex/components/collapse/src/collapse.module.ts","../../../../projects/acorex/components/collapse/acorex-components-collapse.ts"],"sourcesContent":["import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport {\r\n ChangeDetectionStrategy,\r\n ChangeDetectorRef,\r\n Component,\r\n ContentChild,\r\n ElementRef,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n TemplateRef,\r\n ViewEncapsulation,\r\n} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'ax-collapse',\r\n templateUrl: './collapse.component.html',\r\n styleUrls: ['./collapse.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseComponent extends AXBaseComponent {\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n @Output()\r\n isCollapsedChange: EventEmitter<any> = new EventEmitter<any>();\r\n\r\n private _isCollapsed: boolean = false;\r\n @Input()\r\n public get isCollapsed(): boolean {\r\n return this._isCollapsed;\r\n }\r\n public set isCollapsed(v: boolean) {\r\n if (v != this._isCollapsed) {\r\n this._isCollapsed = v;\r\n this.isCollapsedChange.emit(v);\r\n this._cdr.detectChanges();\r\n }\r\n }\r\n\r\n @Input()\r\n caption: string = '';\r\n\r\n @ContentChild('header', { static: true })\r\n headerTemplate: TemplateRef<any>;\r\n\r\n handleHeaderClick() {\r\n this.isCollapsed = !this.isCollapsed;\r\n }\r\n}\r\n","<div class=\"ax-collapse-header\" [class.ax-state-collapsed]=\"isCollapsed\" (click)=\"handleHeaderClick()\">\r\n <ng-container *ngIf=\"headerTemplate;else header\">\r\n <div class=\"ax-collapse-custom-header-container\">\r\n <ng-container [ngTemplateOutlet]=\"headerTemplate\"\r\n [ngTemplateOutletContext]=\"{ $implicit: { caption, isCollapsed } }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #header>\r\n <div class=\"ax-collapse-header-container\">\r\n <span>{{caption}}</span>\r\n <!-- <span class=\"ax-icon ax-icon-chevron-down ax-collapse-arrow\"\r\n [ngClass]=\"{'ax-icon-chevron-up': !isCollapsed,'ax-icon-chevrop-down': isCollapsed}\"></span> -->\r\n\r\n <span class=\"ax-icon ax-icon-chevron-left ax-collapse-arrow ax-transition-all\" [ngClass]=\"{'-ax-rotation-90': isCollapsed, 'ax-rotation-90':!isCollapsed}\"></span>\r\n </div>\r\n </ng-template>\r\n</div>\r\n\r\n<div class=\"ax-collapse-body\" *ngIf=\"!isCollapsed\">\r\n <ng-content></ng-content>\r\n</div>","import { AXBaseComponent } from '@acorex/components/mixin';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, Input, QueryList, ViewEncapsulation } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { AXCollapseComponent } from './collapse.component';\r\n\r\n@Component({\r\n selector: 'ax-collapse-group',\r\n template: `<ng-content select=\"ax-collapse\"></ng-content>`,\r\n host: { class: 'ax-collapse-group' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXCollapseGroupComponent extends AXBaseComponent {\r\n\r\n @Input() accordion = false;\r\n\r\n @Input() nonCollapsedIndex = 0;\r\n\r\n @ContentChildren(AXCollapseComponent)\r\n private _items: QueryList<AXCollapseComponent>;\r\n\r\n\r\n private _subs: Subscription[] = [];\r\n\r\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n\r\n onViewInit(): void {\r\n if (this.accordion) {\r\n this._items.forEach(c => c.isCollapsed = true);\r\n // TODO:Check ts error\r\n //@ts-ignore\r\n this._items.get(this.nonCollapsedIndex).isCollapsed = false;\r\n console.log(this._items[this.nonCollapsedIndex]);\r\n\r\n this._items.forEach((c1: AXCollapseComponent) => {\r\n this._subs.push(c1.isCollapsedChange.subscribe(e => {\r\n if (!e)\r\n this._items.toArray().filter(c2 => c2 != c1).forEach(c => c.isCollapsed = true);\r\n }));\r\n })\r\n }\r\n }\r\n\r\n onDestroy(): void {\r\n this._subs.forEach(s => s.unsubscribe());\r\n this._subs = [];\r\n }\r\n\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXCollapseComponent } from './collapse.component';\r\nimport { AXCollapseGroupComponent } from './collapse-group.component';\r\n\r\n@NgModule({\r\n declarations: [AXCollapseComponent,AXCollapseGroupComponent],\r\n imports: [ CommonModule ],\r\n exports: [AXCollapseComponent,AXCollapseGroupComponent],\r\n providers: [],\r\n})\r\nexport class AXCollapseModule {}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAqBM,MAAO,mBAAoB,SAAQ,eAAe,CAAA;IACtD,WAAY,CAAA,UAAsB,EAAU,GAAsB,EAAA;AAChE,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QADmB,IAAG,CAAA,GAAA,GAAH,GAAG,CAAmB;AAKlE,QAAA,IAAA,CAAA,iBAAiB,GAAsB,IAAI,YAAY,EAAO,CAAC;QAEvD,IAAY,CAAA,YAAA,GAAY,KAAK,CAAC;QActC,IAAO,CAAA,OAAA,GAAW,EAAE,CAAC;KAnBpB;AAMD,IAAA,IACW,WAAW,GAAA;QACpB,OAAO,IAAI,CAAC,YAAY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wB,CAAC;oBAC5D,OAAO,EAAE,CAAE,YAAY,CAAE;AACzB,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAC,wBAAwB,CAAC;AACvD,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
@@ -668,4 +668,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
668
668
|
|
669
669
|
export { AXColorComponent, AXColorPaletteChildComponent, AXColorPaletteInputComponent, AXColorPaletteModule, AXColorPalettePickerComponent, AXColorPalettePreviewComponent, AXColorPaletteSwatchesComponent, AXColorPalleteComponent };
|
670
670
|
//# sourceMappingURL=acorex-components-color-palette.mjs.map
|
671
|
-
//# sourceMappingURL=acorex-components-color-palette.mjs.map
|
@@ -155,4 +155,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
155
155
|
|
156
156
|
export { AXBaseColorPickerMixin, AXColorPickerComponent, AXColorPickerModule };
|
157
157
|
//# sourceMappingURL=acorex-components-color-picker.mjs.map
|
158
|
-
//# sourceMappingURL=acorex-components-color-picker.mjs.map
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
|
-
import { Injectable, Directive, Host, Self, Optional, Input, EventEmitter, Output, Inject,
|
2
|
+
import { Injectable, Directive, Host, Self, Optional, Input, EventEmitter, Output, Inject, TemplateRef, NgModule } from '@angular/core';
|
3
3
|
import { skip, distinctUntilChanged, debounceTime, fromEvent, merge } from 'rxjs';
|
4
4
|
import * as i1 from '@angular/forms';
|
5
5
|
import * as i3 from '@angular/common';
|
@@ -12,6 +12,89 @@ import { OverlayContainer, Overlay } from '@angular/cdk/overlay';
|
|
12
12
|
import * as i2 from '@angular/cdk/bidi';
|
13
13
|
import { TemplatePortal, ComponentPortal } from '@angular/cdk/portal';
|
14
14
|
|
15
|
+
/**
|
16
|
+
* Contains native event
|
17
|
+
* @category Events
|
18
|
+
*/
|
19
|
+
class AXEvent {
|
20
|
+
constructor() {
|
21
|
+
this.isUserInteraction = false;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Contains native event
|
26
|
+
* @category Events
|
27
|
+
*/
|
28
|
+
class AXHtmlEvent extends AXEvent {
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Contains native event
|
32
|
+
* @category Events
|
33
|
+
*/
|
34
|
+
class AXValueChangedEvent extends AXEvent {
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* Fires each time the user click the element.
|
38
|
+
* @category Events
|
39
|
+
*/
|
40
|
+
class AXClickEvent extends AXHtmlEvent {
|
41
|
+
}
|
42
|
+
/**
|
43
|
+
* Fires each time the user click the element.
|
44
|
+
* @category Events
|
45
|
+
*/
|
46
|
+
class AXButtonClickEvent extends AXClickEvent {
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* Fires each time the user click the element.
|
50
|
+
* @category Events
|
51
|
+
*/
|
52
|
+
class AXItemClickEvent extends AXHtmlEvent {
|
53
|
+
}
|
54
|
+
/**
|
55
|
+
* Fires each time the component gets focused.
|
56
|
+
* @category Events
|
57
|
+
*/
|
58
|
+
class AXFocusEvent extends AXHtmlEvent {
|
59
|
+
}
|
60
|
+
/**
|
61
|
+
* Fires each time an item or multiple items selected by the user or value.
|
62
|
+
* @category Events
|
63
|
+
*/
|
64
|
+
class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
65
|
+
}
|
66
|
+
/**
|
67
|
+
* Contains range start & end values
|
68
|
+
* @category Events
|
69
|
+
*/
|
70
|
+
class AXRangeChangedEvent extends AXEvent {
|
71
|
+
}
|
72
|
+
|
73
|
+
const TAB_META_KEY = '__meta__';
|
74
|
+
class AXComponentCloseEvent extends AXEvent {
|
75
|
+
}
|
76
|
+
class AXComponentClosing {
|
77
|
+
constructor() {
|
78
|
+
this.cancel = false;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
class AXComponentResult {
|
82
|
+
}
|
83
|
+
/**
|
84
|
+
* 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 after the primary text.
|
85
|
+
*/
|
86
|
+
class AXComponentClosedPromise extends Promise {
|
87
|
+
constructor(executor) {
|
88
|
+
//TODO: check ts error
|
89
|
+
//@ts-ignore
|
90
|
+
super(executor);
|
91
|
+
}
|
92
|
+
close() {
|
93
|
+
if (this.closeMethod) {
|
94
|
+
this.closeMethod();
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
15
98
|
class AXComponent {
|
16
99
|
}
|
17
100
|
AXComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
@@ -55,6 +138,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
55
138
|
type: Injectable
|
56
139
|
}] });
|
57
140
|
|
141
|
+
const AX_STYLE_COLOR_TYPES = [
|
142
|
+
'primary',
|
143
|
+
'secondary',
|
144
|
+
'info',
|
145
|
+
'danger',
|
146
|
+
'success',
|
147
|
+
'warning',
|
148
|
+
'light',
|
149
|
+
'dark'
|
150
|
+
];
|
151
|
+
const AX_LOCATIONS = [
|
152
|
+
'bottom-start',
|
153
|
+
'bottom-center',
|
154
|
+
'bottom-end',
|
155
|
+
'top-start',
|
156
|
+
'top-center',
|
157
|
+
'top-end',
|
158
|
+
'center-end',
|
159
|
+
'center-start'
|
160
|
+
];
|
161
|
+
const AX_DIRECTIONS = ['vertical', 'horizontal'];
|
162
|
+
|
58
163
|
class AXAutoFocusDirective {
|
59
164
|
constructor(el, _host) {
|
60
165
|
this.el = el;
|
@@ -349,41 +454,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
349
454
|
args: [{ selector: '[ax-responsive]' }]
|
350
455
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
351
456
|
|
352
|
-
class AXCommonModule {
|
353
|
-
}
|
354
|
-
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
355
|
-
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
356
|
-
AXInfiniteScrollerDirective,
|
357
|
-
AXNgModelChangeDebouncedDirective,
|
358
|
-
AXAutoFocusDirective,
|
359
|
-
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
360
|
-
AXInfiniteScrollerDirective,
|
361
|
-
AXAutoFocusDirective,
|
362
|
-
AXNgModelChangeDebouncedDirective,
|
363
|
-
AXHotkeyDirective] });
|
364
|
-
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule });
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, decorators: [{
|
366
|
-
type: NgModule,
|
367
|
-
args: [{
|
368
|
-
imports: [],
|
369
|
-
exports: [
|
370
|
-
AXResponsiveDirective,
|
371
|
-
AXInfiniteScrollerDirective,
|
372
|
-
AXAutoFocusDirective,
|
373
|
-
AXNgModelChangeDebouncedDirective,
|
374
|
-
AXHotkeyDirective,
|
375
|
-
],
|
376
|
-
declarations: [
|
377
|
-
AXResponsiveDirective,
|
378
|
-
AXInfiniteScrollerDirective,
|
379
|
-
AXNgModelChangeDebouncedDirective,
|
380
|
-
AXAutoFocusDirective,
|
381
|
-
AXHotkeyDirective,
|
382
|
-
],
|
383
|
-
providers: [],
|
384
|
-
}]
|
385
|
-
}] });
|
386
|
-
|
387
457
|
class DynamicOverlayContainer extends OverlayContainer {
|
388
458
|
setContainerElement(containerElement) {
|
389
459
|
this._containerElement = containerElement;
|
@@ -424,70 +494,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
424
494
|
args: [DOCUMENT]
|
425
495
|
}] }, { type: i2.Directionality }, { type: i0.RendererFactory2 }, { type: i3.Location }, { type: i1$2.OverlayOutsideClickDispatcher }]; } });
|
426
496
|
|
427
|
-
/**
|
428
|
-
* Contains native event
|
429
|
-
* @category Events
|
430
|
-
*/
|
431
|
-
class AXEvent {
|
432
|
-
constructor() {
|
433
|
-
this.isUserInteraction = false;
|
434
|
-
}
|
435
|
-
}
|
436
|
-
/**
|
437
|
-
* Contains native event
|
438
|
-
* @category Events
|
439
|
-
*/
|
440
|
-
class AXHtmlEvent extends AXEvent {
|
441
|
-
}
|
442
|
-
/**
|
443
|
-
* Contains native event
|
444
|
-
* @category Events
|
445
|
-
*/
|
446
|
-
class AXValueChangedEvent extends AXEvent {
|
447
|
-
}
|
448
|
-
/**
|
449
|
-
* Fires each time the user click the element.
|
450
|
-
* @category Events
|
451
|
-
*/
|
452
|
-
class AXClickEvent extends AXHtmlEvent {
|
453
|
-
}
|
454
|
-
/**
|
455
|
-
* Fires each time the user click the element.
|
456
|
-
* @category Events
|
457
|
-
*/
|
458
|
-
class AXButtonClickEvent extends AXClickEvent {
|
459
|
-
}
|
460
|
-
/**
|
461
|
-
* Fires each time the user click the element.
|
462
|
-
* @category Events
|
463
|
-
*/
|
464
|
-
class AXItemClickEvent extends AXHtmlEvent {
|
465
|
-
}
|
466
|
-
/**
|
467
|
-
* Fires each time the component gets focused.
|
468
|
-
* @category Events
|
469
|
-
*/
|
470
|
-
class AXFocusEvent extends AXHtmlEvent {
|
471
|
-
}
|
472
|
-
/**
|
473
|
-
* Fires each time an item or multiple items selected by the user or value.
|
474
|
-
* @category Events
|
475
|
-
*/
|
476
|
-
class AXSelectionValueChangedEvent extends AXValueChangedEvent {
|
477
|
-
}
|
478
|
-
/**
|
479
|
-
* Contains range start & end values
|
480
|
-
* @category Events
|
481
|
-
*/
|
482
|
-
class AXRangeChangedEvent extends AXEvent {
|
483
|
-
}
|
484
|
-
|
485
497
|
class AXOverlayService {
|
486
498
|
constructor(overlayService, overlayService2, appRef) {
|
487
499
|
this.overlayService = overlayService;
|
488
500
|
this.overlayService2 = overlayService2;
|
489
501
|
this.appRef = appRef;
|
490
502
|
}
|
503
|
+
position() {
|
504
|
+
return this.overlayService.position();
|
505
|
+
}
|
491
506
|
show(content, context, configs) {
|
492
507
|
configs = Object.assign({
|
493
508
|
hasBackdrop: true,
|
@@ -510,13 +525,16 @@ class AXOverlayService {
|
|
510
525
|
}
|
511
526
|
let positionStrategy;
|
512
527
|
if (configs.position && configs.targetElement) {
|
528
|
+
const p = Array.isArray(configs.position) ? configs.position : [configs.position];
|
513
529
|
positionStrategy = this.overlayService.position()
|
514
530
|
.flexibleConnectedTo(configs.targetElement)
|
515
|
-
.withPositions(
|
531
|
+
.withPositions(p)
|
516
532
|
.withPush(true);
|
517
533
|
}
|
518
534
|
else {
|
519
|
-
positionStrategy =
|
535
|
+
positionStrategy = configs.position ?
|
536
|
+
configs.position :
|
537
|
+
this.overlayService.position().global().centerHorizontally().centerVertically();
|
520
538
|
}
|
521
539
|
let scrollStrategy = this.overlayService.scrollStrategies.reposition({ autoClose: true });
|
522
540
|
if (configs.scroll === 'block') {
|
@@ -533,7 +551,6 @@ class AXOverlayService {
|
|
533
551
|
backdropClass: configs.backdropClass ? configs.backdropClass : (configs.transparentBackdrop ? 'cdk-overlay-transparent-backdrop' : undefined),
|
534
552
|
panelClass: configs.panelClass ? configs.panelClass : ['ax-animate-animated', 'ax-animate-zoomIn', 'ax-animate-faster']
|
535
553
|
};
|
536
|
-
// joon nanat dorost sho
|
537
554
|
let overlayRef = configs.containerElement ? this.overlayService.createOn(configs.containerElement, config) : this.overlayService2.create(config);
|
538
555
|
const host = overlayRef.attach(portal);
|
539
556
|
if (host.instance) {
|
@@ -567,32 +584,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
567
584
|
args: [{ providedIn: 'root' }]
|
568
585
|
}], ctorParameters: function () { return [{ type: DynamicOverlay }, { type: i1$2.Overlay }, { type: i0.ApplicationRef }]; } });
|
569
586
|
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
587
|
+
class AXCommonModule {
|
588
|
+
}
|
589
|
+
AXCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
590
|
+
AXCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, declarations: [AXResponsiveDirective,
|
591
|
+
AXInfiniteScrollerDirective,
|
592
|
+
AXNgModelChangeDebouncedDirective,
|
593
|
+
AXAutoFocusDirective,
|
594
|
+
AXHotkeyDirective], exports: [AXResponsiveDirective,
|
595
|
+
AXInfiniteScrollerDirective,
|
596
|
+
AXAutoFocusDirective,
|
597
|
+
AXNgModelChangeDebouncedDirective,
|
598
|
+
AXHotkeyDirective] });
|
599
|
+
AXCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule });
|
600
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXCommonModule, decorators: [{
|
601
|
+
type: NgModule,
|
602
|
+
args: [{
|
603
|
+
imports: [],
|
604
|
+
exports: [
|
605
|
+
AXResponsiveDirective,
|
606
|
+
AXInfiniteScrollerDirective,
|
607
|
+
AXAutoFocusDirective,
|
608
|
+
AXNgModelChangeDebouncedDirective,
|
609
|
+
AXHotkeyDirective,
|
610
|
+
],
|
611
|
+
declarations: [
|
612
|
+
AXResponsiveDirective,
|
613
|
+
AXInfiniteScrollerDirective,
|
614
|
+
AXNgModelChangeDebouncedDirective,
|
615
|
+
AXAutoFocusDirective,
|
616
|
+
AXHotkeyDirective,
|
617
|
+
],
|
618
|
+
providers: [],
|
619
|
+
}]
|
620
|
+
}] });
|
591
621
|
|
592
622
|
/**
|
593
623
|
* Generated bundle index. Do not edit.
|
594
624
|
*/
|
595
625
|
|
596
|
-
export { AXAutoFocusDirective, AXButtonClickEvent, AXClickEvent, AXClosbaleComponent, AXCommonModule, AXComponent, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXItemClickEvent, AXNgModelChangeDebouncedDirective, AXOverlayService, AXPagedComponent, AXRangeChangedEvent, AXResponsiveDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_COLOR_TYPES, DynamicOverlay, DynamicOverlayContainer };
|
597
|
-
//# sourceMappingURL=acorex-components-common.mjs.map
|
626
|
+
export { AXAutoFocusDirective, AXButtonClickEvent, AXClickEvent, AXClosbaleComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXItemClickEvent, AXNgModelChangeDebouncedDirective, AXOverlayService, AXPagedComponent, AXRangeChangedEvent, AXResponsiveDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_DIRECTIONS, AX_LOCATIONS, AX_STYLE_COLOR_TYPES, DynamicOverlay, DynamicOverlayContainer, TAB_META_KEY };
|
598
627
|
//# sourceMappingURL=acorex-components-common.mjs.map
|