fansunited-management-components 1.58.0 → 1.59.0-RC2
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 +15870 -20108
- package/index.umd.js +220 -1214
- package/package.json +1 -1
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts +25 -2
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts.map +1 -1
- package/src/constants/components.d.ts +24 -1
- package/src/constants/components.d.ts.map +1 -1
- package/src/context/ComponentContext.d.ts +24 -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,9 @@ type WidgetEmbedCodeLabels = {
|
|
|
16
24
|
signInLabelInfoMessage: string;
|
|
17
25
|
authenticationHandler: string;
|
|
18
26
|
authenticationHandlerInfoMessage: string;
|
|
27
|
+
signInUrl: string;
|
|
28
|
+
signInUrlInfoMessage: string;
|
|
29
|
+
signInTarget: string;
|
|
19
30
|
addCampaignInfo: string;
|
|
20
31
|
id: string;
|
|
21
32
|
name: string;
|
|
@@ -23,9 +34,21 @@ type WidgetEmbedCodeLabels = {
|
|
|
23
34
|
campaignNameInfoMessage: string;
|
|
24
35
|
copyToClipboard: string;
|
|
25
36
|
divElementTextInfo: string;
|
|
37
|
+
syncWithProfile: string;
|
|
38
|
+
syncWithProfileDescription: string;
|
|
39
|
+
configureAdditionalCta: string;
|
|
40
|
+
configureAdditionalCtaTooltip: string;
|
|
41
|
+
additionalCtaLabel: string;
|
|
42
|
+
additionalCtaLabelInfoMessage: string;
|
|
43
|
+
additionalCtaHandler: string;
|
|
44
|
+
additionalCtaHandlerInfoMessage: string;
|
|
45
|
+
additionalCtaUrl: string;
|
|
46
|
+
additionalCtaUrlInfoMessage: string;
|
|
47
|
+
additionalCtaTarget: string;
|
|
48
|
+
additionalCtaTargetInfoMessage: string;
|
|
26
49
|
};
|
|
27
50
|
type WidgetEmbedCodeProps = {
|
|
28
|
-
entityType: 'classic-quiz' | 'personality-quiz' | 'either-or' | 'poll';
|
|
51
|
+
entityType: 'classic-quiz' | 'personality-quiz' | 'either-or' | 'poll' | 'match-quiz' | 'event-game';
|
|
29
52
|
entityId: string;
|
|
30
53
|
authRequirement: string | null;
|
|
31
54
|
labels: WidgetEmbedCodeLabels;
|
|
@@ -33,7 +56,7 @@ type WidgetEmbedCodeProps = {
|
|
|
33
56
|
/**
|
|
34
57
|
* Generates embed div code for a single widget with optional leads and campaign data attributes.
|
|
35
58
|
*
|
|
36
|
-
* @property {'classic-quiz'|'personality-quiz'|'either-or'|'poll'} entityType - Widget type.
|
|
59
|
+
* @property {'classic-quiz'|'personality-quiz'|'either-or'|'poll'|'match-quiz'|'event-game'} entityType - Widget type.
|
|
37
60
|
* @property {string} entityId - Target entity id.
|
|
38
61
|
* @property {string|null} authRequirement - Used to enable/disable leads configuration and sign in config fields.
|
|
39
62
|
* @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
|
+
{"version":3,"file":"WidgetEmbedCode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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,CAsmBnD,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,9 @@ 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;
|
|
478
489
|
addCampaignInfo: string;
|
|
479
490
|
id: string;
|
|
480
491
|
name: string;
|
|
@@ -482,6 +493,18 @@ export declare const components: {
|
|
|
482
493
|
campaignNameInfoMessage: string;
|
|
483
494
|
copyToClipboard: string;
|
|
484
495
|
divElementTextInfo: string;
|
|
496
|
+
syncWithProfile: string;
|
|
497
|
+
syncWithProfileDescription: string;
|
|
498
|
+
configureAdditionalCta: string;
|
|
499
|
+
configureAdditionalCtaTooltip: string;
|
|
500
|
+
additionalCtaLabel: string;
|
|
501
|
+
additionalCtaLabelInfoMessage: string;
|
|
502
|
+
additionalCtaHandler: string;
|
|
503
|
+
additionalCtaHandlerInfoMessage: string;
|
|
504
|
+
additionalCtaUrl: string;
|
|
505
|
+
additionalCtaUrlInfoMessage: string;
|
|
506
|
+
additionalCtaTarget: string;
|
|
507
|
+
additionalCtaTargetInfoMessage: string;
|
|
485
508
|
};
|
|
486
509
|
}>;
|
|
487
510
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IA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;;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,9 @@ 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;
|
|
333
344
|
addCampaignInfo: string;
|
|
334
345
|
id: string;
|
|
335
346
|
name: string;
|
|
@@ -337,6 +348,18 @@ declare const ComponentContext: React.Context<{
|
|
|
337
348
|
campaignNameInfoMessage: string;
|
|
338
349
|
copyToClipboard: string;
|
|
339
350
|
divElementTextInfo: string;
|
|
351
|
+
syncWithProfile: string;
|
|
352
|
+
syncWithProfileDescription: string;
|
|
353
|
+
configureAdditionalCta: string;
|
|
354
|
+
configureAdditionalCtaTooltip: string;
|
|
355
|
+
additionalCtaLabel: string;
|
|
356
|
+
additionalCtaLabelInfoMessage: string;
|
|
357
|
+
additionalCtaHandler: string;
|
|
358
|
+
additionalCtaHandlerInfoMessage: string;
|
|
359
|
+
additionalCtaUrl: string;
|
|
360
|
+
additionalCtaUrlInfoMessage: string;
|
|
361
|
+
additionalCtaTarget: string;
|
|
362
|
+
additionalCtaTargetInfoMessage: string;
|
|
340
363
|
};
|
|
341
364
|
}>;
|
|
342
365
|
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,OAAO,CAAC;AAG3E,KAAK,sBAAsB,GAAG;IAC7B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;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