zek 17.3.62 → 17.3.63
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.
|
@@ -3,13 +3,16 @@ import { Convert } from '../../utils';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class ZekReadOnlyDirective {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.
|
|
6
|
+
this._readOnly = false;
|
|
7
7
|
}
|
|
8
|
-
readonly(
|
|
9
|
-
this.
|
|
8
|
+
get readonly() {
|
|
9
|
+
return this._readOnly;
|
|
10
|
+
}
|
|
11
|
+
set readonly(v) {
|
|
12
|
+
this._readOnly = Convert.toBooleanProperty(v);
|
|
10
13
|
}
|
|
11
14
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ZekReadOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.4", type: ZekReadOnlyDirective, isStandalone: true, selector: "[readonly],[readOnly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "
|
|
15
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.4", type: ZekReadOnlyDirective, isStandalone: true, selector: "[readonly],[readOnly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "_readOnly ? \"\" : null" } }, ngImport: i0 }); }
|
|
13
16
|
}
|
|
14
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ZekReadOnlyDirective, decorators: [{
|
|
15
18
|
type: Directive,
|
|
@@ -17,10 +20,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImpor
|
|
|
17
20
|
standalone: true,
|
|
18
21
|
selector: '[readonly],[readOnly]',
|
|
19
22
|
host: {
|
|
20
|
-
'[attr.readonly]': '
|
|
23
|
+
'[attr.readonly]': '_readOnly ? "" : null'
|
|
21
24
|
}
|
|
22
25
|
}]
|
|
23
26
|
}], propDecorators: { readonly: [{
|
|
24
27
|
type: Input
|
|
25
28
|
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZG9ubHkuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvemVrL3NyYy9saWIvbW9kdWxlcy9yZWFkb25seS9yZWFkb25seS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFakQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLGFBQWEsQ0FBQzs7QUFTdEMsTUFBTSxPQUFPLG9CQUFvQjtJQVBqQztRQVFZLGNBQVMsR0FBRyxLQUFLLENBQUM7S0FRN0I7SUFQRyxJQUNJLFFBQVE7UUFDUixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUM7SUFDMUIsQ0FBQztJQUNELElBQUksUUFBUSxDQUFDLENBQWU7UUFDeEIsSUFBSSxDQUFDLFNBQVMsR0FBRyxPQUFPLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDbEQsQ0FBQzs4R0FSUSxvQkFBb0I7a0dBQXBCLG9CQUFvQjs7MkZBQXBCLG9CQUFvQjtrQkFQaEMsU0FBUzttQkFBQztvQkFDUCxVQUFVLEVBQUUsSUFBSTtvQkFDaEIsUUFBUSxFQUFFLHVCQUF1QjtvQkFDakMsSUFBSSxFQUFFO3dCQUNGLGlCQUFpQixFQUFFLHVCQUF1QjtxQkFDN0M7aUJBQ0o7OEJBSU8sUUFBUTtzQkFEWCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBCb29sZWFuSW5wdXQgfSBmcm9tICcuLi8uLi9jb21wb25lbnRzJztcclxuaW1wb3J0IHsgQ29udmVydCB9IGZyb20gJy4uLy4uL3V0aWxzJztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcclxuICAgIHNlbGVjdG9yOiAnW3JlYWRvbmx5XSxbcmVhZE9ubHldJyxcclxuICAgIGhvc3Q6IHtcclxuICAgICAgICAnW2F0dHIucmVhZG9ubHldJzogJ19yZWFkT25seSA/IFwiXCIgOiBudWxsJ1xyXG4gICAgfVxyXG59KVxyXG5leHBvcnQgY2xhc3MgWmVrUmVhZE9ubHlEaXJlY3RpdmUge1xyXG4gICAgcHJpdmF0ZSBfcmVhZE9ubHkgPSBmYWxzZTtcclxuICAgIEBJbnB1dCgpXHJcbiAgICBnZXQgcmVhZG9ubHkoKTogYm9vbGVhbiB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3JlYWRPbmx5O1xyXG4gICAgfVxyXG4gICAgc2V0IHJlYWRvbmx5KHY6IEJvb2xlYW5JbnB1dCkge1xyXG4gICAgICAgIHRoaXMuX3JlYWRPbmx5ID0gQ29udmVydC50b0Jvb2xlYW5Qcm9wZXJ0eSh2KTtcclxuICAgIH1cclxufSJdfQ==
|
package/fesm2022/zek.mjs
CHANGED
|
@@ -5550,13 +5550,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImpor
|
|
|
5550
5550
|
|
|
5551
5551
|
class ZekReadOnlyDirective {
|
|
5552
5552
|
constructor() {
|
|
5553
|
-
this.
|
|
5553
|
+
this._readOnly = false;
|
|
5554
|
+
}
|
|
5555
|
+
get readonly() {
|
|
5556
|
+
return this._readOnly;
|
|
5554
5557
|
}
|
|
5555
|
-
readonly(v) {
|
|
5556
|
-
this.
|
|
5558
|
+
set readonly(v) {
|
|
5559
|
+
this._readOnly = Convert.toBooleanProperty(v);
|
|
5557
5560
|
}
|
|
5558
5561
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ZekReadOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5559
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.4", type: ZekReadOnlyDirective, isStandalone: true, selector: "[readonly],[readOnly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "
|
|
5562
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.4", type: ZekReadOnlyDirective, isStandalone: true, selector: "[readonly],[readOnly]", inputs: { readonly: "readonly" }, host: { properties: { "attr.readonly": "_readOnly ? \"\" : null" } }, ngImport: i0 }); }
|
|
5560
5563
|
}
|
|
5561
5564
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ZekReadOnlyDirective, decorators: [{
|
|
5562
5565
|
type: Directive,
|
|
@@ -5564,7 +5567,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImpor
|
|
|
5564
5567
|
standalone: true,
|
|
5565
5568
|
selector: '[readonly],[readOnly]',
|
|
5566
5569
|
host: {
|
|
5567
|
-
'[attr.readonly]': '
|
|
5570
|
+
'[attr.readonly]': '_readOnly ? "" : null'
|
|
5568
5571
|
}
|
|
5569
5572
|
}]
|
|
5570
5573
|
}], propDecorators: { readonly: [{
|