@ihk-gfi/lux-components-update 14.8.0 → 15.0.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.
Files changed (225) hide show
  1. package/README.md +4 -2
  2. package/add-lux-components/files/app/app.component.html +34 -0
  3. package/{src/add-lux-components → add-lux-components}/files/app/app.component.spec.ts +4 -2
  4. package/{src/add-lux-components → add-lux-components}/files/app/app.component.ts +1 -1
  5. package/add-lux-components/files/src/main.ts +17 -0
  6. package/{src/add-lux-components → add-lux-components}/index.js +29 -30
  7. package/add-lux-components/schema.json +23 -0
  8. package/collection.json +35 -0
  9. package/package.json +27 -27
  10. package/{src/theme → theme}/change-theme-to-authentic/index.js +0 -1
  11. package/theme/change-theme-to-authentic/schema.json +23 -0
  12. package/{src/theme → theme}/change-to-lux-icons/index.js +0 -1
  13. package/theme/change-to-lux-icons/schema.json +23 -0
  14. package/{src/update-dependencies → update-dependencies}/index.d.ts +1 -0
  15. package/update-dependencies/index.js +92 -0
  16. package/update-dependencies/schema.json +23 -0
  17. package/{src/update-en-messages → update-en-messages}/index.js +0 -1
  18. package/update-en-messages/schema.json +23 -0
  19. package/updates/15.0.0/index.d.ts +8 -0
  20. package/updates/15.0.0/index.js +109 -0
  21. package/updates/15.0.0/schema.json +23 -0
  22. package/{src/utility → utility}/dependencies.js +0 -1
  23. package/{src/utility → utility}/files.js +0 -1
  24. package/{src/utility → utility}/html/hit.js +0 -1
  25. package/{src/utility → utility}/html/html-manipulator.js +0 -1
  26. package/{src/utility → utility}/html/manipulator-functions.js +0 -1
  27. package/{src/utility → utility}/json.d.ts +2 -0
  28. package/{src/utility → utility}/json.js +16 -8
  29. package/{src/utility → utility}/logging.js +0 -1
  30. package/{src/utility → utility}/test.js +0 -1
  31. package/{src/utility → utility}/typescript.js +0 -1
  32. package/{src/utility → utility}/util.js +0 -1
  33. package/{src/utility → utility}/validation.js +0 -1
  34. package/src/add-lux-components/files/app/app.component.html +0 -32
  35. package/src/add-lux-components/files/app/base/license-hint/license-hint.component.html +0 -7
  36. package/src/add-lux-components/files/app/base/license-hint/license-hint.component.ts +0 -18
  37. package/src/add-lux-components/files/app/error/error.component.html +0 -10
  38. package/src/add-lux-components/files/app/error/error.component.scss +0 -3
  39. package/src/add-lux-components/files/app/error/error.component.spec.ts +0 -49
  40. package/src/add-lux-components/files/app/error/error.component.ts +0 -17
  41. package/src/add-lux-components/files/app/home/home.component.html +0 -7
  42. package/src/add-lux-components/files/app/home/home.component.scss +0 -3
  43. package/src/add-lux-components/files/app/home/home.component.ts +0 -13
  44. package/src/add-lux-components/files/app/profil/profil.component.html +0 -1
  45. package/src/add-lux-components/files/app/profil/profil.component.scss +0 -0
  46. package/src/add-lux-components/files/app/profil/profil.component.spec.ts +0 -24
  47. package/src/add-lux-components/files/app/profil/profil.component.ts +0 -11
  48. package/src/add-lux-components/files/assets/svg/Example.svg +0 -6
  49. package/src/add-lux-components/files/assets/svg/android.svg +0 -2
  50. package/src/add-lux-components/files/assets/svg/box.svg +0 -690
  51. package/src/add-lux-components/files/assets/svg/demoAppLogo.svg +0 -1
  52. package/src/add-lux-components/files/assets/svg/red_power_button.svg +0 -67
  53. package/src/add-lux-components/files/assets/svg/svg2009.svg +0 -57457
  54. package/src/add-lux-components/files/src/polyfills.ts +0 -58
  55. package/src/add-lux-components/index.js.map +0 -1
  56. package/src/add-lux-components/index.ts +0 -293
  57. package/src/add-lux-components/index_spec.d.ts +0 -1
  58. package/src/add-lux-components/index_spec.js +0 -51
  59. package/src/add-lux-components/index_spec.js.map +0 -1
  60. package/src/add-lux-components/index_spec.ts +0 -55
  61. package/src/add-lux-components/schema.json +0 -23
  62. package/src/collection.json +0 -75
  63. package/src/theme/change-theme-to-authentic/index.js.map +0 -1
  64. package/src/theme/change-theme-to-authentic/index.ts +0 -131
  65. package/src/theme/change-theme-to-authentic/index_spec.d.ts +0 -1
  66. package/src/theme/change-theme-to-authentic/index_spec.js +0 -300
  67. package/src/theme/change-theme-to-authentic/index_spec.js.map +0 -1
  68. package/src/theme/change-theme-to-authentic/index_spec.ts +0 -321
  69. package/src/theme/change-theme-to-authentic/schema.json +0 -23
  70. package/src/theme/change-to-lux-icons/index.js.map +0 -1
  71. package/src/theme/change-to-lux-icons/index.ts +0 -392
  72. package/src/theme/change-to-lux-icons/index_spec.d.ts +0 -1
  73. package/src/theme/change-to-lux-icons/index_spec.js +0 -128
  74. package/src/theme/change-to-lux-icons/index_spec.js.map +0 -1
  75. package/src/theme/change-to-lux-icons/index_spec.ts +0 -130
  76. package/src/theme/change-to-lux-icons/schema.json +0 -23
  77. package/src/update-dependencies/index.js +0 -88
  78. package/src/update-dependencies/index.js.map +0 -1
  79. package/src/update-dependencies/index.ts +0 -86
  80. package/src/update-dependencies/schema.json +0 -23
  81. package/src/update-en-messages/index.js.map +0 -1
  82. package/src/update-en-messages/index.ts +0 -83
  83. package/src/update-en-messages/index_spec.d.ts +0 -1
  84. package/src/update-en-messages/index_spec.js +0 -174
  85. package/src/update-en-messages/index_spec.js.map +0 -1
  86. package/src/update-en-messages/index_spec.ts +0 -182
  87. package/src/update-en-messages/schema.json +0 -23
  88. package/src/updates/update140000/files/src/polyfills.ts +0 -70
  89. package/src/updates/update140000/index.d.ts +0 -14
  90. package/src/updates/update140000/index.js +0 -95
  91. package/src/updates/update140000/index.js.map +0 -1
  92. package/src/updates/update140000/index.ts +0 -110
  93. package/src/updates/update140000/index_spec.d.ts +0 -1
  94. package/src/updates/update140000/index_spec.js +0 -165
  95. package/src/updates/update140000/index_spec.js.map +0 -1
  96. package/src/updates/update140000/index_spec.ts +0 -171
  97. package/src/updates/update140000/schema.json +0 -23
  98. package/src/updates/update140100/index.d.ts +0 -5
  99. package/src/updates/update140100/index.js +0 -62
  100. package/src/updates/update140100/index.js.map +0 -1
  101. package/src/updates/update140100/index.ts +0 -60
  102. package/src/updates/update140100/index_spec.d.ts +0 -1
  103. package/src/updates/update140100/index_spec.js +0 -124
  104. package/src/updates/update140100/index_spec.js.map +0 -1
  105. package/src/updates/update140100/index_spec.ts +0 -137
  106. package/src/updates/update140100/schema.json +0 -23
  107. package/src/updates/update140200/index.d.ts +0 -8
  108. package/src/updates/update140200/index.js +0 -40
  109. package/src/updates/update140200/index.js.map +0 -1
  110. package/src/updates/update140200/index.ts +0 -38
  111. package/src/updates/update140200/index_spec.d.ts +0 -1
  112. package/src/updates/update140200/index_spec.js +0 -75
  113. package/src/updates/update140200/index_spec.js.map +0 -1
  114. package/src/updates/update140200/index_spec.ts +0 -81
  115. package/src/updates/update140200/schema.json +0 -23
  116. package/src/updates/update140300/index.d.ts +0 -10
  117. package/src/updates/update140300/index.js +0 -85
  118. package/src/updates/update140300/index.js.map +0 -1
  119. package/src/updates/update140300/index.ts +0 -86
  120. package/src/updates/update140300/index_spec.d.ts +0 -1
  121. package/src/updates/update140300/index_spec.js +0 -145
  122. package/src/updates/update140300/index_spec.js.map +0 -1
  123. package/src/updates/update140300/index_spec.ts +0 -177
  124. package/src/updates/update140300/schema.json +0 -23
  125. package/src/updates/update140400/index.d.ts +0 -2
  126. package/src/updates/update140400/index.js +0 -22
  127. package/src/updates/update140400/index.js.map +0 -1
  128. package/src/updates/update140400/index.ts +0 -18
  129. package/src/updates/update140400/index_spec.d.ts +0 -1
  130. package/src/updates/update140400/index_spec.js +0 -75
  131. package/src/updates/update140400/index_spec.js.map +0 -1
  132. package/src/updates/update140400/index_spec.ts +0 -81
  133. package/src/updates/update140400/schema.json +0 -23
  134. package/src/updates/update140500/index.d.ts +0 -2
  135. package/src/updates/update140500/index.js +0 -21
  136. package/src/updates/update140500/index.js.map +0 -1
  137. package/src/updates/update140500/index.ts +0 -17
  138. package/src/updates/update140500/index_spec.d.ts +0 -1
  139. package/src/updates/update140500/index_spec.js +0 -73
  140. package/src/updates/update140500/index_spec.js.map +0 -1
  141. package/src/updates/update140500/index_spec.ts +0 -78
  142. package/src/updates/update140500/schema.json +0 -23
  143. package/src/updates/update140600/index.d.ts +0 -2
  144. package/src/updates/update140600/index.js +0 -39
  145. package/src/updates/update140600/index.js.map +0 -1
  146. package/src/updates/update140600/index.ts +0 -35
  147. package/src/updates/update140600/index_spec.d.ts +0 -1
  148. package/src/updates/update140600/index_spec.js +0 -71
  149. package/src/updates/update140600/index_spec.js.map +0 -1
  150. package/src/updates/update140600/index_spec.ts +0 -75
  151. package/src/updates/update140600/schema.json +0 -23
  152. package/src/updates/update140700/index.d.ts +0 -2
  153. package/src/updates/update140700/index.js +0 -22
  154. package/src/updates/update140700/index.js.map +0 -1
  155. package/src/updates/update140700/index.ts +0 -18
  156. package/src/updates/update140700/index_spec.d.ts +0 -1
  157. package/src/updates/update140700/index_spec.js +0 -75
  158. package/src/updates/update140700/index_spec.js.map +0 -1
  159. package/src/updates/update140700/index_spec.ts +0 -79
  160. package/src/updates/update140700/schema.json +0 -23
  161. package/src/updates/update140800/index.d.ts +0 -2
  162. package/src/updates/update140800/index.js +0 -22
  163. package/src/updates/update140800/index.js.map +0 -1
  164. package/src/updates/update140800/index.ts +0 -18
  165. package/src/updates/update140800/index_spec.d.ts +0 -1
  166. package/src/updates/update140800/index_spec.js +0 -76
  167. package/src/updates/update140800/index_spec.js.map +0 -1
  168. package/src/updates/update140800/index_spec.ts +0 -82
  169. package/src/updates/update140800/schema.json +0 -23
  170. package/src/utility/dependencies.js.map +0 -1
  171. package/src/utility/dependencies.ts +0 -144
  172. package/src/utility/files.js.map +0 -1
  173. package/src/utility/files.ts +0 -368
  174. package/src/utility/html/hit.js.map +0 -1
  175. package/src/utility/html/hit.ts +0 -28
  176. package/src/utility/html/html-manipulator.js.map +0 -1
  177. package/src/utility/html/html-manipulator.ts +0 -156
  178. package/src/utility/html/html_spec.d.ts +0 -1
  179. package/src/utility/html/html_spec.js +0 -692
  180. package/src/utility/html/html_spec.js.map +0 -1
  181. package/src/utility/html/html_spec.ts +0 -751
  182. package/src/utility/html/manipulator-functions.js.map +0 -1
  183. package/src/utility/html/manipulator-functions.ts +0 -149
  184. package/src/utility/json.js.map +0 -1
  185. package/src/utility/json.ts +0 -288
  186. package/src/utility/json_spec.d.ts +0 -1
  187. package/src/utility/json_spec.js +0 -326
  188. package/src/utility/json_spec.js.map +0 -1
  189. package/src/utility/json_spec.ts +0 -446
  190. package/src/utility/logging.js.map +0 -1
  191. package/src/utility/logging.ts +0 -80
  192. package/src/utility/test.js.map +0 -1
  193. package/src/utility/test.ts +0 -24
  194. package/src/utility/typescript.js.map +0 -1
  195. package/src/utility/typescript.ts +0 -598
  196. package/src/utility/typescript_spec.d.ts +0 -1
  197. package/src/utility/typescript_spec.js +0 -1005
  198. package/src/utility/typescript_spec.js.map +0 -1
  199. package/src/utility/typescript_spec.ts +0 -1265
  200. package/src/utility/util.js.map +0 -1
  201. package/src/utility/util.ts +0 -145
  202. package/src/utility/validation.js.map +0 -1
  203. package/src/utility/validation.ts +0 -48
  204. package/tsconfig.json +0 -35
  205. /package/{src/add-lux-components → add-lux-components}/files/app/app-routing.module.ts +0 -0
  206. /package/{src/add-lux-components → add-lux-components}/files/app/app.module.ts +0 -0
  207. /package/{src/add-lux-components → add-lux-components}/files/environments/environment.prod.ts +0 -0
  208. /package/{src/add-lux-components → add-lux-components}/files/environments/environment.ts +0 -0
  209. /package/{src/add-lux-components → add-lux-components}/files/locale/messages.en.xlf +0 -0
  210. /package/{src/add-lux-components → add-lux-components}/files/locale/messages.xlf +0 -0
  211. /package/{src/add-lux-components → add-lux-components}/files/src/index.html +0 -0
  212. /package/{src/add-lux-components → add-lux-components}/index.d.ts +0 -0
  213. /package/{src/theme → theme}/change-theme-to-authentic/index.d.ts +0 -0
  214. /package/{src/theme → theme}/change-to-lux-icons/index.d.ts +0 -0
  215. /package/{src/update-en-messages → update-en-messages}/index.d.ts +0 -0
  216. /package/{src/utility → utility}/dependencies.d.ts +0 -0
  217. /package/{src/utility → utility}/files.d.ts +0 -0
  218. /package/{src/utility → utility}/html/hit.d.ts +0 -0
  219. /package/{src/utility → utility}/html/html-manipulator.d.ts +0 -0
  220. /package/{src/utility → utility}/html/manipulator-functions.d.ts +0 -0
  221. /package/{src/utility → utility}/logging.d.ts +0 -0
  222. /package/{src/utility → utility}/test.d.ts +0 -0
  223. /package/{src/utility → utility}/typescript.d.ts +0 -0
  224. /package/{src/utility → utility}/util.d.ts +0 -0
  225. /package/{src/utility → utility}/validation.d.ts +0 -0
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.updateProjectStructure = exports.removeMaAndFaIcons = exports.updateProject = exports.update = exports.updateNodeMinVersion = exports.updateMinVersion = exports.updateMajorVersion = void 0;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const chalk = require("chalk");
6
+ const index_1 = require("../../update-dependencies/index");
7
+ const files_1 = require("../../utility/files");
8
+ const json_1 = require("../../utility/json");
9
+ const logging_1 = require("../../utility/logging");
10
+ const typescript_1 = require("../../utility/typescript");
11
+ const util_1 = require("../../utility/util");
12
+ const validation_1 = require("../../utility/validation");
13
+ exports.updateMajorVersion = '15';
14
+ exports.updateMinVersion = '14.8.0';
15
+ exports.updateNodeMinVersion = '16.0.0';
16
+ function update(options) {
17
+ return (_tree, _context) => {
18
+ return (0, schematics_1.chain)([
19
+ check(options),
20
+ (0, util_1.applyRuleIf)(exports.updateMinVersion, updateProject(options)),
21
+ (0, util_1.finish)(false, `${chalk.yellowBright('Wichtig!!!')} Hinweise im Update Guide beachten -> https://github.com/IHK-GfI/lux-components/wiki/update-guide-${exports.updateMajorVersion}`)
22
+ ]);
23
+ };
24
+ }
25
+ exports.update = update;
26
+ function updateProject(options) {
27
+ return (_tree, _context) => {
28
+ return (0, schematics_1.chain)([
29
+ (0, util_1.messageInfoRule)(`LUX-Components ${exports.updateMajorVersion} werden aktualisiert...`),
30
+ (0, index_1.updateDependencies)(),
31
+ removeMaAndFaIcons(options),
32
+ updateProjectStructure(options),
33
+ removeLuxMasterDetailMobileHelperService(options),
34
+ (0, util_1.messageSuccessRule)(`LUX-Components ${exports.updateMajorVersion} wurden aktualisiert.`)
35
+ ]);
36
+ };
37
+ }
38
+ exports.updateProject = updateProject;
39
+ function removeMaAndFaIcons(options) {
40
+ return (_tree, _context) => {
41
+ return (0, schematics_1.chain)([
42
+ (0, util_1.messageInfoRule)(`Abhängigkeiten der Material- und FA-Icons werden entfernt...`),
43
+ (0, index_1.deleteDep)('@fortawesome/fontawesome-free'),
44
+ (0, index_1.deleteDep)('material-design-icons-iconfont'),
45
+ (tree, _context) => {
46
+ var _a;
47
+ const filePath = ((_a = options.path) !== null && _a !== void 0 ? _a : '.') + '/src/index.html';
48
+ const content = tree.readText(filePath);
49
+ const modifiedContent = content
50
+ .split('\n')
51
+ .filter((line) => !line.includes('material-icons/material-design-icons.css') && !line.includes('fontawesome/css/all.css'))
52
+ .join('\n');
53
+ if (content !== modifiedContent) {
54
+ tree.overwrite(filePath, modifiedContent);
55
+ (0, logging_1.logInfo)(`${filePath}: Die Links auf die Css-Dateien entfernt.`);
56
+ }
57
+ },
58
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/@fortawesome/fontawesome-free/css')),
59
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/@fortawesome/fontawesome-free/webfonts')),
60
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/material-design-icons-iconfont/dist')),
61
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/material-design-icons-iconfont/dist/fonts')),
62
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/@fortawesome/fontawesome-free/css')),
63
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/@fortawesome/fontawesome-free/webfonts')),
64
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/material-design-icons-iconfont/dist')),
65
+ (0, json_1.deleteJsonArray)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'assets'], (node) => (0, json_1.findObjectPropertyInArray)(node, 'input', './node_modules/material-design-icons-iconfont/dist/fonts')),
66
+ (0, util_1.messageSuccessRule)(`Abhängigkeiten der Material- und FA-Icons wurden entfernt.`)
67
+ ]);
68
+ };
69
+ }
70
+ exports.removeMaAndFaIcons = removeMaAndFaIcons;
71
+ function updateProjectStructure(options) {
72
+ return (0, schematics_1.chain)([
73
+ (0, util_1.messageInfoRule)(`Projektstruktur wird angepasst...`),
74
+ copyAppFiles(options),
75
+ (0, files_1.deleteFile)(options, '/src/polyfills.ts'),
76
+ (0, files_1.deleteFile)(options, '/src/tsconfig.app.ie.json'),
77
+ (0, json_1.updateJsonValue)('/angular.json', ['projects', options.project, 'architect', 'build', 'options', 'polyfills'], ['zone.js'], false),
78
+ (0, json_1.updateJsonValue)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'polyfills'], ['zone.js', 'zone.js/testing', 'src/test.ts'], false),
79
+ (0, json_1.deleteJsonValue)('/angular.json', ['projects', options.project, 'architect', 'test', 'options', 'main']),
80
+ (0, util_1.messageSuccessRule)(`Projektstruktur wurde angepasst.`)
81
+ ]);
82
+ }
83
+ exports.updateProjectStructure = updateProjectStructure;
84
+ function check(_options) {
85
+ return (tree, _context) => {
86
+ (0, logging_1.logInfoWithDescriptor)(`Vorbedingungen werden geprüft...`);
87
+ (0, validation_1.validateNodeVersion)(_context, exports.updateNodeMinVersion);
88
+ (0, validation_1.validateLuxComponentsVersion)(tree, `${exports.updateMinVersion} || ^${exports.updateMajorVersion}.0.0`);
89
+ (0, logging_1.logSuccess)(`Vorbedingungen wurden geprüft.`);
90
+ return tree;
91
+ };
92
+ }
93
+ function removeLuxMasterDetailMobileHelperService(options) {
94
+ return (0, schematics_1.chain)([
95
+ (0, util_1.messageInfoRule)(`LuxMasterDetailMobileHelperService wird entfernt...`),
96
+ (tree, _context) => {
97
+ (0, typescript_1.removeImport)(tree, (options.path ? options.path : '') + '/src/app/app.component.spec.ts', '@ihk-gfi/lux-components', 'LuxMasterDetailMobileHelperService', true);
98
+ (0, typescript_1.removeProvider)(tree, (options.path ? options.path : '') + '/src/app/app.component.spec.ts', 'LuxMasterDetailMobileHelperService', true);
99
+ },
100
+ (0, util_1.messageSuccessRule)(`LuxMasterDetailMobileHelperService wurde entfernt.`)
101
+ ]);
102
+ }
103
+ function copyAppFiles(options) {
104
+ return (0, schematics_1.chain)([
105
+ (0, util_1.messageInfoRule)(`Dateien werden kopiert...`),
106
+ (0, files_1.moveFilesToDirectory)(options, 'files/src', '/src'),
107
+ (0, util_1.messageSuccessRule)(`Dateien wurden kopiert.`)
108
+ ]);
109
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "luxUpdateSchema",
4
+ "title": "Aktualisiert das LUX-Componentsprojekt",
5
+ "type": "object",
6
+ "description": "Aktualisiert das LUX-Componentsprojekt",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "Der Projektname",
11
+ "$default": {
12
+ "$source": "projectName"
13
+ }
14
+ },
15
+ "verbose": {
16
+ "type": "boolean",
17
+ "description": "Generiert mehr Logausgaben",
18
+ "default": false
19
+ }
20
+ },
21
+ "required": [],
22
+ "additionalProperties": false
23
+ }
@@ -116,4 +116,3 @@ function deletePackageJsonDependency(tree, context, dependency) {
116
116
  }
117
117
  }
118
118
  exports.deletePackageJsonDependency = deletePackageJsonDependency;
119
- //# sourceMappingURL=dependencies.js.map
@@ -307,4 +307,3 @@ function deleteFile(options, targetPath) {
307
307
  };
308
308
  }
309
309
  exports.deleteFile = deleteFile;
310
- //# sourceMappingURL=files.js.map
@@ -24,4 +24,3 @@ class Hit {
24
24
  }
25
25
  }
26
26
  exports.Hit = Hit;
27
- //# sourceMappingURL=hit.js.map
@@ -133,4 +133,3 @@ class HtmlManipulator {
133
133
  }
134
134
  }
135
135
  exports.HtmlManipulator = HtmlManipulator;
136
- //# sourceMappingURL=html-manipulator.js.map
@@ -144,4 +144,3 @@ const removeAttrFn = (name) => {
144
144
  };
145
145
  };
146
146
  exports.removeAttrFn = removeAttrFn;
147
- //# sourceMappingURL=manipulator-functions.js.map
@@ -33,7 +33,9 @@ export declare function readJsonAsString(tree: Tree, filePath: string): string;
33
33
  */
34
34
  export declare function appendScript(script: string, part: string, index?: number): string;
35
35
  export declare function updateJsonValue(filePath: string, jsonPath: string[], value: any, onlyUpdate?: boolean): Rule;
36
+ export declare function deleteJsonValue(filePath: string, jsonPath: string[]): Rule;
36
37
  export declare function updateJsonArray(filePath: string, jsonPath: string[], value: any, onlyUpdate?: boolean, findFn?: (value: Node) => boolean): Rule;
38
+ export declare function deleteJsonArray(filePath: string, jsonPath: string[], findFn?: (value: Node) => boolean): Rule;
37
39
  /**
38
40
  * Diese Methode liefert den Index im Array des Objekts mit der übergebenen Property zurück.
39
41
  *
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.removeJsonNode = exports.findStringIndexInArray = exports.findObjectPropertyInArray = exports.findObjectIndexInArray = exports.updateJsonArray = exports.updateJsonValue = exports.appendScript = exports.readJsonAsString = exports.readJson = exports.jsonFormattingOptions = void 0;
3
+ exports.removeJsonNode = exports.findStringIndexInArray = exports.findObjectPropertyInArray = exports.findObjectIndexInArray = exports.deleteJsonArray = exports.updateJsonArray = exports.deleteJsonValue = exports.updateJsonValue = exports.appendScript = exports.readJsonAsString = exports.readJson = exports.jsonFormattingOptions = void 0;
4
4
  const jsonc_parser_1 = require("jsonc-parser");
5
5
  const logging_1 = require("./logging");
6
6
  exports.jsonFormattingOptions = {
@@ -79,16 +79,20 @@ function updateJsonValue(filePath, jsonPath, value, onlyUpdate = false) {
79
79
  if (edits) {
80
80
  tree.overwrite(filePath, (0, jsonc_parser_1.applyEdits)(jsonFile, edits));
81
81
  if (value) {
82
- (0, logging_1.logInfo)(`Wert ${getLogValue(value)} an der Stelle "${jsonPath.join('.')}" eingetragen.`);
82
+ (0, logging_1.logInfo)(`${filePath}: Wert ${getLogValue(value)} an der Stelle "${jsonPath.join('.')}" eingetragen.`);
83
83
  }
84
84
  else {
85
- (0, logging_1.logInfo)(`Wert an der Stelle "${jsonPath.join('.')}" gelöscht.`);
85
+ (0, logging_1.logInfo)(`${filePath}: Wert an der Stelle "${jsonPath.join('.')}" gelöscht.`);
86
86
  }
87
87
  }
88
88
  }
89
89
  };
90
90
  }
91
91
  exports.updateJsonValue = updateJsonValue;
92
+ function deleteJsonValue(filePath, jsonPath) {
93
+ return updateJsonValue(filePath, jsonPath, void 0, true);
94
+ }
95
+ exports.deleteJsonValue = deleteJsonValue;
92
96
  function updateJsonArray(filePath, jsonPath, value, onlyUpdate = false, findFn) {
93
97
  return (tree, _context) => {
94
98
  // Gibt es bereits eine passende Stelle?
@@ -117,7 +121,10 @@ function updateJsonArray(filePath, jsonPath, value, onlyUpdate = false, findFn)
117
121
  }
118
122
  if (!onlyUpdate || (onlyUpdate && foundIndex >= 0)) {
119
123
  const jsonFile = readJsonAsString(tree, filePath);
120
- const edits = (0, jsonc_parser_1.modify)(jsonFile, [...jsonPath, foundIndex >= 0 ? foundIndex : childrenCount !== -1 ? childrenCount : 0], value, { formattingOptions: exports.jsonFormattingOptions, isArrayInsertion: foundIndex === -1 });
124
+ const edits = (0, jsonc_parser_1.modify)(jsonFile, [...jsonPath, foundIndex >= 0 ? foundIndex : childrenCount !== -1 ? childrenCount : 0], value, {
125
+ formattingOptions: exports.jsonFormattingOptions,
126
+ isArrayInsertion: foundIndex === -1
127
+ });
121
128
  if (edits) {
122
129
  tree.overwrite(filePath, (0, jsonc_parser_1.applyEdits)(jsonFile, edits));
123
130
  (0, logging_1.logInfo)(`"${JSON.stringify(value)}" an der Stelle "${jsonPath.join('.')}" hinzugefügt.`);
@@ -126,6 +133,10 @@ function updateJsonArray(filePath, jsonPath, value, onlyUpdate = false, findFn)
126
133
  };
127
134
  }
128
135
  exports.updateJsonArray = updateJsonArray;
136
+ function deleteJsonArray(filePath, jsonPath, findFn) {
137
+ return updateJsonArray(filePath, jsonPath, void 0, true, findFn);
138
+ }
139
+ exports.deleteJsonArray = deleteJsonArray;
129
140
  /**
130
141
  * Diese Methode liefert den Index im Array des Objekts mit der übergebenen Property zurück.
131
142
  *
@@ -186,9 +197,7 @@ function findObjectPropertyInArray(node, propertyName, propertyValue) {
186
197
  for (let j = 0; j < assetObjectChildren.length; j++) {
187
198
  if (assetObjectChildren[j].type === 'property') {
188
199
  const propertyChildren = (_a = assetObjectChildren[j].children) !== null && _a !== void 0 ? _a : [];
189
- if (propertyChildren.length > 1 &&
190
- propertyChildren[0].value === propertyName &&
191
- propertyChildren[1].value === propertyValue) {
200
+ if (propertyChildren.length > 1 && propertyChildren[0].value === propertyName && propertyChildren[1].value === propertyValue) {
192
201
  found = true;
193
202
  break;
194
203
  }
@@ -249,4 +258,3 @@ function getLogValue(value) {
249
258
  let logValue = JSON.stringify(value);
250
259
  return logValue && logValue.startsWith('"') && logValue.endsWith('"') ? logValue : `"${logValue}"`;
251
260
  }
252
- //# sourceMappingURL=json.js.map
@@ -79,4 +79,3 @@ function generateLogMessage(...messages) {
79
79
  }
80
80
  return fullMessage;
81
81
  }
82
- //# sourceMappingURL=logging.js.map
@@ -21,4 +21,3 @@ exports.appOptions = {
21
21
  skipTests: false,
22
22
  skipPackageJson: false
23
23
  };
24
- //# sourceMappingURL=test.js.map
@@ -518,4 +518,3 @@ function addConstructorContent(tree, filePath, content, append) {
518
518
  }
519
519
  }
520
520
  exports.addConstructorContent = addConstructorContent;
521
- //# sourceMappingURL=typescript.js.map
@@ -142,4 +142,3 @@ function finish(runNpmInstall, ...messages) {
142
142
  };
143
143
  }
144
144
  exports.finish = finish;
145
- //# sourceMappingURL=util.js.map
@@ -40,4 +40,3 @@ function validateLuxComponentsVersion(tree, versionRange) {
40
40
  (0, logging_1.logInfo)(`LUX-Componentsversion ${version} -> ok`);
41
41
  }
42
42
  exports.validateLuxComponentsVersion = validateLuxComponentsVersion;
43
- //# sourceMappingURL=validation.js.map
@@ -1,32 +0,0 @@
1
- <div class="lux-app-container">
2
- <lux-app-header luxAppTitle="Change Me" luxAppTitleShort="CM" luxUserName="Test" (luxClicked)="router.navigate(['/'])">
3
- <lux-side-nav>
4
- <lux-side-nav-header>
5
- <h3 i18n="@@luxapp.welcome">Willkommen!</h3>
6
- </lux-side-nav-header>
7
- <lux-side-nav-item
8
- luxLabel="Home"
9
- luxTagId="project-side-nav-item"
10
- luxIconName="lux-home-1"
11
- (luxClicked)="router.navigate(['/'])"
12
- >
13
- </lux-side-nav-item>
14
- <lux-side-nav-item
15
- luxLabel="Profil"
16
- luxTagId="project-side-nav-item"
17
- luxIconName="lux-interface-user-single"
18
- (luxClicked)="router.navigate(['/profil'])"
19
- >
20
- </lux-side-nav-item>
21
- <lux-side-nav-footer>
22
- <div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="8px" class="lux-mt-3">
23
- <lux-link-plain luxLabel="Lizenzhinweis" [luxRaised]="true" (luxClicked)="goToLicenseHint()"></lux-link-plain>
24
- </div>
25
- </lux-side-nav-footer>
26
- </lux-side-nav>
27
- </lux-app-header>
28
-
29
- <lux-app-content luxAriaRoleMainLabel=""></lux-app-content>
30
-
31
- <lux-app-footer luxVersion="0.1"></lux-app-footer>
32
- </div>
@@ -1,7 +0,0 @@
1
- <lux-layout-card-row>
2
- <lux-card class="lux-mt-3" luxTagId="Zusätzliche Lizenzhinweise" *luxLayoutRowItem="{}">
3
- <lux-card-content>
4
- <lux-markdown [luxData]="licenceHintIcons"></lux-markdown>
5
- </lux-card-content>
6
- </lux-card>
7
- </lux-layout-card-row>
@@ -1,18 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-license-hint',
5
- templateUrl: './license-hint.component.html'
6
- })
7
- export class LicenseHintComponent {
8
- licenceHintIcons = `
9
- ## Lizenzhinweis - Icons
10
-
11
- In dieser Demo werden auch Streamline Icons verwendet.
12
- Die Streamline Icons laufen unter der Lizenz CC-BY 4.0 und der Urheber ist „streamlinehq.com“ ("Streamline Icons Core Line free Copyright © by streamlinehq.com“).
13
- Bezugsquelle: „[Free Core Line – Free Icons Set - 1000 customizable PNGs, SVGs, PDFs (streamlinehq.com)](https://www.streamlinehq.com/icons/streamline-mini-line)“.
14
- Die Lizenz „[CC BY 4.0“ ist zu finden unter „[Streamline Free License | Streamline Help center (intercom.help)](https://intercom.help/streamlinehq/en/articles/5354376-streamline-free-license)“.
15
- `;
16
-
17
- constructor() {}
18
- }
@@ -1,10 +0,0 @@
1
- <div>
2
- <lux-card luxTitle="Fehlerseite" luxSubTitle="404">
3
- <lux-card-info>
4
- <lux-icon luxIconName="error"></lux-icon>
5
- </lux-card-info>
6
- <lux-card-content>
7
- Leider konnte die angeforderte Seite <b>{{ url404 }}</b> nicht gefunden werden!
8
- </lux-card-content>
9
- </lux-card>
10
- </div>
@@ -1,3 +0,0 @@
1
- div {
2
- margin: 10px;
3
- }
@@ -1,49 +0,0 @@
1
- import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
2
-
3
- import { NoopAnimationsModule } from '@angular/platform-browser/animations';
4
- import { RouterTestingModule } from '@angular/router/testing';
5
- import {
6
- LuxActionModule,
7
- LuxAppFooterButtonService,
8
- LuxAppFooterLinkService,
9
- LuxComponentsConfigModule,
10
- LuxComponentsConfigParameters,
11
- LuxFormModule,
12
- LuxIconModule,
13
- LuxLayoutModule,
14
- LuxStorageService
15
- } from '@ihk-gfi/lux-components';
16
-
17
- import { ErrorComponent } from './error.component';
18
-
19
- describe('ErrorComponent', () => {
20
- let component: ErrorComponent;
21
- let fixture: ComponentFixture<ErrorComponent>;
22
- const luxComponentsConfig: LuxComponentsConfigParameters = {};
23
-
24
- beforeEach(waitForAsync(() => {
25
- TestBed.configureTestingModule({
26
- declarations: [ErrorComponent],
27
- imports: [
28
- LuxLayoutModule,
29
- LuxActionModule,
30
- LuxIconModule,
31
- LuxFormModule,
32
- RouterTestingModule.withRoutes([]),
33
- LuxComponentsConfigModule.forRoot(luxComponentsConfig),
34
- NoopAnimationsModule
35
- ],
36
- providers: [LuxAppFooterButtonService, LuxAppFooterLinkService, LuxStorageService]
37
- }).compileComponents();
38
- }));
39
-
40
- beforeEach(() => {
41
- fixture = TestBed.createComponent(ErrorComponent);
42
- component = fixture.componentInstance;
43
- fixture.detectChanges();
44
- });
45
-
46
- it('should be created', () => {
47
- expect(component).toBeTruthy();
48
- });
49
- });
@@ -1,17 +0,0 @@
1
- import { Component, OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
-
4
- @Component({
5
- selector: 'app-error',
6
- templateUrl: './error.component.html',
7
- styleUrls: ['./error.component.scss']
8
- })
9
- export class ErrorComponent implements OnInit {
10
- url404 = '';
11
-
12
- constructor(private readonly router: Router) {}
13
-
14
- ngOnInit(): void {
15
- this.url404 = this.router.routerState.snapshot.url;
16
- }
17
- }
@@ -1,7 +0,0 @@
1
- <div fxShow="false" fxShow.gt-xs="true" fxFlex="15%"></div>
2
- <div fxFlex="auto" fxLayout="row wrap" fxLayoutAlign="center start" fxLayoutGap="grid">
3
- <lux-tile luxLabel="Profil" (luxClicked)="router.navigate(['/profil'])">
4
- <lux-icon luxIconName="fas fa-user"></lux-icon>
5
- </lux-tile>
6
- </div>
7
- <div fxShow="false" fxShow.gt-xs="true" fxFlex="15%"></div>
@@ -1,3 +0,0 @@
1
- :host {
2
- margin: 12px;
3
- }
@@ -1,13 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { Router } from '@angular/router';
3
-
4
- @Component({
5
- selector: 'app-home',
6
- templateUrl: './home.component.html',
7
- styleUrls: ['./home.component.scss']
8
- })
9
- export class HomeComponent {
10
-
11
- constructor(public router: Router) {}
12
-
13
- }
@@ -1,24 +0,0 @@
1
- import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
2
-
3
- import { ProfilComponent } from './profil.component';
4
-
5
- describe('ProfilComponent', () => {
6
- let component: ProfilComponent;
7
- let fixture: ComponentFixture<ProfilComponent>;
8
-
9
- beforeEach(waitForAsync(() => {
10
- TestBed.configureTestingModule({
11
- declarations: [ProfilComponent]
12
- }).compileComponents();
13
- }));
14
-
15
- beforeEach(() => {
16
- fixture = TestBed.createComponent(ProfilComponent);
17
- component = fixture.componentInstance;
18
- fixture.detectChanges();
19
- });
20
-
21
- it('should create', () => {
22
- expect(component).toBeTruthy();
23
- });
24
- });
@@ -1,11 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'app-profil',
5
- templateUrl: './profil.component.html',
6
- styleUrls: ['./profil.component.scss']
7
- })
8
- export class ProfilComponent {
9
-
10
- constructor() {}
11
- }
@@ -1,6 +0,0 @@
1
- <?xml version="1.0"?>
2
- <svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:svg="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="-0.952 -0.602 511 454">
3
- <path d="m41.112 452.57c-22.68 0-41.112-18.5-41.112-41.18 0-7.272 1.872-14.4 5.472-20.592l213.84-370.22c15.84-27.432 55.368-27.432 71.208 0l213.77 370.22c3.672 6.264 5.544 13.392 5.544 20.592 0 22.68-18.432 41.112-41.112 41.184h-427.61z" fill="#ED171F"/>
4
- <polygon points="52.056 405.13 457.63 405.13 254.81 53.838" fill="#FEB82F"/>
5
- <path d="m356.83 314.98c-0.144-0.72-0.144-1.512-0.072-2.232v-1.368s0-0.936 0-1.368c-0.072-0.864 0-1.728 0.144-2.592 0.432-2.304 0.72-4.464 0.864-6.696 0.144-1.584 0.216-3.168 0.288-4.752l0.144-2.448 0.432-3.384 0.432-4.32c0.072-0.288 0.072-0.576 0.072-0.792 0-0.288 0-0.576-0.072-0.792l-0.432-4.176c0.432 1.944 0.864 3.888 1.08 5.832l1.08 7.056 0.072 0.936 0.216 2.016 0.144 1.512v2.304l-0.072 2.016 0.216 3.456 0.216 4.32 0.216 3.24-0.072 5.472-0.144 1.944-0.144 1.728-0.36 2.16c0 0.432 0.072 0.936 0.072 1.368 0 0.576-0.072 1.224-0.072 1.872v0.216c0 0.432 0.072 0.864 0.144 1.224 0.288 0.792 0.432 1.584 0.504 2.448 0.144 0.864 0.216 1.728 0.432 2.592s0.36 1.728 0.36 2.664l0.072 1.8c0 0.36 0.216 0.72 0.504 0.864 0.432 0.288 1.008 0.504 1.584 0.504 0.072 0 0.144 0.072 0.216 0.072 0.432 0 0.792-0.144 1.152-0.288 0.72-0.216 1.08-0.864 1.08-1.584v-3.6c0-1.584-0.144-3.168-0.432-4.752-0.216-1.296-0.216-2.664-0.072-4.032 0.072-0.36 0.144-0.792 0.288-1.224 0.072-0.432 0.072-0.864 0.072-1.368 0-0.36-0.072-0.72-0.288-0.936-0.432-0.576-0.72-1.08-0.936-1.728-0.36-0.792-0.648-1.584-0.864-2.448-0.216-0.648-0.36-1.368-0.288-2.088 0.072-1.152 0.072-2.304 0.072-3.456v-0.072c0-1.512 0.144-3.024 0.36-4.536 0.216-1.296 0.36-2.664 0.36-4.032v-9.072l0.144-11.52-0.144-5.112c-0.072-0.864-0.072-1.728-0.144-2.592-0.072-2.808-0.576-5.472-1.512-8.064-0.936-2.52-2.232-4.752-4.032-6.768-1.656-1.8-3.456-3.456-5.472-4.896-1.296-0.936-2.664-1.728-4.104-2.304-2.088-0.864-4.32-1.656-6.552-2.232-1.512-0.432-3.024-0.648-4.608-0.72-1.08-0.072-2.448-0.072-3.744-0.144h-1.512c-2.16 0-4.248 0.144-6.336 0.504-1.008 0.216-1.944 0.36-2.952 0.504-1.44 0.216-2.808 0.36-4.176 0.504-3.384 0.36-6.84 0.648-10.296 0.864-6.048 0.288-12.672 0.864-19.368 1.512-2.808 0.36-5.112 0.576-7.416 0.72-0.576 0.072-1.584 0.144-2.52 0.216-1.08 0.072-1.872 0.072-2.664-0.072-0.648-0.072-1.296-0.144-2.016-0.216-2.448-0.36-4.824-0.504-7.2-0.504-6.336 0-12.744-0.432-19.08-1.368-6.984-1.008-13.824-1.584-20.808-1.584h-0.648c-1.8 0-3.6 0-5.328 0.144-1.872 0.144-3.888 0.36-5.904 0.576-1.8 0.216-3.744 0.36-5.76 0.504-2.52 0.216-4.824 0.288-7.128 0.216-1.656-0.072-3.312-0.216-5.04-0.36-1.872-0.144-3.744-0.504-5.616-1.008-2.232-0.576-4.464-1.296-6.624-2.232-0.864-0.288-1.656-0.72-2.448-1.152l-1.296-0.792 0.576-1.368c0.216-0.216 0.288-0.504 0.288-0.864v-0.216c-0.144-0.576-0.432-1.008-1.008-1.224-0.648-0.216-1.368-0.504-2.16-0.72-0.504-0.216-1.08-0.432-1.584-0.648-0.72-0.36-1.512-0.648-2.304-0.792s-1.512-0.576-2.016-1.224l-2.88-3.528c-0.144-0.144-0.288-0.216-0.432-0.288h-0.216c-0.216 0-0.36 0.144-0.504 0.36-0.072 0.216-0.072 0.432-0.072 0.648s0 0.432 0.072 0.576l0.36 0.864 0.72 1.944 0.864 2.304h-0.072c-1.224 0.072-2.304 0.36-3.312 0.864-0.504 0.288-1.296 0.72-2.016 1.152-1.008 0.504-1.584 1.008-2.088 1.656-0.216 0.216-0.432 0.432-0.72 0.576-0.36 0.216-0.792 0.288-1.224 0.144-0.648-0.144-1.296-0.576-1.728-1.152l-3.168-4.104c-0.216-0.216-0.432-0.36-0.72-0.36-0.072-0.072-0.144-0.072-0.144-0.072-0.288 0-0.504 0.144-0.648 0.36-0.144 0.288-0.216 0.576-0.216 0.864 0 0.144 0 0.36 0.072 0.576l0.504 1.152 0.936 2.304 0.72 1.44 0.792 1.08 0.576 0.864 1.224 2.088c0.072 0.144 0.144 0.288 0.144 0.432 0 0.216-0.072 0.36-0.216 0.504-0.504 0.648-1.08 1.296-1.728 1.944-0.504 0.504-1.152 0.864-1.8 1.008-0.792 0.216-1.44 0.864-1.656 1.656-0.216 0.72-0.432 1.512-0.504 2.232-0.144 1.224-0.72 2.304-1.512 3.168-0.648 0.576-1.152 1.224-1.584 1.944-0.72 1.08-1.44 2.16-2.304 3.168-0.648 0.792-1.152 1.728-1.584 2.592-0.432 1.08-1.008 2.088-1.8 2.88l-4.536 4.896c-0.072 0.36-0.144 0.72-0.144 1.08 0 0.288 0 0.504 0.072 0.72 0.144 1.008 0.432 2.016 0.72 2.952 0.288 0.792 0.72 1.44 1.224 2.088 0.504 0.576 1.008 1.152 1.656 1.656s1.44 0.936 2.232 1.224c0.36 0.072 0.72 0.144 1.08 0.144 0.576 0 1.152-0.144 1.656-0.432s1.008-0.432 1.584-0.576c0.792-0.216 1.656-0.216 2.52-0.072 1.224 0.216 2.304 0.432 3.312 0.648-0.36-0.072 0.216-0.072 0.792-0.072s1.224-0.072 1.872-0.144c1.08-0.288 2.16-0.504 3.168-0.648 0.576-0.144 1.512-0.432 2.376-0.792 0.648-0.288 1.368-0.288 2.088-0.072 0.792 0.288 1.584 0.648 2.376 1.08 1.8 1.008 3.744 1.656 5.76 2.016 0.72 0.144 1.44 0.288 2.088 0.432 0.936 0.144 2.088 0.288 3.168 0.288 0.792 0.072 1.584 0.216 2.376 0.576 1.44 0.72 2.736 1.8 3.672 3.168 1.224 1.8 2.304 3.672 3.24 5.688 0.72 1.512 1.584 3.096 2.448 4.608 0.648 1.08 1.224 2.376 1.728 3.672 0.72 1.8 1.44 3.384 2.232 5.04 0.504 1.152 1.008 2.304 1.44 3.528 0.144 0.36 0.36 0.72 0.576 1.008 2.016 2.736 4.752 4.752 7.92 5.76l1.944 0.648-2.016 1.8-4.104 3.672-2.16 2.088-1.728 1.872c-0.504 0.792-1.008 1.656-1.656 2.448-0.504 0.792-0.936 1.44-1.224 2.16-0.288 0.648-0.432 1.296-0.432 2.016 0 0.288 0.072 0.576 0.072 0.864 0.216 1.08 0.648 2.088 1.152 3.024l1.08 1.8 1.296 1.728 3.888 3.672 1.728 1.728 1.584 1.656 0.864 1.08 2.592 3.24 4.536 4.824 2.376 2.232 1.872 1.44 1.512 1.008 1.08 0.504 0.576 0.072c0.648 1.656 1.728 3.168 3.024 4.32 0.504 0.504 1.152 0.864 1.872 1.008 0.648 0.144 1.224 0.288 1.872 0.432h0.432c0.288 0 0.504 0 0.792-0.072l0.432-0.144-3.384-11.592c-0.144-0.432-0.432-0.792-0.936-0.864l-3.096-0.72c-0.288-0.144-0.432-0.432-0.36-0.648l0.648-1.944c0.072-0.144 0.144-0.432 0.144-0.648 0-0.648-0.36-1.224-0.936-1.512-0.504-0.288-1.08-0.504-1.656-0.72-0.792-0.144-1.512-0.576-2.16-1.008-0.864-0.648-1.728-1.296-2.592-2.016-1.152-0.936-2.16-2.16-2.88-3.456-0.648-1.224-1.296-2.448-2.016-3.6-0.648-1.152-0.936-2.16-1.08-3.24-0.144-1.152 0.144-2.304 0.864-3.312s1.728-1.872 2.808-2.376c1.368-0.648 2.736-1.296 4.104-1.944 1.224-0.576 2.448-1.152 3.744-1.656 1.224-0.432 2.304-1.08 3.384-1.8 0.72-0.576 1.44-1.008 2.232-1.44 1.584-1.008 2.808-2.304 3.744-3.96l0.432-0.792 1.8 3.672 0.72 1.584 0.576 1.224 1.152 1.656 1.44 2.088 2.16 3.096 1.8 2.88 1.944 3.168 0.936 1.512 2.736 4.824 1.08 2.088 1.368 2.736 0.72 1.656 0.504 1.512c0.36 0.792 0.576 1.584 0.72 2.448 0.072 0.648 0.216 1.296 0.36 2.016 0 0.288 0.072 0.576 0.072 0.864 0 1.008-0.36 1.944-1.08 2.664l-2.304 2.592-0.36 0.576c-2.232 0.576-3.888 2.448-4.248 4.752l-0.072 0.504h12.312c1.008-1.08 1.584-2.448 1.584-3.888 0-0.864-0.216-1.728-0.576-2.52l-0.36-0.648c-0.072-0.288 0.072-0.504 0.288-0.504h1.44c0.936-0.144 1.512-0.936 1.512-1.8 0-0.144 0-0.216-0.072-0.36l-0.576-2.88-1.008-3.528-1.152-4.248-1.152-3.96-0.72-2.88-0.648-2.664-0.432-1.728-0.432-1.728-0.288-1.584-0.36-1.656-0.288-1.224-0.792-3.024c-0.432-1.368-0.936-2.808-1.296-4.176-0.576-2.088-1.368-4.176-2.376-6.048l-0.648-1.224 5.616-0.144h1.224c1.584 0 3.312 0 4.968-0.144 2.664-0.144 5.472 0.072 8.208 0.72 3.888 0.792 7.776 1.224 11.736 1.296 0.432 0.072 0.792 0.072 1.224 0.072 4.32 0 8.568-0.432 12.744-1.296 2.952-0.576 5.112-1.008 7.272-1.44l0.432-0.072c1.584 1.296 3.313 2.448 5.184 3.312l0.216 0.144-1.008 5.688c0.072 1.152 1.008 2.088 2.16 2.088 0.936 0 1.8-0.504 2.088-1.368l1.8-4.752 2.664 0.576-0.648 4.68v0.432c0 0.432 0.072 0.864 0.288 1.224 0.36 0.576 0.864 0.864 1.512 0.936h0.288c0.432 0 0.864-0.072 1.296-0.144 0.576-0.144 1.08-0.576 1.152-1.224l1.008-5.256 2.448 0.144c0.144 0.936 0.216 1.944 0.216 2.952v0.432c0 1.44-0.144 2.808-0.288 4.248-0.144 1.224-0.432 2.376-0.864 3.456-1.008 2.304-2.16 4.68-3.456 6.912l-0.864 1.512-1.52 2.8c-0.648 1.512-1.584 2.88-2.664 4.104l-0.864 1.008-1.008 1.008-2.592 2.16-2.016 1.728-2.52 2.088c-0.288 0.216-0.576 0.504-0.864 0.72-1.656 1.512-2.952 3.384-3.816 5.4l-0.216 0.648c-1.08 0.432-2.088 1.008-2.952 1.656-1.08 0.936-1.944 2.016-2.52 3.312l-0.288 0.648h12.24l0.288-0.072 3.528-6.552c0.072-0.216 0.288-0.36 0.504-0.36 0.144 0 0.288 0.072 0.36 0.144l0.936 0.792c0.144 0.144 0.36 0.288 0.504 0.288s0.216-0.072 0.288-0.072c0.36-0.216 0.72-0.432 1.008-0.72l0.36-0.432 1.368-1.584 1.08-1.44 3.888-6.552c0.576-0.864 1.08-1.584 1.584-2.304s1.296-1.584 2.232-2.304l2.016-1.512 7.632-5.688c0.288-0.36 0.576-0.792 0.648-1.296l2.16-9.36 0.432-1.656 1.008-2.448 1.08-1.872 0.864-0.864c1.152 2.232 2.664 4.32 4.32 6.12 1.008 1.08 1.944 2.016 2.88 2.952 1.152 1.224 2.16 2.52 2.952 4.032 1.584 3.024 2.736 6.408 3.384 9.792 0.36 1.872 0.648 3.744 1.008 5.616 0.072 0.72 0.144 1.584 0.144 2.448s-0.072 1.728-0.216 2.592c-0.072 0.576-0.288 1.08-0.648 1.512s-0.72 0.936-1.008 1.44c-0.216 0.36-0.288 0.792-0.36 1.296l-0.072 1.368-1.368 1.44-1.44 1.296c-0.504 0.72-0.792 1.44-0.936 2.232l-0.288 1.656h12.24l1.152-1.944c0.288-0.432 0.36-0.936 0.36-1.44 0-0.216 0-0.504-0.072-0.72-0.072-0.432-0.288-0.936-0.576-1.368-0.144-0.288-0.288-0.648-0.432-1.008-0.144-0.432-0.216-0.864-0.288-1.296 0-0.288 0.072-0.576 0.216-0.792 0.216-0.288 0.504-0.432 0.792-0.504l1.368-0.288c0.216 0 0.36-0.144 0.504-0.288 0.288-0.36 0.432-0.792 0.432-1.224 0-0.288-0.072-0.576-0.144-0.792-0.144-0.288-0.216-0.576-0.288-0.864-0.36-2.664-0.864-5.544-1.44-8.352l-0.432-2.376-0.792-5.904c-0.144-0.792-0.36-1.728-0.432-2.664-0.144-1.008-0.144-1.944 0.072-2.88 0.36-1.728 0.648-3.528 0.864-5.328 0.216-1.656 0.432-3.24 0.648-4.824 0.072-0.432 0.072-0.864 0.072-1.368v-1.152c-0.144-1.224-0.576-2.376-1.224-3.312-0.288-0.504-0.576-1.008-0.792-1.584l-0.792-2.304c-0.072-0.288-0.216-0.504-0.288-0.72-0.49-1.72-0.85-3.37-0.92-5.03z"/>
6
- <metadata><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/><dc:publisher><cc:Agent rdf:about="http://openclipart.org/"><dc:title>Openclipart</dc:title></cc:Agent></dc:publisher><dc:title>Warning Cows Roadsign</dc:title><dc:date>2006-11-01T21:20:10</dc:date><dc:description>A sign warning of cows.&#xD;\n &#xD;\n Swedish Road Signs Collection on Wikicommons - &#xD;\n URL http://commons.wikimedia.org/wiki/Category:Road_signs_of_Sweden&#xD;\n &#xD;\n information about why this image is in the public domain can be found there.</dc:description><dc:source>http://openclipart.org/detail/1136/warning-cows-roadsign-by-ryanlerch</dc:source><dc:creator><cc:Agent><dc:title>ryanlerch</dc:title></cc:Agent></dc:creator><dc:subject><rdf:Bag><rdf:li>animal</rdf:li><rdf:li>clip art</rdf:li><rdf:li>clipart</rdf:li><rdf:li>cow</rdf:li><rdf:li>cows</rdf:li><rdf:li>danger</rdf:li><rdf:li>externalsource</rdf:li><rdf:li>farm</rdf:li><rdf:li>image</rdf:li><rdf:li>media</rdf:li><rdf:li>png</rdf:li><rdf:li>public domain</rdf:li><rdf:li>roadsign</rdf:li><rdf:li>sign</rdf:li><rdf:li>svg</rdf:li><rdf:li>sweden</rdf:li><rdf:li>warning</rdf:li><rdf:li>wikimedia commons</rdf:li></rdf:Bag></dc:subject></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/></cc:License></rdf:RDF></metadata></svg>
@@ -1,2 +0,0 @@
1
- <svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" version="1.1" sodipodi:docname="android-thief.svg" xml:space="preserve" viewBox="0 0 57.817504 67.400289" height="100%" width="100%" enable-background="new 0 0 780 650" y="0px" x="0px" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" inkscape:version="0.48.3.1 r9886" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview fit-margin-left="0" inkscape:zoom="3.1603724" borderopacity="1" inkscape:current-layer="svg2" inkscape:cx="89.656547" inkscape:cy="34.013025" inkscape:window-maximized="0" showgrid="false" fit-margin-right="0" bordercolor="#666666" inkscape:window-x="0" guidetolerance="10" objecttolerance="10" inkscape:window-y="34" fit-margin-bottom="0" inkscape:window-width="1095" inkscape:pageopacity="0" inkscape:pageshadow="2" pagecolor="#ffffff" gridtolerance="10" inkscape:window-height="842" fit-margin-top="0"/>
2
- <g transform="translate(-184.52,-76.084006)"><g fill="#00d400" transform="matrix(0.18361,0,0,0.18361,184.52,76.084)"><path inkscape:connector-curvature="0" d="M22.069,119.75c-12.198,0-22.069,10.03-22.069,22.41v87.588c0,12.375,9.8711,22.423,22.069,22.423s22.069-10.048,22.069-22.423v-87.588c0-12.383-9.8791-22.415-22.069-22.415z"/><path inkscape:connector-curvature="0" d="m60.189,121.05v158.51c0,9.4216,7.6481,17.054,17.054,17.054h19.469v48.272c0,12.255,9.7988,22.198,21.869,22.198s21.869-9.9353,21.869-22.198v-48.272h34.027v48.272c0,12.255,9.7667,22.198,21.869,22.198,12.07,0,21.853-9.9353,21.853-22.198v-48.272h19.485c9.4056,0,17.038-7.64,17.038-17.054v-158.51h-194.53z"/><path inkscape:connector-curvature="0" d="m292.84,119.72c-12.182,0-22.085,10.048-22.085,22.431v87.62c0,12.383,9.9032,22.431,22.085,22.431,12.198,0,22.053-10.048,22.053-22.431v-87.628c0-12.383-9.855-22.423-22.053-22.423z"/><path inkscape:connector-curvature="0" d="m208.46,39.703,18.482-27.157c2.4958-3.6595,1.5489-8.6592-2.1187-11.155-3.6675-2.4959-8.6673-1.5408-11.147,2.1267l-20.15,29.613c-11.179-3.8682-23.305-6.0912-36.082-6.0912-12.76,0-24.894,2.215-36.065,6.0831l-20.16-29.613c-2.508-3.6599-7.491-4.6069-11.159-2.119-3.667,2.4878-4.606,7.4955-2.118,11.155l18.498,27.157c-25.881,13.812-43.857,37.655-46.257,65.377h194.52c-2.3835-27.727-20.344-51.57-46.225-65.374zm-92.034,38.473c-5.9387,0-10.77-4.8232-10.77-10.762,0-5.9387,4.8152-10.762,10.77-10.762,5.9387,0,10.754,4.8232,10.754,10.762,0,5.9387-4.8152,10.762-10.754,10.762zm83.398,0c-5.9547,0-10.754-4.8232-10.754-10.762,0-5.9387,4.7991-10.762,10.754-10.762,5.9387,0,10.77,4.8232,10.77,10.762,0,5.9387-4.8312,10.762-10.77,10.762z"/></g><path inkscape:connector-curvature="0" d="m198.14,88.551,8.3594-4.9062,7,4,7-4,8,5-8,4-7-4-7,4z"/><path d="m267.12,84.21a2.125,2.125,0,1,1,-4.25,0,2.125,2.125,0,1,1,4.25,0z" inkscape:connector-curvature="0" transform="translate(-43.875,3.934)" fill="#FFF"/><path d="m267.12,84.21a2.125,2.125,0,1,1,-4.25,0,2.125,2.125,0,1,1,4.25,0z" inkscape:connector-curvature="0" transform="translate(-58.797,3.934)" fill="#FFF"/></g><metadata><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><cc:license rdf:resource="http://creativecommons.org/licenses/publicdomain/"/><dc:publisher><cc:Agent rdf:about="http://openclipart.org/"><dc:title>Openclipart</dc:title></cc:Agent></dc:publisher><dc:title/><dc:date>2013-11-23T15:31:08</dc:date><dc:description>Different stances of the android logo</dc:description><dc:source>https://openclipart.org/detail/189057/android-another-by-roshellin-189057</dc:source><dc:creator><cc:Agent><dc:title>roshellin</dc:title></cc:Agent></dc:creator><dc:subject><rdf:Bag><rdf:li>android</rdf:li><rdf:li>clipart_issue</rdf:li><rdf:li>roshellin</rdf:li></rdf:Bag></dc:subject></cc:Work><cc:License rdf:about="http://creativecommons.org/licenses/publicdomain/"><cc:permits rdf:resource="http://creativecommons.org/ns#Reproduction"/><cc:permits rdf:resource="http://creativecommons.org/ns#Distribution"/><cc:permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/></cc:License></rdf:RDF></metadata></svg>