fansunited-management-components 1.51.0-RC1 → 1.52.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/index.es.js +151 -6
- package/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/DragAndDrop/BasicSortableList/BasicSortableList.d.ts +3 -5
- package/src/components/DragAndDrop/BasicSortableList/BasicSortableList.d.ts.map +1 -1
- package/src/components/Exports/ExportUsersLeads.d.ts +1 -1
- package/src/constants/components.d.ts +146 -2
- package/src/constants/components.d.ts.map +1 -1
- package/src/context/ApiContext.d.ts.map +1 -1
- package/src/hooks/useWinners.d.ts +1 -1
- package/src/hooks/useWinners.d.ts.map +1 -1
- package/src/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -18,16 +18,14 @@ type SortableListProps = {
|
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* Sortable list with rich item cards; uses dnd-kit under the hood.
|
|
21
|
+
* Enhanced sortable list using the `dnd-kit` library with improved UI/UX.
|
|
22
|
+
* Features rich item cards with support for images, descriptions and types.
|
|
23
|
+
* dnd-kit documentation: https://docs.dndkit.com/
|
|
21
24
|
*
|
|
22
25
|
* @property {ISortableItem[]} items - Items to render and reorder.
|
|
23
26
|
* @property {{noItemsToDisplay:string, dragToReorder:string}} labels - Custom labels.
|
|
24
27
|
* @property {Dispatch<SetStateAction<any[]>>} setItems - Setter after reordering.
|
|
25
28
|
*/
|
|
26
|
-
/**
|
|
27
|
-
* Enhanced sortable list using the `dnd-kit` library with improved UI/UX.
|
|
28
|
-
* Features rich item cards with support for images, descriptions and types.
|
|
29
|
-
* dnd-kit documentation: https://docs.dndkit.com/
|
|
30
|
-
*/
|
|
31
29
|
declare const BasicSortableList: React.FC<SortableListProps>;
|
|
32
30
|
export default BasicSortableList;
|
|
33
31
|
//# sourceMappingURL=BasicSortableList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicSortableList.d.ts","sourceRoot":"","sources":["../../../../../src/components/DragAndDrop/BasicSortableList/BasicSortableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAQ3E,MAAM,WAAW,aAAa;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,iBAAiB,GAAG;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE;QACP,gBAAgB,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"BasicSortableList.d.ts","sourceRoot":"","sources":["../../../../../src/components/DragAndDrop/BasicSortableList/BasicSortableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,cAAc,EAAqB,MAAM,OAAO,CAAC;AAQ3E,MAAM,WAAW,aAAa;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,iBAAiB,GAAG;IACxB,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,MAAM,EAAE;QACP,gBAAgB,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;CAC1C,CAAC;AAEF;;;;;;;;;GASG;AACH,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAwFlD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -21,7 +21,7 @@ type ExportUsersLeadsProps = {
|
|
|
21
21
|
* @property {string} entityType - Target entity type.
|
|
22
22
|
* @property {string} entityName - Used in filename for the export.
|
|
23
23
|
* @property {{exportUsersLeads:string, category:string, action:string, exportAllUsersLeads:string, exportAllUsersLeadsDescription:string, usersLeadsExportMessage:string, usersLeadsExportErrorMessage:string}} labels
|
|
24
|
-
* -
|
|
24
|
+
* - Custom labels for UI and messages.
|
|
25
25
|
*/
|
|
26
26
|
declare const ExportUsersLeads: React.FC<ExportUsersLeadsProps>;
|
|
27
27
|
export default ExportUsersLeads;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
export declare const components: {
|
|
2
|
+
/**
|
|
3
|
+
* Renders a sign-in form and triggers Firebase authentication.
|
|
4
|
+
*/
|
|
2
5
|
readonly Login: import('react').FC<{
|
|
3
6
|
userNotFound: string;
|
|
4
7
|
environment: string;
|
|
5
8
|
}>;
|
|
9
|
+
/**
|
|
10
|
+
* Labeled single-line text input using Joy UI.
|
|
11
|
+
*/
|
|
6
12
|
readonly InformationInput: import('react').FC<{
|
|
7
13
|
label: string;
|
|
8
14
|
placeholder: string;
|
|
@@ -14,6 +20,9 @@ export declare const components: {
|
|
|
14
20
|
endDecorator?: import('react').ReactNode;
|
|
15
21
|
onChange: (event: import('react').ChangeEvent<HTMLInputElement>) => void;
|
|
16
22
|
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Rich text editor built on ReactQuill with optional label and helper text.
|
|
25
|
+
*/
|
|
17
26
|
readonly RichText: import('react').FC<{
|
|
18
27
|
label: string;
|
|
19
28
|
placeholder: string;
|
|
@@ -23,6 +32,9 @@ export declare const components: {
|
|
|
23
32
|
description?: string;
|
|
24
33
|
onChange: (value: string) => void;
|
|
25
34
|
}>;
|
|
35
|
+
/**
|
|
36
|
+
* Header action buttons for management pages: create and optional create-from-template, plus sign out.
|
|
37
|
+
*/
|
|
26
38
|
readonly HeaderButtons: import('react').FC<{
|
|
27
39
|
createLabel: string;
|
|
28
40
|
createFromTemplateLabel?: string;
|
|
@@ -31,24 +43,36 @@ export declare const components: {
|
|
|
31
43
|
onClickCreate: () => void;
|
|
32
44
|
onClickCreateFromTemplate?: () => void;
|
|
33
45
|
}>;
|
|
46
|
+
/**
|
|
47
|
+
* Market selection control with grouped checkboxes and “show all” behavior.
|
|
48
|
+
*/
|
|
34
49
|
readonly MarketSelection: import('react').FC<{
|
|
35
50
|
labels: any;
|
|
36
51
|
values: string[];
|
|
37
52
|
valuesMap: Record<string, string>;
|
|
38
53
|
onChange: (values: string[]) => void;
|
|
39
54
|
}>;
|
|
55
|
+
/**
|
|
56
|
+
* Renders a collapsible section using MUI Joy's Accordion primitives.
|
|
57
|
+
*/
|
|
40
58
|
readonly Accordion: import('react').FC<{
|
|
41
59
|
label: string;
|
|
42
60
|
disabled?: boolean;
|
|
43
61
|
} & {
|
|
44
62
|
children?: import('react').ReactNode | undefined;
|
|
45
63
|
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Editable key/value list for custom attributes with add, edit, and delete actions.
|
|
66
|
+
*/
|
|
46
67
|
readonly DynamicFields: import('react').FC<{
|
|
47
68
|
labels: any;
|
|
48
69
|
type: string;
|
|
49
70
|
defaultValue: Record<string, string> | null;
|
|
50
71
|
onChange: (value: Record<string, string>) => void;
|
|
51
72
|
}>;
|
|
73
|
+
/**
|
|
74
|
+
* Labeled select with provided options.
|
|
75
|
+
*/
|
|
52
76
|
readonly BasicSelect: import('react').FC<{
|
|
53
77
|
label: string;
|
|
54
78
|
defaultValue: string;
|
|
@@ -56,6 +80,9 @@ export declare const components: {
|
|
|
56
80
|
description: string;
|
|
57
81
|
onChange: (value: string) => void;
|
|
58
82
|
}>;
|
|
83
|
+
/**
|
|
84
|
+
* Labeled boolean toggle with optional description.
|
|
85
|
+
*/
|
|
59
86
|
readonly BooleanSwitch: import('react').FC<{
|
|
60
87
|
label: string;
|
|
61
88
|
labelPosition?: "start" | "end";
|
|
@@ -69,22 +96,34 @@ export declare const components: {
|
|
|
69
96
|
};
|
|
70
97
|
onChange: (checked: boolean) => void;
|
|
71
98
|
}>;
|
|
99
|
+
/**
|
|
100
|
+
* Branding editor with tabs for Images, Colors, and URLs.
|
|
101
|
+
*/
|
|
72
102
|
readonly Branding: import('react').FC<{
|
|
73
103
|
labels: any;
|
|
74
104
|
defaultValue: Record<string, Record<string, string>> | null;
|
|
75
105
|
onChange: (value: any) => void;
|
|
76
106
|
}>;
|
|
107
|
+
/**
|
|
108
|
+
* Multi-select profiles search with debounce and avatar chip tags.
|
|
109
|
+
*/
|
|
77
110
|
readonly ProfileSearchSelect: import('react').FC<{
|
|
78
111
|
labels: any;
|
|
79
112
|
ids: string[];
|
|
80
113
|
onChange: (ids: string[] | null) => void;
|
|
81
114
|
}>;
|
|
115
|
+
/**
|
|
116
|
+
* Date range selector based on flatpickr, returning { from, to } in YYYY-MM-DD.
|
|
117
|
+
*/
|
|
82
118
|
readonly RangeCalendar: import('react').FC<{
|
|
83
119
|
label: string;
|
|
84
120
|
defaultValue: import('../models/sportal365/Sportal365SearchImagesFilters').default | null;
|
|
85
121
|
required: boolean;
|
|
86
122
|
onChange: (date: import('../models/sportal365/Sportal365SearchImagesFilters').default) => void;
|
|
87
123
|
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Single-select competition search with debounce and Joy Autocomplete.
|
|
126
|
+
*/
|
|
88
127
|
readonly CompetitionSearchSelect: import('react').FC<{
|
|
89
128
|
labels: any;
|
|
90
129
|
label: string;
|
|
@@ -92,16 +131,25 @@ export declare const components: {
|
|
|
92
131
|
required: boolean;
|
|
93
132
|
onChange: (ids: string[]) => void;
|
|
94
133
|
}>;
|
|
134
|
+
/**
|
|
135
|
+
* Related entities control combining games and templates pickers.
|
|
136
|
+
*/
|
|
95
137
|
readonly Related: import('react').FC<{
|
|
96
138
|
labels: any;
|
|
97
139
|
related: import('../models/related/RelatedEntity').default[];
|
|
98
140
|
onChange: (related: import('../models/related/RelatedEntity').default[]) => void;
|
|
99
141
|
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Wrapper for selecting/uploading images (main + optional cover/mobile) using ImageCard.
|
|
144
|
+
*/
|
|
100
145
|
readonly Images: import('react').FC<{
|
|
101
146
|
labels: any;
|
|
102
147
|
defaultValue: import('../models/images/Images').default | null;
|
|
103
148
|
onChange: (value: any) => void;
|
|
104
149
|
}>;
|
|
150
|
+
/**
|
|
151
|
+
* A paired date range selector built from two DatePickerComponent instances.
|
|
152
|
+
*/
|
|
105
153
|
readonly Duration: import('react').FC<{
|
|
106
154
|
labels: any;
|
|
107
155
|
required: boolean;
|
|
@@ -109,12 +157,18 @@ export declare const components: {
|
|
|
109
157
|
onChangeFromDate: (date: string) => void;
|
|
110
158
|
onChangeToDate: (date: string) => void;
|
|
111
159
|
}>;
|
|
160
|
+
/**
|
|
161
|
+
* Simple date input field using native HTML date input styled by Joy UI.
|
|
162
|
+
*/
|
|
112
163
|
readonly DatePickerComponent: import('react').FC<{
|
|
113
164
|
label: string;
|
|
114
165
|
defaultValue: string;
|
|
115
166
|
required: boolean;
|
|
116
167
|
onChange: (date: string) => void;
|
|
117
168
|
}>;
|
|
169
|
+
/**
|
|
170
|
+
* Creatable multi-select for tags/flags with duplicates prevention and inline add via Enter/Tab.
|
|
171
|
+
*/
|
|
118
172
|
readonly Flags: import('react').FC<{
|
|
119
173
|
labels: any;
|
|
120
174
|
flags: string[];
|
|
@@ -123,32 +177,45 @@ export declare const components: {
|
|
|
123
177
|
}>;
|
|
124
178
|
/**
|
|
125
179
|
* Centered loading spinner that fills its container.
|
|
126
|
-
*
|
|
127
|
-
* @property {number} my - Vertical margin (theme spacing units) applied to the container.
|
|
128
180
|
*/
|
|
129
181
|
readonly Spinner: import('react').FC<{
|
|
130
182
|
my: number;
|
|
131
183
|
}>;
|
|
184
|
+
/**
|
|
185
|
+
* Tags input for winners — creatable multi-select with duplicate prevention.
|
|
186
|
+
*/
|
|
132
187
|
readonly Tags: import('react').FC<{
|
|
133
188
|
labels: any;
|
|
134
189
|
tags: string[];
|
|
135
190
|
onChange: (tags: string[]) => void;
|
|
136
191
|
}>;
|
|
192
|
+
/**
|
|
193
|
+
* Lightweight Snackbar wrapper to show brief messages in the top-right corner.
|
|
194
|
+
*/
|
|
137
195
|
readonly Toast: import('react').FC<{
|
|
138
196
|
showToast: boolean;
|
|
139
197
|
message: string;
|
|
140
198
|
color: import('@mui/joy').ColorPaletteProp;
|
|
141
199
|
hideToast: () => void;
|
|
142
200
|
}>;
|
|
201
|
+
/**
|
|
202
|
+
* Displays advertising content input with Rich Text and Plain Text tabs.
|
|
203
|
+
*/
|
|
143
204
|
readonly AdContent: import('react').FC<{
|
|
144
205
|
labels: any;
|
|
145
206
|
defaultValue: string;
|
|
146
207
|
onChange: (value: string) => void;
|
|
147
208
|
}>;
|
|
209
|
+
/**
|
|
210
|
+
* Compact match item with time and team logos.
|
|
211
|
+
*/
|
|
148
212
|
readonly Match: import('react').FC<{
|
|
149
213
|
match: import('fansunited-sdk-esm').MatchBasicModel;
|
|
150
214
|
timeFormat: string;
|
|
151
215
|
}>;
|
|
216
|
+
/**
|
|
217
|
+
* Winners management screen: loads winners by entity and provides actions such as setting description, winner position, note, and tags.
|
|
218
|
+
*/
|
|
152
219
|
readonly Winners: import('react').FC<{
|
|
153
220
|
entityId: string;
|
|
154
221
|
entityType: string;
|
|
@@ -156,18 +223,27 @@ export declare const components: {
|
|
|
156
223
|
labels: any;
|
|
157
224
|
onClickBack: () => void;
|
|
158
225
|
}>;
|
|
226
|
+
/**
|
|
227
|
+
* Multi-select competitions search with optional scope filter.
|
|
228
|
+
*/
|
|
159
229
|
readonly CompetitionsSearchSelect: import('react').FC<{
|
|
160
230
|
labels: any;
|
|
161
231
|
ids: string[];
|
|
162
232
|
scope?: string[];
|
|
163
233
|
onChange: (ids: string[] | null) => void;
|
|
164
234
|
}>;
|
|
235
|
+
/**
|
|
236
|
+
* Multi-select teams search with optional competitions scope.
|
|
237
|
+
*/
|
|
165
238
|
readonly TeamsSearchSelect: import('react').FC<{
|
|
166
239
|
labels: any;
|
|
167
240
|
ids: string[];
|
|
168
241
|
scope: string[] | undefined;
|
|
169
242
|
onChange: (ids: string[] | null) => void;
|
|
170
243
|
}>;
|
|
244
|
+
/**
|
|
245
|
+
* Select with avatar/icon and clear button, suitable for selecting an entity (competition, etc.).
|
|
246
|
+
*/
|
|
171
247
|
readonly CustomSelect: import('react').FC<{
|
|
172
248
|
label: string;
|
|
173
249
|
defaultValue: string;
|
|
@@ -175,17 +251,26 @@ export declare const components: {
|
|
|
175
251
|
required: boolean;
|
|
176
252
|
onChange: (value: string) => void;
|
|
177
253
|
}>;
|
|
254
|
+
/**
|
|
255
|
+
* Scheduler list with create/update actions for entity status changes.
|
|
256
|
+
*/
|
|
178
257
|
readonly Schedule: import('react').FC<{
|
|
179
258
|
labels: any;
|
|
180
259
|
entityId: string;
|
|
181
260
|
entityType: string;
|
|
182
261
|
readOnly?: boolean;
|
|
183
262
|
}>;
|
|
263
|
+
/**
|
|
264
|
+
* Information card displayed when the user lacks permission. Offers a sign-out to retry.
|
|
265
|
+
*/
|
|
184
266
|
readonly NoPermissionCard: import('react').FC<{
|
|
185
267
|
labels: any;
|
|
186
268
|
environment: string;
|
|
187
269
|
setNoPermission: import('react').Dispatch<import('react').SetStateAction<boolean | null>>;
|
|
188
270
|
}>;
|
|
271
|
+
/**
|
|
272
|
+
* Flatpickr-based datetime input with min-date logic and Joy styling.
|
|
273
|
+
*/
|
|
189
274
|
readonly CustomFlatpickrCalendar: import('react').FC<{
|
|
190
275
|
defaultDate: string;
|
|
191
276
|
minDate?: Date | undefined;
|
|
@@ -193,6 +278,9 @@ export declare const components: {
|
|
|
193
278
|
dateFormat?: string;
|
|
194
279
|
onChange: (date: string) => void;
|
|
195
280
|
}>;
|
|
281
|
+
/**
|
|
282
|
+
* Search filter for football context entities (competitions, teams, players) with grouping.
|
|
283
|
+
*/
|
|
196
284
|
readonly ContextSelectFilter: import('react').FC<{
|
|
197
285
|
labels: any;
|
|
198
286
|
options: import('../models/select/GroupSelectOption').default[];
|
|
@@ -200,6 +288,11 @@ export declare const components: {
|
|
|
200
288
|
setFilters: import('react').Dispatch<import('react').SetStateAction<any>>;
|
|
201
289
|
handleResetData: () => void;
|
|
202
290
|
}>;
|
|
291
|
+
/**
|
|
292
|
+
* Numeric input with thousand separator formatting.
|
|
293
|
+
*
|
|
294
|
+
* Note: Free-typing is allowed to avoid blocking edits; values are clamped/validated by consumer logic.
|
|
295
|
+
*/
|
|
203
296
|
readonly NumberInput: import('react').FC<{
|
|
204
297
|
label: string;
|
|
205
298
|
description?: string;
|
|
@@ -209,22 +302,40 @@ export declare const components: {
|
|
|
209
302
|
sx?: import('@mui/material').SxProps;
|
|
210
303
|
size?: "sm" | "md" | "lg";
|
|
211
304
|
}>;
|
|
305
|
+
/**
|
|
306
|
+
* Tabs to manage entity context: tags, content, and campaign metadata.
|
|
307
|
+
*/
|
|
212
308
|
readonly EntityContext: import('react').FC<{
|
|
213
309
|
labels: any;
|
|
214
310
|
context: import('fansunited-sdk-esm').ContextModel;
|
|
215
311
|
onChange: (context: import('fansunited-sdk-esm').ContextModel) => void;
|
|
216
312
|
}>;
|
|
313
|
+
/**
|
|
314
|
+
* Image pickers for mini-games (main + optional mobile), with collapsible section.
|
|
315
|
+
*/
|
|
217
316
|
readonly MiniGamesImages: import('react').FC<{
|
|
218
317
|
labels: any;
|
|
219
318
|
defaultValue: import('../models/images/Images').default | null;
|
|
220
319
|
onChange: (value: any) => void;
|
|
221
320
|
}>;
|
|
321
|
+
/**
|
|
322
|
+
* Select for content access requirement: FREE/LEAD/REGISTERED/PAID.
|
|
323
|
+
*/
|
|
222
324
|
readonly AuthRequirement: import('react').FC<{
|
|
223
325
|
defaultValue: string;
|
|
224
326
|
isClearable?: boolean;
|
|
225
327
|
labels: any;
|
|
226
328
|
onChange: (authRequirement: string | null) => void;
|
|
227
329
|
}>;
|
|
330
|
+
/**
|
|
331
|
+
* Draggable sortable list using dnd-kit. Renders items with optional type chips.
|
|
332
|
+
*
|
|
333
|
+
* This component provides a sortable list using the `dnd-kit` library for drag-and-drop functionality.
|
|
334
|
+
* Each item in the list can be dragged and dropped to reorder the list. The component is designed to be
|
|
335
|
+
* adaptable for use in various projects and integrates with Joy UI for styling.
|
|
336
|
+
* dnd-kit documentation: https://docs.dndkit.com/
|
|
337
|
+
* Original implementation: https://codesandbox.io/p/sandbox/dnd-kit-sortable-starter-template-22x1ix
|
|
338
|
+
*/
|
|
228
339
|
readonly SortableList: import('react').FC<{
|
|
229
340
|
entities: any[];
|
|
230
341
|
labels: any;
|
|
@@ -232,6 +343,9 @@ export declare const components: {
|
|
|
232
343
|
removeItem: (id: string) => void;
|
|
233
344
|
disabled?: boolean;
|
|
234
345
|
}>;
|
|
346
|
+
/**
|
|
347
|
+
* Small select for “items per page” pagination control.
|
|
348
|
+
*/
|
|
235
349
|
readonly ItemsPerPageFilter: import('react').FC<{
|
|
236
350
|
labels: any;
|
|
237
351
|
value: number;
|
|
@@ -241,6 +355,9 @@ export declare const components: {
|
|
|
241
355
|
sx?: import('@mui/material').SxProps;
|
|
242
356
|
onChange: (_: any, value: number | null) => void;
|
|
243
357
|
}>;
|
|
358
|
+
/**
|
|
359
|
+
* Image picker card with upload, preview, crop, copy URL, and Sportal365 search integration.
|
|
360
|
+
*/
|
|
244
361
|
readonly ImageCard: import('react').FC<{
|
|
245
362
|
labels: any;
|
|
246
363
|
title: string;
|
|
@@ -248,6 +365,9 @@ export declare const components: {
|
|
|
248
365
|
onChangeImages: (url: string) => void;
|
|
249
366
|
clearImage: () => void;
|
|
250
367
|
}>;
|
|
368
|
+
/**
|
|
369
|
+
* Manage related entities with typed relationships and entity-type aware search.
|
|
370
|
+
*/
|
|
251
371
|
readonly RelatedRelationship: import('react').FC<{
|
|
252
372
|
defaultValue: import('../models/related/RelatedEntityRelationship').default[];
|
|
253
373
|
onChange: (entities: import('../models/related/RelatedEntityRelationship').default[]) => void;
|
|
@@ -260,6 +380,9 @@ export declare const components: {
|
|
|
260
380
|
relatedEntitiesErrorMessage: string;
|
|
261
381
|
};
|
|
262
382
|
}>;
|
|
383
|
+
/**
|
|
384
|
+
* Exports leads for a given entity to CSV via backend endpoint.
|
|
385
|
+
*/
|
|
263
386
|
readonly ExportUsersLeads: import('react').FC<{
|
|
264
387
|
entityId: string;
|
|
265
388
|
entityType: string;
|
|
@@ -274,10 +397,19 @@ export declare const components: {
|
|
|
274
397
|
usersLeadsExportErrorMessage: string;
|
|
275
398
|
};
|
|
276
399
|
}>;
|
|
400
|
+
/**
|
|
401
|
+
* Button that signs out the current user from the given Firebase environment.
|
|
402
|
+
*/
|
|
277
403
|
readonly SignOutButton: import('react').FC<{
|
|
278
404
|
signOutLabel: string;
|
|
279
405
|
environment: string;
|
|
280
406
|
}>;
|
|
407
|
+
/**
|
|
408
|
+
* Sortable list with rich item cards; uses dnd-kit under the hood.
|
|
409
|
+
* Enhanced sortable list using the `dnd-kit` library with improved UI/UX.
|
|
410
|
+
* Features rich item cards with support for images, descriptions and types.
|
|
411
|
+
* dnd-kit documentation: https://docs.dndkit.com/
|
|
412
|
+
*/
|
|
281
413
|
readonly BasicSortableList: import('react').FC<{
|
|
282
414
|
items: import('../components/DragAndDrop/BasicSortableList/BasicSortableList').ISortableItem[];
|
|
283
415
|
labels: {
|
|
@@ -286,21 +418,33 @@ export declare const components: {
|
|
|
286
418
|
};
|
|
287
419
|
setItems: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
288
420
|
}>;
|
|
421
|
+
/**
|
|
422
|
+
* Generates embed div code for a single widget with optional leads and campaign data attributes.
|
|
423
|
+
*/
|
|
289
424
|
readonly WidgetEmbedCode: import('react').FC<{
|
|
290
425
|
entityType: "classic-quiz" | "either-or" | "poll";
|
|
291
426
|
entityId: string;
|
|
292
427
|
authRequirement: string | null;
|
|
293
428
|
labels: any;
|
|
294
429
|
}>;
|
|
430
|
+
/**
|
|
431
|
+
* Generates embed div code for a list widget with layout and URL configuration.
|
|
432
|
+
*/
|
|
295
433
|
readonly WidgetListEmbedCode: import('react').FC<{
|
|
296
434
|
entityId: string;
|
|
297
435
|
labels: any;
|
|
298
436
|
}>;
|
|
437
|
+
/**
|
|
438
|
+
* Multi-select profile search with toggleable search by name or id, with avatars.
|
|
439
|
+
*/
|
|
299
440
|
readonly AdvancedProfileSearchSelect: import('react').FC<{
|
|
300
441
|
labels: any;
|
|
301
442
|
ids: string[];
|
|
302
443
|
onChange: (ids: string[] | null) => void;
|
|
303
444
|
}>;
|
|
445
|
+
/**
|
|
446
|
+
* Display a large number in a compact abbreviated form, with a tooltip showing the full value.
|
|
447
|
+
*/
|
|
304
448
|
readonly FormatNumber: import('react').FC<{
|
|
305
449
|
value: number;
|
|
306
450
|
sx?: import('@mui/material').SxProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/constants/components.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,UAAU;IACtB;;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;;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;;OAEG;;;;;;;;;;;;;;;IAEH;;OAEG;;;;;IAEH;;;;;OAKG;;;;;;;;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;;;;;CAEM,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiContext.d.ts","sourceRoot":"","sources":["../../../src/context/ApiContext.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,YAAY,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAiB,MAAM,OAAO,CAAC;AA8BzD,KAAK,gBAAgB,GAAG;IACvB,MAAM,EAAE,GAAG,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IAC1B,GAAG,EAAE,kBAAkB,CAAC;IACxB,KAAK,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,UAAU,qDAAkD,CAAC;
|
|
1
|
+
{"version":3,"file":"ApiContext.d.ts","sourceRoot":"","sources":["../../../src/context/ApiContext.tsx"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,0DAA0D,CAAC;AAC1F,OAAO,YAAY,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAiB,MAAM,OAAO,CAAC;AA8BzD,KAAK,gBAAgB,GAAG;IACvB,MAAM,EAAE,GAAG,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IAC1B,GAAG,EAAE,kBAAkB,CAAC;IACxB,KAAK,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,UAAU,qDAAkD,CAAC;AAEnE;;;GAGG;AACH,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,GAAG,iBAAiB,CAmB/D,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ContestWinners } from 'fansunited-sdk-esm';
|
|
2
2
|
import { default as WinnersRequestBody } from '../models/Winners/WinnersRequestBody';
|
|
3
3
|
|
|
4
4
|
export declare const useWinners: (entityId: string, entityType: string, displayToast: () => void) => WinnersRequestBody | ContestWinners | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWinners.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWinners.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useWinners.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWinners.ts"],"names":[],"mappings":"AAEA,OAAO,EAIN,cAAc,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,kBAAkB,MAAM,sCAAsC,CAAC;AAEtE,eAAO,MAAM,UAAU,aAAc,MAAM,cAAc,MAAM,gBAAgB,MAAM,IAAI,+CA2DxF,CAAC"}
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";IAUC;;;OAGG;;;;;;IAEH;;OAEG;;;;;;IAEH;;OAEG;;IAEH;;OAEG;;;;;;;IAEH;;OAEG;;IAEH;;OAEG;;;;;IAEH;;OAEG;;;;;;AA5BJ,wBA8BE"}
|