@smartbit4all/ng-client 7.3.49 → 7.3.51
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 +2334 -2310
- package/README.md +215 -206
- package/WIDGETS.md +272 -272
- package/fesm2022/smartbit4all-ng-client.mjs +281 -202
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-7.3.51.tgz +0 -0
- package/src/styles/_ng-client-styles.scss +188 -188
- package/types/smartbit4all-ng-client.d.ts +41 -3
- package/smartbit4all-ng-client-7.3.49.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.51",
|
|
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
|
+
}
|
|
@@ -86,6 +86,18 @@ interface SmartNgClientConfig {
|
|
|
86
86
|
gridMenuIcon?: string;
|
|
87
87
|
/** Icon of a tree node's action menu trigger. Default: `'more_vert'`. */
|
|
88
88
|
treeMenuIcon?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Stylesheet of the Material Symbols Outlined font the library's icons are drawn with, linked
|
|
91
|
+
* at start-up unless the document already loads that font. Default: the Google Fonts
|
|
92
|
+
* stylesheet ({@link SMART_ICON_FONT_URL}); `false` when the host loads the font in a way the
|
|
93
|
+
* library cannot see.
|
|
94
|
+
*/
|
|
95
|
+
iconFont?: string | false;
|
|
96
|
+
/**
|
|
97
|
+
* Draws every `<mat-icon>` that names no `fontSet` with Material Symbols Outlined too, the
|
|
98
|
+
* host's own included, so the Material Icons font is no longer needed. Default: `false`.
|
|
99
|
+
*/
|
|
100
|
+
materialSymbolsByDefault?: boolean;
|
|
89
101
|
/** Backend view name rendered by the built-in search page. */
|
|
90
102
|
searchPageName?: string;
|
|
91
103
|
/** Component name the built-in search page reports to the view context. */
|
|
@@ -156,7 +168,7 @@ interface SmartNgClientConfig {
|
|
|
156
168
|
valueSetStoreSize?: number;
|
|
157
169
|
}
|
|
158
170
|
/** {@link SmartNgClientConfig} with the library defaults filled in. */
|
|
159
|
-
type ResolvedSmartNgClientConfig = SmartNgClientConfig & Required<Pick<SmartNgClientConfig, 'gridMenuIcon' | 'treeMenuIcon' | 'dialogDisableClose' | 'dateLocale' | 'valueSetStoreSize'>> & {
|
|
171
|
+
type ResolvedSmartNgClientConfig = SmartNgClientConfig & Required<Pick<SmartNgClientConfig, 'gridMenuIcon' | 'treeMenuIcon' | 'iconFont' | 'dialogDisableClose' | 'dateLocale' | 'valueSetStoreSize'>> & {
|
|
160
172
|
errorDialog: Required<SmartErrorDialogLabels>;
|
|
161
173
|
messages: {
|
|
162
174
|
[key: string]: string;
|
|
@@ -870,6 +882,10 @@ interface UiActionDescriptor {
|
|
|
870
882
|
input2Dialog?: UiActionDialogDescriptor;
|
|
871
883
|
feedbackType?: UiActionFeedbackType;
|
|
872
884
|
feedbackText?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Optional text of the snackbar the client shows when the form validation of a submitting action fails. The placeholder {fields} is replaced by the client with the names of the invalid fields, separated by commas. If it is missing the client shows its default text.
|
|
887
|
+
*/
|
|
888
|
+
invalidFieldsText?: string;
|
|
873
889
|
badge?: BadgeDescriptor;
|
|
874
890
|
upload?: UiActionUploadDescriptor;
|
|
875
891
|
tooltip?: UiActionTooltip;
|
|
@@ -7031,6 +7047,8 @@ declare class SmartViewContextService implements OnDestroy {
|
|
|
7031
7047
|
private actionDescriptors?;
|
|
7032
7048
|
private moduleUrlsByModule?;
|
|
7033
7049
|
commonFeedbackText?: string;
|
|
7050
|
+
/** Default text of the invalid fields snackbar, used when the action's descriptor has none. */
|
|
7051
|
+
commonInvalidFieldsText?: string;
|
|
7034
7052
|
smartApiClients: Map<string, Subject$1<any>>;
|
|
7035
7053
|
constructor();
|
|
7036
7054
|
ngOnDestroy(): void;
|
|
@@ -9793,7 +9811,11 @@ declare class UiActionService implements OnDestroy {
|
|
|
9793
9811
|
private handleInputTypeUserSelect;
|
|
9794
9812
|
private performAction;
|
|
9795
9813
|
showSavedSnackbar(uiAction: UiAction): void;
|
|
9796
|
-
|
|
9814
|
+
/**
|
|
9815
|
+
* @param uiAction the submitting action: its descriptor may carry the text of the snackbar
|
|
9816
|
+
* (`invalidFieldsText`). Without it the default text is shown.
|
|
9817
|
+
*/
|
|
9818
|
+
showInvalidFieldsSnackbar(invalidFields: SmartFormInvalidFields, uiAction?: UiAction): void;
|
|
9797
9819
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionService, never>;
|
|
9798
9820
|
static ɵprov: i0.ɵɵInjectableDeclaration<UiActionService>;
|
|
9799
9821
|
}
|
|
@@ -11904,6 +11926,22 @@ declare class SmartIconService {
|
|
|
11904
11926
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartIconService>;
|
|
11905
11927
|
}
|
|
11906
11928
|
|
|
11929
|
+
/**
|
|
11930
|
+
* Stylesheet of the library's icon font with the default axis values only, which is all the
|
|
11931
|
+
* library renders. `display=block` keeps the ligature text hidden while the font arrives.
|
|
11932
|
+
*/
|
|
11933
|
+
declare const SMART_ICON_FONT_URL = "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=block";
|
|
11934
|
+
/**
|
|
11935
|
+
* The classes of a `<mat-icon>` without `fontSet` once Material Symbols is the default font
|
|
11936
|
+
* set; `mat-ligature-font` keeps the `fontIcon` attribute working, as it does for Material Icons.
|
|
11937
|
+
*/
|
|
11938
|
+
declare const SMART_ICON_FONT_SET_CLASSES: string[];
|
|
11939
|
+
/**
|
|
11940
|
+
* Links the icon font stylesheet into the document, unless the host turned it off or already
|
|
11941
|
+
* loads the font: by a link of its own, or by a font face its stylesheets declare.
|
|
11942
|
+
*/
|
|
11943
|
+
declare function loadSmartIconFont(document: Document, iconFont: string | false): void;
|
|
11944
|
+
|
|
11907
11945
|
declare class SmartIconComponent implements OnChanges {
|
|
11908
11946
|
private service;
|
|
11909
11947
|
changeDetector: ChangeDetectorRef;
|
|
@@ -12646,5 +12684,5 @@ declare class InvalidSmartlinkComponent extends SmartComponent<Object> {
|
|
|
12646
12684
|
static ɵcmp: i0.ɵɵComponentDeclaration<InvalidSmartlinkComponent, "lib-invalid-smartlink", never, {}, {}, never, never, true, never>;
|
|
12647
12685
|
}
|
|
12648
12686
|
|
|
12649
|
-
export { ACLEntry, APIS, AclEditingViewComponent, ApiModule, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CaptureDeviceStart, CaptureHandover, CaptureMode, CaptureOpenDirection, CloseResult, CodeEditorLang, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DEFAULT_ROW_LAYOUT, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FileUploaderSource, FileUploaderThumbnail, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionBuilderUiModelTypeEnum, FilterExpressionDataType$1 as FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation$1 as FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GenericPageComponent, GeoMapDataLoadingMode, GeoMapDataSourceType, GeoMapItemKind, GeoMapOperationMode, GeoMapSelectionMode, GeoMapTextType, GridColumnContentType, GridDataAccessConfigKindEnum, GridDefaultRowActionTrigger, GridRowStateDisplay, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, InvalidSmartlinkComponent, LayoutDirection, LinkTargetEnum, MAP_ENGINE, MapEngine, MenuOpenDirection, MenuTriggerType, MessageOptionType, MessageTextType, MessageType, NAMED_VALIDATOR, NamedValidatorOperationEnum, NamedValidatorService, NoPermissionPageComponent, PageExportFieldScope, PageExportSelectionKind, PageExportValueType, PageExportValuesSource, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_MESSAGE_DEFAULTS, SMART_NG_CLIENT_CONFIG, SMART_ROW_LAYOUT_COMPONENT, SearchPageComponent, SelectAllMode, SelectionDefinitionTypeEnum, SelectionDefinitionValueSetValueTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartActionHost, SmartActionType, SmartBackendBootstrapService, SmartComponent, SmartComponentApiClient, SmartComponentDetachedDirective, SmartComponentHost, SmartComponentLayoutComponent, SmartDateFnsAdapter, SmartDatePipe, SmartDateTimePipe, SmartDefaultErrorUiService, SmartDiagramComponent, SmartDialog, SmartEmbeddedSlotDirective, SmartExpandableSectionService, SmartFileEditorComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorService, SmartFilterExpressionFieldComponent, SmartFilterPosition, SmartFilterType, SmartFilterWidgetComponent, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridService, SmartGridType, SmartIconComponent, SmartIconService, SmartKeybindingService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkMigrationStatusStatusEnum, SmartLinkUuidVariableInPath, SmartMapComponent, SmartMultiFileEditorComponent, SmartNavbarComponent, SmartNavbarService, SmartNavigationService, SmartNgClientFeatureKind, SmartService, SmartSessionService, SmartSessionTimerComponent, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartValueSetStore, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarAppearance, ToolbarDirection, TreeArrowPosition, TreeGridControl, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ValueSetDependencyWhenParentEmptyEnum, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, formatChord, formatMessage, hasGroupEditActions, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, isMacPlatform, isMergedExtra, matches, multiAxisLineChart, parseChord, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
|
|
12687
|
+
export { ACLEntry, APIS, AclEditingViewComponent, ApiModule, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CaptureDeviceStart, CaptureHandover, CaptureMode, CaptureOpenDirection, CloseResult, CodeEditorLang, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DEFAULT_ROW_LAYOUT, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FileUploaderSource, FileUploaderThumbnail, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionBuilderUiModelTypeEnum, FilterExpressionDataType$1 as FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation$1 as FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GenericPageComponent, GeoMapDataLoadingMode, GeoMapDataSourceType, GeoMapItemKind, GeoMapOperationMode, GeoMapSelectionMode, GeoMapTextType, GridColumnContentType, GridDataAccessConfigKindEnum, GridDefaultRowActionTrigger, GridRowStateDisplay, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, InvalidSmartlinkComponent, LayoutDirection, LinkTargetEnum, MAP_ENGINE, MapEngine, MenuOpenDirection, MenuTriggerType, MessageOptionType, MessageTextType, MessageType, NAMED_VALIDATOR, NamedValidatorOperationEnum, NamedValidatorService, NoPermissionPageComponent, PageExportFieldScope, PageExportSelectionKind, PageExportValueType, PageExportValuesSource, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_ICON_FONT_SET_CLASSES, SMART_ICON_FONT_URL, SMART_MESSAGE_DEFAULTS, SMART_NG_CLIENT_CONFIG, SMART_ROW_LAYOUT_COMPONENT, SearchPageComponent, SelectAllMode, SelectionDefinitionTypeEnum, SelectionDefinitionValueSetValueTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartActionHost, SmartActionType, SmartBackendBootstrapService, SmartComponent, SmartComponentApiClient, SmartComponentDetachedDirective, SmartComponentHost, SmartComponentLayoutComponent, SmartDateFnsAdapter, SmartDatePipe, SmartDateTimePipe, SmartDefaultErrorUiService, SmartDiagramComponent, SmartDialog, SmartEmbeddedSlotDirective, SmartExpandableSectionService, SmartFileEditorComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorService, SmartFilterExpressionFieldComponent, SmartFilterPosition, SmartFilterType, SmartFilterWidgetComponent, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridService, SmartGridType, SmartIconComponent, SmartIconService, SmartKeybindingService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkMigrationStatusStatusEnum, SmartLinkUuidVariableInPath, SmartMapComponent, SmartMultiFileEditorComponent, SmartNavbarComponent, SmartNavbarService, SmartNavigationService, SmartNgClientFeatureKind, SmartService, SmartSessionService, SmartSessionTimerComponent, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartValueSetStore, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarAppearance, ToolbarDirection, TreeArrowPosition, TreeGridControl, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ValueSetDependencyWhenParentEmptyEnum, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, formatChord, formatMessage, hasGroupEditActions, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, isMacPlatform, isMergedExtra, loadSmartIconFont, matches, multiAxisLineChart, parseChord, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
|
|
12650
12688
|
export type { ACL, AccountInfo, ApiError, ApiQueueCall, AuthenticationProviderData, BackgroundProcessInfo, BadgeDescriptor, CaptureProperties, ClipboardData, CodeEditorProperties, ComponentConstraint, ComponentModel, ComponentModelChange, ConfigurationParameters$1 as ConfigurationParameters, Coord, DataChange, DataChangeEvent, DataFormat$1 as DataFormat, DataType$1 as DataType, DateFieldProperties, DefaultErrorUiLanguage, DefaultErrorUiOptions, DefaultErrorUiStrings, DefaultViewComponentEntry, DeviceInfo, DiagramColor, DiagramDataContainer, DiagramDataItem, DiagramDataSet, DiagramDescriptor, DiagramFactory, DiagramModel, DivProperties, DownloadedFile, EditFolderAction, EmbeddedSlotProperties, ExecuteUiActionOptions, ExpandableSection, ExpandableSectionButton, ExpandableSectionStateChange, FileUploaderProperties, FilterExpressionBuilderApiConfig, FilterExpressionBuilderField, FilterExpressionBuilderGroup, FilterExpressionBuilderModel, FilterExpressionBuilderUiModel, FilterExpressionData$1 as FilterExpressionData, FilterExpressionField, FilterExpressionFieldEditor, FilterExpressionFieldList, FilterExpressionList$2 as FilterExpressionList, FilterExpressionOperandData$1 as FilterExpressionOperandData, FilterExpressionOrderBy, GPSPosition, GPSRoute, GeoMapChange, GeoMapDataSourceDescriptor, GeoMapEditingSession, GeoMapInteraction, GeoMapItem, GeoMapLayer, GeoMapLayerChange, GeoMapLayerDescriptor, GeoMapModel, GeoMapServerModel, GeoMapViewState, GeoMapViewport, GetAuthenticationProvidersResponse, GridColumnMeta, GridDataAccessConfig, GridExportDescriptor, GridModel, GridOptions, GridPage, GridRow, GridRowLayoutDescriptor, GridSelectionChange, GridServerModel, GridUpdateData, GridView, GridViewDescriptor, HeaderParam, HtmlProperties, ISmartFilterEditorService, ImageProperties, ImageResource, InvocationRequest$1 as InvocationRequest, KeyChord, Keybinding, KeybindingHost, LabelText, LayoutDefinitionDescriptor, Link, MapClickedEvent, MapDraggedEvent, MapEditingItemClickedEvent, MapEditingItemDraggedEvent, MapItemClickedEvent, MapItemConfiguration, MapZoomChangedEvent, MenuDescriptor, MessageData, MessageOption, MessageResult, ModelSync, ModelSyncParticipant, MultiComboBoxElement, MultiComboBoxModel, MultiFileUploaderProperties, MultiSelectProperties, NamedValidator, OpenPendingData, PageExport, PageExportCondition, PageExportData, PageExportField, PageExportLookup, PageExportOption, PageExportRequest, PageExportSelection, PageExportValueSet, PageExportValues, Param$1 as Param, ParamLocation$1 as ParamLocation, ParamStyle$1 as ParamStyle, PendingModelSync, PropertyDefinitionData, PropertyMapping, PublishedViewData, RecordingUploaderProperties, RefreshSessionRequest, ResolvedSlot, ResolvedSmartNgClientConfig, SearchIndexObjectDefinitionData, SearchIndexPropertyDefinitionData, SearchPageModel, SelectProperties, SelectionDefinition, ServerRequestExecutionStat, ServerRequestTrack, Session, SessionError, SessionInfoData, ShellProperty, SlotKind, SmartBackendBootstrapConfig, SmartBackendBootstrapCredentials, SmartButton, SmartCheckBox, SmartCheckBox2, SmartComponentCollectInvalidFieldsCommand, SmartComponentCommand, SmartComponentFileUploader, SmartComponentFlushCommand, SmartComponentInvalidFields, SmartComponentLayoutDefinition, SmartComponentSubmitCommand, SmartComponentWidgetChangedCommand, SmartComponentWidgetDefinition, SmartContainer, SmartContent, SmartDatePicker, SmartDateTimePicker, SmartDialogData, SmartDialogSize, SmartDiv, SmartDivider, SmartEmbeddedViewRef, SmartErrorDialogLabels, SmartFileUploader, SmartFileUploaderI18n, SmartFilter, SmartFilterEditorConfig, SmartForm, SmartFormComponentConstraint, SmartFormInlineComponent, SmartFormInvalidFields, SmartFormTextFieldButton, SmartFormWidget, SmartGrid, SmartGridButton, SmartGridData, SmartHtml, SmartIconSet, SmartImage, SmartIndicator, SmartIndicatorItem, SmartItem, SmartItemGroup, SmartItems, SmartLabel, SmartLayoutDefinition, SmartLinkCreationConfig, SmartLinkData, SmartLinkMigrationStatus, SmartMatrix, SmartMatrixButton, SmartMatrixModel, SmartMonthPicker, SmartMultiFileUploader, SmartNavbar, SmartNgClientConfig, SmartNgClientFeature, SmartNotification, SmartRadioButton, SmartRecordingUploader, SmartRichText, SmartSearchBar, SmartSearchRequest, SmartSelect, SmartSelectMultiple, SmartSessionHandlerService, SmartSortable, SmartSvg, SmartTableButton, SmartTableGridInterface, SmartTableHeader, SmartTableHeaderIcons, SmartTableHeaderProperties, SmartTableIcon, SmartTableInterface, SmartTableInterfaceType, SmartTableOption, SmartTableRowExpander, SmartTextBox, SmartTextField, SmartTextFieldChips, SmartTextFieldLookup, SmartTextFieldNumber, SmartTime, SmartToggle, SmartTreeModel, SmartTreeNode, SmartTreeNodeButton, SmartTreeNodeType, SmartUserSetting, SmartUserSettings, SmartValidator, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewDialogRef, SmartViewHandlerModel, SmartWidgetDefinition, SmartWidgetHint, SmartWidgetHintConfig, SmartWidgetRegistration, SmartYoutubePlayer, SmartformLayoutCreateWidgetConfig, SmarttreeConfiguration, SophisticatedValueChange, SortDefinition, StandardDataFormat$1 as StandardDataFormat, StandardDataType$1 as StandardDataType, StandardParamStyle$1 as StandardParamStyle, StatisticRecord, StoredCollectionDescriptor, Style, Subject, TextBoxProperties, TextFieldProperties, ThemeDefinition, ThemeDescriptor, ThemeShellDescriptor, ToolbarEntry, ToolbarProperties, TreeStyle, UiAction, UiActionAdditionalParams, UiActionButtonDescriptor, UiActionConstraint, UiActionDefinition, UiActionDefinitionEntry, UiActionDescriptor, UiActionDialogDescriptor, UiActionExecutor, UiActionModel, UiActionRequest, UiActionSchedule, UiActionSpecificDemandResponse, UiActionTooltip, UiActionUploadDescriptor, UploadedFile, UserActivityLog, ValidatedWidget, ValidatorFactory, ValidatorParameters, Value$1 as Value, ValueSet, ValueSetData, ValueSetDependency, ValueSetFetchItem, ValueSetFetchRequest, ValueSetFetchResponse, ValueSetFetchResult, ValueSetSelection, ValueSetVersion, View, ViewApiError, ViewConstraint, ViewContext, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewDefinitionData, ViewDefinitionEntry, ViewEventHandler, ViewExtra, ViewPlaceholder, ViewStateUpdate, ViewTab, ViewTabs, WindowDescriptor };
|
|
Binary file
|