@threedddplus/logoeditor 0.0.7 → 0.0.9

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.
@@ -1021,6 +1021,8 @@ var historySlice = function historySlice(set, _get) {
1021
1021
 
1022
1022
  var fabricSlice = function fabricSlice(set, get) {
1023
1023
  return {
1024
+ popUpCanvasCount: 0,
1025
+ popupCanvasStoreHistory: [],
1024
1026
  availableMascots: [],
1025
1027
  filteredMascots: [],
1026
1028
  logoData: null,
@@ -1071,12 +1073,13 @@ var fabricSlice = function fabricSlice(set, get) {
1071
1073
  forIconCapture: function forIconCapture() {
1072
1074
  var activeObject = get().fabricCanvas.getActiveObject();
1073
1075
  if (activeObject) {
1074
- var dataURL = get().fabricCanvas.toDataURL({
1075
- left: activeObject.left,
1076
- top: activeObject.top,
1077
- width: activeObject.width * activeObject.scaleX,
1078
- height: activeObject.height * activeObject.scaleY
1079
- });
1076
+ // const dataURL = get().fabricCanvas.toDataURL({
1077
+ // left: activeObject.left,
1078
+ // top: activeObject.top,
1079
+ // width: activeObject.width * activeObject.scaleX,
1080
+ // height: activeObject.height * activeObject.scaleY,
1081
+ // });
1082
+ var dataURL = activeObject.toDataURL('image/png');
1080
1083
  set({
1081
1084
  iconImage: dataURL
1082
1085
  });
@@ -1341,7 +1344,51 @@ var fabricSlice = function fabricSlice(set, get) {
1341
1344
  };
1342
1345
  });
1343
1346
  },
1344
- popUpCanvasAllColor: []
1347
+ popUpCanvasAllColor: [],
1348
+ popUpCanvasApplyColorFill: function popUpCanvasApplyColorFill() {
1349
+ var popUpCanvasData = get().popupCanv.toJSON();
1350
+ var popUpCanvasGetobject = get().popupCanv.getObjects();
1351
+ popUpCanvasData.objects.forEach(function (element, index) {
1352
+ element.colorFill = popUpCanvasGetobject[index].colorFill;
1353
+ });
1354
+ console.log(popUpCanvasGetobject);
1355
+ return popUpCanvasData;
1356
+ },
1357
+ popUpCanvasUpdateModification: function popUpCanvasUpdateModification(toSet) {
1358
+ if (toSet) {
1359
+ var historyObject = {
1360
+ colorFill: get().colorFill,
1361
+ json: get().popUpCanvasApplyColorFill()
1362
+ };
1363
+ set(function (state) {
1364
+ return _extends({}, state, {
1365
+ popupCanvasStoreHistory: [].concat(state.popupCanvasStoreHistory, [historyObject])
1366
+ });
1367
+ });
1368
+ }
1369
+ },
1370
+ popUpCanvasUndo: function popUpCanvasUndo() {
1371
+ if (get().popUpCanvasCount < get().popupCanvasStoreHistory.length) {
1372
+ var _V = get().popupCanvasStoreHistory.length - 1 - get().popUpCanvasCount - 1;
1373
+ get().popupCanv.clear().renderAll();
1374
+ get().popupCanv.loadFromJSON(get().popupCanvasStoreHistory[_V].json);
1375
+ set({
1376
+ colorFill: get().popupCanvasStoreHistory[_V].colorFill
1377
+ });
1378
+ get().popupCanv.renderAll();
1379
+ get().popUpCanvasCount += 1;
1380
+ }
1381
+ },
1382
+ popUpCanvasRedo: function popUpCanvasRedo() {
1383
+ if (get().popUpCanvasCount > 0) {
1384
+ get().popupCanv.clear().renderAll();
1385
+ get().popupCanv.loadFromJSON(get().popupCanvasStoreHistory[get().popupCanvasStoreHistory.length - 1 - get().popUpCanvasCount + 1]);
1386
+ get().popupCanv.renderAll();
1387
+ get().popUpCanvasCount -= 1;
1388
+ }
1389
+ },
1390
+ forPopupCanvasReset: null,
1391
+ forPopupCanvasColor: {}
1345
1392
  };
1346
1393
  };
1347
1394
 
@@ -2040,7 +2087,78 @@ var converterSlice = function converterSlice(set, get) {
2040
2087
  imageToSVG: function imageToSVG(data) {
2041
2088
  use3dddPlus.setState({
2042
2089
  uploadImageModalDisplay: true
2043
- }); // FOR POPUP CANVAS VISIBLE
2090
+ });
2091
+ // ImageTracer.imageToSVG(
2092
+ // data,
2093
+ // function (svgstr) {
2094
+ // fabric.loadSVGFromString(
2095
+ // //@ts-ignore
2096
+ // new String(svgstr),
2097
+ // function (objects, options) {
2098
+ // let loadedObject = fabric.util.groupSVGElements(
2099
+ // objects,
2100
+ // options
2101
+ // );
2102
+ // // console.log("LOADEDOBJECT--->",data);
2103
+ // loadedObject.scaleToHeight(300);
2104
+ // loadedObject.scaleToWidth(300);
2105
+ // //@ts-ignore
2106
+ // let objImage = loadedObject._objects;
2107
+ // let _Fills = [];
2108
+ // objImage.forEach((ele) => {
2109
+ // ele.set({ strokeWidth: 0 });
2110
+ // set({ fillColor: [...ele.fill] });
2111
+ // let _C = get().RGBToHex(ele.fill);
2112
+ // _Fills.push(_C);
2113
+ // });
2114
+ // //@ts-ignore
2115
+ // set({ fillColor: get().removeDuplicates(_Fills) });
2116
+ // //@ts-ignore
2117
+ // _Fills = get().removeDuplicates(_Fills);
2118
+ // const fillColors = {};
2119
+ // _Fills.map((item, index) => {
2120
+ // fillColors['layer' + index] = item;
2121
+ // });
2122
+ // use3dddPlus.setState({ colorFill: fillColors });
2123
+ // //FOR POPUP CANVAS
2124
+ // loadedObject.set({
2125
+ // //@ts-ignore
2126
+ // colorFill: fillColors,
2127
+ // hasControls: false,
2128
+ // hasBorders: false,
2129
+ // lockMovementX: true,
2130
+ // lockMovementY: true,
2131
+ // });
2132
+ // // for main canvas use this
2133
+ // console.log('fillColors-->', fillColors);
2134
+ // loadedObject.set({
2135
+ // colorFill: fillColors,
2136
+ // //@ts-ignore
2137
+ // setControlVisible: false,
2138
+ // });
2139
+ // //-------- use CANVAS INSTEAD OF POPCANVAS--------
2140
+ // use3dddPlus.getState().popupCanv.add(loadedObject).renderAll();
2141
+ // use3dddPlus.getState().popupCanv.centerObject(loadedObject);
2142
+ // let _U = use3dddPlus.getState().popupCanv.toJSON();
2143
+ // const _G = use3dddPlus.getState().popupCanv.getObjects();
2144
+ // _U.objects.forEach((element, index) => {
2145
+ // element.colorFill = _G[index].colorFill;
2146
+ // });
2147
+ // use3dddPlus.setState({
2148
+ // forPopupCanvasReset: JSON.stringify(_U),
2149
+ // forPopupCanvasColor: { ...fillColors },
2150
+ // });
2151
+ // // popupCanvas.setActiveObject(loadedObject);
2152
+ // // use3dddPlus.setState({activeSelection: loadedObject});
2153
+ // // loadedObject.setControlVisible("mtr", false);
2154
+ // // use3dddPlus.getState().forStoringAllObject(loadedObject);//for pushing the data into array for layers
2155
+ // }
2156
+ // );
2157
+ // },
2158
+ // // options
2159
+ // //@ts-ignore
2160
+ // optionpresets.default
2161
+ // );// FOR POPUP CANVAS VISIBLE
2044
2162
  ImageTracer.imageToSVG(data, function (svgstr) {
2045
2163
  fabric.loadSVGFromString(
2046
2164
  //@ts-ignore
@@ -4263,12 +4381,13 @@ var Initpopup = function Initpopup() {
4263
4381
  var PopUpCanvas = function PopUpCanvas() {
4264
4382
  var _Object$keys;
4265
4383
  var _use3dddPlus = use3dddPlus(function (state) {
4266
- return [state.popupCanv, state.fabricCanvas, state.colorFill, state.changeSVGColor];
4384
+ return [state.popupCanv, state.fabricCanvas, state.colorFill, state.changeSVGColor, state.popUpCanvasUndo];
4267
4385
  }, shallow),
4268
4386
  popupCanvas = _use3dddPlus[0],
4269
4387
  canvas = _use3dddPlus[1],
4270
4388
  colorFill = _use3dddPlus[2],
4271
- changeSVGColor = _use3dddPlus[3];
4389
+ changeSVGColor = _use3dddPlus[3],
4390
+ popUpCanvasUndo = _use3dddPlus[4];
4272
4391
  var _useState = useState(3),
4273
4392
  colorCount = _useState[0],
4274
4393
  setColorCount = _useState[1];
@@ -4347,6 +4466,23 @@ var PopUpCanvas = function PopUpCanvas() {
4347
4466
  popupCanvas.getActiveObject().clone(function (cloned) {
4348
4467
  clipboard = cloned;
4349
4468
  });
4469
+ // if (clipboard.type === 'activeSelection') {
4470
+ // clipboard.canvas = canvas;
4471
+ // const objs = [];
4472
+ // clipboard.forEachObject(function (obj) {
4473
+ // objs.push(obj);
4474
+ // });
4475
+ // const alltogetherObj = new fabric.Group(objs, {});
4476
+ // canvas.centerObject(alltogetherObj);
4477
+ // canvas.add(alltogetherObj);
4478
+ // canvas.setActiveObject(alltogetherObj);
4479
+ // alltogetherObj.setCoords();
4480
+ // use3dddPlus.getState().forStoringAllObject(alltogetherObj); //for pushing the data into array for layers
4481
+ // } else {
4482
+ // canvas.add(clipboard);
4483
+ // }
4484
+ // canvas.requestRenderAll();
4485
+ // popupCanvas.clear();
4350
4486
  if (clipboard.type === 'activeSelection') {
4351
4487
  clipboard.canvas = canvas;
4352
4488
  var objs = [];
@@ -4357,13 +4493,33 @@ var PopUpCanvas = function PopUpCanvas() {
4357
4493
  canvas.centerObject(alltogetherObj);
4358
4494
  canvas.add(alltogetherObj);
4359
4495
  canvas.setActiveObject(alltogetherObj);
4496
+ alltogetherObj.set({
4497
+ //@ts-ignore
4498
+ colorFill: use3dddPlus.getState().colorFill
4499
+ });
4360
4500
  alltogetherObj.setCoords();
4361
4501
  use3dddPlus.getState().forStoringAllObject(alltogetherObj); //for pushing the data into array for layers
4502
+ use3dddPlus.getState().forIconCapture();
4503
+ //@ts-ignore
4504
+ alltogetherObj.icon = use3dddPlus.getState().iconImage;
4362
4505
  } else {
4363
4506
  canvas.add(clipboard);
4364
4507
  }
4365
4508
  canvas.requestRenderAll();
4366
4509
  popupCanvas.clear();
4510
+ use3dddPlus.setState({
4511
+ popupCanvasStoreHistory: []
4512
+ });
4513
+ };
4514
+ var resetHandler = function resetHandler() {
4515
+ console.log(use3dddPlus.getState().forPopupCanvasReset);
4516
+ popupCanvas.clear();
4517
+ popupCanvas.loadFromJSON(use3dddPlus.getState().forPopupCanvasReset, function () {
4518
+ use3dddPlus.setState({
4519
+ colorFill: _extends({}, use3dddPlus.getState().forPopupCanvasColor)
4520
+ });
4521
+ popupCanvas.renderAll();
4522
+ });
4367
4523
  };
4368
4524
  return React.createElement(React.Fragment, null, React.createElement("div", {
4369
4525
  className: "flex z-10 overflow-y-auto"
@@ -4387,7 +4543,8 @@ var PopUpCanvas = function PopUpCanvas() {
4387
4543
  })), React.createElement("div", {
4388
4544
  className: "btnCont absolute flex flex-wrap top-0 right-0 p-10"
4389
4545
  }, React.createElement("div", {
4390
- className: "undoBtn cursor-pointer mr-4"
4546
+ className: "undoBtn cursor-pointer mr-4",
4547
+ onClick: popUpCanvasUndo
4391
4548
  }, React.createElement("div", {
4392
4549
  className: "undoIcon float-left"
4393
4550
  }, React.createElement("svg", {
@@ -4402,7 +4559,8 @@ var PopUpCanvas = function PopUpCanvas() {
4402
4559
  }))), React.createElement("span", {
4403
4560
  className: "iconLabel float-left text-[#727272] ml-2 text-[13px] font-bold "
4404
4561
  }, "Undo")), React.createElement("div", {
4405
- className: "resetBtn cursor-pointer"
4562
+ className: "resetBtn cursor-pointer",
4563
+ onClick: resetHandler
4406
4564
  }, React.createElement("div", {
4407
4565
  className: "resetBtn float-left"
4408
4566
  }, React.createElement("svg", {
@@ -5146,6 +5304,13 @@ var Rightmenu = function Rightmenu() {
5146
5304
  textInfo: activeSelection.text
5147
5305
  });
5148
5306
  }, [activeSelection]);
5307
+ useEffect(function () {
5308
+ if (currentSelection === 'text' || currentSelection === 'group' || currentSelection === 'selectAll' || currentSelection === 'none') {
5309
+ setActiveTab(1);
5310
+ } else if (currentSelection === 'layer') {
5311
+ setActiveTab(2);
5312
+ }
5313
+ }, [currentSelection]);
5149
5314
  var onTextChange = function onTextChange(e) {
5150
5315
  var lines = e.target.value.split('\n');
5151
5316
  lines.length == 1 ? setTextAlignDisplay(false) : setTextAlignDisplay(true);
@@ -5419,322 +5584,332 @@ var Rightmenu = function Rightmenu() {
5419
5584
  key: tab.id,
5420
5585
  className: (activeTab === tab.id ? 'bg-[#E11A38] text-white' : 'bg-[#fff] text-gray-800') + " py-[10px] px-[40px] focus:outline-none uppercase text-[13px] font-bold",
5421
5586
  onClick: function onClick() {
5422
- return setActiveTab(tab.id);
5587
+ setActiveTab(tab.id);
5588
+ if (tab.id === 1) {
5589
+ use3dddPlus.setState({
5590
+ currentSelection: 'none'
5591
+ });
5592
+ canvas.discardActiveObject();
5593
+ canvas.renderAll();
5594
+ }
5595
+ if (tab.id === 2) {
5596
+ use3dddPlus.setState({
5597
+ currentSelection: 'layer'
5598
+ });
5599
+ }
5423
5600
  }
5424
5601
  }, tab.label);
5425
5602
  })), React.createElement("div", {
5426
5603
  className: "bg-gray-100 p-4"
5427
- }, tabs.map(function (tab) {
5428
- return activeTab === 1 && tab.id === 1 ? React.createElement("div", {
5429
- key: tab.id
5430
- }, React.createElement("div", {
5431
- className: "h-[50vh] sm:h-[55vh] 2xl:h-[60vh] overflow-y-auto overflow-x-hidden"
5432
- }, currentSelection === 'text' && React.createElement("div", {
5433
- className: " "
5604
+ }, activeTab === 1 && React.createElement("div", {
5605
+ key: activeTab
5606
+ }, React.createElement("div", {
5607
+ className: "h-[50vh] sm:h-[55vh] 2xl:h-[60vh] overflow-y-auto overflow-x-hidden"
5608
+ }, currentSelection === 'text' && React.createElement("div", {
5609
+ className: " "
5610
+ }, React.createElement("div", {
5611
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5612
+ }, "Enter Text"), React.createElement("textarea", {
5613
+ value: textInfo,
5614
+ onChange: onTextChange,
5615
+ className: "w-[100%] border border-solid-[1px] border-[#9A9A9A] py-[10px] pl-[16px] mb-[16.5px]",
5616
+ placeholder: "LOGO TEXT"
5617
+ }), React.createElement("div", {
5618
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5619
+ }, "Select Font"), React.createElement("select", {
5620
+ name: "FontStyleNumber",
5621
+ id: "FontStyleNumber",
5622
+ onChange: fontChange,
5623
+ className: INPUT_BG_COLOR + " font-bold " + TEXT_COLOR_1 + " " + TEXT_SIZE_3 + " border border-solid\t " + BORDER_COLOR_1 + " select select-bordered w-full rounded-none focus:outline-current focus:outline-offset-0 focus:rounded-sm mb-[16.5px]"
5624
+ }, fontFamilies.map(function (list) {
5625
+ return React.createElement(React.Fragment, null, React.createElement("option", {
5626
+ value: list.name
5627
+ }, list.name));
5628
+ })), React.createElement("div", {
5629
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5630
+ }, "TEXT SIZE"), React.createElement("input", {
5631
+ type: "range",
5632
+ value: sliderValue,
5633
+ onChange: handleSliderChange,
5634
+ className: " rangeSlider w-full mb-[16.5px]",
5635
+ id: "slider",
5636
+ style: {
5637
+ background: "linear-gradient(to right, #e11a38 0%, #e11a38 " + sliderValue + "%, #fff " + sliderValue + "%, #fff 100%)"
5638
+ }
5639
+ }), React.createElement("div", {
5640
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5641
+ }, "Style"), React.createElement("div", {
5642
+ className: "flex gap-x-[15px] mb-[16.5px]"
5643
+ }, ' ', React.createElement("button", {
5644
+ className: fontStyle.bold ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border font-bold border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] font-bold text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5645
+ onClick: function onClick(e) {
5646
+ return textStyle(e, 'fontWeight', 'bold');
5647
+ },
5648
+ id: "bold"
5649
+ }, "B"), React.createElement("button", {
5650
+ className: fontStyle.italic ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border italic border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] italic text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5651
+ onClick: function onClick(e) {
5652
+ return textStyle(e, 'fontStyle', 'italic');
5653
+ },
5654
+ id: "italic"
5655
+ }, "I"), React.createElement("button", {
5656
+ className: fontStyle.underline ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border underline border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] underline text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5657
+ onClick: function onClick(e) {
5658
+ return textStyle(e, 'underline', !fontStyle.underline);
5659
+ },
5660
+ id: "underline"
5661
+ }, "U")), textAlignDisplay === true && React.createElement("div", {
5662
+ className: "textAlign"
5663
+ }, React.createElement("div", {
5664
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5665
+ }, "Align"), React.createElement("div", {
5666
+ className: "flex gap-x-[15px] mb-[16.5px]"
5667
+ }, React.createElement("button", {
5668
+ type: "button",
5669
+ className: 'left' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5670
+ id: "left",
5671
+ onClick: textAlignHandler
5672
+ }, React.createElement(FiAlignLeft, {
5673
+ id: "left",
5674
+ onClick: textAlignHandler
5675
+ })), React.createElement("button", {
5676
+ type: "button",
5677
+ className: 'center' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] y-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5678
+ id: "center",
5679
+ onClick: textAlignHandler
5680
+ }, React.createElement(FiAlignCenter, {
5681
+ id: "center",
5682
+ onClick: textAlignHandler
5683
+ })), React.createElement("button", {
5684
+ type: "button",
5685
+ className: 'right' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] y-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5686
+ id: "right",
5687
+ onClick: textAlignHandler
5688
+ }, React.createElement(FiAlignRight, {
5689
+ id: "right",
5690
+ onClick: textAlignHandler
5691
+ })))), React.createElement("div", {
5692
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5693
+ }, "Text Color"), React.createElement("div", {
5694
+ className: "relative"
5695
+ }, React.createElement(ColorImpl, {
5696
+ mClass: 'ml-0',
5697
+ handleChange: textColorChange,
5698
+ property: 'backgroundColor',
5699
+ name: 'backgroundColor',
5700
+ color: activeSelection.fill
5701
+ })), React.createElement("div", {
5702
+ className: "flex gap-2 mt-4"
5703
+ }, React.createElement("div", null, React.createElement("div", {
5704
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5705
+ }, "Outline Size"), React.createElement("input", {
5706
+ type: "number",
5707
+ id: "outlineSize",
5708
+ name: "outlineSize",
5709
+ step: "0.2",
5710
+ value: outlineVal,
5711
+ className: "border border-[#EBEBEB] py-[10px] pl-[16px] mb-[16.5px] w-[145px]",
5712
+ onChange: textOutlineHandler
5713
+ })), React.createElement("div", null, React.createElement("div", {
5714
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5715
+ }, "Outline Color"), React.createElement("div", {
5716
+ className: "relative"
5717
+ }, ' ', React.createElement(ColorImpl, {
5718
+ mClass: 'ml-0',
5719
+ handleChange: strokeColorChange,
5720
+ property: 'backgroundColor',
5721
+ name: 'backgroundColor',
5722
+ color: activeSelection.stroke
5723
+ })))), React.createElement("div", {
5724
+ className: "flex gap-2"
5725
+ }, React.createElement("div", null, React.createElement("div", {
5726
+ className: "uppercase font-bold text-sm mb-[8.5px]"
5727
+ }, "Letter Spacing"), React.createElement("input", {
5728
+ type: "number",
5729
+ id: "spacing",
5730
+ name: "spacing",
5731
+ step: "10",
5732
+ value: spacingVal,
5733
+ className: "border border-[#EBEBEB] py-[10px] pl-[16px] mb-[16.5px] w-[145px]",
5734
+ onChange: textSpacingHandler
5735
+ })))), currentSelection === 'group' && React.createElement(ImageEdit, {
5736
+ flipX: flipX,
5737
+ flipY: flipY,
5738
+ changeSVGColor: changeSVGColor,
5739
+ // nudgeMove={nudgeMove}
5740
+ activeSelection: activeSelection
5741
+ }), currentSelection === 'selectAll' && React.createElement(React.Fragment, null, React.createElement("div", {
5742
+ className: "uppercase font-bold pt-[17px]"
5743
+ }, "Color in Canvas"), React.createElement("div", {
5744
+ className: "flex gap-x-[1rem] mt-[12px] mb-[12px]"
5745
+ }, allColor == null ? void 0 : allColor.map(function (item) {
5746
+ return React.createElement(ColorImpl, {
5747
+ mClass: 'ml-[36px]',
5748
+ key: item,
5749
+ handleChange: changeSVGTextColor,
5750
+ property: item,
5751
+ color: item
5752
+ });
5753
+ })), React.createElement("button", {
5754
+ onClick: nudgeMove,
5755
+ id: "down",
5756
+ className: "font-medium text-orange-400"
5757
+ }, "DOWN"), React.createElement("button", {
5758
+ onClick: nudgeMove,
5759
+ id: "up",
5760
+ className: "font-medium text-orange-300 text-lime-400 px-1"
5761
+ }, "UP"), React.createElement("button", {
5762
+ onClick: nudgeMove,
5763
+ id: "left",
5764
+ className: "font-medium text-orange-300 text-teal-500"
5765
+ }, "LEFT"), React.createElement("button", {
5766
+ onClick: nudgeMove,
5767
+ id: "right",
5768
+ className: "font-medium text-orange-300 text-violet-600 px-1"
5769
+ }, "RIGHT"),
5770
+ // console.log(storeAllObject);
5771
+ storeAllObject.map(function (item, index) {
5772
+ return React.createElement("div", {
5773
+ className: "innerLayer bg-slate-300 my-1"
5774
+ }, React.createElement("img", {
5775
+ className: "rounded-lg w-14 h-8",
5776
+ src: item ? item['icon'] : ''
5777
+ }), React.createElement("button", {
5778
+ className: "up mx-1 px-2 border-solid border-2 border-slate-500 ",
5779
+ onClick: function onClick() {
5780
+ return layerHandle(item, index, 'plus');
5781
+ }
5782
+ }, "UP"), React.createElement("button", {
5783
+ className: "down mx-1 px-2 border-solid border-2 border-slate-500",
5784
+ onClick: function onClick() {
5785
+ return layerHandle(item, index, 'minus');
5786
+ }
5787
+ }, "DOWN"), React.createElement("button", {
5788
+ className: "close mx-1 px-2 border-solid border-2 border-slate-500",
5789
+ onClick: function onClick() {
5790
+ return deleteElement(item);
5791
+ }
5792
+ }, "DELETE"));
5793
+ })), currentSelection === 'none' && React.createElement(React.Fragment, null, React.createElement("div", {
5794
+ className: "uppercase font-bold pt-[17px]"
5795
+ }, "Color in Canvas"), React.createElement("div", {
5796
+ className: "flex gap-x-[1rem] mt-[12px]"
5797
+ }, allColor == null ? void 0 : allColor.map(function (item) {
5798
+ return React.createElement(ColorImpl, {
5799
+ mClass: 'ml-[36px]',
5800
+ key: item,
5801
+ handleChange: changeSVGTextColor,
5802
+ property: item,
5803
+ color: item
5804
+ });
5805
+ })))), React.createElement("button", {
5806
+ type: "button",
5807
+ className: "mt-3 inline-flex justify-center bg-white px-[110px] py-2 text-sm font-medium text-[#E11A38] shadow-sm ring-1 ring-inset ring-[#E11A38] hover:bg-gray-50 sm:mt-0 w-full",
5808
+ onClick: onSave
5809
+ }, "Save")), activeTab === 2 && React.createElement("div", {
5810
+ key: activeTab
5811
+ }, currentSelection === 'layer' && React.createElement("div", {
5812
+ className: ""
5813
+ }, storeAllObject.map(function (item, index) {
5814
+ return React.createElement(React.Fragment, null, React.createElement("div", {
5815
+ className: "innerLayer border border-[#D7D7D7] my-[16px] h-[80px] flex justify-between"
5434
5816
  }, React.createElement("div", {
5435
- className: "uppercase font-bold text-sm mb-[8.5px]"
5436
- }, "Enter Text"), React.createElement("textarea", {
5437
- value: textInfo,
5438
- onChange: onTextChange,
5439
- className: "w-[100%] border border-solid-[1px] border-[#9A9A9A] py-[10px] pl-[16px] mb-[16.5px]",
5440
- placeholder: "LOGO TEXT"
5441
- }), React.createElement("div", {
5442
- className: "uppercase font-bold text-sm mb-[8.5px]"
5443
- }, "Select Font"), React.createElement("select", {
5444
- name: "FontStyleNumber",
5445
- id: "FontStyleNumber",
5446
- onChange: fontChange,
5447
- className: INPUT_BG_COLOR + " font-bold " + TEXT_COLOR_1 + " " + TEXT_SIZE_3 + " border border-solid\t " + BORDER_COLOR_1 + " select select-bordered w-full rounded-none focus:outline-current focus:outline-offset-0 focus:rounded-sm mb-[16.5px]"
5448
- }, fontFamilies.map(function (list) {
5449
- return React.createElement(React.Fragment, null, React.createElement("option", {
5450
- value: list.name
5451
- }, list.name));
5817
+ className: "imgBox border border-r-[#D7D7D7] bg-slate-200 flex w-[80px]"
5818
+ }, React.createElement("img", {
5819
+ className: "rounded-lg w-14 h-8",
5820
+ src: item ? item['icon'] : ''
5452
5821
  })), React.createElement("div", {
5453
- className: "uppercase font-bold text-sm mb-[8.5px]"
5454
- }, "TEXT SIZE"), React.createElement("input", {
5455
- type: "range",
5456
- value: sliderValue,
5457
- onChange: handleSliderChange,
5458
- className: " rangeSlider w-full mb-[16.5px]",
5459
- id: "slider",
5460
- style: {
5461
- background: "linear-gradient(to right, #e11a38 0%, #e11a38 " + sliderValue + "%, #fff " + sliderValue + "%, #fff 100%)"
5462
- }
5463
- }), React.createElement("div", {
5464
- className: "uppercase font-bold text-sm mb-[8.5px]"
5465
- }, "Style"), React.createElement("div", {
5466
- className: "flex gap-x-[15px] mb-[16.5px]"
5467
- }, ' ', React.createElement("button", {
5468
- className: fontStyle.bold ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border font-bold border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] font-bold text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5469
- onClick: function onClick(e) {
5470
- return textStyle(e, 'fontWeight', 'bold');
5471
- },
5472
- id: "bold"
5473
- }, "B"), React.createElement("button", {
5474
- className: fontStyle.italic ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border italic border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] italic text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5475
- onClick: function onClick(e) {
5476
- return textStyle(e, 'fontStyle', 'italic');
5477
- },
5478
- id: "italic"
5479
- }, "I"), React.createElement("button", {
5480
- className: fontStyle.underline ? SELECT_BG_COLOR + " text-[#fff] text-base cursor-pointer border underline border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] underline text-base cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5481
- onClick: function onClick(e) {
5482
- return textStyle(e, 'underline', !fontStyle.underline);
5822
+ className: "delBtnBox flex-auto "
5823
+ }, React.createElement("button", {
5824
+ onClick: function onClick() {
5825
+ return deleteElement(item);
5483
5826
  },
5484
- id: "underline"
5485
- }, "U")), textAlignDisplay === true && React.createElement("div", {
5486
- className: "textAlign"
5827
+ className: "h-full w-full"
5487
5828
  }, React.createElement("div", {
5488
- className: "uppercase font-bold text-sm mb-[8.5px]"
5489
- }, "Align"), React.createElement("div", {
5490
- className: "flex gap-x-[15px] mb-[16.5px]"
5829
+ className: "delBtn pointer-events-none flex justify-center "
5830
+ }, React.createElement("div", {
5831
+ className: "upIcon m-auto"
5832
+ }, React.createElement("svg", {
5833
+ width: "25px",
5834
+ height: "25px",
5835
+ viewBox: "0 0 24 24",
5836
+ fill: "none",
5837
+ xmlns: "http://www.w3.org/2000/svg"
5838
+ }, React.createElement("path", {
5839
+ d: "M10 11V17",
5840
+ stroke: "#9a9a9a",
5841
+ "stroke-width": "2",
5842
+ "stroke-linecap": "round",
5843
+ "stroke-linejoin": "round"
5844
+ }), React.createElement("path", {
5845
+ d: "M14 11V17",
5846
+ stroke: "#9a9a9a",
5847
+ "stroke-width": "2",
5848
+ "stroke-linecap": "round",
5849
+ "stroke-linejoin": "round"
5850
+ }), React.createElement("path", {
5851
+ d: "M4 7H20",
5852
+ stroke: "#9a9a9a",
5853
+ "stroke-width": "2",
5854
+ "stroke-linecap": "round",
5855
+ "stroke-linejoin": "round"
5856
+ }), React.createElement("path", {
5857
+ d: "M6 7H12H18V18C18 19.6569 16.6569 21 15 21H9C7.34315 21 6 19.6569 6 18V7Z",
5858
+ stroke: "#9a9a9a",
5859
+ "stroke-width": "2",
5860
+ "stroke-linecap": "round",
5861
+ "stroke-linejoin": "round"
5862
+ }), React.createElement("path", {
5863
+ d: "M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5V7H9V5Z",
5864
+ stroke: "#9a9a9a",
5865
+ "stroke-width": "2",
5866
+ "stroke-linecap": "round",
5867
+ "stroke-linejoin": "round"
5868
+ })))))), React.createElement("div", {
5869
+ className: "delBox flex flex-col w-[40px] justify-between items-stretch"
5491
5870
  }, React.createElement("button", {
5492
- type: "button",
5493
- className: 'left' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5494
- id: "left",
5495
- onClick: textAlignHandler
5496
- }, React.createElement(FiAlignLeft, {
5497
- id: "left",
5498
- onClick: textAlignHandler
5499
- })), React.createElement("button", {
5500
- type: "button",
5501
- className: 'center' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] y-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5502
- id: "center",
5503
- onClick: textAlignHandler
5504
- }, React.createElement(FiAlignCenter, {
5505
- id: "center",
5506
- onClick: textAlignHandler
5507
- })), React.createElement("button", {
5508
- type: "button",
5509
- className: 'right' === activeButton ? SELECT_BG_COLOR + " text-[#fff] cursor-pointer border border-[#EBEBEB] y-[7px] px-[39px] " : 'bg-[#fff] cursor-pointer border border-[#EBEBEB] py-[7px] px-[39px]',
5510
- id: "right",
5511
- onClick: textAlignHandler
5512
- }, React.createElement(FiAlignRight, {
5513
- id: "right",
5514
- onClick: textAlignHandler
5515
- })))), React.createElement("div", {
5516
- className: "uppercase font-bold text-sm mb-[8.5px]"
5517
- }, "Text Color"), React.createElement("div", {
5518
- className: "relative"
5519
- }, React.createElement(ColorImpl, {
5520
- mClass: 'ml-0',
5521
- handleChange: textColorChange,
5522
- property: 'backgroundColor',
5523
- name: 'backgroundColor',
5524
- color: activeSelection.fill
5525
- })), React.createElement("div", {
5526
- className: "flex gap-2 mt-4"
5527
- }, React.createElement("div", null, React.createElement("div", {
5528
- className: "uppercase font-bold text-sm mb-[8.5px]"
5529
- }, "Outline Size"), React.createElement("input", {
5530
- type: "number",
5531
- id: "outlineSize",
5532
- name: "outlineSize",
5533
- step: "0.2",
5534
- value: outlineVal,
5535
- className: "border border-[#EBEBEB] py-[10px] pl-[16px] mb-[16.5px] w-[145px]",
5536
- onChange: textOutlineHandler
5537
- })), React.createElement("div", null, React.createElement("div", {
5538
- className: "uppercase font-bold text-sm mb-[8.5px]"
5539
- }, "Outline Color"), React.createElement("div", {
5540
- className: "relative"
5541
- }, ' ', React.createElement(ColorImpl, {
5542
- mClass: 'ml-0',
5543
- handleChange: strokeColorChange,
5544
- property: 'backgroundColor',
5545
- name: 'backgroundColor',
5546
- color: activeSelection.stroke
5547
- })))), React.createElement("div", {
5548
- className: "flex gap-2"
5549
- }, React.createElement("div", null, React.createElement("div", {
5550
- className: "uppercase font-bold text-sm mb-[8.5px]"
5551
- }, "Letter Spacing"), React.createElement("input", {
5552
- type: "number",
5553
- id: "spacing",
5554
- name: "spacing",
5555
- step: "10",
5556
- value: spacingVal,
5557
- className: "border border-[#EBEBEB] py-[10px] pl-[16px] mb-[16.5px] w-[145px]",
5558
- onChange: textSpacingHandler
5559
- })))), currentSelection === 'group' && React.createElement(ImageEdit, {
5560
- flipX: flipX,
5561
- flipY: flipY,
5562
- changeSVGColor: changeSVGColor,
5563
- // nudgeMove={nudgeMove}
5564
- activeSelection: activeSelection
5565
- }), currentSelection === 'selectAll' && React.createElement(React.Fragment, null, React.createElement("div", {
5566
- className: "uppercase font-bold pt-[17px]"
5567
- }, "Color in Canvas"), React.createElement("div", {
5568
- className: "flex gap-x-[1rem] mt-[12px] mb-[12px]"
5569
- }, allColor == null ? void 0 : allColor.map(function (item) {
5570
- return React.createElement(ColorImpl, {
5571
- mClass: 'ml-[36px]',
5572
- key: item,
5573
- handleChange: changeSVGTextColor,
5574
- property: item,
5575
- color: item
5576
- });
5577
- })), React.createElement("button", {
5578
- onClick: nudgeMove,
5579
- id: "down",
5580
- className: "font-medium text-orange-400"
5581
- }, "DOWN"), React.createElement("button", {
5582
- onClick: nudgeMove,
5583
- id: "up",
5584
- className: "font-medium text-orange-300 text-lime-400 px-1"
5585
- }, "UP"), React.createElement("button", {
5586
- onClick: nudgeMove,
5587
- id: "left",
5588
- className: "font-medium text-orange-300 text-teal-500"
5589
- }, "LEFT"), React.createElement("button", {
5590
- onClick: nudgeMove,
5591
- id: "right",
5592
- className: "font-medium text-orange-300 text-violet-600 px-1"
5593
- }, "RIGHT"),
5594
- // console.log(storeAllObject);
5595
- storeAllObject.map(function (item, index) {
5596
- return React.createElement("div", {
5597
- className: "innerLayer bg-slate-300 my-1"
5598
- }, React.createElement("img", {
5599
- className: "rounded-lg w-14 h-8",
5600
- src: item ? item['icon'] : ''
5601
- }), React.createElement("button", {
5602
- className: "up mx-1 px-2 border-solid border-2 border-slate-500 ",
5603
- onClick: function onClick() {
5604
- return layerHandle(item, index, 'plus');
5605
- }
5606
- }, "UP"), React.createElement("button", {
5607
- className: "down mx-1 px-2 border-solid border-2 border-slate-500",
5608
- onClick: function onClick() {
5609
- return layerHandle(item, index, 'minus');
5610
- }
5611
- }, "DOWN"), React.createElement("button", {
5612
- className: "close mx-1 px-2 border-solid border-2 border-slate-500",
5613
- onClick: function onClick() {
5614
- return deleteElement(item);
5615
- }
5616
- }, "DELETE"));
5617
- })), currentSelection === 'none' && React.createElement(React.Fragment, null, React.createElement("div", {
5618
- className: "uppercase font-bold pt-[17px]"
5619
- }, "Color in Canvas"), React.createElement("div", {
5620
- className: "flex gap-x-[1rem] mt-[12px]"
5621
- }, allColor == null ? void 0 : allColor.map(function (item) {
5622
- return React.createElement(ColorImpl, {
5623
- mClass: 'ml-[36px]',
5624
- key: item,
5625
- handleChange: changeSVGTextColor,
5626
- property: item,
5627
- color: item
5628
- });
5629
- })))), React.createElement("button", {
5630
- type: "button",
5631
- className: "mt-3 inline-flex justify-center bg-white px-[110px] py-2 text-sm font-medium text-[#E11A38] shadow-sm ring-1 ring-inset ring-[#E11A38] hover:bg-gray-50 sm:mt-0 w-full",
5632
- onClick: onSave
5633
- }, "Save")) : React.createElement("div", {
5634
- key: tab.id
5635
- }, currentSelection === 'layer' && React.createElement("div", {
5636
- className: ""
5637
- }, storeAllObject.map(function (item, index) {
5638
- return React.createElement(React.Fragment, null, React.createElement("div", {
5639
- className: "innerLayer border border-[#D7D7D7] my-[16px] h-[80px] flex justify-between"
5640
- }, React.createElement("div", {
5641
- className: "imgBox border border-r-[#D7D7D7] bg-slate-200 flex w-[80px]"
5642
- }, React.createElement("img", {
5643
- className: "rounded-lg w-14 h-8",
5644
- src: item ? item['icon'] : ''
5645
- })), React.createElement("div", {
5646
- className: "delBtnBox flex-auto "
5647
- }, React.createElement("button", {
5648
- onClick: function onClick() {
5649
- return deleteElement(item);
5650
- },
5651
- className: "h-full w-full"
5652
- }, React.createElement("div", {
5653
- className: "delBtn pointer-events-none flex justify-center "
5654
- }, React.createElement("div", {
5655
- className: "upIcon m-auto"
5656
- }, React.createElement("svg", {
5657
- width: "25px",
5658
- height: "25px",
5659
- viewBox: "0 0 24 24",
5660
- fill: "none",
5661
- xmlns: "http://www.w3.org/2000/svg"
5662
- }, React.createElement("path", {
5663
- d: "M10 11V17",
5664
- stroke: "#9a9a9a",
5665
- "stroke-width": "2",
5666
- "stroke-linecap": "round",
5667
- "stroke-linejoin": "round"
5668
- }), React.createElement("path", {
5669
- d: "M14 11V17",
5670
- stroke: "#9a9a9a",
5671
- "stroke-width": "2",
5672
- "stroke-linecap": "round",
5673
- "stroke-linejoin": "round"
5674
- }), React.createElement("path", {
5675
- d: "M4 7H20",
5676
- stroke: "#9a9a9a",
5677
- "stroke-width": "2",
5678
- "stroke-linecap": "round",
5679
- "stroke-linejoin": "round"
5680
- }), React.createElement("path", {
5681
- d: "M6 7H12H18V18C18 19.6569 16.6569 21 15 21H9C7.34315 21 6 19.6569 6 18V7Z",
5682
- stroke: "#9a9a9a",
5683
- "stroke-width": "2",
5684
- "stroke-linecap": "round",
5685
- "stroke-linejoin": "round"
5686
- }), React.createElement("path", {
5687
- d: "M9 5C9 3.89543 9.89543 3 11 3H13C14.1046 3 15 3.89543 15 5V7H9V5Z",
5688
- stroke: "#9a9a9a",
5689
- "stroke-width": "2",
5690
- "stroke-linecap": "round",
5691
- "stroke-linejoin": "round"
5692
- })))))), React.createElement("div", {
5693
- className: "delBox flex flex-col w-[40px] justify-between items-stretch"
5694
- }, React.createElement("button", {
5695
- onClick: function onClick() {
5696
- return layerHandle(item, index, 'plus');
5697
- }
5698
- }, React.createElement("div", {
5699
- className: "upBtn pointer-events-none flex h-[35px] justify-center "
5700
- }, React.createElement("div", {
5701
- className: "upIcon m-auto"
5702
- }, React.createElement("svg", {
5703
- fill: "#9a9a9a",
5704
- height: "25px",
5705
- width: "25px",
5706
- version: "1.1",
5707
- id: "Layer_1",
5708
- xmlns: "http://www.w3.org/2000/svg",
5709
- viewBox: "0 0 512 512"
5710
- }, React.createElement("g", null, React.createElement("g", null, React.createElement("g", null, React.createElement("path", {
5711
- d: "M0,0v512h512V0H0z M469.333,469.333H42.667V42.667h426.667V469.333z"
5712
- }), React.createElement("path", {
5713
- d: "M121.752,335.085L256,200.837l134.248,134.248c8.331,8.331,21.839,8.331,30.17,0c8.331-8.331,8.331-21.839,0-30.17 L271.085,155.582c-8.331-8.331-21.839-8.331-30.17,0L91.582,304.915c-8.331,8.331-8.331,21.839,0,30.17 S113.42,343.416,121.752,335.085z"
5714
- })))))))), React.createElement("button", {
5715
- onClick: function onClick() {
5716
- return layerHandle(item, index, 'minus');
5717
- }
5718
- }, React.createElement("div", {
5719
- className: "downBtn pointer-events-none flex h-[35px] justify-center"
5720
- }, React.createElement("div", {
5721
- className: "downIcon m-auto"
5722
- }, React.createElement("svg", {
5723
- transform: "rotate(180)",
5724
- fill: "#9a9a9a",
5725
- height: "25px",
5726
- width: "25px",
5727
- version: "1.1",
5728
- id: "Layer_1",
5729
- xmlns: "http://www.w3.org/2000/svg",
5730
- viewBox: "0 0 512 512"
5731
- }, React.createElement("g", null, React.createElement("g", null, React.createElement("g", null, React.createElement("path", {
5732
- d: "M0,0v512h512V0H0z M469.333,469.333H42.667V42.667h426.667V469.333z"
5733
- }), React.createElement("path", {
5734
- d: "M121.752,335.085L256,200.837l134.248,134.248c8.331,8.331,21.839,8.331,30.17,0c8.331-8.331,8.331-21.839,0-30.17 L271.085,155.582c-8.331-8.331-21.839-8.331-30.17,0L91.582,304.915c-8.331,8.331-8.331,21.839,0,30.17 S113.42,343.416,121.752,335.085z"
5735
- })))))))))));
5736
- })));
5737
- })))));
5871
+ onClick: function onClick() {
5872
+ return layerHandle(item, index, 'plus');
5873
+ }
5874
+ }, React.createElement("div", {
5875
+ className: "upBtn pointer-events-none flex h-[35px] justify-center "
5876
+ }, React.createElement("div", {
5877
+ className: "upIcon m-auto"
5878
+ }, React.createElement("svg", {
5879
+ fill: "#9a9a9a",
5880
+ height: "25px",
5881
+ width: "25px",
5882
+ version: "1.1",
5883
+ id: "Layer_1",
5884
+ xmlns: "http://www.w3.org/2000/svg",
5885
+ viewBox: "0 0 512 512"
5886
+ }, React.createElement("g", null, React.createElement("g", null, React.createElement("g", null, React.createElement("path", {
5887
+ d: "M0,0v512h512V0H0z M469.333,469.333H42.667V42.667h426.667V469.333z"
5888
+ }), React.createElement("path", {
5889
+ d: "M121.752,335.085L256,200.837l134.248,134.248c8.331,8.331,21.839,8.331,30.17,0c8.331-8.331,8.331-21.839,0-30.17 L271.085,155.582c-8.331-8.331-21.839-8.331-30.17,0L91.582,304.915c-8.331,8.331-8.331,21.839,0,30.17 S113.42,343.416,121.752,335.085z"
5890
+ })))))))), React.createElement("button", {
5891
+ onClick: function onClick() {
5892
+ return layerHandle(item, index, 'minus');
5893
+ }
5894
+ }, React.createElement("div", {
5895
+ className: "downBtn pointer-events-none flex h-[35px] justify-center"
5896
+ }, React.createElement("div", {
5897
+ className: "downIcon m-auto"
5898
+ }, React.createElement("svg", {
5899
+ transform: "rotate(180)",
5900
+ fill: "#9a9a9a",
5901
+ height: "25px",
5902
+ width: "25px",
5903
+ version: "1.1",
5904
+ id: "Layer_1",
5905
+ xmlns: "http://www.w3.org/2000/svg",
5906
+ viewBox: "0 0 512 512"
5907
+ }, React.createElement("g", null, React.createElement("g", null, React.createElement("g", null, React.createElement("path", {
5908
+ d: "M0,0v512h512V0H0z M469.333,469.333H42.667V42.667h426.667V469.333z"
5909
+ }), React.createElement("path", {
5910
+ d: "M121.752,335.085L256,200.837l134.248,134.248c8.331,8.331,21.839,8.331,30.17,0c8.331-8.331,8.331-21.839,0-30.17 L271.085,155.582c-8.331-8.331-21.839-8.331-30.17,0L91.582,304.915c-8.331,8.331-8.331,21.839,0,30.17 S113.42,343.416,121.752,335.085z"
5911
+ })))))))))));
5912
+ })))))));
5738
5913
  };
5739
5914
 
5740
5915
  var ListDropdown = function ListDropdown(props) {