@acorex/components 5.3.4 → 5.6.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/esm2020/lib/action-sheet/action-sheet-item.component.mjs +1 -1
- package/esm2020/lib/alert/alert.component.mjs +1 -1
- package/esm2020/lib/alert/alert.module.mjs +2 -6
- package/esm2020/lib/alert/index.mjs +1 -2
- package/esm2020/lib/base/auto-focus.directive.mjs +43 -0
- package/esm2020/lib/base/common.module.mjs +6 -4
- package/esm2020/lib/base/components.class.mjs +26 -5
- package/esm2020/lib/base/hotkey.directive.mjs +79 -0
- package/esm2020/lib/base/index.mjs +3 -1
- package/esm2020/lib/base/mixin/button-mixin.class.mjs +1 -22
- package/esm2020/lib/base/mixin/datalist-component.class.mjs +17 -6
- package/esm2020/lib/base/mixin/interactive-mixin.class.mjs +2 -2
- package/esm2020/lib/base/mixin/mixin.class.mjs +1 -1
- package/esm2020/lib/button/button-item.class.mjs +1 -1
- package/esm2020/lib/button/button.component.mjs +18 -27
- package/esm2020/lib/calendar/calendar.component.mjs +2 -4
- package/esm2020/lib/checkbox/checkbox.component.mjs +4 -3
- package/esm2020/lib/color-palette/color-palette-input.component.mjs +47 -47
- package/esm2020/lib/color-palette/color-palette-picker.component.mjs +5 -8
- package/esm2020/lib/color-palette/color-palette-preview.component.mjs +27 -16
- package/esm2020/lib/color-palette/color-palette-swatches.component.mjs +33 -22
- package/esm2020/lib/color-palette/color-palette.class.mjs +17 -0
- package/esm2020/lib/color-palette/color-palette.component.mjs +61 -6
- package/esm2020/lib/color-picker/color-picker.component.mjs +11 -13
- package/esm2020/lib/data-table/data-column-cell-template.directive.mjs +17 -0
- package/esm2020/lib/data-table/data-column.directive.mjs +38 -0
- package/esm2020/lib/data-table/data-table.component.mjs +92 -0
- package/esm2020/lib/data-table/data-table.module.mjs +23 -0
- package/esm2020/lib/data-table/index.mjs +5 -0
- package/esm2020/lib/datepicker/datepicker.component.mjs +1 -1
- package/esm2020/lib/decorators/decorators.module.mjs +2 -2
- package/esm2020/lib/dialog/dialog.component.mjs +20 -7
- package/esm2020/lib/dialog/dialog.module.mjs +4 -3
- package/esm2020/lib/dialog/dialog.service.mjs +11 -5
- package/esm2020/lib/drawer/drawer.component.mjs +17 -10
- package/esm2020/lib/form/form.component.mjs +8 -5
- package/esm2020/lib/label/label.component.mjs +5 -3
- package/esm2020/lib/menu/menu.component.mjs +10 -4
- package/esm2020/lib/number-box/number-box.component.mjs +10 -3
- package/esm2020/lib/password-box/password-box.component.mjs +1 -1
- package/esm2020/lib/searchbox/searchbox.component.mjs +13 -7
- package/esm2020/lib/searchbox/searchbox.module.mjs +4 -3
- package/esm2020/lib/selectbox/selectbox.component.mjs +16 -16
- package/esm2020/lib/textbox/textbox.component.mjs +10 -3
- package/esm2020/lib/toast/toast.component.mjs +8 -4
- package/esm2020/lib/toast/toast.module.mjs +1 -1
- package/esm2020/lib/toast/toast.service.mjs +22 -16
- package/esm2020/lib/validation/validation-rule.widget.mjs +16 -11
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/acorex-components.mjs +1056 -688
- package/fesm2015/acorex-components.mjs.map +1 -1
- package/fesm2020/acorex-components.mjs +1048 -685
- package/fesm2020/acorex-components.mjs.map +1 -1
- package/lib/alert/alert.component.d.ts +6 -6
- package/lib/alert/alert.module.d.ts +3 -4
- package/lib/alert/index.d.ts +0 -1
- package/lib/base/auto-focus.directive.d.ts +12 -0
- package/lib/base/common.module.d.ts +3 -1
- package/lib/base/components.class.d.ts +19 -2
- package/lib/base/hotkey.directive.d.ts +22 -0
- package/lib/base/index.d.ts +2 -0
- package/lib/base/mixin/button-mixin.class.d.ts +2 -10
- package/lib/base/mixin/mixin.class.d.ts +2 -4
- package/lib/button/button-item.class.d.ts +4 -3
- package/lib/button/button.component.d.ts +3 -4
- package/lib/checkbox/checkbox.component.d.ts +2 -1
- package/lib/color-palette/color-palette-input.component.d.ts +3 -4
- package/lib/color-palette/color-palette-preview.component.d.ts +6 -7
- package/lib/color-palette/color-palette-swatches.component.d.ts +4 -3
- package/lib/color-palette/color-palette.class.d.ts +18 -0
- package/lib/color-palette/color-palette.component.d.ts +18 -3
- package/lib/color-picker/color-picker.component.d.ts +11 -2
- package/lib/data-table/data-column-cell-template.directive.d.ts +8 -0
- package/lib/data-table/data-column.directive.d.ts +15 -0
- package/lib/data-table/data-table.component.d.ts +28 -0
- package/lib/data-table/data-table.module.d.ts +10 -0
- package/lib/data-table/index.d.ts +4 -0
- package/lib/dialog/dialog.component.d.ts +1 -0
- package/lib/dialog/dialog.module.d.ts +7 -6
- package/lib/drawer/drawer.component.d.ts +0 -1
- package/lib/form/form.component.d.ts +1 -1
- package/lib/label/label.component.d.ts +2 -1
- package/lib/menu/menu.component.d.ts +4 -1
- package/lib/searchbox/searchbox.component.d.ts +1 -0
- package/lib/searchbox/searchbox.module.d.ts +2 -1
- package/lib/selectbox/selectbox.component.d.ts +3 -2
- package/lib/toast/toast.component.d.ts +2 -0
- package/lib/toast/toast.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2020/lib/alert/alert-button.component.mjs +0 -50
- package/lib/alert/alert-button.component.d.ts +0 -13
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./lib/collapse";
|
|
|
17
17
|
export * from "./lib/color-picker";
|
|
18
18
|
export * from "./lib/datalist";
|
|
19
19
|
export * from "./lib/datepicker";
|
|
20
|
+
export * from "./lib/data-table";
|
|
20
21
|
export * from "./lib/decorators";
|
|
21
22
|
export * from "./lib/dialog";
|
|
22
23
|
export * from "./lib/drawer";
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostListener } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import { BUTTON_OUTPUT } from '../base/mixin/button-mixin.class';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
6
|
-
constructor(elementRef, cdr) {
|
|
7
|
-
super(elementRef, cdr);
|
|
8
|
-
}
|
|
9
|
-
_handleOnClick(e) {
|
|
10
|
-
this._emitOnClickEvent(e);
|
|
11
|
-
}
|
|
12
|
-
_handleOnFocus(e) {
|
|
13
|
-
this._emitOnFocusEvent(e);
|
|
14
|
-
}
|
|
15
|
-
_handleOnBlur(e) {
|
|
16
|
-
this._emitOnBlurEvent(e);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
AXAlertButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
-
AXAlertButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.9", type: AXAlertButtonComponent, selector: "ax-alert-button", inputs: { text: "text", icon: "icon" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", selectedChange: "selectedChange", toggleableChange: "toggleableChange" }, host: { listeners: { "click": "_handleOnClick($event)", "focus": "_handleOnFocus($event)", "blur": "_handleOnBlur($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
21
|
-
{{text}}
|
|
22
|
-
<ng-content select="ax-icon"></ng-content>
|
|
23
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.9", ngImport: i0, type: AXAlertButtonComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{
|
|
27
|
-
selector: 'ax-alert-button',
|
|
28
|
-
template: `
|
|
29
|
-
{{text}}
|
|
30
|
-
<ng-content select="ax-icon"></ng-content>
|
|
31
|
-
`,
|
|
32
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
-
encapsulation: ViewEncapsulation.None,
|
|
34
|
-
outputs: [...BUTTON_OUTPUT],
|
|
35
|
-
}]
|
|
36
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], icon: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], _handleOnClick: [{
|
|
41
|
-
type: HostListener,
|
|
42
|
-
args: ['click', ['$event']]
|
|
43
|
-
}], _handleOnFocus: [{
|
|
44
|
-
type: HostListener,
|
|
45
|
-
args: ['focus', ['$event']]
|
|
46
|
-
}], _handleOnBlur: [{
|
|
47
|
-
type: HostListener,
|
|
48
|
-
args: ['blur', ['$event']]
|
|
49
|
-
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL3NyYy9saWIvYWxlcnQvYWxlcnQtYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFpQyxLQUFLLEVBQWEsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JKLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUMvQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0NBQWtDLENBQUM7O0FBWWpFLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxvQkFBb0I7SUFTNUQsWUFBWSxVQUFzQixFQUFFLEdBQXNCO1FBQ3RELEtBQUssQ0FBQy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5kbGVPbkNsaWNrKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25DbGlja0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2ZvY3VzJywgWyckZXZlbnQnXSlcclxuICAgIF9oYW5kbGVPbkZvY3VzKGUpIHtcclxuICAgICAgICB0aGlzLl9lbWl0T25Gb2N1c0V2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuICAgIEBIb3N0TGlzdGVuZXIoJ2JsdXInLCBbJyRldmVudCddKVxyXG4gICAgX2hhbmRsZU9uQmx1cihlKSB7XHJcbiAgICAgICAgdGhpcy5fZW1pdE9uQmx1ckV2ZW50KGUpO1xyXG4gICAgfVxyXG5cclxuXHJcbn1cclxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { AXBaseClickableMixin } from '../base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AXAlertButtonComponent extends AXBaseClickableMixin {
|
|
5
|
-
text: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
8
|
-
_handleOnClick(e: any): void;
|
|
9
|
-
_handleOnFocus(e: any): void;
|
|
10
|
-
_handleOnBlur(e: any): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertButtonComponent, "ax-alert-button", never, { "text": "text"; "icon": "icon"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; }, never, ["ax-icon"]>;
|
|
13
|
-
}
|