@configuratorware/configurator-frontendgui 1.27.3-beta.3 → 1.27.3-beta.7
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/Error/ErrorBoundary.js +1 -1
- package/App/Frame.js +1 -1
- package/App/Modules/Creator/Components/ConfigurationvariantItem/index.js +1 -1
- package/App/Modules/Creator/Components/ConfigurationvariantSelection/index.js +1 -1
- package/App/Modules/Creator/Components/CustomTitleEditor/index.js +1 -1
- package/App/Modules/Creator/Components/ExternalVisualization/index.js +1 -1
- package/App/Modules/Creator/Components/FastConfigurationRow/index.js +1 -1
- package/App/Modules/Creator/Components/FastConfigurationSelect/index.js +1 -1
- package/App/Modules/Creator/Components/FullScreenView/FullScreenView.js +1 -1
- package/App/Modules/Creator/Components/Incompatibility/OptionRule/index.js +1 -1
- package/App/Modules/Creator/Components/Incompatibility/RuleComponent.js +1 -1
- package/App/Modules/Creator/Components/Incompatibility/index.js +1 -1
- package/App/Modules/Creator/Components/LoginForm/index.js +1 -1
- package/App/Modules/Creator/Components/Optiondetail/index.js +1 -1
- package/App/Modules/Creator/Components/Optiondetail/index.story.js +1 -1
- package/App/Modules/Creator/Components/Price/index.js +1 -1
- package/App/Modules/Creator/Components/SavedConfiguration/index.js +1 -1
- package/App/Modules/Creator/Components/ShareConfiguration/index.js +1 -1
- package/App/Modules/Creator/Components/StockInformation/index.js +1 -1
- package/App/Modules/Creator/Components/StoreConfigurationForm/index.js +1 -1
- package/App/Modules/Creator/Components/Tools/index.js +1 -1
- package/App/Modules/Creator/Components/ValidationResult/index.js +1 -1
- package/App/Modules/Creator/Containers/index.js +42 -42
- package/App/Modules/Designer/Components/AddGalleryImage/index.js +1 -1
- package/App/Modules/Designer/Components/AddVisualElement/index.js +1 -1
- package/App/Modules/Designer/Components/CloseDesignEditor/index.js +1 -1
- package/App/Modules/Designer/Components/ColorPalettes/index.js +1 -1
- package/App/Modules/Designer/Components/DesignAreaControlbox/index.js +1 -1
- package/App/Modules/Designer/Components/DesignerSelectionToolbox/DesignerSelectionToolbox.js +2 -2
- package/App/Modules/Designer/Components/DesignerSelectionToolbox/fontItemUtils.js +1 -1
- package/App/Modules/Designer/Components/Dialog/index.js +1 -1
- package/App/Modules/Designer/Components/FeedbackNotice/index.js +1 -1
- package/App/Modules/Designer/Components/ImageColorPicker/ImageColorPicker.js +1 -1
- package/App/Modules/Designer/Components/ImageColorize/index.js +1 -1
- package/App/Modules/Designer/Components/ImageControlbox/index.js +1 -1
- package/App/Modules/Designer/Components/ImageEditDialog/ImageThumbnail.js +1 -1
- package/App/Modules/Designer/Components/ImageEditDialog/ImageUpload.js +1 -1
- package/App/Modules/Designer/Components/ImageEditDialog/index.js +1 -1
- package/App/Modules/Designer/Components/ImageLibraryThumbnail/index.js +1 -1
- package/App/Modules/Designer/Components/ObjectTools/index.js +1 -1
- package/App/Modules/Designer/Components/Select/index.js +1 -1
- package/App/Modules/Designer/Components/TextControlbox/index.js +1 -1
- package/App/Modules/Designer/Containers/AddVisualElement.js +2 -2
- package/App/Modules/Designer/Containers/ColorPalettes.js +2 -2
- package/App/Modules/Designer/Containers/ImageEditDialog.js +1 -1
- package/App/Modules/Designer/Designer.js +3 -3
- package/App/Modules/Designer/Layouts/PopupAreaProvider.js +1 -1
- package/App/Modules/Designer/Utils/FontFaceRepository.js +2 -2
- package/App/Modules/Designer/Utils/Transformers.js +1 -1
- package/App/Modules/Designer/setupDesigner.js +4 -4
- package/App/Modules/Designer/withActiveCanvas.js +1 -1
- package/App/Modules/Visualization/AlignTargetContainer.js +1 -1
- package/App/Modules/Visualization/DefaultVisualizationProvider.js +3 -3
- package/App/Reducers/Actions.js +1 -1
- package/App/Reducers/ConfigurationMode/Selectors.js +1 -1
- package/App/Reducers/Configurator/Actions.js +1 -1
- package/App/Reducers/Configurator/AttributeSelectors.js +1 -1
- package/App/Reducers/Configurator/Reducer.js +7 -7
- package/App/Reducers/Configurator/Selectors.js +1 -1
- package/App/Reducers/Confirm/Actions.js +1 -1
- package/App/Reducers/DesignArea/Actions.js +1 -1
- package/App/Reducers/DesignArea/DesignElementSelectors.js +1 -1
- package/App/Reducers/DesignArea/Reducer.js +1 -1
- package/App/Reducers/DesignArea/Selectors.js +46 -36
- package/App/Reducers/DesignArea/Transformers.js +2 -2
- package/App/Reducers/DesignData/Actions.js +1 -1
- package/App/Reducers/DesignData/Modifiers.js +1 -1
- package/App/Reducers/DesignData/Reducer.js +1 -1
- package/App/Reducers/DesignData/Selectors.js +1 -1
- package/App/Reducers/DesignView/Selectors.js +1 -1
- package/App/Reducers/Device/Reducer.js +1 -1
- package/App/Reducers/Fonts/Actions.js +1 -1
- package/App/Reducers/Fonts/Reducer.js +1 -1
- package/App/Reducers/Fonts/Selectors.js +1 -1
- package/App/Reducers/ImageGallery/Actions.js +1 -1
- package/App/Reducers/ImageGallery/Modifiers.js +1 -1
- package/App/Reducers/ImageGallery/Reducer.js +1 -1
- package/App/Reducers/ImageGallery/Selectors.js +1 -1
- package/App/Reducers/UI/Actions.js +1 -1
- package/App/Reducers/UI/Reducer.js +1 -1
- package/App/Routing.js +1 -1
- package/App/Screens/Configurator/CalculationWidgetScreen.js +1 -1
- package/App/Screens/Configurator/Components/AmountSelection/index.js +1 -1
- package/App/Screens/Configurator/Components/CalculationWidget/index.js +2 -2
- package/App/Screens/Configurator/Components/Confirm/index.js +1 -1
- package/App/Screens/Configurator/Components/Error/index.js +1 -1
- package/App/Screens/Configurator/Components/FullScreenView/index.js +1 -1
- package/App/Screens/Configurator/Components/PreviewPortal/index.js +2 -2
- package/App/Screens/Configurator/Components/Thumbnail/index.js +2 -2
- package/App/Screens/Configurator/Containers/AmountPrice.js +1 -1
- package/App/Screens/Configurator/Containers/DesignApproval.js +1 -1
- package/App/Screens/Configurator/Containers/Visualization.js +1 -1
- package/App/Screens/Configurator/DesignerUI.js +1 -1
- package/App/Screens/Configurator/ThemeProvider.js +1 -1
- package/App/Screens/DesignerProductPreview/Constants.js +1 -1
- package/App/Screens/DesignerProductPreview/Screen.js +1 -1
- package/App/ServiceLocator.js +1 -1
- package/App/Services/AdminareaCommunicationService.js +1 -1
- package/App/Services/ConfiguratorService.js +1 -1
- package/App/Services/DesignDataService.js +1 -1
- package/App/Services/InteractionService.js +1 -1
- package/App/Services/UIService.js +1 -1
- package/App/Services/VisualizationService.js +3 -3
- package/App/Shared/Components/AcceptDesign/index.js +1 -1
- package/App/Shared/Components/AddToBasket/index.js +1 -1
- package/App/Shared/Components/AlertDialog/index.js +1 -1
- package/App/Shared/Components/AmountInput/index.js +1 -1
- package/App/Shared/Components/AmountPrice/index.js +1 -1
- package/App/Shared/Components/BulkNames/index.js +1 -1
- package/App/Shared/Components/InformationTag/InformationTag.js +1 -1
- package/App/Shared/Components/LicenseNotice/LicenseNotice.js +1 -1
- package/App/Shared/Components/LoadConfiguration/index.js +1 -1
- package/App/Shared/Components/Notification/index.js +1 -1
- package/App/Shared/Components/PdfDownload/index.js +1 -1
- package/App/Shared/Components/PriceList/index.js +1 -1
- package/App/Shared/Components/PriceOverview/index.js +1 -1
- package/App/Shared/Components/ProductVariant/index.js +2 -2
- package/App/Shared/Components/ReceiveOfferForm/index.js +1 -1
- package/App/Shared/Components/SaveConfiguration/index.js +1 -1
- package/App/Shared/Components/Stepper/index.js +1 -1
- package/App/Shared/Components/ToolbarList/index.js +1 -1
- package/App/Shared/Components/VariantChooser/index.js +1 -1
- package/App/Shared/Containers/AmountPrice/index.js +1 -1
- package/App/Shared/Containers/BulkNames.js +1 -1
- package/App/Shared/Containers/ProductVariant/ProductVariant.js +1 -1
- package/App/Shared/Providers/DefaultCanvasProvider.js +2 -2
- package/App/Store.js +1 -1
- package/App/configuration.js +8 -6
- package/App/index.js +1 -1
- package/App/initServices.js +1 -1
- package/Framework/Api.js +1 -1
- package/Framework/ComponentContainer.js +1 -1
- package/Framework/Components/Carousel/index.js +1 -1
- package/Framework/Components/Dialog/index.js +1 -1
- package/Framework/Components/DialogSelect/index.js +1 -1
- package/Framework/Components/Input/index.js +1 -1
- package/Framework/Components/Mobile/index.js +1 -1
- package/Framework/CustomError.js +1 -1
- package/Framework/Helpers/isMobileDevice.js +1 -1
- package/Framework/Services/AsyncService.js +1 -1
- package/Framework/Services/StoreService.js +1 -1
- package/Framework/bindDecorator.js +1 -1
- package/Framework/i18n.js +4 -3
- package/Shared/Components/MainButton.js +1 -1
- package/Shared/ErrorTypes/DeferredError.js +1 -1
- package/Shared/HOCs/ResizeDetect/ResizeDetect.js +1 -1
- package/Utils/Array/isIdentical.js +1 -1
- package/Utils/Async/Deferred.js +2 -1
- package/Utils/Dev/HOCs/withFilePicker.js +2 -2
- package/Utils/Events/pointerEvent.js +1 -1
- package/Utils/Function/memoize.js +1 -1
- package/Utils/Function/sendMessage.js +1 -1
- package/Utils/Immutable/set.js +1 -1
- package/package.json +4 -4
- package/scripts/getDefaultWebpackConfig.js +1 -13
|
@@ -9,9 +9,9 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
|
|
10
10
|
var _reactRedux = require("react-redux");
|
|
11
11
|
|
|
12
|
-
var _CanvasProvider = require("redhotmagma-graphics-editor/
|
|
12
|
+
var _CanvasProvider = require("redhotmagma-graphics-editor/CanvasInterface/CanvasProvider");
|
|
13
13
|
|
|
14
|
-
var _TextEditorStateProvider = require("redhotmagma-graphics-editor/
|
|
14
|
+
var _TextEditorStateProvider = require("redhotmagma-graphics-editor/Components/TextEditor/TextEditorStateProvider");
|
|
15
15
|
|
|
16
16
|
var _withActiveCanvas = require("../../Modules/Designer/withActiveCanvas");
|
|
17
17
|
|
package/App/Store.js
CHANGED
package/App/configuration.js
CHANGED
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
exports.getQueryParams = getQueryParams;
|
|
8
|
-
exports.setConfiguration = setConfiguration;
|
|
9
|
-
exports.getConf = getConf;
|
|
10
|
-
exports.setConf = setConf;
|
|
6
|
+
exports.WidgetAfterSaveMethods = exports.SaveTypes = void 0;
|
|
11
7
|
exports.getComponent = getComponent;
|
|
8
|
+
exports.getConf = getConf;
|
|
9
|
+
exports.getCustomApplicationConfiguration = void 0;
|
|
10
|
+
exports.getQueryParams = getQueryParams;
|
|
11
|
+
exports.init = init;
|
|
12
12
|
exports.isProduction = isProduction;
|
|
13
|
-
exports.
|
|
13
|
+
exports.setConf = setConf;
|
|
14
|
+
exports.setConfiguration = setConfiguration;
|
|
15
|
+
exports.setCustomApplicationConfiguration = void 0;
|
|
14
16
|
|
|
15
17
|
var _lodash = _interopRequireDefault(require("lodash"));
|
|
16
18
|
|
package/App/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.render = exports.main = exports["default"] = exports.App = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
package/App/initServices.js
CHANGED
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] =
|
|
8
|
+
exports.initServices = exports["default"] = void 0;
|
|
9
9
|
|
|
10
10
|
var _ServiceLocator = _interopRequireWildcard(require("./ServiceLocator"));
|
|
11
11
|
|
package/Framework/Api.js
CHANGED
|
@@ -30,7 +30,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
30
30
|
|
|
31
31
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
32
32
|
|
|
33
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
33
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
34
34
|
|
|
35
35
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
36
36
|
|
|
@@ -39,7 +39,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
39
39
|
|
|
40
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
41
|
|
|
42
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
42
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
43
43
|
|
|
44
44
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
45
|
|
|
@@ -43,7 +43,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
43
43
|
|
|
44
44
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
45
45
|
|
|
46
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
46
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
47
47
|
|
|
48
48
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
49
49
|
|
|
@@ -41,7 +41,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
41
41
|
|
|
42
42
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
43
43
|
|
|
44
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
44
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
45
45
|
|
|
46
46
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
47
47
|
|
|
@@ -33,7 +33,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
33
33
|
|
|
34
34
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
35
|
|
|
36
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
36
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
37
37
|
|
|
38
38
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
39
|
|
package/Framework/CustomError.js
CHANGED
|
@@ -13,7 +13,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
|
13
13
|
|
|
14
14
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
15
15
|
|
|
16
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
16
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
17
17
|
|
|
18
18
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
19
19
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports["default"] =
|
|
6
|
+
exports.isMobileDevice = exports["default"] = void 0;
|
|
7
7
|
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
8
8
|
|
|
9
9
|
var _isMobile = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(userAgent) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(userAgent.substr(0, 4));
|
|
@@ -29,7 +29,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
29
29
|
|
|
30
30
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
31
|
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
32
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
33
|
|
|
34
34
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
35
|
|
|
@@ -31,7 +31,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
31
31
|
|
|
32
32
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
33
33
|
|
|
34
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
34
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
35
35
|
|
|
36
36
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
37
37
|
|
|
@@ -15,7 +15,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
15
15
|
|
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
17
|
|
|
18
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
18
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
19
19
|
|
|
20
20
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
21
21
|
|
package/Framework/i18n.js
CHANGED
|
@@ -5,10 +5,11 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.t = exports.setStore = exports.mergeTranslations = exports.getLocale = exports["default"] = exports.changeLocale = exports.T = exports.L = exports.Hyphenated = void 0;
|
|
9
9
|
exports.translateComponent = translateComponent;
|
|
10
|
+
exports.translations = exports.translationExists = void 0;
|
|
11
|
+
exports.use = use;
|
|
10
12
|
exports.useTranslationWithoutStore = useTranslationWithoutStore;
|
|
11
|
-
exports.t = exports["default"] = exports.translationExists = exports.Hyphenated = exports.L = exports.T = exports.getLocale = exports.changeLocale = exports.mergeTranslations = exports.translations = exports.setStore = void 0;
|
|
12
13
|
|
|
13
14
|
var _reactReduxI18n = require("react-redux-i18n");
|
|
14
15
|
|
|
@@ -49,7 +50,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
49
50
|
|
|
50
51
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
51
52
|
|
|
52
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
53
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
53
54
|
|
|
54
55
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
55
56
|
|
|
@@ -19,7 +19,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
19
19
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
21
21
|
|
|
22
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
22
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
23
23
|
|
|
24
24
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
25
25
|
|
|
@@ -39,7 +39,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
39
39
|
|
|
40
40
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
41
41
|
|
|
42
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
42
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
43
43
|
|
|
44
44
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
45
45
|
|
package/Utils/Async/Deferred.js
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.Deferred = void 0;
|
|
6
7
|
Object.defineProperty(exports, "DeferredError", {
|
|
7
8
|
enumerable: true,
|
|
8
9
|
get: function get() {
|
|
9
10
|
return _DeferredError["default"];
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
|
-
exports
|
|
13
|
+
exports["default"] = exports.DeferredGroup = void 0;
|
|
13
14
|
|
|
14
15
|
var _DeferredError = _interopRequireDefault(require("../../Shared/ErrorTypes/DeferredError"));
|
|
15
16
|
|
|
@@ -5,8 +5,8 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.withFilePicker = withFilePicker;
|
|
9
8
|
exports["default"] = void 0;
|
|
9
|
+
exports.withFilePicker = withFilePicker;
|
|
10
10
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|
|
26
26
|
|
|
27
27
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
28
28
|
|
|
29
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
29
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
30
30
|
|
|
31
31
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
32
32
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.getPointFromPointerEvent = exports.createPositionChangeChecker = exports.createPointerHitListener = exports.createPointerEventListener = void 0;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @param {MouseEvent|TouchEvent} evt
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.sendMessage = sendMessage;
|
|
7
6
|
exports["default"] = void 0;
|
|
7
|
+
exports.sendMessage = sendMessage;
|
|
8
8
|
|
|
9
9
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
10
10
|
|
package/Utils/Immutable/set.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@configuratorware/configurator-frontendgui",
|
|
3
|
-
"version": "1.27.3-beta.
|
|
3
|
+
"version": "1.27.3-beta.7",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/polyfill": "^7.12.1",
|
|
9
|
-
"@configuratorware/scripts": "1.27.3-beta.
|
|
9
|
+
"@configuratorware/scripts": "1.27.3-beta.7",
|
|
10
10
|
"@hot-loader/react-dom": "^17.0.1",
|
|
11
11
|
"@material-ui/core": "^4.12.2",
|
|
12
12
|
"@material-ui/icons": "^4.11.2",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"react-router-dom": "^5.2.0",
|
|
40
40
|
"react-swipeable": "^5.5.1",
|
|
41
41
|
"react-zoom-pan-pinch": "^2.1.3",
|
|
42
|
-
"redhotmagma-graphics-editor": "1.27.3-beta.
|
|
43
|
-
"redhotmagma-visualization": "1.27.3-beta.
|
|
42
|
+
"redhotmagma-graphics-editor": "1.27.3-beta.7",
|
|
43
|
+
"redhotmagma-visualization": "1.27.3-beta.7",
|
|
44
44
|
"redux": "^4.1.0",
|
|
45
45
|
"redux-logger": "^3.0.6",
|
|
46
46
|
"redux-persist": "^5.10.0",
|
|
@@ -6,19 +6,13 @@ const path = require('path');
|
|
|
6
6
|
const webpack = require('webpack');
|
|
7
7
|
const fs = require('fs');
|
|
8
8
|
|
|
9
|
-
const { version
|
|
9
|
+
const { version } = require('../package.json');
|
|
10
10
|
|
|
11
11
|
function getConfig(mode, dirname) {
|
|
12
12
|
try {
|
|
13
13
|
const BUILD_DIR = path.resolve(dirname, 'public');
|
|
14
14
|
const APP_DIR = path.resolve(dirname, 'src');
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
const { name: localProjectName } = require(path.resolve(dirname, 'package.json'));
|
|
18
|
-
const isCoreProject = coreProjectName === localProjectName;
|
|
19
|
-
|
|
20
|
-
console.info('Core development detected: using local package resolution');
|
|
21
|
-
|
|
22
16
|
const sassVariables = path.resolve(dirname, 'src/Custom/Variables.scss').replace(/\\/g, '/');
|
|
23
17
|
let sassVariablesFileExists = false;
|
|
24
18
|
try {
|
|
@@ -38,12 +32,6 @@ function getConfig(mode, dirname) {
|
|
|
38
32
|
resolve: {
|
|
39
33
|
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
40
34
|
fallback: { path: require.resolve('path-browserify') },
|
|
41
|
-
alias: isCoreProject
|
|
42
|
-
? {
|
|
43
|
-
'redhotmagma-graphics-editor': 'redhotmagma-graphics-editor/lib/',
|
|
44
|
-
'redhotmagma-visualization': 'redhotmagma-visualization/lib/',
|
|
45
|
-
}
|
|
46
|
-
: {},
|
|
47
35
|
},
|
|
48
36
|
};
|
|
49
37
|
|