@evlop/commons 1.0.134 → 1.0.137

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/dist/bin/generate-icons-type.d.ts +2 -0
  2. package/dist/bin/generate-icons-type.d.ts.map +1 -0
  3. package/dist/bin/generate-icons-type.js +29 -0
  4. package/dist/bin/generate-icons-type.js.map +1 -0
  5. package/dist/src/components/index.d.ts +0 -1
  6. package/dist/src/components/index.d.ts.map +1 -1
  7. package/dist/src/components/index.js +0 -1
  8. package/dist/src/components/index.js.map +1 -1
  9. package/dist/src/constants/iconInfo/index.d.ts +4 -2
  10. package/dist/src/constants/iconInfo/index.d.ts.map +1 -1
  11. package/dist/src/constants/iconInfo/index.js +2 -1
  12. package/dist/src/constants/iconInfo/index.js.map +1 -1
  13. package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts +1 -32
  14. package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -1
  15. package/dist/src/constants/iconInfo/reactNativeVectorIcons.js +1 -1
  16. package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -1
  17. package/dist/src/constants/iconInfo/types.d.ts +38 -0
  18. package/dist/src/constants/iconInfo/types.d.ts.map +1 -0
  19. package/dist/src/constants/iconInfo/types.js +3 -0
  20. package/dist/src/constants/iconInfo/types.js.map +1 -0
  21. package/dist/src/constants/index.d.ts +2 -2
  22. package/dist/src/constants/index.d.ts.map +1 -1
  23. package/dist/src/constants/index.js +1 -2
  24. package/dist/src/constants/index.js.map +1 -1
  25. package/dist/src/providers/I18nProvider.d.ts +4 -0
  26. package/dist/src/providers/I18nProvider.d.ts.map +1 -0
  27. package/dist/src/providers/I18nProvider.js +55 -0
  28. package/dist/src/providers/I18nProvider.js.map +1 -0
  29. package/dist/src/providers/index.d.ts +1 -0
  30. package/dist/src/providers/index.d.ts.map +1 -1
  31. package/dist/src/providers/index.js +1 -0
  32. package/dist/src/providers/index.js.map +1 -1
  33. package/package.json +2 -2
  34. package/dist/generateIcons.d.ts +0 -2
  35. package/dist/generateIcons.d.ts.map +0 -1
  36. package/dist/generateIcons.js +0 -13
  37. package/dist/generateIcons.js.map +0 -1
  38. package/dist/src/components/I18nManager.d.ts +0 -4
  39. package/dist/src/components/I18nManager.d.ts.map +0 -1
  40. package/dist/src/components/I18nManager.js +0 -20
  41. package/dist/src/components/I18nManager.js.map +0 -1
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.I18nManager = void 0;
7
- const lodash_1 = require("lodash");
8
- const react_1 = require("react");
9
- const i18ninstance_1 = __importDefault(require("../constants/i18ninstance"));
10
- const useConfig_1 = require("../hooks/useConfig");
11
- const I18nManager = () => {
12
- const i18nResources = useConfig_1.useConfig('i18n');
13
- react_1.useEffect(() => {
14
- lodash_1.forEach(i18nResources, (values, language) => i18ninstance_1.default.addResources(language, 'common', values));
15
- }, [i18nResources]);
16
- return null;
17
- };
18
- exports.I18nManager = I18nManager;
19
- exports.default = exports.I18nManager;
20
- //# sourceMappingURL=I18nManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"I18nManager.js","sourceRoot":"","sources":["../../../src/components/I18nManager.tsx"],"names":[],"mappings":";;;;;;AAAA,mCAA+B;AAC/B,iCAAuC;AACvC,6EAAqD;AACrD,kDAA+C;AAExC,MAAM,WAAW,GAAa,GAAG,EAAE;IACxC,MAAM,aAAa,GAAG,qBAAS,CAAC,MAAM,CAAC,CAAC;IAExC,iBAAS,CAAC,GAAG,EAAE;QACb,gBAAO,CAAC,aAAa,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAC1C,sBAAY,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAC,CACtD,CAAC;IACJ,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,OAAO,IAAI,CAAC;AACd,CAAC,CAAA;AAVY,QAAA,WAAW,eAUvB;AAED,kBAAe,mBAAW,CAAC"}