fansunited-management-components 1.54.1 → 1.55.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/index.es.js +5767 -5681
- package/index.umd.js +141 -136
- package/package.json +1 -1
- package/src/components/WidgetEmbedCode/WidgetEmbedCode.d.ts +27 -3
- 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
|
@@ -1,17 +1,41 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
|
+
type WidgetEmbedCodeLabels = {
|
|
4
|
+
layoutTemplate: string;
|
|
5
|
+
layoutTemplateDescription: string;
|
|
6
|
+
imagePosition: string;
|
|
7
|
+
imagePositionDescription: string;
|
|
8
|
+
showAnswerExplanations: string;
|
|
9
|
+
showAnswerExplanationsTooltip: string;
|
|
10
|
+
configureLeads: string;
|
|
11
|
+
configureLeadsDisabledMessage: string;
|
|
12
|
+
configureSignIn: string;
|
|
13
|
+
configureSignInDisabledMessage: string;
|
|
14
|
+
leadPosition: string;
|
|
15
|
+
signInLabel: string;
|
|
16
|
+
signInLabelDescription: string;
|
|
17
|
+
authenticationHandler: string;
|
|
18
|
+
authenticationHandlerDescription: string;
|
|
19
|
+
addCampaignInfo: string;
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
campaignIdInfoMessage: string;
|
|
23
|
+
campaignNameInfoMessage: string;
|
|
24
|
+
copyToClipboard: string;
|
|
25
|
+
divElementTextInfo: string;
|
|
26
|
+
};
|
|
3
27
|
type WidgetEmbedCodeProps = {
|
|
4
28
|
entityType: 'classic-quiz' | 'personality-quiz' | 'either-or' | 'poll';
|
|
5
29
|
entityId: string;
|
|
6
30
|
authRequirement: string | null;
|
|
7
|
-
labels:
|
|
31
|
+
labels: WidgetEmbedCodeLabels;
|
|
8
32
|
};
|
|
9
33
|
/**
|
|
10
34
|
* Generates embed div code for a single widget with optional leads and campaign data attributes.
|
|
11
35
|
*
|
|
12
|
-
* @property {'classic-quiz'|'either-or'|'poll'} entityType - Widget type.
|
|
36
|
+
* @property {'classic-quiz'|'personality-quiz'|'either-or'|'poll'} entityType - Widget type.
|
|
13
37
|
* @property {string} entityId - Target entity id.
|
|
14
|
-
* @property {string|null} authRequirement - Used to enable/disable leads configuration.
|
|
38
|
+
* @property {string|null} authRequirement - Used to enable/disable leads configuration and sign in config fields.
|
|
15
39
|
* @property {object} labels - Custom labels for UI and tooltips.
|
|
16
40
|
*/
|
|
17
41
|
declare const WidgetEmbedCode: React.FC<WidgetEmbedCodeProps>;
|
|
@@ -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.d.ts","sourceRoot":"","sources":["../../../../src/components/WidgetEmbedCode/WidgetEmbedCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA2BnD,KAAK,qBAAqB,GAAG;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,yBAAyB,EAAE,MAAM,CAAC;IAClC,aAAa,EAAE,MAAM,CAAC;IACtB,wBAAwB,EAAE,MAAM,CAAC;IACjC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6BAA6B,EAAE,MAAM,CAAC;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,6BAA6B,EAAE,MAAM,CAAC;IACtC,eAAe,EAAE,MAAM,CAAC;IACxB,8BAA8B,EAAE,MAAM,CAAC;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,gCAAgC,EAAE,MAAM,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,MAAM,CAAC;IAC9B,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC3B,UAAU,EAAE,cAAc,GAAG,kBAAkB,GAAG,WAAW,GAAG,MAAM,CAAC;IACvE,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,CAqRnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -427,7 +427,30 @@ export declare const components: {
|
|
|
427
427
|
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll";
|
|
428
428
|
entityId: string;
|
|
429
429
|
authRequirement: string | null;
|
|
430
|
-
labels:
|
|
430
|
+
labels: {
|
|
431
|
+
layoutTemplate: string;
|
|
432
|
+
layoutTemplateDescription: string;
|
|
433
|
+
imagePosition: string;
|
|
434
|
+
imagePositionDescription: string;
|
|
435
|
+
showAnswerExplanations: string;
|
|
436
|
+
showAnswerExplanationsTooltip: string;
|
|
437
|
+
configureLeads: string;
|
|
438
|
+
configureLeadsDisabledMessage: string;
|
|
439
|
+
configureSignIn: string;
|
|
440
|
+
configureSignInDisabledMessage: string;
|
|
441
|
+
leadPosition: string;
|
|
442
|
+
signInLabel: string;
|
|
443
|
+
signInLabelDescription: string;
|
|
444
|
+
authenticationHandler: string;
|
|
445
|
+
authenticationHandlerDescription: string;
|
|
446
|
+
addCampaignInfo: string;
|
|
447
|
+
id: string;
|
|
448
|
+
name: string;
|
|
449
|
+
campaignIdInfoMessage: string;
|
|
450
|
+
campaignNameInfoMessage: string;
|
|
451
|
+
copyToClipboard: string;
|
|
452
|
+
divElementTextInfo: string;
|
|
453
|
+
};
|
|
431
454
|
}>;
|
|
432
455
|
/**
|
|
433
456
|
* Generates embed div code for a list widget with layout and URL configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAkDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;IAEH;;OAEG;;;;;;;;;;IAEH;;OAEG;;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;;;;IAEH;;OAEG;;;;;;;;;kBA9DwF,CAAC;qBAC/E,CAAC;iBAAiB,CAAA;;;;IA+D/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;;;;;;;;;;;;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IAEH;;OAEG;;;;;;IAEH;;;;;OAKG;;;oCA9O8B,CAAC;;;;;;;;;;;;;;;;;;CAgPzB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
|
|
@@ -293,7 +293,30 @@ declare const ComponentContext: React.Context<{
|
|
|
293
293
|
entityType: "classic-quiz" | "personality-quiz" | "either-or" | "poll";
|
|
294
294
|
entityId: string;
|
|
295
295
|
authRequirement: string | null;
|
|
296
|
-
labels:
|
|
296
|
+
labels: {
|
|
297
|
+
layoutTemplate: string;
|
|
298
|
+
layoutTemplateDescription: string;
|
|
299
|
+
imagePosition: string;
|
|
300
|
+
imagePositionDescription: string;
|
|
301
|
+
showAnswerExplanations: string;
|
|
302
|
+
showAnswerExplanationsTooltip: string;
|
|
303
|
+
configureLeads: string;
|
|
304
|
+
configureLeadsDisabledMessage: string;
|
|
305
|
+
configureSignIn: string;
|
|
306
|
+
configureSignInDisabledMessage: string;
|
|
307
|
+
leadPosition: string;
|
|
308
|
+
signInLabel: string;
|
|
309
|
+
signInLabelDescription: string;
|
|
310
|
+
authenticationHandler: string;
|
|
311
|
+
authenticationHandlerDescription: string;
|
|
312
|
+
addCampaignInfo: string;
|
|
313
|
+
id: string;
|
|
314
|
+
name: string;
|
|
315
|
+
campaignIdInfoMessage: string;
|
|
316
|
+
campaignNameInfoMessage: string;
|
|
317
|
+
copyToClipboard: string;
|
|
318
|
+
divElementTextInfo: string;
|
|
319
|
+
};
|
|
297
320
|
}>;
|
|
298
321
|
readonly WidgetListEmbedCode: React.FC<{
|
|
299
322
|
entityId: string;
|
|
@@ -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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