fansunited-management-components 1.55.1 → 1.56.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 +3108 -3040
- package/index.umd.js +105 -105
- package/package.json +1 -1
- package/src/components/Buttons/HeaderButtons.d.ts +7 -0
- package/src/components/Buttons/HeaderButtons.d.ts.map +1 -1
- package/src/constants/components.d.ts +5 -0
- package/src/constants/components.d.ts.map +1 -1
- package/src/context/ComponentContext.d.ts +5 -0
- package/src/context/ComponentContext.d.ts.map +1 -1
- package/src/types/types.d.ts +1 -0
- package/src/types/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { AIGenerateIdType } from '../../types/types';
|
|
2
|
+
|
|
1
3
|
type HeaderButtonsProps = {
|
|
2
4
|
createLabel: string;
|
|
3
5
|
createFromTemplateLabel?: string;
|
|
4
6
|
signOutLabel: string;
|
|
7
|
+
generateLabels?: {
|
|
8
|
+
generateFootballQuizLabel: string;
|
|
9
|
+
generateFormula1QuizLabel: string;
|
|
10
|
+
};
|
|
5
11
|
environment: string;
|
|
6
12
|
onClickCreate: () => void;
|
|
7
13
|
onClickCreateFromTemplate?: () => void;
|
|
14
|
+
onClickGenerate?: (generateId: AIGenerateIdType) => void;
|
|
8
15
|
};
|
|
9
16
|
/**
|
|
10
17
|
* Header action buttons for management pages: create and optional create-from-template, plus sign out.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/HeaderButtons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/HeaderButtons.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,KAAK,kBAAkB,GAAG;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE;QAChB,yBAAyB,EAAE,MAAM,CAAC;QAClC,yBAAyB,EAAE,MAAM,CAAC;KAClC,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmG/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -39,9 +39,14 @@ export declare const components: {
|
|
|
39
39
|
createLabel: string;
|
|
40
40
|
createFromTemplateLabel?: string;
|
|
41
41
|
signOutLabel: string;
|
|
42
|
+
generateLabels?: {
|
|
43
|
+
generateFootballQuizLabel: string;
|
|
44
|
+
generateFormula1QuizLabel: string;
|
|
45
|
+
};
|
|
42
46
|
environment: string;
|
|
43
47
|
onClickCreate: () => void;
|
|
44
48
|
onClickCreateFromTemplate?: () => void;
|
|
49
|
+
onClickGenerate?: (generateId: import('../types/types').AIGenerateIdType) => void;
|
|
45
50
|
}>;
|
|
46
51
|
/**
|
|
47
52
|
* Market selection control with grouped checkboxes and “show all” behavior.
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAkDA,eAAO,MAAM,UAAU;IACtB;;OAEG;;;;;IAEH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
|
34
34
|
createFromTemplateLabel?: string;
|
|
35
35
|
signOutLabel: string;
|
|
36
|
+
generateLabels?: {
|
|
37
|
+
generateFootballQuizLabel: string;
|
|
38
|
+
generateFormula1QuizLabel: string;
|
|
39
|
+
};
|
|
36
40
|
environment: string;
|
|
37
41
|
onClickCreate: () => void;
|
|
38
42
|
onClickCreateFromTemplate?: () => void;
|
|
43
|
+
onClickGenerate?: (generateId: import('../types/types').AIGenerateIdType) => void;
|
|
39
44
|
}>;
|
|
40
45
|
readonly MarketSelection: React.FC<{
|
|
41
46
|
labels: any;
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAamzB,CAAC;qBAAoB,CAAC;iBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAztB,CAAC;;;;;;;;;;;;;;;;;;SAblF,CAAC;AAEvE;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,GAAG,iBAAiB,CAE3E,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAC"}
|
package/src/types/types.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export type CommonProps = {
|
|
|
2
2
|
label: string;
|
|
3
3
|
};
|
|
4
4
|
export type FeatureType = 'predictor' | 'top_x' | 'match_quiz' | 'loyalty' | 'discussions' | 'classic_quiz' | 'either_or' | 'poll' | 'profile_preferences';
|
|
5
|
+
export type AIGenerateIdType = 'generate_football_quiz' | 'generate_formula1_quiz';
|
|
5
6
|
//# sourceMappingURL=types.d.ts.map
|
package/src/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GACpB,WAAW,GACX,OAAO,GACP,YAAY,GACZ,SAAS,GACT,aAAa,GACb,cAAc,GACd,WAAW,GACX,MAAM,GACN,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,WAAW,GACpB,WAAW,GACX,OAAO,GACP,YAAY,GACZ,SAAS,GACT,aAAa,GACb,cAAc,GACd,WAAW,GACX,MAAM,GACN,qBAAqB,CAAC;AAEzB,MAAM,MAAM,gBAAgB,GAAG,wBAAwB,GAAG,wBAAwB,CAAC"}
|