akpm-datapoint-front 0.0.19 → 0.0.20
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/CDN/dp-component.js +3 -3
- package/package.json +1 -1
package/CDN/dp-component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 0.0.
|
|
1
|
+
/* Version: 0.0.20 */
|
|
2
2
|
var pn = Object.defineProperty;
|
|
3
3
|
var T0 = (r) => {
|
|
4
4
|
throw TypeError(r);
|
|
@@ -4799,7 +4799,7 @@ function Ee(r, e) {
|
|
|
4799
4799
|
let b = "";
|
|
4800
4800
|
if (_) {
|
|
4801
4801
|
const w = _.cloneNode(!0);
|
|
4802
|
-
if (
|
|
4802
|
+
if (p) {
|
|
4803
4803
|
const q = _.querySelectorAll("*"), A = w.querySelectorAll("*"), z = [
|
|
4804
4804
|
"color",
|
|
4805
4805
|
"font-size",
|
|
@@ -4860,7 +4860,7 @@ function Ee(r, e) {
|
|
|
4860
4860
|
E += `${j}: ${D}; `;
|
|
4861
4861
|
E && w.setAttribute("style", E);
|
|
4862
4862
|
}
|
|
4863
|
-
p || w.querySelectorAll("[class]").forEach((q) => q.removeAttribute("class")), w.querySelectorAll("button").forEach((q) => q.remove()), w.querySelectorAll("select").forEach((q) => {
|
|
4863
|
+
w.querySelectorAll(".no-copy").forEach((q) => q.remove()), p || w.querySelectorAll("[class]").forEach((q) => q.removeAttribute("class")), w.querySelectorAll("button").forEach((q) => q.remove()), w.querySelectorAll("select").forEach((q) => {
|
|
4864
4864
|
var M;
|
|
4865
4865
|
const A = q.getAttribute("data-copy-value") || "", z = document.createTextNode(A);
|
|
4866
4866
|
(M = q.parentNode) == null || M.replaceChild(z, q);
|