hzzt-kfb-slide 0.0.1 → 0.0.2
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/{annotateCVLkqudX.js → annotateBVEx-rya.js} +1 -1
- package/dist/components/{annotateCYZEG4by.js → annotateBqmjdjvz.js} +47 -47
- package/dist/components/{annotateDDGAeaL1.js → annotateCnEsVKZh.js} +1 -1
- package/dist/components/annotateSkfOL59Z.js +1 -0
- package/dist/components/arrowDownB5-0ALxZ.js +18 -0
- package/dist/components/arrowDownCPhRTVmw.js +1 -0
- package/dist/components/{arrowDOQZx-5i.js → arrowDu4kVbgE.js} +1 -1
- package/dist/components/{arrow6aTSOsV2.js → arrowK6nDwd7R.js} +1 -1
- package/dist/components/arrowLeftBpJAKYIU.js +18 -0
- package/dist/components/arrowLeftCU3T3r30.js +1 -0
- package/dist/components/arrowRightClWKIUuS.js +19 -0
- package/dist/components/arrowRightmZqySSay.js +1 -0
- package/dist/components/arrowUpBou4eMQV.js +18 -0
- package/dist/components/arrowUpt5FuC3FU.js +1 -0
- package/dist/components/channelC2Ri97Of.js +1 -0
- package/dist/components/channelCwUVeFpV.js +35 -0
- package/dist/components/{checkDT-yvng0.js → check0RJobaJ4.js} +1 -1
- package/dist/components/{checkCazbS-c6.js → checkDfZPSwE6.js} +1 -1
- package/dist/components/{configB5XxbCMh.js → configC6FKsyN9.js} +3 -3
- package/dist/components/{configOyvUhGVP.js → configCgTZWYHR.js} +1 -1
- package/dist/components/customB30kJ3DX.js +40 -0
- package/dist/components/customDiZEAr4q.js +1 -0
- package/dist/components/deleteBXoB6UTd.js +25 -0
- package/dist/components/deleteBaA_lSdx.js +1 -0
- package/dist/components/{dot1kt2iBMi.js → dotB8_2mIMY.js} +1 -1
- package/dist/components/{dotDKLgWFRD.js → dotCQaSpfEa.js} +29 -29
- package/dist/components/{dotBzY_NqlA.js → dotR12-Fs6I.js} +1 -1
- package/dist/components/dot_nBePo5G.js +1 -0
- package/dist/components/downloadDIRWuAsZ.js +1 -0
- package/dist/components/{downloadDmK-mUW4.js → downloadDSy6Lx_1.js} +19 -19
- package/dist/components/{downloadCshCNWAW.js → downloadL7bwn8r7.js} +1 -1
- package/dist/components/{downloadBWFjb3Fj.js → downloadZXx1by-2.js} +1 -1
- package/dist/components/{flipDA2I3h_e.js → flipBWJDgBtU.js} +1 -1
- package/dist/components/{flipDUjW55Vh.js → flipzeRs4WK2.js} +5 -5
- package/dist/components/{fullscreenDyMv4lzQ.js → fullscreenBHPtTX2M.js} +1 -1
- package/dist/components/fullscreenBNpKNuBF.js +1 -0
- package/dist/components/{fullscreenDUzPX17n.js → fullscreenBdMJB4PD.js} +1 -1
- package/dist/components/{fullscreenQqpG_OS1.js → fullscreenCNn3z9l_.js} +13 -13
- package/dist/components/indexBI9sOqLg.js +30 -0
- package/dist/components/indexCJCVhkFm.js +11137 -0
- package/dist/components/{infoBJj_CFzD.js → infoBltXncgb.js} +3 -3
- package/dist/components/{infoB_-hN7Fr.js → infoDtaFyr6c.js} +1 -1
- package/dist/components/level0fz2ixaa.js +35 -0
- package/dist/components/levelCdq1V4Yc.js +1 -0
- package/dist/components/{microscopeCJwTonZV.js → microscope4jUbJj-C.js} +1 -1
- package/dist/components/microscope6R__I7ur.js +1 -0
- package/dist/components/{microscopeBsAciWA9.js → microscope8r-_ZsCK.js} +1 -1
- package/dist/components/{microscopeQHJ_dU_L.js → microscopeCJSAsiIQ.js} +5 -5
- package/dist/components/moveCXbqdVKV.js +1 -0
- package/dist/components/{moveUEjGdGB8.js → moveDg8vDZ98.js} +1 -1
- package/dist/components/{moveDxSu5JyS.js → moveJ_q2x0EZ.js} +1 -1
- package/dist/components/movelpGiPnJ5.js +74 -0
- package/dist/components/{nextXkdsQP9z.js → nextC0vHwAp5.js} +3 -3
- package/dist/components/{nextUojG6t-0.js → nextCMCmaDTi.js} +1 -1
- package/dist/components/{prevhOkmcBJ2.js → prevBzXgP68U.js} +1 -1
- package/dist/components/{prevBjMmvSpY.js → prevuRCPUsG0.js} +3 -3
- package/dist/components/{processCigaxNDK.js → processBpBLPw3-.js} +1 -1
- package/dist/components/processC0vYuwue.js +1 -0
- package/dist/components/{processRSLucFP3.js → processD1EQvj3k.js} +1 -1
- package/dist/components/{processCaqwpK4F.js → processFuA_wiCf.js} +18 -18
- package/dist/components/{rotateBgPHUO92.js → rotateBb7eL6EN.js} +1 -1
- package/dist/components/rotateBtvqvLPE.js +1 -0
- package/dist/components/rotateEKM-FQDQ.js +130 -0
- package/dist/components/{rotateCIEP8gXK.js → rotatea8JeBygQ.js} +1 -1
- package/dist/components/{settingBwRgwtCV.js → settingBOwtgZSJ.js} +1 -1
- package/dist/components/{settingDEgu1o7Z.js → settingBf-9h3FW.js} +1 -1
- package/dist/components/settingC-mv7W3Q.js +1 -0
- package/dist/components/settingCPNMWWj9.js +147 -0
- package/dist/components/{tailor0e5PmiKv.js → tailorCwnyDUsI.js} +1 -1
- package/dist/components/{tailorA3InL_3L.js → tailorDGEwHYjf.js} +1 -1
- package/dist/components/useCommonCBKfFiqW.js +17 -0
- package/dist/components/useCommoney7551no.js +1 -0
- package/dist/components/{zoomCOaNFEUh.js → zoomDRrzKbUt.js} +2 -2
- package/dist/components/{zoomD7pWi-kc.js → zoomDc8tU8Zx.js} +1 -1
- package/dist/components/zoomInBD6Lg2YX.js +1 -0
- package/dist/components/zoomInCJguF0C1.js +30 -0
- package/dist/components/zoomOutDV9dPg1z.js +1 -0
- package/dist/components/zoomOutVGTP5fYm.js +32 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +4 -2
- package/types/components/KfbIcon.vue.d.ts +12 -0
- package/types/components/KfbImage.vue.d.ts +47 -0
- package/types/components/KfbSlideList.vue.d.ts +24 -0
- package/types/components/KfbToolConfig.vue.d.ts +13 -0
- package/types/components/KfbToolbox.vue.d.ts +22 -0
- package/types/components/KfbView/KfbChannel.vue.d.ts +16 -0
- package/types/components/KfbView/KfbKeyword.vue.d.ts +2 -0
- package/types/components/KfbView/KfbLabel.vue.d.ts +13 -0
- package/types/components/KfbView/KfbLevel.vue.d.ts +14 -0
- package/types/components/KfbView/KfbMenu.vue.d.ts +10 -0
- package/types/components/KfbView/KfbMicroscope.vue.d.ts +14 -0
- package/types/components/KfbView/index.d.ts +233 -0
- package/types/components/KfbView/index.vue.d.ts +270 -0
- package/types/components/KfbView/useDot.d.ts +3 -0
- package/types/components/KfbView/useHotmap.d.ts +38 -0
- package/types/components/KfbView/useImageProcess.d.ts +16 -0
- package/types/components/KfbView/useLabel.d.ts +85 -0
- package/types/components/KfbView/useMove.d.ts +9 -0
- package/types/components/KfbView/usePointer.d.ts +12 -0
- package/types/components/KfbView/useSync.d.ts +5 -0
- package/types/components/KfbView/useTailor.d.ts +7 -0
- package/types/components/ai/list.vue.d.ts +13 -0
- package/types/components/ai/useAi.d.ts +87 -0
- package/types/components/icon/annotate.vue.d.ts +2 -0
- package/types/components/icon/arrow.vue.d.ts +2 -0
- package/types/components/icon/arrowDown.vue.d.ts +2 -0
- package/types/components/icon/arrowLeft.vue.d.ts +2 -0
- package/types/components/icon/arrowRight.vue.d.ts +2 -0
- package/types/components/icon/arrowUp.vue.d.ts +2 -0
- package/types/components/icon/channel.vue.d.ts +2 -0
- package/types/components/icon/check.vue.d.ts +2 -0
- package/types/components/icon/config.vue.d.ts +2 -0
- package/types/components/icon/delete.vue.d.ts +2 -0
- package/types/components/icon/dot.vue.d.ts +2 -0
- package/types/components/icon/download.vue.d.ts +2 -0
- package/types/components/icon/flip.vue.d.ts +2 -0
- package/types/components/icon/fullscreen.vue.d.ts +2 -0
- package/types/components/icon/index.d.ts +5 -0
- package/types/components/icon/info.vue.d.ts +2 -0
- package/types/components/icon/level.vue.d.ts +2 -0
- package/types/components/icon/list.vue.d.ts +2 -0
- package/types/components/icon/menu.vue.d.ts +2 -0
- package/types/components/icon/microscope.vue.d.ts +2 -0
- package/types/components/icon/move.vue.d.ts +2 -0
- package/types/components/icon/next.vue.d.ts +2 -0
- package/types/components/icon/prev.vue.d.ts +2 -0
- package/types/components/icon/process.vue.d.ts +2 -0
- package/types/components/icon/rotate.vue.d.ts +2 -0
- package/types/components/icon/setting.vue.d.ts +2 -0
- package/types/components/icon/tailor.vue.d.ts +2 -0
- package/types/components/icon/zoomIn.vue.d.ts +2 -0
- package/types/components/toolbox/annotate.vue.d.ts +10 -0
- package/types/components/toolbox/custom.vue.d.ts +20 -0
- package/types/components/toolbox/dot.vue.d.ts +10 -0
- package/types/components/toolbox/download.vue.d.ts +10 -0
- package/types/components/toolbox/fullscreen.vue.d.ts +10 -0
- package/types/components/toolbox/instances.d.ts +26 -0
- package/types/components/toolbox/microscope.vue.d.ts +15 -0
- package/types/components/toolbox/move.vue.d.ts +10 -0
- package/types/components/toolbox/process.vue.d.ts +11 -0
- package/types/components/toolbox/rotate.vue.d.ts +6 -0
- package/types/components/toolbox/setting.vue.d.ts +10 -0
- package/types/components/toolbox/useCommon.d.ts +9 -0
- package/types/components/toolbox/zoom.vue.d.ts +6 -0
- package/types/index.d.ts +13 -0
- package/types/index.vue.d.ts +48 -0
- package/types/instances.d.ts +67 -0
- package/types/plugins/i18n.d.ts +6 -0
- package/dist/components/annotateCX9GkmOg.js +0 -1
- package/dist/components/configB7FH_Li-.js +0 -1
- package/dist/components/configCPI2rG9d.js +0 -40
- package/dist/components/custom-mCr5M_c.js +0 -1
- package/dist/components/customc4LeZve5.js +0 -40
- package/dist/components/dotB1Nn2uO0.js +0 -1
- package/dist/components/download_UT5bsTk.js +0 -1
- package/dist/components/flipCbiBH_o3.js +0 -1
- package/dist/components/flipDUZT4wIY.js +0 -40
- package/dist/components/fullscreenD6c_uo6X.js +0 -1
- package/dist/components/indexDvexHnyj.js +0 -10651
- package/dist/components/indexNnjbVZ_m.js +0 -30
- package/dist/components/infoBNm69fP0.js +0 -41
- package/dist/components/infoDvOItrdO.js +0 -1
- package/dist/components/microscopeDQl6TocT.js +0 -1
- package/dist/components/moveBzYl-c4_.js +0 -1
- package/dist/components/moveCe8MSGn0.js +0 -74
- package/dist/components/nextCGxHdIok.js +0 -1
- package/dist/components/nextDeuoTRY7.js +0 -40
- package/dist/components/prevBrrsxCoK.js +0 -40
- package/dist/components/prevDCKFCMZw.js +0 -1
- package/dist/components/processCUjiU4DT.js +0 -1
- package/dist/components/rotateCt5rJEBm.js +0 -1
- package/dist/components/rotateWiDuyX22.js +0 -130
- package/dist/components/setting8L58q_d4.js +0 -134
- package/dist/components/settingCgwUdss3.js +0 -1
- package/dist/components/tailorBB_gVLzK.js +0 -40
- package/dist/components/tailorCeILe_eG.js +0 -1
- package/dist/components/useCommonDK4IjSxd.js +0 -17
- package/dist/components/useCommon_CFgwTZy.js +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DigitalSlide } from "@/instances.ts";
|
|
2
|
+
import { Label } from "@/components/KfbView/index.ts";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
data: Label[];
|
|
5
|
+
slide: DigitalSlide;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {
|
|
8
|
+
labelList: import("vue").ComputedRef<Label[]>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
data: Label[];
|
|
11
|
+
slide: DigitalSlide;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import { DigitalSlide, Props } from "@/instances.ts";
|
|
3
|
+
import { Label } from "@/components/KfbView/index.ts";
|
|
4
|
+
export declare function useAi(props: Props, slide: Ref<DigitalSlide>): {
|
|
5
|
+
analysisClass: import("vue").ComputedRef<string>;
|
|
6
|
+
aiLabelList: Ref<{
|
|
7
|
+
id?: number | undefined;
|
|
8
|
+
parent_id?: number | undefined;
|
|
9
|
+
lineWidth?: number | undefined;
|
|
10
|
+
strokeStyle?: string | undefined;
|
|
11
|
+
fillStyle?: string | undefined;
|
|
12
|
+
fontSize?: number | undefined;
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
text?: string | undefined;
|
|
15
|
+
angle?: number | undefined;
|
|
16
|
+
measure?: boolean | undefined;
|
|
17
|
+
points?: {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
minus?: ((point: import("@/components/KfbView/index.ts").Point) => import("@/components/KfbView/index.ts").Point) | undefined;
|
|
21
|
+
clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
|
|
22
|
+
}[] | undefined;
|
|
23
|
+
tool?: string | undefined;
|
|
24
|
+
src?: string | undefined;
|
|
25
|
+
scale?: number | undefined;
|
|
26
|
+
region?: {
|
|
27
|
+
x: number;
|
|
28
|
+
y: number;
|
|
29
|
+
width: number;
|
|
30
|
+
height: number;
|
|
31
|
+
} | undefined;
|
|
32
|
+
move?: boolean | undefined;
|
|
33
|
+
resize?: boolean | undefined;
|
|
34
|
+
isROI?: boolean | undefined;
|
|
35
|
+
isClose?: boolean | undefined;
|
|
36
|
+
select?: boolean | undefined;
|
|
37
|
+
show?: boolean | undefined;
|
|
38
|
+
is_ai?: boolean | undefined;
|
|
39
|
+
custom?: boolean | undefined;
|
|
40
|
+
cls?: string | undefined;
|
|
41
|
+
score?: number | undefined;
|
|
42
|
+
imageUrl?: string | undefined;
|
|
43
|
+
__other__: any;
|
|
44
|
+
}[], Label[] | {
|
|
45
|
+
id?: number | undefined;
|
|
46
|
+
parent_id?: number | undefined;
|
|
47
|
+
lineWidth?: number | undefined;
|
|
48
|
+
strokeStyle?: string | undefined;
|
|
49
|
+
fillStyle?: string | undefined;
|
|
50
|
+
fontSize?: number | undefined;
|
|
51
|
+
description?: string | undefined;
|
|
52
|
+
text?: string | undefined;
|
|
53
|
+
angle?: number | undefined;
|
|
54
|
+
measure?: boolean | undefined;
|
|
55
|
+
points?: {
|
|
56
|
+
x: number;
|
|
57
|
+
y: number;
|
|
58
|
+
minus?: ((point: import("@/components/KfbView/index.ts").Point) => import("@/components/KfbView/index.ts").Point) | undefined;
|
|
59
|
+
clone?: (() => import("@/components/KfbView/index.ts").Point) | undefined;
|
|
60
|
+
}[] | undefined;
|
|
61
|
+
tool?: string | undefined;
|
|
62
|
+
src?: string | undefined;
|
|
63
|
+
scale?: number | undefined;
|
|
64
|
+
region?: {
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
width: number;
|
|
68
|
+
height: number;
|
|
69
|
+
} | undefined;
|
|
70
|
+
move?: boolean | undefined;
|
|
71
|
+
resize?: boolean | undefined;
|
|
72
|
+
isROI?: boolean | undefined;
|
|
73
|
+
isClose?: boolean | undefined;
|
|
74
|
+
select?: boolean | undefined;
|
|
75
|
+
show?: boolean | undefined;
|
|
76
|
+
is_ai?: boolean | undefined;
|
|
77
|
+
custom?: boolean | undefined;
|
|
78
|
+
cls?: string | undefined;
|
|
79
|
+
score?: number | undefined;
|
|
80
|
+
imageUrl?: string | undefined;
|
|
81
|
+
__other__: any;
|
|
82
|
+
}[]>;
|
|
83
|
+
enableAi: Ref<boolean, boolean>;
|
|
84
|
+
enableIqc: Ref<boolean, boolean>;
|
|
85
|
+
toggleIqc: () => void;
|
|
86
|
+
toggleAi: () => void;
|
|
87
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare var __VLS_5: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_5) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
tool: (action: string, value?: any) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
9
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
size: number;
|
|
12
|
+
isPrevent: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from '@/components/toolbox/instances.js';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
export interface PropsInterface {
|
|
3
|
+
size?: number;
|
|
4
|
+
text?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
component?: Component;
|
|
7
|
+
isPrevent?: boolean;
|
|
8
|
+
callback?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const defaultProps: {
|
|
11
|
+
size: number;
|
|
12
|
+
isPrevent: boolean;
|
|
13
|
+
};
|
|
14
|
+
export interface Process {
|
|
15
|
+
r: number;
|
|
16
|
+
g: number;
|
|
17
|
+
b: number;
|
|
18
|
+
c: number;
|
|
19
|
+
s: number;
|
|
20
|
+
l: number;
|
|
21
|
+
ga: number;
|
|
22
|
+
}
|
|
23
|
+
export interface ProcessProps extends PropsInterface {
|
|
24
|
+
process?: Process;
|
|
25
|
+
}
|
|
26
|
+
export declare const DEFAULT_PROCESS: Process;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
import { Microscope } from "@/components/KfbView/index.ts";
|
|
3
|
+
interface Props extends PropsInterface {
|
|
4
|
+
scope?: Microscope;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
tool: (action: string, value?: any) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
size: number;
|
|
12
|
+
isPrevent: boolean;
|
|
13
|
+
scope: Microscope;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ProcessProps, Process } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<ProcessProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<ProcessProps> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
process: Process;
|
|
9
|
+
isPrevent: boolean;
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PropsInterface } from "@/components/toolbox/instances.ts";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{}>, {
|
|
3
|
+
size: number;
|
|
4
|
+
isPrevent: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsInterface } from '@/components/toolbox/instances.js';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<PropsInterface, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
tool: (action: string, value?: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<PropsInterface> & Readonly<{
|
|
5
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: number;
|
|
8
|
+
isPrevent: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
+
tool: (action: string, value?: any) => any;
|
|
3
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
export default _default;
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import type { I18n, Composer } from 'vue-i18n';
|
|
3
|
+
import HzztKfbSlide from './index.vue';
|
|
4
|
+
import HzztKfbView from './components/KfbView/index.vue';
|
|
5
|
+
import HzztKfbToolbox from './components/KfbToolbox.vue';
|
|
6
|
+
export interface InstallOptions {
|
|
7
|
+
i18n?: I18n | Composer;
|
|
8
|
+
}
|
|
9
|
+
export { HzztKfbSlide, HzztKfbView, HzztKfbToolbox, };
|
|
10
|
+
declare const _default: {
|
|
11
|
+
install: (app: App, options?: InstallOptions) => void;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DigitalSlide, Props } from "@/instances.ts";
|
|
2
|
+
type __VLS_Props = Props;
|
|
3
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
4
|
+
'index'?: number;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_8: {}, __VLS_34: {}, __VLS_48: {
|
|
7
|
+
slide: DigitalSlide;
|
|
8
|
+
}, __VLS_63: {
|
|
9
|
+
slide: DigitalSlide;
|
|
10
|
+
}, __VLS_74: {
|
|
11
|
+
slide: DigitalSlide;
|
|
12
|
+
}, __VLS_85: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
left?: (props: typeof __VLS_8) => any;
|
|
15
|
+
} & {
|
|
16
|
+
right?: (props: typeof __VLS_34) => any;
|
|
17
|
+
} & {
|
|
18
|
+
list?: (props: typeof __VLS_48) => any;
|
|
19
|
+
} & {
|
|
20
|
+
kfb?: (props: typeof __VLS_63) => any;
|
|
21
|
+
} & {
|
|
22
|
+
kfb?: (props: typeof __VLS_74) => any;
|
|
23
|
+
} & {
|
|
24
|
+
default?: (props: typeof __VLS_85) => any;
|
|
25
|
+
};
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
27
|
+
divide: import("vue").Ref<boolean, boolean>;
|
|
28
|
+
slide: import("vue").ComputedRef<DigitalSlide>;
|
|
29
|
+
enableAI: import("vue").ComputedRef<number | false>;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"update:index": (value: number) => any;
|
|
32
|
+
} & {
|
|
33
|
+
tool: (action: string, value?: any) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
35
|
+
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
36
|
+
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
slides: DigitalSlide[];
|
|
39
|
+
menus: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
40
|
+
showList: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { VNode } from "vue";
|
|
2
|
+
import { FileInterface, KfbProps, Label, Menu, Microscope, TileParams } from "@/components/KfbView/index.ts";
|
|
3
|
+
import { Process } from "@/components/toolbox/instances.ts";
|
|
4
|
+
export type ToolboxMenu = {
|
|
5
|
+
name: string;
|
|
6
|
+
props?: Record<string, unknown>;
|
|
7
|
+
slots?: Record<string, (...args: any[]) => VNode | string | null | undefined>;
|
|
8
|
+
show?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export interface DigitalSlide {
|
|
11
|
+
id?: number;
|
|
12
|
+
file?: string;
|
|
13
|
+
labelImg?: string;
|
|
14
|
+
previewImg?: string;
|
|
15
|
+
check?: boolean;
|
|
16
|
+
name?: string;
|
|
17
|
+
read?: boolean;
|
|
18
|
+
score?: string;
|
|
19
|
+
gradeColor?: string;
|
|
20
|
+
grade?: number;
|
|
21
|
+
analysis?: {
|
|
22
|
+
id: number;
|
|
23
|
+
class: string;
|
|
24
|
+
result: string;
|
|
25
|
+
};
|
|
26
|
+
slide_id?: number;
|
|
27
|
+
pathology_id?: number;
|
|
28
|
+
pathology_number?: string;
|
|
29
|
+
paraffin_block_number?: string;
|
|
30
|
+
reagent?: string;
|
|
31
|
+
angle?: number;
|
|
32
|
+
hotmap?: {
|
|
33
|
+
type: string;
|
|
34
|
+
file: string;
|
|
35
|
+
info?: [];
|
|
36
|
+
roi?: [];
|
|
37
|
+
};
|
|
38
|
+
children?: string[];
|
|
39
|
+
}
|
|
40
|
+
export interface Kfb {
|
|
41
|
+
fileHandle?: (slide: DigitalSlide) => Promise<FileInterface>;
|
|
42
|
+
labelHandle?: (type: string, slide: DigitalSlide, data?: any) => Promise<Label[]>;
|
|
43
|
+
navigatorHandle?: (type: string, slide: DigitalSlide, data?: any) => Promise<Label[]>;
|
|
44
|
+
tileHandle?: (params: TileParams) => string;
|
|
45
|
+
pathologyHandle: (slide: DigitalSlide) => Promise<boolean>;
|
|
46
|
+
options?: Record<string, any>;
|
|
47
|
+
process?: Process;
|
|
48
|
+
microscope?: Microscope;
|
|
49
|
+
menus?: Menu[];
|
|
50
|
+
hotmap?: boolean;
|
|
51
|
+
handle?: (slide: DigitalSlide, options: KfbProps) => KfbProps;
|
|
52
|
+
}
|
|
53
|
+
export interface Props {
|
|
54
|
+
menus: (string | ToolboxMenu)[];
|
|
55
|
+
kfb: Kfb;
|
|
56
|
+
slides: DigitalSlide[];
|
|
57
|
+
ai: {
|
|
58
|
+
enable: boolean;
|
|
59
|
+
default?: boolean;
|
|
60
|
+
handle: (type: string, slide: DigitalSlide) => Promise<Label[]>;
|
|
61
|
+
};
|
|
62
|
+
teleport?: boolean;
|
|
63
|
+
showList?: boolean;
|
|
64
|
+
}
|
|
65
|
+
export interface Emits {
|
|
66
|
+
(e: 'tool', action: string, value?: any): void;
|
|
67
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexNnjbVZ_m.js"),x=require("./useCommon_CFgwTZy.js"),o=require("element-plus"),v=require("./annotateCVLkqudX.js"),C=["onClick"],h=["src","alt"],b=e.defineComponent({name:"ToolAnnotate",__name:"annotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},t.defaultProps),emits:["tool"],setup(c,{emit:i}){const u=c,d=i,{t:l,textClass:f}=x.useCommon(u),s={line:t.line,arrow:t.arrow,bilateral:t.bilateral,rectangle:t.rectangle,ellipse:t.ellipse,polygon:t.polygon,star:t.star,flag:t.flag,dot:t.dot,font:t.font},p=Object.keys(s).map(n=>({name:n,src:s[n]})),a=e.ref(!1);function m(n){a.value=!1,d("tool","annotate",{tool:n.substring(0,1).toLocaleUpperCase()+n.substring(1)})}function g(){a.value=!a.value}return(n,E)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:a.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"220px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:g},[e.createVNode(e.unref(o.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(v.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(l)(n.text||"标注")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never",header:e.unref(l)("标注工具"),"body-style":{padding:"8px"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("按ESC可退出标注模式")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("点击标注按Delete键可删除标注")),1)]),_:1})]),e.createVNode(e.unref(o.ElRow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),(r,_)=>(e.openBlock(),e.createBlock(e.unref(o.ElCol),{key:_,class:"flex justify-content-center align-items-center",span:8},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-annotate-img",onClick:k=>m(r.name)},[e.createElementVNode("img",{style:{width:"100%"},src:r.src,alt:r.name},null,8,h)],8,C)]),_:2},1024))),128))]),_:1})]),_:1},8,["header"])]),_:1},8,["visible"]))}}),y=t._export_sfc(b,[["__scopeId","data-v-55085851"]]);exports.default=y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./configOyvUhGVP.js"),m=require("./indexNnjbVZ_m.js"),f=require("./useCommon_CFgwTZy.js"),d=e.defineComponent({name:"ToolConfig",__name:"config",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(t,{emit:n}){const s=t,c=n,{t:i,textClass:r}=f.useCommon(s),l=()=>{c("tool","config")};return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:l},[e.createVNode(e.unref(a.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r))},e.toDisplayString(e.unref(i)(o.text||"配置")),3)]))}});exports.default=d;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, mergeDefaults as p, createElementBlock as f, openBlock as u, createVNode as t, createElementVNode as d, unref as o, withCtx as z, normalizeClass as C, toDisplayString as _ } from "vue";
|
|
2
|
-
import { ElIcon as g } from "element-plus";
|
|
3
|
-
import k from "./configB5XxbCMh.js";
|
|
4
|
-
import { d as x } from "./indexDvexHnyj.js";
|
|
5
|
-
import { u as h } from "./useCommonDK4IjSxd.js";
|
|
6
|
-
const N = /* @__PURE__ */ c({
|
|
7
|
-
name: "ToolConfig",
|
|
8
|
-
__name: "config",
|
|
9
|
-
props: /* @__PURE__ */ p({
|
|
10
|
-
size: {},
|
|
11
|
-
text: {},
|
|
12
|
-
name: {},
|
|
13
|
-
component: {},
|
|
14
|
-
isPrevent: { type: Boolean },
|
|
15
|
-
callback: { type: Function }
|
|
16
|
-
}, x),
|
|
17
|
-
emits: ["tool"],
|
|
18
|
-
setup(n, { emit: s }) {
|
|
19
|
-
const i = n, r = s, { t: a, textClass: l } = h(i), m = () => {
|
|
20
|
-
r("tool", "config");
|
|
21
|
-
};
|
|
22
|
-
return (e, b) => (u(), f("div", {
|
|
23
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
24
|
-
onClick: m
|
|
25
|
-
}, [
|
|
26
|
-
t(o(g), { size: e.size }, {
|
|
27
|
-
default: z(() => [
|
|
28
|
-
t(k)
|
|
29
|
-
]),
|
|
30
|
-
_: 1
|
|
31
|
-
}, 8, ["size"]),
|
|
32
|
-
d("div", {
|
|
33
|
-
class: C(o(l))
|
|
34
|
-
}, _(o(a)(e.text || "配置")), 3)
|
|
35
|
-
]));
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
N as default
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./indexNnjbVZ_m.js"),u=require("./useCommon_CFgwTZy.js"),f=e.defineComponent({name:"ToolCustom",__name:"custom",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(l,{emit:s}){const t=l,r=s,{t:c,textClass:a}=u.useCommon(t),n=e.useTemplateRef("toolRef");function i(){r("tool",t.name||"",n.value)}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"toolRef",ref:n,class:"hzzt-kfb-toolbox__icon",onClick:i},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.component),{size:o.size},null,8,["size"])),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a))},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(c)(o.text||" ")),1)])],2)],512))}});exports.default=f;
|