@bigbinary/neeto-editor 1.27.3 → 1.27.5
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 +59 -54
- package/index.cjs.js.map +1 -1
- package/index.js +59 -54
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -40810,8 +40810,8 @@ var common = {
|
|
|
40810
40810
|
var attachments = {
|
|
40811
40811
|
actionsBlocked: "You are not permitted to update or delete attachments",
|
|
40812
40812
|
add: "Add attachment",
|
|
40813
|
-
deleteConfirmation: "
|
|
40814
|
-
deleteTitle: "
|
|
40813
|
+
deleteConfirmation: "You are permanently deleting the attachment <strong>{{entity}}</strong>. This can't be undone.",
|
|
40814
|
+
deleteTitle: "Delete attachment?",
|
|
40815
40815
|
maxNumberOfFiles: "You can only attach {{entity}} files",
|
|
40816
40816
|
nameEmpty: "Filename cannot be empty",
|
|
40817
40817
|
noPreview: "There is no preview available, click to <span>download</span>.",
|
|
@@ -64414,7 +64414,7 @@ var File$1 = function File(_ref) {
|
|
|
64414
64414
|
|
|
64415
64415
|
function cov_13lrfxjoky() {
|
|
64416
64416
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Attachments/Attachment.jsx";
|
|
64417
|
-
var hash = "
|
|
64417
|
+
var hash = "b2ddbea9ebf2d4705c118839a8a3d077c5115944";
|
|
64418
64418
|
var global = new Function("return this")();
|
|
64419
64419
|
var gcv = "__coverage__";
|
|
64420
64420
|
var coverageData = {
|
|
@@ -64436,7 +64436,7 @@ function cov_13lrfxjoky() {
|
|
|
64436
64436
|
column: 19
|
|
64437
64437
|
},
|
|
64438
64438
|
end: {
|
|
64439
|
-
line:
|
|
64439
|
+
line: 207,
|
|
64440
64440
|
column: 1
|
|
64441
64441
|
}
|
|
64442
64442
|
},
|
|
@@ -64866,7 +64866,7 @@ function cov_13lrfxjoky() {
|
|
|
64866
64866
|
column: 2
|
|
64867
64867
|
},
|
|
64868
64868
|
end: {
|
|
64869
|
-
line:
|
|
64869
|
+
line: 206,
|
|
64870
64870
|
column: 4
|
|
64871
64871
|
}
|
|
64872
64872
|
},
|
|
@@ -64932,11 +64932,11 @@ function cov_13lrfxjoky() {
|
|
|
64932
64932
|
},
|
|
64933
64933
|
"51": {
|
|
64934
64934
|
start: {
|
|
64935
|
-
line:
|
|
64935
|
+
line: 202,
|
|
64936
64936
|
column: 23
|
|
64937
64937
|
},
|
|
64938
64938
|
end: {
|
|
64939
|
-
line:
|
|
64939
|
+
line: 202,
|
|
64940
64940
|
column: 50
|
|
64941
64941
|
}
|
|
64942
64942
|
}
|
|
@@ -64960,7 +64960,7 @@ function cov_13lrfxjoky() {
|
|
|
64960
64960
|
column: 6
|
|
64961
64961
|
},
|
|
64962
64962
|
end: {
|
|
64963
|
-
line:
|
|
64963
|
+
line: 207,
|
|
64964
64964
|
column: 1
|
|
64965
64965
|
}
|
|
64966
64966
|
},
|
|
@@ -65258,25 +65258,25 @@ function cov_13lrfxjoky() {
|
|
|
65258
65258
|
name: "(anonymous_13)",
|
|
65259
65259
|
decl: {
|
|
65260
65260
|
start: {
|
|
65261
|
-
line:
|
|
65261
|
+
line: 202,
|
|
65262
65262
|
column: 17
|
|
65263
65263
|
},
|
|
65264
65264
|
end: {
|
|
65265
|
-
line:
|
|
65265
|
+
line: 202,
|
|
65266
65266
|
column: 18
|
|
65267
65267
|
}
|
|
65268
65268
|
},
|
|
65269
65269
|
loc: {
|
|
65270
65270
|
start: {
|
|
65271
|
-
line:
|
|
65271
|
+
line: 202,
|
|
65272
65272
|
column: 23
|
|
65273
65273
|
},
|
|
65274
65274
|
end: {
|
|
65275
|
-
line:
|
|
65275
|
+
line: 202,
|
|
65276
65276
|
column: 50
|
|
65277
65277
|
}
|
|
65278
65278
|
},
|
|
65279
|
-
line:
|
|
65279
|
+
line: 202
|
|
65280
65280
|
}
|
|
65281
65281
|
},
|
|
65282
65282
|
branchMap: {
|
|
@@ -65635,7 +65635,7 @@ function cov_13lrfxjoky() {
|
|
|
65635
65635
|
"7": [0, 0]
|
|
65636
65636
|
},
|
|
65637
65637
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
65638
|
-
hash: "
|
|
65638
|
+
hash: "b2ddbea9ebf2d4705c118839a8a3d077c5115944"
|
|
65639
65639
|
};
|
|
65640
65640
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
65641
65641
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -65920,10 +65920,14 @@ var Attachment = function Attachment(_ref2) {
|
|
|
65920
65920
|
}))))))), /*#__PURE__*/React__default["default"].createElement(neetoui.Alert, {
|
|
65921
65921
|
isOpen: isDeleteAlertOpen,
|
|
65922
65922
|
isSubmitting: isDeleting,
|
|
65923
|
-
|
|
65924
|
-
entity: newFilename
|
|
65925
|
-
}),
|
|
65923
|
+
submitButtonLabel: t("menu.delete"),
|
|
65926
65924
|
title: t("attachments.deleteTitle"),
|
|
65925
|
+
message: /*#__PURE__*/React__default["default"].createElement(Trans, {
|
|
65926
|
+
i18nKey: "attachments.deleteConfirmation",
|
|
65927
|
+
values: {
|
|
65928
|
+
entity: newFilename
|
|
65929
|
+
}
|
|
65930
|
+
}),
|
|
65927
65931
|
onClose: function onClose() {
|
|
65928
65932
|
cov_13lrfxjoky().f[13]++;
|
|
65929
65933
|
cov_13lrfxjoky().s[51]++;
|
|
@@ -139065,7 +139069,7 @@ var Bubble = function Bubble(_ref) {
|
|
|
139065
139069
|
|
|
139066
139070
|
function cov_g1sl3nnop() {
|
|
139067
139071
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/FontSizeOption.jsx";
|
|
139068
|
-
var hash = "
|
|
139072
|
+
var hash = "b90f4710b428ac81e17d79fff5090d3693e04489";
|
|
139069
139073
|
var global = new Function("return this")();
|
|
139070
139074
|
var gcv = "__coverage__";
|
|
139071
139075
|
var coverageData = {
|
|
@@ -139087,7 +139091,7 @@ function cov_g1sl3nnop() {
|
|
|
139087
139091
|
column: 23
|
|
139088
139092
|
},
|
|
139089
139093
|
end: {
|
|
139090
|
-
line:
|
|
139094
|
+
line: 51,
|
|
139091
139095
|
column: 1
|
|
139092
139096
|
}
|
|
139093
139097
|
},
|
|
@@ -139157,27 +139161,27 @@ function cov_g1sl3nnop() {
|
|
|
139157
139161
|
column: 2
|
|
139158
139162
|
},
|
|
139159
139163
|
end: {
|
|
139160
|
-
line:
|
|
139164
|
+
line: 50,
|
|
139161
139165
|
column: 4
|
|
139162
139166
|
}
|
|
139163
139167
|
},
|
|
139164
139168
|
"9": {
|
|
139165
139169
|
start: {
|
|
139166
|
-
line:
|
|
139170
|
+
line: 40,
|
|
139167
139171
|
column: 10
|
|
139168
139172
|
},
|
|
139169
139173
|
end: {
|
|
139170
|
-
line:
|
|
139174
|
+
line: 46,
|
|
139171
139175
|
column: 28
|
|
139172
139176
|
}
|
|
139173
139177
|
},
|
|
139174
139178
|
"10": {
|
|
139175
139179
|
start: {
|
|
139176
|
-
line:
|
|
139180
|
+
line: 43,
|
|
139177
139181
|
column: 27
|
|
139178
139182
|
},
|
|
139179
139183
|
end: {
|
|
139180
|
-
line:
|
|
139184
|
+
line: 43,
|
|
139181
139185
|
column: 45
|
|
139182
139186
|
}
|
|
139183
139187
|
}
|
|
@@ -139201,7 +139205,7 @@ function cov_g1sl3nnop() {
|
|
|
139201
139205
|
column: 55
|
|
139202
139206
|
},
|
|
139203
139207
|
end: {
|
|
139204
|
-
line:
|
|
139208
|
+
line: 51,
|
|
139205
139209
|
column: 1
|
|
139206
139210
|
}
|
|
139207
139211
|
},
|
|
@@ -139283,49 +139287,49 @@ function cov_g1sl3nnop() {
|
|
|
139283
139287
|
name: "(anonymous_4)",
|
|
139284
139288
|
decl: {
|
|
139285
139289
|
start: {
|
|
139286
|
-
line:
|
|
139290
|
+
line: 39,
|
|
139287
139291
|
column: 31
|
|
139288
139292
|
},
|
|
139289
139293
|
end: {
|
|
139290
|
-
line:
|
|
139294
|
+
line: 39,
|
|
139291
139295
|
column: 32
|
|
139292
139296
|
}
|
|
139293
139297
|
},
|
|
139294
139298
|
loc: {
|
|
139295
139299
|
start: {
|
|
139296
|
-
line:
|
|
139300
|
+
line: 40,
|
|
139297
139301
|
column: 10
|
|
139298
139302
|
},
|
|
139299
139303
|
end: {
|
|
139300
|
-
line:
|
|
139304
|
+
line: 46,
|
|
139301
139305
|
column: 28
|
|
139302
139306
|
}
|
|
139303
139307
|
},
|
|
139304
|
-
line:
|
|
139308
|
+
line: 40
|
|
139305
139309
|
},
|
|
139306
139310
|
"5": {
|
|
139307
139311
|
name: "(anonymous_5)",
|
|
139308
139312
|
decl: {
|
|
139309
139313
|
start: {
|
|
139310
|
-
line:
|
|
139314
|
+
line: 43,
|
|
139311
139315
|
column: 21
|
|
139312
139316
|
},
|
|
139313
139317
|
end: {
|
|
139314
|
-
line:
|
|
139318
|
+
line: 43,
|
|
139315
139319
|
column: 22
|
|
139316
139320
|
}
|
|
139317
139321
|
},
|
|
139318
139322
|
loc: {
|
|
139319
139323
|
start: {
|
|
139320
|
-
line:
|
|
139324
|
+
line: 43,
|
|
139321
139325
|
column: 27
|
|
139322
139326
|
},
|
|
139323
139327
|
end: {
|
|
139324
|
-
line:
|
|
139328
|
+
line: 43,
|
|
139325
139329
|
column: 45
|
|
139326
139330
|
}
|
|
139327
139331
|
},
|
|
139328
|
-
line:
|
|
139332
|
+
line: 43
|
|
139329
139333
|
}
|
|
139330
139334
|
},
|
|
139331
139335
|
branchMap: {
|
|
@@ -139422,7 +139426,7 @@ function cov_g1sl3nnop() {
|
|
|
139422
139426
|
"1": [0, 0]
|
|
139423
139427
|
},
|
|
139424
139428
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
139425
|
-
hash: "
|
|
139429
|
+
hash: "b90f4710b428ac81e17d79fff5090d3693e04489"
|
|
139426
139430
|
};
|
|
139427
139431
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
139428
139432
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -139475,6 +139479,7 @@ var FontSizeOption = function FontSizeOption(_ref2) {
|
|
|
139475
139479
|
"data-cy": "neeto-editor-fixed-menu-font-size-option",
|
|
139476
139480
|
label: label,
|
|
139477
139481
|
placement: "bottom-start",
|
|
139482
|
+
strategy: "fixed",
|
|
139478
139483
|
buttonProps: {
|
|
139479
139484
|
tooltipProps: {
|
|
139480
139485
|
content: tooltipContent,
|
|
@@ -141230,7 +141235,7 @@ var TableOption = function TableOption(_ref2) {
|
|
|
141230
141235
|
|
|
141231
141236
|
function cov_2dwl7m23tl() {
|
|
141232
141237
|
var path = "/home/runner/work/neeto-editor/neeto-editor/src/components/Editor/Menu/Fixed/index.jsx";
|
|
141233
|
-
var hash = "
|
|
141238
|
+
var hash = "41fb2b030bf45b03f593820dc163205bea7a071d";
|
|
141234
141239
|
var global = new Function("return this")();
|
|
141235
141240
|
var gcv = "__coverage__";
|
|
141236
141241
|
var coverageData = {
|
|
@@ -141912,40 +141917,40 @@ function cov_2dwl7m23tl() {
|
|
|
141912
141917
|
"11": {
|
|
141913
141918
|
loc: {
|
|
141914
141919
|
start: {
|
|
141915
|
-
line:
|
|
141920
|
+
line: 108,
|
|
141916
141921
|
column: 26
|
|
141917
141922
|
},
|
|
141918
141923
|
end: {
|
|
141919
|
-
line:
|
|
141924
|
+
line: 108,
|
|
141920
141925
|
column: 59
|
|
141921
141926
|
}
|
|
141922
141927
|
},
|
|
141923
141928
|
type: "binary-expr",
|
|
141924
141929
|
locations: [{
|
|
141925
141930
|
start: {
|
|
141926
|
-
line:
|
|
141931
|
+
line: 108,
|
|
141927
141932
|
column: 26
|
|
141928
141933
|
},
|
|
141929
141934
|
end: {
|
|
141930
|
-
line:
|
|
141935
|
+
line: 108,
|
|
141931
141936
|
column: 40
|
|
141932
141937
|
}
|
|
141933
141938
|
}, {
|
|
141934
141939
|
start: {
|
|
141935
|
-
line:
|
|
141940
|
+
line: 108,
|
|
141936
141941
|
column: 44
|
|
141937
141942
|
},
|
|
141938
141943
|
end: {
|
|
141939
|
-
line:
|
|
141944
|
+
line: 108,
|
|
141940
141945
|
column: 59
|
|
141941
141946
|
}
|
|
141942
141947
|
}],
|
|
141943
|
-
line:
|
|
141948
|
+
line: 108
|
|
141944
141949
|
},
|
|
141945
141950
|
"12": {
|
|
141946
141951
|
loc: {
|
|
141947
141952
|
start: {
|
|
141948
|
-
line:
|
|
141953
|
+
line: 110,
|
|
141949
141954
|
column: 9
|
|
141950
141955
|
},
|
|
141951
141956
|
end: {
|
|
@@ -141956,25 +141961,25 @@ function cov_2dwl7m23tl() {
|
|
|
141956
141961
|
type: "binary-expr",
|
|
141957
141962
|
locations: [{
|
|
141958
141963
|
start: {
|
|
141959
|
-
line:
|
|
141964
|
+
line: 110,
|
|
141960
141965
|
column: 10
|
|
141961
141966
|
},
|
|
141962
141967
|
end: {
|
|
141963
|
-
line:
|
|
141968
|
+
line: 110,
|
|
141964
141969
|
column: 24
|
|
141965
141970
|
}
|
|
141966
141971
|
}, {
|
|
141967
141972
|
start: {
|
|
141968
|
-
line:
|
|
141973
|
+
line: 110,
|
|
141969
141974
|
column: 28
|
|
141970
141975
|
},
|
|
141971
141976
|
end: {
|
|
141972
|
-
line:
|
|
141977
|
+
line: 110,
|
|
141973
141978
|
column: 50
|
|
141974
141979
|
}
|
|
141975
141980
|
}, {
|
|
141976
141981
|
start: {
|
|
141977
|
-
line:
|
|
141982
|
+
line: 111,
|
|
141978
141983
|
column: 10
|
|
141979
141984
|
},
|
|
141980
141985
|
end: {
|
|
@@ -141982,7 +141987,7 @@ function cov_2dwl7m23tl() {
|
|
|
141982
141987
|
column: 16
|
|
141983
141988
|
}
|
|
141984
141989
|
}],
|
|
141985
|
-
line:
|
|
141990
|
+
line: 110
|
|
141986
141991
|
},
|
|
141987
141992
|
"13": {
|
|
141988
141993
|
loc: {
|
|
@@ -142578,7 +142583,7 @@ function cov_2dwl7m23tl() {
|
|
|
142578
142583
|
"28": [0, 0]
|
|
142579
142584
|
},
|
|
142580
142585
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
142581
|
-
hash: "
|
|
142586
|
+
hash: "41fb2b030bf45b03f593820dc163205bea7a071d"
|
|
142582
142587
|
};
|
|
142583
142588
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
142584
142589
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -142688,14 +142693,14 @@ var Fixed = function Fixed(_ref) {
|
|
|
142688
142693
|
}, (cov_2dwl7m23tl().b[9][0]++, isFontSizeActive) && (cov_2dwl7m23tl().b[9][1]++, /*#__PURE__*/React__default["default"].createElement(FontSizeOption, {
|
|
142689
142694
|
editor: editor,
|
|
142690
142695
|
tooltipContent: (cov_2dwl7m23tl().b[10][0]++, tooltips.fontSize) || (cov_2dwl7m23tl().b[10][1]++, t("menu.fontSize"))
|
|
142691
|
-
})), fontStyleOptions.map(renderOptionButton),
|
|
142696
|
+
})), fontStyleOptions.map(renderOptionButton), /*#__PURE__*/React__default["default"].createElement(TableActions, {
|
|
142692
142697
|
editor: editor,
|
|
142693
142698
|
tooltipContent: (cov_2dwl7m23tl().b[11][0]++, tooltips.table) || (cov_2dwl7m23tl().b[11][1]++, t("menu.table"))
|
|
142694
142699
|
}), ((cov_2dwl7m23tl().b[12][0]++, isMenuExpanded) || (cov_2dwl7m23tl().b[12][1]++, ramda.not(isMenuCollapsible))) && (cov_2dwl7m23tl().b[12][2]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
142695
142700
|
className: classnames$2("neeto-editor-fixed-menu__wrapper--collapsible", {
|
|
142696
142701
|
"neeto-editor-fixed-menu__wrapper--collapsible--fade": isMenuCollapsible
|
|
142697
142702
|
})
|
|
142698
|
-
}, blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[13][0]++, isTextColorOptionActive) && (cov_2dwl7m23tl().b[13][1]++, /*#__PURE__*/React__default["default"].createElement(TextColorOption, {
|
|
142703
|
+
}, listStyleOptions.map(renderOptionButton), blockStyleOptions.map(renderOptionButton), (cov_2dwl7m23tl().b[13][0]++, isTextColorOptionActive) && (cov_2dwl7m23tl().b[13][1]++, /*#__PURE__*/React__default["default"].createElement(TextColorOption, {
|
|
142699
142704
|
editor: editor,
|
|
142700
142705
|
tooltipContent: (cov_2dwl7m23tl().b[14][0]++, tooltips.textColor) || (cov_2dwl7m23tl().b[14][1]++, t("menu.textColor"))
|
|
142701
142706
|
})), (cov_2dwl7m23tl().b[15][0]++, isEmojiActive) && (cov_2dwl7m23tl().b[15][1]++, /*#__PURE__*/React__default["default"].createElement(EmojiOption, {
|