@evlop/commons 1.0.208 → 1.0.210
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bin/generate-icons-cache.js +15 -4
- package/dist/bin/generate-icons-cache.js.map +1 -1
- package/dist/src/constants/iconInfo/directed-icons.d.ts.map +1 -1
- package/dist/src/constants/iconInfo/directed-icons.js.map +1 -1
- package/dist/src/constants/iconInfo/index.js +5 -5
- package/dist/src/constants/iconInfo/index.js.map +1 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js +1 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +1 -1
- package/dist/src/constants/iconInfo/types.d.ts +3 -3
- package/dist/src/constants/iconInfo/types.d.ts.map +1 -1
- package/package.json +1 -1
@@ -17,12 +17,23 @@ 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
|
-
|
21
|
-
require('fs').writeFileSync('./src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json', JSON.stringify(lodash_1.reduce(reactNativeVectorIcons_1.default, (acc, icon, id) => {
|
20
|
+
const reactNativeVectorIconsLookup = lodash_1.reduce(reactNativeVectorIcons_1.default, (acc, icon, id) => {
|
22
21
|
const idPath = id.split(':');
|
23
|
-
|
22
|
+
let current = acc;
|
23
|
+
// Iterate through each part of the path except the last one to build the structure
|
24
|
+
for (let i = 0; i < idPath.length - 1; i++) {
|
25
|
+
const key = idPath[i];
|
26
|
+
if (!current[key]) {
|
27
|
+
current[key] = {}; // Create a new object if the key doesn't exist
|
28
|
+
}
|
29
|
+
current = current[key]; // Move deeper into the object
|
30
|
+
}
|
31
|
+
// Set the value at the last part of the path
|
32
|
+
current[idPath[idPath.length - 1]] = icon.character;
|
24
33
|
return acc;
|
25
|
-
}, {})
|
34
|
+
}, {});
|
35
|
+
require('fs').writeFileSync('./src/constants/iconInfo/reactNativeVectorIcons.lookup.json', JSON.stringify(reactNativeVectorIconsLookup, null, 2));
|
36
|
+
require('fs').writeFileSync('./src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json', JSON.stringify(reactNativeVectorIconsLookup));
|
26
37
|
require('fs').writeFileSync('./src/constants/iconInfo/types.ts', [
|
27
38
|
...icons.typeDefinations,
|
28
39
|
`export type ReactNativeVectorIconIdentifier = ${lodash_1.join(icons.typeNames, ' | ')};`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-icons-cache.js","sourceRoot":"","sources":["../../bin/generate-icons-cache.ts"],"names":[],"mappings":";;;;;AAAA,6CAAyC;AACzC,mCAAgF;AAChF,8GAAuF;AAEvF,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,C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iE,EACjE,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,CAC7C,CAAC;AAEF,OAAO,CAAC,IAAI,CAAC,CAAC,aAAa,CACzB,mCAAmC,EACnC;IACE,GAAG,KAAK,CAAC,eAAe;IACxB,iDAAiD,aAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,GAAG;IAChF,EAAE;IACF,0FAA0F;IAC1F,EAAE;IACF,wEAAwE;IACxE,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":"directed-icons.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/directed-icons.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"directed-icons.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/directed-icons.ts"],"names":[],"mappings":"AAqUA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAAoF,CAAA;AAE9G,eAAe,aAAa,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"directed-icons.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/directed-icons.ts"],"names":[],"mappings":";;;AAAA,mCAAmD;AAEnD,2EAA2E;AAC3E,8BAA8B;AAC9B,MAAM,kBAAkB,GAAG;
|
1
|
+
{"version":3,"file":"directed-icons.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/directed-icons.ts"],"names":[],"mappings":";;;AAAA,mCAAmD;AAEnD,2EAA2E;AAC3E,8BAA8B;AAC9B,MAAM,kBAAkB,GAAG;IACzB,YAAY,EAAE;QACV,WAAW;QACX,YAAY;QACZ,WAAW;QACX,YAAY;QACZ,MAAM;QACN,OAAO;QACP,YAAY;QACZ,aAAa;QACb,aAAa;QACb,cAAc;QACd,aAAa;QACb,YAAY;QACZ,UAAU;QACV,WAAW;QACX,SAAS;QACT,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IAAI,CAAA,EAAE,CAAA,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAA;AAE9G,kBAAe,qBAAa,CAAC"}
|
@@ -8,29 +8,29 @@ const lodash_1 = require("lodash");
|
|
8
8
|
const directed_icons_1 = __importDefault(require("./directed-icons"));
|
9
9
|
const reactNativeVectorIcons_lookup_min_json_1 = __importDefault(require("./reactNativeVectorIcons.lookup.min.json"));
|
10
10
|
function _getIconInfo(iconIdentifier) {
|
11
|
-
var _a, _b;
|
11
|
+
var _a, _b, _c, _d, _e;
|
12
12
|
const parts = iconIdentifier.split(':');
|
13
13
|
if (parts.length === 2) {
|
14
14
|
const [library, iconName] = parts;
|
15
|
-
const character = reactNativeVectorIcons_lookup_min_json_1.default[library][iconName];
|
15
|
+
const character = (_a = reactNativeVectorIcons_lookup_min_json_1.default[library]) === null || _a === void 0 ? void 0 : _a[iconName];
|
16
16
|
return {
|
17
17
|
id: iconIdentifier,
|
18
18
|
type: library,
|
19
19
|
name: iconName,
|
20
20
|
character,
|
21
|
-
isDirected: (
|
21
|
+
isDirected: (_b = directed_icons_1.default[library]) === null || _b === void 0 ? void 0 : _b[iconName],
|
22
22
|
};
|
23
23
|
}
|
24
24
|
else if (parts.length === 3) {
|
25
25
|
const [library, variant, iconName] = parts;
|
26
|
-
const character = reactNativeVectorIcons_lookup_min_json_1.default[library][variant][iconName];
|
26
|
+
const character = (_d = (_c = reactNativeVectorIcons_lookup_min_json_1.default[library]) === null || _c === void 0 ? void 0 : _c[variant]) === null || _d === void 0 ? void 0 : _d[iconName];
|
27
27
|
return {
|
28
28
|
id: iconIdentifier,
|
29
29
|
type: library,
|
30
30
|
variant,
|
31
31
|
name: iconName,
|
32
32
|
character,
|
33
|
-
isDirected: (
|
33
|
+
isDirected: (_e = directed_icons_1.default[library]) === null || _e === void 0 ? void 0 : _e[iconName],
|
34
34
|
};
|
35
35
|
}
|
36
36
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";;;;;;AAAA,mCAAiC;AACjC,sEAA6C;AAC7C,sHAAoF;AAGpF,SAAS,YAAY,CAAC,cAAoC;;IACxD,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxC,IAAG,KAAK,CAAC,MAAM,KAAK,CAAC,EAAC;QACpB,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC;QAClC,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";;;;;;AAAA,mCAAiC;AACjC,sEAA6C;AAC7C,sHAAoF;AAGpF,SAAS,YAAY,CAAC,cAAoC;;IACxD,MAAM,KAAK,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACxC,IAAG,KAAK,CAAC,MAAM,KAAK,CAAC,EAAC;QACpB,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC;QAClC,MAAM,SAAS,SAAG,gDAA4B,CAAC,OAAO,CAAC,0CAAG,QAAQ,CAAC,CAAC;QACpE,OAAO;YACH,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,SAAS;YACT,UAAU,QAAE,wBAAa,CAAC,OAAO,CAAC,0CAAG,QAAQ,CAAC;SACjD,CAAA;KACF;SAAM,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAC;QAC5B,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC;QAC3C,MAAM,SAAS,eAAG,gDAA4B,CAAC,OAAO,CAAC,0CAAG,OAAO,2CAAI,QAAQ,CAAC,CAAC;QAC/E,OAAO;YACH,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,OAAO;YACb,OAAO;YACP,IAAI,EAAE,QAAQ;YACd,SAAS;YACT,UAAU,QAAE,wBAAa,CAAC,OAAO,CAAC,0CAAG,QAAQ,CAAC;SACjD,CAAA;KACF;AACH,CAAC;AAEY,QAAA,WAAW,GAAG,gBAAO,CAAC,YAAY,CAAC,CAAC;AAEjD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAIlC,kBAAe,sBAAsB,CAAC"}
|
@@ -23,7 +23,7 @@ const Zocial_json_1 = __importDefault(require("react-native-vector-icons/glyphma
|
|
23
23
|
const change_case_1 = require("change-case");
|
24
24
|
const lodash_1 = require("lodash");
|
25
25
|
const directed_icons_1 = __importDefault(require("./directed-icons"));
|
26
|
-
const iconLibraries = { Antdesign: AntDesign_json_1.default, Entypo: Entypo_json_1.default, Evilicons: EvilIcons_json_1.default, Feather: Feather_json_1.default, FontAwesome: FontAwesome_json_1.default, Fontisto: Fontisto_json_1.default, Foundation: Foundation_json_1.default, Ionicons: Ionicons_json_1.default, MaterialCommunityIcons: MaterialCommunityIcons_json_1.default, MaterialIcons: MaterialIcons_json_1.default,
|
26
|
+
const iconLibraries = { Antdesign: AntDesign_json_1.default, Entypo: Entypo_json_1.default, Evilicons: EvilIcons_json_1.default, Feather: Feather_json_1.default, FontAwesome: FontAwesome_json_1.default, Fontisto: Fontisto_json_1.default, Foundation: Foundation_json_1.default, Ionicons: Ionicons_json_1.default, MaterialCommunityIcons: MaterialCommunityIcons_json_1.default, MaterialIcons: MaterialIcons_json_1.default, Octicons: Octicons_json_1.default, SimpleLineIcons: SimpleLineIcons_json_1.default, Zocial: Zocial_json_1.default };
|
27
27
|
const fa5Icons = lodash_1.chain(FontAwesome5Free_meta_json_1.default)
|
28
28
|
.flatMap((iconNames, variant) => lodash_1.map(iconNames, iconName => ({
|
29
29
|
id: `font-awesome-5:${variant}:${iconName}`,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reactNativeVectorIcons.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/reactNativeVectorIcons.ts"],"names":[],"mappings":";;;;;AAAA,wGAA2E;AAC3E,kGAAqE;AACrE,wGAA2E;AAC3E,oGAAuE;AACvE,4GAA+E;AAC/E,gIAA+F;AAC/F,sHAAqF;AACrF,gIAA+F;AAC/F,sHAAqF;AACrF,sGAAyE;AACzE,0GAA6E;AAC7E,sGAAyE;AACzE,kIAAqG;AACrG,gHAAmF;AACnF,
|
1
|
+
{"version":3,"file":"reactNativeVectorIcons.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/reactNativeVectorIcons.ts"],"names":[],"mappings":";;;;;AAAA,wGAA2E;AAC3E,kGAAqE;AACrE,wGAA2E;AAC3E,oGAAuE;AACvE,4GAA+E;AAC/E,gIAA+F;AAC/F,sHAAqF;AACrF,gIAA+F;AAC/F,sHAAqF;AACrF,sGAAyE;AACzE,0GAA6E;AAC7E,sGAAyE;AACzE,kIAAqG;AACrG,gHAAmF;AACnF,sGAAyE;AACzE,oHAAuF;AACvF,kGAAqE;AACrE,6CAAwC;AACxC,mCAAyC;AACzC,sEAA6C;AAE7C,MAAM,aAAa,GAAG,EAAC,SAAS,EAAT,wBAAS,EAAE,MAAM,EAAN,qBAAM,EAAE,SAAS,EAAT,wBAAS,EAAE,OAAO,EAAP,sBAAO,EAAE,WAAW,EAAX,0BAAW,EAAC,QAAQ,EAAR,uBAAQ,EAAE,UAAU,EAAV,yBAAU,EAAE,QAAQ,EAAR,uBAAQ,EAAE,sBAAsB,EAAtB,qCAAsB,EAAE,aAAa,EAAb,4BAAa,EAAE,QAAQ,EAAR,uBAAQ,EAAE,eAAe,EAAf,8BAAe,EAAE,MAAM,EAAN,qBAAM,EAAC,CAAC;AAEpL,MAAM,QAAQ,GAAG,cAAK,CAAC,oCAAiB,CAAC;KACpB,OAAO,CACJ,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,CAAC,YAAG,CACvB,SAAS,EACT,QAAQ,CAAC,EAAE,CAAC,CAAC;IACT,EAAE,EAAE,kBAAkB,OAAO,IAAI,QAAQ,EAAE;IAC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