@taiga-ui/icons 2.24.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.d.ts +2 -1
- package/bundles/taiga-ui-icons-scripts.umd.js +345 -0
- package/bundles/taiga-ui-icons-scripts.umd.js.map +1 -0
- package/bundles/taiga-ui-icons-scripts.umd.min.js +2 -0
- package/bundles/taiga-ui-icons-scripts.umd.min.js.map +1 -0
- package/bundles/taiga-ui-icons.umd.js +2 -0
- package/bundles/taiga-ui-icons.umd.js.map +1 -1
- package/bundles/taiga-ui-icons.umd.min.js +1 -1
- package/bundles/taiga-ui-icons.umd.min.js.map +1 -1
- package/esm2015/all.js +3 -2
- package/esm2015/scripts/convert-all-compile-file-to-all-file.js +41 -0
- package/esm2015/scripts/delete-all-to-compile-file.js +5 -0
- package/esm2015/scripts/index.js +6 -0
- package/esm2015/scripts/post-prettier-format.js +9 -0
- package/esm2015/scripts/prepare-all-to-compile-file.js +13 -0
- package/esm2015/scripts/rollup-svgo.js +23 -0
- package/esm2015/scripts/taiga-ui-icons-scripts.js +5 -0
- package/esm5/all.js +3 -2
- package/esm5/scripts/convert-all-compile-file-to-all-file.js +47 -0
- package/esm5/scripts/delete-all-to-compile-file.js +5 -0
- package/esm5/scripts/index.js +6 -0
- package/esm5/scripts/post-prettier-format.js +10 -0
- package/esm5/scripts/prepare-all-to-compile-file.js +25 -0
- package/esm5/scripts/rollup-svgo.js +32 -0
- package/esm5/scripts/taiga-ui-icons-scripts.js +5 -0
- package/fesm2015/taiga-ui-icons-scripts.js +94 -0
- package/fesm2015/taiga-ui-icons-scripts.js.map +1 -0
- package/fesm2015/taiga-ui-icons.js +2 -1
- package/fesm2015/taiga-ui-icons.js.map +1 -1
- package/fesm5/taiga-ui-icons-scripts.js +120 -0
- package/fesm5/taiga-ui-icons-scripts.js.map +1 -0
- package/fesm5/taiga-ui-icons.js +2 -1
- package/fesm5/taiga-ui-icons.js.map +1 -1
- package/package.json +1 -1
- package/scripts/convert-all-compile-file-to-all-file.d.ts +7 -0
- package/scripts/delete-all-to-compile-file.d.ts +1 -0
- package/scripts/index.d.ts +5 -0
- package/scripts/package.json +13 -0
- package/scripts/post-prettier-format.d.ts +1 -0
- package/scripts/prepare-all-to-compile-file.d.ts +1 -0
- package/scripts/rollup-svgo.d.ts +7 -0
- package/scripts/taiga-ui-icons-scripts.d.ts +4 -0
- package/scripts/taiga-ui-icons-scripts.metadata.json +1 -0
- package/src/tuiIconRotate.svg +29 -0
- package/taiga-ui-icons.metadata.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { __awaiter, __generator } from "tslib";
|
|
2
|
+
import { rollup } from 'rollup';
|
|
3
|
+
import typescript from 'rollup-plugin-typescript2';
|
|
4
|
+
import { rollupSvgo } from './rollup-svgo';
|
|
5
|
+
var banner = "\n/**\n * @description:\n * DO NOT CHANGE THIS FILE. AUTOGENERATED\n */\n";
|
|
6
|
+
export function convertAllCompileFileToAllFile(config) {
|
|
7
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
8
|
+
var from, to, cacheRoot, inputOptions, bundle;
|
|
9
|
+
return __generator(this, function (_a) {
|
|
10
|
+
switch (_a.label) {
|
|
11
|
+
case 0:
|
|
12
|
+
from = config.from, to = config.to, cacheRoot = config.cacheRoot;
|
|
13
|
+
inputOptions = {
|
|
14
|
+
input: from,
|
|
15
|
+
output: { preferConst: true },
|
|
16
|
+
plugins: [
|
|
17
|
+
typescript({ cacheRoot: cacheRoot !== null && cacheRoot !== void 0 ? cacheRoot : 'node_modules/.cache/.rpt2_cache' }),
|
|
18
|
+
rollupSvgo({
|
|
19
|
+
include: '**/*.svg',
|
|
20
|
+
options: {
|
|
21
|
+
plugins: [
|
|
22
|
+
{ removeViewBox: false },
|
|
23
|
+
{ collapseGroups: false },
|
|
24
|
+
{ cleanupIDs: false },
|
|
25
|
+
{ removeUnknownsAndDefaults: false },
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
}),
|
|
29
|
+
],
|
|
30
|
+
};
|
|
31
|
+
return [4 /*yield*/, rollup(inputOptions)];
|
|
32
|
+
case 1:
|
|
33
|
+
bundle = _a.sent();
|
|
34
|
+
return [4 /*yield*/, bundle.write({
|
|
35
|
+
banner: banner,
|
|
36
|
+
file: to,
|
|
37
|
+
format: 'es',
|
|
38
|
+
preferConst: true,
|
|
39
|
+
})];
|
|
40
|
+
case 2:
|
|
41
|
+
_a.sent();
|
|
42
|
+
return [2 /*return*/];
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydC1hbGwtY29tcGlsZS1maWxlLXRvLWFsbC1maWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2ljb25zL3NjcmlwdHMvIiwic291cmNlcyI6WyJjb252ZXJ0LWFsbC1jb21waWxlLWZpbGUtdG8tYWxsLWZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxNQUFNLEVBQWdCLE1BQU0sUUFBUSxDQUFDO0FBQzdDLE9BQU8sVUFBVSxNQUFNLDJCQUEyQixDQUFDO0FBRW5ELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekMsSUFBTSxNQUFNLEdBQUcsMkVBS2QsQ0FBQztBQVFGLE1BQU0sVUFBZ0IsOEJBQThCLENBQUMsTUFBZTs7Ozs7O29CQUN6RCxJQUFJLEdBQW1CLE1BQU0sS0FBekIsRUFBRSxFQUFFLEdBQWUsTUFBTSxHQUFyQixFQUFFLFNBQVMsR0FBSSxNQUFNLFVBQVYsQ0FBVztvQkFFL0IsWUFBWSxHQUFrQjt3QkFDaEMsS0FBSyxFQUFFLElBQUk7d0JBQ1gsTUFBTSxFQUFFLEVBQUMsV0FBVyxFQUFFLElBQ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ENIQU5HRSBUSElTIEZJTEUuIEFVVE9HRU5FUkFURURcbiAqL1xuYDtcblxuaW50ZXJmYWNlIE9wdGlvbnMge1xuICAgIGNhY2hlUm9vdD86IHN0cmluZztcbiAgICBmcm9tOiBzdHJpbmc7XG4gICAgdG86IHN0cmluZztcbn1cblxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGNvbnZlcnRBbGxDb21waWxlRmlsZVRvQWxsRmlsZShjb25maWc6IE9wdGlvbnMpOiBQcm9taXNlPHZvaWQ+IHtcbiAgICBjb25zdCB7ZnJvbSwgdG8sIGNhY2hlUm9vdH0gPSBjb25maWc7XG5cbiAgICBjb25zdCBpbnB1dE9wdGlvbnM6IFJvbGx1cE9wdGlvbnMgPSB7XG4gICAgICAgIGlucHV0OiBmcm9tLFxuICAgICAgICBvdXRwdXQ6IHtwcmVmZXJDb25zdDogdHJ1ZX0sXG4gICAgICAgIHBsdWdpbnM6IFtcbiAgICAgICAgICAgIHR5cGVzY3JpcHQoe2NhY2hlUm9vdDogY2FjaGVSb290ID8/ICdub2RlX21vZHVsZXMvLmNhY2hlLy5ycHQyX2NhY2hlJ30pLFxuICAgICAgICAgICAgcm9sbHVwU3Znbyh7XG4gICAgICAgICAgICAgICAgaW5jbHVkZTogJyoqLyouc3ZnJyxcbiAgICAgICAgICAgICAgICBvcHRpb25zOiB7XG4gICAgICAgICAgICAgICAgICAgIHBsdWdpbnM6IFtcbiAgICAgICAgICAgICAgICAgICAgICAgIHtyZW1vdmVWaWV3Qm94OiBmYWxzZX0sXG4gICAgICAgICAgICAgICAgICAgICAgICB7Y29sbGFwc2VHcm91cHM6IGZhbHNlfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtjbGVhbnVwSURzOiBmYWxzZX0sXG4gICAgICAgICAgICAgICAgICAgICAgICB7cmVtb3ZlVW5rbm93bnNBbmREZWZhdWx0czogZmFsc2V9LFxuICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgXSxcbiAgICB9O1xuXG4gICAgY29uc3QgYnVuZGxlID0gYXdhaXQgcm9sbHVwKGlucHV0T3B0aW9ucyk7XG5cbiAgICBhd2FpdCBidW5kbGUud3JpdGUoe1xuICAgICAgICBiYW5uZXIsXG4gICAgICAgIGZpbGU6IHRvLFxuICAgICAgICBmb3JtYXQ6ICdlcycsXG4gICAgICAgIHByZWZlckNvbnN0OiB0cnVlLFxuICAgIH0pO1xufVxuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { unlinkSync } from 'fs';
|
|
2
|
+
export function deleteAllToCompileFile(allToCompilePath) {
|
|
3
|
+
unlinkSync(allToCompilePath);
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVsZXRlLWFsbC10by1jb21waWxlLWZpbGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvaWNvbnMvc2NyaXB0cy8iLCJzb3VyY2VzIjpbImRlbGV0ZS1hbGwtdG8tY29tcGlsZS1maWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxJQUFJLENBQUM7QUFFOUIsTUFBTSxVQUFVLHNCQUFzQixDQUFDLGdCQUF3QjtJQUMzRCxVQUFVLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztBQUNqQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHt1bmxpbmtTeW5jfSBmcm9tICdmcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBkZWxldGVBbGxUb0NvbXBpbGVGaWxlKGFsbFRvQ29tcGlsZVBhdGg6IHN0cmluZyk6IHZvaWQge1xuICAgIHVubGlua1N5bmMoYWxsVG9Db21waWxlUGF0aCk7XG59XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './convert-all-compile-file-to-all-file';
|
|
2
|
+
export * from './delete-all-to-compile-file';
|
|
3
|
+
export * from './post-prettier-format';
|
|
4
|
+
export * from './prepare-all-to-compile-file';
|
|
5
|
+
export * from './rollup-svgo';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvaWNvbnMvc2NyaXB0cy8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbnZlcnQtYWxsLWNvbXBpbGUtZmlsZS10by1hbGwtZmlsZSc7XG5leHBvcnQgKiBmcm9tICcuL2RlbGV0ZS1hbGwtdG8tY29tcGlsZS1maWxlJztcbmV4cG9ydCAqIGZyb20gJy4vcG9zdC1wcmV0dGllci1mb3JtYXQnO1xuZXhwb3J0ICogZnJvbSAnLi9wcmVwYXJlLWFsbC10by1jb21waWxlLWZpbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9yb2xsdXAtc3Znbyc7XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
import { readFileSync, writeFileSync } from 'fs';
|
|
3
|
+
import prettier from 'prettier';
|
|
4
|
+
export function postPrettierFormat(filePath, prettierConfig) {
|
|
5
|
+
var bundledBody = readFileSync(filePath, 'utf8');
|
|
6
|
+
var options = prettier.resolveConfig.sync(prettierConfig !== null && prettierConfig !== void 0 ? prettierConfig : 'prettier.config.js');
|
|
7
|
+
var formatted = prettier.format(bundledBody, __assign(__assign({}, options), { parser: 'typescript' }));
|
|
8
|
+
writeFileSync(filePath, formatted);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9zdC1wcmV0dGllci1mb3JtYXQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvaWNvbnMvc2NyaXB0cy8iLCJzb3VyY2VzIjpbInBvc3QtcHJldHRpZXItZm9ybWF0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsWUFBWSxFQUFFLGFBQWEsRUFBQyxNQUFNLElBQUksQ0FBQztBQUMvQyxPQUFPLFFBQVEsTUFBTSxVQUFVLENBQUM7QUFFaEMsTUFBTSxVQUFVLGtCQUFrQixDQUFDLFFBQWdCLEVBQUUsY0FBdUI7SUFDeEUsSUFBTSxXQUFXLEdBQUcsWUFBWSxDQUFDLFFBQVEsRUFBRSxNQUFNLENBQUMsQ0FBQztJQUNuRCxJQUFNLE9BQU8sR0FBRyxRQUFRLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxjQUFjLGFBQWQsY0FBYyxjQUFkLGNBQWMsR0FBSSxvQkFBb0IsQ0FBQyxDQUFDO0lBQ3BGLElBQU0sU0FBUyxHQUFHLFFBQVEsQ0FBQyxNQUFNLENBQUMsV0FBVyx3QkFBTSxPQUFPLEtBQUUsTUFBTSxFQUFFLFlBQVksSUFBRSxDQUFDO0lBRW5GLGFBQWEsQ0FBQyxRQUFRLEVBQUUsU0FBUyxDQUFDLENBQUM7QUFDdkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7cmVhZEZpbGVTeW5jLCB3cml0ZUZpbGVTeW5jfSBmcm9tICdmcyc7XG5pbXBvcnQgcHJldHRpZXIgZnJvbSAncHJldHRpZXInO1xuXG5leHBvcnQgZnVuY3Rpb24gcG9zdFByZXR0aWVyRm9ybWF0KGZpbGVQYXRoOiBzdHJpbmcsIHByZXR0aWVyQ29uZmlnPzogc3RyaW5nKTogdm9pZCB7XG4gICAgY29uc3QgYnVuZGxlZEJvZHkgPSByZWFkRmlsZVN5bmMoZmlsZVBhdGgsICd1dGY4Jyk7XG4gICAgY29uc3Qgb3B0aW9ucyA9IHByZXR0aWVyLnJlc29sdmVDb25maWcuc3luYyhwcmV0dGllckNvbmZpZyA/PyAncHJldHRpZXIuY29uZmlnLmpzJyk7XG4gICAgY29uc3QgZm9ybWF0dGVkID0gcHJldHRpZXIuZm9ybWF0KGJ1bmRsZWRCb2R5LCB7Li4ub3B0aW9ucywgcGFyc2VyOiAndHlwZXNjcmlwdCd9KTtcblxuICAgIHdyaXRlRmlsZVN5bmMoZmlsZVBhdGgsIGZvcm1hdHRlZCk7XG59XG4iXX0=
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __values } from "tslib";
|
|
2
|
+
import { readdirSync, writeFileSync } from 'fs';
|
|
3
|
+
export function prepareAllToCompileFile(iconsSrc, allToCompilePath) {
|
|
4
|
+
var e_1, _a;
|
|
5
|
+
var icons = readdirSync(iconsSrc).filter(function (file) { return file.split('.').pop() === 'svg'; });
|
|
6
|
+
var importDeclarations = '';
|
|
7
|
+
var exportDeclarations = '';
|
|
8
|
+
try {
|
|
9
|
+
for (var icons_1 = __values(icons), icons_1_1 = icons_1.next(); !icons_1_1.done; icons_1_1 = icons_1.next()) {
|
|
10
|
+
var iconPath = icons_1_1.value;
|
|
11
|
+
var fileName = iconPath.split('.').shift();
|
|
12
|
+
importDeclarations += "import " + fileName + " from './src/" + fileName + ".svg';\n";
|
|
13
|
+
exportDeclarations += fileName + ", ";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
17
|
+
finally {
|
|
18
|
+
try {
|
|
19
|
+
if (icons_1_1 && !icons_1_1.done && (_a = icons_1.return)) _a.call(icons_1);
|
|
20
|
+
}
|
|
21
|
+
finally { if (e_1) throw e_1.error; }
|
|
22
|
+
}
|
|
23
|
+
writeFileSync(allToCompilePath, importDeclarations + " \n export { " + exportDeclarations + " }");
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJlcGFyZS1hbGwtdG8tY29tcGlsZS1maWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhaWdhLXVpL2ljb25zL3NjcmlwdHMvIiwic291cmNlcyI6WyJwcmVwYXJlLWFsbC10by1jb21waWxlLWZpbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBQyxXQUFXLEVBQUUsYUFBYSxFQUFDLE1BQU0sSUFBSSxDQUFDO0FBRTlDLE1BQU0sVUFBVSx1QkFBdUIsQ0FDbkMsUUFBZ0IsRUFDaEIsZ0JBQXdCOztJQUV4QixJQUFNLEtBQUssR0FBYSxXQUFXLENBQUMsUUFBUSxDQUFDLENBQUMsTUFBTSxDQUNoRCxVQUFBLElBQUksSUFBSSxPQUFBLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxFQUFFLEtBQUssS0FBSyxFQUEvQixDQUErQixDQUMxQyxDQUFDO0lBRUYsSUFBSSxrQkFBa0IsR0FBRyxFQUFFLENBQUM7SUFDNUIsSUFBSSxrQkFBa0IsR0FBRyxFQUFFLENBQUM7O1FBRTVCLEtBQXVCLElBQUEsVUFBQSxTQUFBLEtBQUssQ0FBQSw0QkFBQSwrQ0FBRTtZQUF6QixJQUFNLFFBQVEsa0JBQUE7WUFDZixJQUFNLFFBQVEsR0FBRyxRQUFRLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEtBQUssRUFBRSxDQUFDO1lBRTdDLGtCQUFrQixJQUFJLFlBQVUsUUFBUSxxQkFBZ0IsUUFBUSxhQUFVLENBQUM7WUFDM0Usa0JBQWtCLElBQ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gfWAsXG4gICAgKTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { __awaiter, __generator } from "tslib";
|
|
2
|
+
import { createFilter } from 'rollup-pluginutils';
|
|
3
|
+
var SVGO = require('svgo');
|
|
4
|
+
export function rollupSvgo(_a) {
|
|
5
|
+
var _b = _a === void 0 ? {} : _a, _c = _b.include, include = _c === void 0 ? '**/*.svg' : _c, exclude = _b.exclude, options = _b.options;
|
|
6
|
+
var filter = createFilter(include, exclude);
|
|
7
|
+
var svgo = new SVGO(options);
|
|
8
|
+
return {
|
|
9
|
+
name: 'rollupSvgo',
|
|
10
|
+
transform: function (svgString, id) {
|
|
11
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12
|
+
var optimizedSvg;
|
|
13
|
+
return __generator(this, function (_a) {
|
|
14
|
+
switch (_a.label) {
|
|
15
|
+
case 0:
|
|
16
|
+
if (!filter(id)) {
|
|
17
|
+
return [2 /*return*/];
|
|
18
|
+
}
|
|
19
|
+
return [4 /*yield*/, svgo.optimize(svgString)];
|
|
20
|
+
case 1:
|
|
21
|
+
optimizedSvg = _a.sent();
|
|
22
|
+
return [2 /*return*/, {
|
|
23
|
+
code: "export default " + JSON.stringify(optimizedSvg.data),
|
|
24
|
+
map: null,
|
|
25
|
+
}];
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sbHVwLXN2Z28uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvaWNvbnMvc2NyaXB0cy8iLCJzb3VyY2VzIjpbInJvbGx1cC1zdmdvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFFaEQsSUFBTSxJQU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nZlbnRpb25zXG4gICAgICAgICAgICB9O1xuICAgICAgICB9LFxuICAgIH07XG59XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktaWNvbnMtc2NyaXB0cy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9pY29ucy9zY3JpcHRzLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktaWNvbnMtc2NyaXB0cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { __awaiter } from 'tslib';
|
|
2
|
+
import { rollup } from 'rollup';
|
|
3
|
+
import typescript from 'rollup-plugin-typescript2';
|
|
4
|
+
import svgo from 'svgo';
|
|
5
|
+
import { createFilter } from 'rollup-pluginutils';
|
|
6
|
+
import { unlinkSync, readFileSync, writeFileSync, readdirSync } from 'fs';
|
|
7
|
+
import prettier from 'prettier';
|
|
8
|
+
|
|
9
|
+
function rollupSvgo({ include = '**/*.svg', exclude, options, } = {}) {
|
|
10
|
+
const filter = createFilter(include, exclude);
|
|
11
|
+
const svgo$1 = new svgo(options);
|
|
12
|
+
return {
|
|
13
|
+
name: 'rollupSvgo',
|
|
14
|
+
transform(svgString, id) {
|
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16
|
+
if (!filter(id)) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const optimizedSvg = yield svgo$1.optimize(svgString); // TODO add path
|
|
20
|
+
return {
|
|
21
|
+
code: `export default ${JSON.stringify(optimizedSvg.data)}`,
|
|
22
|
+
map: null,
|
|
23
|
+
};
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const banner = `
|
|
30
|
+
/**
|
|
31
|
+
* @description:
|
|
32
|
+
* DO NOT CHANGE THIS FILE. AUTOGENERATED
|
|
33
|
+
*/
|
|
34
|
+
`;
|
|
35
|
+
function convertAllCompileFileToAllFile(config) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const { from, to, cacheRoot } = config;
|
|
38
|
+
const inputOptions = {
|
|
39
|
+
input: from,
|
|
40
|
+
output: { preferConst: true },
|
|
41
|
+
plugins: [
|
|
42
|
+
typescript({ cacheRoot: cacheRoot !== null && cacheRoot !== void 0 ? cacheRoot : 'node_modules/.cache/.rpt2_cache' }),
|
|
43
|
+
rollupSvgo({
|
|
44
|
+
include: '**/*.svg',
|
|
45
|
+
options: {
|
|
46
|
+
plugins: [
|
|
47
|
+
{ removeViewBox: false },
|
|
48
|
+
{ collapseGroups: false },
|
|
49
|
+
{ cleanupIDs: false },
|
|
50
|
+
{ removeUnknownsAndDefaults: false },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
}),
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
const bundle = yield rollup(inputOptions);
|
|
57
|
+
yield bundle.write({
|
|
58
|
+
banner,
|
|
59
|
+
file: to,
|
|
60
|
+
format: 'es',
|
|
61
|
+
preferConst: true,
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function deleteAllToCompileFile(allToCompilePath) {
|
|
67
|
+
unlinkSync(allToCompilePath);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function postPrettierFormat(filePath, prettierConfig) {
|
|
71
|
+
const bundledBody = readFileSync(filePath, 'utf8');
|
|
72
|
+
const options = prettier.resolveConfig.sync(prettierConfig !== null && prettierConfig !== void 0 ? prettierConfig : 'prettier.config.js');
|
|
73
|
+
const formatted = prettier.format(bundledBody, Object.assign(Object.assign({}, options), { parser: 'typescript' }));
|
|
74
|
+
writeFileSync(filePath, formatted);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function prepareAllToCompileFile(iconsSrc, allToCompilePath) {
|
|
78
|
+
const icons = readdirSync(iconsSrc).filter(file => file.split('.').pop() === 'svg');
|
|
79
|
+
let importDeclarations = '';
|
|
80
|
+
let exportDeclarations = '';
|
|
81
|
+
for (const iconPath of icons) {
|
|
82
|
+
const fileName = iconPath.split('.').shift();
|
|
83
|
+
importDeclarations += `import ${fileName} from './src/${fileName}.svg';\n`;
|
|
84
|
+
exportDeclarations += `${fileName}, `;
|
|
85
|
+
}
|
|
86
|
+
writeFileSync(allToCompilePath, `${importDeclarations} \n export { ${exportDeclarations} }`);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Generated bundle index. Do not edit.
|
|
91
|
+
*/
|
|
92
|
+
|
|
93
|
+
export { convertAllCompileFileToAllFile, deleteAllToCompileFile, postPrettierFormat, prepareAllToCompileFile, rollupSvgo };
|
|
94
|
+
//# sourceMappingURL=taiga-ui-icons-scripts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-icons-scripts.js","sources":["ng://@taiga-ui/icons/scripts/rollup-svgo.ts","ng://@taiga-ui/icons/scripts/convert-all-compile-file-to-all-file.ts","ng://@taiga-ui/icons/scripts/delete-all-to-compile-file.ts","ng://@taiga-ui/icons/scripts/post-prettier-format.ts","ng://@taiga-ui/icons/scripts/prepare-all-to-compile-file.ts","ng://@taiga-ui/icons/scripts/taiga-ui-icons-scripts.ts"],"sourcesContent":["import {Plugin, TransformSourceDescription} from 'rollup';\nimport {createFilter} from 'rollup-pluginutils';\n\nconst SVGO = require('svgo');\n\nexport interface RollupSvgoConfig {\n readonly include?: string;\n\n readonly exclude?: string;\n\n readonly options?: any;\n}\n\nexport function rollupSvgo({\n include = '**/*.svg',\n exclude,\n options,\n}: RollupSvgoConfig = {}): Plugin {\n const filter = createFilter(include, exclude);\n const svgo = new SVGO(options);\n\n return {\n name: 'rollupSvgo',\n async transform(\n svgString: string,\n id: string,\n ): Promise<TransformSourceDescription | any> {\n if (!filter(id)) {\n return;\n }\n\n const optimizedSvg = await svgo.optimize(svgString); // TODO add path\n\n return {\n code: `export default ${JSON.stringify(optimizedSvg.data)}`,\n map: null as any, // TODO https://github.com/rollup/rollup/wiki/Plugins#conventions\n };\n },\n };\n}\n","import {rollup, RollupOptions} from 'rollup';\nimport typescript from 'rollup-plugin-typescript2';\n\nimport {rollupSvgo} from './rollup-svgo';\n\nconst banner = `\n/**\n * @description:\n * DO NOT CHANGE THIS FILE. AUTOGENERATED\n */\n`;\n\ninterface Options {\n cacheRoot?: string;\n from: string;\n to: string;\n}\n\nexport async function convertAllCompileFileToAllFile(config: Options): Promise<void> {\n const {from, to, cacheRoot} = config;\n\n const inputOptions: RollupOptions = {\n input: from,\n output: {preferConst: true},\n plugins: [\n typescript({cacheRoot: cacheRoot ?? 'node_modules/.cache/.rpt2_cache'}),\n rollupSvgo({\n include: '**/*.svg',\n options: {\n plugins: [\n {removeViewBox: false},\n {collapseGroups: false},\n {cleanupIDs: false},\n {removeUnknownsAndDefaults: false},\n ],\n },\n }),\n ],\n };\n\n const bundle = await rollup(inputOptions);\n\n await bundle.write({\n banner,\n file: to,\n format: 'es',\n preferConst: true,\n });\n}\n","import {unlinkSync} from 'fs';\n\nexport function deleteAllToCompileFile(allToCompilePath: string): void {\n unlinkSync(allToCompilePath);\n}\n","import {readFileSync, writeFileSync} from 'fs';\nimport prettier from 'prettier';\n\nexport function postPrettierFormat(filePath: string, prettierConfig?: string): void {\n const bundledBody = readFileSync(filePath, 'utf8');\n const options = prettier.resolveConfig.sync(prettierConfig ?? 'prettier.config.js');\n const formatted = prettier.format(bundledBody, {...options, parser: 'typescript'});\n\n writeFileSync(filePath, formatted);\n}\n","import {readdirSync, writeFileSync} from 'fs';\n\nexport function prepareAllToCompileFile(\n iconsSrc: string,\n allToCompilePath: string,\n): void {\n const icons: string[] = readdirSync(iconsSrc).filter(\n file => file.split('.').pop() === 'svg',\n );\n\n let importDeclarations = '';\n let exportDeclarations = '';\n\n for (const iconPath of icons) {\n const fileName = iconPath.split('.').shift();\n\n importDeclarations += `import ${fileName} from './src/${fileName}.svg';\\n`;\n exportDeclarations += `${fileName}, `;\n }\n\n writeFileSync(\n allToCompilePath,\n `${importDeclarations} \\n export { ${exportDeclarations} }`,\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["svgo","SVGO"],"mappings":";;;;;;;;SAagB,UAAU,CAAC,EACvB,OAAO,GAAG,UAAU,EACpB,OAAO,EACP,OAAO,MACW,EAAE;IACpB,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC9C,MAAMA,MAAI,GAAG,IAAIC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE/B,OAAO;QACH,IAAI,EAAE,YAAY;QACZ,SAAS,CACX,SAAiB,EACjB,EAAU;;gBAEV,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE;oBACb,OAAO;iBACV;gBAED,MAAM,YAAY,GAAG,MAAMD,MAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;gBAEpD,OAAO;oBACH,IAAI,EAAE,kBAAkB,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;oBAC3D,GAAG,EAAE,IAAW;iBACnB,CAAC;aACL;SAAA;KACJ,CAAC;AACN;;AClCA,MAAM,MAAM,GAAG;;;;;CAKd,CAAC;SAQoB,8BAA8B,CAAC,MAAe;;QAChE,MAAM,EAAC,IAAI,EAAE,EAAE,EAAE,SAAS,EAAC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AK,GAAa,WAAW,CAAC,QAAQ,CAAC,CAAC,MAAM,CAChD,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,CAC1C,CAAC;IAEF,IAAI,kBAAkB,GAAG,EAAE,CAAC;IAC5B,IAAI,kBAAkB,GAAG,EAAE,CAAC;IAE5B,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE;QAC1B,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC;QAE7C,kBAAkB,IAAI,UAAU,QAAQ,gBAAgB,QAAQ,UAAU,CAAC;QAC3E,kBAAkB,IAAI,GAAG,QAAQ,IAAI,CAAC;KACzC;IAED,aAAa,CACT,gBAAgB,EAChB,GAAG,kBAAkB,gBAAgB,kBAAkB,IAAI,CAC9D,CAAC;AACN;;ACxBA;;;;;;"}
|
|
@@ -165,6 +165,7 @@ const tuiIconRedoLarge = '<svg xmlns="http://www.w3.org/2000/svg" width="1.5em"
|
|
|
165
165
|
const tuiIconRefresh = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" focusable="false"><g id="tuiIconRefresh" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1em" height="1em" overflow="visible" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><svg x="-8" y="-8"><path d="M15 3v4h-4M1 13V9h4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2.597 6a6.025 6.025 0 011.595-2.484 5.639 5.639 0 012.54-1.368 5.475 5.475 0 012.856.088 5.68 5.68 0 012.46 1.523L15 6.666M1 9.334l2.953 2.907a5.678 5.678 0 002.46 1.523c.929.281 1.91.312 2.854.088a5.638 5.638 0 002.541-1.368 6.023 6.023 0 001.595-2.483" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></svg></g></svg>';
|
|
166
166
|
const tuiIconRefreshLarge = '<svg xmlns="http://www.w3.org/2000/svg" width="1.5em" height="1.5em" focusable="false"><g id="tuiIconRefreshLarge" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1.5em" height="1.5em" overflow="visible" viewBox="0 0 24 24" fill="none"><svg x="-12" y="-12" xmlns="http://www.w3.org/2000/svg"><path d="M23 4v6h-6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.49 15a9 9 0 11-2.13-9.36L23 10" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></svg></g></svg>';
|
|
167
167
|
const tuiIconRemoveLarge = '<svg xmlns="http://www.w3.org/2000/svg" width="1.5em" height="1.5em" focusable="false"><g id="tuiIconRemoveLarge" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1.5em" height="1.5em" overflow="visible" viewBox="0 0 24 24" fill="none"><svg x="-12" y="-12" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.707 5.293a1 1 0 00-1.414 1.414L10.586 12l-5.293 5.293a1 1 0 101.414 1.414L12 13.414l5.293 5.293a1 1 0 001.414-1.414L13.414 12l5.293-5.293a1 1 0 00-1.414-1.414L12 10.586 6.707 5.293z" fill="currentColor"/></svg></svg></g></svg>';
|
|
168
|
+
const tuiIconRotate = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em"><g id="tuiIconRotate" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1em" height="1em" overflow="visible" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><svg x="-8" y="-8"><g clip-path="url(#clip0_29215:435606)"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.036 9a.97.97 0 01-.965-.977v-2.4c0-.406-.156-.792-.43-1.074v-.001a1.425 1.425 0 00-1.017-.434H9.292l.404.486c.377.382.377 1 0 1.382a.955.955 0 01-1.364 0l-2.05-2.155a.987.987 0 010-1.382L8.332.286a.955.955 0 011.364 0c.377.382.377 1 0 1.382l-.404.49h2.334A3.352 3.352 0 0114.02 3.18c.63.653.981 1.531.981 2.444v2.4a.97.97 0 01-.964.977zM4 9h5v4H4V9zM2 9a2 2 0 012-2h5a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2V9z" fill="currentColor"/></g><defs><clipPath id="clip0_29215:435606"><path fill="#fff" transform="translate(0 .002)" d="M0 0h16v16H0z"/></clipPath></defs></svg></svg></g></svg>';
|
|
168
169
|
const tuiIconSearch = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" focusable="false"><g id="tuiIconSearch" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1em" height="1em" overflow="visible" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><svg x="-8" y="-8"><path d="M7.333 12.667A5.333 5.333 0 107.333 2a5.333 5.333 0 000 10.667zM14 14l-2.9-2.9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></svg></g></svg>';
|
|
169
170
|
const tuiIconSearchLarge = '<svg xmlns="http://www.w3.org/2000/svg" width="1.5em" height="1.5em" focusable="false"><g id="tuiIconSearchLarge" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1.5em" height="1.5em" overflow="visible" viewBox="0 0 24 24" fill="none"><svg x="-12" y="-12" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 17a6.5 6.5 0 100-13 6.5 6.5 0 000 13zm9.5 3l-4.35-4.35" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg></svg></g></svg>';
|
|
170
171
|
const tuiIconSettings = '<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" focusable="false"><g id="tuiIconSettings" xmlns="http://www.w3.org/2000/svg"><svg x="50%" y="50%" width="1em" height="1em" overflow="visible" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><svg x="-8" y="-8"><g clip-path="url(#a)" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 10a2 2 0 100-4 2 2 0 000 4z"/><path d="M12.933 10a1.1 1.1 0 00.22 1.213l.04.04a1.333 1.333 0 11-1.886 1.887l-.04-.04a1.1 1.1 0 00-1.214-.22 1.1 1.1 0 00-.666 1.006V14a1.333 1.333 0 11-2.667 0v-.06A1.1 1.1 0 006 12.933a1.1 1.1 0 00-1.213.22l-.04.04a1.334 1.334 0 11-1.887-1.886l.04-.04a1.1 1.1 0 00.22-1.214 1.1 1.1 0 00-1.007-.667H2A1.333 1.333 0 112 6.72h.06A1.1 1.1 0 003.067 6a1.1 1.1 0 00-.22-1.213l-.04-.04A1.333 1.333 0 114.693 2.86l.04.04a1.1 1.1 0 001.214.22H6a1.1 1.1 0 00.667-1.007V2a1.333 1.333 0 112.666 0v.06A1.1 1.1 0 0010 3.066a1.1 1.1 0 001.213-.22l.04-.04a1.334 1.334 0 111.887 1.887l-.04.04a1.1 1.1 0 00-.22 1.214V6a1.1 1.1 0 001.007.667H14a1.333 1.333 0 010 2.666h-.06a1.1 1.1 0 00-1.007.667z"/></g></svg></svg></g></svg>';
|
|
@@ -258,5 +259,5 @@ const tuiKitIcons = Object.assign(Object.assign({}, tuiCoreIcons), { tuiIconAler
|
|
|
258
259
|
* Generated bundle index. Do not edit.
|
|
259
260
|
*/
|
|
260
261
|
|
|
261
|
-
export { tuiCoreIcons, tuiIconAddRowLarge, tuiIconAlertCircleLarge, tuiIconAlignCenterLarge, tuiIconAlignJustifyLarge, tuiIconAlignLeftLarge, tuiIconAlignRightLarge, tuiIconArrowDown, tuiIconArrowDownLarge, tuiIconArrowDownLeft, tuiIconArrowDownRight, tuiIconArrowLeft, tuiIconArrowLeftLarge, tuiIconArrowRight, tuiIconArrowRightLarge, tuiIconArrowUp, tuiIconArrowUpLarge, tuiIconArrowUpLeft, tuiIconArrowUpRight, tuiIconAttach, tuiIconAttachLarge, tuiIconAttention, tuiIconBackCircleLarge, tuiIconBell, tuiIconBellLarge, tuiIconBellOff, tuiIconBellOffLarge, tuiIconBoldLarge, tuiIconBookmark, tuiIconBookmarkLarge, tuiIconCalendar, tuiIconCalendarLarge, tuiIconCall, tuiIconCallIn, tuiIconCallInLarge, tuiIconCallLarge, tuiIconCallOut, tuiIconCallOutLarge, tuiIconCallTransferLarge, tuiIconCameraLarge, tuiIconCancel, tuiIconCancelCircleLarge, tuiIconCard, tuiIconCardsLarge, tuiIconChartBar, tuiIconChartLarge, tuiIconChartLineLarge, tuiIconCheck, tuiIconCheckCircle, tuiIconCheckCircleLarge, tuiIconCheckLarge, tuiIconCheckList, tuiIconChevronDown, tuiIconChevronDownLarge, tuiIconChevronLeft, tuiIconChevronLeftLarge, tuiIconChevronRight, tuiIconChevronRightLarge, tuiIconChevronUp, tuiIconChevronUpLarge, tuiIconClearFormatLarge, tuiIconCloseCircleLarge, tuiIconCloseLarge, tuiIconCloud, tuiIconCode, tuiIconCodeLarge, tuiIconCollapse, tuiIconColorLarge, tuiIconComment, tuiIconCommentLarge, tuiIconCompanyLarge, tuiIconCopy, tuiIconCopyLarge, tuiIconDeleteLarge, tuiIconDesktopLarge, tuiIconDislikeLarge, tuiIconDone, tuiIconDownload, tuiIconDownloadLarge, tuiIconDraft, tuiIconDrag, tuiIconDragLarge, tuiIconEdit, tuiIconEditLarge, tuiIconElectron, tuiIconElectronMono, tuiIconExpand, tuiIconExternal, tuiIconExternalLarge, tuiIconEyeClosed, tuiIconEyeOpen, tuiIconFile, tuiIconFileLarge, tuiIconFilter, tuiIconFilterLarge, tuiIconFlag, tuiIconFlagLarge, tuiIconFolder, tuiIconFolderLarge, tuiIconFontLarge, tuiIconFormatLarge, tuiIconFrameLarge, tuiIconGeoLarge, tuiIconHeart, tuiIconHeartFilled, tuiIconHeartFilledLarge, tuiIconHeartLarge, tuiIconHelpCircleLarge, tuiIconHideLarge, tuiIconHiliteLarge, tuiIconHrLarge, tuiIconImgLarge, tuiIconIndentLarge, tuiIconInfo, tuiIconInfoCircleLarge, tuiIconItalicLarge, tuiIconLikeLarge, tuiIconLink, tuiIconLinkLarge, tuiIconLock, tuiIconLockLarge, tuiIconLockOpenLarge, tuiIconLoginLarge, tuiIconLogoutLarge, tuiIconMaestro, tuiIconMaestroMono, tuiIconMail, tuiIconMailLarge, tuiIconMastercard, tuiIconMastercardMono, tuiIconMenuLarge, tuiIconMicLarge, tuiIconMicOffLarge, tuiIconMinus, tuiIconMinusCircle, tuiIconMinusLarge, tuiIconMir, tuiIconMirMono, tuiIconMobile, tuiIconMobileLarge, tuiIconMoreHorLarge, tuiIconMoreVer, tuiIconMoreVertLarge, tuiIconMusicLarge, tuiIconOLLarge, tuiIconOutdentLarge, tuiIconPaintLarge, tuiIconPause, tuiIconPauseLarge, tuiIconPicture, tuiIconPiechartLarge, tuiIconPin, tuiIconPlay, tuiIconPlayLarge, tuiIconPlus, tuiIconPlusCircleLarge, tuiIconPlusLarge, tuiIconPrintLarge, tuiIconQuoteLarge, tuiIconRedo, tuiIconRedoLarge, tuiIconRefresh, tuiIconRefreshLarge, tuiIconRemoveLarge, tuiIconSearch, tuiIconSearchLarge, tuiIconSettings, tuiIconSettingsLarge, tuiIconShowLarge, tuiIconSortDown, tuiIconSortUp, tuiIconSound, tuiIconSoundLarge, tuiIconSoundOff, tuiIconSoundOffLarge, tuiIconStar, tuiIconStarFilled, tuiIconStarFilledLarge, tuiIconStarLarge, tuiIconStop, tuiIconStopLarge, tuiIconStrikeThroughLarge, tuiIconStructureLarge, tuiIconSubitem, tuiIconSublevelLarge, tuiIconSubscriptLarge, tuiIconSuperscriptLarge, tuiIconTableLarge, tuiIconTableMergeLarge, tuiIconTableSplitLarge, tuiIconTeXLarge, tuiIconTime, tuiIconTimeLarge, tuiIconToggleOff, tuiIconToggleOffLarge, tuiIconToggleOn, tuiIconToggleOnLarge, tuiIconTooltip, tuiIconTooltipLarge, tuiIconTransparentLarge, tuiIconTrash, tuiIconTrashLarge, tuiIconUnderlineLarge, tuiIconUndo, tuiIconUndoLarge, tuiIconUpload, tuiIconUploadLarge, tuiIconUser, tuiIconUsers, tuiIconVideo, tuiIconVideoLarge, tuiIconViewListLarge, tuiIconVisa, tuiIconVisaMono, tuiIconWarningLarge, tuiIconWifiOffLarge, tuiIconWifiOnLarge, tuiKitIcons };
|
|
262
|
+
export { tuiCoreIcons, tuiIconAddRowLarge, tuiIconAlertCircleLarge, tuiIconAlignCenterLarge, tuiIconAlignJustifyLarge, tuiIconAlignLeftLarge, tuiIconAlignRightLarge, tuiIconArrowDown, tuiIconArrowDownLarge, tuiIconArrowDownLeft, tuiIconArrowDownRight, tuiIconArrowLeft, tuiIconArrowLeftLarge, tuiIconArrowRight, tuiIconArrowRightLarge, tuiIconArrowUp, tuiIconArrowUpLarge, tuiIconArrowUpLeft, tuiIconArrowUpRight, tuiIconAttach, tuiIconAttachLarge, tuiIconAttention, tuiIconBackCircleLarge, tuiIconBell, tuiIconBellLarge, tuiIconBellOff, tuiIconBellOffLarge, tuiIconBoldLarge, tuiIconBookmark, tuiIconBookmarkLarge, tuiIconCalendar, tuiIconCalendarLarge, tuiIconCall, tuiIconCallIn, tuiIconCallInLarge, tuiIconCallLarge, tuiIconCallOut, tuiIconCallOutLarge, tuiIconCallTransferLarge, tuiIconCameraLarge, tuiIconCancel, tuiIconCancelCircleLarge, tuiIconCard, tuiIconCardsLarge, tuiIconChartBar, tuiIconChartLarge, tuiIconChartLineLarge, tuiIconCheck, tuiIconCheckCircle, tuiIconCheckCircleLarge, tuiIconCheckLarge, tuiIconCheckList, tuiIconChevronDown, tuiIconChevronDownLarge, tuiIconChevronLeft, tuiIconChevronLeftLarge, tuiIconChevronRight, tuiIconChevronRightLarge, tuiIconChevronUp, tuiIconChevronUpLarge, tuiIconClearFormatLarge, tuiIconCloseCircleLarge, tuiIconCloseLarge, tuiIconCloud, tuiIconCode, tuiIconCodeLarge, tuiIconCollapse, tuiIconColorLarge, tuiIconComment, tuiIconCommentLarge, tuiIconCompanyLarge, tuiIconCopy, tuiIconCopyLarge, tuiIconDeleteLarge, tuiIconDesktopLarge, tuiIconDislikeLarge, tuiIconDone, tuiIconDownload, tuiIconDownloadLarge, tuiIconDraft, tuiIconDrag, tuiIconDragLarge, tuiIconEdit, tuiIconEditLarge, tuiIconElectron, tuiIconElectronMono, tuiIconExpand, tuiIconExternal, tuiIconExternalLarge, tuiIconEyeClosed, tuiIconEyeOpen, tuiIconFile, tuiIconFileLarge, tuiIconFilter, tuiIconFilterLarge, tuiIconFlag, tuiIconFlagLarge, tuiIconFolder, tuiIconFolderLarge, tuiIconFontLarge, tuiIconFormatLarge, tuiIconFrameLarge, tuiIconGeoLarge, tuiIconHeart, tuiIconHeartFilled, tuiIconHeartFilledLarge, tuiIconHeartLarge, tuiIconHelpCircleLarge, tuiIconHideLarge, tuiIconHiliteLarge, tuiIconHrLarge, tuiIconImgLarge, tuiIconIndentLarge, tuiIconInfo, tuiIconInfoCircleLarge, tuiIconItalicLarge, tuiIconLikeLarge, tuiIconLink, tuiIconLinkLarge, tuiIconLock, tuiIconLockLarge, tuiIconLockOpenLarge, tuiIconLoginLarge, tuiIconLogoutLarge, tuiIconMaestro, tuiIconMaestroMono, tuiIconMail, tuiIconMailLarge, tuiIconMastercard, tuiIconMastercardMono, tuiIconMenuLarge, tuiIconMicLarge, tuiIconMicOffLarge, tuiIconMinus, tuiIconMinusCircle, tuiIconMinusLarge, tuiIconMir, tuiIconMirMono, tuiIconMobile, tuiIconMobileLarge, tuiIconMoreHorLarge, tuiIconMoreVer, tuiIconMoreVertLarge, tuiIconMusicLarge, tuiIconOLLarge, tuiIconOutdentLarge, tuiIconPaintLarge, tuiIconPause, tuiIconPauseLarge, tuiIconPicture, tuiIconPiechartLarge, tuiIconPin, tuiIconPlay, tuiIconPlayLarge, tuiIconPlus, tuiIconPlusCircleLarge, tuiIconPlusLarge, tuiIconPrintLarge, tuiIconQuoteLarge, tuiIconRedo, tuiIconRedoLarge, tuiIconRefresh, tuiIconRefreshLarge, tuiIconRemoveLarge, tuiIconRotate, tuiIconSearch, tuiIconSearchLarge, tuiIconSettings, tuiIconSettingsLarge, tuiIconShowLarge, tuiIconSortDown, tuiIconSortUp, tuiIconSound, tuiIconSoundLarge, tuiIconSoundOff, tuiIconSoundOffLarge, tuiIconStar, tuiIconStarFilled, tuiIconStarFilledLarge, tuiIconStarLarge, tuiIconStop, tuiIconStopLarge, tuiIconStrikeThroughLarge, tuiIconStructureLarge, tuiIconSubitem, tuiIconSublevelLarge, tuiIconSubscriptLarge, tuiIconSuperscriptLarge, tuiIconTableLarge, tuiIconTableMergeLarge, tuiIconTableSplitLarge, tuiIconTeXLarge, tuiIconTime, tuiIconTimeLarge, tuiIconToggleOff, tuiIconToggleOffLarge, tuiIconToggleOn, tuiIconToggleOnLarge, tuiIconTooltip, tuiIconTooltipLarge, tuiIconTransparentLarge, tuiIconTrash, tuiIconTrashLarge, tuiIconUnderlineLarge, tuiIconUndo, tuiIconUndoLarge, tuiIconUpload, tuiIconUploadLarge, tuiIconUser, tuiIconUsers, tuiIconVideo, tuiIconVideoLarge, tuiIconViewListLarge, tuiIconVisa, tuiIconVisaMono, tuiIconWarningLarge, tuiIconWifiOffLarge, tuiIconWifiOnLarge, tuiKitIcons };
|
|
262
263
|
//# sourceMappingURL=taiga-ui-icons.js.map
|