@alfresco/adf-core 8.4.0-19425303160 → 8.4.0-19430228206
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/adf-core.mjs +54 -3
- package/fesm2022/adf-core.mjs.map +1 -1
- package/lib/form/components/widgets/core/form-field.model.d.ts +2 -8
- package/lib/form/components/widgets/core/handlers/form-field-rule.handler.d.ts +21 -0
- package/lib/form/components/widgets/core/repeatable-section.model.d.ts +25 -0
- package/package.json +3 -3
|
@@ -24,16 +24,10 @@ import { FormFieldRule } from './form-field-rule';
|
|
|
24
24
|
import { VariableConfig } from './form-field-variable-options';
|
|
25
25
|
import { DataColumn } from '../../../../datatable/data/data-column.model';
|
|
26
26
|
import { ContainerRowModel } from './container-row.model';
|
|
27
|
+
import { RepeatableSectionModel } from './repeatable-section.model';
|
|
27
28
|
export type FieldOptionType = 'rest' | 'manual' | 'variable';
|
|
28
29
|
export type FieldSelectionType = 'single' | 'multiple';
|
|
29
30
|
export type FieldAlignmentType = 'vertical' | 'horizontal';
|
|
30
|
-
interface RepeatableSectionModel {
|
|
31
|
-
id: string;
|
|
32
|
-
uid: string;
|
|
33
|
-
fields: FormFieldModel[];
|
|
34
|
-
rowIndex: number;
|
|
35
|
-
value?: any;
|
|
36
|
-
}
|
|
37
31
|
export declare class FormFieldModel extends FormWidgetModel {
|
|
38
32
|
private _value;
|
|
39
33
|
private _readOnly;
|
|
@@ -112,6 +106,7 @@ export declare class FormFieldModel extends FormWidgetModel {
|
|
|
112
106
|
private getEmptyOption;
|
|
113
107
|
private setValueForReadonlyType;
|
|
114
108
|
private getDefaultDateFormat;
|
|
109
|
+
private getId;
|
|
115
110
|
private isTypeaheadFieldType;
|
|
116
111
|
private getFieldNameWithLabel;
|
|
117
112
|
private getProcessVariableValue;
|
|
@@ -158,4 +153,3 @@ export declare class FormFieldModel extends FormWidgetModel {
|
|
|
158
153
|
private isDateTimeField;
|
|
159
154
|
private isCheckboxField;
|
|
160
155
|
}
|
|
161
|
-
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FormFieldRule } from '../form-field-rule';
|
|
18
|
+
import { RepeatableSectionModel } from '../repeatable-section.model';
|
|
19
|
+
export declare const formFieldRuleHandler: {
|
|
20
|
+
getRule: (id: string, rule?: FormFieldRule, parent?: RepeatableSectionModel) => FormFieldRule;
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FormFieldModel } from './form-field.model';
|
|
18
|
+
export declare const ROW_ID_PREFIX = "-Row";
|
|
19
|
+
export interface RepeatableSectionModel {
|
|
20
|
+
id: string;
|
|
21
|
+
uid: string;
|
|
22
|
+
fields: FormFieldModel[];
|
|
23
|
+
rowIndex: number;
|
|
24
|
+
value?: any;
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-core",
|
|
3
3
|
"description": "Alfresco ADF core",
|
|
4
|
-
"version": "8.4.0-
|
|
4
|
+
"version": "8.4.0-19430228206",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"@angular/router": ">=16.0.0",
|
|
64
64
|
"@mat-datetimepicker/core": ">=12.0.1",
|
|
65
65
|
"@ngx-translate/core": ">=16.0.0",
|
|
66
|
-
"@alfresco/js-api": ">=9.4.0-
|
|
67
|
-
"@alfresco/adf-extensions": ">=8.4.0-
|
|
66
|
+
"@alfresco/js-api": ">=9.4.0-19430228206",
|
|
67
|
+
"@alfresco/adf-extensions": ">=8.4.0-19430228206",
|
|
68
68
|
"minimatch": ">=10.0.0",
|
|
69
69
|
"pdfjs-dist": ">=3.3.122"
|
|
70
70
|
},
|