@bigbinary/neeto-editor 1.26.7 → 1.26.9

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.js CHANGED
@@ -28182,7 +28182,7 @@ var common = {
28182
28182
  };
28183
28183
  var attachments = {
28184
28184
  actionsBlocked: "You are not permitted to update or delete attachments",
28185
- add: "Add Attachment",
28185
+ add: "Add attachment",
28186
28186
  deleteConfirmation: "Are you sure you want to remove {{entity}}?",
28187
28187
  deleteTitle: "Remove Attachment?",
28188
28188
  maxNumberOfFiles: "You can only attach {{entity}} files",
@@ -122618,7 +122618,7 @@ function u(){return (u=Object.assign||function(e){for(var r=1;r<arguments.length
122618
122618
 
122619
122619
  function cov_bf1egtcv4() {
122620
122620
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/TextColorOption.jsx";
122621
- var hash = "042616887aa618a3693e146b32d2ad657abe58c2";
122621
+ var hash = "a7081e67fd19a079ac698c3d7d1336adc6c0ebc7";
122622
122622
  var global = new Function("return this")();
122623
122623
  var gcv = "__coverage__";
122624
122624
  var coverageData = {
@@ -122630,7 +122630,7 @@ function cov_bf1egtcv4() {
122630
122630
  column: 24
122631
122631
  },
122632
122632
  end: {
122633
- line: 91,
122633
+ line: 90,
122634
122634
  column: 1
122635
122635
  }
122636
122636
  },
@@ -122820,7 +122820,7 @@ function cov_bf1egtcv4() {
122820
122820
  column: 2
122821
122821
  },
122822
122822
  end: {
122823
- line: 49,
122823
+ line: 48,
122824
122824
  column: 15
122825
122825
  }
122826
122826
  },
@@ -122840,7 +122840,7 @@ function cov_bf1egtcv4() {
122840
122840
  column: 4
122841
122841
  },
122842
122842
  end: {
122843
- line: 48,
122843
+ line: 47,
122844
122844
  column: 5
122845
122845
  }
122846
122846
  },
@@ -122866,51 +122866,41 @@ function cov_bf1egtcv4() {
122866
122866
  },
122867
122867
  "24": {
122868
122868
  start: {
122869
- line: 47,
122870
- column: 6
122871
- },
122872
- end: {
122873
- line: 47,
122874
- column: 30
122875
- }
122876
- },
122877
- "25": {
122878
- start: {
122879
- line: 51,
122869
+ line: 50,
122880
122870
  column: 2
122881
122871
  },
122882
122872
  end: {
122883
- line: 90,
122873
+ line: 89,
122884
122874
  column: 4
122885
122875
  }
122886
122876
  },
122887
- "26": {
122877
+ "25": {
122888
122878
  start: {
122889
- line: 63,
122879
+ line: 62,
122890
122880
  column: 10
122891
122881
  },
122892
122882
  end: {
122893
- line: 63,
122883
+ line: 62,
122894
122884
  column: 60
122895
122885
  }
122896
122886
  },
122897
- "27": {
122887
+ "26": {
122898
122888
  start: {
122899
- line: 64,
122889
+ line: 63,
122900
122890
  column: 10
122901
122891
  },
122902
122892
  end: {
122903
- line: 64,
122893
+ line: 63,
122904
122894
  column: 25
122905
122895
  }
122906
122896
  },
122907
- "28": {
122897
+ "27": {
122908
122898
  start: {
122909
- line: 78,
122899
+ line: 77,
122910
122900
  column: 27
122911
122901
  },
122912
122902
  end: {
122913
- line: 78,
122903
+ line: 77,
122914
122904
  column: 51
122915
122905
  }
122916
122906
  }
@@ -122934,7 +122924,7 @@ function cov_bf1egtcv4() {
122934
122924
  column: 56
122935
122925
  },
122936
122926
  end: {
122937
- line: 91,
122927
+ line: 90,
122938
122928
  column: 1
122939
122929
  }
122940
122930
  },
@@ -123054,7 +123044,7 @@ function cov_bf1egtcv4() {
123054
123044
  column: 18
123055
123045
  },
123056
123046
  end: {
123057
- line: 49,
123047
+ line: 48,
123058
123048
  column: 3
123059
123049
  }
123060
123050
  },
@@ -123064,49 +123054,49 @@ function cov_bf1egtcv4() {
123064
123054
  name: "(anonymous_6)",
123065
123055
  decl: {
123066
123056
  start: {
123067
- line: 62,
123057
+ line: 61,
123068
123058
  column: 17
123069
123059
  },
123070
123060
  end: {
123071
- line: 62,
123061
+ line: 61,
123072
123062
  column: 18
123073
123063
  }
123074
123064
  },
123075
123065
  loc: {
123076
123066
  start: {
123077
- line: 62,
123067
+ line: 61,
123078
123068
  column: 23
123079
123069
  },
123080
123070
  end: {
123081
- line: 65,
123071
+ line: 64,
123082
123072
  column: 9
123083
123073
  }
123084
123074
  },
123085
- line: 62
123075
+ line: 61
123086
123076
  },
123087
123077
  "7": {
123088
123078
  name: "(anonymous_7)",
123089
123079
  decl: {
123090
123080
  start: {
123091
- line: 78,
123081
+ line: 77,
123092
123082
  column: 22
123093
123083
  },
123094
123084
  end: {
123095
- line: 78,
123085
+ line: 77,
123096
123086
  column: 23
123097
123087
  }
123098
123088
  },
123099
123089
  loc: {
123100
123090
  start: {
123101
- line: 78,
123091
+ line: 77,
123102
123092
  column: 27
123103
123093
  },
123104
123094
  end: {
123105
- line: 78,
123095
+ line: 77,
123106
123096
  column: 51
123107
123097
  }
123108
123098
  },
123109
- line: 78
123099
+ line: 77
123110
123100
  }
123111
123101
  },
123112
123102
  branchMap: {
@@ -123150,7 +123140,7 @@ function cov_bf1egtcv4() {
123150
123140
  column: 4
123151
123141
  },
123152
123142
  end: {
123153
- line: 48,
123143
+ line: 47,
123154
123144
  column: 5
123155
123145
  }
123156
123146
  },
@@ -123161,7 +123151,7 @@ function cov_bf1egtcv4() {
123161
123151
  column: 4
123162
123152
  },
123163
123153
  end: {
123164
- line: 48,
123154
+ line: 47,
123165
123155
  column: 5
123166
123156
  }
123167
123157
  }, {
@@ -123179,68 +123169,68 @@ function cov_bf1egtcv4() {
123179
123169
  "2": {
123180
123170
  loc: {
123181
123171
  start: {
123182
- line: 54,
123172
+ line: 53,
123183
123173
  column: 21
123184
123174
  },
123185
123175
  end: {
123186
- line: 54,
123176
+ line: 53,
123187
123177
  column: 50
123188
123178
  }
123189
123179
  },
123190
123180
  type: "cond-expr",
123191
123181
  locations: [{
123192
123182
  start: {
123193
- line: 54,
123183
+ line: 53,
123194
123184
  column: 30
123195
123185
  },
123196
123186
  end: {
123197
- line: 54,
123187
+ line: 53,
123198
123188
  column: 41
123199
123189
  }
123200
123190
  }, {
123201
123191
  start: {
123202
- line: 54,
123192
+ line: 53,
123203
123193
  column: 44
123204
123194
  },
123205
123195
  end: {
123206
- line: 54,
123196
+ line: 53,
123207
123197
  column: 50
123208
123198
  }
123209
123199
  }],
123210
- line: 54
123200
+ line: 53
123211
123201
  },
123212
123202
  "3": {
123213
123203
  loc: {
123214
123204
  start: {
123215
- line: 68,
123205
+ line: 67,
123216
123206
  column: 17
123217
123207
  },
123218
123208
  end: {
123219
- line: 68,
123209
+ line: 67,
123220
123210
  column: 35
123221
123211
  }
123222
123212
  },
123223
123213
  type: "binary-expr",
123224
123214
  locations: [{
123225
123215
  start: {
123226
- line: 68,
123216
+ line: 67,
123227
123217
  column: 17
123228
123218
  },
123229
123219
  end: {
123230
- line: 68,
123220
+ line: 67,
123231
123221
  column: 22
123232
123222
  }
123233
123223
  }, {
123234
123224
  start: {
123235
- line: 68,
123225
+ line: 67,
123236
123226
  column: 26
123237
123227
  },
123238
123228
  end: {
123239
- line: 68,
123229
+ line: 67,
123240
123230
  column: 35
123241
123231
  }
123242
123232
  }],
123243
- line: 68
123233
+ line: 67
123244
123234
  }
123245
123235
  },
123246
123236
  s: {
@@ -123271,8 +123261,7 @@ function cov_bf1egtcv4() {
123271
123261
  "24": 0,
123272
123262
  "25": 0,
123273
123263
  "26": 0,
123274
- "27": 0,
123275
- "28": 0
123264
+ "27": 0
123276
123265
  },
123277
123266
  f: {
123278
123267
  "0": 0,
@@ -123291,7 +123280,7 @@ function cov_bf1egtcv4() {
123291
123280
  "3": [0, 0]
123292
123281
  },
123293
123282
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
123294
- hash: "042616887aa618a3693e146b32d2ad657abe58c2"
123283
+ hash: "a7081e67fd19a079ac698c3d7d1336adc6c0ebc7"
123295
123284
  };
123296
123285
  var coverage = global[gcv] || (global[gcv] = {});
123297
123286
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -123374,13 +123363,11 @@ var TextColorOption = function TextColorOption(_ref) {
123374
123363
  editor.commands.unsetHighlightInternal();
123375
123364
  cov_bf1egtcv4().s[23]++;
123376
123365
  editor.commands.removeEmptyTextStyle();
123377
- cov_bf1egtcv4().s[24]++;
123378
- editor.commands.focus();
123379
123366
  } else {
123380
123367
  cov_bf1egtcv4().b[1][1]++;
123381
123368
  }
123382
123369
  }, [isOpen]);
123383
- cov_bf1egtcv4().s[25]++;
123370
+ cov_bf1egtcv4().s[24]++;
123384
123371
  return /*#__PURE__*/React__default.createElement("div", {
123385
123372
  ref: dropdownWrapperRef
123386
123373
  }, /*#__PURE__*/React__default.createElement(Dropdown$1, {
@@ -123396,9 +123383,9 @@ var TextColorOption = function TextColorOption(_ref) {
123396
123383
  },
123397
123384
  onClick: function onClick() {
123398
123385
  cov_bf1egtcv4().f[6]++;
123399
- cov_bf1egtcv4().s[26]++;
123386
+ cov_bf1egtcv4().s[25]++;
123400
123387
  setColor(editor.getAttributes("textStyle").color);
123401
- cov_bf1egtcv4().s[27]++;
123388
+ cov_bf1egtcv4().s[26]++;
123402
123389
  setIsOpen(not);
123403
123390
  }
123404
123391
  }, /*#__PURE__*/React__default.createElement(Z, {
@@ -123414,7 +123401,7 @@ var TextColorOption = function TextColorOption(_ref) {
123414
123401
  value: color,
123415
123402
  onChange: function onChange(e) {
123416
123403
  cov_bf1egtcv4().f[7]++;
123417
- cov_bf1egtcv4().s[28]++;
123404
+ cov_bf1egtcv4().s[27]++;
123418
123405
  return setColor(e.target.value);
123419
123406
  }
123420
123407
  }), /*#__PURE__*/React__default.createElement(Button$1, {
@@ -125981,7 +125968,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
125981
125968
 
125982
125969
  function cov_7xzegtncw() {
125983
125970
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/LinkOption.jsx";
125984
- var hash = "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91";
125971
+ var hash = "f303b2c7aca50874aa023ccfb4cad9e7f5ef79b0";
125985
125972
  var global = new Function("return this")();
125986
125973
  var gcv = "__coverage__";
125987
125974
  var coverageData = {
@@ -126003,7 +125990,7 @@ function cov_7xzegtncw() {
126003
125990
  column: 19
126004
125991
  },
126005
125992
  end: {
126006
- line: 106,
125993
+ line: 105,
126007
125994
  column: 1
126008
125995
  }
126009
125996
  },
@@ -126283,7 +126270,7 @@ function cov_7xzegtncw() {
126283
126270
  column: 2
126284
126271
  },
126285
126272
  end: {
126286
- line: 62,
126273
+ line: 61,
126287
126274
  column: 15
126288
126275
  }
126289
126276
  },
@@ -126303,7 +126290,7 @@ function cov_7xzegtncw() {
126303
126290
  column: 4
126304
126291
  },
126305
126292
  end: {
126306
- line: 61,
126293
+ line: 60,
126307
126294
  column: 5
126308
126295
  }
126309
126296
  },
@@ -126329,41 +126316,31 @@ function cov_7xzegtncw() {
126329
126316
  },
126330
126317
  "34": {
126331
126318
  start: {
126332
- line: 60,
126333
- column: 6
126334
- },
126335
- end: {
126336
- line: 60,
126337
- column: 30
126338
- }
126339
- },
126340
- "35": {
126341
- start: {
126342
- line: 64,
126319
+ line: 63,
126343
126320
  column: 2
126344
126321
  },
126345
126322
  end: {
126346
- line: 105,
126323
+ line: 104,
126347
126324
  column: 4
126348
126325
  }
126349
126326
  },
126350
- "36": {
126327
+ "35": {
126351
126328
  start: {
126352
- line: 87,
126329
+ line: 86,
126353
126330
  column: 47
126354
126331
  },
126355
126332
  end: {
126356
- line: 87,
126333
+ line: 86,
126357
126334
  column: 66
126358
126335
  }
126359
126336
  },
126360
- "37": {
126337
+ "36": {
126361
126338
  start: {
126362
- line: 88,
126339
+ line: 87,
126363
126340
  column: 25
126364
126341
  },
126365
126342
  end: {
126366
- line: 88,
126343
+ line: 87,
126367
126344
  column: 37
126368
126345
  }
126369
126346
  }
@@ -126387,7 +126364,7 @@ function cov_7xzegtncw() {
126387
126364
  column: 51
126388
126365
  },
126389
126366
  end: {
126390
- line: 106,
126367
+ line: 105,
126391
126368
  column: 1
126392
126369
  }
126393
126370
  },
@@ -126555,7 +126532,7 @@ function cov_7xzegtncw() {
126555
126532
  column: 18
126556
126533
  },
126557
126534
  end: {
126558
- line: 62,
126535
+ line: 61,
126559
126536
  column: 3
126560
126537
  }
126561
126538
  },
@@ -126565,49 +126542,49 @@ function cov_7xzegtncw() {
126565
126542
  name: "(anonymous_8)",
126566
126543
  decl: {
126567
126544
  start: {
126568
- line: 87,
126545
+ line: 86,
126569
126546
  column: 20
126570
126547
  },
126571
126548
  end: {
126572
- line: 87,
126549
+ line: 86,
126573
126550
  column: 21
126574
126551
  }
126575
126552
  },
126576
126553
  loc: {
126577
126554
  start: {
126578
- line: 87,
126555
+ line: 86,
126579
126556
  column: 47
126580
126557
  },
126581
126558
  end: {
126582
- line: 87,
126559
+ line: 86,
126583
126560
  column: 66
126584
126561
  }
126585
126562
  },
126586
- line: 87
126563
+ line: 86
126587
126564
  },
126588
126565
  "9": {
126589
126566
  name: "(anonymous_9)",
126590
126567
  decl: {
126591
126568
  start: {
126592
- line: 88,
126569
+ line: 87,
126593
126570
  column: 19
126594
126571
  },
126595
126572
  end: {
126596
- line: 88,
126573
+ line: 87,
126597
126574
  column: 20
126598
126575
  }
126599
126576
  },
126600
126577
  loc: {
126601
126578
  start: {
126602
- line: 88,
126579
+ line: 87,
126603
126580
  column: 25
126604
126581
  },
126605
126582
  end: {
126606
- line: 88,
126583
+ line: 87,
126607
126584
  column: 37
126608
126585
  }
126609
126586
  },
126610
- line: 88
126587
+ line: 87
126611
126588
  }
126612
126589
  },
126613
126590
  branchMap: {
@@ -126717,7 +126694,7 @@ function cov_7xzegtncw() {
126717
126694
  column: 4
126718
126695
  },
126719
126696
  end: {
126720
- line: 61,
126697
+ line: 60,
126721
126698
  column: 5
126722
126699
  }
126723
126700
  },
@@ -126728,7 +126705,7 @@ function cov_7xzegtncw() {
126728
126705
  column: 4
126729
126706
  },
126730
126707
  end: {
126731
- line: 61,
126708
+ line: 60,
126732
126709
  column: 5
126733
126710
  }
126734
126711
  }, {
@@ -126746,68 +126723,68 @@ function cov_7xzegtncw() {
126746
126723
  "4": {
126747
126724
  loc: {
126748
126725
  start: {
126749
- line: 66,
126726
+ line: 65,
126750
126727
  column: 19
126751
126728
  },
126752
126729
  end: {
126753
- line: 66,
126730
+ line: 65,
126754
126731
  column: 50
126755
126732
  }
126756
126733
  },
126757
126734
  type: "cond-expr",
126758
126735
  locations: [{
126759
126736
  start: {
126760
- line: 66,
126737
+ line: 65,
126761
126738
  column: 30
126762
126739
  },
126763
126740
  end: {
126764
- line: 66,
126741
+ line: 65,
126765
126742
  column: 41
126766
126743
  }
126767
126744
  }, {
126768
126745
  start: {
126769
- line: 66,
126746
+ line: 65,
126770
126747
  column: 44
126771
126748
  },
126772
126749
  end: {
126773
- line: 66,
126750
+ line: 65,
126774
126751
  column: 50
126775
126752
  }
126776
126753
  }],
126777
- line: 66
126754
+ line: 65
126778
126755
  },
126779
126756
  "5": {
126780
126757
  loc: {
126781
126758
  start: {
126782
- line: 95,
126759
+ line: 94,
126783
126760
  column: 9
126784
126761
  },
126785
126762
  end: {
126786
- line: 102,
126763
+ line: 101,
126787
126764
  column: 9
126788
126765
  }
126789
126766
  },
126790
126767
  type: "binary-expr",
126791
126768
  locations: [{
126792
126769
  start: {
126793
- line: 95,
126770
+ line: 94,
126794
126771
  column: 9
126795
126772
  },
126796
126773
  end: {
126797
- line: 95,
126774
+ line: 94,
126798
126775
  column: 17
126799
126776
  }
126800
126777
  }, {
126801
126778
  start: {
126802
- line: 96,
126779
+ line: 95,
126803
126780
  column: 10
126804
126781
  },
126805
126782
  end: {
126806
- line: 101,
126783
+ line: 100,
126807
126784
  column: 12
126808
126785
  }
126809
126786
  }],
126810
- line: 95
126787
+ line: 94
126811
126788
  }
126812
126789
  },
126813
126790
  s: {
@@ -126847,8 +126824,7 @@ function cov_7xzegtncw() {
126847
126824
  "33": 0,
126848
126825
  "34": 0,
126849
126826
  "35": 0,
126850
- "36": 0,
126851
- "37": 0
126827
+ "36": 0
126852
126828
  },
126853
126829
  f: {
126854
126830
  "0": 0,
@@ -126871,7 +126847,7 @@ function cov_7xzegtncw() {
126871
126847
  "5": [0, 0]
126872
126848
  },
126873
126849
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
126874
- hash: "00ac6f0ef7b9efb21f7ff00bb225c049192f1e91"
126850
+ hash: "f303b2c7aca50874aa023ccfb4cad9e7f5ef79b0"
126875
126851
  };
126876
126852
  var coverage = global[gcv] || (global[gcv] = {});
126877
126853
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -126991,13 +126967,11 @@ var LinkOption = function LinkOption(_ref2) {
126991
126967
  editor.commands.unsetHighlightInternal();
126992
126968
  cov_7xzegtncw().s[33]++;
126993
126969
  editor.commands.removeEmptyTextStyle();
126994
- cov_7xzegtncw().s[34]++;
126995
- editor.commands.focus();
126996
126970
  } else {
126997
126971
  cov_7xzegtncw().b[3][1]++;
126998
126972
  }
126999
126973
  }, [isOpen]);
127000
- cov_7xzegtncw().s[35]++;
126974
+ cov_7xzegtncw().s[34]++;
127001
126975
  return /*#__PURE__*/React__default.createElement(Dropdown$1, {
127002
126976
  buttonStyle: isActive ? (cov_7xzegtncw().b[4][0]++, "secondary") : (cov_7xzegtncw().b[4][1]++, "text"),
127003
126977
  closeOnSelect: false,
@@ -127027,12 +127001,12 @@ var LinkOption = function LinkOption(_ref2) {
127027
127001
  onChange: function onChange(_ref10) {
127028
127002
  var value = _ref10.target.value;
127029
127003
  cov_7xzegtncw().f[8]++;
127030
- cov_7xzegtncw().s[36]++;
127004
+ cov_7xzegtncw().s[35]++;
127031
127005
  return setUrlString(value);
127032
127006
  },
127033
127007
  onFocus: function onFocus() {
127034
127008
  cov_7xzegtncw().f[9]++;
127035
- cov_7xzegtncw().s[37]++;
127009
+ cov_7xzegtncw().s[36]++;
127036
127010
  return setError("");
127037
127011
  }
127038
127012
  }), /*#__PURE__*/React__default.createElement(Button$1, {