@evlop/commons 1.0.136 → 1.0.140

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/dist/bin/generate-icons-type.js +1 -1
  2. package/dist/bin/generate-icons-type.js.map +1 -1
  3. package/dist/src/constants/i18ninstance.d.ts.map +1 -1
  4. package/dist/src/constants/i18ninstance.js +8 -0
  5. package/dist/src/constants/i18ninstance.js.map +1 -1
  6. package/dist/src/constants/iconInfo/types.d.ts +38 -0
  7. package/dist/src/constants/iconInfo/types.d.ts.map +1 -0
  8. package/dist/src/constants/iconInfo/types.js +3 -0
  9. package/dist/src/constants/iconInfo/types.js.map +1 -0
  10. package/dist/src/helpers/i18nHelpers.d.ts +2 -0
  11. package/dist/src/helpers/i18nHelpers.d.ts.map +1 -0
  12. package/dist/src/helpers/i18nHelpers.js +8 -0
  13. package/dist/src/helpers/i18nHelpers.js.map +1 -0
  14. package/dist/src/helpers/i18nHelpers.native.d.ts +2 -0
  15. package/dist/src/helpers/i18nHelpers.native.d.ts.map +1 -0
  16. package/dist/src/helpers/i18nHelpers.native.js +12 -0
  17. package/dist/src/helpers/i18nHelpers.native.js.map +1 -0
  18. package/dist/src/helpers/index.d.ts +1 -0
  19. package/dist/src/helpers/index.d.ts.map +1 -1
  20. package/dist/src/helpers/index.js +1 -0
  21. package/dist/src/helpers/index.js.map +1 -1
  22. package/dist/src/helpers/themeHelpers.d.ts +5 -5
  23. package/dist/src/helpers/themeHelpers.d.ts.map +1 -1
  24. package/dist/src/helpers/themeHelpers.js +7 -2
  25. package/dist/src/helpers/themeHelpers.js.map +1 -1
  26. package/dist/src/providers/{I18nProvider.d.ts → I18nProvider/index.d.ts} +1 -1
  27. package/dist/src/providers/I18nProvider/index.d.ts.map +1 -0
  28. package/dist/src/providers/{I18nProvider.js → I18nProvider/index.js} +28 -9
  29. package/dist/src/providers/I18nProvider/index.js.map +1 -0
  30. package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.d.ts +2 -0
  31. package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.d.ts.map +1 -0
  32. package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.js +24 -0
  33. package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.js.map +1 -0
  34. package/dist/src/providers/I18nProvider/useDirectionSwitcher.d.ts +2 -0
  35. package/dist/src/providers/I18nProvider/useDirectionSwitcher.d.ts.map +1 -0
  36. package/dist/src/providers/I18nProvider/useDirectionSwitcher.js +6 -0
  37. package/dist/src/providers/I18nProvider/useDirectionSwitcher.js.map +1 -0
  38. package/dist/src/providers/SessionManager.d.ts +3 -0
  39. package/dist/src/providers/SessionManager.d.ts.map +1 -0
  40. package/dist/src/providers/SessionManager.js +24 -0
  41. package/dist/src/providers/SessionManager.js.map +1 -0
  42. package/dist/src/providers/index.d.ts +1 -0
  43. package/dist/src/providers/index.d.ts.map +1 -1
  44. package/dist/src/providers/index.js +1 -0
  45. package/dist/src/providers/index.js.map +1 -1
  46. package/dist/src/reducers/index.d.ts +13 -0
  47. package/dist/src/reducers/index.d.ts.map +1 -1
  48. package/dist/src/reducers/index.js +3 -0
  49. package/dist/src/reducers/index.js.map +1 -1
  50. package/dist/src/reducers/pages/index.d.ts.map +1 -1
  51. package/dist/src/reducers/pages/index.js +0 -1
  52. package/dist/src/reducers/pages/index.js.map +1 -1
  53. package/dist/src/reducers/session.d.ts +45 -0
  54. package/dist/src/reducers/session.d.ts.map +1 -0
  55. package/dist/src/reducers/session.js +89 -0
  56. package/dist/src/reducers/session.js.map +1 -0
  57. package/package.json +4 -3
  58. package/dist/src/providers/I18nProvider.d.ts.map +0 -1
  59. package/dist/src/providers/I18nProvider.js.map +0 -1
@@ -17,7 +17,7 @@ const icons = lodash_1.reduce(iconTypeToIconNames, ({ typeNames, typeDefinations
17
17
  ].join("\n");
18
18
  return { typeNames: [...typeNames, identifierTypeName], typeDefinations: [...typeDefinations, typeDefination] };
19
19
  }, { typeNames: [], typeDefinations: [] });
20
- require('fs').writeFileSync('./src/constants/iconInfo/types.d.ts', [
20
+ require('fs').writeFileSync('./src/constants/iconInfo/types.ts', [
21
21
  ...icons.typeDefinations,
22
22
  `export type IconIdentifier = ${lodash_1.join(icons.typeNames, '|')};`,
23
23
  '',
@@ -1 +1 @@
1
- {"version":3,"file":"generate-icons-type.js","sourceRoot":"","sources":["../../bin/generate-icons-type.ts"],"names":[],"mappings":";;;;;AAAA,6CAAyC;AACzC,mCAA2E;AAC3E,8GAAsF;AAEtF,MAAM,WAAW,GAAG,gBAAO,CAAC,gCAAsB,EAAE,IAAI,CAAA,EAAE,CAAC,eAAM,CAAC,WAAE,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE1G,MAAM,mBAAmB,GAAG,kBAAS,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,YAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAA;AAE/E,MAAM,KAAK,GAAG,eAAM,CAAC,mBAAmB,EAAE,CAAC,EAAC,SAAS,EAAE,eAAe,EAAC,EAAE,SAAS,EAAE,QAAQ,EAAC,EAAE;IAC7F,MAAM,kBAAkB,GAAG,wBAAU,CAAC,QAAQ,CAAC,CAAC;IAChD,MAAM,kBAAkB,GAAG,wBAAU,CAAC,QAAQ,CAAC,GAAC,gBAAgB,CAAC;IACjE,MAAM,cAAc,GAAG;QACrB,QAAQ,kBAAkB,MAAM,aAAI,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE;QAChG,QAAQ,kBAAkB,QAAQ,QAAQ,OAAO,kBAAkB,KAAK;KACzE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,OAAO,EAAE,SAAS,EAAE,CAAC,GAAG,SAAS,EAAE,kBAAkB,CAAC,EAAE,eAAe,EAAE,CAAC,GAAG,eAAe,EAAE,cAAc,CAAC,EA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S,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE;QAChG,QAAQ,kBAAkB,QAAQ,QAAQ,OAAO,kBAAkB,KAAK;KACzE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,OAAO,EAAE,SAAS,EAAE,CAAC,GAAG,SAAS,EAAE,kBAAkB,CAAC,EAAE,eAAe,EAAE,CAAC,GAAG,eAAe,EAAE,cAAc,CAAC,EAAE,CAAA;AACjH,CAAC,EAAE,EAAC,SAAS,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAC,CAAC,CAAC;AAGzC,OAAO,CAAC,IAAI,CAAC,CAAC,aAAa,CACzB,mCAAmC,EACnC;IACE,GAAG,KAAK,CAAC,eAAe;IACxB,gCAAgC,aAAI,CAAC,KAAK,CAAC,SAAS,EAAE,GAAG,CAAC,GAAG;IAC7D,EAAE;IACF,yEAAyE;IACzE,EAAE;IACF,gCAAgC;CACjC,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"i18ninstance.d.ts","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wBAA2B,CAAC;AAMrD,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"i18ninstance.d.ts","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,wBAA2B,CAAC;AAcrD,eAAe,YAAY,CAAC"}
@@ -7,8 +7,16 @@ exports.i18nInstance = void 0;
7
7
  const i18next_1 = __importDefault(require("i18next"));
8
8
  exports.i18nInstance = i18next_1.default.createInstance();
9
9
  exports.i18nInstance.init({
10
+ compatibilityJSON: "v3",
11
+ lng: "en",
10
12
  fallbackLng: ['en', 'EN'],
11
13
  defaultNS: "common",
14
+ interpolation: {
15
+ escapeValue: false,
16
+ },
17
+ react: {
18
+ useSuspense: false,
19
+ }
12
20
  });
13
21
  exports.default = exports.i18nInstance;
14
22
  //# sourceMappingURL=i18ninstance.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18ninstance.js","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA8B;AAEjB,QAAA,YAAY,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;AACrD,oBAAY,CAAC,IAAI,CAAC;IACd,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IACzB,SAAS,EAAE,QAAQ;CACtB,CAAC,CAAC;AAEH,kBAAe,oBAAY,CAAC"}
1
+ {"version":3,"file":"i18ninstance.js","sourceRoot":"","sources":["../../../src/constants/i18ninstance.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA8B;AAEjB,QAAA,YAAY,GAAG,iBAAO,CAAC,cAAc,EAAE,CAAC;AACrD,oBAAY,CAAC,IAAI,CAAC;IACd,iBAAiB,EAAE,IAAI;IACvB,GAAG,EAAE,IAAI;IACT,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;IACzB,SAAS,EAAE,QAAQ;IACnB,aAAa,EAAC;QACV,WAAW,EAAE,KAAK;KACrB;IACD,KAAK,EAAC;QACF,WAAW,EAAE,KAAK;KACrB;CACJ,CAAC,CAAC;AAEH,kBAAe,oBAAY,CAAC"}