@alfresco/adf-core 8.4.0-19232586891 → 8.4.0-19291296139

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.
@@ -98,28 +98,48 @@
98
98
  padding-right: 3px;
99
99
  }
100
100
 
101
- &-remove-row-button {
102
- margin-top: 20px;
103
-
104
- #{ms.$mat-icon} {
101
+ &-row {
102
+ display: flex;
103
+ flex-direction: row;
104
+ align-items: center;
105
+ justify-content: space-between;
106
+
107
+ &-remove-button {
108
+ padding: 0;
109
+ width: 30px;
110
+ height: 30px;
105
111
  display: flex;
106
- justify-content: center;
107
112
  align-items: center;
108
- font-size: 20px;
113
+ justify-content: center;
114
+
115
+ #{ms.$mat-icon} {
116
+ display: flex;
117
+ justify-content: center;
118
+ align-items: center;
119
+ font-size: 18px;
120
+ }
109
121
  }
110
122
  }
111
123
 
112
124
  &-container {
113
- padding: 0 10px;
114
-
115
- &-label {
116
- margin: 5px 0 5px -10px;
117
- }
125
+ padding: 0 15px;
118
126
 
119
127
  &-multiple {
120
128
  border-bottom: 1px solid rgba(0, 0, 0, 0.54);
121
129
  margin-bottom: 25px;
122
130
  }
131
+
132
+ &-disabled {
133
+ &.adf-grid-list-container-multiple {
134
+ border-bottom: 1px solid
135
+ var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
136
+ }
137
+
138
+ .adf-grid-list-row-label {
139
+ color: var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
140
+ cursor: default;
141
+ }
142
+ }
123
143
  }
124
144
  }
125
145
 
@@ -116,13 +116,18 @@ export declare class FormFieldModel extends FormWidgetModel {
116
116
  private getFieldNameWithLabel;
117
117
  private getProcessVariableValue;
118
118
  private containerFactory;
119
+ private setupParentConfig;
119
120
  private repeatableSectionFactory;
120
121
  private getNumberOfRows;
121
122
  private createRow;
122
123
  private createColumns;
124
+ private updateRepeatableSectionReadOnlyState;
125
+ private updateInnerSectionReadOnlyState;
126
+ private getRepeatableSectionFieldReadOnlyState;
123
127
  private getUniqueId;
124
128
  private updateChildrenFieldsRowIndex;
125
129
  private createInitialValue;
130
+ private getFieldId;
126
131
  private updateContainerColspan;
127
132
  addRow(fields: any, form: any): void;
128
133
  private shouldAddRow;
@@ -130,6 +135,8 @@ export declare class FormFieldModel extends FormWidgetModel {
130
135
  private shouldRemoveRow;
131
136
  parseValue(json: any, initialValue?: any): any;
132
137
  updateForm(): void;
138
+ getFormValue(): any;
139
+ private updateValue;
133
140
  private updateRepeatableSectionValue;
134
141
  /**
135
142
  * Check if the field type is invalid, requires a type to be a `container`
@@ -4,7 +4,6 @@ export declare class RepeatWidgetComponent {
4
4
  element: ContainerModel;
5
5
  isEditor: boolean;
6
6
  addRow(): void;
7
- getAddedRowsCount(): number;
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RepeatWidgetComponent, never>;
9
8
  static ɵcmp: i0.ɵɵComponentDeclaration<RepeatWidgetComponent, "adf-repeat-widget", never, { "element": { "alias": "element"; "required": false; }; "isEditor": { "alias": "isEditor"; "required": false; }; }, {}, never, ["*"], true, never>;
10
9
  }
@@ -8,10 +8,6 @@
8
8
  font-weight: var(--adf-header-font-weight);
9
9
  color: var(--adf-header-color);
10
10
  line-height: normal;
11
-
12
- &.adf-collapsible {
13
- cursor: pointer;
14
- }
15
11
  }
16
12
 
17
13
  &-row-action {
@@ -23,3 +19,18 @@
23
19
  font-size: 12px;
24
20
  }
25
21
  }
22
+
23
+ .adf-readonly {
24
+ .adf-container-widget {
25
+ &-repeat__text {
26
+ color: var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
27
+ border-bottom: 1px solid var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
28
+ cursor: default;
29
+ }
30
+
31
+ &-row-limit {
32
+ color: var(--mdc-text-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
33
+ font-size: 12px;
34
+ }
35
+ }
36
+ }
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-19232586891",
4
+ "version": "8.4.0-19291296139",
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-19232586891",
67
- "@alfresco/adf-extensions": ">=8.4.0-19232586891",
66
+ "@alfresco/js-api": ">=9.4.0-19291296139",
67
+ "@alfresco/adf-extensions": ">=8.4.0-19291296139",
68
68
  "minimatch": ">=10.0.0",
69
69
  "pdfjs-dist": ">=3.3.122"
70
70
  },