@bluealba/pae-ui-react-core 4.2.2-develop-1364 → 4.2.3
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 +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.systemjs.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4737,10 +4737,11 @@ const u1 = ({
|
|
|
4737
4737
|
}, p1 = () => {
|
|
4738
4738
|
const [e, t] = ae(!1);
|
|
4739
4739
|
return [e, async (r) => {
|
|
4740
|
+
var o;
|
|
4740
4741
|
try {
|
|
4741
|
-
return await navigator.clipboard.writeText(r), t(!0), setTimeout(() => t(!1), 2e3), !0;
|
|
4742
|
-
} catch (
|
|
4743
|
-
return console.error("Failed to copy text: ",
|
|
4742
|
+
return await ((o = navigator == null ? void 0 : navigator.clipboard) == null ? void 0 : o.writeText(r)), t(!0), setTimeout(() => t(!1), 2e3), !0;
|
|
4743
|
+
} catch (s) {
|
|
4744
|
+
return console.error("Failed to copy text: ", s), !1;
|
|
4744
4745
|
}
|
|
4745
4746
|
}];
|
|
4746
4747
|
}, m1 = "FieldGroup__Q2JCV", g1 = "FieldGroup__Q2JCV", v1 = "FieldGroup--horizontal__kpfL1", y1 = "FieldGroup--vertical__FLo-Q", ra = {
|