fansunited-management-components 1.58.0 → 1.59.0-RC1
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/dev/App.d.ts.map +1 -1
- package/index.es.js +15874 -20109
- package/index.umd.js +220 -1214
- package/package.json +1 -1
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts +26 -2
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts.map +1 -1
- package/src/constants/components.d.ts +25 -1
- package/src/constants/components.d.ts.map +1 -1
- package/src/context/ComponentContext.d.ts +25 -1
- package/src/context/ComponentContext.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -7,6 +7,14 @@ type WidgetEmbedCodeLabels = {
|
|
|
7
7
|
imagePositionDescription: string;
|
|
8
8
|
showAnswerExplanations: string;
|
|
9
9
|
showAnswerExplanationsTooltip: string;
|
|
10
|
+
showPredictionDetails?: string;
|
|
11
|
+
showPredictionDetailsTooltip?: string;
|
|
12
|
+
showCountdown?: string;
|
|
13
|
+
showCountdownTooltip?: string;
|
|
14
|
+
showTeamLabels?: string;
|
|
15
|
+
showTeamLabelsTooltip?: string;
|
|
16
|
+
showPoints?: string;
|
|
17
|
+
showPointsTooltip?: string;
|
|
10
18
|
configureLeads: string;
|
|
11
19
|
configureLeadsDisabledMessage: string;
|
|
12
20
|
configureSignIn: string;
|
|
@@ -16,6 +24,10 @@ type WidgetEmbedCodeLabels = {
|
|
|
16
24
|
signInLabelInfoMessage: string;
|
|
17
25
|
authenticationHandler: string;
|
|
18
26
|
authenticationHandlerInfoMessage: string;
|
|
27
|
+
signInUrl: string;
|
|
28
|
+
signInUrlInfoMessage: string;
|
|
29
|
+
signInTarget: string;
|
|
30
|
+
signInTargetInfoMessage: string;
|
|
19
31
|
addCampaignInfo: string;
|
|
20
32
|
id: string;
|
|
21
33
|
name: string;
|
|
@@ -23,9 +35,21 @@ type WidgetEmbedCodeLabels = {
|
|
|
23
35
|
campaignNameInfoMessage: string;
|
|
24
36
|
copyToClipboard: string;
|
|
25
37
|
divElementTextInfo: string;
|
|
38
|
+
syncWithProfile: string;
|
|
39
|
+
syncWithProfileDescription: string;
|
|
40
|
+
configureAdditionalCta: string;
|
|
41
|
+
configureAdditionalCtaTooltip: string;
|
|
42
|
+
additionalCtaLabel: string;
|
|
43
|
+
additionalCtaLabelInfoMessage: string;
|
|
44
|
+
additionalCtaHandler: string;
|
|
45
|
+
additionalCtaHandlerInfoMessage: string;
|
|
46
|
+
additionalCtaUrl: string;
|
|
47
|
+
additionalCtaUrlInfoMessage: string;
|
|
48
|
+
additionalCtaTarget: string;
|
|
49
|
+
additionalCtaTargetInfoMessage: string;
|
|
26
50
|
};
|
|
27
51
|
type WidgetEmbedCodeProps = {
|
|
28
|
-
entityType: 'classic-quiz' | 'personality-quiz' | 'either-or' | 'poll';
|
|
52
|
+
entityType: 'classic-quiz' | 'personality-quiz' | 'either-or' | 'poll' | 'match-quiz' | 'event-game';
|
|
29
53
|
entityId: string;
|
|
30
54
|
authRequirement: string | null;
|
|
31
55
|
labels: WidgetEmbedCodeLabels;
|
|
@@ -33,7 +57,7 @@ type WidgetEmbedCodeProps = {
|
|
|
33
57
|
/**
|
|
34
58
|
* Generates embed div code for a single widget with optional leads and campaign data attributes.
|
|
35
59
|
*
|
|
36
|
-
* @property {'classic-quiz'|'personality-quiz'|'either-or'|'poll'} entityType - Widget type.
|
|
60
|
+
* @property {'classic-quiz'|'personality-quiz'|'either-or'|'poll'|'match-quiz'|'event-game'} entityType - Widget type.
|
|
37
61
|
* @property {string} entityId - Target entity id.
|
|
38
62
|
* @property {string|null} authRequirement - Used to enable/disable leads configuration and sign in config fields.
|
|
39
63
|
* @property {object} labels - Custom labels for UI and tooltips.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WidgetEmbedCode.d.ts","sourceRoot":"","sources":["../../../../src/components/WidgetEmbedCode/WidgetEmbedCode.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1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CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6BAA6B,EAAE,MAAM,CAAC;IACtC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,6BAA6B,EAAE,MAAM,CAAC;IACtC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,+BAA+B,EAAE,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,2BAA2B,EAAE,MAAM,CAAC;IACpC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,8BAA8B,EAAE,MAAM,CAAC;CACvC,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC3B,UAAU,EAAE,cAAc,GAAG,kBAAkB,GAAG,WAAW,GAAG,MAAM,GAAG,YAAY,GAAG,YAAY,CAAC;IACrG,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,qBAAqB,CAAC;CAC9B,CAAC;AAEF;;;;;;;GAOG;AACH,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAymBnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -456,7 +456,7 @@ export declare const components: {
|
|
|
456
456
|
* Generates embed div code for a single widget with optional leads and campaign data attributes.
|
|
457
457
|
*/
|
|
458
458
|
readonly WidgetEmbedCode: import('react').FC<{
|
|
459
|
-
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll";
|
|
459
|
+
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll" | "match-quiz" | "event-game";
|
|
460
460
|
entityId: string;
|
|
461
461
|
authRequirement: string | null;
|
|
462
462
|
labels: {
|
|
@@ -466,6 +466,14 @@ export declare const components: {
|
|
|
466
466
|
imagePositionDescription: string;
|
|
467
467
|
showAnswerExplanations: string;
|
|
468
468
|
showAnswerExplanationsTooltip: string;
|
|
469
|
+
showPredictionDetails?: string;
|
|
470
|
+
showPredictionDetailsTooltip?: string;
|
|
471
|
+
showCountdown?: string;
|
|
472
|
+
showCountdownTooltip?: string;
|
|
473
|
+
showTeamLabels?: string;
|
|
474
|
+
showTeamLabelsTooltip?: string;
|
|
475
|
+
showPoints?: string;
|
|
476
|
+
showPointsTooltip?: string;
|
|
469
477
|
configureLeads: string;
|
|
470
478
|
configureLeadsDisabledMessage: string;
|
|
471
479
|
configureSignIn: string;
|
|
@@ -475,6 +483,10 @@ export declare const components: {
|
|
|
475
483
|
signInLabelInfoMessage: string;
|
|
476
484
|
authenticationHandler: string;
|
|
477
485
|
authenticationHandlerInfoMessage: string;
|
|
486
|
+
signInUrl: string;
|
|
487
|
+
signInUrlInfoMessage: string;
|
|
488
|
+
signInTarget: string;
|
|
489
|
+
signInTargetInfoMessage: string;
|
|
478
490
|
addCampaignInfo: string;
|
|
479
491
|
id: string;
|
|
480
492
|
name: string;
|
|
@@ -482,6 +494,18 @@ export declare const components: {
|
|
|
482
494
|
campaignNameInfoMessage: string;
|
|
483
495
|
copyToClipboard: string;
|
|
484
496
|
divElementTextInfo: string;
|
|
497
|
+
syncWithProfile: string;
|
|
498
|
+
syncWithProfileDescription: string;
|
|
499
|
+
configureAdditionalCta: string;
|
|
500
|
+
configureAdditionalCtaTooltip: string;
|
|
501
|
+
additionalCtaLabel: string;
|
|
502
|
+
additionalCtaLabelInfoMessage: string;
|
|
503
|
+
additionalCtaHandler: string;
|
|
504
|
+
additionalCtaHandlerInfoMessage: string;
|
|
505
|
+
additionalCtaUrl: string;
|
|
506
|
+
additionalCtaUrlInfoMessage: string;
|
|
507
|
+
additionalCtaTarget: string;
|
|
508
|
+
additionalCtaTargetInfoMessage: string;
|
|
485
509
|
};
|
|
486
510
|
}>;
|
|
487
511
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;;0CAtD8B,CAAC;;;;;;;IAwDlC;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;kBAvEwF,CAAC;qBAC/E,CAAC;iBAAiB,CAAA;;;;IAwE/B;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;;IAEH;;;;;;;;OAQG;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;IAEH;;OAEG;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;OAEG
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH;;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C;;;;;;;;;qCAGY,CAAC;;;;;qBAE+B,CAAC;2BAC3E,CAAA;oBAAoB,CAAC;;;;;;;;;;IA6OpB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEM,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
|
|
@@ -311,7 +311,7 @@ declare const ComponentContext: React.Context<{
|
|
|
311
311
|
setItems: React.Dispatch<React.SetStateAction<any[]>>;
|
|
312
312
|
}>;
|
|
313
313
|
readonly WidgetEmbedCode: React.FC<{
|
|
314
|
-
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll";
|
|
314
|
+
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll" | "match-quiz" | "event-game";
|
|
315
315
|
entityId: string;
|
|
316
316
|
authRequirement: string | null;
|
|
317
317
|
labels: {
|
|
@@ -321,6 +321,14 @@ declare const ComponentContext: React.Context<{
|
|
|
321
321
|
imagePositionDescription: string;
|
|
322
322
|
showAnswerExplanations: string;
|
|
323
323
|
showAnswerExplanationsTooltip: string;
|
|
324
|
+
showPredictionDetails?: string;
|
|
325
|
+
showPredictionDetailsTooltip?: string;
|
|
326
|
+
showCountdown?: string;
|
|
327
|
+
showCountdownTooltip?: string;
|
|
328
|
+
showTeamLabels?: string;
|
|
329
|
+
showTeamLabelsTooltip?: string;
|
|
330
|
+
showPoints?: string;
|
|
331
|
+
showPointsTooltip?: string;
|
|
324
332
|
configureLeads: string;
|
|
325
333
|
configureLeadsDisabledMessage: string;
|
|
326
334
|
configureSignIn: string;
|
|
@@ -330,6 +338,10 @@ declare const ComponentContext: React.Context<{
|
|
|
330
338
|
signInLabelInfoMessage: string;
|
|
331
339
|
authenticationHandler: string;
|
|
332
340
|
authenticationHandlerInfoMessage: string;
|
|
341
|
+
signInUrl: string;
|
|
342
|
+
signInUrlInfoMessage: string;
|
|
343
|
+
signInTarget: string;
|
|
344
|
+
signInTargetInfoMessage: string;
|
|
333
345
|
addCampaignInfo: string;
|
|
334
346
|
id: string;
|
|
335
347
|
name: string;
|
|
@@ -337,6 +349,18 @@ declare const ComponentContext: React.Context<{
|
|
|
337
349
|
campaignNameInfoMessage: string;
|
|
338
350
|
copyToClipboard: string;
|
|
339
351
|
divElementTextInfo: string;
|
|
352
|
+
syncWithProfile: string;
|
|
353
|
+
syncWithProfileDescription: string;
|
|
354
|
+
configureAdditionalCta: string;
|
|
355
|
+
configureAdditionalCtaTooltip: string;
|
|
356
|
+
additionalCtaLabel: string;
|
|
357
|
+
additionalCtaLabelInfoMessage: string;
|
|
358
|
+
additionalCtaHandler: string;
|
|
359
|
+
additionalCtaHandlerInfoMessage: string;
|
|
360
|
+
additionalCtaUrl: string;
|
|
361
|
+
additionalCtaUrlInfoMessage: string;
|
|
362
|
+
additionalCtaTarget: string;
|
|
363
|
+
additionalCtaTargetInfoMessage: string;
|
|
340
364
|
};
|
|
341
365
|
}>;
|
|
342
366
|
readonly WidgetListEmbedCode: React.FC<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3E,KAAK,sBAAsB,GAAG;IAC7B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAakiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAgR,CAAC;qBAAoB,CAAC;iBAAgB,CAAC
|
|
1
|
+
{"version":3,"file":"ComponentContext.d.ts","sourceRoot":"","sources":["../../../src/context/ComponentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAiB,iBAAiB,EAAE,SAAS,EAAE,MAAM,OA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