@acorex/components 6.0.17 → 6.1.0
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/alert/src/alert.component.d.ts +4 -4
- package/badge/src/badge.component.d.ts +1 -1
- package/breadcrumbs/src/breadcrumbs-item.component.d.ts +4 -4
- package/button/src/button-group.component.d.ts +4 -4
- package/button/src/button-item.class.d.ts +2 -1
- package/button/src/button-item.component.d.ts +4 -4
- package/button/src/button.component.d.ts +3 -1
- package/calendar/src/calendar.component.d.ts +20 -20
- package/color-picker/src/color-picker.component.d.ts +14 -14
- package/date-picker/src/datepicker.component.d.ts +23 -23
- package/esm2020/action-sheet/src/action-sheet-item.component.mjs +1 -1
- package/esm2020/alert/src/alert.component.mjs +4 -8
- package/esm2020/button/src/button-item.class.mjs +1 -1
- package/esm2020/button/src/button.component.mjs +9 -6
- package/esm2020/calendar/src/calendar.component.mjs +3 -3
- package/esm2020/color-palette/src/color-palette-input.component.mjs +1 -1
- package/esm2020/color-picker/src/color-picker.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +1 -1
- package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +1 -1
- package/esm2020/date-picker/src/datepicker.component.mjs +9 -7
- package/esm2020/dialog/src/dialog.component.mjs +1 -1
- package/esm2020/form/src/form.component.mjs +10 -3
- package/esm2020/form/src/validation-summary.component.mjs +1 -1
- package/esm2020/number-box/src/number-box.component.mjs +1 -1
- package/esm2020/password-box/src/password-box.component.mjs +3 -3
- package/esm2020/search-box/src/search-box.component.mjs +1 -1
- package/esm2020/select-box/src/selectbox.component.mjs +3 -3
- package/esm2020/textbox/public-api.mjs +2 -1
- package/esm2020/textbox/src/mask-settings.directive.mjs +23 -0
- package/esm2020/textbox/src/textbox.component.mjs +19 -4
- package/esm2020/textbox/src/textbox.module.mjs +7 -10
- package/esm2020/toast/src/toast.component.mjs +1 -1
- package/fesm2015/acorex-components-action-sheet.mjs +1 -1
- package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2015/acorex-components-alert.mjs +3 -7
- package/fesm2015/acorex-components-alert.mjs.map +1 -1
- package/fesm2015/acorex-components-button.mjs +8 -5
- package/fesm2015/acorex-components-button.mjs.map +1 -1
- package/fesm2015/acorex-components-calendar.mjs +2 -2
- package/fesm2015/acorex-components-calendar.mjs.map +1 -1
- package/fesm2015/acorex-components-color-palette.mjs +1 -1
- package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2015/acorex-components-color-picker.mjs +1 -1
- package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-data-pager.mjs +4 -4
- package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2015/acorex-components-date-picker.mjs +10 -7
- package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2015/acorex-components-dialog.mjs +1 -1
- package/fesm2015/acorex-components-dialog.mjs.map +1 -1
- package/fesm2015/acorex-components-form.mjs +10 -3
- package/fesm2015/acorex-components-form.mjs.map +1 -1
- package/fesm2015/acorex-components-number-box.mjs +1 -1
- package/fesm2015/acorex-components-number-box.mjs.map +1 -1
- package/fesm2015/acorex-components-password-box.mjs +2 -2
- package/fesm2015/acorex-components-password-box.mjs.map +1 -1
- package/fesm2015/acorex-components-search-box.mjs +1 -1
- package/fesm2015/acorex-components-search-box.mjs.map +1 -1
- package/fesm2015/acorex-components-select-box.mjs +2 -2
- package/fesm2015/acorex-components-select-box.mjs.map +1 -1
- package/fesm2015/acorex-components-textbox.mjs +44 -13
- package/fesm2015/acorex-components-textbox.mjs.map +1 -1
- package/fesm2015/acorex-components-toast.mjs +1 -1
- package/fesm2015/acorex-components-toast.mjs.map +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs +1 -1
- package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
- package/fesm2020/acorex-components-alert.mjs +3 -7
- package/fesm2020/acorex-components-alert.mjs.map +1 -1
- package/fesm2020/acorex-components-button.mjs +8 -5
- package/fesm2020/acorex-components-button.mjs.map +1 -1
- package/fesm2020/acorex-components-calendar.mjs +2 -2
- package/fesm2020/acorex-components-calendar.mjs.map +1 -1
- package/fesm2020/acorex-components-color-palette.mjs +1 -1
- package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
- package/fesm2020/acorex-components-color-picker.mjs +1 -1
- package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-data-pager.mjs +4 -4
- package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2020/acorex-components-date-picker.mjs +9 -7
- package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
- package/fesm2020/acorex-components-dialog.mjs +1 -1
- package/fesm2020/acorex-components-dialog.mjs.map +1 -1
- package/fesm2020/acorex-components-form.mjs +10 -3
- package/fesm2020/acorex-components-form.mjs.map +1 -1
- package/fesm2020/acorex-components-number-box.mjs +1 -1
- package/fesm2020/acorex-components-number-box.mjs.map +1 -1
- package/fesm2020/acorex-components-password-box.mjs +2 -2
- package/fesm2020/acorex-components-password-box.mjs.map +1 -1
- package/fesm2020/acorex-components-search-box.mjs +1 -1
- package/fesm2020/acorex-components-search-box.mjs.map +1 -1
- package/fesm2020/acorex-components-select-box.mjs +2 -2
- package/fesm2020/acorex-components-select-box.mjs.map +1 -1
- package/fesm2020/acorex-components-textbox.mjs +44 -13
- package/fesm2020/acorex-components-textbox.mjs.map +1 -1
- package/fesm2020/acorex-components-toast.mjs +1 -1
- package/fesm2020/acorex-components-toast.mjs.map +1 -1
- package/form/src/form.component.d.ts +2 -0
- package/mixin/src/base-components.class.d.ts +1 -1
- package/mixin/src/base-menu-mixin.class.d.ts +4 -4
- package/mixin/src/button-mixin.class.d.ts +1 -1
- package/mixin/src/clickable-mixin.class.d.ts +1 -1
- package/mixin/src/color-look-mixing.class.d.ts +1 -1
- package/mixin/src/datalist-component.class.d.ts +9 -9
- package/mixin/src/dropdown-mixin.class.d.ts +1 -1
- package/mixin/src/interactive-mixin.class.d.ts +3 -3
- package/mixin/src/loading-mixin.class.d.ts +1 -1
- package/mixin/src/mixin.class.d.ts +42 -42
- package/mixin/src/page-component.class.d.ts +1 -1
- package/mixin/src/selection-component.class.d.ts +1 -1
- package/mixin/src/sizable-mixin.class.d.ts +1 -1
- package/mixin/src/textbox-mixin.class.d.ts +3 -3
- package/mixin/src/value-mixin.class.d.ts +7 -7
- package/package.json +1 -1
- package/password-box/src/password-box.component.d.ts +1 -1
- package/tabs/src/tab-item.component.d.ts +1 -1
- package/textbox/public-api.d.ts +1 -0
- package/textbox/src/mask-settings.directive.d.ts +8 -0
- package/textbox/src/textbox.component.d.ts +5 -2
- package/textbox/src/textbox.module.d.ts +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-components-toast.mjs","sources":["../../../../projects/acorex/components/toast/src/toast.component.ts","../../../../projects/acorex/components/toast/src/toast.component.html","../../../../projects/acorex/components/toast/src/toast.module.ts","../../../../projects/acorex/components/toast/src/toast.service.ts","../../../../projects/acorex/components/toast/acorex-components-toast.ts"],"sourcesContent":["import { AXClosbaleComponent } from '@acorex/components/common';\r\nimport { AXButtonItem } from '@acorex/components/button';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { AXToastOptions } from './toast.class';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\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-toast',\r\n templateUrl: './toast.component.html',\r\n host: { class: 'ax-toast' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }],\r\n})\r\nexport class AXToastComponent extends AXBaseComponentMixin {\r\n options: AXToastOptions;\r\n _toastWidth: number = 100;\r\n _icon: string;\r\n close: () => void;\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 onInit() {\r\n if (this.options.timeOut) {\r\n setTimeout(() => {\r\n this.close();\r\n }, this.options.timeOut);\r\n }\r\n switch (this.options.color) {\r\n case 'success':\r\n this._icon = 'ax-ic ax-ic-check-filled';\r\n break;\r\n case 'warning':\r\n this._icon = 'ax-ic ax-ic-warning-filled';\r\n break;\r\n case 'danger':\r\n this._icon = 'ax-ic ax-ic-error-filled';\r\n break;\r\n default:\r\n this._icon = '';\r\n break;\r\n }\r\n }\r\n\r\n _handleButtonClick(button: AXButtonItem) {\r\n if (button.onClick) {\r\n button.onClick(this);\r\n }\r\n }\r\n}\r\n","<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n </ax-suffix>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n <div [innerHTML]=\"options.content\"></div>\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\"\r\n (onClick)=\"_handleButtonClick(button)\" [color]=\"options.color\" [look]=\"'default'\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXToastComponent } from './toast.component';\r\nimport { AXAlertModule } from '@acorex/components/alert';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [AXToastComponent];\r\nconst MODULES = [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXToastModule {\r\n \r\n}\r\n","import { AXConfig } from '@acorex/core/config';\r\nimport { Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { AXToastOptions, AXToastRef } from './toast.class';\r\nimport { AXToastComponent } from './toast.component';\r\n\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXToastService {\r\n\r\n\r\n private readonly _defaults = {\r\n gap: 5,\r\n timeOut: 2500,\r\n location: 'bottom-center',\r\n }\r\n\r\n constructor(private overlayService: Overlay, private parentInjector: Injector) {\r\n\r\n }\r\n\r\n private _activeList: AXToastComponent[] = [];\r\n\r\n primary(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'primary',\r\n content: content\r\n });\r\n }\r\n secondary(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'secondary',\r\n content: content\r\n });\r\n }\r\n info(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'info',\r\n content: content\r\n });\r\n }\r\n\r\n success(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'success',\r\n content: content\r\n });\r\n }\r\n\r\n warning(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'warning',\r\n content: content\r\n });\r\n }\r\n\r\n danger(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'danger',\r\n content: content\r\n });\r\n }\r\n light(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'light',\r\n content: content\r\n });\r\n }\r\n dark(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'dark',\r\n content: content\r\n });\r\n }\r\n\r\n show(options: AXToastOptions): AXToastRef {\r\n const opt = Object.assign(\r\n {\r\n closeable: true,\r\n location: AXConfig.get('toast.location') || this._defaults.location\r\n },\r\n options\r\n );\r\n const gap = AXConfig.get('toast.gap') || this._defaults.gap;\r\n\r\n let positionStrategy = this.overlayService.position().global();\r\n const pos = this.getPosition(opt.location) + gap + 'px';\r\n switch (opt.location) {\r\n case 'bottom-center':\r\n positionStrategy = positionStrategy.bottom(pos).centerHorizontally()\r\n break;\r\n case 'bottom-end':\r\n positionStrategy = positionStrategy.bottom(pos).right(gap + 'px');\r\n break;\r\n case 'bottom-start':\r\n positionStrategy = positionStrategy.bottom(pos).left(gap + 'px');\r\n break;\r\n case 'top-center':\r\n positionStrategy = positionStrategy.top(pos).centerHorizontally()\r\n break;\r\n case 'top-end':\r\n positionStrategy = positionStrategy.top(pos).right(gap + 'px');\r\n break;\r\n case 'top-start':\r\n positionStrategy = positionStrategy.top(pos).left(gap + 'px');\r\n break;\r\n case 'center-start':\r\n positionStrategy = positionStrategy.centerVertically().left(gap + 'px');\r\n break;\r\n case 'center-end':\r\n positionStrategy = positionStrategy.centerVertically().right(gap + 'px');\r\n break;\r\n default:\r\n break;\r\n }\r\n const overlayRef = this.overlayService.create(\r\n {\r\n positionStrategy,\r\n panelClass: ['ax-animate-animated', 'ax-animate-fadeIn', 'ax-animate-faster'],\r\n });\r\n const toastPortal = new ComponentPortal(AXToastComponent, null, this.parentInjector);\r\n\r\n const host = overlayRef.attach(toastPortal);\r\n (host.instance as any).visibleIndex = this._activeList.length;\r\n this._activeList.push(host.instance);\r\n if (host.instance) {\r\n Object.assign(host.instance, {\r\n options: opt,\r\n close: () => {\r\n this._activeList = this._activeList.filter(c => c != host.instance);\r\n overlayRef.dispose()\r\n }\r\n });\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n\r\n return {\r\n close: () => {\r\n host.instance.close();\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n public hideAll() {\r\n this._activeList.forEach(c => c.close());\r\n }\r\n\r\n private getPosition(location: string) {\r\n const list = this._activeList.filter(c => c.options.location == location);\r\n if (list.length == 0) return 0;\r\n if (location.split('-')[0] == 'bottom') {\r\n return window.innerHeight - list[list.length - 1]._getHostElement().offsetTop;\r\n }\r\n else {\r\n return list[list.length - 1]._getHostElement().offsetTop + list[list.length - 1]._getHostElement().offsetHeight;\r\n }\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAYA;;;;AAIG;AASG,MAAO,gBAAiB,SAAQ,oBAAoB,CAAA;AAKxD;;AAEG;IACH,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QAPzB,IAAW,CAAA,WAAA,GAAW,GAAG,CAAC;KAQzB;IAED,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACxB,UAAU,CAAC,MAAK;gBACd,IAAI,CAAC,KAAK,EAAE,CAAC;AACf,aAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC1B,SAAA;AACD,QAAA,QAAQ,IAAI,CAAC,OAAO,CAAC,KAAK;AACxB,YAAA,KAAK,SAAS;AACZ,gBAAA,IAAI,CAAC,KAAK,GAAG,0BAA0B,CAAC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,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,YAAY,CAAC;AACnH,SAAA;KACJ;;2GAhKQ,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,OAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA,CAAA;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACTlC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-components-toast.mjs","sources":["../../../../projects/acorex/components/toast/src/toast.component.ts","../../../../projects/acorex/components/toast/src/toast.component.html","../../../../projects/acorex/components/toast/src/toast.module.ts","../../../../projects/acorex/components/toast/src/toast.service.ts","../../../../projects/acorex/components/toast/acorex-components-toast.ts"],"sourcesContent":["import { AXClosbaleComponent } from '@acorex/components/common';\r\nimport { AXButtonItem } from '@acorex/components/button';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport { AXToastOptions } from './toast.class';\r\nimport { AXBaseComponentMixin } from '@acorex/components/mixin';\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-toast',\r\n templateUrl: './toast.component.html',\r\n host: { class: 'ax-toast' },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }],\r\n})\r\nexport class AXToastComponent extends AXBaseComponentMixin {\r\n options: AXToastOptions;\r\n _toastWidth: number = 100;\r\n _icon: string;\r\n close: () => void;\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 onInit() {\r\n if (this.options.timeOut) {\r\n setTimeout(() => {\r\n this.close();\r\n }, this.options.timeOut);\r\n }\r\n switch (this.options.color) {\r\n case 'success':\r\n this._icon = 'ax-ic ax-ic-check-filled';\r\n break;\r\n case 'warning':\r\n this._icon = 'ax-ic ax-ic-warning-filled';\r\n break;\r\n case 'danger':\r\n this._icon = 'ax-ic ax-ic-error-filled';\r\n break;\r\n default:\r\n this._icon = '';\r\n break;\r\n }\r\n }\r\n\r\n _handleButtonClick(button: AXButtonItem) {\r\n if (button.onClick) {\r\n button.onClick(this);\r\n }\r\n }\r\n}\r\n","<ax-alert [color]=\"options.color\" [look]=\"options.look\" [timeOut]=\"options.timeOut\">\r\n <ax-header *ngIf=\"options.title\">\r\n <ax-prefix>\r\n <ax-icon *ngIf=\"_icon\" [icon]=\"_icon\"></ax-icon>\r\n <ax-title [text]=\"options.title\"></ax-title>\r\n </ax-prefix>\r\n <ax-suffix>\r\n <ax-close-button *ngIf=\"options.closeable\"></ax-close-button>\r\n </ax-suffix>\r\n </ax-header>\r\n <ax-content *ngIf=\"options.content\">\r\n <ax-icon *ngIf=\"_icon && !options.title\" [icon]=\"_icon\"></ax-icon>\r\n <div [innerHTML]=\"options.content\"></div>\r\n </ax-content>\r\n <ax-footer *ngIf=\"options?.buttons?.length\">\r\n <ng-container>\r\n <ax-button *ngFor=\"let button of options.buttons\" [text]=\"button.text\"\r\n (onClick)=\"_handleButtonClick(button)\" [color]=\"options.color\" [look]=\"'default'\"></ax-button>\r\n </ng-container>\r\n </ax-footer>\r\n</ax-alert>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXToastComponent } from './toast.component';\r\nimport { AXAlertModule } from '@acorex/components/alert';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [AXToastComponent];\r\nconst MODULES = [CommonModule, AXButtonModule, AXDecoratorModule, AXAlertModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXToastModule {\r\n \r\n}\r\n","import { AXConfig } from '@acorex/core/config';\r\nimport { Overlay } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { Injectable, Injector } from '@angular/core';\r\nimport { AXToastOptions, AXToastRef } from './toast.class';\r\nimport { AXToastComponent } from './toast.component';\r\n\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AXToastService {\r\n\r\n\r\n private readonly _defaults = {\r\n gap: 5,\r\n timeOut: 2500,\r\n location: 'bottom-center',\r\n }\r\n\r\n constructor(private overlayService: Overlay, private parentInjector: Injector) {\r\n\r\n }\r\n\r\n private _activeList: AXToastComponent[] = [];\r\n\r\n primary(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'primary',\r\n content: content\r\n });\r\n }\r\n secondary(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'secondary',\r\n content: content\r\n });\r\n }\r\n info(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'info',\r\n content: content\r\n });\r\n }\r\n\r\n success(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'success',\r\n content: content\r\n });\r\n }\r\n\r\n warning(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'warning',\r\n content: content\r\n });\r\n }\r\n\r\n danger(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'danger',\r\n content: content\r\n });\r\n }\r\n light(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'light',\r\n content: content\r\n });\r\n }\r\n dark(content: string) {\r\n this.show({\r\n timeOut: AXConfig.get('toast.timeOut') || this._defaults.timeOut,\r\n color: 'dark',\r\n content: content\r\n });\r\n }\r\n\r\n show(options: AXToastOptions): AXToastRef {\r\n const opt = Object.assign(\r\n {\r\n closeable: true,\r\n location: AXConfig.get('toast.location') || this._defaults.location\r\n },\r\n options\r\n );\r\n const gap = AXConfig.get('toast.gap') || this._defaults.gap;\r\n\r\n let positionStrategy = this.overlayService.position().global();\r\n const pos = this.getPosition(opt.location) + gap + 'px';\r\n switch (opt.location) {\r\n case 'bottom-center':\r\n positionStrategy = positionStrategy.bottom(pos).centerHorizontally()\r\n break;\r\n case 'bottom-end':\r\n positionStrategy = positionStrategy.bottom(pos).right(gap + 'px');\r\n break;\r\n case 'bottom-start':\r\n positionStrategy = positionStrategy.bottom(pos).left(gap + 'px');\r\n break;\r\n case 'top-center':\r\n positionStrategy = positionStrategy.top(pos).centerHorizontally()\r\n break;\r\n case 'top-end':\r\n positionStrategy = positionStrategy.top(pos).right(gap + 'px');\r\n break;\r\n case 'top-start':\r\n positionStrategy = positionStrategy.top(pos).left(gap + 'px');\r\n break;\r\n case 'center-start':\r\n positionStrategy = positionStrategy.centerVertically().left(gap + 'px');\r\n break;\r\n case 'center-end':\r\n positionStrategy = positionStrategy.centerVertically().right(gap + 'px');\r\n break;\r\n default:\r\n break;\r\n }\r\n const overlayRef = this.overlayService.create(\r\n {\r\n positionStrategy,\r\n panelClass: ['ax-animate-animated', 'ax-animate-fadeIn', 'ax-animate-faster'],\r\n });\r\n const toastPortal = new ComponentPortal(AXToastComponent, null, this.parentInjector);\r\n\r\n const host = overlayRef.attach(toastPortal);\r\n (host.instance as any).visibleIndex = this._activeList.length;\r\n this._activeList.push(host.instance);\r\n if (host.instance) {\r\n Object.assign(host.instance, {\r\n options: opt,\r\n close: () => {\r\n this._activeList = this._activeList.filter(c => c != host.instance);\r\n overlayRef.dispose()\r\n }\r\n });\r\n setTimeout(() => {\r\n host.changeDetectorRef.detectChanges();\r\n }, 0);\r\n }\r\n\r\n return {\r\n close: () => {\r\n host.instance.close();\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n public hideAll() {\r\n this._activeList.forEach(c => c.close());\r\n }\r\n\r\n private getPosition(location: string) {\r\n const list = this._activeList.filter(c => c.options.location == location);\r\n if (list.length == 0) return 0;\r\n if (location.split('-')[0] == 'bottom') {\r\n return window.innerHeight - list[list.length - 1]._getHostElement().offsetTop;\r\n }\r\n else {\r\n return list[list.length - 1]._getHostElement().offsetTop + list[list.length - 1]._getHostElement().offsetHeight;\r\n }\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AAYA;;;;AAIG;AASG,MAAO,gBAAiB,SAAQ,oBAAoB,CAAA;AAKxD;;AAEG;IACH,WAAY,CAAA,UAAsB,EAAE,GAAsB,EAAA;AACxD,QAAA,KAAK,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC;QAPzB,IAAW,CAAA,WAAA,GAAW,GAAG,CAAC;KAQzB;IAED,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YACxB,UAAU,CAAC,MAAK;gBACd,IAAI,CAAC,KAAK,EAAE,CAAC;AACf,aAAC,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;AAC1B,SAAA;AACD,QAAA,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,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,SAAS,CAAC;AACjF,SAAA;AACI,aAAA;YACD,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC,YAAY,CAAC;AACnH,SAAA;KACJ;;2GAhKQ,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,OAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,QAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADD,MAAM,EAAA,CAAA,CAAA;2FACnB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;;ACTlC;;AAEG;;;;"}
|
|
@@ -34,6 +34,8 @@ export declare class AXFormComponent extends AXBaseComponentMixin {
|
|
|
34
34
|
* @ignore
|
|
35
35
|
*/
|
|
36
36
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
37
|
+
_handleSubmit(e: SubmitEvent): void;
|
|
38
|
+
_handleReset(e: Event): void;
|
|
37
39
|
private _getComponenets;
|
|
38
40
|
onViewInit(): void;
|
|
39
41
|
private _bindEvents;
|
|
@@ -58,7 +58,7 @@ export declare function _BaseComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
58
58
|
* A token that specifies the layout direction of component.
|
|
59
59
|
*/
|
|
60
60
|
rtl: boolean;
|
|
61
|
-
"__#
|
|
61
|
+
"__#33098@#elementRef": ElementRef<any>;
|
|
62
62
|
_cdr: ChangeDetectorRef;
|
|
63
63
|
_isInited: boolean;
|
|
64
64
|
_isRendered: boolean;
|
|
@@ -6,8 +6,8 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
|
6
6
|
new (...args: any[]): {
|
|
7
7
|
textField: string;
|
|
8
8
|
valueField: string;
|
|
9
|
-
"__#
|
|
10
|
-
"__#
|
|
9
|
+
"__#33099@#isLoading": boolean;
|
|
10
|
+
"__#33099@#loadedItems": any;
|
|
11
11
|
visibleField: string;
|
|
12
12
|
disableField: string;
|
|
13
13
|
hasChildField: string;
|
|
@@ -16,7 +16,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
|
16
16
|
orientation: 'horizontal' | 'vertical' | 'sidemenu';
|
|
17
17
|
dividerField: string;
|
|
18
18
|
onMenuItemClick: EventEmitter<AXItemClickEvent<any>>;
|
|
19
|
-
"__#
|
|
19
|
+
"__#33099@#items": any;
|
|
20
20
|
items: any;
|
|
21
21
|
readonly displayItems: any;
|
|
22
22
|
readonly isLoading: boolean;
|
|
@@ -28,7 +28,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
|
|
|
28
28
|
refresh(): void;
|
|
29
29
|
id: string;
|
|
30
30
|
rtl: boolean;
|
|
31
|
-
"__#
|
|
31
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
32
32
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
33
33
|
_isInited: boolean;
|
|
34
34
|
_isRendered: boolean;
|
|
@@ -27,7 +27,7 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
|
|
|
27
27
|
};
|
|
28
28
|
id: string;
|
|
29
29
|
rtl: boolean;
|
|
30
|
-
"__#
|
|
30
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
31
31
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
32
32
|
_isInited: boolean;
|
|
33
33
|
_isRendered: boolean;
|
|
@@ -14,7 +14,7 @@ export declare function _ClickableComponenetMixin<TBase extends Constructor<AXBa
|
|
|
14
14
|
* @ignore
|
|
15
15
|
*/
|
|
16
16
|
rtl: boolean;
|
|
17
|
-
"__#
|
|
17
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
18
18
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
19
19
|
_isInited: boolean;
|
|
20
20
|
_isRendered: boolean;
|
|
@@ -18,7 +18,7 @@ export declare function _ColorLookComponentMixin<TBase extends Constructor<AXBas
|
|
|
18
18
|
look: AXStyleLookType;
|
|
19
19
|
id: string;
|
|
20
20
|
rtl: boolean;
|
|
21
|
-
"__#
|
|
21
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
22
22
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
23
23
|
_isInited: boolean;
|
|
24
24
|
_isRendered: boolean;
|
|
@@ -7,16 +7,16 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
7
7
|
textField: string;
|
|
8
8
|
childrenField: string;
|
|
9
9
|
pageSize: number;
|
|
10
|
-
"__#
|
|
11
|
-
"__#
|
|
12
|
-
"__#
|
|
13
|
-
"__#
|
|
14
|
-
"__#
|
|
15
|
-
"__#
|
|
10
|
+
"__#33100@#currentPage": number;
|
|
11
|
+
"__#33100@#isLoading": boolean;
|
|
12
|
+
"__#33100@#loadedItems": any[];
|
|
13
|
+
"__#33100@#flatItems": any[];
|
|
14
|
+
"__#33100@#totalItems": number;
|
|
15
|
+
"__#33100@#isLazy": boolean;
|
|
16
16
|
readonly totalCount: number;
|
|
17
17
|
readonly isLazy: boolean;
|
|
18
18
|
readonly loadedCount: number;
|
|
19
|
-
"__#
|
|
19
|
+
"__#33100@#items": AXDataListItems;
|
|
20
20
|
items: AXDataListItems;
|
|
21
21
|
readonly displayItems: any[];
|
|
22
22
|
readonly flatItems: any[];
|
|
@@ -26,14 +26,14 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
|
|
|
26
26
|
searchQuery?: string;
|
|
27
27
|
}): void;
|
|
28
28
|
_onDataLoaded(): void;
|
|
29
|
-
"__#
|
|
29
|
+
"__#33100@#generateFlatItems"(): void;
|
|
30
30
|
_getItemDisplayTextTemplte(item: any): any;
|
|
31
31
|
_trackByFunction(item: any): any;
|
|
32
32
|
refresh(): void;
|
|
33
33
|
empty(): void;
|
|
34
34
|
id: string;
|
|
35
35
|
rtl: boolean;
|
|
36
|
-
"__#
|
|
36
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
37
37
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
38
38
|
_isInited: boolean;
|
|
39
39
|
_isRendered: boolean;
|
|
@@ -24,7 +24,7 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
|
|
|
24
24
|
readonly isOpen: boolean;
|
|
25
25
|
id: string;
|
|
26
26
|
rtl: boolean;
|
|
27
|
-
"__#
|
|
27
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
28
28
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
29
29
|
_isInited: boolean;
|
|
30
30
|
_isRendered: boolean;
|
|
@@ -3,12 +3,12 @@ import { AXBaseComponent } from "./base-components.class";
|
|
|
3
3
|
import { Constructor } from "./constratctor";
|
|
4
4
|
import { AXFocusEvent } from "@acorex/components/common";
|
|
5
5
|
export declare function _InteractiveComponenetMixin<TBase extends Constructor<AXBaseComponent>>(Base: TBase): (abstract new (...args: any[]) => {
|
|
6
|
-
"__#
|
|
6
|
+
"__#33101@#disabled": boolean;
|
|
7
7
|
/**
|
|
8
8
|
* If set to true, it disables the component.
|
|
9
9
|
*/
|
|
10
10
|
disabled: boolean;
|
|
11
|
-
"__#
|
|
11
|
+
"__#33101@#tabIndex": number;
|
|
12
12
|
/**
|
|
13
13
|
* Specifies the tabindex of the component.
|
|
14
14
|
*/
|
|
@@ -35,7 +35,7 @@ export declare function _InteractiveComponenetMixin<TBase extends Constructor<AX
|
|
|
35
35
|
hasFocus(): boolean;
|
|
36
36
|
id: string;
|
|
37
37
|
rtl: boolean;
|
|
38
|
-
"__#
|
|
38
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
39
39
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
40
40
|
_isInited: boolean;
|
|
41
41
|
_isRendered: boolean;
|
|
@@ -17,7 +17,7 @@ export declare function _LoadingComponenetMixin<TBase extends Constructor<AXBase
|
|
|
17
17
|
_onInternalInit(): void;
|
|
18
18
|
id: string;
|
|
19
19
|
rtl: boolean;
|
|
20
|
-
"__#
|
|
20
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
21
21
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
22
22
|
_isInited: boolean;
|
|
23
23
|
_isRendered: boolean;
|
|
@@ -3,7 +3,7 @@ export declare const AXBaseComponentMixin: {
|
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
id: string;
|
|
5
5
|
rtl: boolean;
|
|
6
|
-
"__#
|
|
6
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
7
7
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
8
8
|
_isInited: boolean;
|
|
9
9
|
_isRendered: boolean;
|
|
@@ -29,7 +29,7 @@ export declare const AXSizableComponentMixin: {
|
|
|
29
29
|
_onInternalInit(): void;
|
|
30
30
|
id: string;
|
|
31
31
|
rtl: boolean;
|
|
32
|
-
"__#
|
|
32
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
33
33
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
34
34
|
_isInited: boolean;
|
|
35
35
|
_isRendered: boolean;
|
|
@@ -51,7 +51,7 @@ export declare const AXSizableComponentMixin: {
|
|
|
51
51
|
new (...args: any[]): {
|
|
52
52
|
id: string;
|
|
53
53
|
rtl: boolean;
|
|
54
|
-
"__#
|
|
54
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
55
55
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
56
56
|
_isInited: boolean;
|
|
57
57
|
_isRendered: boolean;
|
|
@@ -77,7 +77,7 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
77
77
|
_onInternalInit(): void;
|
|
78
78
|
id: string;
|
|
79
79
|
rtl: boolean;
|
|
80
|
-
"__#
|
|
80
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
81
81
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
82
82
|
_isInited: boolean;
|
|
83
83
|
_isRendered: boolean;
|
|
@@ -96,9 +96,9 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
96
96
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
97
97
|
};
|
|
98
98
|
} & (abstract new (...args: any[]) => {
|
|
99
|
-
"__#
|
|
99
|
+
"__#33101@#disabled": boolean;
|
|
100
100
|
disabled: boolean;
|
|
101
|
-
"__#
|
|
101
|
+
"__#33101@#tabIndex": number;
|
|
102
102
|
tabIndex: number;
|
|
103
103
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
104
104
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -108,7 +108,7 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
108
108
|
hasFocus(): boolean;
|
|
109
109
|
id: string;
|
|
110
110
|
rtl: boolean;
|
|
111
|
-
"__#
|
|
111
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
112
112
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
113
113
|
_isInited: boolean;
|
|
114
114
|
_isRendered: boolean;
|
|
@@ -128,9 +128,9 @@ export declare const AXInteractiveComponenetMixin: {
|
|
|
128
128
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
129
129
|
}) & typeof AXBaseComponent;
|
|
130
130
|
export declare const AXBaseClickableMixin: (abstract new (...args: any[]) => {
|
|
131
|
-
"__#
|
|
131
|
+
"__#33101@#disabled": boolean;
|
|
132
132
|
disabled: boolean;
|
|
133
|
-
"__#
|
|
133
|
+
"__#33101@#tabIndex": number;
|
|
134
134
|
tabIndex: number;
|
|
135
135
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
136
136
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -140,7 +140,7 @@ export declare const AXBaseClickableMixin: (abstract new (...args: any[]) => {
|
|
|
140
140
|
hasFocus(): boolean;
|
|
141
141
|
id: string;
|
|
142
142
|
rtl: boolean;
|
|
143
|
-
"__#
|
|
143
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
144
144
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
145
145
|
_isInited: boolean;
|
|
146
146
|
_isRendered: boolean;
|
|
@@ -164,7 +164,7 @@ export declare const AXBaseClickableMixin: (abstract new (...args: any[]) => {
|
|
|
164
164
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
165
165
|
id: string;
|
|
166
166
|
rtl: boolean;
|
|
167
|
-
"__#
|
|
167
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
168
168
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
169
169
|
_isInited: boolean;
|
|
170
170
|
_isRendered: boolean;
|
|
@@ -190,7 +190,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
190
190
|
_onInternalInit(): void;
|
|
191
191
|
id: string;
|
|
192
192
|
rtl: boolean;
|
|
193
|
-
"__#
|
|
193
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
194
194
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
195
195
|
_isInited: boolean;
|
|
196
196
|
_isRendered: boolean;
|
|
@@ -209,9 +209,9 @@ export declare const AXBaseButtonMixin: {
|
|
|
209
209
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
210
210
|
};
|
|
211
211
|
} & (abstract new (...args: any[]) => {
|
|
212
|
-
"__#
|
|
212
|
+
"__#33101@#disabled": boolean;
|
|
213
213
|
disabled: boolean;
|
|
214
|
-
"__#
|
|
214
|
+
"__#33101@#tabIndex": number;
|
|
215
215
|
tabIndex: number;
|
|
216
216
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
217
217
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -221,7 +221,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
221
221
|
hasFocus(): boolean;
|
|
222
222
|
id: string;
|
|
223
223
|
rtl: boolean;
|
|
224
|
-
"__#
|
|
224
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
225
225
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
226
226
|
_isInited: boolean;
|
|
227
227
|
_isRendered: boolean;
|
|
@@ -245,7 +245,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
245
245
|
_emitOnClickEvent(e: MouseEvent): void;
|
|
246
246
|
id: string;
|
|
247
247
|
rtl: boolean;
|
|
248
|
-
"__#
|
|
248
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
249
249
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
250
250
|
_isInited: boolean;
|
|
251
251
|
_isRendered: boolean;
|
|
@@ -274,7 +274,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
274
274
|
look: import("@acorex/components/common").AXStyleLookType;
|
|
275
275
|
id: string;
|
|
276
276
|
rtl: boolean;
|
|
277
|
-
"__#
|
|
277
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
278
278
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
279
279
|
_isInited: boolean;
|
|
280
280
|
_isRendered: boolean;
|
|
@@ -310,7 +310,7 @@ export declare const AXBaseButtonMixin: {
|
|
|
310
310
|
};
|
|
311
311
|
id: string;
|
|
312
312
|
rtl: boolean;
|
|
313
|
-
"__#
|
|
313
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
314
314
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
315
315
|
_isInited: boolean;
|
|
316
316
|
_isRendered: boolean;
|
|
@@ -337,7 +337,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
337
337
|
_onInternalInit(): void;
|
|
338
338
|
id: string;
|
|
339
339
|
rtl: boolean;
|
|
340
|
-
"__#
|
|
340
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
341
341
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
342
342
|
_isInited: boolean;
|
|
343
343
|
_isRendered: boolean;
|
|
@@ -356,9 +356,9 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
356
356
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
357
357
|
};
|
|
358
358
|
} & (abstract new (...args: any[]) => {
|
|
359
|
-
"__#
|
|
359
|
+
"__#33101@#disabled": boolean;
|
|
360
360
|
disabled: boolean;
|
|
361
|
-
"__#
|
|
361
|
+
"__#33101@#tabIndex": number;
|
|
362
362
|
tabIndex: number;
|
|
363
363
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
364
364
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -368,7 +368,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
368
368
|
hasFocus(): boolean;
|
|
369
369
|
id: string;
|
|
370
370
|
rtl: boolean;
|
|
371
|
-
"__#
|
|
371
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
372
372
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
373
373
|
_isInited: boolean;
|
|
374
374
|
_isRendered: boolean;
|
|
@@ -390,17 +390,17 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
390
390
|
new (...args: any[]): {
|
|
391
391
|
onValueChanged: import("@angular/core").EventEmitter<import("@acorex/components/common").AXValueChangedEvent<any>>;
|
|
392
392
|
valueChange: import("@angular/core").EventEmitter<any>;
|
|
393
|
-
"__#
|
|
393
|
+
"__#33103@#readonly": boolean;
|
|
394
394
|
readonly: boolean;
|
|
395
|
-
"__#
|
|
395
|
+
"__#33103@#allowNull": boolean;
|
|
396
396
|
allowNull: boolean;
|
|
397
|
-
"__#
|
|
397
|
+
"__#33103@#name": string;
|
|
398
398
|
name: string;
|
|
399
|
-
"__#
|
|
399
|
+
"__#33103@#isUserInteraction": boolean;
|
|
400
400
|
readonly isUserInteraction: boolean;
|
|
401
|
-
"__#
|
|
401
|
+
"__#33103@#value": any;
|
|
402
402
|
value: any;
|
|
403
|
-
"__#
|
|
403
|
+
"__#33103@#state": "error" | "clear" | "success";
|
|
404
404
|
readonly state: "error" | "clear" | "success";
|
|
405
405
|
_emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
|
|
406
406
|
_internalSetValue(value: any): any;
|
|
@@ -416,7 +416,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
416
416
|
_setState(state: "error" | "clear" | "success", ...args: any[]): void;
|
|
417
417
|
id: string;
|
|
418
418
|
rtl: boolean;
|
|
419
|
-
"__#
|
|
419
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
420
420
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
421
421
|
_isInited: boolean;
|
|
422
422
|
_isRendered: boolean;
|
|
@@ -440,8 +440,8 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
440
440
|
maxLength: number;
|
|
441
441
|
autoComplete: string;
|
|
442
442
|
debounceTime: number;
|
|
443
|
-
"__#
|
|
444
|
-
"__#
|
|
443
|
+
"__#33102@#valueSubscription": import("rxjs").Subscription;
|
|
444
|
+
"__#33102@#valueSubject": import("rxjs").Subject<unknown>;
|
|
445
445
|
onKeyDown: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
446
446
|
onKeyUp: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
447
447
|
onKeyPress: import("@angular/core").EventEmitter<import("@acorex/components/common").AXHtmlEvent<KeyboardEvent>>;
|
|
@@ -454,7 +454,7 @@ export declare const AXBaseTextBoxMixin: {
|
|
|
454
454
|
onDestroy(): void;
|
|
455
455
|
id: string;
|
|
456
456
|
rtl: boolean;
|
|
457
|
-
"__#
|
|
457
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
458
458
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
459
459
|
_isInited: boolean;
|
|
460
460
|
_isRendered: boolean;
|
|
@@ -481,7 +481,7 @@ export declare const AXBaseDropdownMixin: {
|
|
|
481
481
|
_onInternalInit(): void;
|
|
482
482
|
id: string;
|
|
483
483
|
rtl: boolean;
|
|
484
|
-
"__#
|
|
484
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
485
485
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
486
486
|
_isInited: boolean;
|
|
487
487
|
_isRendered: boolean;
|
|
@@ -500,9 +500,9 @@ export declare const AXBaseDropdownMixin: {
|
|
|
500
500
|
_setOption(option: import("./base-components.class").AXComponentSetOption): void;
|
|
501
501
|
};
|
|
502
502
|
} & (abstract new (...args: any[]) => {
|
|
503
|
-
"__#
|
|
503
|
+
"__#33101@#disabled": boolean;
|
|
504
504
|
disabled: boolean;
|
|
505
|
-
"__#
|
|
505
|
+
"__#33101@#tabIndex": number;
|
|
506
506
|
tabIndex: number;
|
|
507
507
|
onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
|
|
508
508
|
_emitOnFocusEvent(e: FocusEvent): void;
|
|
@@ -512,7 +512,7 @@ export declare const AXBaseDropdownMixin: {
|
|
|
512
512
|
hasFocus(): boolean;
|
|
513
513
|
id: string;
|
|
514
514
|
rtl: boolean;
|
|
515
|
-
"__#
|
|
515
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
516
516
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
517
517
|
_isInited: boolean;
|
|
518
518
|
_isRendered: boolean;
|
|
@@ -546,7 +546,7 @@ export declare const AXBaseDropdownMixin: {
|
|
|
546
546
|
readonly isOpen: boolean;
|
|
547
547
|
id: string;
|
|
548
548
|
rtl: boolean;
|
|
549
|
-
"__#
|
|
549
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
550
550
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
551
551
|
_isInited: boolean;
|
|
552
552
|
_isRendered: boolean;
|
|
@@ -567,8 +567,8 @@ export declare const AXBaseMenuMixin: {
|
|
|
567
567
|
new (...args: any[]): {
|
|
568
568
|
textField: string;
|
|
569
569
|
valueField: string;
|
|
570
|
-
"__#
|
|
571
|
-
"__#
|
|
570
|
+
"__#33099@#isLoading": boolean;
|
|
571
|
+
"__#33099@#loadedItems": any;
|
|
572
572
|
visibleField: string;
|
|
573
573
|
disableField: string;
|
|
574
574
|
hasChildField: string;
|
|
@@ -577,7 +577,7 @@ export declare const AXBaseMenuMixin: {
|
|
|
577
577
|
orientation: "horizontal" | "vertical" | "sidemenu";
|
|
578
578
|
dividerField: string;
|
|
579
579
|
onMenuItemClick: import("@angular/core").EventEmitter<import("@acorex/components/common").AXItemClickEvent<any>>;
|
|
580
|
-
"__#
|
|
580
|
+
"__#33099@#items": any;
|
|
581
581
|
items: any;
|
|
582
582
|
readonly displayItems: any;
|
|
583
583
|
readonly isLoading: boolean;
|
|
@@ -589,7 +589,7 @@ export declare const AXBaseMenuMixin: {
|
|
|
589
589
|
refresh(): void;
|
|
590
590
|
id: string;
|
|
591
591
|
rtl: boolean;
|
|
592
|
-
"__#
|
|
592
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
593
593
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
594
594
|
_isInited: boolean;
|
|
595
595
|
_isRendered: boolean;
|
|
@@ -618,7 +618,7 @@ export declare const AXAvatarMixin: {
|
|
|
618
618
|
look: import("@acorex/components/common").AXStyleLookType;
|
|
619
619
|
id: string;
|
|
620
620
|
rtl: boolean;
|
|
621
|
-
"__#
|
|
621
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
622
622
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
623
623
|
_isInited: boolean;
|
|
624
624
|
_isRendered: boolean;
|
|
@@ -4,7 +4,7 @@ export declare function _PageComponenetMixin<TBase extends Constructor<AXBaseCom
|
|
|
4
4
|
new (...args: any[]): {
|
|
5
5
|
id: string;
|
|
6
6
|
rtl: boolean;
|
|
7
|
-
"__#
|
|
7
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
8
8
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
9
9
|
_isInited: boolean;
|
|
10
10
|
_isRendered: boolean;
|
|
@@ -38,7 +38,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
|
|
|
38
38
|
* Defines the primary text to show inside the button.
|
|
39
39
|
*/
|
|
40
40
|
rtl: boolean;
|
|
41
|
-
"__#
|
|
41
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
42
42
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
43
43
|
_isInited: boolean;
|
|
44
44
|
_isRendered: boolean;
|
|
@@ -9,7 +9,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
|
|
|
9
9
|
_onInternalInit(): void;
|
|
10
10
|
id: string;
|
|
11
11
|
rtl: boolean;
|
|
12
|
-
"__#
|
|
12
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
13
13
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
14
14
|
_isInited: boolean;
|
|
15
15
|
_isRendered: boolean;
|
|
@@ -22,8 +22,8 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
22
22
|
*/
|
|
23
23
|
autoComplete: string;
|
|
24
24
|
debounceTime: number;
|
|
25
|
-
"__#
|
|
26
|
-
"__#
|
|
25
|
+
"__#33102@#valueSubscription": Subscription;
|
|
26
|
+
"__#33102@#valueSubject": Subject<unknown>;
|
|
27
27
|
/**
|
|
28
28
|
* Fires each time the user press a key.
|
|
29
29
|
* @event
|
|
@@ -48,7 +48,7 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
|
|
|
48
48
|
onDestroy(): void;
|
|
49
49
|
id: string;
|
|
50
50
|
rtl: boolean;
|
|
51
|
-
"__#
|
|
51
|
+
"__#33098@#elementRef": import("@angular/core").ElementRef<any>;
|
|
52
52
|
_cdr: import("@angular/core").ChangeDetectorRef;
|
|
53
53
|
_isInited: boolean;
|
|
54
54
|
_isRendered: boolean;
|