@corpsmap/corpsmap 3.2.59 → 3.2.62
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/lib/dev.js
CHANGED
|
@@ -106710,7 +106710,7 @@ var config = {
|
|
|
106710
106710
|
};
|
|
106711
106711
|
|
|
106712
106712
|
var name = "@corpsmap/corpsmap";
|
|
106713
|
-
var version$1 = "3.2.
|
|
106713
|
+
var version$1 = "3.2.62";
|
|
106714
106714
|
var description = "CorpsMap as React Components";
|
|
106715
106715
|
var main = "index.js";
|
|
106716
106716
|
var scripts = {
|
|
@@ -137231,7 +137231,8 @@ var ResourcesModal = /*#__PURE__*/function (_React$Component) {
|
|
|
137231
137231
|
}, /*#__PURE__*/React$1__default.createElement("a", {
|
|
137232
137232
|
href: item.url,
|
|
137233
137233
|
target: "_blank",
|
|
137234
|
-
rel: "noreferrer nofollow noopener"
|
|
137234
|
+
rel: "noreferrer nofollow noopener",
|
|
137235
|
+
download: "TEST_FILE"
|
|
137235
137236
|
}, item.name)));
|
|
137236
137237
|
})))), /*#__PURE__*/React$1__default.createElement("br", null));
|
|
137237
137238
|
});
|
|
@@ -145093,7 +145094,7 @@ var Cell = /*#__PURE__*/function (_React$Component) {
|
|
|
145093
145094
|
if (val && typeof val === "string") {
|
|
145094
145095
|
if (isHtml(val)) {
|
|
145095
145096
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145096
|
-
className: "overflow-ellipsis",
|
|
145097
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145097
145098
|
dangerouslySetInnerHTML: {
|
|
145098
145099
|
__html: val
|
|
145099
145100
|
}
|
|
@@ -145101,21 +145102,21 @@ var Cell = /*#__PURE__*/function (_React$Component) {
|
|
|
145101
145102
|
} else {
|
|
145102
145103
|
if (val.indexOf("http") !== -1) {
|
|
145103
145104
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145104
|
-
className: "overflow-ellipsis",
|
|
145105
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145105
145106
|
title: val
|
|
145106
145107
|
}, /*#__PURE__*/React$1__default.createElement("a", {
|
|
145107
145108
|
href: val
|
|
145108
145109
|
}, val));
|
|
145109
145110
|
} else {
|
|
145110
145111
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145111
|
-
className: "overflow-ellipsis",
|
|
145112
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145112
145113
|
title: val
|
|
145113
145114
|
}, val);
|
|
145114
145115
|
}
|
|
145115
145116
|
}
|
|
145116
145117
|
} else {
|
|
145117
145118
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145118
|
-
className: "overflow-ellipsis",
|
|
145119
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145119
145120
|
title: val
|
|
145120
145121
|
}, val);
|
|
145121
145122
|
}
|
package/lib/prod.js
CHANGED
|
@@ -106624,7 +106624,7 @@ var config = {
|
|
|
106624
106624
|
};
|
|
106625
106625
|
|
|
106626
106626
|
var name = "@corpsmap/corpsmap";
|
|
106627
|
-
var version$1 = "3.2.
|
|
106627
|
+
var version$1 = "3.2.62";
|
|
106628
106628
|
var description = "CorpsMap as React Components";
|
|
106629
106629
|
var main = "index.js";
|
|
106630
106630
|
var scripts = {
|
|
@@ -137145,7 +137145,8 @@ var ResourcesModal = /*#__PURE__*/function (_React$Component) {
|
|
|
137145
137145
|
}, /*#__PURE__*/React$1__default.createElement("a", {
|
|
137146
137146
|
href: item.url,
|
|
137147
137147
|
target: "_blank",
|
|
137148
|
-
rel: "noreferrer nofollow noopener"
|
|
137148
|
+
rel: "noreferrer nofollow noopener",
|
|
137149
|
+
download: "TEST_FILE"
|
|
137149
137150
|
}, item.name)));
|
|
137150
137151
|
})))), /*#__PURE__*/React$1__default.createElement("br", null));
|
|
137151
137152
|
});
|
|
@@ -145007,7 +145008,7 @@ var Cell = /*#__PURE__*/function (_React$Component) {
|
|
|
145007
145008
|
if (val && typeof val === "string") {
|
|
145008
145009
|
if (isHtml(val)) {
|
|
145009
145010
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145010
|
-
className: "overflow-ellipsis",
|
|
145011
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145011
145012
|
dangerouslySetInnerHTML: {
|
|
145012
145013
|
__html: val
|
|
145013
145014
|
}
|
|
@@ -145015,21 +145016,21 @@ var Cell = /*#__PURE__*/function (_React$Component) {
|
|
|
145015
145016
|
} else {
|
|
145016
145017
|
if (val.indexOf("http") !== -1) {
|
|
145017
145018
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145018
|
-
className: "overflow-ellipsis",
|
|
145019
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145019
145020
|
title: val
|
|
145020
145021
|
}, /*#__PURE__*/React$1__default.createElement("a", {
|
|
145021
145022
|
href: val
|
|
145022
145023
|
}, val));
|
|
145023
145024
|
} else {
|
|
145024
145025
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145025
|
-
className: "overflow-ellipsis",
|
|
145026
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145026
145027
|
title: val
|
|
145027
145028
|
}, val);
|
|
145028
145029
|
}
|
|
145029
145030
|
}
|
|
145030
145031
|
} else {
|
|
145031
145032
|
return /*#__PURE__*/React$1__default.createElement("div", {
|
|
145032
|
-
className: "overflow-ellipsis",
|
|
145033
|
+
className: "overflow-ellipsis overflow-ellipsis-user-select",
|
|
145033
145034
|
title: val
|
|
145034
145035
|
}, val);
|
|
145035
145036
|
}
|
package/package.json
CHANGED
|
@@ -12,20 +12,20 @@ class Cell extends React.Component {
|
|
|
12
12
|
if (isHtml(val)) {
|
|
13
13
|
return (
|
|
14
14
|
<div
|
|
15
|
-
className="overflow-ellipsis"
|
|
15
|
+
className="overflow-ellipsis overflow-ellipsis-user-select"
|
|
16
16
|
dangerouslySetInnerHTML={{ __html: val }}
|
|
17
17
|
></div>
|
|
18
18
|
);
|
|
19
19
|
} else {
|
|
20
20
|
if (val.indexOf("http") !== -1) {
|
|
21
21
|
return (
|
|
22
|
-
<div className="overflow-ellipsis" title={val}>
|
|
22
|
+
<div className="overflow-ellipsis overflow-ellipsis-user-select" title={val}>
|
|
23
23
|
<a href={val}>{val}</a>
|
|
24
24
|
</div>
|
|
25
25
|
);
|
|
26
26
|
} else {
|
|
27
27
|
return (
|
|
28
|
-
<div className="overflow-ellipsis" title={val}>
|
|
28
|
+
<div className="overflow-ellipsis overflow-ellipsis-user-select" title={val}>
|
|
29
29
|
{val}
|
|
30
30
|
</div>
|
|
31
31
|
);
|
|
@@ -33,7 +33,7 @@ class Cell extends React.Component {
|
|
|
33
33
|
}
|
|
34
34
|
} else {
|
|
35
35
|
return (
|
|
36
|
-
<div className="overflow-ellipsis" title={val}>
|
|
36
|
+
<div className="overflow-ellipsis overflow-ellipsis-user-select" title={val}>
|
|
37
37
|
{val}
|
|
38
38
|
</div>
|
|
39
39
|
);
|
|
@@ -51,7 +51,7 @@ class ResourcesModal extends React.Component {
|
|
|
51
51
|
<tr key={item.resource_id}>
|
|
52
52
|
<td className="col-sm-4">{item.description}</td>
|
|
53
53
|
<td className="col-sm-4">
|
|
54
|
-
<a href={item.url} target="_blank" rel="noreferrer nofollow noopener">{item.name}</a>
|
|
54
|
+
<a href={item.url} target="_blank" rel="noreferrer nofollow noopener" download="TEST_FILE">{item.name}</a>
|
|
55
55
|
</td>
|
|
56
56
|
{/* <td className="col-sm-4">
|
|
57
57
|
<a href={documentURL+item.resource_id} target="_blank" rel="noreferrer nofollow noopener" >{item.document_name}</a>
|