ngx-t-forms 2.0.21 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B2YIcoUu.mjs → ngx-t-forms-calculated-field-rules.component-BdDN7YwK.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-B2YIcoUu.mjs.map → ngx-t-forms-calculated-field-rules.component-BdDN7YwK.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DwpTxw1V.mjs → ngx-t-forms-chip-options-creator-editor.component-DVhV4izc.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DwpTxw1V.mjs.map → ngx-t-forms-chip-options-creator-editor.component-DVhV4izc.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BgS1g7ix.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BTUnZ1q1.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-BgS1g7ix.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BTUnZ1q1.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-ctmzo51S.mjs → ngx-t-forms-data-source-picker.component-DcpGy7kq.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-data-source-picker.component-ctmzo51S.mjs.map → ngx-t-forms-data-source-picker.component-DcpGy7kq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-B1ouOnk1.mjs → ngx-t-forms-document-list-label-config-editor.component-Bdfd5ik4.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-B1ouOnk1.mjs.map → ngx-t-forms-document-list-label-config-editor.component-Bdfd5ik4.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-Dqru3fNh.mjs → ngx-t-forms-form-input-selector.component-n88ExFxv.mjs} +8 -8
- package/fesm2022/{ngx-t-forms-form-input-selector.component-Dqru3fNh.mjs.map → ngx-t-forms-form-input-selector.component-n88ExFxv.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-70kAIKgZ.mjs → ngx-t-forms-form-json-view.component-Bm-k704L.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-form-json-view.component-70kAIKgZ.mjs.map → ngx-t-forms-form-json-view.component-Bm-k704L.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-BQBmaKv_.mjs → ngx-t-forms-form-section-stepper.component-BGu2CX3r.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-BQBmaKv_.mjs.map → ngx-t-forms-form-section-stepper.component-BGu2CX3r.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DrOUX-zW.mjs → ngx-t-forms-forms-builder-menu.component-Brj72jZP.mjs} +15 -15
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-DrOUX-zW.mjs.map → ngx-t-forms-forms-builder-menu.component-Brj72jZP.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-BBvl6AEn.mjs → ngx-t-forms-input-editor.component-BqRBvrQe.mjs} +14 -14
- package/fesm2022/{ngx-t-forms-input-editor.component-BBvl6AEn.mjs.map → ngx-t-forms-input-editor.component-BqRBvrQe.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-Bqwo6PW5.mjs → ngx-t-forms-mat-chip-list-editor.component-DRMTdPwU.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-Bqwo6PW5.mjs.map → ngx-t-forms-mat-chip-list-editor.component-DRMTdPwU.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-BZWy7sKx.mjs → ngx-t-forms-mat-slider-editor.component-CnnC8-nJ.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-editor.component-BZWy7sKx.mjs.map → ngx-t-forms-mat-slider-editor.component-CnnC8-nJ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-J8LET3HI.mjs → ngx-t-forms-mat-slider-toggle-editor.component-B8O9Xn4R.mjs} +5 -5
- package/fesm2022/{ngx-t-forms-mat-slider-toggle-editor.component-J8LET3HI.mjs.map → ngx-t-forms-mat-slider-toggle-editor.component-B8O9Xn4R.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-missing-form-configs.component-CXIOm7OT.mjs +28 -0
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BgrZn2dM.mjs.map → ngx-t-forms-missing-form-configs.component-CXIOm7OT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-C8Vnyf0v.mjs → ngx-t-forms-mscoa-segment-config.component-B0I2X92a.mjs} +10 -10
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-C8Vnyf0v.mjs.map → ngx-t-forms-mscoa-segment-config.component-B0I2X92a.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-zYBCwTI4.mjs → ngx-t-forms-ngx-t-forms-BYmto56R.mjs} +501 -234
- package/fesm2022/ngx-t-forms-ngx-t-forms-BYmto56R.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-B2mJBxEI.mjs → ngx-t-forms-pipeline-generator.component-T4_0xqeE.mjs} +20 -20
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-B2mJBxEI.mjs.map → ngx-t-forms-pipeline-generator.component-T4_0xqeE.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-Dk1IsAgn.mjs → ngx-t-forms-required-inputs.component-C5iwMGil.mjs} +11 -11
- package/fesm2022/{ngx-t-forms-required-inputs.component-Dk1IsAgn.mjs.map → ngx-t-forms-required-inputs.component-C5iwMGil.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-B90hJQlL.mjs → ngx-t-forms-rest-api-call-setup.component-C4zwQqzh.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-B90hJQlL.mjs.map → ngx-t-forms-rest-api-call-setup.component-C4zwQqzh.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-section-report.component-CGLiAw8J.mjs → ngx-t-forms-section-report.component-B5TrrkeO.mjs} +7 -7
- package/fesm2022/{ngx-t-forms-section-report.component-CGLiAw8J.mjs.map → ngx-t-forms-section-report.component-B5TrrkeO.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-ClzCcmlC.mjs +187 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-ClzCcmlC.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DH7hjTyE.mjs → ngx-t-forms-t-workflow-picker.component-C1t8oH9s.mjs} +9 -9
- package/fesm2022/{ngx-t-forms-t-workflow-picker.component-DH7hjTyE.mjs.map → ngx-t-forms-t-workflow-picker.component-C1t8oH9s.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-BfnTGXA_.mjs → ngx-t-forms-validators-config.component-B9kfcaSm.mjs} +13 -13
- package/fesm2022/{ngx-t-forms-validators-config.component-BfnTGXA_.mjs.map → ngx-t-forms-validators-config.component-B9kfcaSm.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/lib/components/forms/forms.component.d.ts +1 -1
- package/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.d.ts +40 -9
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +9 -0
- package/lib/components/t-form-input/elements/select-input-element/elements/select-input/select-input.component.d.ts +9 -3
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/point-assignment/point-assignment.component.d.ts +32 -0
- package/lib/components/t-form-input/elements/workflow-adjudication/elements/submission-review/submission-review.component.d.ts +1 -1
- package/lib/components/user-form-stepper/user-form-stepper.component.d.ts +6 -1
- package/lib/services/core/tour/tour-manager.service.d.ts +9 -1
- package/package.json +2 -2
- package/fesm2022/ngx-t-forms-missing-form-configs.component-BgrZn2dM.mjs +0 -28
- package/fesm2022/ngx-t-forms-ngx-t-forms-zYBCwTI4.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-selection-options-editor.component-C0il9Xf5.mjs +0 -145
- package/fesm2022/ngx-t-forms-selection-options-editor.component-C0il9Xf5.mjs.map +0 -1
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Output, Input, HostBinding, Optional, Self, Component } from '@angular/core';
|
|
3
|
-
import * as i2$1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i1 from '@angular/forms';
|
|
6
|
-
import { FormGroup, FormControl, Validators, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import { v4 } from 'uuid';
|
|
8
|
-
import _ from 'lodash';
|
|
9
|
-
import { M as MatModulesModule } from './ngx-t-forms-ngx-t-forms-zYBCwTI4.mjs';
|
|
10
|
-
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
11
|
-
import { Subject } from 'rxjs';
|
|
12
|
-
import * as i2 from '@angular/material/button';
|
|
13
|
-
import * as i4 from '@angular/material/card';
|
|
14
|
-
import * as i4$1 from '@angular/material/chips';
|
|
15
|
-
import * as i5 from '@angular/material/icon';
|
|
16
|
-
import * as i3 from '@angular/material/select';
|
|
17
|
-
import * as i9 from '@angular/material/toolbar';
|
|
18
|
-
import * as i8 from '@angular/material/input';
|
|
19
|
-
|
|
20
|
-
class SelectionOptionsEditorComponent {
|
|
21
|
-
static { this.nextId = 0; }
|
|
22
|
-
constructor(ngControl, _elementRef) {
|
|
23
|
-
this.ngControl = ngControl;
|
|
24
|
-
this._elementRef = _elementRef;
|
|
25
|
-
this.stateChanges = new Subject();
|
|
26
|
-
this.errors = [];
|
|
27
|
-
this.id = `app-selection-options-editor-${SelectionOptionsEditorComponent.nextId++}`;
|
|
28
|
-
this.placeholder = '';
|
|
29
|
-
this.focused = false;
|
|
30
|
-
this.required = false;
|
|
31
|
-
this.disabled = false;
|
|
32
|
-
this.touched = false;
|
|
33
|
-
this.onTouched = () => { };
|
|
34
|
-
this._options = [];
|
|
35
|
-
this.valueChanged = new EventEmitter();
|
|
36
|
-
}
|
|
37
|
-
get empty() {
|
|
38
|
-
return !this.value;
|
|
39
|
-
}
|
|
40
|
-
get shouldLabelFloat() {
|
|
41
|
-
return this.focused || !this.empty;
|
|
42
|
-
}
|
|
43
|
-
get errorState() {
|
|
44
|
-
const hasError = !!this.ngControl?.control?.errors || (this.errors || []).length > 0 && this.touched;
|
|
45
|
-
return !this.value && !!this.required || hasError;
|
|
46
|
-
}
|
|
47
|
-
setDescribedByIds(ids) {
|
|
48
|
-
// Ensure the component view is initialized
|
|
49
|
-
if (this._elementRef && this._elementRef.nativeElement) {
|
|
50
|
-
const controlElement = this._elementRef.nativeElement.querySelector('.app-selection-options-editor');
|
|
51
|
-
// Check if the controlElement exists before attempting to set its attribute
|
|
52
|
-
if (controlElement) {
|
|
53
|
-
controlElement.setAttribute('aria-describedby', ids.join(' '));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
onContainerClick(event) {
|
|
58
|
-
this.markAsTouched();
|
|
59
|
-
this.stateChanges.next();
|
|
60
|
-
}
|
|
61
|
-
markAsTouched() {
|
|
62
|
-
console.log('markAsTouched');
|
|
63
|
-
if (!this.touched) {
|
|
64
|
-
this.onTouched();
|
|
65
|
-
this.touched = true;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
get options() {
|
|
69
|
-
return this._options || [];
|
|
70
|
-
}
|
|
71
|
-
set options(val) {
|
|
72
|
-
if (!!Array.isArray(val)) {
|
|
73
|
-
this._options = val;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
add() {
|
|
77
|
-
this.inEdit = {};
|
|
78
|
-
this.createForm(this.inEdit);
|
|
79
|
-
}
|
|
80
|
-
remove(option) {
|
|
81
|
-
this.options = this.removeObjectById(this.options, option.id);
|
|
82
|
-
this.valueChanged.emit(this.options);
|
|
83
|
-
}
|
|
84
|
-
createForm(inEdit) {
|
|
85
|
-
this.form = new FormGroup({
|
|
86
|
-
label: new FormControl(inEdit.label || '', Validators.required),
|
|
87
|
-
value: new FormControl(inEdit.value || '', Validators.required),
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
closeEdit() {
|
|
91
|
-
this.inEdit = null;
|
|
92
|
-
}
|
|
93
|
-
save() {
|
|
94
|
-
const id = this.inEdit?.id;
|
|
95
|
-
if (!!id) {
|
|
96
|
-
this.options = this.overrideObjectById(this.options, { ...this.inEdit, ...this.form.value });
|
|
97
|
-
this.closeEdit();
|
|
98
|
-
this.valueChanged.emit(this.options);
|
|
99
|
-
return;
|
|
100
|
-
}
|
|
101
|
-
this.options = this.addObjectToArray(this.options, { ...this.inEdit, ...this.form.value, id: v4() });
|
|
102
|
-
this.closeEdit();
|
|
103
|
-
console.log(this.options);
|
|
104
|
-
this.valueChanged.emit(this.options);
|
|
105
|
-
}
|
|
106
|
-
overrideObjectById(array, newObj) {
|
|
107
|
-
const index = _.findIndex(array, { id: newObj.id });
|
|
108
|
-
if (index !== -1) {
|
|
109
|
-
array[index] = newObj;
|
|
110
|
-
}
|
|
111
|
-
return array;
|
|
112
|
-
}
|
|
113
|
-
addObjectToArray(array, newObj) {
|
|
114
|
-
if (!_.some(array, { id: newObj.id })) {
|
|
115
|
-
array.push(newObj);
|
|
116
|
-
}
|
|
117
|
-
return array;
|
|
118
|
-
}
|
|
119
|
-
removeObjectById(array, id) {
|
|
120
|
-
return _.reject(array, { id: id });
|
|
121
|
-
}
|
|
122
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SelectionOptionsEditorComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
123
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.6", type: SelectionOptionsEditorComponent, isStandalone: true, selector: "app-selection-options-editor", inputs: { errors: "errors", disabled: "disabled", options: "options" }, outputs: { valueChanged: "valueChanged" }, host: { properties: { "id": "this.id" } }, providers: [{ provide: MatFormFieldControl, useExisting: SelectionOptionsEditorComponent }], ngImport: i0, template: "\r\n <mat-chip-listbox aria-label=\"Fish selection\" [disabled]=\"disabled\">\r\n @for (option of options||[]; track option.id) {\r\n <mat-chip-option \r\n (removed)=\"remove(option)\"\r\n (click)=\"this.inEdit?.id === option?.id? this.inEdit = undefined :this.inEdit = option\"\r\n color=\"accent\" \r\n [value]=\"option?.value\"\r\n [selected]=\"this.inEdit?.id === option?.id\">{{option?.label}}\r\n <button matChipRemove [attr.aria-label]=\"'remove ' \">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n </mat-chip-option>\r\n }\r\n </mat-chip-listbox>\r\n <mat-toolbar *ngIf=\"!inEdit\">\r\n <button style=\"width:100%\" mat-stroked-button (click)=\"add()\">\r\n Add an option <mat-icon>add</mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <mat-card *ngIf=\"!!inEdit\">\r\n <mat-card-header>\r\n <mat-card-title>Edit Option</mat-card-title>\r\n <mat-card-subtitle>Modify Option Details</mat-card-subtitle>\r\n </mat-card-header>\r\n\r\n <mat-card-content style=\"padding-top:16px ;\" >\r\n \r\n <form *ngIf=\"!!form\" [formGroup]=\"form\">\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>label</mat-label>\r\n <input type=\"text\" matInput formControlName=\"label\" \r\n placeholder=\"enter option label\">\r\n <mat-hint>Label is required!</mat-hint>\r\n </mat-form-field>\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>value</mat-label>\r\n <input type=\"text\" matInput formControlName=\"value\" \r\n placeholder=\"enter option value\">\r\n <mat-hint>value is required!</mat-hint>\r\n </mat-form-field>\r\n \r\n </form>\r\n \r\n </mat-card-content>\r\n <mat-card-actions>\r\n <button mat-button (click)=\"closeEdit()\">close</button>\r\n <button mat-button [disabled]=\"form.invalid\" (click)=\"save()\">Save</button>\r\n </mat-card-actions>\r\n </mat-card>\r\n ", styles: ["mat-form-field{width:100%!important;background:azure}\n"], dependencies: [{ kind: "ngmodule", type: MatModulesModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i4.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i4.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i4.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i4.MatCardSubtitle, selector: "mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]" }, { kind: "directive", type: i4.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i4$1.MatChipListbox, selector: "mat-chip-listbox", inputs: ["multiple", "aria-orientation", "selectable", "compareWith", "required", "hideSingleSelectionIndicator", "value"], outputs: ["change"] }, { kind: "component", type: i4$1.MatChipOption, selector: "mat-basic-chip-option, [mat-basic-chip-option], mat-chip-option, [mat-chip-option]", inputs: ["selectable", "selected"], outputs: ["selectionChange"] }, { kind: "directive", type: i4$1.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i9.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i8.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
124
|
-
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: SelectionOptionsEditorComponent, decorators: [{
|
|
126
|
-
type: Component,
|
|
127
|
-
args: [{ selector: 'app-selection-options-editor', standalone: true, imports: [MatModulesModule, ReactiveFormsModule, CommonModule], providers: [{ provide: MatFormFieldControl, useExisting: SelectionOptionsEditorComponent }], template: "\r\n <mat-chip-listbox aria-label=\"Fish selection\" [disabled]=\"disabled\">\r\n @for (option of options||[]; track option.id) {\r\n <mat-chip-option \r\n (removed)=\"remove(option)\"\r\n (click)=\"this.inEdit?.id === option?.id? this.inEdit = undefined :this.inEdit = option\"\r\n color=\"accent\" \r\n [value]=\"option?.value\"\r\n [selected]=\"this.inEdit?.id === option?.id\">{{option?.label}}\r\n <button matChipRemove [attr.aria-label]=\"'remove ' \">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n </mat-chip-option>\r\n }\r\n </mat-chip-listbox>\r\n <mat-toolbar *ngIf=\"!inEdit\">\r\n <button style=\"width:100%\" mat-stroked-button (click)=\"add()\">\r\n Add an option <mat-icon>add</mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <mat-card *ngIf=\"!!inEdit\">\r\n <mat-card-header>\r\n <mat-card-title>Edit Option</mat-card-title>\r\n <mat-card-subtitle>Modify Option Details</mat-card-subtitle>\r\n </mat-card-header>\r\n\r\n <mat-card-content style=\"padding-top:16px ;\" >\r\n \r\n <form *ngIf=\"!!form\" [formGroup]=\"form\">\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>label</mat-label>\r\n <input type=\"text\" matInput formControlName=\"label\" \r\n placeholder=\"enter option label\">\r\n <mat-hint>Label is required!</mat-hint>\r\n </mat-form-field>\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>value</mat-label>\r\n <input type=\"text\" matInput formControlName=\"value\" \r\n placeholder=\"enter option value\">\r\n <mat-hint>value is required!</mat-hint>\r\n </mat-form-field>\r\n \r\n </form>\r\n \r\n </mat-card-content>\r\n <mat-card-actions>\r\n <button mat-button (click)=\"closeEdit()\">close</button>\r\n <button mat-button [disabled]=\"form.invalid\" (click)=\"save()\">Save</button>\r\n </mat-card-actions>\r\n </mat-card>\r\n ", styles: ["mat-form-field{width:100%!important;background:azure}\n"] }]
|
|
128
|
-
}], ctorParameters: () => [{ type: i1.NgControl, decorators: [{
|
|
129
|
-
type: Optional
|
|
130
|
-
}, {
|
|
131
|
-
type: Self
|
|
132
|
-
}] }, { type: i0.ElementRef }], propDecorators: { errors: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], id: [{
|
|
135
|
-
type: HostBinding
|
|
136
|
-
}], disabled: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], options: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], valueChanged: [{
|
|
141
|
-
type: Output
|
|
142
|
-
}] } });
|
|
143
|
-
|
|
144
|
-
export { SelectionOptionsEditorComponent };
|
|
145
|
-
//# sourceMappingURL=ngx-t-forms-selection-options-editor.component-C0il9Xf5.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-selection-options-editor.component-C0il9Xf5.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.html"],"sourcesContent":["import { Component, ElementRef, EventEmitter, HostBinding, Input, Optional, Output, Self } from '@angular/core';\r\n\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormControl, FormGroup, NgControl, ReactiveFormsModule, Validators } from '@angular/forms';\r\nimport { v4 as uuidv4 } from 'uuid';\r\nimport _ from 'lodash';\r\nimport { MatModulesModule } from '../../../../shared/modules/mat-modules.module';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { Subject } from 'rxjs';\r\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\n\r\n@Component({\r\n selector: 'app-selection-options-editor',\r\n standalone: true,\r\n imports: [MatModulesModule, ReactiveFormsModule, CommonModule],\r\n providers: [{ provide: MatFormFieldControl, useExisting:SelectionOptionsEditorComponent }],\r\n templateUrl: './selection-options-editor.component.html',\r\n styleUrl: './selection-options-editor.component.scss'\r\n})\r\nexport class SelectionOptionsEditorComponent implements MatFormFieldControl<any> {\r\n value: any;\r\n static nextId = 0;\r\n stateChanges = new Subject<void>();\r\n @Input() errors:IConfigElementError[] |undefined = [];\r\n @HostBinding() id = `app-selection-options-editor-${SelectionOptionsEditorComponent.nextId++}`;\r\n \r\n placeholder: string = ''\r\n constructor(@Optional() @Self() public ngControl: NgControl, private _elementRef: ElementRef<HTMLElement>,) { }\r\n focused: boolean = false;\r\n get empty() {\r\n return !this.value\r\n }\r\n get shouldLabelFloat() {\r\n return this.focused || !this.empty;\r\n }\r\n required: boolean = false;\r\n @Input() disabled: boolean = false;\r\nget errorState(): boolean {\r\n const hasError = !!this.ngControl?.control?.errors || (this.errors||[]).length > 0 && this.touched\r\n return !this.value && !!this.required || hasError\r\n }\r\n\r\n controlType?: string | undefined;\r\n autofilled?: boolean | undefined;\r\n userAriaDescribedBy?: string | undefined;\r\n disableAutomaticLabeling?: boolean | undefined;\r\n setDescribedByIds(ids: string[]) {\r\n // Ensure the component view is initialized\r\n if (this._elementRef && this._elementRef.nativeElement) {\r\n const controlElement = this._elementRef.nativeElement.querySelector('.app-selection-options-editor');\r\n // Check if the controlElement exists before attempting to set its attribute\r\n if (controlElement) {\r\n controlElement.setAttribute('aria-describedby', ids.join(' '));\r\n }\r\n }\r\n }\r\n onContainerClick(event: MouseEvent): void {\r\n this.markAsTouched();\r\n this.stateChanges.next();\r\n }\r\n\r\n touched: boolean = false;\r\n onTouched = () => {};\r\n markAsTouched() {\r\n console.log('markAsTouched') \r\n if (!this.touched) {\r\n this.onTouched();\r\n this.touched = true;\r\n }\r\n } \r\n\r\n\r\n \r\n private _options: any = []\r\n @Input() get options(){\r\n return this._options || []\r\n }\r\n\r\n set options(val){\r\n if(!!Array.isArray(val)){\r\n this._options = val\r\n }\r\n }\r\n\r\n@Output() valueChanged = new EventEmitter<any>()\r\n\r\n inEdit:any\r\n\r\n form!:FormGroup\r\n add(){\r\n this.inEdit = {}\r\n this.createForm(this.inEdit)\r\n\r\n }\r\n remove(option:any){\r\n this.options = this.removeObjectById(this.options, option.id)\r\n this.valueChanged.emit(this.options)\r\n }\r\n createForm(inEdit:any){\r\n\r\n this.form = new FormGroup({\r\n label: new FormControl( inEdit.label||'', Validators.required),\r\n value: new FormControl(inEdit.value||'', Validators.required),\r\n\r\n });\r\n }\r\n closeEdit(){\r\n this.inEdit = null\r\n }\r\n\r\n save(){\r\n const id = this.inEdit?.id\r\n if(!!id){\r\n this.options = this.overrideObjectById(this.options, {...this.inEdit, ...this.form.value})\r\n this.closeEdit()\r\n this.valueChanged.emit(this.options)\r\n return\r\n }\r\n this.options = this.addObjectToArray(this.options, {...this.inEdit, ...this.form.value, id: uuidv4()})\r\n this.closeEdit()\r\n console.log(this.options)\r\n this.valueChanged.emit(this.options)\r\n\r\n }\r\n\r\n overrideObjectById(array: any[], newObj: any): any[] {\r\n const index = _.findIndex(array, { id: newObj.id });\r\n if (index !== -1) {\r\n array[index] = newObj;\r\n }\r\n return array;\r\n }\r\n \r\n addObjectToArray(array: any[], newObj: any): any[] {\r\n if (!_.some(array, { id: newObj.id })) {\r\n array.push(newObj);\r\n }\r\n return array;\r\n }\r\n \r\n removeObjectById(array: any[], id: number): any[] {\r\n return _.reject(array, { id: id });\r\n }\r\n}","\r\n <mat-chip-listbox aria-label=\"Fish selection\" [disabled]=\"disabled\">\r\n @for (option of options||[]; track option.id) {\r\n <mat-chip-option \r\n (removed)=\"remove(option)\"\r\n (click)=\"this.inEdit?.id === option?.id? this.inEdit = undefined :this.inEdit = option\"\r\n color=\"accent\" \r\n [value]=\"option?.value\"\r\n [selected]=\"this.inEdit?.id === option?.id\">{{option?.label}}\r\n <button matChipRemove [attr.aria-label]=\"'remove ' \">\r\n <mat-icon>cancel</mat-icon>\r\n </button>\r\n </mat-chip-option>\r\n }\r\n </mat-chip-listbox>\r\n <mat-toolbar *ngIf=\"!inEdit\">\r\n <button style=\"width:100%\" mat-stroked-button (click)=\"add()\">\r\n Add an option <mat-icon>add</mat-icon>\r\n </button>\r\n </mat-toolbar>\r\n <mat-card *ngIf=\"!!inEdit\">\r\n <mat-card-header>\r\n <mat-card-title>Edit Option</mat-card-title>\r\n <mat-card-subtitle>Modify Option Details</mat-card-subtitle>\r\n </mat-card-header>\r\n\r\n <mat-card-content style=\"padding-top:16px ;\" >\r\n \r\n <form *ngIf=\"!!form\" [formGroup]=\"form\">\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>label</mat-label>\r\n <input type=\"text\" matInput formControlName=\"label\" \r\n placeholder=\"enter option label\">\r\n <mat-hint>Label is required!</mat-hint>\r\n </mat-form-field>\r\n <mat-form-field subscriptSizing=\"dynamic\" >\r\n <mat-label>value</mat-label>\r\n <input type=\"text\" matInput formControlName=\"value\" \r\n placeholder=\"enter option value\">\r\n <mat-hint>value is required!</mat-hint>\r\n </mat-form-field>\r\n \r\n </form>\r\n \r\n </mat-card-content>\r\n <mat-card-actions>\r\n <button mat-button (click)=\"closeEdit()\">close</button>\r\n <button mat-button [disabled]=\"form.invalid\" (click)=\"save()\">Save</button>\r\n </mat-card-actions>\r\n </mat-card>\r\n "],"names":["uuidv4","i3","i4","i6","i7","i9"],"mappings":";;;;;;;;;;;;;;;;;;;MAmBa,+BAA+B,CAAA;aAEnC,IAAM,CAAA,MAAA,GAAG,CAAH,CAAK;IAMlB,WAAuC,CAAA,SAAoB,EAAU,WAAoC,EAAA;QAAlE,IAAS,CAAA,SAAA,GAAT,SAAS;QAAqB,IAAW,CAAA,WAAA,GAAX,WAAW;AALhF,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAQ;QACzB,IAAM,CAAA,MAAA,GAAoC,EAAE;AACtC,QAAA,IAAA,CAAA,EAAE,GAAG,CAAgC,6BAAA,EAAA,+BAA+B,CAAC,MAAM,EAAE,EAAE;QAE9F,IAAW,CAAA,WAAA,GAAW,EAAE;QAExB,IAAO,CAAA,OAAA,GAAY,KAAK;QAOxB,IAAQ,CAAA,QAAA,GAAY,KAAK;QACjB,IAAQ,CAAA,QAAA,GAAY,KAAK;QAyBjC,IAAO,CAAA,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