hzzt-kfb-slide 0.1.1 → 0.1.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/{annotateDa-PLWsY.js → annotateCMJGbBLj.js} +1 -1
- package/dist/components/{annotateCLaAaHN_.js → annotateCgNFZFGe.js} +1 -1
- package/dist/components/{annotateB3lFxMEo.js → annotateDJFMTHXi.js} +3 -3
- package/dist/components/{annotateB8zoDimf.js → annotatejOG4ozNZ.js} +1 -1
- package/dist/components/{arrowDjWPvUqv.js → arrowBD2-xgIB.js} +1 -1
- package/dist/components/{arrowCircleCiliVlpQ.js → arrowCircleCAfdy8wW.js} +1 -1
- package/dist/components/{arrowCircleD-pOtQNL.js → arrowCircleCf_nzJuW.js} +1 -1
- package/dist/components/{arrowCmICz6PS.js → arrowD30w6-6J.js} +1 -1
- package/dist/components/{arrowDownCLuKnhgC.js → arrowDownDbjXJahP.js} +1 -1
- package/dist/components/{arrowDownBiQp1p0i.js → arrowDownmXw2RWeL.js} +1 -1
- package/dist/components/{arrowLeftCBSwbPg8.js → arrowLeftBwpF3loy.js} +1 -1
- package/dist/components/{arrowLeftC5Xn0ZKF.js → arrowLeftRbPGsfKL.js} +1 -1
- package/dist/components/{arrowRightC-gQEqoF.js → arrowRightBwD1sc8e.js} +1 -1
- package/dist/components/{arrowRightDxs4lV9Z.js → arrowRightD3iq1e3c.js} +1 -1
- package/dist/components/{arrowUpBfRL3fhE.js → arrowUpB1vQJOJG.js} +1 -1
- package/dist/components/{arrowUpCs2jBl9R.js → arrowUpB5adayIQ.js} +1 -1
- package/dist/components/{bilateral1NHhlA6z.js → bilateralBKbIltDO.js} +1 -1
- package/dist/components/{bilateralxnj69N0V.js → bilateralBV_xkHx0.js} +1 -1
- package/dist/components/{channelChBho3_o.js → channelB1SrYJDW.js} +1 -1
- package/dist/components/{channelD9KcPJ4H.js → channelH1BojppK.js} +1 -1
- package/dist/components/{checkDJiCkpCP.js → checkBD6gH0q_.js} +1 -1
- package/dist/components/{checkPjfQU2X-.js → checkBY8nYbfd.js} +1 -1
- package/dist/components/{configBoVZz6t_.js → configBcEj_8AB.js} +1 -1
- package/dist/components/{configBVvJPXEW.js → configCLkyNyEP.js} +1 -1
- package/dist/components/{customCuFCEEmf.js → customBdoSDhjH.js} +1 -1
- package/dist/components/{customBqUoJeja.js → customDNmdytIO.js} +1 -1
- package/dist/components/{deleteBK4VaII7.js → deleteCCGds9UX.js} +1 -1
- package/dist/components/{deleteBbL8JyJH.js → deleteDG___Ydm.js} +1 -1
- package/dist/components/{dotCZFwvsGJ.js → dotBWzkPfEe.js} +4 -4
- package/dist/components/{dotCZmc5XHw.js → dotCAK1gSEZ.js} +1 -1
- package/dist/components/{dotDf3m-ZtS.js → dotCog1e5Lr.js} +1 -1
- package/dist/components/{dotDdB7hEiU.js → dotDUHWjeT6.js} +1 -1
- package/dist/components/{dotD0RUyAOF.js → dotDeD0p4h3.js} +1 -1
- package/dist/components/{dotC3ho5Naw.js → dotDhfq1ngT.js} +1 -1
- package/dist/components/{downloadC9SBQxWS.js → downloadBZfVn0zc.js} +1 -1
- package/dist/components/{downloadBPbhAwsC.js → downloadBd_Cujel.js} +1 -1
- package/dist/components/{downloadi5H6HjoE.js → downloadBmt1pNrx.js} +1 -1
- package/dist/components/{downloadGVNhdAbp.js → downloadD849T2y9.js} +3 -3
- package/dist/components/{ellipseBBwG5L6y.js → ellipseDQW2p8r2.js} +1 -1
- package/dist/components/{ellipseGq_BKpIA.js → ellipsei0WMn5o1.js} +1 -1
- package/dist/components/{expandLeftCWohfvHq.js → expandLeftBv_okPlY.js} +1 -1
- package/dist/components/{expandLeftBVBh6iI1.js → expandLeftDmUFkh2d.js} +1 -1
- package/dist/components/{expandRight-KeLeoCw.js → expandRightBsKPjotO.js} +1 -1
- package/dist/components/{expandRightCuU0Ktmj.js → expandRightDs1uCp6s.js} +1 -1
- package/dist/components/{flagDNqPx5NT.js → flagBKJwm8DA.js} +1 -1
- package/dist/components/{flagCNdHcaOr.js → flagC4kAWLMv.js} +1 -1
- package/dist/components/{flipBJRiEs27.js → flipDVfGi2qG.js} +1 -1
- package/dist/components/{flip2i6pDnun.js → fliprd-6cbtm.js} +1 -1
- package/dist/components/{fontCsdG88OT.js → fontBhLyULEE.js} +1 -1
- package/dist/components/{fontBvWU1Zty.js → fontPyP8n1pb.js} +1 -1
- package/dist/components/{fullscreenCfE6L14I.js → fullscreenBT9qKvk2.js} +1 -1
- package/dist/components/{fullscreenilcy7g6R.js → fullscreenBjnoUXEr.js} +2 -2
- package/dist/components/{fullscreenkPWhn6hX.js → fullscreenC0sJWM1b.js} +1 -1
- package/dist/components/{fullscreenB7VOC9nF.js → fullscreenDGVwmkgF.js} +1 -1
- package/dist/components/index3jvwVv4H.js +4 -0
- package/dist/components/indexCNC1g25E.js +3092 -0
- package/dist/components/{infoDD1pEfcw.js → infoDHGaQ92c.js} +1 -1
- package/dist/components/{infoBKGJei_W.js → infoDniQzKU5.js} +1 -1
- package/dist/components/{levelCkmf3f6J.js → levelCWEo4E8o.js} +1 -1
- package/dist/components/{level0LJ8aEMv.js → levelDged-DD8.js} +1 -1
- package/dist/components/lineBNwqZbqu.js +11 -0
- package/dist/components/{lineCFav17ki.js → lineCAnsgtDB.js} +1 -1
- package/dist/components/linej48TZYKp.js +1 -0
- package/dist/components/{linerlsB9JL7.js → linenA1Sbb0z.js} +1 -1
- package/dist/components/{microscopeCq6kF8bY.js → microscopeCXgA1RNg.js} +1 -1
- package/dist/components/{microscopeCLmgCovH.js → microscopeDxei39qJ.js} +3 -3
- package/dist/components/{microscopeBBz0yD7E.js → microscopeI_67Zvi_.js} +1 -1
- package/dist/components/{microscopeCgg0Ym67.js → microscopeM3B9tem3.js} +1 -1
- package/dist/components/{moveB41ZcoNK.js → moveB-6xS2dU.js} +1 -1
- package/dist/components/{moveBGpoQ1-D.js → moveB0MjN8ns.js} +3 -3
- package/dist/components/{moveB8_22tie.js → moveCyESuupp.js} +1 -1
- package/dist/components/{moveCkVAoMeQ.js → moveDWuEFnzY.js} +1 -1
- package/dist/components/{nextDRedCGZe.js → nextBP6jYEfR.js} +1 -1
- package/dist/components/{nextD5Z4bZnT.js → nextCmL8I293.js} +1 -1
- package/dist/components/{polygonCp9oWQ3l.js → polygonDAJzvnQG.js} +1 -1
- package/dist/components/{polygongm9CHAwB.js → polygondICyAF92.js} +1 -1
- package/dist/components/{prevgL7_Qz0_.js → prevDADkZRjt.js} +1 -1
- package/dist/components/{prevCPX6EC1A.js → prevGutMlHdh.js} +1 -1
- package/dist/components/{processDgdAEClC.js → processBJa4jfKx.js} +1 -1
- package/dist/components/{processMgvhvblB.js → processD6VCGhpy.js} +1 -1
- package/dist/components/{processBAq39ThA.js → processD8Wa4hOW.js} +1 -1
- package/dist/components/{processnL7rVPu0.js → processDprLKUHQ.js} +3 -3
- package/dist/components/{rectangleqZeguu3p.js → rectangleC08rVGjN.js} +1 -1
- package/dist/components/{rectangleDDWXtsEU.js → rectangleDUCBCBPE.js} +1 -1
- package/dist/components/{rotateb49G-Q8z.js → rotateB4aIQveS.js} +1 -1
- package/dist/components/{rotateCEBfde_V.js → rotateB7TupsDC.js} +4 -4
- package/dist/components/{rotate7bzyW-OB.js → rotateCiAoG6uz.js} +1 -1
- package/dist/components/{rotateCUUn3DGL.js → rotateDcAKg0Ly.js} +1 -1
- package/dist/components/{settingB3EwckOT.js → settingBo2jK0Dr.js} +1 -1
- package/dist/components/{settingh3PMi-mk.js → settingC52gqdUZ.js} +1 -1
- package/dist/components/{settingDFygEEDe.js → settingCPRrk8ML.js} +1 -1
- package/dist/components/{settingDWDMPbdO.js → settingC_K-RcOZ.js} +3 -3
- package/dist/components/{starBXSy-NoI.js → starCWnNtX4T.js} +1 -1
- package/dist/components/{starCx7mYpn2.js → starD4ECjoeD.js} +1 -1
- package/dist/components/{tailorBzcPtJBg.js → tailorB4WI6Umx.js} +1 -1
- package/dist/components/{tailorCvYJnrbK.js → tailormZu5rnh-.js} +1 -1
- package/dist/components/useCommonBTTzsGT6.js +1 -0
- package/dist/components/{useCommonBT6Pfwp3.js → useCommoncwGp0w86.js} +2 -2
- package/dist/components/{voiceDJghWoc3.js → voiceCE58JuHB.js} +1 -1
- package/dist/components/{voiceCCipOfTa.js → voiceCykEd0Hn.js} +1 -1
- package/dist/components/{zoomDePdFm9E.js → zoomDT5Z2mH5.js} +1 -1
- package/dist/components/{zoomqK-uW5RK.js → zoomDoOddf7F.js} +1 -1
- package/dist/components/{zoomInDzq-DbIa.js → zoomInCQ1hHcFV.js} +1 -1
- package/dist/components/{zoomInC4xFE1uN.js → zoomInDIq1CbWp.js} +1 -1
- package/dist/components/{zoomOutDnt66Lz5.js → zoomOutDMbifalR.js} +1 -1
- package/dist/components/{zoomOutBQz07s5R.js → zoomOutvL8Qk5cc.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +2 -1
- package/package.json +8 -4
- package/types/{index.vue.d.ts → components/HzztKfbSlide.vue.d.ts} +3 -2
- package/types/components/KfbImage.vue.d.ts +1 -1
- package/types/components/KfbToolConfig.vue.d.ts +0 -3
- package/types/components/KfbView/index.d.ts +8 -9
- package/types/components/KfbView/useHotmap.d.ts +3 -3
- package/types/components/ai/list.vue.d.ts +2 -3
- package/types/components/ai/useAi.d.ts +4 -2
- package/types/components/ai/useAiResult.d.ts +2 -2
- package/types/components/icon/zoomOut.vue.d.ts +2 -0
- package/types/components/toolbox/line.vue.d.ts +2 -0
- package/types/const/index.d.ts +1 -0
- package/types/index.d.ts +4 -950
- package/types/instances.d.ts +19 -13
- package/types/plugins/index.d.ts +10 -0
- package/dist/components/indexBk8PrnQT.js +0 -3021
- package/dist/components/indexh_hCt-Tc.js +0 -4
- package/dist/components/lineBIoJpzbf.js +0 -12
- package/dist/components/lineCzuS7Giu.js +0 -1
- package/dist/components/useCommonBRWUFIsx.js +0 -1
package/types/index.d.ts
CHANGED
|
@@ -1,953 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import HzztKfbSlide from
|
|
3
|
-
|
|
4
|
-
import HzztKfbToolbox from './components/KfbToolbox.vue';
|
|
5
|
-
import { HzztI18n } from "@/instances.ts";
|
|
6
|
-
export interface InstallOptions {
|
|
7
|
-
i18n?: HzztI18n;
|
|
8
|
-
}
|
|
9
|
-
export { HzztKfbSlide, HzztKfbView, HzztKfbToolbox, };
|
|
1
|
+
import { I18N_INJECT_KEY } from "@/const";
|
|
2
|
+
import { HzztKfbSlide, HzztKfbView, HzztKfbToolbox } from "@/plugins";
|
|
3
|
+
export { HzztKfbSlide, HzztKfbView, HzztKfbToolbox, I18N_INJECT_KEY, };
|
|
10
4
|
declare const _default: {
|
|
11
|
-
install: (app: App, options?: InstallOptions) => void;
|
|
12
|
-
HzztKfbSlide: {
|
|
13
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@/instances.ts").Props & {
|
|
14
|
-
index?: number;
|
|
15
|
-
}> & Readonly<{
|
|
16
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
17
|
-
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
divide: import("vue").Ref<boolean, boolean>;
|
|
20
|
-
slide: import("vue").ComputedRef<import("@/instances.ts").DigitalSlide>;
|
|
21
|
-
kfbViewRef: import("vue").ComputedRef<any>;
|
|
22
|
-
jumpToSlide: (index: number) => void;
|
|
23
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
24
|
-
jumpToPosition: (label: import("./components/KfbView/index.ts").Label, zoom?: any) => void;
|
|
25
|
-
enableAI: import("vue").ComputedRef<number | false>;
|
|
26
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:index": (value: number) => any;
|
|
28
|
-
} & {
|
|
29
|
-
tool: (action: string, value?: any) => any;
|
|
30
|
-
}, import("vue").PublicProps, {
|
|
31
|
-
teleport: boolean;
|
|
32
|
-
slides: import("@/instances.ts").DigitalSlide[];
|
|
33
|
-
menus: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
34
|
-
showKeyboard: boolean;
|
|
35
|
-
showMenuText: boolean;
|
|
36
|
-
showKfbLabel: boolean;
|
|
37
|
-
showList: boolean;
|
|
38
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
39
|
-
P: {};
|
|
40
|
-
B: {};
|
|
41
|
-
D: {};
|
|
42
|
-
C: {};
|
|
43
|
-
M: {};
|
|
44
|
-
Defaults: {};
|
|
45
|
-
}, Readonly<import("@/instances.ts").Props & {
|
|
46
|
-
index?: number;
|
|
47
|
-
}> & Readonly<{
|
|
48
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
49
|
-
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
50
|
-
}>, {
|
|
51
|
-
divide: import("vue").Ref<boolean, boolean>;
|
|
52
|
-
slide: import("vue").ComputedRef<import("@/instances.ts").DigitalSlide>;
|
|
53
|
-
kfbViewRef: import("vue").ComputedRef<any>;
|
|
54
|
-
jumpToSlide: (index: number) => void;
|
|
55
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
56
|
-
jumpToPosition: (label: import("./components/KfbView/index.ts").Label, zoom?: any) => void;
|
|
57
|
-
enableAI: import("vue").ComputedRef<number | false>;
|
|
58
|
-
}, {}, {}, {}, {
|
|
59
|
-
teleport: boolean;
|
|
60
|
-
slides: import("@/instances.ts").DigitalSlide[];
|
|
61
|
-
menus: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
62
|
-
showKeyboard: boolean;
|
|
63
|
-
showMenuText: boolean;
|
|
64
|
-
showKfbLabel: boolean;
|
|
65
|
-
showList: boolean;
|
|
66
|
-
}>;
|
|
67
|
-
__isFragment?: never;
|
|
68
|
-
__isTeleport?: never;
|
|
69
|
-
__isSuspense?: never;
|
|
70
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("@/instances.ts").Props & {
|
|
71
|
-
index?: number;
|
|
72
|
-
}> & Readonly<{
|
|
73
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
74
|
-
"onUpdate:index"?: ((value: number) => any) | undefined;
|
|
75
|
-
}>, {
|
|
76
|
-
divide: import("vue").Ref<boolean, boolean>;
|
|
77
|
-
slide: import("vue").ComputedRef<import("@/instances.ts").DigitalSlide>;
|
|
78
|
-
kfbViewRef: import("vue").ComputedRef<any>;
|
|
79
|
-
jumpToSlide: (index: number) => void;
|
|
80
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
81
|
-
jumpToPosition: (label: import("./components/KfbView/index.ts").Label, zoom?: any) => void;
|
|
82
|
-
enableAI: import("vue").ComputedRef<number | false>;
|
|
83
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
-
"update:index": (value: number) => any;
|
|
85
|
-
} & {
|
|
86
|
-
tool: (action: string, value?: any) => any;
|
|
87
|
-
}, string, {
|
|
88
|
-
teleport: boolean;
|
|
89
|
-
slides: import("@/instances.ts").DigitalSlide[];
|
|
90
|
-
menus: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
91
|
-
showKeyboard: boolean;
|
|
92
|
-
showMenuText: boolean;
|
|
93
|
-
showKfbLabel: boolean;
|
|
94
|
-
showList: boolean;
|
|
95
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
96
|
-
$slots: {
|
|
97
|
-
left?: (props: {}) => any;
|
|
98
|
-
} & {
|
|
99
|
-
right?: (props: {}) => any;
|
|
100
|
-
} & {
|
|
101
|
-
list?: (props: {
|
|
102
|
-
slide: import("@/instances.ts").DigitalSlide;
|
|
103
|
-
}) => any;
|
|
104
|
-
} & {
|
|
105
|
-
kfb?: (props: {
|
|
106
|
-
slide: import("@/instances.ts").DigitalSlide;
|
|
107
|
-
}) => any;
|
|
108
|
-
} & {
|
|
109
|
-
kfb?: (props: {
|
|
110
|
-
slide: import("@/instances.ts").DigitalSlide;
|
|
111
|
-
}) => any;
|
|
112
|
-
} & {
|
|
113
|
-
default?: (props: {}) => any;
|
|
114
|
-
};
|
|
115
|
-
});
|
|
116
|
-
HzztKfbView: {
|
|
117
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
118
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
119
|
-
}>, {
|
|
120
|
-
kfbView: import("vue").Ref<{
|
|
121
|
-
$el: HTMLElement;
|
|
122
|
-
labelList?: {
|
|
123
|
-
id?: number | undefined;
|
|
124
|
-
parent_id?: number | undefined;
|
|
125
|
-
lineWidth?: number | undefined;
|
|
126
|
-
strokeStyle?: string | undefined;
|
|
127
|
-
fillStyle?: string | undefined;
|
|
128
|
-
fontSize?: number | undefined;
|
|
129
|
-
description?: string | undefined;
|
|
130
|
-
text?: string | undefined;
|
|
131
|
-
angle?: number | undefined;
|
|
132
|
-
measure?: boolean | undefined;
|
|
133
|
-
points?: {
|
|
134
|
-
x: number;
|
|
135
|
-
y: number;
|
|
136
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
137
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
138
|
-
}[] | undefined;
|
|
139
|
-
tool?: string | undefined;
|
|
140
|
-
subType?: string | undefined;
|
|
141
|
-
src?: string | undefined;
|
|
142
|
-
scale?: number | undefined;
|
|
143
|
-
region?: {
|
|
144
|
-
x: number;
|
|
145
|
-
y: number;
|
|
146
|
-
width: number;
|
|
147
|
-
height: number;
|
|
148
|
-
} | undefined;
|
|
149
|
-
move?: boolean | undefined;
|
|
150
|
-
resize?: boolean | undefined;
|
|
151
|
-
isROI?: boolean | undefined;
|
|
152
|
-
isClose?: boolean | undefined;
|
|
153
|
-
select?: boolean | undefined;
|
|
154
|
-
show?: boolean | undefined;
|
|
155
|
-
isAi?: boolean | undefined;
|
|
156
|
-
custom?: boolean | undefined;
|
|
157
|
-
cls?: string | undefined;
|
|
158
|
-
score?: number | undefined;
|
|
159
|
-
imageUrl?: string | undefined;
|
|
160
|
-
__other__: any;
|
|
161
|
-
__data__: any;
|
|
162
|
-
}[] | undefined;
|
|
163
|
-
viewer: {
|
|
164
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
165
|
-
viewport: {
|
|
166
|
-
setRotation: (angle?: number) => void;
|
|
167
|
-
toggleFlip: () => void;
|
|
168
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
169
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
170
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
171
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
172
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
173
|
-
zoomTo: (zoom: number) => void;
|
|
174
|
-
zoomBy: (zoom: number) => void;
|
|
175
|
-
applyConstraints: () => void;
|
|
176
|
-
containerSize: {
|
|
177
|
-
x: number;
|
|
178
|
-
y: number;
|
|
179
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
180
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
181
|
-
};
|
|
182
|
-
getZoom: (flag?: boolean) => number;
|
|
183
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
184
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
185
|
-
};
|
|
186
|
-
drawer: {
|
|
187
|
-
canvas: HTMLCanvasElement;
|
|
188
|
-
};
|
|
189
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
190
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
191
|
-
forceRedraw: () => void;
|
|
192
|
-
world?: {
|
|
193
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
194
|
-
tiledImage: {
|
|
195
|
-
draw: () => void;
|
|
196
|
-
tilesMatrix: Record<any, any>;
|
|
197
|
-
};
|
|
198
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
199
|
-
} | undefined;
|
|
200
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
201
|
-
};
|
|
202
|
-
destroy?: (() => void) | undefined;
|
|
203
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
204
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
205
|
-
$options: Record<string, any>;
|
|
206
|
-
board?: {
|
|
207
|
-
startDraw: (options: any) => void;
|
|
208
|
-
endDraw: () => void;
|
|
209
|
-
} | undefined;
|
|
210
|
-
grid?: {
|
|
211
|
-
updated: (options: any) => void;
|
|
212
|
-
} | undefined;
|
|
213
|
-
graduation?: {
|
|
214
|
-
updated: (options: any) => void;
|
|
215
|
-
} | undefined;
|
|
216
|
-
area?: {
|
|
217
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
218
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
219
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
220
|
-
} | undefined;
|
|
221
|
-
navigator?: {
|
|
222
|
-
element: HTMLElement;
|
|
223
|
-
drawPointList: (data: any) => void;
|
|
224
|
-
} | undefined;
|
|
225
|
-
tailoring: {
|
|
226
|
-
init: (data: {
|
|
227
|
-
left: number;
|
|
228
|
-
top: number;
|
|
229
|
-
height: number;
|
|
230
|
-
width: number;
|
|
231
|
-
now?: boolean;
|
|
232
|
-
color?: string;
|
|
233
|
-
}) => void;
|
|
234
|
-
};
|
|
235
|
-
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
236
|
-
$el: HTMLElement;
|
|
237
|
-
labelList?: {
|
|
238
|
-
id?: number | undefined;
|
|
239
|
-
parent_id?: number | undefined;
|
|
240
|
-
lineWidth?: number | undefined;
|
|
241
|
-
strokeStyle?: string | undefined;
|
|
242
|
-
fillStyle?: string | undefined;
|
|
243
|
-
fontSize?: number | undefined;
|
|
244
|
-
description?: string | undefined;
|
|
245
|
-
text?: string | undefined;
|
|
246
|
-
angle?: number | undefined;
|
|
247
|
-
measure?: boolean | undefined;
|
|
248
|
-
points?: {
|
|
249
|
-
x: number;
|
|
250
|
-
y: number;
|
|
251
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
252
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
253
|
-
}[] | undefined;
|
|
254
|
-
tool?: string | undefined;
|
|
255
|
-
subType?: string | undefined;
|
|
256
|
-
src?: string | undefined;
|
|
257
|
-
scale?: number | undefined;
|
|
258
|
-
region?: {
|
|
259
|
-
x: number;
|
|
260
|
-
y: number;
|
|
261
|
-
width: number;
|
|
262
|
-
height: number;
|
|
263
|
-
} | undefined;
|
|
264
|
-
move?: boolean | undefined;
|
|
265
|
-
resize?: boolean | undefined;
|
|
266
|
-
isROI?: boolean | undefined;
|
|
267
|
-
isClose?: boolean | undefined;
|
|
268
|
-
select?: boolean | undefined;
|
|
269
|
-
show?: boolean | undefined;
|
|
270
|
-
isAi?: boolean | undefined;
|
|
271
|
-
custom?: boolean | undefined;
|
|
272
|
-
cls?: string | undefined;
|
|
273
|
-
score?: number | undefined;
|
|
274
|
-
imageUrl?: string | undefined;
|
|
275
|
-
__other__: any;
|
|
276
|
-
__data__: any;
|
|
277
|
-
}[] | undefined;
|
|
278
|
-
viewer: {
|
|
279
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
280
|
-
viewport: {
|
|
281
|
-
setRotation: (angle?: number) => void;
|
|
282
|
-
toggleFlip: () => void;
|
|
283
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
284
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
285
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
286
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
287
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
288
|
-
zoomTo: (zoom: number) => void;
|
|
289
|
-
zoomBy: (zoom: number) => void;
|
|
290
|
-
applyConstraints: () => void;
|
|
291
|
-
containerSize: {
|
|
292
|
-
x: number;
|
|
293
|
-
y: number;
|
|
294
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
295
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
296
|
-
};
|
|
297
|
-
getZoom: (flag?: boolean) => number;
|
|
298
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
299
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
300
|
-
};
|
|
301
|
-
drawer: {
|
|
302
|
-
canvas: HTMLCanvasElement;
|
|
303
|
-
};
|
|
304
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
305
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
306
|
-
forceRedraw: () => void;
|
|
307
|
-
world?: {
|
|
308
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
309
|
-
tiledImage: {
|
|
310
|
-
draw: () => void;
|
|
311
|
-
tilesMatrix: Record<any, any>;
|
|
312
|
-
};
|
|
313
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
314
|
-
} | undefined;
|
|
315
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
316
|
-
};
|
|
317
|
-
destroy?: (() => void) | undefined;
|
|
318
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
319
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
320
|
-
$options: Record<string, any>;
|
|
321
|
-
board?: {
|
|
322
|
-
startDraw: (options: any) => void;
|
|
323
|
-
endDraw: () => void;
|
|
324
|
-
} | undefined;
|
|
325
|
-
grid?: {
|
|
326
|
-
updated: (options: any) => void;
|
|
327
|
-
} | undefined;
|
|
328
|
-
graduation?: {
|
|
329
|
-
updated: (options: any) => void;
|
|
330
|
-
} | undefined;
|
|
331
|
-
area?: {
|
|
332
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
333
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
334
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
335
|
-
} | undefined;
|
|
336
|
-
navigator?: {
|
|
337
|
-
element: HTMLElement;
|
|
338
|
-
drawPointList: (data: any) => void;
|
|
339
|
-
} | undefined;
|
|
340
|
-
tailoring: {
|
|
341
|
-
init: (data: {
|
|
342
|
-
left: number;
|
|
343
|
-
top: number;
|
|
344
|
-
height: number;
|
|
345
|
-
width: number;
|
|
346
|
-
now?: boolean;
|
|
347
|
-
color?: string;
|
|
348
|
-
}) => void;
|
|
349
|
-
};
|
|
350
|
-
}>;
|
|
351
|
-
degrees: import("vue").Ref<number, number>;
|
|
352
|
-
zoom: import("vue").Ref<number, number>;
|
|
353
|
-
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
354
|
-
toggleFlip: () => void;
|
|
355
|
-
startDraw: (options: any) => void;
|
|
356
|
-
endDraw: () => void;
|
|
357
|
-
shotScreen: (now?: boolean) => void;
|
|
358
|
-
info: () => void;
|
|
359
|
-
scopeChange: (options: any) => void;
|
|
360
|
-
updateGrid: (options: any) => void;
|
|
361
|
-
updateGraduation: (options: any) => void;
|
|
362
|
-
updateNavigator: (flag: any) => void;
|
|
363
|
-
fastMove: ({ name, value }: {
|
|
364
|
-
name: string;
|
|
365
|
-
value: any;
|
|
366
|
-
}) => void;
|
|
367
|
-
zoomTo: (zoom: any) => void;
|
|
368
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
369
|
-
jumpToPosition: (region: import("./components/KfbView/index.ts").Rect, zoom: any) => void;
|
|
370
|
-
reloadLabelList: () => void;
|
|
371
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
372
|
-
tool: (action: string, value?: any) => any;
|
|
373
|
-
}, import("vue").PublicProps, {
|
|
374
|
-
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
375
|
-
process: import("./components/KfbView/index.ts").Process;
|
|
376
|
-
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
377
|
-
P: {};
|
|
378
|
-
B: {};
|
|
379
|
-
D: {};
|
|
380
|
-
C: {};
|
|
381
|
-
M: {};
|
|
382
|
-
Defaults: {};
|
|
383
|
-
}, Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
384
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
385
|
-
}>, {
|
|
386
|
-
kfbView: import("vue").Ref<{
|
|
387
|
-
$el: HTMLElement;
|
|
388
|
-
labelList?: {
|
|
389
|
-
id?: number | undefined;
|
|
390
|
-
parent_id?: number | undefined;
|
|
391
|
-
lineWidth?: number | undefined;
|
|
392
|
-
strokeStyle?: string | undefined;
|
|
393
|
-
fillStyle?: string | undefined;
|
|
394
|
-
fontSize?: number | undefined;
|
|
395
|
-
description?: string | undefined;
|
|
396
|
-
text?: string | undefined;
|
|
397
|
-
angle?: number | undefined;
|
|
398
|
-
measure?: boolean | undefined;
|
|
399
|
-
points?: {
|
|
400
|
-
x: number;
|
|
401
|
-
y: number;
|
|
402
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
403
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
404
|
-
}[] | undefined;
|
|
405
|
-
tool?: string | undefined;
|
|
406
|
-
subType?: string | undefined;
|
|
407
|
-
src?: string | undefined;
|
|
408
|
-
scale?: number | undefined;
|
|
409
|
-
region?: {
|
|
410
|
-
x: number;
|
|
411
|
-
y: number;
|
|
412
|
-
width: number;
|
|
413
|
-
height: number;
|
|
414
|
-
} | undefined;
|
|
415
|
-
move?: boolean | undefined;
|
|
416
|
-
resize?: boolean | undefined;
|
|
417
|
-
isROI?: boolean | undefined;
|
|
418
|
-
isClose?: boolean | undefined;
|
|
419
|
-
select?: boolean | undefined;
|
|
420
|
-
show?: boolean | undefined;
|
|
421
|
-
isAi?: boolean | undefined;
|
|
422
|
-
custom?: boolean | undefined;
|
|
423
|
-
cls?: string | undefined;
|
|
424
|
-
score?: number | undefined;
|
|
425
|
-
imageUrl?: string | undefined;
|
|
426
|
-
__other__: any;
|
|
427
|
-
__data__: any;
|
|
428
|
-
}[] | undefined;
|
|
429
|
-
viewer: {
|
|
430
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
431
|
-
viewport: {
|
|
432
|
-
setRotation: (angle?: number) => void;
|
|
433
|
-
toggleFlip: () => void;
|
|
434
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
435
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
436
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
437
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
438
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
439
|
-
zoomTo: (zoom: number) => void;
|
|
440
|
-
zoomBy: (zoom: number) => void;
|
|
441
|
-
applyConstraints: () => void;
|
|
442
|
-
containerSize: {
|
|
443
|
-
x: number;
|
|
444
|
-
y: number;
|
|
445
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
446
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
447
|
-
};
|
|
448
|
-
getZoom: (flag?: boolean) => number;
|
|
449
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
450
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
451
|
-
};
|
|
452
|
-
drawer: {
|
|
453
|
-
canvas: HTMLCanvasElement;
|
|
454
|
-
};
|
|
455
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
456
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
457
|
-
forceRedraw: () => void;
|
|
458
|
-
world?: {
|
|
459
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
460
|
-
tiledImage: {
|
|
461
|
-
draw: () => void;
|
|
462
|
-
tilesMatrix: Record<any, any>;
|
|
463
|
-
};
|
|
464
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
465
|
-
} | undefined;
|
|
466
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
467
|
-
};
|
|
468
|
-
destroy?: (() => void) | undefined;
|
|
469
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
470
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
471
|
-
$options: Record<string, any>;
|
|
472
|
-
board?: {
|
|
473
|
-
startDraw: (options: any) => void;
|
|
474
|
-
endDraw: () => void;
|
|
475
|
-
} | undefined;
|
|
476
|
-
grid?: {
|
|
477
|
-
updated: (options: any) => void;
|
|
478
|
-
} | undefined;
|
|
479
|
-
graduation?: {
|
|
480
|
-
updated: (options: any) => void;
|
|
481
|
-
} | undefined;
|
|
482
|
-
area?: {
|
|
483
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
484
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
485
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
486
|
-
} | undefined;
|
|
487
|
-
navigator?: {
|
|
488
|
-
element: HTMLElement;
|
|
489
|
-
drawPointList: (data: any) => void;
|
|
490
|
-
} | undefined;
|
|
491
|
-
tailoring: {
|
|
492
|
-
init: (data: {
|
|
493
|
-
left: number;
|
|
494
|
-
top: number;
|
|
495
|
-
height: number;
|
|
496
|
-
width: number;
|
|
497
|
-
now?: boolean;
|
|
498
|
-
color?: string;
|
|
499
|
-
}) => void;
|
|
500
|
-
};
|
|
501
|
-
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
502
|
-
$el: HTMLElement;
|
|
503
|
-
labelList?: {
|
|
504
|
-
id?: number | undefined;
|
|
505
|
-
parent_id?: number | undefined;
|
|
506
|
-
lineWidth?: number | undefined;
|
|
507
|
-
strokeStyle?: string | undefined;
|
|
508
|
-
fillStyle?: string | undefined;
|
|
509
|
-
fontSize?: number | undefined;
|
|
510
|
-
description?: string | undefined;
|
|
511
|
-
text?: string | undefined;
|
|
512
|
-
angle?: number | undefined;
|
|
513
|
-
measure?: boolean | undefined;
|
|
514
|
-
points?: {
|
|
515
|
-
x: number;
|
|
516
|
-
y: number;
|
|
517
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
518
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
519
|
-
}[] | undefined;
|
|
520
|
-
tool?: string | undefined;
|
|
521
|
-
subType?: string | undefined;
|
|
522
|
-
src?: string | undefined;
|
|
523
|
-
scale?: number | undefined;
|
|
524
|
-
region?: {
|
|
525
|
-
x: number;
|
|
526
|
-
y: number;
|
|
527
|
-
width: number;
|
|
528
|
-
height: number;
|
|
529
|
-
} | undefined;
|
|
530
|
-
move?: boolean | undefined;
|
|
531
|
-
resize?: boolean | undefined;
|
|
532
|
-
isROI?: boolean | undefined;
|
|
533
|
-
isClose?: boolean | undefined;
|
|
534
|
-
select?: boolean | undefined;
|
|
535
|
-
show?: boolean | undefined;
|
|
536
|
-
isAi?: boolean | undefined;
|
|
537
|
-
custom?: boolean | undefined;
|
|
538
|
-
cls?: string | undefined;
|
|
539
|
-
score?: number | undefined;
|
|
540
|
-
imageUrl?: string | undefined;
|
|
541
|
-
__other__: any;
|
|
542
|
-
__data__: any;
|
|
543
|
-
}[] | undefined;
|
|
544
|
-
viewer: {
|
|
545
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
546
|
-
viewport: {
|
|
547
|
-
setRotation: (angle?: number) => void;
|
|
548
|
-
toggleFlip: () => void;
|
|
549
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
550
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
551
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
552
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
553
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
554
|
-
zoomTo: (zoom: number) => void;
|
|
555
|
-
zoomBy: (zoom: number) => void;
|
|
556
|
-
applyConstraints: () => void;
|
|
557
|
-
containerSize: {
|
|
558
|
-
x: number;
|
|
559
|
-
y: number;
|
|
560
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
561
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
562
|
-
};
|
|
563
|
-
getZoom: (flag?: boolean) => number;
|
|
564
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
565
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
566
|
-
};
|
|
567
|
-
drawer: {
|
|
568
|
-
canvas: HTMLCanvasElement;
|
|
569
|
-
};
|
|
570
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
571
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
572
|
-
forceRedraw: () => void;
|
|
573
|
-
world?: {
|
|
574
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
575
|
-
tiledImage: {
|
|
576
|
-
draw: () => void;
|
|
577
|
-
tilesMatrix: Record<any, any>;
|
|
578
|
-
};
|
|
579
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
580
|
-
} | undefined;
|
|
581
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
582
|
-
};
|
|
583
|
-
destroy?: (() => void) | undefined;
|
|
584
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
585
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
586
|
-
$options: Record<string, any>;
|
|
587
|
-
board?: {
|
|
588
|
-
startDraw: (options: any) => void;
|
|
589
|
-
endDraw: () => void;
|
|
590
|
-
} | undefined;
|
|
591
|
-
grid?: {
|
|
592
|
-
updated: (options: any) => void;
|
|
593
|
-
} | undefined;
|
|
594
|
-
graduation?: {
|
|
595
|
-
updated: (options: any) => void;
|
|
596
|
-
} | undefined;
|
|
597
|
-
area?: {
|
|
598
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
599
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
600
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
601
|
-
} | undefined;
|
|
602
|
-
navigator?: {
|
|
603
|
-
element: HTMLElement;
|
|
604
|
-
drawPointList: (data: any) => void;
|
|
605
|
-
} | undefined;
|
|
606
|
-
tailoring: {
|
|
607
|
-
init: (data: {
|
|
608
|
-
left: number;
|
|
609
|
-
top: number;
|
|
610
|
-
height: number;
|
|
611
|
-
width: number;
|
|
612
|
-
now?: boolean;
|
|
613
|
-
color?: string;
|
|
614
|
-
}) => void;
|
|
615
|
-
};
|
|
616
|
-
}>;
|
|
617
|
-
degrees: import("vue").Ref<number, number>;
|
|
618
|
-
zoom: import("vue").Ref<number, number>;
|
|
619
|
-
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
620
|
-
toggleFlip: () => void;
|
|
621
|
-
startDraw: (options: any) => void;
|
|
622
|
-
endDraw: () => void;
|
|
623
|
-
shotScreen: (now?: boolean) => void;
|
|
624
|
-
info: () => void;
|
|
625
|
-
scopeChange: (options: any) => void;
|
|
626
|
-
updateGrid: (options: any) => void;
|
|
627
|
-
updateGraduation: (options: any) => void;
|
|
628
|
-
updateNavigator: (flag: any) => void;
|
|
629
|
-
fastMove: ({ name, value }: {
|
|
630
|
-
name: string;
|
|
631
|
-
value: any;
|
|
632
|
-
}) => void;
|
|
633
|
-
zoomTo: (zoom: any) => void;
|
|
634
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
635
|
-
jumpToPosition: (region: import("./components/KfbView/index.ts").Rect, zoom: any) => void;
|
|
636
|
-
reloadLabelList: () => void;
|
|
637
|
-
}, {}, {}, {}, {
|
|
638
|
-
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
639
|
-
process: import("./components/KfbView/index.ts").Process;
|
|
640
|
-
}>;
|
|
641
|
-
__isFragment?: never;
|
|
642
|
-
__isTeleport?: never;
|
|
643
|
-
__isSuspense?: never;
|
|
644
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("./components/KfbView/index.ts").KfbProps> & Readonly<{
|
|
645
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
646
|
-
}>, {
|
|
647
|
-
kfbView: import("vue").Ref<{
|
|
648
|
-
$el: HTMLElement;
|
|
649
|
-
labelList?: {
|
|
650
|
-
id?: number | undefined;
|
|
651
|
-
parent_id?: number | undefined;
|
|
652
|
-
lineWidth?: number | undefined;
|
|
653
|
-
strokeStyle?: string | undefined;
|
|
654
|
-
fillStyle?: string | undefined;
|
|
655
|
-
fontSize?: number | undefined;
|
|
656
|
-
description?: string | undefined;
|
|
657
|
-
text?: string | undefined;
|
|
658
|
-
angle?: number | undefined;
|
|
659
|
-
measure?: boolean | undefined;
|
|
660
|
-
points?: {
|
|
661
|
-
x: number;
|
|
662
|
-
y: number;
|
|
663
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
664
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
665
|
-
}[] | undefined;
|
|
666
|
-
tool?: string | undefined;
|
|
667
|
-
subType?: string | undefined;
|
|
668
|
-
src?: string | undefined;
|
|
669
|
-
scale?: number | undefined;
|
|
670
|
-
region?: {
|
|
671
|
-
x: number;
|
|
672
|
-
y: number;
|
|
673
|
-
width: number;
|
|
674
|
-
height: number;
|
|
675
|
-
} | undefined;
|
|
676
|
-
move?: boolean | undefined;
|
|
677
|
-
resize?: boolean | undefined;
|
|
678
|
-
isROI?: boolean | undefined;
|
|
679
|
-
isClose?: boolean | undefined;
|
|
680
|
-
select?: boolean | undefined;
|
|
681
|
-
show?: boolean | undefined;
|
|
682
|
-
isAi?: boolean | undefined;
|
|
683
|
-
custom?: boolean | undefined;
|
|
684
|
-
cls?: string | undefined;
|
|
685
|
-
score?: number | undefined;
|
|
686
|
-
imageUrl?: string | undefined;
|
|
687
|
-
__other__: any;
|
|
688
|
-
__data__: any;
|
|
689
|
-
}[] | undefined;
|
|
690
|
-
viewer: {
|
|
691
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
692
|
-
viewport: {
|
|
693
|
-
setRotation: (angle?: number) => void;
|
|
694
|
-
toggleFlip: () => void;
|
|
695
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
696
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
697
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
698
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
699
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
700
|
-
zoomTo: (zoom: number) => void;
|
|
701
|
-
zoomBy: (zoom: number) => void;
|
|
702
|
-
applyConstraints: () => void;
|
|
703
|
-
containerSize: {
|
|
704
|
-
x: number;
|
|
705
|
-
y: number;
|
|
706
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
707
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
708
|
-
};
|
|
709
|
-
getZoom: (flag?: boolean) => number;
|
|
710
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
711
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
712
|
-
};
|
|
713
|
-
drawer: {
|
|
714
|
-
canvas: HTMLCanvasElement;
|
|
715
|
-
};
|
|
716
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
717
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
718
|
-
forceRedraw: () => void;
|
|
719
|
-
world?: {
|
|
720
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
721
|
-
tiledImage: {
|
|
722
|
-
draw: () => void;
|
|
723
|
-
tilesMatrix: Record<any, any>;
|
|
724
|
-
};
|
|
725
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
726
|
-
} | undefined;
|
|
727
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
728
|
-
};
|
|
729
|
-
destroy?: (() => void) | undefined;
|
|
730
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
731
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
732
|
-
$options: Record<string, any>;
|
|
733
|
-
board?: {
|
|
734
|
-
startDraw: (options: any) => void;
|
|
735
|
-
endDraw: () => void;
|
|
736
|
-
} | undefined;
|
|
737
|
-
grid?: {
|
|
738
|
-
updated: (options: any) => void;
|
|
739
|
-
} | undefined;
|
|
740
|
-
graduation?: {
|
|
741
|
-
updated: (options: any) => void;
|
|
742
|
-
} | undefined;
|
|
743
|
-
area?: {
|
|
744
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
745
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
746
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
747
|
-
} | undefined;
|
|
748
|
-
navigator?: {
|
|
749
|
-
element: HTMLElement;
|
|
750
|
-
drawPointList: (data: any) => void;
|
|
751
|
-
} | undefined;
|
|
752
|
-
tailoring: {
|
|
753
|
-
init: (data: {
|
|
754
|
-
left: number;
|
|
755
|
-
top: number;
|
|
756
|
-
height: number;
|
|
757
|
-
width: number;
|
|
758
|
-
now?: boolean;
|
|
759
|
-
color?: string;
|
|
760
|
-
}) => void;
|
|
761
|
-
};
|
|
762
|
-
}, import("./components/KfbView/index.ts").KfbViewInterface | {
|
|
763
|
-
$el: HTMLElement;
|
|
764
|
-
labelList?: {
|
|
765
|
-
id?: number | undefined;
|
|
766
|
-
parent_id?: number | undefined;
|
|
767
|
-
lineWidth?: number | undefined;
|
|
768
|
-
strokeStyle?: string | undefined;
|
|
769
|
-
fillStyle?: string | undefined;
|
|
770
|
-
fontSize?: number | undefined;
|
|
771
|
-
description?: string | undefined;
|
|
772
|
-
text?: string | undefined;
|
|
773
|
-
angle?: number | undefined;
|
|
774
|
-
measure?: boolean | undefined;
|
|
775
|
-
points?: {
|
|
776
|
-
x: number;
|
|
777
|
-
y: number;
|
|
778
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
779
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
780
|
-
}[] | undefined;
|
|
781
|
-
tool?: string | undefined;
|
|
782
|
-
subType?: string | undefined;
|
|
783
|
-
src?: string | undefined;
|
|
784
|
-
scale?: number | undefined;
|
|
785
|
-
region?: {
|
|
786
|
-
x: number;
|
|
787
|
-
y: number;
|
|
788
|
-
width: number;
|
|
789
|
-
height: number;
|
|
790
|
-
} | undefined;
|
|
791
|
-
move?: boolean | undefined;
|
|
792
|
-
resize?: boolean | undefined;
|
|
793
|
-
isROI?: boolean | undefined;
|
|
794
|
-
isClose?: boolean | undefined;
|
|
795
|
-
select?: boolean | undefined;
|
|
796
|
-
show?: boolean | undefined;
|
|
797
|
-
isAi?: boolean | undefined;
|
|
798
|
-
custom?: boolean | undefined;
|
|
799
|
-
cls?: string | undefined;
|
|
800
|
-
score?: number | undefined;
|
|
801
|
-
imageUrl?: string | undefined;
|
|
802
|
-
__other__: any;
|
|
803
|
-
__data__: any;
|
|
804
|
-
}[] | undefined;
|
|
805
|
-
viewer: {
|
|
806
|
-
canvas?: HTMLCanvasElement | undefined;
|
|
807
|
-
viewport: {
|
|
808
|
-
setRotation: (angle?: number) => void;
|
|
809
|
-
toggleFlip: () => void;
|
|
810
|
-
getCenter: (center?: boolean) => import("./components/KfbView/index.ts").Point;
|
|
811
|
-
panTo: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
812
|
-
viewportToImageZoom: (zoom: number) => number;
|
|
813
|
-
imageToViewportZoom: (zoom: number) => number;
|
|
814
|
-
imageToViewportCoordinates: (x: number, y: number) => import("./components/KfbView/index.ts").Point;
|
|
815
|
-
zoomTo: (zoom: number) => void;
|
|
816
|
-
zoomBy: (zoom: number) => void;
|
|
817
|
-
applyConstraints: () => void;
|
|
818
|
-
containerSize: {
|
|
819
|
-
x: number;
|
|
820
|
-
y: number;
|
|
821
|
-
minus?: ((point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point) | undefined;
|
|
822
|
-
clone?: (() => import("./components/KfbView/index.ts").Point) | undefined;
|
|
823
|
-
};
|
|
824
|
-
getZoom: (flag?: boolean) => number;
|
|
825
|
-
panBy: (point: import("./components/KfbView/index.ts").Point, flag?: boolean) => void;
|
|
826
|
-
deltaPointsFromPixels: (point: import("./components/KfbView/index.ts").Point) => import("./components/KfbView/index.ts").Point;
|
|
827
|
-
};
|
|
828
|
-
drawer: {
|
|
829
|
-
canvas: HTMLCanvasElement;
|
|
830
|
-
};
|
|
831
|
-
addHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
832
|
-
removeHandler: (name: string, func: (e: import("./components/KfbView/index.ts").KfbEvent) => void) => void;
|
|
833
|
-
forceRedraw: () => void;
|
|
834
|
-
world?: {
|
|
835
|
-
getItemAt: (number: number) => import("./components/KfbView/index.ts").TiledImage;
|
|
836
|
-
tiledImage: {
|
|
837
|
-
draw: () => void;
|
|
838
|
-
tilesMatrix: Record<any, any>;
|
|
839
|
-
};
|
|
840
|
-
removeItem: (tile: import("./components/KfbView/index.ts").TiledImage) => void;
|
|
841
|
-
} | undefined;
|
|
842
|
-
addTiledImage: (options: Record<any, any>) => void;
|
|
843
|
-
};
|
|
844
|
-
destroy?: (() => void) | undefined;
|
|
845
|
-
initLabelList?: ((data: import("./components/KfbView/index.ts").Label[]) => void) | undefined;
|
|
846
|
-
$on?: ((event?: string, func?: (data: any) => any) => void) | undefined;
|
|
847
|
-
$options: Record<string, any>;
|
|
848
|
-
board?: {
|
|
849
|
-
startDraw: (options: any) => void;
|
|
850
|
-
endDraw: () => void;
|
|
851
|
-
} | undefined;
|
|
852
|
-
grid?: {
|
|
853
|
-
updated: (options: any) => void;
|
|
854
|
-
} | undefined;
|
|
855
|
-
graduation?: {
|
|
856
|
-
updated: (options: any) => void;
|
|
857
|
-
} | undefined;
|
|
858
|
-
area?: {
|
|
859
|
-
moveToLabel: (point: import("./components/KfbView/index.ts").Point) => void;
|
|
860
|
-
getCenterPoint: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Point;
|
|
861
|
-
imageToViewerElementRectangle: (rect: import("./components/KfbView/index.ts").Rect) => import("./components/KfbView/index.ts").Rect;
|
|
862
|
-
} | undefined;
|
|
863
|
-
navigator?: {
|
|
864
|
-
element: HTMLElement;
|
|
865
|
-
drawPointList: (data: any) => void;
|
|
866
|
-
} | undefined;
|
|
867
|
-
tailoring: {
|
|
868
|
-
init: (data: {
|
|
869
|
-
left: number;
|
|
870
|
-
top: number;
|
|
871
|
-
height: number;
|
|
872
|
-
width: number;
|
|
873
|
-
now?: boolean;
|
|
874
|
-
color?: string;
|
|
875
|
-
}) => void;
|
|
876
|
-
};
|
|
877
|
-
}>;
|
|
878
|
-
degrees: import("vue").Ref<number, number>;
|
|
879
|
-
zoom: import("vue").Ref<number, number>;
|
|
880
|
-
forceRedraw: (process?: import("./components/KfbView/index.ts").Process) => void;
|
|
881
|
-
toggleFlip: () => void;
|
|
882
|
-
startDraw: (options: any) => void;
|
|
883
|
-
endDraw: () => void;
|
|
884
|
-
shotScreen: (now?: boolean) => void;
|
|
885
|
-
info: () => void;
|
|
886
|
-
scopeChange: (options: any) => void;
|
|
887
|
-
updateGrid: (options: any) => void;
|
|
888
|
-
updateGraduation: (options: any) => void;
|
|
889
|
-
updateNavigator: (flag: any) => void;
|
|
890
|
-
fastMove: ({ name, value }: {
|
|
891
|
-
name: string;
|
|
892
|
-
value: any;
|
|
893
|
-
}) => void;
|
|
894
|
-
zoomTo: (zoom: any) => void;
|
|
895
|
-
jumpToLabel: (label: import("./components/KfbView/index.ts").Label, zoom?: number) => void;
|
|
896
|
-
jumpToPosition: (region: import("./components/KfbView/index.ts").Rect, zoom: any) => void;
|
|
897
|
-
reloadLabelList: () => void;
|
|
898
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
899
|
-
tool: (action: string, value?: any) => any;
|
|
900
|
-
}, string, {
|
|
901
|
-
microscope: import("./components/KfbView/index.ts").Microscope;
|
|
902
|
-
process: import("./components/KfbView/index.ts").Process;
|
|
903
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
904
|
-
$slots: {
|
|
905
|
-
default?: (props: {}) => any;
|
|
906
|
-
};
|
|
907
|
-
});
|
|
908
|
-
HzztKfbToolbox: {
|
|
909
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
910
|
-
menu: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
911
|
-
process?: import("./components/KfbView/index.ts").Process;
|
|
912
|
-
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
913
|
-
showMenuText?: boolean;
|
|
914
|
-
}> & Readonly<{
|
|
915
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
916
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
917
|
-
tool: (action: string, value?: any) => any;
|
|
918
|
-
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
919
|
-
P: {};
|
|
920
|
-
B: {};
|
|
921
|
-
D: {};
|
|
922
|
-
C: {};
|
|
923
|
-
M: {};
|
|
924
|
-
Defaults: {};
|
|
925
|
-
}, Readonly<{
|
|
926
|
-
menu: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
927
|
-
process?: import("./components/KfbView/index.ts").Process;
|
|
928
|
-
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
929
|
-
showMenuText?: boolean;
|
|
930
|
-
}> & Readonly<{
|
|
931
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
932
|
-
}>, {}, {}, {}, {}, {}>;
|
|
933
|
-
__isFragment?: never;
|
|
934
|
-
__isTeleport?: never;
|
|
935
|
-
__isSuspense?: never;
|
|
936
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
937
|
-
menu: (string | import("@/instances.ts").ToolboxMenu)[];
|
|
938
|
-
process?: import("./components/KfbView/index.ts").Process;
|
|
939
|
-
microscope?: import("./components/KfbView/index.ts").Microscope;
|
|
940
|
-
showMenuText?: boolean;
|
|
941
|
-
}> & Readonly<{
|
|
942
|
-
onTool?: ((action: string, value?: any) => any) | undefined;
|
|
943
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
944
|
-
tool: (action: string, value?: any) => any;
|
|
945
|
-
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
946
|
-
$slots: {
|
|
947
|
-
left?: (props: {}) => any;
|
|
948
|
-
} & {
|
|
949
|
-
right?: (props: {}) => any;
|
|
950
|
-
};
|
|
951
|
-
});
|
|
5
|
+
install: (app: import("vue").App, options?: import("@/plugins").InstallOptions) => void;
|
|
952
6
|
};
|
|
953
7
|
export default _default;
|