@acorex/components 18.9.6 → 18.9.7
Sign up to get free protection for your applications and to get access to all the features.
- package/drawer/index.d.ts +2 -2
- package/drawer/lib/{drawer-container.component.d.ts → drawer/drawer-container/drawer-container.component.d.ts} +3 -4
- package/drawer/lib/drawer/drawer-item/drawer.component.d.ts +65 -0
- package/drawer/lib/drawer.module.d.ts +2 -2
- package/drawer/lib/drawer.service.d.ts +7 -0
- package/esm2022/decorators/lib/components/close-button.component.mjs +3 -2
- package/esm2022/drawer/index.mjs +3 -3
- package/esm2022/drawer/lib/drawer/drawer-container/drawer-container.component.mjs +34 -0
- package/esm2022/drawer/lib/drawer/drawer-item/drawer.component.mjs +151 -0
- package/esm2022/drawer/lib/drawer.module.mjs +3 -3
- package/esm2022/drawer/lib/drawer.service.mjs +13 -0
- package/esm2022/paint/lib/paint.module.mjs +2 -2
- package/fesm2022/acorex-components-decorators.mjs +1 -0
- package/fesm2022/acorex-components-decorators.mjs.map +1 -1
- package/fesm2022/acorex-components-drawer.mjs +75 -173
- package/fesm2022/acorex-components-drawer.mjs.map +1 -1
- package/fesm2022/acorex-components-paint.mjs +2 -2
- package/fesm2022/acorex-components-paint.mjs.map +1 -1
- package/package.json +52 -52
- package/drawer/lib/drawer.component.d.ts +0 -143
- package/esm2022/drawer/lib/drawer-container.component.mjs +0 -40
- package/esm2022/drawer/lib/drawer.component.mjs +0 -252
package/drawer/index.d.ts
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AXDrawerService } from '../../drawer.service';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
/**
|
4
5
|
* A container component that organizes and positions drawer components.
|
5
6
|
* @category component
|
6
7
|
*/
|
7
8
|
export declare class AXDrawerContainerComponent extends MXBaseComponent {
|
8
|
-
|
9
|
-
|
10
|
-
*/
|
11
|
-
ngDoCheck(): void;
|
9
|
+
service: AXDrawerService;
|
10
|
+
constructor();
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
|
13
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, {}, {}, never, ["ax-drawer[location='start']", "ax-content", "ax-drawer[location='end']"], false, never>;
|
14
13
|
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { AfterContentInit, DoCheck, NgZone } from '@angular/core';
|
3
|
+
import { AXDrawerService } from '../../drawer.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export type AXDrawerMode = 'push' | 'overlay';
|
6
|
+
export type AXDrawerLocation = 'start' | 'end';
|
7
|
+
/**
|
8
|
+
* A component that represents a drawer with header and content sections.
|
9
|
+
*
|
10
|
+
* @category Components
|
11
|
+
*/
|
12
|
+
export declare class AXDrawerComponent extends MXBaseComponent implements AfterContentInit, DoCheck {
|
13
|
+
private _zone;
|
14
|
+
location: import("@angular/core").ModelSignal<AXDrawerLocation>;
|
15
|
+
showBackdrop: import("@angular/core").InputSignal<boolean>;
|
16
|
+
mode: import("@angular/core").ModelSignal<AXDrawerMode>;
|
17
|
+
collapsed: import("@angular/core").ModelSignal<boolean>;
|
18
|
+
multiple: import("@angular/core").InputSignal<boolean>;
|
19
|
+
private backdropElement;
|
20
|
+
private loaded;
|
21
|
+
service: AXDrawerService;
|
22
|
+
/**
|
23
|
+
* @ignore
|
24
|
+
*/
|
25
|
+
constructor(_zone: NgZone);
|
26
|
+
/**
|
27
|
+
* @ignore
|
28
|
+
*/
|
29
|
+
ngAfterContentInit(): void;
|
30
|
+
/**
|
31
|
+
* @ignore
|
32
|
+
*/
|
33
|
+
ngDoCheck(): void;
|
34
|
+
/**
|
35
|
+
* @ignore
|
36
|
+
*/
|
37
|
+
private _detectBoundingSize;
|
38
|
+
/**
|
39
|
+
* Toggles the collapsed state of the drawer.
|
40
|
+
*/
|
41
|
+
toggle(): void;
|
42
|
+
/**
|
43
|
+
* Collapses the drawer.
|
44
|
+
* @ignore
|
45
|
+
*/
|
46
|
+
close(): void;
|
47
|
+
/**
|
48
|
+
* Expands the drawer.
|
49
|
+
*/
|
50
|
+
open(): void;
|
51
|
+
/**
|
52
|
+
* @ignore
|
53
|
+
*/
|
54
|
+
private get __hostClass();
|
55
|
+
/**
|
56
|
+
* @ignore
|
57
|
+
*/
|
58
|
+
private _addBackdrop;
|
59
|
+
/**
|
60
|
+
* @ignore
|
61
|
+
*/
|
62
|
+
private _removeBackdrop;
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerComponent, never>;
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerComponent, "ax-drawer", never, { "location": { "alias": "location"; "required": false; "isSignal": true; }; "showBackdrop": { "alias": "showBackdrop"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, { "location": "locationChange"; "mode": "modeChange"; "collapsed": "collapsedChange"; }, never, ["ax-header", "ax-content"], false, never>;
|
65
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./drawer.component";
|
3
|
-
import * as i2 from "./drawer-container.component";
|
2
|
+
import * as i1 from "./drawer/drawer-item/drawer.component";
|
3
|
+
import * as i2 from "./drawer/drawer-container/drawer-container.component";
|
4
4
|
import * as i3 from "@angular/common";
|
5
5
|
export declare class AXDrawerModule {
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerModule, never>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { AXDrawerComponent } from './drawer/drawer-item/drawer.component';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AXDrawerService {
|
4
|
+
drawerElements: import("@angular/core").WritableSignal<AXDrawerComponent[]>;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerService, never>;
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXDrawerService>;
|
7
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';
|
2
|
-
import { ChangeDetectionStrategy, Component, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, Inject, Input, Optional, ViewEncapsulation, } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "@angular/common";
|
5
5
|
import * as i2 from "@acorex/components/common";
|
@@ -9,6 +9,7 @@ import * as i2 from "@acorex/components/common";
|
|
9
9
|
* @category Components
|
10
10
|
*/
|
11
11
|
export class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
12
|
+
// @Inject(AXClosbaleComponent) private _parent?: AXClosbaleComponent,
|
12
13
|
/**
|
13
14
|
* @ignore
|
14
15
|
*/
|
@@ -61,4 +62,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
61
62
|
type: HostListener,
|
62
63
|
args: ['click', ['$event']]
|
63
64
|
}] } });
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvc2UtYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kZWNvcmF0b3JzL3NyYy9saWIvY29tcG9uZW50cy9jbG9zZS1idXR0b24uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRixPQUFPLEVBQ0wsdUJBQXVCLEVBQ3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vbmVudCkgcHJpdmF0ZSBfcGFyZW50PzogQVhDbG9zYmFsZUNvbXBvbmVudCxcblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIGNvbnN0cnVjdG9yKFxuICAgIEBPcHRpb25hbCgpXG4gICAgQEluamVjdChBWENsb3NiYWxlQ29tcG9uZW50KVxuICAgIHByaXZhdGUgX3BhcmVudD86IEFYQ2xvc2JhbGVDb21wb25lbnQsXG4gICkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICAvKipcbiAgICogIEBpZ25vcmVcbiAgICovXG4gIHByaXZhdGUgX2ljb24gPSAnYXgtaWNvbiBheC1pY29uLWNsb3NlJztcblxuICAvKipcbiAgICogVGhlIGljb24gY2xhc3MgdG8gYmUgYXBwbGllZCB0byB0aGUgYnV0dG9uLlxuICAgKi9cbiAgQElucHV0KClcbiAgcHVibGljIGdldCBpY29uKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRoaXMuX2ljb24gfHwgJ2F4LWljb24tY2xvc2UnO1xuICB9XG5cbiAgLyoqXG4gICAqIFNldHMgdGhlIGljb24gY2xhc3MgdG8gYmUgYXBwbGllZCB0byB0aGUgYnV0dG9uLlxuICAgKlxuICAgKiBAcGFyYW0gdiBUaGUgaWNvbiBjbGFzcy5cbiAgICovXG4gIHB1YmxpYyBzZXQgaWNvbih2OiBzdHJpbmcpIHtcbiAgICB0aGlzLl9pY29uID0gdjtcbiAgfVxuXG4gIC8qKlxuICAgKiAgQGlnbm9yZVxuICAgKi9cbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snLCBbJyRldmVudCddKVxuICBwcm90ZWN0ZWQgX2hhbmRsZU9uQ2xpY2soKSB7XG4gICAgdGhpcy5fcGFyZW50Py5jbG9zZSgpO1xuICB9XG59XG4iXX0=
|
package/esm2022/drawer/index.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './lib/drawer-container.component';
|
2
|
-
export * from './lib/drawer.component';
|
3
1
|
export * from './lib/drawer.module';
|
4
|
-
|
2
|
+
export * from './lib/drawer/drawer-container/drawer-container.component';
|
3
|
+
export * from './lib/drawer/drawer-item/drawer.component';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZHJhd2VyL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMsMERBQTBELENBQUM7QUFDekUsY0FBYywyQ0FBMkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2RyYXdlci5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZHJhd2VyL2RyYXdlci1jb250YWluZXIvZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZHJhd2VyL2RyYXdlci1pdGVtL2RyYXdlci5jb21wb25lbnQnO1xuIl19
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { afterNextRender, ChangeDetectionStrategy, Component, inject, ViewEncapsulation, } from '@angular/core';
|
3
|
+
import { AXDrawerService } from '../../drawer.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* A container component that organizes and positions drawer components.
|
7
|
+
* @category component
|
8
|
+
*/
|
9
|
+
export class AXDrawerContainerComponent extends MXBaseComponent {
|
10
|
+
constructor() {
|
11
|
+
super();
|
12
|
+
this.service = inject(AXDrawerService);
|
13
|
+
afterNextRender(() => {
|
14
|
+
const host = this.getHostElement();
|
15
|
+
const drawerClasses = Array.from(host.querySelectorAll(`ax-drawer`)).map((c) => c['__axContext__']);
|
16
|
+
this.service.drawerElements.set(drawerClasses);
|
17
|
+
});
|
18
|
+
}
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: AXDrawerContainerComponent, selector: "ax-drawer-container", providers: [AXDrawerService], usesInheritance: true, ngImport: i0, template: `
|
21
|
+
<ng-content select="ax-drawer[location='start']"> </ng-content>
|
22
|
+
<ng-content select="ax-content"> </ng-content>
|
23
|
+
<ng-content select="ax-drawer[location='end']"> </ng-content>
|
24
|
+
`, isInline: true, styles: ["ax-drawer-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-container.ax-fixed.ax-visible{display:flex}ax-drawer-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:#0003;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
25
|
+
}
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerContainerComponent, decorators: [{
|
27
|
+
type: Component,
|
28
|
+
args: [{ selector: 'ax-drawer-container', template: `
|
29
|
+
<ng-content select="ax-drawer[location='start']"> </ng-content>
|
30
|
+
<ng-content select="ax-content"> </ng-content>
|
31
|
+
<ng-content select="ax-drawer[location='end']"> </ng-content>
|
32
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [AXDrawerService], styles: ["ax-drawer-container{position:relative;display:flex;height:100%;width:100%;overflow:hidden}ax-drawer-container.ax-fixed{bottom:0;inset-inline-end:0px;inset-inline-start:0px;top:0;z-index:50;display:none}ax-drawer-container.ax-fixed.ax-visible{display:flex}ax-drawer-container .ax-backdrop{position:absolute;bottom:0;top:0;z-index:10;height:100%;width:100%;background-color:#0003;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer-container>ax-content{height:100%;flex:1 1 0%;overflow:auto}\n"] }]
|
33
|
+
}], ctorParameters: () => [] });
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZHJhd2VyL3NyYy9saWIvZHJhd2VyL2RyYXdlci1jb250YWluZXIvZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzVELE9BQU8sRUFDTCxlQUFlLEVBQ2YsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFHdkQ7OztHQUdHO0FBYUgsTUFBTSxPQUFPLDBCQUEyQixTQUFRLGVBQWU7SUFHN0Q7UUFDRSxLQUFLLEVBQUUsQ0FBQztRQUhWLFlBQU8sR0FBRyxNQUFNLENBQUMsZUFBZSxDQUFDLENBQUM7UUFJaEMsZUFBZSxDQUFDLEdBQUcsRUFBRTtZQUNuQixNQUFNLElBQUksR0FBRyxJQUFJLENBQUMsY0FBYyxFQUFFLENBQUM7WUFDbkM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YXdlcmApKS5tYXAoXG4gICAgICAgIChjKSA9PiBjWydfX2F4Q29udGV4dF9fJ10gYXMgQVhEcmF3ZXJDb21wb25lbnQsXG4gICAgICApO1xuICAgICAgdGhpcy5zZXJ2aWNlLmRyYXdlckVsZW1lbnRzLnNldChkcmF3ZXJDbGFzc2VzKTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,151 @@
|
|
1
|
+
import { AXClosbaleComponent, AXComponent, MXBaseComponent } from '@acorex/components/common';
|
2
|
+
import { isBrowser } from '@acorex/core/platform';
|
3
|
+
import { ChangeDetectionStrategy, Component, effect, HostBinding, inject, input, model, NgZone, signal, ViewEncapsulation, } from '@angular/core';
|
4
|
+
import { AXDrawerService } from '../../drawer.service';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
/**
|
7
|
+
* A component that represents a drawer with header and content sections.
|
8
|
+
*
|
9
|
+
* @category Components
|
10
|
+
*/
|
11
|
+
export class AXDrawerComponent extends MXBaseComponent {
|
12
|
+
/**
|
13
|
+
* @ignore
|
14
|
+
*/
|
15
|
+
constructor(_zone) {
|
16
|
+
super();
|
17
|
+
this._zone = _zone;
|
18
|
+
this.location = model('start');
|
19
|
+
this.showBackdrop = input(true);
|
20
|
+
this.mode = model('overlay');
|
21
|
+
this.collapsed = model(true);
|
22
|
+
this.multiple = input(false);
|
23
|
+
this.backdropElement = signal(null);
|
24
|
+
this.loaded = signal(false);
|
25
|
+
this.service = inject(AXDrawerService);
|
26
|
+
effect(() => {
|
27
|
+
if (this.mode() === 'overlay' && !this.collapsed() && this.showBackdrop()) {
|
28
|
+
this._addBackdrop();
|
29
|
+
}
|
30
|
+
}, { allowSignalWrites: true });
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* @ignore
|
34
|
+
*/
|
35
|
+
ngAfterContentInit() {
|
36
|
+
this._detectBoundingSize();
|
37
|
+
setTimeout(() => {
|
38
|
+
this.loaded.set(true);
|
39
|
+
}, 5000);
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* @ignore
|
43
|
+
*/
|
44
|
+
ngDoCheck() {
|
45
|
+
this._detectBoundingSize();
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* @ignore
|
49
|
+
*/
|
50
|
+
_detectBoundingSize() {
|
51
|
+
this._zone.runOutsideAngular(() => {
|
52
|
+
const host = this.getHostElement();
|
53
|
+
if (host.clientWidth) {
|
54
|
+
host.style.setProperty('--ax-el-width', `${host.clientWidth}px`);
|
55
|
+
}
|
56
|
+
});
|
57
|
+
}
|
58
|
+
/**
|
59
|
+
* Toggles the collapsed state of the drawer.
|
60
|
+
*/
|
61
|
+
toggle() {
|
62
|
+
if (!this.multiple()) {
|
63
|
+
this.service.drawerElements().forEach((element) => {
|
64
|
+
if (element.location() === this.location() && element.id !== this.id) {
|
65
|
+
element.close();
|
66
|
+
}
|
67
|
+
});
|
68
|
+
}
|
69
|
+
this.collapsed.update((prev) => !prev);
|
70
|
+
}
|
71
|
+
/**
|
72
|
+
* Collapses the drawer.
|
73
|
+
* @ignore
|
74
|
+
*/
|
75
|
+
close() {
|
76
|
+
this._removeBackdrop();
|
77
|
+
this.collapsed.set(true);
|
78
|
+
}
|
79
|
+
/**
|
80
|
+
* Expands the drawer.
|
81
|
+
*/
|
82
|
+
open() {
|
83
|
+
if (!this.multiple()) {
|
84
|
+
this.service.drawerElements().forEach((element) => {
|
85
|
+
if (element.location() === this.location() && element.id !== this.id) {
|
86
|
+
element.close();
|
87
|
+
}
|
88
|
+
});
|
89
|
+
}
|
90
|
+
this.collapsed.set(false);
|
91
|
+
}
|
92
|
+
/**
|
93
|
+
* @ignore
|
94
|
+
*/
|
95
|
+
get __hostClass() {
|
96
|
+
return `ax-drawer-${this.mode()} ax-drawer-${this.location()} ${this.collapsed() ? 'ax-collapsed' : 'ax-expanded'} ${this.loaded() ? 'ax-state-loaded' : ''}`;
|
97
|
+
}
|
98
|
+
/**
|
99
|
+
* @ignore
|
100
|
+
*/
|
101
|
+
_addBackdrop() {
|
102
|
+
if (isBrowser()) {
|
103
|
+
this._zone.runOutsideAngular(() => {
|
104
|
+
const backDropElem = document.createElement('div');
|
105
|
+
backDropElem.classList.add('ax-backdrop');
|
106
|
+
backDropElem.onclick = () => {
|
107
|
+
this._zone.run(() => {
|
108
|
+
this.close();
|
109
|
+
});
|
110
|
+
};
|
111
|
+
this.getHostElement()?.parentElement?.appendChild(backDropElem);
|
112
|
+
this.backdropElement.set(backDropElem);
|
113
|
+
});
|
114
|
+
}
|
115
|
+
}
|
116
|
+
/**
|
117
|
+
* @ignore
|
118
|
+
*/
|
119
|
+
_removeBackdrop() {
|
120
|
+
if (isBrowser()) {
|
121
|
+
this._zone.runOutsideAngular(() => {
|
122
|
+
if (this.backdropElement()) {
|
123
|
+
this.getHostElement()?.parentElement?.removeChild(this.backdropElement());
|
124
|
+
this.backdropElement.set(null);
|
125
|
+
}
|
126
|
+
});
|
127
|
+
}
|
128
|
+
}
|
129
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
130
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.0", type: AXDrawerComponent, selector: "ax-drawer", inputs: { location: { classPropertyName: "location", publicName: "location", isSignal: true, isRequired: false, transformFunction: null }, showBackdrop: { classPropertyName: "showBackdrop", publicName: "showBackdrop", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { location: "locationChange", mode: "modeChange", collapsed: "collapsedChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
|
131
|
+
{ provide: AXComponent, useExisting: AXDrawerComponent },
|
132
|
+
{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent },
|
133
|
+
], usesInheritance: true, ngImport: i0, template: `
|
134
|
+
<ng-content select="ax-header"></ng-content>
|
135
|
+
<ng-content select="ax-content"></ng-content>
|
136
|
+
`, isInline: true, styles: ["ax-drawer{display:flex;height:100%;max-width:95%;flex-direction:column;background-color:rgba(var(--ax-color-surface))}ax-drawer.ax-state-loaded{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer ax-header,ax-drawer ax-footer{padding:.75rem}ax-drawer ax-footer{border-top-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer ax-header{border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer.ax-drawer-overlay{position:absolute}ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px;z-index:20}ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-el-width));z-index:0}ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px;z-index:20}ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-el-width));z-index:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
137
|
+
}
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerComponent, decorators: [{
|
139
|
+
type: Component,
|
140
|
+
args: [{ selector: 'ax-drawer', template: `
|
141
|
+
<ng-content select="ax-header"></ng-content>
|
142
|
+
<ng-content select="ax-content"></ng-content>
|
143
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
|
144
|
+
{ provide: AXComponent, useExisting: AXDrawerComponent },
|
145
|
+
{ provide: AXClosbaleComponent, useExisting: AXDrawerComponent },
|
146
|
+
], styles: ["ax-drawer{display:flex;height:100%;max-width:95%;flex-direction:column;background-color:rgba(var(--ax-color-surface))}ax-drawer.ax-state-loaded{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-drawer ax-header,ax-drawer ax-footer{padding:.75rem}ax-drawer ax-footer{border-top-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer ax-header{border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-drawer>ax-content{flex:1 1 0%;overflow:auto}ax-drawer.ax-drawer-overlay{position:absolute}ax-drawer.ax-drawer-overlay.ax-expanded{z-index:20}ax-drawer.ax-drawer-overlay.ax-collapsed{z-index:0}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-expanded{inset-inline-start:0px}ax-drawer.ax-drawer-overlay.ax-drawer-start.ax-collapsed{inset-inline-start:calc(-1 * var(--ax-el-width))}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-expanded{inset-inline-end:0px}ax-drawer.ax-drawer-overlay.ax-drawer-end.ax-collapsed{inset-inline-end:calc(-1 * var(--ax-el-width))}ax-drawer.ax-drawer-push{flex:0 1 auto}ax-drawer.ax-drawer-push.ax-drawer-start{order:-9999}ax-drawer.ax-drawer-push.ax-drawer-start.ax-expanded{margin-inline-start:0px;z-index:20}ax-drawer.ax-drawer-push.ax-drawer-start.ax-collapsed{margin-inline-start:calc(-1 * var(--ax-el-width));z-index:0}ax-drawer.ax-drawer-push.ax-drawer-end{order:9999}ax-drawer.ax-drawer-push.ax-drawer-end.ax-expanded{margin-inline-end:0px;z-index:20}ax-drawer.ax-drawer-push.ax-drawer-end.ax-collapsed{margin-inline-end:calc(-1 * var(--ax-el-width));z-index:0}\n"] }]
|
147
|
+
}], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { __hostClass: [{
|
148
|
+
type: HostBinding,
|
149
|
+
args: ['class']
|
150
|
+
}] } });
|
151
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kcmF3ZXIvc3JjL2xpYi9kcmF3ZXIvZHJhd2VyLWl0ZW0vZHJhd2VyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsV0FBVyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQzlGLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNsRCxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxNQUFNLEVBQ04sV0FBVyxFQUNYLE1BQU0sRUFDTixLQUFLLEVBQ0wsS0FBSyxFQUNMLE1BQU0sRUFDTixNQUFNLEVBQ04saUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7QUFLdkQ7Ozs7R0FJRztBQWVILE1BQU0s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lbnQoJ2RpdicpO1xuICAgICAgICBiYWNrRHJvcEVsZW0uY2xhc3NMaXN0LmFkZCgnYXgtYmFja2Ryb3AnKTtcbiAgICAgICAgYmFja0Ryb3BFbGVtLm9uY2xpY2sgPSAoKSA9PiB7XG4gICAgICAgICAgdGhpcy5fem9uZS5ydW4oKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5jbG9zZSgpO1xuICAgICAgICAgIH0pO1xuICAgICAgICB9O1xuICAgICAgICB0aGlzLmdldEhvc3RFbGVtZW50KCk/LnBhcmVudEVsZW1lbnQ/LmFwcGVuZENoaWxkKGJhY2tEcm9wRWxlbSk7XG4gICAgICAgIHRoaXMuYmFja2Ryb3BFbGVtZW50LnNldChiYWNrRHJvcEVsZW0pO1xuICAgICAgfSk7XG4gICAgfVxuICB9XG5cbiAgLyoqXG4gICAqICBAaWdub3JlXG4gICAqL1xuICBwcml2YXRlIF9yZW1vdmVCYWNrZHJvcCgpIHtcbiAgICBpZiAoaXNCcm93c2VyKCkpIHtcbiAgICAgIHRoaXMuX3pvbmUucnVuT3V0c2lkZUFuZ3VsYXIoKCkgPT4ge1xuICAgICAgICBpZiAodGhpcy5iYWNrZHJvcEVsZW1lbnQoKSkge1xuICAgICAgICAgIHRoaXMuZ2V0SG9zdEVsZW1lbnQoKT8ucGFyZW50RWxlbWVudD8ucmVtb3ZlQ2hpbGQodGhpcy5iYWNrZHJvcEVsZW1lbnQoKSk7XG4gICAgICAgICAgdGhpcy5iYWNrZHJvcEVsZW1lbnQuc2V0KG51bGwpO1xuICAgICAgICB9XG4gICAgICB9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
2
2
|
import { NgModule } from '@angular/core';
|
3
|
-
import { AXDrawerContainerComponent } from './drawer-container.component';
|
4
|
-
import { AXDrawerComponent } from './drawer.component';
|
3
|
+
import { AXDrawerContainerComponent } from './drawer/drawer-container/drawer-container.component';
|
4
|
+
import { AXDrawerComponent } from './drawer/drawer-item/drawer.component';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
const COMPONENT = [AXDrawerComponent, AXDrawerContainerComponent];
|
7
7
|
const MODULES = [CommonModule];
|
@@ -19,4 +19,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
19
19
|
providers: [],
|
20
20
|
}]
|
21
21
|
}] });
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9kcmF3ZXIvc3JjL2xpYi9kcmF3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLHNEQUFzRCxDQUFDO0FBQ2xHLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOztBQUUxRSxNQUFNLFNBQVMsR0FBRyxDQUFDLGlCQUFpQixFQUFFLDBCQUEwQixDQUFDLENBQUM7QUFDbEUsTUFBTSxPQUFPLEdBQUcsQ0FBQyxZQUFZLENBQUMsQ0FBQztBQVEvQixNQUFNLE9BQU8sY0FBYzs4R0FBZCxjQUFjOytHQUFkLGNBQWMsaUJBVFIsaUJBQWlCLEVBQUUsMEJBQTBCLGFBQy9DLFlBQVksYUFEVixpQkFBaUIsRUFBRSwwQkFBMEI7K0dBU25ELGNBQWMsWUFKWixPQUFPOzsyRkFJVCxjQUFjO2tCQU4xQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDO29CQUM1QixPQUFPLEVBQUUsQ0FBQyxHQUFHLE9BQU8sQ0FBQztvQkFDckIsT0FBTyxFQUFFLENBQUMsR0FBRyxTQUFTLENBQUM7b0JBQ3ZCLFNBQVMsRUFBRSxFQUFFO2lCQUNkIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBWERyYXdlckNvbnRhaW5lckNvbXBvbmVudCB9IGZyb20gJy4vZHJhd2VyL2RyYXdlci1jb250YWluZXIvZHJhd2VyLWNvbnRhaW5lci5jb21wb25lbnQnO1xuaW1wb3J0IHsgQVhEcmF3ZXJDb21wb25lbnQgfSBmcm9tICcuL2RyYXdlci9kcmF3ZXItaXRlbS9kcmF3ZXIuY29tcG9uZW50JztcblxuY29uc3QgQ09NUE9ORU5UID0gW0FYRHJhd2VyQ29tcG9uZW50LCBBWERyYXdlckNvbnRhaW5lckNvbXBvbmVudF07XG5jb25zdCBNT0RVTEVTID0gW0NvbW1vbk1vZHVsZV07XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogWy4uLkNPTVBPTkVOVF0sXG4gIGltcG9ydHM6IFsuLi5NT0RVTEVTXSxcbiAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXG4gIHByb3ZpZGVyczogW10sXG59KVxuZXhwb3J0IGNsYXNzIEFYRHJhd2VyTW9kdWxlIHt9XG4iXX0=
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { Injectable, signal } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export class AXDrawerService {
|
4
|
+
constructor() {
|
5
|
+
this.drawerElements = signal(null);
|
6
|
+
}
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
8
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerService }); }
|
9
|
+
}
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: AXDrawerService, decorators: [{
|
11
|
+
type: Injectable
|
12
|
+
}] });
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvZHJhd2VyL3NyYy9saWIvZHJhd2VyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSW5ELE1BQU0sT0FBTyxlQUFlO0lBRDVCO1FBRUUsbUJBQWMsR0FBRyxNQUFNLENBQXNCLElBQUksQ0FBQyxDQUFDO0tBQ3BEOzhHQUZZLGVBQWU7a0hBQWYsZUFBZTs7MkZBQWYsZUFBZTtrQkFEM0IsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUsIHNpZ25hbCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQVhEcmF3ZXJDb21wb25lbnQgfSBmcm9tICcuL2RyYXdlci9kcmF3ZXItaXRlbS9kcmF3ZXIuY29tcG9uZW50JztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEFYRHJhd2VyU2VydmljZSB7XG4gIGRyYXdlckVsZW1lbnRzID0gc2lnbmFsPEFYRHJhd2VyQ29tcG9uZW50W10+KG51bGwpO1xufVxuIl19
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
1
|
import { AXButtonModule } from '@acorex/components/button';
|
3
2
|
import { AXColorPaletteModule } from '@acorex/components/color-palette';
|
4
3
|
import { AXDecoratorModule } from '@acorex/components/decorators';
|
5
4
|
import { AXPopoverModule } from '@acorex/components/popover';
|
6
5
|
import { AXRangeSliderModule } from '@acorex/components/range-slider';
|
7
6
|
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
7
|
+
import { NgModule } from '@angular/core';
|
8
8
|
import { FormsModule } from '@angular/forms';
|
9
9
|
import { AXPaintContainerComponent } from './paint/paint-container/paint-container.component';
|
10
10
|
import { AXPaintToolbarComponent } from './paint/paint-toolbar/paint-toolbar.component';
|
@@ -61,4 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
61
61
|
providers: [AXPaintService],
|
62
62
|
}]
|
63
63
|
}] });
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFpbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3BhaW50L3NyYy9saWIvcGFpbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUN4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNsRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU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NlJztcblxuY29uc3QgQ09NUE9ORU5UID0gW1xuICBBWFBhaW50Q29udGFpbmVyQ29tcG9uZW50LFxuICBBWFBhaW50VG9vbGJhckNvbXBvbmVudCxcbiAgQVhQYWludFZpZXdDb21wb25lbnQsXG4gIEFYUGFpbnRDb2xvclBpY2tlckNvbXBvbmVudCxcbiAgQVhQYWludFBlbkNhcENvbXBvbmVudCxcbiAgQVhQYWludFBlbk1vZGVDaGFuZ2VyQ29tcG9uZW50LFxuXTtcblxuY29uc3QgTU9EVUxFUyA9IFtcbiAgRm9ybXNNb2R1bGUsXG4gIEFYUmFuZ2VTbGlkZXJNb2R1bGUsXG4gIEFYU2VsZWN0Qm94TW9kdWxlLFxuICBBWEJ1dHRvbk1vZHVsZSxcbiAgQVhDb2xvclBhbGV0dGVNb2R1bGUsXG4gIEFYUG9wb3Zlck1vZHVsZSxcbiAgQVhEZWNvcmF0b3JNb2R1bGUsXG5dO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFsuLi5DT01QT05FTlRdLFxuICBpbXBvcnRzOiBbLi4uTU9EVUxFU10sXG4gIGV4cG9ydHM6IFsuLi5DT01QT05FTlRdLFxuICBwcm92aWRlcnM6IFtBWFBhaW50U2VydmljZV0sXG59KVxuZXhwb3J0IGNsYXNzIEFYUGFpbnRNb2R1bGUge31cbiJdfQ==
|
@@ -86,6 +86,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImpor
|
|
86
86
|
* @category Components
|
87
87
|
*/
|
88
88
|
class AXDecoratorCloseButtonComponent extends MXBaseComponent {
|
89
|
+
// @Inject(AXClosbaleComponent) private _parent?: AXClosbaleComponent,
|
89
90
|
/**
|
90
91
|
* @ignore
|
91
92
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../libs/components/decorators/src/lib/components/clear-button.component.ts","../../../../libs/components/decorators/src/lib/components/close-button.component.ts","../../../../libs/components/decorators/src/lib/components/generic-content.component.ts","../../../../libs/components/decorators/src/lib/components/icon.component.ts","../../../../libs/components/decorators/src/lib/decorators.module.ts","../../../../libs/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-clear';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden = this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n this._parent?.close();\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-sub-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorIconComponent } from './components/icon.component';\n\nconst COMPONENT = [AXDecoratorIconComponent, AXDecoratorClearButtonComponent, AXDecoratorCloseButtonComponent, AXDecoratorGenericComponent];\nconst MODULES = [CommonModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n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,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBATX,wBAAwB,EAAE,+BAA+B,EAAE,+BAA+B,EAAE,2BAA2B,CACzH,EAAA,OAAA,EAAA,CAAA,YAAY,aADV,wBAAwB,EAAE,+BAA+B,EAAE,+BAA+B,EAAE,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;AAS7H,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJf,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"acorex-components-decorators.mjs","sources":["../../../../libs/components/decorators/src/lib/components/clear-button.component.ts","../../../../libs/components/decorators/src/lib/components/close-button.component.ts","../../../../libs/components/decorators/src/lib/components/generic-content.component.ts","../../../../libs/components/decorators/src/lib/components/icon.component.ts","../../../../libs/components/decorators/src/lib/decorators.module.ts","../../../../libs/components/decorators/src/acorex-components-decorators.ts"],"sourcesContent":["import { AXClearableComponent, MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, HostListener, Inject, Input, Optional, ViewEncapsulation } from '@angular/core';\n/**\n * A button component that allows users to clear or reset a value.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-clear-button',\n template: `<button type=\"button\" tabIndex=\"-1\" role=\"button\" aria-label=\"Clear\" title=\"Clear\">\n <i class=\"ax-icon-solid\" [ngClass]=\"icon\"></i>\n </button>`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorClearButtonComponent extends MXBaseComponent {\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClearableComponent)\n private _parent?: AXClearableComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-clear';\n\n /**\n * The icon displayed on the clear button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon displayed on the clear button.\n *\n * @param v - The icon class to display. If not provided, defaults to 'ax-icon-close'.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get hostClass(): string {\n const hidden = this._parent.disabled || this._parent.readonly || this._parent.value == null || this._parent.value == '';\n return `ax-icon ax-clear-button ${hidden ? 'ax-hidden' : ''}`;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n if (!this._parent.disabled && !this._parent.readonly) this._parent?.reset(true);\n }\n}\n","import { AXClosbaleComponent, MXBaseComponent } from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * A button component that displays a close icon and triggers an action when clicked.\n *\n * @category Components\n */\n@Component({\n selector: 'ax-close-button',\n template: `<button type=\"button\" role=\"button\" aria-label=\"Close\" title=\"Close\">\n <i [ngClass]=\"icon\"></i>\n </button>`,\n styleUrls: ['close-button.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class AXDecoratorCloseButtonComponent extends MXBaseComponent {\n // @Inject(AXClosbaleComponent) private _parent?: AXClosbaleComponent,\n\n /**\n * @ignore\n */\n constructor(\n @Optional()\n @Inject(AXClosbaleComponent)\n private _parent?: AXClosbaleComponent,\n ) {\n super();\n }\n\n /**\n * @ignore\n */\n private _icon = 'ax-icon ax-icon-close';\n\n /**\n * The icon class to be applied to the button.\n */\n @Input()\n public get icon(): string {\n return this._icon || 'ax-icon-close';\n }\n\n /**\n * Sets the icon class to be applied to the button.\n *\n * @param v The icon class.\n */\n public set icon(v: string) {\n this._icon = v;\n }\n\n /**\n * @ignore\n */\n @HostListener('click', ['$event'])\n protected _handleOnClick() {\n this._parent?.close();\n }\n}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n/**\n * A flexible component for various UI elements like footer, header, content, and more.\n * @category Components\n */\n@Component({\n selector:\n 'ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-sub-title, ax-placeholder, ax-overlay',\n template: `<ng-content></ng-content>`,\n styleUrls: ['./generic-content.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: 'ax-footer', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-header', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-content', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-divider', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-form-hint', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-prefix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-suffix', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-text', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-sub-title', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-placeholder', useExisting: AXDecoratorGenericComponent },\n { provide: 'ax-overlay', useExisting: AXDecoratorGenericComponent },\n ],\n})\nexport class AXDecoratorGenericComponent extends MXBaseComponent {}\n","import { MXBaseComponent } from '@acorex/components/common';\nimport { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';\n\n/**\n * A component for displaying various types of icons including `<i>`, `<span>`, `<svg>`, and `<img>`.\n * @category Components\n */\n@Component({\n selector: 'ax-icon',\n template: '<ng-content select=\"i,span,svg,img\"></ng-content>',\n styles: `\n ax-icon {\n display: inherit;\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [{ provide: 'ax-icon', useExisting: AXDecoratorIconComponent }],\n})\nexport class AXDecoratorIconComponent extends MXBaseComponent {\n /**\n * Specifies the icon to be displayed.\n *\n * @defaultValue ''\n */\n @Input()\n icon = '';\n\n /**\n * @ignore\n */\n @HostBinding('class')\n private get __iconClass(): string {\n this.cdr.detectChanges();\n return `${this.icon}`;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDecoratorClearButtonComponent } from './components/clear-button.component';\nimport { AXDecoratorCloseButtonComponent } from './components/close-button.component';\nimport { AXDecoratorGenericComponent } from './components/generic-content.component';\nimport { AXDecoratorIconComponent } from './components/icon.component';\n\nconst COMPONENT = [AXDecoratorIconComponent, AXDecoratorClearButtonComponent, AXDecoratorCloseButtonComponent, AXDecoratorGenericComponent];\nconst MODULES = [CommonModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDecoratorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEA;;;;AAIG;AASG,MAAO,+BAAgC,SAAQ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