iss-ctrl 0.0.19 → 0.0.20
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/fesm2022/{iss-ctrl-iss-ctrl-Cy9p_PEj.mjs → iss-ctrl-iss-ctrl-BnwwafES.mjs} +340 -184
- package/fesm2022/iss-ctrl-iss-ctrl-BnwwafES.mjs.map +1 -0
- package/fesm2022/{iss-ctrl-load-event-DbAc-Wqq.mjs → iss-ctrl-load-event-BcWMow3s.mjs} +3 -3
- package/fesm2022/{iss-ctrl-load-event-DbAc-Wqq.mjs.map → iss-ctrl-load-event-BcWMow3s.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-load-options-event-CmXkuQ5O.mjs → iss-ctrl-load-options-event-sTdrxJYn.mjs} +3 -3
- package/fesm2022/{iss-ctrl-load-options-event-CmXkuQ5O.mjs.map → iss-ctrl-load-options-event-sTdrxJYn.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-load-value-event-DmX9Pkzf.mjs → iss-ctrl-load-value-event-BG9zEexV.mjs} +3 -3
- package/fesm2022/{iss-ctrl-load-value-event-DmX9Pkzf.mjs.map → iss-ctrl-load-value-event-BG9zEexV.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-note.field-CbLlparb.mjs → iss-ctrl-note.field-DyOSzuIi.mjs} +2 -2
- package/fesm2022/{iss-ctrl-note.field-CbLlparb.mjs.map → iss-ctrl-note.field-DyOSzuIi.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-replace-api-keys-C_mYQdtP.mjs → iss-ctrl-replace-api-keys-CzJkn7fK.mjs} +2 -2
- package/fesm2022/{iss-ctrl-replace-api-keys-C_mYQdtP.mjs.map → iss-ctrl-replace-api-keys-CzJkn7fK.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-set-value-event-vKIrSRgu.mjs → iss-ctrl-set-value-event-B800MsyP.mjs} +2 -2
- package/fesm2022/{iss-ctrl-set-value-event-vKIrSRgu.mjs.map → iss-ctrl-set-value-event-B800MsyP.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-table.field-CvqXIE4q.mjs → iss-ctrl-table.field-CJmtpHsh.mjs} +4 -4
- package/fesm2022/{iss-ctrl-table.field-CvqXIE4q.mjs.map → iss-ctrl-table.field-CJmtpHsh.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-trigger-based-on-json-value-wyn6AXWA.mjs → iss-ctrl-trigger-based-on-json-value-C5x0hyWn.mjs} +2 -2
- package/fesm2022/{iss-ctrl-trigger-based-on-json-value-wyn6AXWA.mjs.map → iss-ctrl-trigger-based-on-json-value-C5x0hyWn.mjs.map} +1 -1
- package/fesm2022/{iss-ctrl-user-picker.field-BhjVNeqN.mjs → iss-ctrl-user-picker.field-CJqIvkMM.mjs} +13 -6
- package/fesm2022/iss-ctrl-user-picker.field-CJqIvkMM.mjs.map +1 -0
- package/fesm2022/iss-ctrl.mjs +1 -1
- package/package.json +1 -1
- package/types/iss-ctrl.d.ts +34 -10
- package/fesm2022/iss-ctrl-iss-ctrl-Cy9p_PEj.mjs.map +0 -1
- package/fesm2022/iss-ctrl-user-picker.field-BhjVNeqN.mjs.map +0 -1
|
@@ -1648,11 +1648,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
1648
1648
|
}]
|
|
1649
1649
|
}], propDecorators: { disabledDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDays", required: false }] }], minDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "minDate", required: false }] }], maxDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxDate", required: false }] }], minTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "minTime", required: false }] }], maxTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxTime", required: false }] }], hijriCalendar: [{ type: i0.Input, args: [{ isSignal: true, alias: "hijriCalendar", required: false }] }], emitHijri: [{ type: i0.Input, args: [{ isSignal: true, alias: "emitHijri", required: false }] }] } });
|
|
1650
1650
|
|
|
1651
|
-
class
|
|
1651
|
+
class Hints {
|
|
1652
1652
|
hints = input([], ...(ngDevMode ? [{ debugName: "hints" }] : /* istanbul ignore next */ []));
|
|
1653
1653
|
touched = input(false, ...(ngDevMode ? [{ debugName: "touched" }] : /* istanbul ignore next */ []));
|
|
1654
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type:
|
|
1655
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type:
|
|
1654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: Hints, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1655
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: Hints, isStandalone: true, selector: "iss-ctrl-hints", inputs: { hints: { classPropertyName: "hints", publicName: "hints", isSignal: true, isRequired: false, transformFunction: null }, touched: { classPropertyName: "touched", publicName: "touched", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1656
1656
|
@if (hints().length) {
|
|
1657
1657
|
<div class="d-flex align-items-center flex-wrap gap-2 mb-3">
|
|
1658
1658
|
@for (hint of hints(); track $index) {
|
|
@@ -1678,7 +1678,7 @@ class HintsComponent {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
`, isInline: true, dependencies: [{ kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }] });
|
|
1680
1680
|
}
|
|
1681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type:
|
|
1681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: Hints, decorators: [{
|
|
1682
1682
|
type: Component,
|
|
1683
1683
|
args: [{
|
|
1684
1684
|
selector: "iss-ctrl-hints",
|
|
@@ -1939,14 +1939,14 @@ class FilePickerControl extends ControlBase {
|
|
|
1939
1939
|
|
|
1940
1940
|
<iss-ctrl-hints [hints]="hints()" [touched]="touched()"/>
|
|
1941
1941
|
<!--<iss-viewer-attachment (deleteOut)="onDelete($event)" [field]="filesValue()" [uploading]="uploading()"/>-->
|
|
1942
|
-
`, isInline: true, styles: [".file-uploader{--uploader-height: 150px;--uploader-width: 100%;--uploader-bg: var(--off-white);--uploader-border: 1px dashed var(--dark-gray);--uploader-radius: var(--box-radius);--uploader-padding: 1rem;height:var(--uploader-height);background-color:var(--uploader-bg);border:var(--uploader-border);border-radius:var(--uploader-radius);padding:var(--uploader-padding);text-align:center;cursor:pointer}.file-uploader --input{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:.75rem}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: Droppable, selector: "[droppable]", outputs: ["onDrop"] }, { kind: "component", type:
|
|
1942
|
+
`, isInline: true, styles: [".file-uploader{--uploader-height: 150px;--uploader-width: 100%;--uploader-bg: var(--off-white);--uploader-border: 1px dashed var(--dark-gray);--uploader-radius: var(--box-radius);--uploader-padding: 1rem;height:var(--uploader-height);background-color:var(--uploader-bg);border:var(--uploader-border);border-radius:var(--uploader-radius);padding:var(--uploader-padding);text-align:center;cursor:pointer}.file-uploader --input{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:.75rem}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: Droppable, selector: "[droppable]", outputs: ["onDrop"] }, { kind: "component", type: Hints, selector: "iss-ctrl-hints", inputs: ["hints", "touched"] }] });
|
|
1943
1943
|
}
|
|
1944
1944
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FilePickerControl, decorators: [{
|
|
1945
1945
|
type: Component,
|
|
1946
1946
|
args: [{ selector: "iss-ctrl-file-picker", schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [
|
|
1947
1947
|
ReactiveFormsModule,
|
|
1948
1948
|
Droppable,
|
|
1949
|
-
|
|
1949
|
+
Hints,
|
|
1950
1950
|
], providers: [
|
|
1951
1951
|
{ provide: NG_VALUE_ACCESSOR, useExisting: FilePickerControl, multi: true }
|
|
1952
1952
|
], template: `
|
|
@@ -2091,7 +2091,7 @@ class InputControl extends ControlBase {
|
|
|
2091
2091
|
</div>
|
|
2092
2092
|
<iss-ctrl-hints [hints]="hints()" [touched]="touched()"/>
|
|
2093
2093
|
</mat-form-field>
|
|
2094
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i1$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i1$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type:
|
|
2094
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i1$1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1$1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i1$1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i1$1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: Hints, selector: "iss-ctrl-hints", inputs: ["hints", "touched"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatInputModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2095
2095
|
}
|
|
2096
2096
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: InputControl, decorators: [{
|
|
2097
2097
|
type: Component,
|
|
@@ -2102,7 +2102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
2102
2102
|
imports: [
|
|
2103
2103
|
ReactiveFormsModule,
|
|
2104
2104
|
MatFormFieldModule,
|
|
2105
|
-
|
|
2105
|
+
Hints,
|
|
2106
2106
|
MatInput,
|
|
2107
2107
|
MatInputModule,
|
|
2108
2108
|
],
|
|
@@ -5596,7 +5596,7 @@ class TextareaControl extends ControlBase {
|
|
|
5596
5596
|
</textarea>
|
|
5597
5597
|
<iss-ctrl-hints [hints]="hints()" [touched]="touched()"/>
|
|
5598
5598
|
</mat-form-field>
|
|
5599
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type:
|
|
5599
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: Hints, selector: "iss-ctrl-hints", inputs: ["hints", "touched"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "directive", type: i1$1.MatLabel, selector: "mat-label" }] });
|
|
5600
5600
|
}
|
|
5601
5601
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TextareaControl, decorators: [{
|
|
5602
5602
|
type: Component,
|
|
@@ -5605,7 +5605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
5605
5605
|
imports: [
|
|
5606
5606
|
MatFormField,
|
|
5607
5607
|
MatInput,
|
|
5608
|
-
|
|
5608
|
+
Hints,
|
|
5609
5609
|
FormsModule,
|
|
5610
5610
|
ReactiveFormsModule,
|
|
5611
5611
|
MatFormFieldModule,
|
|
@@ -6411,22 +6411,22 @@ const COMPONENTS = {
|
|
|
6411
6411
|
datetime: () => Promise.resolve().then(function () { return datetimePicker_field; }).then((c) => c.DatetimePickerField),
|
|
6412
6412
|
date_range: () => Promise.resolve().then(function () { return dateRangePicker_field; }).then((c) => c.DateRangePickerField),
|
|
6413
6413
|
attachment: () => Promise.resolve().then(function () { return filePicker_field; }).then((c) => c.FilePickerField),
|
|
6414
|
-
userPicker: () => import('./iss-ctrl-user-picker.field-
|
|
6414
|
+
userPicker: () => import('./iss-ctrl-user-picker.field-CJqIvkMM.mjs').then((c) => c.UserPickerField),
|
|
6415
6415
|
vehicle_plate: () => Promise.resolve().then(function () { return plate_field; }).then((c) => c.PlateField),
|
|
6416
|
-
enrichment: () => import('./iss-ctrl-note.field-
|
|
6416
|
+
enrichment: () => import('./iss-ctrl-note.field-DyOSzuIi.mjs').then((c) => c.NoteField),
|
|
6417
6417
|
mobile: () => Promise.resolve().then(function () { return mobile_field; }).then((c) => c.MobileField),
|
|
6418
|
-
table: () => import('./iss-ctrl-table.field-
|
|
6418
|
+
table: () => import('./iss-ctrl-table.field-CJmtpHsh.mjs').then((c) => c.TableField),
|
|
6419
6419
|
chips: () => Promise.resolve().then(function () { return chips_field; }).then((c) => c.ChipsField),
|
|
6420
6420
|
switch: () => Promise.resolve().then(function () { return slideToggle_field; }).then((c) => c.SlideToggleField),
|
|
6421
6421
|
};
|
|
6422
6422
|
|
|
6423
6423
|
const SERVICES = {
|
|
6424
|
-
setValue: () => import('./iss-ctrl-set-value-event-
|
|
6424
|
+
setValue: () => import('./iss-ctrl-set-value-event-B800MsyP.mjs').then((s) => s.SetValueEvent),
|
|
6425
6425
|
show: () => import('./iss-ctrl-show-event-BcRCwAfo.mjs').then((s) => s.ShowEvent),
|
|
6426
|
-
load: () => import('./iss-ctrl-load-value-event-
|
|
6427
|
-
loadOptions: () => import('./iss-ctrl-load-options-event-
|
|
6428
|
-
triggerBasedOnJsonValue: () => import('./iss-ctrl-trigger-based-on-json-value-
|
|
6429
|
-
replaceApiKeyDefaultImpl: () => import('./iss-ctrl-replace-api-keys-
|
|
6426
|
+
load: () => import('./iss-ctrl-load-value-event-BG9zEexV.mjs').then((s) => s.LoadValueEvent),
|
|
6427
|
+
loadOptions: () => import('./iss-ctrl-load-options-event-sTdrxJYn.mjs').then((s) => s.LoadOptionsEvent),
|
|
6428
|
+
triggerBasedOnJsonValue: () => import('./iss-ctrl-trigger-based-on-json-value-C5x0hyWn.mjs').then((s) => s.TriggerBasedOnJsonValue),
|
|
6429
|
+
replaceApiKeyDefaultImpl: () => import('./iss-ctrl-replace-api-keys-CzJkn7fK.mjs').then((s) => s.ReplaceApiKeys),
|
|
6430
6430
|
};
|
|
6431
6431
|
|
|
6432
6432
|
// Read-only counterpart of COMPONENTS: the component used to render a field's value
|
|
@@ -6809,7 +6809,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
6809
6809
|
args: [{ name: "translate" }]
|
|
6810
6810
|
}] });
|
|
6811
6811
|
|
|
6812
|
-
class
|
|
6812
|
+
class ValidationMessage {
|
|
6813
6813
|
errors = input.required(...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
|
|
6814
6814
|
showMessage = input.required(...(ngDevMode ? [{ debugName: "showMessage" }] : /* istanbul ignore next */ []));
|
|
6815
6815
|
getValidationMessage(error) {
|
|
@@ -6820,8 +6820,8 @@ class ValidationMessageComponent {
|
|
|
6820
6820
|
}
|
|
6821
6821
|
return errorMessageGenerator(error.value);
|
|
6822
6822
|
}
|
|
6823
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type:
|
|
6824
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type:
|
|
6823
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ValidationMessage, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6824
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ValidationMessage, isStandalone: true, selector: "iss-validation-message-viewer", inputs: { errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: true, transformFunction: null }, showMessage: { classPropertyName: "showMessage", publicName: "showMessage", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
6825
6825
|
@if (errors() !== null && showMessage()) {
|
|
6826
6826
|
<div class="messages">
|
|
6827
6827
|
@for (error of errors() ?? {} | keyvalue; track error) {
|
|
@@ -6833,7 +6833,7 @@ class ValidationMessageComponent {
|
|
|
6833
6833
|
}
|
|
6834
6834
|
`, isInline: true, styles: [":host{display:block;position:relative}.messages{position:absolute;inset-inline:0;top:0;z-index:1}p{margin:0}\n"], dependencies: [{ kind: "directive", type: MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
6835
6835
|
}
|
|
6836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type:
|
|
6836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ValidationMessage, decorators: [{
|
|
6837
6837
|
type: Component,
|
|
6838
6838
|
args: [{ selector: "iss-validation-message-viewer", imports: [
|
|
6839
6839
|
KeyValuePipe,
|
|
@@ -7115,6 +7115,44 @@ var input_viewer = /*#__PURE__*/Object.freeze({
|
|
|
7115
7115
|
InputViewer: InputViewer
|
|
7116
7116
|
});
|
|
7117
7117
|
|
|
7118
|
+
/**
|
|
7119
|
+
* `<iss-field-viewer>` — read-only presentation of a single field as a
|
|
7120
|
+
* label / value row.
|
|
7121
|
+
*
|
|
7122
|
+
* Project the caption into the `label` slot and the rendered value into any
|
|
7123
|
+
* element carrying a `value` attribute:
|
|
7124
|
+
*
|
|
7125
|
+
* ```html
|
|
7126
|
+
* <iss-field-viewer>
|
|
7127
|
+
* <label>Request Type</label>
|
|
7128
|
+
* <span>value</span>
|
|
7129
|
+
* </iss-field-viewer>
|
|
7130
|
+
* ```
|
|
7131
|
+
*
|
|
7132
|
+
* The label sits in a fixed-width column, so every value in a stack of viewers
|
|
7133
|
+
* starts on the same vertical line. Override that column with the
|
|
7134
|
+
* `--field-viewer-label-width` custom property on any ancestor.
|
|
7135
|
+
* When no label is projected, the value spans the full width of the row.
|
|
7136
|
+
*/
|
|
7137
|
+
class FieldViewer {
|
|
7138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FieldViewer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7139
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: FieldViewer, isStandalone: true, selector: "iss-field-viewer", ngImport: i0, template: `
|
|
7140
|
+
<div class="field-viewer w-100">
|
|
7141
|
+
<span class="field-viewer__label"><ng-content select="label"></ng-content></span>
|
|
7142
|
+
<span class="field-viewer__value"><ng-content></ng-content></span>
|
|
7143
|
+
</div>
|
|
7144
|
+
`, isInline: true, styles: [":host{--field-viewer-label-width: 14rem;--field-viewer-gap: 1.5rem;--field-viewer-padding: .75rem 1rem;--field-viewer-label-fc: var(--dark-gray);--field-viewer-value-fc: var(--black);display:block;width:100%}.field-viewer{display:grid;grid-template-columns:var(--field-viewer-label-width) minmax(0,1fr);align-items:baseline;column-gap:var(--field-viewer-gap);padding:var(--field-viewer-padding);border-radius:var(--box-radius);font-size:.875rem;line-height:var(--default-line-height)}.field-viewer__label{color:var(--field-viewer-label-fc);font-weight:var(--font-regular);overflow-wrap:anywhere}.field-viewer__value{min-width:0;color:var(--field-viewer-value-fc);font-weight:var(--font-bold);overflow-wrap:anywhere}.field-viewer__label ::ng-deep label{display:block;margin:0;color:inherit;font:inherit}.field-viewer:not(:has(.field-viewer__label>*)){grid-template-columns:minmax(0,1fr)}.field-viewer:not(:has(.field-viewer__label>*)) .field-viewer__label{display:none}@media(max-width:575.98px){.field-viewer{grid-template-columns:minmax(0,1fr);row-gap:.25rem}}\n"] });
|
|
7145
|
+
}
|
|
7146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FieldViewer, decorators: [{
|
|
7147
|
+
type: Component,
|
|
7148
|
+
args: [{ selector: "iss-field-viewer", imports: [], template: `
|
|
7149
|
+
<div class="field-viewer w-100">
|
|
7150
|
+
<span class="field-viewer__label"><ng-content select="label"></ng-content></span>
|
|
7151
|
+
<span class="field-viewer__value"><ng-content></ng-content></span>
|
|
7152
|
+
</div>
|
|
7153
|
+
`, styles: [":host{--field-viewer-label-width: 14rem;--field-viewer-gap: 1.5rem;--field-viewer-padding: .75rem 1rem;--field-viewer-label-fc: var(--dark-gray);--field-viewer-value-fc: var(--black);display:block;width:100%}.field-viewer{display:grid;grid-template-columns:var(--field-viewer-label-width) minmax(0,1fr);align-items:baseline;column-gap:var(--field-viewer-gap);padding:var(--field-viewer-padding);border-radius:var(--box-radius);font-size:.875rem;line-height:var(--default-line-height)}.field-viewer__label{color:var(--field-viewer-label-fc);font-weight:var(--font-regular);overflow-wrap:anywhere}.field-viewer__value{min-width:0;color:var(--field-viewer-value-fc);font-weight:var(--font-bold);overflow-wrap:anywhere}.field-viewer__label ::ng-deep label{display:block;margin:0;color:inherit;font:inherit}.field-viewer:not(:has(.field-viewer__label>*)){grid-template-columns:minmax(0,1fr)}.field-viewer:not(:has(.field-viewer__label>*)) .field-viewer__label{display:none}@media(max-width:575.98px){.field-viewer{grid-template-columns:minmax(0,1fr);row-gap:.25rem}}\n"] }]
|
|
7154
|
+
}] });
|
|
7155
|
+
|
|
7118
7156
|
/**
|
|
7119
7157
|
* `<iss-field-input>` — single line text, number, email or password entry.
|
|
7120
7158
|
*
|
|
@@ -7162,10 +7200,13 @@ class InputField extends FieldBase {
|
|
|
7162
7200
|
</iss-ctrl-input>
|
|
7163
7201
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7164
7202
|
} @else {
|
|
7165
|
-
<iss-viewer
|
|
7203
|
+
<iss-field-viewer>
|
|
7204
|
+
<label>{{ field.label() }}</label>
|
|
7205
|
+
<iss-viewer-input [field]="field"/>
|
|
7206
|
+
</iss-field-viewer>
|
|
7166
7207
|
}
|
|
7167
7208
|
}
|
|
7168
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: InputControl, selector: "iss-ctrl-input", inputs: ["type", "prefixIcon", "prefixText", "suffixIcon", "suffixText"], outputs: ["onPrefixClick", "onSuffixClick"] }, { kind: "component", type:
|
|
7209
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: InputControl, selector: "iss-ctrl-input", inputs: ["type", "prefixIcon", "prefixText", "suffixIcon", "suffixText"], outputs: ["onPrefixClick", "onSuffixClick"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: InputViewer, selector: "iss-viewer-input" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7169
7210
|
}
|
|
7170
7211
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: InputField, decorators: [{
|
|
7171
7212
|
type: Component,
|
|
@@ -7175,8 +7216,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7175
7216
|
imports: [
|
|
7176
7217
|
ReactiveFormsModule,
|
|
7177
7218
|
InputControl,
|
|
7178
|
-
|
|
7179
|
-
InputViewer
|
|
7219
|
+
ValidationMessage,
|
|
7220
|
+
InputViewer,
|
|
7221
|
+
FieldViewer
|
|
7180
7222
|
],
|
|
7181
7223
|
template: `
|
|
7182
7224
|
@if (field.visible()) {
|
|
@@ -7195,7 +7237,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7195
7237
|
</iss-ctrl-input>
|
|
7196
7238
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7197
7239
|
} @else {
|
|
7198
|
-
<iss-viewer
|
|
7240
|
+
<iss-field-viewer>
|
|
7241
|
+
<label>{{ field.label() }}</label>
|
|
7242
|
+
<iss-viewer-input [field]="field"/>
|
|
7243
|
+
</iss-field-viewer>
|
|
7199
7244
|
}
|
|
7200
7245
|
}
|
|
7201
7246
|
`
|
|
@@ -7262,10 +7307,13 @@ class TextareaField extends FieldBase {
|
|
|
7262
7307
|
</iss-ctrl-textarea>
|
|
7263
7308
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7264
7309
|
} @else {
|
|
7265
|
-
<iss-viewer
|
|
7310
|
+
<iss-field-viewer>
|
|
7311
|
+
<label>{{ field.label() }}</label>
|
|
7312
|
+
<iss-viewer-textarea [field]="field"/>
|
|
7313
|
+
</iss-field-viewer>
|
|
7266
7314
|
}
|
|
7267
7315
|
}
|
|
7268
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextareaControl, selector: "iss-ctrl-textarea" }, { kind: "component", type:
|
|
7316
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TextareaControl, selector: "iss-ctrl-textarea" }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: TextareaViewer, selector: "iss-viewer-textarea" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7269
7317
|
}
|
|
7270
7318
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TextareaField, decorators: [{
|
|
7271
7319
|
type: Component,
|
|
@@ -7275,8 +7323,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7275
7323
|
imports: [
|
|
7276
7324
|
ReactiveFormsModule,
|
|
7277
7325
|
TextareaControl,
|
|
7278
|
-
|
|
7279
|
-
TextareaViewer
|
|
7326
|
+
ValidationMessage,
|
|
7327
|
+
TextareaViewer,
|
|
7328
|
+
FieldViewer
|
|
7280
7329
|
],
|
|
7281
7330
|
template: `
|
|
7282
7331
|
@if (field.visible()) {
|
|
@@ -7286,7 +7335,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7286
7335
|
</iss-ctrl-textarea>
|
|
7287
7336
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7288
7337
|
} @else {
|
|
7289
|
-
<iss-viewer
|
|
7338
|
+
<iss-field-viewer>
|
|
7339
|
+
<label>{{ field.label() }}</label>
|
|
7340
|
+
<iss-viewer-textarea [field]="field"/>
|
|
7341
|
+
</iss-field-viewer>
|
|
7290
7342
|
}
|
|
7291
7343
|
}
|
|
7292
7344
|
`
|
|
@@ -7364,10 +7416,13 @@ class ChipsField extends FieldBase {
|
|
|
7364
7416
|
<iss-ctrl-chips [formControlName]="field.name" [readonly]="field.config.readonly() ?? false"><label>{{ field.label() }}</label></iss-ctrl-chips>
|
|
7365
7417
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7366
7418
|
} @else {
|
|
7367
|
-
<iss-viewer
|
|
7419
|
+
<iss-field-viewer>
|
|
7420
|
+
<label>{{ field.label() }}</label>
|
|
7421
|
+
<iss-viewer-chips [field]="field"/>
|
|
7422
|
+
</iss-field-viewer>
|
|
7368
7423
|
}
|
|
7369
7424
|
}
|
|
7370
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ChipsControl, selector: "iss-ctrl-chips" }, { kind: "component", type:
|
|
7425
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: ChipsControl, selector: "iss-ctrl-chips" }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: ChipsViewer, selector: "iss-viewer-chips" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7371
7426
|
}
|
|
7372
7427
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ChipsField, decorators: [{
|
|
7373
7428
|
type: Component,
|
|
@@ -7377,8 +7432,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7377
7432
|
imports: [
|
|
7378
7433
|
ReactiveFormsModule,
|
|
7379
7434
|
ChipsControl,
|
|
7380
|
-
|
|
7381
|
-
ChipsViewer
|
|
7435
|
+
ValidationMessage,
|
|
7436
|
+
ChipsViewer,
|
|
7437
|
+
FieldViewer
|
|
7382
7438
|
],
|
|
7383
7439
|
template: `
|
|
7384
7440
|
@if (field.visible()) {
|
|
@@ -7386,7 +7442,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7386
7442
|
<iss-ctrl-chips [formControlName]="field.name" [readonly]="field.config.readonly() ?? false"><label>{{ field.label() }}</label></iss-ctrl-chips>
|
|
7387
7443
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7388
7444
|
} @else {
|
|
7389
|
-
<iss-viewer
|
|
7445
|
+
<iss-field-viewer>
|
|
7446
|
+
<label>{{ field.label() }}</label>
|
|
7447
|
+
<iss-viewer-chips [field]="field"/>
|
|
7448
|
+
</iss-field-viewer>
|
|
7390
7449
|
}
|
|
7391
7450
|
}
|
|
7392
7451
|
`
|
|
@@ -7458,19 +7517,23 @@ class RadioField extends FieldBase {
|
|
|
7458
7517
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: RadioField, isStandalone: true, selector: "iss-field-radio", usesInheritance: true, ngImport: i0, template: `
|
|
7459
7518
|
@if (field.visible()) {
|
|
7460
7519
|
<div style="display: flex; flex-direction: column">
|
|
7461
|
-
@if (!field.config.hideLabel()) {
|
|
7462
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
7463
|
-
}
|
|
7464
|
-
|
|
7465
7520
|
@if (field.mode() === "edit") {
|
|
7521
|
+
@if (!field.config.hideLabel()) {
|
|
7522
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
7523
|
+
}
|
|
7466
7524
|
<iss-ctrl-radio [formControlName]="field.name" [options]="field.options()" [readonly]="field.config.readonly() ?? false" (onChange)="onChange($event)"/>
|
|
7467
7525
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7468
7526
|
} @else {
|
|
7469
|
-
<iss-viewer
|
|
7527
|
+
<iss-field-viewer>
|
|
7528
|
+
@if (!field.config.hideLabel()) {
|
|
7529
|
+
<label>{{ field.label() }}</label>
|
|
7530
|
+
}
|
|
7531
|
+
<iss-viewer-radio [field]="field"/>
|
|
7532
|
+
</iss-field-viewer>
|
|
7470
7533
|
}
|
|
7471
7534
|
</div>
|
|
7472
7535
|
}
|
|
7473
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: RadioControl, selector: "iss-ctrl-radio", inputs: ["options"] }, { kind: "component", type:
|
|
7536
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: RadioControl, selector: "iss-ctrl-radio", inputs: ["options"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: RadioViewer, selector: "iss-viewer-radio" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7474
7537
|
}
|
|
7475
7538
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RadioField, decorators: [{
|
|
7476
7539
|
type: Component,
|
|
@@ -7481,21 +7544,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7481
7544
|
ReactiveFormsModule,
|
|
7482
7545
|
MatLabel,
|
|
7483
7546
|
RadioControl,
|
|
7484
|
-
|
|
7485
|
-
RadioViewer
|
|
7547
|
+
ValidationMessage,
|
|
7548
|
+
RadioViewer,
|
|
7549
|
+
FieldViewer
|
|
7486
7550
|
],
|
|
7487
7551
|
template: `
|
|
7488
7552
|
@if (field.visible()) {
|
|
7489
7553
|
<div style="display: flex; flex-direction: column">
|
|
7490
|
-
@if (!field.config.hideLabel()) {
|
|
7491
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
7492
|
-
}
|
|
7493
|
-
|
|
7494
7554
|
@if (field.mode() === "edit") {
|
|
7555
|
+
@if (!field.config.hideLabel()) {
|
|
7556
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
7557
|
+
}
|
|
7495
7558
|
<iss-ctrl-radio [formControlName]="field.name" [options]="field.options()" [readonly]="field.config.readonly() ?? false" (onChange)="onChange($event)"/>
|
|
7496
7559
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7497
7560
|
} @else {
|
|
7498
|
-
<iss-viewer
|
|
7561
|
+
<iss-field-viewer>
|
|
7562
|
+
@if (!field.config.hideLabel()) {
|
|
7563
|
+
<label>{{ field.label() }}</label>
|
|
7564
|
+
}
|
|
7565
|
+
<iss-viewer-radio [field]="field"/>
|
|
7566
|
+
</iss-field-viewer>
|
|
7499
7567
|
}
|
|
7500
7568
|
</div>
|
|
7501
7569
|
}
|
|
@@ -7576,10 +7644,13 @@ class SelectField extends FieldBase {
|
|
|
7576
7644
|
</iss-ctrl-select>
|
|
7577
7645
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7578
7646
|
} @else {
|
|
7579
|
-
<iss-viewer
|
|
7647
|
+
<iss-field-viewer>
|
|
7648
|
+
<label>{{ field.label() }}</label>
|
|
7649
|
+
<iss-viewer-select [field]="field"/>
|
|
7650
|
+
</iss-field-viewer>
|
|
7580
7651
|
}
|
|
7581
7652
|
}
|
|
7582
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: SelectControl, selector: "iss-ctrl-select", inputs: ["options", "height", "loading"], outputs: ["onQueryChange"] }, { kind: "component", type:
|
|
7653
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: SelectControl, selector: "iss-ctrl-select", inputs: ["options", "height", "loading"], outputs: ["onQueryChange"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: SelectViewer, selector: "iss-viewer-select" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7583
7654
|
}
|
|
7584
7655
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SelectField, decorators: [{
|
|
7585
7656
|
type: Component,
|
|
@@ -7589,8 +7660,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7589
7660
|
imports: [
|
|
7590
7661
|
ReactiveFormsModule,
|
|
7591
7662
|
SelectControl,
|
|
7592
|
-
|
|
7593
|
-
SelectViewer
|
|
7663
|
+
ValidationMessage,
|
|
7664
|
+
SelectViewer,
|
|
7665
|
+
FieldViewer
|
|
7594
7666
|
],
|
|
7595
7667
|
template: `
|
|
7596
7668
|
@if (field.visible()) {
|
|
@@ -7600,7 +7672,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7600
7672
|
</iss-ctrl-select>
|
|
7601
7673
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7602
7674
|
} @else {
|
|
7603
|
-
<iss-viewer
|
|
7675
|
+
<iss-field-viewer>
|
|
7676
|
+
<label>{{ field.label() }}</label>
|
|
7677
|
+
<iss-viewer-select [field]="field"/>
|
|
7678
|
+
</iss-field-viewer>
|
|
7604
7679
|
}
|
|
7605
7680
|
}
|
|
7606
7681
|
`
|
|
@@ -7664,10 +7739,13 @@ class MobileField extends FieldBase {
|
|
|
7664
7739
|
<label>{{ field.label() }}</label>
|
|
7665
7740
|
</iss-ctrl-mobile>
|
|
7666
7741
|
} @else {
|
|
7667
|
-
<iss-viewer
|
|
7742
|
+
<iss-field-viewer>
|
|
7743
|
+
<label>{{ field.label() }}</label>
|
|
7744
|
+
<iss-viewer-mobile [field]="field"/>
|
|
7745
|
+
</iss-field-viewer>
|
|
7668
7746
|
}
|
|
7669
7747
|
}
|
|
7670
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MobileControl, selector: "iss-ctrl-mobile", inputs: ["preferredCountries"] }, { kind: "component", type: MobileViewer, selector: "iss-viewer-mobile" }], viewProviders: [VIEW_PROVIDER] });
|
|
7748
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: MobileControl, selector: "iss-ctrl-mobile", inputs: ["preferredCountries"] }, { kind: "component", type: MobileViewer, selector: "iss-viewer-mobile" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7671
7749
|
}
|
|
7672
7750
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: MobileField, decorators: [{
|
|
7673
7751
|
type: Component,
|
|
@@ -7677,7 +7755,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7677
7755
|
imports: [
|
|
7678
7756
|
ReactiveFormsModule,
|
|
7679
7757
|
MobileControl,
|
|
7680
|
-
MobileViewer
|
|
7758
|
+
MobileViewer,
|
|
7759
|
+
FieldViewer
|
|
7681
7760
|
],
|
|
7682
7761
|
template: `
|
|
7683
7762
|
@if (field.visible()) {
|
|
@@ -7686,7 +7765,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7686
7765
|
<label>{{ field.label() }}</label>
|
|
7687
7766
|
</iss-ctrl-mobile>
|
|
7688
7767
|
} @else {
|
|
7689
|
-
<iss-viewer
|
|
7768
|
+
<iss-field-viewer>
|
|
7769
|
+
<label>{{ field.label() }}</label>
|
|
7770
|
+
<iss-viewer-mobile [field]="field"/>
|
|
7771
|
+
</iss-field-viewer>
|
|
7690
7772
|
}
|
|
7691
7773
|
}
|
|
7692
7774
|
`
|
|
@@ -7766,10 +7848,15 @@ class CheckboxField extends FieldBase {
|
|
|
7766
7848
|
</iss-ctrl-checkbox>
|
|
7767
7849
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7768
7850
|
} @else {
|
|
7769
|
-
<iss-viewer
|
|
7851
|
+
<iss-field-viewer>
|
|
7852
|
+
@if (!field.config.hideLabel()) {
|
|
7853
|
+
<label>{{ field.label() }}</label>
|
|
7854
|
+
}
|
|
7855
|
+
<iss-viewer-checkbox [field]="field"/>
|
|
7856
|
+
</iss-field-viewer>
|
|
7770
7857
|
}
|
|
7771
7858
|
}
|
|
7772
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: CheckboxControl, selector: "iss-ctrl-checkbox", inputs: ["options"] }, { kind: "component", type:
|
|
7859
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: CheckboxControl, selector: "iss-ctrl-checkbox", inputs: ["options"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: CheckboxViewer, selector: "iss-viewer-checkbox" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7773
7860
|
}
|
|
7774
7861
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: CheckboxField, decorators: [{
|
|
7775
7862
|
type: Component,
|
|
@@ -7779,8 +7866,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7779
7866
|
imports: [
|
|
7780
7867
|
ReactiveFormsModule,
|
|
7781
7868
|
CheckboxControl,
|
|
7782
|
-
|
|
7783
|
-
CheckboxViewer
|
|
7869
|
+
ValidationMessage,
|
|
7870
|
+
CheckboxViewer,
|
|
7871
|
+
FieldViewer
|
|
7784
7872
|
],
|
|
7785
7873
|
template: `
|
|
7786
7874
|
@if (field.visible()) {
|
|
@@ -7792,7 +7880,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7792
7880
|
</iss-ctrl-checkbox>
|
|
7793
7881
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7794
7882
|
} @else {
|
|
7795
|
-
<iss-viewer
|
|
7883
|
+
<iss-field-viewer>
|
|
7884
|
+
@if (!field.config.hideLabel()) {
|
|
7885
|
+
<label>{{ field.label() }}</label>
|
|
7886
|
+
}
|
|
7887
|
+
<iss-viewer-checkbox [field]="field"/>
|
|
7888
|
+
</iss-field-viewer>
|
|
7796
7889
|
}
|
|
7797
7890
|
}
|
|
7798
7891
|
`
|
|
@@ -7864,10 +7957,10 @@ class ToggleButtonField extends FieldBase {
|
|
|
7864
7957
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ToggleButtonField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7865
7958
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: ToggleButtonField, isStandalone: true, selector: "iss-field-toggle-button", usesInheritance: true, ngImport: i0, template: `
|
|
7866
7959
|
@if (field.visible()) {
|
|
7867
|
-
@if (!field.config.hideLabel()) {
|
|
7868
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
7869
|
-
}
|
|
7870
7960
|
@if (field.mode() === "edit") {
|
|
7961
|
+
@if (!field.config.hideLabel()) {
|
|
7962
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
7963
|
+
}
|
|
7871
7964
|
<iss-ctrl-toggle-button
|
|
7872
7965
|
[formControlName]="field.name"
|
|
7873
7966
|
[options]="field.options()"
|
|
@@ -7877,10 +7970,15 @@ class ToggleButtonField extends FieldBase {
|
|
|
7877
7970
|
/>
|
|
7878
7971
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7879
7972
|
} @else {
|
|
7880
|
-
<iss-viewer
|
|
7973
|
+
<iss-field-viewer>
|
|
7974
|
+
@if (!field.config.hideLabel()) {
|
|
7975
|
+
<label>{{ field.label() }}</label>
|
|
7976
|
+
}
|
|
7977
|
+
<iss-viewer-toggle-button [field]="field"/>
|
|
7978
|
+
</iss-field-viewer>
|
|
7881
7979
|
}
|
|
7882
7980
|
}
|
|
7883
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: ToggleButtonControl, selector: "iss-ctrl-toggle-button", inputs: ["options"] }, { kind: "component", type:
|
|
7981
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: ToggleButtonControl, selector: "iss-ctrl-toggle-button", inputs: ["options"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: ToggleButtonViewer, selector: "iss-viewer-toggle-button" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7884
7982
|
}
|
|
7885
7983
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: ToggleButtonField, decorators: [{
|
|
7886
7984
|
type: Component,
|
|
@@ -7891,15 +7989,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7891
7989
|
ReactiveFormsModule,
|
|
7892
7990
|
MatLabel,
|
|
7893
7991
|
ToggleButtonControl,
|
|
7894
|
-
|
|
7895
|
-
ToggleButtonViewer
|
|
7992
|
+
ValidationMessage,
|
|
7993
|
+
ToggleButtonViewer,
|
|
7994
|
+
FieldViewer
|
|
7896
7995
|
],
|
|
7897
7996
|
template: `
|
|
7898
7997
|
@if (field.visible()) {
|
|
7899
|
-
@if (!field.config.hideLabel()) {
|
|
7900
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
7901
|
-
}
|
|
7902
7998
|
@if (field.mode() === "edit") {
|
|
7999
|
+
@if (!field.config.hideLabel()) {
|
|
8000
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8001
|
+
}
|
|
7903
8002
|
<iss-ctrl-toggle-button
|
|
7904
8003
|
[formControlName]="field.name"
|
|
7905
8004
|
[options]="field.options()"
|
|
@@ -7909,7 +8008,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
7909
8008
|
/>
|
|
7910
8009
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7911
8010
|
} @else {
|
|
7912
|
-
<iss-viewer
|
|
8011
|
+
<iss-field-viewer>
|
|
8012
|
+
@if (!field.config.hideLabel()) {
|
|
8013
|
+
<label>{{ field.label() }}</label>
|
|
8014
|
+
}
|
|
8015
|
+
<iss-viewer-toggle-button [field]="field"/>
|
|
8016
|
+
</iss-field-viewer>
|
|
7913
8017
|
}
|
|
7914
8018
|
}
|
|
7915
8019
|
`
|
|
@@ -7984,36 +8088,44 @@ class SlideToggleField extends FieldBase {
|
|
|
7984
8088
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SlideToggleField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7985
8089
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: SlideToggleField, isStandalone: true, selector: "iss-field-slide-toggle", usesInheritance: true, ngImport: i0, template: `
|
|
7986
8090
|
@if (field.visible()) {
|
|
7987
|
-
@if (!field.config.hideLabel()) {
|
|
7988
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
7989
|
-
}
|
|
7990
|
-
|
|
7991
8091
|
@if (field.mode() === "edit") {
|
|
8092
|
+
@if (!field.config.hideLabel()) {
|
|
8093
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8094
|
+
}
|
|
7992
8095
|
<iss-ctrl-slide-toggle [formControlName]="field.name" [readonly]="field.config.readonly() ?? false" (onChange)="onChange($event)"/>
|
|
7993
8096
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
7994
8097
|
} @else {
|
|
7995
|
-
<iss-viewer
|
|
8098
|
+
<iss-field-viewer>
|
|
8099
|
+
@if (!field.config.hideLabel()) {
|
|
8100
|
+
<label>{{ field.label() }}</label>
|
|
8101
|
+
}
|
|
8102
|
+
<iss-viewer-slide-toggle [field]="field"/>
|
|
8103
|
+
</iss-field-viewer>
|
|
7996
8104
|
}
|
|
7997
8105
|
}
|
|
7998
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: SlideToggleControl, selector: "iss-ctrl-slide-toggle" }, { kind: "component", type: SlideToggleViewer, selector: "iss-viewer-slide-toggle" }, { kind: "component", type:
|
|
8106
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: SlideToggleControl, selector: "iss-ctrl-slide-toggle" }, { kind: "component", type: SlideToggleViewer, selector: "iss-viewer-slide-toggle" }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
7999
8107
|
}
|
|
8000
8108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: SlideToggleField, decorators: [{
|
|
8001
8109
|
type: Component,
|
|
8002
8110
|
args: [{
|
|
8003
8111
|
selector: "iss-field-slide-toggle",
|
|
8004
8112
|
viewProviders: [VIEW_PROVIDER],
|
|
8005
|
-
imports: [ReactiveFormsModule, MatLabel, SlideToggleControl, SlideToggleViewer,
|
|
8113
|
+
imports: [ReactiveFormsModule, MatLabel, SlideToggleControl, SlideToggleViewer, ValidationMessage, FieldViewer],
|
|
8006
8114
|
template: `
|
|
8007
8115
|
@if (field.visible()) {
|
|
8008
|
-
@if (!field.config.hideLabel()) {
|
|
8009
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
8010
|
-
}
|
|
8011
|
-
|
|
8012
8116
|
@if (field.mode() === "edit") {
|
|
8117
|
+
@if (!field.config.hideLabel()) {
|
|
8118
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8119
|
+
}
|
|
8013
8120
|
<iss-ctrl-slide-toggle [formControlName]="field.name" [readonly]="field.config.readonly() ?? false" (onChange)="onChange($event)"/>
|
|
8014
8121
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8015
8122
|
} @else {
|
|
8016
|
-
<iss-viewer
|
|
8123
|
+
<iss-field-viewer>
|
|
8124
|
+
@if (!field.config.hideLabel()) {
|
|
8125
|
+
<label>{{ field.label() }}</label>
|
|
8126
|
+
}
|
|
8127
|
+
<iss-viewer-slide-toggle [field]="field"/>
|
|
8128
|
+
</iss-field-viewer>
|
|
8017
8129
|
}
|
|
8018
8130
|
}
|
|
8019
8131
|
`
|
|
@@ -8232,18 +8344,22 @@ class PlateField extends FieldBase {
|
|
|
8232
8344
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: PlateField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8233
8345
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: PlateField, isStandalone: true, selector: "iss-field-plate-number", usesInheritance: true, ngImport: i0, template: `
|
|
8234
8346
|
@if (field.visible()) {
|
|
8235
|
-
@if (!field.config.hideLabel()) {
|
|
8236
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
8237
|
-
}
|
|
8238
|
-
|
|
8239
8347
|
@if (field.mode() === "edit") {
|
|
8348
|
+
@if (!field.config.hideLabel()) {
|
|
8349
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8350
|
+
}
|
|
8240
8351
|
<iss-ctrl-plate-number [formControlName]="field.name" [readonly]="field.config.readonly() ?? false" (onChange)="updateField($event)"/>
|
|
8241
8352
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8242
8353
|
} @else {
|
|
8243
|
-
<iss-viewer
|
|
8354
|
+
<iss-field-viewer>
|
|
8355
|
+
@if (!field.config.hideLabel()) {
|
|
8356
|
+
<label>{{ field.label() }}</label>
|
|
8357
|
+
}
|
|
8358
|
+
<iss-viewer-plate [field]="field"/>
|
|
8359
|
+
</iss-field-viewer>
|
|
8244
8360
|
}
|
|
8245
8361
|
}
|
|
8246
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: PlateControl, selector: "iss-ctrl-plate-number" }, { kind: "component", type:
|
|
8362
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: PlateControl, selector: "iss-ctrl-plate-number" }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: PlateViewer, selector: "iss-viewer-plate" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
8247
8363
|
}
|
|
8248
8364
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: PlateField, decorators: [{
|
|
8249
8365
|
type: Component,
|
|
@@ -8253,21 +8369,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8253
8369
|
imports: [
|
|
8254
8370
|
ReactiveFormsModule,
|
|
8255
8371
|
PlateControl,
|
|
8256
|
-
|
|
8372
|
+
ValidationMessage,
|
|
8257
8373
|
MatLabel,
|
|
8258
|
-
PlateViewer
|
|
8374
|
+
PlateViewer,
|
|
8375
|
+
FieldViewer
|
|
8259
8376
|
],
|
|
8260
8377
|
template: `
|
|
8261
8378
|
@if (field.visible()) {
|
|
8262
|
-
@if (!field.config.hideLabel()) {
|
|
8263
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
8264
|
-
}
|
|
8265
|
-
|
|
8266
8379
|
@if (field.mode() === "edit") {
|
|
8380
|
+
@if (!field.config.hideLabel()) {
|
|
8381
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8382
|
+
}
|
|
8267
8383
|
<iss-ctrl-plate-number [formControlName]="field.name" [readonly]="field.config.readonly() ?? false" (onChange)="updateField($event)"/>
|
|
8268
8384
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8269
8385
|
} @else {
|
|
8270
|
-
<iss-viewer
|
|
8386
|
+
<iss-field-viewer>
|
|
8387
|
+
@if (!field.config.hideLabel()) {
|
|
8388
|
+
<label>{{ field.label() }}</label>
|
|
8389
|
+
}
|
|
8390
|
+
<iss-viewer-plate [field]="field"/>
|
|
8391
|
+
</iss-field-viewer>
|
|
8271
8392
|
}
|
|
8272
8393
|
}
|
|
8273
8394
|
`
|
|
@@ -8630,8 +8751,8 @@ class FilePickerField extends FieldBase {
|
|
|
8630
8751
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FilePickerField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8631
8752
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: FilePickerField, isStandalone: true, selector: "iss-field-file-picker", usesInheritance: true, ngImport: i0, template: `
|
|
8632
8753
|
@if (field.visible()) {
|
|
8633
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
8634
8754
|
@if (field.mode() === "edit") {
|
|
8755
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8635
8756
|
<input type="hidden" [formControlName]="field.name">
|
|
8636
8757
|
<!-- [showDeleteButton]="field.config.showDeleteButton" [showDownloadButton]="field.config.showDownloadButton"-->
|
|
8637
8758
|
<iss-ctrl-file-picker
|
|
@@ -8646,10 +8767,13 @@ class FilePickerField extends FieldBase {
|
|
|
8646
8767
|
/>
|
|
8647
8768
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="ctrl.touched"/>
|
|
8648
8769
|
} @else {
|
|
8649
|
-
<iss-viewer
|
|
8770
|
+
<iss-field-viewer>
|
|
8771
|
+
<label>{{ field.label() }}</label>
|
|
8772
|
+
<iss-viewer-attachment [uploading]="uploading()" [field]="viewField()"/>
|
|
8773
|
+
</iss-field-viewer>
|
|
8650
8774
|
}
|
|
8651
8775
|
}
|
|
8652
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FilePickerControl, selector: "iss-ctrl-file-picker", inputs: ["accept", "showDownloadButton", "showDeleteButton", "uploading", "uploadedFiles", "uploadingError"] }, { kind: "component", type:
|
|
8776
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FilePickerControl, selector: "iss-ctrl-file-picker", inputs: ["accept", "showDownloadButton", "showDeleteButton", "uploading", "uploadedFiles", "uploadingError"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: AttachmentViewer, selector: "iss-viewer-attachment", inputs: ["uploading", "uploadingError"], outputs: ["deleteOut"] }, { kind: "directive", type: MatLabel$1, selector: "mat-label" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
8653
8777
|
}
|
|
8654
8778
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: FilePickerField, decorators: [{
|
|
8655
8779
|
type: Component,
|
|
@@ -8659,14 +8783,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8659
8783
|
imports: [
|
|
8660
8784
|
ReactiveFormsModule,
|
|
8661
8785
|
FilePickerControl,
|
|
8662
|
-
|
|
8786
|
+
ValidationMessage,
|
|
8663
8787
|
AttachmentViewer,
|
|
8664
|
-
MatLabel$1
|
|
8788
|
+
MatLabel$1,
|
|
8789
|
+
FieldViewer
|
|
8665
8790
|
],
|
|
8666
8791
|
template: `
|
|
8667
8792
|
@if (field.visible()) {
|
|
8668
|
-
<mat-label>{{ field.label() }}</mat-label>
|
|
8669
8793
|
@if (field.mode() === "edit") {
|
|
8794
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
8670
8795
|
<input type="hidden" [formControlName]="field.name">
|
|
8671
8796
|
<!-- [showDeleteButton]="field.config.showDeleteButton" [showDownloadButton]="field.config.showDownloadButton"-->
|
|
8672
8797
|
<iss-ctrl-file-picker
|
|
@@ -8681,7 +8806,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8681
8806
|
/>
|
|
8682
8807
|
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="ctrl.touched"/>
|
|
8683
8808
|
} @else {
|
|
8684
|
-
<iss-viewer
|
|
8809
|
+
<iss-field-viewer>
|
|
8810
|
+
<label>{{ field.label() }}</label>
|
|
8811
|
+
<iss-viewer-attachment [uploading]="uploading()" [field]="viewField()"/>
|
|
8812
|
+
</iss-field-viewer>
|
|
8685
8813
|
}
|
|
8686
8814
|
}
|
|
8687
8815
|
`
|
|
@@ -8745,10 +8873,13 @@ class TimePickerField extends FieldBase {
|
|
|
8745
8873
|
<label>{{ field.label() }}</label>
|
|
8746
8874
|
</iss-ctrl-time-picker>
|
|
8747
8875
|
} @else {
|
|
8748
|
-
<iss-viewer
|
|
8876
|
+
<iss-field-viewer>
|
|
8877
|
+
<label>{{ field.label() }}</label>
|
|
8878
|
+
<iss-viewer-time-picker [field]="field"/>
|
|
8879
|
+
</iss-field-viewer>
|
|
8749
8880
|
}
|
|
8750
8881
|
}
|
|
8751
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TimePickerControl, selector: "iss-ctrl-time-picker", inputs: ["interval", "minTime", "maxTime"] }, { kind: "component", type: TimePickerViewer, selector: "iss-viewer-time-picker" }], viewProviders: [VIEW_PROVIDER] });
|
|
8882
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: TimePickerControl, selector: "iss-ctrl-time-picker", inputs: ["interval", "minTime", "maxTime"] }, { kind: "component", type: TimePickerViewer, selector: "iss-viewer-time-picker" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
8752
8883
|
}
|
|
8753
8884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: TimePickerField, decorators: [{
|
|
8754
8885
|
type: Component,
|
|
@@ -8758,7 +8889,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8758
8889
|
imports: [
|
|
8759
8890
|
ReactiveFormsModule,
|
|
8760
8891
|
TimePickerControl,
|
|
8761
|
-
TimePickerViewer
|
|
8892
|
+
TimePickerViewer,
|
|
8893
|
+
FieldViewer
|
|
8762
8894
|
],
|
|
8763
8895
|
template: `
|
|
8764
8896
|
@if (field.visible()) {
|
|
@@ -8767,7 +8899,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8767
8899
|
<label>{{ field.label() }}</label>
|
|
8768
8900
|
</iss-ctrl-time-picker>
|
|
8769
8901
|
} @else {
|
|
8770
|
-
<iss-viewer
|
|
8902
|
+
<iss-field-viewer>
|
|
8903
|
+
<label>{{ field.label() }}</label>
|
|
8904
|
+
<iss-viewer-time-picker [field]="field"/>
|
|
8905
|
+
</iss-field-viewer>
|
|
8771
8906
|
}
|
|
8772
8907
|
}
|
|
8773
8908
|
`
|
|
@@ -8845,9 +8980,9 @@ var datePicker_viewer = /*#__PURE__*/Object.freeze({
|
|
|
8845
8980
|
*/
|
|
8846
8981
|
class DatePickerField extends FieldBase {
|
|
8847
8982
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DatePickerField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8848
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DatePickerField, isStandalone: true, selector: "iss-field-date-picker", usesInheritance: true, ngImport: i0, template: `
|
|
8849
|
-
@if (field.visible()) {
|
|
8850
|
-
@if (field.mode() === "edit") {
|
|
8983
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DatePickerField, isStandalone: true, selector: "iss-field-date-picker", usesInheritance: true, ngImport: i0, template: `
|
|
8984
|
+
@if (field.visible()) {
|
|
8985
|
+
@if (field.mode() === "edit") {
|
|
8851
8986
|
<iss-ctrl-date-picker
|
|
8852
8987
|
[formControlName]="field.name"
|
|
8853
8988
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -8855,15 +8990,18 @@ class DatePickerField extends FieldBase {
|
|
|
8855
8990
|
[readonly]="field.config.readonly() ?? false"
|
|
8856
8991
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
8857
8992
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
8858
|
-
>
|
|
8859
|
-
<label>{{ field.label() }}</label>
|
|
8860
|
-
</iss-ctrl-date-picker>
|
|
8861
|
-
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8862
|
-
} @else {
|
|
8863
|
-
<iss-viewer
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8993
|
+
>
|
|
8994
|
+
<label>{{ field.label() }}</label>
|
|
8995
|
+
</iss-ctrl-date-picker>
|
|
8996
|
+
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8997
|
+
} @else {
|
|
8998
|
+
<iss-field-viewer>
|
|
8999
|
+
<label>{{ field.label() }}</label>
|
|
9000
|
+
<iss-viewer-date-picker [field]="field"/>
|
|
9001
|
+
</iss-field-viewer>
|
|
9002
|
+
}
|
|
9003
|
+
}
|
|
9004
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DatePickerControl, selector: "iss-ctrl-date-picker", inputs: ["disabledDays", "minDate", "maxDate", "hijriCalendar", "emitHijri"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: DatePickerViewer, selector: "iss-viewer-date-picker" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
8867
9005
|
}
|
|
8868
9006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DatePickerField, decorators: [{
|
|
8869
9007
|
type: Component,
|
|
@@ -8873,12 +9011,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8873
9011
|
imports: [
|
|
8874
9012
|
ReactiveFormsModule,
|
|
8875
9013
|
DatePickerControl,
|
|
8876
|
-
|
|
8877
|
-
DatePickerViewer
|
|
9014
|
+
ValidationMessage,
|
|
9015
|
+
DatePickerViewer,
|
|
9016
|
+
FieldViewer
|
|
8878
9017
|
],
|
|
8879
|
-
template: `
|
|
8880
|
-
@if (field.visible()) {
|
|
8881
|
-
@if (field.mode() === "edit") {
|
|
9018
|
+
template: `
|
|
9019
|
+
@if (field.visible()) {
|
|
9020
|
+
@if (field.mode() === "edit") {
|
|
8882
9021
|
<iss-ctrl-date-picker
|
|
8883
9022
|
[formControlName]="field.name"
|
|
8884
9023
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -8886,14 +9025,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8886
9025
|
[readonly]="field.config.readonly() ?? false"
|
|
8887
9026
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
8888
9027
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
8889
|
-
>
|
|
8890
|
-
<label>{{ field.label() }}</label>
|
|
8891
|
-
</iss-ctrl-date-picker>
|
|
8892
|
-
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8893
|
-
} @else {
|
|
8894
|
-
<iss-viewer
|
|
8895
|
-
|
|
8896
|
-
|
|
9028
|
+
>
|
|
9029
|
+
<label>{{ field.label() }}</label>
|
|
9030
|
+
</iss-ctrl-date-picker>
|
|
9031
|
+
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
9032
|
+
} @else {
|
|
9033
|
+
<iss-field-viewer>
|
|
9034
|
+
<label>{{ field.label() }}</label>
|
|
9035
|
+
<iss-viewer-date-picker [field]="field"/>
|
|
9036
|
+
</iss-field-viewer>
|
|
9037
|
+
}
|
|
9038
|
+
}
|
|
8897
9039
|
`
|
|
8898
9040
|
}]
|
|
8899
9041
|
}] });
|
|
@@ -8971,9 +9113,9 @@ var datetimePicker_viewer = /*#__PURE__*/Object.freeze({
|
|
|
8971
9113
|
*/
|
|
8972
9114
|
class DatetimePickerField extends FieldBase {
|
|
8973
9115
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DatetimePickerField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8974
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DatetimePickerField, isStandalone: true, selector: "iss-field-datetime-picker", usesInheritance: true, ngImport: i0, template: `
|
|
8975
|
-
@if (field.visible()) {
|
|
8976
|
-
@if (field.mode() === "edit") {
|
|
9116
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DatetimePickerField, isStandalone: true, selector: "iss-field-datetime-picker", usesInheritance: true, ngImport: i0, template: `
|
|
9117
|
+
@if (field.visible()) {
|
|
9118
|
+
@if (field.mode() === "edit") {
|
|
8977
9119
|
<iss-ctrl-datetime-picker
|
|
8978
9120
|
[formControlName]="field.name"
|
|
8979
9121
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -8981,15 +9123,18 @@ class DatetimePickerField extends FieldBase {
|
|
|
8981
9123
|
[readonly]="field.config.readonly() ?? false"
|
|
8982
9124
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
8983
9125
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
8984
|
-
>
|
|
8985
|
-
<label>{{ field.label() }}</label>
|
|
8986
|
-
</iss-ctrl-datetime-picker>
|
|
8987
|
-
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
8988
|
-
} @else {
|
|
8989
|
-
<iss-viewer
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
9126
|
+
>
|
|
9127
|
+
<label>{{ field.label() }}</label>
|
|
9128
|
+
</iss-ctrl-datetime-picker>
|
|
9129
|
+
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
9130
|
+
} @else {
|
|
9131
|
+
<iss-field-viewer>
|
|
9132
|
+
<label>{{ field.label() }}</label>
|
|
9133
|
+
<iss-viewer-datetime-picker [field]="field"/>
|
|
9134
|
+
</iss-field-viewer>
|
|
9135
|
+
}
|
|
9136
|
+
}
|
|
9137
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DatetimePickerControl, selector: "iss-ctrl-datetime-picker", inputs: ["disabledDays", "minDate", "maxDate", "minTime", "maxTime", "hijriCalendar", "emitHijri"] }, { kind: "component", type: ValidationMessage, selector: "iss-validation-message-viewer", inputs: ["errors", "showMessage"] }, { kind: "component", type: DatePickerTimeViewer, selector: "iss-viewer-datetime-picker" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
8993
9138
|
}
|
|
8994
9139
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DatetimePickerField, decorators: [{
|
|
8995
9140
|
type: Component,
|
|
@@ -8999,12 +9144,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
8999
9144
|
imports: [
|
|
9000
9145
|
ReactiveFormsModule,
|
|
9001
9146
|
DatetimePickerControl,
|
|
9002
|
-
|
|
9147
|
+
ValidationMessage,
|
|
9003
9148
|
DatePickerTimeViewer,
|
|
9149
|
+
FieldViewer
|
|
9004
9150
|
],
|
|
9005
|
-
template: `
|
|
9006
|
-
@if (field.visible()) {
|
|
9007
|
-
@if (field.mode() === "edit") {
|
|
9151
|
+
template: `
|
|
9152
|
+
@if (field.visible()) {
|
|
9153
|
+
@if (field.mode() === "edit") {
|
|
9008
9154
|
<iss-ctrl-datetime-picker
|
|
9009
9155
|
[formControlName]="field.name"
|
|
9010
9156
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -9012,14 +9158,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9012
9158
|
[readonly]="field.config.readonly() ?? false"
|
|
9013
9159
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
9014
9160
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
9015
|
-
>
|
|
9016
|
-
<label>{{ field.label() }}</label>
|
|
9017
|
-
</iss-ctrl-datetime-picker>
|
|
9018
|
-
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
9019
|
-
} @else {
|
|
9020
|
-
<iss-viewer
|
|
9021
|
-
|
|
9022
|
-
|
|
9161
|
+
>
|
|
9162
|
+
<label>{{ field.label() }}</label>
|
|
9163
|
+
</iss-ctrl-datetime-picker>
|
|
9164
|
+
<iss-validation-message-viewer [errors]="ctrl.errors" [showMessage]="!ctrl.untouched"/>
|
|
9165
|
+
} @else {
|
|
9166
|
+
<iss-field-viewer>
|
|
9167
|
+
<label>{{ field.label() }}</label>
|
|
9168
|
+
<iss-viewer-datetime-picker [field]="field"/>
|
|
9169
|
+
</iss-field-viewer>
|
|
9170
|
+
}
|
|
9171
|
+
}
|
|
9023
9172
|
`
|
|
9024
9173
|
}]
|
|
9025
9174
|
}] });
|
|
@@ -9098,9 +9247,9 @@ var dateRangePicker_viewer = /*#__PURE__*/Object.freeze({
|
|
|
9098
9247
|
*/
|
|
9099
9248
|
class DateRangePickerField extends FieldBase {
|
|
9100
9249
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DateRangePickerField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9101
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DateRangePickerField, isStandalone: true, selector: "iss-field-date-range-picker", usesInheritance: true, ngImport: i0, template: `
|
|
9102
|
-
@if (field.visible()) {
|
|
9103
|
-
@if (field.mode() === "edit") {
|
|
9250
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: DateRangePickerField, isStandalone: true, selector: "iss-field-date-range-picker", usesInheritance: true, ngImport: i0, template: `
|
|
9251
|
+
@if (field.visible()) {
|
|
9252
|
+
@if (field.mode() === "edit") {
|
|
9104
9253
|
<iss-ctrl-date-range-picker
|
|
9105
9254
|
[formControlName]="field.name"
|
|
9106
9255
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -9108,14 +9257,17 @@ class DateRangePickerField extends FieldBase {
|
|
|
9108
9257
|
[readonly]="field.config.readonly() ?? false"
|
|
9109
9258
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
9110
9259
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
9111
|
-
>
|
|
9112
|
-
<label>{{ field.label() }}</label>
|
|
9113
|
-
</iss-ctrl-date-range-picker>
|
|
9114
|
-
} @else {
|
|
9115
|
-
<iss-viewer
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9260
|
+
>
|
|
9261
|
+
<label>{{ field.label() }}</label>
|
|
9262
|
+
</iss-ctrl-date-range-picker>
|
|
9263
|
+
} @else {
|
|
9264
|
+
<iss-field-viewer>
|
|
9265
|
+
<label>{{ field.label() }}</label>
|
|
9266
|
+
<iss-viewer-date-range-picker [field]="field"/>
|
|
9267
|
+
</iss-field-viewer>
|
|
9268
|
+
}
|
|
9269
|
+
}
|
|
9270
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: DateRangePickerControl, selector: "iss-ctrl-date-range-picker", inputs: ["disabledDays", "minDate", "maxDate", "hijriCalendar", "emitHijri"], outputs: ["onDateRangeObjectChange"] }, { kind: "component", type: DateRangePickerViewer, selector: "iss-viewer-date-range-picker" }, { kind: "component", type: FieldViewer, selector: "iss-field-viewer" }], viewProviders: [VIEW_PROVIDER] });
|
|
9119
9271
|
}
|
|
9120
9272
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: DateRangePickerField, decorators: [{
|
|
9121
9273
|
type: Component,
|
|
@@ -9125,11 +9277,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9125
9277
|
imports: [
|
|
9126
9278
|
ReactiveFormsModule,
|
|
9127
9279
|
DateRangePickerControl,
|
|
9128
|
-
DateRangePickerViewer
|
|
9280
|
+
DateRangePickerViewer,
|
|
9281
|
+
FieldViewer
|
|
9129
9282
|
],
|
|
9130
|
-
template: `
|
|
9131
|
-
@if (field.visible()) {
|
|
9132
|
-
@if (field.mode() === "edit") {
|
|
9283
|
+
template: `
|
|
9284
|
+
@if (field.visible()) {
|
|
9285
|
+
@if (field.mode() === "edit") {
|
|
9133
9286
|
<iss-ctrl-date-range-picker
|
|
9134
9287
|
[formControlName]="field.name"
|
|
9135
9288
|
[minDate]="field.config.minDate() ?? null"
|
|
@@ -9137,13 +9290,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
9137
9290
|
[readonly]="field.config.readonly() ?? false"
|
|
9138
9291
|
[hijriCalendar]="field.config.hijriCalendar() ?? false"
|
|
9139
9292
|
[emitHijri]="field.config.emitHijri() ?? false"
|
|
9140
|
-
>
|
|
9141
|
-
<label>{{ field.label() }}</label>
|
|
9142
|
-
</iss-ctrl-date-range-picker>
|
|
9143
|
-
} @else {
|
|
9144
|
-
<iss-viewer
|
|
9145
|
-
|
|
9146
|
-
|
|
9293
|
+
>
|
|
9294
|
+
<label>{{ field.label() }}</label>
|
|
9295
|
+
</iss-ctrl-date-range-picker>
|
|
9296
|
+
} @else {
|
|
9297
|
+
<iss-field-viewer>
|
|
9298
|
+
<label>{{ field.label() }}</label>
|
|
9299
|
+
<iss-viewer-date-range-picker [field]="field"/>
|
|
9300
|
+
</iss-field-viewer>
|
|
9301
|
+
}
|
|
9302
|
+
}
|
|
9147
9303
|
`
|
|
9148
9304
|
}]
|
|
9149
9305
|
}] });
|
|
@@ -9469,5 +9625,5 @@ var time_validator = /*#__PURE__*/Object.freeze({
|
|
|
9469
9625
|
* Generated bundle index. Do not edit.
|
|
9470
9626
|
*/
|
|
9471
9627
|
|
|
9472
|
-
export {
|
|
9473
|
-
//# sourceMappingURL=iss-ctrl-iss-ctrl-
|
|
9628
|
+
export { SlideToggleViewer as $, FilePickerField as A, TimePickerField as B, ControlBase as C, DatePickerControl as D, Employee as E, FieldBase as F, DatePickerField as G, HOST as H, IssField as I, DatetimePickerField as J, DateRangePickerField as K, Loader as L, MobileControl as M, InputViewer as N, Outlet as O, PLACEHOLDER_REGEX as P, TextareaViewer as Q, RadioControl as R, SelectControl as S, TextareaControl as T, ChipsViewer as U, VIEW_PROVIDER as V, RadioViewer as W, SelectViewer as X, MobileViewer as Y, CheckboxViewer as Z, ToggleButtonViewer as _, ValidationMessage as a, PlateViewer as a0, AttachmentViewer as a1, TimePickerViewer as a2, DatePickerViewer as a3, DatePickerTimeViewer as a4, DateRangePickerViewer as a5, DEFAULT_COUNTRY as a6, COUNTRIES as a7, DATE_FORMAT_ADAPTER as a8, DATETIME_FORMAT as a9, HIJRI_MONTH_NAMES as aA, getHijriParts as aB, startOfHijriMonth as aC, getHijriDaysInMonth as aD, createHijriDate as aE, formatHijriDate as aF, parseHijriDate as aG, toHijriDisplay as aH, IssValidators as aI, FileValidators as aJ, TimeValidator as aK, PLATE_LETTERS as aa, VALIDATION_MESSAGES as ab, COMPONENTS as ac, SERVICES as ad, VALIDATORS as ae, isActiveValidationRule as af, FIELD_DATA as ag, UI_LANGUAGE as ah, ATTACHMENT_UPLOAD_URL as ai, ATTACHMENT_UPLOAD_RESPONSE_MAPPER as aj, ATTACHMENT_DOWNLOAD_URL as ak, USER_SEARCH_API as al, Hints as am, Droppable as an, ArabicNumberPipe as ao, FieldDataInjector as ap, PlateLetterPipe as aq, SelectStatusPipe as ar, TranslatePipe as as, FileHandler as at, IssDateAdapter as au, provideIssDateAdapter as av, Phone as aw, arrayFrom as ax, formatFileSize as ay, HIJRI_LOCALE as az, FieldViewer as b, ViewerBase as c, FormEngine as d, CheckboxControl as e, ChipsControl as f, getPropertyByPath as g, DateRangePickerControl as h, DatetimePickerControl as i, FilePickerControl as j, InputControl as k, PlateControl as l, SlideToggleControl as m, TimePickerControl as n, ToggleButtonControl as o, InputField as p, TextareaField as q, replacePlaceholders as r, ChipsField as s, RadioField as t, SelectField as u, MobileField as v, CheckboxField as w, ToggleButtonField as x, SlideToggleField as y, PlateField as z };
|
|
9629
|
+
//# sourceMappingURL=iss-ctrl-iss-ctrl-BnwwafES.mjs.map
|