@muraai/mnl-form 0.0.1-alpha-5d0336b → 0.0.1-alpha-2efa750
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/confirmation-dialog/confirmation-dialog.component.mjs +3 -3
- package/esm2022/lib/formly-lib/formly-lib.component.mjs +17 -8
- package/esm2022/lib/formly-lib/formly-standalone.module.mjs +3 -1
- package/esm2022/lib/services/graphql.service.mjs +3 -3
- package/esm2022/lib/services/scoring.service.mjs +75 -0
- package/esm2022/lib/types/action-button-renderer.component.mjs +3 -3
- package/esm2022/lib/types/autocomplete-type.component.mjs +3 -3
- package/esm2022/lib/types/button.type.mjs +3 -3
- package/esm2022/lib/types/comments.type.mjs +3 -3
- package/esm2022/lib/types/country-code-input.type.mjs +3 -3
- package/esm2022/lib/types/custom-input.component.mjs +3 -3
- package/esm2022/lib/types/date-format.type.mjs +3 -3
- package/esm2022/lib/types/expansion-panel.types.mjs +3 -3
- package/esm2022/lib/types/formly-field-panel.type.mjs +3 -3
- package/esm2022/lib/types/grid-actionable.type.mjs +3 -3
- package/esm2022/lib/types/grid-formly-cell.component.mjs +3 -3
- package/esm2022/lib/types/grid.type.mjs +3 -3
- package/esm2022/lib/types/input.type.mjs +3 -3
- package/esm2022/lib/types/mu-helper-text.type.mjs +190 -0
- package/esm2022/lib/types/multi-select-autocomplete.mjs +3 -3
- package/esm2022/lib/types/multi-select-checkbox.component.mjs +3 -3
- package/esm2022/lib/types/radio.type.mjs +3 -3
- package/esm2022/lib/types/scrollable-tabs.types.mjs +3 -3
- package/esm2022/lib/types/select-api-auto-complete.component.mjs +3 -3
- package/esm2022/lib/types/select-autocomplete-redefined.component.mjs +3 -3
- package/esm2022/lib/types/select-autocomplete.type.mjs +3 -3
- package/esm2022/lib/types/stepper.type.mjs +3 -3
- package/esm2022/lib/types/table.types.mjs +3 -3
- package/esm2022/lib/types/tabs.types.mjs +3 -3
- package/esm2022/lib/types/tabular-form-dialog.component.mjs +3 -3
- package/esm2022/lib/types/tabular-form.type.mjs +3 -3
- package/esm2022/lib/types/upload-file.mjs +3 -3
- package/esm2022/lib/types/view-file-dialog.component.mjs +3 -3
- package/esm2022/lib/workflow-status/ workflow-status.module.mjs +4 -4
- package/esm2022/lib/workflow-status/workflow-status.component.mjs +3 -3
- package/esm2022/lib/wrappers/form-field-description-wrapper.component.mjs +3 -3
- package/esm2022/lib/wrappers/form-field-wrapper.component.mjs +3 -3
- package/esm2022/lib/wrappers/formly-wrapper-with-old-value.component.mjs +3 -3
- package/esm2022/lib/wrappers/prefix-suffix-wrapper.component.mjs +3 -3
- package/fesm2022/muraai-mnl-form.mjs +390 -134
- package/fesm2022/muraai-mnl-form.mjs.map +1 -1
- package/lib/formly-lib/formly-lib.component.d.ts +6 -2
- package/lib/services/scoring.service.d.ts +15 -0
- package/lib/types/mu-helper-text.type.d.ts +17 -0
- package/package.json +1 -1
|
@@ -70,8 +70,8 @@ export class SelectAutocompleteComponent extends FieldType {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectAutocompleteComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SelectAutocompleteComponent, isStandalone: true, selector: "mu-formly-select", providers: [MatAutocompleteTrigger], viewQueries: [{ propertyName: "trigger", first: true, predicate: MatAutocompleteTrigger, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
75
75
|
<mat-form-field class="w-full" appearance="outline">
|
|
76
76
|
<mat-label>{{ to.label }}</mat-label>
|
|
77
77
|
<input
|
|
@@ -96,7 +96,7 @@ export class SelectAutocompleteComponent extends FieldType {
|
|
|
96
96
|
</mat-form-field>
|
|
97
97
|
`, isInline: true, styles: [".selected-chips{margin-top:10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: CommonsModule }, { kind: "ngmodule", type: MatChipsModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2.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: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i5.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i6.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatFormFieldModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectAutocompleteComponent, decorators: [{
|
|
100
100
|
type: Component,
|
|
101
101
|
args: [{ selector: 'mu-formly-select', standalone: true, imports: [
|
|
102
102
|
CommonModule,
|
|
@@ -122,8 +122,8 @@ export class FormlySelectAutocompleteComponent extends FieldType {
|
|
|
122
122
|
clearSearchedInput() {
|
|
123
123
|
this.formControl.setValue('');
|
|
124
124
|
}
|
|
125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
126
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
125
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlySelectAutocompleteComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
126
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormlySelectAutocompleteComponent, isStandalone: true, selector: "mu-select-autocomplete", usesInheritance: true, ngImport: i0, template: `
|
|
127
127
|
<mat-form-field
|
|
128
128
|
class="w-full"
|
|
129
129
|
[appearance]="field?.props?.appearance || 'outline'"
|
|
@@ -182,7 +182,7 @@ export class FormlySelectAutocompleteComponent extends FieldType {
|
|
|
182
182
|
</mat-form-field>
|
|
183
183
|
`, isInline: true, styles: [".suffixClear{height:17px;width:17px;font-size:17px}.span-class{border-radius:10px;height:16px;width:16px;display:flex}.inputField{width:calc(100% - 17px)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i4.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i5.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: "ngmodule", type: MatAutocompleteModule }, { kind: "component", type: i6.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
184
184
|
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlySelectAutocompleteComponent, decorators: [{
|
|
186
186
|
type: Component,
|
|
187
187
|
args: [{ selector: 'mu-select-autocomplete', standalone: true, template: `
|
|
188
188
|
<mat-form-field
|
|
@@ -172,8 +172,8 @@ export class FormlyFieldStepperComponent extends FieldType {
|
|
|
172
172
|
}
|
|
173
173
|
return isTabChanged;
|
|
174
174
|
}
|
|
175
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
175
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldStepperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
176
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormlyFieldStepperComponent, isStandalone: true, selector: "mu-formly-field-stepper", usesInheritance: true, ngImport: i0, template: `
|
|
177
177
|
<mat-horizontal-stepper [linear]="isLinear" [selectedIndex]="selectedStepIndex" [ngClass]="[field?.props?.className]" (selectionChange)="onStepChange($event)">
|
|
178
178
|
<ng-template matStepperIcon="edit" let-index="index">
|
|
179
179
|
{{index +1}}
|
|
@@ -218,7 +218,7 @@ export class FormlyFieldStepperComponent extends FieldType {
|
|
|
218
218
|
</mat-horizontal-stepper>
|
|
219
219
|
`, isInline: true, styles: [".stepper-label{margin-top:2px;margin-right:2px}.error-step{color:#d32f2f!important}::ng-deep mat-step-header[aria-selected=true]{background-color:#e5e4e2!important;border-radius:12px!important}::ng-deep mat-step-header:hover:not([aria-disabled]){background:#e5e4e2!important}@media (max-width: 640px){::ng-deep .mat-horizontal-stepper-header-container{display:flex;overflow-x:auto;white-space:nowrap;width:100%!important;max-width:100vw;padding-bottom:5px;scrollbar-width:none;-ms-overflow-style:none;-ms-overflow-style:auto}::ng-deep .mat-horizontal-stepper-header-container::-webkit-scrollbar{height:4px;display:none}::ng-deep .mat-horizontal-stepper-header-container::-webkit-scrollbar-thumb{background-color:#888;border-radius:4px}::ng-deep .mat-horizontal-stepper-header{flex:0 0 auto}}\n"], dependencies: [{ kind: "ngmodule", type: MatStepperModule }, { kind: "component", type: i1.MatStep, selector: "mat-step", inputs: ["color"], exportAs: ["matStep"] }, { kind: "directive", type: i1.MatStepLabel, selector: "[matStepLabel]" }, { kind: "component", type: i1.MatStepper, selector: "mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]", inputs: ["disableRipple", "color", "labelPosition", "headerPosition", "animationDuration"], outputs: ["animationDone"], exportAs: ["matStepper", "matVerticalStepper", "matHorizontalStepper"] }, { kind: "directive", type: i1.MatStepperNext, selector: "button[matStepperNext]" }, { kind: "directive", type: i1.MatStepperPrevious, selector: "button[matStepperPrevious]" }, { kind: "directive", type: i1.MatStepperIcon, selector: "ng-template[matStepperIcon]", inputs: ["matStepperIcon"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
220
220
|
}
|
|
221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldStepperComponent, decorators: [{
|
|
222
222
|
type: Component,
|
|
223
223
|
args: [{ selector: "mu-formly-field-stepper", standalone: true, imports: [MatStepperModule, FormlyModule, MatButtonModule, TranslateModule, CommonModule, TranslateModule, MatTooltipModule, MatIconModule], template: `
|
|
224
224
|
<mat-horizontal-stepper [linear]="isLinear" [selectedIndex]="selectedStepIndex" [ngClass]="[field?.props?.className]" (selectionChange)="onStepChange($event)">
|
|
@@ -24,8 +24,8 @@ export class FormlyFieldTableComponent extends FieldArrayType {
|
|
|
24
24
|
this.displayedColumns = this.field.props['gridOptions']?.columnDefs;
|
|
25
25
|
this.columnsToDisplay = this.displayedColumns.slice();
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldTableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormlyFieldTableComponent, isStandalone: true, selector: "mu-selector-name", viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
29
29
|
|
|
30
30
|
<table mat-table [dataSource]="data" matSort class="mat-elevation-z8">
|
|
31
31
|
@for (column of displayedColumns; track column) {
|
|
@@ -41,7 +41,7 @@ export class FormlyFieldTableComponent extends FieldArrayType {
|
|
|
41
41
|
<mat-paginator [pageSizeOptions]="[5, 10, 25, 100]" aria-label="Select page of users"></mat-paginator>
|
|
42
42
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i1.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i1.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i1.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i1.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i1.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i1.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i1.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i1.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i1.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i1.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: FormlyMaterialModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "ngmodule", type: MatSortModule }, { kind: "directive", type: i2.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "ngmodule", type: MatPaginatorModule }, { kind: "component", type: i3.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }] }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldTableComponent, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
46
|
args: [{
|
|
47
47
|
selector: 'mu-selector-name',
|
|
@@ -123,8 +123,8 @@ export class FormlyFieldTabsComponent extends FieldType {
|
|
|
123
123
|
}
|
|
124
124
|
return isTabChanged;
|
|
125
125
|
}
|
|
126
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
127
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldTabsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
127
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormlyFieldTabsComponent, isStandalone: true, selector: "mu-formly-field-tabs", viewQueries: [{ propertyName: "tabGroup", first: true, predicate: ["tabGroup"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
128
128
|
<mat-tab-group #tabGroup (selectedTabChange)="onTabChange($event)">
|
|
129
129
|
@for(tab of field.fieldGroup; track tab; let i = $index; let last =
|
|
130
130
|
$last){
|
|
@@ -200,7 +200,7 @@ export class FormlyFieldTabsComponent extends FieldType {
|
|
|
200
200
|
</mat-tab-group>
|
|
201
201
|
`, isInline: true, styles: [".error-step{color:#d32f2f!important}\n"], dependencies: [{ kind: "ngmodule", type: MatTabsModule }, { kind: "directive", type: i1.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i1.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i7.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
202
202
|
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFieldTabsComponent, decorators: [{
|
|
204
204
|
type: Component,
|
|
205
205
|
args: [{ selector: 'mu-formly-field-tabs', standalone: true, imports: [
|
|
206
206
|
MatTabsModule,
|
|
@@ -265,8 +265,8 @@ export class TabularFormDialogComponent {
|
|
|
265
265
|
}
|
|
266
266
|
return 1;
|
|
267
267
|
}
|
|
268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
269
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
268
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TabularFormDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i2.FormlyFormBuilder }, { token: i3.TranslateService }, { token: i1.MatDialog }, { token: i0.ElementRef }, { token: i4.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
269
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TabularFormDialogComponent, isStandalone: true, selector: "mu-app-add-data-dialog", outputs: { saveData: "saveData" }, ngImport: i0, template: `
|
|
270
270
|
<h1 mat-dialog-title>{{ dialogLabel | translate}}</h1>
|
|
271
271
|
<div mat-dialog-content class="min-h-max !pt-1 !flex">
|
|
272
272
|
<formly-form
|
|
@@ -290,7 +290,7 @@ export class TabularFormDialogComponent {
|
|
|
290
290
|
</ngx-spinner>
|
|
291
291
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "ngmodule", type: MatRadioModule }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i2.FormlyForm, selector: "formly-form", inputs: ["form", "model", "fields", "options"], outputs: ["modelChange"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: NgxSpinnerModule }, { kind: "component", type: i7.NgxSpinnerComponent, selector: "ngx-spinner", inputs: ["bdColor", "size", "color", "type", "fullScreen", "name", "zIndex", "template", "showSpinner", "disableAnimation"] }] }); }
|
|
292
292
|
}
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TabularFormDialogComponent, decorators: [{
|
|
294
294
|
type: Component,
|
|
295
295
|
args: [{
|
|
296
296
|
selector: 'mu-app-add-data-dialog',
|
|
@@ -478,8 +478,8 @@ export class TabularFormComponent extends FieldArrayType {
|
|
|
478
478
|
}
|
|
479
479
|
return 1;
|
|
480
480
|
}
|
|
481
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
482
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
481
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TabularFormComponent, deps: [{ token: i1.MatDialog }, { token: i2.MatSnackBar }, { token: i0.ChangeDetectorRef }, { token: i3.TranslateService }, { token: i4.DatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
482
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: TabularFormComponent, isStandalone: true, selector: "mu-formly-add-dialog-type", providers: [DatePipe], usesInheritance: true, ngImport: i0, template: `
|
|
483
483
|
<div class="flex justify-start mt-2 mr-2 items-center">
|
|
484
484
|
@if(selectedRowCount > 0) {
|
|
485
485
|
<button
|
|
@@ -537,7 +537,7 @@ export class TabularFormComponent extends FieldArrayType {
|
|
|
537
537
|
</ag-grid-angular>
|
|
538
538
|
`, isInline: true, styles: ["ag-grid-angular{margin-top:16px;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "ngmodule", type: MatSnackBarModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatTableModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "ngmodule", type: AgGridModule }, { kind: "component", type: i7.AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "advancedFilterModel", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressAsyncEvents", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "enableCellChangeFlash", "cellFlashDuration", "cellFlashDelay", "cellFadeDuration", "cellFadeDelay", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "suppressGroupMaintainValueType", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupIncludeFooter", "groupIncludeTotalFooter", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "suppressMakeColumnVisibleAfterUnGroup", "treeData", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideInfiniteScroll", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSideSortOnServer", "serverSideFilterOnServer", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i9.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
539
539
|
}
|
|
540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TabularFormComponent, decorators: [{
|
|
541
541
|
type: Component,
|
|
542
542
|
args: [{ selector: 'mu-formly-add-dialog-type', standalone: true, imports: [CommonModule, FormlyModule, MatSnackBarModule, TranslateModule, ReactiveFormsModule, MatDialogModule, MatTableModule, MatButtonModule,
|
|
543
543
|
MatDialogModule, AgGridModule, TranslateModule, MatIconModule, MatTooltipModule
|
|
@@ -237,8 +237,8 @@ export class FormlyFileUploadComponent extends FieldType {
|
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
241
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
240
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFileUploadComponent, deps: [{ token: i1.MatSnackBar }, { token: i2.TranslateService }, { token: i3.BreakpointObserver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
241
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormlyFileUploadComponent, isStandalone: true, selector: "mu-formly-field-file", usesInheritance: true, ngImport: i0, template: `
|
|
242
242
|
@if(showUploadbtn) {
|
|
243
243
|
<div
|
|
244
244
|
class="input-btn"
|
|
@@ -372,7 +372,7 @@ export class FormlyFileUploadComponent extends FieldType {
|
|
|
372
372
|
></div>
|
|
373
373
|
`, isInline: true, styles: [".mat-mdc-table{margin-top:5px;box-shadow:none}.header-cell{background-color:#7876761f!important}.action-buttons{display:flex;flex-direction:row;justify-content:start;align-items:center}.action-icons{font-size:20px}.actions-container{display:flex;justify-content:center;align-items:center;height:43px;padding-top:5px}.input-btn button,.red-upload button{color:#fff;padding:3px 10px;border:none;cursor:pointer;border-radius:50px;font-family:Poppins,Helvetica Neue,sans-serif;font-weight:500;font-size:14px;display:flex;align-items:center;justify-content:center}.input-btn button:disabled,.red-upload button:disabled{background-color:#d3d3d3;color:#b0b0b0}th,td,.upload-btn{font-family:Poppins,Helvetica Neue,sans-serif}.red-upload button{background-color:red}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.DatePipe, name: "date" }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i6.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatSnackBarModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
374
374
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyFileUploadComponent, decorators: [{
|
|
376
376
|
type: Component,
|
|
377
377
|
args: [{ selector: 'mu-formly-field-file', standalone: true, imports: [
|
|
378
378
|
FormsModule,
|
|
@@ -52,8 +52,8 @@ export class ViewFileDialogComponent {
|
|
|
52
52
|
}
|
|
53
53
|
}, 2);
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ViewFileDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ViewFileDialogComponent, isStandalone: true, selector: "mu-view-file-dialog", ngImport: i0, template: `
|
|
57
57
|
<div class="dialog-container">
|
|
58
58
|
<div class="top-bar mnl-bg-primary" cdkDrag cdkDragRootElement=".cdk-overlay-pane">
|
|
59
59
|
<h2 mat-dialog-title>{{ data.fileName }}</h2>
|
|
@@ -65,7 +65,7 @@ export class ViewFileDialogComponent {
|
|
|
65
65
|
</div>
|
|
66
66
|
`, isInline: true, styles: [".dialog-container{padding:12px;box-sizing:border-box;height:100%;display:flex;flex-direction:column}.top-bar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e0e0e0;margin-bottom:12px;height:40px;border-radius:5px;padding:3px;cursor:move}.top-bar .mat-mdc-dialog-title{padding:0;line-height:1.5}.dialog-content{flex-grow:1;display:flex;flex-direction:column;height:calc(100% - 80px)}.dialog-content iframe{flex-grow:1;width:100%;border:none;border-radius:4px}.closeIcon{cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }] }); }
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ViewFileDialogComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
args: [{ selector: 'mu-view-file-dialog', standalone: true, imports: [
|
|
71
71
|
CommonModule,
|
|
@@ -9,14 +9,14 @@ import { WorkflowStatusComponent } from './workflow-status.component';
|
|
|
9
9
|
import { STEPPER_GLOBAL_OPTIONS } from '@angular/cdk/stepper';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export class WorkflowStatusModule {
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
13
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusModule, declarations: [WorkflowStatusComponent], imports: [CommonModule,
|
|
14
14
|
MatStepperModule,
|
|
15
15
|
MatCardModule,
|
|
16
16
|
MatIconModule,
|
|
17
17
|
MatBadgeModule,
|
|
18
18
|
MatTooltipModule], exports: [WorkflowStatusComponent] }); }
|
|
19
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.
|
|
19
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusModule, providers: [
|
|
20
20
|
{
|
|
21
21
|
provide: STEPPER_GLOBAL_OPTIONS,
|
|
22
22
|
useValue: { displayDefaultIndicatorType: false },
|
|
@@ -28,7 +28,7 @@ export class WorkflowStatusModule {
|
|
|
28
28
|
MatBadgeModule,
|
|
29
29
|
MatTooltipModule] }); }
|
|
30
30
|
}
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusModule, decorators: [{
|
|
32
32
|
type: NgModule,
|
|
33
33
|
args: [{
|
|
34
34
|
declarations: [WorkflowStatusComponent],
|
|
@@ -46,10 +46,10 @@ export class WorkflowStatusComponent {
|
|
|
46
46
|
}
|
|
47
47
|
return false;
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
50
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
50
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WorkflowStatusComponent, selector: "lib-workflow-status", inputs: { workflowSteps: "workflowSteps", completedBackgroundColor: "completedBackgroundColor", completedTextColor: "completedTextColor", inProgressTextColor: "inProgressTextColor" }, viewQueries: [{ propertyName: "stepper", first: true, predicate: ["stepper"], descendants: true }, { propertyName: "subStepper", first: true, predicate: ["subStepper"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"max-h-[300px] overflow-y-auto overflow-x-auto sm:overflow-visible\">\n\t<div class=\"w-full rounded-lg\">\n\t\t<div class=\"flex flex-col md:flex-row md:items-center md:justify-start gap-8\">\n\t\t\t<ng-container *ngFor=\"let step of workflowSteps; let i = index\">\n\t\t\t\t<ng-container *ngIf=\"step.children?.length\">\n\t\t\t\t\t<div class=\"flex flex-col items-center mt-4 gap-4\">\n\t\t\t\t\t\t<ng-container *ngFor=\"let child of step.children\">\n\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">\n\t\t\t\t\t\t\t\t<div class=\" flex font-bold\"\n\t\t\t\t\t\t\t\t\t[ngClass]=\"{'status-icon-container-in-progress': child.state === 'in-progress',}\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'completed'\">\n\t\t\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-white\" [ngClass]=\"[completedBackgroundColor, completedTextColor]\">done</mat-icon>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'cancelled'\">\n\t\t\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-red text-[#df281b] bg-[#ffffff]\">cancel</mat-icon>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'in-progress'\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"in-progress\" [ngClass]=\"[inProgressTextColor]\">\n\t\t\t\t\t\t\t\t\t\t\t<mat-icon class=\"font-size-18\" [ngClass]=\"[inProgressTextColor]\" >pending</mat-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'pending'\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"in-progress\">\n\t\t\t\t\t\t\t\t\t\t\t<mat-icon class=\"rounded-full border-4 font-size-16\">pending</mat-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"mt-2 text-center text-gray-800 text-xs text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t\t\t{{ child.statusName }}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div *ngIf=\"child?.roleName\"\n\t\t\t\t\t\t\t\t\tclass=\"mt-1 text-center text-gray-800 text-xs text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t\t\t({{ child?.roleName }})\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf=\"!step.children?.length\">\n\t\t\t\t\t<div class=\"flex flex-col items-center\">\n\t\t\t\t\t\t<div class=\"flex font-bold\" [ngClass]=\"{\n\t\t\t\t\t\t'status-icon-container-in-progress': step.state === 'in-progress',\n\t\t\t\t\t\t'status-icon-container-pending': step.state === 'pending'\n\t\t\t\t\t }\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'completed'\">\n\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-white\" [ngClass]=\"[completedBackgroundColor, completedTextColor]\">done</mat-icon>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'cancelled'\">\n\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-red text-[#df281b] bg-[#ffffff]\">cancel</mat-icon>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'in-progress'\">\n\t\t\t\t\t\t\t\t<div class=\"in-progress\" [ngClass]=\"[inProgressTextColor]\">\n\t\t\t\t\t\t\t\t\t<mat-icon class=\"font-size-18\" [ngClass]=\"[inProgressTextColor]\">pending</mat-icon>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'pending'\">\n\t\t\t\t\t\t\t\t<div class=\"in-progress\">\n\t\t\t\t\t\t\t\t\t<mat-icon class=\"rounded-full border-4 font-size-16\">pending</mat-icon>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"mt-2 text-center text-gray-800 text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t{{ step.statusName }}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div *ngIf=\"step?.roleName\"\n\t\t\t\t\t\t\tclass=\"mt-1 text-center text-gray-800 text-sm font-medium font-size-9\">\n\t\t\t\t\t\t\t({{ step?.roleName }})\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t\t<div *ngIf=\"i < workflowSteps.length - 1\" class=\"bg-gray-500 mx-auto transition-all duration-300\"\n\t\t\t\t\t[ngClass]=\"{'w-16 h-[1px]': true}\">\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\t\t</div>\n\t</div>\n</div>", styles: [".in-progress{position:relative;margin:0;height:16px;width:16px;border-radius:50%}.status-icon-container-in-progress .in-progress:before{position:absolute;content:\"\";height:calc(100% + 10px);width:calc(100% + 10px);border:2px dashed;top:-4px;left:-4px;border-radius:inherit;animation:spin 5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mat-expansion-panel-header-title h3{margin:0!important}.font-size-18{font-size:18px}.font-size-10{font-size:10px}.border-4{border:4px solid grey}.font-size-16{font-size:16px}.label{height:30px;position:relative;margin-right:40px;margin-bottom:10px}.label .badge{position:absolute;right:0;top:12%}.label .name{position:relative;bottom:-10px}.badge .mat-badge-content{background-color:#c0dd78;color:#026e00}.font-size-9{font-size:9px}@media (max-width: 768px){.bg-gray-500{width:1px!important;height:16px!important}}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStatusComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{ selector: 'lib-workflow-status', template: "<div class=\"max-h-[300px] overflow-y-auto overflow-x-auto sm:overflow-visible\">\n\t<div class=\"w-full rounded-lg\">\n\t\t<div class=\"flex flex-col md:flex-row md:items-center md:justify-start gap-8\">\n\t\t\t<ng-container *ngFor=\"let step of workflowSteps; let i = index\">\n\t\t\t\t<ng-container *ngIf=\"step.children?.length\">\n\t\t\t\t\t<div class=\"flex flex-col items-center mt-4 gap-4\">\n\t\t\t\t\t\t<ng-container *ngFor=\"let child of step.children\">\n\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">\n\t\t\t\t\t\t\t\t<div class=\" flex font-bold\"\n\t\t\t\t\t\t\t\t\t[ngClass]=\"{'status-icon-container-in-progress': child.state === 'in-progress',}\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'completed'\">\n\t\t\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-white\" [ngClass]=\"[completedBackgroundColor, completedTextColor]\">done</mat-icon>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'cancelled'\">\n\t\t\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-red text-[#df281b] bg-[#ffffff]\">cancel</mat-icon>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'in-progress'\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"in-progress\" [ngClass]=\"[inProgressTextColor]\">\n\t\t\t\t\t\t\t\t\t\t\t<mat-icon class=\"font-size-18\" [ngClass]=\"[inProgressTextColor]\" >pending</mat-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t<ng-container *ngIf=\"child.state === 'pending'\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"in-progress\">\n\t\t\t\t\t\t\t\t\t\t\t<mat-icon class=\"rounded-full border-4 font-size-16\">pending</mat-icon>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class=\"mt-2 text-center text-gray-800 text-xs text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t\t\t{{ child.statusName }}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div *ngIf=\"child?.roleName\"\n\t\t\t\t\t\t\t\t\tclass=\"mt-1 text-center text-gray-800 text-xs text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t\t\t({{ child?.roleName }})\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf=\"!step.children?.length\">\n\t\t\t\t\t<div class=\"flex flex-col items-center\">\n\t\t\t\t\t\t<div class=\"flex font-bold\" [ngClass]=\"{\n\t\t\t\t\t\t'status-icon-container-in-progress': step.state === 'in-progress',\n\t\t\t\t\t\t'status-icon-container-pending': step.state === 'pending'\n\t\t\t\t\t }\">\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'completed'\">\n\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-white\" [ngClass]=\"[completedBackgroundColor, completedTextColor]\">done</mat-icon>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'cancelled'\">\n\t\t\t\t\t\t\t\t<mat-icon\n\t\t\t\t\t\t\t\t\tclass=\"rounded-2xl decoration-red text-[#df281b] bg-[#ffffff]\">cancel</mat-icon>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'in-progress'\">\n\t\t\t\t\t\t\t\t<div class=\"in-progress\" [ngClass]=\"[inProgressTextColor]\">\n\t\t\t\t\t\t\t\t\t<mat-icon class=\"font-size-18\" [ngClass]=\"[inProgressTextColor]\">pending</mat-icon>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t<ng-container *ngIf=\"step.state === 'pending'\">\n\t\t\t\t\t\t\t\t<div class=\"in-progress\">\n\t\t\t\t\t\t\t\t\t<mat-icon class=\"rounded-full border-4 font-size-16\">pending</mat-icon>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"mt-2 text-center text-gray-800 text-sm font-medium font-size-10\">\n\t\t\t\t\t\t\t{{ step.statusName }}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div *ngIf=\"step?.roleName\"\n\t\t\t\t\t\t\tclass=\"mt-1 text-center text-gray-800 text-sm font-medium font-size-9\">\n\t\t\t\t\t\t\t({{ step?.roleName }})\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\t\t\t\t<div *ngIf=\"i < workflowSteps.length - 1\" class=\"bg-gray-500 mx-auto transition-all duration-300\"\n\t\t\t\t\t[ngClass]=\"{'w-16 h-[1px]': true}\">\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\t\t</div>\n\t</div>\n</div>", styles: [".in-progress{position:relative;margin:0;height:16px;width:16px;border-radius:50%}.status-icon-container-in-progress .in-progress:before{position:absolute;content:\"\";height:calc(100% + 10px);width:calc(100% + 10px);border:2px dashed;top:-4px;left:-4px;border-radius:inherit;animation:spin 5s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mat-expansion-panel-header-title h3{margin:0!important}.font-size-18{font-size:18px}.font-size-10{font-size:10px}.border-4{border:4px solid grey}.font-size-16{font-size:16px}.label{height:30px;position:relative;margin-right:40px;margin-bottom:10px}.label .badge{position:absolute;right:0;top:12%}.label .name{position:relative;bottom:-10px}.badge .mat-badge-content{background-color:#c0dd78;color:#026e00}.font-size-9{font-size:9px}@media (max-width: 768px){.bg-gray-500{width:1px!important;height:16px!important}}\n"] }]
|
|
55
55
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { stepper: [{
|
|
@@ -9,8 +9,8 @@ export class FormlyDescriptionWrapperComponent extends FieldWrapper {
|
|
|
9
9
|
ngOnInit() {
|
|
10
10
|
console.log('===========to============', this.field);
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyDescriptionWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormlyDescriptionWrapperComponent, isStandalone: true, selector: "mu-formly-wrapper-description", usesInheritance: true, ngImport: i0, template: `
|
|
14
14
|
<div>
|
|
15
15
|
<ng-container #fieldComponent></ng-container>
|
|
16
16
|
<p class="text-gray-500 text-sm mt-1" *ngIf="to.description">
|
|
@@ -19,7 +19,7 @@ export class FormlyDescriptionWrapperComponent extends FieldWrapper {
|
|
|
19
19
|
</div>
|
|
20
20
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyMaterialModule }] }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyDescriptionWrapperComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{
|
|
25
25
|
standalone: true,
|
|
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
import * as i1 from "@angular/common";
|
|
8
8
|
import * as i2 from "@ngx-formly/core";
|
|
9
9
|
export class FormFieldWrapperComponent extends FieldWrapper {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormFieldWrapperComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormFieldWrapperComponent, isStandalone: true, selector: "mu-formly-wrapper-form-field", usesInheritance: true, ngImport: i0, template: `
|
|
12
12
|
<label *ngIf="to.label" [for]="id">{{ to.label }}</label>
|
|
13
13
|
<ng-container #fieldComponent></ng-container>
|
|
14
14
|
<div *ngIf="showError" class="invalid-feedback">
|
|
@@ -16,7 +16,7 @@ export class FormFieldWrapperComponent extends FieldWrapper {
|
|
|
16
16
|
</div>
|
|
17
17
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: FormlyMaterialModule }] }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormFieldWrapperComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{
|
|
22
22
|
selector: 'mu-formly-wrapper-form-field',
|
|
@@ -105,8 +105,8 @@ export class WithOldValueWrapperComponent extends FieldWrapper {
|
|
|
105
105
|
return 'N/A';
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
109
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WithOldValueWrapperComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: WithOldValueWrapperComponent, isStandalone: true, selector: "mu-with-old-value-wrapper", usesInheritance: true, ngImport: i0, template: `
|
|
110
110
|
<div class="show-column">
|
|
111
111
|
<ng-container #fieldComponent></ng-container>
|
|
112
112
|
@if(showOldValues && hasValueChanged()) {
|
|
@@ -117,7 +117,7 @@ export class WithOldValueWrapperComponent extends FieldWrapper {
|
|
|
117
117
|
</div>
|
|
118
118
|
`, isInline: true, styles: [".show-column{flex-direction:column;display:flex}.changed-label{color:red}.old-value{font-size:.9em;color:gray}.oldValueSpan{font-family:Poppins,Helvetica Neue,sans-serif;font-size:.9em;font-weight:500}.old-label{color:#00ae4d!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatFormFieldModule }] }); }
|
|
119
119
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WithOldValueWrapperComponent, decorators: [{
|
|
121
121
|
type: Component,
|
|
122
122
|
args: [{ selector: 'mu-with-old-value-wrapper', standalone: true, imports: [
|
|
123
123
|
CommonModule,
|
|
@@ -26,8 +26,8 @@ export class FormlyWrapperAddonsComponent extends FieldWrapper {
|
|
|
26
26
|
this.props['addonLeft'].onClick(this.to, this, $event);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyWrapperAddonsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormlyWrapperAddonsComponent, isStandalone: true, selector: "mu-formly-wrapper-addons", viewQueries: [{ propertyName: "matPrefix", first: true, predicate: ["matPrefix"], descendants: true, static: true }, { propertyName: "matSuffix", first: true, predicate: ["matSuffix"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
31
31
|
<ng-template #matPrefix>
|
|
32
32
|
<span
|
|
33
33
|
*ngIf="props['addonLeft']"
|
|
@@ -53,7 +53,7 @@ export class FormlyWrapperAddonsComponent extends FieldWrapper {
|
|
|
53
53
|
</ng-template>
|
|
54
54
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormlyWrapperAddonsComponent, decorators: [{
|
|
57
57
|
type: Component,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: 'mu-formly-wrapper-addons',
|