@configuratorware/configurator-admingui 1.41.1 → 1.42.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.
- package/App/Api.js +29 -86
- package/App/Config/app.js +15 -38
- package/App/Config/defaultConfig.js +4 -5
- package/App/Config/icons.js +4 -9
- package/App/Config/network.js +2 -5
- package/App/Data.js +25 -115
- package/App/Entity.js +5 -17
- package/App/ErrorBoundary.js +14 -39
- package/App/FeatureReducers.js +4 -14
- package/App/Frame.js +10 -33
- package/App/Listeners.js +3 -21
- package/App/Main.js +34 -99
- package/App/Reducers/Api/Actions.js +34 -110
- package/App/Reducers/Api/Helpers.js +19 -42
- package/App/Reducers/Api/Reducer.js +8 -26
- package/App/Reducers/Common/Form/Actions.js +3 -7
- package/App/Reducers/Common/Form/Reducer.js +16 -23
- package/App/Reducers/Common/Language/Actions.js +3 -7
- package/App/Reducers/Common/Language/Reducer.js +9 -16
- package/App/Reducers/Common/OrderList/Actions.js +21 -48
- package/App/Reducers/Common/OrderList/Listener.js +9 -13
- package/App/Reducers/Common/OrderList/Reducer.js +11 -30
- package/App/Reducers/Common/index.js +2 -7
- package/App/Reducers/Config/Actions.js +3 -7
- package/App/Reducers/Config/Reducer.js +8 -15
- package/App/Reducers/Entity/Actions.js +49 -166
- package/App/Reducers/Entity/Reducer.js +28 -94
- package/App/Reducers/Frame/Actions.js +7 -19
- package/App/Reducers/Frame/Reducer.js +9 -26
- package/App/Reducers/index.js +8 -21
- package/App/ReduxListener.js +13 -20
- package/App/ReduxPersistLoader.js +1 -8
- package/App/Routes.js +4 -18
- package/App/Selectors/Credentials/hasCredentialFor.js +0 -1
- package/App/Services/ElementRef.js +8 -12
- package/App/Services/WindowCommunication.js +10 -27
- package/App/Services/index.js +2 -6
- package/App/Store.js +9 -29
- package/App/Styles.scss +18 -3
- package/App/TestHelpers.js +16 -59
- package/App/ThemeProvider.js +8 -13
- package/App/Translations.js +11 -2
- package/App/Utils.js +5 -17
- package/App/customSetup.js +0 -2
- package/App/i18n.js +41 -105
- package/App/index.js +14 -41
- package/App/initServices.js +11 -36
- package/App/setup.js +1 -4
- package/AppContainer.js +2 -16
- package/Components/AddButton.js +2 -9
- package/Components/AppBar.js +27 -29
- package/Components/CallToActionField.js +58 -94
- package/Components/CopyPaste.js +11 -43
- package/Components/DefaultConnectedForm.js +10 -29
- package/Components/DefaultConnectedList.js +19 -42
- package/Components/DefaultConnectedScreen.js +7 -21
- package/Components/DefaultForm.js +22 -49
- package/Components/DefaultList.js +35 -108
- package/Components/DefaultScreen.js +35 -83
- package/Components/Error.js +1 -8
- package/Components/Form.js +46 -148
- package/Components/FormFragments/AttributeValueChip.js +41 -99
- package/Components/FormFragments/AutoComplete.js +42 -95
- package/Components/FormFragments/AutocompleteEntity.js +41 -91
- package/Components/FormFragments/Checkbox.js +1 -10
- package/Components/FormFragments/Chip.js +44 -101
- package/Components/FormFragments/DatePicker.js +1 -7
- package/Components/FormFragments/DateTimePicker.js +1 -7
- package/Components/FormFragments/DynSourceInput.js +18 -69
- package/Components/FormFragments/ErrorWrapper.js +1 -7
- package/Components/FormFragments/File.js +44 -66
- package/Components/FormFragments/HintText.js +4 -10
- package/Components/FormFragments/InlineAddButton.js +30 -81
- package/Components/FormFragments/InputArray.js +32 -101
- package/Components/FormFragments/InputGroup.js +6 -15
- package/Components/FormFragments/InputWithSource.js +9 -34
- package/Components/FormFragments/IntlInput.js +19 -79
- package/Components/FormFragments/Label.js +4 -10
- package/Components/FormFragments/MarkDown.js +20 -49
- package/Components/FormFragments/MonacoEditor.js +17 -37
- package/Components/FormFragments/NestedDataComponent.js +23 -80
- package/Components/FormFragments/ObjectToggle.js +2 -14
- package/Components/FormFragments/RadioGroup.js +1 -10
- package/Components/FormFragments/Select.js +7 -17
- package/Components/FormFragments/SetInput.js +24 -71
- package/Components/FormFragments/SimpleNestedData.js +20 -48
- package/Components/FormFragments/SimpleTable.js +25 -72
- package/Components/FormFragments/SimpleTextEditor.js +6 -12
- package/Components/FormFragments/Subheadline.js +16 -0
- package/Components/FormFragments/Tabs.js +40 -106
- package/Components/FormFragments/Text.js +1 -8
- package/Components/FormFragments/TimePicker.js +1 -7
- package/Components/FormFragments/Toggle.js +3 -16
- package/Components/FormFragments/TwoSideSelect.js +19 -78
- package/Components/FormFragments/Value.js +8 -18
- package/Components/FormFragments/index.js +37 -47
- package/Components/FormFragments/styles.js +12 -2
- package/Components/FormHooks/useDataSchema.js +14 -29
- package/Components/GeneralFragments/Box.js +1 -8
- package/Components/GeneralFragments/ConfigurationEditor.js +74 -121
- package/Components/GeneralFragments/ConfiguratorOverlay.js +19 -42
- package/Components/GeneralFragments/Content.js +1 -8
- package/Components/GeneralFragments/Headline.js +7 -14
- package/Components/GeneralFragments/Image.js +11 -41
- package/Components/GeneralFragments/MiniPopup.js +29 -71
- package/Components/GeneralFragments/index.js +8 -14
- package/Components/InputHelpers.js +2 -5
- package/Components/Join.js +3 -11
- package/Components/LicenseInfo.js +12 -41
- package/Components/List.js +33 -97
- package/Components/ListColumnFilter.js +18 -65
- package/Components/LocaleSwitch.js +3 -17
- package/Components/LocalizedPriceTextField.js +27 -41
- package/Components/LocalizedPriceValue.js +6 -14
- package/Components/Menu.js +18 -66
- package/Components/ModalContainer.js +49 -51
- package/Components/OrderList.js +29 -80
- package/Components/OverlayContainer.js +6 -12
- package/Components/Pagination.js +20 -60
- package/Components/ProfileButton.js +9 -26
- package/Components/SearchBar.js +16 -55
- package/Components/SplitContainer.js +14 -20
- package/Components/Styles.scss +27 -0
- package/Components/TranslateComponent.js +17 -61
- package/Components/TranslationFinder.js +8 -28
- package/Components/Translations.js +11 -4
- package/Components/ValidatorCallbackProvider.js +13 -43
- package/Components/VersionBadge.js +2 -12
- package/Components/VersionUpdateChip.js +2 -16
- package/Components/withLoadAction.js +4 -17
- package/Components/withTranslationFinder.js +6 -15
- package/Resources/Images/configuratorware_logo_weiss.png +0 -0
- package/Screens/ApiKeys/Containers/Edit.js +48 -86
- package/Screens/ApiKeys/Containers/List.js +1 -8
- package/Screens/ApiKeys/Reducers/Actions.js +17 -37
- package/Screens/ApiKeys/Reducers/Reducer.js +11 -15
- package/Screens/ApiKeys/Screen.js +1 -11
- package/Screens/ApiKeys/Translations.js +2 -0
- package/Screens/ApiKeys/index.js +2 -8
- package/Screens/Assemblypointeditor/Components/AssemblypointTable.js +26 -58
- package/Screens/Assemblypointeditor/Components/Assemblypointeditor.js +156 -224
- package/Screens/Assemblypointeditor/Components/fabric.min.js +1 -1
- package/Screens/Assemblypointeditor/Containers/Edit.js +6 -17
- package/Screens/Assemblypointeditor/Containers/List.js +4 -14
- package/Screens/Assemblypointeditor/Reducers/Actions.js +20 -36
- package/Screens/Assemblypointeditor/Reducers/Reducer.js +14 -32
- package/Screens/Assemblypointeditor/Screen.js +5 -22
- package/Screens/Assemblypointeditor/Translations.js +4 -0
- package/Screens/Assemblypointeditor/index.js +2 -8
- package/Screens/Attribute/Containers/Edit.js +5 -9
- package/Screens/Attribute/Containers/List.js +1 -8
- package/Screens/Attribute/Reducers/Actions.js +16 -35
- package/Screens/Attribute/Reducers/Reducer.js +11 -15
- package/Screens/Attribute/Screen.js +1 -11
- package/Screens/Attribute/Translations.js +4 -2
- package/Screens/Attribute/__tests/AttributeScreen.js +29 -72
- package/Screens/Attribute/index.js +2 -8
- package/Screens/AttributeValue/Containers/Edit.js +7 -13
- package/Screens/AttributeValue/Containers/List.js +7 -17
- package/Screens/AttributeValue/Reducers/Actions.js +6 -15
- package/Screens/AttributeValue/Reducers/Reducer.js +12 -16
- package/Screens/AttributeValue/Screen.js +4 -18
- package/Screens/AttributeValue/Translations.js +4 -2
- package/Screens/AttributeValue/__tests/AttributeValueScreen.js +29 -72
- package/Screens/AttributeValue/index.js +2 -8
- package/Screens/ChangePassword/Reducers/Actions.js +9 -30
- package/Screens/ChangePassword/Reducers/Reducer.js +8 -17
- package/Screens/ChangePassword/Screen.js +23 -60
- package/Screens/ChangePassword/index.js +2 -8
- package/Screens/Channel/Containers/Edit.js +7 -14
- package/Screens/Channel/Containers/List.js +2 -12
- package/Screens/Channel/Reducers/Actions.js +5 -13
- package/Screens/Channel/Reducers/Reducer.js +11 -17
- package/Screens/Channel/Screen.js +2 -14
- package/Screens/Channel/Translations.js +4 -2
- package/Screens/Channel/__tests/ChannelScreen.js +31 -75
- package/Screens/Channel/index.js +2 -8
- package/Screens/Client/Components/ColorTextField.js +14 -39
- package/Screens/Client/Components/PdfMarkdownField.js +22 -50
- package/Screens/Client/Containers/Edit.js +39 -33
- package/Screens/Client/Containers/List.js +7 -17
- package/Screens/Client/Reducers/Actions.js +19 -50
- package/Screens/Client/Reducers/Reducer.js +11 -20
- package/Screens/Client/Screen.js +4 -18
- package/Screens/Client/Translations.js +16 -2
- package/Screens/Client/index.js +2 -8
- package/Screens/ColorPalettes/Components/DefaultColorSwitch.js +12 -54
- package/Screens/ColorPalettes/Containers/Edit.js +14 -29
- package/Screens/ColorPalettes/Containers/List.js +7 -19
- package/Screens/ColorPalettes/Reducers/Actions.js +6 -15
- package/Screens/ColorPalettes/Reducers/Reducer.js +12 -16
- package/Screens/ColorPalettes/Screen.js +4 -18
- package/Screens/ColorPalettes/Translations.js +2 -0
- package/Screens/ColorPalettes/index.js +2 -8
- package/Screens/ConfigurationTypeEditor/Containers/Edit.js +14 -29
- package/Screens/ConfigurationTypeEditor/Containers/List.js +3 -15
- package/Screens/ConfigurationTypeEditor/Reducers/Actions.js +27 -68
- package/Screens/ConfigurationTypeEditor/Reducers/Reducer.js +12 -37
- package/Screens/ConfigurationTypeEditor/Screen.js +19 -55
- package/Screens/ConfigurationVariants/Containers/Edit.js +16 -31
- package/Screens/ConfigurationVariants/Containers/List.js +2 -12
- package/Screens/ConfigurationVariants/Reducers/Actions.js +8 -19
- package/Screens/ConfigurationVariants/Reducers/Reducer.js +13 -19
- package/Screens/ConfigurationVariants/Screen.js +2 -14
- package/Screens/ConfigurationVariants/Translations.js +4 -2
- package/Screens/ConfigurationVariants/index.js +2 -8
- package/Screens/ConfigurationWorkflowStatus/Containers/Edit.js +13 -28
- package/Screens/ConfigurationWorkflowStatus/Containers/List.js +20 -72
- package/Screens/ConfigurationWorkflowStatus/Reducers/Actions.js +20 -51
- package/Screens/ConfigurationWorkflowStatus/Reducers/Reducer.js +9 -28
- package/Screens/ConfigurationWorkflowStatus/Screen.js +13 -42
- package/Screens/ConfigurationWorkflowStatus/index.js +2 -9
- package/Screens/ConfigurationWorkflowStatus/initServices.js +1 -4
- package/Screens/Creator/Components/BaseConfigurationEditor.js +18 -74
- package/Screens/Creator/Components/CheckData/ApiCalls.js +17 -27
- package/Screens/Creator/Components/CheckData/CheckData.js +81 -135
- package/Screens/Creator/Components/CheckData/Constants.js +27 -51
- package/Screens/Creator/Components/CheckData/Translations.js +4 -4
- package/Screens/Creator/Components/ComponentEditor.js +58 -107
- package/Screens/Creator/Components/ConfiguratorQuickView.js +9 -26
- package/Screens/Creator/Components/OptionPriceEditor.js +12 -34
- package/Screens/Creator/Components/OptionclassificationEditor.js +40 -165
- package/Screens/Creator/Components/Rules/Containers/Edit.js +26 -82
- package/Screens/Creator/Components/Rules/Containers/List.js +4 -17
- package/Screens/Creator/Components/Rules/Containers/RuleForms/AdditionalOption.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/AttributeValueGroupAutoSwitch.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/DefaultOption.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMatch.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMaxSum.js +12 -37
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMaxAmount.js +12 -38
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMinAmount.js +12 -38
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionDependency.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionExclusion.js +12 -40
- package/Screens/Creator/Components/Rules/Containers/RuleForms/OptionMaxAmount.js +12 -38
- package/Screens/Creator/Components/Rules/Containers/RuleForms/RuleForm.js +22 -76
- package/Screens/Creator/Components/Rules/Containers/RuleForms/index.js +2 -15
- package/Screens/Creator/Components/Rules/index.js +11 -41
- package/Screens/Creator/Components/ShowPreviewErrorDialog.js +5 -16
- package/Screens/Creator/Components/VisualizationAndMediaData/ApiCalls.js +16 -26
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/ConfirmDelete.js +7 -19
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/EditableText.js +15 -44
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/Image.js +11 -30
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +112 -177
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/PathStructure.js +11 -31
- package/Screens/Creator/Components/VisualizationAndMediaData/Components/ViewEdit.js +16 -43
- package/Screens/Creator/Components/VisualizationAndMediaData/Translations.js +4 -4
- package/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.js +314 -449
- package/Screens/Creator/Components/VisualizationAndMediaData/dev.js +26 -63
- package/Screens/Creator/Components/VisualizationAndMediaData/index.js +0 -2
- package/Screens/Creator/Containers/Edit.js +21 -120
- package/Screens/Creator/Containers/List.js +6 -14
- package/Screens/Creator/Reducers/Actions.js +13 -23
- package/Screens/Creator/Reducers/ConfigurationActions.js +205 -345
- package/Screens/Creator/Reducers/ConfigurationReducer.js +27 -88
- package/Screens/Creator/Reducers/CreatorReducer.js +8 -15
- package/Screens/Creator/Reducers/Rules/Actions.js +26 -63
- package/Screens/Creator/Reducers/Rules/Reducer.js +9 -27
- package/Screens/Creator/Screen.js +2 -15
- package/Screens/Creator/Translations.js +3 -3
- package/Screens/Creator/index.js +2 -10
- package/Screens/CurrentClient/Containers/Edit.js +24 -20
- package/Screens/CurrentClient/Reducers/Actions.js +11 -20
- package/Screens/CurrentClient/Reducers/Reducer.js +10 -14
- package/Screens/CurrentClient/Screen.js +1 -6
- package/Screens/CurrentClient/Translations.js +12 -2
- package/Screens/CurrentClient/index.js +2 -8
- package/Screens/Dashboard/Screen.js +2 -18
- package/Screens/DefaultClient/Containers/Edit.js +29 -21
- package/Screens/DefaultClient/Reducers/Actions.js +11 -20
- package/Screens/DefaultClient/Reducers/Reducer.js +11 -14
- package/Screens/DefaultClient/Screen.js +1 -6
- package/Screens/DefaultClient/Translations.js +14 -2
- package/Screens/DefaultClient/index.js +2 -8
- package/Screens/Demo/Screen.js +13 -44
- package/Screens/Demo/index.js +2 -6
- package/Screens/DesignProductionMethods/Containers/Edit.js +27 -36
- package/Screens/DesignProductionMethods/Containers/List.js +3 -15
- package/Screens/DesignProductionMethods/Reducers/Actions.js +12 -21
- package/Screens/DesignProductionMethods/Reducers/DesignProductionMethodsReducer.js +12 -16
- package/Screens/DesignProductionMethods/Screen.js +2 -15
- package/Screens/DesignProductionMethods/Translations.js +6 -0
- package/Screens/DesignProductionMethods/index.js +2 -8
- package/Screens/DesignTemplateEditor/Containers/List.js +4 -17
- package/Screens/DesignTemplateEditor/Reducers/Actions.js +1 -6
- package/Screens/DesignTemplateEditor/Reducers/Reducer.js +2 -8
- package/Screens/DesignTemplateEditor/Screen.js +1 -10
- package/Screens/DesignTemplateEditor/index.js +2 -8
- package/Screens/Designer/Components/ConfiguratorQuickView.js +9 -26
- package/Screens/Designer/Components/DesignDataTransfer.js +98 -180
- package/Screens/Designer/Components/TemplateDefaultList.js +31 -114
- package/Screens/Designer/Components/TemplateList.js +18 -78
- package/Screens/Designer/Containers/Edit.js +32 -98
- package/Screens/Designer/Containers/List.js +6 -14
- package/Screens/Designer/Containers/TemplateList.js +2 -11
- package/Screens/Designer/Reducers/Actions.js +16 -29
- package/Screens/Designer/Reducers/DesignerReducer.js +9 -16
- package/Screens/Designer/Screen.js +2 -14
- package/Screens/Designer/SubScreens/DesignAreas/Components/ColorPalettes.js +23 -78
- package/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.js +32 -101
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/InlineFileInput.js +7 -18
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorCanvas.js +56 -83
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorField.js +73 -147
- package/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/withFileUpload.js +43 -73
- package/Screens/Designer/SubScreens/DesignAreas/Containers/ConnectedMaskEditorField.js +22 -41
- package/Screens/Designer/SubScreens/DesignAreas/Containers/Edit.js +13 -40
- package/Screens/Designer/SubScreens/DesignAreas/Containers/FormProductionMethods.js +38 -201
- package/Screens/Designer/SubScreens/DesignAreas/Containers/List.js +5 -18
- package/Screens/Designer/SubScreens/DesignAreas/Reducers/Actions.js +23 -56
- package/Screens/Designer/SubScreens/DesignAreas/Reducers/Reducer.js +14 -29
- package/Screens/Designer/SubScreens/DesignAreas/Screen.js +2 -17
- package/Screens/Designer/SubScreens/DesignAreas/Translations.js +2 -0
- package/Screens/Designer/SubScreens/DesignAreas/Utils/getFreeFormUrl.js +2 -7
- package/Screens/Designer/SubScreens/DesignAreas/Utils/getMaskSrcByType.js +6 -11
- package/Screens/Designer/SubScreens/DesignAreas/Utils/maskTypes.js +2 -3
- package/Screens/Designer/SubScreens/DesignAreas/index.js +1 -7
- package/Screens/Designer/SubScreens/Designviews/Containers/Edit.js +29 -51
- package/Screens/Designer/SubScreens/Designviews/Containers/List.js +5 -18
- package/Screens/Designer/SubScreens/Designviews/Reducers/Actions.js +45 -95
- package/Screens/Designer/SubScreens/Designviews/Reducers/Reducer.js +20 -37
- package/Screens/Designer/SubScreens/Designviews/Screen.js +2 -16
- package/Screens/Designer/SubScreens/Designviews/Translations.js +2 -0
- package/Screens/Designer/SubScreens/Designviews/index.js +1 -7
- package/Screens/Designer/SubScreens/Visualization/ApiCalls.js +34 -52
- package/Screens/Designer/SubScreens/Visualization/Components/AdvancedShapeEditor.js +38 -66
- package/Screens/Designer/SubScreens/Visualization/Components/AreaEditor.js +110 -188
- package/Screens/Designer/SubScreens/Visualization/Components/AreaEditorForm.js +18 -56
- package/Screens/Designer/SubScreens/Visualization/Components/EntryList.js +8 -25
- package/Screens/Designer/SubScreens/Visualization/Components/ExpansionContainer.js +17 -55
- package/Screens/Designer/SubScreens/Visualization/Components/Three2DEditor.js +644 -671
- package/Screens/Designer/SubScreens/Visualization/Components/VisualizationContainer.js +16 -56
- package/Screens/Designer/SubScreens/Visualization/Components/resources/move.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Components/resources/point.svg +1 -0
- package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-x.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-y.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-z.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Components/resources/rotate.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Components/resources/size.svg +1 -1
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/Constants.js +3 -6
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/DataLinks.js +20 -48
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/Edit.js +259 -446
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/VisualizationUtils.js +65 -90
- package/Screens/Designer/SubScreens/Visualization/Containers/Edit/calculateBoundingBoxSize.js +20 -32
- package/Screens/Designer/SubScreens/Visualization/Containers/List.js +18 -66
- package/Screens/Designer/SubScreens/Visualization/Screen.js +6 -20
- package/Screens/Designer/SubScreens/Visualization/Translations.js +4 -2
- package/Screens/Designer/SubScreens/Visualization/index.js +1 -5
- package/Screens/Designer/index.js +2 -8
- package/Screens/DesignerGlobalItemPrices/Containers/Edit.js +8 -24
- package/Screens/DesignerGlobalItemPrices/Containers/List.js +9 -17
- package/Screens/DesignerGlobalItemPrices/Reducers/Actions.js +13 -23
- package/Screens/DesignerGlobalItemPrices/Reducers/Reducer.js +12 -16
- package/Screens/DesignerGlobalItemPrices/Screen.js +2 -16
- package/Screens/DesignerGlobalItemPrices/index.js +2 -8
- package/Screens/Finder/Containers/Edit.js +7 -13
- package/Screens/Finder/Containers/List.js +2 -12
- package/Screens/Finder/Reducers/Actions.js +68 -96
- package/Screens/Finder/Reducers/FinderReducer.js +12 -16
- package/Screens/Finder/Screen.js +4 -17
- package/Screens/Finder/Translations.js +4 -2
- package/Screens/Finder/index.js +2 -8
- package/Screens/Font/Containers/Edit.js +11 -13
- package/Screens/Font/Containers/List.js +12 -26
- package/Screens/Font/Reducers/Actions.js +7 -30
- package/Screens/Font/Reducers/Reducer.js +12 -21
- package/Screens/Font/Screen.js +4 -18
- package/Screens/Font/Translations.js +4 -2
- package/Screens/Font/index.js +2 -8
- package/Screens/Group/Containers/Edit.js +7 -13
- package/Screens/Group/Containers/List.js +7 -17
- package/Screens/Group/Reducers/Actions.js +9 -19
- package/Screens/Group/Reducers/Reducer.js +13 -17
- package/Screens/Group/Screen.js +4 -18
- package/Screens/Group/Translations.js +4 -2
- package/Screens/Group/index.js +2 -8
- package/Screens/GroupEntry/Containers/Edit.js +12 -20
- package/Screens/GroupEntry/Containers/List.js +7 -17
- package/Screens/GroupEntry/Reducers/Actions.js +8 -17
- package/Screens/GroupEntry/Reducers/Reducer.js +13 -17
- package/Screens/GroupEntry/Screen.js +4 -18
- package/Screens/GroupEntry/Translations.js +4 -2
- package/Screens/GroupEntry/index.js +2 -8
- package/Screens/ImageGallery/Containers/Edit.js +28 -52
- package/Screens/ImageGallery/Containers/List.js +56 -117
- package/Screens/ImageGallery/ImageTags/Actions.js +4 -18
- package/Screens/ImageGallery/ImageTags/Container/TagsEdit.js +1 -8
- package/Screens/ImageGallery/ImageTags/Editor.js +7 -14
- package/Screens/ImageGallery/ImageTags/Reducer.js +5 -3
- package/Screens/ImageGallery/ImageTags/TagsActions.js +16 -35
- package/Screens/ImageGallery/ImageTags/TagsEditorPopup.js +11 -40
- package/Screens/ImageGallery/Reducers/Actions.js +14 -37
- package/Screens/ImageGallery/Reducers/Reducer.js +12 -21
- package/Screens/ImageGallery/Screen.js +4 -18
- package/Screens/ImageGallery/Translations.js +4 -2
- package/Screens/ImageGallery/index.js +2 -8
- package/Screens/ImageGallery/res/checkers_tile.png +0 -0
- package/Screens/Inspirations/Containers/Edit.js +20 -43
- package/Screens/Inspirations/Containers/InspirationsSubscreen.js +2 -16
- package/Screens/Inspirations/Containers/ItemInspirationsList.js +6 -14
- package/Screens/Inspirations/Containers/List.js +3 -14
- package/Screens/Inspirations/Reducers/Actions.js +31 -65
- package/Screens/Inspirations/Reducers/ItemInspirationsActions.js +9 -16
- package/Screens/Inspirations/Reducers/Reducer.js +13 -23
- package/Screens/Inspirations/Screen.js +14 -47
- package/Screens/Inspirations/Translations.js +6 -2
- package/Screens/Inspirations/index.js +2 -8
- package/Screens/Item/ApiCalls.js +18 -27
- package/Screens/Item/Components/AttributeEditorPopup.js +13 -46
- package/Screens/Item/Components/ConfiguratorQuickView.js +12 -29
- package/Screens/Item/Components/CopyCreatorItemDialog.js +51 -107
- package/Screens/Item/Components/ListItemStatusEditor.js +43 -89
- package/Screens/Item/Components/Styles.scss +5 -1
- package/Screens/Item/Components/Variants/VariantsAutocomplete.js +147 -248
- package/Screens/Item/Components/Variants/VariantsEditor.js +45 -164
- package/Screens/Item/Components/Variants/VariantsEditorDialog.js +20 -52
- package/Screens/Item/Components/Variants/VariantsEditorPopup.js +26 -67
- package/Screens/Item/Components/Variants/VariantsSelection.js +21 -59
- package/Screens/Item/Components/Variants/VariantsSortFilter.js +17 -69
- package/Screens/Item/Containers/Edit.js +92 -165
- package/Screens/Item/Containers/List.js +12 -39
- package/Screens/Item/DataStructures/Attributes/Actions.js +3 -19
- package/Screens/Item/DataStructures/Attributes/Editor.js +14 -24
- package/Screens/Item/DataStructures/Attributes/Reducer.js +5 -4
- package/Screens/Item/Reducers/Actions.js +15 -41
- package/Screens/Item/Reducers/ItemReducer.js +12 -19
- package/Screens/Item/Reducers/Variant/Actions.js +6 -14
- package/Screens/Item/Reducers/Variant/Reducer.js +12 -21
- package/Screens/Item/Screen.js +2 -14
- package/Screens/Item/Translations.js +6 -2
- package/Screens/Item/index.js +2 -10
- package/Screens/Itemclassification/Containers/Edit.js +9 -24
- package/Screens/Itemclassification/Containers/List.js +10 -23
- package/Screens/Itemclassification/Reducers/Actions.js +9 -20
- package/Screens/Itemclassification/Reducers/Reducer.js +12 -18
- package/Screens/Itemclassification/Screen.js +4 -17
- package/Screens/Itemclassification/Translations.js +4 -2
- package/Screens/Itemclassification/index.js +2 -8
- package/Screens/License/Reducers/Actions.js +6 -20
- package/Screens/License/Reducers/Reducer.js +9 -19
- package/Screens/License/Screen.js +10 -40
- package/Screens/License/index.js +2 -8
- package/Screens/Login/Reducers/Actions.js +11 -43
- package/Screens/Login/Reducers/Listener.js +7 -11
- package/Screens/Login/Reducers/Reducer.js +12 -29
- package/Screens/Login/Screen.js +27 -69
- package/Screens/Login/__tests/LoginScreen.js +17 -63
- package/Screens/Option/Containers/Edit.js +18 -32
- package/Screens/Option/Containers/List.js +7 -21
- package/Screens/Option/Reducers/Actions.js +7 -17
- package/Screens/Option/Reducers/Reducer.js +12 -21
- package/Screens/Option/Screen.js +2 -14
- package/Screens/Option/Translations.js +6 -2
- package/Screens/Option/index.js +2 -8
- package/Screens/OptionPools/Containers/Edit.js +15 -21
- package/Screens/OptionPools/Containers/List.js +2 -12
- package/Screens/OptionPools/Reducers/Actions.js +8 -19
- package/Screens/OptionPools/Reducers/Reducer.js +14 -19
- package/Screens/OptionPools/Screen.js +2 -14
- package/Screens/OptionPools/Translations.js +6 -2
- package/Screens/OptionPools/index.js +2 -8
- package/Screens/Optionclassification/Containers/Edit.js +27 -40
- package/Screens/Optionclassification/Containers/List.js +10 -23
- package/Screens/Optionclassification/Reducers/Actions.js +7 -17
- package/Screens/Optionclassification/Reducers/Reducer.js +12 -18
- package/Screens/Optionclassification/Screen.js +4 -18
- package/Screens/Optionclassification/Translations.js +6 -2
- package/Screens/Optionclassification/index.js +2 -8
- package/Screens/PriceTypes/Containers/Edit.js +15 -21
- package/Screens/PriceTypes/Containers/List.js +7 -19
- package/Screens/PriceTypes/Reducers/Actions.js +6 -15
- package/Screens/PriceTypes/Reducers/Reducer.js +12 -16
- package/Screens/PriceTypes/Screen.js +4 -17
- package/Screens/PriceTypes/Translations.js +6 -2
- package/Screens/PriceTypes/index.js +2 -8
- package/Screens/ProductionView/Components/ConfigurationDataSheet.js +19 -49
- package/Screens/ProductionView/Containers/Edit.js +6 -16
- package/Screens/ProductionView/Containers/List.js +14 -48
- package/Screens/ProductionView/Reducers/Actions.js +13 -23
- package/Screens/ProductionView/Reducers/Reducer.js +12 -16
- package/Screens/ProductionView/Screen.js +3 -20
- package/Screens/ProductionView/Translations.js +4 -2
- package/Screens/ProductionView/index.js +2 -8
- package/Screens/ReceiveOfferRequests/Components/ConfigurationDataSheet.js +47 -69
- package/Screens/ReceiveOfferRequests/Containers/Edit.js +6 -16
- package/Screens/ReceiveOfferRequests/Containers/List.js +16 -47
- package/Screens/ReceiveOfferRequests/Reducers/Actions.js +13 -23
- package/Screens/ReceiveOfferRequests/Reducers/Reducer.js +11 -15
- package/Screens/ReceiveOfferRequests/Screen.js +4 -20
- package/Screens/ReceiveOfferRequests/Translations.js +10 -0
- package/Screens/ReceiveOfferRequests/index.js +2 -8
- package/Screens/Roles/Containers/Edit.js +12 -19
- package/Screens/Roles/Containers/List.js +7 -17
- package/Screens/Roles/Reducers/Actions.js +12 -21
- package/Screens/Roles/Reducers/Reducer.js +11 -15
- package/Screens/Roles/Screen.js +4 -17
- package/Screens/Roles/Translations.js +2 -0
- package/Screens/Roles/index.js +2 -8
- package/Screens/Savedconfigurations/Components/ConfigurationDataSheet.js +51 -74
- package/Screens/Savedconfigurations/Containers/Edit.js +6 -16
- package/Screens/Savedconfigurations/Containers/List.js +16 -63
- package/Screens/Savedconfigurations/Reducers/Actions.js +12 -21
- package/Screens/Savedconfigurations/Reducers/Reducer.js +11 -15
- package/Screens/Savedconfigurations/Screen.js +3 -20
- package/Screens/Savedconfigurations/Translations.js +2 -0
- package/Screens/Savedconfigurations/index.js +2 -8
- package/Screens/Setting/Containers/Edit.js +18 -43
- package/Screens/Setting/Reducers/Actions.js +23 -46
- package/Screens/Setting/Reducers/Reducer.js +12 -16
- package/Screens/Setting/Screen.js +1 -10
- package/Screens/Setting/Translations.js +2 -0
- package/Screens/Setting/index.js +2 -8
- package/Screens/SoftwareUpdates/Reducers/Actions.js +5 -13
- package/Screens/SoftwareUpdates/Reducers/Reducer.js +9 -20
- package/Screens/SoftwareUpdates/Screen.js +5 -26
- package/Screens/SoftwareUpdates/index.js +2 -8
- package/Screens/Tag/Containers/Edit.js +5 -8
- package/Screens/Tag/Containers/List.js +6 -17
- package/Screens/Tag/Reducers/Actions.js +16 -35
- package/Screens/Tag/Reducers/Reducer.js +12 -16
- package/Screens/Tag/Screen.js +1 -11
- package/Screens/Tag/Translations.js +4 -2
- package/Screens/Tag/index.js +2 -8
- package/Screens/TrackingCodes/Containers/Edit.js +6 -12
- package/Screens/TrackingCodes/Containers/List.js +2 -12
- package/Screens/TrackingCodes/Reducers/Actions.js +16 -34
- package/Screens/TrackingCodes/Reducers/Reducer.js +11 -18
- package/Screens/TrackingCodes/Screen.js +2 -14
- package/Screens/TrackingCodes/Translations.js +4 -2
- package/Screens/TrackingCodes/index.js +2 -8
- package/Screens/TranslationFileHandling/Containers/Edit.js +126 -161
- package/Screens/TranslationFileHandling/Containers/List.js +7 -16
- package/Screens/TranslationFileHandling/Reducers/Actions.js +6 -15
- package/Screens/TranslationFileHandling/Reducers/Reducer.js +12 -16
- package/Screens/TranslationFileHandling/Screen.js +4 -17
- package/Screens/TranslationFileHandling/Translations.js +4 -2
- package/Screens/TranslationFileHandling/index.js +2 -8
- package/Screens/User/Containers/Edit.js +9 -9
- package/Screens/User/Containers/List.js +13 -8
- package/Screens/User/Reducers/Actions.js +16 -33
- package/Screens/User/Reducers/Reducer.js +12 -16
- package/Screens/User/Screen.js +1 -11
- package/Screens/User/Translations.js +3 -1
- package/Screens/User/__tests/UserScreen.js +31 -75
- package/Screens/User/index.js +2 -8
- package/Screens/index.js +4 -62
- package/UIComponents/AppBar.js +1 -5
- package/UIComponents/AutoComplete.js +49 -110
- package/UIComponents/Button.js +1 -5
- package/UIComponents/ButtonBase.js +1 -5
- package/UIComponents/Checkbox.js +1 -5
- package/UIComponents/Chip.js +1 -5
- package/UIComponents/ChipInput.js +40 -98
- package/UIComponents/CircularProgress.js +2 -5
- package/UIComponents/ClickAwayListener.js +1 -5
- package/UIComponents/Collapse.js +1 -5
- package/UIComponents/DatePicker.js +4 -20
- package/UIComponents/DateTimePicker.js +4 -20
- package/UIComponents/Dialog.js +8 -27
- package/UIComponents/Drawer.js +1 -5
- package/UIComponents/FlatButton.js +6 -22
- package/UIComponents/FloatingActionButton.js +3 -10
- package/UIComponents/FontIcon.js +1 -5
- package/UIComponents/FormControl.js +1 -5
- package/UIComponents/FormControlLabel.js +1 -5
- package/UIComponents/Grow.js +1 -5
- package/UIComponents/IconButton.js +1 -5
- package/UIComponents/IconMenu.js +22 -70
- package/UIComponents/InlineHelp/index.js +14 -42
- package/UIComponents/Input.js +1 -5
- package/UIComponents/InputAdornment.js +1 -5
- package/UIComponents/InputLabel.js +1 -5
- package/UIComponents/LinearProgress.js +1 -5
- package/UIComponents/Link.js +3 -14
- package/UIComponents/List.js +1 -5
- package/UIComponents/ListItem.js +1 -5
- package/UIComponents/ListItemIcon.js +1 -5
- package/UIComponents/ListItemText.js +1 -5
- package/UIComponents/Menu.js +1 -5
- package/UIComponents/MenuItem.js +1 -5
- package/UIComponents/MenuList.js +1 -5
- package/UIComponents/Pagination.js +20 -64
- package/UIComponents/Paper.js +1 -5
- package/UIComponents/Popper.js +1 -5
- package/UIComponents/RadioButton/RadioButton.js +1 -5
- package/UIComponents/RadioButton/RadioGroup.js +1 -5
- package/UIComponents/RadioButton/index.js +0 -3
- package/UIComponents/RaisedButton.js +7 -21
- package/UIComponents/SelectField.js +25 -53
- package/UIComponents/Snackbar.js +1 -5
- package/UIComponents/Table/Table.js +18 -67
- package/UIComponents/Table/TableBody.js +15 -43
- package/UIComponents/Table/TableCell.js +1 -5
- package/UIComponents/Table/TableFooter.js +1 -5
- package/UIComponents/Table/TableHead.js +15 -45
- package/UIComponents/Table/TableHeadColumn.js +1 -5
- package/UIComponents/Table/TableRow.js +15 -41
- package/UIComponents/Table/TableRowColumn.js +1 -5
- package/UIComponents/Table/index.js +0 -8
- package/UIComponents/TableSortLabel.js +1 -5
- package/UIComponents/Tabs/Tab.js +1 -5
- package/UIComponents/Tabs/Tabs.js +1 -5
- package/UIComponents/Tabs/index.js +4 -7
- package/UIComponents/TextField.js +1 -5
- package/UIComponents/TimePicker.js +6 -22
- package/UIComponents/Toggle.js +1 -5
- package/UIComponents/Toolbar.js +1 -5
- package/UIComponents/Tooltip.js +1 -7
- package/UIComponents/Typography.js +1 -5
- package/UIComponents/icons/AccountCircleIcon.js +1 -5
- package/UIComponents/icons/AddCircleOutlineIcon.js +1 -5
- package/UIComponents/icons/AddIcon.js +1 -5
- package/UIComponents/icons/ArrowBackIcon.js +1 -5
- package/UIComponents/icons/CheckmarkIcon.js +1 -5
- package/UIComponents/icons/CloseIcon.js +1 -5
- package/UIComponents/icons/DeleteForeverIcon.js +1 -5
- package/UIComponents/icons/DeleteIcon.js +1 -5
- package/UIComponents/icons/ErrorIcon.js +1 -5
- package/UIComponents/icons/ExpandLessIcon.js +1 -5
- package/UIComponents/icons/ExpandMoreIcon.js +1 -5
- package/UIComponents/icons/FolderIcon.js +1 -5
- package/UIComponents/icons/ForwardIcon.js +1 -5
- package/UIComponents/icons/InfoIcon.js +1 -5
- package/UIComponents/icons/InfoOutlineIcon.js +1 -5
- package/UIComponents/icons/LanguageIcon.js +1 -5
- package/UIComponents/icons/LaunchIcon.js +1 -5
- package/UIComponents/icons/MenuIcon.js +1 -5
- package/UIComponents/icons/PriceIcon.js +1 -5
- package/UIComponents/icons/ReorderIcon.js +1 -5
- package/UIComponents/icons/SearchIcon.js +1 -5
- package/UIComponents/icons/SettingsIcon.js +1 -5
- package/UIComponents/icons/SortIcon.js +1 -5
- package/UIComponents/icons/TranslateIcon.js +1 -5
- package/UIComponents/icons/UpdateIcon.js +1 -5
- package/UIComponents/icons/ViewListIcon.js +1 -5
- package/UIComponents/icons/ZoomResetIcon.js +1 -5
- package/Utils/Async/Deferred.js +11 -40
- package/Utils/Async/newestRequest.js +30 -42
- package/Utils/Decorators/Observable.js +10 -30
- package/Utils/Dev/RequestApiToken.js +4 -13
- package/Utils/Dev/withStateProps.js +9 -24
- package/Utils/Error/createError.js +3 -11
- package/Utils/Events/pointerEvent.js +7 -30
- package/Utils/FunDraw/createMask.js +70 -85
- package/Utils/FunDraw/funDraw.js +201 -333
- package/Utils/FunDraw/movableObject.js +89 -127
- package/Utils/Function/sendMessage.js +3 -8
- package/Utils/HOCs/AsyncProps.js +44 -69
- package/Utils/HOCs/LocalState.js +18 -48
- package/Utils/HOCs/RemappedProps.js +3 -9
- package/Utils/Request/lazyFetch.js +56 -84
- package/Utils/Request/pathParams.js +2 -7
- package/Utils/Test/provideStore.js +1 -9
- package/Utils/Test/wrapperSelectors.js +4 -10
- package/default.js +0 -7
- package/dev.js +2 -11
- package/index.js +1 -4
- package/package.json +28 -25
- package/scripts/getDefaultBabelConfig.js +3 -0
- package/scripts/getDefaultWebpackConfig.js +48 -25
- package/src/App/Api.js +0 -196
- package/src/App/Config/app.js +0 -57
- package/src/App/Config/defaultConfig.js +0 -183
- package/src/App/Config/icons.js +0 -17
- package/src/App/Config/network.js +0 -19
- package/src/App/Data.js +0 -351
- package/src/App/Entity.js +0 -93
- package/src/App/ErrorBoundary.js +0 -67
- package/src/App/FeatureReducers.js +0 -36
- package/src/App/Frame.js +0 -125
- package/src/App/Listeners.js +0 -20
- package/src/App/Main.js +0 -185
- package/src/App/Reducers/Api/Actions.js +0 -177
- package/src/App/Reducers/Api/Helpers.js +0 -66
- package/src/App/Reducers/Api/Reducer.js +0 -116
- package/src/App/Reducers/Common/Form/Actions.js +0 -6
- package/src/App/Reducers/Common/Form/Reducer.js +0 -48
- package/src/App/Reducers/Common/Language/Actions.js +0 -6
- package/src/App/Reducers/Common/Language/Reducer.js +0 -27
- package/src/App/Reducers/Common/OrderList/Actions.js +0 -45
- package/src/App/Reducers/Common/OrderList/Listener.js +0 -24
- package/src/App/Reducers/Common/OrderList/Reducer.js +0 -79
- package/src/App/Reducers/Common/index.js +0 -9
- package/src/App/Reducers/Config/Actions.js +0 -7
- package/src/App/Reducers/Config/Reducer.js +0 -20
- package/src/App/Reducers/Entity/Actions.js +0 -517
- package/src/App/Reducers/Entity/Reducer.js +0 -340
- package/src/App/Reducers/Frame/Actions.js +0 -19
- package/src/App/Reducers/Frame/Reducer.js +0 -115
- package/src/App/Reducers/index.js +0 -32
- package/src/App/ReduxListener.js +0 -38
- package/src/App/ReduxPersistLoader.js +0 -12
- package/src/App/Routes.js +0 -41
- package/src/App/Selectors/Credentials/hasCredentialFor.js +0 -4
- package/src/App/Selectors/Credentials/hasCredentialFor.test.js +0 -17
- package/src/App/Services/ElementRef.js +0 -13
- package/src/App/Services/WindowCommunication.js +0 -33
- package/src/App/Services/index.js +0 -5
- package/src/App/Store.js +0 -71
- package/src/App/Styles.scss +0 -185
- package/src/App/TestHelpers.js +0 -59
- package/src/App/ThemeProvider.js +0 -56
- package/src/App/Translations.js +0 -174
- package/src/App/Utils.js +0 -20
- package/src/App/customSetup.js +0 -3
- package/src/App/i18n.js +0 -215
- package/src/App/index.js +0 -27
- package/src/App/initServices.js +0 -47
- package/src/App/setup.js +0 -18
- package/src/AppContainer.js +0 -11
- package/src/Components/AddButton.js +0 -15
- package/src/Components/AppBar.js +0 -64
- package/src/Components/CallToActionField.js +0 -95
- package/src/Components/CopyPaste.js +0 -55
- package/src/Components/DefaultConnectedForm.js +0 -85
- package/src/Components/DefaultConnectedList.js +0 -146
- package/src/Components/DefaultConnectedScreen.js +0 -66
- package/src/Components/DefaultForm.js +0 -40
- package/src/Components/DefaultList.js +0 -225
- package/src/Components/DefaultScreen.js +0 -106
- package/src/Components/Error.js +0 -20
- package/src/Components/Form.js +0 -270
- package/src/Components/FormFragments/AttributeValueChip.js +0 -140
- package/src/Components/FormFragments/AutoComplete.js +0 -184
- package/src/Components/FormFragments/AutocompleteEntity.js +0 -206
- package/src/Components/FormFragments/Checkbox.js +0 -26
- package/src/Components/FormFragments/Chip.js +0 -126
- package/src/Components/FormFragments/DatePicker.js +0 -15
- package/src/Components/FormFragments/DateTimePicker.js +0 -21
- package/src/Components/FormFragments/DynSourceInput.js +0 -128
- package/src/Components/FormFragments/ErrorWrapper.js +0 -15
- package/src/Components/FormFragments/File.js +0 -202
- package/src/Components/FormFragments/HintText.js +0 -14
- package/src/Components/FormFragments/InlineAddButton.js +0 -109
- package/src/Components/FormFragments/InputArray.js +0 -246
- package/src/Components/FormFragments/InputGroup.js +0 -46
- package/src/Components/FormFragments/InputWithSource.js +0 -49
- package/src/Components/FormFragments/IntlInput.js +0 -98
- package/src/Components/FormFragments/Label.js +0 -15
- package/src/Components/FormFragments/MarkDown.js +0 -128
- package/src/Components/FormFragments/MonacoEditor.js +0 -75
- package/src/Components/FormFragments/NestedDataComponent.js +0 -144
- package/src/Components/FormFragments/ObjectToggle.js +0 -75
- package/src/Components/FormFragments/RadioGroup.js +0 -31
- package/src/Components/FormFragments/Select.js +0 -51
- package/src/Components/FormFragments/SetInput.js +0 -67
- package/src/Components/FormFragments/SimpleNestedData.js +0 -28
- package/src/Components/FormFragments/SimpleTable.js +0 -224
- package/src/Components/FormFragments/SimpleTextEditor.js +0 -26
- package/src/Components/FormFragments/Styles.scss +0 -119
- package/src/Components/FormFragments/Tabs.js +0 -207
- package/src/Components/FormFragments/Text.js +0 -36
- package/src/Components/FormFragments/TimePicker.js +0 -16
- package/src/Components/FormFragments/Toggle.js +0 -81
- package/src/Components/FormFragments/TwoSideSelect.js +0 -163
- package/src/Components/FormFragments/Value.js +0 -33
- package/src/Components/FormFragments/index.js +0 -48
- package/src/Components/FormFragments/styles.js +0 -24
- package/src/Components/FormHooks/useDataSchema.js +0 -33
- package/src/Components/GeneralFragments/Box.js +0 -12
- package/src/Components/GeneralFragments/ConfigurationEditor.js +0 -111
- package/src/Components/GeneralFragments/ConfiguratorOverlay.js +0 -56
- package/src/Components/GeneralFragments/Content.js +0 -12
- package/src/Components/GeneralFragments/Headline.js +0 -16
- package/src/Components/GeneralFragments/Image.js +0 -25
- package/src/Components/GeneralFragments/MiniPopup.js +0 -105
- package/src/Components/GeneralFragments/Styles.scss +0 -8
- package/src/Components/GeneralFragments/index.js +0 -13
- package/src/Components/InputHelpers.js +0 -7
- package/src/Components/Join.js +0 -14
- package/src/Components/LicenseInfo.js +0 -86
- package/src/Components/List.js +0 -355
- package/src/Components/ListColumnFilter.js +0 -200
- package/src/Components/LocaleSwitch.js +0 -39
- package/src/Components/LocalizedPriceTextField.js +0 -74
- package/src/Components/LocalizedPriceValue.js +0 -20
- package/src/Components/Menu.js +0 -127
- package/src/Components/ModalContainer.js +0 -79
- package/src/Components/OrderList.js +0 -169
- package/src/Components/OverlayContainer.js +0 -22
- package/src/Components/Pagination.js +0 -90
- package/src/Components/ProfileButton.js +0 -44
- package/src/Components/SearchBar.js +0 -105
- package/src/Components/SplitContainer.js +0 -40
- package/src/Components/Styles.scss +0 -114
- package/src/Components/TranslateComponent.js +0 -140
- package/src/Components/TranslationFinder.js +0 -30
- package/src/Components/Translations.js +0 -110
- package/src/Components/ValidatorCallbackProvider.js +0 -44
- package/src/Components/VersionBadge.js +0 -27
- package/src/Components/VersionUpdateChip.js +0 -30
- package/src/Components/__tests__/LicenseInfo.test.js +0 -22
- package/src/Components/__tests__/__snapshots__/LicenseInfo.test.js.snap +0 -39
- package/src/Components/withLoadAction.js +0 -15
- package/src/Components/withTranslationFinder.js +0 -17
- package/src/Screens/ApiKeys/Containers/Edit.js +0 -74
- package/src/Screens/ApiKeys/Containers/List.js +0 -49
- package/src/Screens/ApiKeys/Reducers/Actions.js +0 -21
- package/src/Screens/ApiKeys/Reducers/Reducer.js +0 -24
- package/src/Screens/ApiKeys/Screen.js +0 -19
- package/src/Screens/ApiKeys/Styles.scss +0 -3
- package/src/Screens/ApiKeys/Translations.js +0 -29
- package/src/Screens/ApiKeys/index.js +0 -10
- package/src/Screens/Assemblypointeditor/Components/AssemblypointTable.js +0 -94
- package/src/Screens/Assemblypointeditor/Components/Assemblypointeditor.js +0 -703
- package/src/Screens/Assemblypointeditor/Components/Styles.scss +0 -58
- package/src/Screens/Assemblypointeditor/Components/fabric.min.js +0 -12282
- package/src/Screens/Assemblypointeditor/Containers/Edit.js +0 -57
- package/src/Screens/Assemblypointeditor/Containers/List.js +0 -48
- package/src/Screens/Assemblypointeditor/Reducers/Actions.js +0 -67
- package/src/Screens/Assemblypointeditor/Reducers/Reducer.js +0 -77
- package/src/Screens/Assemblypointeditor/Screen.js +0 -34
- package/src/Screens/Assemblypointeditor/Styles.scss +0 -38
- package/src/Screens/Assemblypointeditor/Translations.js +0 -11
- package/src/Screens/Assemblypointeditor/index.js +0 -9
- package/src/Screens/Attribute/Containers/Edit.js +0 -52
- package/src/Screens/Attribute/Containers/List.js +0 -53
- package/src/Screens/Attribute/Reducers/Actions.js +0 -25
- package/src/Screens/Attribute/Reducers/Reducer.js +0 -23
- package/src/Screens/Attribute/Screen.js +0 -24
- package/src/Screens/Attribute/Styles.scss +0 -0
- package/src/Screens/Attribute/Translations.js +0 -27
- package/src/Screens/Attribute/__tests/AttributeScreen.js +0 -348
- package/src/Screens/Attribute/index.js +0 -9
- package/src/Screens/AttributeValue/Containers/Edit.js +0 -37
- package/src/Screens/AttributeValue/Containers/List.js +0 -40
- package/src/Screens/AttributeValue/Reducers/Actions.js +0 -13
- package/src/Screens/AttributeValue/Reducers/Reducer.js +0 -24
- package/src/Screens/AttributeValue/Screen.js +0 -20
- package/src/Screens/AttributeValue/Styles.scss +0 -0
- package/src/Screens/AttributeValue/Translations.js +0 -18
- package/src/Screens/AttributeValue/__tests/AttributeValueScreen.js +0 -338
- package/src/Screens/AttributeValue/index.js +0 -9
- package/src/Screens/ChangePassword/Reducers/Actions.js +0 -45
- package/src/Screens/ChangePassword/Reducers/Reducer.js +0 -30
- package/src/Screens/ChangePassword/Screen.js +0 -185
- package/src/Screens/ChangePassword/Translations.js +0 -23
- package/src/Screens/ChangePassword/__tests__/ChangePasswordScreen.test.js +0 -15
- package/src/Screens/ChangePassword/__tests__/__snapshots__/ChangePasswordScreen.test.js.snap +0 -180
- package/src/Screens/ChangePassword/index.js +0 -9
- package/src/Screens/Channel/Containers/Edit.js +0 -58
- package/src/Screens/Channel/Containers/List.js +0 -29
- package/src/Screens/Channel/Reducers/Actions.js +0 -7
- package/src/Screens/Channel/Reducers/Reducer.js +0 -37
- package/src/Screens/Channel/Screen.js +0 -18
- package/src/Screens/Channel/Translations.js +0 -20
- package/src/Screens/Channel/__tests/ChannelScreen.js +0 -315
- package/src/Screens/Channel/index.js +0 -9
- package/src/Screens/Client/Components/ColorTextField.js +0 -74
- package/src/Screens/Client/Components/PdfMarkdownField.js +0 -127
- package/src/Screens/Client/Containers/Edit.js +0 -196
- package/src/Screens/Client/Containers/List.js +0 -36
- package/src/Screens/Client/Reducers/Actions.js +0 -74
- package/src/Screens/Client/Reducers/Reducer.js +0 -67
- package/src/Screens/Client/Screen.js +0 -20
- package/src/Screens/Client/Styles.scss +0 -3
- package/src/Screens/Client/Translations.js +0 -61
- package/src/Screens/Client/index.js +0 -9
- package/src/Screens/ColorPalettes/Components/DefaultColorSwitch.js +0 -61
- package/src/Screens/ColorPalettes/Containers/Edit.js +0 -121
- package/src/Screens/ColorPalettes/Containers/List.js +0 -41
- package/src/Screens/ColorPalettes/Reducers/Actions.js +0 -13
- package/src/Screens/ColorPalettes/Reducers/Reducer.js +0 -35
- package/src/Screens/ColorPalettes/Screen.js +0 -20
- package/src/Screens/ColorPalettes/Styles.scss +0 -0
- package/src/Screens/ColorPalettes/Translations.js +0 -25
- package/src/Screens/ColorPalettes/index.js +0 -9
- package/src/Screens/ConfigurationTypeEditor/Containers/Edit.js +0 -59
- package/src/Screens/ConfigurationTypeEditor/Containers/List.js +0 -55
- package/src/Screens/ConfigurationTypeEditor/Reducers/Actions.js +0 -78
- package/src/Screens/ConfigurationTypeEditor/Reducers/Reducer.js +0 -106
- package/src/Screens/ConfigurationTypeEditor/Screen.js +0 -71
- package/src/Screens/ConfigurationTypeEditor/Styles.scss +0 -0
- package/src/Screens/ConfigurationTypeEditor/Translations.js +0 -15
- package/src/Screens/ConfigurationTypeEditor/index.js +0 -1
- package/src/Screens/ConfigurationVariants/Containers/Edit.js +0 -99
- package/src/Screens/ConfigurationVariants/Containers/List.js +0 -29
- package/src/Screens/ConfigurationVariants/Containers/Styles.scss +0 -13
- package/src/Screens/ConfigurationVariants/Reducers/Actions.js +0 -10
- package/src/Screens/ConfigurationVariants/Reducers/Reducer.js +0 -33
- package/src/Screens/ConfigurationVariants/Screen.js +0 -18
- package/src/Screens/ConfigurationVariants/Translations.js +0 -36
- package/src/Screens/ConfigurationVariants/index.js +0 -9
- package/src/Screens/ConfigurationWorkflowStatus/Containers/Edit.js +0 -57
- package/src/Screens/ConfigurationWorkflowStatus/Containers/List.js +0 -170
- package/src/Screens/ConfigurationWorkflowStatus/Reducers/Actions.js +0 -82
- package/src/Screens/ConfigurationWorkflowStatus/Reducers/Reducer.js +0 -97
- package/src/Screens/ConfigurationWorkflowStatus/Screen.js +0 -38
- package/src/Screens/ConfigurationWorkflowStatus/Styles.scss +0 -0
- package/src/Screens/ConfigurationWorkflowStatus/Translations.js +0 -51
- package/src/Screens/ConfigurationWorkflowStatus/index.js +0 -10
- package/src/Screens/ConfigurationWorkflowStatus/initServices.js +0 -7
- package/src/Screens/Creator/Components/BaseConfigurationEditor.js +0 -179
- package/src/Screens/Creator/Components/CheckData/ApiCalls.js +0 -5
- package/src/Screens/Creator/Components/CheckData/CheckData.js +0 -222
- package/src/Screens/Creator/Components/CheckData/Constants.js +0 -31
- package/src/Screens/Creator/Components/CheckData/Translations.js +0 -119
- package/src/Screens/Creator/Components/ComponentEditor.js +0 -155
- package/src/Screens/Creator/Components/ConfiguratorQuickView.js +0 -83
- package/src/Screens/Creator/Components/OptionPriceEditor.js +0 -120
- package/src/Screens/Creator/Components/OptionclassificationEditor.js +0 -483
- package/src/Screens/Creator/Components/Rules/Containers/Edit.js +0 -180
- package/src/Screens/Creator/Components/Rules/Containers/List.js +0 -42
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/AdditionalOption.js +0 -37
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/AttributeValueGroupAutoSwitch.js +0 -43
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/DefaultOption.js +0 -31
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMatch.js +0 -35
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/ItemAttributeMaxSum.js +0 -34
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMaxAmount.js +0 -35
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/OptionClassificationMinAmount.js +0 -34
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/OptionDependency.js +0 -37
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/OptionExclusion.js +0 -36
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/OptionMaxAmount.js +0 -34
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/RuleForm.js +0 -155
- package/src/Screens/Creator/Components/Rules/Containers/RuleForms/index.js +0 -23
- package/src/Screens/Creator/Components/Rules/Styles.scss +0 -38
- package/src/Screens/Creator/Components/Rules/Translations.js +0 -226
- package/src/Screens/Creator/Components/Rules/index.js +0 -26
- package/src/Screens/Creator/Components/ShowPreviewErrorDialog.js +0 -46
- package/src/Screens/Creator/Components/VisualizationAndMediaData/ApiCalls.js +0 -8
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/ConfirmDelete.js +0 -41
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/EditableText.js +0 -83
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/Image.js +0 -93
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/ImageEditTools.js +0 -117
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/PathStructure.js +0 -76
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Components/ViewEdit.js +0 -58
- package/src/Screens/Creator/Components/VisualizationAndMediaData/Translations.js +0 -101
- package/src/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.js +0 -766
- package/src/Screens/Creator/Components/VisualizationAndMediaData/VisualizationAndMediaData.test.js +0 -610
- package/src/Screens/Creator/Components/VisualizationAndMediaData/__snapshots__/VisualizationAndMediaData.test.js.snap +0 -17
- package/src/Screens/Creator/Components/VisualizationAndMediaData/dev.js +0 -341
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/component_1.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_1.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_3.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/option_3_fullsize.jpg +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1_option_1.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_1_option_3.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_2_option_1.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/devImages/view_2_option_3.png +0 -0
- package/src/Screens/Creator/Components/VisualizationAndMediaData/index.js +0 -1
- package/src/Screens/Creator/Containers/Edit.js +0 -392
- package/src/Screens/Creator/Containers/List.js +0 -44
- package/src/Screens/Creator/Reducers/Actions.js +0 -25
- package/src/Screens/Creator/Reducers/ConfigurationActions.js +0 -254
- package/src/Screens/Creator/Reducers/ConfigurationReducer.js +0 -398
- package/src/Screens/Creator/Reducers/CreatorReducer.js +0 -32
- package/src/Screens/Creator/Reducers/Rules/Actions.js +0 -80
- package/src/Screens/Creator/Reducers/Rules/Reducer.js +0 -169
- package/src/Screens/Creator/Screen.js +0 -19
- package/src/Screens/Creator/Translations.js +0 -152
- package/src/Screens/Creator/index.js +0 -13
- package/src/Screens/CurrentClient/Containers/Edit.js +0 -146
- package/src/Screens/CurrentClient/Reducers/Actions.js +0 -16
- package/src/Screens/CurrentClient/Reducers/Reducer.js +0 -44
- package/src/Screens/CurrentClient/Screen.js +0 -5
- package/src/Screens/CurrentClient/Translations.js +0 -11
- package/src/Screens/CurrentClient/index.js +0 -9
- package/src/Screens/Dashboard/Screen.js +0 -25
- package/src/Screens/Dashboard/Styles.scss +0 -3
- package/src/Screens/Dashboard/Translations.js +0 -15
- package/src/Screens/DefaultClient/Containers/Edit.js +0 -162
- package/src/Screens/DefaultClient/Reducers/Actions.js +0 -16
- package/src/Screens/DefaultClient/Reducers/Reducer.js +0 -45
- package/src/Screens/DefaultClient/Screen.js +0 -5
- package/src/Screens/DefaultClient/Translations.js +0 -11
- package/src/Screens/DefaultClient/index.js +0 -9
- package/src/Screens/Demo/Screen.js +0 -92
- package/src/Screens/Demo/Styles.scss +0 -3
- package/src/Screens/Demo/index.js +0 -5
- package/src/Screens/DesignProductionMethods/Containers/Edit.js +0 -257
- package/src/Screens/DesignProductionMethods/Containers/List.js +0 -43
- package/src/Screens/DesignProductionMethods/Reducers/Actions.js +0 -14
- package/src/Screens/DesignProductionMethods/Reducers/DesignProductionMethodsReducer.js +0 -93
- package/src/Screens/DesignProductionMethods/Screen.js +0 -18
- package/src/Screens/DesignProductionMethods/Translations.js +0 -79
- package/src/Screens/DesignProductionMethods/index.js +0 -10
- package/src/Screens/DesignTemplateEditor/Containers/List.js +0 -65
- package/src/Screens/DesignTemplateEditor/Reducers/Actions.js +0 -8
- package/src/Screens/DesignTemplateEditor/Reducers/Reducer.js +0 -14
- package/src/Screens/DesignTemplateEditor/Screen.js +0 -14
- package/src/Screens/DesignTemplateEditor/Translations.js +0 -17
- package/src/Screens/DesignTemplateEditor/index.js +0 -9
- package/src/Screens/Designer/Components/ConfiguratorQuickView.js +0 -84
- package/src/Screens/Designer/Components/DesignDataTransfer.js +0 -305
- package/src/Screens/Designer/Components/TemplateDefaultList.js +0 -341
- package/src/Screens/Designer/Components/TemplateList.js +0 -249
- package/src/Screens/Designer/Containers/Edit.js +0 -234
- package/src/Screens/Designer/Containers/List.js +0 -42
- package/src/Screens/Designer/Containers/TemplateList.js +0 -49
- package/src/Screens/Designer/Reducers/Actions.js +0 -29
- package/src/Screens/Designer/Reducers/DesignerReducer.js +0 -37
- package/src/Screens/Designer/Screen.js +0 -18
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/ColorPalettes.js +0 -387
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.dev.js +0 -61
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.js +0 -150
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/FormArray.test.js +0 -46
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/InlineFileInput.js +0 -53
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorCanvas.js +0 -78
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorField.dev.js +0 -57
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/MaskEditorField.js +0 -310
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/masks/circle.svg +0 -4
- package/src/Screens/Designer/SubScreens/DesignAreas/Components/MaskEditorField/withFileUpload.js +0 -40
- package/src/Screens/Designer/SubScreens/DesignAreas/Containers/ConnectedMaskEditorField.js +0 -66
- package/src/Screens/Designer/SubScreens/DesignAreas/Containers/Edit.js +0 -154
- package/src/Screens/Designer/SubScreens/DesignAreas/Containers/FormProductionMethods.js +0 -1002
- package/src/Screens/Designer/SubScreens/DesignAreas/Containers/List.js +0 -47
- package/src/Screens/Designer/SubScreens/DesignAreas/Reducers/Actions.js +0 -94
- package/src/Screens/Designer/SubScreens/DesignAreas/Reducers/Reducer.js +0 -247
- package/src/Screens/Designer/SubScreens/DesignAreas/Screen.js +0 -19
- package/src/Screens/Designer/SubScreens/DesignAreas/Styles.scss +0 -0
- package/src/Screens/Designer/SubScreens/DesignAreas/Translations.js +0 -141
- package/src/Screens/Designer/SubScreens/DesignAreas/Utils/getFreeFormUrl.js +0 -15
- package/src/Screens/Designer/SubScreens/DesignAreas/Utils/getMaskSrcByType.js +0 -9
- package/src/Screens/Designer/SubScreens/DesignAreas/Utils/maskTypes.js +0 -5
- package/src/Screens/Designer/SubScreens/DesignAreas/index.js +0 -7
- package/src/Screens/Designer/SubScreens/Designviews/Containers/Edit.js +0 -138
- package/src/Screens/Designer/SubScreens/Designviews/Containers/List.js +0 -47
- package/src/Screens/Designer/SubScreens/Designviews/Reducers/Actions.js +0 -186
- package/src/Screens/Designer/SubScreens/Designviews/Reducers/Reducer.js +0 -111
- package/src/Screens/Designer/SubScreens/Designviews/Screen.js +0 -18
- package/src/Screens/Designer/SubScreens/Designviews/Translations.js +0 -23
- package/src/Screens/Designer/SubScreens/Designviews/index.js +0 -7
- package/src/Screens/Designer/SubScreens/Visualization/ApiCalls.js +0 -14
- package/src/Screens/Designer/SubScreens/Visualization/Components/AdvancedShapeEditor.js +0 -247
- package/src/Screens/Designer/SubScreens/Visualization/Components/AreaEditor.js +0 -174
- package/src/Screens/Designer/SubScreens/Visualization/Components/AreaEditorForm.js +0 -139
- package/src/Screens/Designer/SubScreens/Visualization/Components/EntryList.js +0 -49
- package/src/Screens/Designer/SubScreens/Visualization/Components/ExpansionContainer.js +0 -68
- package/src/Screens/Designer/SubScreens/Visualization/Components/Three2DEditor.js +0 -566
- package/src/Screens/Designer/SubScreens/Visualization/Components/VisualizationContainer.js +0 -88
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/logo.svg +0 -120
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/move.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-x.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-y.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/rotate-z.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/rotate.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Components/resources/size.svg +0 -1
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/Constants.js +0 -3
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/DataLinks.js +0 -121
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/Edit.dev.js +0 -460
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/Edit.js +0 -789
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/VisualizationUtils.js +0 -98
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/__tests__/calculateBoundingBoxSize.test.js +0 -46
- package/src/Screens/Designer/SubScreens/Visualization/Containers/Edit/calculateBoundingBoxSize.js +0 -40
- package/src/Screens/Designer/SubScreens/Visualization/Containers/List.js +0 -132
- package/src/Screens/Designer/SubScreens/Visualization/Screen.js +0 -37
- package/src/Screens/Designer/SubScreens/Visualization/Translations.js +0 -82
- package/src/Screens/Designer/SubScreens/Visualization/index.js +0 -3
- package/src/Screens/Designer/Translations.js +0 -55
- package/src/Screens/Designer/__tests__/DesigAreaEdit.js +0 -9
- package/src/Screens/Designer/__tests__/FormProductionMethods.test.js +0 -165
- package/src/Screens/Designer/__tests__/__snapshots__/FormProductionMethods.test.js.snap +0 -434
- package/src/Screens/Designer/index.js +0 -11
- package/src/Screens/DesignerGlobalItemPrices/Containers/Edit.js +0 -106
- package/src/Screens/DesignerGlobalItemPrices/Containers/List.js +0 -37
- package/src/Screens/DesignerGlobalItemPrices/Reducers/Actions.js +0 -17
- package/src/Screens/DesignerGlobalItemPrices/Reducers/Reducer.js +0 -52
- package/src/Screens/DesignerGlobalItemPrices/Screen.js +0 -20
- package/src/Screens/DesignerGlobalItemPrices/Translations.js +0 -29
- package/src/Screens/DesignerGlobalItemPrices/index.js +0 -11
- package/src/Screens/Finder/Containers/Edit.js +0 -35
- package/src/Screens/Finder/Containers/List.js +0 -36
- package/src/Screens/Finder/Reducers/Actions.js +0 -97
- package/src/Screens/Finder/Reducers/FinderReducer.js +0 -22
- package/src/Screens/Finder/Screen.js +0 -19
- package/src/Screens/Finder/Translations.js +0 -13
- package/src/Screens/Finder/index.js +0 -11
- package/src/Screens/Font/Containers/Edit.js +0 -55
- package/src/Screens/Font/Containers/List.js +0 -54
- package/src/Screens/Font/Reducers/Actions.js +0 -97
- package/src/Screens/Font/Reducers/Reducer.js +0 -40
- package/src/Screens/Font/Screen.js +0 -20
- package/src/Screens/Font/Styles.scss +0 -0
- package/src/Screens/Font/Translations.js +0 -17
- package/src/Screens/Font/index.js +0 -9
- package/src/Screens/Group/Containers/Edit.js +0 -34
- package/src/Screens/Group/Containers/List.js +0 -30
- package/src/Screens/Group/Reducers/Actions.js +0 -12
- package/src/Screens/Group/Reducers/Reducer.js +0 -21
- package/src/Screens/Group/Screen.js +0 -20
- package/src/Screens/Group/Styles.scss +0 -0
- package/src/Screens/Group/Translations.js +0 -19
- package/src/Screens/Group/index.js +0 -10
- package/src/Screens/GroupEntry/Containers/Edit.js +0 -46
- package/src/Screens/GroupEntry/Containers/List.js +0 -30
- package/src/Screens/GroupEntry/Reducers/Actions.js +0 -12
- package/src/Screens/GroupEntry/Reducers/Reducer.js +0 -21
- package/src/Screens/GroupEntry/Screen.js +0 -20
- package/src/Screens/GroupEntry/Styles.scss +0 -0
- package/src/Screens/GroupEntry/Translations.js +0 -17
- package/src/Screens/GroupEntry/index.js +0 -10
- package/src/Screens/ImageGallery/Containers/Edit.js +0 -119
- package/src/Screens/ImageGallery/Containers/List.js +0 -170
- package/src/Screens/ImageGallery/ImageTags/Actions.js +0 -25
- package/src/Screens/ImageGallery/ImageTags/Container/TagsEdit.js +0 -35
- package/src/Screens/ImageGallery/ImageTags/Editor.js +0 -54
- package/src/Screens/ImageGallery/ImageTags/Reducer.js +0 -20
- package/src/Screens/ImageGallery/ImageTags/TagsActions.js +0 -20
- package/src/Screens/ImageGallery/ImageTags/TagsEditorPopup.js +0 -35
- package/src/Screens/ImageGallery/Reducers/Actions.js +0 -114
- package/src/Screens/ImageGallery/Reducers/Reducer.js +0 -76
- package/src/Screens/ImageGallery/Screen.js +0 -20
- package/src/Screens/ImageGallery/Styles.scss +0 -34
- package/src/Screens/ImageGallery/Translations.js +0 -44
- package/src/Screens/ImageGallery/index.js +0 -9
- package/src/Screens/Inspirations/Containers/Edit.js +0 -105
- package/src/Screens/Inspirations/Containers/InspirationsSubscreen.js +0 -18
- package/src/Screens/Inspirations/Containers/ItemInspirationsList.js +0 -45
- package/src/Screens/Inspirations/Containers/List.js +0 -40
- package/src/Screens/Inspirations/Reducers/Actions.js +0 -90
- package/src/Screens/Inspirations/Reducers/ItemInspirationsActions.js +0 -12
- package/src/Screens/Inspirations/Reducers/Reducer.js +0 -63
- package/src/Screens/Inspirations/Screen.js +0 -59
- package/src/Screens/Inspirations/Translations.js +0 -28
- package/src/Screens/Inspirations/index.js +0 -11
- package/src/Screens/Item/ApiCalls.js +0 -9
- package/src/Screens/Item/Components/AttributeEditorPopup.js +0 -57
- package/src/Screens/Item/Components/ConfiguratorQuickView.js +0 -99
- package/src/Screens/Item/Components/CopyCreatorItemDialog.js +0 -130
- package/src/Screens/Item/Components/ListItemStatusEditor.js +0 -112
- package/src/Screens/Item/Components/Styles.scss +0 -328
- package/src/Screens/Item/Components/Variants/VariantsAutocomplete.js +0 -234
- package/src/Screens/Item/Components/Variants/VariantsEditor.js +0 -582
- package/src/Screens/Item/Components/Variants/VariantsEditorDialog.js +0 -143
- package/src/Screens/Item/Components/Variants/VariantsEditorPopup.js +0 -69
- package/src/Screens/Item/Components/Variants/VariantsSelection.js +0 -120
- package/src/Screens/Item/Components/Variants/VariantsSortFilter.js +0 -158
- package/src/Screens/Item/Containers/Edit.js +0 -524
- package/src/Screens/Item/Containers/Edit.test.js +0 -310
- package/src/Screens/Item/Containers/List.js +0 -87
- package/src/Screens/Item/Containers/Styles.scss +0 -92
- package/src/Screens/Item/DataStructures/Attributes/Actions.js +0 -30
- package/src/Screens/Item/DataStructures/Attributes/Editor.js +0 -99
- package/src/Screens/Item/DataStructures/Attributes/Reducer.js +0 -13
- package/src/Screens/Item/Reducers/Actions.js +0 -82
- package/src/Screens/Item/Reducers/ItemReducer.js +0 -64
- package/src/Screens/Item/Reducers/Variant/Actions.js +0 -13
- package/src/Screens/Item/Reducers/Variant/Reducer.js +0 -72
- package/src/Screens/Item/Screen.js +0 -18
- package/src/Screens/Item/Translations.js +0 -168
- package/src/Screens/Item/index.js +0 -12
- package/src/Screens/Itemclassification/Containers/Edit.js +0 -49
- package/src/Screens/Itemclassification/Containers/List.js +0 -64
- package/src/Screens/Itemclassification/Reducers/Actions.js +0 -21
- package/src/Screens/Itemclassification/Reducers/Reducer.js +0 -43
- package/src/Screens/Itemclassification/Screen.js +0 -19
- package/src/Screens/Itemclassification/Translations.js +0 -22
- package/src/Screens/Itemclassification/index.js +0 -9
- package/src/Screens/License/Reducers/Actions.js +0 -44
- package/src/Screens/License/Reducers/Reducer.js +0 -35
- package/src/Screens/License/Screen.js +0 -116
- package/src/Screens/License/Styles.scss +0 -35
- package/src/Screens/License/Translations.js +0 -19
- package/src/Screens/License/__tests__/LicenseScreen.test.js +0 -23
- package/src/Screens/License/__tests__/__snapshots__/LicenseScreen.test.js.snap +0 -219
- package/src/Screens/License/index.js +0 -10
- package/src/Screens/Login/Reducers/Actions.js +0 -57
- package/src/Screens/Login/Reducers/Listener.js +0 -13
- package/src/Screens/Login/Reducers/Reducer.js +0 -73
- package/src/Screens/Login/Screen.js +0 -96
- package/src/Screens/Login/Styles.scss +0 -0
- package/src/Screens/Login/Translations.js +0 -11
- package/src/Screens/Login/__tests/LoginScreen.js +0 -227
- package/src/Screens/Option/Containers/Edit.js +0 -172
- package/src/Screens/Option/Containers/List.js +0 -64
- package/src/Screens/Option/Reducers/Actions.js +0 -17
- package/src/Screens/Option/Reducers/Reducer.js +0 -81
- package/src/Screens/Option/Screen.js +0 -18
- package/src/Screens/Option/Translations.js +0 -34
- package/src/Screens/Option/index.js +0 -9
- package/src/Screens/OptionPools/Containers/Edit.js +0 -87
- package/src/Screens/OptionPools/Containers/List.js +0 -29
- package/src/Screens/OptionPools/Reducers/Actions.js +0 -10
- package/src/Screens/OptionPools/Reducers/Reducer.js +0 -33
- package/src/Screens/OptionPools/Screen.js +0 -18
- package/src/Screens/OptionPools/Translations.js +0 -23
- package/src/Screens/OptionPools/index.js +0 -9
- package/src/Screens/Optionclassification/Containers/Edit.js +0 -77
- package/src/Screens/Optionclassification/Containers/List.js +0 -64
- package/src/Screens/Optionclassification/Reducers/Actions.js +0 -17
- package/src/Screens/Optionclassification/Reducers/Reducer.js +0 -43
- package/src/Screens/Optionclassification/Screen.js +0 -20
- package/src/Screens/Optionclassification/Styles.scss +0 -0
- package/src/Screens/Optionclassification/Translations.js +0 -25
- package/src/Screens/Optionclassification/index.js +0 -9
- package/src/Screens/PriceTypes/Containers/Edit.js +0 -119
- package/src/Screens/PriceTypes/Containers/List.js +0 -52
- package/src/Screens/PriceTypes/Reducers/Actions.js +0 -8
- package/src/Screens/PriceTypes/Reducers/Reducer.js +0 -45
- package/src/Screens/PriceTypes/Screen.js +0 -19
- package/src/Screens/PriceTypes/Translations.js +0 -51
- package/src/Screens/PriceTypes/index.js +0 -9
- package/src/Screens/ProductionView/Components/ConfigurationDataSheet.js +0 -146
- package/src/Screens/ProductionView/Containers/Edit.js +0 -41
- package/src/Screens/ProductionView/Containers/List.js +0 -65
- package/src/Screens/ProductionView/Reducers/Actions.js +0 -21
- package/src/Screens/ProductionView/Reducers/Reducer.js +0 -31
- package/src/Screens/ProductionView/Screen.js +0 -22
- package/src/Screens/ProductionView/Styles.scss +0 -59
- package/src/Screens/ProductionView/Translations.js +0 -27
- package/src/Screens/ProductionView/index.js +0 -9
- package/src/Screens/ReceiveOfferRequests/Components/ConfigurationDataSheet.js +0 -249
- package/src/Screens/ReceiveOfferRequests/Containers/Edit.js +0 -46
- package/src/Screens/ReceiveOfferRequests/Containers/List.js +0 -67
- package/src/Screens/ReceiveOfferRequests/Reducers/Actions.js +0 -23
- package/src/Screens/ReceiveOfferRequests/Reducers/Reducer.js +0 -30
- package/src/Screens/ReceiveOfferRequests/Screen.js +0 -22
- package/src/Screens/ReceiveOfferRequests/index.js +0 -10
- package/src/Screens/Roles/Containers/Edit.js +0 -37
- package/src/Screens/Roles/Containers/List.js +0 -30
- package/src/Screens/Roles/Reducers/Actions.js +0 -14
- package/src/Screens/Roles/Reducers/Reducer.js +0 -22
- package/src/Screens/Roles/Screen.js +0 -19
- package/src/Screens/Roles/Translations.js +0 -19
- package/src/Screens/Roles/index.js +0 -9
- package/src/Screens/Savedconfigurations/Components/ConfigurationDataSheet.js +0 -263
- package/src/Screens/Savedconfigurations/Containers/Edit.js +0 -46
- package/src/Screens/Savedconfigurations/Containers/List.js +0 -130
- package/src/Screens/Savedconfigurations/Reducers/Actions.js +0 -17
- package/src/Screens/Savedconfigurations/Reducers/Reducer.js +0 -28
- package/src/Screens/Savedconfigurations/Screen.js +0 -22
- package/src/Screens/Savedconfigurations/Styles.scss +0 -38
- package/src/Screens/Savedconfigurations/Translations.js +0 -67
- package/src/Screens/Savedconfigurations/index.js +0 -9
- package/src/Screens/Setting/Containers/Edit.js +0 -115
- package/src/Screens/Setting/Reducers/Actions.js +0 -36
- package/src/Screens/Setting/Reducers/Reducer.js +0 -30
- package/src/Screens/Setting/Screen.js +0 -10
- package/src/Screens/Setting/Styles.scss +0 -0
- package/src/Screens/Setting/Translations.js +0 -55
- package/src/Screens/Setting/index.js +0 -9
- package/src/Screens/SoftwareUpdates/Reducers/Actions.js +0 -9
- package/src/Screens/SoftwareUpdates/Reducers/Reducer.js +0 -25
- package/src/Screens/SoftwareUpdates/Screen.js +0 -77
- package/src/Screens/SoftwareUpdates/Translations.js +0 -25
- package/src/Screens/SoftwareUpdates/__tests__/SoftwareUpdatesScreen.test.js +0 -14
- package/src/Screens/SoftwareUpdates/__tests__/__snapshots__/SoftwareUpdatesScreen.test.js.snap +0 -19
- package/src/Screens/SoftwareUpdates/index.js +0 -10
- package/src/Screens/Tag/Containers/Edit.js +0 -26
- package/src/Screens/Tag/Containers/List.js +0 -52
- package/src/Screens/Tag/Reducers/Actions.js +0 -20
- package/src/Screens/Tag/Reducers/Reducer.js +0 -22
- package/src/Screens/Tag/Screen.js +0 -19
- package/src/Screens/Tag/Styles.scss +0 -0
- package/src/Screens/Tag/Translations.js +0 -19
- package/src/Screens/Tag/index.js +0 -9
- package/src/Screens/TrackingCodes/Containers/Edit.js +0 -52
- package/src/Screens/TrackingCodes/Containers/List.js +0 -39
- package/src/Screens/TrackingCodes/Reducers/Actions.js +0 -46
- package/src/Screens/TrackingCodes/Reducers/Reducer.js +0 -53
- package/src/Screens/TrackingCodes/Screen.js +0 -18
- package/src/Screens/TrackingCodes/Translations.js +0 -21
- package/src/Screens/TrackingCodes/index.js +0 -10
- package/src/Screens/TranslationFileHandling/Containers/Edit.js +0 -169
- package/src/Screens/TranslationFileHandling/Containers/List.js +0 -30
- package/src/Screens/TranslationFileHandling/Reducers/Actions.js +0 -8
- package/src/Screens/TranslationFileHandling/Reducers/Reducer.js +0 -27
- package/src/Screens/TranslationFileHandling/Screen.js +0 -19
- package/src/Screens/TranslationFileHandling/Translations.js +0 -25
- package/src/Screens/TranslationFileHandling/index.js +0 -10
- package/src/Screens/User/Containers/Edit.js +0 -54
- package/src/Screens/User/Containers/List.js +0 -55
- package/src/Screens/User/Reducers/Actions.js +0 -43
- package/src/Screens/User/Reducers/Reducer.js +0 -26
- package/src/Screens/User/Screen.js +0 -19
- package/src/Screens/User/Styles.scss +0 -3
- package/src/Screens/User/Translations.js +0 -23
- package/src/Screens/User/__tests/UserScreen.js +0 -376
- package/src/Screens/User/index.js +0 -9
- package/src/Screens/index.js +0 -142
- package/src/UIComponents/AppBar.js +0 -3
- package/src/UIComponents/AutoComplete.js +0 -237
- package/src/UIComponents/Button.js +0 -3
- package/src/UIComponents/ButtonBase.js +0 -3
- package/src/UIComponents/Checkbox.js +0 -3
- package/src/UIComponents/Chip.js +0 -2
- package/src/UIComponents/ChipInput.js +0 -221
- package/src/UIComponents/CircularProgress.js +0 -3
- package/src/UIComponents/ClickAwayListener.js +0 -3
- package/src/UIComponents/Collapse.js +0 -3
- package/src/UIComponents/DatePicker.js +0 -37
- package/src/UIComponents/DateTimePicker.js +0 -37
- package/src/UIComponents/Dialog.js +0 -55
- package/src/UIComponents/Drawer.js +0 -3
- package/src/UIComponents/FlatButton.js +0 -23
- package/src/UIComponents/FloatingActionButton.js +0 -4
- package/src/UIComponents/FontIcon.js +0 -3
- package/src/UIComponents/FormControl.js +0 -3
- package/src/UIComponents/FormControlLabel.js +0 -3
- package/src/UIComponents/Grow.js +0 -3
- package/src/UIComponents/IconButton.js +0 -3
- package/src/UIComponents/IconMenu.js +0 -138
- package/src/UIComponents/InlineHelp/__snapshots__/index.test.js.snap +0 -30
- package/src/UIComponents/InlineHelp/index.js +0 -46
- package/src/UIComponents/InlineHelp/index.test.js +0 -22
- package/src/UIComponents/Input.js +0 -3
- package/src/UIComponents/InputAdornment.js +0 -3
- package/src/UIComponents/InputLabel.js +0 -3
- package/src/UIComponents/LinearProgress.js +0 -3
- package/src/UIComponents/Link.js +0 -24
- package/src/UIComponents/List.js +0 -3
- package/src/UIComponents/ListItem.js +0 -3
- package/src/UIComponents/ListItemIcon.js +0 -3
- package/src/UIComponents/ListItemText.js +0 -3
- package/src/UIComponents/Menu.js +0 -3
- package/src/UIComponents/MenuItem.js +0 -3
- package/src/UIComponents/MenuList.js +0 -3
- package/src/UIComponents/Pagination.js +0 -100
- package/src/UIComponents/Paper.js +0 -3
- package/src/UIComponents/Popper.js +0 -3
- package/src/UIComponents/RadioButton/RadioButton.js +0 -3
- package/src/UIComponents/RadioButton/RadioGroup.js +0 -3
- package/src/UIComponents/RadioButton/index.js +0 -5
- package/src/UIComponents/RaisedButton.js +0 -24
- package/src/UIComponents/SelectField.js +0 -70
- package/src/UIComponents/Snackbar.js +0 -3
- package/src/UIComponents/Table/Table.js +0 -133
- package/src/UIComponents/Table/TableBody.js +0 -60
- package/src/UIComponents/Table/TableCell.js +0 -3
- package/src/UIComponents/Table/TableFooter.js +0 -3
- package/src/UIComponents/Table/TableHead.js +0 -53
- package/src/UIComponents/Table/TableHeadColumn.js +0 -3
- package/src/UIComponents/Table/TableRow.js +0 -19
- package/src/UIComponents/Table/TableRowColumn.js +0 -3
- package/src/UIComponents/Table/index.js +0 -15
- package/src/UIComponents/TableSortLabel.js +0 -3
- package/src/UIComponents/Tabs/Tab.js +0 -3
- package/src/UIComponents/Tabs/Tabs.js +0 -3
- package/src/UIComponents/Tabs/index.js +0 -5
- package/src/UIComponents/TextField.js +0 -3
- package/src/UIComponents/TimePicker.js +0 -41
- package/src/UIComponents/Toggle.js +0 -3
- package/src/UIComponents/Toolbar.js +0 -3
- package/src/UIComponents/Tooltip.js +0 -6
- package/src/UIComponents/Typography.js +0 -3
- package/src/UIComponents/icons/AccountCircleIcon.js +0 -3
- package/src/UIComponents/icons/AddCircleOutlineIcon.js +0 -3
- package/src/UIComponents/icons/AddIcon.js +0 -3
- package/src/UIComponents/icons/ArrowBackIcon.js +0 -3
- package/src/UIComponents/icons/CheckmarkIcon.js +0 -3
- package/src/UIComponents/icons/CloseIcon.js +0 -3
- package/src/UIComponents/icons/DeleteForeverIcon.js +0 -3
- package/src/UIComponents/icons/DeleteIcon.js +0 -3
- package/src/UIComponents/icons/ErrorIcon.js +0 -3
- package/src/UIComponents/icons/ExpandLessIcon.js +0 -3
- package/src/UIComponents/icons/ExpandMoreIcon.js +0 -3
- package/src/UIComponents/icons/FolderIcon.js +0 -3
- package/src/UIComponents/icons/ForwardIcon.js +0 -3
- package/src/UIComponents/icons/InfoIcon.js +0 -3
- package/src/UIComponents/icons/InfoOutlineIcon.js +0 -3
- package/src/UIComponents/icons/LanguageIcon.js +0 -3
- package/src/UIComponents/icons/LaunchIcon.js +0 -3
- package/src/UIComponents/icons/MenuIcon.js +0 -3
- package/src/UIComponents/icons/PriceIcon.js +0 -3
- package/src/UIComponents/icons/ReorderIcon.js +0 -3
- package/src/UIComponents/icons/SearchIcon.js +0 -3
- package/src/UIComponents/icons/SettingsIcon.js +0 -3
- package/src/UIComponents/icons/SortIcon.js +0 -3
- package/src/UIComponents/icons/TranslateIcon.js +0 -3
- package/src/UIComponents/icons/UpdateIcon.js +0 -3
- package/src/UIComponents/icons/ViewListIcon.js +0 -3
- package/src/UIComponents/icons/ZoomResetIcon.js +0 -3
- package/src/Utils/Async/Deferred.js +0 -76
- package/src/Utils/Async/__tests__/newestRequest.test.js +0 -34
- package/src/Utils/Async/newestRequest.js +0 -15
- package/src/Utils/Decorators/Observable.js +0 -62
- package/src/Utils/Dev/RequestApiToken.js +0 -27
- package/src/Utils/Dev/withStateProps.js +0 -6
- package/src/Utils/Error/createError.js +0 -22
- package/src/Utils/Events/pointerEvent.js +0 -77
- package/src/Utils/FunDraw/createMask.js +0 -67
- package/src/Utils/FunDraw/funDraw.js +0 -287
- package/src/Utils/FunDraw/movableObject.js +0 -108
- package/src/Utils/Function/__tests__/sendMessage.test.js +0 -20
- package/src/Utils/Function/sendMessage.js +0 -7
- package/src/Utils/HOCs/AsyncProps.js +0 -39
- package/src/Utils/HOCs/LocalState.js +0 -34
- package/src/Utils/HOCs/RemappedProps.js +0 -15
- package/src/Utils/Request/lazyFetch.js +0 -29
- package/src/Utils/Request/pathParams.js +0 -8
- package/src/Utils/Test/provideStore.js +0 -16
- package/src/Utils/Test/wrapperSelectors.js +0 -5
- package/src/__mocks__/assetsMock.js +0 -3
- package/src/__mocks__/fileMock.js +0 -1
- package/src/__mocks__/styleMock.js +0 -3
- package/src/default.js +0 -12
- package/src/dev.js +0 -61
- package/src/index.js +0 -8
|
@@ -1,1002 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
import { T, t, getLocale } from '../../../../../App/i18n';
|
|
4
|
-
import _ from 'lodash';
|
|
5
|
-
import get from 'lodash/get';
|
|
6
|
-
import withStyles from '@material-ui/core/styles/withStyles';
|
|
7
|
-
import Grid from '@material-ui/core/Grid/Grid';
|
|
8
|
-
import Checkbox from '@material-ui/core/Checkbox/Checkbox';
|
|
9
|
-
import TextField from '@material-ui/core/TextField/TextField';
|
|
10
|
-
import FormControlLabel from '@material-ui/core/FormControlLabel/FormControlLabel';
|
|
11
|
-
import DeleteIcon from '../../../../../UIComponents/icons/DeleteIcon';
|
|
12
|
-
import IconButton from '../../../../../UIComponents/IconButton';
|
|
13
|
-
import FormLabel from '@material-ui/core/FormLabel/FormLabel';
|
|
14
|
-
import ExpansionPanel from '@material-ui/core/ExpansionPanel/ExpansionPanel';
|
|
15
|
-
import ExpansionPanelSummary from '@material-ui/core/ExpansionPanelSummary/ExpansionPanelSummary';
|
|
16
|
-
import Typography from '@material-ui/core/Typography/Typography';
|
|
17
|
-
import ExpansionPanelDetails from '@material-ui/core/ExpansionPanelDetails/ExpansionPanelDetails';
|
|
18
|
-
import Dialog from '@material-ui/core/Dialog';
|
|
19
|
-
import EditIcon from '@material-ui/icons/Edit';
|
|
20
|
-
import ExpandMoreIcon from '../../../../../UIComponents/icons/ExpandMoreIcon';
|
|
21
|
-
import RaisedButton from '../../../../../UIComponents/RaisedButton';
|
|
22
|
-
import Add from '../../../../../UIComponents/icons/AddIcon';
|
|
23
|
-
import TranslationFinder from '../../../../../Components/TranslationFinder';
|
|
24
|
-
import UISelectField from '../../../../../UIComponents/SelectField';
|
|
25
|
-
import ColorPalettes from '../Components/ColorPalettes';
|
|
26
|
-
import { ProductionMethodMaskEditorField } from './ConnectedMaskEditorField';
|
|
27
|
-
import MenuItem from '../../../../../UIComponents/MenuItem';
|
|
28
|
-
import { Card } from '@material-ui/core';
|
|
29
|
-
import { LocalizedPriceTextField } from '../../../../../Components/LocalizedPriceTextField';
|
|
30
|
-
|
|
31
|
-
const isEngravingEffect = designProductionMethod =>
|
|
32
|
-
'engraving' === get(designProductionMethod, 'options.visualizationEffect');
|
|
33
|
-
|
|
34
|
-
const styles = () => ({
|
|
35
|
-
checkboxGrid: {
|
|
36
|
-
display: 'flex',
|
|
37
|
-
justifyContent: 'space-between',
|
|
38
|
-
},
|
|
39
|
-
engravingBackgroundColor: {
|
|
40
|
-
display: 'flex',
|
|
41
|
-
alignItems: 'baseline',
|
|
42
|
-
marginBottom: '1em',
|
|
43
|
-
marginLeft: '1em',
|
|
44
|
-
},
|
|
45
|
-
inputAlign: {
|
|
46
|
-
textAlign: 'center',
|
|
47
|
-
},
|
|
48
|
-
TypographyFontWeight: {
|
|
49
|
-
fontWeight: 'bold',
|
|
50
|
-
},
|
|
51
|
-
FormLabel: {
|
|
52
|
-
padding: '20px 0 10px 0',
|
|
53
|
-
},
|
|
54
|
-
ExpansionPanelDetailRoot: {
|
|
55
|
-
display: 'block',
|
|
56
|
-
},
|
|
57
|
-
gridFormatting: {
|
|
58
|
-
display: 'flex',
|
|
59
|
-
},
|
|
60
|
-
inputText: {
|
|
61
|
-
height: '2em',
|
|
62
|
-
},
|
|
63
|
-
variantsDefaultColorBox: {
|
|
64
|
-
width: '2em',
|
|
65
|
-
height: '2em',
|
|
66
|
-
background: '#000',
|
|
67
|
-
float: 'left',
|
|
68
|
-
marginRight: '1em',
|
|
69
|
-
border: '1px solid #999',
|
|
70
|
-
borderRadius: 3,
|
|
71
|
-
},
|
|
72
|
-
varyingDimensionsInputWrapper: {
|
|
73
|
-
marginBottom: '1em',
|
|
74
|
-
},
|
|
75
|
-
validationError: {
|
|
76
|
-
color: 'red',
|
|
77
|
-
},
|
|
78
|
-
card: {
|
|
79
|
-
padding: '0 1em 0 1em',
|
|
80
|
-
margin: '1em 0 1em 0',
|
|
81
|
-
},
|
|
82
|
-
InputLabel: {
|
|
83
|
-
paddingRight: 8,
|
|
84
|
-
},
|
|
85
|
-
inputWithLabel: {
|
|
86
|
-
display: 'flex',
|
|
87
|
-
flexDirection: 'column',
|
|
88
|
-
padding: '20px 0px',
|
|
89
|
-
alignItems: 'baseline',
|
|
90
|
-
},
|
|
91
|
-
});
|
|
92
|
-
|
|
93
|
-
class FormProductionMethods extends React.Component {
|
|
94
|
-
static propTypes = {
|
|
95
|
-
editDesignProductionMethods: PropTypes.array,
|
|
96
|
-
colorPalettes: PropTypes.array,
|
|
97
|
-
variantsDefaultColors: PropTypes.array,
|
|
98
|
-
onChange: PropTypes.func,
|
|
99
|
-
onRemove: PropTypes.func,
|
|
100
|
-
data: PropTypes.object,
|
|
101
|
-
classes: PropTypes.object,
|
|
102
|
-
channels: PropTypes.array,
|
|
103
|
-
rowNumber: PropTypes.number,
|
|
104
|
-
errors: PropTypes.array,
|
|
105
|
-
setProductionMethodIsDefault: PropTypes.func,
|
|
106
|
-
extendedItem: PropTypes.object,
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
constructor(props) {
|
|
110
|
-
super(props);
|
|
111
|
-
this.state = {
|
|
112
|
-
checked: false,
|
|
113
|
-
expanded: null,
|
|
114
|
-
openedVariantsDefaultColor: null,
|
|
115
|
-
maxImageError: false,
|
|
116
|
-
maxTextError: false,
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
onChange = key => e => {
|
|
121
|
-
const { data } = this.props;
|
|
122
|
-
let { value } = e.target;
|
|
123
|
-
const nextData = {};
|
|
124
|
-
|
|
125
|
-
if (key === 'allowBulkNames' || key === 'isDefault' || key === 'designElementsLocked' || key === 'oneLineText') {
|
|
126
|
-
value = e.target.checked;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
if (key === 'defaultColors') {
|
|
130
|
-
value = e.target.checked ? {} : null;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
if (key === 'varyingDimensions') {
|
|
134
|
-
const checked = !this.state.checked;
|
|
135
|
-
this.setState({ checked });
|
|
136
|
-
return (
|
|
137
|
-
!checked &&
|
|
138
|
-
this.props.onChange(
|
|
139
|
-
{
|
|
140
|
-
...data,
|
|
141
|
-
width: 0,
|
|
142
|
-
height: 0,
|
|
143
|
-
},
|
|
144
|
-
this.props.rowNumber
|
|
145
|
-
)
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
if (key === 'id') {
|
|
150
|
-
// skip if it's the same id
|
|
151
|
-
if (data.id === value) {
|
|
152
|
-
return;
|
|
153
|
-
}
|
|
154
|
-
const productionMethod = _.find(this.props.editDesignProductionMethods, { id: value }) || {};
|
|
155
|
-
const calculationTypes = _.get(productionMethod, 'calculationTypes') || [];
|
|
156
|
-
Object.assign(nextData, _.cloneDeep(productionMethod), {
|
|
157
|
-
calculationTypes: calculationTypes.map(calculationType => {
|
|
158
|
-
if (calculationType.prices === null) {
|
|
159
|
-
return {
|
|
160
|
-
...calculationType,
|
|
161
|
-
prices: [],
|
|
162
|
-
};
|
|
163
|
-
} else {
|
|
164
|
-
return calculationType;
|
|
165
|
-
}
|
|
166
|
-
}),
|
|
167
|
-
});
|
|
168
|
-
} else {
|
|
169
|
-
Object.assign(nextData, data, { [key]: value });
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
if (key === 'maxTexts') {
|
|
173
|
-
if (value === '0' && data.maxImages !== null && Number(data.maxImages) === 0) {
|
|
174
|
-
this.setState({ maxTextError: true });
|
|
175
|
-
Object.assign(nextData, data, { [key]: '' });
|
|
176
|
-
}
|
|
177
|
-
if (value === '') {
|
|
178
|
-
Object.assign(nextData, data, { [key]: null });
|
|
179
|
-
}
|
|
180
|
-
if (this.state.maxTextError && (Number(value) > 0 || Number(data.maxImages) > 0)) {
|
|
181
|
-
this.setState({ maxTextError: false });
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
if (key === 'maxImages') {
|
|
186
|
-
if (value === '0' && data.maxTexts !== null && Number(data.maxTexts) === 0) {
|
|
187
|
-
this.setState({ maxImageError: true });
|
|
188
|
-
Object.assign(nextData, data, { [key]: '' });
|
|
189
|
-
}
|
|
190
|
-
if (value === '') {
|
|
191
|
-
Object.assign(nextData, data, { [key]: null });
|
|
192
|
-
}
|
|
193
|
-
if (this.state.maxImageError && (Number(value) > 0 || Number(data.maxTexts) > 0)) {
|
|
194
|
-
this.setState({ maxImageError: false });
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
if (key === 'maxElements') {
|
|
199
|
-
if (value === '') {
|
|
200
|
-
Object.assign(nextData, data, { [key]: null });
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
if (key === 'isDefault') {
|
|
205
|
-
this.props.setProductionMethodIsDefault(nextData.id, value);
|
|
206
|
-
return;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
this.props.onChange(nextData, this.props.rowNumber);
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
onChangeEngravingBackgroundColor = ({ itemIdentifier }) => ({ target: { value } }) => {
|
|
213
|
-
const data = _.cloneDeep(this.props.data);
|
|
214
|
-
data.additionalData = {
|
|
215
|
-
...data.additionalData,
|
|
216
|
-
engravingBackgroundColors: this.addOrReplaceEngravingBackgroundColor(itemIdentifier, value),
|
|
217
|
-
};
|
|
218
|
-
this.props.onChange(data, this.props.rowNumber);
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
onChangeCalculationTypesPrices = (calculationTypeIdentifier, price, priceIndex, value) => {
|
|
222
|
-
const data = _.cloneDeep(this.props.data);
|
|
223
|
-
const calculationTypes = _.get(data, 'calculationTypes');
|
|
224
|
-
let selectedType = _.find(calculationTypes, { identifier: calculationTypeIdentifier });
|
|
225
|
-
|
|
226
|
-
if (selectedType) {
|
|
227
|
-
const changedCalculationType = {
|
|
228
|
-
...data,
|
|
229
|
-
calculationTypes: this.addPrices(calculationTypeIdentifier, value, price, priceIndex),
|
|
230
|
-
};
|
|
231
|
-
this.props.onChange(changedCalculationType);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
addPrices(identifier, value, price, priceIndex) {
|
|
236
|
-
const { data: productionMethod } = this.props;
|
|
237
|
-
const currentValues = _.cloneDeep(_.get(productionMethod, 'calculationTypes', []));
|
|
238
|
-
const item = _.find(currentValues, { identifier: identifier });
|
|
239
|
-
if (item) {
|
|
240
|
-
let prices = _.get(item, 'prices', []);
|
|
241
|
-
const selectedPrice = prices[priceIndex];
|
|
242
|
-
if (selectedPrice) {
|
|
243
|
-
selectedPrice[price] = value;
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
return currentValues;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
onCollapseClick = key => (event, expanded) => {
|
|
250
|
-
this.setState({
|
|
251
|
-
expanded: expanded ? key : false,
|
|
252
|
-
});
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
onRemovePrices(price, identifier) {
|
|
256
|
-
const { data: productionMethod } = this.props;
|
|
257
|
-
const newValues = _.cloneDeep(productionMethod);
|
|
258
|
-
const calculationType = _.find(newValues.calculationTypes || [], { identifier: identifier });
|
|
259
|
-
|
|
260
|
-
if (calculationType) {
|
|
261
|
-
let prices = _.get(calculationType, 'prices', []);
|
|
262
|
-
//'remove' mutates the array
|
|
263
|
-
_.remove(prices, price);
|
|
264
|
-
this.props.onDelete(newValues);
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
onAddNewPrices(calculationTypeIdentifier, channelID) {
|
|
269
|
-
const { data } = this.props;
|
|
270
|
-
const calculationTypes = _.get(data, 'calculationTypes', []);
|
|
271
|
-
const indexOfCalculationType = _.findIndex(calculationTypes, {
|
|
272
|
-
identifier: calculationTypeIdentifier,
|
|
273
|
-
});
|
|
274
|
-
if (indexOfCalculationType < -1) {
|
|
275
|
-
return;
|
|
276
|
-
}
|
|
277
|
-
const oldCalculationType = calculationTypes[indexOfCalculationType];
|
|
278
|
-
const modifiedCalculationType = {
|
|
279
|
-
...oldCalculationType,
|
|
280
|
-
prices: [...(oldCalculationType.prices || []), this.createPriceObject(channelID)],
|
|
281
|
-
};
|
|
282
|
-
const newCalculationTypes = [...calculationTypes];
|
|
283
|
-
newCalculationTypes.splice(indexOfCalculationType, 1, modifiedCalculationType);
|
|
284
|
-
|
|
285
|
-
const newData = {
|
|
286
|
-
...data,
|
|
287
|
-
calculationTypes: newCalculationTypes,
|
|
288
|
-
};
|
|
289
|
-
this.props.onChange(newData);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
// noinspection JSMethodCanBeStatic
|
|
293
|
-
createPriceObject(channelID) {
|
|
294
|
-
return {
|
|
295
|
-
id: null,
|
|
296
|
-
channel: channelID,
|
|
297
|
-
colorAmountFrom: null,
|
|
298
|
-
amountFrom: null,
|
|
299
|
-
price: null,
|
|
300
|
-
priceNet: null,
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
addOrReplaceEngravingBackgroundColor(itemIdentifier, value) {
|
|
305
|
-
const { data: productionMethod } = this.props;
|
|
306
|
-
const currentValues = _.cloneDeep(
|
|
307
|
-
_.get(productionMethod, 'additionalData.engravingBackgroundColors', [])
|
|
308
|
-
);
|
|
309
|
-
const item = _.find(currentValues, { itemIdentifier });
|
|
310
|
-
if (item) {
|
|
311
|
-
item.colorHex = value;
|
|
312
|
-
} else {
|
|
313
|
-
currentValues.push({
|
|
314
|
-
itemIdentifier,
|
|
315
|
-
colorHex: value,
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
return currentValues;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
engravingBackgroundColors() {
|
|
322
|
-
const { extendedItem, data: productionMethod } = this.props;
|
|
323
|
-
if (!extendedItem) {
|
|
324
|
-
return [];
|
|
325
|
-
}
|
|
326
|
-
const currentValues = _.get(productionMethod, 'additionalData.engravingBackgroundColors', []);
|
|
327
|
-
const availableItemIdentifiers = (_.isArray(_.get(extendedItem, 'children')) && extendedItem.children.length > 0)
|
|
328
|
-
? extendedItem.children.map(({ identifier }) => identifier)
|
|
329
|
-
: [extendedItem.identifier];
|
|
330
|
-
const result = [];
|
|
331
|
-
for (let identifier of availableItemIdentifiers) {
|
|
332
|
-
const item = _.find(currentValues, { itemIdentifier: identifier });
|
|
333
|
-
result.push({
|
|
334
|
-
itemIdentifier: identifier,
|
|
335
|
-
colorHex: item ? item.colorHex : 'rgba(0, 0, 0, 0.5)',
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
return result;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
componentDidMount() {
|
|
342
|
-
const { data: productionMethod } = this.props;
|
|
343
|
-
|
|
344
|
-
const varyingDimensionsHeight = _.get(productionMethod, 'height');
|
|
345
|
-
const varyingDimensionsWidth = _.get(productionMethod, 'width');
|
|
346
|
-
if (
|
|
347
|
-
(varyingDimensionsWidth && varyingDimensionsWidth !== 0) ||
|
|
348
|
-
(varyingDimensionsHeight && varyingDimensionsHeight !== 0)
|
|
349
|
-
) {
|
|
350
|
-
this.setState({ checked: true });
|
|
351
|
-
} else {
|
|
352
|
-
this.setState({ checked: false });
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
const editDesignProductionMethodId = _.get(this.props.editDesignProductionMethods, '[0].id');
|
|
356
|
-
const editDesignProductionMethodIdentifier = _.get(
|
|
357
|
-
this.props.editDesignProductionMethods,
|
|
358
|
-
'[0].identifier'
|
|
359
|
-
);
|
|
360
|
-
|
|
361
|
-
if (this.props.data.id === null) {
|
|
362
|
-
const data = _.cloneDeep(this.props.data);
|
|
363
|
-
data.id = editDesignProductionMethodId;
|
|
364
|
-
data.identifier = editDesignProductionMethodIdentifier;
|
|
365
|
-
|
|
366
|
-
const calculationTypes = _.get(
|
|
367
|
-
_.find(this.props.editDesignProductionMethods, { id: data.id }),
|
|
368
|
-
'calculationTypes'
|
|
369
|
-
);
|
|
370
|
-
if (editDesignProductionMethodIdentifier) {
|
|
371
|
-
data.calculationTypes = calculationTypes.map(calculationType => {
|
|
372
|
-
if (calculationType.prices === null) {
|
|
373
|
-
return {
|
|
374
|
-
...calculationType,
|
|
375
|
-
prices: [],
|
|
376
|
-
};
|
|
377
|
-
} else {
|
|
378
|
-
return calculationType;
|
|
379
|
-
}
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
this.props.onChange(data, this.props.rowNumber);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
getProductionMethodLabel = productionMethod => {
|
|
387
|
-
if (Array.isArray(productionMethod) && productionMethod.length === 0) {
|
|
388
|
-
return undefined;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
const title =
|
|
392
|
-
productionMethod.title ||
|
|
393
|
-
productionMethod.translatedTitle ||
|
|
394
|
-
(() => {
|
|
395
|
-
const { locale } = this.props;
|
|
396
|
-
return _.get(_.find(productionMethod.texts, { language: locale.replace('-', '_') }), 'title');
|
|
397
|
-
})();
|
|
398
|
-
|
|
399
|
-
return `${title} (${productionMethod.identifier})`;
|
|
400
|
-
};
|
|
401
|
-
|
|
402
|
-
onProductionMethodChange = e => {
|
|
403
|
-
this.onChange('id')(e);
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
onColorPalettesDialogClose = () => {
|
|
407
|
-
this.setState({ openedVariantsDefaultColor: null });
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
onDefaultColorEditClick = variantsDefaultColor => {
|
|
411
|
-
this.setState({ openedVariantsDefaultColor: variantsDefaultColor });
|
|
412
|
-
};
|
|
413
|
-
|
|
414
|
-
getColorFromVariantsDefaultColor = variantsDefaultColor => {
|
|
415
|
-
if (
|
|
416
|
-
variantsDefaultColor.colorPaletteIdentifier === null ||
|
|
417
|
-
variantsDefaultColor.colorIdentifier === null
|
|
418
|
-
) {
|
|
419
|
-
return null;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
const colorPalette = _.find(this.props.colorPalettes, {
|
|
423
|
-
identifier: variantsDefaultColor.colorPaletteIdentifier,
|
|
424
|
-
});
|
|
425
|
-
|
|
426
|
-
if (!colorPalette) {
|
|
427
|
-
return null;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
const color = _.find(colorPalette.colors, { identifier: variantsDefaultColor.colorIdentifier });
|
|
431
|
-
|
|
432
|
-
return color ? color : null;
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
onColorPalettesDialogSelectClick = (value, colorIdentifier, colorPaletteIdentifier) => {
|
|
436
|
-
const { openedVariantsDefaultColor } = this.state;
|
|
437
|
-
const { data } = this.props;
|
|
438
|
-
const newData = {
|
|
439
|
-
...data,
|
|
440
|
-
defaultColors: {
|
|
441
|
-
...data.defaultColors,
|
|
442
|
-
[openedVariantsDefaultColor.variantIdentifier]: {
|
|
443
|
-
[colorPaletteIdentifier]: colorIdentifier,
|
|
444
|
-
},
|
|
445
|
-
},
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
this.props.onChange(newData, this.props.rowNumber);
|
|
449
|
-
|
|
450
|
-
this.setState({ openedVariantsDefaultColor: null });
|
|
451
|
-
};
|
|
452
|
-
|
|
453
|
-
getVariantsDefaultColorTitle = variantsDefaultColor => {
|
|
454
|
-
const color = this.getColorFromVariantsDefaultColor(variantsDefaultColor);
|
|
455
|
-
|
|
456
|
-
if (!color) {
|
|
457
|
-
return '';
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
const language = getLocale().replace('-', '_');
|
|
461
|
-
|
|
462
|
-
return _.get(_.find(color.texts, { language }), 'title', color.identifier);
|
|
463
|
-
};
|
|
464
|
-
|
|
465
|
-
getVariantsDefaultColorValue = variantsDefaultColor => {
|
|
466
|
-
const color = this.getColorFromVariantsDefaultColor(variantsDefaultColor);
|
|
467
|
-
|
|
468
|
-
if (!color) {
|
|
469
|
-
return '';
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
return '#' + color.hex_value;
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
renderMaskEditorField() {
|
|
476
|
-
const {
|
|
477
|
-
data: { mask, width, height, identifier, id },
|
|
478
|
-
} = this.props;
|
|
479
|
-
const props = {
|
|
480
|
-
width,
|
|
481
|
-
height,
|
|
482
|
-
value: mask,
|
|
483
|
-
designProductionMethodIdentifier: identifier,
|
|
484
|
-
designProductionMethodId: id,
|
|
485
|
-
onChange: (name, data) => this.onChange('mask')({ target: { value: data } }),
|
|
486
|
-
};
|
|
487
|
-
return <ProductionMethodMaskEditorField {...props} />;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
getErrorProps(field) {
|
|
491
|
-
const error = _.get(this.props.schema, `${field}.error[${this.props.rowNumber}]`);
|
|
492
|
-
return !error
|
|
493
|
-
? {}
|
|
494
|
-
: {
|
|
495
|
-
error: true,
|
|
496
|
-
helperText: error,
|
|
497
|
-
};
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
isCalculationError(calculationIndex) {
|
|
501
|
-
const { errors } = this.props;
|
|
502
|
-
return errors.some(
|
|
503
|
-
({ property }) => property.indexOf(`calculationTypes[${calculationIndex}]`) !== -1
|
|
504
|
-
);
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
getPriceError(calculationIndex, priceIndex) {
|
|
508
|
-
const { errors, classes } = this.props;
|
|
509
|
-
const messages = errors
|
|
510
|
-
.filter(
|
|
511
|
-
({ property }) =>
|
|
512
|
-
property.indexOf(`calculationTypes[${calculationIndex}].prices[${priceIndex}]`) !== -1
|
|
513
|
-
)
|
|
514
|
-
.map(({ message }) => message);
|
|
515
|
-
return messages.map(message => (
|
|
516
|
-
<div key={message} className={classes.validationError}>
|
|
517
|
-
{t(`validation.designProductionMethod.calculationType.price.${message}`)}
|
|
518
|
-
</div>
|
|
519
|
-
));
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
renderCalculationTypes(productionMethod, channels) {
|
|
523
|
-
const { classes } = this.props;
|
|
524
|
-
const calculationTypes = (productionMethod && productionMethod.calculationTypes) || [];
|
|
525
|
-
return (
|
|
526
|
-
<Grid container>
|
|
527
|
-
<Grid item xs={12}>
|
|
528
|
-
{calculationTypes.length > 0 && (
|
|
529
|
-
<FormLabel classes={{ root: classes.FormLabel }} component="legend">
|
|
530
|
-
{t('CalculationTypes')}
|
|
531
|
-
</FormLabel>
|
|
532
|
-
)}
|
|
533
|
-
{calculationTypes
|
|
534
|
-
.filter(calculationType => calculationType.itemAmountDependent)
|
|
535
|
-
.map((calculationType, calculationIndex) => (
|
|
536
|
-
<ExpansionPanel
|
|
537
|
-
expanded={
|
|
538
|
-
this.state.expanded === calculationType.identifier ||
|
|
539
|
-
this.isCalculationError(calculationIndex)
|
|
540
|
-
}
|
|
541
|
-
onChange={this.onCollapseClick(calculationType.identifier)}
|
|
542
|
-
key={calculationType.identifier}
|
|
543
|
-
>
|
|
544
|
-
<ExpansionPanelSummary expandIcon={<ExpandMoreIcon />}>
|
|
545
|
-
<Typography>
|
|
546
|
-
{productionMethod.id === null || !calculationType.title ? (
|
|
547
|
-
<TranslationFinder
|
|
548
|
-
data={calculationType.texts}
|
|
549
|
-
property="title"
|
|
550
|
-
fallback={calculationType.identifier}
|
|
551
|
-
/>
|
|
552
|
-
) : (
|
|
553
|
-
calculationType.title
|
|
554
|
-
)}
|
|
555
|
-
</Typography>
|
|
556
|
-
</ExpansionPanelSummary>
|
|
557
|
-
<ExpansionPanelDetails classes={{ root: classes.ExpansionPanelDetailRoot }}>
|
|
558
|
-
{(channels || []).map(channel => (
|
|
559
|
-
<React.Fragment key={channel.identifier}>
|
|
560
|
-
<Typography className={classes.TypographyFontWeight}>
|
|
561
|
-
{channel.identifier +
|
|
562
|
-
'/' +
|
|
563
|
-
channel.currency.symbol +
|
|
564
|
-
'(' +
|
|
565
|
-
channel.currency.iso +
|
|
566
|
-
')'}
|
|
567
|
-
</Typography>
|
|
568
|
-
{(calculationType.prices || [])
|
|
569
|
-
.map((price, priceIndex) => {
|
|
570
|
-
if (parseInt(price.channel) === channel.id) {
|
|
571
|
-
return (
|
|
572
|
-
<React.Fragment key={priceIndex}>
|
|
573
|
-
<Grid container>
|
|
574
|
-
<Grid item xs={3}>
|
|
575
|
-
<TextField
|
|
576
|
-
label={t('colorAmountFrom')}
|
|
577
|
-
onChange={e => {
|
|
578
|
-
this.onChangeCalculationTypesPrices(
|
|
579
|
-
calculationType.identifier,
|
|
580
|
-
'colorAmountFrom',
|
|
581
|
-
priceIndex,
|
|
582
|
-
e.target.value
|
|
583
|
-
);
|
|
584
|
-
}}
|
|
585
|
-
value={price.colorAmountFrom || ''}
|
|
586
|
-
type="number"
|
|
587
|
-
InputProps={{
|
|
588
|
-
classes: {
|
|
589
|
-
inputType: classes.inputText,
|
|
590
|
-
},
|
|
591
|
-
}}
|
|
592
|
-
/>
|
|
593
|
-
</Grid>
|
|
594
|
-
<Grid item xs={3}>
|
|
595
|
-
<LocalizedPriceTextField
|
|
596
|
-
label={t('Price')}
|
|
597
|
-
onChange={(name, value) => {
|
|
598
|
-
this.onChangeCalculationTypesPrices(
|
|
599
|
-
calculationType.identifier,
|
|
600
|
-
'price',
|
|
601
|
-
priceIndex,
|
|
602
|
-
value
|
|
603
|
-
);
|
|
604
|
-
}}
|
|
605
|
-
value={price.price}
|
|
606
|
-
inputProps={{
|
|
607
|
-
style: {
|
|
608
|
-
height: '2em',
|
|
609
|
-
},
|
|
610
|
-
}}
|
|
611
|
-
/>
|
|
612
|
-
</Grid>
|
|
613
|
-
<Grid item xs={3}>
|
|
614
|
-
<LocalizedPriceTextField
|
|
615
|
-
label={t('PriceNet')}
|
|
616
|
-
onChange={(name, value) => {
|
|
617
|
-
this.onChangeCalculationTypesPrices(
|
|
618
|
-
calculationType.identifier,
|
|
619
|
-
'priceNet',
|
|
620
|
-
priceIndex,
|
|
621
|
-
value
|
|
622
|
-
);
|
|
623
|
-
}}
|
|
624
|
-
value={price.priceNet}
|
|
625
|
-
inputProps={{
|
|
626
|
-
style: {
|
|
627
|
-
height: '2em',
|
|
628
|
-
},
|
|
629
|
-
}}
|
|
630
|
-
/>
|
|
631
|
-
</Grid>
|
|
632
|
-
<Grid
|
|
633
|
-
item
|
|
634
|
-
xs={3}
|
|
635
|
-
className={classes.gridFormatting}
|
|
636
|
-
>
|
|
637
|
-
<TextField
|
|
638
|
-
label={t('AmountFrom')}
|
|
639
|
-
onChange={e => {
|
|
640
|
-
this.onChangeCalculationTypesPrices(
|
|
641
|
-
calculationType.identifier,
|
|
642
|
-
'amountFrom',
|
|
643
|
-
priceIndex,
|
|
644
|
-
e.target.value
|
|
645
|
-
);
|
|
646
|
-
}}
|
|
647
|
-
value={price.amountFrom || ''}
|
|
648
|
-
type="number"
|
|
649
|
-
InputProps={{
|
|
650
|
-
classes: {
|
|
651
|
-
inputType: classes.inputText,
|
|
652
|
-
},
|
|
653
|
-
}}
|
|
654
|
-
/>
|
|
655
|
-
<IconButton
|
|
656
|
-
label={t('Remove')}
|
|
657
|
-
onClick={() =>
|
|
658
|
-
this.onRemovePrices(
|
|
659
|
-
price,
|
|
660
|
-
calculationType.identifier
|
|
661
|
-
)
|
|
662
|
-
}
|
|
663
|
-
id="remove"
|
|
664
|
-
>
|
|
665
|
-
<DeleteIcon />
|
|
666
|
-
</IconButton>
|
|
667
|
-
</Grid>
|
|
668
|
-
</Grid>
|
|
669
|
-
<div>
|
|
670
|
-
{this.getPriceError(calculationIndex, priceIndex)}
|
|
671
|
-
</div>
|
|
672
|
-
</React.Fragment>
|
|
673
|
-
);
|
|
674
|
-
};
|
|
675
|
-
})
|
|
676
|
-
}
|
|
677
|
-
<Grid container>
|
|
678
|
-
<Grid item xs={12}>
|
|
679
|
-
<div className="action-buttons">
|
|
680
|
-
<RaisedButton
|
|
681
|
-
primary={true}
|
|
682
|
-
onClick={() =>
|
|
683
|
-
this.onAddNewPrices(
|
|
684
|
-
calculationType.identifier,
|
|
685
|
-
channel.id
|
|
686
|
-
)
|
|
687
|
-
}
|
|
688
|
-
>
|
|
689
|
-
<Add />
|
|
690
|
-
{T('Add')}
|
|
691
|
-
</RaisedButton>
|
|
692
|
-
</div>
|
|
693
|
-
</Grid>
|
|
694
|
-
</Grid>
|
|
695
|
-
</React.Fragment>
|
|
696
|
-
))}
|
|
697
|
-
</ExpansionPanelDetails>
|
|
698
|
-
</ExpansionPanel>
|
|
699
|
-
))}
|
|
700
|
-
</Grid>
|
|
701
|
-
</Grid>
|
|
702
|
-
);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
render() {
|
|
706
|
-
const {
|
|
707
|
-
onRemove,
|
|
708
|
-
data: productionMethod,
|
|
709
|
-
classes,
|
|
710
|
-
channels,
|
|
711
|
-
colorPalettes,
|
|
712
|
-
editDesignProductionMethods,
|
|
713
|
-
variantsDefaultColors,
|
|
714
|
-
} = this.props;
|
|
715
|
-
const { checked, openedVariantsDefaultColor } = this.state;
|
|
716
|
-
const engravingBackgroundColors = this.engravingBackgroundColors();
|
|
717
|
-
const calculationTypes = _.get(productionMethod, 'calculationTypes');
|
|
718
|
-
productionMethod.calculationTypes =
|
|
719
|
-
calculationTypes &&
|
|
720
|
-
calculationTypes.map(calculationType => {
|
|
721
|
-
if (calculationType.prices === null) {
|
|
722
|
-
return {
|
|
723
|
-
...calculationType,
|
|
724
|
-
prices: [],
|
|
725
|
-
};
|
|
726
|
-
} else {
|
|
727
|
-
return calculationType;
|
|
728
|
-
}
|
|
729
|
-
});
|
|
730
|
-
|
|
731
|
-
return (
|
|
732
|
-
<Card className={classes.card}>
|
|
733
|
-
<Grid container>
|
|
734
|
-
<Grid item xs={12}>
|
|
735
|
-
<UISelectField
|
|
736
|
-
style={{ width: '100%' }}
|
|
737
|
-
onChange={this.onProductionMethodChange}
|
|
738
|
-
value={productionMethod.id}
|
|
739
|
-
>
|
|
740
|
-
{editDesignProductionMethods.map(productionMethod => (
|
|
741
|
-
<MenuItem value={productionMethod.id} key={productionMethod.id}>
|
|
742
|
-
{this.getProductionMethodLabel(productionMethod)}
|
|
743
|
-
</MenuItem>
|
|
744
|
-
))}
|
|
745
|
-
</UISelectField>
|
|
746
|
-
<Grid item xs={12}>
|
|
747
|
-
{isEngravingEffect(productionMethod) && (
|
|
748
|
-
<React.Fragment>
|
|
749
|
-
<Typography>
|
|
750
|
-
{t('EngravingBackgroundColor')}
|
|
751
|
-
</Typography>
|
|
752
|
-
{
|
|
753
|
-
engravingBackgroundColors.map(item => (
|
|
754
|
-
<div
|
|
755
|
-
key={item.itemIdentifier}
|
|
756
|
-
className={classes.engravingBackgroundColor}
|
|
757
|
-
>
|
|
758
|
-
<FormLabel classes={{ root: classes.InputLabel }} component="legend">
|
|
759
|
-
{item.itemIdentifier}:
|
|
760
|
-
</FormLabel>
|
|
761
|
-
<TextField
|
|
762
|
-
key={item.itemIdentifier}
|
|
763
|
-
placeholder={t('EngravingBackgroundColorPlaceholder')}
|
|
764
|
-
onChange={this.onChangeEngravingBackgroundColor(item)}
|
|
765
|
-
value={item.colorHex}
|
|
766
|
-
style={styles.input}
|
|
767
|
-
className={classes.inputAlign}
|
|
768
|
-
/>
|
|
769
|
-
</div>
|
|
770
|
-
))
|
|
771
|
-
}
|
|
772
|
-
</React.Fragment>
|
|
773
|
-
)}
|
|
774
|
-
</Grid>
|
|
775
|
-
</Grid>
|
|
776
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
777
|
-
<FormControlLabel
|
|
778
|
-
control={
|
|
779
|
-
<Checkbox
|
|
780
|
-
checked={checked}
|
|
781
|
-
onChange={this.onChange('varyingDimensions')}
|
|
782
|
-
value={t('varyingDimensions')}
|
|
783
|
-
color="primary"
|
|
784
|
-
/>
|
|
785
|
-
}
|
|
786
|
-
label={t('varyingDimensions')}
|
|
787
|
-
/>
|
|
788
|
-
</Grid>
|
|
789
|
-
{checked && (
|
|
790
|
-
<Grid container>
|
|
791
|
-
<Grid item xs={6}>
|
|
792
|
-
<TextField
|
|
793
|
-
className={classes.varyingDimensionsInputWrapper}
|
|
794
|
-
label={t('Width')}
|
|
795
|
-
onChange={this.onChange('width')}
|
|
796
|
-
value={productionMethod.width || ''}
|
|
797
|
-
style={styles.input}
|
|
798
|
-
type="number"
|
|
799
|
-
/>
|
|
800
|
-
</Grid>
|
|
801
|
-
<Grid item xs={6}>
|
|
802
|
-
<TextField
|
|
803
|
-
className={classes.varyingDimensionsInputWrapper}
|
|
804
|
-
label={t('Height')}
|
|
805
|
-
onChange={this.onChange('height')}
|
|
806
|
-
value={productionMethod.height || ''}
|
|
807
|
-
style={styles.input}
|
|
808
|
-
type="number"
|
|
809
|
-
/>
|
|
810
|
-
</Grid>
|
|
811
|
-
</Grid>
|
|
812
|
-
)}
|
|
813
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
814
|
-
<FormControlLabel
|
|
815
|
-
control={
|
|
816
|
-
<Checkbox
|
|
817
|
-
checked={productionMethod.allowBulkNames}
|
|
818
|
-
onChange={this.onChange('allowBulkNames')}
|
|
819
|
-
value={'allowBulkNames'}
|
|
820
|
-
color="primary"
|
|
821
|
-
/>
|
|
822
|
-
}
|
|
823
|
-
label={t('allowBulkNames')}
|
|
824
|
-
/>
|
|
825
|
-
</Grid>
|
|
826
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
827
|
-
<FormControlLabel
|
|
828
|
-
control={
|
|
829
|
-
<Checkbox
|
|
830
|
-
checked={productionMethod.isDefault === true}
|
|
831
|
-
onChange={this.onChange('isDefault')}
|
|
832
|
-
value={'isDefault'}
|
|
833
|
-
color="primary"
|
|
834
|
-
/>
|
|
835
|
-
}
|
|
836
|
-
label={t('isDefault')}
|
|
837
|
-
/>
|
|
838
|
-
</Grid>
|
|
839
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
840
|
-
<FormControlLabel
|
|
841
|
-
control={
|
|
842
|
-
<Checkbox
|
|
843
|
-
checked={!!productionMethod.defaultColors}
|
|
844
|
-
onChange={this.onChange('defaultColors')}
|
|
845
|
-
value={'varyingDefaultColors'}
|
|
846
|
-
color="primary"
|
|
847
|
-
/>
|
|
848
|
-
}
|
|
849
|
-
label={t('varyingDefaultColors')}
|
|
850
|
-
/>
|
|
851
|
-
</Grid>
|
|
852
|
-
{!!variantsDefaultColors.length &&
|
|
853
|
-
variantsDefaultColors.map((variantsDefaultColor, index) => (
|
|
854
|
-
<Grid container key={index}>
|
|
855
|
-
<Grid item xs={6}>
|
|
856
|
-
<p>{variantsDefaultColor.variantTitle}</p>
|
|
857
|
-
</Grid>
|
|
858
|
-
<Grid item xs={6}>
|
|
859
|
-
{variantsDefaultColor.colorPaletteIdentifier &&
|
|
860
|
-
variantsDefaultColor.colorIdentifier && (
|
|
861
|
-
<React.Fragment>
|
|
862
|
-
<div
|
|
863
|
-
className={classes.variantsDefaultColorBox}
|
|
864
|
-
style={{
|
|
865
|
-
background: this.getVariantsDefaultColorValue(
|
|
866
|
-
variantsDefaultColor
|
|
867
|
-
),
|
|
868
|
-
}}
|
|
869
|
-
/>
|
|
870
|
-
<TextField
|
|
871
|
-
value={this.getVariantsDefaultColorTitle(
|
|
872
|
-
variantsDefaultColor
|
|
873
|
-
)}
|
|
874
|
-
style={styles.input}
|
|
875
|
-
disabled
|
|
876
|
-
/>
|
|
877
|
-
</React.Fragment>
|
|
878
|
-
)}
|
|
879
|
-
<IconButton
|
|
880
|
-
label={t('Edit')}
|
|
881
|
-
onClick={() => this.onDefaultColorEditClick(variantsDefaultColor)}
|
|
882
|
-
>
|
|
883
|
-
<EditIcon />
|
|
884
|
-
</IconButton>
|
|
885
|
-
</Grid>
|
|
886
|
-
</Grid>
|
|
887
|
-
))}
|
|
888
|
-
|
|
889
|
-
{this.renderMaskEditorField()}
|
|
890
|
-
|
|
891
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
892
|
-
<FormControlLabel
|
|
893
|
-
control={
|
|
894
|
-
<Checkbox
|
|
895
|
-
checked={productionMethod.designElementsLocked}
|
|
896
|
-
onChange={this.onChange('designElementsLocked')}
|
|
897
|
-
value={t('designElementsLocked')}
|
|
898
|
-
color="primary"
|
|
899
|
-
/>
|
|
900
|
-
}
|
|
901
|
-
label={t('designElementsLocked')}
|
|
902
|
-
/>
|
|
903
|
-
</Grid>
|
|
904
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
905
|
-
<FormControlLabel
|
|
906
|
-
control={
|
|
907
|
-
<Checkbox
|
|
908
|
-
checked={productionMethod.oneLineText}
|
|
909
|
-
onChange={this.onChange('oneLineText')}
|
|
910
|
-
value={'oneLineText'}
|
|
911
|
-
color="primary"
|
|
912
|
-
/>
|
|
913
|
-
}
|
|
914
|
-
label={t('oneLineText')}
|
|
915
|
-
/>
|
|
916
|
-
</Grid>
|
|
917
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
918
|
-
<TextField
|
|
919
|
-
label={t('minimumOrderAmount')}
|
|
920
|
-
onChange={this.onChange('minimumOrderAmount')}
|
|
921
|
-
value={productionMethod.minimumOrderAmount || ''}
|
|
922
|
-
style={styles.input}
|
|
923
|
-
type="number"
|
|
924
|
-
{...this.getErrorProps('minimumOrderAmount')}
|
|
925
|
-
/>
|
|
926
|
-
</Grid>
|
|
927
|
-
|
|
928
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
929
|
-
<div className={classes.inputWithLabel}>
|
|
930
|
-
<FormLabel component="legend"> {t('maxTextElements')} </FormLabel>
|
|
931
|
-
<TextField
|
|
932
|
-
onChange={this.onChange('maxTexts')}
|
|
933
|
-
value={productionMethod.maxTexts}
|
|
934
|
-
type="number"
|
|
935
|
-
error={this.state.maxTextError}
|
|
936
|
-
helperText={this.state.maxTextError ? T('minElementsError') : ''}
|
|
937
|
-
{...this.getErrorProps('maxTexts')}
|
|
938
|
-
/>
|
|
939
|
-
</div>
|
|
940
|
-
</Grid>
|
|
941
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
942
|
-
<div className={classes.inputWithLabel}>
|
|
943
|
-
<FormLabel component="legend"> {t('maxImageElements')} </FormLabel>
|
|
944
|
-
<TextField
|
|
945
|
-
onChange={this.onChange('maxImages')}
|
|
946
|
-
value={productionMethod.maxImages}
|
|
947
|
-
type="number"
|
|
948
|
-
error={this.state.maxImageError}
|
|
949
|
-
helperText={this.state.maxImageError ? T('minElementsError') : ''}
|
|
950
|
-
{...this.getErrorProps('maxImages')}
|
|
951
|
-
/>
|
|
952
|
-
</div>
|
|
953
|
-
</Grid>
|
|
954
|
-
<Grid item xs={12} className={classes.checkboxGrid}>
|
|
955
|
-
<div className={classes.inputWithLabel}>
|
|
956
|
-
<FormLabel component="legend"> {t('maxTotalElements')} </FormLabel>
|
|
957
|
-
<TextField
|
|
958
|
-
onChange={this.onChange('maxElements')}
|
|
959
|
-
value={productionMethod.maxElements || ''}
|
|
960
|
-
type="number"
|
|
961
|
-
{...this.getErrorProps('maxElements')}
|
|
962
|
-
/>
|
|
963
|
-
</div>
|
|
964
|
-
</Grid>
|
|
965
|
-
|
|
966
|
-
{this.renderCalculationTypes(productionMethod, channels)}
|
|
967
|
-
|
|
968
|
-
<Grid container justify="flex-end">
|
|
969
|
-
<Grid item xs={12}>
|
|
970
|
-
<IconButton
|
|
971
|
-
label={t('Remove')}
|
|
972
|
-
onClick={() => onRemove(productionMethod)}
|
|
973
|
-
id="remove"
|
|
974
|
-
>
|
|
975
|
-
<DeleteIcon />
|
|
976
|
-
</IconButton>
|
|
977
|
-
</Grid>
|
|
978
|
-
</Grid>
|
|
979
|
-
{openedVariantsDefaultColor !== null && (
|
|
980
|
-
<Dialog
|
|
981
|
-
open={true}
|
|
982
|
-
maxWidth="xs"
|
|
983
|
-
fullWidth={true}
|
|
984
|
-
onClose={this.onColorPalettesDialogClose}
|
|
985
|
-
>
|
|
986
|
-
<ColorPalettes
|
|
987
|
-
selectedColor={this.getColorFromVariantsDefaultColor(
|
|
988
|
-
openedVariantsDefaultColor
|
|
989
|
-
)}
|
|
990
|
-
colorSelectClick={this.onColorPalettesDialogSelectClick}
|
|
991
|
-
colorPalettes={colorPalettes}
|
|
992
|
-
closeColorPalettes={this.onColorPalettesDialogClose}
|
|
993
|
-
/>
|
|
994
|
-
</Dialog>
|
|
995
|
-
)}
|
|
996
|
-
</Grid>
|
|
997
|
-
</Card>
|
|
998
|
-
);
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
export default withStyles(styles)(FormProductionMethods);
|