@bigbinary/neeto-editor 1.26.16 → 1.26.17
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/index.cjs.js +122 -109
- package/index.cjs.js.map +1 -1
- package/index.js +122 -109
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -64135,7 +64135,7 @@ var File$1 = function File(_ref) {
|
|
|
64135
64135
|
|
|
64136
64136
|
function cov_13lrfxjoky() {
|
|
64137
64137
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
64138
|
-
var hash = "
|
|
64138
|
+
var hash = "c8d8c5409e33c0473cbf6f816e4b217990caf4ad";
|
|
64139
64139
|
var global = new Function("return this")();
|
|
64140
64140
|
var gcv = "__coverage__";
|
|
64141
64141
|
var coverageData = {
|
|
@@ -64157,7 +64157,7 @@ function cov_13lrfxjoky() {
|
|
|
64157
64157
|
column: 19
|
|
64158
64158
|
},
|
|
64159
64159
|
end: {
|
|
64160
|
-
line:
|
|
64160
|
+
line: 203,
|
|
64161
64161
|
column: 1
|
|
64162
64162
|
}
|
|
64163
64163
|
},
|
|
@@ -64497,7 +64497,7 @@ function cov_13lrfxjoky() {
|
|
|
64497
64497
|
column: 24
|
|
64498
64498
|
},
|
|
64499
64499
|
end: {
|
|
64500
|
-
line:
|
|
64500
|
+
line: 119,
|
|
64501
64501
|
column: 3
|
|
64502
64502
|
}
|
|
64503
64503
|
},
|
|
@@ -64517,7 +64517,7 @@ function cov_13lrfxjoky() {
|
|
|
64517
64517
|
column: 4
|
|
64518
64518
|
},
|
|
64519
64519
|
end: {
|
|
64520
|
-
line:
|
|
64520
|
+
line: 113,
|
|
64521
64521
|
column: 5
|
|
64522
64522
|
}
|
|
64523
64523
|
},
|
|
@@ -64528,7 +64528,7 @@ function cov_13lrfxjoky() {
|
|
|
64528
64528
|
},
|
|
64529
64529
|
end: {
|
|
64530
64530
|
line: 110,
|
|
64531
|
-
column:
|
|
64531
|
+
column: 30
|
|
64532
64532
|
}
|
|
64533
64533
|
},
|
|
64534
64534
|
"39": {
|
|
@@ -64538,27 +64538,27 @@ function cov_13lrfxjoky() {
|
|
|
64538
64538
|
},
|
|
64539
64539
|
end: {
|
|
64540
64540
|
line: 111,
|
|
64541
|
-
column:
|
|
64541
|
+
column: 29
|
|
64542
64542
|
}
|
|
64543
64543
|
},
|
|
64544
64544
|
"40": {
|
|
64545
64545
|
start: {
|
|
64546
|
-
line:
|
|
64547
|
-
column:
|
|
64546
|
+
line: 112,
|
|
64547
|
+
column: 6
|
|
64548
64548
|
},
|
|
64549
64549
|
end: {
|
|
64550
|
-
line:
|
|
64551
|
-
column:
|
|
64550
|
+
line: 112,
|
|
64551
|
+
column: 16
|
|
64552
64552
|
}
|
|
64553
64553
|
},
|
|
64554
64554
|
"41": {
|
|
64555
64555
|
start: {
|
|
64556
64556
|
line: 115,
|
|
64557
|
-
column:
|
|
64557
|
+
column: 4
|
|
64558
64558
|
},
|
|
64559
64559
|
end: {
|
|
64560
|
-
line:
|
|
64561
|
-
column:
|
|
64560
|
+
line: 118,
|
|
64561
|
+
column: 5
|
|
64562
64562
|
}
|
|
64563
64563
|
},
|
|
64564
64564
|
"42": {
|
|
@@ -64568,86 +64568,96 @@ function cov_13lrfxjoky() {
|
|
|
64568
64568
|
},
|
|
64569
64569
|
end: {
|
|
64570
64570
|
line: 116,
|
|
64571
|
-
column:
|
|
64571
|
+
column: 27
|
|
64572
64572
|
}
|
|
64573
64573
|
},
|
|
64574
64574
|
"43": {
|
|
64575
64575
|
start: {
|
|
64576
|
-
line:
|
|
64576
|
+
line: 117,
|
|
64577
|
+
column: 6
|
|
64578
|
+
},
|
|
64579
|
+
end: {
|
|
64580
|
+
line: 117,
|
|
64581
|
+
column: 25
|
|
64582
|
+
}
|
|
64583
|
+
},
|
|
64584
|
+
"44": {
|
|
64585
|
+
start: {
|
|
64586
|
+
line: 121,
|
|
64577
64587
|
column: 2
|
|
64578
64588
|
},
|
|
64579
64589
|
end: {
|
|
64580
|
-
line:
|
|
64590
|
+
line: 202,
|
|
64581
64591
|
column: 4
|
|
64582
64592
|
}
|
|
64583
64593
|
},
|
|
64584
|
-
"
|
|
64594
|
+
"45": {
|
|
64585
64595
|
start: {
|
|
64586
|
-
line:
|
|
64596
|
+
line: 135,
|
|
64587
64597
|
column: 18
|
|
64588
64598
|
},
|
|
64589
64599
|
end: {
|
|
64590
|
-
line:
|
|
64600
|
+
line: 138,
|
|
64591
64601
|
column: 20
|
|
64592
64602
|
}
|
|
64593
64603
|
},
|
|
64594
|
-
"
|
|
64604
|
+
"46": {
|
|
64595
64605
|
start: {
|
|
64596
|
-
line:
|
|
64606
|
+
line: 147,
|
|
64597
64607
|
column: 29
|
|
64598
64608
|
},
|
|
64599
64609
|
end: {
|
|
64600
|
-
line:
|
|
64610
|
+
line: 147,
|
|
64601
64611
|
column: 49
|
|
64602
64612
|
}
|
|
64603
64613
|
},
|
|
64604
|
-
"
|
|
64614
|
+
"47": {
|
|
64605
64615
|
start: {
|
|
64606
|
-
line:
|
|
64616
|
+
line: 154,
|
|
64607
64617
|
column: 29
|
|
64608
64618
|
},
|
|
64609
64619
|
end: {
|
|
64610
|
-
line:
|
|
64620
|
+
line: 154,
|
|
64611
64621
|
column: 62
|
|
64612
64622
|
}
|
|
64613
64623
|
},
|
|
64614
|
-
"
|
|
64624
|
+
"48": {
|
|
64615
64625
|
start: {
|
|
64616
|
-
line:
|
|
64626
|
+
line: 160,
|
|
64617
64627
|
column: 33
|
|
64618
64628
|
},
|
|
64619
64629
|
end: {
|
|
64620
|
-
line:
|
|
64630
|
+
line: 160,
|
|
64621
64631
|
column: 66
|
|
64622
64632
|
}
|
|
64623
64633
|
},
|
|
64624
|
-
"
|
|
64634
|
+
"49": {
|
|
64625
64635
|
start: {
|
|
64626
|
-
line:
|
|
64636
|
+
line: 179,
|
|
64627
64637
|
column: 20
|
|
64628
64638
|
},
|
|
64629
64639
|
end: {
|
|
64630
|
-
line:
|
|
64640
|
+
line: 185,
|
|
64631
64641
|
column: 38
|
|
64632
64642
|
}
|
|
64633
64643
|
},
|
|
64634
|
-
"
|
|
64644
|
+
"50": {
|
|
64635
64645
|
start: {
|
|
64636
|
-
line:
|
|
64646
|
+
line: 182,
|
|
64637
64647
|
column: 37
|
|
64638
64648
|
},
|
|
64639
64649
|
end: {
|
|
64640
|
-
line:
|
|
64650
|
+
line: 182,
|
|
64641
64651
|
column: 77
|
|
64642
64652
|
}
|
|
64643
64653
|
},
|
|
64644
|
-
"
|
|
64654
|
+
"51": {
|
|
64645
64655
|
start: {
|
|
64646
|
-
line:
|
|
64656
|
+
line: 198,
|
|
64647
64657
|
column: 23
|
|
64648
64658
|
},
|
|
64649
64659
|
end: {
|
|
64650
|
-
line:
|
|
64660
|
+
line: 198,
|
|
64651
64661
|
column: 50
|
|
64652
64662
|
}
|
|
64653
64663
|
}
|
|
@@ -64671,7 +64681,7 @@ function cov_13lrfxjoky() {
|
|
|
64671
64681
|
column: 6
|
|
64672
64682
|
},
|
|
64673
64683
|
end: {
|
|
64674
|
-
line:
|
|
64684
|
+
line: 203,
|
|
64675
64685
|
column: 1
|
|
64676
64686
|
}
|
|
64677
64687
|
},
|
|
@@ -64815,7 +64825,7 @@ function cov_13lrfxjoky() {
|
|
|
64815
64825
|
column: 44
|
|
64816
64826
|
},
|
|
64817
64827
|
end: {
|
|
64818
|
-
line:
|
|
64828
|
+
line: 119,
|
|
64819
64829
|
column: 3
|
|
64820
64830
|
}
|
|
64821
64831
|
},
|
|
@@ -64825,169 +64835,169 @@ function cov_13lrfxjoky() {
|
|
|
64825
64835
|
name: "(anonymous_7)",
|
|
64826
64836
|
decl: {
|
|
64827
64837
|
start: {
|
|
64828
|
-
line:
|
|
64838
|
+
line: 134,
|
|
64829
64839
|
column: 27
|
|
64830
64840
|
},
|
|
64831
64841
|
end: {
|
|
64832
|
-
line:
|
|
64842
|
+
line: 134,
|
|
64833
64843
|
column: 28
|
|
64834
64844
|
}
|
|
64835
64845
|
},
|
|
64836
64846
|
loc: {
|
|
64837
64847
|
start: {
|
|
64838
|
-
line:
|
|
64848
|
+
line: 135,
|
|
64839
64849
|
column: 18
|
|
64840
64850
|
},
|
|
64841
64851
|
end: {
|
|
64842
|
-
line:
|
|
64852
|
+
line: 138,
|
|
64843
64853
|
column: 20
|
|
64844
64854
|
}
|
|
64845
64855
|
},
|
|
64846
|
-
line:
|
|
64856
|
+
line: 135
|
|
64847
64857
|
},
|
|
64848
64858
|
"8": {
|
|
64849
64859
|
name: "(anonymous_8)",
|
|
64850
64860
|
decl: {
|
|
64851
64861
|
start: {
|
|
64852
|
-
line:
|
|
64862
|
+
line: 147,
|
|
64853
64863
|
column: 23
|
|
64854
64864
|
},
|
|
64855
64865
|
end: {
|
|
64856
|
-
line:
|
|
64866
|
+
line: 147,
|
|
64857
64867
|
column: 24
|
|
64858
64868
|
}
|
|
64859
64869
|
},
|
|
64860
64870
|
loc: {
|
|
64861
64871
|
start: {
|
|
64862
|
-
line:
|
|
64872
|
+
line: 147,
|
|
64863
64873
|
column: 29
|
|
64864
64874
|
},
|
|
64865
64875
|
end: {
|
|
64866
|
-
line:
|
|
64876
|
+
line: 147,
|
|
64867
64877
|
column: 49
|
|
64868
64878
|
}
|
|
64869
64879
|
},
|
|
64870
|
-
line:
|
|
64880
|
+
line: 147
|
|
64871
64881
|
},
|
|
64872
64882
|
"9": {
|
|
64873
64883
|
name: "(anonymous_9)",
|
|
64874
64884
|
decl: {
|
|
64875
64885
|
start: {
|
|
64876
|
-
line:
|
|
64886
|
+
line: 154,
|
|
64877
64887
|
column: 23
|
|
64878
64888
|
},
|
|
64879
64889
|
end: {
|
|
64880
|
-
line:
|
|
64890
|
+
line: 154,
|
|
64881
64891
|
column: 24
|
|
64882
64892
|
}
|
|
64883
64893
|
},
|
|
64884
64894
|
loc: {
|
|
64885
64895
|
start: {
|
|
64886
|
-
line:
|
|
64896
|
+
line: 154,
|
|
64887
64897
|
column: 29
|
|
64888
64898
|
},
|
|
64889
64899
|
end: {
|
|
64890
|
-
line:
|
|
64900
|
+
line: 154,
|
|
64891
64901
|
column: 62
|
|
64892
64902
|
}
|
|
64893
64903
|
},
|
|
64894
|
-
line:
|
|
64904
|
+
line: 154
|
|
64895
64905
|
},
|
|
64896
64906
|
"10": {
|
|
64897
64907
|
name: "(anonymous_10)",
|
|
64898
64908
|
decl: {
|
|
64899
64909
|
start: {
|
|
64900
|
-
line:
|
|
64910
|
+
line: 160,
|
|
64901
64911
|
column: 27
|
|
64902
64912
|
},
|
|
64903
64913
|
end: {
|
|
64904
|
-
line:
|
|
64914
|
+
line: 160,
|
|
64905
64915
|
column: 28
|
|
64906
64916
|
}
|
|
64907
64917
|
},
|
|
64908
64918
|
loc: {
|
|
64909
64919
|
start: {
|
|
64910
|
-
line:
|
|
64920
|
+
line: 160,
|
|
64911
64921
|
column: 33
|
|
64912
64922
|
},
|
|
64913
64923
|
end: {
|
|
64914
|
-
line:
|
|
64924
|
+
line: 160,
|
|
64915
64925
|
column: 66
|
|
64916
64926
|
}
|
|
64917
64927
|
},
|
|
64918
|
-
line:
|
|
64928
|
+
line: 160
|
|
64919
64929
|
},
|
|
64920
64930
|
"11": {
|
|
64921
64931
|
name: "(anonymous_11)",
|
|
64922
64932
|
decl: {
|
|
64923
64933
|
start: {
|
|
64924
|
-
line:
|
|
64934
|
+
line: 178,
|
|
64925
64935
|
column: 48
|
|
64926
64936
|
},
|
|
64927
64937
|
end: {
|
|
64928
|
-
line:
|
|
64938
|
+
line: 178,
|
|
64929
64939
|
column: 49
|
|
64930
64940
|
}
|
|
64931
64941
|
},
|
|
64932
64942
|
loc: {
|
|
64933
64943
|
start: {
|
|
64934
|
-
line:
|
|
64944
|
+
line: 179,
|
|
64935
64945
|
column: 20
|
|
64936
64946
|
},
|
|
64937
64947
|
end: {
|
|
64938
|
-
line:
|
|
64948
|
+
line: 185,
|
|
64939
64949
|
column: 38
|
|
64940
64950
|
}
|
|
64941
64951
|
},
|
|
64942
|
-
line:
|
|
64952
|
+
line: 179
|
|
64943
64953
|
},
|
|
64944
64954
|
"12": {
|
|
64945
64955
|
name: "(anonymous_12)",
|
|
64946
64956
|
decl: {
|
|
64947
64957
|
start: {
|
|
64948
|
-
line:
|
|
64958
|
+
line: 182,
|
|
64949
64959
|
column: 31
|
|
64950
64960
|
},
|
|
64951
64961
|
end: {
|
|
64952
|
-
line:
|
|
64962
|
+
line: 182,
|
|
64953
64963
|
column: 32
|
|
64954
64964
|
}
|
|
64955
64965
|
},
|
|
64956
64966
|
loc: {
|
|
64957
64967
|
start: {
|
|
64958
|
-
line:
|
|
64968
|
+
line: 182,
|
|
64959
64969
|
column: 37
|
|
64960
64970
|
},
|
|
64961
64971
|
end: {
|
|
64962
|
-
line:
|
|
64972
|
+
line: 182,
|
|
64963
64973
|
column: 77
|
|
64964
64974
|
}
|
|
64965
64975
|
},
|
|
64966
|
-
line:
|
|
64976
|
+
line: 182
|
|
64967
64977
|
},
|
|
64968
64978
|
"13": {
|
|
64969
64979
|
name: "(anonymous_13)",
|
|
64970
64980
|
decl: {
|
|
64971
64981
|
start: {
|
|
64972
|
-
line:
|
|
64982
|
+
line: 198,
|
|
64973
64983
|
column: 17
|
|
64974
64984
|
},
|
|
64975
64985
|
end: {
|
|
64976
|
-
line:
|
|
64986
|
+
line: 198,
|
|
64977
64987
|
column: 18
|
|
64978
64988
|
}
|
|
64979
64989
|
},
|
|
64980
64990
|
loc: {
|
|
64981
64991
|
start: {
|
|
64982
|
-
line:
|
|
64992
|
+
line: 198,
|
|
64983
64993
|
column: 23
|
|
64984
64994
|
},
|
|
64985
64995
|
end: {
|
|
64986
|
-
line:
|
|
64996
|
+
line: 198,
|
|
64987
64997
|
column: 50
|
|
64988
64998
|
}
|
|
64989
64999
|
},
|
|
64990
|
-
line:
|
|
65000
|
+
line: 198
|
|
64991
65001
|
}
|
|
64992
65002
|
},
|
|
64993
65003
|
branchMap: {
|
|
@@ -65097,7 +65107,7 @@ function cov_13lrfxjoky() {
|
|
|
65097
65107
|
column: 4
|
|
65098
65108
|
},
|
|
65099
65109
|
end: {
|
|
65100
|
-
line:
|
|
65110
|
+
line: 113,
|
|
65101
65111
|
column: 5
|
|
65102
65112
|
}
|
|
65103
65113
|
},
|
|
@@ -65108,7 +65118,7 @@ function cov_13lrfxjoky() {
|
|
|
65108
65118
|
column: 4
|
|
65109
65119
|
},
|
|
65110
65120
|
end: {
|
|
65111
|
-
line:
|
|
65121
|
+
line: 113,
|
|
65112
65122
|
column: 5
|
|
65113
65123
|
}
|
|
65114
65124
|
}, {
|
|
@@ -65168,22 +65178,22 @@ function cov_13lrfxjoky() {
|
|
|
65168
65178
|
"5": {
|
|
65169
65179
|
loc: {
|
|
65170
65180
|
start: {
|
|
65171
|
-
line:
|
|
65181
|
+
line: 115,
|
|
65172
65182
|
column: 4
|
|
65173
65183
|
},
|
|
65174
65184
|
end: {
|
|
65175
|
-
line:
|
|
65185
|
+
line: 118,
|
|
65176
65186
|
column: 5
|
|
65177
65187
|
}
|
|
65178
65188
|
},
|
|
65179
65189
|
type: "if",
|
|
65180
65190
|
locations: [{
|
|
65181
65191
|
start: {
|
|
65182
|
-
line:
|
|
65192
|
+
line: 115,
|
|
65183
65193
|
column: 4
|
|
65184
65194
|
},
|
|
65185
65195
|
end: {
|
|
65186
|
-
line:
|
|
65196
|
+
line: 118,
|
|
65187
65197
|
column: 5
|
|
65188
65198
|
}
|
|
65189
65199
|
}, {
|
|
@@ -65196,73 +65206,73 @@ function cov_13lrfxjoky() {
|
|
|
65196
65206
|
column: undefined
|
|
65197
65207
|
}
|
|
65198
65208
|
}],
|
|
65199
|
-
line:
|
|
65209
|
+
line: 115
|
|
65200
65210
|
},
|
|
65201
65211
|
"6": {
|
|
65202
65212
|
loc: {
|
|
65203
65213
|
start: {
|
|
65204
|
-
line:
|
|
65214
|
+
line: 124,
|
|
65205
65215
|
column: 9
|
|
65206
65216
|
},
|
|
65207
65217
|
end: {
|
|
65208
|
-
line:
|
|
65218
|
+
line: 191,
|
|
65209
65219
|
column: 9
|
|
65210
65220
|
}
|
|
65211
65221
|
},
|
|
65212
65222
|
type: "cond-expr",
|
|
65213
65223
|
locations: [{
|
|
65214
65224
|
start: {
|
|
65215
|
-
line:
|
|
65225
|
+
line: 125,
|
|
65216
65226
|
column: 10
|
|
65217
65227
|
},
|
|
65218
65228
|
end: {
|
|
65219
|
-
line:
|
|
65229
|
+
line: 149,
|
|
65220
65230
|
column: 13
|
|
65221
65231
|
}
|
|
65222
65232
|
}, {
|
|
65223
65233
|
start: {
|
|
65224
|
-
line:
|
|
65234
|
+
line: 151,
|
|
65225
65235
|
column: 10
|
|
65226
65236
|
},
|
|
65227
65237
|
end: {
|
|
65228
|
-
line:
|
|
65238
|
+
line: 190,
|
|
65229
65239
|
column: 13
|
|
65230
65240
|
}
|
|
65231
65241
|
}],
|
|
65232
|
-
line:
|
|
65242
|
+
line: 124
|
|
65233
65243
|
},
|
|
65234
65244
|
"7": {
|
|
65235
65245
|
loc: {
|
|
65236
65246
|
start: {
|
|
65237
|
-
line:
|
|
65247
|
+
line: 130,
|
|
65238
65248
|
column: 23
|
|
65239
65249
|
},
|
|
65240
65250
|
end: {
|
|
65241
|
-
line:
|
|
65251
|
+
line: 130,
|
|
65242
65252
|
column: 77
|
|
65243
65253
|
}
|
|
65244
65254
|
},
|
|
65245
65255
|
type: "cond-expr",
|
|
65246
65256
|
locations: [{
|
|
65247
65257
|
start: {
|
|
65248
|
-
line:
|
|
65258
|
+
line: 130,
|
|
65249
65259
|
column: 46
|
|
65250
65260
|
},
|
|
65251
65261
|
end: {
|
|
65252
|
-
line:
|
|
65262
|
+
line: 130,
|
|
65253
65263
|
column: 72
|
|
65254
65264
|
}
|
|
65255
65265
|
}, {
|
|
65256
65266
|
start: {
|
|
65257
|
-
line:
|
|
65267
|
+
line: 130,
|
|
65258
65268
|
column: 75
|
|
65259
65269
|
},
|
|
65260
65270
|
end: {
|
|
65261
|
-
line:
|
|
65271
|
+
line: 130,
|
|
65262
65272
|
column: 77
|
|
65263
65273
|
}
|
|
65264
65274
|
}],
|
|
65265
|
-
line:
|
|
65275
|
+
line: 130
|
|
65266
65276
|
}
|
|
65267
65277
|
},
|
|
65268
65278
|
s: {
|
|
@@ -65316,7 +65326,8 @@ function cov_13lrfxjoky() {
|
|
|
65316
65326
|
"47": 0,
|
|
65317
65327
|
"48": 0,
|
|
65318
65328
|
"49": 0,
|
|
65319
|
-
"50": 0
|
|
65329
|
+
"50": 0,
|
|
65330
|
+
"51": 0
|
|
65320
65331
|
},
|
|
65321
65332
|
f: {
|
|
65322
65333
|
"0": 0,
|
|
@@ -65345,7 +65356,7 @@ function cov_13lrfxjoky() {
|
|
|
65345
65356
|
"7": [0, 0]
|
|
65346
65357
|
},
|
|
65347
65358
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65348
|
-
hash: "
|
|
65359
|
+
hash: "c8d8c5409e33c0473cbf6f816e4b217990caf4ad"
|
|
65349
65360
|
};
|
|
65350
65361
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65351
65362
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65533,24 +65544,26 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65533
65544
|
if ((cov_13lrfxjoky().b[4][0]++, event.key === "Enter") && (cov_13lrfxjoky().b[4][1]++, handler) && (cov_13lrfxjoky().b[4][2]++, !ramda.isEmpty(newFilename))) {
|
|
65534
65545
|
cov_13lrfxjoky().b[3][0]++;
|
|
65535
65546
|
cov_13lrfxjoky().s[38]++;
|
|
65536
|
-
event.
|
|
65547
|
+
event.stopPropagation();
|
|
65537
65548
|
cov_13lrfxjoky().s[39]++;
|
|
65549
|
+
event.preventDefault();
|
|
65550
|
+
cov_13lrfxjoky().s[40]++;
|
|
65538
65551
|
handler();
|
|
65539
65552
|
} else {
|
|
65540
65553
|
cov_13lrfxjoky().b[3][1]++;
|
|
65541
65554
|
}
|
|
65542
|
-
cov_13lrfxjoky().s[
|
|
65555
|
+
cov_13lrfxjoky().s[41]++;
|
|
65543
65556
|
if (event.key === "Escape") {
|
|
65544
65557
|
cov_13lrfxjoky().b[5][0]++;
|
|
65545
|
-
cov_13lrfxjoky().s[41]++;
|
|
65546
|
-
setIsRenaming(false);
|
|
65547
65558
|
cov_13lrfxjoky().s[42]++;
|
|
65559
|
+
setIsRenaming(false);
|
|
65560
|
+
cov_13lrfxjoky().s[43]++;
|
|
65548
65561
|
setNewFilename("");
|
|
65549
65562
|
} else {
|
|
65550
65563
|
cov_13lrfxjoky().b[5][1]++;
|
|
65551
65564
|
}
|
|
65552
65565
|
};
|
|
65553
|
-
cov_13lrfxjoky().s[
|
|
65566
|
+
cov_13lrfxjoky().s[44]++;
|
|
65554
65567
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65555
65568
|
className: "ne-attachments__preview"
|
|
65556
65569
|
}, isRenaming ? (cov_13lrfxjoky().b[6][0]++, /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
|
|
@@ -65565,7 +65578,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65565
65578
|
onChange: utils.withEventTargetValue(setNewFilename),
|
|
65566
65579
|
onKeyDown: function onKeyDown(event) {
|
|
65567
65580
|
cov_13lrfxjoky().f[7]++;
|
|
65568
|
-
cov_13lrfxjoky().s[
|
|
65581
|
+
cov_13lrfxjoky().s[45]++;
|
|
65569
65582
|
return handleKeyDown({
|
|
65570
65583
|
event: event,
|
|
65571
65584
|
key: ATTACHMENT_OPTIONS.RENAME
|
|
@@ -65578,14 +65591,14 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65578
65591
|
style: "text",
|
|
65579
65592
|
onClick: function onClick() {
|
|
65580
65593
|
cov_13lrfxjoky().f[8]++;
|
|
65581
|
-
cov_13lrfxjoky().s[
|
|
65594
|
+
cov_13lrfxjoky().s[46]++;
|
|
65582
65595
|
return setIsRenaming(false);
|
|
65583
65596
|
}
|
|
65584
65597
|
}))) : (cov_13lrfxjoky().b[6][1]++, /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
65585
65598
|
className: "ne-attachments__preview-wrapper",
|
|
65586
65599
|
onClick: function onClick() {
|
|
65587
65600
|
cov_13lrfxjoky().f[9]++;
|
|
65588
|
-
cov_13lrfxjoky().s[
|
|
65601
|
+
cov_13lrfxjoky().s[47]++;
|
|
65589
65602
|
return setSelectedAttachment(attachment);
|
|
65590
65603
|
}
|
|
65591
65604
|
}, /*#__PURE__*/React__default["default"].createElement(File$1, {
|
|
@@ -65597,7 +65610,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65597
65610
|
style: "body2",
|
|
65598
65611
|
onClick: function onClick() {
|
|
65599
65612
|
cov_13lrfxjoky().f[10]++;
|
|
65600
|
-
cov_13lrfxjoky().s[
|
|
65613
|
+
cov_13lrfxjoky().s[48]++;
|
|
65601
65614
|
return setSelectedAttachment(attachment);
|
|
65602
65615
|
}
|
|
65603
65616
|
}, attachment.filename))), /*#__PURE__*/React__default["default"].createElement(neetoui.Tooltip, {
|
|
@@ -65614,13 +65627,13 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65614
65627
|
label = _ref21[0],
|
|
65615
65628
|
handler = _ref21[1];
|
|
65616
65629
|
cov_13lrfxjoky().f[11]++;
|
|
65617
|
-
cov_13lrfxjoky().s[
|
|
65630
|
+
cov_13lrfxjoky().s[49]++;
|
|
65618
65631
|
return /*#__PURE__*/React__default["default"].createElement(MenuItem$2.Button, {
|
|
65619
65632
|
"data-cy": "neeto-editor-preview-".concat(label.toLowerCase(), "-button"),
|
|
65620
65633
|
key: label,
|
|
65621
65634
|
onClick: function onClick() {
|
|
65622
65635
|
cov_13lrfxjoky().f[12]++;
|
|
65623
|
-
cov_13lrfxjoky().s[
|
|
65636
|
+
cov_13lrfxjoky().s[50]++;
|
|
65624
65637
|
return onMenuItemClick({
|
|
65625
65638
|
key: label,
|
|
65626
65639
|
handler: handler
|
|
@@ -65636,7 +65649,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65636
65649
|
title: t("attachments.deleteTitle"),
|
|
65637
65650
|
onClose: function onClose() {
|
|
65638
65651
|
cov_13lrfxjoky().f[13]++;
|
|
65639
|
-
cov_13lrfxjoky().s[
|
|
65652
|
+
cov_13lrfxjoky().s[51]++;
|
|
65640
65653
|
return setIsDeleteAlertOpen(false);
|
|
65641
65654
|
},
|
|
65642
65655
|
onSubmit: handleDelete
|