@fileverse-dev/fortune-react 1.0.2-mod-50 → 1.0.2-mod-48-patch-3

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/dist/index.css CHANGED
@@ -2620,8 +2620,7 @@ input[type="number"].condition-rules-project-input {
2620
2620
  /* position: absolute;
2621
2621
  padding: 30px 42px;
2622
2622
  z-index: 1002; */
2623
- /* min-width: 500px; */
2624
- width: 464px;
2623
+ min-width: 500px;
2625
2624
  }
2626
2625
  #fortune-split-column label {
2627
2626
  -webkit-user-select: none;
@@ -2632,48 +2631,12 @@ input[type="number"].condition-rules-project-input {
2632
2631
  font-size: 16px;
2633
2632
  }
2634
2633
  #fortune-split-column .splitDelimiters {
2635
- margin-top: 20px;
2636
- }
2637
-
2638
-
2639
-
2640
- input[type="checkbox"] {
2641
- accent-color: black;
2642
- -moz-appearance: none;
2643
- appearance: none;
2644
- -webkit-appearance: none;
2645
- width: 16px;
2646
- height: 16px;
2647
- border: 1.5px solid black;
2648
- border-radius: 3px;
2649
- position: relative;
2650
- cursor: pointer;
2651
- }
2652
-
2653
- input[type="checkbox"]:checked {
2654
- background-color: black;
2655
- border-color: black;
2656
- }
2657
-
2658
- /* Smaller tick mark */
2659
- input[type="checkbox"]:checked::before {
2660
- content: '';
2661
- position: absolute;
2662
- top: 2px;
2663
- left: 4px;
2664
- width: 4px; /* Reduced from default */
2665
- height: 7px; /* Reduced from default */
2666
- border: solid white;
2667
- border-width: 0 1px 1px 0;
2668
- transform: rotate(45deg);
2669
- }
2670
- .splitSymbols {
2671
- width: 464px
2634
+ margin-top: 10px;
2672
2635
  }
2673
2636
  #fortune-split-column .splitSymbols {
2674
2637
  position: relative;
2675
- /* border: 1px solid #dfdfdf; */
2676
- padding: 5px 5px 5px 0;
2638
+ border: 1px solid #dfdfdf;
2639
+ padding: 5px;
2677
2640
  margin: 5px 0px;
2678
2641
  }
2679
2642
  #fortune-split-column .splitSymbol {
@@ -2691,13 +2654,10 @@ input[type="checkbox"]:checked::before {
2691
2654
  }
2692
2655
  #fortune-split-column .splitDataPreview {
2693
2656
  font-size: 14px;
2694
- /* margin-top: 26px; */
2695
- margin-bottom: 12px;
2657
+ margin-top: 26px;
2696
2658
  }
2697
2659
  #fortune-split-column .splitColumnData {
2698
2660
  border: 1px solid #dfdfdf;
2699
- border-radius: 4px;
2700
- background-color: #F8F9FA;
2701
2661
  padding: 5px;
2702
2662
  margin: 5px 0px;
2703
2663
  height: 100px;
@@ -2620,8 +2620,7 @@ input[type="number"].condition-rules-project-input {
2620
2620
  /* position: absolute;
2621
2621
  padding: 30px 42px;
2622
2622
  z-index: 1002; */
2623
- /* min-width: 500px; */
2624
- width: 464px;
2623
+ min-width: 500px;
2625
2624
  }
2626
2625
  #fortune-split-column label {
2627
2626
  -webkit-user-select: none;
@@ -2632,48 +2631,12 @@ input[type="number"].condition-rules-project-input {
2632
2631
  font-size: 16px;
2633
2632
  }
2634
2633
  #fortune-split-column .splitDelimiters {
2635
- margin-top: 20px;
2636
- }
2637
-
2638
-
2639
-
2640
- input[type="checkbox"] {
2641
- accent-color: black;
2642
- -moz-appearance: none;
2643
- appearance: none;
2644
- -webkit-appearance: none;
2645
- width: 16px;
2646
- height: 16px;
2647
- border: 1.5px solid black;
2648
- border-radius: 3px;
2649
- position: relative;
2650
- cursor: pointer;
2651
- }
2652
-
2653
- input[type="checkbox"]:checked {
2654
- background-color: black;
2655
- border-color: black;
2656
- }
2657
-
2658
- /* Smaller tick mark */
2659
- input[type="checkbox"]:checked::before {
2660
- content: '';
2661
- position: absolute;
2662
- top: 2px;
2663
- left: 4px;
2664
- width: 4px; /* Reduced from default */
2665
- height: 7px; /* Reduced from default */
2666
- border: solid white;
2667
- border-width: 0 1px 1px 0;
2668
- transform: rotate(45deg);
2669
- }
2670
- .splitSymbols {
2671
- width: 464px
2634
+ margin-top: 10px;
2672
2635
  }
2673
2636
  #fortune-split-column .splitSymbols {
2674
2637
  position: relative;
2675
- /* border: 1px solid #dfdfdf; */
2676
- padding: 5px 5px 5px 0;
2638
+ border: 1px solid #dfdfdf;
2639
+ padding: 5px;
2677
2640
  margin: 5px 0px;
2678
2641
  }
2679
2642
  #fortune-split-column .splitSymbol {
@@ -2691,13 +2654,10 @@ input[type="checkbox"]:checked::before {
2691
2654
  }
2692
2655
  #fortune-split-column .splitDataPreview {
2693
2656
  font-size: 14px;
2694
- /* margin-top: 26px; */
2695
- margin-bottom: 12px;
2657
+ margin-top: 26px;
2696
2658
  }
2697
2659
  #fortune-split-column .splitColumnData {
2698
2660
  border: 1px solid #dfdfdf;
2699
- border-radius: 4px;
2700
- background-color: #F8F9FA;
2701
2661
  padding: 5px;
2702
2662
  margin: 5px 0px;
2703
2663
  height: 100px;
package/dist/index.esm.js CHANGED
@@ -4659,47 +4659,32 @@ var SplitColumn = function SplitColumn() {
4659
4659
  return /*#__PURE__*/React.createElement("div", {
4660
4660
  id: "fortune-split-column"
4661
4661
  }, /*#__PURE__*/React.createElement("div", {
4662
- className: "splitDataPreview text-heading-xsm"
4663
- }, splitText.splitDataPreview), /*#__PURE__*/React.createElement("div", {
4664
- className: "splitColumnData"
4665
- }, /*#__PURE__*/React.createElement("table", null, /*#__PURE__*/React.createElement("tbody", null, tableData.map(function (o, index) {
4666
- if (o.length >= 1) {
4667
- return /*#__PURE__*/React.createElement("tr", {
4668
- key: index
4669
- }, o.map(function (o1) {
4670
- return /*#__PURE__*/React.createElement("td", {
4671
- key: o + o1
4672
- }, o1);
4673
- }));
4674
- }
4675
- return /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null));
4676
- })))), /*#__PURE__*/React.createElement("div", {
4677
- className: "splitDelimiters text-heading-xsm !mt-4"
4678
- }, "Separator"), /*#__PURE__*/React.createElement("div", {
4679
- className: "splitSymbols flex gap-3 flex-wrap",
4662
+ className: "title"
4663
+ }, splitText.splitTextTitle), /*#__PURE__*/React.createElement("div", {
4664
+ className: "splitDelimiters"
4665
+ }, splitText.splitDelimiters), /*#__PURE__*/React.createElement("div", {
4666
+ className: "splitSymbols",
4680
4667
  ref: splitSymbols
4681
4668
  }, splitText.splitSymbols.map(function (o) {
4682
4669
  return /*#__PURE__*/React.createElement("div", {
4683
4670
  key: o.value,
4684
- className: "splitSymbol flex gap-2 items-center"
4671
+ className: "splitSymbol"
4685
4672
  }, /*#__PURE__*/React.createElement("input", {
4686
4673
  id: o.value,
4687
4674
  name: o.value,
4688
4675
  type: "checkbox",
4689
4676
  onClick: function onClick() {
4690
- setSplitOperate(function (regStr) {
4691
- var _splitSymbols$current, _splitSymbols$current2;
4692
- console.log(getRegStr(regStr, (_splitSymbols$current = splitSymbols.current) === null || _splitSymbols$current === void 0 ? void 0 : _splitSymbols$current.childNodes));
4693
- return getRegStr(regStr, (_splitSymbols$current2 = splitSymbols.current) === null || _splitSymbols$current2 === void 0 ? void 0 : _splitSymbols$current2.childNodes);
4677
+ return setSplitOperate(function (regStr) {
4678
+ var _splitSymbols$current;
4679
+ return getRegStr(regStr, (_splitSymbols$current = splitSymbols.current) === null || _splitSymbols$current === void 0 ? void 0 : _splitSymbols$current.childNodes);
4694
4680
  });
4695
4681
  },
4696
4682
  tabIndex: 0
4697
4683
  }), /*#__PURE__*/React.createElement("label", {
4698
- htmlFor: o.value,
4699
- className: "text-body-sm"
4684
+ htmlFor: o.value
4700
4685
  }, o.name));
4701
- })), /*#__PURE__*/React.createElement("div", {
4702
- className: "splitSymbol flex gap-2 items-center pb-4 mb-4 border-b"
4686
+ }), /*#__PURE__*/React.createElement("div", {
4687
+ className: "splitSymbol"
4703
4688
  }, /*#__PURE__*/React.createElement("input", {
4704
4689
  id: "other",
4705
4690
  name: "other",
@@ -4707,56 +4692,68 @@ var SplitColumn = function SplitColumn() {
4707
4692
  onClick: function onClick() {
4708
4693
  setOtherFlag(!otherFlag);
4709
4694
  setSplitOperate(function (regStr) {
4710
- var _splitSymbols$current3;
4711
- return getRegStr(regStr, (_splitSymbols$current3 = splitSymbols.current) === null || _splitSymbols$current3 === void 0 ? void 0 : _splitSymbols$current3.childNodes);
4695
+ var _splitSymbols$current2;
4696
+ return getRegStr(regStr, (_splitSymbols$current2 = splitSymbols.current) === null || _splitSymbols$current2 === void 0 ? void 0 : _splitSymbols$current2.childNodes);
4712
4697
  });
4713
4698
  },
4714
4699
  tabIndex: 0
4715
4700
  }), /*#__PURE__*/React.createElement("label", {
4716
4701
  htmlFor: "other"
4717
- }, "Custom"), /*#__PURE__*/React.createElement("input", {
4702
+ }, splitText.splitOther), /*#__PURE__*/React.createElement("input", {
4718
4703
  id: "otherValue",
4719
4704
  name: "otherValue",
4720
4705
  type: "text",
4721
4706
  onBlur: function onBlur() {
4722
4707
  if (otherFlag) {
4723
4708
  setSplitOperate(function (regStr) {
4724
- var _splitSymbols$current4;
4725
- return getRegStr(regStr, (_splitSymbols$current4 = splitSymbols.current) === null || _splitSymbols$current4 === void 0 ? void 0 : _splitSymbols$current4.childNodes);
4709
+ var _splitSymbols$current3;
4710
+ return getRegStr(regStr, (_splitSymbols$current3 = splitSymbols.current) === null || _splitSymbols$current3 === void 0 ? void 0 : _splitSymbols$current3.childNodes);
4726
4711
  });
4727
4712
  }
4728
4713
  }
4729
4714
  })), /*#__PURE__*/React.createElement("div", {
4730
- className: "splitSymbol flex gap-2 mb-4 items-center"
4715
+ className: "splitSymbol splitSimple"
4731
4716
  }, /*#__PURE__*/React.createElement("input", {
4732
4717
  id: "splitsimple",
4733
4718
  name: "splitsimple",
4734
4719
  type: "checkbox",
4735
4720
  onClick: function onClick() {
4736
4721
  setSplitOperate(function (regStr) {
4737
- var _splitSymbols$current5;
4738
- return getRegStr(regStr, (_splitSymbols$current5 = splitSymbols.current) === null || _splitSymbols$current5 === void 0 ? void 0 : _splitSymbols$current5.childNodes);
4722
+ var _splitSymbols$current4;
4723
+ return getRegStr(regStr, (_splitSymbols$current4 = splitSymbols.current) === null || _splitSymbols$current4 === void 0 ? void 0 : _splitSymbols$current4.childNodes);
4739
4724
  });
4740
4725
  },
4741
4726
  tabIndex: 0
4742
4727
  }), /*#__PURE__*/React.createElement("label", {
4743
4728
  htmlFor: "splitsimple"
4744
- }, splitText.splitContinueSymbol)), /*#__PURE__*/React.createElement("div", {
4745
- className: "flex justify-end gap-2"
4746
- }, /*#__PURE__*/React.createElement(Button$1, {
4747
- className: "",
4748
- variant: "secondary",
4729
+ }, splitText.splitContinueSymbol))), /*#__PURE__*/React.createElement("div", {
4730
+ className: "splitDataPreview"
4731
+ }, splitText.splitDataPreview), /*#__PURE__*/React.createElement("div", {
4732
+ className: "splitColumnData"
4733
+ }, /*#__PURE__*/React.createElement("table", null, /*#__PURE__*/React.createElement("tbody", null, tableData.map(function (o, index) {
4734
+ if (o.length >= 1) {
4735
+ return /*#__PURE__*/React.createElement("tr", {
4736
+ key: index
4737
+ }, o.map(function (o1) {
4738
+ return /*#__PURE__*/React.createElement("td", {
4739
+ key: o + o1
4740
+ }, o1);
4741
+ }));
4742
+ }
4743
+ return /*#__PURE__*/React.createElement("tr", null, /*#__PURE__*/React.createElement("td", null));
4744
+ })))), /*#__PURE__*/React.createElement("div", {
4745
+ className: "button-basic button-primary",
4749
4746
  onClick: function onClick() {
4750
- hideDialog();
4747
+ certainBtn();
4751
4748
  },
4752
4749
  tabIndex: 0
4753
- }, button.cancel), /*#__PURE__*/React.createElement(Button$1, {
4754
- className: "",
4750
+ }, button.confirm), /*#__PURE__*/React.createElement("div", {
4751
+ className: "button-basic button-close",
4755
4752
  onClick: function onClick() {
4756
- certainBtn();
4753
+ hideDialog();
4757
4754
  },
4758
4755
  tabIndex: 0
4759
- }, "Split")));
4756
+ }, button.cancel));
4760
4757
  };
4761
4758
 
4762
4759
  var LocationCondition = function LocationCondition() {
@@ -7530,8 +7527,7 @@ var ContextMenu = function ContextMenu() {
7530
7527
  drag = _locale.drag,
7531
7528
  generalDialog = _locale.generalDialog,
7532
7529
  info = _locale.info,
7533
- toolbar = _locale.toolbar,
7534
- splitText = _locale.splitText;
7530
+ toolbar = _locale.toolbar;
7535
7531
  var getMenuElement = useCallback(function (name, i) {
7536
7532
  var _context$luckysheet_s;
7537
7533
  var selection = (_context$luckysheet_s = context.luckysheet_select_save) === null || _context$luckysheet_s === void 0 ? void 0 : _context$luckysheet_s[0];
@@ -7540,39 +7536,6 @@ var ContextMenu = function ContextMenu() {
7540
7536
  key: "divider-".concat(i)
7541
7537
  });
7542
7538
  }
7543
- if (name === "split-text") {
7544
- return /*#__PURE__*/React.createElement(Menu, {
7545
- key: "split-text",
7546
- onClick: function onClick() {
7547
- if (context.allowEdit === false) return;
7548
- if (_.isUndefined(context.luckysheet_select_save)) {
7549
- showDialog(splitText.tipNoSelect, "ok");
7550
- } else {
7551
- var currentColumn = context.luckysheet_select_save[context.luckysheet_select_save.length - 1].column;
7552
- if (context.luckysheet_select_save.length > 1) {
7553
- showDialog(splitText.tipNoMulti, "ok");
7554
- } else if (currentColumn[0] !== currentColumn[1]) {
7555
- showDialog(splitText.tipNoMultiColumn, "ok");
7556
- } else {
7557
- showDialog(/*#__PURE__*/React.createElement(SplitColumn, null), undefined, "Split text to columns");
7558
- }
7559
- }
7560
- setContext(function (draftCtx) {
7561
- draftCtx.contextMenu = {};
7562
- });
7563
- }
7564
- }, /*#__PURE__*/React.createElement("div", {
7565
- className: "context-item"
7566
- }, /*#__PURE__*/React.createElement(SVGIcon, {
7567
- name: "split-flv",
7568
- width: 16,
7569
- height: 16,
7570
- style: {
7571
- marginTop: "4px",
7572
- marginRight: "4px"
7573
- }
7574
- }), "Split text to columns"));
7575
- }
7576
7539
  if (name === "freeze-row") {
7577
7540
  var freezeState = getFreezeState(context);
7578
7541
  var isFrozen = freezeState.isRowFrozen;
@@ -7868,7 +7831,7 @@ var ContextMenu = function ContextMenu() {
7868
7831
  });
7869
7832
  }
7870
7833
  if (name === "delete-column") {
7871
- return (selection === null || selection === void 0 ? void 0 : selection.column_select) && (/*#__PURE__*/React.createElement(Menu, {
7834
+ return (/*#__PURE__*/React.createElement(Menu, {
7872
7835
  key: "delete-col",
7873
7836
  onClick: function onClick() {
7874
7837
  if (!selection) return;
@@ -7919,60 +7882,8 @@ var ContextMenu = function ContextMenu() {
7919
7882
  }
7920
7883
  }), /*#__PURE__*/React.createElement("div", null, rightclick.deleteSelected, rightclick.column))));
7921
7884
  }
7922
- if (name === "cell-delete-column") {
7923
- return !(selection === null || selection === void 0 ? void 0 : selection.row_select) && (/*#__PURE__*/React.createElement(Menu, {
7924
- key: "cell-delete-col",
7925
- onClick: function onClick() {
7926
- if (!selection) return;
7927
- var _selection$column2 = _slicedToArray(selection.column, 2),
7928
- st_index = _selection$column2[0],
7929
- ed_index = _selection$column2[1];
7930
- var deleteRowColOp = {
7931
- type: "column",
7932
- start: st_index,
7933
- end: ed_index,
7934
- id: context.currentSheetId
7935
- };
7936
- setContext(function (draftCtx) {
7937
- var _draftCtx$luckysheet_4, _draftCtx$luckysheetf3, _draftCtx$luckysheetf4;
7938
- if (((_draftCtx$luckysheet_4 = draftCtx.luckysheet_select_save) === null || _draftCtx$luckysheet_4 === void 0 ? void 0 : _draftCtx$luckysheet_4.length) > 1) {
7939
- showAlert(rightclick.noMulti, "ok");
7940
- draftCtx.contextMenu = {};
7941
- draftCtx.dataVerificationDropDownList = false;
7942
- return;
7943
- }
7944
- var slen = ed_index - st_index + 1;
7945
- var index = getSheetIndex(draftCtx, context.currentSheetId);
7946
- if (((_draftCtx$luckysheetf3 = draftCtx.luckysheetfile[index].data) === null || _draftCtx$luckysheetf3 === void 0 ? void 0 : (_draftCtx$luckysheetf4 = _draftCtx$luckysheetf3[0]) === null || _draftCtx$luckysheetf4 === void 0 ? void 0 : _draftCtx$luckysheetf4.length) <= slen) {
7947
- showAlert(rightclick.cannotDeleteAllColumn, "ok");
7948
- draftCtx.contextMenu = {};
7949
- return;
7950
- }
7951
- try {
7952
- deleteRowCol(draftCtx, deleteRowColOp);
7953
- } catch (e) {
7954
- if (e.message === "readOnly") {
7955
- showAlert(rightclick.cannotDeleteColumnReadOnly, "ok");
7956
- }
7957
- }
7958
- draftCtx.contextMenu = {};
7959
- }, {
7960
- deleteRowColOp: deleteRowColOp
7961
- });
7962
- }
7963
- }, /*#__PURE__*/React.createElement("div", {
7964
- className: "context-item"
7965
- }, /*#__PURE__*/React.createElement(SVGIcon, {
7966
- name: "delete-flv",
7967
- width: 18,
7968
- height: 18,
7969
- style: {
7970
- marginRight: "8px"
7971
- }
7972
- }), /*#__PURE__*/React.createElement("div", null, rightclick.deleteSelected, rightclick.column))));
7973
- }
7974
7885
  if (name === "delete-row") {
7975
- return (selection === null || selection === void 0 ? void 0 : selection.row_select) && (/*#__PURE__*/React.createElement(Menu, {
7886
+ return (/*#__PURE__*/React.createElement(Menu, {
7976
7887
  key: "delete-row",
7977
7888
  onClick: function onClick() {
7978
7889
  if (!selection) return;
@@ -7986,66 +7897,15 @@ var ContextMenu = function ContextMenu() {
7986
7897
  id: context.currentSheetId
7987
7898
  };
7988
7899
  setContext(function (draftCtx) {
7989
- var _draftCtx$luckysheet_5, _draftCtx$luckysheetf5;
7990
- if (((_draftCtx$luckysheet_5 = draftCtx.luckysheet_select_save) === null || _draftCtx$luckysheet_5 === void 0 ? void 0 : _draftCtx$luckysheet_5.length) > 1) {
7991
- showAlert(rightclick.noMulti, "ok");
7992
- draftCtx.contextMenu = {};
7993
- return;
7994
- }
7995
- var slen = ed_index - st_index + 1;
7996
- var index = getSheetIndex(draftCtx, context.currentSheetId);
7997
- if (((_draftCtx$luckysheetf5 = draftCtx.luckysheetfile[index].data) === null || _draftCtx$luckysheetf5 === void 0 ? void 0 : _draftCtx$luckysheetf5.length) <= slen) {
7998
- showAlert(rightclick.cannotDeleteAllRow, "ok");
7999
- draftCtx.contextMenu = {};
8000
- return;
8001
- }
8002
- try {
8003
- deleteRowCol(draftCtx, deleteRowColOp);
8004
- } catch (e) {
8005
- if (e.message === "readOnly") {
8006
- showAlert(rightclick.cannotDeleteRowReadOnly, "ok");
8007
- }
8008
- }
8009
- draftCtx.contextMenu = {};
8010
- }, {
8011
- deleteRowColOp: deleteRowColOp
8012
- });
8013
- }
8014
- }, /*#__PURE__*/React.createElement("div", {
8015
- className: "context-item"
8016
- }, /*#__PURE__*/React.createElement(SVGIcon, {
8017
- name: "delete-flv",
8018
- width: 18,
8019
- height: 18,
8020
- style: {
8021
- marginRight: "8px"
8022
- }
8023
- }), /*#__PURE__*/React.createElement("div", null, rightclick.deleteSelected, rightclick.row))));
8024
- }
8025
- if (name === "cell-delete-row") {
8026
- return !(selection === null || selection === void 0 ? void 0 : selection.column_select) && (/*#__PURE__*/React.createElement(Menu, {
8027
- key: "cell-delete-row",
8028
- onClick: function onClick() {
8029
- if (!selection) return;
8030
- var _selection$row2 = _slicedToArray(selection.row, 2),
8031
- st_index = _selection$row2[0],
8032
- ed_index = _selection$row2[1];
8033
- var deleteRowColOp = {
8034
- type: "row",
8035
- start: st_index,
8036
- end: ed_index,
8037
- id: context.currentSheetId
8038
- };
8039
- setContext(function (draftCtx) {
8040
- var _draftCtx$luckysheet_6, _draftCtx$luckysheetf6;
8041
- if (((_draftCtx$luckysheet_6 = draftCtx.luckysheet_select_save) === null || _draftCtx$luckysheet_6 === void 0 ? void 0 : _draftCtx$luckysheet_6.length) > 1) {
7900
+ var _draftCtx$luckysheet_4, _draftCtx$luckysheetf3;
7901
+ if (((_draftCtx$luckysheet_4 = draftCtx.luckysheet_select_save) === null || _draftCtx$luckysheet_4 === void 0 ? void 0 : _draftCtx$luckysheet_4.length) > 1) {
8042
7902
  showAlert(rightclick.noMulti, "ok");
8043
7903
  draftCtx.contextMenu = {};
8044
7904
  return;
8045
7905
  }
8046
7906
  var slen = ed_index - st_index + 1;
8047
7907
  var index = getSheetIndex(draftCtx, context.currentSheetId);
8048
- if (((_draftCtx$luckysheetf6 = draftCtx.luckysheetfile[index].data) === null || _draftCtx$luckysheetf6 === void 0 ? void 0 : _draftCtx$luckysheetf6.length) <= slen) {
7908
+ if (((_draftCtx$luckysheetf3 = draftCtx.luckysheetfile[index].data) === null || _draftCtx$luckysheetf3 === void 0 ? void 0 : _draftCtx$luckysheetf3.length) <= slen) {
8049
7909
  showAlert(rightclick.cannotDeleteAllRow, "ok");
8050
7910
  draftCtx.contextMenu = {};
8051
7911
  return;
@@ -8302,7 +8162,7 @@ var ContextMenu = function ContextMenu() {
8302
8162
  height: 18,
8303
8163
  style: {
8304
8164
  marginTop: "4px",
8305
- marginRight: "8px"
8165
+ marginRight: "4px"
8306
8166
  }
8307
8167
  }), /*#__PURE__*/React.createElement("p", null, "Ascending sort")));
8308
8168
  }
@@ -8325,7 +8185,7 @@ var ContextMenu = function ContextMenu() {
8325
8185
  height: 18,
8326
8186
  style: {
8327
8187
  marginTop: "4px",
8328
- marginRight: "8px"
8188
+ marginRight: "4px"
8329
8189
  }
8330
8190
  }), /*#__PURE__*/React.createElement("p", null, "Descending sort")));
8331
8191
  }
@@ -9495,35 +9355,6 @@ var SVGDefines = function SVGDefines(_ref) {
9495
9355
  }), /*#__PURE__*/React.createElement("path", {
9496
9356
  d: "M16.3169 13.9911C16.4164 13.8765 16.4754 13.7388 16.4938 13.5969C16.523 13.3723 16.4493 13.1423 16.2863 12.9756L16.2804 12.9697L14.0304 10.7197C13.7375 10.4268 13.2626 10.4268 12.9697 10.7197C12.6768 11.0126 12.6768 11.4874 12.9697 11.7803L13.9394 12.75L8.25002 12.75L8.24781 12.75L4.06068 12.75L5.03035 11.7803C5.32325 11.4874 5.32325 11.0126 5.03035 10.7197C4.73746 10.4268 4.26259 10.4268 3.96969 10.7197L1.72369 12.9657C1.7091 12.98 1.69508 12.995 1.68166 13.0106C1.58293 13.125 1.52444 13.2622 1.50621 13.4035C1.4998 13.453 1.49838 13.5028 1.50182 13.5521C1.51375 13.7245 1.58497 13.8935 1.71548 14.0261L1.71969 14.0303L3.96969 16.2803C4.26258 16.5732 4.73746 16.5732 5.03035 16.2803C5.32324 15.9874 5.32324 15.5126 5.03035 15.2197L4.06068 14.25L9.75002 14.25L9.75241 14.25L13.9394 14.25L12.9697 15.2197C12.6768 15.5126 12.6768 15.9874 12.9697 16.2803C13.2626 16.5732 13.7375 16.5732 14.0304 16.2803L16.2764 14.0342C16.2905 14.0204 16.3039 14.0061 16.3169 13.9911Z",
9497
9357
  fill: "#363B3F"
9498
- }))), /*#__PURE__*/React.createElement("symbol", {
9499
- fill: "none",
9500
- viewBox: "0 0 16 16",
9501
- id: "split-flv"
9502
- }, /*#__PURE__*/React.createElement("svg", {
9503
- viewBox: "0 0 18 18",
9504
- fill: "none",
9505
- xmlns: "http://www.w3.org/2000/svg"
9506
- }, /*#__PURE__*/React.createElement("path", {
9507
- d: "M6 10.5C6.41421 10.5 6.75 10.8358 6.75 11.25C6.75 11.6642 6.41421 12 6 12H3V15H6C6.41421 15 6.75 15.3358 6.75 15.75C6.75 16.1642 6.41421 16.5 6 16.5H3C2.22326 16.5 1.58475 15.9096 1.50806 15.1531L1.5 15V12C1.5 11.1716 2.17157 10.5 3 10.5H6Z",
9508
- fill: "#363B3F"
9509
- }), /*#__PURE__*/React.createElement("path", {
9510
- d: "M9 10.5C9.41421 10.5 9.75 10.8358 9.75 11.25V15.75C9.75 16.1642 9.41421 16.5 9 16.5C8.58579 16.5 8.25 16.1642 8.25 15.75V11.25C8.25 10.8358 8.58579 10.5 9 10.5Z",
9511
- fill: "#363B3F"
9512
- }), /*#__PURE__*/React.createElement("path", {
9513
- d: "M15 10.5C15.7767 10.5 16.4152 11.0904 16.4919 11.8469L16.5 12V15C16.5 15.8284 15.8284 16.5 15 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75C11.25 15.3358 11.5858 15 12 15H15V12H12C11.5858 12 11.25 11.6642 11.25 11.25C11.25 10.8358 11.5858 10.5 12 10.5H15Z",
9514
- fill: "#363B3F"
9515
- }), /*#__PURE__*/React.createElement("path", {
9516
- d: "M4.5 7.5C4.91421 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 4.91421 9 4.5 9H2.25C1.83579 9 1.5 8.66421 1.5 8.25C1.5 7.83579 1.83579 7.5 2.25 7.5H4.5Z",
9517
- fill: "#363B3F"
9518
- }), /*#__PURE__*/React.createElement("path", {
9519
- d: "M12 1.5C12.5967 1.5 13.1689 1.73722 13.5908 2.15918C13.96 2.52833 14.1878 3.01237 14.239 3.52734L14.25 3.75V6.43945L15.2197 5.46973C15.5126 5.17687 15.9874 5.17687 16.2803 5.46973C16.5732 5.76261 16.5731 6.23738 16.2803 6.53027L14.0303 8.78027C13.7374 9.07317 13.2626 9.07317 12.9697 8.78027L10.7197 6.53027L10.6685 6.47314C10.4282 6.17857 10.4452 5.7443 10.7197 5.46973C10.9943 5.19517 11.4286 5.17823 11.7231 5.41846L11.7803 5.46973L12.75 6.43945V3.75L12.7463 3.67603C12.7293 3.50428 12.6534 3.34283 12.5303 3.21973C12.3896 3.07907 12.1989 3 12 3H11.25C10.8358 3 10.5 2.66421 10.5 2.25C10.5 1.83579 10.8358 1.5 11.25 1.5H12Z",
9520
- fill: "#363B3F"
9521
- }), /*#__PURE__*/React.createElement("path", {
9522
- d: "M8.25 4.5C8.66421 4.5 9 4.83579 9 5.25C9 5.66421 8.66421 6 8.25 6H2.25C1.83579 6 1.5 5.66421 1.5 5.25C1.5 4.83579 1.83579 4.5 2.25 4.5H8.25Z",
9523
- fill: "#363B3F"
9524
- }), /*#__PURE__*/React.createElement("path", {
9525
- d: "M8.25 1.5C8.66421 1.5 9 1.83579 9 2.25C9 2.66421 8.66421 3 8.25 3H2.25C1.83579 3 1.5 2.66421 1.5 2.25C1.5 1.83579 1.83579 1.5 2.25 1.5H8.25Z",
9526
- fill: "#363B3F"
9527
9358
  }))), /*#__PURE__*/React.createElement("symbol", {
9528
9359
  viewBox: "0 0 1024 1024",
9529
9360
  version: "1.1",