@bigbinary/neeto-image-uploader-frontend 1.3.0 → 1.3.2
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/dist/index.cjs.js +52 -53
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +52 -53
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18437,7 +18437,7 @@ var ProgressBar = function ProgressBar(_ref) {
|
|
|
18437
18437
|
|
|
18438
18438
|
function cov_1avu3clziw() {
|
|
18439
18439
|
var path = "/home/runner/work/neeto-image-uploader-nano/neeto-image-uploader-nano/app/javascript/src/components/ImageUploader/index.jsx";
|
|
18440
|
-
var hash = "
|
|
18440
|
+
var hash = "73a1be321949a6ae2a12973342243fe3dde7d66e";
|
|
18441
18441
|
var global = new Function("return this")();
|
|
18442
18442
|
var gcv = "__coverage__";
|
|
18443
18443
|
var coverageData = {
|
|
@@ -18449,7 +18449,7 @@ function cov_1avu3clziw() {
|
|
|
18449
18449
|
column: 22
|
|
18450
18450
|
},
|
|
18451
18451
|
end: {
|
|
18452
|
-
line:
|
|
18452
|
+
line: 186,
|
|
18453
18453
|
column: 1
|
|
18454
18454
|
}
|
|
18455
18455
|
},
|
|
@@ -18829,7 +18829,7 @@ function cov_1avu3clziw() {
|
|
|
18829
18829
|
column: 2
|
|
18830
18830
|
},
|
|
18831
18831
|
end: {
|
|
18832
|
-
line:
|
|
18832
|
+
line: 185,
|
|
18833
18833
|
column: 4
|
|
18834
18834
|
}
|
|
18835
18835
|
},
|
|
@@ -18845,31 +18845,31 @@ function cov_1avu3clziw() {
|
|
|
18845
18845
|
},
|
|
18846
18846
|
"40": {
|
|
18847
18847
|
start: {
|
|
18848
|
-
line:
|
|
18848
|
+
line: 160,
|
|
18849
18849
|
column: 27
|
|
18850
18850
|
},
|
|
18851
18851
|
end: {
|
|
18852
|
-
line:
|
|
18852
|
+
line: 160,
|
|
18853
18853
|
column: 49
|
|
18854
18854
|
}
|
|
18855
18855
|
},
|
|
18856
18856
|
"41": {
|
|
18857
18857
|
start: {
|
|
18858
|
-
line:
|
|
18858
|
+
line: 163,
|
|
18859
18859
|
column: 33
|
|
18860
18860
|
},
|
|
18861
18861
|
end: {
|
|
18862
|
-
line:
|
|
18862
|
+
line: 163,
|
|
18863
18863
|
column: 55
|
|
18864
18864
|
}
|
|
18865
18865
|
},
|
|
18866
18866
|
"42": {
|
|
18867
18867
|
start: {
|
|
18868
|
-
line:
|
|
18868
|
+
line: 181,
|
|
18869
18869
|
column: 23
|
|
18870
18870
|
},
|
|
18871
18871
|
end: {
|
|
18872
|
-
line:
|
|
18872
|
+
line: 181,
|
|
18873
18873
|
column: 51
|
|
18874
18874
|
}
|
|
18875
18875
|
}
|
|
@@ -18893,7 +18893,7 @@ function cov_1avu3clziw() {
|
|
|
18893
18893
|
column: 76
|
|
18894
18894
|
},
|
|
18895
18895
|
end: {
|
|
18896
|
-
line:
|
|
18896
|
+
line: 186,
|
|
18897
18897
|
column: 1
|
|
18898
18898
|
}
|
|
18899
18899
|
},
|
|
@@ -19071,73 +19071,73 @@ function cov_1avu3clziw() {
|
|
|
19071
19071
|
name: "(anonymous_8)",
|
|
19072
19072
|
decl: {
|
|
19073
19073
|
start: {
|
|
19074
|
-
line:
|
|
19074
|
+
line: 160,
|
|
19075
19075
|
column: 21
|
|
19076
19076
|
},
|
|
19077
19077
|
end: {
|
|
19078
|
-
line:
|
|
19078
|
+
line: 160,
|
|
19079
19079
|
column: 22
|
|
19080
19080
|
}
|
|
19081
19081
|
},
|
|
19082
19082
|
loc: {
|
|
19083
19083
|
start: {
|
|
19084
|
-
line:
|
|
19084
|
+
line: 160,
|
|
19085
19085
|
column: 27
|
|
19086
19086
|
},
|
|
19087
19087
|
end: {
|
|
19088
|
-
line:
|
|
19088
|
+
line: 160,
|
|
19089
19089
|
column: 49
|
|
19090
19090
|
}
|
|
19091
19091
|
},
|
|
19092
|
-
line:
|
|
19092
|
+
line: 160
|
|
19093
19093
|
},
|
|
19094
19094
|
"9": {
|
|
19095
19095
|
name: "(anonymous_9)",
|
|
19096
19096
|
decl: {
|
|
19097
19097
|
start: {
|
|
19098
|
-
line:
|
|
19098
|
+
line: 163,
|
|
19099
19099
|
column: 27
|
|
19100
19100
|
},
|
|
19101
19101
|
end: {
|
|
19102
|
-
line:
|
|
19102
|
+
line: 163,
|
|
19103
19103
|
column: 28
|
|
19104
19104
|
}
|
|
19105
19105
|
},
|
|
19106
19106
|
loc: {
|
|
19107
19107
|
start: {
|
|
19108
|
-
line:
|
|
19108
|
+
line: 163,
|
|
19109
19109
|
column: 33
|
|
19110
19110
|
},
|
|
19111
19111
|
end: {
|
|
19112
|
-
line:
|
|
19112
|
+
line: 163,
|
|
19113
19113
|
column: 55
|
|
19114
19114
|
}
|
|
19115
19115
|
},
|
|
19116
|
-
line:
|
|
19116
|
+
line: 163
|
|
19117
19117
|
},
|
|
19118
19118
|
"10": {
|
|
19119
19119
|
name: "(anonymous_10)",
|
|
19120
19120
|
decl: {
|
|
19121
19121
|
start: {
|
|
19122
|
-
line:
|
|
19122
|
+
line: 181,
|
|
19123
19123
|
column: 17
|
|
19124
19124
|
},
|
|
19125
19125
|
end: {
|
|
19126
|
-
line:
|
|
19126
|
+
line: 181,
|
|
19127
19127
|
column: 18
|
|
19128
19128
|
}
|
|
19129
19129
|
},
|
|
19130
19130
|
loc: {
|
|
19131
19131
|
start: {
|
|
19132
|
-
line:
|
|
19132
|
+
line: 181,
|
|
19133
19133
|
column: 23
|
|
19134
19134
|
},
|
|
19135
19135
|
end: {
|
|
19136
|
-
line:
|
|
19136
|
+
line: 181,
|
|
19137
19137
|
column: 51
|
|
19138
19138
|
}
|
|
19139
19139
|
},
|
|
19140
|
-
line:
|
|
19140
|
+
line: 181
|
|
19141
19141
|
}
|
|
19142
19142
|
},
|
|
19143
19143
|
branchMap: {
|
|
@@ -19328,7 +19328,7 @@ function cov_1avu3clziw() {
|
|
|
19328
19328
|
column: 7
|
|
19329
19329
|
},
|
|
19330
19330
|
end: {
|
|
19331
|
-
line:
|
|
19331
|
+
line: 178,
|
|
19332
19332
|
column: 7
|
|
19333
19333
|
}
|
|
19334
19334
|
},
|
|
@@ -19339,16 +19339,16 @@ function cov_1avu3clziw() {
|
|
|
19339
19339
|
column: 8
|
|
19340
19340
|
},
|
|
19341
19341
|
end: {
|
|
19342
|
-
line:
|
|
19342
|
+
line: 171,
|
|
19343
19343
|
column: 14
|
|
19344
19344
|
}
|
|
19345
19345
|
}, {
|
|
19346
19346
|
start: {
|
|
19347
|
-
line:
|
|
19347
|
+
line: 173,
|
|
19348
19348
|
column: 8
|
|
19349
19349
|
},
|
|
19350
19350
|
end: {
|
|
19351
|
-
line:
|
|
19351
|
+
line: 177,
|
|
19352
19352
|
column: 10
|
|
19353
19353
|
}
|
|
19354
19354
|
}],
|
|
@@ -19357,68 +19357,68 @@ function cov_1avu3clziw() {
|
|
|
19357
19357
|
"7": {
|
|
19358
19358
|
loc: {
|
|
19359
19359
|
start: {
|
|
19360
|
-
line:
|
|
19361
|
-
column:
|
|
19360
|
+
line: 145,
|
|
19361
|
+
column: 13
|
|
19362
19362
|
},
|
|
19363
19363
|
end: {
|
|
19364
|
-
line:
|
|
19365
|
-
column:
|
|
19364
|
+
line: 154,
|
|
19365
|
+
column: 13
|
|
19366
19366
|
}
|
|
19367
19367
|
},
|
|
19368
19368
|
type: "binary-expr",
|
|
19369
19369
|
locations: [{
|
|
19370
19370
|
start: {
|
|
19371
|
-
line:
|
|
19372
|
-
column:
|
|
19371
|
+
line: 145,
|
|
19372
|
+
column: 13
|
|
19373
19373
|
},
|
|
19374
19374
|
end: {
|
|
19375
|
-
line:
|
|
19376
|
-
column:
|
|
19375
|
+
line: 145,
|
|
19376
|
+
column: 33
|
|
19377
19377
|
}
|
|
19378
19378
|
}, {
|
|
19379
19379
|
start: {
|
|
19380
|
-
line:
|
|
19381
|
-
column:
|
|
19380
|
+
line: 146,
|
|
19381
|
+
column: 14
|
|
19382
19382
|
},
|
|
19383
19383
|
end: {
|
|
19384
|
-
line:
|
|
19385
|
-
column:
|
|
19384
|
+
line: 153,
|
|
19385
|
+
column: 17
|
|
19386
19386
|
}
|
|
19387
19387
|
}],
|
|
19388
|
-
line:
|
|
19388
|
+
line: 145
|
|
19389
19389
|
},
|
|
19390
19390
|
"8": {
|
|
19391
19391
|
loc: {
|
|
19392
19392
|
start: {
|
|
19393
|
-
line:
|
|
19393
|
+
line: 167,
|
|
19394
19394
|
column: 16
|
|
19395
19395
|
},
|
|
19396
19396
|
end: {
|
|
19397
|
-
line:
|
|
19397
|
+
line: 167,
|
|
19398
19398
|
column: 73
|
|
19399
19399
|
}
|
|
19400
19400
|
},
|
|
19401
19401
|
type: "cond-expr",
|
|
19402
19402
|
locations: [{
|
|
19403
19403
|
start: {
|
|
19404
|
-
line:
|
|
19404
|
+
line: 167,
|
|
19405
19405
|
column: 47
|
|
19406
19406
|
},
|
|
19407
19407
|
end: {
|
|
19408
|
-
line:
|
|
19408
|
+
line: 167,
|
|
19409
19409
|
column: 60
|
|
19410
19410
|
}
|
|
19411
19411
|
}, {
|
|
19412
19412
|
start: {
|
|
19413
|
-
line:
|
|
19413
|
+
line: 167,
|
|
19414
19414
|
column: 63
|
|
19415
19415
|
},
|
|
19416
19416
|
end: {
|
|
19417
|
-
line:
|
|
19417
|
+
line: 167,
|
|
19418
19418
|
column: 73
|
|
19419
19419
|
}
|
|
19420
19420
|
}],
|
|
19421
|
-
line:
|
|
19421
|
+
line: 167
|
|
19422
19422
|
}
|
|
19423
19423
|
},
|
|
19424
19424
|
s: {
|
|
@@ -19491,7 +19491,7 @@ function cov_1avu3clziw() {
|
|
|
19491
19491
|
"8": [0, 0]
|
|
19492
19492
|
},
|
|
19493
19493
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
19494
|
-
hash: "
|
|
19494
|
+
hash: "73a1be321949a6ae2a12973342243fe3dde7d66e"
|
|
19495
19495
|
};
|
|
19496
19496
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
19497
19497
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -19718,14 +19718,13 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
19718
19718
|
label: t("imageUpload.delete"),
|
|
19719
19719
|
style: "danger-text",
|
|
19720
19720
|
onClick: handleDelete
|
|
19721
|
-
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19721
|
+
}), (cov_1avu3clziw().b[7][0]++, pure.isNotEmpty(signedId)) && (cov_1avu3clziw().b[7][1]++, /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19722
19722
|
className: "neeto-ui-bg-gray-300 w-px"
|
|
19723
19723
|
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
19724
|
-
disabled: (cov_1avu3clziw().b[7][0]++, IS_DEVELOPMENT_OR_HEROKU_ENV) && (cov_1avu3clziw().b[7][1]++, ramda.isEmpty(signedId)),
|
|
19725
19724
|
label: t("imageUpload.edit"),
|
|
19726
19725
|
style: "link",
|
|
19727
19726
|
onClick: setIsEditorOpen
|
|
19728
|
-
})), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
19727
|
+
})))), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
19729
19728
|
className: "niu-modal",
|
|
19730
19729
|
isOpen: isEditorOpen,
|
|
19731
19730
|
size: "large",
|