@cakemail-org/ui-components-v2 2.0.97 → 2.0.99
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/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/link/index.d.ts +4 -0
- package/dist/cjs/components/link/types.d.ts +8 -0
- package/dist/cjs/data/theme/MuiLink.d.ts +101 -0
- package/dist/cjs/factories/forms/index.d.ts +4 -0
- package/dist/cjs/index.js +305 -45
- package/dist/cjs/models/form/index.d.ts +4 -3
- package/dist/cjs/models/form/types.d.ts +1 -0
- package/dist/cjs/services/forms/index.d.ts +4 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/link/index.d.ts +4 -0
- package/dist/esm/components/link/types.d.ts +8 -0
- package/dist/esm/data/theme/MuiLink.d.ts +101 -0
- package/dist/esm/factories/forms/index.d.ts +4 -0
- package/dist/esm/index.js +304 -46
- package/dist/esm/models/form/index.d.ts +4 -3
- package/dist/esm/models/form/types.d.ts +1 -0
- package/dist/esm/services/forms/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export * from "./iconPill";
|
|
|
30
30
|
export * from "./informationGroup";
|
|
31
31
|
export * from "./inlineTextEdit";
|
|
32
32
|
export * from "./linearProgress";
|
|
33
|
+
export * from "./link";
|
|
33
34
|
export * from "./loadingContainer";
|
|
34
35
|
export * from "./logo";
|
|
35
36
|
export * from "./metricCard";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Theme } from "@mui/material";
|
|
2
|
+
declare module "@mui/material/styles" {
|
|
3
|
+
interface LinkVariants {
|
|
4
|
+
h1L: React.CSSProperties;
|
|
5
|
+
h1S: React.CSSProperties;
|
|
6
|
+
displayL: React.CSSProperties;
|
|
7
|
+
display: React.CSSProperties;
|
|
8
|
+
displayS: React.CSSProperties;
|
|
9
|
+
h2L: React.CSSProperties;
|
|
10
|
+
h2S: React.CSSProperties;
|
|
11
|
+
headlineL: React.CSSProperties;
|
|
12
|
+
headline: React.CSSProperties;
|
|
13
|
+
headlineS: React.CSSProperties;
|
|
14
|
+
h3L: React.CSSProperties;
|
|
15
|
+
h3S: React.CSSProperties;
|
|
16
|
+
titleL: React.CSSProperties;
|
|
17
|
+
title: React.CSSProperties;
|
|
18
|
+
titleS: React.CSSProperties;
|
|
19
|
+
body1L: React.CSSProperties;
|
|
20
|
+
body1S: React.CSSProperties;
|
|
21
|
+
body2L: React.CSSProperties;
|
|
22
|
+
body2S: React.CSSProperties;
|
|
23
|
+
linkS: React.CSSProperties;
|
|
24
|
+
link: React.CSSProperties;
|
|
25
|
+
linkL: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
interface LinkVariantsOptions {
|
|
28
|
+
h1L: React.CSSProperties;
|
|
29
|
+
h1S: React.CSSProperties;
|
|
30
|
+
displayL: React.CSSProperties;
|
|
31
|
+
display: React.CSSProperties;
|
|
32
|
+
displayS: React.CSSProperties;
|
|
33
|
+
h2L: React.CSSProperties;
|
|
34
|
+
h2S: React.CSSProperties;
|
|
35
|
+
headlineL: React.CSSProperties;
|
|
36
|
+
headline: React.CSSProperties;
|
|
37
|
+
headlineS: React.CSSProperties;
|
|
38
|
+
h3L: React.CSSProperties;
|
|
39
|
+
h3S: React.CSSProperties;
|
|
40
|
+
titleL: React.CSSProperties;
|
|
41
|
+
title: React.CSSProperties;
|
|
42
|
+
titleS: React.CSSProperties;
|
|
43
|
+
body1L: React.CSSProperties;
|
|
44
|
+
body1S: React.CSSProperties;
|
|
45
|
+
body2L: React.CSSProperties;
|
|
46
|
+
body2S: React.CSSProperties;
|
|
47
|
+
linkS: React.CSSProperties;
|
|
48
|
+
link: React.CSSProperties;
|
|
49
|
+
linkL: React.CSSProperties;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
declare module '@mui/material/Typography' {
|
|
53
|
+
interface LinkPropsVariantOverrides {
|
|
54
|
+
h1L: true;
|
|
55
|
+
h1S: true;
|
|
56
|
+
displayL: true;
|
|
57
|
+
display: true;
|
|
58
|
+
displayS: true;
|
|
59
|
+
h2L: true;
|
|
60
|
+
h2S: true;
|
|
61
|
+
headlineL: true;
|
|
62
|
+
headline: true;
|
|
63
|
+
headlineS: true;
|
|
64
|
+
h3L: true;
|
|
65
|
+
h3S: true;
|
|
66
|
+
titleL: true;
|
|
67
|
+
title: true;
|
|
68
|
+
titleS: true;
|
|
69
|
+
body1L: true;
|
|
70
|
+
body1S: true;
|
|
71
|
+
body2L: true;
|
|
72
|
+
body2S: true;
|
|
73
|
+
linkS: true;
|
|
74
|
+
link: true;
|
|
75
|
+
linkL: true;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export default function getMuiLink(theme: Theme): {
|
|
79
|
+
variants: {
|
|
80
|
+
props: {
|
|
81
|
+
color: string;
|
|
82
|
+
};
|
|
83
|
+
style: {
|
|
84
|
+
"&:hover": {
|
|
85
|
+
color: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}[];
|
|
89
|
+
styleOverrides: {
|
|
90
|
+
root: {
|
|
91
|
+
cursor: string;
|
|
92
|
+
"&:hover": {
|
|
93
|
+
color: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
defaultProps: {
|
|
98
|
+
color: string;
|
|
99
|
+
variant: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -8,5 +8,9 @@ export declare class FormsFactory {
|
|
|
8
8
|
static create({ form }: {
|
|
9
9
|
form: Partial<TEnhancedFormModel>;
|
|
10
10
|
}): Promise<EnhancedFormModel>;
|
|
11
|
+
static renderPublic({ id, token }: {
|
|
12
|
+
id: string;
|
|
13
|
+
token: string;
|
|
14
|
+
}): Promise<string>;
|
|
11
15
|
}
|
|
12
16
|
export * from "./types";
|
package/dist/cjs/index.js
CHANGED
|
@@ -6152,6 +6152,273 @@ function getMuiLinearProgress(theme) {
|
|
|
6152
6152
|
};
|
|
6153
6153
|
}
|
|
6154
6154
|
|
|
6155
|
+
function getMuiLink(theme) {
|
|
6156
|
+
return {
|
|
6157
|
+
variants: [
|
|
6158
|
+
{
|
|
6159
|
+
props: { color: "secondary.main" },
|
|
6160
|
+
style: {
|
|
6161
|
+
"&:hover": {
|
|
6162
|
+
color: theme.palette.secondary.dark,
|
|
6163
|
+
}
|
|
6164
|
+
},
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
props: { color: "primary.main" },
|
|
6168
|
+
style: {
|
|
6169
|
+
"&:hover": {
|
|
6170
|
+
color: theme.palette.primary.dark,
|
|
6171
|
+
}
|
|
6172
|
+
},
|
|
6173
|
+
},
|
|
6174
|
+
{
|
|
6175
|
+
props: { color: "body1.main" },
|
|
6176
|
+
style: {
|
|
6177
|
+
"&:hover": {
|
|
6178
|
+
color: theme.palette.body1.dark,
|
|
6179
|
+
}
|
|
6180
|
+
},
|
|
6181
|
+
},
|
|
6182
|
+
{
|
|
6183
|
+
props: { color: "body2.main" },
|
|
6184
|
+
style: {
|
|
6185
|
+
"&:hover": {
|
|
6186
|
+
color: theme.palette.body2.dark,
|
|
6187
|
+
}
|
|
6188
|
+
},
|
|
6189
|
+
},
|
|
6190
|
+
{
|
|
6191
|
+
props: { color: "darkMatter.main" },
|
|
6192
|
+
style: {
|
|
6193
|
+
"&:hover": {
|
|
6194
|
+
color: theme.palette.darkMatter.dark,
|
|
6195
|
+
}
|
|
6196
|
+
},
|
|
6197
|
+
},
|
|
6198
|
+
{
|
|
6199
|
+
props: { color: "silver.main" },
|
|
6200
|
+
style: {
|
|
6201
|
+
"&:hover": {
|
|
6202
|
+
color: theme.palette.silver.dark,
|
|
6203
|
+
}
|
|
6204
|
+
},
|
|
6205
|
+
},
|
|
6206
|
+
{
|
|
6207
|
+
props: { color: "wildSand.main" },
|
|
6208
|
+
style: {
|
|
6209
|
+
"&:hover": {
|
|
6210
|
+
color: theme.palette.wildSand.dark,
|
|
6211
|
+
}
|
|
6212
|
+
},
|
|
6213
|
+
},
|
|
6214
|
+
{
|
|
6215
|
+
props: { color: "cloud.main" },
|
|
6216
|
+
style: {
|
|
6217
|
+
"&:hover": {
|
|
6218
|
+
color: theme.palette.cloud.dark,
|
|
6219
|
+
}
|
|
6220
|
+
},
|
|
6221
|
+
},
|
|
6222
|
+
{
|
|
6223
|
+
props: { color: "boulder.main" },
|
|
6224
|
+
style: {
|
|
6225
|
+
"&:hover": {
|
|
6226
|
+
color: theme.palette.boulder.dark,
|
|
6227
|
+
}
|
|
6228
|
+
},
|
|
6229
|
+
},
|
|
6230
|
+
{
|
|
6231
|
+
props: { color: "pebble.main" },
|
|
6232
|
+
style: {
|
|
6233
|
+
"&:hover": {
|
|
6234
|
+
color: theme.palette.pebble.dark,
|
|
6235
|
+
}
|
|
6236
|
+
},
|
|
6237
|
+
},
|
|
6238
|
+
{
|
|
6239
|
+
props: { color: "white.main" },
|
|
6240
|
+
style: {
|
|
6241
|
+
"&:hover": {
|
|
6242
|
+
color: theme.palette.white.dark,
|
|
6243
|
+
}
|
|
6244
|
+
},
|
|
6245
|
+
},
|
|
6246
|
+
{
|
|
6247
|
+
props: { color: "shade1000.main" },
|
|
6248
|
+
style: {
|
|
6249
|
+
"&:hover": {
|
|
6250
|
+
color: theme.palette.shade1000.dark,
|
|
6251
|
+
}
|
|
6252
|
+
},
|
|
6253
|
+
},
|
|
6254
|
+
{
|
|
6255
|
+
props: { color: "shade950.main" },
|
|
6256
|
+
style: {
|
|
6257
|
+
"&:hover": {
|
|
6258
|
+
color: theme.palette.shade950.dark,
|
|
6259
|
+
}
|
|
6260
|
+
},
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
props: { color: "shade900.main" },
|
|
6264
|
+
style: {
|
|
6265
|
+
"&:hover": {
|
|
6266
|
+
color: theme.palette.shade900.dark,
|
|
6267
|
+
}
|
|
6268
|
+
},
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
props: { color: "shade850.main" },
|
|
6272
|
+
style: {
|
|
6273
|
+
"&:hover": {
|
|
6274
|
+
color: theme.palette.shade850.dark,
|
|
6275
|
+
}
|
|
6276
|
+
},
|
|
6277
|
+
},
|
|
6278
|
+
{
|
|
6279
|
+
props: { color: "shade800.main" },
|
|
6280
|
+
style: {
|
|
6281
|
+
"&:hover": {
|
|
6282
|
+
color: theme.palette.shade800.dark,
|
|
6283
|
+
}
|
|
6284
|
+
},
|
|
6285
|
+
},
|
|
6286
|
+
{
|
|
6287
|
+
props: { color: "shade750.main" },
|
|
6288
|
+
style: {
|
|
6289
|
+
"&:hover": {
|
|
6290
|
+
color: theme.palette.shade750.dark,
|
|
6291
|
+
}
|
|
6292
|
+
},
|
|
6293
|
+
},
|
|
6294
|
+
{
|
|
6295
|
+
props: { color: "shade700.main" },
|
|
6296
|
+
style: {
|
|
6297
|
+
"&:hover": {
|
|
6298
|
+
color: theme.palette.shade700.dark,
|
|
6299
|
+
}
|
|
6300
|
+
},
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
props: { color: "shade650.main" },
|
|
6304
|
+
style: {
|
|
6305
|
+
"&:hover": {
|
|
6306
|
+
color: theme.palette.shade650.dark,
|
|
6307
|
+
}
|
|
6308
|
+
},
|
|
6309
|
+
},
|
|
6310
|
+
{
|
|
6311
|
+
props: { color: "shade600.main" },
|
|
6312
|
+
style: {
|
|
6313
|
+
"&:hover": {
|
|
6314
|
+
color: theme.palette.shade600.dark,
|
|
6315
|
+
}
|
|
6316
|
+
},
|
|
6317
|
+
},
|
|
6318
|
+
{
|
|
6319
|
+
props: { color: "shade550.main" },
|
|
6320
|
+
style: {
|
|
6321
|
+
"&:hover": {
|
|
6322
|
+
color: theme.palette.shade550.dark,
|
|
6323
|
+
}
|
|
6324
|
+
},
|
|
6325
|
+
},
|
|
6326
|
+
{
|
|
6327
|
+
props: { color: "shade500.main" },
|
|
6328
|
+
style: {
|
|
6329
|
+
"&:hover": {
|
|
6330
|
+
color: theme.palette.shade500.dark,
|
|
6331
|
+
}
|
|
6332
|
+
},
|
|
6333
|
+
},
|
|
6334
|
+
{
|
|
6335
|
+
props: { color: "shade450.main" },
|
|
6336
|
+
style: {
|
|
6337
|
+
"&:hover": {
|
|
6338
|
+
color: theme.palette.shade450.dark,
|
|
6339
|
+
}
|
|
6340
|
+
},
|
|
6341
|
+
},
|
|
6342
|
+
{
|
|
6343
|
+
props: { color: "shade400.main" },
|
|
6344
|
+
style: {
|
|
6345
|
+
"&:hover": {
|
|
6346
|
+
color: theme.palette.shade400.dark,
|
|
6347
|
+
}
|
|
6348
|
+
},
|
|
6349
|
+
},
|
|
6350
|
+
{
|
|
6351
|
+
props: { color: "shade350.main" },
|
|
6352
|
+
style: {
|
|
6353
|
+
"&:hover": {
|
|
6354
|
+
color: theme.palette.shade350.dark,
|
|
6355
|
+
}
|
|
6356
|
+
},
|
|
6357
|
+
},
|
|
6358
|
+
{
|
|
6359
|
+
props: { color: "shade300.main" },
|
|
6360
|
+
style: {
|
|
6361
|
+
"&:hover": {
|
|
6362
|
+
color: theme.palette.shade300.dark,
|
|
6363
|
+
}
|
|
6364
|
+
},
|
|
6365
|
+
},
|
|
6366
|
+
{
|
|
6367
|
+
props: { color: "shade250.main" },
|
|
6368
|
+
style: {
|
|
6369
|
+
"&:hover": {
|
|
6370
|
+
color: theme.palette.shade250.dark,
|
|
6371
|
+
}
|
|
6372
|
+
},
|
|
6373
|
+
},
|
|
6374
|
+
{
|
|
6375
|
+
props: { color: "shade200.main" },
|
|
6376
|
+
style: {
|
|
6377
|
+
"&:hover": {
|
|
6378
|
+
color: theme.palette.shade200.dark,
|
|
6379
|
+
}
|
|
6380
|
+
},
|
|
6381
|
+
},
|
|
6382
|
+
{
|
|
6383
|
+
props: { color: "shade150.main" },
|
|
6384
|
+
style: {
|
|
6385
|
+
"&:hover": {
|
|
6386
|
+
color: theme.palette.shade150.dark,
|
|
6387
|
+
}
|
|
6388
|
+
},
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
props: { color: "shade100.main" },
|
|
6392
|
+
style: {
|
|
6393
|
+
"&:hover": {
|
|
6394
|
+
color: theme.palette.shade100.dark,
|
|
6395
|
+
}
|
|
6396
|
+
},
|
|
6397
|
+
},
|
|
6398
|
+
{
|
|
6399
|
+
props: { color: "shade50.main" },
|
|
6400
|
+
style: {
|
|
6401
|
+
"&:hover": {
|
|
6402
|
+
color: theme.palette.shade50.dark,
|
|
6403
|
+
}
|
|
6404
|
+
},
|
|
6405
|
+
},
|
|
6406
|
+
],
|
|
6407
|
+
styleOverrides: {
|
|
6408
|
+
root: {
|
|
6409
|
+
cursor: "pointer",
|
|
6410
|
+
"&:hover": {
|
|
6411
|
+
color: theme.palette.primary.dark,
|
|
6412
|
+
}
|
|
6413
|
+
},
|
|
6414
|
+
},
|
|
6415
|
+
defaultProps: {
|
|
6416
|
+
color: "secondary.main",
|
|
6417
|
+
variant: "link"
|
|
6418
|
+
},
|
|
6419
|
+
};
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6155
6422
|
function getMuiMenu(theme) {
|
|
6156
6423
|
return {
|
|
6157
6424
|
styleOverrides: {
|
|
@@ -7375,43 +7642,7 @@ function buildMUITheme(_a) {
|
|
|
7375
7642
|
MuiFab: {},
|
|
7376
7643
|
MuiTextField: getMuiTextField(theme),
|
|
7377
7644
|
MuiToolbar: {},
|
|
7378
|
-
MuiLink:
|
|
7379
|
-
styleOverrides: {
|
|
7380
|
-
root: {
|
|
7381
|
-
fontFamily: bodyFont,
|
|
7382
|
-
fontWeight: 400,
|
|
7383
|
-
fontSize: "1rem",
|
|
7384
|
-
letterSpacing: "0px",
|
|
7385
|
-
textDecoration: "underline",
|
|
7386
|
-
cursor: "pointer",
|
|
7387
|
-
color: theme.palette.secondary.main,
|
|
7388
|
-
"&:hover": {
|
|
7389
|
-
color: theme.palette.secondary.dark,
|
|
7390
|
-
}
|
|
7391
|
-
},
|
|
7392
|
-
},
|
|
7393
|
-
variants: [
|
|
7394
|
-
//These new variants can specify what styles the component should have when that specific variant prop value is applied.
|
|
7395
|
-
{
|
|
7396
|
-
props: { color: "text.secondary" },
|
|
7397
|
-
style: {
|
|
7398
|
-
color: theme.palette.text.secondary,
|
|
7399
|
-
"&:hover": {
|
|
7400
|
-
color: theme.palette.text.primary,
|
|
7401
|
-
}
|
|
7402
|
-
},
|
|
7403
|
-
},
|
|
7404
|
-
{
|
|
7405
|
-
props: { color: "primary" },
|
|
7406
|
-
style: {
|
|
7407
|
-
color: theme.palette.primary.main,
|
|
7408
|
-
"&:hover": {
|
|
7409
|
-
color: theme.palette.primary.dark,
|
|
7410
|
-
}
|
|
7411
|
-
},
|
|
7412
|
-
}
|
|
7413
|
-
],
|
|
7414
|
-
},
|
|
7645
|
+
MuiLink: getMuiLink(theme),
|
|
7415
7646
|
MuiTypography: {
|
|
7416
7647
|
defaultProps: {
|
|
7417
7648
|
variantMapping: {
|
|
@@ -8834,6 +9065,15 @@ function FileUpload(_a) {
|
|
|
8834
9065
|
}), value: dropdown.value }));
|
|
8835
9066
|
}
|
|
8836
9067
|
|
|
9068
|
+
function Link(_a) {
|
|
9069
|
+
var variant = _a.variant, color = _a.color, children = _a.children, className = _a.className, bold = _a.bold, semiBold = _a.semiBold, props = __rest(_a, ["variant", "color", "children", "className", "bold", "semiBold"]);
|
|
9070
|
+
var classes = classNames(className, {
|
|
9071
|
+
"bold": bold,
|
|
9072
|
+
"semiBold": semiBold,
|
|
9073
|
+
});
|
|
9074
|
+
return React.createElement(material.Link, __assign({}, props, { variant: variant, color: color, className: classes }), children);
|
|
9075
|
+
}
|
|
9076
|
+
|
|
8837
9077
|
var css_248z$b = ".subNav-component-v2 {\n flex-wrap: wrap;\n}\n.subNav-component-v2.dir-row button:not(:last-child) {\n margin-right: 2px;\n}\n.subNav-component-v2.dir-column button:not(:first-child) {\n margin-top: 1.25rem;\n}\n.subNav-component-v2 button.default, .subNav-component-v2 button.text {\n color: var(--body-font-color, var(--dark-matter, #2B2B2B));\n outline: none;\n}\n.subNav-component-v2 button.default span, .subNav-component-v2 button.text span {\n color: var(--body-font-color, var(--dark-matter, #2B2B2B));\n}\n.subNav-component-v2 button.default:hover, .subNav-component-v2 button.text:hover {\n outline: none;\n}\n.subNav-component-v2 button.default:active, .subNav-component-v2 button.text:active {\n outline: none !important;\n}\n.subNav-component-v2 button.default {\n text-transform: none;\n}\n.subNav-component-v2 button.default span {\n text-transform: none;\n}\n.subNav-component-v2 button.default.selected {\n background-color: var(--cloud, #F4F4F4);\n}\n.subNav-component-v2 button.text span {\n color: var(--silver, #9B9B9B);\n}\n.subNav-component-v2 button.text:hover, .subNav-component-v2 button.text.selected {\n background: none;\n color: var(--body-font-color, var(--dark-matter, #2B2B2B));\n}\n.subNav-component-v2 button.text:hover span, .subNav-component-v2 button.text.selected span {\n color: var(--body-font-color, var(--dark-matter, #2B2B2B));\n}";
|
|
8838
9078
|
styleInject(css_248z$b);
|
|
8839
9079
|
|
|
@@ -9008,7 +9248,7 @@ function FilterBar(_a) {
|
|
|
9008
9248
|
React.createElement(DropMenu, { inlineMenu: true, options: dropMenuOptions }),
|
|
9009
9249
|
currentAction && React.createElement(Button, { color: "cloud", onClick: currentAction.onClick }, currentAction.text)))),
|
|
9010
9250
|
!showSearch &&
|
|
9011
|
-
React.createElement(
|
|
9251
|
+
React.createElement(Link, { color: "secondary.main", onClick: handleShowSearch, alignItems: "center", justifyContent: "center", display: "flex", gap: 3 },
|
|
9012
9252
|
React.createElement(Icon, { name: "Add18", color: "secondary" }),
|
|
9013
9253
|
" ",
|
|
9014
9254
|
addFilterTxt)),
|
|
@@ -9023,10 +9263,8 @@ function FilterBar(_a) {
|
|
|
9023
9263
|
}).reverse()),
|
|
9024
9264
|
cFilterTerms.length > 0 &&
|
|
9025
9265
|
React.createElement(material.Stack, { direction: "row", className: "actionContainer", alignItems: "center", justifyContent: "center", gap: 3 },
|
|
9026
|
-
onSave && React.createElement(
|
|
9027
|
-
|
|
9028
|
-
React.createElement(material.Link, { onClick: handleOnClear },
|
|
9029
|
-
React.createElement(Typography, { variant: "body2" }, clearTxt))));
|
|
9266
|
+
onSave && React.createElement(Link, { onClick: handleOnSave, variant: "body2" }, saveTxt),
|
|
9267
|
+
React.createElement(Link, { onClick: handleOnClear, variant: "body2" }, clearTxt)));
|
|
9030
9268
|
}
|
|
9031
9269
|
|
|
9032
9270
|
var emptyAccountLimits = {
|
|
@@ -9936,6 +10174,15 @@ function renderForm(_a) {
|
|
|
9936
10174
|
}
|
|
9937
10175
|
});
|
|
9938
10176
|
}
|
|
10177
|
+
function renderPublicHtmlForm(_a) {
|
|
10178
|
+
var id = _a.id, token = _a.token;
|
|
10179
|
+
return callApi({
|
|
10180
|
+
url: uiKitConfig.GATEWAY_PROXY + "/forms/" + id + "/render-html?token=" + token,
|
|
10181
|
+
fetchOptions: {
|
|
10182
|
+
method: exports.EMethods.get
|
|
10183
|
+
}
|
|
10184
|
+
});
|
|
10185
|
+
}
|
|
9939
10186
|
|
|
9940
10187
|
exports.EEditorType = void 0;
|
|
9941
10188
|
(function (EEditorType) {
|
|
@@ -15863,7 +16110,7 @@ function ResourceEdit(_a) {
|
|
|
15863
16110
|
React.createElement(material.Box, { className: "resource-support ".concat(!open ? "open" : "hidden") }, support));
|
|
15864
16111
|
}
|
|
15865
16112
|
|
|
15866
|
-
var css_248z$2 = "html {\n font-size: 14px;\n}\n\n@media only screen and (min-width: 1440px) {\n html {\n font-size: 16px;\n }\n}\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-kit-v2-wrapper .MuiTypography-root,\n.MuiDialog-root .MuiTypography-root,\n.MuiTooltip-popper .MuiTypography-root,\n.MuiPopover-root .MuiTypography-root,\n.MuiMenu-root .MuiTypography-root,\n.base-Popper-root .MuiTypography-root {\n overflow-wrap: break-word;\n -webkit-hyphens: auto;\n hyphens: auto;\n}\n.ui-kit-v2-wrapper .hidden,\n.MuiDialog-root .hidden,\n.MuiTooltip-popper .hidden,\n.MuiPopover-root .hidden,\n.MuiMenu-root .hidden,\n.base-Popper-root .hidden {\n display: none;\n}\n.ui-kit-v2-wrapper .loading,\n.ui-kit-v2-wrapper .disabled,\n.ui-kit-v2-wrapper .inactive,\n.MuiDialog-root .loading,\n.MuiDialog-root .disabled,\n.MuiDialog-root .inactive,\n.MuiTooltip-popper .loading,\n.MuiTooltip-popper .disabled,\n.MuiTooltip-popper .inactive,\n.MuiPopover-root .loading,\n.MuiPopover-root .disabled,\n.MuiPopover-root .inactive,\n.MuiMenu-root .loading,\n.MuiMenu-root .disabled,\n.MuiMenu-root .inactive,\n.base-Popper-root .loading,\n.base-Popper-root .disabled,\n.base-Popper-root .inactive {\n opacity: 0.65;\n pointer-events: none;\n}\n.ui-kit-v2-wrapper .hoverAble,\n.MuiDialog-root .hoverAble,\n.MuiTooltip-popper .hoverAble,\n.MuiPopover-root .hoverAble,\n.MuiMenu-root .hoverAble,\n.base-Popper-root .hoverAble {\n cursor: pointer;\n}\n.ui-kit-v2-wrapper .hoverAble:hover,\n.MuiDialog-root .hoverAble:hover,\n.MuiTooltip-popper .hoverAble:hover,\n.MuiPopover-root .hoverAble:hover,\n.MuiMenu-root .hoverAble:hover,\n.base-Popper-root .hoverAble:hover {\n opacity: 0.65;\n}\n.ui-kit-v2-wrapper .squared,\n.MuiDialog-root .squared,\n.MuiTooltip-popper .squared,\n.MuiPopover-root .squared,\n.MuiMenu-root .squared,\n.base-Popper-root .squared {\n border-radius: 8px !important;\n}\n.ui-kit-v2-wrapper .round,\n.MuiDialog-root .round,\n.MuiTooltip-popper .round,\n.MuiPopover-root .round,\n.MuiMenu-root .round,\n.base-Popper-root .round {\n border-radius: 100px !important;\n}\n.ui-kit-v2-wrapper .rotate-180,\n.MuiDialog-root .rotate-180,\n.MuiTooltip-popper .rotate-180,\n.MuiPopover-root .rotate-180,\n.MuiMenu-root .rotate-180,\n.base-Popper-root .rotate-180 {\n transform: rotate(180deg) !important;\n}\n.ui-kit-v2-wrapper .semiBold,\n.MuiDialog-root .semiBold,\n.MuiTooltip-popper .semiBold,\n.MuiPopover-root .semiBold,\n.MuiMenu-root .semiBold,\n.base-Popper-root .semiBold {\n font-weight: 600 !important;\n}\n.ui-kit-v2-wrapper .bold,\n.MuiDialog-root .bold,\n.MuiTooltip-popper .bold,\n.MuiPopover-root .bold,\n.MuiMenu-root .bold,\n.base-Popper-root .bold {\n font-weight: 700 !important;\n}\n.ui-kit-v2-wrapper .regular,\n.MuiDialog-root .regular,\n.MuiTooltip-popper .regular,\n.MuiPopover-root .regular,\n.MuiMenu-root .regular,\n.base-Popper-root .regular {\n font-weight: 400 !important;\n}\n.ui-kit-v2-wrapper .uppercase,\n.MuiDialog-root .uppercase,\n.MuiTooltip-popper .uppercase,\n.MuiPopover-root .uppercase,\n.MuiMenu-root .uppercase,\n.base-Popper-root .uppercase {\n text-transform: uppercase;\n}\n.ui-kit-v2-wrapper .showTooltip,\n.MuiDialog-root .showTooltip,\n.MuiTooltip-popper .showTooltip,\n.MuiPopover-root .showTooltip,\n.MuiMenu-root .showTooltip,\n.base-Popper-root .showTooltip {\n border-bottom: 1px dashed var(--body-font-color-2, var(--silver, #9B9B9B));\n cursor: pointer;\n}\n.ui-kit-v2-wrapper .ellipsis,\n.MuiDialog-root .ellipsis,\n.MuiTooltip-popper .ellipsis,\n.MuiPopover-root .ellipsis,\n.MuiMenu-root .ellipsis,\n.base-Popper-root .ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n text-wrap: nowrap !important;\n}\n.ui-kit-v2-wrapper .multilineEllipsis,\n.MuiDialog-root .multilineEllipsis,\n.MuiTooltip-popper .multilineEllipsis,\n.MuiPopover-root .multilineEllipsis,\n.MuiMenu-root .multilineEllipsis,\n.base-Popper-root .multilineEllipsis {\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 3;\n line-clamp: 3;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: normal !important;\n word-break: break-word !important;\n}\n.ui-kit-v2-wrapper li::before,\n.MuiDialog-root li::before,\n.MuiTooltip-popper li::before,\n.MuiPopover-root li::before,\n.MuiMenu-root li::before,\n.base-Popper-root li::before {\n content: unset;\n}\n\n.sideMenu-component-v2 {\n z-index: 8000;\n width: -moz-fit-content;\n width: fit-content;\n}\n.sideMenu-component-v2 .sideMenu-spacer {\n display: none;\n}\n.sideMenu-component-v2.minified:hover .sideMenu-spacer {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper {\n z-index: 8000;\n display: flex;\n height: 100%;\n flex-direction: column;\n width: 20rem;\n min-width: 20rem;\n max-width: 20rem;\n padding: 1rem;\n background: var(--shade100, #F3F2F2);\n position: relative;\n box-sizing: border-box;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track:horizontal {\n position: absolute;\n bottom: -20px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track:vertical {\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 8px !important;\n border-top-right-radius: 8px !important;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track {\n height: 2.5rem;\n width: 2.5rem;\n padding: 2rem;\n background-clip: content-box;\n border-bottom-left-radius: 8px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-thumb {\n background: var(--body-font-color-2, var(--silver, #9B9B9B));\n border-radius: 24px;\n border-top: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-bottom: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-right: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-left: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:hover {\n box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.15);\n position: absolute !important;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) {\n gap: 1rem;\n max-width: 73px;\n min-width: 73px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuHeader {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .subNav-component-v2 button {\n padding: 0.75rem;\n margin-right: 0;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .subNav-component-v2 button:not(.selected) {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2.subItem,\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 .chevron {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 a {\n justify-content: center;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 a .MuiStack-root {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .footer > .avatar-component-v2 {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .footer button {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuHeader {\n margin-bottom: 1.5rem;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuHeader .minifyIcon {\n cursor: pointer;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2 {\n margin-top: 1.5rem;\n position: relative;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2 .inputContainer {\n padding: 0.75rem 1rem;\n box-shadow: unset;\n border-radius: 8px;\n border: 1px solid var(--shade200, #DBDADA);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2:after {\n position: absolute;\n left: 0;\n bottom: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(var(--shade100, #F3F2F2) 0%, transparent 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 {\n width: 100%;\n position: relative;\n justify-content: space-between;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2:after {\n position: absolute;\n left: 0;\n bottom: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(var(--shade100, #F3F2F2) 0%, transparent 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button {\n flex: 1;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) {\n background: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg path:not(.noFill),\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg rect:not(.noFill) {\n fill: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg path.noFill,\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg rect.noFill {\n stroke: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuContainer-component-v2 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer {\n position: relative;\n justify-self: flex-end;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer:before {\n position: absolute;\n left: 0;\n top: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(transparent 0, var(--shade100, #F3F2F2) 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer > .avatar-component-v2 {\n display: none;\n}\n\n.sideMenuContainer-component-v2 {\n flex: 1;\n overflow-y: auto;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.withSubItems.openedSubMenu .sideMenuItem-component-v2:nth-child(2) {\n margin-top: calc(0.5rem - 1px);\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.withSubItems.openedSubMenu .sideMenuItem-component-v2:last-child {\n margin-bottom: calc(0.5rem - 1px);\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.subSection {\n margin-top: 1rem;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow:first-child {\n margin-top: 0;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.subItem {\n margin-left: 2.75rem;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.rotate .chevron {\n rotate: 180deg;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.hasLocationSelected:hover a {\n cursor: default;\n background: unset !important;\n}\n\n.sideMenuItem-component-v2 {\n box-sizing: border-box;\n}\n.sideMenuItem-component-v2:hover a, .sideMenuItem-component-v2.selected a {\n background: var(--shade200, #DBDADA);\n}\n.sideMenuItem-component-v2.hasSubItemSelected > .MuiTypography-root .chevron {\n rotate: -90deg;\n}\n.sideMenuItem-component-v2 .avatar-component-v2 .MuiAvatar-root {\n border-color: var(--shade200, #DBDADA);\n background: var(--white, #FFFFFF);\n}\n.sideMenuItem-component-v2 .chevron {\n margin-left: 1rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sideMenuItem-component-v2 a {\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n padding: 0.75rem;\n border-radius: 8px;\n text-decoration: none;\n gap: 1rem;\n}\n.sideMenuItem-component-v2 a > .MuiStack-root {\n flex: 1;\n}\n.sideMenuItem-component-v2 a img {\n max-width: 80px;\n}\n.sideMenuItem-component-v2.soloItem a {\n border-radius: 16px;\n padding: 1.5rem;\n border: 1px solid var(--shade200, #DBDADA);\n}\n.sideMenuItem-component-v2.soloItem a:hover {\n border-color: var(--wild-sand, #dddddd);\n}\n.sideMenuItem-component-v2.soloItem .chevron {\n rotate: -90deg;\n}\n.sideMenuItem-component-v2.subSection {\n padding: 0.5rem 0.75rem 0.5rem 0.75rem;\n}";
|
|
16113
|
+
var css_248z$2 = "html {\n font-size: 14px;\n}\n\n@media only screen and (min-width: 1440px) {\n html {\n font-size: 16px;\n }\n}\n.ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ui-kit-v2-wrapper .MuiTypography-root,\n.MuiDialog-root .MuiTypography-root,\n.MuiTooltip-popper .MuiTypography-root,\n.MuiPopover-root .MuiTypography-root,\n.MuiMenu-root .MuiTypography-root,\n.base-Popper-root .MuiTypography-root {\n overflow-wrap: break-word;\n -webkit-hyphens: auto;\n hyphens: auto;\n}\n.ui-kit-v2-wrapper .hidden,\n.MuiDialog-root .hidden,\n.MuiTooltip-popper .hidden,\n.MuiPopover-root .hidden,\n.MuiMenu-root .hidden,\n.base-Popper-root .hidden {\n display: none;\n}\n.ui-kit-v2-wrapper .loading,\n.ui-kit-v2-wrapper .disabled,\n.ui-kit-v2-wrapper .inactive,\n.MuiDialog-root .loading,\n.MuiDialog-root .disabled,\n.MuiDialog-root .inactive,\n.MuiTooltip-popper .loading,\n.MuiTooltip-popper .disabled,\n.MuiTooltip-popper .inactive,\n.MuiPopover-root .loading,\n.MuiPopover-root .disabled,\n.MuiPopover-root .inactive,\n.MuiMenu-root .loading,\n.MuiMenu-root .disabled,\n.MuiMenu-root .inactive,\n.base-Popper-root .loading,\n.base-Popper-root .disabled,\n.base-Popper-root .inactive {\n opacity: 0.65;\n pointer-events: none;\n}\n.ui-kit-v2-wrapper .hoverAble,\n.MuiDialog-root .hoverAble,\n.MuiTooltip-popper .hoverAble,\n.MuiPopover-root .hoverAble,\n.MuiMenu-root .hoverAble,\n.base-Popper-root .hoverAble {\n cursor: pointer;\n}\n.ui-kit-v2-wrapper .hoverAble:hover,\n.MuiDialog-root .hoverAble:hover,\n.MuiTooltip-popper .hoverAble:hover,\n.MuiPopover-root .hoverAble:hover,\n.MuiMenu-root .hoverAble:hover,\n.base-Popper-root .hoverAble:hover {\n opacity: 0.65;\n}\n.ui-kit-v2-wrapper .squared,\n.MuiDialog-root .squared,\n.MuiTooltip-popper .squared,\n.MuiPopover-root .squared,\n.MuiMenu-root .squared,\n.base-Popper-root .squared {\n border-radius: 8px !important;\n}\n.ui-kit-v2-wrapper .round,\n.MuiDialog-root .round,\n.MuiTooltip-popper .round,\n.MuiPopover-root .round,\n.MuiMenu-root .round,\n.base-Popper-root .round {\n border-radius: 100px !important;\n}\n.ui-kit-v2-wrapper .rotate-180,\n.MuiDialog-root .rotate-180,\n.MuiTooltip-popper .rotate-180,\n.MuiPopover-root .rotate-180,\n.MuiMenu-root .rotate-180,\n.base-Popper-root .rotate-180 {\n transform: rotate(180deg) !important;\n}\n.ui-kit-v2-wrapper .semiBold,\n.MuiDialog-root .semiBold,\n.MuiTooltip-popper .semiBold,\n.MuiPopover-root .semiBold,\n.MuiMenu-root .semiBold,\n.base-Popper-root .semiBold {\n font-weight: 600 !important;\n}\n.ui-kit-v2-wrapper .bold,\n.MuiDialog-root .bold,\n.MuiTooltip-popper .bold,\n.MuiPopover-root .bold,\n.MuiMenu-root .bold,\n.base-Popper-root .bold {\n font-weight: 700 !important;\n}\n.ui-kit-v2-wrapper .regular,\n.MuiDialog-root .regular,\n.MuiTooltip-popper .regular,\n.MuiPopover-root .regular,\n.MuiMenu-root .regular,\n.base-Popper-root .regular {\n font-weight: 400 !important;\n}\n.ui-kit-v2-wrapper .uppercase,\n.MuiDialog-root .uppercase,\n.MuiTooltip-popper .uppercase,\n.MuiPopover-root .uppercase,\n.MuiMenu-root .uppercase,\n.base-Popper-root .uppercase {\n text-transform: uppercase;\n}\n.ui-kit-v2-wrapper .showTooltip,\n.MuiDialog-root .showTooltip,\n.MuiTooltip-popper .showTooltip,\n.MuiPopover-root .showTooltip,\n.MuiMenu-root .showTooltip,\n.base-Popper-root .showTooltip {\n border-bottom: 1px dashed var(--body-font-color-2, var(--silver, #9B9B9B));\n cursor: pointer;\n}\n.ui-kit-v2-wrapper .ellipsis,\n.MuiDialog-root .ellipsis,\n.MuiTooltip-popper .ellipsis,\n.MuiPopover-root .ellipsis,\n.MuiMenu-root .ellipsis,\n.base-Popper-root .ellipsis {\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n text-wrap: nowrap !important;\n}\n.ui-kit-v2-wrapper .multilineEllipsis,\n.MuiDialog-root .multilineEllipsis,\n.MuiTooltip-popper .multilineEllipsis,\n.MuiPopover-root .multilineEllipsis,\n.MuiMenu-root .multilineEllipsis,\n.base-Popper-root .multilineEllipsis {\n display: -webkit-box !important;\n -webkit-box-orient: vertical !important;\n -webkit-line-clamp: 3;\n line-clamp: 3;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: normal !important;\n word-break: break-word !important;\n}\n.ui-kit-v2-wrapper li::before,\n.MuiDialog-root li::before,\n.MuiTooltip-popper li::before,\n.MuiPopover-root li::before,\n.MuiMenu-root li::before,\n.base-Popper-root li::before {\n content: unset;\n}\n\n.sideMenu-component-v2 {\n z-index: 8000;\n width: -moz-fit-content;\n width: fit-content;\n}\n.sideMenu-component-v2 .sideMenu-spacer {\n display: none;\n}\n.sideMenu-component-v2.minified:hover .sideMenu-spacer {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper {\n z-index: 8000;\n display: flex;\n height: 100%;\n flex-direction: column;\n width: 20rem;\n min-width: 20rem;\n max-width: 20rem;\n padding: 1rem;\n background: var(--shade100, #F3F2F2);\n position: relative;\n box-sizing: border-box;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track:horizontal {\n position: absolute;\n bottom: -20px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track:vertical {\n border-bottom-left-radius: 0 !important;\n border-bottom-right-radius: 8px !important;\n border-top-right-radius: 8px !important;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-track {\n height: 2.5rem;\n width: 2.5rem;\n padding: 2rem;\n background-clip: content-box;\n border-bottom-left-radius: 8px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper::-webkit-scrollbar-thumb {\n background: var(--body-font-color-2, var(--silver, #9B9B9B));\n border-radius: 24px;\n border-top: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-bottom: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-right: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n border-left: 5px solid var(--background-color-1, var(--white, #FFFFFF));\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:hover {\n box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.15);\n position: absolute !important;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) {\n gap: 1rem;\n max-width: 73px;\n min-width: 73px;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuHeader {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .subNav-component-v2 button {\n padding: 0.75rem;\n margin-right: 0;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .subNav-component-v2 button:not(.selected) {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2.subItem,\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 .chevron {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 a {\n justify-content: center;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .sideMenuContainer-component-v2 .menuItemRow .sideMenuItem-component-v2 a .MuiStack-root {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .footer > .avatar-component-v2 {\n display: block;\n}\n.sideMenu-component-v2 .sideMenu-wrapper.minified:not(:hover) .footer button {\n display: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuHeader {\n margin-bottom: 1.5rem;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuHeader .minifyIcon {\n cursor: pointer;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2 {\n margin-top: 1.5rem;\n position: relative;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2 .inputContainer {\n padding: 0.75rem 1rem;\n box-shadow: unset;\n border-radius: 8px;\n border: 1px solid var(--shade200, #DBDADA);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .search-component-v2:after {\n position: absolute;\n left: 0;\n bottom: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(var(--shade100, #F3F2F2) 0%, transparent 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 {\n width: 100%;\n position: relative;\n justify-content: space-between;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2:after {\n position: absolute;\n left: 0;\n bottom: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(var(--shade100, #F3F2F2) 0%, transparent 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button {\n flex: 1;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) {\n background: none;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg path:not(.noFill),\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg rect:not(.noFill) {\n fill: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg path.noFill,\n.sideMenu-component-v2 .sideMenu-wrapper .subNav-component-v2 button:not(.selected):not(:hover) svg rect.noFill {\n stroke: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.sideMenu-component-v2 .sideMenu-wrapper .sideMenuContainer-component-v2 {\n padding-top: 1.5rem;\n padding-bottom: 1.5rem;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer {\n position: relative;\n justify-self: flex-end;\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer:before {\n position: absolute;\n left: 0;\n top: -1.5rem;\n content: \"\";\n display: block;\n width: 100%;\n height: 1.5rem;\n background: linear-gradient(transparent 0, var(--shade100, #F3F2F2) 100%);\n}\n.sideMenu-component-v2 .sideMenu-wrapper .footer > .avatar-component-v2 {\n display: none;\n}\n\n.sideMenuContainer-component-v2 {\n flex: 1;\n overflow-y: auto;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.withSubItems.openedSubMenu .sideMenuItem-component-v2:nth-child(2) {\n margin-top: calc(0.5rem - 1px);\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.withSubItems.openedSubMenu .sideMenuItem-component-v2:last-child {\n margin-bottom: calc(0.5rem - 1px);\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow.subSection {\n margin-top: 1rem;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer > .menuItemRow:first-child {\n margin-top: 0;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.subItem {\n margin-left: 2.75rem;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.rotate .chevron {\n rotate: 180deg;\n}\n.sideMenuContainer-component-v2 .menuItemsContainer .sideMenuItem-component-v2.hasLocationSelected:hover a {\n cursor: default;\n background: unset !important;\n}\n\n.sideMenuItem-component-v2 {\n box-sizing: border-box;\n}\n.sideMenuItem-component-v2:hover a, .sideMenuItem-component-v2.selected a {\n background: var(--shade200, #DBDADA);\n}\n.sideMenuItem-component-v2.hasSubItemSelected > .MuiTypography-root .chevron {\n rotate: -90deg;\n}\n.sideMenuItem-component-v2 .avatar-component-v2 .MuiAvatar-root {\n border-color: var(--shade200, #DBDADA);\n background: var(--white, #FFFFFF);\n}\n.sideMenuItem-component-v2 .chevron {\n margin-left: 1rem;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sideMenuItem-component-v2 a {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.75rem;\n border-radius: 8px;\n text-decoration: none;\n gap: 1rem;\n}\n.sideMenuItem-component-v2 a > .MuiStack-root {\n flex: 1;\n}\n.sideMenuItem-component-v2 a img {\n max-width: 80px;\n}\n.sideMenuItem-component-v2.soloItem a {\n border-radius: 16px;\n padding: 1.5rem;\n border: 1px solid var(--shade200, #DBDADA);\n}\n.sideMenuItem-component-v2.soloItem a:hover {\n border-color: var(--wild-sand, #dddddd);\n}\n.sideMenuItem-component-v2.soloItem .chevron {\n rotate: -90deg;\n}\n.sideMenuItem-component-v2.subSection {\n padding: 0.5rem 0.75rem 0.5rem 0.75rem;\n}";
|
|
15867
16114
|
styleInject(css_248z$2);
|
|
15868
16115
|
|
|
15869
16116
|
//{ subNav, menuItems, bottomContent, className, forcedLocationPath, menuItemClick, children }: TSideMenu
|
|
@@ -15899,7 +16146,7 @@ function SideMenuItem(_a) {
|
|
|
15899
16146
|
var mainClasses = classNames("sideMenuItem-component-v2", className, item.className, variant);
|
|
15900
16147
|
return React.createElement(Box, { className: mainClasses },
|
|
15901
16148
|
variant === "" || variant === "soloItem" ?
|
|
15902
|
-
React.createElement(
|
|
16149
|
+
React.createElement(Link, { href: item.path, "data-name": item.name, onClick: menuItemClick },
|
|
15903
16150
|
item.prefix && React.cloneElement(item.prefix, { key: 'sideMenuItemPrefix' }),
|
|
15904
16151
|
item.icon && React.createElement(Icon, { name: item.icon }),
|
|
15905
16152
|
React.createElement(material.Stack, { alignItems: "flex-start", justifyContent: "center", flex: 1 },
|
|
@@ -16860,7 +17107,7 @@ var FormModel = /** @class */ (function (_super) {
|
|
|
16860
17107
|
var SummaryEnhancedFormModel = /** @class */ (function (_super) {
|
|
16861
17108
|
__extends(SummaryEnhancedFormModel, _super);
|
|
16862
17109
|
function SummaryEnhancedFormModel(_a) {
|
|
16863
|
-
var id = _a.id, list_id = _a.list_id, enabled = _a.enabled, name = _a.name, description = _a.description, tags = _a.tags, post_redirect_url = _a.post_redirect_url, double_opt_in = _a.double_opt_in, double_opt_in_redirect_url = _a.double_opt_in_redirect_url, submission_url = _a.submission_url, async_processing = _a.async_processing, branding = _a.branding, created_on = _a.created_on, updated_on = _a.updated_on, published_on = _a.published_on, edited_by = _a.edited_by, thumbnail_url = _a.thumbnail_url, recaptcha = _a.recaptcha;
|
|
17110
|
+
var id = _a.id, list_id = _a.list_id, enabled = _a.enabled, name = _a.name, description = _a.description, tags = _a.tags, post_redirect_url = _a.post_redirect_url, double_opt_in = _a.double_opt_in, double_opt_in_redirect_url = _a.double_opt_in_redirect_url, submission_url = _a.submission_url, async_processing = _a.async_processing, branding = _a.branding, created_on = _a.created_on, updated_on = _a.updated_on, published_on = _a.published_on, edited_by = _a.edited_by, thumbnail_url = _a.thumbnail_url, recaptcha = _a.recaptcha, published_url = _a.published_url;
|
|
16864
17111
|
var _this = _super.call(this, { id: id, name: name, list_id: list_id, double_opt_in: double_opt_in }) || this;
|
|
16865
17112
|
_this.enabled = enabled;
|
|
16866
17113
|
_this.description = description;
|
|
@@ -16876,6 +17123,7 @@ var SummaryEnhancedFormModel = /** @class */ (function (_super) {
|
|
|
16876
17123
|
_this.edited_by = edited_by;
|
|
16877
17124
|
_this.thumbnail_url = thumbnail_url;
|
|
16878
17125
|
_this.recaptcha = recaptcha;
|
|
17126
|
+
_this.published_url = published_url;
|
|
16879
17127
|
return _this;
|
|
16880
17128
|
}
|
|
16881
17129
|
SummaryEnhancedFormModel.prototype.enable = function () {
|
|
@@ -17203,6 +17451,16 @@ var FormsFactory = /** @class */ (function () {
|
|
|
17203
17451
|
});
|
|
17204
17452
|
});
|
|
17205
17453
|
};
|
|
17454
|
+
FormsFactory.renderPublic = function (_a) {
|
|
17455
|
+
return __awaiter(this, arguments, void 0, function (_b) {
|
|
17456
|
+
var id = _b.id, token = _b.token;
|
|
17457
|
+
return __generator(this, function (_c) {
|
|
17458
|
+
return [2 /*return*/, renderPublicHtmlForm({ id: id, token: token }).then(function (data) {
|
|
17459
|
+
return data;
|
|
17460
|
+
})];
|
|
17461
|
+
});
|
|
17462
|
+
});
|
|
17463
|
+
};
|
|
17206
17464
|
return FormsFactory;
|
|
17207
17465
|
}());
|
|
17208
17466
|
|
|
@@ -17529,6 +17787,7 @@ exports.IconPill = IconPill;
|
|
|
17529
17787
|
exports.InformationGroup = InformationGroup;
|
|
17530
17788
|
exports.InlineTextEdit = InlineTextEdit;
|
|
17531
17789
|
exports.LinearProgress = LinearProgress;
|
|
17790
|
+
exports.Link = Link;
|
|
17532
17791
|
exports.ListCampaignModel = ListCampaignModel;
|
|
17533
17792
|
exports.ListModel = ListModel;
|
|
17534
17793
|
exports.ListTemplateModel = ListTemplateModel;
|
|
@@ -17698,6 +17957,7 @@ exports.removeQueryParams = removeQueryParams;
|
|
|
17698
17957
|
exports.removeTrailingChar = removeTrailingChar;
|
|
17699
17958
|
exports.renderCampaign = renderCampaign;
|
|
17700
17959
|
exports.renderForm = renderForm;
|
|
17960
|
+
exports.renderPublicHtmlForm = renderPublicHtmlForm;
|
|
17701
17961
|
exports.renderTemplate = renderTemplate;
|
|
17702
17962
|
exports.requestSupportService = requestSupportService;
|
|
17703
17963
|
exports.resumeCampaign = resumeCampaign;
|
|
@@ -44,16 +44,17 @@ export declare class SummaryEnhancedFormModel extends CommonFormModel {
|
|
|
44
44
|
tags: string[] | null;
|
|
45
45
|
post_redirect_url: string;
|
|
46
46
|
double_opt_in_redirect_url: string;
|
|
47
|
-
submission_url: string;
|
|
48
47
|
async_processing: boolean;
|
|
49
48
|
branding: string;
|
|
49
|
+
recaptcha: TEnhancedFormRecaptcha;
|
|
50
|
+
readonly submission_url: string;
|
|
50
51
|
readonly created_on: number;
|
|
51
52
|
readonly updated_on: number;
|
|
52
53
|
readonly published_on: number;
|
|
53
54
|
readonly edited_by: TEnhancedFormEditedBy;
|
|
54
55
|
readonly thumbnail_url: string;
|
|
55
|
-
|
|
56
|
-
constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, }: TSummaryEnhancedFormModel);
|
|
56
|
+
readonly published_url: string;
|
|
57
|
+
constructor({ id, list_id, enabled, name, description, tags, post_redirect_url, double_opt_in, double_opt_in_redirect_url, submission_url, async_processing, branding, created_on, updated_on, published_on, edited_by, thumbnail_url, recaptcha, published_url }: TSummaryEnhancedFormModel);
|
|
57
58
|
enable(): Promise<EnhancedFormModel>;
|
|
58
59
|
disable(): Promise<EnhancedFormModel>;
|
|
59
60
|
publish(): Promise<EnhancedFormModel>;
|
|
@@ -53,6 +53,7 @@ export interface TSummaryEnhancedFormModel {
|
|
|
53
53
|
readonly edited_by: TEnhancedFormEditedBy;
|
|
54
54
|
readonly thumbnail_url: string;
|
|
55
55
|
recaptcha: TEnhancedFormRecaptcha;
|
|
56
|
+
published_url: string;
|
|
56
57
|
}
|
|
57
58
|
export interface TEnhancedFormModel extends TSummaryEnhancedFormModel {
|
|
58
59
|
content: TEnhancedFormContent;
|