@ajf/material 18.0.3 → 18.0.5
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/form-builder/choices-origin-editor.mjs +4 -4
- package/esm2022/form-builder/form-builder-module.mjs +5 -2
- package/esm2022/form-builder/form-builder-service.mjs +30 -2
- package/esm2022/form-builder/form-builder.mjs +19 -14
- package/esm2022/form-builder/node-properties.mjs +12 -5
- package/esm2022/form-builder/node-type-filter.pipe.mjs +22 -0
- package/esm2022/forms/form.mjs +3 -3
- package/esm2022/node-icon/node-icon.mjs +6 -3
- package/fesm2022/ajf-material-form-builder.mjs +73 -15
- package/fesm2022/ajf-material-form-builder.mjs.map +1 -1
- package/fesm2022/ajf-material-forms.mjs +2 -2
- package/fesm2022/ajf-material-forms.mjs.map +1 -1
- package/fesm2022/ajf-material-node-icon.mjs +5 -2
- package/fesm2022/ajf-material-node-icon.mjs.map +1 -1
- package/form-builder/form-builder-module.d.ts +26 -25
- package/form-builder/form-builder-service.d.ts +1 -0
- package/form-builder/form-builder.d.ts +1 -0
- package/form-builder/node-properties.d.ts +2 -1
- package/form-builder/node-type-filter.pipe.d.ts +8 -0
- package/package.json +2 -2
|
@@ -30,8 +30,11 @@ import { AjfNodeIcon as AjfNodeIcon$1 } from '@ajf/core/node-icon';
|
|
|
30
30
|
*/
|
|
31
31
|
class AjfNodeIcon extends AjfNodeIcon$1 {
|
|
32
32
|
matIcon(node) {
|
|
33
|
-
if (node.nodeType === AjfNodeType.AjfSlide
|
|
34
|
-
return '
|
|
33
|
+
if (node.nodeType === AjfNodeType.AjfSlide) {
|
|
34
|
+
return 'folder';
|
|
35
|
+
}
|
|
36
|
+
if (node.nodeType === AjfNodeType.AjfRepeatingSlide) {
|
|
37
|
+
return 'create_new_folder';
|
|
35
38
|
}
|
|
36
39
|
if (node.nodeType !== AjfNodeType.AjfField) {
|
|
37
40
|
return 'broken_image';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ajf-material-node-icon.mjs","sources":["../../../projects/material/node-icon/src/node-icon.ts","../../../projects/material/node-icon/src/node-icon.html","../../../projects/material/node-icon/src/node-icon-module.ts","../../../projects/material/node-icon/src/public_api.ts","../../../projects/material/node-icon/src/ajf-material-node-icon.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfField, AjfFieldType, AjfNode, AjfNodeType} from '@ajf/core/forms';\nimport {AjfNodeIcon as CoreNodeIcon} from '@ajf/core/node-icon';\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-node-icon',\n templateUrl: 'node-icon.html',\n styleUrls: ['node-icon.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfNodeIcon extends CoreNodeIcon {\n matIcon(node: AjfNode): string {\n if (node.nodeType === AjfNodeType.AjfSlide
|
|
1
|
+
{"version":3,"file":"ajf-material-node-icon.mjs","sources":["../../../projects/material/node-icon/src/node-icon.ts","../../../projects/material/node-icon/src/node-icon.html","../../../projects/material/node-icon/src/node-icon-module.ts","../../../projects/material/node-icon/src/public_api.ts","../../../projects/material/node-icon/src/ajf-material-node-icon.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfField, AjfFieldType, AjfNode, AjfNodeType} from '@ajf/core/forms';\nimport {AjfNodeIcon as CoreNodeIcon} from '@ajf/core/node-icon';\nimport {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ajf-node-icon',\n templateUrl: 'node-icon.html',\n styleUrls: ['node-icon.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AjfNodeIcon extends CoreNodeIcon {\n matIcon(node: AjfNode): string {\n if (node.nodeType === AjfNodeType.AjfSlide) {\n return 'folder';\n }\n if (node.nodeType === AjfNodeType.AjfRepeatingSlide) {\n return 'create_new_folder';\n }\n if (node.nodeType !== AjfNodeType.AjfField) {\n return 'broken_image';\n }\n switch ((node as AjfField).fieldType as AjfFieldType) {\n case AjfFieldType.String:\n case AjfFieldType.Text:\n return 'abc';\n case AjfFieldType.Number:\n case AjfFieldType.Range:\n return 'pin';\n case AjfFieldType.Boolean:\n return 'toggle_off';\n case AjfFieldType.SingleChoice:\n return 'format_list_bulleted';\n case AjfFieldType.MultipleChoice:\n return 'format_list_numbered';\n case AjfFieldType.Formula:\n return 'code';\n case AjfFieldType.Empty:\n return 'html';\n case AjfFieldType.Date:\n case AjfFieldType.DateInput:\n return 'calendar_month';\n case AjfFieldType.Time:\n return 'access_time';\n case AjfFieldType.Table:\n return 'grid_on';\n case AjfFieldType.Geolocation:\n return 'location_on';\n case AjfFieldType.Barcode:\n return 'qr_code_2';\n case AjfFieldType.File:\n return 'attach_file';\n case AjfFieldType.Image:\n return 'image';\n case AjfFieldType.VideoUrl:\n return 'videocam';\n case AjfFieldType.Signature:\n return 'draw';\n default:\n return 'broken_image';\n }\n }\n}\n","<ng-template [ngIf]=\"node\">\n <mat-icon>{{matIcon(node)}}</mat-icon>\n</ng-template>\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatIconModule} from '@angular/material/icon';\n\nimport {AjfNodeIcon} from './node-icon';\n\n@NgModule({\n imports: [CommonModule, MatIconModule],\n declarations: [AjfNodeIcon],\n exports: [AjfNodeIcon],\n})\nexport class AjfNodeIconModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './node-icon-module';\nexport * from './node-icon';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["CoreNodeIcon"],"mappings":"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"}
|
|
@@ -11,32 +11,33 @@ import * as i9 from "./string-identifier-dialog";
|
|
|
11
11
|
import * as i10 from "./validation-condition-editor-dialog";
|
|
12
12
|
import * as i11 from "./warning-condition-editor-dialog";
|
|
13
13
|
import * as i12 from "./form-builder";
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "@
|
|
16
|
-
import * as i15 from "@angular/
|
|
17
|
-
import * as i16 from "@angular/
|
|
18
|
-
import * as i17 from "@angular/
|
|
19
|
-
import * as i18 from "@angular/material/
|
|
20
|
-
import * as i19 from "@angular/material/
|
|
21
|
-
import * as i20 from "@angular/material/
|
|
22
|
-
import * as i21 from "@angular/material/
|
|
23
|
-
import * as i22 from "@angular/material/
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
25
|
-
import * as i24 from "@angular/material/
|
|
26
|
-
import * as i25 from "@angular/material/
|
|
27
|
-
import * as i26 from "@angular/material/
|
|
28
|
-
import * as i27 from "@angular/material/
|
|
29
|
-
import * as i28 from "@angular/material/
|
|
30
|
-
import * as i29 from "@angular/material/
|
|
31
|
-
import * as i30 from "@angular/material/
|
|
32
|
-
import * as i31 from "@angular/material/
|
|
33
|
-
import * as i32 from "@angular/material/
|
|
34
|
-
import * as i33 from "@angular/material/
|
|
35
|
-
import * as i34 from "@
|
|
36
|
-
import * as i35 from "@
|
|
37
|
-
import * as i36 from "@angular/material/
|
|
14
|
+
import * as i13 from "./node-type-filter.pipe";
|
|
15
|
+
import * as i14 from "@ajf/material/node-icon";
|
|
16
|
+
import * as i15 from "@angular/common";
|
|
17
|
+
import * as i16 from "@angular/cdk/drag-drop";
|
|
18
|
+
import * as i17 from "@angular/forms";
|
|
19
|
+
import * as i18 from "@angular/material/autocomplete";
|
|
20
|
+
import * as i19 from "@angular/material/button";
|
|
21
|
+
import * as i20 from "@angular/material/card";
|
|
22
|
+
import * as i21 from "@angular/material/checkbox";
|
|
23
|
+
import * as i22 from "@angular/material/chips";
|
|
24
|
+
import * as i23 from "@angular/material/dialog";
|
|
25
|
+
import * as i24 from "@angular/material/form-field";
|
|
26
|
+
import * as i25 from "@angular/material/icon";
|
|
27
|
+
import * as i26 from "@angular/material/input";
|
|
28
|
+
import * as i27 from "@angular/material/list";
|
|
29
|
+
import * as i28 from "@angular/material/menu";
|
|
30
|
+
import * as i29 from "@angular/material/select";
|
|
31
|
+
import * as i30 from "@angular/material/sidenav";
|
|
32
|
+
import * as i31 from "@angular/material/slider";
|
|
33
|
+
import * as i32 from "@angular/material/table";
|
|
34
|
+
import * as i33 from "@angular/material/toolbar";
|
|
35
|
+
import * as i34 from "@angular/material/tooltip";
|
|
36
|
+
import * as i35 from "@ajf/core/transloco";
|
|
37
|
+
import * as i36 from "@angular/material/expansion";
|
|
38
|
+
import * as i37 from "@angular/material/slide-toggle";
|
|
38
39
|
export declare class AjfFormBuilderModule {
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormBuilderModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AjfFormBuilderModule, [typeof i1.AjfFbBranchLine, typeof i2.AjfFbChoicesOriginEditor, typeof i3.AjfFbChoicesOriginEditorDialog, typeof i4.AjfFbConditionEditor, typeof i5.AjfFbConditionEditorDialog, typeof i6.AjfFbNodeEntry, typeof i7.AjfFbNodeProperties, typeof i8.AjfFbNodeTypeEntry, typeof i9.AjfFbStringIdentifierDialogComponent, typeof i10.AjfFbValidationConditionEditorDialog, typeof i11.AjfFbWarningConditionEditorDialog, typeof i12.AjfFormBuilder], [typeof
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AjfFormBuilderModule, [typeof i1.AjfFbBranchLine, typeof i2.AjfFbChoicesOriginEditor, typeof i3.AjfFbChoicesOriginEditorDialog, typeof i4.AjfFbConditionEditor, typeof i5.AjfFbConditionEditorDialog, typeof i6.AjfFbNodeEntry, typeof i7.AjfFbNodeProperties, typeof i8.AjfFbNodeTypeEntry, typeof i9.AjfFbStringIdentifierDialogComponent, typeof i10.AjfFbValidationConditionEditorDialog, typeof i11.AjfFbWarningConditionEditorDialog, typeof i12.AjfFormBuilder, typeof i13.NodeTypeFilterPipe], [typeof i14.AjfNodeIconModule, typeof i15.CommonModule, typeof i16.DragDropModule, typeof i17.FormsModule, typeof i18.MatAutocompleteModule, typeof i19.MatButtonModule, typeof i20.MatCardModule, typeof i21.MatCheckboxModule, typeof i22.MatChipsModule, typeof i23.MatDialogModule, typeof i24.MatFormFieldModule, typeof i25.MatIconModule, typeof i26.MatInputModule, typeof i27.MatListModule, typeof i28.MatMenuModule, typeof i29.MatSelectModule, typeof i30.MatSidenavModule, typeof i31.MatSliderModule, typeof i32.MatTableModule, typeof i33.MatToolbarModule, typeof i34.MatTooltipModule, typeof i17.ReactiveFormsModule, typeof i35.AjfTranslocoModule, typeof i36.MatExpansionModule, typeof i37.MatSlideToggleModule], [typeof i12.AjfFormBuilder]>;
|
|
41
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<AjfFormBuilderModule>;
|
|
42
43
|
}
|
|
@@ -261,6 +261,7 @@ export declare class AjfFormBuilderService {
|
|
|
261
261
|
*/
|
|
262
262
|
private _connectDropList;
|
|
263
263
|
private _findMaxNodeId;
|
|
264
|
+
private _extractNumberFromName;
|
|
264
265
|
private _initFormStreams;
|
|
265
266
|
private _initChoicesOriginsStreams;
|
|
266
267
|
private _initAttachmentsOriginsStreams;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* If not, see http://www.gnu.org/licenses/.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
import { AjfChoicesOrigin, AjfFieldWithChoices, AjfNode, AjfNumberField, AjfRangeField, AjfTableField } from '@ajf/core/forms';
|
|
22
|
+
import { AjfChoicesOrigin, AjfEmptyField, AjfFieldWithChoices, AjfNode, AjfNumberField, AjfRangeField, AjfTableField } from '@ajf/core/forms';
|
|
23
23
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
24
24
|
import { AbstractControl, UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
25
25
|
import { MatDialog } from '@angular/material/dialog';
|
|
@@ -152,6 +152,7 @@ export declare class AjfFbNodeProperties implements OnDestroy, OnInit {
|
|
|
152
152
|
removeTriggerCondition(idx: number): void;
|
|
153
153
|
isField(nodeEntry: AjfFormBuilderNodeEntry | null): boolean;
|
|
154
154
|
isNumericField(node: AjfNode): node is AjfNumberField;
|
|
155
|
+
isEmptyField(node: AjfNode): node is AjfEmptyField;
|
|
155
156
|
isFieldWithChoices(node: AjfNode): node is AjfFieldWithChoices<any>;
|
|
156
157
|
hasChoicesOriginRef(): Observable<boolean>;
|
|
157
158
|
isRangeField(node: AjfNode): node is AjfRangeField;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AjfFormBuilderNodeTypeEntry } from './form-builder-service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NodeTypeFilterPipe implements PipeTransform {
|
|
5
|
+
transform(nodeTypes: AjfFormBuilderNodeTypeEntry[], searchTerm: string): any[];
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodeTypeFilterPipe, never>;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NodeTypeFilterPipe, "nodeTypeFilter", false>;
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajf/material",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/gnucoop/ajf#readme",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@ajf/core": "18.0.
|
|
16
|
+
"@ajf/core": "18.0.5",
|
|
17
17
|
"@angular/animations": "^18.2.13",
|
|
18
18
|
"@angular/cdk": "^18.2.14",
|
|
19
19
|
"@angular/common": "^18.2.13",
|