fansunited-widget-poll 1.2.0 → 2.0.0
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/README.md +122 -57
- package/components/Cards/PollsCard.d.ts +5 -2
- package/components/Cards/WidgetCard.d.ts +5 -2
- package/components/Filters/Filters.d.ts +3 -3
- package/components/Main.d.ts +2 -2
- package/components/MainLayout.d.ts +1 -1
- package/components/Management/Header.d.ts +6 -0
- package/components/Management/MainColumn.d.ts +5 -6
- package/components/Management/ManagePoll.d.ts +5 -5
- package/components/Management/Options/AdditionalOptionField.d.ts +9 -0
- package/components/Management/Options/Checkboxes.d.ts +13 -0
- package/components/Management/Options/Option.d.ts +14 -0
- package/components/Management/Options/Options.d.ts +5 -4
- package/components/Management/SideBar/Configuration/Configuration.d.ts +8 -0
- package/components/Management/SideBar/Configuration/PollStatus.d.ts +7 -0
- package/components/Management/{Type → SideBar/Configuration}/Type.d.ts +2 -2
- package/components/Management/SideBar/SideBar.d.ts +8 -0
- package/components/Modals/DeletePollModal.d.ts +10 -0
- package/components/Modals/PreviewModal.d.ts +3 -4
- package/components/Polls/ActionsMenu.d.ts +10 -0
- package/components/Polls/PollRow.d.ts +10 -0
- package/components/Polls/Polls.d.ts +1 -1
- package/components/Polls/PollsTable.d.ts +14 -0
- package/components/Polls/TablePagination.d.ts +10 -0
- package/constants/constants.d.ts +249 -4
- package/context/ConfigurationContext.d.ts +9 -0
- package/context/LabelsContext.d.ts +3 -2
- package/factories/PollFactory.d.ts +6 -8
- package/models/Features/Features.d.ts +11 -0
- package/models/Filters/PollFiltersModel.d.ts +3 -2
- package/models/Labels/LabelsModel.d.ts +58 -28
- package/models/RequestBody/RequestBody.d.ts +12 -3
- package/models/Select/SelectOption.d.ts +1 -1
- package/package.json +1 -1
- package/poll-manager.es.d.ts +1 -0
- package/poll-manager.es.js +73406 -37593
- package/poll-manager.umd.js +544 -223
- package/style.css +2 -2
- package/validators/PollValidator.d.ts +2 -2
- package/components/Accordion/Accordion.d.ts +0 -6
- package/components/Buttons/ActionsButtons.d.ts +0 -10
- package/components/Buttons/AddButton.d.ts +0 -7
- package/components/Buttons/ClearButton.d.ts +0 -6
- package/components/Buttons/CopyToClipboard.d.ts +0 -8
- package/components/Buttons/HomeButtons.d.ts +0 -8
- package/components/Buttons/ManageButtons.d.ts +0 -8
- package/components/Buttons/RemoveButton.d.ts +0 -7
- package/components/Buttons/SignOutButton.d.ts +0 -6
- package/components/Buttons/Sportal365/Sportal365Button.d.ts +0 -8
- package/components/Cards/ImagesCard.d.ts +0 -6
- package/components/Login/Login.d.ts +0 -6
- package/components/Management/Branding/Branding.d.ts +0 -8
- package/components/Management/Branding/BrandingImages.d.ts +0 -8
- package/components/Management/Branding/BrandingTabs.d.ts +0 -7
- package/components/Management/Context/Context.d.ts +0 -9
- package/components/Management/Context/ContextTabs.d.ts +0 -7
- package/components/Management/DynamicFields/DynamicFields.d.ts +0 -8
- package/components/Management/Flags/Flags.d.ts +0 -16
- package/components/Management/IDInput/IDInput.d.ts +0 -6
- package/components/Management/Images/FileUploader.d.ts +0 -9
- package/components/Management/Images/Image.d.ts +0 -11
- package/components/Management/Images/Images.d.ts +0 -11
- package/components/Management/Images/Sportal365/Filters/Sportal365ImagesFromToFilter.d.ts +0 -7
- package/components/Management/Images/Sportal365/Sportal365Images.d.ts +0 -9
- package/components/Management/Images/Sportal365/Sportal365ImagesPagination.d.ts +0 -10
- package/components/Management/Images/Sportal365/Sportal365ImagesSearch.d.ts +0 -8
- package/components/Management/InformationInput/InformationInput.d.ts +0 -9
- package/components/Management/ManagementScreenHeader.d.ts +0 -8
- package/components/Management/NumberInput/NumberInput.d.ts +0 -8
- package/components/Management/Options/OptionImages.d.ts +0 -9
- package/components/Management/Options/OptionInput.d.ts +0 -9
- package/components/Management/RichText/RichText.d.ts +0 -8
- package/components/Management/SideBar.d.ts +0 -12
- package/components/Management/StatusSelect/StatusSelect.d.ts +0 -7
- package/components/Modals/ConfirmationModal.d.ts +0 -11
- package/components/Modals/ImageModal.d.ts +0 -8
- package/components/Pagination/Pagination.d.ts +0 -10
- package/components/Portals/Portal.d.ts +0 -6
- package/components/Select/ContextSelectFilter.d.ts +0 -14
- package/components/Select/ContextTagSelect.d.ts +0 -9
- package/components/Select/PollSelectFilter.d.ts +0 -12
- package/components/Spinner/ButtonSpinner.d.ts +0 -9
- package/components/Spinner/Spinner.d.ts +0 -3
- package/components/Table/TableBody.d.ts +0 -10
- package/components/Table/TableHeader.d.ts +0 -3
- package/constants/placeholders.d.ts +0 -1
- package/context/ApiContext.d.ts +0 -15
- package/context/AuthContext.d.ts +0 -8
- package/firebase/firebase.d.ts +0 -2
- package/firebase/getToken.d.ts +0 -1
- package/helpers/helpers.d.ts +0 -36
- package/models/PollById/PollById.d.ts +0 -28
- package/models/RequestBody/SignedInUrlRequestBody.d.ts +0 -6
- package/models/Select/GroupSelectOption.d.ts +0 -5
- package/models/Sportal365/Sportal365Config.d.ts +0 -4
- package/models/Sportal365/Sportal365ImagesContainer.d.ts +0 -5
- package/models/Sportal365/Sportal365SearchImages.d.ts +0 -21
- package/models/Sportal365/Sportal365SearchImagesFilters.d.ts +0 -4
- package/portals/ModalPortal.d.ts +0 -6
- package/services/HashService.d.ts +0 -4
- package/services/HttpsService.d.ts +0 -33
- package/types/types.d.ts +0 -6
package/constants/constants.d.ts
CHANGED
|
@@ -1,4 +1,249 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const initialBranding: {
|
|
2
|
+
colors: {
|
|
3
|
+
primary_color: string;
|
|
4
|
+
secondary_color: string;
|
|
5
|
+
content_color: string;
|
|
6
|
+
background_color: string;
|
|
7
|
+
border_color: string;
|
|
8
|
+
additional_color: string;
|
|
9
|
+
};
|
|
10
|
+
urls: {
|
|
11
|
+
primary_url: string;
|
|
12
|
+
secondary_url: string;
|
|
13
|
+
privacy_policy_url: string;
|
|
14
|
+
terms_and_conditions_url: string;
|
|
15
|
+
additional_url: string;
|
|
16
|
+
};
|
|
17
|
+
images: {
|
|
18
|
+
main_logo: string;
|
|
19
|
+
mobile_logo: string;
|
|
20
|
+
background_image: string;
|
|
21
|
+
mobile_background_image: string;
|
|
22
|
+
additional_image: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const supportedLanguages: {
|
|
26
|
+
ar: {
|
|
27
|
+
key: string;
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
bg: {
|
|
31
|
+
key: string;
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
da: {
|
|
35
|
+
key: string;
|
|
36
|
+
name: string;
|
|
37
|
+
};
|
|
38
|
+
de: {
|
|
39
|
+
key: string;
|
|
40
|
+
name: string;
|
|
41
|
+
};
|
|
42
|
+
en: {
|
|
43
|
+
key: string;
|
|
44
|
+
name: string;
|
|
45
|
+
};
|
|
46
|
+
el: {
|
|
47
|
+
key: string;
|
|
48
|
+
name: string;
|
|
49
|
+
};
|
|
50
|
+
es: {
|
|
51
|
+
key: string;
|
|
52
|
+
name: string;
|
|
53
|
+
};
|
|
54
|
+
fr: {
|
|
55
|
+
key: string;
|
|
56
|
+
name: string;
|
|
57
|
+
};
|
|
58
|
+
hu: {
|
|
59
|
+
key: string;
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
62
|
+
it: {
|
|
63
|
+
key: string;
|
|
64
|
+
name: string;
|
|
65
|
+
};
|
|
66
|
+
nl: {
|
|
67
|
+
key: string;
|
|
68
|
+
name: string;
|
|
69
|
+
};
|
|
70
|
+
pt: {
|
|
71
|
+
key: string;
|
|
72
|
+
name: string;
|
|
73
|
+
};
|
|
74
|
+
'pt-br': {
|
|
75
|
+
key: string;
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
ro: {
|
|
79
|
+
key: string;
|
|
80
|
+
name: string;
|
|
81
|
+
};
|
|
82
|
+
sk: {
|
|
83
|
+
key: string;
|
|
84
|
+
name: string;
|
|
85
|
+
};
|
|
86
|
+
sr: {
|
|
87
|
+
key: string;
|
|
88
|
+
name: string;
|
|
89
|
+
};
|
|
90
|
+
sv: {
|
|
91
|
+
key: string;
|
|
92
|
+
name: string;
|
|
93
|
+
};
|
|
94
|
+
sw: {
|
|
95
|
+
key: string;
|
|
96
|
+
name: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export declare const languagesMap: {
|
|
100
|
+
ar: {
|
|
101
|
+
key: string;
|
|
102
|
+
name: string;
|
|
103
|
+
};
|
|
104
|
+
'ar-dz': {
|
|
105
|
+
key: string;
|
|
106
|
+
name: string;
|
|
107
|
+
};
|
|
108
|
+
'ar-bh': {
|
|
109
|
+
key: string;
|
|
110
|
+
name: string;
|
|
111
|
+
};
|
|
112
|
+
'ar-eg': {
|
|
113
|
+
key: string;
|
|
114
|
+
name: string;
|
|
115
|
+
};
|
|
116
|
+
'ar-iq': {
|
|
117
|
+
key: string;
|
|
118
|
+
name: string;
|
|
119
|
+
};
|
|
120
|
+
'ar-jo': {
|
|
121
|
+
key: string;
|
|
122
|
+
name: string;
|
|
123
|
+
};
|
|
124
|
+
'ar-kw': {
|
|
125
|
+
key: string;
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
'ar-lb': {
|
|
129
|
+
key: string;
|
|
130
|
+
name: string;
|
|
131
|
+
};
|
|
132
|
+
'ar-ly': {
|
|
133
|
+
key: string;
|
|
134
|
+
name: string;
|
|
135
|
+
};
|
|
136
|
+
'ar-ma': {
|
|
137
|
+
key: string;
|
|
138
|
+
name: string;
|
|
139
|
+
};
|
|
140
|
+
'ar-om': {
|
|
141
|
+
key: string;
|
|
142
|
+
name: string;
|
|
143
|
+
};
|
|
144
|
+
'ar-qa': {
|
|
145
|
+
key: string;
|
|
146
|
+
name: string;
|
|
147
|
+
};
|
|
148
|
+
'ar-sa': {
|
|
149
|
+
key: string;
|
|
150
|
+
name: string;
|
|
151
|
+
};
|
|
152
|
+
'ar-sy': {
|
|
153
|
+
key: string;
|
|
154
|
+
name: string;
|
|
155
|
+
};
|
|
156
|
+
'ar-tn': {
|
|
157
|
+
key: string;
|
|
158
|
+
name: string;
|
|
159
|
+
};
|
|
160
|
+
'ar-ae': {
|
|
161
|
+
key: string;
|
|
162
|
+
name: string;
|
|
163
|
+
};
|
|
164
|
+
'ar-ye': {
|
|
165
|
+
key: string;
|
|
166
|
+
name: string;
|
|
167
|
+
};
|
|
168
|
+
bg: {
|
|
169
|
+
key: string;
|
|
170
|
+
name: string;
|
|
171
|
+
};
|
|
172
|
+
da: {
|
|
173
|
+
key: string;
|
|
174
|
+
name: string;
|
|
175
|
+
};
|
|
176
|
+
de: {
|
|
177
|
+
key: string;
|
|
178
|
+
name: string;
|
|
179
|
+
};
|
|
180
|
+
en: {
|
|
181
|
+
key: string;
|
|
182
|
+
name: string;
|
|
183
|
+
};
|
|
184
|
+
'en-gb': {
|
|
185
|
+
key: string;
|
|
186
|
+
name: string;
|
|
187
|
+
};
|
|
188
|
+
'en-us': {
|
|
189
|
+
key: string;
|
|
190
|
+
name: string;
|
|
191
|
+
};
|
|
192
|
+
el: {
|
|
193
|
+
key: string;
|
|
194
|
+
name: string;
|
|
195
|
+
};
|
|
196
|
+
es: {
|
|
197
|
+
key: string;
|
|
198
|
+
name: string;
|
|
199
|
+
};
|
|
200
|
+
fr: {
|
|
201
|
+
key: string;
|
|
202
|
+
name: string;
|
|
203
|
+
};
|
|
204
|
+
hu: {
|
|
205
|
+
key: string;
|
|
206
|
+
name: string;
|
|
207
|
+
};
|
|
208
|
+
it: {
|
|
209
|
+
key: string;
|
|
210
|
+
name: string;
|
|
211
|
+
};
|
|
212
|
+
nl: {
|
|
213
|
+
key: string;
|
|
214
|
+
name: string;
|
|
215
|
+
};
|
|
216
|
+
pt: {
|
|
217
|
+
key: string;
|
|
218
|
+
name: string;
|
|
219
|
+
};
|
|
220
|
+
'pt-br': {
|
|
221
|
+
key: string;
|
|
222
|
+
name: string;
|
|
223
|
+
};
|
|
224
|
+
ro: {
|
|
225
|
+
key: string;
|
|
226
|
+
name: string;
|
|
227
|
+
};
|
|
228
|
+
sk: {
|
|
229
|
+
key: string;
|
|
230
|
+
name: string;
|
|
231
|
+
};
|
|
232
|
+
sr: {
|
|
233
|
+
key: string;
|
|
234
|
+
name: string;
|
|
235
|
+
};
|
|
236
|
+
sv: {
|
|
237
|
+
key: string;
|
|
238
|
+
name: string;
|
|
239
|
+
};
|
|
240
|
+
sw: {
|
|
241
|
+
key: string;
|
|
242
|
+
name: string;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
export declare enum AdditionalFields {
|
|
246
|
+
SHOW_DESCRIPTION = "show_description",
|
|
247
|
+
SHOW_IMAGES = "show_images"
|
|
248
|
+
}
|
|
249
|
+
export declare const defaultItemsPerPageOptions: number[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as Features } from '../models/Features/Features';
|
|
3
|
+
declare const ConfigurationContext: React.Context<Features>;
|
|
4
|
+
type ConfigurationContextProviderProps = {
|
|
5
|
+
features: Features;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
declare const ConfigurationProvider: React.FC<ConfigurationContextProviderProps>;
|
|
9
|
+
export { ConfigurationContext, ConfigurationProvider };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import LabelsModel from '../models/Labels/LabelsModel';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as LabelsModel } from '../models/Labels/LabelsModel';
|
|
3
3
|
declare const LabelsContext: React.Context<LabelsModel>;
|
|
4
4
|
type LabelsContextProviderProps = {
|
|
5
5
|
labels: LabelsModel;
|
|
6
|
+
children?: React.ReactNode;
|
|
6
7
|
};
|
|
7
8
|
declare const LabelsProvider: React.FC<LabelsContextProviderProps>;
|
|
8
9
|
export { LabelsContext, LabelsProvider };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import TagsModel from 'fansunited-sdk-esm/Core/Namespaces/Activity/Models/RequestBody/Context/TagsModel';
|
|
1
|
+
import { default as RequestBody, IPollOption } from '../models/RequestBody/RequestBody';
|
|
2
|
+
import { default as ContextModel } from 'fansunited-sdk-esm/Core/Namespaces/Activity/Models/RequestBody/Context/ContextModel';
|
|
3
|
+
import { default as Features } from '../models/Features/Features';
|
|
5
4
|
export default class PollFactory {
|
|
6
|
-
createNewRequestBody: (requestBody:
|
|
7
|
-
finalizeNewRequestBody: (requestBody:
|
|
5
|
+
createNewRequestBody: (requestBody: RequestBody | null) => RequestBody;
|
|
6
|
+
finalizeNewRequestBody: (requestBody: RequestBody, config: Features) => RequestBody;
|
|
8
7
|
private reconstructImages;
|
|
9
8
|
private reconstructBranding;
|
|
10
9
|
private reconstructContext;
|
|
@@ -14,7 +13,6 @@ export default class PollFactory {
|
|
|
14
13
|
mobile: string;
|
|
15
14
|
};
|
|
16
15
|
createContext: (context: ContextModel) => ContextModel;
|
|
17
|
-
constructEmptyTag: () => TagsModel;
|
|
18
16
|
private isObjectValuesEmpty;
|
|
19
17
|
constructOptions: (options: IPollOption[]) => IPollOption[];
|
|
20
18
|
private constructEmptyCreateOptions;
|
|
@@ -27,6 +25,6 @@ export default class PollFactory {
|
|
|
27
25
|
cover: string;
|
|
28
26
|
mobile: string;
|
|
29
27
|
};
|
|
28
|
+
votes: number;
|
|
30
29
|
};
|
|
31
|
-
createBranding: (branding: IBrandingRequestById) => IBrandingRequestById;
|
|
32
30
|
}
|
|
@@ -2,6 +2,17 @@ export interface IType {
|
|
|
2
2
|
id: string;
|
|
3
3
|
label: string;
|
|
4
4
|
}
|
|
5
|
+
export interface ILanguageConfig {
|
|
6
|
+
available_languages: string[];
|
|
7
|
+
default_language: string;
|
|
8
|
+
translation_rules: {
|
|
9
|
+
[k: string]: {
|
|
10
|
+
game_status: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}
|
|
5
14
|
export default class Features {
|
|
6
15
|
types: IType[];
|
|
16
|
+
languageConfig: ILanguageConfig;
|
|
17
|
+
authRequirement: string;
|
|
7
18
|
}
|
|
@@ -3,10 +3,11 @@ export declare enum PollSortEnum {
|
|
|
3
3
|
CREATED_AT_DESC = "DESC"
|
|
4
4
|
}
|
|
5
5
|
export default class PollFiltersModel {
|
|
6
|
-
|
|
6
|
+
sortOrder: PollSortEnum;
|
|
7
7
|
status: string;
|
|
8
|
+
language: string;
|
|
8
9
|
flags: string[];
|
|
9
10
|
entityIds: string[];
|
|
10
11
|
minVotes: number;
|
|
11
|
-
|
|
12
|
+
limit: number;
|
|
12
13
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export default class LabelsModel {
|
|
2
2
|
userNotFound: string;
|
|
3
|
+
clientFeaturesNotFoundMessage: string;
|
|
4
|
+
featureDisabled: string;
|
|
5
|
+
noPermissionMessage: string;
|
|
6
|
+
tryAgainButton: string;
|
|
3
7
|
signOut: string;
|
|
4
8
|
timeFormat: string;
|
|
5
9
|
getPollsErrorMessage: string;
|
|
@@ -10,28 +14,30 @@ export default class LabelsModel {
|
|
|
10
14
|
votes: string;
|
|
11
15
|
creationDate: string;
|
|
12
16
|
actions: string;
|
|
17
|
+
pageNo: string;
|
|
18
|
+
back: string;
|
|
13
19
|
create: string;
|
|
14
20
|
edit: string;
|
|
15
21
|
save: string;
|
|
16
22
|
preview: string;
|
|
17
23
|
close: string;
|
|
18
|
-
filterBy: string;
|
|
19
24
|
sortBy: string;
|
|
20
|
-
|
|
25
|
+
sortByAscending: string;
|
|
26
|
+
sortByDescending: string;
|
|
27
|
+
language: string;
|
|
21
28
|
contextEntityTag: string;
|
|
22
29
|
typeContextTagNamePlaceholder: string;
|
|
30
|
+
itemsPerPage: string;
|
|
23
31
|
showMoreImages: string;
|
|
24
32
|
hideMoreImages: string;
|
|
25
33
|
uploadImage: string;
|
|
26
|
-
groupByStatus: string;
|
|
27
34
|
copyUrl: string;
|
|
28
35
|
copied: string;
|
|
29
36
|
add: string;
|
|
30
37
|
configuration: string;
|
|
31
38
|
minimumVotes: string;
|
|
32
|
-
|
|
39
|
+
alternativeTitle: string;
|
|
33
40
|
description: string;
|
|
34
|
-
descriptionPlaceholder: string;
|
|
35
41
|
images: string;
|
|
36
42
|
branding: string;
|
|
37
43
|
urls: string;
|
|
@@ -58,15 +64,23 @@ export default class LabelsModel {
|
|
|
58
64
|
rulesPlaceholder: string;
|
|
59
65
|
adContent: string;
|
|
60
66
|
adContentPlaceholder: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
67
|
+
mainImage: string;
|
|
68
|
+
coverImage: string;
|
|
69
|
+
mobileImage: string;
|
|
70
|
+
clearImage: string;
|
|
71
|
+
viewImage: string;
|
|
72
|
+
cropImage: string;
|
|
73
|
+
aspectRatio: string;
|
|
74
|
+
crop: string;
|
|
75
|
+
reset: string;
|
|
76
|
+
sportal365Images: string;
|
|
77
|
+
search: string;
|
|
78
|
+
delete: string;
|
|
79
|
+
fromDate: string;
|
|
80
|
+
toDate: string;
|
|
65
81
|
active: string;
|
|
66
82
|
inactive: string;
|
|
67
|
-
|
|
68
|
-
optionTitlePlaceholder: string;
|
|
69
|
-
optionDescriptionPlaceholder: string;
|
|
83
|
+
expired: string;
|
|
70
84
|
repeatedValueMessage: string;
|
|
71
85
|
flags: string;
|
|
72
86
|
flagsPlaceholder: string;
|
|
@@ -84,32 +98,19 @@ export default class LabelsModel {
|
|
|
84
98
|
entity: string;
|
|
85
99
|
campaign: string;
|
|
86
100
|
id: string;
|
|
87
|
-
idOptionPlaceholder: string;
|
|
88
|
-
labelOptionPlaceholder: string;
|
|
89
|
-
idContentPlaceholder: string;
|
|
90
|
-
idCampaignPlaceholder: string;
|
|
91
101
|
label: string;
|
|
92
|
-
labelContentPlaceholder: string;
|
|
93
|
-
labelCampaignPlaceholder: string;
|
|
94
102
|
type: string;
|
|
95
103
|
typeDescription: string;
|
|
96
|
-
noType: string;
|
|
97
104
|
deleteLabel: string;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
typeContentPlaceholder: string;
|
|
105
|
+
deletePollTitle: string;
|
|
106
|
+
deletePollDescription: string;
|
|
101
107
|
previewPoll: string;
|
|
102
|
-
searchImages: string;
|
|
103
|
-
clearFromToFilterSportal365ImagesMessage: string;
|
|
104
108
|
hideFilters: string;
|
|
105
109
|
showFilters: string;
|
|
106
|
-
dateFromTo: string;
|
|
107
|
-
dateFromToPlaceholder: string;
|
|
108
|
-
noImagesFound: string;
|
|
109
110
|
previous: string;
|
|
110
111
|
next: string;
|
|
111
112
|
clear: string;
|
|
112
|
-
|
|
113
|
+
exportUsers: string;
|
|
113
114
|
usersExportMessage: string;
|
|
114
115
|
usersExportErrorMessage: string;
|
|
115
116
|
getFootballEntitiesErrorMessage: string;
|
|
@@ -128,5 +129,34 @@ export default class LabelsModel {
|
|
|
128
129
|
uploadingImageErrorMessage: string;
|
|
129
130
|
encryptingImageErrorMessage: string;
|
|
130
131
|
searchSportal365ImagesErrorMessage: string;
|
|
132
|
+
managePollTitle: string;
|
|
133
|
+
managePollDescription: string;
|
|
134
|
+
addOption: string;
|
|
135
|
+
removeOption: string;
|
|
136
|
+
urlCopiedToClipboardMessage: string;
|
|
137
|
+
imageDeletedMessage: string;
|
|
138
|
+
imageResetMessage: string;
|
|
139
|
+
authRequirement: string;
|
|
140
|
+
authRequirementDescription: string;
|
|
141
|
+
free: string;
|
|
142
|
+
lead: string;
|
|
143
|
+
registered: string;
|
|
144
|
+
optionDescriptionExplanation: string;
|
|
145
|
+
additionalFields: string;
|
|
146
|
+
addDescription: string;
|
|
147
|
+
addImages: string;
|
|
148
|
+
schedule: string;
|
|
149
|
+
scheduledTaskNotAvailable: string;
|
|
150
|
+
createScheduledTaskMessage: string;
|
|
151
|
+
createScheduledTaskErrorMessage: string;
|
|
152
|
+
updateScheduledTaskMessage: string;
|
|
153
|
+
updateScheduledTaskErrorMessage: string;
|
|
154
|
+
deleteScheduledTaskMessage: string;
|
|
155
|
+
deleteScheduledTaskErrorMessage: string;
|
|
156
|
+
name: string;
|
|
157
|
+
changeStatusTo: string;
|
|
158
|
+
at: string;
|
|
159
|
+
deleteScheduledTaskModalTitle: string;
|
|
160
|
+
deleteScheduledTaskModalParagraph: string;
|
|
131
161
|
constructor(labels?: LabelsModel);
|
|
132
162
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import ImagesModel from 'fansunited-sdk-esm/Core/Global/Models/Images/ImagesModel';
|
|
2
|
-
import ContextModel from 'fansunited-sdk-esm/Core/Namespaces/Activity/Models/RequestBody/Context/ContextModel';
|
|
3
|
-
import { IPollOption } from '../PollById/PollById';
|
|
1
|
+
import { default as ImagesModel } from 'fansunited-sdk-esm/Core/Global/Models/Images/ImagesModel';
|
|
2
|
+
import { default as ContextModel } from 'fansunited-sdk-esm/Core/Namespaces/Activity/Models/RequestBody/Context/ContextModel';
|
|
4
3
|
export interface IBrandingRequestById {
|
|
5
4
|
colors: IBrandingColors;
|
|
6
5
|
urls: IBrandingUrls;
|
|
@@ -28,9 +27,19 @@ export interface IBrandingImages {
|
|
|
28
27
|
mobile_background_image: string;
|
|
29
28
|
additional_image: string;
|
|
30
29
|
}
|
|
30
|
+
export interface IPollOption {
|
|
31
|
+
id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
images: ImagesModel;
|
|
35
|
+
votes: number;
|
|
36
|
+
}
|
|
31
37
|
export default class RequestBody {
|
|
38
|
+
id: string;
|
|
32
39
|
title: string;
|
|
40
|
+
alternative_title: string;
|
|
33
41
|
description: string;
|
|
42
|
+
auth_requirement: string;
|
|
34
43
|
type: string;
|
|
35
44
|
total_votes: number;
|
|
36
45
|
rules: string;
|
package/package.json
CHANGED
package/poll-manager.es.d.ts
CHANGED