@threedddplus/logoeditor 0.0.217 → 0.0.218

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.
@@ -32,7 +32,6 @@ import Select, { components } from 'react-select';
32
32
  import { FloatingLabel } from 'flowbite-react';
33
33
  import { ChromePicker } from 'react-color';
34
34
  import 'react-toastify/dist/ReactToastify.css';
35
- import { createRoot } from 'react-dom/client';
36
35
 
37
36
  function _regeneratorRuntime() {
38
37
  _regeneratorRuntime = function () {
@@ -3926,6 +3925,12 @@ var converterSlice = function converterSlice(set, get) {
3926
3925
  //@ts-ignore
3927
3926
  new String(svgstr), function (objects, options) {
3928
3927
  var _canvasToLoad, _use3dddPlus$getState;
3928
+ objects.forEach(function (element) {
3929
+ //@ts-ignore
3930
+ element.set({
3931
+ id: use3dddPlus.getState().guid()
3932
+ });
3933
+ });
3929
3934
  var svgData = getDesignConceptSVGData(svgstr);
3930
3935
  var loadedObject = fabric.util.groupSVGElements(objects, options);
3931
3936
  prepocessSvgData(svgData, objects);
@@ -15491,28 +15496,5 @@ var LogoEditor = function LogoEditor(_ref) {
15491
15496
  }))));
15492
15497
  };
15493
15498
 
15494
- // import { use3dddPlus } from './store';
15495
- // import { shallow } from 'zustand/shallow';
15496
- var container = /*#__PURE__*/document.getElementById('root');
15497
- var root = /*#__PURE__*/createRoot(container); // createRoot(container!) if you use TypeScript
15498
- var MYApp = function MYApp() {
15499
- // const [selectedStepper] = use3dddPlus(state => [state.selectedStepper], shallow)
15500
- var customerId = "117015";
15501
- //customerId="80217"corby
15502
- return React.createElement(LogoEditor, {
15503
- stepperId: 1,
15504
- onApply: undefined,
15505
- customLogoColorList: undefined,
15506
- defaultColorList: undefined,
15507
- logoData: undefined,
15508
- customerId: customerId,
15509
- onSaveLogo: undefined,
15510
- onClose: function onClose() {
15511
- console.log('1212i');
15512
- }
15513
- });
15514
- };
15515
- root.render(React.createElement(MYApp, null));
15516
-
15517
15499
  export { index$1 as Components, LoadGoogleFonts as GoogleFontLoader, LogoEditor, index as services, use3dddPlus };
15518
15500
  //# sourceMappingURL=logoeditor.esm.js.map