@smartbit4all/ng-client 7.3.42 → 7.3.44
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/HTML-WIDGET.md +744 -744
- package/MIGRATION-7.0.md +2280 -2280
- package/README.md +206 -206
- package/WIDGETS.md +272 -272
- package/fesm2022/smartbit4all-ng-client.mjs +772 -649
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-7.3.44.tgz +0 -0
- package/src/styles/_ng-client-styles.scss +188 -188
- package/types/smartbit4all-ng-client.d.ts +17 -15
- package/smartbit4all-ng-client-7.3.42.tgz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartbit4all/ng-client",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.44",
|
|
4
4
|
"description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
Binary file
|
|
@@ -1,188 +1,188 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
$default-colors: (
|
|
4
|
-
primary: #4763ff,
|
|
5
|
-
secondary: #a6aabd60,
|
|
6
|
-
accent: #20b6a8,
|
|
7
|
-
warn: #d51d1d,
|
|
8
|
-
success: #16a34a,
|
|
9
|
-
accent-grey: #6b7280,
|
|
10
|
-
text: #132033,
|
|
11
|
-
text-inverted: #ffffff,
|
|
12
|
-
text-muted: #68778e,
|
|
13
|
-
) !default;
|
|
14
|
-
|
|
15
|
-
// Text color on the raised variant. A color missing from this map gets white.
|
|
16
|
-
$default-text-colors: (
|
|
17
|
-
primary: var(--text-inverted-color),
|
|
18
|
-
) !default;
|
|
19
|
-
|
|
20
|
-
$default-tokens: (
|
|
21
|
-
// Backgrounds
|
|
22
|
-
color-bg: #ffffff,
|
|
23
|
-
color-surface: #f6f8fb,
|
|
24
|
-
color-surface-alt: #f9fbff,
|
|
25
|
-
|
|
26
|
-
// Borders
|
|
27
|
-
color-border: #e4eaf2,
|
|
28
|
-
|
|
29
|
-
// Tree
|
|
30
|
-
tree-active-background: var(--accent-color),
|
|
31
|
-
// Semantic
|
|
32
|
-
color-danger: var(--warn-color),
|
|
33
|
-
// UI chrome
|
|
34
|
-
color-chip: #e8f4fd,
|
|
35
|
-
color-input: #ffffff,
|
|
36
|
-
|
|
37
|
-
// Shadows
|
|
38
|
-
shadow-strong: 0 18px 50px rgba(1, 132, 228, 0.1),
|
|
39
|
-
shadow-soft: 0 8px 22px rgba(1, 132, 228, 0.07),
|
|
40
|
-
border-radius: 0.5rem,
|
|
41
|
-
default-padding: 0.5rem
|
|
42
|
-
) !default;
|
|
43
|
-
|
|
44
|
-
@function -text-color($text-colors, $name) {
|
|
45
|
-
$value: map.get($text-colors, $name);
|
|
46
|
-
@if $value {
|
|
47
|
-
@return $value;
|
|
48
|
-
}
|
|
49
|
-
@return var(--text-color);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Emits CSS variables only, so the project chooses the selector.
|
|
53
|
-
// Usage: body { @include sb.tokens($colors, $text-colors, $overrides); }
|
|
54
|
-
@mixin tokens($colors: (), $text-colors: (), $overrides: ()) {
|
|
55
|
-
$all-colors: map.merge($default-colors, $colors);
|
|
56
|
-
$all-text-colors: map.merge($default-text-colors, $text-colors);
|
|
57
|
-
$all-tokens: map.merge($default-tokens, $overrides);
|
|
58
|
-
|
|
59
|
-
// One --<name>-color and one --<name>-text-color for every color
|
|
60
|
-
@each $name, $color in $all-colors {
|
|
61
|
-
--#{$name}-color: #{$color};
|
|
62
|
-
--#{$name}-text-color: #{-text-color($all-text-colors, $name)};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@each $name, $value in $all-tokens {
|
|
66
|
-
@if $name == font-family {
|
|
67
|
-
font-family: #{$value} !important;
|
|
68
|
-
} @else {
|
|
69
|
-
--#{$name}: #{$value};
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// @use '@smartbit4all/ng-client/styles' as sb;
|
|
75
|
-
// @include sb.buttons;
|
|
76
|
-
// @include sb.buttons((new-color: #ff5500), (new-color: white));
|
|
77
|
-
@mixin buttons($colors: (), $text-colors: ()) {
|
|
78
|
-
$all-colors: map.merge($default-colors, $colors);
|
|
79
|
-
$all-text-colors: map.merge($default-text-colors, $text-colors);
|
|
80
|
-
|
|
81
|
-
@each $name, $color in $all-colors {
|
|
82
|
-
$text: -text-color($all-text-colors, $name);
|
|
83
|
-
$color: var(--#{$name}-color, #{$color});
|
|
84
|
-
|
|
85
|
-
.sb4-raised.sb4-#{$name} {
|
|
86
|
-
background-color: #{$color} !important;
|
|
87
|
-
color: #{$text} !important;
|
|
88
|
-
stroke: #{$text} !important;
|
|
89
|
-
border: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.sb4-raised.sb4-#{$name}:hover {
|
|
93
|
-
background-color: rgb(from #{$color} r g b / 0.8);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.sb4-raised.sb4-#{$name} .mdc-button__label {
|
|
97
|
-
color: #{$text};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.sb4-normal.sb4-#{$name} {
|
|
101
|
-
background-color: transparent;
|
|
102
|
-
border: 1px solid #{$color};
|
|
103
|
-
color: #{$color} !important;
|
|
104
|
-
stroke: #{$color};
|
|
105
|
-
box-shadow: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.sb4-flat.sb4-#{$name} {
|
|
109
|
-
background-color: transparent;
|
|
110
|
-
border: 1px solid transparent;
|
|
111
|
-
color: #{$color} !important;
|
|
112
|
-
stroke: #{$color};
|
|
113
|
-
box-shadow: none;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.sb4-flat.sb4-#{$name}.sb4-view-activated {
|
|
117
|
-
--sb4-view-activated-bg: transparent !important;
|
|
118
|
-
--sb4-view-activated-color: #{$color} !important;
|
|
119
|
-
border-bottom: 1px solid #{$color} !important;
|
|
120
|
-
border-bottom-right-radius: unset !important;
|
|
121
|
-
border-bottom-left-radius: unset !important;
|
|
122
|
-
|
|
123
|
-
.mat-icon {
|
|
124
|
-
color: #{$color} !important;
|
|
125
|
-
fill: #{$color} !important;
|
|
126
|
-
stroke: #{$color} !important;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.sb4-minifab.sb4-#{$name} {
|
|
131
|
-
background-color: transparent;
|
|
132
|
-
border: 1px solid #{$color};
|
|
133
|
-
color: #{$color};
|
|
134
|
-
box-shadow: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.sb4-icon.sb4-#{$name} {
|
|
138
|
-
background-color: transparent;
|
|
139
|
-
border: 1px solid transparent;
|
|
140
|
-
color: #{$color};
|
|
141
|
-
box-shadow: none;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.sb4-minifab.sb4-#{$name}:hover,
|
|
145
|
-
.sb4-normal.sb4-#{$name}:hover {
|
|
146
|
-
background-color: rgb(from #{$color} r g b / 0.1);
|
|
147
|
-
border-color: #{$color};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.sb4-flat.sb4-#{$name}:hover {
|
|
151
|
-
background-color: rgb(from #{$color} r g b / 0.1);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.sb4-minifab.sb4-#{$name}:focus,
|
|
155
|
-
.sb4-minifab.sb4-#{$name}:hover {
|
|
156
|
-
box-shadow: none;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.sb4-minifab.sb4-#{$name},
|
|
160
|
-
.sb4-normal.sb4-#{$name},
|
|
161
|
-
.sb4-flat.sb4-#{$name} {
|
|
162
|
-
.mdc-button__label {
|
|
163
|
-
color: #{$color};
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.sb4-raised.sb4-#{$name} mat-icon,
|
|
168
|
-
.sb4-raised.sb4-#{$name} .mat-icon,
|
|
169
|
-
.sb4-raised.sb4-#{$name} .pi {
|
|
170
|
-
color: #{$text} !important;
|
|
171
|
-
fill: #{$text} !important;
|
|
172
|
-
stroke: #{$text} !important;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.sb4-icon.sb4-#{$name},
|
|
176
|
-
.sb4-minifab.sb4-#{$name},
|
|
177
|
-
.sb4-normal.sb4-#{$name},
|
|
178
|
-
.sb4-flat.sb4-#{$name} {
|
|
179
|
-
mat-icon,
|
|
180
|
-
.mat-icon,
|
|
181
|
-
.pi {
|
|
182
|
-
color: #{$color} !important;
|
|
183
|
-
fill: #{$color} !important;
|
|
184
|
-
stroke: #{$color} !important;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$default-colors: (
|
|
4
|
+
primary: #4763ff,
|
|
5
|
+
secondary: #a6aabd60,
|
|
6
|
+
accent: #20b6a8,
|
|
7
|
+
warn: #d51d1d,
|
|
8
|
+
success: #16a34a,
|
|
9
|
+
accent-grey: #6b7280,
|
|
10
|
+
text: #132033,
|
|
11
|
+
text-inverted: #ffffff,
|
|
12
|
+
text-muted: #68778e,
|
|
13
|
+
) !default;
|
|
14
|
+
|
|
15
|
+
// Text color on the raised variant. A color missing from this map gets white.
|
|
16
|
+
$default-text-colors: (
|
|
17
|
+
primary: var(--text-inverted-color),
|
|
18
|
+
) !default;
|
|
19
|
+
|
|
20
|
+
$default-tokens: (
|
|
21
|
+
// Backgrounds
|
|
22
|
+
color-bg: #ffffff,
|
|
23
|
+
color-surface: #f6f8fb,
|
|
24
|
+
color-surface-alt: #f9fbff,
|
|
25
|
+
|
|
26
|
+
// Borders
|
|
27
|
+
color-border: #e4eaf2,
|
|
28
|
+
|
|
29
|
+
// Tree
|
|
30
|
+
tree-active-background: var(--accent-color),
|
|
31
|
+
// Semantic
|
|
32
|
+
color-danger: var(--warn-color),
|
|
33
|
+
// UI chrome
|
|
34
|
+
color-chip: #e8f4fd,
|
|
35
|
+
color-input: #ffffff,
|
|
36
|
+
|
|
37
|
+
// Shadows
|
|
38
|
+
shadow-strong: 0 18px 50px rgba(1, 132, 228, 0.1),
|
|
39
|
+
shadow-soft: 0 8px 22px rgba(1, 132, 228, 0.07),
|
|
40
|
+
border-radius: 0.5rem,
|
|
41
|
+
default-padding: 0.5rem
|
|
42
|
+
) !default;
|
|
43
|
+
|
|
44
|
+
@function -text-color($text-colors, $name) {
|
|
45
|
+
$value: map.get($text-colors, $name);
|
|
46
|
+
@if $value {
|
|
47
|
+
@return $value;
|
|
48
|
+
}
|
|
49
|
+
@return var(--text-color);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Emits CSS variables only, so the project chooses the selector.
|
|
53
|
+
// Usage: body { @include sb.tokens($colors, $text-colors, $overrides); }
|
|
54
|
+
@mixin tokens($colors: (), $text-colors: (), $overrides: ()) {
|
|
55
|
+
$all-colors: map.merge($default-colors, $colors);
|
|
56
|
+
$all-text-colors: map.merge($default-text-colors, $text-colors);
|
|
57
|
+
$all-tokens: map.merge($default-tokens, $overrides);
|
|
58
|
+
|
|
59
|
+
// One --<name>-color and one --<name>-text-color for every color
|
|
60
|
+
@each $name, $color in $all-colors {
|
|
61
|
+
--#{$name}-color: #{$color};
|
|
62
|
+
--#{$name}-text-color: #{-text-color($all-text-colors, $name)};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@each $name, $value in $all-tokens {
|
|
66
|
+
@if $name == font-family {
|
|
67
|
+
font-family: #{$value} !important;
|
|
68
|
+
} @else {
|
|
69
|
+
--#{$name}: #{$value};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// @use '@smartbit4all/ng-client/styles' as sb;
|
|
75
|
+
// @include sb.buttons;
|
|
76
|
+
// @include sb.buttons((new-color: #ff5500), (new-color: white));
|
|
77
|
+
@mixin buttons($colors: (), $text-colors: ()) {
|
|
78
|
+
$all-colors: map.merge($default-colors, $colors);
|
|
79
|
+
$all-text-colors: map.merge($default-text-colors, $text-colors);
|
|
80
|
+
|
|
81
|
+
@each $name, $color in $all-colors {
|
|
82
|
+
$text: -text-color($all-text-colors, $name);
|
|
83
|
+
$color: var(--#{$name}-color, #{$color});
|
|
84
|
+
|
|
85
|
+
.sb4-raised.sb4-#{$name} {
|
|
86
|
+
background-color: #{$color} !important;
|
|
87
|
+
color: #{$text} !important;
|
|
88
|
+
stroke: #{$text} !important;
|
|
89
|
+
border: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.sb4-raised.sb4-#{$name}:hover {
|
|
93
|
+
background-color: rgb(from #{$color} r g b / 0.8);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.sb4-raised.sb4-#{$name} .mdc-button__label {
|
|
97
|
+
color: #{$text};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.sb4-normal.sb4-#{$name} {
|
|
101
|
+
background-color: transparent;
|
|
102
|
+
border: 1px solid #{$color};
|
|
103
|
+
color: #{$color} !important;
|
|
104
|
+
stroke: #{$color};
|
|
105
|
+
box-shadow: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.sb4-flat.sb4-#{$name} {
|
|
109
|
+
background-color: transparent;
|
|
110
|
+
border: 1px solid transparent;
|
|
111
|
+
color: #{$color} !important;
|
|
112
|
+
stroke: #{$color};
|
|
113
|
+
box-shadow: none;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sb4-flat.sb4-#{$name}.sb4-view-activated {
|
|
117
|
+
--sb4-view-activated-bg: transparent !important;
|
|
118
|
+
--sb4-view-activated-color: #{$color} !important;
|
|
119
|
+
border-bottom: 1px solid #{$color} !important;
|
|
120
|
+
border-bottom-right-radius: unset !important;
|
|
121
|
+
border-bottom-left-radius: unset !important;
|
|
122
|
+
|
|
123
|
+
.mat-icon {
|
|
124
|
+
color: #{$color} !important;
|
|
125
|
+
fill: #{$color} !important;
|
|
126
|
+
stroke: #{$color} !important;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sb4-minifab.sb4-#{$name} {
|
|
131
|
+
background-color: transparent;
|
|
132
|
+
border: 1px solid #{$color};
|
|
133
|
+
color: #{$color};
|
|
134
|
+
box-shadow: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.sb4-icon.sb4-#{$name} {
|
|
138
|
+
background-color: transparent;
|
|
139
|
+
border: 1px solid transparent;
|
|
140
|
+
color: #{$color};
|
|
141
|
+
box-shadow: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sb4-minifab.sb4-#{$name}:hover,
|
|
145
|
+
.sb4-normal.sb4-#{$name}:hover {
|
|
146
|
+
background-color: rgb(from #{$color} r g b / 0.1);
|
|
147
|
+
border-color: #{$color};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.sb4-flat.sb4-#{$name}:hover {
|
|
151
|
+
background-color: rgb(from #{$color} r g b / 0.1);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.sb4-minifab.sb4-#{$name}:focus,
|
|
155
|
+
.sb4-minifab.sb4-#{$name}:hover {
|
|
156
|
+
box-shadow: none;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.sb4-minifab.sb4-#{$name},
|
|
160
|
+
.sb4-normal.sb4-#{$name},
|
|
161
|
+
.sb4-flat.sb4-#{$name} {
|
|
162
|
+
.mdc-button__label {
|
|
163
|
+
color: #{$color};
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.sb4-raised.sb4-#{$name} mat-icon,
|
|
168
|
+
.sb4-raised.sb4-#{$name} .mat-icon,
|
|
169
|
+
.sb4-raised.sb4-#{$name} .pi {
|
|
170
|
+
color: #{$text} !important;
|
|
171
|
+
fill: #{$text} !important;
|
|
172
|
+
stroke: #{$text} !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.sb4-icon.sb4-#{$name},
|
|
176
|
+
.sb4-minifab.sb4-#{$name},
|
|
177
|
+
.sb4-normal.sb4-#{$name},
|
|
178
|
+
.sb4-flat.sb4-#{$name} {
|
|
179
|
+
mat-icon,
|
|
180
|
+
.mat-icon,
|
|
181
|
+
.pi {
|
|
182
|
+
color: #{$color} !important;
|
|
183
|
+
fill: #{$color} !important;
|
|
184
|
+
stroke: #{$color} !important;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -2141,13 +2141,7 @@ interface FileUploaderProperties {
|
|
|
2141
2141
|
* Where the widget takes a file from: the file picker, the device camera for a photo or a video, the microphone. Without FILE the widget is capture-only and uploads a capture at once.
|
|
2142
2142
|
*/
|
|
2143
2143
|
sources?: Array<FileUploaderSource>;
|
|
2144
|
-
/**
|
|
2145
|
-
* Whether the widget shows the stored file itself (image, video player, audio player) on the card.
|
|
2146
|
-
*/
|
|
2147
2144
|
thumbnail?: FileUploaderThumbnail;
|
|
2148
|
-
/**
|
|
2149
|
-
* The widget\'s Capture Settings; absent = the defaults.
|
|
2150
|
-
*/
|
|
2151
2145
|
capture?: CaptureProperties;
|
|
2152
2146
|
}
|
|
2153
2147
|
|
|
@@ -2232,13 +2226,7 @@ interface MultiFileUploaderProperties {
|
|
|
2232
2226
|
* Where the widget takes a file from: the file picker, the device camera for a photo or a video, the microphone. Without FILE the widget is capture-only and uploads a capture at once.
|
|
2233
2227
|
*/
|
|
2234
2228
|
sources?: Array<FileUploaderSource>;
|
|
2235
|
-
/**
|
|
2236
|
-
* Whether the widget shows the stored file itself (image, video player, audio player) on the card.
|
|
2237
|
-
*/
|
|
2238
2229
|
thumbnail?: FileUploaderThumbnail;
|
|
2239
|
-
/**
|
|
2240
|
-
* The widget\'s Capture Settings; absent = the defaults.
|
|
2241
|
-
*/
|
|
2242
2230
|
capture?: CaptureProperties;
|
|
2243
2231
|
}
|
|
2244
2232
|
|
|
@@ -2254,7 +2242,7 @@ interface MultiFileUploaderProperties {
|
|
|
2254
2242
|
* Do not edit the class manually.
|
|
2255
2243
|
*/
|
|
2256
2244
|
/**
|
|
2257
|
-
* When a multi-select lists a select-all box atop its panel: never, only along with the filter input (from the filter's minimum count of options on), or always.
|
|
2245
|
+
* When a multi-select lists a select-all box atop its panel: never, only along with the filter input (from the filter\'s minimum count of options on), or always.
|
|
2258
2246
|
*/
|
|
2259
2247
|
declare enum SelectAllMode {
|
|
2260
2248
|
NONE = "NONE",
|
|
@@ -2315,6 +2303,9 @@ interface PropertyMapping {
|
|
|
2315
2303
|
* Do not edit the class manually.
|
|
2316
2304
|
*/
|
|
2317
2305
|
|
|
2306
|
+
/**
|
|
2307
|
+
* Properties of the deprecated recording uploader; use a file widget with sources [MICROPHONE].
|
|
2308
|
+
*/
|
|
2318
2309
|
interface RecordingUploaderProperties {
|
|
2319
2310
|
uploadAction?: UiAction;
|
|
2320
2311
|
openDirection?: RecordingUploaderPropertiesOpenDirectionEnum;
|
|
@@ -5808,6 +5799,10 @@ interface UploadedFile {
|
|
|
5808
5799
|
filename?: string;
|
|
5809
5800
|
size?: number;
|
|
5810
5801
|
data?: BinaryData;
|
|
5802
|
+
/**
|
|
5803
|
+
* The type the client declared for the file; absent when it declared none. Untrusted: it only picks between the mime types of an ambiguous extension.
|
|
5804
|
+
*/
|
|
5805
|
+
contentType?: string;
|
|
5811
5806
|
}
|
|
5812
5807
|
|
|
5813
5808
|
/**
|
|
@@ -7804,6 +7799,9 @@ declare enum GridColumnContentType {
|
|
|
7804
7799
|
* https://openapi-generator.tech
|
|
7805
7800
|
* Do not edit the class manually.
|
|
7806
7801
|
*/
|
|
7802
|
+
/**
|
|
7803
|
+
* A button in the header of a TREE_GRID: expand every row, expand or collapse one more level, or collapse every row.
|
|
7804
|
+
*/
|
|
7807
7805
|
declare enum TreeGridControl {
|
|
7808
7806
|
EXPAND_ALL = "EXPAND_ALL",
|
|
7809
7807
|
EXPAND_LEVEL = "EXPAND_LEVEL",
|
|
@@ -8329,7 +8327,7 @@ declare enum GridSelectionType {
|
|
|
8329
8327
|
* Do not edit the class manually.
|
|
8330
8328
|
*/
|
|
8331
8329
|
/**
|
|
8332
|
-
* The gesture on a row that fires the default row action. Without a value the kind of the grid decides: a click on a card, a double click on a table row.
|
|
8330
|
+
* The gesture on a row that fires the default row action. Without a value the kind of the grid decides: a click on a card, a double click on a table row. An explicit value holds for a card and a table row alike: one applicable default row action fires directly, several open a menu at the pointer. A click trigger takes the click from the selection, so a row selects on click only when the gesture is a double click or the row has no default row action.
|
|
8333
8331
|
*/
|
|
8334
8332
|
declare enum GridDefaultRowActionTrigger {
|
|
8335
8333
|
CLICK = "click",
|
|
@@ -8408,6 +8406,7 @@ interface GridColumnMeta {
|
|
|
8408
8406
|
*/
|
|
8409
8407
|
interface GridViewDescriptor {
|
|
8410
8408
|
label?: string;
|
|
8409
|
+
title?: string;
|
|
8411
8410
|
icon?: string;
|
|
8412
8411
|
kind?: GridViewDescriptorKindEnum;
|
|
8413
8412
|
/**
|
|
@@ -8446,7 +8445,7 @@ interface GridViewDescriptor {
|
|
|
8446
8445
|
/**
|
|
8447
8446
|
* The controls the header of a TREE_GRID shows, in this order. Absent or null means all four, an empty list means none.
|
|
8448
8447
|
*/
|
|
8449
|
-
treeGridControls
|
|
8448
|
+
treeGridControls: Array<TreeGridControl> | null;
|
|
8450
8449
|
}
|
|
8451
8450
|
declare enum GridViewDescriptorKindEnum {
|
|
8452
8451
|
TABLE = "TABLE",
|
|
@@ -8535,6 +8534,9 @@ interface GridSelectionChange {
|
|
|
8535
8534
|
params: {
|
|
8536
8535
|
[key: string]: any;
|
|
8537
8536
|
};
|
|
8537
|
+
/**
|
|
8538
|
+
* Model sync, see UiActionRequest.modelSync in view-api.yaml.
|
|
8539
|
+
*/
|
|
8538
8540
|
modelSync?: ModelSync;
|
|
8539
8541
|
}
|
|
8540
8542
|
|
|
Binary file
|