master-control 0.1.2 → 0.1.3
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/esm2022/lib/master-control.component.mjs +11 -3
- package/esm2022/lib/radio/radio.component.mjs +19 -0
- package/esm2022/lib/select/select.component.mjs +31 -0
- package/esm2022/lib/toggle/toggle.component.mjs +14 -0
- package/fesm2022/master-control.mjs +58 -4
- package/fesm2022/master-control.mjs.map +1 -1
- package/lib/radio/radio.component.d.ts +6 -0
- package/lib/select/select.component.d.ts +6 -0
- package/lib/toggle/toggle.component.d.ts +6 -0
- package/master-control-0.1.2.tgz +0 -0
- package/master-control-0.1.3.tgz +0 -0
- package/package.json +1 -1
- package/radio/radio.component.css +0 -0
- package/radio/radio.component.html +1 -0
- package/radio/radio.component.ts +12 -0
- package/select/select.component.css +0 -0
- package/select/select.component.html +1 -0
- package/select/select.component.ts +12 -0
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { Component, input } from '@angular/core';
|
|
2
2
|
import { TextboxComponent } from './textbox/textbox.component';
|
|
3
|
+
import { SelectComponent } from './select/select.component';
|
|
4
|
+
import { RadioComponent } from './radio/radio.component';
|
|
5
|
+
import { ToggleComponent } from './toggle/toggle.component';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
export class MasterControlComponent {
|
|
5
8
|
field = input.required();
|
|
6
9
|
constructor() { }
|
|
7
10
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n}\r\n", styles: [""], dependencies: [{ kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field"] }] });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n @case('select') {\r\n <lib-select [field]=\"field()\" />\r\n }\r\n\r\n @case('radio') {\r\n <lib-radio [field]=\"field()\" />\r\n }\r\n\r\n @case('toggle') {\r\n <lib-toggle [field]=\"field()\" />\r\n }\r\n}\r\n", styles: [""], dependencies: [{ kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field"] }, { kind: "component", type: SelectComponent, selector: "lib-select", inputs: ["field"] }, { kind: "component", type: RadioComponent, selector: "lib-radio", inputs: ["field"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["field"] }] });
|
|
9
12
|
}
|
|
10
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, decorators: [{
|
|
11
14
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-master-control', standalone: true, imports: [
|
|
15
|
+
args: [{ selector: 'lib-master-control', standalone: true, imports: [
|
|
16
|
+
TextboxComponent,
|
|
17
|
+
SelectComponent,
|
|
18
|
+
RadioComponent,
|
|
19
|
+
ToggleComponent
|
|
20
|
+
], template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n @case('select') {\r\n <lib-select [field]=\"field()\" />\r\n }\r\n\r\n @case('radio') {\r\n <lib-radio [field]=\"field()\" />\r\n }\r\n\r\n @case('toggle') {\r\n <lib-toggle [field]=\"field()\" />\r\n }\r\n}\r\n" }]
|
|
13
21
|
}], ctorParameters: () => [] });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzdGVyLWNvbnRyb2wuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFzdGVyLWNvbnRyb2wvc3JjL2xpYi9tYXN0ZXItY29udHJvbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXN0ZXItY29udHJvbC9zcmMvbGliL21hc3Rlci1jb250cm9sLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQy9ELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUk1RCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDJCQUEyQixDQUFDOztBQWM1RCxNQUFNLE9BQU8sc0JBQXNCO0lBQ2pDLEtBQUssR0FBUSxLQUFLLENBQUMsUUFBUSxFQUFPLENBQUM7SUFDbkMsZ0JBQWUsQ0FBQzt3R0FGTCxzQkFBc0I7NEZBQXRCLHNCQUFzQixpTkNyQm5DLDBWQWdCQSwwRERISSxnQkFBZ0IsMkVBQ2hCLGVBQWUsMEVBQ2YsY0FBYyx5RUFDZCxlQUFlOzs0RkFLTixzQkFBc0I7a0JBWmxDLFNBQVM7K0JBQ0Usb0JBQW9CLGNBQ2xCLElBQUksV0FDUDt3QkFDUCxnQkFBZ0I7d0JBQ2hCLGVB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mh0bWwnLFxyXG4gIHN0eWxlVXJsczogWycuL21hc3Rlci1jb250cm9sLmNvbXBvbmVudC5jc3MnXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgTWFzdGVyQ29udHJvbENvbXBvbmVudCB7XHJcbiAgZmllbGQ6IGFueSA9IGlucHV0LnJlcXVpcmVkPGFueT4oKTtcclxuICBjb25zdHJ1Y3RvcigpIHt9XHJcblxyXG59XHJcbiIsIkBzd2l0Y2ggKGZpZWxkKCkuY29udHJvbFR5cGUpIHtcclxuICBAY2FzZSgndGV4dCcpIHtcclxuICAgPGxpYi10ZXh0Ym94IFtmaWVsZF09XCJmaWVsZCgpXCI+PC9saWItdGV4dGJveD5cclxuICB9XHJcbiAgQGNhc2UoJ3NlbGVjdCcpIHtcclxuICAgIDxsaWItc2VsZWN0IFtmaWVsZF09XCJmaWVsZCgpXCIgLz5cclxuICB9XHJcblxyXG4gIEBjYXNlKCdyYWRpbycpIHtcclxuICAgIDxsaWItcmFkaW8gW2ZpZWxkXT1cImZpZWxkKClcIiAvPlxyXG4gIH1cclxuXHJcbiAgQGNhc2UoJ3RvZ2dsZScpIHtcclxuICAgIDxsaWItdG9nZ2xlIFtmaWVsZF09XCJmaWVsZCgpXCIgLz5cclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/material/radio";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class RadioComponent {
|
|
8
|
+
field = input.required();
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: RadioComponent, isStandalone: true, selector: "lib-radio", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\" [ngStyle]=\"{\r\n }\"> {{field().label}} <span class=\"error-message\" *ngIf=\"field().validators.required\">*</span> </label>\r\n <mat-radio-group class=\"w-100\" *ngIf=\"field() && field().visible\"\r\n class=\"radio-btn-group radio-btn-gender\"\r\n [required]=\"field().validators.required\">\r\n <div\r\n class=\"card radio-card-gender px-4 pt-1 pb-2\"\r\n *ngFor=\"let data of field().options\"\r\n [ngClass]=\"{'disable-radio-btn': field().isDisable}\"\r\n >\r\n <mat-radio-button\r\n class=\"radioButtonGender\"\r\n [value]=\"data.value\"\r\n >\r\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\">{{ data.label }}</span>\r\n </mat-radio-button>\r\n </div>\r\n </mat-radio-group>\r\n <div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i1.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i1.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'lib-radio', standalone: true, imports: [
|
|
15
|
+
MatRadioModule,
|
|
16
|
+
CommonModule
|
|
17
|
+
], template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\" [ngStyle]=\"{\r\n }\"> {{field().label}} <span class=\"error-message\" *ngIf=\"field().validators.required\">*</span> </label>\r\n <mat-radio-group class=\"w-100\" *ngIf=\"field() && field().visible\"\r\n class=\"radio-btn-group radio-btn-gender\"\r\n [required]=\"field().validators.required\">\r\n <div\r\n class=\"card radio-card-gender px-4 pt-1 pb-2\"\r\n *ngFor=\"let data of field().options\"\r\n [ngClass]=\"{'disable-radio-btn': field().isDisable}\"\r\n >\r\n <mat-radio-button\r\n class=\"radioButtonGender\"\r\n [value]=\"data.value\"\r\n >\r\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\">{{ data.label }}</span>\r\n </mat-radio-button>\r\n </div>\r\n </mat-radio-group>\r\n <div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n" }]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFzdGVyLWNvbnRyb2wvc3JjL2xpYi9yYWRpby9yYWRpby5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXN0ZXItY29udHJvbC9zcmMvbGliL3JhZGlvL3JhZGlvLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXS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GRhdGEubGFiZWwgfX08L3NwYW4+XHJcbiAgICAgIDwvbWF0LXJhZGlvLWJ1dHRvbj5cclxuICAgIDwvZGl2PlxyXG4gIDwvbWF0LXJhZGlvLWdyb3VwPlxyXG4gIDxkaXYgY2xhc3M9XCJlcnJvci1tZXNzYWdlXCIgKm5nSWY9XCJmYWxzZVwiPlxyXG4gICAge3tmaWVsZCgpLnZhbGlkYXRvcnMucGF0dGVybk1lc3NhZ2V9fS5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
4
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
5
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
6
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
+
import { MatInputModule } from '@angular/material/input';
|
|
8
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/material/form-field";
|
|
11
|
+
import * as i2 from "@angular/material/select";
|
|
12
|
+
import * as i3 from "@angular/material/core";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
14
|
+
export class SelectComponent {
|
|
15
|
+
field = input.required();
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: SelectComponent, isStandalone: true, selector: "lib-select", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field appearance=\"outline\" class=\"input-full-width full-width w-100\" >\r\n <mat-select\r\n [required]=\"field().validators.required\"\r\n [placeholder]=\"field().placeHolder\"\r\n [disabled]=\"field().isDisable\"\r\n >\r\n <mat-option *ngFor=\"let data of field().options\" [value]=\"data.value\">{{\r\n data.label\r\n }}</mat-option>\r\n </mat-select>\r\n <!-- selectField.invalid && (selectField.dirty || selectField.touched) -->\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n</mat-form-field>\r\n<div class=\"error-message mt-2\" *ngIf=\"false\">{{ field().validators.requiredMessage }}</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SelectComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'lib-select', standalone: true, imports: [
|
|
22
|
+
MatSelectModule,
|
|
23
|
+
MatFormFieldModule,
|
|
24
|
+
MatAutocompleteModule,
|
|
25
|
+
MatInputModule,
|
|
26
|
+
FormsModule,
|
|
27
|
+
MatOptionModule,
|
|
28
|
+
CommonModule
|
|
29
|
+
], template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field appearance=\"outline\" class=\"input-full-width full-width w-100\" >\r\n <mat-select\r\n [required]=\"field().validators.required\"\r\n [placeholder]=\"field().placeHolder\"\r\n [disabled]=\"field().isDisable\"\r\n >\r\n <mat-option *ngFor=\"let data of field().options\" [value]=\"data.value\">{{\r\n data.label\r\n }}</mat-option>\r\n </mat-select>\r\n <!-- selectField.invalid && (selectField.dirty || selectField.touched) -->\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n</mat-form-field>\r\n<div class=\"error-message mt-2\" *ngIf=\"false\">{{ field().validators.requiredMessage }}</div>\r\n" }]
|
|
30
|
+
}] });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hc3Rlci1jb250cm9sL3NyYy9saWIvc2VsZWN0L3NlbGVjdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXN0ZXItY29udHJvbC9zcmMvbGliL3NlbGVjdC9zZWxlY3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFl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ZSB9fTwvZGl2PlxyXG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { Component, input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class ToggleComponent {
|
|
6
|
+
field = input.required();
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: ToggleComponent, isStandalone: true, selector: "lib-toggle", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"card toggle-background\" *ngIf=\"field() && field().visible\">\r\n <div class=\"toggle_switch\">\r\n <div>\r\n <label class=\"switch\">\r\n <input\r\n type=\"checkbox\"\r\n [disabled]=\"field().isDisable\"\r\n />\r\n <span class=\"slider round\"></span>\r\n </label>\r\n </div>\r\n <div>\r\n <p>{{field().label}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToggleComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'lib-toggle', standalone: true, imports: [CommonModule], template: "<div class=\"card toggle-background\" *ngIf=\"field() && field().visible\">\r\n <div class=\"toggle_switch\">\r\n <div>\r\n <label class=\"switch\">\r\n <input\r\n type=\"checkbox\"\r\n [disabled]=\"field().isDisable\"\r\n />\r\n <span class=\"slider round\"></span>\r\n </label>\r\n </div>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9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi90b2dnbGUuY29tcG9uZW50Lmh0bWwnLFxyXG4gIHN0eWxlVXJsOiAnLi90b2dnbGUuY29tcG9uZW50LmNzcydcclxufSlcclxuZXhwb3J0IGNsYXNzIFRvZ2dsZUNvbXBvbmVudCB7XHJcbiAgZmllbGQgOiBhbnkgPSBpbnB1dC5yZXF1aXJlZDxhbnk+KCk7XHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cImNhcmQgdG9nZ2xlLWJhY2tncm91bmRcIiAqbmdJZj1cImZpZWxkKCkgJiYgZmllbGQoKS52aXNpYmxlXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwidG9nZ2xlX3N3aXRjaFwiPlxyXG4gICAgICA8ZGl2PlxyXG4gICAgICAgIDxsYWJlbCBjbGFzcz1cInN3aXRjaFwiPlxyXG4gICAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICAgIHR5cGU9XCJjaGVja2JveFwiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJmaWVsZCgpLmlzRGlzYWJsZVwiXHJcbiAgICAgICAgICAvPlxyXG4gICAgICAgICAgPHNwYW4gY2xhc3M9XCJzbGlkZXIgcm91bmRcIj48L3NwYW4+XHJcbiAgICAgICAgPC9sYWJlbD5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXY+XHJcbiAgICAgICAgPHA+e3tmaWVsZCgpLmxhYmVsfX08L3A+XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbiJdfQ==
|
|
@@ -4,8 +4,16 @@ import * as i1 from '@angular/material/input';
|
|
|
4
4
|
import { MatInputModule } from '@angular/material/input';
|
|
5
5
|
import * as i2 from '@angular/material/form-field';
|
|
6
6
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i2$1 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
|
+
import { FormsModule } from '@angular/forms';
|
|
10
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
11
|
+
import * as i3 from '@angular/material/core';
|
|
12
|
+
import { MatOptionModule } from '@angular/material/core';
|
|
13
|
+
import * as i2$2 from '@angular/material/select';
|
|
14
|
+
import { MatSelectModule } from '@angular/material/select';
|
|
15
|
+
import * as i1$1 from '@angular/material/radio';
|
|
16
|
+
import { MatRadioModule } from '@angular/material/radio';
|
|
9
17
|
|
|
10
18
|
class MasterControlService {
|
|
11
19
|
constructor() { }
|
|
@@ -23,7 +31,7 @@ class TextboxComponent {
|
|
|
23
31
|
constructor() { }
|
|
24
32
|
field = input.required();
|
|
25
33
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: TextboxComponent, isStandalone: true, selector: "lib-textbox", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field class=\"w-100\" appearance=\"outline\" *ngIf=\"field() && field().visible\">\r\n <input\r\n matInput\r\n autocomplete=\"none\"\r\n [type]=\"field().controlType\"\r\n [placeholder]=\"field().placeHolder\"\r\n [maxLength]=\"field().validators.maxLength\"\r\n [minLength]=\"field().validators.minLength\"\r\n [disabled]=\"field().isDisable\"\r\n [required]=\"field().validators.required\"\r\n [pattern]=\"field().validators.pattern\"\r\n />\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n </mat-form-field>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.requiredMessage}}.\r\n</div>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
34
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: TextboxComponent, isStandalone: true, selector: "lib-textbox", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field class=\"w-100\" appearance=\"outline\" *ngIf=\"field() && field().visible\">\r\n <input\r\n matInput\r\n autocomplete=\"none\"\r\n [type]=\"field().controlType\"\r\n [placeholder]=\"field().placeHolder\"\r\n [maxLength]=\"field().validators.maxLength\"\r\n [minLength]=\"field().validators.minLength\"\r\n [disabled]=\"field().isDisable\"\r\n [required]=\"field().validators.required\"\r\n [pattern]=\"field().validators.pattern\"\r\n />\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n </mat-form-field>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.requiredMessage}}.\r\n</div>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
27
35
|
}
|
|
28
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TextboxComponent, decorators: [{
|
|
29
37
|
type: Component,
|
|
@@ -34,15 +42,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
34
42
|
], template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field class=\"w-100\" appearance=\"outline\" *ngIf=\"field() && field().visible\">\r\n <input\r\n matInput\r\n autocomplete=\"none\"\r\n [type]=\"field().controlType\"\r\n [placeholder]=\"field().placeHolder\"\r\n [maxLength]=\"field().validators.maxLength\"\r\n [minLength]=\"field().validators.minLength\"\r\n [disabled]=\"field().isDisable\"\r\n [required]=\"field().validators.required\"\r\n [pattern]=\"field().validators.pattern\"\r\n />\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n </mat-form-field>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.requiredMessage}}.\r\n</div>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n" }]
|
|
35
43
|
}], ctorParameters: () => [] });
|
|
36
44
|
|
|
45
|
+
class SelectComponent {
|
|
46
|
+
field = input.required();
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
48
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: SelectComponent, isStandalone: true, selector: "lib-select", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field appearance=\"outline\" class=\"input-full-width full-width w-100\" >\r\n <mat-select\r\n [required]=\"field().validators.required\"\r\n [placeholder]=\"field().placeHolder\"\r\n [disabled]=\"field().isDisable\"\r\n >\r\n <mat-option *ngFor=\"let data of field().options\" [value]=\"data.value\">{{\r\n data.label\r\n }}</mat-option>\r\n </mat-select>\r\n <!-- selectField.invalid && (selectField.dirty || selectField.touched) -->\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n</mat-form-field>\r\n<div class=\"error-message mt-2\" *ngIf=\"false\">{{ field().validators.requiredMessage }}</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i2$2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatOptionModule }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
49
|
+
}
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SelectComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ selector: 'lib-select', standalone: true, imports: [
|
|
53
|
+
MatSelectModule,
|
|
54
|
+
MatFormFieldModule,
|
|
55
|
+
MatAutocompleteModule,
|
|
56
|
+
MatInputModule,
|
|
57
|
+
FormsModule,
|
|
58
|
+
MatOptionModule,
|
|
59
|
+
CommonModule
|
|
60
|
+
], template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field appearance=\"outline\" class=\"input-full-width full-width w-100\" >\r\n <mat-select\r\n [required]=\"field().validators.required\"\r\n [placeholder]=\"field().placeHolder\"\r\n [disabled]=\"field().isDisable\"\r\n >\r\n <mat-option *ngFor=\"let data of field().options\" [value]=\"data.value\">{{\r\n data.label\r\n }}</mat-option>\r\n </mat-select>\r\n <!-- selectField.invalid && (selectField.dirty || selectField.touched) -->\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n</mat-form-field>\r\n<div class=\"error-message mt-2\" *ngIf=\"false\">{{ field().validators.requiredMessage }}</div>\r\n" }]
|
|
61
|
+
}] });
|
|
62
|
+
|
|
63
|
+
class RadioComponent {
|
|
64
|
+
field = input.required();
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: RadioComponent, isStandalone: true, selector: "lib-radio", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\" [ngStyle]=\"{\r\n }\"> {{field().label}} <span class=\"error-message\" *ngIf=\"field().validators.required\">*</span> </label>\r\n <mat-radio-group class=\"w-100\" *ngIf=\"field() && field().visible\"\r\n class=\"radio-btn-group radio-btn-gender\"\r\n [required]=\"field().validators.required\">\r\n <div\r\n class=\"card radio-card-gender px-4 pt-1 pb-2\"\r\n *ngFor=\"let data of field().options\"\r\n [ngClass]=\"{'disable-radio-btn': field().isDisable}\"\r\n >\r\n <mat-radio-button\r\n class=\"radioButtonGender\"\r\n [value]=\"data.value\"\r\n >\r\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\">{{ data.label }}</span>\r\n </mat-radio-button>\r\n </div>\r\n </mat-radio-group>\r\n <div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatRadioModule }, { kind: "directive", type: i1$1.MatRadioGroup, selector: "mat-radio-group", inputs: ["color", "name", "labelPosition", "value", "selected", "disabled", "required", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioGroup"] }, { kind: "component", type: i1$1.MatRadioButton, selector: "mat-radio-button", inputs: ["id", "name", "aria-label", "aria-labelledby", "aria-describedby", "disableRipple", "tabIndex", "checked", "value", "labelPosition", "disabled", "required", "color", "disabledInteractive"], outputs: ["change"], exportAs: ["matRadioButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: RadioComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{ selector: 'lib-radio', standalone: true, imports: [
|
|
71
|
+
MatRadioModule,
|
|
72
|
+
CommonModule
|
|
73
|
+
], template: "<label class=\"field-lable\" *ngIf=\"field() && field().visible\" [ngStyle]=\"{\r\n }\"> {{field().label}} <span class=\"error-message\" *ngIf=\"field().validators.required\">*</span> </label>\r\n <mat-radio-group class=\"w-100\" *ngIf=\"field() && field().visible\"\r\n class=\"radio-btn-group radio-btn-gender\"\r\n [required]=\"field().validators.required\">\r\n <div\r\n class=\"card radio-card-gender px-4 pt-1 pb-2\"\r\n *ngFor=\"let data of field().options\"\r\n [ngClass]=\"{'disable-radio-btn': field().isDisable}\"\r\n >\r\n <mat-radio-button\r\n class=\"radioButtonGender\"\r\n [value]=\"data.value\"\r\n >\r\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\">{{ data.label }}</span>\r\n </mat-radio-button>\r\n </div>\r\n </mat-radio-group>\r\n <div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n" }]
|
|
74
|
+
}] });
|
|
75
|
+
|
|
76
|
+
class ToggleComponent {
|
|
77
|
+
field = input.required();
|
|
78
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: ToggleComponent, isStandalone: true, selector: "lib-toggle", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"card toggle-background\" *ngIf=\"field() && field().visible\">\r\n <div class=\"toggle_switch\">\r\n <div>\r\n <label class=\"switch\">\r\n <input\r\n type=\"checkbox\"\r\n [disabled]=\"field().isDisable\"\r\n />\r\n <span class=\"slider round\"></span>\r\n </label>\r\n </div>\r\n <div>\r\n <p>{{field().label}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
80
|
+
}
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToggleComponent, decorators: [{
|
|
82
|
+
type: Component,
|
|
83
|
+
args: [{ selector: 'lib-toggle', standalone: true, imports: [CommonModule], template: "<div class=\"card toggle-background\" *ngIf=\"field() && field().visible\">\r\n <div class=\"toggle_switch\">\r\n <div>\r\n <label class=\"switch\">\r\n <input\r\n type=\"checkbox\"\r\n [disabled]=\"field().isDisable\"\r\n />\r\n <span class=\"slider round\"></span>\r\n </label>\r\n </div>\r\n <div>\r\n <p>{{field().label}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n" }]
|
|
84
|
+
}] });
|
|
85
|
+
|
|
37
86
|
class MasterControlComponent {
|
|
38
87
|
field = input.required();
|
|
39
88
|
constructor() { }
|
|
40
89
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n}\r\n", styles: [""], dependencies: [{ kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field"] }] });
|
|
90
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: MasterControlComponent, isStandalone: true, selector: "lib-master-control", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n @case('select') {\r\n <lib-select [field]=\"field()\" />\r\n }\r\n\r\n @case('radio') {\r\n <lib-radio [field]=\"field()\" />\r\n }\r\n\r\n @case('toggle') {\r\n <lib-toggle [field]=\"field()\" />\r\n }\r\n}\r\n", styles: [""], dependencies: [{ kind: "component", type: TextboxComponent, selector: "lib-textbox", inputs: ["field"] }, { kind: "component", type: SelectComponent, selector: "lib-select", inputs: ["field"] }, { kind: "component", type: RadioComponent, selector: "lib-radio", inputs: ["field"] }, { kind: "component", type: ToggleComponent, selector: "lib-toggle", inputs: ["field"] }] });
|
|
42
91
|
}
|
|
43
92
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MasterControlComponent, decorators: [{
|
|
44
93
|
type: Component,
|
|
45
|
-
args: [{ selector: 'lib-master-control', standalone: true, imports: [
|
|
94
|
+
args: [{ selector: 'lib-master-control', standalone: true, imports: [
|
|
95
|
+
TextboxComponent,
|
|
96
|
+
SelectComponent,
|
|
97
|
+
RadioComponent,
|
|
98
|
+
ToggleComponent
|
|
99
|
+
], template: "@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n @case('select') {\r\n <lib-select [field]=\"field()\" />\r\n }\r\n\r\n @case('radio') {\r\n <lib-radio [field]=\"field()\" />\r\n }\r\n\r\n @case('toggle') {\r\n <lib-toggle [field]=\"field()\" />\r\n }\r\n}\r\n" }]
|
|
46
100
|
}], ctorParameters: () => [] });
|
|
47
101
|
|
|
48
102
|
/*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"master-control.mjs","sources":["../../../projects/master-control/src/lib/master-control.service.ts","../../../projects/master-control/src/lib/textbox/textbox.component.ts","../../../projects/master-control/src/lib/textbox/textbox.component.html","../../../projects/master-control/src/lib/master-control.component.ts","../../../projects/master-control/src/lib/master-control.component.html","../../../projects/master-control/src/public-api.ts","../../../projects/master-control/src/master-control.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MasterControlService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, input } from '@angular/core';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'lib-textbox',\r\n standalone: true,\r\n imports: [\r\n MatInputModule,\r\n MatFormFieldModule ,\r\n CommonModule\r\n ],\r\n templateUrl: './textbox.component.html',\r\n styleUrl: './textbox.component.css'\r\n})\r\nexport class TextboxComponent {\r\n constructor(){}\r\n field : any = input.required<any>();\r\n}\r\n","<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field class=\"w-100\" appearance=\"outline\" *ngIf=\"field() && field().visible\">\r\n <input\r\n matInput\r\n autocomplete=\"none\"\r\n [type]=\"field().controlType\"\r\n [placeholder]=\"field().placeHolder\"\r\n [maxLength]=\"field().validators.maxLength\"\r\n [minLength]=\"field().validators.minLength\"\r\n [disabled]=\"field().isDisable\"\r\n [required]=\"field().validators.required\"\r\n [pattern]=\"field().validators.pattern\"\r\n />\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n </mat-form-field>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.requiredMessage}}.\r\n</div>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n","import { Component, input } from '@angular/core';\r\nimport { TextboxComponent } from './textbox/textbox.component';\r\n\r\n@Component({\r\n selector: 'lib-master-control',\r\n standalone: true,\r\n imports: [TextboxComponent],\r\n templateUrl: './master-control.component.html',\r\n styleUrls: ['./master-control.component.css']\r\n})\r\nexport class MasterControlComponent {\r\n field: any = input.required<any>();\r\n constructor() {}\r\n\r\n}\r\n","@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n}\r\n","/*\r\n * Public API Surface of master-control\r\n */\r\n\r\nexport * from './lib/master-control.service';\r\nexport * from './lib/textbox/textbox.component';\r\nexport * from './lib/master-control.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;wGAFN,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA,CAAA;;4FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCYY,gBAA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A,EAAA,CAAA;;;AEN7B;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"master-control.mjs","sources":["../../../projects/master-control/src/lib/master-control.service.ts","../../../projects/master-control/src/lib/textbox/textbox.component.ts","../../../projects/master-control/src/lib/textbox/textbox.component.html","../../../projects/master-control/src/lib/select/select.component.ts","../../../projects/master-control/src/lib/select/select.component.html","../../../projects/master-control/src/lib/radio/radio.component.ts","../../../projects/master-control/src/lib/radio/radio.component.html","../../../projects/master-control/src/lib/toggle/toggle.component.ts","../../../projects/master-control/src/lib/toggle/toggle.component.html","../../../projects/master-control/src/lib/master-control.component.ts","../../../projects/master-control/src/lib/master-control.component.html","../../../projects/master-control/src/public-api.ts","../../../projects/master-control/src/master-control.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MasterControlService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, input } from '@angular/core';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'lib-textbox',\r\n standalone: true,\r\n imports: [\r\n MatInputModule,\r\n MatFormFieldModule ,\r\n CommonModule\r\n ],\r\n templateUrl: './textbox.component.html',\r\n styleUrl: './textbox.component.css'\r\n})\r\nexport class TextboxComponent {\r\n constructor(){}\r\n field : any = input.required<any>();\r\n}\r\n","<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field class=\"w-100\" appearance=\"outline\" *ngIf=\"field() && field().visible\">\r\n <input\r\n matInput\r\n autocomplete=\"none\"\r\n [type]=\"field().controlType\"\r\n [placeholder]=\"field().placeHolder\"\r\n [maxLength]=\"field().validators.maxLength\"\r\n [minLength]=\"field().validators.minLength\"\r\n [disabled]=\"field().isDisable\"\r\n [required]=\"field().validators.required\"\r\n [pattern]=\"field().validators.pattern\"\r\n />\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n </mat-form-field>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.requiredMessage}}.\r\n</div>\r\n<div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { MatOptionModule } from '@angular/material/core';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatSelectModule } from '@angular/material/select';\r\n\r\n@Component({\r\n selector: 'lib-select',\r\n standalone: true,\r\n imports: [\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatAutocompleteModule,\r\n MatInputModule,\r\n FormsModule,\r\n MatOptionModule,\r\n CommonModule\r\n ],\r\n templateUrl: './select.component.html',\r\n styleUrl: './select.component.css'\r\n})\r\nexport class SelectComponent {\r\n field : any = input.required<any>();\r\n}\r\n","<label class=\"field-lable\" *ngIf=\"field() && field().visible\">{{field().label}}</label>\r\n<mat-form-field appearance=\"outline\" class=\"input-full-width full-width w-100\" >\r\n <mat-select\r\n [required]=\"field().validators.required\"\r\n [placeholder]=\"field().placeHolder\"\r\n [disabled]=\"field().isDisable\"\r\n >\r\n <mat-option *ngFor=\"let data of field().options\" [value]=\"data.value\">{{\r\n data.label\r\n }}</mat-option>\r\n </mat-select>\r\n <!-- selectField.invalid && (selectField.dirty || selectField.touched) -->\r\n <mat-error *ngIf=\"false\">\r\n {{ field().validators.requiredMessage }}\r\n </mat-error>\r\n</mat-form-field>\r\n<div class=\"error-message mt-2\" *ngIf=\"false\">{{ field().validators.requiredMessage }}</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\nimport { MatRadioModule } from '@angular/material/radio';\r\n\r\n@Component({\r\n selector: 'lib-radio',\r\n standalone: true,\r\n imports: [\r\n MatRadioModule,\r\n CommonModule\r\n ],\r\n templateUrl: './radio.component.html',\r\n styleUrl: './radio.component.css'\r\n})\r\nexport class RadioComponent {\r\n field : any = input.required<any>();\r\n}\r\n","<label class=\"field-lable\" *ngIf=\"field() && field().visible\" [ngStyle]=\"{\r\n }\"> {{field().label}} <span class=\"error-message\" *ngIf=\"field().validators.required\">*</span> </label>\r\n <mat-radio-group class=\"w-100\" *ngIf=\"field() && field().visible\"\r\n class=\"radio-btn-group radio-btn-gender\"\r\n [required]=\"field().validators.required\">\r\n <div\r\n class=\"card radio-card-gender px-4 pt-1 pb-2\"\r\n *ngFor=\"let data of field().options\"\r\n [ngClass]=\"{'disable-radio-btn': field().isDisable}\"\r\n >\r\n <mat-radio-button\r\n class=\"radioButtonGender\"\r\n [value]=\"data.value\"\r\n >\r\n <span style=\"white-space: pre-line;\" class=\"forRadioLabel\">{{ data.label }}</span>\r\n </mat-radio-button>\r\n </div>\r\n </mat-radio-group>\r\n <div class=\"error-message\" *ngIf=\"false\">\r\n {{field().validators.patternMessage}}.\r\n</div>\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-toggle',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './toggle.component.html',\r\n styleUrl: './toggle.component.css'\r\n})\r\nexport class ToggleComponent {\r\n field : any = input.required<any>();\r\n}\r\n","<div class=\"card toggle-background\" *ngIf=\"field() && field().visible\">\r\n <div class=\"toggle_switch\">\r\n <div>\r\n <label class=\"switch\">\r\n <input\r\n type=\"checkbox\"\r\n [disabled]=\"field().isDisable\"\r\n />\r\n <span class=\"slider round\"></span>\r\n </label>\r\n </div>\r\n <div>\r\n <p>{{field().label}}</p>\r\n </div>\r\n </div>\r\n </div>\r\n","import { Component, input } from '@angular/core';\r\nimport { TextboxComponent } from './textbox/textbox.component';\r\nimport { SelectComponent } from './select/select.component';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\r\nimport { RadioComponent } from './radio/radio.component';\r\nimport { ToggleComponent } from './toggle/toggle.component';\r\n\r\n@Component({\r\n selector: 'lib-master-control',\r\n standalone: true,\r\n imports: [\r\n TextboxComponent,\r\n SelectComponent,\r\n RadioComponent,\r\n ToggleComponent\r\n ],\r\n templateUrl: './master-control.component.html',\r\n styleUrls: ['./master-control.component.css']\r\n})\r\nexport class MasterControlComponent {\r\n field: any = input.required<any>();\r\n constructor() {}\r\n\r\n}\r\n","@switch (field().controlType) {\r\n @case('text') {\r\n <lib-textbox [field]=\"field()\"></lib-textbox>\r\n }\r\n @case('select') {\r\n <lib-select [field]=\"field()\" />\r\n }\r\n\r\n @case('radio') {\r\n <lib-radio [field]=\"field()\" />\r\n }\r\n\r\n @case('toggle') {\r\n <lib-toggle [field]=\"field()\" />\r\n }\r\n}\r\n","/*\r\n * Public API Surface of master-control\r\n */\r\n\r\nexport * from './lib/master-control.service';\r\nexport * from './lib/textbox/textbox.component';\r\nexport * from './lib/master-control.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i3","i4","i2","i1"],"mappings":";;;;;;;;;;;;;;;;;MAKa,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;wGAFN,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAApB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA,CAAA;;4FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAA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I,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,gBAAgB,2EAChB,eAAe,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACf,cAAc,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACd,eAAe,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAKN,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAZlC,SAAS;+BACE,oBAAoB,EAAA,UAAA,EAClB,IAAI,EACP,OAAA,EAAA;wBACP,gBAAgB;wBAChB,eAAe;wBACf,cAAc;wBACd,eAAe;AAChB,qBAAA,EAAA,QAAA,EAAA,0VAAA,EAAA,CAAA;;;AEjBH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RadioComponent {
|
|
3
|
+
field: any;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioComponent, "lib-radio", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SelectComponent {
|
|
3
|
+
field: any;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "lib-select", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ToggleComponent {
|
|
3
|
+
field: any;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "lib-toggle", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/master-control-0.1.2.tgz
CHANGED
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>radio works!</p>
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<p>select works!</p>
|