@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.
- package/dist/bin/generate-icons-type.js +1 -1
- package/dist/bin/generate-icons-type.js.map +1 -1
- package/dist/src/constants/i18ninstance.d.ts.map +1 -1
- package/dist/src/constants/i18ninstance.js +8 -0
- package/dist/src/constants/i18ninstance.js.map +1 -1
- package/dist/src/constants/iconInfo/types.d.ts +38 -0
- package/dist/src/constants/iconInfo/types.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/types.js +3 -0
- package/dist/src/constants/iconInfo/types.js.map +1 -0
- package/dist/src/helpers/i18nHelpers.d.ts +2 -0
- package/dist/src/helpers/i18nHelpers.d.ts.map +1 -0
- package/dist/src/helpers/i18nHelpers.js +8 -0
- package/dist/src/helpers/i18nHelpers.js.map +1 -0
- package/dist/src/helpers/i18nHelpers.native.d.ts +2 -0
- package/dist/src/helpers/i18nHelpers.native.d.ts.map +1 -0
- package/dist/src/helpers/i18nHelpers.native.js +12 -0
- package/dist/src/helpers/i18nHelpers.native.js.map +1 -0
- package/dist/src/helpers/index.d.ts +1 -0
- package/dist/src/helpers/index.d.ts.map +1 -1
- package/dist/src/helpers/index.js +1 -0
- package/dist/src/helpers/index.js.map +1 -1
- package/dist/src/helpers/themeHelpers.d.ts +5 -5
- package/dist/src/helpers/themeHelpers.d.ts.map +1 -1
- package/dist/src/helpers/themeHelpers.js +7 -2
- package/dist/src/helpers/themeHelpers.js.map +1 -1
- package/dist/src/providers/{I18nProvider.d.ts → I18nProvider/index.d.ts} +1 -1
- package/dist/src/providers/I18nProvider/index.d.ts.map +1 -0
- package/dist/src/providers/{I18nProvider.js → I18nProvider/index.js} +28 -9
- package/dist/src/providers/I18nProvider/index.js.map +1 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.d.ts +2 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.d.ts.map +1 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.js +24 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.app.js.map +1 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.d.ts +2 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.d.ts.map +1 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.js +6 -0
- package/dist/src/providers/I18nProvider/useDirectionSwitcher.js.map +1 -0
- package/dist/src/providers/SessionManager.d.ts +3 -0
- package/dist/src/providers/SessionManager.d.ts.map +1 -0
- package/dist/src/providers/SessionManager.js +24 -0
- package/dist/src/providers/SessionManager.js.map +1 -0
- package/dist/src/providers/index.d.ts +1 -0
- package/dist/src/providers/index.d.ts.map +1 -1
- package/dist/src/providers/index.js +1 -0
- package/dist/src/providers/index.js.map +1 -1
- package/dist/src/reducers/index.d.ts +13 -0
- package/dist/src/reducers/index.d.ts.map +1 -1
- package/dist/src/reducers/index.js +3 -0
- package/dist/src/reducers/index.js.map +1 -1
- package/dist/src/reducers/pages/index.d.ts.map +1 -1
- package/dist/src/reducers/pages/index.js +0 -1
- package/dist/src/reducers/pages/index.js.map +1 -1
- package/dist/src/reducers/session.d.ts +45 -0
- package/dist/src/reducers/session.d.ts.map +1 -0
- package/dist/src/reducers/session.js +89 -0
- package/dist/src/reducers/session.js.map +1 -0
- package/package.json +4 -3
- package/dist/src/providers/I18nProvider.d.ts.map +0 -1
- 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.
|
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 +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AAO,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;
|
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;
|
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"}
|