@bigbinary/neeto-editor 1.28.5 → 1.28.7

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 CHANGED
@@ -125195,7 +125195,7 @@ var VideoComponent = function VideoComponent(_ref) {
125195
125195
  var _excluded$6 = ["caption"];
125196
125196
  function cov_1io0efe0r8() {
125197
125197
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/CustomExtensions/Video/ExtensionConfig.js";
125198
- var hash = "32ec7ff2283466c73c722982c71331e0c9f71a2f";
125198
+ var hash = "4c890d251235d23bde8f2a872be4063053b4f345";
125199
125199
  var global = new Function("return this")();
125200
125200
  var gcv = "__coverage__";
125201
125201
  var coverageData = {
@@ -125328,7 +125328,7 @@ function cov_1io0efe0r8() {
125328
125328
  },
125329
125329
  end: {
125330
125330
  line: 75,
125331
- column: 69
125331
+ column: 68
125332
125332
  }
125333
125333
  },
125334
125334
  "13": {
@@ -125836,7 +125836,7 @@ function cov_1io0efe0r8() {
125836
125836
  },
125837
125837
  end: {
125838
125838
  line: 75,
125839
- column: 69
125839
+ column: 68
125840
125840
  }
125841
125841
  },
125842
125842
  type: "cond-expr",
@@ -125856,7 +125856,7 @@ function cov_1io0efe0r8() {
125856
125856
  },
125857
125857
  end: {
125858
125858
  line: 75,
125859
- column: 69
125859
+ column: 68
125860
125860
  }
125861
125861
  }],
125862
125862
  line: 75
@@ -125943,7 +125943,7 @@ function cov_1io0efe0r8() {
125943
125943
  "2": [0, 0]
125944
125944
  },
125945
125945
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
125946
- hash: "32ec7ff2283466c73c722982c71331e0c9f71a2f"
125946
+ hash: "4c890d251235d23bde8f2a872be4063053b4f345"
125947
125947
  };
125948
125948
  var coverage = global[gcv] || (global[gcv] = {});
125949
125949
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -126047,7 +126047,7 @@ var VideoExtension = (cov_1io0efe0r8().s[0]++, Node$1.create({
126047
126047
  var wrapperDivAttrs = (cov_1io0efe0r8().s[11]++, {
126048
126048
  "class": "neeto-editor__image-wrapper neeto-editor__image--".concat(align)
126049
126049
  });
126050
- var heightStyle = (cov_1io0efe0r8().s[12]++, vidheight === "fit-content" ? (cov_1io0efe0r8().b[1][0]++, "fit-content") : (cov_1io0efe0r8().b[1][1]++, "".concat(vidheight, "px;")));
126050
+ var heightStyle = (cov_1io0efe0r8().s[12]++, vidheight === "fit-content" ? (cov_1io0efe0r8().b[1][0]++, "fit-content") : (cov_1io0efe0r8().b[1][1]++, "".concat(vidheight, "px")));
126051
126051
  var wrapperLinkAttrs = (cov_1io0efe0r8().s[13]++, {
126052
126052
  rel: "noopener noreferrer",
126053
126053
  "class": "neeto-editor__image",
@@ -150688,10 +150688,10 @@ var Editor = function Editor(_ref, ref) {
150688
150688
  };
150689
150689
  var Editor$1 = /*#__PURE__*/React__default["default"].forwardRef(Editor);
150690
150690
 
150691
- var _excluded$1 = ["name", "onChange"];
150691
+ var _excluded$1 = ["name", "onChange", "shouldUpdate", "mentions", "variables"];
150692
150692
  function cov_4yoeuyegb() {
150693
150693
  var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/FormikEditor.jsx";
150694
- var hash = "51f3d99e0f5f436a1c32bf738d4bbb1e03023e73";
150694
+ var hash = "987f679398f2f8dc30dd2c7a18c9e2d0fb582662";
150695
150695
  var global = new Function("return this")();
150696
150696
  var gcv = "__coverage__";
150697
150697
  var coverageData = {
@@ -150703,57 +150703,57 @@ function cov_4yoeuyegb() {
150703
150703
  column: 21
150704
150704
  },
150705
150705
  end: {
150706
- line: 25,
150706
+ line: 42,
150707
150707
  column: 1
150708
150708
  }
150709
150709
  },
150710
150710
  "1": {
150711
150711
  start: {
150712
- line: 9,
150712
+ line: 19,
150713
150713
  column: 2
150714
150714
  },
150715
150715
  end: {
150716
- line: 24,
150716
+ line: 41,
150717
150717
  column: 14
150718
150718
  }
150719
150719
  },
150720
150720
  "2": {
150721
150721
  start: {
150722
- line: 11,
150722
+ line: 26,
150723
150723
  column: 6
150724
150724
  },
150725
150725
  end: {
150726
- line: 22,
150726
+ line: 39,
150727
150727
  column: 8
150728
150728
  }
150729
150729
  },
150730
150730
  "3": {
150731
150731
  start: {
150732
- line: 16,
150732
+ line: 33,
150733
150733
  column: 22
150734
150734
  },
150735
150735
  end: {
150736
- line: 16,
150736
+ line: 33,
150737
150737
  column: 54
150738
150738
  }
150739
150739
  },
150740
150740
  "4": {
150741
150741
  start: {
150742
- line: 18,
150742
+ line: 35,
150743
150743
  column: 10
150744
150744
  },
150745
150745
  end: {
150746
- line: 18,
150746
+ line: 35,
150747
150747
  column: 42
150748
150748
  }
150749
150749
  },
150750
150750
  "5": {
150751
150751
  start: {
150752
- line: 19,
150752
+ line: 36,
150753
150753
  column: 10
150754
150754
  },
150755
150755
  end: {
150756
- line: 19,
150756
+ line: 36,
150757
150757
  column: 28
150758
150758
  }
150759
150759
  }
@@ -150773,146 +150773,194 @@ function cov_4yoeuyegb() {
150773
150773
  },
150774
150774
  loc: {
150775
150775
  start: {
150776
- line: 9,
150776
+ line: 19,
150777
150777
  column: 2
150778
150778
  },
150779
150779
  end: {
150780
- line: 24,
150780
+ line: 41,
150781
150781
  column: 14
150782
150782
  }
150783
150783
  },
150784
- line: 9
150784
+ line: 19
150785
150785
  },
150786
150786
  "1": {
150787
150787
  name: "(anonymous_1)",
150788
150788
  decl: {
150789
150789
  start: {
150790
- line: 10,
150790
+ line: 25,
150791
150791
  column: 5
150792
150792
  },
150793
150793
  end: {
150794
- line: 10,
150794
+ line: 25,
150795
150795
  column: 6
150796
150796
  }
150797
150797
  },
150798
150798
  loc: {
150799
150799
  start: {
150800
- line: 11,
150800
+ line: 26,
150801
150801
  column: 6
150802
150802
  },
150803
150803
  end: {
150804
- line: 22,
150804
+ line: 39,
150805
150805
  column: 8
150806
150806
  }
150807
150807
  },
150808
- line: 11
150808
+ line: 26
150809
150809
  },
150810
150810
  "2": {
150811
150811
  name: "(anonymous_2)",
150812
150812
  decl: {
150813
150813
  start: {
150814
- line: 16,
150814
+ line: 33,
150815
150815
  column: 16
150816
150816
  },
150817
150817
  end: {
150818
- line: 16,
150818
+ line: 33,
150819
150819
  column: 17
150820
150820
  }
150821
150821
  },
150822
150822
  loc: {
150823
150823
  start: {
150824
- line: 16,
150824
+ line: 33,
150825
150825
  column: 22
150826
150826
  },
150827
150827
  end: {
150828
- line: 16,
150828
+ line: 33,
150829
150829
  column: 54
150830
150830
  }
150831
150831
  },
150832
- line: 16
150832
+ line: 33
150833
150833
  },
150834
150834
  "3": {
150835
150835
  name: "(anonymous_3)",
150836
150836
  decl: {
150837
150837
  start: {
150838
- line: 17,
150838
+ line: 34,
150839
150839
  column: 18
150840
150840
  },
150841
150841
  end: {
150842
- line: 17,
150842
+ line: 34,
150843
150843
  column: 19
150844
150844
  }
150845
150845
  },
150846
150846
  loc: {
150847
150847
  start: {
150848
- line: 17,
150848
+ line: 34,
150849
150849
  column: 27
150850
150850
  },
150851
150851
  end: {
150852
- line: 20,
150852
+ line: 37,
150853
150853
  column: 9
150854
150854
  }
150855
150855
  },
150856
- line: 17
150856
+ line: 34
150857
150857
  }
150858
150858
  },
150859
150859
  branchMap: {
150860
150860
  "0": {
150861
150861
  loc: {
150862
150862
  start: {
150863
- line: 8,
150864
- column: 30
150863
+ line: 11,
150864
+ column: 4
150865
150865
  },
150866
150866
  end: {
150867
- line: 8,
150868
- column: 45
150867
+ line: 11,
150868
+ column: 19
150869
150869
  }
150870
150870
  },
150871
150871
  type: "default-arg",
150872
150872
  locations: [{
150873
150873
  start: {
150874
- line: 8,
150875
- column: 41
150874
+ line: 11,
150875
+ column: 15
150876
150876
  },
150877
150877
  end: {
150878
- line: 8,
150879
- column: 45
150878
+ line: 11,
150879
+ column: 19
150880
150880
  }
150881
150881
  }],
150882
- line: 8
150882
+ line: 11
150883
150883
  },
150884
150884
  "1": {
150885
150885
  loc: {
150886
150886
  start: {
150887
- line: 12,
150887
+ line: 13,
150888
+ column: 4
150889
+ },
150890
+ end: {
150891
+ line: 13,
150892
+ column: 17
150893
+ }
150894
+ },
150895
+ type: "default-arg",
150896
+ locations: [{
150897
+ start: {
150898
+ line: 13,
150888
150899
  column: 15
150889
150900
  },
150890
150901
  end: {
150891
- line: 12,
150902
+ line: 13,
150903
+ column: 17
150904
+ }
150905
+ }],
150906
+ line: 13
150907
+ },
150908
+ "2": {
150909
+ loc: {
150910
+ start: {
150911
+ line: 14,
150912
+ column: 4
150913
+ },
150914
+ end: {
150915
+ line: 14,
150916
+ column: 18
150917
+ }
150918
+ },
150919
+ type: "default-arg",
150920
+ locations: [{
150921
+ start: {
150922
+ line: 14,
150923
+ column: 16
150924
+ },
150925
+ end: {
150926
+ line: 14,
150927
+ column: 18
150928
+ }
150929
+ }],
150930
+ line: 14
150931
+ },
150932
+ "3": {
150933
+ loc: {
150934
+ start: {
150935
+ line: 27,
150936
+ column: 15
150937
+ },
150938
+ end: {
150939
+ line: 27,
150892
150940
  column: 45
150893
150941
  }
150894
150942
  },
150895
150943
  type: "cond-expr",
150896
150944
  locations: [{
150897
150945
  start: {
150898
- line: 12,
150946
+ line: 27,
150899
150947
  column: 30
150900
150948
  },
150901
150949
  end: {
150902
- line: 12,
150950
+ line: 27,
150903
150951
  column: 40
150904
150952
  }
150905
150953
  }, {
150906
150954
  start: {
150907
- line: 12,
150955
+ line: 27,
150908
150956
  column: 43
150909
150957
  },
150910
150958
  end: {
150911
- line: 12,
150959
+ line: 27,
150912
150960
  column: 45
150913
150961
  }
150914
150962
  }],
150915
- line: 12
150963
+ line: 27
150916
150964
  }
150917
150965
  },
150918
150966
  s: {
@@ -150931,10 +150979,12 @@ function cov_4yoeuyegb() {
150931
150979
  },
150932
150980
  b: {
150933
150981
  "0": [0],
150934
- "1": [0, 0]
150982
+ "1": [0],
150983
+ "2": [0],
150984
+ "3": [0, 0]
150935
150985
  },
150936
150986
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
150937
- hash: "51f3d99e0f5f436a1c32bf738d4bbb1e03023e73"
150987
+ hash: "987f679398f2f8dc30dd2c7a18c9e2d0fb582662"
150938
150988
  };
150939
150989
  var coverage = global[gcv] || (global[gcv] = {});
150940
150990
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -150955,11 +151005,19 @@ var FormikEditor = function FormikEditor(_ref, ref) {
150955
151005
  var name = _ref.name,
150956
151006
  _ref$onChange = _ref.onChange,
150957
151007
  _onChange = _ref$onChange === void 0 ? (cov_4yoeuyegb().b[0][0]++, pure.noop) : _ref$onChange,
151008
+ shouldUpdate = _ref.shouldUpdate,
151009
+ _ref$mentions = _ref.mentions,
151010
+ mentions = _ref$mentions === void 0 ? (cov_4yoeuyegb().b[1][0]++, []) : _ref$mentions,
151011
+ _ref$variables = _ref.variables,
151012
+ variables = _ref$variables === void 0 ? (cov_4yoeuyegb().b[2][0]++, []) : _ref$variables,
150958
151013
  otherProps = _objectWithoutProperties$1(_ref, _excluded$1);
150959
151014
  cov_4yoeuyegb().f[0]++;
150960
151015
  cov_4yoeuyegb().s[1]++;
150961
151016
  return /*#__PURE__*/React__default["default"].createElement(formik.FastField, {
150962
- name: name
151017
+ mentions: mentions,
151018
+ name: name,
151019
+ shouldUpdate: shouldUpdate,
151020
+ variables: variables
150963
151021
  }, function (_ref2) {
150964
151022
  var field = _ref2.field,
150965
151023
  form = _ref2.form,
@@ -150967,10 +151025,12 @@ var FormikEditor = function FormikEditor(_ref, ref) {
150967
151025
  cov_4yoeuyegb().f[1]++;
150968
151026
  cov_4yoeuyegb().s[2]++;
150969
151027
  return /*#__PURE__*/React__default["default"].createElement(Editor$1, _extends$1({
150970
- error: meta.touched ? (cov_4yoeuyegb().b[1][0]++, meta.error) : (cov_4yoeuyegb().b[1][1]++, ""),
151028
+ error: meta.touched ? (cov_4yoeuyegb().b[3][0]++, meta.error) : (cov_4yoeuyegb().b[3][1]++, ""),
150971
151029
  initialValue: field.value,
151030
+ mentions: mentions,
150972
151031
  name: name,
150973
151032
  ref: ref,
151033
+ variables: variables,
150974
151034
  onBlur: function onBlur() {
150975
151035
  cov_4yoeuyegb().f[2]++;
150976
151036
  cov_4yoeuyegb().s[3]++;