@alfresco/adf-core 8.4.0-19731002190 → 8.4.0-19736246396

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.
@@ -11,10 +11,7 @@
11
11
  display: flex;
12
12
  align-items: center;
13
13
  justify-content: space-between;
14
- top: 6px;
15
14
  position: relative;
16
- left: 12px;
17
- height: 20px;
18
15
 
19
16
  #{ms.$mat-icon} {
20
17
  opacity: 0.5;
@@ -31,7 +28,6 @@
31
28
  .adf-datepicker-span-button {
32
29
  flex: 1 0 auto;
33
30
  font-size: 14px;
34
- top: 10px;
35
31
  position: relative;
36
32
  }
37
33
  }
@@ -43,11 +39,8 @@
43
39
  }
44
40
 
45
41
  .adf-property-value {
46
- padding-top: 6px;
47
- padding-bottom: 6px;
48
42
  line-height: 20px;
49
43
  color: var(--adf-metadata-property-panel-title-color);
50
- margin-top: 10px;
51
44
 
52
45
  &.adf-property-value-editable {
53
46
  display: flex;
@@ -55,19 +48,6 @@
55
48
  border-radius: 6px;
56
49
  border-bottom: inherit;
57
50
  padding-left: 0;
58
-
59
- &:not(.adf-property-readonly-value) {
60
- margin-top: 35px;
61
- }
62
-
63
- .adf-date-reset-icon {
64
- position: relative;
65
- padding: 0;
66
- }
67
-
68
- .adf-dateitem-picker-toggle {
69
- position: relative;
70
- }
71
51
  }
72
52
 
73
53
  &.adf-property-readonly-value {
@@ -84,10 +64,6 @@
84
64
  margin: 0;
85
65
  padding: 0;
86
66
  float: right;
87
-
88
- &#{ms.$mat-input-element}#{ms.$mat-form-field-input-control} {
89
- margin-top: 35px;
90
- }
91
67
  }
92
68
 
93
69
  .adf-dateitem-chip-list-container.adf-property-field {
@@ -85,6 +85,7 @@ export declare class FormModel implements ProcessFormModel {
85
85
  variables: FormVariableModel[];
86
86
  constructor(json?: any, formValues?: FormValues, readOnly?: boolean, formService?: FormValidationService, enableFixedSpace?: boolean, injectedFieldValidators?: FormFieldValidator[]);
87
87
  onFormFieldChanged(field: FormFieldModel): void;
88
+ onRepeatableSectionChanged(): void;
88
89
  /**
89
90
  * Validates entire form and all form fields.
90
91
  */
@@ -128,12 +129,14 @@ export declare class FormModel implements ProcessFormModel {
128
129
  hasFields(): boolean;
129
130
  hasOutcomes(): boolean;
130
131
  getFieldById(fieldId: string): FormFieldModel;
131
- getFormFields(filterTypes?: string[]): FormFieldModel[];
132
+ getFormFields(filterTypes?: string[], isDynamic?: boolean): FormFieldModel[];
132
133
  private processFields;
133
134
  private isContainerField;
134
135
  private isFormField;
135
136
  private isSectionField;
137
+ private isRepeatableSectionField;
136
138
  private handleSectionField;
139
+ private handleRepeatableSectionField;
137
140
  private handleContainerField;
138
141
  private handleSingleField;
139
142
  private filterFieldsByType;
@@ -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 { RepeatableSectionModel } from '../repeatable-section.model';
18
+ import { WidgetVisibilityModel } from '../../../../models/widget-visibility.model';
19
+ export declare const formFieldVisibilityConditionHandler: {
20
+ getVisibilityCondition: (id: string, json?: any, parent?: RepeatableSectionModel) => WidgetVisibilityModel | undefined;
21
+ };
@@ -45,3 +45,4 @@ export * from './widget-schema.model';
45
45
  export * from './theme.model';
46
46
  export * from './predefined-theme';
47
47
  export * from './displayable-cm-properties.model';
48
+ export * from './repeatable-section.model';
@@ -24,3 +24,4 @@ export declare const complexVisibilityJsonVisible: any;
24
24
  export declare const complexVisibilityJsonNotVisible: any;
25
25
  export declare const tabVisibilityJsonMock: any;
26
26
  export declare const tabInvalidFormVisibility: any;
27
+ export declare const repeatableSectionFormVisibility: any;
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-19731002190",
4
+ "version": "8.4.0-19736246396",
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-19731002190",
67
- "@alfresco/adf-extensions": ">=8.4.0-19731002190",
66
+ "@alfresco/js-api": ">=9.4.0-19736246396",
67
+ "@alfresco/adf-extensions": ">=8.4.0-19736246396",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122"
70
70
  },