@fileverse-dev/fortune-react 1.0.2-mod-67-patch-4 → 1.0.2-mod-72
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/components/DuneChartsInputModal/DuneChartsInputModal.d.ts +1 -2
- package/dist/components/IFrameBoxs/iFrameBoxs.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/constants.d.ts +2 -0
- package/dist/index.css +40 -20
- package/dist/index.esm.css +40 -20
- package/dist/index.esm.js +267 -357
- package/dist/index.js +273 -356
- package/dist/index.umd.css +40 -20
- package/dist/index.umd.js +2108 -1514
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +9 -9
- package/package.json +2 -2
|
@@ -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,
|
|
10
|
+
declare const DuneChartsInputModal: ({ isOpen, onClose, onSubmit, submitText, placeholder, }: DuneChartsInputModalProps) => React.JSX.Element | null;
|
|
12
11
|
export default DuneChartsInputModal;
|
package/dist/index.css
CHANGED
|
@@ -1042,7 +1042,6 @@ html::-webkit-scrollbar-button {
|
|
|
1042
1042
|
.luckysheet-formula-search-c
|
|
1043
1043
|
.luckysheet-formula-search-item
|
|
1044
1044
|
.luckysheet-formula-search-func {
|
|
1045
|
-
color: #363b3f;
|
|
1046
1045
|
font-size: 14px;
|
|
1047
1046
|
}
|
|
1048
1047
|
|
|
@@ -2245,6 +2244,23 @@ input[type="number"].condition-rules-project-input {
|
|
|
2245
2244
|
-moz-appearance: textfield;
|
|
2246
2245
|
}
|
|
2247
2246
|
|
|
2247
|
+
.luckysheet-modal-dialog-controll {
|
|
2248
|
+
position: absolute;
|
|
2249
|
+
width: 100%;
|
|
2250
|
+
display: flex;
|
|
2251
|
+
justify-content: center;
|
|
2252
|
+
top: -40px;
|
|
2253
|
+
left: 0;
|
|
2254
|
+
z-index: 301;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.fortune-iframe-boxes-delete-button {
|
|
2258
|
+
background-color: #ffffff;
|
|
2259
|
+
border: 1px solid #e8ebec;
|
|
2260
|
+
border-radius: 8px;
|
|
2261
|
+
box-shadow: 0px 4px 16px -4px #00000026;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2248
2264
|
.fortune-toolbar {
|
|
2249
2265
|
display: flex;
|
|
2250
2266
|
flex-direction: row;
|
|
@@ -2341,11 +2357,8 @@ input[type="number"].condition-rules-project-input {
|
|
|
2341
2357
|
}
|
|
2342
2358
|
|
|
2343
2359
|
.fortune-toolbar-combo-popup {
|
|
2344
|
-
position: absolute;
|
|
2345
2360
|
white-space: nowrap;
|
|
2346
|
-
|
|
2347
|
-
left: 0;
|
|
2348
|
-
z-index: 1004;
|
|
2361
|
+
max-width: 240px;
|
|
2349
2362
|
}
|
|
2350
2363
|
|
|
2351
2364
|
.fortune-toolbar-select::-webkit-scrollbar {
|
|
@@ -2898,7 +2911,7 @@ label {
|
|
|
2898
2911
|
|
|
2899
2912
|
.input-modal {
|
|
2900
2913
|
position: fixed;
|
|
2901
|
-
top:
|
|
2914
|
+
top: 17.5%;
|
|
2902
2915
|
left: 50%;
|
|
2903
2916
|
transform: translateX(-50%);
|
|
2904
2917
|
border-radius: 0.75rem;
|
|
@@ -2915,6 +2928,13 @@ label {
|
|
|
2915
2928
|
align-items: center;
|
|
2916
2929
|
padding: 0.75rem;
|
|
2917
2930
|
border-bottom: 1px solid #e5e7eb;
|
|
2931
|
+
height: 52px;
|
|
2932
|
+
width: 480px;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
.modal-header svg {
|
|
2936
|
+
width: 20px;
|
|
2937
|
+
height: 20px;
|
|
2918
2938
|
}
|
|
2919
2939
|
|
|
2920
2940
|
.fetch-url-button {
|
|
@@ -3421,6 +3441,7 @@ label {
|
|
|
3421
3441
|
height: 20px;
|
|
3422
3442
|
cursor: pointer;
|
|
3423
3443
|
border-radius: 4px;
|
|
3444
|
+
gap: 12px;
|
|
3424
3445
|
}
|
|
3425
3446
|
|
|
3426
3447
|
.context-item:hover {
|
|
@@ -3428,6 +3449,11 @@ label {
|
|
|
3428
3449
|
transition: all 0.2s ease-in-out;
|
|
3429
3450
|
}
|
|
3430
3451
|
|
|
3452
|
+
.context-item svg {
|
|
3453
|
+
width: 18px !important;
|
|
3454
|
+
height: 18px !important;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3431
3457
|
.fortune-context-menu input.luckysheet-mousedown-cancel {
|
|
3432
3458
|
width: 35px;
|
|
3433
3459
|
text-align: center;
|
|
@@ -3647,7 +3673,6 @@ label {
|
|
|
3647
3673
|
justify-content: space-between;
|
|
3648
3674
|
gap: 8px;
|
|
3649
3675
|
font-size: 14px;
|
|
3650
|
-
|
|
3651
3676
|
}
|
|
3652
3677
|
|
|
3653
3678
|
/*颜色筛选 -- pan*/
|
|
@@ -3712,6 +3737,7 @@ label {
|
|
|
3712
3737
|
.tippy-box {
|
|
3713
3738
|
background-color: transparent !important;
|
|
3714
3739
|
}
|
|
3740
|
+
|
|
3715
3741
|
.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
3742
|
#fortune-change-color {
|
|
3717
3743
|
min-width: 164px;
|
|
@@ -3851,11 +3877,10 @@ label {
|
|
|
3851
3877
|
.fortune-dune-preview {
|
|
3852
3878
|
position: absolute;
|
|
3853
3879
|
background-color: #fff;
|
|
3854
|
-
border: 1px solid #
|
|
3855
|
-
border-radius:
|
|
3880
|
+
border: 1px solid #e8ebec;
|
|
3881
|
+
border-radius: 4px;
|
|
3856
3882
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
3857
3883
|
width: 270px;
|
|
3858
|
-
height: 250px;
|
|
3859
3884
|
z-index: 1000;
|
|
3860
3885
|
display: flex;
|
|
3861
3886
|
flex-direction: column;
|
|
@@ -3886,28 +3911,23 @@ label {
|
|
|
3886
3911
|
.fortune-dune-preview-footer {
|
|
3887
3912
|
display: flex;
|
|
3888
3913
|
justify-content: flex-end;
|
|
3889
|
-
gap:
|
|
3890
|
-
padding: 8px;
|
|
3914
|
+
gap: 10px;
|
|
3891
3915
|
}
|
|
3892
3916
|
|
|
3893
3917
|
.fortune-dune-preview-button {
|
|
3894
|
-
padding:
|
|
3918
|
+
padding: 4px 12px;
|
|
3895
3919
|
border-radius: 4px;
|
|
3896
3920
|
font-size: 14px;
|
|
3897
3921
|
cursor: pointer;
|
|
3898
3922
|
transition: all 0.2s ease;
|
|
3923
|
+
min-width: 80px;
|
|
3899
3924
|
}
|
|
3900
3925
|
|
|
3901
3926
|
.fortune-dune-preview-button:hover {
|
|
3902
3927
|
background-color: #f5f5f5;
|
|
3903
3928
|
}
|
|
3904
3929
|
|
|
3905
|
-
.fortune-dune-preview-button
|
|
3906
|
-
background-color: #
|
|
3907
|
-
border-color: #1e1870;
|
|
3930
|
+
.fortune-dune-preview-button.primary {
|
|
3931
|
+
background-color: #000000;
|
|
3908
3932
|
color: #fff;
|
|
3909
3933
|
}
|
|
3910
|
-
|
|
3911
|
-
.fortune-dune-preview-button-primary:hover {
|
|
3912
|
-
background-color: #2a2379;
|
|
3913
|
-
}
|
package/dist/index.esm.css
CHANGED
|
@@ -1042,7 +1042,6 @@ html::-webkit-scrollbar-button {
|
|
|
1042
1042
|
.luckysheet-formula-search-c
|
|
1043
1043
|
.luckysheet-formula-search-item
|
|
1044
1044
|
.luckysheet-formula-search-func {
|
|
1045
|
-
color: #363b3f;
|
|
1046
1045
|
font-size: 14px;
|
|
1047
1046
|
}
|
|
1048
1047
|
|
|
@@ -2245,6 +2244,23 @@ input[type="number"].condition-rules-project-input {
|
|
|
2245
2244
|
-moz-appearance: textfield;
|
|
2246
2245
|
}
|
|
2247
2246
|
|
|
2247
|
+
.luckysheet-modal-dialog-controll {
|
|
2248
|
+
position: absolute;
|
|
2249
|
+
width: 100%;
|
|
2250
|
+
display: flex;
|
|
2251
|
+
justify-content: center;
|
|
2252
|
+
top: -40px;
|
|
2253
|
+
left: 0;
|
|
2254
|
+
z-index: 301;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.fortune-iframe-boxes-delete-button {
|
|
2258
|
+
background-color: #ffffff;
|
|
2259
|
+
border: 1px solid #e8ebec;
|
|
2260
|
+
border-radius: 8px;
|
|
2261
|
+
box-shadow: 0px 4px 16px -4px #00000026;
|
|
2262
|
+
}
|
|
2263
|
+
|
|
2248
2264
|
.fortune-toolbar {
|
|
2249
2265
|
display: flex;
|
|
2250
2266
|
flex-direction: row;
|
|
@@ -2341,11 +2357,8 @@ input[type="number"].condition-rules-project-input {
|
|
|
2341
2357
|
}
|
|
2342
2358
|
|
|
2343
2359
|
.fortune-toolbar-combo-popup {
|
|
2344
|
-
position: absolute;
|
|
2345
2360
|
white-space: nowrap;
|
|
2346
|
-
|
|
2347
|
-
left: 0;
|
|
2348
|
-
z-index: 1004;
|
|
2361
|
+
max-width: 240px;
|
|
2349
2362
|
}
|
|
2350
2363
|
|
|
2351
2364
|
.fortune-toolbar-select::-webkit-scrollbar {
|
|
@@ -2898,7 +2911,7 @@ label {
|
|
|
2898
2911
|
|
|
2899
2912
|
.input-modal {
|
|
2900
2913
|
position: fixed;
|
|
2901
|
-
top:
|
|
2914
|
+
top: 17.5%;
|
|
2902
2915
|
left: 50%;
|
|
2903
2916
|
transform: translateX(-50%);
|
|
2904
2917
|
border-radius: 0.75rem;
|
|
@@ -2915,6 +2928,13 @@ label {
|
|
|
2915
2928
|
align-items: center;
|
|
2916
2929
|
padding: 0.75rem;
|
|
2917
2930
|
border-bottom: 1px solid #e5e7eb;
|
|
2931
|
+
height: 52px;
|
|
2932
|
+
width: 480px;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
.modal-header svg {
|
|
2936
|
+
width: 20px;
|
|
2937
|
+
height: 20px;
|
|
2918
2938
|
}
|
|
2919
2939
|
|
|
2920
2940
|
.fetch-url-button {
|
|
@@ -3421,6 +3441,7 @@ label {
|
|
|
3421
3441
|
height: 20px;
|
|
3422
3442
|
cursor: pointer;
|
|
3423
3443
|
border-radius: 4px;
|
|
3444
|
+
gap: 12px;
|
|
3424
3445
|
}
|
|
3425
3446
|
|
|
3426
3447
|
.context-item:hover {
|
|
@@ -3428,6 +3449,11 @@ label {
|
|
|
3428
3449
|
transition: all 0.2s ease-in-out;
|
|
3429
3450
|
}
|
|
3430
3451
|
|
|
3452
|
+
.context-item svg {
|
|
3453
|
+
width: 18px !important;
|
|
3454
|
+
height: 18px !important;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3431
3457
|
.fortune-context-menu input.luckysheet-mousedown-cancel {
|
|
3432
3458
|
width: 35px;
|
|
3433
3459
|
text-align: center;
|
|
@@ -3647,7 +3673,6 @@ label {
|
|
|
3647
3673
|
justify-content: space-between;
|
|
3648
3674
|
gap: 8px;
|
|
3649
3675
|
font-size: 14px;
|
|
3650
|
-
|
|
3651
3676
|
}
|
|
3652
3677
|
|
|
3653
3678
|
/*颜色筛选 -- pan*/
|
|
@@ -3712,6 +3737,7 @@ label {
|
|
|
3712
3737
|
.tippy-box {
|
|
3713
3738
|
background-color: transparent !important;
|
|
3714
3739
|
}
|
|
3740
|
+
|
|
3715
3741
|
.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
3742
|
#fortune-change-color {
|
|
3717
3743
|
min-width: 164px;
|
|
@@ -3851,11 +3877,10 @@ label {
|
|
|
3851
3877
|
.fortune-dune-preview {
|
|
3852
3878
|
position: absolute;
|
|
3853
3879
|
background-color: #fff;
|
|
3854
|
-
border: 1px solid #
|
|
3855
|
-
border-radius:
|
|
3880
|
+
border: 1px solid #e8ebec;
|
|
3881
|
+
border-radius: 4px;
|
|
3856
3882
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
3857
3883
|
width: 270px;
|
|
3858
|
-
height: 250px;
|
|
3859
3884
|
z-index: 1000;
|
|
3860
3885
|
display: flex;
|
|
3861
3886
|
flex-direction: column;
|
|
@@ -3886,28 +3911,23 @@ label {
|
|
|
3886
3911
|
.fortune-dune-preview-footer {
|
|
3887
3912
|
display: flex;
|
|
3888
3913
|
justify-content: flex-end;
|
|
3889
|
-
gap:
|
|
3890
|
-
padding: 8px;
|
|
3914
|
+
gap: 10px;
|
|
3891
3915
|
}
|
|
3892
3916
|
|
|
3893
3917
|
.fortune-dune-preview-button {
|
|
3894
|
-
padding:
|
|
3918
|
+
padding: 4px 12px;
|
|
3895
3919
|
border-radius: 4px;
|
|
3896
3920
|
font-size: 14px;
|
|
3897
3921
|
cursor: pointer;
|
|
3898
3922
|
transition: all 0.2s ease;
|
|
3923
|
+
min-width: 80px;
|
|
3899
3924
|
}
|
|
3900
3925
|
|
|
3901
3926
|
.fortune-dune-preview-button:hover {
|
|
3902
3927
|
background-color: #f5f5f5;
|
|
3903
3928
|
}
|
|
3904
3929
|
|
|
3905
|
-
.fortune-dune-preview-button
|
|
3906
|
-
background-color: #
|
|
3907
|
-
border-color: #1e1870;
|
|
3930
|
+
.fortune-dune-preview-button.primary {
|
|
3931
|
+
background-color: #000000;
|
|
3908
3932
|
color: #fff;
|
|
3909
3933
|
}
|
|
3910
|
-
|
|
3911
|
-
.fortune-dune-preview-button-primary:hover {
|
|
3912
|
-
background-color: #2a2379;
|
|
3913
|
-
}
|