@keycloakify/angular-email 1.4.0 → 1.6.0
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/keycloakify-angular-email-esbuild.mjs +22 -24
- package/fesm2022/keycloakify-angular-email-esbuild.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-email-tailwindcss-preset-email-css-processor.mjs +65 -79
- package/fesm2022/keycloakify-angular-email-tailwindcss-preset-email-css-processor.mjs.map +1 -1
- package/fesm2022/keycloakify-angular-email.mjs +2654 -869
- package/fesm2022/keycloakify-angular-email.mjs.map +1 -1
- package/package.json +15 -15
- package/tailwindcss-preset-email/css-processor/css-processor.ts +17 -2
- package/types/keycloakify-angular-email-esbuild.d.ts +2 -5
- package/types/keycloakify-angular-email-tailwindcss-preset-email-css-processor.d.ts +1 -3
- package/types/keycloakify-angular-email.d.ts +652 -272
|
@@ -1,292 +1,676 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { Type } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Type } from "@angular/core";
|
|
3
|
+
export declare class BackgroundComponent {
|
|
4
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
5
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
6
|
+
$width: import("@angular/core").InputSignal<number>;
|
|
7
|
+
$height: import("@angular/core").InputSignal<number>;
|
|
8
|
+
$src: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
+
$bgRepeat: import("@angular/core").InputSignal<"repeat" | "no-repeat">;
|
|
10
|
+
$bgColor: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
+
$bgStyle: import("@angular/core").Signal<{
|
|
12
|
+
backgroundRepeat: "repeat" | "no-repeat";
|
|
13
|
+
}>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BackgroundComponent, "ng-email-background", never, {
|
|
16
|
+
"$style": {
|
|
17
|
+
"alias": "style";
|
|
18
|
+
"required": false;
|
|
19
|
+
"isSignal": true;
|
|
20
|
+
};
|
|
21
|
+
"$styleClass": {
|
|
22
|
+
"alias": "styleClass";
|
|
23
|
+
"required": false;
|
|
24
|
+
"isSignal": true;
|
|
25
|
+
};
|
|
26
|
+
"$width": {
|
|
27
|
+
"alias": "width";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"$height": {
|
|
32
|
+
"alias": "height";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
"$src": {
|
|
37
|
+
"alias": "src";
|
|
38
|
+
"required": false;
|
|
39
|
+
"isSignal": true;
|
|
40
|
+
};
|
|
41
|
+
"$bgRepeat": {
|
|
42
|
+
"alias": "bgRepeat";
|
|
43
|
+
"required": false;
|
|
44
|
+
"isSignal": true;
|
|
45
|
+
};
|
|
46
|
+
"$bgColor": {
|
|
47
|
+
"alias": "bgColor";
|
|
48
|
+
"required": false;
|
|
49
|
+
"isSignal": true;
|
|
50
|
+
};
|
|
51
|
+
}, {}, never, ["*"], true, never>;
|
|
17
52
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
53
|
+
export declare class BodyComponent {
|
|
54
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
55
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BodyComponent, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BodyComponent, "ng-email-body", never, {
|
|
58
|
+
"$style": {
|
|
59
|
+
"alias": "style";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
"$styleClass": {
|
|
64
|
+
"alias": "styleClass";
|
|
65
|
+
"required": false;
|
|
66
|
+
"isSignal": true;
|
|
67
|
+
};
|
|
68
|
+
}, {}, never, ["*"], true, never>;
|
|
24
69
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
export declare class ButtonComponent {
|
|
71
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
72
|
+
$styleClass: import("@angular/core").InputSignal<string | null>;
|
|
73
|
+
$href: import("@angular/core").InputSignal<string | undefined>;
|
|
74
|
+
$textContent: import("@angular/core").InputSignal<string>;
|
|
75
|
+
$width: import("@angular/core").InputSignal<number | undefined>;
|
|
76
|
+
$height: import("@angular/core").InputSignal<number | undefined>;
|
|
77
|
+
$borderRadius: import("@angular/core").InputSignal<number>;
|
|
78
|
+
$textColor: import("@angular/core").InputSignal<string | undefined>;
|
|
79
|
+
$backgroundColor: import("@angular/core").InputSignal<string | undefined>;
|
|
80
|
+
$borderColor: import("@angular/core").InputSignal<string | undefined>;
|
|
81
|
+
$borderSize: import("@angular/core").InputSignal<number>;
|
|
82
|
+
$fontSize: import("@angular/core").InputSignal<number>;
|
|
83
|
+
$align: import("@angular/core").InputSignal<string>;
|
|
84
|
+
$withBackground: import("@angular/core").InputSignal<boolean>;
|
|
85
|
+
$arcsize: import("@angular/core").Signal<number>;
|
|
86
|
+
$lineHeight: import("@angular/core").Signal<number>;
|
|
87
|
+
private $baseStyle;
|
|
88
|
+
private $borderStyles;
|
|
89
|
+
private $propStyles;
|
|
90
|
+
$withBackgroundStyle: import("@angular/core").Signal<{
|
|
91
|
+
msoHide?: string | undefined;
|
|
92
|
+
color?: string | undefined;
|
|
93
|
+
backgroundColor?: string | undefined;
|
|
94
|
+
'-webkit-text-size-adjust': string;
|
|
95
|
+
borderRadius: string;
|
|
96
|
+
display: string;
|
|
97
|
+
fontSize: string;
|
|
98
|
+
lineHeight: string;
|
|
99
|
+
maxWidth: string | undefined;
|
|
100
|
+
textAlign: string;
|
|
101
|
+
textDecoration: string;
|
|
102
|
+
width: string;
|
|
103
|
+
}>;
|
|
104
|
+
$withoutBackgroundStyle: import("@angular/core").Signal<{
|
|
105
|
+
msoHide?: string | undefined;
|
|
106
|
+
color?: string | undefined;
|
|
107
|
+
backgroundColor?: string | undefined;
|
|
108
|
+
border?: string | undefined;
|
|
109
|
+
msoBorderAlt?: string | undefined;
|
|
110
|
+
'-webkit-text-size-adjust': string;
|
|
111
|
+
borderRadius: string;
|
|
112
|
+
display: string;
|
|
113
|
+
fontSize: string;
|
|
114
|
+
lineHeight: string;
|
|
115
|
+
maxWidth: string | undefined;
|
|
116
|
+
textAlign: string;
|
|
117
|
+
textDecoration: string;
|
|
118
|
+
width: string;
|
|
119
|
+
}>;
|
|
120
|
+
$noBgInnerHtml: import("@angular/core").Signal<string>;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ng-email-button", never, {
|
|
123
|
+
"$style": {
|
|
124
|
+
"alias": "style";
|
|
125
|
+
"required": false;
|
|
126
|
+
"isSignal": true;
|
|
127
|
+
};
|
|
128
|
+
"$styleClass": {
|
|
129
|
+
"alias": "styleClass";
|
|
130
|
+
"required": false;
|
|
131
|
+
"isSignal": true;
|
|
132
|
+
};
|
|
133
|
+
"$href": {
|
|
134
|
+
"alias": "href";
|
|
135
|
+
"required": false;
|
|
136
|
+
"isSignal": true;
|
|
137
|
+
};
|
|
138
|
+
"$textContent": {
|
|
139
|
+
"alias": "textContent";
|
|
140
|
+
"required": true;
|
|
141
|
+
"isSignal": true;
|
|
142
|
+
};
|
|
143
|
+
"$width": {
|
|
144
|
+
"alias": "width";
|
|
145
|
+
"required": false;
|
|
146
|
+
"isSignal": true;
|
|
147
|
+
};
|
|
148
|
+
"$height": {
|
|
149
|
+
"alias": "height";
|
|
150
|
+
"required": false;
|
|
151
|
+
"isSignal": true;
|
|
152
|
+
};
|
|
153
|
+
"$borderRadius": {
|
|
154
|
+
"alias": "borderRadius";
|
|
155
|
+
"required": false;
|
|
156
|
+
"isSignal": true;
|
|
157
|
+
};
|
|
158
|
+
"$textColor": {
|
|
159
|
+
"alias": "textColor";
|
|
160
|
+
"required": false;
|
|
161
|
+
"isSignal": true;
|
|
162
|
+
};
|
|
163
|
+
"$backgroundColor": {
|
|
164
|
+
"alias": "backgroundColor";
|
|
165
|
+
"required": false;
|
|
166
|
+
"isSignal": true;
|
|
167
|
+
};
|
|
168
|
+
"$borderColor": {
|
|
169
|
+
"alias": "borderColor";
|
|
170
|
+
"required": false;
|
|
171
|
+
"isSignal": true;
|
|
172
|
+
};
|
|
173
|
+
"$borderSize": {
|
|
174
|
+
"alias": "borderSize";
|
|
175
|
+
"required": false;
|
|
176
|
+
"isSignal": true;
|
|
177
|
+
};
|
|
178
|
+
"$fontSize": {
|
|
179
|
+
"alias": "fontSize";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
"$align": {
|
|
184
|
+
"alias": "align";
|
|
185
|
+
"required": false;
|
|
186
|
+
"isSignal": true;
|
|
187
|
+
};
|
|
188
|
+
"$withBackground": {
|
|
189
|
+
"alias": "withBackground";
|
|
190
|
+
"required": false;
|
|
191
|
+
"isSignal": true;
|
|
192
|
+
};
|
|
193
|
+
}, {}, never, ["*"], true, never>;
|
|
79
194
|
}
|
|
80
|
-
|
|
81
|
-
type ColorSchemeMode = 'dark'
|
|
195
|
+
export type ColorSchemeMode = 'dark' |
|
|
82
196
|
/**
|
|
83
197
|
* The email client will only ever render the content in the dark color scheme and forbids the
|
|
84
198
|
* email client from overriding the color scheme.
|
|
85
199
|
*/
|
|
86
|
-
|
|
200
|
+
'dark only' | 'light' |
|
|
87
201
|
/**
|
|
88
202
|
* The email client will choose the light or dark theme to match the user’s preference.
|
|
89
203
|
* If the user’s preference does not match something in the list, the email client will choose
|
|
90
204
|
* which mode to display.
|
|
91
205
|
*/
|
|
92
|
-
|
|
206
|
+
'light dark' |
|
|
93
207
|
/**
|
|
94
208
|
* The email client will choose the first of the listed schemes that it supports taking user
|
|
95
209
|
* preference into account and forbids the email client from overriding the color scheme.
|
|
96
210
|
*/
|
|
97
|
-
|
|
211
|
+
'light dark only' |
|
|
98
212
|
/**
|
|
99
213
|
* The email client will only ever render the content in the light color scheme and forbids the
|
|
100
214
|
* email client from overriding the color scheme.
|
|
101
215
|
*/
|
|
102
|
-
|
|
216
|
+
'light only' |
|
|
103
217
|
/**
|
|
104
218
|
* Indicates that the email supports the page’s supported color schemes, if they are set, or
|
|
105
219
|
* that it supports no color schemes at all otherwise.
|
|
106
220
|
*/
|
|
107
|
-
|
|
108
|
-
declare class ColorSchemeComponent {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
221
|
+
'normal';
|
|
222
|
+
export declare class ColorSchemeComponent {
|
|
223
|
+
$mode: import("@angular/core").InputSignal<ColorSchemeMode>;
|
|
224
|
+
$style: import("@angular/core").Signal<string>;
|
|
225
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColorSchemeComponent, never>;
|
|
226
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColorSchemeComponent, "ng-email-color-scheme", never, {
|
|
227
|
+
"$mode": {
|
|
228
|
+
"alias": "mode";
|
|
229
|
+
"required": false;
|
|
230
|
+
"isSignal": true;
|
|
231
|
+
};
|
|
232
|
+
}, {}, never, never, true, never>;
|
|
113
233
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
234
|
+
export declare class ColumnComponent {
|
|
235
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
236
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
237
|
+
$bgImage: import("@angular/core").InputSignal<string | undefined>;
|
|
238
|
+
$bgColor: import("@angular/core").InputSignal<string | undefined>;
|
|
239
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, never>;
|
|
240
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "ng-email-column", never, {
|
|
241
|
+
"$style": {
|
|
242
|
+
"alias": "style";
|
|
243
|
+
"required": false;
|
|
244
|
+
"isSignal": true;
|
|
245
|
+
};
|
|
246
|
+
"$styleClass": {
|
|
247
|
+
"alias": "styleClass";
|
|
248
|
+
"required": false;
|
|
249
|
+
"isSignal": true;
|
|
250
|
+
};
|
|
251
|
+
"$bgImage": {
|
|
252
|
+
"alias": "bgImage";
|
|
253
|
+
"required": false;
|
|
254
|
+
"isSignal": true;
|
|
255
|
+
};
|
|
256
|
+
"$bgColor": {
|
|
257
|
+
"alias": "bgColor";
|
|
258
|
+
"required": false;
|
|
259
|
+
"isSignal": true;
|
|
260
|
+
};
|
|
261
|
+
}, {}, never, ["*"], true, never>;
|
|
122
262
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
263
|
+
export declare class ConditionalComponent {
|
|
264
|
+
$expression: import("@angular/core").InputSignal<undefined>;
|
|
265
|
+
$mso: import("@angular/core").InputSignal<boolean | undefined>;
|
|
266
|
+
noMsoInnerHtmlPre: string;
|
|
267
|
+
noMsoInnerHtmlPost: string;
|
|
268
|
+
$msoInnerHtmlPre: import("@angular/core").Signal<string>;
|
|
269
|
+
msoInnerHtmlPost: string;
|
|
270
|
+
constructor();
|
|
271
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConditionalComponent, never>;
|
|
272
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConditionalComponent, "ng-email-conditional", never, {
|
|
273
|
+
"$expression": {
|
|
274
|
+
"alias": "expression";
|
|
275
|
+
"required": false;
|
|
276
|
+
"isSignal": true;
|
|
277
|
+
};
|
|
278
|
+
"$mso": {
|
|
279
|
+
"alias": "mso";
|
|
280
|
+
"required": false;
|
|
281
|
+
"isSignal": true;
|
|
282
|
+
};
|
|
283
|
+
}, {}, never, ["*"], true, never>;
|
|
134
284
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
285
|
+
export declare class ContainerComponent {
|
|
286
|
+
random: number;
|
|
287
|
+
document: Document;
|
|
288
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
289
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
290
|
+
$alignment: import("@angular/core").InputSignal<string>;
|
|
291
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
292
|
+
$containerWidth: import("@angular/core").InputSignal<number>;
|
|
293
|
+
$containerStyle: import("@angular/core").Signal<{
|
|
294
|
+
maxWidth?: string | undefined;
|
|
295
|
+
}>;
|
|
296
|
+
$trStyle: import("@angular/core").Signal<{
|
|
297
|
+
width?: string | undefined;
|
|
298
|
+
}>;
|
|
299
|
+
$innerHtmlPre: import("@angular/core").Signal<string>;
|
|
300
|
+
$innerHtmlPost: import("@angular/core").Signal<string>;
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerComponent, never>;
|
|
302
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerComponent, "ng-email-container", never, {
|
|
303
|
+
"$style": {
|
|
304
|
+
"alias": "style";
|
|
305
|
+
"required": false;
|
|
306
|
+
"isSignal": true;
|
|
307
|
+
};
|
|
308
|
+
"$styleClass": {
|
|
309
|
+
"alias": "styleClass";
|
|
310
|
+
"required": false;
|
|
311
|
+
"isSignal": true;
|
|
312
|
+
};
|
|
313
|
+
"$alignment": {
|
|
314
|
+
"alias": "alignment";
|
|
315
|
+
"required": false;
|
|
316
|
+
"isSignal": true;
|
|
317
|
+
};
|
|
318
|
+
"$disableDefaultStyle": {
|
|
319
|
+
"alias": "disableDefaultStyle";
|
|
320
|
+
"required": false;
|
|
321
|
+
"isSignal": true;
|
|
322
|
+
};
|
|
323
|
+
"$containerWidth": {
|
|
324
|
+
"alias": "containerWidth";
|
|
325
|
+
"required": false;
|
|
326
|
+
"isSignal": true;
|
|
327
|
+
};
|
|
328
|
+
}, {}, never, ["*"], true, never>;
|
|
154
329
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
330
|
+
export declare class HeadComponent {
|
|
331
|
+
$enableFormatDetection: import("@angular/core").InputSignal<boolean>;
|
|
332
|
+
xml: string;
|
|
333
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeadComponent, never>;
|
|
334
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeadComponent, "ng-email-head", never, {
|
|
335
|
+
"$enableFormatDetection": {
|
|
336
|
+
"alias": "enableFormatDetection";
|
|
337
|
+
"required": false;
|
|
338
|
+
"isSignal": true;
|
|
339
|
+
};
|
|
340
|
+
}, {}, never, ["*"], true, never>;
|
|
161
341
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
342
|
+
export declare class HeadingComponent {
|
|
343
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
344
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
345
|
+
$as: import("@angular/core").InputSignal<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
|
|
346
|
+
$m: import("@angular/core").InputSignal<string | undefined>;
|
|
347
|
+
$mx: import("@angular/core").InputSignal<string | undefined>;
|
|
348
|
+
$my: import("@angular/core").InputSignal<string | undefined>;
|
|
349
|
+
$mt: import("@angular/core").InputSignal<string | undefined>;
|
|
350
|
+
$mr: import("@angular/core").InputSignal<string | undefined>;
|
|
351
|
+
$mb: import("@angular/core").InputSignal<string | undefined>;
|
|
352
|
+
$ml: import("@angular/core").InputSignal<string | undefined>;
|
|
353
|
+
$headingStyle: import("@angular/core").Signal<string>;
|
|
354
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeadingComponent, never>;
|
|
355
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeadingComponent, "ng-email-heading", never, {
|
|
356
|
+
"$style": {
|
|
357
|
+
"alias": "style";
|
|
358
|
+
"required": false;
|
|
359
|
+
"isSignal": true;
|
|
360
|
+
};
|
|
361
|
+
"$styleClass": {
|
|
362
|
+
"alias": "styleClass";
|
|
363
|
+
"required": false;
|
|
364
|
+
"isSignal": true;
|
|
365
|
+
};
|
|
366
|
+
"$as": {
|
|
367
|
+
"alias": "as";
|
|
368
|
+
"required": false;
|
|
369
|
+
"isSignal": true;
|
|
370
|
+
};
|
|
371
|
+
"$m": {
|
|
372
|
+
"alias": "m";
|
|
373
|
+
"required": false;
|
|
374
|
+
"isSignal": true;
|
|
375
|
+
};
|
|
376
|
+
"$mx": {
|
|
377
|
+
"alias": "mx";
|
|
378
|
+
"required": false;
|
|
379
|
+
"isSignal": true;
|
|
380
|
+
};
|
|
381
|
+
"$my": {
|
|
382
|
+
"alias": "my";
|
|
383
|
+
"required": false;
|
|
384
|
+
"isSignal": true;
|
|
385
|
+
};
|
|
386
|
+
"$mt": {
|
|
387
|
+
"alias": "mt";
|
|
388
|
+
"required": false;
|
|
389
|
+
"isSignal": true;
|
|
390
|
+
};
|
|
391
|
+
"$mr": {
|
|
392
|
+
"alias": "mr";
|
|
393
|
+
"required": false;
|
|
394
|
+
"isSignal": true;
|
|
395
|
+
};
|
|
396
|
+
"$mb": {
|
|
397
|
+
"alias": "mb";
|
|
398
|
+
"required": false;
|
|
399
|
+
"isSignal": true;
|
|
400
|
+
};
|
|
401
|
+
"$ml": {
|
|
402
|
+
"alias": "ml";
|
|
403
|
+
"required": false;
|
|
404
|
+
"isSignal": true;
|
|
405
|
+
};
|
|
406
|
+
}, {}, never, ["*"], true, never>;
|
|
177
407
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
408
|
+
export declare class HrComponent {
|
|
409
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
410
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
411
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
412
|
+
$hrStyle: import("@angular/core").Signal<{
|
|
413
|
+
width?: string | undefined;
|
|
414
|
+
border?: string | undefined;
|
|
415
|
+
borderTop?: string | undefined;
|
|
416
|
+
}>;
|
|
417
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HrComponent, never>;
|
|
418
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HrComponent, "ng-email-hr", never, {
|
|
419
|
+
"$style": {
|
|
420
|
+
"alias": "style";
|
|
421
|
+
"required": false;
|
|
422
|
+
"isSignal": true;
|
|
423
|
+
};
|
|
424
|
+
"$styleClass": {
|
|
425
|
+
"alias": "styleClass";
|
|
426
|
+
"required": false;
|
|
427
|
+
"isSignal": true;
|
|
428
|
+
};
|
|
429
|
+
"$disableDefaultStyle": {
|
|
430
|
+
"alias": "disableDefaultStyle";
|
|
431
|
+
"required": false;
|
|
432
|
+
"isSignal": true;
|
|
433
|
+
};
|
|
434
|
+
}, {}, never, never, true, never>;
|
|
190
435
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
436
|
+
export declare class HtmlComponent {
|
|
437
|
+
$lang: import("@angular/core").InputSignal<string>;
|
|
438
|
+
$dir: import("@angular/core").InputSignal<string>;
|
|
439
|
+
$enableVML: import("@angular/core").InputSignal<boolean>;
|
|
440
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
441
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
442
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HtmlComponent, never>;
|
|
443
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HtmlComponent, "ng-email-html", never, {
|
|
444
|
+
"$lang": {
|
|
445
|
+
"alias": "lang";
|
|
446
|
+
"required": false;
|
|
447
|
+
"isSignal": true;
|
|
448
|
+
};
|
|
449
|
+
"$dir": {
|
|
450
|
+
"alias": "dir";
|
|
451
|
+
"required": false;
|
|
452
|
+
"isSignal": true;
|
|
453
|
+
};
|
|
454
|
+
"$enableVML": {
|
|
455
|
+
"alias": "enableVML";
|
|
456
|
+
"required": false;
|
|
457
|
+
"isSignal": true;
|
|
458
|
+
};
|
|
459
|
+
"$style": {
|
|
460
|
+
"alias": "style";
|
|
461
|
+
"required": false;
|
|
462
|
+
"isSignal": true;
|
|
463
|
+
};
|
|
464
|
+
"$styleClass": {
|
|
465
|
+
"alias": "styleClass";
|
|
466
|
+
"required": false;
|
|
467
|
+
"isSignal": true;
|
|
468
|
+
};
|
|
469
|
+
}, {}, never, ["*"], true, never>;
|
|
200
470
|
}
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
471
|
+
export declare class ImgComponent {
|
|
472
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
473
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
474
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
475
|
+
$alt: import("@angular/core").InputSignal<string>;
|
|
476
|
+
$src: import("@angular/core").InputSignal<string>;
|
|
477
|
+
$width: import("@angular/core").InputSignal<string | number | undefined>;
|
|
478
|
+
$height: import("@angular/core").InputSignal<string | number | undefined>;
|
|
479
|
+
$imageStyle: import("@angular/core").Signal<{
|
|
480
|
+
display?: string | undefined;
|
|
481
|
+
outline?: string | undefined;
|
|
482
|
+
border?: string | undefined;
|
|
483
|
+
textDecoration?: string | undefined;
|
|
484
|
+
}>;
|
|
485
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImgComponent, never>;
|
|
486
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImgComponent, "ng-email-img", never, {
|
|
487
|
+
"$style": {
|
|
488
|
+
"alias": "style";
|
|
489
|
+
"required": false;
|
|
490
|
+
"isSignal": true;
|
|
491
|
+
};
|
|
492
|
+
"$styleClass": {
|
|
493
|
+
"alias": "styleClass";
|
|
494
|
+
"required": false;
|
|
495
|
+
"isSignal": true;
|
|
496
|
+
};
|
|
497
|
+
"$disableDefaultStyle": {
|
|
498
|
+
"alias": "disableDefaultStyle";
|
|
499
|
+
"required": false;
|
|
500
|
+
"isSignal": true;
|
|
501
|
+
};
|
|
502
|
+
"$alt": {
|
|
503
|
+
"alias": "alt";
|
|
504
|
+
"required": false;
|
|
505
|
+
"isSignal": true;
|
|
506
|
+
};
|
|
507
|
+
"$src": {
|
|
508
|
+
"alias": "src";
|
|
509
|
+
"required": false;
|
|
510
|
+
"isSignal": true;
|
|
511
|
+
};
|
|
512
|
+
"$width": {
|
|
513
|
+
"alias": "width";
|
|
514
|
+
"required": false;
|
|
515
|
+
"isSignal": true;
|
|
516
|
+
};
|
|
517
|
+
"$height": {
|
|
518
|
+
"alias": "height";
|
|
519
|
+
"required": false;
|
|
520
|
+
"isSignal": true;
|
|
521
|
+
};
|
|
522
|
+
}, {}, never, never, true, never>;
|
|
218
523
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
524
|
+
export declare class LinkComponent {
|
|
525
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
526
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
527
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
528
|
+
$href: import("@angular/core").InputSignal<string>;
|
|
529
|
+
$target: import("@angular/core").InputSignal<string>;
|
|
530
|
+
$linkStyle: import("@angular/core").Signal<{
|
|
531
|
+
color?: string | undefined;
|
|
532
|
+
textDecoration?: string | undefined;
|
|
533
|
+
}>;
|
|
534
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
535
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "ng-email-link", never, {
|
|
536
|
+
"$style": {
|
|
537
|
+
"alias": "style";
|
|
538
|
+
"required": false;
|
|
539
|
+
"isSignal": true;
|
|
540
|
+
};
|
|
541
|
+
"$styleClass": {
|
|
542
|
+
"alias": "styleClass";
|
|
543
|
+
"required": false;
|
|
544
|
+
"isSignal": true;
|
|
545
|
+
};
|
|
546
|
+
"$disableDefaultStyle": {
|
|
547
|
+
"alias": "disableDefaultStyle";
|
|
548
|
+
"required": false;
|
|
549
|
+
"isSignal": true;
|
|
550
|
+
};
|
|
551
|
+
"$href": {
|
|
552
|
+
"alias": "href";
|
|
553
|
+
"required": false;
|
|
554
|
+
"isSignal": true;
|
|
555
|
+
};
|
|
556
|
+
"$target": {
|
|
557
|
+
"alias": "target";
|
|
558
|
+
"required": false;
|
|
559
|
+
"isSignal": true;
|
|
560
|
+
};
|
|
561
|
+
}, {}, never, ["*"], true, never>;
|
|
232
562
|
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
563
|
+
export declare class PreviewComponent {
|
|
564
|
+
$preview: import("@angular/core").InputSignal<string>;
|
|
565
|
+
maxLength: number;
|
|
566
|
+
$text: import("@angular/core").Signal<string | null>;
|
|
567
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviewComponent, never>;
|
|
568
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PreviewComponent, "ng-email-preview", never, {
|
|
569
|
+
"$preview": {
|
|
570
|
+
"alias": "preview";
|
|
571
|
+
"required": false;
|
|
572
|
+
"isSignal": true;
|
|
573
|
+
};
|
|
574
|
+
}, {}, never, never, true, never>;
|
|
240
575
|
}
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
576
|
+
export declare class RawComponent {
|
|
577
|
+
$disablePlainTextOutput: import("@angular/core").InputSignal<boolean>;
|
|
578
|
+
$content: import("@angular/core").InputSignal<string>;
|
|
579
|
+
$escapingContent: import("@angular/core").Signal<string>;
|
|
580
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RawComponent, never>;
|
|
581
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RawComponent, "ng-email-raw", never, {
|
|
582
|
+
"$disablePlainTextOutput": {
|
|
583
|
+
"alias": "disablePlainTextOutput";
|
|
584
|
+
"required": false;
|
|
585
|
+
"isSignal": true;
|
|
586
|
+
};
|
|
587
|
+
"$content": {
|
|
588
|
+
"alias": "content";
|
|
589
|
+
"required": false;
|
|
590
|
+
"isSignal": true;
|
|
591
|
+
};
|
|
592
|
+
}, {}, never, never, true, never>;
|
|
248
593
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
594
|
+
export declare class RowComponent {
|
|
595
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
596
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
597
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RowComponent, never>;
|
|
599
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RowComponent, "ng-email-row", never, {
|
|
600
|
+
"$style": {
|
|
601
|
+
"alias": "style";
|
|
602
|
+
"required": false;
|
|
603
|
+
"isSignal": true;
|
|
604
|
+
};
|
|
605
|
+
"$styleClass": {
|
|
606
|
+
"alias": "styleClass";
|
|
607
|
+
"required": false;
|
|
608
|
+
"isSignal": true;
|
|
609
|
+
};
|
|
610
|
+
"$disableDefaultStyle": {
|
|
611
|
+
"alias": "disableDefaultStyle";
|
|
612
|
+
"required": false;
|
|
613
|
+
"isSignal": true;
|
|
614
|
+
};
|
|
615
|
+
}, {}, never, ["*"], true, never>;
|
|
256
616
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
617
|
+
export declare class SectionComponent {
|
|
618
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
619
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
620
|
+
$sectionStyle: import("@angular/core").Signal<string>;
|
|
621
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
|
|
622
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "ng-email-section", never, {
|
|
623
|
+
"$style": {
|
|
624
|
+
"alias": "style";
|
|
625
|
+
"required": false;
|
|
626
|
+
"isSignal": true;
|
|
627
|
+
};
|
|
628
|
+
"$styleClass": {
|
|
629
|
+
"alias": "styleClass";
|
|
630
|
+
"required": false;
|
|
631
|
+
"isSignal": true;
|
|
632
|
+
};
|
|
633
|
+
}, {}, never, ["*"], true, never>;
|
|
264
634
|
}
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
635
|
+
export declare class TextComponent {
|
|
636
|
+
$style: import("@angular/core").InputSignal<Record<string, any> | null | undefined>;
|
|
637
|
+
$styleClass: import("@angular/core").InputSignal<string | undefined>;
|
|
638
|
+
$disableDefaultStyle: import("@angular/core").InputSignal<boolean>;
|
|
639
|
+
$textStyle: import("@angular/core").Signal<{
|
|
640
|
+
fontSize?: string | undefined;
|
|
641
|
+
lineHeight?: string | undefined;
|
|
642
|
+
margin?: string | undefined;
|
|
643
|
+
}>;
|
|
644
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextComponent, never>;
|
|
645
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextComponent, "ng-email-text", never, {
|
|
646
|
+
"$style": {
|
|
647
|
+
"alias": "style";
|
|
648
|
+
"required": false;
|
|
649
|
+
"isSignal": true;
|
|
650
|
+
};
|
|
651
|
+
"$styleClass": {
|
|
652
|
+
"alias": "styleClass";
|
|
653
|
+
"required": false;
|
|
654
|
+
"isSignal": true;
|
|
655
|
+
};
|
|
656
|
+
"$disableDefaultStyle": {
|
|
657
|
+
"alias": "disableDefaultStyle";
|
|
658
|
+
"required": false;
|
|
659
|
+
"isSignal": true;
|
|
660
|
+
};
|
|
661
|
+
}, {}, never, ["*"], true, never>;
|
|
277
662
|
}
|
|
278
|
-
|
|
279
663
|
type Render<Input extends Record<string, any>> = {
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
664
|
+
component: Type<unknown>;
|
|
665
|
+
/** Component selector */
|
|
666
|
+
selector: string;
|
|
667
|
+
props?: Input;
|
|
668
|
+
options?: {
|
|
669
|
+
plainText?: boolean;
|
|
670
|
+
pretty?: boolean;
|
|
671
|
+
cssProcessor?: (css: string, html: string) => Promise<string>;
|
|
672
|
+
signalInputsPrefix?: string;
|
|
673
|
+
};
|
|
290
674
|
};
|
|
291
675
|
/**
|
|
292
676
|
* Renders an Angular component to HTML and applies transformations.
|
|
@@ -297,27 +681,23 @@ type Render<Input extends Record<string, any>> = {
|
|
|
297
681
|
*
|
|
298
682
|
* @returns {Promise<string>} The rendered HTML or plain text.
|
|
299
683
|
*/
|
|
300
|
-
declare const render: <Input extends Record<string, any>>({ component, selector, props, options
|
|
301
|
-
type RenderToHtml<Input extends Record<string, any>> = (props?: Input) => ReturnType<typeof render>;
|
|
302
|
-
|
|
303
|
-
declare const
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
ml?: string;
|
|
684
|
+
export declare const render: <Input extends Record<string, any>>({ component, selector, props, options }: Render<Input>) => Promise<string>;
|
|
685
|
+
export type RenderToHtml<Input extends Record<string, any>> = (props?: Input) => ReturnType<typeof render>;
|
|
686
|
+
export declare const copyTextToClipboard: (text: string) => Promise<void>;
|
|
687
|
+
export declare const pxToPt: (px: string) => number | null;
|
|
688
|
+
export interface Margin {
|
|
689
|
+
m?: string;
|
|
690
|
+
mx?: string;
|
|
691
|
+
my?: string;
|
|
692
|
+
mt?: string;
|
|
693
|
+
mr?: string;
|
|
694
|
+
mb?: string;
|
|
695
|
+
ml?: string;
|
|
313
696
|
}
|
|
314
|
-
declare const withMargin: (props: Margin) => {};
|
|
315
|
-
declare const styleToString: (style: Record<string, string | number | null> | undefined | null) => string;
|
|
316
|
-
declare const classToString: (style: string | string[] | Set<string> | Record<string, any> | null | undefined) => string;
|
|
317
|
-
declare const unreachable: (condition: never, message?: string) => never;
|
|
318
|
-
declare const HTMLElements: string[];
|
|
319
|
-
declare function escapeForRawComponent(input: string): string;
|
|
320
|
-
declare function unescapeForRawComponent(input: string): string;
|
|
321
|
-
|
|
322
|
-
export { BackgroundComponent, BodyComponent, ButtonComponent, ColorSchemeComponent, ColumnComponent, ConditionalComponent, ContainerComponent, HTMLElements, HeadComponent, HeadingComponent, HrComponent, HtmlComponent, ImgComponent, LinkComponent, PreviewComponent, RawComponent, RowComponent, SectionComponent, TextComponent, classToString, copyTextToClipboard, escapeForRawComponent, pxToPt, render, styleToString, unescapeForRawComponent, unreachable, withMargin };
|
|
323
|
-
export type { ColorSchemeMode, Margin, RenderToHtml };
|
|
697
|
+
export declare const withMargin: (props: Margin) => {};
|
|
698
|
+
export declare const styleToString: (style: Record<string, string | number | null> | undefined | null) => string;
|
|
699
|
+
export declare const classToString: (style: string | string[] | Set<string> | Record<string, any> | null | undefined) => string;
|
|
700
|
+
export declare const unreachable: (condition: never, message?: string) => never;
|
|
701
|
+
export declare const HTMLElements: string[];
|
|
702
|
+
export declare function escapeForRawComponent(input: string): string;
|
|
703
|
+
export declare function unescapeForRawComponent(input: string): string;
|