@configuratorware/configurator-admingui 1.28.3 → 1.29.1

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 (720) hide show
  1. package/App/Api.js +315 -0
  2. package/App/Config/app.js +96 -0
  3. package/App/Config/defaultConfig.js +122 -0
  4. package/App/Config/icons.js +27 -0
  5. package/App/Config/network.js +20 -0
  6. package/App/Data.js +473 -0
  7. package/App/Entity.js +88 -0
  8. package/App/ErrorBoundary.js +126 -0
  9. package/App/FeatureReducers.js +62 -0
  10. package/App/Frame.js +133 -0
  11. package/App/Listeners.js +56 -0
  12. package/App/Main.js +321 -0
  13. package/App/Reducers/Api/Actions.js +262 -0
  14. package/App/Reducers/Api/Helpers.js +108 -0
  15. package/App/Reducers/Api/Reducer.js +109 -0
  16. package/App/Reducers/Common/Form/Actions.js +17 -0
  17. package/App/Reducers/Common/Form/Reducer.js +63 -0
  18. package/App/Reducers/Common/Language/Actions.js +17 -0
  19. package/App/Reducers/Common/Language/Reducer.js +48 -0
  20. package/App/Reducers/Common/OrderList/Actions.js +96 -0
  21. package/App/Reducers/Common/OrderList/Listener.js +37 -0
  22. package/App/Reducers/Common/OrderList/Reducer.js +100 -0
  23. package/App/Reducers/Common/index.js +19 -0
  24. package/App/Reducers/Config/Actions.js +18 -0
  25. package/App/Reducers/Config/Reducer.js +35 -0
  26. package/App/Reducers/Entity/Actions.js +660 -0
  27. package/App/Reducers/Entity/Reducer.js +379 -0
  28. package/App/Reducers/Frame/Actions.js +42 -0
  29. package/App/Reducers/Frame/Reducer.js +120 -0
  30. package/App/Reducers/index.js +51 -0
  31. package/App/ReduxListener.js +52 -0
  32. package/App/ReduxPersistLoader.js +26 -0
  33. package/App/Routes.js +73 -0
  34. package/App/Selectors/Credentials/hasCredentialFor.js +11 -0
  35. package/App/Services/ElementRef.js +28 -0
  36. package/App/Services/WindowCommunication.js +73 -0
  37. package/App/Services/index.js +15 -0
  38. package/App/Store.js +94 -0
  39. package/App/Styles.scss +185 -0
  40. package/App/TestHelpers.js +131 -0
  41. package/App/ThemeProvider.js +74 -0
  42. package/App/Translations.js +147 -0
  43. package/App/Utils.js +41 -0
  44. package/App/customSetup.js +21 -0
  45. package/App/i18n.js +307 -0
  46. package/App/index.js +80 -0
  47. package/App/initServices.js +92 -0
  48. package/App/setup.js +22 -0
  49. package/AppContainer.js +30 -0
  50. package/Components/AddButton.js +28 -0
  51. package/Components/AppBar.js +85 -0
  52. package/Components/CallToActionField.js +171 -0
  53. package/Components/CopyPaste.js +108 -0
  54. package/Components/DefaultConnectedForm.js +109 -0
  55. package/Components/DefaultConnectedList.js +147 -0
  56. package/Components/DefaultConnectedScreen.js +59 -0
  57. package/Components/DefaultForm.js +99 -0
  58. package/Components/DefaultList.js +345 -0
  59. package/Components/DefaultScreen.js +203 -0
  60. package/Components/Error.js +30 -0
  61. package/Components/Form.js +383 -0
  62. package/Components/FormFragments/AutoComplete.js +308 -0
  63. package/Components/FormFragments/AutocompleteEntity.js +294 -0
  64. package/Components/FormFragments/Checkbox.js +34 -0
  65. package/Components/FormFragments/Chip.js +249 -0
  66. package/Components/FormFragments/DatePicker.js +26 -0
  67. package/Components/FormFragments/DateTimePicker.js +27 -0
  68. package/Components/FormFragments/DynSourceInput.js +210 -0
  69. package/Components/FormFragments/ErrorWrapper.js +21 -0
  70. package/Components/FormFragments/File.js +231 -0
  71. package/Components/FormFragments/HintText.js +31 -0
  72. package/Components/FormFragments/InlineAddButton.js +213 -0
  73. package/Components/FormFragments/InputArray.js +349 -0
  74. package/Components/FormFragments/InputGroup.js +62 -0
  75. package/Components/FormFragments/InputWithSource.js +68 -0
  76. package/Components/FormFragments/IntlInput.js +211 -0
  77. package/Components/FormFragments/Label.js +32 -0
  78. package/Components/FormFragments/MarkDown.js +163 -0
  79. package/Components/FormFragments/MonacoEditor.js +119 -0
  80. package/Components/FormFragments/NestedDataComponent.js +232 -0
  81. package/Components/FormFragments/ObjectToggle.js +87 -0
  82. package/Components/FormFragments/RadioGroup.js +42 -0
  83. package/Components/FormFragments/Select.js +60 -0
  84. package/Components/FormFragments/SetInput.js +164 -0
  85. package/Components/FormFragments/SimpleNestedData.js +99 -0
  86. package/Components/FormFragments/SimpleTable.js +285 -0
  87. package/Components/FormFragments/SimpleTextEditor.js +43 -0
  88. package/Components/FormFragments/Styles.scss +119 -0
  89. package/Components/FormFragments/Tabs.js +307 -0
  90. package/Components/FormFragments/Text.js +43 -0
  91. package/Components/FormFragments/TimePicker.js +27 -0
  92. package/Components/FormFragments/Toggle.js +94 -0
  93. package/Components/FormFragments/TwoSideSelect.js +249 -0
  94. package/Components/FormFragments/Value.js +48 -0
  95. package/Components/FormFragments/index.js +138 -0
  96. package/Components/FormFragments/styles.js +38 -0
  97. package/Components/FormHooks/useDataSchema.js +68 -0
  98. package/Components/GeneralFragments/Box.js +25 -0
  99. package/Components/GeneralFragments/ConfigurationEditor.js +200 -0
  100. package/Components/GeneralFragments/ConfiguratorOverlay.js +111 -0
  101. package/Components/GeneralFragments/Content.js +25 -0
  102. package/Components/GeneralFragments/Headline.js +32 -0
  103. package/Components/GeneralFragments/Image.js +94 -0
  104. package/Components/GeneralFragments/MiniPopup.js +202 -0
  105. package/Components/GeneralFragments/Styles.scss +8 -0
  106. package/Components/GeneralFragments/index.js +39 -0
  107. package/Components/InputHelpers.js +17 -0
  108. package/Components/Join.js +28 -0
  109. package/Components/LicenseInfo.js +136 -0
  110. package/Components/List.js +413 -0
  111. package/Components/ListColumnFilter.js +258 -0
  112. package/Components/LocaleSwitch.js +56 -0
  113. package/Components/LocalizedPriceTextField.js +83 -0
  114. package/Components/LocalizedPriceValue.js +38 -0
  115. package/Components/Menu.js +202 -0
  116. package/Components/ModalContainer.js +128 -0
  117. package/Components/OrderList.js +248 -0
  118. package/Components/OverlayContainer.js +34 -0
  119. package/Components/Pagination.js +175 -0
  120. package/Components/ProfileButton.js +65 -0
  121. package/Components/SearchBar.js +183 -0
  122. package/Components/SplitContainer.js +53 -0
  123. package/Components/Styles.scss +114 -0
  124. package/Components/TranslateComponent.js +231 -0
  125. package/Components/TranslationFinder.js +72 -0
  126. package/Components/Translations.js +89 -0
  127. package/Components/ValidatorCallbackProvider.js +102 -0
  128. package/Components/VersionBadge.js +44 -0
  129. package/Components/VersionUpdateChip.js +52 -0
  130. package/Components/withLoadAction.js +41 -0
  131. package/Components/withTranslationFinder.js +47 -0
  132. package/README.md +5 -6
  133. package/Screens/ApiKeys/Containers/Edit.js +162 -0
  134. package/Screens/ApiKeys/Containers/List.js +37 -0
  135. package/Screens/ApiKeys/Reducers/Actions.js +44 -0
  136. package/Screens/ApiKeys/Reducers/Reducer.js +61 -0
  137. package/Screens/ApiKeys/Screen.js +24 -0
  138. package/Screens/ApiKeys/Styles.scss +3 -0
  139. package/Screens/ApiKeys/Translations.js +24 -0
  140. package/Screens/ApiKeys/index.js +21 -0
  141. package/Screens/Assemblypointeditor/Components/AssemblypointTable.js +161 -0
  142. package/Screens/Assemblypointeditor/Components/Assemblypointeditor.js +813 -0
  143. package/Screens/Assemblypointeditor/Components/Styles.scss +58 -0
  144. package/Screens/Assemblypointeditor/Components/fabric.min.js +1 -0
  145. package/Screens/Assemblypointeditor/Containers/Edit.js +77 -0
  146. package/Screens/Assemblypointeditor/Containers/List.js +53 -0
  147. package/Screens/Assemblypointeditor/Reducers/Actions.js +72 -0
  148. package/Screens/Assemblypointeditor/Reducers/Reducer.js +157 -0
  149. package/Screens/Assemblypointeditor/Screen.js +52 -0
  150. package/Screens/Assemblypointeditor/Styles.scss +38 -0
  151. package/Screens/Assemblypointeditor/Translations.js +10 -0
  152. package/Screens/Assemblypointeditor/index.js +20 -0
  153. package/Screens/Attribute/Containers/Edit.js +46 -0
  154. package/Screens/Attribute/Containers/List.js +41 -0
  155. package/Screens/Attribute/Reducers/Actions.js +42 -0
  156. package/Screens/Attribute/Reducers/Reducer.js +44 -0
  157. package/Screens/Attribute/Screen.js +24 -0
  158. package/Screens/Attribute/Styles.scss +0 -0
  159. package/Screens/Attribute/Translations.js +22 -0
  160. package/Screens/Attribute/__tests/AttributeScreen.js +368 -0
  161. package/Screens/Attribute/index.js +20 -0
  162. package/Screens/AttributeValue/Containers/Edit.js +49 -0
  163. package/Screens/AttributeValue/Containers/List.js +48 -0
  164. package/Screens/AttributeValue/Reducers/Actions.js +21 -0
  165. package/Screens/AttributeValue/Reducers/Reducer.js +38 -0
  166. package/Screens/AttributeValue/Screen.js +34 -0
  167. package/Screens/AttributeValue/Styles.scss +0 -0
  168. package/Screens/AttributeValue/Translations.js +17 -0
  169. package/Screens/AttributeValue/__tests/AttributeValueScreen.js +346 -0
  170. package/Screens/AttributeValue/index.js +20 -0
  171. package/Screens/ChangePassword/Reducers/Actions.js +69 -0
  172. package/Screens/ChangePassword/Reducers/Reducer.js +39 -0
  173. package/Screens/ChangePassword/Screen.js +212 -0
  174. package/Screens/ChangePassword/Translations.js +22 -0
  175. package/Screens/ChangePassword/index.js +20 -0
  176. package/Screens/Channel/Containers/Edit.js +58 -0
  177. package/Screens/Channel/Containers/List.js +33 -0
  178. package/Screens/Channel/Reducers/Actions.js +19 -0
  179. package/Screens/Channel/Reducers/Reducer.js +59 -0
  180. package/Screens/Channel/Screen.js +28 -0
  181. package/Screens/Channel/Translations.js +18 -0
  182. package/Screens/Channel/__tests/ChannelScreen.js +363 -0
  183. package/Screens/Channel/index.js +20 -0
  184. package/Screens/Client/Components/ColorTextField.js +90 -0
  185. package/Screens/Client/Components/PdfMarkdownField.js +171 -0
  186. package/Screens/Client/Components/TextFields.js +163 -0
  187. package/Screens/Client/Containers/Edit.js +190 -0
  188. package/Screens/Client/Containers/List.js +44 -0
  189. package/Screens/Client/Reducers/Actions.js +118 -0
  190. package/Screens/Client/Reducers/Reducer.js +149 -0
  191. package/Screens/Client/Screen.js +34 -0
  192. package/Screens/Client/Styles.scss +3 -0
  193. package/Screens/Client/Translations.js +49 -0
  194. package/Screens/Client/index.js +20 -0
  195. package/Screens/ColorPalettes/Components/DefaultColorSwitch.js +126 -0
  196. package/Screens/ColorPalettes/Containers/Edit.js +156 -0
  197. package/Screens/ColorPalettes/Containers/List.js +57 -0
  198. package/Screens/ColorPalettes/Reducers/Actions.js +21 -0
  199. package/Screens/ColorPalettes/Reducers/Reducer.js +61 -0
  200. package/Screens/ColorPalettes/Screen.js +34 -0
  201. package/Screens/ColorPalettes/Styles.scss +0 -0
  202. package/Screens/ColorPalettes/Translations.js +24 -0
  203. package/Screens/ColorPalettes/index.js +20 -0
  204. package/Screens/ConfigurationTypeEditor/Containers/Edit.js +83 -0
  205. package/Screens/ConfigurationTypeEditor/Containers/List.js +64 -0
  206. package/Screens/ConfigurationTypeEditor/Reducers/Actions.js +137 -0
  207. package/Screens/ConfigurationTypeEditor/Reducers/Reducer.js +122 -0
  208. package/Screens/ConfigurationTypeEditor/Screen.js +150 -0
  209. package/Screens/ConfigurationTypeEditor/Styles.scss +0 -0
  210. package/Screens/ConfigurationTypeEditor/Translations.js +14 -0
  211. package/Screens/ConfigurationTypeEditor/index.js +3 -0
  212. package/Screens/ConfigurationVariants/Containers/Edit.js +127 -0
  213. package/Screens/ConfigurationVariants/Containers/List.js +33 -0
  214. package/Screens/ConfigurationVariants/Containers/Styles.scss +13 -0
  215. package/Screens/ConfigurationVariants/Reducers/Actions.js +25 -0
  216. package/Screens/ConfigurationVariants/Reducers/Reducer.js +66 -0
  217. package/Screens/ConfigurationVariants/Screen.js +28 -0
  218. package/Screens/ConfigurationVariants/Translations.js +31 -0
  219. package/Screens/ConfigurationVariants/index.js +20 -0
  220. package/Screens/ConfigurationWorkflowStatus/Containers/Edit.js +81 -0
  221. package/Screens/ConfigurationWorkflowStatus/Containers/List.js +259 -0
  222. package/Screens/ConfigurationWorkflowStatus/Reducers/Actions.js +119 -0
  223. package/Screens/ConfigurationWorkflowStatus/Reducers/Reducer.js +103 -0
  224. package/Screens/ConfigurationWorkflowStatus/Screen.js +100 -0
  225. package/Screens/ConfigurationWorkflowStatus/Styles.scss +0 -0
  226. package/Screens/ConfigurationWorkflowStatus/Translations.js +43 -0
  227. package/Screens/ConfigurationWorkflowStatus/index.js +22 -0
  228. package/Screens/ConfigurationWorkflowStatus/initServices.js +12 -0
  229. package/Screens/Creator/Components/BaseConfigurationEditor.js +241 -0
  230. package/Screens/Creator/Components/CheckData/ApiCalls.js +43 -0
  231. package/Screens/Creator/Components/CheckData/CheckData.js +332 -0
  232. package/Screens/Creator/Components/CheckData/Constants.js +58 -0
  233. package/Screens/Creator/Components/CheckData/Translations.js +34 -0
  234. package/Screens/Creator/Components/ComponentEditor.js +245 -0
  235. package/Screens/Creator/Components/ConfiguratorQuickView.js +102 -0
  236. package/Screens/Creator/Components/OptionPriceEditor.js +167 -0
  237. package/Screens/Creator/Components/OptionclassificationEditor.js +572 -0
  238. package/Screens/Creator/Components/Rules/Containers/Edit.js +276 -0
  239. package/Screens/Creator/Components/Rules/Containers/List.js +45 -0
  240. package/Screens/Creator/Components/Rules/Containers/RuleForms/AdditionalOption.js +88 -0
  241. package/Screens/Creator/Components/Rules/Containers/RuleForms/AttributeValueGroupAutoSwitch.js +88 -0
  242. package/Screens/Creator/Components/Rules/Containers/RuleForms/DefaultOption.js +84 -0
  243. package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMatch.js +84 -0
  244. package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMaxSum.js +76 -0
  245. package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMaxAmount.js +78 -0
  246. package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMinAmount.js +78 -0
  247. package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionDependency.js +88 -0
  248. package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionExclusion.js +88 -0
  249. package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionMaxAmount.js +78 -0
  250. package/Screens/Creator/Components/Rules/Containers/RuleForms/RuleForm.js +240 -0
  251. package/Screens/Creator/Components/Rules/Containers/RuleForms/index.js +42 -0
  252. package/Screens/Creator/Components/Rules/Styles.scss +38 -0
  253. package/Screens/Creator/Components/Rules/Translations.js +178 -0
  254. package/Screens/Creator/Components/Rules/index.js +80 -0
  255. package/Screens/Creator/Components/ShowPreviewErrorDialog.js +59 -0
  256. package/Screens/Creator/Components/VisualizationAndMediaData/ApiCalls.js +43 -0
  257. package/Screens/Creator/Components/VisualizationAndMediaData/Components/ConfirmDelete.js +68 -0
  258. package/Screens/Creator/Components/VisualizationAndMediaData/Components/EditableText.js +144 -0
  259. package/Screens/Creator/Components/VisualizationAndMediaData/Components/Image.js +125 -0
  260. package/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +242 -0
  261. package/Screens/Creator/Components/VisualizationAndMediaData/Components/PathStructure.js +118 -0
  262. package/Screens/Creator/Components/VisualizationAndMediaData/Components/ViewEdit.js +102 -0
  263. package/Screens/Creator/Components/VisualizationAndMediaData/Translations.js +82 -0
  264. package/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.js +1098 -0
  265. package/Screens/Creator/Components/VisualizationAndMediaData/dev.js +385 -0
  266. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/component_1.png +0 -0
  267. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_1.png +0 -0
  268. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_3.png +0 -0
  269. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_3_fullsize.jpg +0 -0
  270. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1.png +0 -0
  271. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1_option_1.png +0 -0
  272. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1_option_3.png +0 -0
  273. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_2_option_1.png +0 -0
  274. package/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_2_option_3.png +0 -0
  275. package/Screens/Creator/Components/VisualizationAndMediaData/index.js +15 -0
  276. package/Screens/Creator/Containers/Edit.js +525 -0
  277. package/Screens/Creator/Containers/List.js +48 -0
  278. package/Screens/Creator/Reducers/Actions.js +35 -0
  279. package/Screens/Creator/Reducers/ConfigurationActions.js +443 -0
  280. package/Screens/Creator/Reducers/ConfigurationReducer.js +338 -0
  281. package/Screens/Creator/Reducers/CreatorReducer.js +42 -0
  282. package/Screens/Creator/Reducers/Rules/Actions.js +134 -0
  283. package/Screens/Creator/Reducers/Rules/Reducer.js +290 -0
  284. package/Screens/Creator/Screen.js +30 -0
  285. package/Screens/Creator/Translations.js +136 -0
  286. package/Screens/Creator/index.js +25 -0
  287. package/Screens/CurrentClient/Containers/Edit.js +128 -0
  288. package/Screens/CurrentClient/Reducers/Actions.js +42 -0
  289. package/Screens/CurrentClient/Reducers/Reducer.js +95 -0
  290. package/Screens/CurrentClient/Screen.js +15 -0
  291. package/Screens/CurrentClient/Translations.js +10 -0
  292. package/Screens/CurrentClient/index.js +20 -0
  293. package/Screens/Dashboard/Screen.js +50 -0
  294. package/Screens/Dashboard/Styles.scss +3 -0
  295. package/Screens/Dashboard/Translations.js +14 -0
  296. package/Screens/DefaultClient/Containers/Edit.js +141 -0
  297. package/Screens/DefaultClient/Reducers/Actions.js +42 -0
  298. package/Screens/DefaultClient/Reducers/Reducer.js +108 -0
  299. package/Screens/DefaultClient/Screen.js +15 -0
  300. package/Screens/DefaultClient/Translations.js +10 -0
  301. package/Screens/DefaultClient/index.js +20 -0
  302. package/Screens/Demo/Screen.js +164 -0
  303. package/Screens/Demo/Styles.scss +3 -0
  304. package/Screens/Demo/index.js +15 -0
  305. package/Screens/DesignProductionMethods/Containers/Edit.js +292 -0
  306. package/Screens/DesignProductionMethods/Containers/List.js +53 -0
  307. package/Screens/DesignProductionMethods/Reducers/Actions.js +29 -0
  308. package/Screens/DesignProductionMethods/Reducers/DesignProductionMethodsReducer.js +160 -0
  309. package/Screens/DesignProductionMethods/Screen.js +30 -0
  310. package/Screens/DesignProductionMethods/Translations.js +74 -0
  311. package/Screens/DesignProductionMethods/index.js +20 -0
  312. package/Screens/DesignTemplateEditor/Containers/List.js +78 -0
  313. package/Screens/DesignTemplateEditor/Reducers/Actions.js +16 -0
  314. package/Screens/DesignTemplateEditor/Reducers/Reducer.js +22 -0
  315. package/Screens/DesignTemplateEditor/Screen.js +22 -0
  316. package/Screens/DesignTemplateEditor/Translations.js +16 -0
  317. package/Screens/DesignTemplateEditor/index.js +20 -0
  318. package/Screens/Designer/Components/ConfiguratorQuickView.js +102 -0
  319. package/Screens/Designer/Components/DesignDataTransfer.js +426 -0
  320. package/Screens/Designer/Components/TemplateDefaultList.js +423 -0
  321. package/Screens/Designer/Components/TemplateList.js +316 -0
  322. package/Screens/Designer/Containers/Edit.js +346 -0
  323. package/Screens/Designer/Containers/List.js +46 -0
  324. package/Screens/Designer/Containers/TemplateList.js +45 -0
  325. package/Screens/Designer/Reducers/Actions.js +41 -0
  326. package/Screens/Designer/Reducers/DesignerReducer.js +46 -0
  327. package/Screens/Designer/Screen.js +28 -0
  328. package/Screens/Designer/SubScreens/DesignAreas/Components/ColorPalettes.js +451 -0
  329. package/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.js +260 -0
  330. package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/InlineFileInput.js +72 -0
  331. package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorCanvas.js +133 -0
  332. package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorField.js +330 -0
  333. package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/masks/circle.svg +4 -0
  334. package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/withFileUpload.js +115 -0
  335. package/Screens/Designer/SubScreens/DesignAreas/Containers/ConnectedMaskEditorField.js +89 -0
  336. package/Screens/Designer/SubScreens/DesignAreas/Containers/Edit.js +174 -0
  337. package/Screens/Designer/SubScreens/DesignAreas/Containers/FormProductionMethods.js +1100 -0
  338. package/Screens/Designer/SubScreens/DesignAreas/Containers/List.js +50 -0
  339. package/Screens/Designer/SubScreens/DesignAreas/Reducers/Actions.js +106 -0
  340. package/Screens/Designer/SubScreens/DesignAreas/Reducers/Reducer.js +318 -0
  341. package/Screens/Designer/SubScreens/DesignAreas/Screen.js +34 -0
  342. package/Screens/Designer/SubScreens/DesignAreas/Styles.scss +0 -0
  343. package/Screens/Designer/SubScreens/DesignAreas/Translations.js +122 -0
  344. package/Screens/Designer/SubScreens/DesignAreas/Utils/getFreeFormUrl.js +18 -0
  345. package/Screens/Designer/SubScreens/DesignAreas/Utils/getMaskSrcByType.js +22 -0
  346. package/Screens/Designer/SubScreens/DesignAreas/Utils/maskTypes.js +12 -0
  347. package/Screens/Designer/SubScreens/DesignAreas/index.js +18 -0
  348. package/Screens/Designer/SubScreens/Designviews/Containers/Edit.js +216 -0
  349. package/Screens/Designer/SubScreens/Designviews/Containers/List.js +50 -0
  350. package/Screens/Designer/SubScreens/Designviews/Reducers/Actions.js +260 -0
  351. package/Screens/Designer/SubScreens/Designviews/Reducers/Reducer.js +167 -0
  352. package/Screens/Designer/SubScreens/Designviews/Screen.js +32 -0
  353. package/Screens/Designer/SubScreens/Designviews/Translations.js +16 -0
  354. package/Screens/Designer/SubScreens/Designviews/index.js +18 -0
  355. package/Screens/Designer/SubScreens/Visualization/ApiCalls.js +77 -0
  356. package/Screens/Designer/SubScreens/Visualization/Components/AdvancedShapeEditor.js +291 -0
  357. package/Screens/Designer/SubScreens/Visualization/Components/AreaEditor.js +305 -0
  358. package/Screens/Designer/SubScreens/Visualization/Components/EntryList.js +78 -0
  359. package/Screens/Designer/SubScreens/Visualization/Components/ExpansionContainer.js +138 -0
  360. package/Screens/Designer/SubScreens/Visualization/Components/Three2DEditor.js +802 -0
  361. package/Screens/Designer/SubScreens/Visualization/Components/VisualizationContainer.js +166 -0
  362. package/Screens/Designer/SubScreens/Visualization/Components/resources/logo.svg +120 -0
  363. package/Screens/Designer/SubScreens/Visualization/Components/resources/move.svg +1 -0
  364. package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-x.svg +1 -0
  365. package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-y.svg +1 -0
  366. package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-z.svg +1 -0
  367. package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate.svg +1 -0
  368. package/Screens/Designer/SubScreens/Visualization/Components/resources/size.svg +1 -0
  369. package/Screens/Designer/SubScreens/Visualization/Containers/Edit/Constants.js +12 -0
  370. package/Screens/Designer/SubScreens/Visualization/Containers/Edit/DataLinks.js +160 -0
  371. package/Screens/Designer/SubScreens/Visualization/Containers/Edit/Edit.js +995 -0
  372. package/Screens/Designer/SubScreens/Visualization/Containers/Edit/VisualizationUtils.js +174 -0
  373. package/Screens/Designer/SubScreens/Visualization/Containers/Edit/calculateBoundingBoxSize.js +77 -0
  374. package/Screens/Designer/SubScreens/Visualization/Containers/List.js +192 -0
  375. package/Screens/Designer/SubScreens/Visualization/Screen.js +49 -0
  376. package/Screens/Designer/SubScreens/Visualization/Translations.js +80 -0
  377. package/Screens/Designer/SubScreens/Visualization/index.js +13 -0
  378. package/Screens/Designer/Translations.js +49 -0
  379. package/Screens/Designer/index.js +21 -0
  380. package/Screens/DesignerGlobalItemPrices/Containers/Edit.js +131 -0
  381. package/Screens/DesignerGlobalItemPrices/Containers/List.js +45 -0
  382. package/Screens/DesignerGlobalItemPrices/Reducers/Actions.js +32 -0
  383. package/Screens/DesignerGlobalItemPrices/Reducers/Reducer.js +94 -0
  384. package/Screens/DesignerGlobalItemPrices/Screen.js +32 -0
  385. package/Screens/DesignerGlobalItemPrices/Translations.js +24 -0
  386. package/Screens/DesignerGlobalItemPrices/index.js +21 -0
  387. package/Screens/Font/Containers/Edit.js +66 -0
  388. package/Screens/Font/Containers/List.js +63 -0
  389. package/Screens/Font/Reducers/Actions.js +101 -0
  390. package/Screens/Font/Reducers/Reducer.js +61 -0
  391. package/Screens/Font/Screen.js +34 -0
  392. package/Screens/Font/Styles.scss +0 -0
  393. package/Screens/Font/Translations.js +16 -0
  394. package/Screens/Font/index.js +20 -0
  395. package/Screens/Group/Containers/Edit.js +49 -0
  396. package/Screens/Group/Containers/List.js +39 -0
  397. package/Screens/Group/Reducers/Actions.js +24 -0
  398. package/Screens/Group/Reducers/Reducer.js +38 -0
  399. package/Screens/Group/Screen.js +34 -0
  400. package/Screens/Group/Styles.scss +0 -0
  401. package/Screens/Group/Translations.js +18 -0
  402. package/Screens/Group/index.js +21 -0
  403. package/Screens/GroupEntry/Containers/Edit.js +62 -0
  404. package/Screens/GroupEntry/Containers/List.js +39 -0
  405. package/Screens/GroupEntry/Reducers/Actions.js +24 -0
  406. package/Screens/GroupEntry/Reducers/Reducer.js +38 -0
  407. package/Screens/GroupEntry/Screen.js +34 -0
  408. package/Screens/GroupEntry/Styles.scss +0 -0
  409. package/Screens/GroupEntry/Translations.js +16 -0
  410. package/Screens/GroupEntry/index.js +21 -0
  411. package/Screens/ImageGallery/Containers/Edit.js +125 -0
  412. package/Screens/ImageGallery/Containers/List.js +297 -0
  413. package/Screens/ImageGallery/ImageTags/Actions.js +48 -0
  414. package/Screens/ImageGallery/ImageTags/Container/TagsEdit.js +38 -0
  415. package/Screens/ImageGallery/ImageTags/Editor.js +68 -0
  416. package/Screens/ImageGallery/ImageTags/Reducer.js +64 -0
  417. package/Screens/ImageGallery/ImageTags/TagsActions.js +42 -0
  418. package/Screens/ImageGallery/ImageTags/TagsEditorPopup.js +92 -0
  419. package/Screens/ImageGallery/Reducers/Actions.js +134 -0
  420. package/Screens/ImageGallery/Reducers/Reducer.js +69 -0
  421. package/Screens/ImageGallery/Screen.js +34 -0
  422. package/Screens/ImageGallery/Styles.scss +37 -0
  423. package/Screens/ImageGallery/Translations.js +41 -0
  424. package/Screens/ImageGallery/index.js +20 -0
  425. package/Screens/Inspirations/Containers/Edit.js +163 -0
  426. package/Screens/Inspirations/Containers/InspirationsSubscreen.js +34 -0
  427. package/Screens/Inspirations/Containers/ItemInspirationsList.js +48 -0
  428. package/Screens/Inspirations/Containers/List.js +48 -0
  429. package/Screens/Inspirations/Reducers/Actions.js +159 -0
  430. package/Screens/Inspirations/Reducers/ItemInspirationsActions.js +25 -0
  431. package/Screens/Inspirations/Reducers/Reducer.js +78 -0
  432. package/Screens/Inspirations/Screen.js +108 -0
  433. package/Screens/Inspirations/Translations.js +27 -0
  434. package/Screens/Inspirations/index.js +21 -0
  435. package/Screens/Item/ApiCalls.js +45 -0
  436. package/Screens/Item/Components/AttributeEditorPopup.js +117 -0
  437. package/Screens/Item/Components/ConfiguratorQuickView.js +115 -0
  438. package/Screens/Item/Components/ListItemStatusEditor.js +216 -0
  439. package/Screens/Item/Components/Styles.scss +327 -0
  440. package/Screens/Item/Components/Variants/VariantsAutocomplete.js +418 -0
  441. package/Screens/Item/Components/Variants/VariantsEditor.js +715 -0
  442. package/Screens/Item/Components/Variants/VariantsEditorDialog.js +210 -0
  443. package/Screens/Item/Components/Variants/VariantsEditorPopup.js +117 -0
  444. package/Screens/Item/Components/Variants/VariantsSelection.js +184 -0
  445. package/Screens/Item/Components/Variants/VariantsSortFilter.js +230 -0
  446. package/Screens/Item/Containers/Edit.js +600 -0
  447. package/Screens/Item/Containers/List.js +118 -0
  448. package/Screens/Item/Containers/Styles.scss +92 -0
  449. package/Screens/Item/DataStructures/Attributes/Actions.js +54 -0
  450. package/Screens/Item/DataStructures/Attributes/Editor.js +127 -0
  451. package/Screens/Item/DataStructures/Attributes/Reducer.js +37 -0
  452. package/Screens/Item/Reducers/Actions.js +97 -0
  453. package/Screens/Item/Reducers/ItemReducer.js +102 -0
  454. package/Screens/Item/Reducers/Variant/Actions.js +24 -0
  455. package/Screens/Item/Reducers/Variant/Reducer.js +118 -0
  456. package/Screens/Item/Screen.js +28 -0
  457. package/Screens/Item/Translations.js +136 -0
  458. package/Screens/Item/index.js +22 -0
  459. package/Screens/License/Reducers/Actions.js +60 -0
  460. package/Screens/License/Reducers/Reducer.js +47 -0
  461. package/Screens/License/Screen.js +128 -0
  462. package/Screens/License/Styles.scss +35 -0
  463. package/Screens/License/Translations.js +18 -0
  464. package/Screens/License/index.js +21 -0
  465. package/Screens/Login/Reducers/Actions.js +102 -0
  466. package/Screens/Login/Reducers/Listener.js +23 -0
  467. package/Screens/Login/Reducers/Reducer.js +96 -0
  468. package/Screens/Login/Screen.js +200 -0
  469. package/Screens/Login/Styles.scss +0 -0
  470. package/Screens/Login/Translations.js +10 -0
  471. package/Screens/Login/__tests/LoginScreen.js +242 -0
  472. package/Screens/Option/Containers/Edit.js +139 -0
  473. package/Screens/Option/Containers/List.js +66 -0
  474. package/Screens/Option/Reducers/Actions.js +25 -0
  475. package/Screens/Option/Reducers/Reducer.js +127 -0
  476. package/Screens/Option/Screen.js +28 -0
  477. package/Screens/Option/Translations.js +23 -0
  478. package/Screens/Option/index.js +20 -0
  479. package/Screens/OptionPools/Containers/Edit.js +105 -0
  480. package/Screens/OptionPools/Containers/List.js +33 -0
  481. package/Screens/OptionPools/Reducers/Actions.js +25 -0
  482. package/Screens/OptionPools/Reducers/Reducer.js +61 -0
  483. package/Screens/OptionPools/Screen.js +28 -0
  484. package/Screens/OptionPools/Translations.js +22 -0
  485. package/Screens/OptionPools/index.js +20 -0
  486. package/Screens/Optionclassification/Containers/Edit.js +92 -0
  487. package/Screens/Optionclassification/Containers/List.js +63 -0
  488. package/Screens/Optionclassification/Reducers/Actions.js +25 -0
  489. package/Screens/Optionclassification/Reducers/Reducer.js +64 -0
  490. package/Screens/Optionclassification/Screen.js +34 -0
  491. package/Screens/Optionclassification/Styles.scss +0 -0
  492. package/Screens/Optionclassification/Translations.js +20 -0
  493. package/Screens/Optionclassification/index.js +20 -0
  494. package/Screens/PriceTypes/Containers/Edit.js +124 -0
  495. package/Screens/PriceTypes/Containers/List.js +67 -0
  496. package/Screens/PriceTypes/Reducers/Actions.js +21 -0
  497. package/Screens/PriceTypes/Reducers/Reducer.js +83 -0
  498. package/Screens/PriceTypes/Screen.js +32 -0
  499. package/Screens/PriceTypes/Translations.js +36 -0
  500. package/Screens/PriceTypes/index.js +20 -0
  501. package/Screens/ProductionView/Components/ConfigurationDataSheet.js +199 -0
  502. package/Screens/ProductionView/Containers/Edit.js +61 -0
  503. package/Screens/ProductionView/Containers/List.js +124 -0
  504. package/Screens/ProductionView/Reducers/Actions.js +34 -0
  505. package/Screens/ProductionView/Reducers/Reducer.js +40 -0
  506. package/Screens/ProductionView/Screen.js +42 -0
  507. package/Screens/ProductionView/Styles.scss +59 -0
  508. package/Screens/ProductionView/Translations.js +26 -0
  509. package/Screens/ProductionView/index.js +20 -0
  510. package/Screens/ReceiveOfferRequests/Components/ConfigurationDataSheet.js +280 -0
  511. package/Screens/ReceiveOfferRequests/Containers/Edit.js +65 -0
  512. package/Screens/ReceiveOfferRequests/Containers/List.js +117 -0
  513. package/Screens/ReceiveOfferRequests/Reducers/Actions.js +41 -0
  514. package/Screens/ReceiveOfferRequests/Reducers/Reducer.js +44 -0
  515. package/Screens/ReceiveOfferRequests/Screen.js +42 -0
  516. package/Screens/ReceiveOfferRequests/index.js +21 -0
  517. package/Screens/Roles/Containers/Edit.js +56 -0
  518. package/Screens/Roles/Containers/List.js +39 -0
  519. package/Screens/Roles/Reducers/Actions.js +29 -0
  520. package/Screens/Roles/Reducers/Reducer.js +46 -0
  521. package/Screens/Roles/Screen.js +32 -0
  522. package/Screens/Roles/Translations.js +18 -0
  523. package/Screens/Roles/index.js +20 -0
  524. package/Screens/Savedconfigurations/Components/ConfigurationDataSheet.js +300 -0
  525. package/Screens/Savedconfigurations/Containers/Edit.js +65 -0
  526. package/Screens/Savedconfigurations/Containers/List.js +210 -0
  527. package/Screens/Savedconfigurations/Reducers/Actions.js +28 -0
  528. package/Screens/Savedconfigurations/Reducers/Reducer.js +37 -0
  529. package/Screens/Savedconfigurations/Screen.js +42 -0
  530. package/Screens/Savedconfigurations/Styles.scss +38 -0
  531. package/Screens/Savedconfigurations/Translations.js +63 -0
  532. package/Screens/Savedconfigurations/index.js +20 -0
  533. package/Screens/Setting/Containers/Edit.js +171 -0
  534. package/Screens/Setting/Reducers/Actions.js +69 -0
  535. package/Screens/Setting/Reducers/Reducer.js +48 -0
  536. package/Screens/Setting/Screen.js +22 -0
  537. package/Screens/Setting/Styles.scss +0 -0
  538. package/Screens/Setting/Translations.js +52 -0
  539. package/Screens/Setting/index.js +20 -0
  540. package/Screens/SoftwareUpdates/Reducers/Actions.js +23 -0
  541. package/Screens/SoftwareUpdates/Reducers/Reducer.js +48 -0
  542. package/Screens/SoftwareUpdates/Screen.js +103 -0
  543. package/Screens/SoftwareUpdates/Translations.js +24 -0
  544. package/Screens/SoftwareUpdates/index.js +21 -0
  545. package/Screens/Tag/Containers/Edit.js +34 -0
  546. package/Screens/Tag/Containers/List.js +43 -0
  547. package/Screens/Tag/Reducers/Actions.js +42 -0
  548. package/Screens/Tag/Reducers/Reducer.js +38 -0
  549. package/Screens/Tag/Screen.js +24 -0
  550. package/Screens/Tag/Styles.scss +0 -0
  551. package/Screens/Tag/Translations.js +18 -0
  552. package/Screens/Tag/index.js +20 -0
  553. package/Screens/TrackingCodes/Containers/Edit.js +60 -0
  554. package/Screens/TrackingCodes/Containers/List.js +42 -0
  555. package/Screens/TrackingCodes/Reducers/Actions.js +65 -0
  556. package/Screens/TrackingCodes/Reducers/Reducer.js +75 -0
  557. package/Screens/TrackingCodes/Screen.js +28 -0
  558. package/Screens/TrackingCodes/Translations.js +20 -0
  559. package/Screens/TrackingCodes/index.js +21 -0
  560. package/Screens/TranslationFileHandling/Containers/Edit.js +303 -0
  561. package/Screens/TranslationFileHandling/Containers/List.js +38 -0
  562. package/Screens/TranslationFileHandling/Reducers/Actions.js +21 -0
  563. package/Screens/TranslationFileHandling/Reducers/Reducer.js +55 -0
  564. package/Screens/TranslationFileHandling/Screen.js +32 -0
  565. package/Screens/TranslationFileHandling/Translations.js +24 -0
  566. package/Screens/TranslationFileHandling/index.js +21 -0
  567. package/Screens/User/Containers/Edit.js +58 -0
  568. package/Screens/User/Containers/List.js +42 -0
  569. package/Screens/User/Reducers/Actions.js +63 -0
  570. package/Screens/User/Reducers/Reducer.js +63 -0
  571. package/Screens/User/Screen.js +24 -0
  572. package/Screens/User/Styles.scss +3 -0
  573. package/Screens/User/Translations.js +22 -0
  574. package/Screens/User/__tests/UserScreen.js +406 -0
  575. package/Screens/User/index.js +20 -0
  576. package/Screens/index.js +228 -0
  577. package/UIComponents/AppBar.js +13 -0
  578. package/UIComponents/AutoComplete.js +311 -0
  579. package/UIComponents/Button.js +13 -0
  580. package/UIComponents/ButtonBase.js +13 -0
  581. package/UIComponents/Checkbox.js +13 -0
  582. package/UIComponents/Chip.js +13 -0
  583. package/UIComponents/ChipInput.js +300 -0
  584. package/UIComponents/CircularProgress.js +13 -0
  585. package/UIComponents/ClickAwayListener.js +13 -0
  586. package/UIComponents/Collapse.js +13 -0
  587. package/UIComponents/DatePicker.js +63 -0
  588. package/UIComponents/DateTimePicker.js +63 -0
  589. package/UIComponents/Dialog.js +75 -0
  590. package/UIComponents/Drawer.js +13 -0
  591. package/UIComponents/FlatButton.js +52 -0
  592. package/UIComponents/FloatingActionButton.js +23 -0
  593. package/UIComponents/FontIcon.js +13 -0
  594. package/UIComponents/FormControl.js +13 -0
  595. package/UIComponents/FormControlLabel.js +13 -0
  596. package/UIComponents/Grow.js +13 -0
  597. package/UIComponents/IconButton.js +13 -0
  598. package/UIComponents/IconMenu.js +204 -0
  599. package/UIComponents/InlineHelp/index.js +109 -0
  600. package/UIComponents/Input.js +13 -0
  601. package/UIComponents/InputAdornment.js +13 -0
  602. package/UIComponents/InputLabel.js +13 -0
  603. package/UIComponents/LinearProgress.js +13 -0
  604. package/UIComponents/Link.js +44 -0
  605. package/UIComponents/List.js +13 -0
  606. package/UIComponents/ListItem.js +13 -0
  607. package/UIComponents/ListItemIcon.js +13 -0
  608. package/UIComponents/ListItemText.js +13 -0
  609. package/UIComponents/Menu.js +13 -0
  610. package/UIComponents/MenuItem.js +13 -0
  611. package/UIComponents/MenuList.js +13 -0
  612. package/UIComponents/Pagination.js +170 -0
  613. package/UIComponents/Paper.js +13 -0
  614. package/UIComponents/Popper.js +13 -0
  615. package/UIComponents/RadioButton/RadioButton.js +13 -0
  616. package/UIComponents/RadioButton/RadioGroup.js +13 -0
  617. package/UIComponents/RadioButton/index.js +23 -0
  618. package/UIComponents/RaisedButton.js +49 -0
  619. package/UIComponents/SelectField.js +123 -0
  620. package/UIComponents/Snackbar.js +13 -0
  621. package/UIComponents/Table/Table.js +208 -0
  622. package/UIComponents/Table/TableBody.js +119 -0
  623. package/UIComponents/Table/TableCell.js +13 -0
  624. package/UIComponents/Table/TableFooter.js +13 -0
  625. package/UIComponents/Table/TableHead.js +108 -0
  626. package/UIComponents/Table/TableHeadColumn.js +13 -0
  627. package/UIComponents/Table/TableRow.js +74 -0
  628. package/UIComponents/Table/TableRowColumn.js +13 -0
  629. package/UIComponents/Table/index.js +63 -0
  630. package/UIComponents/TableSortLabel.js +13 -0
  631. package/UIComponents/Tabs/Tab.js +13 -0
  632. package/UIComponents/Tabs/Tabs.js +13 -0
  633. package/UIComponents/Tabs/index.js +23 -0
  634. package/UIComponents/TextField.js +13 -0
  635. package/UIComponents/TimePicker.js +67 -0
  636. package/UIComponents/Toggle.js +13 -0
  637. package/UIComponents/Toolbar.js +13 -0
  638. package/UIComponents/Tooltip.js +19 -0
  639. package/UIComponents/Typography.js +13 -0
  640. package/UIComponents/icons/AccountCircleIcon.js +13 -0
  641. package/UIComponents/icons/AddCircleOutlineIcon.js +13 -0
  642. package/UIComponents/icons/AddIcon.js +13 -0
  643. package/UIComponents/icons/ArrowBackIcon.js +13 -0
  644. package/UIComponents/icons/CheckmarkIcon.js +13 -0
  645. package/UIComponents/icons/CloseIcon.js +13 -0
  646. package/UIComponents/icons/DeleteForeverIcon.js +13 -0
  647. package/UIComponents/icons/DeleteIcon.js +13 -0
  648. package/UIComponents/icons/ErrorIcon.js +13 -0
  649. package/UIComponents/icons/ExpandLessIcon.js +13 -0
  650. package/UIComponents/icons/ExpandMoreIcon.js +13 -0
  651. package/UIComponents/icons/FolderIcon.js +13 -0
  652. package/UIComponents/icons/ForwardIcon.js +13 -0
  653. package/UIComponents/icons/InfoIcon.js +13 -0
  654. package/UIComponents/icons/InfoOutlineIcon.js +13 -0
  655. package/UIComponents/icons/LanguageIcon.js +13 -0
  656. package/UIComponents/icons/LaunchIcon.js +13 -0
  657. package/UIComponents/icons/MenuIcon.js +13 -0
  658. package/UIComponents/icons/PriceIcon.js +13 -0
  659. package/UIComponents/icons/ReorderIcon.js +13 -0
  660. package/UIComponents/icons/SearchIcon.js +13 -0
  661. package/UIComponents/icons/SettingsIcon.js +13 -0
  662. package/UIComponents/icons/SortIcon.js +13 -0
  663. package/UIComponents/icons/TranslateIcon.js +13 -0
  664. package/UIComponents/icons/UpdateIcon.js +13 -0
  665. package/UIComponents/icons/ViewListIcon.js +13 -0
  666. package/UIComponents/icons/ZoomResetIcon.js +13 -0
  667. package/Utils/Async/Deferred.js +139 -0
  668. package/Utils/Async/newestRequest.js +55 -0
  669. package/Utils/Decorators/Observable.js +112 -0
  670. package/Utils/Dev/RequestApiToken.js +44 -0
  671. package/Utils/Dev/withStateProps.js +43 -0
  672. package/Utils/Error/createError.js +34 -0
  673. package/Utils/Events/pointerEvent.js +114 -0
  674. package/Utils/FunDraw/createMask.js +126 -0
  675. package/Utils/FunDraw/funDraw.js +561 -0
  676. package/Utils/FunDraw/movableObject.js +207 -0
  677. package/Utils/Function/sendMessage.js +22 -0
  678. package/Utils/HOCs/AsyncProps.js +123 -0
  679. package/Utils/HOCs/LocalState.js +107 -0
  680. package/Utils/HOCs/RemappedProps.js +32 -0
  681. package/Utils/Request/lazyFetch.js +109 -0
  682. package/Utils/Request/pathParams.js +21 -0
  683. package/Utils/Test/provideStore.js +30 -0
  684. package/Utils/Test/wrapperSelectors.js +22 -0
  685. package/default.js +19 -0
  686. package/dev.js +61 -0
  687. package/index.js +18 -0
  688. package/package.json +40 -103
  689. package/scripts/getDefaultWebpackConfig.js +1 -1
  690. package/src/App/Main.js +1 -2
  691. package/src/App/Styles.scss +185 -185
  692. package/src/Components/FormFragments/File.js +4 -2
  693. package/src/Components/FormFragments/IntlInput.js +2 -5
  694. package/src/Components/Menu.js +9 -1
  695. package/src/Components/Styles.scss +113 -113
  696. package/src/Components/Translations.js +4 -2
  697. package/src/Screens/Assemblypointeditor/Components/Styles.scss +58 -58
  698. package/src/Screens/Assemblypointeditor/Styles.scss +37 -37
  699. package/src/Screens/ConfigurationVariants/Reducers/Reducer.js +2 -2
  700. package/src/Screens/Creator/Components/ComponentEditor.js +9 -5
  701. package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/EditableText.js +1 -1
  702. package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/Image.js +1 -1
  703. package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +1 -1
  704. package/src/Screens/Creator/Components/VisualizationAndMediaData/Translations.js +3 -3
  705. package/src/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.js +1 -1
  706. package/src/Screens/Dashboard/Styles.scss +2 -2
  707. package/src/Screens/Designer/Components/DesignDataTransfer.js +1 -1
  708. package/src/Screens/Designer/Components/TemplateDefaultList.js +1 -2
  709. package/src/Screens/Designer/SubScreens/Designviews/Containers/Edit.js +5 -9
  710. package/src/Screens/Designer/Translations.js +1 -1
  711. package/src/Screens/Inspirations/Containers/Edit.js +1 -1
  712. package/src/Screens/Inspirations/Screen.js +6 -0
  713. package/src/Screens/Item/Reducers/Actions.js +73 -73
  714. package/src/Screens/Item/Translations.js +4 -2
  715. package/src/UIComponents/Table/TableHead.js +1 -2
  716. package/src/dev.js +3 -3
  717. package/babel.config.js +0 -1
  718. package/public/favicon.ico +0 -0
  719. package/scripts/cpPath.js +0 -152
  720. package/scripts/updateLocalPackages.js +0 -68
@@ -0,0 +1,166 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.VisualizationContainer = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _propTypes = _interopRequireDefault(require("prop-types"));
13
+
14
+ var _withStyles = _interopRequireDefault(require("@material-ui/core/styles/withStyles"));
15
+
16
+ var _cssElementQueries = require("css-element-queries");
17
+
18
+ var _VisualizationInterface = require("redhotmagma-visualization/VisualizationInterface");
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
21
+
22
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
23
+
24
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
25
+
26
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
27
+
28
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
29
+
30
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
31
+
32
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
33
+
34
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
35
+
36
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
37
+
38
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
+
40
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
41
+
42
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
43
+
44
+ var styles = function styles() {
45
+ return {
46
+ visualizationContainer: {
47
+ width: 500,
48
+ height: 400
49
+ }
50
+ };
51
+ };
52
+ /**
53
+ * Component for the Three.js visualization
54
+ * Responsibilities:
55
+ * - renders the placeholder for the THREE.js visualization
56
+ * - updates the size of the visualization component on resize events
57
+ */
58
+
59
+
60
+ var VisualizationContainer = /*#__PURE__*/function (_React$Component) {
61
+ _inherits(VisualizationContainer, _React$Component);
62
+
63
+ var _super = _createSuper(VisualizationContainer);
64
+
65
+ function VisualizationContainer() {
66
+ var _this;
67
+
68
+ _classCallCheck(this, VisualizationContainer);
69
+
70
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
71
+ args[_key] = arguments[_key];
72
+ }
73
+
74
+ _this = _super.call.apply(_super, [this].concat(args));
75
+
76
+ _defineProperty(_assertThisInitialized(_this), "onSizeChange", function (size) {
77
+ var three = _this.props.three;
78
+ three.setSize(size);
79
+
80
+ if (three.updateZoom) {
81
+ three.updateZoom();
82
+ }
83
+ });
84
+
85
+ _defineProperty(_assertThisInitialized(_this), "containerRef", /*#__PURE__*/_react["default"].createRef());
86
+
87
+ return _this;
88
+ }
89
+
90
+ _createClass(VisualizationContainer, [{
91
+ key: "componentDidMount",
92
+ value: function componentDidMount() {
93
+ this.initialize();
94
+ }
95
+ }, {
96
+ key: "componentDidUpdate",
97
+ value: function componentDidUpdate(prevProps) {
98
+ this.initialize(prevProps);
99
+ }
100
+ }, {
101
+ key: "initialize",
102
+ value: function initialize() {
103
+ var prevProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
104
+ var three = this.props.three;
105
+
106
+ if (!three) {
107
+ // eslint-disable-next-line no-console
108
+ console.warn('Three instance is not provided! Visualization will not be rendered.');
109
+ return;
110
+ }
111
+
112
+ if (three === prevProps.three) {
113
+ // eslint-disable-next-line no-console
114
+ console.info('Three instance is the same, skipping initialization.');
115
+ return;
116
+ }
117
+
118
+ this.resizeSensor = new _cssElementQueries.ResizeSensor(this.containerRef.current, this.onSizeChange);
119
+
120
+ if (three.isInitialized()) {
121
+ // Three is already initialized, just add it to the current container instead of reloading it completely
122
+ three.addToContainer(this.containerRef.current);
123
+ } else {
124
+ three.init(this.containerRef.current);
125
+ }
126
+ }
127
+ }, {
128
+ key: "componentWillUnmount",
129
+ value: function componentWillUnmount() {
130
+ if (this.resizeSensor) {
131
+ this.resizeSensor.detach();
132
+ }
133
+ }
134
+ }, {
135
+ key: "render",
136
+ value: function render() {
137
+ var _this$props = this.props,
138
+ classes = _this$props.classes,
139
+ className = _this$props.className;
140
+ return /*#__PURE__*/_react["default"].createElement("div", {
141
+ className: "".concat(classes.visualizationContainer, " ").concat(className || ''),
142
+ ref: this.containerRef
143
+ });
144
+ }
145
+ }]);
146
+
147
+ return VisualizationContainer;
148
+ }(_react["default"].Component);
149
+
150
+ exports.VisualizationContainer = VisualizationContainer;
151
+
152
+ _defineProperty(VisualizationContainer, "propTypes", {
153
+ three: _propTypes["default"].instanceOf(_VisualizationInterface.VisualizationInterface).isRequired,
154
+ classes: _propTypes["default"].object,
155
+ className: _propTypes["default"].string
156
+ });
157
+
158
+ _defineProperty(VisualizationContainer, "defaultProps", {
159
+ classes: {}
160
+ });
161
+
162
+ var _default = (0, _withStyles["default"])(styles, {
163
+ name: 'VisualizationContainer'
164
+ })(VisualizationContainer);
165
+
166
+ exports["default"] = _default;
@@ -0,0 +1,120 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Ebene_1_xA0_Bild_1_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ x="0px" y="0px" viewBox="0 0 1000 279" style="enable-background:new 0 0 1000 279;" xml:space="preserve">
5
+ <defs>
6
+ <mask id="Mask">
7
+ <rect width="1000" height="279" fill="white"/>
8
+ <path class="st0" d="M113,7c-4.2,0.2-6.9,3.3-9.7,5.6c-32.5,27.3-59.8,59-79.4,97c-7.3,14.1-12.3,29-14.8,44.8
9
+ c-0.1,0.9,0.1,2.1-1.1,2.6C8,107.8,8,58.7,7.9,9.5c0-3,0.6-3.6,3.6-3.6C45.3,6,79.2,6,113,6C113,6.3,113,6.7,113,7z"/>
10
+ <path class="st0" d="M807.4,197.9c0,8.3-0.1,16.6,0,25c0.1,5-1.7,9.1-5.1,12.6c-4.2,4.3-9.3,5.7-15.1,3.8
11
+ c-5.8-1.8-7.9-6.5-8.2-11.9c-0.4-7.6-0.2-15.3-0.2-22.9c0-10.6-0.1-21.3,0-31.9c0.1-10.7,4.8-16.3,13.3-16.3
12
+ c8.8,0,15.2,7.1,15.2,16.8C807.4,181.3,807.4,189.6,807.4,197.9z"/>
13
+ <path class="st0" d="M353.9,199.4c0-9.8-0.3-19.7,0.1-29.5c0.3-6.5,4.7-10.9,10.2-12c6.5-1.2,11.9,1.2,15.3,6.9
14
+ c1.9,3.2,3.2,6.6,3.2,10.4c0.1,17,0.2,34,0,51c-0.1,8-7.3,14.8-15.2,15c-8.2,0.2-13.2-4.5-13.6-13.8c-0.4-9.3-0.1-18.6-0.1-28
15
+ C353.9,199.4,353.9,199.4,353.9,199.4z"/>
16
+ <path class="st0" d="M738.2,194c0,12.2,0.1,23.4,0,34.5c0,4.1-6.4,9.6-12.6,11.2c-9.7,2.5-16.9-2.7-17.6-12.7
17
+ c-0.6-9,2.4-16.4,10.2-21.3C724.3,201.6,730.9,198.1,738.2,194z"/>
18
+ <path class="st0" d="M982.8,194.1c0,10.3,0,19.6,0,28.9c0,8.9-3.9,14-12.4,16.4c-9.4,2.7-16.3-1.6-17.7-11.2
19
+ c-1.2-8.5,1.1-15.9,8.1-21.3C967.3,201.9,975,198.5,982.8,194.1z"/>
20
+ <path class="st0" d="M299.4,192.8c-3.8-0.5-9.8,2-12.6-1c-2.7-2.9-0.6-8.9-0.8-13.5c-0.1-3.6,0-7.3,0.9-10.9
21
+ c1.7-6.9,6.1-10.5,13-10.7c7.3-0.1,12.3,3.2,14,10.1c1.9,7.8,0.7,15.9,0.9,23.8c0.1,2.2-1.7,2.1-3.2,2.1
22
+ C307.8,192.9,304,192.8,299.4,192.8z"/>
23
+ <path class="st0" d="M494.9,199.2c0-9.7-0.3-19.3,0.1-29c0.3-7.4,4.9-11.7,11.9-12.5c10.6-1.2,16.7,3.7,17,14.5
24
+ c0.3,17.6,0.3,35.3,0,53c-0.2,9.7-5.5,14.8-14.4,15.1c-9.1,0.3-14.5-4.5-14.8-13.7c-0.2-9.2-0.1-18.3-0.1-27.5
25
+ C494.7,199.2,494.8,199.2,494.9,199.2z"/>
26
+ </mask>
27
+ </defs>
28
+ <style type="text/css">
29
+ .st0{fill:black;}
30
+ .st1{fill:#F26B74;}
31
+ .st2{fill:#EC1C29;}
32
+ .st3{fill:#F59197;}
33
+ .st4{fill:#D9DCDC;}
34
+ .st5{fill:#B3B8B8;}
35
+ .st6{fill:#EC1C29;}
36
+ .st7{fill:#F48289;}
37
+ .st8{fill:#F6989D;}
38
+ .st9{fill:#EE333F;}
39
+ .st10{fill:#F04954;}
40
+ </style>
41
+ <g>
42
+
43
+ <path class="st1" d="M113,7c-4.1,8.3-9.2,16.1-13,24.6c-13.5,30.1-11.3,58.7,7.3,85.9c4.2,6.2,8.5,12.3,12.8,18.4
44
+ c-1.4,2.9-4.4,2.7-6.9,3.2c-12.7,2.7-25.6,4-38.3,6.4c-15.6,3.1-27.8,11.2-37.2,23.8c-7.6,10.2-12.6,21.4-12.4,34.4
45
+ c0.1,6.8,1.9,13.1,4.6,19.2c0.8,1.9,2.5,3.7,1,6c-10.1-9.6-15-22-19-34.9c-1.5-5-1.6-10.4-3.9-15.2c0-1.3,0-2.7,0-4
46
+ c0.9-4.7,0.9-9.3,0-14c0-1.3,0-2.7,0-4c3.8-36,22.5-65.1,43.8-93c9.3-12.2,19.5-23.6,30.4-34.3c7.5-7.3,15.2-14.4,23.7-20.6
47
+ C107.9,7.6,110,5.6,113,7z"/>
48
+
49
+ <path class="st2" d="M787,280c-1.5-1.6-3.6-1.4-5.4-2c-7.7-2.8-11.9-8.2-12.4-16.4c-0.1-1.7-0.3-3.8,2.3-3.3c2.2,0.4,6-2.1,6.4,2.1
50
+ c0.9,8.1,7,11.6,16.2,10.7c7.9-0.8,12.8-5.6,13.2-13.6c0.3-5.3,0.1-10.6,0.1-17c-5.7,5.2-11.4,8-18.5,7.7
51
+ c-8.9-0.4-14.7-4.5-17.3-13c-1-3.2-1.5-6.5-1.5-9.8c0-18.6-0.2-37.3,0-55.9c0.2-15.3,10.8-23.4,25.8-20.3c4.4,0.9,7.6,3.7,10.6,6.7
52
+ c1.2-0.8,1.1-1.7,1-2.5c-0.7-4.4,2-4.1,5-4.3c3.9-0.3,3.8,1.8,3.8,4.6c0,33.8,0,67.6-0.1,101.4c0,14.5-7.5,23-21,24.3
53
+ c-2.3,1-4.9-0.4-7.1,0.9C787.7,280,787.3,280,787,280z" mask="url(#Mask)"/>
54
+ <path class="st3" d="M8,161c1.6,4.7,1.6,9.3,0,14C8,170.3,8,165.7,8,161z"/>
55
+ <path class="st4" d="M996.8,240.2c0.4-0.1,0.8-0.1,1.2-0.2c0,2.7,0,5.3,0,8c-0.3,0-0.7,0-1,0C995.2,245.4,995.1,242.8,996.8,240.2z"/>
56
+ <path class="st5" d="M788,280c2.2-1.9,4.7-0.7,7.1-0.9c0,0.3-0.1,0.6-0.1,0.9C792.7,280,790.3,280,788,280z"/>
57
+ <path class="st6" d="M31,229c-1.8-6-5.2-11.3-6.2-17.7c-2.6-16.1,2.2-30,12.1-42.5c7.4-9.1,16.7-15.5,28.1-17.6
58
+ c9.8-1.9,19.8-1,29.7,1.1c11.2,2.4,22.2,5.8,33.5,7.5c2.8,0.4,5.6,0.5,8.4,0.9c0.5,0.1,1,0.3,1.5,0.6c4.4,5.5,6.3,12.1,6.9,18.9
59
+ c1.5,16.9-1.5,32.9-11.7,46.8c-6.5,8.8-14.6,15.8-25.1,19.8c-0.5,0.1-1,0.3-1.4,0.4c-2.9,0.9-5.9,1.6-8.8,2.6
60
+ C71.8,255.4,49.2,249.2,31,229z"/>
61
+ <path class="st2" d="M850.2,156.4c12.6-11.6,27.9-11.3,35.4,2.7c4.3-5,9-9.3,15.9-10.5c12.1-2.2,21.2,4.2,22.7,16.3
62
+ c1.2,9.8,0.6,19.6,0.7,29.4c0.1,16.5-0.1,33,0.1,49.5c0,3.5-1.1,4.5-4.5,4.5c-3.4,0-4.5-0.8-4.5-4.4c0.2-22.7,0.1-45.3,0.1-68
63
+ c0-2-0.1-4-0.1-6c-0.4-9.3-4.7-13.9-12.8-13.8c-8.3,0.2-15.8,7.1-15.8,14.9c-0.1,24.2-0.1,48.3,0.1,72.5c0,3.7-1,4.7-4.7,4.8
64
+ c-3.9,0-4.2-1.7-4.2-4.8c0.1-23,0.1-46,0-69c0-1.7,0-3.3-0.1-5c-0.6-9-5.3-13.6-13.3-13.4c-7,0.2-15.6,7.2-15.4,14.6
65
+ c0.7,24,0.2,48,0.3,72c0,3.1,0.5,5.6-4.4,5.7c-5.1,0.1-4.5-2.7-4.5-5.9c0-29.2,0-58.3,0-87.5c0-2.8-1-5.8,4.1-5.8
66
+ c4.9,0,5,2.4,4.7,5.8C849.9,155.4,850,155.7,850.2,156.4z" mask="url(#Mask)"/>
67
+ <path class="st2" d="M605.2,156.5c15.8-12,26.7-11.2,35.5,2.7c1.6-1.7,3-3.5,4.7-4.9c6.8-5.9,14.6-7.7,23.2-4.5
68
+ c8.1,3,11,9.6,11.1,17.3c0.3,26,0.1,52,0.2,78c0,3.9-2.5,3-4.7,3.2c-2.8,0.3-4.2-0.4-4.1-3.7c0.1-22.5,0.1-45,0.1-67.5
69
+ c0-3,0-6-0.2-9c-0.5-8.3-6.4-13-14.6-11.7c-8.3,1.3-14.2,8.2-14.2,16.7c0,23.3,0,46.6,0,70c0,2.8,0.6,5.3-4,5.4
70
+ c-4.9,0.1-4.3-2.6-4.3-5.6c0-22.8,0-45.6,0-68.5c0-2-0.1-4-0.4-6c-1.2-8.4-5.8-12.5-13.5-12.1c-8.3,0.5-15.1,7.1-15.1,14.8
71
+ c0,24.2-0.1,48.3,0.1,72.5c0,3.6-0.8,4.9-4.7,4.9c-3.9,0-4.2-1.7-4.2-4.8c0.1-29.5,0.1-59,0-88.5c0-3-0.6-5.7,4.3-5.8
72
+ c5-0.1,4.9,2.5,4.6,5.8C605,155.4,605.1,155.7,605.2,156.5z" mask="url(#Mask)"/>
73
+ <path class="st2" d="M383.4,239c-3.5,4.1-6.2,6.7-9.7,8.3c-13.9,6.1-27.9-2.1-28.4-17.6c-0.7-20.1-0.5-40.3,0-60.4
74
+ c0.2-8,3.8-15.1,12-18.1c9.4-3.5,18-1.6,25.6,7.1c0-6.3,0-11.5,0-16.7c0-9.3,0.1-18.7-0.1-28c-0.1-3.4,1.4-3.9,4.2-3.7
75
+ c2.5,0.1,4.8-0.4,4.8,3.7c-0.1,43.6-0.1,87.3,0,130.9c0,3.3-1.2,3.9-4.1,3.8c-2.7-0.1-4.7-0.3-4.2-3.7
76
+ C383.5,243.2,383.4,241.9,383.4,239z" mask="url(#Mask)"/>
77
+ <path class="st7" d="M137.9,162.1c-0.2-0.1-0.5-0.2-0.7-0.2c-5.9-7.4-10.6-15.6-16-23.3c-0.5-0.7-0.5-1.6-0.3-2.4
78
+ c35-9.7,50.7-36.2,59.9-68.8c4.4,28.2,1.5,56-4,83.6c-0.2,1.1-0.1,2.2-1,3c-10.4,6.7-21.8,9.8-34.2,9.3
79
+ C140.3,163.3,139,162.9,137.9,162.1z" mask="url(#Mask)"/>
80
+ <path class="st2" d="M425,156.5c6.3-6,12.6-9,20.3-8.2c10.7,1.2,17.2,7.5,17.4,18.4c0.4,26.2,0.1,52.3,0.2,78.5
81
+ c0,4.5-3.2,2.6-5.3,3c-2.9,0.5-3.6-0.8-3.6-3.6c0.1-22.8,0.1-45.7,0.1-68.5c0-1.7,0.1-3.3,0-5c-0.5-9.5-4.9-14.3-13.1-14.2
82
+ c-8.9,0.1-15.8,6.5-15.8,15.2c-0.1,20.8,0,41.7,0,62.5c0,2.8-0.3,5.7,0.1,8.5c0.5,4.2-1,5.5-5.2,5.2c-3.2-0.2-3.8-1.3-3.8-4.2
83
+ c0.1-43.5,0.1-87,0-130.5c0-3.8,1.5-4.2,4.7-4.4c3.7-0.2,4.3,1.4,4.3,4.6C424.9,127.7,425,141.5,425,156.5z" mask="url(#Mask)"/>
84
+ <path class="st2" d="M746.8,201.1c0,11.2,0,22.3,0,33.5c0,2.9,0.3,5.1,4,5.6c3.6,0.5,1.7,3.7,1.9,5.7c0.3,2.6-1.8,2.2-3.4,2.2
85
+ c-3.4-0.1-7.2-0.3-8.9-3.4c-2-3.5-3.4-3.2-6.2-1.1c-3,2.4-6.8,3.6-10.6,4.2c-13,2.2-21.8-3.8-24-17c-2.2-13.3,1.5-24.5,13.2-32
86
+ c6.6-4.2,13.6-7.7,20.5-11.3c3.4-1.8,5.2-4.1,4.7-8.3c-0.4-3.4,0.1-7-0.1-10.5c-0.4-7.5-4-11.2-11-11.7c-8.1-0.6-12.7,2.6-14.1,10
87
+ c-0.5,2.8-1.1,5.7-0.8,8.4c0.5,4.3-1.6,4.7-5.1,4.8c-4.3,0.2-4-2.4-3.8-5.1c0.1-2,0.3-4,0.5-6c2-17.5,18.5-26.1,34.2-17.8
88
+ c6.9,3.6,8.8,10.1,8.9,17.2C747,179.4,746.8,190.3,746.8,201.1z" mask="url(#Mask)"/>
89
+ <path class="st2" d="M996.8,240.2c0.1,2.6,0.1,5.2,0.2,7.8c-5.9,0.3-11.5,0.2-14.2-6.9c-5.5,3.8-11.1,6.8-17.8,7
90
+ c-11.3,0.3-18.9-5-20.6-16.1c-2.1-13.9-0.1-25.5,15-34.5c6.5-3.9,13.3-7.5,20.1-11.1c2.7-1.4,3.7-3.4,3.5-6.5
91
+ c-0.4-4.3-0.3-8.6-0.7-12.9c-0.6-6.4-3.9-9.4-10.3-10c-7.2-0.7-11.9,1.9-13.9,7.7c-1.2,3.4-1.1,6.9-1.1,10.4c0.1,3.6-0.9,5.2-5,5.1
92
+ c-4.3,0-3.9-2.4-3.8-5.1c0-1,0-2,0-3c0.3-19.2,15.7-29.1,33.5-21.3c7.4,3.2,9.7,9.6,9.7,17.1c0,22,0.1,44-0.1,65.9
93
+ C991.1,238.1,992.3,240.4,996.8,240.2z" mask="url(#Mask)"/>
94
+ <path class="st2" d="M304.4,199.8c-5,0-10,0.1-15,0c-2.5-0.1-3.5,0.6-3.5,3.3c0.2,7.3-0.1,14.7,0.1,22c0.4,9.8,5.1,14.8,13.7,15
95
+ c9.6,0.2,14.9-4.7,15.2-14.5c0.1-2.3,0.3-4.7,0-7c-0.5-4,1-5.2,4.9-5c2.7,0.2,4,0.7,3.8,3.7c-0.3,4.3,0.2,8.6-0.5,13
96
+ c-1.9,11.8-9.8,17.9-23.2,17.8c-12.2,0-20.5-6.8-22.1-17.9c-0.2-1.5-0.4-3-0.4-4.5c0-17.8-0.1-35.6,0-53.5
97
+ c0.2-19.4,18.6-29.9,35.7-20.5c6.3,3.5,8.9,9.3,9.8,16c1.3,9.6,0.4,19.3,0.7,28.9c0.1,2.8-1.4,3.3-3.7,3.2
98
+ C314.7,199.8,309.6,199.8,304.4,199.8z" mask="url(#Mask)"/>
99
+ <path class="st2" d="M485.8,199.5c0-9.5-0.1-19,0-28.5c0.1-8.9,3.7-16.1,12-19.6c9.4-3.9,18.9-4,27.5,2.3c4.1,3,6.4,7.4,6.7,12.4
100
+ c1.3,21.4,1.7,42.9-0.2,64.3c-1.1,11.7-12,19.2-24.6,18.4c-13.6-0.9-21.2-8.4-21.4-21.3c-0.1-3.8,0-7.7,0-11.5
101
+ C485.8,210.5,485.8,205,485.8,199.5z" mask="url(#Mask)"/>
102
+ <path class="st2" d="M556.8,199.5c0-12-0.2-24,0.1-36c0.1-4.6-1.1-6.3-5.7-5.8c-2.3,0.3-5.4,1.3-5.3-3.4c0-3.8,0.9-5.7,4.9-4.9
103
+ c5.3,1,6.5-1.5,6.1-6.3c-0.4-5.1,0.1-10.3-0.1-15.5c-0.1-3.4,1.9-3.3,4.2-3.2c2.3,0.1,4.8-0.5,4.7,3.3c-0.2,6,0.1,12-0.1,18
104
+ c-0.1,2.8,0.8,4,3.7,3.8c2.2-0.2,4.4,0.2,6.5-0.1c5-0.8,5.5,2,5.2,5.8c-0.1,1.9-0.7,2.8-2.7,2.7c-0.5,0-1,0-1.5,0
105
+ c-11.1,0.3-11.1,0.3-11.1,11.7c0,20.2,0,40.3,0,60.5c0,9.9,1.5,11.2,11.4,10.5c1.6-0.1,4-1,3.8,2.2c-0.1,2.4,1.2,5.7-3.2,5.8
106
+ c-2,0.1-4,0.4-6,0.4c-11.5-0.1-14.8-3.4-14.8-14.9C556.8,222.5,556.8,211,556.8,199.5z" mask="url(#Mask)"/>
107
+ <path class="st8" d="M176,153c0.3-0.7,0.6-1.3,0.8-2c2,1.5,3-0.6,4.2-1.4c9.3-6,16.8-14,23.8-22.5c0.7-0.9,1.5-1.7,2.5-2.9
108
+ c1.4,2.9,0,5.1-0.7,7.3c-9.4,26.8-23.3,51-40.9,73.3c-12.9,16.3-27.8,30.4-47,39.3c-3.7,1.7-7.4,3.9-11.7,3.9
109
+ c-0.6-0.3-0.6-0.7-0.1-1.1l0,0c23-9.7,40.7-25.1,52.1-47.7c6.6-13.2,11.3-27,15.1-41.1C174.6,156.4,174.9,154.6,176,153z" mask="url(#Mask)"/>
110
+ <path class="st2" d="M242.6,163.3c5.5-7.3,12-12.2,20.5-16.2c0,3.2-0.1,5.9,0,8.6c0.1,2-0.7,2.8-2.6,3.5c-11.7,4.6-18,14-18,26.4
111
+ c0,19.3-0.1,38.6,0.1,57.9c0,3.3-0.7,4.7-4.4,4.7c-3.5,0-4.4-1-4.4-4.5c0.1-30,0.1-59.9,0-89.9c0-3.4,0.7-4.6,4.3-4.6
112
+ c3.6,0,4.6,1.4,4.4,4.7C242.4,157.1,242.6,160.2,242.6,163.3z" mask="url(#Mask)"/>
113
+ <path class="st9" d="M120.9,136.2c4.7,6.9,9.4,13.8,14,20.8c1,1.5,1.5,3.2,2.3,4.9c-9.4,0.5-18.3-2.3-27.3-4.4
114
+ c-12.1-2.8-24-5.9-36.7-5.6c-12.5,0.3-22.6,5.5-31.8,13.2c-1.5,1.3-2.5,3.1-4.5,3.8c7.6-11.4,18-19.2,31.3-22.9
115
+ c14.5-4.1,29.6-4.9,44.3-8c2.6-0.5,5.1-1.3,7.6-2C120.4,136,120.6,136.1,120.9,136.2z" mask="url(#Mask)"/>
116
+ <path class="st10" d="M107,247c0,0.4,0,0.7,0.1,1.1c-3,0.9-5.9,2.1-9.1,1.9C100.7,248.2,103.8,247.3,107,247z" mask="url(#Mask)"/>
117
+ <path class="st10" d="M176,153c-0.8,10-4.5,19.3-7.8,28.6c-6.5,18-15.5,34.6-30,47.5c-9.1,8.1-19.1,14.8-31.2,17.8
118
+ c6.4-4.3,13.1-8,19-13.3c16.5-14.6,24-49.4,12.5-69.8c-0.3-0.6-0.4-1.3-0.6-1.9C151.5,163,164.1,159.6,176,153z" mask="url(#Mask)"/>
119
+ </g>
120
+ </svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 4h-2l3-3 3 3h-2v2h-2v-2zm2 16h2l-3 3-3-3h2v-2h2v2zm-10-7v2l-3-3 3-3v2h2v2h-2zm18-2v-2l3 3-3 3v-2h-2v-2h2zm-4-3h-10v8h10v-8z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="red" d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="green" d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="blue" d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"/><path d="M0 0h24v24H0z" fill="none"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path transform="scale(0.6) translate(30,6) rotate(90)" d="M7.621 20.621l3.379 3.379h-11v-10.999l3.379 3.378 5.793-5.793 4.242 4.242-5.793 5.793zm2.965-11.449l4.242 4.242 5.793-5.793 3.379 3.378v-10.999h-11l3.379 3.379-5.793 5.793z"/></svg>
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.DEFAULT_CYLINDER_RADIUS = exports.DEFAULT_BASE_SHAPE_WIDTH = exports.DEFAULT_BASE_SHAPE_PADDING = void 0;
7
+ var DEFAULT_BASE_SHAPE_PADDING = 1;
8
+ exports.DEFAULT_BASE_SHAPE_PADDING = DEFAULT_BASE_SHAPE_PADDING;
9
+ var DEFAULT_BASE_SHAPE_WIDTH = 100;
10
+ exports.DEFAULT_BASE_SHAPE_WIDTH = DEFAULT_BASE_SHAPE_WIDTH;
11
+ var DEFAULT_CYLINDER_RADIUS = 100;
12
+ exports.DEFAULT_CYLINDER_RADIUS = DEFAULT_CYLINDER_RADIUS;
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.applyLinks = exports.multiplyToPixel = exports.withChange = exports.calcPathValue = exports.withRatio = void 0;
7
+
8
+ var _get = _interopRequireDefault(require("lodash/get"));
9
+
10
+ var _set = _interopRequireDefault(require("lodash/set"));
11
+
12
+ var _calculateBoundingBoxSize = require("./calculateBoundingBoxSize");
13
+
14
+ var _Constants = require("./Constants");
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+
18
+ /**
19
+ * Calculates the ratio of the values at the given path in prevData and nextData objects
20
+ * if it's different than 1 it calls fn and returns true,
21
+ * otherwise returns false
22
+ * @param {object} prevData
23
+ * @param {object} nextData
24
+ * @param {string} path
25
+ * @param {function} fn
26
+ * @return {boolean}
27
+ */
28
+ var withRatio = function withRatio(prevData, nextData, path, fn) {
29
+ var r = (0, _get["default"])(nextData, path) / (0, _get["default"])(prevData, path);
30
+
31
+ if (r && Math.abs(r - 1) > 0.0001) {
32
+ fn(r);
33
+ return true;
34
+ }
35
+
36
+ return false;
37
+ };
38
+ /**
39
+ * Calls fn to change the value at the given path in the given object
40
+ * @param {object} obj
41
+ * @param {string} path
42
+ * @param {function} fn
43
+ */
44
+
45
+
46
+ exports.withRatio = withRatio;
47
+
48
+ var calcPathValue = function calcPathValue(obj, path, fn) {
49
+ (0, _set["default"])(obj, path, fn((0, _get["default"])(obj, path)));
50
+ };
51
+ /**
52
+ * Reads the values at the given path from prevData and nextData objects,
53
+ * if the values are different it calls fn and returns true,
54
+ * otherwise returns false
55
+ * @param {object} prevData
56
+ * @param {object} nextData
57
+ * @param {string} path
58
+ * @param {function} fn
59
+ * @return {boolean}
60
+ */
61
+
62
+
63
+ exports.calcPathValue = calcPathValue;
64
+
65
+ var withChange = function withChange(prevData, nextData, path, fn) {
66
+ var nv = (0, _get["default"])(nextData, path);
67
+ var pv = (0, _get["default"])(prevData, path);
68
+
69
+ if (nv !== pv) {
70
+ fn(nv, pv);
71
+ return true;
72
+ }
73
+
74
+ return false;
75
+ };
76
+
77
+ exports.withChange = withChange;
78
+
79
+ var multiplyToPixel = function multiplyToPixel(m) {
80
+ return function (v) {
81
+ return Math.round(v * m);
82
+ };
83
+ };
84
+
85
+ exports.multiplyToPixel = multiplyToPixel;
86
+ var sizeMin = 5;
87
+
88
+ var applyLinks = function applyLinks(prevData, nextData) {
89
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
90
+ var positionRatio = options.positionRatio,
91
+ _options$baseShapePad = options.baseShapePadding,
92
+ baseShapePadding = _options$baseShapePad === void 0 ? _Constants.DEFAULT_BASE_SHAPE_PADDING : _options$baseShapePad; // set min value for area size
93
+
94
+ if ((0, _get["default"])(nextData, 'position.width') <= sizeMin) {
95
+ (0, _set["default"])(nextData, 'position.width', sizeMin);
96
+ }
97
+
98
+ if ((0, _get["default"])(nextData, 'position.height') <= sizeMin) {
99
+ (0, _set["default"])(nextData, 'position.height', sizeMin);
100
+ }
101
+
102
+ withChange(prevData, nextData, 'baseShape.type', function (t) {
103
+ if (t === 'Cylinder') {
104
+ calcPathValue(nextData, 'baseShape.r', function (v) {
105
+ return v || _Constants.DEFAULT_CYLINDER_RADIUS;
106
+ });
107
+ }
108
+ });
109
+ withRatio(prevData, nextData, 'baseShape.width', function (r) {
110
+ calcPathValue(nextData, 'position.width', multiplyToPixel(r));
111
+ }) || withRatio(prevData, nextData, 'baseShape.height', function (r) {
112
+ calcPathValue(nextData, 'position.height', multiplyToPixel(r));
113
+ });
114
+ withChange(prevData, nextData, 'position.width', function (w) {
115
+ calcPathValue(nextData, 'position.height', function () {
116
+ return multiplyToPixel(1 / positionRatio)(w);
117
+ });
118
+ }) || withChange(prevData, nextData, 'position.height', function (h) {
119
+ calcPathValue(nextData, 'position.width', function () {
120
+ return multiplyToPixel(positionRatio)(h);
121
+ });
122
+ }); // calculate base shape width and height based on the bounding rectangle of the position data
123
+
124
+ var _calculateBoundingBox = (0, _calculateBoundingBoxSize.calculateBoundingBoxSize)(nextData.position),
125
+ width = _calculateBoundingBox.width,
126
+ height = _calculateBoundingBox.height;
127
+
128
+ (0, _set["default"])(nextData, 'baseShape.width', Math.round(width) + baseShapePadding);
129
+ (0, _set["default"])(nextData, 'baseShape.height', Math.round(height) + baseShapePadding); // set min value for base shape size
130
+
131
+ if ((0, _get["default"])(nextData, 'baseShape.width') <= sizeMin) {
132
+ (0, _set["default"])(nextData, 'baseShape.width', sizeMin);
133
+ }
134
+
135
+ if ((0, _get["default"])(nextData, 'baseShape.height') <= sizeMin) {
136
+ (0, _set["default"])(nextData, 'baseShape.height', sizeMin);
137
+ }
138
+
139
+ if ((0, _get["default"])(nextData, 'baseShape.type') === 'Cylinder') {
140
+ var minRadius = Math.max(Math.floor((0, _get["default"])(nextData, 'baseShape.width', 0) / Math.PI / 2), sizeMin);
141
+
142
+ if ((0, _get["default"])(nextData, 'baseShape.r', 0) < minRadius) {
143
+ (0, _set["default"])(nextData, 'baseShape.r', minRadius);
144
+ }
145
+ } // recalculating the position with the baseShape size change ratio
146
+
147
+
148
+ withRatio(prevData, nextData, 'baseShape.width', function (r) {
149
+ isFinite(r) && calcPathValue(nextData, 'position.x', function (v) {
150
+ return v * r;
151
+ });
152
+ });
153
+ withRatio(prevData, nextData, 'baseShape.height', function (r) {
154
+ isFinite(r) && calcPathValue(nextData, 'position.y', function (v) {
155
+ return v * r;
156
+ });
157
+ });
158
+ };
159
+
160
+ exports.applyLinks = applyLinks;