@dazhicheng/ui 1.5.122 → 1.5.124
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/components/tt-form/src/hooks/useSelectCollapse.d.ts +2 -4
- package/dist/components/tt-form/src/types.d.ts +2 -2
- package/dist/components/tt-panel-select/src/components/PanelLeft.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/PanelRight.vue.d.ts +1 -1
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +1 -1
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +1 -1
- package/dist/hooks/useBudinessData.d.ts +0 -21
- package/dist/hooks/useFormSchemasLink.d.ts +21 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +10662 -11123
- package/package.json +3 -3
- package/dist/hooks/useElementScreenshot.d.ts +0 -27
- /package/dist/components/tt-panel-select/src/{props.d.ts → types.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dazhicheng/ui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.124",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"sortablejs": "^1.15.7",
|
|
49
49
|
"vee-validate": "^4.15.1",
|
|
50
50
|
"zod": "^4.3.6",
|
|
51
|
-
"@dazhicheng/
|
|
52
|
-
"@dazhicheng/
|
|
51
|
+
"@dazhicheng/utils": "1.3.34",
|
|
52
|
+
"@dazhicheng/hooks": "1.4.34"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@element-plus/icons-vue": "^2.3.2",
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { MaybeRefOrGetter } from 'vue';
|
|
2
|
-
type ScreenshotTarget = HTMLElement | null | undefined;
|
|
3
|
-
export interface ElementScreenshotOptions {
|
|
4
|
-
/** 输出格式,默认 png */
|
|
5
|
-
format?: "png" | "jpeg";
|
|
6
|
-
/** 图片质量,默认 1 */
|
|
7
|
-
quality?: number;
|
|
8
|
-
/** 渲染像素比,默认取设备像素比并限制到 3 */
|
|
9
|
-
pixelRatio?: number;
|
|
10
|
-
/** 背景色,默认白色 */
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
/** 是否为资源追加防缓存参数,默认 true */
|
|
13
|
-
cacheBust?: boolean;
|
|
14
|
-
/** 是否跳过字体加载等待,默认 false */
|
|
15
|
-
skipFontsReady?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* DOM 截图 Hook:支持导出 Blob 或 DataURL
|
|
19
|
-
*/
|
|
20
|
-
export declare function useElementScreenshot(): {
|
|
21
|
-
captureToBlob: (target: MaybeRefOrGetter<ScreenshotTarget>, options?: ElementScreenshotOptions) => Promise<Blob>;
|
|
22
|
-
captureToDataUrl: (target: MaybeRefOrGetter<ScreenshotTarget>, options?: ElementScreenshotOptions) => Promise<string>;
|
|
23
|
-
isCapturing: import('vue').Ref<boolean, boolean>;
|
|
24
|
-
lastError: import('vue').Ref<Error | null, Error | null>;
|
|
25
|
-
resetError: () => void;
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
File without changes
|