@osovitny/anatoly 3.19.13 → 3.19.14
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.
|
@@ -7455,7 +7455,7 @@ function TimezoneDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
7455
7455
|
i0.ɵɵadvance();
|
|
7456
7456
|
i0.ɵɵproperty("ngIf", ctx_r1.isTitleVisible);
|
|
7457
7457
|
i0.ɵɵadvance();
|
|
7458
|
-
i0.ɵɵproperty("formControlName", ctx_r1.controlName);
|
|
7458
|
+
i0.ɵɵproperty("formControlName", ctx_r1.controlName)("disabled", ctx_r1.disabled);
|
|
7459
7459
|
i0.ɵɵadvance();
|
|
7460
7460
|
i0.ɵɵproperty("ngForOf", ctx_r1.items);
|
|
7461
7461
|
} }
|
|
@@ -7464,6 +7464,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7464
7464
|
super();
|
|
7465
7465
|
this.api = api;
|
|
7466
7466
|
this.appContext = appContext;
|
|
7467
|
+
this.disabled = false;
|
|
7467
7468
|
this.title = 'Timezone';
|
|
7468
7469
|
}
|
|
7469
7470
|
ngOnInit() {
|
|
@@ -7498,8 +7499,8 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7498
7499
|
}
|
|
7499
7500
|
}
|
|
7500
7501
|
static { this.ɵfac = function TimezoneDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TimezoneDropdownlist)(i0.ɵɵdirectiveInject(CoreApiService), i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
7501
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimezoneDropdownlist, selectors: [["anatoly-timezone-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], ["class", "col-form-label", 4, "ngIf"], [1, "form-select", 3, "formControlName"], [3, "value", 4, "ngFor", "ngForOf"], [1, "col-form-label"], [3, "value"]], template: function TimezoneDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7502
|
-
i0.ɵɵtemplate(0, TimezoneDropdownlist_div_0_Template, 1, 0, "div", 0)(1, TimezoneDropdownlist_div_1_Template, 4,
|
|
7502
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TimezoneDropdownlist, selectors: [["anatoly-timezone-dropdownlist"]], inputs: { disabled: "disabled" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "formGroup"], ["class", "col-form-label", 4, "ngIf"], [1, "form-select", 3, "formControlName", "disabled"], [3, "value", 4, "ngFor", "ngForOf"], [1, "col-form-label"], [3, "value"]], template: function TimezoneDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7503
|
+
i0.ɵɵtemplate(0, TimezoneDropdownlist_div_0_Template, 1, 0, "div", 0)(1, TimezoneDropdownlist_div_1_Template, 4, 5, "div", 1);
|
|
7503
7504
|
} if (rf & 2) {
|
|
7504
7505
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7505
7506
|
i0.ɵɵadvance();
|
|
@@ -7508,8 +7509,10 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7508
7509
|
}
|
|
7509
7510
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
7510
7511
|
type: Component,
|
|
7511
|
-
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <label *ngIf='isTitleVisible' class='col-form-label'>Timezone</label>\r\n <select [formControlName]='controlName' class='form-select'>\r\n <option *ngFor='let item of items' [value]='item.code'>\r\n ({{ item.offset }}) {{ item.name }}\r\n </option>\r\n </select>\r\n</div>\r\n" }]
|
|
7512
|
-
}], () => [{ type: CoreApiService }, { type: AppContextService }],
|
|
7512
|
+
args: [{ selector: 'anatoly-timezone-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n</div>\r\n\r\n<div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <label *ngIf='isTitleVisible' class='col-form-label'>Timezone</label>\r\n <select [formControlName]='controlName' class='form-select' [disabled]='disabled'>\r\n <option *ngFor='let item of items' [value]='item.code'>\r\n ({{ item.offset }}) {{ item.name }}\r\n </option>\r\n </select>\r\n</div>\r\n" }]
|
|
7513
|
+
}], () => [{ type: CoreApiService }, { type: AppContextService }], { disabled: [{
|
|
7514
|
+
type: Input
|
|
7515
|
+
}] }); })();
|
|
7513
7516
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TimezoneDropdownlist, { className: "TimezoneDropdownlist", filePath: "lib/ui/components/dropdownlists/timezone/timezone.dropdownlist.ts", lineNumber: 30 }); })();
|
|
7514
7517
|
|
|
7515
7518
|
/*
|