@opendesign-plus-test/plugins 0.0.1-rc.2 → 0.0.1-rc.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/dist/analytics/index.js +4 -1938
- package/dist/external-link-guard/adapters/dom.d.ts +2 -0
- package/dist/external-link-guard/adapters/window.d.ts +2 -0
- package/dist/external-link-guard/core/check.d.ts +12 -0
- package/dist/external-link-guard/core/confirm.d.ts +2 -0
- package/dist/external-link-guard/core/types.d.ts +23 -0
- package/dist/external-link-guard/index.d.ts +3 -0
- package/dist/external-link-guard/plugin.d.ts +4 -0
- package/dist/external-link-guard/ui/createConfirm.d.ts +2 -0
- package/dist/generate-lastmod-changefreq-Wk3kOITw.js +1375 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +270 -27
- package/dist/nuxt/sitemap/index.js +102 -0
- package/dist/nuxt/sitemap.d.ts +2 -0
- package/dist/plugin-lvjNLBe-.js +1942 -0
- package/dist/sitemap/generate-lastmod-changefreq.d.ts +22 -0
- package/package.json +8 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ExternalLinkGuardOptions {
|
|
2
|
+
/**
|
|
3
|
+
* 白名单域名(支持通配符 * 和 *.example.com)
|
|
4
|
+
* 默认为空数组(即无白名单)
|
|
5
|
+
*/
|
|
6
|
+
whitelist?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* 自定义提示消息(默认为原生 confirm 提示)
|
|
9
|
+
*/
|
|
10
|
+
message?: string;
|
|
11
|
+
/**
|
|
12
|
+
* 是否显示自定义弹窗
|
|
13
|
+
*/
|
|
14
|
+
showCustomConfirm?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* 语言
|
|
17
|
+
*/
|
|
18
|
+
lang?: 'zh' | 'en';
|
|
19
|
+
/**
|
|
20
|
+
* 社区名称
|
|
21
|
+
*/
|
|
22
|
+
community?: string;
|
|
23
|
+
}
|