fansunited-widget-client-configuration 1.0.0 → 1.1.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/README.md +20 -3
- package/components/Tabs/Language.d.ts +1 -6
- package/components/Tabs/ProfilePreferences.d.ts +3 -0
- package/configuration-manager.es.js +76275 -69154
- package/configuration-manager.umd.js +1385 -389
- package/models/Labels/LabelsModel.d.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,6 +72,7 @@ const labels = {
|
|
|
72
72
|
clientConfigErrorMessage: "There was a problem fetching client's configuration. Please try again",
|
|
73
73
|
userNotFound: 'User not found. Please try again',
|
|
74
74
|
language: 'Language',
|
|
75
|
+
profilePreferences: 'Profile Preferences',
|
|
75
76
|
cacheTTL: 'Cache TTL',
|
|
76
77
|
footballAssets: 'Football Assets',
|
|
77
78
|
soon: 'Soon',
|
|
@@ -88,8 +89,15 @@ const labels = {
|
|
|
88
89
|
active: 'Active',
|
|
89
90
|
inactive: 'Inactive',
|
|
90
91
|
updateConfigMessage: 'You have successfully updated Language configuration',
|
|
91
|
-
updateConfigErrorMessage: 'There was a problem updating configuration. Please try again'
|
|
92
|
-
|
|
92
|
+
updateConfigErrorMessage: 'There was a problem updating configuration. Please try again',
|
|
93
|
+
categories: 'Categories',
|
|
94
|
+
delete: 'Delete',
|
|
95
|
+
id: 'ID',
|
|
96
|
+
name: 'Name',
|
|
97
|
+
addCategory: 'Add Category',
|
|
98
|
+
preferences: preferences: 'Preferences',
|
|
99
|
+
addPreference: 'Add Preference',
|
|
100
|
+
selectCategories: 'Select categories for new preference'
|
|
93
101
|
};
|
|
94
102
|
|
|
95
103
|
const App = () => {
|
|
@@ -109,6 +117,7 @@ Here is all information about **`LabelsModel`**:
|
|
|
109
117
|
| `clientConfigErrorMessage` | Toast error message when fetching client configuration fails. | There was a problem fetching client's configuration. Please try again |
|
|
110
118
|
| `userNotFound` | On login screen when client gives invalid information about email or password. | User not found. Please try again |
|
|
111
119
|
| `language` | Label for language tab. | Language |
|
|
120
|
+
| `profilePreferences` | Label for profile preferences tab. | Profile Preferences |
|
|
112
121
|
| `cacheTTL` | Label for cache TTL tab. | Cache TTL |
|
|
113
122
|
| `footballAssets` | Label for football assets tab. | Football Assets |
|
|
114
123
|
| `soon` | Label for soon chip on tabs. | Soon |
|
|
@@ -125,4 +134,12 @@ Here is all information about **`LabelsModel`**:
|
|
|
125
134
|
| `active` | Label for status option. | Active |
|
|
126
135
|
| `inactive` | Label for status option. | Inactive |
|
|
127
136
|
| `updateConfigMessage` | Toast success message when updating client configuration. | You have successfully updated Language configuration |
|
|
128
|
-
| `updateConfigErrorMessage` | Toast error message when updating client configuration fails. | There was a problem updating configuration. Please try again |
|
|
137
|
+
| `updateConfigErrorMessage` | Toast error message when updating client configuration fails. | There was a problem updating configuration. Please try again |
|
|
138
|
+
| `categories` | Title for categories section in profile preferences | Categories |
|
|
139
|
+
| `delete` | Tooltip for chip delete button | Delete |
|
|
140
|
+
| `id` | ID input title | ID |
|
|
141
|
+
| `name` | Name input title | Name |
|
|
142
|
+
| `addCategory` | Add new category button title | Add Category |
|
|
143
|
+
| `preferences` | Title for preferences section in profile preferences | Preferences |
|
|
144
|
+
| `addPreference` | Add new preference button title | Add Preference |
|
|
145
|
+
| `selectCategories` | Info text for selecting categories for new preference creation |Select categories for new preference |
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
type LanguageProps = {
|
|
4
|
-
config: LanguageModel;
|
|
5
|
-
onChangeConfig: (languageConfig: LanguageModel) => void;
|
|
6
|
-
};
|
|
7
|
-
declare const Language: React.FC<LanguageProps>;
|
|
2
|
+
declare const Language: () => React.JSX.Element;
|
|
8
3
|
export default Language;
|