@fileverse-dev/fortune-react 1.0.2-mod-67-patch-4 → 1.0.2-mod-71

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.
@@ -4,9 +4,8 @@ interface DuneChartsInputModalProps {
4
4
  isOpen: boolean;
5
5
  onClose: () => void;
6
6
  onSubmit: (value: string) => void;
7
- icon: string;
8
7
  submitText?: string;
9
8
  placeholder?: string;
10
9
  }
11
- declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, icon, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
10
+ declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
12
11
  export default DuneChartsInputModal;
@@ -1,3 +1,4 @@
1
1
  import React from "react";
2
+ import "./iFrameBoxs.css";
2
3
  declare const IframeBoxs: React.FC;
3
4
  export default IframeBoxs;
@@ -1,3 +1,4 @@
1
1
  import Workbook from "./Workbook";
2
2
  export { Workbook };
3
3
  export type { WorkbookInstance } from "./Workbook";
4
+ export * from "@fileverse-dev/formulajs/crypto-constants";
package/dist/index.css CHANGED
@@ -2245,6 +2245,23 @@ input[type="number"].condition-rules-project-input {
2245
2245
  -moz-appearance: textfield;
2246
2246
  }
2247
2247
 
2248
+ .luckysheet-modal-dialog-controll {
2249
+ position: absolute;
2250
+ width: 100%;
2251
+ display: flex;
2252
+ justify-content: center;
2253
+ top: -40px;
2254
+ left: 0;
2255
+ z-index: 301;
2256
+ }
2257
+
2258
+ .fortune-iframe-boxes-delete-button {
2259
+ background-color: #ffffff;
2260
+ border: 1px solid #e8ebec;
2261
+ border-radius: 8px;
2262
+ box-shadow: 0px 4px 16px -4px #00000026;
2263
+ }
2264
+
2248
2265
  .fortune-toolbar {
2249
2266
  display: flex;
2250
2267
  flex-direction: row;
@@ -2341,11 +2358,8 @@ input[type="number"].condition-rules-project-input {
2341
2358
  }
2342
2359
 
2343
2360
  .fortune-toolbar-combo-popup {
2344
- position: absolute;
2345
2361
  white-space: nowrap;
2346
- top: 32px;
2347
- left: 0;
2348
- z-index: 1004;
2362
+ max-width: 240px;
2349
2363
  }
2350
2364
 
2351
2365
  .fortune-toolbar-select::-webkit-scrollbar {
@@ -2898,7 +2912,7 @@ label {
2898
2912
 
2899
2913
  .input-modal {
2900
2914
  position: fixed;
2901
- top: 16%;
2915
+ top: 17.5%;
2902
2916
  left: 50%;
2903
2917
  transform: translateX(-50%);
2904
2918
  border-radius: 0.75rem;
@@ -2915,6 +2929,13 @@ label {
2915
2929
  align-items: center;
2916
2930
  padding: 0.75rem;
2917
2931
  border-bottom: 1px solid #e5e7eb;
2932
+ height: 52px;
2933
+ width: 480px;
2934
+ }
2935
+
2936
+ .modal-header svg {
2937
+ width: 20px;
2938
+ height: 20px;
2918
2939
  }
2919
2940
 
2920
2941
  .fetch-url-button {
@@ -3421,6 +3442,7 @@ label {
3421
3442
  height: 20px;
3422
3443
  cursor: pointer;
3423
3444
  border-radius: 4px;
3445
+ gap: 12px;
3424
3446
  }
3425
3447
 
3426
3448
  .context-item:hover {
@@ -3428,6 +3450,11 @@ label {
3428
3450
  transition: all 0.2s ease-in-out;
3429
3451
  }
3430
3452
 
3453
+ .context-item svg {
3454
+ width: 18px !important;
3455
+ height: 18px !important;
3456
+ }
3457
+
3431
3458
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3432
3459
  width: 35px;
3433
3460
  text-align: center;
@@ -3647,7 +3674,6 @@ label {
3647
3674
  justify-content: space-between;
3648
3675
  gap: 8px;
3649
3676
  font-size: 14px;
3650
-
3651
3677
  }
3652
3678
 
3653
3679
  /*颜色筛选 -- pan*/
@@ -3712,6 +3738,7 @@ label {
3712
3738
  .tippy-box {
3713
3739
  background-color: transparent !important;
3714
3740
  }
3741
+
3715
3742
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
3716
3743
  #fortune-change-color {
3717
3744
  min-width: 164px;
@@ -3851,11 +3878,10 @@ label {
3851
3878
  .fortune-dune-preview {
3852
3879
  position: absolute;
3853
3880
  background-color: #fff;
3854
- border: 1px solid #e5e5e5;
3855
- border-radius: 8px;
3881
+ border: 1px solid #e8ebec;
3882
+ border-radius: 4px;
3856
3883
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3857
3884
  width: 270px;
3858
- height: 250px;
3859
3885
  z-index: 1000;
3860
3886
  display: flex;
3861
3887
  flex-direction: column;
@@ -3886,28 +3912,23 @@ label {
3886
3912
  .fortune-dune-preview-footer {
3887
3913
  display: flex;
3888
3914
  justify-content: flex-end;
3889
- gap: 8px;
3890
- padding: 8px;
3915
+ gap: 10px;
3891
3916
  }
3892
3917
 
3893
3918
  .fortune-dune-preview-button {
3894
- padding: 6px 12px;
3919
+ padding: 4px 12px;
3895
3920
  border-radius: 4px;
3896
3921
  font-size: 14px;
3897
3922
  cursor: pointer;
3898
3923
  transition: all 0.2s ease;
3924
+ min-width: 80px;
3899
3925
  }
3900
3926
 
3901
3927
  .fortune-dune-preview-button:hover {
3902
3928
  background-color: #f5f5f5;
3903
3929
  }
3904
3930
 
3905
- .fortune-dune-preview-button-primary {
3906
- background-color: #1e1870;
3907
- border-color: #1e1870;
3931
+ .fortune-dune-preview-button.primary {
3932
+ background-color: #000000;
3908
3933
  color: #fff;
3909
3934
  }
3910
-
3911
- .fortune-dune-preview-button-primary:hover {
3912
- background-color: #2a2379;
3913
- }
@@ -2245,6 +2245,23 @@ input[type="number"].condition-rules-project-input {
2245
2245
  -moz-appearance: textfield;
2246
2246
  }
2247
2247
 
2248
+ .luckysheet-modal-dialog-controll {
2249
+ position: absolute;
2250
+ width: 100%;
2251
+ display: flex;
2252
+ justify-content: center;
2253
+ top: -40px;
2254
+ left: 0;
2255
+ z-index: 301;
2256
+ }
2257
+
2258
+ .fortune-iframe-boxes-delete-button {
2259
+ background-color: #ffffff;
2260
+ border: 1px solid #e8ebec;
2261
+ border-radius: 8px;
2262
+ box-shadow: 0px 4px 16px -4px #00000026;
2263
+ }
2264
+
2248
2265
  .fortune-toolbar {
2249
2266
  display: flex;
2250
2267
  flex-direction: row;
@@ -2341,11 +2358,8 @@ input[type="number"].condition-rules-project-input {
2341
2358
  }
2342
2359
 
2343
2360
  .fortune-toolbar-combo-popup {
2344
- position: absolute;
2345
2361
  white-space: nowrap;
2346
- top: 32px;
2347
- left: 0;
2348
- z-index: 1004;
2362
+ max-width: 240px;
2349
2363
  }
2350
2364
 
2351
2365
  .fortune-toolbar-select::-webkit-scrollbar {
@@ -2898,7 +2912,7 @@ label {
2898
2912
 
2899
2913
  .input-modal {
2900
2914
  position: fixed;
2901
- top: 16%;
2915
+ top: 17.5%;
2902
2916
  left: 50%;
2903
2917
  transform: translateX(-50%);
2904
2918
  border-radius: 0.75rem;
@@ -2915,6 +2929,13 @@ label {
2915
2929
  align-items: center;
2916
2930
  padding: 0.75rem;
2917
2931
  border-bottom: 1px solid #e5e7eb;
2932
+ height: 52px;
2933
+ width: 480px;
2934
+ }
2935
+
2936
+ .modal-header svg {
2937
+ width: 20px;
2938
+ height: 20px;
2918
2939
  }
2919
2940
 
2920
2941
  .fetch-url-button {
@@ -3421,6 +3442,7 @@ label {
3421
3442
  height: 20px;
3422
3443
  cursor: pointer;
3423
3444
  border-radius: 4px;
3445
+ gap: 12px;
3424
3446
  }
3425
3447
 
3426
3448
  .context-item:hover {
@@ -3428,6 +3450,11 @@ label {
3428
3450
  transition: all 0.2s ease-in-out;
3429
3451
  }
3430
3452
 
3453
+ .context-item svg {
3454
+ width: 18px !important;
3455
+ height: 18px !important;
3456
+ }
3457
+
3431
3458
  .fortune-context-menu input.luckysheet-mousedown-cancel {
3432
3459
  width: 35px;
3433
3460
  text-align: center;
@@ -3647,7 +3674,6 @@ label {
3647
3674
  justify-content: space-between;
3648
3675
  gap: 8px;
3649
3676
  font-size: 14px;
3650
-
3651
3677
  }
3652
3678
 
3653
3679
  /*颜色筛选 -- pan*/
@@ -3712,6 +3738,7 @@ label {
3712
3738
  .tippy-box {
3713
3739
  background-color: transparent !important;
3714
3740
  }
3741
+
3715
3742
  .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
3716
3743
  #fortune-change-color {
3717
3744
  min-width: 164px;
@@ -3851,11 +3878,10 @@ label {
3851
3878
  .fortune-dune-preview {
3852
3879
  position: absolute;
3853
3880
  background-color: #fff;
3854
- border: 1px solid #e5e5e5;
3855
- border-radius: 8px;
3881
+ border: 1px solid #e8ebec;
3882
+ border-radius: 4px;
3856
3883
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
3857
3884
  width: 270px;
3858
- height: 250px;
3859
3885
  z-index: 1000;
3860
3886
  display: flex;
3861
3887
  flex-direction: column;
@@ -3886,28 +3912,23 @@ label {
3886
3912
  .fortune-dune-preview-footer {
3887
3913
  display: flex;
3888
3914
  justify-content: flex-end;
3889
- gap: 8px;
3890
- padding: 8px;
3915
+ gap: 10px;
3891
3916
  }
3892
3917
 
3893
3918
  .fortune-dune-preview-button {
3894
- padding: 6px 12px;
3919
+ padding: 4px 12px;
3895
3920
  border-radius: 4px;
3896
3921
  font-size: 14px;
3897
3922
  cursor: pointer;
3898
3923
  transition: all 0.2s ease;
3924
+ min-width: 80px;
3899
3925
  }
3900
3926
 
3901
3927
  .fortune-dune-preview-button:hover {
3902
3928
  background-color: #f5f5f5;
3903
3929
  }
3904
3930
 
3905
- .fortune-dune-preview-button-primary {
3906
- background-color: #1e1870;
3907
- border-color: #1e1870;
3931
+ .fortune-dune-preview-button.primary {
3932
+ background-color: #000000;
3908
3933
  color: #fff;
3909
3934
  }
3910
-
3911
- .fortune-dune-preview-button-primary:hover {
3912
- background-color: #2a2379;
3913
- }