@evlop/commons 1.0.74 → 1.0.78
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/constants/iconInfo/index.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.js +4 -0
- package/dist/src/constants/iconInfo/index.js.map +1 -0
- package/dist/src/constants/iconInfo/index.native.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.native.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.native.js +8 -0
- package/dist/src/constants/iconInfo/index.native.js.map +1 -0
- package/dist/src/constants/iconInfo/index.web.d.ts +3 -0
- package/dist/src/constants/iconInfo/index.web.d.ts.map +1 -0
- package/dist/src/constants/iconInfo/index.web.js +8 -0
- package/dist/src/constants/iconInfo/index.web.js.map +1 -0
- package/dist/src/constants/{iconInfo.d.ts → iconInfo/reactNativeVectorIcons.d.ts} +4 -5
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.d.ts.map +1 -0
- package/dist/src/constants/{iconInfo.js → iconInfo/reactNativeVectorIcons.js} +6 -7
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -0
- package/dist/src/constants/index.d.ts +1 -1
- package/dist/src/constants/index.d.ts.map +1 -1
- package/dist/src/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/package.json +4 -2
- package/dist/src/constants/iconInfo.d.ts.map +0 -1
- package/dist/src/constants/iconInfo.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";AAAA,wBAAiB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.ts"],"names":[],"mappings":";;AAAA,kBAAe,EAAE,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.native.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,eAAe,sBAAsB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
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
|
+
const reactNativeVectorIcons_1 = __importDefault(require("./reactNativeVectorIcons"));
|
7
|
+
exports.default = reactNativeVectorIcons_1.default;
|
8
|
+
//# sourceMappingURL=index.native.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.native.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.native.ts"],"names":[],"mappings":";;;;;AAAA,sFAA8D;AAE9D,kBAAe,gCAAsB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.web.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,eAAe,sBAAsB,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
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
|
+
const reactNativeVectorIcons_1 = __importDefault(require("./reactNativeVectorIcons"));
|
7
|
+
exports.default = reactNativeVectorIcons_1.default;
|
8
|
+
//# sourceMappingURL=index.web.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/index.web.ts"],"names":[],"mappings":";;;;;AAAA,sFAA8D;AAE9D,kBAAe,gCAAsB,CAAC"}
|
@@ -1,17 +1,16 @@
|
|
1
|
-
declare const
|
1
|
+
declare const reactNativeVectorIcons: {
|
2
2
|
[x: string]: {
|
3
3
|
id: string;
|
4
|
-
label: string;
|
5
4
|
type: string;
|
6
5
|
name: string;
|
7
6
|
variant: string;
|
8
7
|
character: any;
|
9
8
|
} | {
|
10
9
|
id: string;
|
11
|
-
|
10
|
+
name: string;
|
12
11
|
type: string;
|
13
12
|
character: never;
|
14
13
|
};
|
15
14
|
};
|
16
|
-
export default
|
17
|
-
//# sourceMappingURL=
|
15
|
+
export default reactNativeVectorIcons;
|
16
|
+
//# sourceMappingURL=reactNativeVectorIcons.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reactNativeVectorIcons.d.ts","sourceRoot":"","sources":["../../../../src/constants/iconInfo/reactNativeVectorIcons.ts"],"names":[],"mappings":"AAmDA,QAAA,MAAO,sBAAsB;;;;;;;;;;;;;CAAgC,CAAC;AAE9D,eAAe,sBAAsB,CAAA"}
|
@@ -24,7 +24,6 @@ const iconLibraries = { Antdesign: AntDesign_json_1.default, Entypo: Entypo_json
|
|
24
24
|
const fa5Icons = lodash_1.chain(FontAwesome5Free_meta_json_1.default)
|
25
25
|
.flatMap((iconNames, variant) => lodash_1.map(iconNames, iconName => ({
|
26
26
|
id: `font-awesome-5:${variant}:${iconName}`,
|
27
|
-
label: iconName,
|
28
27
|
type: 'font-awesome-5',
|
29
28
|
name: iconName,
|
30
29
|
variant,
|
@@ -34,14 +33,14 @@ const fa5Icons = lodash_1.chain(FontAwesome5Free_meta_json_1.default)
|
|
34
33
|
.value();
|
35
34
|
const vectorIcons = lodash_1.chain(iconLibraries)
|
36
35
|
.mapValues((libraryIcons) => lodash_1.map(libraryIcons, (character, name) => ({ character, name })))
|
37
|
-
.flatMap((iconsOfCurrentType, iconLibrary) => lodash_1.map(iconsOfCurrentType, ({ name:
|
38
|
-
id: `${change_case_1.paramCase(iconLibrary)}:${
|
39
|
-
|
36
|
+
.flatMap((iconsOfCurrentType, iconLibrary) => lodash_1.map(iconsOfCurrentType, ({ name: iconName, character }) => ({
|
37
|
+
id: `${change_case_1.paramCase(iconLibrary)}:${iconName}`,
|
38
|
+
name: iconName,
|
40
39
|
type: change_case_1.paramCase(iconLibrary),
|
41
40
|
character
|
42
41
|
})))
|
43
42
|
.keyBy('id')
|
44
43
|
.value();
|
45
|
-
const
|
46
|
-
exports.default =
|
47
|
-
//# sourceMappingURL=
|
44
|
+
const reactNativeVectorIcons = Object.assign(Object.assign({}, fa5Icons), vectorIcons);
|
45
|
+
exports.default = reactNativeVectorIcons;
|
46
|
+
//# sourceMappingURL=reactNativeVectorIcons.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"reactNativeVectorIcons.js","sourceRoot":"","sources":["../../../../src/constants/iconInfo/reactNativeVectorIcons.ts"],"names":[],"mappings":";;;;;AAAA,wGAA2E;AAC3E,kGAAqE;AACrE,wGAA0E;AAC1E,oGAAuE;AACvE,4GAA+E;AAC/E,gIAA+F;AAC/F,sHAAqF;AACrF,sGAAyE;AACzE,0GAA6E;AAC7E,sGAAwE;AACxE,kIAAgG;AAChG,gHAA8E;AAC9E,sGAAwE;AACxE,oHAAsF;AACtF,kGAAqE;AACrE,6CAAwC;AACxC,mCAAoC;AAEpC,MAAM,aAAa,GAAG,EAAC,SAAS,EAAT,wBAAS,EAAE,MAAM,EAAN,qBAAM,EAAE,QAAQ,EAAR,wBAAQ,EAAE,OAAO,EAAP,sBAAO,EAAE,WAAW,EAAX,0BAAW,EAAC,QAAQ,EAAR,uBAAQ,EAAE,UAAU,EAAV,yBAAU,EAAE,OAAO,EAAP,uBAAO,EAAE,iBAAiB,EAAjB,qCAAiB,EAAE,QAAQ,EAAR,4BAAQ,EAAE,OAAO,EAAP,uBAAO,EAAE,cAAc,EAAd,8BAAc,EAAE,MAAM,EAAN,qBAAM,EAAC,CAAC;AAEtK,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;IAC3C,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,QAAQ;IACd,OAAO;IACP,SAAS,EAAE,+BAAY,CAAC,QAAQ,CAAC;CACpC,CAAC,CACL,CACJ;KACA,KAAK,CAAC,IAAI,CAAC;KACX,KAAK,EAAE,CAAC;AAE7B,MAAM,WAAW,GAAG,cAAK,CAAC,aAAa,CAAC;KAC3B,SAAS,CAAC,CAAC,YAAY,EAAC,EAAE,CAAA,YAAG,CAAC,YAAY,EAAE,CAAC,SAAS,EAAE,IAAI,EAAC,EAAE,CAAA,CAAC,EAAC,SAAS,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;KACpF,OAAO,CACJ,CAAC,kBAAkB,EAAE,WAAW,EAAC,EAAE,CAAC,YAAG,CAAC,kBAAkB,EACtD,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAC,EAAE,EAAE,CAAC,CAAC;IAC9B,EAAE,EAAE,GAAG,uBAAS,CAAC,WAAW,CAAC,IAAI,QAAQ,EAAE;IAC3C,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,uBAAS,CAAC,WAAW,CAAC;IAC5B,SAAS;CACZ,CAAC,CACL,CACJ;KACA,KAAK,CAAC,IAAI,CAAC;KACX,KAAK,EAAE,CAAC;AAErB,MAAO,sBAAsB,mCAAO,QAAQ,GAAK,WAAW,CAAC,CAAC;AAE9D,kBAAe,sBAAsB,CAAA"}
|
@@ -8,5 +8,5 @@ export declare const DIRECTION_LEFT = "direction/Left";
|
|
8
8
|
export declare const VERTICAL_LAYOUT = "layout/vertical";
|
9
9
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
10
10
|
export declare const TYPE_COMPONENT = "type/component";
|
11
|
-
export { default as iconInfo } from './
|
11
|
+
export { default as iconInfo } from './iconInfo';
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,MAAM,SAAgE,CAAC;AAEpF,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,MAAM,SAAgE,CAAC;AAEpF,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
@@ -14,6 +14,6 @@ exports.DIRECTION_LEFT = "direction/Left";
|
|
14
14
|
exports.VERTICAL_LAYOUT = 'layout/vertical';
|
15
15
|
exports.HORIZONTAL_LAYOUT = 'layout/horizontal';
|
16
16
|
exports.TYPE_COMPONENT = "type/component";
|
17
|
-
var iconInfo_1 = require("./
|
17
|
+
var iconInfo_1 = require("./iconInfo");
|
18
18
|
Object.defineProperty(exports, "iconInfo", { enumerable: true, get: function () { return __importDefault(iconInfo_1).default; } });
|
19
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,MAAM,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEvE,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAE/C,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,MAAM,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEvE,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAE/C,uCAAiD;AAAxC,qHAAA,OAAO,OAAY"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evlop/commons",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.78",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"peerDependencies": {
|
@@ -20,10 +20,12 @@
|
|
20
20
|
"socket.io-client": "latest",
|
21
21
|
"pluralize": "latest",
|
22
22
|
"query-string": "latest",
|
23
|
-
"@react-native-async-storage/async-storage": "latest"
|
23
|
+
"@react-native-async-storage/async-storage": "latest",
|
24
|
+
"react-native-vector-icons": "^9.0.0"
|
24
25
|
},
|
25
26
|
"optionalDependencies": {},
|
26
27
|
"dependencies": {
|
28
|
+
"@evlop/web-components": "^1.0.21",
|
27
29
|
"moment": "^2.29.1"
|
28
30
|
},
|
29
31
|
"scripts": {
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"iconInfo.d.ts","sourceRoot":"","sources":["../../../src/constants/iconInfo.ts"],"names":[],"mappings":"AAoDA,QAAA,MAAO,QAAQ;;;;;;;;;;;;;;CAAgC,CAAC;AAEhD,eAAe,QAAQ,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file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