@airpower/web 1.2.2 → 1.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.d.ts +1 -0
- package/dist/main.js +11 -0
- package/dist/util/ClipboardUtil.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -20057,6 +20057,16 @@ class AbstractCurdService extends AbstractService {
|
|
|
20057
20057
|
return entity;
|
|
20058
20058
|
}
|
|
20059
20059
|
}
|
|
20060
|
+
class ClipboardUtil {
|
|
20061
|
+
/**
|
|
20062
|
+
* ### 剪切板复制指定的内容
|
|
20063
|
+
* @param content 复制的内容
|
|
20064
|
+
*/
|
|
20065
|
+
static async copy(content) {
|
|
20066
|
+
const { toClipboard } = useClipboard();
|
|
20067
|
+
return toClipboard(content);
|
|
20068
|
+
}
|
|
20069
|
+
}
|
|
20060
20070
|
export {
|
|
20061
20071
|
_sfc_main$v as AButton,
|
|
20062
20072
|
ACall,
|
|
@@ -20088,6 +20098,7 @@ export {
|
|
|
20088
20098
|
AbstractCurdService,
|
|
20089
20099
|
AbstractService,
|
|
20090
20100
|
Alias,
|
|
20101
|
+
ClipboardUtil,
|
|
20091
20102
|
CryptoUtil,
|
|
20092
20103
|
DateTimeFormatter,
|
|
20093
20104
|
DateTimeType,
|