@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.js
CHANGED
|
@@ -64107,7 +64107,7 @@ var File$1 = function File(_ref) {
|
|
|
64107
64107
|
|
|
64108
64108
|
function cov_13lrfxjoky() {
|
|
64109
64109
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
64110
|
-
var hash = "
|
|
64110
|
+
var hash = "c8d8c5409e33c0473cbf6f816e4b217990caf4ad";
|
|
64111
64111
|
var global = new Function("return this")();
|
|
64112
64112
|
var gcv = "__coverage__";
|
|
64113
64113
|
var coverageData = {
|
|
@@ -64129,7 +64129,7 @@ function cov_13lrfxjoky() {
|
|
|
64129
64129
|
column: 19
|
|
64130
64130
|
},
|
|
64131
64131
|
end: {
|
|
64132
|
-
line:
|
|
64132
|
+
line: 203,
|
|
64133
64133
|
column: 1
|
|
64134
64134
|
}
|
|
64135
64135
|
},
|
|
@@ -64469,7 +64469,7 @@ function cov_13lrfxjoky() {
|
|
|
64469
64469
|
column: 24
|
|
64470
64470
|
},
|
|
64471
64471
|
end: {
|
|
64472
|
-
line:
|
|
64472
|
+
line: 119,
|
|
64473
64473
|
column: 3
|
|
64474
64474
|
}
|
|
64475
64475
|
},
|
|
@@ -64489,7 +64489,7 @@ function cov_13lrfxjoky() {
|
|
|
64489
64489
|
column: 4
|
|
64490
64490
|
},
|
|
64491
64491
|
end: {
|
|
64492
|
-
line:
|
|
64492
|
+
line: 113,
|
|
64493
64493
|
column: 5
|
|
64494
64494
|
}
|
|
64495
64495
|
},
|
|
@@ -64500,7 +64500,7 @@ function cov_13lrfxjoky() {
|
|
|
64500
64500
|
},
|
|
64501
64501
|
end: {
|
|
64502
64502
|
line: 110,
|
|
64503
|
-
column:
|
|
64503
|
+
column: 30
|
|
64504
64504
|
}
|
|
64505
64505
|
},
|
|
64506
64506
|
"39": {
|
|
@@ -64510,27 +64510,27 @@ function cov_13lrfxjoky() {
|
|
|
64510
64510
|
},
|
|
64511
64511
|
end: {
|
|
64512
64512
|
line: 111,
|
|
64513
|
-
column:
|
|
64513
|
+
column: 29
|
|
64514
64514
|
}
|
|
64515
64515
|
},
|
|
64516
64516
|
"40": {
|
|
64517
64517
|
start: {
|
|
64518
|
-
line:
|
|
64519
|
-
column:
|
|
64518
|
+
line: 112,
|
|
64519
|
+
column: 6
|
|
64520
64520
|
},
|
|
64521
64521
|
end: {
|
|
64522
|
-
line:
|
|
64523
|
-
column:
|
|
64522
|
+
line: 112,
|
|
64523
|
+
column: 16
|
|
64524
64524
|
}
|
|
64525
64525
|
},
|
|
64526
64526
|
"41": {
|
|
64527
64527
|
start: {
|
|
64528
64528
|
line: 115,
|
|
64529
|
-
column:
|
|
64529
|
+
column: 4
|
|
64530
64530
|
},
|
|
64531
64531
|
end: {
|
|
64532
|
-
line:
|
|
64533
|
-
column:
|
|
64532
|
+
line: 118,
|
|
64533
|
+
column: 5
|
|
64534
64534
|
}
|
|
64535
64535
|
},
|
|
64536
64536
|
"42": {
|
|
@@ -64540,86 +64540,96 @@ function cov_13lrfxjoky() {
|
|
|
64540
64540
|
},
|
|
64541
64541
|
end: {
|
|
64542
64542
|
line: 116,
|
|
64543
|
-
column:
|
|
64543
|
+
column: 27
|
|
64544
64544
|
}
|
|
64545
64545
|
},
|
|
64546
64546
|
"43": {
|
|
64547
64547
|
start: {
|
|
64548
|
-
line:
|
|
64548
|
+
line: 117,
|
|
64549
|
+
column: 6
|
|
64550
|
+
},
|
|
64551
|
+
end: {
|
|
64552
|
+
line: 117,
|
|
64553
|
+
column: 25
|
|
64554
|
+
}
|
|
64555
|
+
},
|
|
64556
|
+
"44": {
|
|
64557
|
+
start: {
|
|
64558
|
+
line: 121,
|
|
64549
64559
|
column: 2
|
|
64550
64560
|
},
|
|
64551
64561
|
end: {
|
|
64552
|
-
line:
|
|
64562
|
+
line: 202,
|
|
64553
64563
|
column: 4
|
|
64554
64564
|
}
|
|
64555
64565
|
},
|
|
64556
|
-
"
|
|
64566
|
+
"45": {
|
|
64557
64567
|
start: {
|
|
64558
|
-
line:
|
|
64568
|
+
line: 135,
|
|
64559
64569
|
column: 18
|
|
64560
64570
|
},
|
|
64561
64571
|
end: {
|
|
64562
|
-
line:
|
|
64572
|
+
line: 138,
|
|
64563
64573
|
column: 20
|
|
64564
64574
|
}
|
|
64565
64575
|
},
|
|
64566
|
-
"
|
|
64576
|
+
"46": {
|
|
64567
64577
|
start: {
|
|
64568
|
-
line:
|
|
64578
|
+
line: 147,
|
|
64569
64579
|
column: 29
|
|
64570
64580
|
},
|
|
64571
64581
|
end: {
|
|
64572
|
-
line:
|
|
64582
|
+
line: 147,
|
|
64573
64583
|
column: 49
|
|
64574
64584
|
}
|
|
64575
64585
|
},
|
|
64576
|
-
"
|
|
64586
|
+
"47": {
|
|
64577
64587
|
start: {
|
|
64578
|
-
line:
|
|
64588
|
+
line: 154,
|
|
64579
64589
|
column: 29
|
|
64580
64590
|
},
|
|
64581
64591
|
end: {
|
|
64582
|
-
line:
|
|
64592
|
+
line: 154,
|
|
64583
64593
|
column: 62
|
|
64584
64594
|
}
|
|
64585
64595
|
},
|
|
64586
|
-
"
|
|
64596
|
+
"48": {
|
|
64587
64597
|
start: {
|
|
64588
|
-
line:
|
|
64598
|
+
line: 160,
|
|
64589
64599
|
column: 33
|
|
64590
64600
|
},
|
|
64591
64601
|
end: {
|
|
64592
|
-
line:
|
|
64602
|
+
line: 160,
|
|
64593
64603
|
column: 66
|
|
64594
64604
|
}
|
|
64595
64605
|
},
|
|
64596
|
-
"
|
|
64606
|
+
"49": {
|
|
64597
64607
|
start: {
|
|
64598
|
-
line:
|
|
64608
|
+
line: 179,
|
|
64599
64609
|
column: 20
|
|
64600
64610
|
},
|
|
64601
64611
|
end: {
|
|
64602
|
-
line:
|
|
64612
|
+
line: 185,
|
|
64603
64613
|
column: 38
|
|
64604
64614
|
}
|
|
64605
64615
|
},
|
|
64606
|
-
"
|
|
64616
|
+
"50": {
|
|
64607
64617
|
start: {
|
|
64608
|
-
line:
|
|
64618
|
+
line: 182,
|
|
64609
64619
|
column: 37
|
|
64610
64620
|
},
|
|
64611
64621
|
end: {
|
|
64612
|
-
line:
|
|
64622
|
+
line: 182,
|
|
64613
64623
|
column: 77
|
|
64614
64624
|
}
|
|
64615
64625
|
},
|
|
64616
|
-
"
|
|
64626
|
+
"51": {
|
|
64617
64627
|
start: {
|
|
64618
|
-
line:
|
|
64628
|
+
line: 198,
|
|
64619
64629
|
column: 23
|
|
64620
64630
|
},
|
|
64621
64631
|
end: {
|
|
64622
|
-
line:
|
|
64632
|
+
line: 198,
|
|
64623
64633
|
column: 50
|
|
64624
64634
|
}
|
|
64625
64635
|
}
|
|
@@ -64643,7 +64653,7 @@ function cov_13lrfxjoky() {
|
|
|
64643
64653
|
column: 6
|
|
64644
64654
|
},
|
|
64645
64655
|
end: {
|
|
64646
|
-
line:
|
|
64656
|
+
line: 203,
|
|
64647
64657
|
column: 1
|
|
64648
64658
|
}
|
|
64649
64659
|
},
|
|
@@ -64787,7 +64797,7 @@ function cov_13lrfxjoky() {
|
|
|
64787
64797
|
column: 44
|
|
64788
64798
|
},
|
|
64789
64799
|
end: {
|
|
64790
|
-
line:
|
|
64800
|
+
line: 119,
|
|
64791
64801
|
column: 3
|
|
64792
64802
|
}
|
|
64793
64803
|
},
|
|
@@ -64797,169 +64807,169 @@ function cov_13lrfxjoky() {
|
|
|
64797
64807
|
name: "(anonymous_7)",
|
|
64798
64808
|
decl: {
|
|
64799
64809
|
start: {
|
|
64800
|
-
line:
|
|
64810
|
+
line: 134,
|
|
64801
64811
|
column: 27
|
|
64802
64812
|
},
|
|
64803
64813
|
end: {
|
|
64804
|
-
line:
|
|
64814
|
+
line: 134,
|
|
64805
64815
|
column: 28
|
|
64806
64816
|
}
|
|
64807
64817
|
},
|
|
64808
64818
|
loc: {
|
|
64809
64819
|
start: {
|
|
64810
|
-
line:
|
|
64820
|
+
line: 135,
|
|
64811
64821
|
column: 18
|
|
64812
64822
|
},
|
|
64813
64823
|
end: {
|
|
64814
|
-
line:
|
|
64824
|
+
line: 138,
|
|
64815
64825
|
column: 20
|
|
64816
64826
|
}
|
|
64817
64827
|
},
|
|
64818
|
-
line:
|
|
64828
|
+
line: 135
|
|
64819
64829
|
},
|
|
64820
64830
|
"8": {
|
|
64821
64831
|
name: "(anonymous_8)",
|
|
64822
64832
|
decl: {
|
|
64823
64833
|
start: {
|
|
64824
|
-
line:
|
|
64834
|
+
line: 147,
|
|
64825
64835
|
column: 23
|
|
64826
64836
|
},
|
|
64827
64837
|
end: {
|
|
64828
|
-
line:
|
|
64838
|
+
line: 147,
|
|
64829
64839
|
column: 24
|
|
64830
64840
|
}
|
|
64831
64841
|
},
|
|
64832
64842
|
loc: {
|
|
64833
64843
|
start: {
|
|
64834
|
-
line:
|
|
64844
|
+
line: 147,
|
|
64835
64845
|
column: 29
|
|
64836
64846
|
},
|
|
64837
64847
|
end: {
|
|
64838
|
-
line:
|
|
64848
|
+
line: 147,
|
|
64839
64849
|
column: 49
|
|
64840
64850
|
}
|
|
64841
64851
|
},
|
|
64842
|
-
line:
|
|
64852
|
+
line: 147
|
|
64843
64853
|
},
|
|
64844
64854
|
"9": {
|
|
64845
64855
|
name: "(anonymous_9)",
|
|
64846
64856
|
decl: {
|
|
64847
64857
|
start: {
|
|
64848
|
-
line:
|
|
64858
|
+
line: 154,
|
|
64849
64859
|
column: 23
|
|
64850
64860
|
},
|
|
64851
64861
|
end: {
|
|
64852
|
-
line:
|
|
64862
|
+
line: 154,
|
|
64853
64863
|
column: 24
|
|
64854
64864
|
}
|
|
64855
64865
|
},
|
|
64856
64866
|
loc: {
|
|
64857
64867
|
start: {
|
|
64858
|
-
line:
|
|
64868
|
+
line: 154,
|
|
64859
64869
|
column: 29
|
|
64860
64870
|
},
|
|
64861
64871
|
end: {
|
|
64862
|
-
line:
|
|
64872
|
+
line: 154,
|
|
64863
64873
|
column: 62
|
|
64864
64874
|
}
|
|
64865
64875
|
},
|
|
64866
|
-
line:
|
|
64876
|
+
line: 154
|
|
64867
64877
|
},
|
|
64868
64878
|
"10": {
|
|
64869
64879
|
name: "(anonymous_10)",
|
|
64870
64880
|
decl: {
|
|
64871
64881
|
start: {
|
|
64872
|
-
line:
|
|
64882
|
+
line: 160,
|
|
64873
64883
|
column: 27
|
|
64874
64884
|
},
|
|
64875
64885
|
end: {
|
|
64876
|
-
line:
|
|
64886
|
+
line: 160,
|
|
64877
64887
|
column: 28
|
|
64878
64888
|
}
|
|
64879
64889
|
},
|
|
64880
64890
|
loc: {
|
|
64881
64891
|
start: {
|
|
64882
|
-
line:
|
|
64892
|
+
line: 160,
|
|
64883
64893
|
column: 33
|
|
64884
64894
|
},
|
|
64885
64895
|
end: {
|
|
64886
|
-
line:
|
|
64896
|
+
line: 160,
|
|
64887
64897
|
column: 66
|
|
64888
64898
|
}
|
|
64889
64899
|
},
|
|
64890
|
-
line:
|
|
64900
|
+
line: 160
|
|
64891
64901
|
},
|
|
64892
64902
|
"11": {
|
|
64893
64903
|
name: "(anonymous_11)",
|
|
64894
64904
|
decl: {
|
|
64895
64905
|
start: {
|
|
64896
|
-
line:
|
|
64906
|
+
line: 178,
|
|
64897
64907
|
column: 48
|
|
64898
64908
|
},
|
|
64899
64909
|
end: {
|
|
64900
|
-
line:
|
|
64910
|
+
line: 178,
|
|
64901
64911
|
column: 49
|
|
64902
64912
|
}
|
|
64903
64913
|
},
|
|
64904
64914
|
loc: {
|
|
64905
64915
|
start: {
|
|
64906
|
-
line:
|
|
64916
|
+
line: 179,
|
|
64907
64917
|
column: 20
|
|
64908
64918
|
},
|
|
64909
64919
|
end: {
|
|
64910
|
-
line:
|
|
64920
|
+
line: 185,
|
|
64911
64921
|
column: 38
|
|
64912
64922
|
}
|
|
64913
64923
|
},
|
|
64914
|
-
line:
|
|
64924
|
+
line: 179
|
|
64915
64925
|
},
|
|
64916
64926
|
"12": {
|
|
64917
64927
|
name: "(anonymous_12)",
|
|
64918
64928
|
decl: {
|
|
64919
64929
|
start: {
|
|
64920
|
-
line:
|
|
64930
|
+
line: 182,
|
|
64921
64931
|
column: 31
|
|
64922
64932
|
},
|
|
64923
64933
|
end: {
|
|
64924
|
-
line:
|
|
64934
|
+
line: 182,
|
|
64925
64935
|
column: 32
|
|
64926
64936
|
}
|
|
64927
64937
|
},
|
|
64928
64938
|
loc: {
|
|
64929
64939
|
start: {
|
|
64930
|
-
line:
|
|
64940
|
+
line: 182,
|
|
64931
64941
|
column: 37
|
|
64932
64942
|
},
|
|
64933
64943
|
end: {
|
|
64934
|
-
line:
|
|
64944
|
+
line: 182,
|
|
64935
64945
|
column: 77
|
|
64936
64946
|
}
|
|
64937
64947
|
},
|
|
64938
|
-
line:
|
|
64948
|
+
line: 182
|
|
64939
64949
|
},
|
|
64940
64950
|
"13": {
|
|
64941
64951
|
name: "(anonymous_13)",
|
|
64942
64952
|
decl: {
|
|
64943
64953
|
start: {
|
|
64944
|
-
line:
|
|
64954
|
+
line: 198,
|
|
64945
64955
|
column: 17
|
|
64946
64956
|
},
|
|
64947
64957
|
end: {
|
|
64948
|
-
line:
|
|
64958
|
+
line: 198,
|
|
64949
64959
|
column: 18
|
|
64950
64960
|
}
|
|
64951
64961
|
},
|
|
64952
64962
|
loc: {
|
|
64953
64963
|
start: {
|
|
64954
|
-
line:
|
|
64964
|
+
line: 198,
|
|
64955
64965
|
column: 23
|
|
64956
64966
|
},
|
|
64957
64967
|
end: {
|
|
64958
|
-
line:
|
|
64968
|
+
line: 198,
|
|
64959
64969
|
column: 50
|
|
64960
64970
|
}
|
|
64961
64971
|
},
|
|
64962
|
-
line:
|
|
64972
|
+
line: 198
|
|
64963
64973
|
}
|
|
64964
64974
|
},
|
|
64965
64975
|
branchMap: {
|
|
@@ -65069,7 +65079,7 @@ function cov_13lrfxjoky() {
|
|
|
65069
65079
|
column: 4
|
|
65070
65080
|
},
|
|
65071
65081
|
end: {
|
|
65072
|
-
line:
|
|
65082
|
+
line: 113,
|
|
65073
65083
|
column: 5
|
|
65074
65084
|
}
|
|
65075
65085
|
},
|
|
@@ -65080,7 +65090,7 @@ function cov_13lrfxjoky() {
|
|
|
65080
65090
|
column: 4
|
|
65081
65091
|
},
|
|
65082
65092
|
end: {
|
|
65083
|
-
line:
|
|
65093
|
+
line: 113,
|
|
65084
65094
|
column: 5
|
|
65085
65095
|
}
|
|
65086
65096
|
}, {
|
|
@@ -65140,22 +65150,22 @@ function cov_13lrfxjoky() {
|
|
|
65140
65150
|
"5": {
|
|
65141
65151
|
loc: {
|
|
65142
65152
|
start: {
|
|
65143
|
-
line:
|
|
65153
|
+
line: 115,
|
|
65144
65154
|
column: 4
|
|
65145
65155
|
},
|
|
65146
65156
|
end: {
|
|
65147
|
-
line:
|
|
65157
|
+
line: 118,
|
|
65148
65158
|
column: 5
|
|
65149
65159
|
}
|
|
65150
65160
|
},
|
|
65151
65161
|
type: "if",
|
|
65152
65162
|
locations: [{
|
|
65153
65163
|
start: {
|
|
65154
|
-
line:
|
|
65164
|
+
line: 115,
|
|
65155
65165
|
column: 4
|
|
65156
65166
|
},
|
|
65157
65167
|
end: {
|
|
65158
|
-
line:
|
|
65168
|
+
line: 118,
|
|
65159
65169
|
column: 5
|
|
65160
65170
|
}
|
|
65161
65171
|
}, {
|
|
@@ -65168,73 +65178,73 @@ function cov_13lrfxjoky() {
|
|
|
65168
65178
|
column: undefined
|
|
65169
65179
|
}
|
|
65170
65180
|
}],
|
|
65171
|
-
line:
|
|
65181
|
+
line: 115
|
|
65172
65182
|
},
|
|
65173
65183
|
"6": {
|
|
65174
65184
|
loc: {
|
|
65175
65185
|
start: {
|
|
65176
|
-
line:
|
|
65186
|
+
line: 124,
|
|
65177
65187
|
column: 9
|
|
65178
65188
|
},
|
|
65179
65189
|
end: {
|
|
65180
|
-
line:
|
|
65190
|
+
line: 191,
|
|
65181
65191
|
column: 9
|
|
65182
65192
|
}
|
|
65183
65193
|
},
|
|
65184
65194
|
type: "cond-expr",
|
|
65185
65195
|
locations: [{
|
|
65186
65196
|
start: {
|
|
65187
|
-
line:
|
|
65197
|
+
line: 125,
|
|
65188
65198
|
column: 10
|
|
65189
65199
|
},
|
|
65190
65200
|
end: {
|
|
65191
|
-
line:
|
|
65201
|
+
line: 149,
|
|
65192
65202
|
column: 13
|
|
65193
65203
|
}
|
|
65194
65204
|
}, {
|
|
65195
65205
|
start: {
|
|
65196
|
-
line:
|
|
65206
|
+
line: 151,
|
|
65197
65207
|
column: 10
|
|
65198
65208
|
},
|
|
65199
65209
|
end: {
|
|
65200
|
-
line:
|
|
65210
|
+
line: 190,
|
|
65201
65211
|
column: 13
|
|
65202
65212
|
}
|
|
65203
65213
|
}],
|
|
65204
|
-
line:
|
|
65214
|
+
line: 124
|
|
65205
65215
|
},
|
|
65206
65216
|
"7": {
|
|
65207
65217
|
loc: {
|
|
65208
65218
|
start: {
|
|
65209
|
-
line:
|
|
65219
|
+
line: 130,
|
|
65210
65220
|
column: 23
|
|
65211
65221
|
},
|
|
65212
65222
|
end: {
|
|
65213
|
-
line:
|
|
65223
|
+
line: 130,
|
|
65214
65224
|
column: 77
|
|
65215
65225
|
}
|
|
65216
65226
|
},
|
|
65217
65227
|
type: "cond-expr",
|
|
65218
65228
|
locations: [{
|
|
65219
65229
|
start: {
|
|
65220
|
-
line:
|
|
65230
|
+
line: 130,
|
|
65221
65231
|
column: 46
|
|
65222
65232
|
},
|
|
65223
65233
|
end: {
|
|
65224
|
-
line:
|
|
65234
|
+
line: 130,
|
|
65225
65235
|
column: 72
|
|
65226
65236
|
}
|
|
65227
65237
|
}, {
|
|
65228
65238
|
start: {
|
|
65229
|
-
line:
|
|
65239
|
+
line: 130,
|
|
65230
65240
|
column: 75
|
|
65231
65241
|
},
|
|
65232
65242
|
end: {
|
|
65233
|
-
line:
|
|
65243
|
+
line: 130,
|
|
65234
65244
|
column: 77
|
|
65235
65245
|
}
|
|
65236
65246
|
}],
|
|
65237
|
-
line:
|
|
65247
|
+
line: 130
|
|
65238
65248
|
}
|
|
65239
65249
|
},
|
|
65240
65250
|
s: {
|
|
@@ -65288,7 +65298,8 @@ function cov_13lrfxjoky() {
|
|
|
65288
65298
|
"47": 0,
|
|
65289
65299
|
"48": 0,
|
|
65290
65300
|
"49": 0,
|
|
65291
|
-
"50": 0
|
|
65301
|
+
"50": 0,
|
|
65302
|
+
"51": 0
|
|
65292
65303
|
},
|
|
65293
65304
|
f: {
|
|
65294
65305
|
"0": 0,
|
|
@@ -65317,7 +65328,7 @@ function cov_13lrfxjoky() {
|
|
|
65317
65328
|
"7": [0, 0]
|
|
65318
65329
|
},
|
|
65319
65330
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65320
|
-
hash: "
|
|
65331
|
+
hash: "c8d8c5409e33c0473cbf6f816e4b217990caf4ad"
|
|
65321
65332
|
};
|
|
65322
65333
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65323
65334
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65505,24 +65516,26 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65505
65516
|
if ((cov_13lrfxjoky().b[4][0]++, event.key === "Enter") && (cov_13lrfxjoky().b[4][1]++, handler) && (cov_13lrfxjoky().b[4][2]++, !isEmpty$1(newFilename))) {
|
|
65506
65517
|
cov_13lrfxjoky().b[3][0]++;
|
|
65507
65518
|
cov_13lrfxjoky().s[38]++;
|
|
65508
|
-
event.
|
|
65519
|
+
event.stopPropagation();
|
|
65509
65520
|
cov_13lrfxjoky().s[39]++;
|
|
65521
|
+
event.preventDefault();
|
|
65522
|
+
cov_13lrfxjoky().s[40]++;
|
|
65510
65523
|
handler();
|
|
65511
65524
|
} else {
|
|
65512
65525
|
cov_13lrfxjoky().b[3][1]++;
|
|
65513
65526
|
}
|
|
65514
|
-
cov_13lrfxjoky().s[
|
|
65527
|
+
cov_13lrfxjoky().s[41]++;
|
|
65515
65528
|
if (event.key === "Escape") {
|
|
65516
65529
|
cov_13lrfxjoky().b[5][0]++;
|
|
65517
|
-
cov_13lrfxjoky().s[41]++;
|
|
65518
|
-
setIsRenaming(false);
|
|
65519
65530
|
cov_13lrfxjoky().s[42]++;
|
|
65531
|
+
setIsRenaming(false);
|
|
65532
|
+
cov_13lrfxjoky().s[43]++;
|
|
65520
65533
|
setNewFilename("");
|
|
65521
65534
|
} else {
|
|
65522
65535
|
cov_13lrfxjoky().b[5][1]++;
|
|
65523
65536
|
}
|
|
65524
65537
|
};
|
|
65525
|
-
cov_13lrfxjoky().s[
|
|
65538
|
+
cov_13lrfxjoky().s[44]++;
|
|
65526
65539
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
65527
65540
|
className: "ne-attachments__preview"
|
|
65528
65541
|
}, isRenaming ? (cov_13lrfxjoky().b[6][0]++, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
@@ -65537,7 +65550,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65537
65550
|
onChange: withEventTargetValue(setNewFilename),
|
|
65538
65551
|
onKeyDown: function onKeyDown(event) {
|
|
65539
65552
|
cov_13lrfxjoky().f[7]++;
|
|
65540
|
-
cov_13lrfxjoky().s[
|
|
65553
|
+
cov_13lrfxjoky().s[45]++;
|
|
65541
65554
|
return handleKeyDown({
|
|
65542
65555
|
event: event,
|
|
65543
65556
|
key: ATTACHMENT_OPTIONS.RENAME
|
|
@@ -65550,14 +65563,14 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65550
65563
|
style: "text",
|
|
65551
65564
|
onClick: function onClick() {
|
|
65552
65565
|
cov_13lrfxjoky().f[8]++;
|
|
65553
|
-
cov_13lrfxjoky().s[
|
|
65566
|
+
cov_13lrfxjoky().s[46]++;
|
|
65554
65567
|
return setIsRenaming(false);
|
|
65555
65568
|
}
|
|
65556
65569
|
}))) : (cov_13lrfxjoky().b[6][1]++, /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
65557
65570
|
className: "ne-attachments__preview-wrapper",
|
|
65558
65571
|
onClick: function onClick() {
|
|
65559
65572
|
cov_13lrfxjoky().f[9]++;
|
|
65560
|
-
cov_13lrfxjoky().s[
|
|
65573
|
+
cov_13lrfxjoky().s[47]++;
|
|
65561
65574
|
return setSelectedAttachment(attachment);
|
|
65562
65575
|
}
|
|
65563
65576
|
}, /*#__PURE__*/React__default.createElement(File$1, {
|
|
@@ -65569,7 +65582,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65569
65582
|
style: "body2",
|
|
65570
65583
|
onClick: function onClick() {
|
|
65571
65584
|
cov_13lrfxjoky().f[10]++;
|
|
65572
|
-
cov_13lrfxjoky().s[
|
|
65585
|
+
cov_13lrfxjoky().s[48]++;
|
|
65573
65586
|
return setSelectedAttachment(attachment);
|
|
65574
65587
|
}
|
|
65575
65588
|
}, attachment.filename))), /*#__PURE__*/React__default.createElement(Tooltip, {
|
|
@@ -65586,13 +65599,13 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65586
65599
|
label = _ref21[0],
|
|
65587
65600
|
handler = _ref21[1];
|
|
65588
65601
|
cov_13lrfxjoky().f[11]++;
|
|
65589
|
-
cov_13lrfxjoky().s[
|
|
65602
|
+
cov_13lrfxjoky().s[49]++;
|
|
65590
65603
|
return /*#__PURE__*/React__default.createElement(MenuItem$2.Button, {
|
|
65591
65604
|
"data-cy": "neeto-editor-preview-".concat(label.toLowerCase(), "-button"),
|
|
65592
65605
|
key: label,
|
|
65593
65606
|
onClick: function onClick() {
|
|
65594
65607
|
cov_13lrfxjoky().f[12]++;
|
|
65595
|
-
cov_13lrfxjoky().s[
|
|
65608
|
+
cov_13lrfxjoky().s[50]++;
|
|
65596
65609
|
return onMenuItemClick({
|
|
65597
65610
|
key: label,
|
|
65598
65611
|
handler: handler
|
|
@@ -65608,7 +65621,7 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65608
65621
|
title: t("attachments.deleteTitle"),
|
|
65609
65622
|
onClose: function onClose() {
|
|
65610
65623
|
cov_13lrfxjoky().f[13]++;
|
|
65611
|
-
cov_13lrfxjoky().s[
|
|
65624
|
+
cov_13lrfxjoky().s[51]++;
|
|
65612
65625
|
return setIsDeleteAlertOpen(false);
|
|
65613
65626
|
},
|
|
65614
65627
|
onSubmit: handleDelete
|