@capillarytech/blaze-ui 5.11.4 → 5.11.7
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/CapLanguageProvider/CapLanguageProvider-use-cases.md +56 -0
- package/CapLanguageProvider/README.md +206 -0
- package/CapLanguageProvider/index.d.ts +4 -59
- package/CapLanguageProvider/index.d.ts.map +1 -1
- package/CapLanguageProvider/index.js +53 -46
- package/CapLanguageProvider/index.js.map +1 -1
- package/CapLanguageProvider/reducer.d.ts +3 -11
- package/CapLanguageProvider/reducer.d.ts.map +1 -1
- package/CapLanguageProvider/types.d.ts +120 -0
- package/CapLanguageProvider/types.d.ts.map +1 -0
- package/CapNavigation/index.js +2 -6
- package/CapNavigation/index.js.map +1 -1
- package/CapUserProfile/index.js +2 -6
- package/CapUserProfile/index.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +53 -38
- package/index.js.map +1 -1
- package/package.json +1 -1
package/CapUserProfile/index.js
CHANGED
|
@@ -17416,9 +17416,7 @@ const languageProviderReducer = function (state, action) {
|
|
|
17416
17416
|
case types.GET_LOCIZE_MESSAGE_REQUEST:
|
|
17417
17417
|
return state.set('localeLoading', types.REQUEST);
|
|
17418
17418
|
case types.GET_LOCIZE_MESSAGE_SUCCESS:
|
|
17419
|
-
return state.set('localeLoading', types.COMPLETE)
|
|
17420
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17421
|
-
.set('messages', (0, _immutable.fromJS)(action.data || {})).set('locale', action.locale || types.DEFAULT_LOCALE);
|
|
17419
|
+
return state.set('localeLoading', types.COMPLETE).set('messages', (0, _immutable.fromJS)(action.data || {})).set('locale', action.locale || types.DEFAULT_LOCALE);
|
|
17422
17420
|
case types.GET_LOCIZE_MESSAGE_FAILURE:
|
|
17423
17421
|
return state.set('localeLoading', types.COMPLETE).set('messages', (0, _immutable.fromJS)({}));
|
|
17424
17422
|
case types.GET_LOCIZE_MESSAGE_SKIP:
|
|
@@ -17426,9 +17424,7 @@ const languageProviderReducer = function (state, action) {
|
|
|
17426
17424
|
case types.GET_SUPPORTED_LOCALES_REQUEST:
|
|
17427
17425
|
return state.set('fetchSupportedLocalesStatus', types.REQUEST).set('supportedLocales', (0, _immutable.fromJS)([]));
|
|
17428
17426
|
case types.GET_SUPPORTED_LOCALES_SUCCESS:
|
|
17429
|
-
return state.set('fetchSupportedLocalesStatus', types.SUCCESS)
|
|
17430
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
17431
|
-
.set('supportedLocales', (0, _immutable.fromJS)(action.data || []));
|
|
17427
|
+
return state.set('fetchSupportedLocalesStatus', types.SUCCESS).set('supportedLocales', (0, _immutable.fromJS)(action.data || []));
|
|
17432
17428
|
case types.GET_SUPPORTED_LOCALES_FAILURE:
|
|
17433
17429
|
return state.set('fetchSupportedLocalesStatus', types.FAILURE).set('supportedLocales', (0, _immutable.fromJS)([]));
|
|
17434
17430
|
default:
|